mirror of https://github.com/ANL-CEEESA/RELOG.git
parent
fc5280d2f6
commit
5e7aab6315
@ -1,16 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
||||||
|
|
||||||
case `uname` in
|
|
||||||
*CYGWIN*|*MINGW*|*MSYS*)
|
|
||||||
if command -v cygpath > /dev/null 2>&1; then
|
|
||||||
basedir=`cygpath -w "$basedir"`
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if [ -x "$basedir/node" ]; then
|
|
||||||
exec "$basedir/node" "$basedir/../nanoid/bin/nanoid.js" "$@"
|
|
||||||
else
|
|
||||||
exec node "$basedir/../nanoid/bin/nanoid.js" "$@"
|
|
||||||
fi
|
|
@ -1,17 +0,0 @@
|
|||||||
@ECHO off
|
|
||||||
GOTO start
|
|
||||||
:find_dp0
|
|
||||||
SET dp0=%~dp0
|
|
||||||
EXIT /b
|
|
||||||
:start
|
|
||||||
SETLOCAL
|
|
||||||
CALL :find_dp0
|
|
||||||
|
|
||||||
IF EXIST "%dp0%\node.exe" (
|
|
||||||
SET "_prog=%dp0%\node.exe"
|
|
||||||
) ELSE (
|
|
||||||
SET "_prog=node"
|
|
||||||
SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
||||||
)
|
|
||||||
|
|
||||||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\nanoid\bin\nanoid.js" %*
|
|
@ -1,28 +0,0 @@
|
|||||||
#!/usr/bin/env pwsh
|
|
||||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
|
||||||
|
|
||||||
$exe=""
|
|
||||||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
|
||||||
# Fix case when both the Windows and Linux builds of Node
|
|
||||||
# are installed in the same directory
|
|
||||||
$exe=".exe"
|
|
||||||
}
|
|
||||||
$ret=0
|
|
||||||
if (Test-Path "$basedir/node$exe") {
|
|
||||||
# Support pipeline input
|
|
||||||
if ($MyInvocation.ExpectingInput) {
|
|
||||||
$input | & "$basedir/node$exe" "$basedir/../nanoid/bin/nanoid.js" $args
|
|
||||||
} else {
|
|
||||||
& "$basedir/node$exe" "$basedir/../nanoid/bin/nanoid.js" $args
|
|
||||||
}
|
|
||||||
$ret=$LASTEXITCODE
|
|
||||||
} else {
|
|
||||||
# Support pipeline input
|
|
||||||
if ($MyInvocation.ExpectingInput) {
|
|
||||||
$input | & "node$exe" "$basedir/../nanoid/bin/nanoid.js" $args
|
|
||||||
} else {
|
|
||||||
& "node$exe" "$basedir/../nanoid/bin/nanoid.js" $args
|
|
||||||
}
|
|
||||||
$ret=$LASTEXITCODE
|
|
||||||
}
|
|
||||||
exit $ret
|
|
@ -1,292 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "RELOG",
|
|
||||||
"lockfileVersion": 3,
|
|
||||||
"requires": true,
|
|
||||||
"packages": {
|
|
||||||
"node_modules/@types/d3-color": {
|
|
||||||
"version": "3.1.3",
|
|
||||||
"resolved": "https://registry.npmjs.org/@types/d3-color/-/d3-color-3.1.3.tgz",
|
|
||||||
"integrity": "sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A==",
|
|
||||||
"license": "MIT"
|
|
||||||
},
|
|
||||||
"node_modules/@types/d3-drag": {
|
|
||||||
"version": "3.0.7",
|
|
||||||
"resolved": "https://registry.npmjs.org/@types/d3-drag/-/d3-drag-3.0.7.tgz",
|
|
||||||
"integrity": "sha512-HE3jVKlzU9AaMazNufooRJ5ZpWmLIoc90A37WU2JMmeq28w1FQqCZswHZ3xR+SuxYftzHq6WU6KJHvqxKzTxxQ==",
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"@types/d3-selection": "*"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@types/d3-interpolate": {
|
|
||||||
"version": "3.0.4",
|
|
||||||
"resolved": "https://registry.npmjs.org/@types/d3-interpolate/-/d3-interpolate-3.0.4.tgz",
|
|
||||||
"integrity": "sha512-mgLPETlrpVV1YRJIglr4Ez47g7Yxjl1lj7YKsiMCb27VJH9W8NVM6Bb9d8kkpG/uAQS5AmbA48q2IAolKKo1MA==",
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"@types/d3-color": "*"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@types/d3-selection": {
|
|
||||||
"version": "3.0.11",
|
|
||||||
"resolved": "https://registry.npmjs.org/@types/d3-selection/-/d3-selection-3.0.11.tgz",
|
|
||||||
"integrity": "sha512-bhAXu23DJWsrI45xafYpkQ4NtcKMwWnAC/vKrd2l+nxMFuvOT3XMYTIj2opv8vq8AO5Yh7Qac/nSeP/3zjTK0w==",
|
|
||||||
"license": "MIT"
|
|
||||||
},
|
|
||||||
"node_modules/@types/d3-transition": {
|
|
||||||
"version": "3.0.9",
|
|
||||||
"resolved": "https://registry.npmjs.org/@types/d3-transition/-/d3-transition-3.0.9.tgz",
|
|
||||||
"integrity": "sha512-uZS5shfxzO3rGlu0cC3bjmMFKsXv+SmZZcgp0KD22ts4uGXp5EVYGzu/0YdwZeKmddhcAccYtREJKkPfXkZuCg==",
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"@types/d3-selection": "*"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@types/d3-zoom": {
|
|
||||||
"version": "3.0.8",
|
|
||||||
"resolved": "https://registry.npmjs.org/@types/d3-zoom/-/d3-zoom-3.0.8.tgz",
|
|
||||||
"integrity": "sha512-iqMC4/YlFCSlO8+2Ii1GGGliCAY4XdeG748w5vQUbevlbDu0zSjH/+jojorQVBK/se0j6DUFNPBGSqD3YWYnDw==",
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"@types/d3-interpolate": "*",
|
|
||||||
"@types/d3-selection": "*"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@xyflow/react": {
|
|
||||||
"version": "12.7.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@xyflow/react/-/react-12.7.0.tgz",
|
|
||||||
"integrity": "sha512-U6VMEbYjiCg1byHrR7S+b5ZdHTjgCFX4KpBc634G/WtEBUvBLoMQdlCD6uJHqodnOAxpt3+G2wiDeTmXAFJzgQ==",
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"@xyflow/system": "0.0.62",
|
|
||||||
"classcat": "^5.0.3",
|
|
||||||
"zustand": "^4.4.0"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"react": ">=17",
|
|
||||||
"react-dom": ">=17"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@xyflow/system": {
|
|
||||||
"version": "0.0.62",
|
|
||||||
"resolved": "https://registry.npmjs.org/@xyflow/system/-/system-0.0.62.tgz",
|
|
||||||
"integrity": "sha512-Z2ufbnvuYxIOCGyzE/8eX8TAEM8Lpzc/JafjD1Tzy6ZJs/E7KGVU17Q1F5WDHVW+dbztJAdyXMG0ejR9bwSUAA==",
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"@types/d3-drag": "^3.0.7",
|
|
||||||
"@types/d3-interpolate": "^3.0.4",
|
|
||||||
"@types/d3-selection": "^3.0.10",
|
|
||||||
"@types/d3-transition": "^3.0.8",
|
|
||||||
"@types/d3-zoom": "^3.0.8",
|
|
||||||
"d3-drag": "^3.0.0",
|
|
||||||
"d3-interpolate": "^3.0.1",
|
|
||||||
"d3-selection": "^3.0.0",
|
|
||||||
"d3-zoom": "^3.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/classcat": {
|
|
||||||
"version": "5.0.5",
|
|
||||||
"resolved": "https://registry.npmjs.org/classcat/-/classcat-5.0.5.tgz",
|
|
||||||
"integrity": "sha512-JhZUT7JFcQy/EzW605k/ktHtncoo9vnyW/2GspNYwFlN1C/WmjuV/xtS04e9SOkL2sTdw0VAZ2UGCcQ9lR6p6w==",
|
|
||||||
"license": "MIT"
|
|
||||||
},
|
|
||||||
"node_modules/d3-color": {
|
|
||||||
"version": "3.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/d3-color/-/d3-color-3.1.0.tgz",
|
|
||||||
"integrity": "sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==",
|
|
||||||
"license": "ISC",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=12"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/d3-dispatch": {
|
|
||||||
"version": "3.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/d3-dispatch/-/d3-dispatch-3.0.1.tgz",
|
|
||||||
"integrity": "sha512-rzUyPU/S7rwUflMyLc1ETDeBj0NRuHKKAcvukozwhshr6g6c5d8zh4c2gQjY2bZ0dXeGLWc1PF174P2tVvKhfg==",
|
|
||||||
"license": "ISC",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=12"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/d3-drag": {
|
|
||||||
"version": "3.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/d3-drag/-/d3-drag-3.0.0.tgz",
|
|
||||||
"integrity": "sha512-pWbUJLdETVA8lQNJecMxoXfH6x+mO2UQo8rSmZ+QqxcbyA3hfeprFgIT//HW2nlHChWeIIMwS2Fq+gEARkhTkg==",
|
|
||||||
"license": "ISC",
|
|
||||||
"dependencies": {
|
|
||||||
"d3-dispatch": "1 - 3",
|
|
||||||
"d3-selection": "3"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=12"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/d3-ease": {
|
|
||||||
"version": "3.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/d3-ease/-/d3-ease-3.0.1.tgz",
|
|
||||||
"integrity": "sha512-wR/XK3D3XcLIZwpbvQwQ5fK+8Ykds1ip7A2Txe0yxncXSdq1L9skcG7blcedkOX+ZcgxGAmLX1FrRGbADwzi0w==",
|
|
||||||
"license": "BSD-3-Clause",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=12"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/d3-interpolate": {
|
|
||||||
"version": "3.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-3.0.1.tgz",
|
|
||||||
"integrity": "sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==",
|
|
||||||
"license": "ISC",
|
|
||||||
"dependencies": {
|
|
||||||
"d3-color": "1 - 3"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=12"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/d3-selection": {
|
|
||||||
"version": "3.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/d3-selection/-/d3-selection-3.0.0.tgz",
|
|
||||||
"integrity": "sha512-fmTRWbNMmsmWq6xJV8D19U/gw/bwrHfNXxrIN+HfZgnzqTHp9jOmKMhsTUjXOJnZOdZY9Q28y4yebKzqDKlxlQ==",
|
|
||||||
"license": "ISC",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=12"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/d3-timer": {
|
|
||||||
"version": "3.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/d3-timer/-/d3-timer-3.0.1.tgz",
|
|
||||||
"integrity": "sha512-ndfJ/JxxMd3nw31uyKoY2naivF+r29V+Lc0svZxe1JvvIRmi8hUsrMvdOwgS1o6uBHmiz91geQ0ylPP0aj1VUA==",
|
|
||||||
"license": "ISC",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=12"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/d3-transition": {
|
|
||||||
"version": "3.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/d3-transition/-/d3-transition-3.0.1.tgz",
|
|
||||||
"integrity": "sha512-ApKvfjsSR6tg06xrL434C0WydLr7JewBB3V+/39RMHsaXTOG0zmt/OAXeng5M5LBm0ojmxJrpomQVZ1aPvBL4w==",
|
|
||||||
"license": "ISC",
|
|
||||||
"dependencies": {
|
|
||||||
"d3-color": "1 - 3",
|
|
||||||
"d3-dispatch": "1 - 3",
|
|
||||||
"d3-ease": "1 - 3",
|
|
||||||
"d3-interpolate": "1 - 3",
|
|
||||||
"d3-timer": "1 - 3"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=12"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"d3-selection": "2 - 3"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/d3-zoom": {
|
|
||||||
"version": "3.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/d3-zoom/-/d3-zoom-3.0.0.tgz",
|
|
||||||
"integrity": "sha512-b8AmV3kfQaqWAuacbPuNbL6vahnOJflOhexLzMMNLga62+/nh0JzvJ0aO/5a5MVgUFGS7Hu1P9P03o3fJkDCyw==",
|
|
||||||
"license": "ISC",
|
|
||||||
"dependencies": {
|
|
||||||
"d3-dispatch": "1 - 3",
|
|
||||||
"d3-drag": "2 - 3",
|
|
||||||
"d3-interpolate": "1 - 3",
|
|
||||||
"d3-selection": "2 - 3",
|
|
||||||
"d3-transition": "2 - 3"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=12"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/i": {
|
|
||||||
"version": "0.3.7",
|
|
||||||
"resolved": "https://registry.npmjs.org/i/-/i-0.3.7.tgz",
|
|
||||||
"integrity": "sha512-FYz4wlXgkQwIPqhzC5TdNMLSE5+GS1IIDJZY/1ZiEPCT2S3COUVZeT5OW4BmW4r5LHLQuOosSwsvnroG9GR59Q==",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=0.4"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/nanoid": {
|
|
||||||
"version": "5.1.5",
|
|
||||||
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.1.5.tgz",
|
|
||||||
"integrity": "sha512-Ir/+ZpE9fDsNH0hQ3C68uyThDXzYcim2EqcZ8zn8Chtt1iylPT9xXJB0kPCnqzgcEGikO9RxSrh63MsmVCU7Fw==",
|
|
||||||
"funding": [
|
|
||||||
{
|
|
||||||
"type": "github",
|
|
||||||
"url": "https://github.com/sponsors/ai"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"license": "MIT",
|
|
||||||
"bin": {
|
|
||||||
"nanoid": "bin/nanoid.js"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": "^18 || >=20"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/react": {
|
|
||||||
"version": "19.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/react/-/react-19.1.0.tgz",
|
|
||||||
"integrity": "sha512-FS+XFBNvn3GTAWq26joslQgWNoFu08F4kl0J4CgdNKADkdSGXQyTCnKteIAJy96Br6YbpEU1LSzV5dYtjMkMDg==",
|
|
||||||
"license": "MIT",
|
|
||||||
"peer": true,
|
|
||||||
"engines": {
|
|
||||||
"node": ">=0.10.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/react-dom": {
|
|
||||||
"version": "19.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.1.0.tgz",
|
|
||||||
"integrity": "sha512-Xs1hdnE+DyKgeHJeJznQmYMIBG3TKIHJJT95Q58nHLSrElKlGQqDTR2HQ9fx5CN/Gk6Vh/kupBTDLU11/nDk/g==",
|
|
||||||
"license": "MIT",
|
|
||||||
"peer": true,
|
|
||||||
"dependencies": {
|
|
||||||
"scheduler": "^0.26.0"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"react": "^19.1.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/scheduler": {
|
|
||||||
"version": "0.26.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.26.0.tgz",
|
|
||||||
"integrity": "sha512-NlHwttCI/l5gCPR3D1nNXtWABUmBwvZpEQiD4IXSbIDq8BzLIK/7Ir5gTFSGZDUu37K5cMNp0hFtzO38sC7gWA==",
|
|
||||||
"license": "MIT",
|
|
||||||
"peer": true
|
|
||||||
},
|
|
||||||
"node_modules/use-sync-external-store": {
|
|
||||||
"version": "1.5.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.5.0.tgz",
|
|
||||||
"integrity": "sha512-Rb46I4cGGVBmjamjphe8L/UnvJD+uPPtTkNvX5mZgqdbavhI4EbgIWJiIHXJ8bc/i9EQGPRh4DwEURJ552Do0A==",
|
|
||||||
"license": "MIT",
|
|
||||||
"peerDependencies": {
|
|
||||||
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/zustand": {
|
|
||||||
"version": "4.5.7",
|
|
||||||
"resolved": "https://registry.npmjs.org/zustand/-/zustand-4.5.7.tgz",
|
|
||||||
"integrity": "sha512-CHOUy7mu3lbD6o6LJLfllpjkzhHXSBlX8B9+qPddUsIfeF5S/UZ5q0kmCsnRqT1UHFQZchNFDDzMbQsuesHWlw==",
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"use-sync-external-store": "^1.2.2"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=12.7.0"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"@types/react": ">=16.8",
|
|
||||||
"immer": ">=9.0.6",
|
|
||||||
"react": ">=16.8"
|
|
||||||
},
|
|
||||||
"peerDependenciesMeta": {
|
|
||||||
"@types/react": {
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"immer": {
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"react": {
|
|
||||||
"optional": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,21 +0,0 @@
|
|||||||
MIT License
|
|
||||||
|
|
||||||
Copyright (c) Microsoft Corporation.
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE
|
|
@ -1,15 +0,0 @@
|
|||||||
# Installation
|
|
||||||
> `npm install --save @types/d3-color`
|
|
||||||
|
|
||||||
# Summary
|
|
||||||
This package contains type definitions for d3-color (https://github.com/d3/d3-color/).
|
|
||||||
|
|
||||||
# Details
|
|
||||||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/d3-color.
|
|
||||||
|
|
||||||
### Additional Details
|
|
||||||
* Last updated: Tue, 07 Nov 2023 15:11:36 GMT
|
|
||||||
* Dependencies: none
|
|
||||||
|
|
||||||
# Credits
|
|
||||||
These definitions were written by [Tom Wanzek](https://github.com/tomwanzek), [Alex Ford](https://github.com/gustavderdrache), [Boris Yankov](https://github.com/borisyankov), [denisname](https://github.com/denisname), [Hugues Stefanski](https://github.com/ledragon), [Nathan Bierema](https://github.com/Methuselah96), and [Fil](https://github.com/Fil).
|
|
@ -1,55 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "@types/d3-color",
|
|
||||||
"version": "3.1.3",
|
|
||||||
"description": "TypeScript definitions for d3-color",
|
|
||||||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/d3-color",
|
|
||||||
"license": "MIT",
|
|
||||||
"contributors": [
|
|
||||||
{
|
|
||||||
"name": "Tom Wanzek",
|
|
||||||
"githubUsername": "tomwanzek",
|
|
||||||
"url": "https://github.com/tomwanzek"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Alex Ford",
|
|
||||||
"githubUsername": "gustavderdrache",
|
|
||||||
"url": "https://github.com/gustavderdrache"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Boris Yankov",
|
|
||||||
"githubUsername": "borisyankov",
|
|
||||||
"url": "https://github.com/borisyankov"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "denisname",
|
|
||||||
"githubUsername": "denisname",
|
|
||||||
"url": "https://github.com/denisname"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Hugues Stefanski",
|
|
||||||
"githubUsername": "ledragon",
|
|
||||||
"url": "https://github.com/ledragon"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Nathan Bierema",
|
|
||||||
"githubUsername": "Methuselah96",
|
|
||||||
"url": "https://github.com/Methuselah96"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Fil",
|
|
||||||
"githubUsername": "Fil",
|
|
||||||
"url": "https://github.com/Fil"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"main": "",
|
|
||||||
"types": "index.d.ts",
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
|
||||||
"directory": "types/d3-color"
|
|
||||||
},
|
|
||||||
"scripts": {},
|
|
||||||
"dependencies": {},
|
|
||||||
"typesPublisherContentHash": "89cf9357324cddaa31cfb539b1c33d118648ed55319f2a0d26f24b004975a947",
|
|
||||||
"typeScriptVersion": "4.5"
|
|
||||||
}
|
|
@ -1,21 +0,0 @@
|
|||||||
MIT License
|
|
||||||
|
|
||||||
Copyright (c) Microsoft Corporation.
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE
|
|
@ -1,15 +0,0 @@
|
|||||||
# Installation
|
|
||||||
> `npm install --save @types/d3-drag`
|
|
||||||
|
|
||||||
# Summary
|
|
||||||
This package contains type definitions for d3-drag (https://github.com/d3/d3-drag/).
|
|
||||||
|
|
||||||
# Details
|
|
||||||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/d3-drag.
|
|
||||||
|
|
||||||
### Additional Details
|
|
||||||
* Last updated: Tue, 07 Nov 2023 15:11:36 GMT
|
|
||||||
* Dependencies: [@types/d3-selection](https://npmjs.com/package/@types/d3-selection)
|
|
||||||
|
|
||||||
# Credits
|
|
||||||
These definitions were written by [Tom Wanzek](https://github.com/tomwanzek), [Alex Ford](https://github.com/gustavderdrache), [Boris Yankov](https://github.com/borisyankov), and [Nathan Bierema](https://github.com/Methuselah96).
|
|
@ -1,42 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "@types/d3-drag",
|
|
||||||
"version": "3.0.7",
|
|
||||||
"description": "TypeScript definitions for d3-drag",
|
|
||||||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/d3-drag",
|
|
||||||
"license": "MIT",
|
|
||||||
"contributors": [
|
|
||||||
{
|
|
||||||
"name": "Tom Wanzek",
|
|
||||||
"githubUsername": "tomwanzek",
|
|
||||||
"url": "https://github.com/tomwanzek"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Alex Ford",
|
|
||||||
"githubUsername": "gustavderdrache",
|
|
||||||
"url": "https://github.com/gustavderdrache"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Boris Yankov",
|
|
||||||
"githubUsername": "borisyankov",
|
|
||||||
"url": "https://github.com/borisyankov"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Nathan Bierema",
|
|
||||||
"githubUsername": "Methuselah96",
|
|
||||||
"url": "https://github.com/Methuselah96"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"main": "",
|
|
||||||
"types": "index.d.ts",
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
|
||||||
"directory": "types/d3-drag"
|
|
||||||
},
|
|
||||||
"scripts": {},
|
|
||||||
"dependencies": {
|
|
||||||
"@types/d3-selection": "*"
|
|
||||||
},
|
|
||||||
"typesPublisherContentHash": "cbd098773821019893d7397be4129e19f5b62205943d423ef95a612ec9c9eac6",
|
|
||||||
"typeScriptVersion": "4.5"
|
|
||||||
}
|
|
@ -1,21 +0,0 @@
|
|||||||
MIT License
|
|
||||||
|
|
||||||
Copyright (c) Microsoft Corporation.
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE
|
|
@ -1,15 +0,0 @@
|
|||||||
# Installation
|
|
||||||
> `npm install --save @types/d3-interpolate`
|
|
||||||
|
|
||||||
# Summary
|
|
||||||
This package contains type definitions for d3-interpolate (https://github.com/d3/d3-interpolate/).
|
|
||||||
|
|
||||||
# Details
|
|
||||||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/d3-interpolate.
|
|
||||||
|
|
||||||
### Additional Details
|
|
||||||
* Last updated: Tue, 07 Nov 2023 15:11:37 GMT
|
|
||||||
* Dependencies: [@types/d3-color](https://npmjs.com/package/@types/d3-color)
|
|
||||||
|
|
||||||
# Credits
|
|
||||||
These definitions were written by [Tom Wanzek](https://github.com/tomwanzek), [Alex Ford](https://github.com/gustavderdrache), [Boris Yankov](https://github.com/borisyankov), [denisname](https://github.com/denisname), and [Nathan Bierema](https://github.com/Methuselah96).
|
|
@ -1,47 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "@types/d3-interpolate",
|
|
||||||
"version": "3.0.4",
|
|
||||||
"description": "TypeScript definitions for d3-interpolate",
|
|
||||||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/d3-interpolate",
|
|
||||||
"license": "MIT",
|
|
||||||
"contributors": [
|
|
||||||
{
|
|
||||||
"name": "Tom Wanzek",
|
|
||||||
"githubUsername": "tomwanzek",
|
|
||||||
"url": "https://github.com/tomwanzek"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Alex Ford",
|
|
||||||
"githubUsername": "gustavderdrache",
|
|
||||||
"url": "https://github.com/gustavderdrache"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Boris Yankov",
|
|
||||||
"githubUsername": "borisyankov",
|
|
||||||
"url": "https://github.com/borisyankov"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "denisname",
|
|
||||||
"githubUsername": "denisname",
|
|
||||||
"url": "https://github.com/denisname"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Nathan Bierema",
|
|
||||||
"githubUsername": "Methuselah96",
|
|
||||||
"url": "https://github.com/Methuselah96"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"main": "",
|
|
||||||
"types": "index.d.ts",
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
|
||||||
"directory": "types/d3-interpolate"
|
|
||||||
},
|
|
||||||
"scripts": {},
|
|
||||||
"dependencies": {
|
|
||||||
"@types/d3-color": "*"
|
|
||||||
},
|
|
||||||
"typesPublisherContentHash": "d315fc677144695b44f1447ef7429c9ff248886716c2e9f742d031abcb319115",
|
|
||||||
"typeScriptVersion": "4.5"
|
|
||||||
}
|
|
@ -1,21 +0,0 @@
|
|||||||
MIT License
|
|
||||||
|
|
||||||
Copyright (c) Microsoft Corporation.
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE
|
|
@ -1,15 +0,0 @@
|
|||||||
# Installation
|
|
||||||
> `npm install --save @types/d3-selection`
|
|
||||||
|
|
||||||
# Summary
|
|
||||||
This package contains type definitions for d3-selection (https://github.com/d3/d3-selection/).
|
|
||||||
|
|
||||||
# Details
|
|
||||||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/d3-selection.
|
|
||||||
|
|
||||||
### Additional Details
|
|
||||||
* Last updated: Mon, 07 Oct 2024 22:38:10 GMT
|
|
||||||
* Dependencies: none
|
|
||||||
|
|
||||||
# Credits
|
|
||||||
These definitions were written by [Tom Wanzek](https://github.com/tomwanzek), [Alex Ford](https://github.com/gustavderdrache), [Boris Yankov](https://github.com/borisyankov), [denisname](https://github.com/denisname), [Nathan Bierema](https://github.com/Methuselah96), and [Ambar Mutha](https://github.com/ambar-arkin).
|
|
File diff suppressed because it is too large
Load Diff
@ -1,50 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "@types/d3-selection",
|
|
||||||
"version": "3.0.11",
|
|
||||||
"description": "TypeScript definitions for d3-selection",
|
|
||||||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/d3-selection",
|
|
||||||
"license": "MIT",
|
|
||||||
"contributors": [
|
|
||||||
{
|
|
||||||
"name": "Tom Wanzek",
|
|
||||||
"githubUsername": "tomwanzek",
|
|
||||||
"url": "https://github.com/tomwanzek"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Alex Ford",
|
|
||||||
"githubUsername": "gustavderdrache",
|
|
||||||
"url": "https://github.com/gustavderdrache"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Boris Yankov",
|
|
||||||
"githubUsername": "borisyankov",
|
|
||||||
"url": "https://github.com/borisyankov"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "denisname",
|
|
||||||
"githubUsername": "denisname",
|
|
||||||
"url": "https://github.com/denisname"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Nathan Bierema",
|
|
||||||
"githubUsername": "Methuselah96",
|
|
||||||
"url": "https://github.com/Methuselah96"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Ambar Mutha",
|
|
||||||
"githubUsername": "ambar-arkin",
|
|
||||||
"url": "https://github.com/ambar-arkin"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"main": "",
|
|
||||||
"types": "index.d.ts",
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
|
||||||
"directory": "types/d3-selection"
|
|
||||||
},
|
|
||||||
"scripts": {},
|
|
||||||
"dependencies": {},
|
|
||||||
"typesPublisherContentHash": "fefb1bdeb8d385251c2a5f0f16c4a924e80663081d09b1d98f79573a4db8ff6c",
|
|
||||||
"typeScriptVersion": "4.8"
|
|
||||||
}
|
|
@ -1,21 +0,0 @@
|
|||||||
MIT License
|
|
||||||
|
|
||||||
Copyright (c) Microsoft Corporation.
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE
|
|
@ -1,15 +0,0 @@
|
|||||||
# Installation
|
|
||||||
> `npm install --save @types/d3-transition`
|
|
||||||
|
|
||||||
# Summary
|
|
||||||
This package contains type definitions for d3-transition (https://github.com/d3/d3-transition/).
|
|
||||||
|
|
||||||
# Details
|
|
||||||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/d3-transition.
|
|
||||||
|
|
||||||
### Additional Details
|
|
||||||
* Last updated: Mon, 07 Oct 2024 22:38:10 GMT
|
|
||||||
* Dependencies: [@types/d3-selection](https://npmjs.com/package/@types/d3-selection)
|
|
||||||
|
|
||||||
# Credits
|
|
||||||
These definitions were written by [Tom Wanzek](https://github.com/tomwanzek), [Alex Ford](https://github.com/gustavderdrache), [Boris Yankov](https://github.com/borisyankov), [Robert Moura](https://github.com/robertmoura), and [Nathan Bierema](https://github.com/Methuselah96).
|
|
@ -1,47 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "@types/d3-transition",
|
|
||||||
"version": "3.0.9",
|
|
||||||
"description": "TypeScript definitions for d3-transition",
|
|
||||||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/d3-transition",
|
|
||||||
"license": "MIT",
|
|
||||||
"contributors": [
|
|
||||||
{
|
|
||||||
"name": "Tom Wanzek",
|
|
||||||
"githubUsername": "tomwanzek",
|
|
||||||
"url": "https://github.com/tomwanzek"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Alex Ford",
|
|
||||||
"githubUsername": "gustavderdrache",
|
|
||||||
"url": "https://github.com/gustavderdrache"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Boris Yankov",
|
|
||||||
"githubUsername": "borisyankov",
|
|
||||||
"url": "https://github.com/borisyankov"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Robert Moura",
|
|
||||||
"githubUsername": "robertmoura",
|
|
||||||
"url": "https://github.com/robertmoura"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Nathan Bierema",
|
|
||||||
"githubUsername": "Methuselah96",
|
|
||||||
"url": "https://github.com/Methuselah96"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"main": "",
|
|
||||||
"types": "index.d.ts",
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
|
||||||
"directory": "types/d3-transition"
|
|
||||||
},
|
|
||||||
"scripts": {},
|
|
||||||
"dependencies": {
|
|
||||||
"@types/d3-selection": "*"
|
|
||||||
},
|
|
||||||
"typesPublisherContentHash": "69cd5510811e76132548e17770c16a10a8ffe039c97e6d45b3663749af4591dd",
|
|
||||||
"typeScriptVersion": "4.8"
|
|
||||||
}
|
|
@ -1,21 +0,0 @@
|
|||||||
MIT License
|
|
||||||
|
|
||||||
Copyright (c) Microsoft Corporation.
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE
|
|
@ -1,15 +0,0 @@
|
|||||||
# Installation
|
|
||||||
> `npm install --save @types/d3-zoom`
|
|
||||||
|
|
||||||
# Summary
|
|
||||||
This package contains type definitions for d3-zoom (https://github.com/d3/d3-zoom/).
|
|
||||||
|
|
||||||
# Details
|
|
||||||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/d3-zoom.
|
|
||||||
|
|
||||||
### Additional Details
|
|
||||||
* Last updated: Tue, 07 Nov 2023 15:11:37 GMT
|
|
||||||
* Dependencies: [@types/d3-interpolate](https://npmjs.com/package/@types/d3-interpolate), [@types/d3-selection](https://npmjs.com/package/@types/d3-selection)
|
|
||||||
|
|
||||||
# Credits
|
|
||||||
These definitions were written by [Tom Wanzek](https://github.com/tomwanzek), [Alex Ford](https://github.com/gustavderdrache), [Boris Yankov](https://github.com/borisyankov), [denisname](https://github.com/denisname), and [Nathan Bierema](https://github.com/Methuselah96).
|
|
@ -1,48 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "@types/d3-zoom",
|
|
||||||
"version": "3.0.8",
|
|
||||||
"description": "TypeScript definitions for d3-zoom",
|
|
||||||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/d3-zoom",
|
|
||||||
"license": "MIT",
|
|
||||||
"contributors": [
|
|
||||||
{
|
|
||||||
"name": "Tom Wanzek",
|
|
||||||
"githubUsername": "tomwanzek",
|
|
||||||
"url": "https://github.com/tomwanzek"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Alex Ford",
|
|
||||||
"githubUsername": "gustavderdrache",
|
|
||||||
"url": "https://github.com/gustavderdrache"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Boris Yankov",
|
|
||||||
"githubUsername": "borisyankov",
|
|
||||||
"url": "https://github.com/borisyankov"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "denisname",
|
|
||||||
"githubUsername": "denisname",
|
|
||||||
"url": "https://github.com/denisname"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Nathan Bierema",
|
|
||||||
"githubUsername": "Methuselah96",
|
|
||||||
"url": "https://github.com/Methuselah96"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"main": "",
|
|
||||||
"types": "index.d.ts",
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
|
||||||
"directory": "types/d3-zoom"
|
|
||||||
},
|
|
||||||
"scripts": {},
|
|
||||||
"dependencies": {
|
|
||||||
"@types/d3-interpolate": "*",
|
|
||||||
"@types/d3-selection": "*"
|
|
||||||
},
|
|
||||||
"typesPublisherContentHash": "19cbff2a5c60ea95d9eaa6d3d1a4ec6f8e60ec8a8560cf1bd2e359f057335776",
|
|
||||||
"typeScriptVersion": "4.5"
|
|
||||||
}
|
|
@ -1,21 +0,0 @@
|
|||||||
MIT License
|
|
||||||
|
|
||||||
Copyright (c) 2019-2024 webkid GmbH
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE.
|
|
@ -1,494 +0,0 @@
|
|||||||
/* this will be exported as base.css and can be used for a basic styling */
|
|
||||||
/* these are the necessary styles for React/Svelte Flow, they get used by base.css and style.css */
|
|
||||||
.react-flow {
|
|
||||||
direction: ltr;
|
|
||||||
|
|
||||||
--xy-edge-stroke-default: #b1b1b7;
|
|
||||||
--xy-edge-stroke-width-default: 1;
|
|
||||||
--xy-edge-stroke-selected-default: #555;
|
|
||||||
|
|
||||||
--xy-connectionline-stroke-default: #b1b1b7;
|
|
||||||
--xy-connectionline-stroke-width-default: 1;
|
|
||||||
|
|
||||||
--xy-attribution-background-color-default: rgba(255, 255, 255, 0.5);
|
|
||||||
|
|
||||||
--xy-minimap-background-color-default: #fff;
|
|
||||||
--xy-minimap-mask-background-color-default: rgba(240, 240, 240, 0.6);
|
|
||||||
--xy-minimap-mask-stroke-color-default: transparent;
|
|
||||||
--xy-minimap-mask-stroke-width-default: 1;
|
|
||||||
--xy-minimap-node-background-color-default: #e2e2e2;
|
|
||||||
--xy-minimap-node-stroke-color-default: transparent;
|
|
||||||
--xy-minimap-node-stroke-width-default: 2;
|
|
||||||
|
|
||||||
--xy-background-color-default: transparent;
|
|
||||||
--xy-background-pattern-dots-color-default: #91919a;
|
|
||||||
--xy-background-pattern-lines-color-default: #eee;
|
|
||||||
--xy-background-pattern-cross-color-default: #e2e2e2;
|
|
||||||
background-color: var(--xy-background-color, var(--xy-background-color-default));
|
|
||||||
--xy-node-border-default: 1px solid #bbb;
|
|
||||||
--xy-node-border-selected-default: 1px solid #555;
|
|
||||||
|
|
||||||
--xy-handle-background-color-default: #333;
|
|
||||||
|
|
||||||
--xy-selection-background-color-default: rgba(150, 150, 180, 0.1);
|
|
||||||
--xy-selection-border-default: 1px dotted rgba(155, 155, 155, 0.8);
|
|
||||||
--xy-resize-background-color-default: #3367d9;
|
|
||||||
}
|
|
||||||
.react-flow.dark {
|
|
||||||
--xy-edge-stroke-default: #3e3e3e;
|
|
||||||
--xy-edge-stroke-width-default: 1;
|
|
||||||
--xy-edge-stroke-selected-default: #727272;
|
|
||||||
|
|
||||||
--xy-connectionline-stroke-default: #b1b1b7;
|
|
||||||
--xy-connectionline-stroke-width-default: 1;
|
|
||||||
|
|
||||||
--xy-attribution-background-color-default: rgba(150, 150, 150, 0.25);
|
|
||||||
|
|
||||||
--xy-minimap-background-color-default: #141414;
|
|
||||||
--xy-minimap-mask-background-color-default: rgba(60, 60, 60, 0.6);
|
|
||||||
--xy-minimap-mask-stroke-color-default: transparent;
|
|
||||||
--xy-minimap-mask-stroke-width-default: 1;
|
|
||||||
--xy-minimap-node-background-color-default: #2b2b2b;
|
|
||||||
--xy-minimap-node-stroke-color-default: transparent;
|
|
||||||
--xy-minimap-node-stroke-width-default: 2;
|
|
||||||
|
|
||||||
--xy-background-color-default: #141414;
|
|
||||||
--xy-background-pattern-dots-color-default: #777;
|
|
||||||
--xy-background-pattern-lines-color-default: #777;
|
|
||||||
--xy-background-pattern-cross-color-default: #777;
|
|
||||||
--xy-node-color-default: #f8f8f8;
|
|
||||||
}
|
|
||||||
.react-flow__background {
|
|
||||||
background-color: var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));
|
|
||||||
pointer-events: none;
|
|
||||||
z-index: -1;
|
|
||||||
}
|
|
||||||
.react-flow__container {
|
|
||||||
position: absolute;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
}
|
|
||||||
.react-flow__pane {
|
|
||||||
z-index: 1;
|
|
||||||
}
|
|
||||||
.react-flow__pane.draggable {
|
|
||||||
cursor: grab;
|
|
||||||
}
|
|
||||||
.react-flow__pane.dragging {
|
|
||||||
cursor: grabbing;
|
|
||||||
}
|
|
||||||
.react-flow__pane.selection {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
.react-flow__viewport {
|
|
||||||
transform-origin: 0 0;
|
|
||||||
z-index: 2;
|
|
||||||
pointer-events: none;
|
|
||||||
}
|
|
||||||
.react-flow__renderer {
|
|
||||||
z-index: 4;
|
|
||||||
}
|
|
||||||
.react-flow__selection {
|
|
||||||
z-index: 6;
|
|
||||||
}
|
|
||||||
.react-flow__nodesselection-rect:focus,
|
|
||||||
.react-flow__nodesselection-rect:focus-visible {
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
.react-flow__edge-path {
|
|
||||||
stroke: var(--xy-edge-stroke, var(--xy-edge-stroke-default));
|
|
||||||
stroke-width: var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));
|
|
||||||
fill: none;
|
|
||||||
}
|
|
||||||
.react-flow__connection-path {
|
|
||||||
stroke: var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));
|
|
||||||
stroke-width: var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));
|
|
||||||
fill: none;
|
|
||||||
}
|
|
||||||
.react-flow .react-flow__edges {
|
|
||||||
position: absolute;
|
|
||||||
}
|
|
||||||
.react-flow .react-flow__edges svg {
|
|
||||||
overflow: visible;
|
|
||||||
position: absolute;
|
|
||||||
pointer-events: none;
|
|
||||||
}
|
|
||||||
.react-flow__edge {
|
|
||||||
pointer-events: visibleStroke;
|
|
||||||
}
|
|
||||||
.react-flow__edge.selectable {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
.react-flow__edge.animated path {
|
|
||||||
stroke-dasharray: 5;
|
|
||||||
animation: dashdraw 0.5s linear infinite;
|
|
||||||
}
|
|
||||||
.react-flow__edge.animated path.react-flow__edge-interaction {
|
|
||||||
stroke-dasharray: none;
|
|
||||||
animation: none;
|
|
||||||
}
|
|
||||||
.react-flow__edge.inactive {
|
|
||||||
pointer-events: none;
|
|
||||||
}
|
|
||||||
.react-flow__edge.selected,
|
|
||||||
.react-flow__edge:focus,
|
|
||||||
.react-flow__edge:focus-visible {
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
.react-flow__edge.selected .react-flow__edge-path,
|
|
||||||
.react-flow__edge.selectable:focus .react-flow__edge-path,
|
|
||||||
.react-flow__edge.selectable:focus-visible .react-flow__edge-path {
|
|
||||||
stroke: var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default));
|
|
||||||
}
|
|
||||||
.react-flow__edge-textwrapper {
|
|
||||||
pointer-events: all;
|
|
||||||
}
|
|
||||||
.react-flow__edge .react-flow__edge-text {
|
|
||||||
pointer-events: none;
|
|
||||||
-webkit-user-select: none;
|
|
||||||
-moz-user-select: none;
|
|
||||||
user-select: none;
|
|
||||||
}
|
|
||||||
.react-flow__connection {
|
|
||||||
pointer-events: none;
|
|
||||||
}
|
|
||||||
.react-flow__connection .animated {
|
|
||||||
stroke-dasharray: 5;
|
|
||||||
animation: dashdraw 0.5s linear infinite;
|
|
||||||
}
|
|
||||||
svg.react-flow__connectionline {
|
|
||||||
z-index: 1001;
|
|
||||||
overflow: visible;
|
|
||||||
position: absolute;
|
|
||||||
}
|
|
||||||
.react-flow__nodes {
|
|
||||||
pointer-events: none;
|
|
||||||
transform-origin: 0 0;
|
|
||||||
}
|
|
||||||
.react-flow__node {
|
|
||||||
position: absolute;
|
|
||||||
-webkit-user-select: none;
|
|
||||||
-moz-user-select: none;
|
|
||||||
user-select: none;
|
|
||||||
pointer-events: all;
|
|
||||||
transform-origin: 0 0;
|
|
||||||
box-sizing: border-box;
|
|
||||||
cursor: default;
|
|
||||||
}
|
|
||||||
.react-flow__node.selectable {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
.react-flow__node.draggable {
|
|
||||||
cursor: grab;
|
|
||||||
pointer-events: all;
|
|
||||||
}
|
|
||||||
.react-flow__node.draggable.dragging {
|
|
||||||
cursor: grabbing;
|
|
||||||
}
|
|
||||||
.react-flow__nodesselection {
|
|
||||||
z-index: 3;
|
|
||||||
transform-origin: left top;
|
|
||||||
pointer-events: none;
|
|
||||||
}
|
|
||||||
.react-flow__nodesselection-rect {
|
|
||||||
position: absolute;
|
|
||||||
pointer-events: all;
|
|
||||||
cursor: grab;
|
|
||||||
}
|
|
||||||
.react-flow__handle {
|
|
||||||
position: absolute;
|
|
||||||
pointer-events: none;
|
|
||||||
min-width: 5px;
|
|
||||||
min-height: 5px;
|
|
||||||
background-color: var(--xy-handle-background-color, var(--xy-handle-background-color-default));
|
|
||||||
}
|
|
||||||
.react-flow__handle.connectingfrom {
|
|
||||||
pointer-events: all;
|
|
||||||
}
|
|
||||||
.react-flow__handle.connectionindicator {
|
|
||||||
pointer-events: all;
|
|
||||||
cursor: crosshair;
|
|
||||||
}
|
|
||||||
.react-flow__handle-bottom {
|
|
||||||
top: auto;
|
|
||||||
left: 50%;
|
|
||||||
bottom: 0;
|
|
||||||
transform: translate(-50%, 50%);
|
|
||||||
}
|
|
||||||
.react-flow__handle-top {
|
|
||||||
top: 0;
|
|
||||||
left: 50%;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
}
|
|
||||||
.react-flow__handle-left {
|
|
||||||
top: 50%;
|
|
||||||
left: 0;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
}
|
|
||||||
.react-flow__handle-right {
|
|
||||||
top: 50%;
|
|
||||||
right: 0;
|
|
||||||
transform: translate(50%, -50%);
|
|
||||||
}
|
|
||||||
.react-flow__edgeupdater {
|
|
||||||
cursor: move;
|
|
||||||
pointer-events: all;
|
|
||||||
}
|
|
||||||
.react-flow__panel {
|
|
||||||
position: absolute;
|
|
||||||
z-index: 5;
|
|
||||||
margin: 15px;
|
|
||||||
}
|
|
||||||
.react-flow__panel.top {
|
|
||||||
top: 0;
|
|
||||||
}
|
|
||||||
.react-flow__panel.bottom {
|
|
||||||
bottom: 0;
|
|
||||||
}
|
|
||||||
.react-flow__panel.top.center, .react-flow__panel.bottom.center {
|
|
||||||
left: 50%;
|
|
||||||
transform: translateX(-15px) translateX(-50%);
|
|
||||||
}
|
|
||||||
.react-flow__panel.left {
|
|
||||||
left: 0;
|
|
||||||
}
|
|
||||||
.react-flow__panel.right {
|
|
||||||
right: 0;
|
|
||||||
}
|
|
||||||
.react-flow__panel.left.center, .react-flow__panel.right.center {
|
|
||||||
top: 50%;
|
|
||||||
transform: translateY(-15px) translateY(-50%);
|
|
||||||
}
|
|
||||||
.react-flow__attribution {
|
|
||||||
font-size: 10px;
|
|
||||||
background: var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));
|
|
||||||
padding: 2px 3px;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
.react-flow__attribution a {
|
|
||||||
text-decoration: none;
|
|
||||||
color: #999;
|
|
||||||
}
|
|
||||||
@keyframes dashdraw {
|
|
||||||
from {
|
|
||||||
stroke-dashoffset: 10;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.react-flow__edgelabel-renderer {
|
|
||||||
position: absolute;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
pointer-events: none;
|
|
||||||
-webkit-user-select: none;
|
|
||||||
-moz-user-select: none;
|
|
||||||
user-select: none;
|
|
||||||
left: 0;
|
|
||||||
top: 0;
|
|
||||||
}
|
|
||||||
.react-flow__viewport-portal {
|
|
||||||
position: absolute;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
left: 0;
|
|
||||||
top: 0;
|
|
||||||
-webkit-user-select: none;
|
|
||||||
-moz-user-select: none;
|
|
||||||
user-select: none;
|
|
||||||
}
|
|
||||||
.react-flow__minimap {
|
|
||||||
background: var(
|
|
||||||
--xy-minimap-background-color-props,
|
|
||||||
var(--xy-minimap-background-color, var(--xy-minimap-background-color-default))
|
|
||||||
);
|
|
||||||
}
|
|
||||||
.react-flow__minimap-svg {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.react-flow__minimap-mask {
|
|
||||||
fill: var(
|
|
||||||
--xy-minimap-mask-background-color-props,
|
|
||||||
var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default))
|
|
||||||
);
|
|
||||||
stroke: var(
|
|
||||||
--xy-minimap-mask-stroke-color-props,
|
|
||||||
var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default))
|
|
||||||
);
|
|
||||||
stroke-width: var(
|
|
||||||
--xy-minimap-mask-stroke-width-props,
|
|
||||||
var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default))
|
|
||||||
);
|
|
||||||
}
|
|
||||||
.react-flow__minimap-node {
|
|
||||||
fill: var(
|
|
||||||
--xy-minimap-node-background-color-props,
|
|
||||||
var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default))
|
|
||||||
);
|
|
||||||
stroke: var(
|
|
||||||
--xy-minimap-node-stroke-color-props,
|
|
||||||
var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default))
|
|
||||||
);
|
|
||||||
stroke-width: var(
|
|
||||||
--xy-minimap-node-stroke-width-props,
|
|
||||||
var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default))
|
|
||||||
);
|
|
||||||
}
|
|
||||||
.react-flow__background-pattern.dots {
|
|
||||||
fill: var(
|
|
||||||
--xy-background-pattern-color-props,
|
|
||||||
var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default))
|
|
||||||
);
|
|
||||||
}
|
|
||||||
.react-flow__background-pattern.lines {
|
|
||||||
stroke: var(
|
|
||||||
--xy-background-pattern-color-props,
|
|
||||||
var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default))
|
|
||||||
);
|
|
||||||
}
|
|
||||||
.react-flow__background-pattern.cross {
|
|
||||||
stroke: var(
|
|
||||||
--xy-background-pattern-color-props,
|
|
||||||
var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default))
|
|
||||||
);
|
|
||||||
}
|
|
||||||
.react-flow__controls {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
.react-flow__controls.horizontal {
|
|
||||||
flex-direction: row;
|
|
||||||
}
|
|
||||||
.react-flow__controls-button {
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
height: 26px;
|
|
||||||
width: 26px;
|
|
||||||
padding: 4px;
|
|
||||||
}
|
|
||||||
.react-flow__controls-button svg {
|
|
||||||
width: 100%;
|
|
||||||
max-width: 12px;
|
|
||||||
max-height: 12px;
|
|
||||||
fill: currentColor;
|
|
||||||
}
|
|
||||||
.react-flow__node-input,
|
|
||||||
.react-flow__node-default,
|
|
||||||
.react-flow__node-output,
|
|
||||||
.react-flow__node-group {
|
|
||||||
border: var(--xy-node-border, var(--xy-node-border-default));
|
|
||||||
color: var(--xy-node-color, var(--xy-node-color-default));
|
|
||||||
}
|
|
||||||
.react-flow__node-input.selected,
|
|
||||||
.react-flow__node-input:focus,
|
|
||||||
.react-flow__node-input:focus-visible,
|
|
||||||
.react-flow__node-default.selected,
|
|
||||||
.react-flow__node-default:focus,
|
|
||||||
.react-flow__node-default:focus-visible,
|
|
||||||
.react-flow__node-output.selected,
|
|
||||||
.react-flow__node-output:focus,
|
|
||||||
.react-flow__node-output:focus-visible,
|
|
||||||
.react-flow__node-group.selected,
|
|
||||||
.react-flow__node-group:focus,
|
|
||||||
.react-flow__node-group:focus-visible {
|
|
||||||
outline: none;
|
|
||||||
border: var(--xy-node-border-selected, var(--xy-node-border-selected-default));
|
|
||||||
}
|
|
||||||
.react-flow__nodesselection-rect,
|
|
||||||
.react-flow__selection {
|
|
||||||
background: var(--xy-selection-background-color, var(--xy-selection-background-color-default));
|
|
||||||
border: var(--xy-selection-border, var(--xy-selection-border-default));
|
|
||||||
}
|
|
||||||
.react-flow__resize-control {
|
|
||||||
position: absolute;
|
|
||||||
}
|
|
||||||
.react-flow__resize-control.left,
|
|
||||||
.react-flow__resize-control.right {
|
|
||||||
cursor: ew-resize;
|
|
||||||
}
|
|
||||||
.react-flow__resize-control.top,
|
|
||||||
.react-flow__resize-control.bottom {
|
|
||||||
cursor: ns-resize;
|
|
||||||
}
|
|
||||||
.react-flow__resize-control.top.left,
|
|
||||||
.react-flow__resize-control.bottom.right {
|
|
||||||
cursor: nwse-resize;
|
|
||||||
}
|
|
||||||
.react-flow__resize-control.bottom.left,
|
|
||||||
.react-flow__resize-control.top.right {
|
|
||||||
cursor: nesw-resize;
|
|
||||||
}
|
|
||||||
/* handle styles */
|
|
||||||
.react-flow__resize-control.handle {
|
|
||||||
width: 5px;
|
|
||||||
height: 5px;
|
|
||||||
border: 1px solid #fff;
|
|
||||||
border-radius: 1px;
|
|
||||||
background-color: var(--xy-resize-background-color, var(--xy-resize-background-color-default));
|
|
||||||
translate: -50% -50%;
|
|
||||||
}
|
|
||||||
.react-flow__resize-control.handle.left {
|
|
||||||
left: 0;
|
|
||||||
top: 50%;
|
|
||||||
}
|
|
||||||
.react-flow__resize-control.handle.right {
|
|
||||||
left: 100%;
|
|
||||||
top: 50%;
|
|
||||||
}
|
|
||||||
.react-flow__resize-control.handle.top {
|
|
||||||
left: 50%;
|
|
||||||
top: 0;
|
|
||||||
}
|
|
||||||
.react-flow__resize-control.handle.bottom {
|
|
||||||
left: 50%;
|
|
||||||
top: 100%;
|
|
||||||
}
|
|
||||||
.react-flow__resize-control.handle.top.left {
|
|
||||||
left: 0;
|
|
||||||
}
|
|
||||||
.react-flow__resize-control.handle.bottom.left {
|
|
||||||
left: 0;
|
|
||||||
}
|
|
||||||
.react-flow__resize-control.handle.top.right {
|
|
||||||
left: 100%;
|
|
||||||
}
|
|
||||||
.react-flow__resize-control.handle.bottom.right {
|
|
||||||
left: 100%;
|
|
||||||
}
|
|
||||||
/* line styles */
|
|
||||||
.react-flow__resize-control.line {
|
|
||||||
border-color: var(--xy-resize-background-color, var(--xy-resize-background-color-default));
|
|
||||||
border-width: 0;
|
|
||||||
border-style: solid;
|
|
||||||
}
|
|
||||||
.react-flow__resize-control.line.left,
|
|
||||||
.react-flow__resize-control.line.right {
|
|
||||||
width: 1px;
|
|
||||||
transform: translate(-50%, 0);
|
|
||||||
top: 0;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
.react-flow__resize-control.line.left {
|
|
||||||
left: 0;
|
|
||||||
border-left-width: 1px;
|
|
||||||
}
|
|
||||||
.react-flow__resize-control.line.right {
|
|
||||||
left: 100%;
|
|
||||||
border-right-width: 1px;
|
|
||||||
}
|
|
||||||
.react-flow__resize-control.line.top,
|
|
||||||
.react-flow__resize-control.line.bottom {
|
|
||||||
height: 1px;
|
|
||||||
transform: translate(0, -50%);
|
|
||||||
left: 0;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
.react-flow__resize-control.line.top {
|
|
||||||
top: 0;
|
|
||||||
border-top-width: 1px;
|
|
||||||
}
|
|
||||||
.react-flow__resize-control.line.bottom {
|
|
||||||
border-bottom-width: 1px;
|
|
||||||
top: 100%;
|
|
||||||
}
|
|
61
node_modules/@xyflow/react/dist/esm/additional-components/Background/Background.d.ts
generated
vendored
61
node_modules/@xyflow/react/dist/esm/additional-components/Background/Background.d.ts
generated
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"Background.d.ts","sourceRoot":"","sources":["../../../src/additional-components/Background/Background.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,eAAe,EAAqB,MAAM,SAAS,CAAC;AAWlE,iBAAS,mBAAmB,CAAC,EAC3B,EAAE,EACF,OAAgC,EAEhC,GAAQ,EAER,IAAI,EACJ,SAAa,EACb,MAAU,EACV,KAAK,EACL,OAAO,EACP,KAAK,EACL,SAAS,EACT,gBAAgB,GACjB,EAAE,eAAe,2CAwDjB;kBAtEQ,mBAAmB;;;AA0E5B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,eAAO,MAAM,UAAU,iEAA4B,CAAC"}
|
|
15
node_modules/@xyflow/react/dist/esm/additional-components/Background/Patterns.d.ts
generated
vendored
15
node_modules/@xyflow/react/dist/esm/additional-components/Background/Patterns.d.ts
generated
vendored
@ -1,15 +0,0 @@
|
|||||||
import { BackgroundVariant } from './types';
|
|
||||||
type LinePatternProps = {
|
|
||||||
dimensions: [number, number];
|
|
||||||
variant: BackgroundVariant;
|
|
||||||
lineWidth?: number;
|
|
||||||
className?: string;
|
|
||||||
};
|
|
||||||
export declare function LinePattern({ dimensions, lineWidth, variant, className }: LinePatternProps): import("react/jsx-runtime").JSX.Element;
|
|
||||||
type DotPatternProps = {
|
|
||||||
radius: number;
|
|
||||||
className?: string;
|
|
||||||
};
|
|
||||||
export declare function DotPattern({ radius, className }: DotPatternProps): import("react/jsx-runtime").JSX.Element;
|
|
||||||
export {};
|
|
||||||
//# sourceMappingURL=Patterns.d.ts.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"Patterns.d.ts","sourceRoot":"","sources":["../../../src/additional-components/Background/Patterns.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,KAAK,gBAAgB,GAAG;IACtB,UAAU,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7B,OAAO,EAAE,iBAAiB,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,wBAAgB,WAAW,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,gBAAgB,2CAQ1F;AAED,KAAK,eAAe,GAAG;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,wBAAgB,UAAU,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,eAAe,2CAIhE"}
|
|
3
node_modules/@xyflow/react/dist/esm/additional-components/Background/index.d.ts
generated
vendored
3
node_modules/@xyflow/react/dist/esm/additional-components/Background/index.d.ts
generated
vendored
@ -1,3 +0,0 @@
|
|||||||
export { Background } from './Background';
|
|
||||||
export { BackgroundVariant, type BackgroundProps } from './types';
|
|
||||||
//# sourceMappingURL=index.d.ts.map
|
|
1
node_modules/@xyflow/react/dist/esm/additional-components/Background/index.d.ts.map
generated
vendored
1
node_modules/@xyflow/react/dist/esm/additional-components/Background/index.d.ts.map
generated
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/additional-components/Background/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,iBAAiB,EAAE,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC"}
|
|
59
node_modules/@xyflow/react/dist/esm/additional-components/Background/types.d.ts
generated
vendored
59
node_modules/@xyflow/react/dist/esm/additional-components/Background/types.d.ts
generated
vendored
@ -1,59 +0,0 @@
|
|||||||
import { CSSProperties } from 'react';
|
|
||||||
/**
|
|
||||||
* The three variants are exported as an enum for convenience. You can either import
|
|
||||||
* the enum and use it like `BackgroundVariant.Lines` or you can use the raw string
|
|
||||||
* value directly.
|
|
||||||
* @public
|
|
||||||
*/
|
|
||||||
export declare enum BackgroundVariant {
|
|
||||||
Lines = "lines",
|
|
||||||
Dots = "dots",
|
|
||||||
Cross = "cross"
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @expand
|
|
||||||
*/
|
|
||||||
export type BackgroundProps = {
|
|
||||||
/** When multiple backgrounds are present on the page, each one should have a unique id. */
|
|
||||||
id?: string;
|
|
||||||
/** Color of the pattern. */
|
|
||||||
color?: string;
|
|
||||||
/** Color of the background. */
|
|
||||||
bgColor?: string;
|
|
||||||
/** Class applied to the container. */
|
|
||||||
className?: string;
|
|
||||||
/** Class applied to the pattern. */
|
|
||||||
patternClassName?: string;
|
|
||||||
/**
|
|
||||||
* The gap between patterns. Passing in a tuple allows you to control the x and y gap
|
|
||||||
* independently.
|
|
||||||
* @default 20
|
|
||||||
*/
|
|
||||||
gap?: number | [number, number];
|
|
||||||
/**
|
|
||||||
* The radius of each dot or the size of each rectangle if `BackgroundVariant.Dots` or
|
|
||||||
* `BackgroundVariant.Cross` is used. This defaults to 1 or 6 respectively, or ignored if
|
|
||||||
* `BackgroundVariant.Lines` is used.
|
|
||||||
*/
|
|
||||||
size?: number;
|
|
||||||
/**
|
|
||||||
* Offset of the pattern.
|
|
||||||
* @default 0
|
|
||||||
*/
|
|
||||||
offset?: number | [number, number];
|
|
||||||
/**
|
|
||||||
* The stroke thickness used when drawing the pattern.
|
|
||||||
* @default 1
|
|
||||||
*/
|
|
||||||
lineWidth?: number;
|
|
||||||
/**
|
|
||||||
* Variant of the pattern.
|
|
||||||
* @default BackgroundVariant.Dots
|
|
||||||
* @example BackgroundVariant.Lines, BackgroundVariant.Dots, BackgroundVariant.Cross
|
|
||||||
* 'lines', 'dots', 'cross'
|
|
||||||
*/
|
|
||||||
variant?: BackgroundVariant;
|
|
||||||
/** Style applied to the container. */
|
|
||||||
style?: CSSProperties;
|
|
||||||
};
|
|
||||||
//# sourceMappingURL=types.d.ts.map
|
|
1
node_modules/@xyflow/react/dist/esm/additional-components/Background/types.d.ts.map
generated
vendored
1
node_modules/@xyflow/react/dist/esm/additional-components/Background/types.d.ts.map
generated
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/additional-components/Background/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC;;;;;GAKG;AACH,oBAAY,iBAAiB;IAC3B,KAAK,UAAU;IACf,IAAI,SAAS;IACb,KAAK,UAAU;CAChB;AAED;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,2FAA2F;IAC3F,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,4BAA4B;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+BAA+B;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,sCAAsC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oCAAoC;IACpC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,sCAAsC;IACtC,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,CAAC"}
|
|
26
node_modules/@xyflow/react/dist/esm/additional-components/Controls/ControlButton.d.ts
generated
vendored
26
node_modules/@xyflow/react/dist/esm/additional-components/Controls/ControlButton.d.ts
generated
vendored
@ -1,26 +0,0 @@
|
|||||||
import type { ControlButtonProps } from './types';
|
|
||||||
/**
|
|
||||||
* You can add buttons to the control panel by using the `<ControlButton />` component
|
|
||||||
* and pass it as a child to the [`<Controls />`](/api-reference/components/controls) component.
|
|
||||||
*
|
|
||||||
* @public
|
|
||||||
* @example
|
|
||||||
*```jsx
|
|
||||||
*import { MagicWand } from '@radix-ui/react-icons'
|
|
||||||
*import { ReactFlow, Controls, ControlButton } from '@xyflow/react'
|
|
||||||
*
|
|
||||||
*export default function Flow() {
|
|
||||||
* return (
|
|
||||||
* <ReactFlow nodes={[...]} edges={[...]}>
|
|
||||||
* <Controls>
|
|
||||||
* <ControlButton onClick={() => alert('Something magical just happened. ✨')}>
|
|
||||||
* <MagicWand />
|
|
||||||
* </ControlButton>
|
|
||||||
* </Controls>
|
|
||||||
* </ReactFlow>
|
|
||||||
* )
|
|
||||||
*}
|
|
||||||
*```
|
|
||||||
*/
|
|
||||||
export declare function ControlButton({ children, className, ...rest }: ControlButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
||||||
//# sourceMappingURL=ControlButton.d.ts.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"ControlButton.d.ts","sourceRoot":"","sources":["../../../src/additional-components/Controls/ControlButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,kBAAkB,2CAMjF"}
|
|
29
node_modules/@xyflow/react/dist/esm/additional-components/Controls/Controls.d.ts
generated
vendored
29
node_modules/@xyflow/react/dist/esm/additional-components/Controls/Controls.d.ts
generated
vendored
@ -1,29 +0,0 @@
|
|||||||
import type { ControlProps } from './types';
|
|
||||||
declare function ControlsComponent({ style, showZoom, showFitView, showInteractive, fitViewOptions, onZoomIn, onZoomOut, onFitView, onInteractiveChange, className, children, position, orientation, 'aria-label': ariaLabel, }: ControlProps): import("react/jsx-runtime").JSX.Element;
|
|
||||||
declare namespace ControlsComponent {
|
|
||||||
var displayName: string;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* The `<Controls />` component renders a small panel that contains convenient
|
|
||||||
* buttons to zoom in, zoom out, fit the view, and lock the viewport.
|
|
||||||
*
|
|
||||||
* @public
|
|
||||||
* @example
|
|
||||||
*```tsx
|
|
||||||
*import { ReactFlow, Controls } from '@xyflow/react'
|
|
||||||
*
|
|
||||||
*export default function Flow() {
|
|
||||||
* return (
|
|
||||||
* <ReactFlow nodes={[...]} edges={[...]}>
|
|
||||||
* <Controls />
|
|
||||||
* </ReactFlow>
|
|
||||||
* )
|
|
||||||
*}
|
|
||||||
*```
|
|
||||||
*
|
|
||||||
* @remarks To extend or customise the controls, you can use the [`<ControlButton />`](/api-reference/components/control-button) component
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
export declare const Controls: import("react").MemoExoticComponent<typeof ControlsComponent>;
|
|
||||||
export {};
|
|
||||||
//# sourceMappingURL=Controls.d.ts.map
|
|
1
node_modules/@xyflow/react/dist/esm/additional-components/Controls/Controls.d.ts.map
generated
vendored
1
node_modules/@xyflow/react/dist/esm/additional-components/Controls/Controls.d.ts.map
generated
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"Controls.d.ts","sourceRoot":"","sources":["../../../src/additional-components/Controls/Controls.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAS5C,iBAAS,iBAAiB,CAAC,EACzB,KAAK,EACL,QAAe,EACf,WAAkB,EAClB,eAAsB,EACtB,cAAc,EACd,QAAQ,EACR,SAAS,EACT,SAAS,EACT,mBAAmB,EACnB,SAAS,EACT,QAAQ,EACR,QAAwB,EACxB,WAAwB,EACxB,YAAY,EAAE,SAAS,GACxB,EAAE,YAAY,2CAoFd;kBAnGQ,iBAAiB;;;AAuG1B;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,QAAQ,+DAA0B,CAAC"}
|
|
@ -1,2 +0,0 @@
|
|||||||
export declare function FitViewIcon(): import("react/jsx-runtime").JSX.Element;
|
|
||||||
//# sourceMappingURL=FitView.d.ts.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"FitView.d.ts","sourceRoot":"","sources":["../../../../src/additional-components/Controls/Icons/FitView.tsx"],"names":[],"mappings":"AAAA,wBAAgB,WAAW,4CAM1B"}
|
|
2
node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/Lock.d.ts
generated
vendored
2
node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/Lock.d.ts
generated
vendored
@ -1,2 +0,0 @@
|
|||||||
export declare function LockIcon(): import("react/jsx-runtime").JSX.Element;
|
|
||||||
//# sourceMappingURL=Lock.d.ts.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"Lock.d.ts","sourceRoot":"","sources":["../../../../src/additional-components/Controls/Icons/Lock.tsx"],"names":[],"mappings":"AAAA,wBAAgB,QAAQ,4CAMvB"}
|
|
2
node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/Minus.d.ts
generated
vendored
2
node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/Minus.d.ts
generated
vendored
@ -1,2 +0,0 @@
|
|||||||
export declare function MinusIcon(): import("react/jsx-runtime").JSX.Element;
|
|
||||||
//# sourceMappingURL=Minus.d.ts.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"Minus.d.ts","sourceRoot":"","sources":["../../../../src/additional-components/Controls/Icons/Minus.tsx"],"names":[],"mappings":"AAAA,wBAAgB,SAAS,4CAMxB"}
|
|
2
node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/Plus.d.ts
generated
vendored
2
node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/Plus.d.ts
generated
vendored
@ -1,2 +0,0 @@
|
|||||||
export declare function PlusIcon(): import("react/jsx-runtime").JSX.Element;
|
|
||||||
//# sourceMappingURL=Plus.d.ts.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"Plus.d.ts","sourceRoot":"","sources":["../../../../src/additional-components/Controls/Icons/Plus.tsx"],"names":[],"mappings":"AAAA,wBAAgB,QAAQ,4CAMvB"}
|
|
2
node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/Unlock.d.ts
generated
vendored
2
node_modules/@xyflow/react/dist/esm/additional-components/Controls/Icons/Unlock.d.ts
generated
vendored
@ -1,2 +0,0 @@
|
|||||||
export declare function UnlockIcon(): import("react/jsx-runtime").JSX.Element;
|
|
||||||
//# sourceMappingURL=Unlock.d.ts.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"Unlock.d.ts","sourceRoot":"","sources":["../../../../src/additional-components/Controls/Icons/Unlock.tsx"],"names":[],"mappings":"AAAA,wBAAgB,UAAU,4CAMzB"}
|
|
@ -1,4 +0,0 @@
|
|||||||
export { Controls } from './Controls';
|
|
||||||
export { ControlButton } from './ControlButton';
|
|
||||||
export type { ControlProps, ControlButtonProps } from './types';
|
|
||||||
//# sourceMappingURL=index.d.ts.map
|
|
1
node_modules/@xyflow/react/dist/esm/additional-components/Controls/index.d.ts.map
generated
vendored
1
node_modules/@xyflow/react/dist/esm/additional-components/Controls/index.d.ts.map
generated
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/additional-components/Controls/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC"}
|
|
@ -1,66 +0,0 @@
|
|||||||
import type { ButtonHTMLAttributes, ReactNode } from 'react';
|
|
||||||
import type { PanelPosition } from '@xyflow/system';
|
|
||||||
import type { FitViewOptions } from '../../types';
|
|
||||||
/**
|
|
||||||
* @expand
|
|
||||||
*/
|
|
||||||
export type ControlProps = {
|
|
||||||
/**
|
|
||||||
* Whether or not to show the zoom in and zoom out buttons. These buttons will adjust the viewport
|
|
||||||
* zoom by a fixed amount each press.
|
|
||||||
* @default true
|
|
||||||
*/
|
|
||||||
showZoom?: boolean;
|
|
||||||
/**
|
|
||||||
* Whether or not to show the fit view button. By default, this button will adjust the viewport so
|
|
||||||
* that all nodes are visible at once.
|
|
||||||
* @default true
|
|
||||||
*/
|
|
||||||
showFitView?: boolean;
|
|
||||||
/**
|
|
||||||
* Show button for toggling interactivity
|
|
||||||
* @default true
|
|
||||||
*/
|
|
||||||
showInteractive?: boolean;
|
|
||||||
/**
|
|
||||||
* Customise the options for the fit view button. These are the same options you would pass to the
|
|
||||||
* fitView function.
|
|
||||||
*/
|
|
||||||
fitViewOptions?: FitViewOptions;
|
|
||||||
/** Called in addition the default zoom behavior when the zoom in button is clicked. */
|
|
||||||
onZoomIn?: () => void;
|
|
||||||
/** Called in addition the default zoom behavior when the zoom out button is clicked. */
|
|
||||||
onZoomOut?: () => void;
|
|
||||||
/**
|
|
||||||
* Called when the fit view button is clicked. When this is not provided, the viewport will be
|
|
||||||
* adjusted so that all nodes are visible.
|
|
||||||
*/
|
|
||||||
onFitView?: () => void;
|
|
||||||
/** Called when the interactive (lock) button is clicked. */
|
|
||||||
onInteractiveChange?: (interactiveStatus: boolean) => void;
|
|
||||||
/**
|
|
||||||
* Position of the controls on the pane
|
|
||||||
* @default PanelPosition.BottomLeft
|
|
||||||
* @example PanelPosition.TopLeft, PanelPosition.TopRight,
|
|
||||||
* PanelPosition.BottomLeft, PanelPosition.BottomRight
|
|
||||||
*/
|
|
||||||
position?: PanelPosition;
|
|
||||||
children?: ReactNode;
|
|
||||||
/** Style applied to container */
|
|
||||||
style?: React.CSSProperties;
|
|
||||||
/** Class name applied to container */
|
|
||||||
className?: string;
|
|
||||||
/**
|
|
||||||
* @default 'React Flow controls'
|
|
||||||
*/
|
|
||||||
'aria-label'?: string;
|
|
||||||
/**
|
|
||||||
* @default 'vertical'
|
|
||||||
*/
|
|
||||||
orientation?: 'horizontal' | 'vertical';
|
|
||||||
};
|
|
||||||
/**
|
|
||||||
* @expand
|
|
||||||
*/
|
|
||||||
export type ControlButtonProps = ButtonHTMLAttributes<HTMLButtonElement>;
|
|
||||||
//# sourceMappingURL=types.d.ts.map
|
|
1
node_modules/@xyflow/react/dist/esm/additional-components/Controls/types.d.ts.map
generated
vendored
1
node_modules/@xyflow/react/dist/esm/additional-components/Controls/types.d.ts.map
generated
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/additional-components/Controls/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEpD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;OAGG;IACH,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,uFAAuF;IACvF,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,wFAAwF;IACxF,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,4DAA4D;IAC5D,mBAAmB,CAAC,EAAE,CAAC,iBAAiB,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3D;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,iCAAiC;IACjC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,sCAAsC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;CACzC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC"}
|
|
29
node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/MiniMap.d.ts
generated
vendored
29
node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/MiniMap.d.ts
generated
vendored
@ -1,29 +0,0 @@
|
|||||||
import type { Node } from '../../types';
|
|
||||||
import type { MiniMapProps } from './types';
|
|
||||||
declare function MiniMapComponent<NodeType extends Node = Node>({ style, className, nodeStrokeColor, nodeColor, nodeClassName, nodeBorderRadius, nodeStrokeWidth, nodeComponent, bgColor, maskColor, maskStrokeColor, maskStrokeWidth, position, onClick, onNodeClick, pannable, zoomable, ariaLabel, inversePan, zoomStep, offsetScale, }: MiniMapProps<NodeType>): import("react/jsx-runtime").JSX.Element;
|
|
||||||
declare namespace MiniMapComponent {
|
|
||||||
var displayName: string;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* The `<MiniMap />` component can be used to render an overview of your flow. It
|
|
||||||
* renders each node as an SVG element and visualizes where the current viewport is
|
|
||||||
* in relation to the rest of the flow.
|
|
||||||
*
|
|
||||||
* @public
|
|
||||||
* @example
|
|
||||||
*
|
|
||||||
* ```jsx
|
|
||||||
*import { ReactFlow, MiniMap } from '@xyflow/react';
|
|
||||||
*
|
|
||||||
*export default function Flow() {
|
|
||||||
* return (
|
|
||||||
* <ReactFlow nodes={[...]]} edges={[...]]}>
|
|
||||||
* <MiniMap nodeStrokeWidth={3} />
|
|
||||||
* </ReactFlow>
|
|
||||||
* );
|
|
||||||
*}
|
|
||||||
*```
|
|
||||||
*/
|
|
||||||
export declare const MiniMap: typeof MiniMapComponent;
|
|
||||||
export {};
|
|
||||||
//# sourceMappingURL=MiniMap.d.ts.map
|
|
1
node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/MiniMap.d.ts.map
generated
vendored
1
node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/MiniMap.d.ts.map
generated
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"MiniMap.d.ts","sourceRoot":"","sources":["../../../src/additional-components/MiniMap/MiniMap.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAkB,IAAI,EAAE,MAAM,aAAa,CAAC;AAGxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AA+B5C,iBAAS,gBAAgB,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,EACtD,KAAK,EACL,SAAS,EACT,eAAe,EACf,SAAS,EACT,aAAkB,EAClB,gBAAoB,EACpB,eAAe,EAKf,aAAa,EACb,OAAO,EACP,SAAS,EACT,eAAe,EACf,eAAe,EACf,QAAyB,EACzB,OAAO,EACP,WAAW,EACX,QAAgB,EAChB,QAAgB,EAChB,SAAS,EACT,UAAU,EACV,QAAa,EACb,WAAe,GAChB,EAAE,YAAY,CAAC,QAAQ,CAAC,2CAsHxB;kBAhJQ,gBAAgB;;;AAoJzB;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,OAAO,EAA6B,OAAO,gBAAgB,CAAC"}
|
|
5
node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/MiniMapNode.d.ts
generated
vendored
5
node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/MiniMapNode.d.ts
generated
vendored
@ -1,5 +0,0 @@
|
|||||||
import type { MiniMapNodeProps } from './types';
|
|
||||||
declare function MiniMapNodeComponent({ id, x, y, width, height, style, color, strokeColor, strokeWidth, className, borderRadius, shapeRendering, selected, onClick, }: MiniMapNodeProps): import("react/jsx-runtime").JSX.Element;
|
|
||||||
export declare const MiniMapNode: import("react").MemoExoticComponent<typeof MiniMapNodeComponent>;
|
|
||||||
export {};
|
|
||||||
//# sourceMappingURL=MiniMapNode.d.ts.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"MiniMapNode.d.ts","sourceRoot":"","sources":["../../../src/additional-components/MiniMap/MiniMapNode.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,iBAAS,oBAAoB,CAAC,EAC5B,EAAE,EACF,CAAC,EACD,CAAC,EACD,KAAK,EACL,MAAM,EACN,KAAK,EACL,KAAK,EACL,WAAW,EACX,WAAW,EACX,SAAS,EACT,YAAY,EACZ,cAAc,EACd,QAAQ,EACR,OAAO,GACR,EAAE,gBAAgB,2CAsBlB;AAED,eAAO,MAAM,WAAW,kEAA6B,CAAC"}
|
|
6
node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/MiniMapNodes.d.ts
generated
vendored
6
node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/MiniMapNodes.d.ts
generated
vendored
@ -1,6 +0,0 @@
|
|||||||
import type { Node } from '../../types';
|
|
||||||
import type { MiniMapNodes as MiniMapNodesProps } from './types';
|
|
||||||
declare function MiniMapNodes<NodeType extends Node>({ nodeStrokeColor, nodeColor, nodeClassName, nodeBorderRadius, nodeStrokeWidth, nodeComponent: NodeComponent, onClick, }: MiniMapNodesProps<NodeType>): import("react/jsx-runtime").JSX.Element;
|
|
||||||
declare const _default: typeof MiniMapNodes;
|
|
||||||
export default _default;
|
|
||||||
//# sourceMappingURL=MiniMapNodes.d.ts.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"MiniMapNodes.d.ts","sourceRoot":"","sources":["../../../src/additional-components/MiniMap/MiniMapNodes.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAkB,IAAI,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,KAAK,EAAE,YAAY,IAAI,iBAAiB,EAA6C,MAAM,SAAS,CAAC;AAQ5G,iBAAS,YAAY,CAAC,QAAQ,SAAS,IAAI,EAAE,EAC3C,eAAe,EACf,SAAS,EACT,aAAkB,EAClB,gBAAoB,EACpB,eAAe,EAKf,aAAa,EAAE,aAA2B,EAC1C,OAAO,GACR,EAAE,iBAAiB,CAAC,QAAQ,CAAC,2CAiC7B;wBAgEoC,OAAO,YAAY;AAAxD,wBAAyD"}
|
|
@ -1,3 +0,0 @@
|
|||||||
export { MiniMap } from './MiniMap';
|
|
||||||
export * from './types';
|
|
||||||
//# sourceMappingURL=index.d.ts.map
|
|
1
node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/index.d.ts.map
generated
vendored
1
node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/index.d.ts.map
generated
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/additional-components/MiniMap/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,cAAc,SAAS,CAAC"}
|
|
@ -1,123 +0,0 @@
|
|||||||
import type { ComponentType, CSSProperties, HTMLAttributes, MouseEvent } from 'react';
|
|
||||||
import type { PanelPosition, XYPosition } from '@xyflow/system';
|
|
||||||
import type { Node } from '../../types';
|
|
||||||
export type GetMiniMapNodeAttribute<NodeType extends Node = Node> = (node: NodeType) => string;
|
|
||||||
/**
|
|
||||||
* @expand
|
|
||||||
*/
|
|
||||||
export type MiniMapProps<NodeType extends Node = Node> = Omit<HTMLAttributes<SVGSVGElement>, 'onClick'> & {
|
|
||||||
/**
|
|
||||||
* Color of nodes on minimap.
|
|
||||||
* @default "#e2e2e2"
|
|
||||||
*/
|
|
||||||
nodeColor?: string | GetMiniMapNodeAttribute<NodeType>;
|
|
||||||
/**
|
|
||||||
* Stroke color of nodes on minimap.
|
|
||||||
* @default "transparent"
|
|
||||||
*/
|
|
||||||
nodeStrokeColor?: string | GetMiniMapNodeAttribute<NodeType>;
|
|
||||||
/**
|
|
||||||
* Class name applied to nodes on minimap.
|
|
||||||
* @default ""
|
|
||||||
*/
|
|
||||||
nodeClassName?: string | GetMiniMapNodeAttribute<NodeType>;
|
|
||||||
/**
|
|
||||||
* Border radius of nodes on minimap.
|
|
||||||
* @default 5
|
|
||||||
*/
|
|
||||||
nodeBorderRadius?: number;
|
|
||||||
/**
|
|
||||||
* Stroke width of nodes on minimap.
|
|
||||||
* @default 2
|
|
||||||
*/
|
|
||||||
nodeStrokeWidth?: number;
|
|
||||||
/**
|
|
||||||
* A custom component to render the nodes in the minimap. This component must render an SVG
|
|
||||||
* element!
|
|
||||||
*/
|
|
||||||
nodeComponent?: ComponentType<MiniMapNodeProps>;
|
|
||||||
/** Background color of minimap. */
|
|
||||||
bgColor?: string;
|
|
||||||
/**
|
|
||||||
* The color of the mask that covers the portion of the minimap not currently visible in the
|
|
||||||
* viewport.
|
|
||||||
* @default "rgba(240, 240, 240, 0.6)"
|
|
||||||
*/
|
|
||||||
maskColor?: string;
|
|
||||||
/**
|
|
||||||
* Stroke color of mask representing viewport.
|
|
||||||
* @default transparent
|
|
||||||
*/
|
|
||||||
maskStrokeColor?: string;
|
|
||||||
/**
|
|
||||||
* Stroke width of mask representing viewport.
|
|
||||||
* @default 1
|
|
||||||
*/
|
|
||||||
maskStrokeWidth?: number;
|
|
||||||
/**
|
|
||||||
* Position of minimap on pane.
|
|
||||||
* @default PanelPosition.BottomRight
|
|
||||||
* @example PanelPosition.TopLeft, PanelPosition.TopRight,
|
|
||||||
* PanelPosition.BottomLeft, PanelPosition.BottomRight
|
|
||||||
*/
|
|
||||||
position?: PanelPosition;
|
|
||||||
/** Callback called when minimap is clicked. */
|
|
||||||
onClick?: (event: MouseEvent, position: XYPosition) => void;
|
|
||||||
/** Callback called when node on minimap is clicked. */
|
|
||||||
onNodeClick?: (event: MouseEvent, node: NodeType) => void;
|
|
||||||
/**
|
|
||||||
* Determines whether you can pan the viewport by dragging inside the minimap.
|
|
||||||
* @default false
|
|
||||||
*/
|
|
||||||
pannable?: boolean;
|
|
||||||
/**
|
|
||||||
* Determines whether you can zoom the viewport by scrolling inside the minimap.
|
|
||||||
* @default false
|
|
||||||
*/
|
|
||||||
zoomable?: boolean;
|
|
||||||
/**
|
|
||||||
* There is no text inside the minimap for a screen reader to use as an accessible name, so it's
|
|
||||||
* important we provide one to make the minimap accessible. The default is sufficient, but you may
|
|
||||||
* want to replace it with something more relevant to your app or product.
|
|
||||||
* @default "Mini Map"
|
|
||||||
*/
|
|
||||||
ariaLabel?: string | null;
|
|
||||||
/** Invert direction when panning the minimap viewport. */
|
|
||||||
inversePan?: boolean;
|
|
||||||
/**
|
|
||||||
* Step size for zooming in/out on minimap.
|
|
||||||
* @default 10
|
|
||||||
*/
|
|
||||||
zoomStep?: number;
|
|
||||||
/**
|
|
||||||
* Offset the viewport on the minimap, acts like a padding.
|
|
||||||
* @default 5
|
|
||||||
*/
|
|
||||||
offsetScale?: number;
|
|
||||||
};
|
|
||||||
export type MiniMapNodes<NodeType extends Node = Node> = Pick<MiniMapProps<NodeType>, 'nodeColor' | 'nodeStrokeColor' | 'nodeClassName' | 'nodeBorderRadius' | 'nodeStrokeWidth' | 'nodeComponent'> & {
|
|
||||||
onClick?: (event: MouseEvent, nodeId: string) => void;
|
|
||||||
};
|
|
||||||
/**
|
|
||||||
* The props that are passed to the MiniMapNode component
|
|
||||||
*
|
|
||||||
* @public
|
|
||||||
* @expand
|
|
||||||
*/
|
|
||||||
export type MiniMapNodeProps = {
|
|
||||||
id: string;
|
|
||||||
x: number;
|
|
||||||
y: number;
|
|
||||||
width: number;
|
|
||||||
height: number;
|
|
||||||
borderRadius: number;
|
|
||||||
className: string;
|
|
||||||
color?: string;
|
|
||||||
shapeRendering: string;
|
|
||||||
strokeColor?: string;
|
|
||||||
strokeWidth?: number;
|
|
||||||
style?: CSSProperties;
|
|
||||||
selected: boolean;
|
|
||||||
onClick?: (event: MouseEvent, id: string) => void;
|
|
||||||
};
|
|
||||||
//# sourceMappingURL=types.d.ts.map
|
|
1
node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/types.d.ts.map
generated
vendored
1
node_modules/@xyflow/react/dist/esm/additional-components/MiniMap/types.d.ts.map
generated
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/additional-components/MiniMap/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACtF,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEhE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,MAAM,uBAAuB,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,IAAI,CAAC,IAAI,EAAE,QAAQ,KAAK,MAAM,CAAC;AAE/F;;GAEG;AACH,MAAM,MAAM,YAAY,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,IAAI,IAAI,CAAC,cAAc,CAAC,aAAa,CAAC,EAAE,SAAS,CAAC,GAAG;IACxG;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,uBAAuB,CAAC,QAAQ,CAAC,CAAC;IACvD;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,uBAAuB,CAAC,QAAQ,CAAC,CAAC;IAC7D;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,uBAAuB,CAAC,QAAQ,CAAC,CAAC;IAC3D;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,CAAC;IAChD,mCAAmC;IACnC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,+CAA+C;IAC/C,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,KAAK,IAAI,CAAC;IAC5D,uDAAuD;IACvD,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;IAC1D;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,0DAA0D;IAC1D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,YAAY,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,IAAI,IAAI,CAC3D,YAAY,CAAC,QAAQ,CAAC,EACtB,WAAW,GAAG,iBAAiB,GAAG,eAAe,GAAG,kBAAkB,GAAG,iBAAiB,GAAG,eAAe,CAC7G,GAAG;IACF,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACvD,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACnD,CAAC"}
|
|
@ -1,11 +0,0 @@
|
|||||||
import type { ResizeControlProps, ResizeControlLineProps } from './types';
|
|
||||||
declare function ResizeControl({ nodeId, position, variant, className, style, children, color, minWidth, minHeight, maxWidth, maxHeight, keepAspectRatio, resizeDirection, autoScale, shouldResize, onResizeStart, onResize, onResizeEnd, }: ResizeControlProps): import("react/jsx-runtime").JSX.Element;
|
|
||||||
export declare function ResizeControlLine(props: ResizeControlLineProps): import("react/jsx-runtime").JSX.Element;
|
|
||||||
/**
|
|
||||||
* To create your own resizing UI, you can use the `NodeResizeControl` component where you can pass children (such as icons).
|
|
||||||
* @public
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
export declare const NodeResizeControl: import("react").MemoExoticComponent<typeof ResizeControl>;
|
|
||||||
export {};
|
|
||||||
//# sourceMappingURL=NodeResizeControl.d.ts.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"NodeResizeControl.d.ts","sourceRoot":"","sources":["../../../src/additional-components/NodeResizer/NodeResizeControl.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAW1E,iBAAS,aAAa,CAAC,EACrB,MAAM,EACN,QAAQ,EACR,OAAqC,EACrC,SAAS,EACT,KAAiB,EACjB,QAAQ,EACR,KAAK,EACL,QAAa,EACb,SAAc,EACd,QAA2B,EAC3B,SAA4B,EAC5B,eAAuB,EACvB,eAAe,EACf,SAAgB,EAChB,YAAY,EACZ,aAAa,EACb,QAAQ,EACR,WAAW,GACZ,EAAE,kBAAkB,2CA4KpB;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,2CAE9D;AAED;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,2DAAsB,CAAC"}
|
|
27
node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/NodeResizer.d.ts
generated
vendored
27
node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/NodeResizer.d.ts
generated
vendored
@ -1,27 +0,0 @@
|
|||||||
import type { NodeResizerProps } from './types';
|
|
||||||
/**
|
|
||||||
* The `<NodeResizer />` component can be used to add a resize functionality to your
|
|
||||||
* nodes. It renders draggable controls around the node to resize in all directions.
|
|
||||||
* @public
|
|
||||||
*
|
|
||||||
* @example
|
|
||||||
*```jsx
|
|
||||||
*import { memo } from 'react';
|
|
||||||
*import { Handle, Position, NodeResizer } from '@xyflow/react';
|
|
||||||
*
|
|
||||||
*function ResizableNode({ data }) {
|
|
||||||
* return (
|
|
||||||
* <>
|
|
||||||
* <NodeResizer minWidth={100} minHeight={30} />
|
|
||||||
* <Handle type="target" position={Position.Left} />
|
|
||||||
* <div style={{ padding: 10 }}>{data.label}</div>
|
|
||||||
* <Handle type="source" position={Position.Right} />
|
|
||||||
* </>
|
|
||||||
* );
|
|
||||||
*};
|
|
||||||
*
|
|
||||||
*export default memo(ResizableNode);
|
|
||||||
*```
|
|
||||||
*/
|
|
||||||
export declare function NodeResizer({ nodeId, isVisible, handleClassName, handleStyle, lineClassName, lineStyle, color, minWidth, minHeight, maxWidth, maxHeight, keepAspectRatio, autoScale, shouldResize, onResizeStart, onResize, onResizeEnd, }: NodeResizerProps): import("react/jsx-runtime").JSX.Element | null;
|
|
||||||
//# sourceMappingURL=NodeResizer.d.ts.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"NodeResizer.d.ts","sourceRoot":"","sources":["../../../src/additional-components/NodeResizer/NodeResizer.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,WAAW,CAAC,EAC1B,MAAM,EACN,SAAgB,EAChB,eAAe,EACf,WAAW,EACX,aAAa,EACb,SAAS,EACT,KAAK,EACL,QAAa,EACb,SAAc,EACd,QAA2B,EAC3B,SAA4B,EAC5B,eAAuB,EACvB,SAAgB,EAChB,YAAY,EACZ,aAAa,EACb,QAAQ,EACR,WAAW,GACZ,EAAE,gBAAgB,kDAkDlB"}
|
|
4
node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/index.d.ts
generated
vendored
4
node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/index.d.ts
generated
vendored
@ -1,4 +0,0 @@
|
|||||||
export { NodeResizer } from './NodeResizer';
|
|
||||||
export { NodeResizeControl } from './NodeResizeControl';
|
|
||||||
export * from './types';
|
|
||||||
//# sourceMappingURL=index.d.ts.map
|
|
1
node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/index.d.ts.map
generated
vendored
1
node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/index.d.ts.map
generated
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/additional-components/NodeResizer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,cAAc,SAAS,CAAC"}
|
|
97
node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/types.d.ts
generated
vendored
97
node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/types.d.ts
generated
vendored
@ -1,97 +0,0 @@
|
|||||||
import type { CSSProperties, ReactNode } from 'react';
|
|
||||||
import type { ControlPosition, ControlLinePosition, ResizeControlVariant, ResizeControlDirection, ShouldResize, OnResizeStart, OnResize, OnResizeEnd } from '@xyflow/system';
|
|
||||||
/**
|
|
||||||
* @expand
|
|
||||||
*/
|
|
||||||
export type NodeResizerProps = {
|
|
||||||
/**
|
|
||||||
* Id of the node it is resizing.
|
|
||||||
* @remarks optional if used inside custom node
|
|
||||||
*/
|
|
||||||
nodeId?: string;
|
|
||||||
/** Color of the resize handle. */
|
|
||||||
color?: string;
|
|
||||||
/** Class name applied to handle. */
|
|
||||||
handleClassName?: string;
|
|
||||||
/** Style applied to handle. */
|
|
||||||
handleStyle?: CSSProperties;
|
|
||||||
/** Class name applied to line. */
|
|
||||||
lineClassName?: string;
|
|
||||||
/** Style applied to line. */
|
|
||||||
lineStyle?: CSSProperties;
|
|
||||||
/**
|
|
||||||
* Are the controls visible.
|
|
||||||
* @default true
|
|
||||||
*/
|
|
||||||
isVisible?: boolean;
|
|
||||||
/**
|
|
||||||
* Minimum width of node.
|
|
||||||
* @default 10
|
|
||||||
*/
|
|
||||||
minWidth?: number;
|
|
||||||
/**
|
|
||||||
* Minimum height of node.
|
|
||||||
* @default 10
|
|
||||||
*/
|
|
||||||
minHeight?: number;
|
|
||||||
/**
|
|
||||||
* Maximum width of node.
|
|
||||||
* @default Number.MAX_VALUE
|
|
||||||
*/
|
|
||||||
maxWidth?: number;
|
|
||||||
/**
|
|
||||||
* Maximum height of node.
|
|
||||||
* @default Number.MAX_VALUE
|
|
||||||
*/
|
|
||||||
maxHeight?: number;
|
|
||||||
/**
|
|
||||||
* Keep aspect ratio when resizing.
|
|
||||||
* @default false
|
|
||||||
*/
|
|
||||||
keepAspectRatio?: boolean;
|
|
||||||
/**
|
|
||||||
* Scale the controls with the zoom level.
|
|
||||||
* @default true
|
|
||||||
*/
|
|
||||||
autoScale?: boolean;
|
|
||||||
/** Callback to determine if node should resize. */
|
|
||||||
shouldResize?: ShouldResize;
|
|
||||||
/** Callback called when resizing starts. */
|
|
||||||
onResizeStart?: OnResizeStart;
|
|
||||||
/** Callback called when resizing. */
|
|
||||||
onResize?: OnResize;
|
|
||||||
/** Callback called when resizing ends. */
|
|
||||||
onResizeEnd?: OnResizeEnd;
|
|
||||||
};
|
|
||||||
/**
|
|
||||||
* @expand
|
|
||||||
*/
|
|
||||||
export type ResizeControlProps = Pick<NodeResizerProps, 'nodeId' | 'color' | 'minWidth' | 'minHeight' | 'maxWidth' | 'maxHeight' | 'keepAspectRatio' | 'shouldResize' | 'autoScale' | 'onResizeStart' | 'onResize' | 'onResizeEnd'> & {
|
|
||||||
/**
|
|
||||||
* Position of the control.
|
|
||||||
* @example ControlPosition.TopLeft, ControlPosition.TopRight,
|
|
||||||
* ControlPosition.BottomLeft, ControlPosition.BottomRight
|
|
||||||
*/
|
|
||||||
position?: ControlPosition;
|
|
||||||
/**
|
|
||||||
* Variant of the control.
|
|
||||||
* @default "handle"
|
|
||||||
* @example ResizeControlVariant.Handle, ResizeControlVariant.Line
|
|
||||||
*/
|
|
||||||
variant?: ResizeControlVariant;
|
|
||||||
/**
|
|
||||||
* The direction the user can resize the node.
|
|
||||||
* If not provided, the user can resize in any direction.
|
|
||||||
*/
|
|
||||||
resizeDirection?: ResizeControlDirection;
|
|
||||||
className?: string;
|
|
||||||
style?: CSSProperties;
|
|
||||||
children?: ReactNode;
|
|
||||||
};
|
|
||||||
/**
|
|
||||||
* @expand
|
|
||||||
*/
|
|
||||||
export type ResizeControlLineProps = Omit<ResizeControlProps, 'resizeDirection'> & {
|
|
||||||
position?: ControlLinePosition;
|
|
||||||
};
|
|
||||||
//# sourceMappingURL=types.d.ts.map
|
|
1
node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/types.d.ts.map
generated
vendored
1
node_modules/@xyflow/react/dist/esm/additional-components/NodeResizer/types.d.ts.map
generated
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/additional-components/NodeResizer/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EACV,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,sBAAsB,EACtB,YAAY,EACZ,aAAa,EACb,QAAQ,EACR,WAAW,EACZ,MAAM,gBAAgB,CAAC;AAExB;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kCAAkC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oCAAoC;IACpC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,+BAA+B;IAC/B,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5B,kCAAkC;IAClC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,mDAAmD;IACnD,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,4CAA4C;IAC5C,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,qCAAqC;IACrC,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,0CAA0C;IAC1C,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,IAAI,CACnC,gBAAgB,EACd,QAAQ,GACR,OAAO,GACP,UAAU,GACV,WAAW,GACX,UAAU,GACV,WAAW,GACX,iBAAiB,GACjB,cAAc,GACd,WAAW,GACX,eAAe,GACf,UAAU,GACV,aAAa,CAChB,GAAG;IACF;;;;OAIG;IACH,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B;;;;OAIG;IACH,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B;;;OAGG;IACH,eAAe,CAAC,EAAE,sBAAsB,CAAC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,kBAAkB,EAAE,iBAAiB,CAAC,GAAG;IACjF,QAAQ,CAAC,EAAE,mBAAmB,CAAC;CAChC,CAAC"}
|
|
38
node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/NodeToolbar.d.ts
generated
vendored
38
node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/NodeToolbar.d.ts
generated
vendored
@ -1,38 +0,0 @@
|
|||||||
import type { NodeToolbarProps } from './types';
|
|
||||||
/**
|
|
||||||
* This component can render a toolbar or tooltip to one side of a custom node. This
|
|
||||||
* toolbar doesn't scale with the viewport so that the content is always visible.
|
|
||||||
*
|
|
||||||
* @public
|
|
||||||
* @example
|
|
||||||
* ```jsx
|
|
||||||
*import { memo } from 'react';
|
|
||||||
*import { Handle, Position, NodeToolbar } from '@xyflow/react';
|
|
||||||
*
|
|
||||||
*function CustomNode({ data }) {
|
|
||||||
* return (
|
|
||||||
* <>
|
|
||||||
* <NodeToolbar isVisible={data.toolbarVisible} position={data.toolbarPosition}>
|
|
||||||
* <button>delete</button>
|
|
||||||
* <button>copy</button>
|
|
||||||
* <button>expand</button>
|
|
||||||
* </NodeToolbar>
|
|
||||||
*
|
|
||||||
* <div style={{ padding: '10px 20px' }}>
|
|
||||||
* {data.label}
|
|
||||||
* </div>
|
|
||||||
*
|
|
||||||
* <Handle type="target" position={Position.Left} />
|
|
||||||
* <Handle type="source" position={Position.Right} />
|
|
||||||
* </>
|
|
||||||
* );
|
|
||||||
*};
|
|
||||||
*
|
|
||||||
*export default memo(CustomNode);
|
|
||||||
*```
|
|
||||||
* @remarks By default, the toolbar is only visible when a node is selected. If multiple
|
|
||||||
* nodes are selected it will not be visible to prevent overlapping toolbars or
|
|
||||||
* clutter. You can override this behavior by setting the `isVisible` prop to `true`.
|
|
||||||
*/
|
|
||||||
export declare function NodeToolbar({ nodeId, children, className, style, isVisible, position, offset, align, ...rest }: NodeToolbarProps): import("react/jsx-runtime").JSX.Element | null;
|
|
||||||
//# sourceMappingURL=NodeToolbar.d.ts.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"NodeToolbar.d.ts","sourceRoot":"","sources":["../../../src/additional-components/NodeToolbar/NodeToolbar.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AA+BhD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,WAAW,CAAC,EAC1B,MAAM,EACN,QAAQ,EACR,SAAS,EACT,KAAK,EACL,SAAS,EACT,QAAuB,EACvB,MAAW,EACX,KAAgB,EAChB,GAAG,IAAI,EACR,EAAE,gBAAgB,kDAwDlB"}
|
|
@ -1,5 +0,0 @@
|
|||||||
import { ReactNode } from 'react';
|
|
||||||
export declare function NodeToolbarPortal({ children }: {
|
|
||||||
children: ReactNode;
|
|
||||||
}): import("react").ReactPortal | null;
|
|
||||||
//# sourceMappingURL=NodeToolbarPortal.d.ts.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"NodeToolbarPortal.d.ts","sourceRoot":"","sources":["../../../src/additional-components/NodeToolbar/NodeToolbarPortal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAQlC,wBAAgB,iBAAiB,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,sCAQtE"}
|
|
3
node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/index.d.ts
generated
vendored
3
node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/index.d.ts
generated
vendored
@ -1,3 +0,0 @@
|
|||||||
export { NodeToolbar } from './NodeToolbar';
|
|
||||||
export type { NodeToolbarProps } from './types';
|
|
||||||
//# sourceMappingURL=index.d.ts.map
|
|
1
node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/index.d.ts.map
generated
vendored
1
node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/index.d.ts.map
generated
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/additional-components/NodeToolbar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC"}
|
|
32
node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/types.d.ts
generated
vendored
32
node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/types.d.ts
generated
vendored
@ -1,32 +0,0 @@
|
|||||||
import type { HTMLAttributes } from 'react';
|
|
||||||
import type { Position, Align } from '@xyflow/system';
|
|
||||||
/**
|
|
||||||
* @expand
|
|
||||||
*/
|
|
||||||
export type NodeToolbarProps = HTMLAttributes<HTMLDivElement> & {
|
|
||||||
/**
|
|
||||||
* By passing in an array of node id's you can render a single tooltip for a group or collection
|
|
||||||
* of nodes.
|
|
||||||
*/
|
|
||||||
nodeId?: string | string[];
|
|
||||||
/** If `true`, node toolbar is visible even if node is not selected. */
|
|
||||||
isVisible?: boolean;
|
|
||||||
/**
|
|
||||||
* Position of the toolbar relative to the node.
|
|
||||||
* @default Position.Top
|
|
||||||
* @example Position.TopLeft, Position.TopRight, Position.BottomLeft, Position.BottomRight
|
|
||||||
*/
|
|
||||||
position?: Position;
|
|
||||||
/**
|
|
||||||
* The space between the node and the toolbar, measured in pixels.
|
|
||||||
* @default 10
|
|
||||||
*/
|
|
||||||
offset?: number;
|
|
||||||
/**
|
|
||||||
* Align the toolbar relative to the node.
|
|
||||||
* @default "center"
|
|
||||||
* @example Align.Start, Align.Center, Align.End
|
|
||||||
*/
|
|
||||||
align?: Align;
|
|
||||||
};
|
|
||||||
//# sourceMappingURL=types.d.ts.map
|
|
1
node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/types.d.ts.map
generated
vendored
1
node_modules/@xyflow/react/dist/esm/additional-components/NodeToolbar/types.d.ts.map
generated
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/additional-components/NodeToolbar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEtD;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IAC9D;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC3B,uEAAuE;IACvE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,CAAC"}
|
|
@ -1,6 +0,0 @@
|
|||||||
export * from './Background';
|
|
||||||
export * from './Controls';
|
|
||||||
export * from './MiniMap';
|
|
||||||
export * from './NodeResizer';
|
|
||||||
export * from './NodeToolbar';
|
|
||||||
//# sourceMappingURL=index.d.ts.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/additional-components/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC"}
|
|
@ -1,8 +0,0 @@
|
|||||||
export declare const ARIA_NODE_DESC_KEY = "react-flow__node-desc";
|
|
||||||
export declare const ARIA_EDGE_DESC_KEY = "react-flow__edge-desc";
|
|
||||||
export declare const ARIA_LIVE_MESSAGE = "react-flow__aria-live";
|
|
||||||
export declare function A11yDescriptions({ rfId, disableKeyboardA11y }: {
|
|
||||||
rfId: string;
|
|
||||||
disableKeyboardA11y: boolean;
|
|
||||||
}): import("react/jsx-runtime").JSX.Element;
|
|
||||||
//# sourceMappingURL=index.d.ts.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/A11yDescriptions/index.tsx"],"names":[],"mappings":"AAkBA,eAAO,MAAM,kBAAkB,0BAA0B,CAAC;AAC1D,eAAO,MAAM,kBAAkB,0BAA0B,CAAC;AAC1D,eAAO,MAAM,iBAAiB,0BAA0B,CAAC;AAezD,wBAAgB,gBAAgB,CAAC,EAAE,IAAI,EAAE,mBAAmB,EAAE,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,mBAAmB,EAAE,OAAO,CAAA;CAAE,2CAgB7G"}
|
|
@ -1,8 +0,0 @@
|
|||||||
import type { PanelPosition, ProOptions } from '@xyflow/system';
|
|
||||||
type AttributionProps = {
|
|
||||||
proOptions?: ProOptions;
|
|
||||||
position?: PanelPosition;
|
|
||||||
};
|
|
||||||
export declare function Attribution({ proOptions, position }: AttributionProps): import("react/jsx-runtime").JSX.Element | null;
|
|
||||||
export {};
|
|
||||||
//# sourceMappingURL=index.d.ts.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Attribution/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAIhE,KAAK,gBAAgB,GAAG;IACtB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,QAAQ,CAAC,EAAE,aAAa,CAAC;CAC1B,CAAC;AAEF,wBAAgB,WAAW,CAAC,EAAE,UAAU,EAAE,QAAyB,EAAE,EAAE,gBAAgB,kDAgBtF"}
|
|
@ -1,17 +0,0 @@
|
|||||||
import { ReactNode } from 'react';
|
|
||||||
import { Queue } from './types';
|
|
||||||
import type { Edge, Node } from '../../types';
|
|
||||||
/**
|
|
||||||
* This is a context provider that holds and processes the node and edge update queues
|
|
||||||
* that are needed to handle setNodes, addNodes, setEdges and addEdges.
|
|
||||||
*
|
|
||||||
* @internal
|
|
||||||
*/
|
|
||||||
export declare function BatchProvider<NodeType extends Node = Node, EdgeType extends Edge = Edge>({ children, }: {
|
|
||||||
children: ReactNode;
|
|
||||||
}): import("react/jsx-runtime").JSX.Element;
|
|
||||||
export declare function useBatchContext(): {
|
|
||||||
nodeQueue: Queue<any>;
|
|
||||||
edgeQueue: Queue<any>;
|
|
||||||
};
|
|
||||||
//# sourceMappingURL=index.d.ts.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/BatchProvider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,SAAS,EAAoC,MAAM,OAAO,CAAC;AAKnF,OAAO,EAAE,KAAK,EAAa,MAAM,SAAS,CAAC;AAC3C,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAU9C;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,EACxF,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,SAAS,CAAC;CACrB,2CAkEA;AAED,wBAAgB,eAAe;eAnFlB,KAAK,CAAC,GAAG,CAAC;eAEV,KAAK,CAAC,GAAG,CAAC;EAyFtB"}
|
|
@ -1,7 +0,0 @@
|
|||||||
export type QueueItem<T> = T[] | ((items: T[]) => T[]);
|
|
||||||
export type Queue<T> = {
|
|
||||||
get: () => QueueItem<T>[];
|
|
||||||
reset: () => void;
|
|
||||||
push: (item: QueueItem<T>) => void;
|
|
||||||
};
|
|
||||||
//# sourceMappingURL=types.d.ts.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/BatchProvider/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,CAAC,CAAC,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC;AAEvD,MAAM,MAAM,KAAK,CAAC,CAAC,IAAI;IACrB,GAAG,EAAE,MAAM,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1B,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,IAAI,EAAE,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;CACpC,CAAC"}
|
|
@ -1,11 +0,0 @@
|
|||||||
import { Queue, QueueItem } from './types';
|
|
||||||
/**
|
|
||||||
* This hook returns a queue that can be used to batch updates.
|
|
||||||
*
|
|
||||||
* @param runQueue - a function that gets called when the queue is flushed
|
|
||||||
* @internal
|
|
||||||
*
|
|
||||||
* @returns a Queue object
|
|
||||||
*/
|
|
||||||
export declare function useQueue<T>(runQueue: (items: QueueItem<T>[]) => void): Queue<T>;
|
|
||||||
//# sourceMappingURL=useQueue.d.ts.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"useQueue.d.ts","sourceRoot":"","sources":["../../../src/components/BatchProvider/useQueue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAE3C;;;;;;;GAOG;AACH,wBAAgB,QAAQ,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,KAAK,IAAI,YAiCpE"}
|
|
@ -1,12 +0,0 @@
|
|||||||
import { CSSProperties } from 'react';
|
|
||||||
import { ConnectionLineType } from '@xyflow/system';
|
|
||||||
import type { ConnectionLineComponent, Node } from '../../types';
|
|
||||||
type ConnectionLineWrapperProps<NodeType extends Node = Node> = {
|
|
||||||
type: ConnectionLineType;
|
|
||||||
component?: ConnectionLineComponent<NodeType>;
|
|
||||||
containerStyle?: CSSProperties;
|
|
||||||
style?: CSSProperties;
|
|
||||||
};
|
|
||||||
export declare function ConnectionLineWrapper<NodeType extends Node = Node>({ containerStyle, style, type, component, }: ConnectionLineWrapperProps<NodeType>): import("react/jsx-runtime").JSX.Element | null;
|
|
||||||
export {};
|
|
||||||
//# sourceMappingURL=index.d.ts.map
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ConnectionLine/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAGtC,OAAO,EACL,kBAAkB,EAKnB,MAAM,gBAAgB,CAAC;AAIxB,OAAO,KAAK,EAAE,uBAAuB,EAAE,IAAI,EAAkB,MAAM,aAAa,CAAC;AAGjF,KAAK,0BAA0B,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,IAAI;IAC9D,IAAI,EAAE,kBAAkB,CAAC;IACzB,SAAS,CAAC,EAAE,uBAAuB,CAAC,QAAQ,CAAC,CAAC;IAC9C,cAAc,CAAC,EAAE,aAAa,CAAC;IAC/B,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,CAAC;AAUF,wBAAgB,qBAAqB,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,EAClE,cAAc,EACd,KAAK,EACL,IAAI,EACJ,SAAS,GACV,EAAE,0BAA0B,CAAC,QAAQ,CAAC,kDAoBtC"}
|
|
@ -1,47 +0,0 @@
|
|||||||
import type { ReactNode } from 'react';
|
|
||||||
export type EdgeLabelRendererProps = {
|
|
||||||
children: ReactNode;
|
|
||||||
};
|
|
||||||
/**
|
|
||||||
* Edges are SVG-based. If you want to render more complex labels you can use the
|
|
||||||
* `<EdgeLabelRenderer />` component to access a div based renderer. This component
|
|
||||||
* is a portal that renders the label in a `<div />` that is positioned on top of
|
|
||||||
* the edges. You can see an example usage of the component in the
|
|
||||||
* [edge label renderer example](/examples/edges/edge-label-renderer).
|
|
||||||
* @public
|
|
||||||
*
|
|
||||||
* @example
|
|
||||||
* ```jsx
|
|
||||||
* import React from 'react';
|
|
||||||
* import { getBezierPath, EdgeLabelRenderer, BaseEdge } from '@xyflow/react';
|
|
||||||
*
|
|
||||||
* export function CustomEdge({ id, data, ...props }) {
|
|
||||||
* const [edgePath, labelX, labelY] = getBezierPath(props);
|
|
||||||
*
|
|
||||||
* return (
|
|
||||||
* <>
|
|
||||||
* <BaseEdge id={id} path={edgePath} />
|
|
||||||
* <EdgeLabelRenderer>
|
|
||||||
* <div
|
|
||||||
* style={{
|
|
||||||
* position: 'absolute',
|
|
||||||
* transform: `translate(-50%, -50%) translate(${labelX}px,${labelY}px)`,
|
|
||||||
* background: '#ffcc00',
|
|
||||||
* padding: 10,
|
|
||||||
* }}
|
|
||||||
* className="nodrag nopan"
|
|
||||||
* >
|
|
||||||
* {data.label}
|
|
||||||
* </div>
|
|
||||||
* </EdgeLabelRenderer>
|
|
||||||
* </>
|
|
||||||
* );
|
|
||||||
* };
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* @remarks The `<EdgeLabelRenderer />` has no pointer events by default. If you want to
|
|
||||||
* add mouse interactions you need to set the style `pointerEvents: all` and add
|
|
||||||
* the `nopan` class on the label or the element you want to interact with.
|
|
||||||
*/
|
|
||||||
export declare function EdgeLabelRenderer({ children }: EdgeLabelRendererProps): import("react").ReactPortal | null;
|
|
||||||
//# sourceMappingURL=index.d.ts.map
|
|
1
node_modules/@xyflow/react/dist/esm/components/EdgeLabelRenderer/index.d.ts.map
generated
vendored
1
node_modules/@xyflow/react/dist/esm/components/EdgeLabelRenderer/index.d.ts.map
generated
vendored
@ -1 +0,0 @@
|
|||||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/EdgeLabelRenderer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAQvC,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,EAAE,SAAS,CAAA;CACpB,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,QAAQ,EAAE,EAAE,sBAAsB,sCAQrE"}
|
|
15
node_modules/@xyflow/react/dist/esm/components/EdgeWrapper/EdgeUpdateAnchors.d.ts
generated
vendored
15
node_modules/@xyflow/react/dist/esm/components/EdgeWrapper/EdgeUpdateAnchors.d.ts
generated
vendored
@ -1,15 +0,0 @@
|
|||||||
import { EdgePosition } from '@xyflow/system';
|
|
||||||
import type { EdgeWrapperProps, Edge } from '../../types/edges';
|
|
||||||
type EdgeUpdateAnchorsProps<EdgeType extends Edge = Edge> = {
|
|
||||||
edge: EdgeType;
|
|
||||||
isReconnectable: boolean | 'source' | 'target';
|
|
||||||
reconnectRadius: EdgeWrapperProps['reconnectRadius'];
|
|
||||||
onReconnect: EdgeWrapperProps<EdgeType>['onReconnect'];
|
|
||||||
onReconnectStart: EdgeWrapperProps<EdgeType>['onReconnectStart'];
|
|
||||||
onReconnectEnd: EdgeWrapperProps<EdgeType>['onReconnectEnd'];
|
|
||||||
setUpdateHover: (hover: boolean) => void;
|
|
||||||
setReconnecting: (updating: boolean) => void;
|
|
||||||
} & EdgePosition;
|
|
||||||
export declare function EdgeUpdateAnchors<EdgeType extends Edge = Edge>({ isReconnectable, reconnectRadius, edge, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, onReconnect, onReconnectStart, onReconnectEnd, setReconnecting, setUpdateHover, }: EdgeUpdateAnchorsProps<EdgeType>): import("react/jsx-runtime").JSX.Element;
|
|
||||||
export {};
|
|
||||||
//# sourceMappingURL=EdgeUpdateAnchors.d.ts.map
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue