From 68f86b0e69501d59717993eee5c1fa8babd42c8d Mon Sep 17 00:00:00 2001 From: Thomas Bouffard <27200110+tbouffard@users.noreply.github.com> Date: Fri, 3 Jan 2025 18:04:33 +0100 Subject: [PATCH 01/42] START introducing mxgraph tutorial --- .../website/docs/development/_category_.json | 2 +- packages/website/docs/known-issues.md | 2 +- .../website/docs/tutorial/_category_.json | 8 +++ .../docs/tutorial/the-hello-world-example.md | 48 ++++++++++++++ packages/website/docs/usage/_category_.json | 2 +- packages/website/old-mxgraph/tutorial.html | 63 +++++-------------- 6 files changed, 73 insertions(+), 52 deletions(-) create mode 100644 packages/website/docs/tutorial/_category_.json create mode 100644 packages/website/docs/tutorial/the-hello-world-example.md diff --git a/packages/website/docs/development/_category_.json b/packages/website/docs/development/_category_.json index f0bc30e91e..92ba297833 100644 --- a/packages/website/docs/development/_category_.json +++ b/packages/website/docs/development/_category_.json @@ -1,6 +1,6 @@ { "label": "Development", - "position": 13, + "position": 21, "link": { "type": "generated-index", "description": "Everything you need to know when you are developing maxGraph." diff --git a/packages/website/docs/known-issues.md b/packages/website/docs/known-issues.md index 527f7b8245..751211423a 100644 --- a/packages/website/docs/known-issues.md +++ b/packages/website/docs/known-issues.md @@ -1,5 +1,5 @@ --- -sidebar_position: 20 +sidebar_position: 100 --- # Known Issues diff --git a/packages/website/docs/tutorial/_category_.json b/packages/website/docs/tutorial/_category_.json new file mode 100644 index 0000000000..ced855da92 --- /dev/null +++ b/packages/website/docs/tutorial/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "Tutorial", + "position": 12, + "link": { + "type": "generated-index", + "description": "Everything you need to know to use specific features of maxGraph." + } +} diff --git a/packages/website/docs/tutorial/the-hello-world-example.md b/packages/website/docs/tutorial/the-hello-world-example.md new file mode 100644 index 0000000000..84983e7d8a --- /dev/null +++ b/packages/website/docs/tutorial/the-hello-world-example.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 1 +description: XXXX. +--- + +# The Hello World Example + + +
+ The Hello, World! example of maxGraph ships in a + single HTML file, + which contains the required namespaces, the mxGraph library script + and the example code. The example can be viewed by pointing Firefox or + Internet Explorer to the link above either on the local + filesystem or on a webserver. To display the source of the example + press Control-U in Firefox or click Page, View Source in Internet Explorer. +
+ + +## Container + +
+ For the JavaScript to actually render the graph, the page
+ contains an DOM node which will display the graph. This
+ DOM node is either dynamically created or it is obtained via
+ an ID using document.getElementById as in the
+ Hello, World! example. The DOM node is passed to the main
+ function and is used to construct the graph instance as shown
+ below.
+
+ If you want the container to have scrollbars, use the `overflow:auto` CSS + directive instead of overflow:hidden in the style of the container. +
++ The code constructs an empty graph model and passes the container + and the empty model to the graph constructor. For this example, + all default event handling is disabled in the last line. +
++const model = new GraphDataModel(); +const graph = new Graph(container, model); ++
+ If you want the graph to be read-only you can use graph.setEnabled(false).
+
The mxGraph package contains a client software, written in JavaScript, and a series @@ -45,16 +35,11 @@
- The Hello, World! example of mxGraph ships in a - single HTML file, - which contains the required namespaces, the mxGraph library script - and the example code. The example can be viewed by pointing Firefox or - Internet Explorer to the link above either on the local - filesystem or on a webserver. To display the source of the example - press Control-U in Firefox or click Page, View Source in Internet Explorer. -
+ + + + +The HEAD part of the page contains the JavaScript code and dependencies. @@ -105,33 +90,13 @@
- For the JavaScript to actually render the graph, the page
- contains an DOM node which will display the graph. This
- DOM node is either dynamically created or it is obtained via
- an ID using document.getElementById as in the
- Hello, World! example. The DOM node is passed to the main
- function and is used to construct the graph instance as shown
- below.
-
- If you want the container to have scrollbars, use the overflow:auto CSS - directive instead of overflow:hidden in the style of the container. -
-- The code constructs an empty graph model and passes the container - and the empty model to the graph constructor. For this example, - all default event handling is disabled in the last line. -
--let model = new mxGraphModel(); -let graph = new mxGraph(container, model); --
- If you want the graph to be read-only you can use graph.setEnabled(false).
-
To insert vertices and edges, beginUpdate and endUpdate
From abc2fa409ca16ec56ad601c81dc301a1962fbc22 Mon Sep 17 00:00:00 2001
From: Thomas Bouffard <27200110+tbouffard@users.noreply.github.com>
Date: Fri, 3 Jan 2025 18:04:43 +0100
Subject: [PATCH 02/42] EXTRA package-lock.json --> to check
---
package-lock.json | 1648 +++++++++++++++++++++++++++++++++++----------
1 file changed, 1276 insertions(+), 372 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 2e78fdcde3..eeb9d1c6ae 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3805,204 +3805,6 @@
"@docusaurus/types": "*"
}
},
- "node_modules/@docusaurus/faster/node_modules/@swc/core": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.8.0.tgz",
- "integrity": "sha512-EF8C5lp1RKMp3426tAKwQyVbg4Zcn/2FDax3cz8EcOXYQJM/ctB687IvBm9Ciej1wMcQ/dMRg+OB4Xl8BGLBoA==",
- "hasInstallScript": true,
- "license": "Apache-2.0",
- "dependencies": {
- "@swc/counter": "^0.1.3",
- "@swc/types": "^0.1.14"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/swc"
- },
- "optionalDependencies": {
- "@swc/core-darwin-arm64": "1.8.0",
- "@swc/core-darwin-x64": "1.8.0",
- "@swc/core-linux-arm-gnueabihf": "1.8.0",
- "@swc/core-linux-arm64-gnu": "1.8.0",
- "@swc/core-linux-arm64-musl": "1.8.0",
- "@swc/core-linux-x64-gnu": "1.8.0",
- "@swc/core-linux-x64-musl": "1.8.0",
- "@swc/core-win32-arm64-msvc": "1.8.0",
- "@swc/core-win32-ia32-msvc": "1.8.0",
- "@swc/core-win32-x64-msvc": "1.8.0"
- },
- "peerDependencies": {
- "@swc/helpers": "*"
- },
- "peerDependenciesMeta": {
- "@swc/helpers": {
- "optional": true
- }
- }
- },
- "node_modules/@docusaurus/faster/node_modules/@swc/core-darwin-arm64": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.8.0.tgz",
- "integrity": "sha512-TIus1/SE/Ud4g84hCnchcagu+LfyndSDy5r5qf64nflojejDidPU9Fp1InzQhQpEgIpntnZID/KFCP5rQnvsIw==",
- "cpu": [
- "arm64"
- ],
- "license": "Apache-2.0 AND MIT",
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/@docusaurus/faster/node_modules/@swc/core-darwin-x64": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.8.0.tgz",
- "integrity": "sha512-yCb1FHCX/HUmNRGB1X3CFJ1WPKXMosZVUe3K2TrosCGvytwgaLoW5FS0bZg5Qv6cEUERQBg75cJnOUPwLLRCVg==",
- "cpu": [
- "x64"
- ],
- "license": "Apache-2.0 AND MIT",
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/@docusaurus/faster/node_modules/@swc/core-linux-arm-gnueabihf": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.8.0.tgz",
- "integrity": "sha512-6TdjVdiLaSW+eGiHKEojMDlx673nowrPHa6nM6toWgRzy8tIZgjPOguVKJDoMnoHuvO7SkOLCUiMRw0rTskypA==",
- "cpu": [
- "arm"
- ],
- "license": "Apache-2.0",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/@docusaurus/faster/node_modules/@swc/core-linux-arm64-gnu": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.8.0.tgz",
- "integrity": "sha512-TU2YcTornnyZiJUabRuk7Xtvzaep11FwK77IkFomjN9/Os5s25B8ea652c2fAQMe9RsM84FPVmX303ohxavjKQ==",
- "cpu": [
- "arm64"
- ],
- "license": "Apache-2.0 AND MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/@docusaurus/faster/node_modules/@swc/core-linux-arm64-musl": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.8.0.tgz",
- "integrity": "sha512-2CdPTEKxx2hJIj/B0fn8L8k2coo/FDS95smzXyi2bov5FcrP6Ohboq8roFBYgj38fkHusXjY8qt+cCH7yXWAdg==",
- "cpu": [
- "arm64"
- ],
- "license": "Apache-2.0 AND MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/@docusaurus/faster/node_modules/@swc/core-linux-x64-gnu": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.8.0.tgz",
- "integrity": "sha512-14StQBifCs/AMsySdU95OmwNJr9LOVqo6rcTFt2b7XaWpe/AyeuMJFxcndLgUewksJHpfepzCTwNdbcYmuNo6A==",
- "cpu": [
- "x64"
- ],
- "license": "Apache-2.0 AND MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/@docusaurus/faster/node_modules/@swc/core-linux-x64-musl": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.8.0.tgz",
- "integrity": "sha512-qemJnAQlYqKCfWNqVv5SG8uGvw8JotwU86cuFUkq35oTB+dsSFM3b83+B1giGTKKFOh2nfWT7bvPXTKk+aUjew==",
- "cpu": [
- "x64"
- ],
- "license": "Apache-2.0 AND MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/@docusaurus/faster/node_modules/@swc/core-win32-arm64-msvc": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.8.0.tgz",
- "integrity": "sha512-fXt5vZbnrVdXZzGj2qRnZtY3uh+NtLCaFjS2uD9w8ssdbjhbDZYlJCj2JINOjv35ttEfAD2goiYmVa5P/Ypl+g==",
- "cpu": [
- "arm64"
- ],
- "license": "Apache-2.0 AND MIT",
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/@docusaurus/faster/node_modules/@swc/core-win32-ia32-msvc": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.8.0.tgz",
- "integrity": "sha512-W4FA2vSJ+bGYiTj6gspxghSdKQNLfLMo65AH07u797x7I+YJj8amnFY/fQRlroDv5Dez/FHTv14oPlTlNFUpIw==",
- "cpu": [
- "ia32"
- ],
- "license": "Apache-2.0 AND MIT",
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/@docusaurus/faster/node_modules/@swc/core-win32-x64-msvc": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.8.0.tgz",
- "integrity": "sha512-Il4y8XwKDV0Bnk0IpA00kGcSQC6I9XOIinW5egTutnwIDfDE+qsD0j+0isW5H76GetY3/Ze0lVxeOXLAUgpegA==",
- "cpu": [
- "x64"
- ],
- "license": "Apache-2.0 AND MIT",
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">=10"
- }
- },
"node_modules/@docusaurus/logger": {
"version": "3.6.3",
"resolved": "https://registry.npmjs.org/@docusaurus/logger/-/logger-3.6.3.tgz",
@@ -6570,6 +6372,23 @@
"node": ">=12"
}
},
+ "node_modules/@esbuild/netbsd-arm64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.24.2.tgz",
+ "integrity": "sha512-wuLK/VztRRpMt9zyHSazyCVdCXlpHkKm34WUyinD2lzK07FAHTq0KQvZZlXikNWkDGoT6x3TD51jKQ7gMVpopw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
"node_modules/@esbuild/netbsd-x64": {
"version": "0.21.5",
"resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz",
@@ -6586,6 +6405,23 @@
"node": ">=12"
}
},
+ "node_modules/@esbuild/openbsd-arm64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.24.2.tgz",
+ "integrity": "sha512-YQbi46SBct6iKnszhSvdluqDmxCJA+Pu280Av9WICNwQmMxV7nLRHZfjQzwbPs3jeWnuAhE9Jy0NrnJ12Oz+0A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
"node_modules/@esbuild/openbsd-x64": {
"version": "0.21.5",
"resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz",
@@ -8700,9 +8536,9 @@
}
},
"node_modules/@rollup/rollup-android-arm-eabi": {
- "version": "4.20.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.20.0.tgz",
- "integrity": "sha512-TSpWzflCc4VGAUJZlPpgAJE1+V60MePDQnBd7PPkpuEmOy8i87aL6tinFGKBFKuEDikYpig72QzdT3QPYIi+oA==",
+ "version": "4.29.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.29.1.tgz",
+ "integrity": "sha512-ssKhA8RNltTZLpG6/QNkCSge+7mBQGUqJRisZ2MDQcEGaK93QESEgWK2iOpIDZ7k9zPVkG5AS3ksvD5ZWxmItw==",
"cpu": [
"arm"
],
@@ -8714,9 +8550,9 @@
]
},
"node_modules/@rollup/rollup-android-arm64": {
- "version": "4.20.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.20.0.tgz",
- "integrity": "sha512-u00Ro/nok7oGzVuh/FMYfNoGqxU5CPWz1mxV85S2w9LxHR8OoMQBuSk+3BKVIDYgkpeOET5yXkx90OYFc+ytpQ==",
+ "version": "4.29.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.29.1.tgz",
+ "integrity": "sha512-CaRfrV0cd+NIIcVVN/jx+hVLN+VRqnuzLRmfmlzpOzB87ajixsN/+9L5xNmkaUUvEbI5BmIKS+XTwXsHEb65Ew==",
"cpu": [
"arm64"
],
@@ -8728,9 +8564,9 @@
]
},
"node_modules/@rollup/rollup-darwin-arm64": {
- "version": "4.20.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.20.0.tgz",
- "integrity": "sha512-uFVfvzvsdGtlSLuL0ZlvPJvl6ZmrH4CBwLGEFPe7hUmf7htGAN+aXo43R/V6LATyxlKVC/m6UsLb7jbG+LG39Q==",
+ "version": "4.29.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.29.1.tgz",
+ "integrity": "sha512-2ORr7T31Y0Mnk6qNuwtyNmy14MunTAMx06VAPI6/Ju52W10zk1i7i5U3vlDRWjhOI5quBcrvhkCHyF76bI7kEw==",
"cpu": [
"arm64"
],
@@ -8742,9 +8578,9 @@
]
},
"node_modules/@rollup/rollup-darwin-x64": {
- "version": "4.20.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.20.0.tgz",
- "integrity": "sha512-xbrMDdlev53vNXexEa6l0LffojxhqDTBeL+VUxuuIXys4x6xyvbKq5XqTXBCEUA8ty8iEJblHvFaWRJTk/icAQ==",
+ "version": "4.29.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.29.1.tgz",
+ "integrity": "sha512-j/Ej1oanzPjmN0tirRd5K2/nncAhS9W6ICzgxV+9Y5ZsP0hiGhHJXZ2JQ53iSSjj8m6cRY6oB1GMzNn2EUt6Ng==",
"cpu": [
"x64"
],
@@ -8755,10 +8591,52 @@
"darwin"
]
},
+ "node_modules/@rollup/rollup-freebsd-arm64": {
+ "version": "4.29.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.29.1.tgz",
+ "integrity": "sha512-91C//G6Dm/cv724tpt7nTyP+JdN12iqeXGFM1SqnljCmi5yTXriH7B1r8AD9dAZByHpKAumqP1Qy2vVNIdLZqw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-freebsd-x64": {
+ "version": "4.29.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.29.1.tgz",
+ "integrity": "sha512-hEioiEQ9Dec2nIRoeHUP6hr1PSkXzQaCUyqBDQ9I9ik4gCXQZjJMIVzoNLBRGet+hIUb3CISMh9KXuCcWVW/8w==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ]
+ },
"node_modules/@rollup/rollup-linux-arm-gnueabihf": {
- "version": "4.20.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.20.0.tgz",
- "integrity": "sha512-jMYvxZwGmoHFBTbr12Xc6wOdc2xA5tF5F2q6t7Rcfab68TT0n+r7dgawD4qhPEvasDsVpQi+MgDzj2faOLsZjA==",
+ "version": "4.29.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.29.1.tgz",
+ "integrity": "sha512-Py5vFd5HWYN9zxBv3WMrLAXY3yYJ6Q/aVERoeUFwiDGiMOWsMs7FokXihSOaT/PMWUty/Pj60XDQndK3eAfE6A==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm-musleabihf": {
+ "version": "4.29.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.29.1.tgz",
+ "integrity": "sha512-RiWpGgbayf7LUcuSNIbahr0ys2YnEERD4gYdISA06wa0i8RALrnzflh9Wxii7zQJEB2/Eh74dX4y/sHKLWp5uQ==",
"cpu": [
"arm"
],
@@ -8770,9 +8648,9 @@
]
},
"node_modules/@rollup/rollup-linux-arm64-gnu": {
- "version": "4.20.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.20.0.tgz",
- "integrity": "sha512-COBb8Bkx56KldOYJfMf6wKeYJrtJ9vEgBRAOkfw6Ens0tnmzPqvlpjZiLgkhg6cA3DGzCmLmmd319pmHvKWWlQ==",
+ "version": "4.29.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.29.1.tgz",
+ "integrity": "sha512-Z80O+taYxTQITWMjm/YqNoe9d10OX6kDh8X5/rFCMuPqsKsSyDilvfg+vd3iXIqtfmp+cnfL1UrYirkaF8SBZA==",
"cpu": [
"arm64"
],
@@ -8784,9 +8662,9 @@
]
},
"node_modules/@rollup/rollup-linux-arm64-musl": {
- "version": "4.20.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.20.0.tgz",
- "integrity": "sha512-+it+mBSyMslVQa8wSPvBx53fYuZK/oLTu5RJoXogjk6x7Q7sz1GNRsXWjn6SwyJm8E/oMjNVwPhmNdIjwP135Q==",
+ "version": "4.29.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.29.1.tgz",
+ "integrity": "sha512-fOHRtF9gahwJk3QVp01a/GqS4hBEZCV1oKglVVq13kcK3NeVlS4BwIFzOHDbmKzt3i0OuHG4zfRP0YoG5OF/rA==",
"cpu": [
"arm64"
],
@@ -8797,10 +8675,38 @@
"linux"
]
},
+ "node_modules/@rollup/rollup-linux-loongarch64-gnu": {
+ "version": "4.29.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.29.1.tgz",
+ "integrity": "sha512-5a7q3tnlbcg0OodyxcAdrrCxFi0DgXJSoOuidFUzHZ2GixZXQs6Tc3CHmlvqKAmOs5eRde+JJxeIf9DonkmYkw==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-powerpc64le-gnu": {
+ "version": "4.29.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.29.1.tgz",
+ "integrity": "sha512-9b4Mg5Yfz6mRnlSPIdROcfw1BU22FQxmfjlp/CShWwO3LilKQuMISMTtAu/bxmmrE6A902W2cZJuzx8+gJ8e9w==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
"node_modules/@rollup/rollup-linux-riscv64-gnu": {
- "version": "4.20.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.20.0.tgz",
- "integrity": "sha512-qmuxFpfmi/2SUkAw95TtNq/w/I7Gpjurx609OOOV7U4vhvUhBcftcmXwl3rqAek+ADBwSjIC4IVNLiszoj3dPA==",
+ "version": "4.29.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.29.1.tgz",
+ "integrity": "sha512-G5pn0NChlbRM8OJWpJFMX4/i8OEU538uiSv0P6roZcbpe/WfhEO+AT8SHVKfp8qhDQzaz7Q+1/ixMy7hBRidnQ==",
"cpu": [
"riscv64"
],
@@ -8811,10 +8717,24 @@
"linux"
]
},
+ "node_modules/@rollup/rollup-linux-s390x-gnu": {
+ "version": "4.29.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.29.1.tgz",
+ "integrity": "sha512-WM9lIkNdkhVwiArmLxFXpWndFGuOka4oJOZh8EP3Vb8q5lzdSCBuhjavJsw68Q9AKDGeOOIHYzYm4ZFvmWez5g==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
"node_modules/@rollup/rollup-linux-x64-gnu": {
- "version": "4.20.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.20.0.tgz",
- "integrity": "sha512-y+eoL2I3iphUg9tN9GB6ku1FA8kOfmF4oUEWhztDJ4KXJy1agk/9+pejOuZkNFhRwHAOxMsBPLbXPd6mJiCwew==",
+ "version": "4.29.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.29.1.tgz",
+ "integrity": "sha512-87xYCwb0cPGZFoGiErT1eDcssByaLX4fc0z2nRM6eMtV9njAfEE6OW3UniAoDhX4Iq5xQVpE6qO9aJbCFumKYQ==",
"cpu": [
"x64"
],
@@ -8826,9 +8746,9 @@
]
},
"node_modules/@rollup/rollup-linux-x64-musl": {
- "version": "4.20.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.20.0.tgz",
- "integrity": "sha512-hM3nhW40kBNYUkZb/r9k2FKK+/MnKglX7UYd4ZUy5DJs8/sMsIbqWK2piZtVGE3kcXVNj3B2IrUYROJMMCikNg==",
+ "version": "4.29.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.29.1.tgz",
+ "integrity": "sha512-xufkSNppNOdVRCEC4WKvlR1FBDyqCSCpQeMMgv9ZyXqqtKBfkw1yfGMTUTs9Qsl6WQbJnsGboWCp7pJGkeMhKA==",
"cpu": [
"x64"
],
@@ -8840,9 +8760,9 @@
]
},
"node_modules/@rollup/rollup-win32-arm64-msvc": {
- "version": "4.20.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.20.0.tgz",
- "integrity": "sha512-psegMvP+Ik/Bg7QRJbv8w8PAytPA7Uo8fpFjXyCRHWm6Nt42L+JtoqH8eDQ5hRP7/XW2UiIriy1Z46jf0Oa1kA==",
+ "version": "4.29.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.29.1.tgz",
+ "integrity": "sha512-F2OiJ42m77lSkizZQLuC+jiZ2cgueWQL5YC9tjo3AgaEw+KJmVxHGSyQfDUoYR9cci0lAywv2Clmckzulcq6ig==",
"cpu": [
"arm64"
],
@@ -8854,9 +8774,9 @@
]
},
"node_modules/@rollup/rollup-win32-ia32-msvc": {
- "version": "4.20.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.20.0.tgz",
- "integrity": "sha512-GabekH3w4lgAJpVxkk7hUzUf2hICSQO0a/BLFA11/RMxQT92MabKAqyubzDZmMOC/hcJNlc+rrypzNzYl4Dx7A==",
+ "version": "4.29.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.29.1.tgz",
+ "integrity": "sha512-rYRe5S0FcjlOBZQHgbTKNrqxCBUmgDJem/VQTCcTnA2KCabYSWQDrytOzX7avb79cAAweNmMUb/Zw18RNd4mng==",
"cpu": [
"ia32"
],
@@ -8868,9 +8788,9 @@
]
},
"node_modules/@rollup/rollup-win32-x64-msvc": {
- "version": "4.20.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.20.0.tgz",
- "integrity": "sha512-aJ1EJSuTdGnM6qbVC4B5DSmozPTqIag9fSzXRNNo+humQLG89XpPgdt16Ia56ORD7s+H8Pmyx44uczDQ0yDzpg==",
+ "version": "4.29.1",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.29.1.tgz",
+ "integrity": "sha512-+10CMg9vt1MoHj6x1pxyjPSMjHTIlqs8/tBztXvPAx24SKs9jwVnKqHJumlH/IzhaPUaj3T6T6wfZr8okdXaIg==",
"cpu": [
"x64"
],
@@ -9440,14 +9360,14 @@
}
},
"node_modules/@swc/core": {
- "version": "1.7.26",
- "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.7.26.tgz",
- "integrity": "sha512-f5uYFf+TmMQyYIoxkn/evWhNGuUzC730dFwAKGwBVHHVoPyak1/GvJUm6i1SKl+2Hrj9oN0i3WSoWWZ4pgI8lw==",
+ "version": "1.10.4",
+ "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.10.4.tgz",
+ "integrity": "sha512-ut3zfiTLORMxhr6y/GBxkHmzcGuVpwJYX4qyXWuBKkpw/0g0S5iO1/wW7RnLnZbAi8wS/n0atRZoaZlXWBkeJg==",
"hasInstallScript": true,
"license": "Apache-2.0",
"dependencies": {
"@swc/counter": "^0.1.3",
- "@swc/types": "^0.1.12"
+ "@swc/types": "^0.1.17"
},
"engines": {
"node": ">=10"
@@ -9457,16 +9377,16 @@
"url": "https://opencollective.com/swc"
},
"optionalDependencies": {
- "@swc/core-darwin-arm64": "1.7.26",
- "@swc/core-darwin-x64": "1.7.26",
- "@swc/core-linux-arm-gnueabihf": "1.7.26",
- "@swc/core-linux-arm64-gnu": "1.7.26",
- "@swc/core-linux-arm64-musl": "1.7.26",
- "@swc/core-linux-x64-gnu": "1.7.26",
- "@swc/core-linux-x64-musl": "1.7.26",
- "@swc/core-win32-arm64-msvc": "1.7.26",
- "@swc/core-win32-ia32-msvc": "1.7.26",
- "@swc/core-win32-x64-msvc": "1.7.26"
+ "@swc/core-darwin-arm64": "1.10.4",
+ "@swc/core-darwin-x64": "1.10.4",
+ "@swc/core-linux-arm-gnueabihf": "1.10.4",
+ "@swc/core-linux-arm64-gnu": "1.10.4",
+ "@swc/core-linux-arm64-musl": "1.10.4",
+ "@swc/core-linux-x64-gnu": "1.10.4",
+ "@swc/core-linux-x64-musl": "1.10.4",
+ "@swc/core-win32-arm64-msvc": "1.10.4",
+ "@swc/core-win32-ia32-msvc": "1.10.4",
+ "@swc/core-win32-x64-msvc": "1.10.4"
},
"peerDependencies": {
"@swc/helpers": "*"
@@ -9478,9 +9398,9 @@
}
},
"node_modules/@swc/core-darwin-arm64": {
- "version": "1.7.26",
- "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.7.26.tgz",
- "integrity": "sha512-FF3CRYTg6a7ZVW4yT9mesxoVVZTrcSWtmZhxKCYJX9brH4CS/7PRPjAKNk6kzWgWuRoglP7hkjQcd6EpMcZEAw==",
+ "version": "1.10.4",
+ "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.10.4.tgz",
+ "integrity": "sha512-sV/eurLhkjn/197y48bxKP19oqcLydSel42Qsy2zepBltqUx+/zZ8+/IS0Bi7kaWVFxerbW1IPB09uq8Zuvm3g==",
"cpu": [
"arm64"
],
@@ -9489,15 +9409,14 @@
"os": [
"darwin"
],
- "peer": true,
"engines": {
"node": ">=10"
}
},
"node_modules/@swc/core-darwin-x64": {
- "version": "1.7.26",
- "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.7.26.tgz",
- "integrity": "sha512-az3cibZdsay2HNKmc4bjf62QVukuiMRh5sfM5kHR/JMTrLyS6vSw7Ihs3UTkZjUxkLTT8ro54LI6sV6sUQUbLQ==",
+ "version": "1.10.4",
+ "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.10.4.tgz",
+ "integrity": "sha512-gjYNU6vrAUO4+FuovEo9ofnVosTFXkF0VDuo1MKPItz6e2pxc2ale4FGzLw0Nf7JB1sX4a8h06CN16/pLJ8Q2w==",
"cpu": [
"x64"
],
@@ -9506,15 +9425,14 @@
"os": [
"darwin"
],
- "peer": true,
"engines": {
"node": ">=10"
}
},
"node_modules/@swc/core-linux-arm-gnueabihf": {
- "version": "1.7.26",
- "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.7.26.tgz",
- "integrity": "sha512-VYPFVJDO5zT5U3RpCdHE5v1gz4mmR8BfHecUZTmD2v1JeFY6fv9KArJUpjrHEEsjK/ucXkQFmJ0jaiWXmpOV9Q==",
+ "version": "1.10.4",
+ "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.10.4.tgz",
+ "integrity": "sha512-zd7fXH5w8s+Sfvn2oO464KDWl+ZX1MJiVmE4Pdk46N3PEaNwE0koTfgx2vQRqRG4vBBobzVvzICC3618WcefOA==",
"cpu": [
"arm"
],
@@ -9523,15 +9441,14 @@
"os": [
"linux"
],
- "peer": true,
"engines": {
"node": ">=10"
}
},
"node_modules/@swc/core-linux-arm64-gnu": {
- "version": "1.7.26",
- "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.7.26.tgz",
- "integrity": "sha512-YKevOV7abpjcAzXrhsl+W48Z9mZvgoVs2eP5nY+uoMAdP2b3GxC0Df1Co0I90o2lkzO4jYBpTMcZlmUXLdXn+Q==",
+ "version": "1.10.4",
+ "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.10.4.tgz",
+ "integrity": "sha512-+UGfoHDxsMZgFD3tABKLeEZHqLNOkxStu+qCG7atGBhS4Slri6h6zijVvf4yI5X3kbXdvc44XV/hrP/Klnui2A==",
"cpu": [
"arm64"
],
@@ -9540,15 +9457,14 @@
"os": [
"linux"
],
- "peer": true,
"engines": {
"node": ">=10"
}
},
"node_modules/@swc/core-linux-arm64-musl": {
- "version": "1.7.26",
- "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.7.26.tgz",
- "integrity": "sha512-3w8iZICMkQQON0uIcvz7+Q1MPOW6hJ4O5ETjA0LSP/tuKqx30hIniCGOgPDnv3UTMruLUnQbtBwVCZTBKR3Rkg==",
+ "version": "1.10.4",
+ "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.10.4.tgz",
+ "integrity": "sha512-cDDj2/uYsOH0pgAnDkovLZvKJpFmBMyXkxEG6Q4yw99HbzO6QzZ5HDGWGWVq/6dLgYKlnnmpjZCPPQIu01mXEg==",
"cpu": [
"arm64"
],
@@ -9557,15 +9473,14 @@
"os": [
"linux"
],
- "peer": true,
"engines": {
"node": ">=10"
}
},
"node_modules/@swc/core-linux-x64-gnu": {
- "version": "1.7.26",
- "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.7.26.tgz",
- "integrity": "sha512-c+pp9Zkk2lqb06bNGkR2Looxrs7FtGDMA4/aHjZcCqATgp348hOKH5WPvNLBl+yPrISuWjbKDVn3NgAvfvpH4w==",
+ "version": "1.10.4",
+ "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.10.4.tgz",
+ "integrity": "sha512-qJXh9D6Kf5xSdGWPINpLGixAbB5JX8JcbEJpRamhlDBoOcQC79dYfOMEIxWPhTS1DGLyFakAx2FX/b2VmQmj0g==",
"cpu": [
"x64"
],
@@ -9574,15 +9489,14 @@
"os": [
"linux"
],
- "peer": true,
"engines": {
"node": ">=10"
}
},
"node_modules/@swc/core-linux-x64-musl": {
- "version": "1.7.26",
- "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.7.26.tgz",
- "integrity": "sha512-PgtyfHBF6xG87dUSSdTJHwZ3/8vWZfNIXQV2GlwEpslrOkGqy+WaiiyE7Of7z9AvDILfBBBcJvJ/r8u980wAfQ==",
+ "version": "1.10.4",
+ "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.10.4.tgz",
+ "integrity": "sha512-A76lIAeyQnHCVt0RL/pG+0er8Qk9+acGJqSZOZm67Ve3B0oqMd871kPtaHBM0BW3OZAhoILgfHW3Op9Q3mx3Cw==",
"cpu": [
"x64"
],
@@ -9591,15 +9505,14 @@
"os": [
"linux"
],
- "peer": true,
"engines": {
"node": ">=10"
}
},
"node_modules/@swc/core-win32-arm64-msvc": {
- "version": "1.7.26",
- "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.7.26.tgz",
- "integrity": "sha512-9TNXPIJqFynlAOrRD6tUQjMq7KApSklK3R/tXgIxc7Qx+lWu8hlDQ/kVPLpU7PWvMMwC/3hKBW+p5f+Tms1hmA==",
+ "version": "1.10.4",
+ "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.10.4.tgz",
+ "integrity": "sha512-e6j5kBu4fIY7fFxFxnZI0MlEovRvp50Lg59Fw+DVbtqHk3C85dckcy5xKP+UoXeuEmFceauQDczUcGs19SRGSQ==",
"cpu": [
"arm64"
],
@@ -9608,15 +9521,14 @@
"os": [
"win32"
],
- "peer": true,
"engines": {
"node": ">=10"
}
},
"node_modules/@swc/core-win32-ia32-msvc": {
- "version": "1.7.26",
- "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.7.26.tgz",
- "integrity": "sha512-9YngxNcG3177GYdsTum4V98Re+TlCeJEP4kEwEg9EagT5s3YejYdKwVAkAsJszzkXuyRDdnHUpYbTrPG6FiXrQ==",
+ "version": "1.10.4",
+ "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.10.4.tgz",
+ "integrity": "sha512-RSYHfdKgNXV/amY5Tqk1EWVsyQnhlsM//jeqMLw5Fy9rfxP592W9UTumNikNRPdjI8wKKzNMXDb1U29tQjN0dg==",
"cpu": [
"ia32"
],
@@ -9625,15 +9537,14 @@
"os": [
"win32"
],
- "peer": true,
"engines": {
"node": ">=10"
}
},
"node_modules/@swc/core-win32-x64-msvc": {
- "version": "1.7.26",
- "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.7.26.tgz",
- "integrity": "sha512-VR+hzg9XqucgLjXxA13MtV5O3C0bK0ywtLIBw/+a+O+Oc6mxFWHtdUeXDbIi5AiPbn0fjgVJMqYnyjGyyX8u0w==",
+ "version": "1.10.4",
+ "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.10.4.tgz",
+ "integrity": "sha512-1ujYpaqfqNPYdwKBlvJnOqcl+Syn3UrQ4XE0Txz6zMYgyh6cdU6a3pxqLqIUSJ12MtXRA9ZUhEz1ekU3LfLWXw==",
"cpu": [
"x64"
],
@@ -9642,7 +9553,6 @@
"os": [
"win32"
],
- "peer": true,
"engines": {
"node": ">=10"
}
@@ -9838,9 +9748,9 @@
}
},
"node_modules/@swc/jest": {
- "version": "0.2.36",
- "resolved": "https://registry.npmjs.org/@swc/jest/-/jest-0.2.36.tgz",
- "integrity": "sha512-8X80dp81ugxs4a11z1ka43FPhP+/e+mJNXJSxiNYk8gIX/jPBtY4gQTrKu/KIoco8bzKuPI5lUxjfLiGsfvnlw==",
+ "version": "0.2.37",
+ "resolved": "https://registry.npmjs.org/@swc/jest/-/jest-0.2.37.tgz",
+ "integrity": "sha512-CR2BHhmXKGxTiFr21DYPRHQunLkX3mNIFGFkxBGji6r9uyIR5zftTOVYj1e0sFNMV2H7mf/+vpaglqaryBtqfQ==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -9856,9 +9766,9 @@
}
},
"node_modules/@swc/types": {
- "version": "0.1.14",
- "resolved": "https://registry.npmjs.org/@swc/types/-/types-0.1.14.tgz",
- "integrity": "sha512-PbSmTiYCN+GMrvfjrMo9bdY+f2COnwbdnoMw7rqU/PI5jXpKjxOGZ0qqZCImxnT81NkNsKnmEpvu+hRXLBeCJg==",
+ "version": "0.1.17",
+ "resolved": "https://registry.npmjs.org/@swc/types/-/types-0.1.17.tgz",
+ "integrity": "sha512-V5gRru+aD8YVyCOMAjMpWR1Ui577DD5KSJsHP8RAxopAH22jFz6GZd/qxqjO6MJHQhcsjvjOFXyDhyLQUnMveQ==",
"license": "Apache-2.0",
"dependencies": {
"@swc/counter": "^0.1.3"
@@ -10039,9 +9949,10 @@
}
},
"node_modules/@types/estree": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz",
- "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw=="
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz",
+ "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==",
+ "license": "MIT"
},
"node_modules/@types/estree-jsx": {
"version": "1.0.5",
@@ -28319,13 +28230,13 @@
}
},
"node_modules/rollup": {
- "version": "4.20.0",
- "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.20.0.tgz",
- "integrity": "sha512-6rbWBChcnSGzIlXeIdNIZTopKYad8ZG8ajhl78lGRLsI2rX8IkaotQhVas2Ma+GPxJav19wrSzvRvuiv0YKzWw==",
+ "version": "4.29.1",
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.29.1.tgz",
+ "integrity": "sha512-RaJ45M/kmJUzSWDs1Nnd5DdV4eerC98idtUOVr6FfKcgxqvjwHmxc5upLF9qZU9EpsVzzhleFahrT3shLuJzIw==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@types/estree": "1.0.5"
+ "@types/estree": "1.0.6"
},
"bin": {
"rollup": "dist/bin/rollup"
@@ -28335,67 +28246,28 @@
"npm": ">=8.0.0"
},
"optionalDependencies": {
- "@rollup/rollup-android-arm-eabi": "4.20.0",
- "@rollup/rollup-android-arm64": "4.20.0",
- "@rollup/rollup-darwin-arm64": "4.20.0",
- "@rollup/rollup-darwin-x64": "4.20.0",
- "@rollup/rollup-linux-arm-gnueabihf": "4.20.0",
- "@rollup/rollup-linux-arm-musleabihf": "4.20.0",
- "@rollup/rollup-linux-arm64-gnu": "4.20.0",
- "@rollup/rollup-linux-arm64-musl": "4.20.0",
- "@rollup/rollup-linux-powerpc64le-gnu": "4.20.0",
- "@rollup/rollup-linux-riscv64-gnu": "4.20.0",
- "@rollup/rollup-linux-s390x-gnu": "4.20.0",
- "@rollup/rollup-linux-x64-gnu": "4.20.0",
- "@rollup/rollup-linux-x64-musl": "4.20.0",
- "@rollup/rollup-win32-arm64-msvc": "4.20.0",
- "@rollup/rollup-win32-ia32-msvc": "4.20.0",
- "@rollup/rollup-win32-x64-msvc": "4.20.0",
+ "@rollup/rollup-android-arm-eabi": "4.29.1",
+ "@rollup/rollup-android-arm64": "4.29.1",
+ "@rollup/rollup-darwin-arm64": "4.29.1",
+ "@rollup/rollup-darwin-x64": "4.29.1",
+ "@rollup/rollup-freebsd-arm64": "4.29.1",
+ "@rollup/rollup-freebsd-x64": "4.29.1",
+ "@rollup/rollup-linux-arm-gnueabihf": "4.29.1",
+ "@rollup/rollup-linux-arm-musleabihf": "4.29.1",
+ "@rollup/rollup-linux-arm64-gnu": "4.29.1",
+ "@rollup/rollup-linux-arm64-musl": "4.29.1",
+ "@rollup/rollup-linux-loongarch64-gnu": "4.29.1",
+ "@rollup/rollup-linux-powerpc64le-gnu": "4.29.1",
+ "@rollup/rollup-linux-riscv64-gnu": "4.29.1",
+ "@rollup/rollup-linux-s390x-gnu": "4.29.1",
+ "@rollup/rollup-linux-x64-gnu": "4.29.1",
+ "@rollup/rollup-linux-x64-musl": "4.29.1",
+ "@rollup/rollup-win32-arm64-msvc": "4.29.1",
+ "@rollup/rollup-win32-ia32-msvc": "4.29.1",
+ "@rollup/rollup-win32-x64-msvc": "4.29.1",
"fsevents": "~2.3.2"
}
},
- "node_modules/rollup/node_modules/@rollup/rollup-linux-arm-musleabihf": {
- "version": "4.20.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.20.0.tgz",
- "integrity": "sha512-1asSTl4HKuIHIB1GcdFHNNZhxAYEdqML/MW4QmPS4G0ivbEcBr1JKlFLKsIRqjSwOBkdItn3/ZDlyvZ/N6KPlw==",
- "cpu": [
- "arm"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/rollup/node_modules/@rollup/rollup-linux-powerpc64le-gnu": {
- "version": "4.20.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.20.0.tgz",
- "integrity": "sha512-yAMvqhPfGKsAxHN8I4+jE0CpLWD8cv4z7CK7BMmhjDuz606Q2tFKkWRY8bHR9JQXYcoLfopo5TTqzxgPUjUMfw==",
- "cpu": [
- "ppc64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/rollup/node_modules/@rollup/rollup-linux-s390x-gnu": {
- "version": "4.20.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.20.0.tgz",
- "integrity": "sha512-I0BtGXddHSHjV1mqTNkgUZLnS3WtsqebAXv11D5BZE/gfw5KoyXSAXVqyJximQXNvNzUo4GKlCK/dIwXlz+jlg==",
- "cpu": [
- "s390x"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
"node_modules/rtl-detect": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/rtl-detect/-/rtl-detect-1.1.2.tgz",
@@ -31625,12 +31497,6 @@
"integrity": "sha512-poXpCylU7ExuvZK8z+On3kX+S8o/2dQ/SVYueKA0D4WEMXROXgY8Ez50/bQEUmvoSMMrWcrJqCHuhAbsiwg7Dg==",
"dev": true
},
- "node_modules/webpack/node_modules/@types/estree": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz",
- "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==",
- "license": "MIT"
- },
"node_modules/webpack/node_modules/es-module-lexer": {
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.4.1.tgz",
@@ -32231,8 +32097,8 @@
"version": "0.14.0",
"license": "Apache-2.0",
"devDependencies": {
- "@swc/core": "~1.7.26",
- "@swc/jest": "~0.2.36",
+ "@swc/core": "~1.10.4",
+ "@swc/jest": "~0.2.37",
"jest": "~29.7.0",
"jest-environment-jsdom": "~29.7.0",
"npm-run-all": "~4.1.5",
@@ -34776,14 +34642,1052 @@
"name": "@maxgraph/ts-example-vite-custom-shapes",
"license": "Apache-2.0",
"devDependencies": {
- "vite": "~5.4.11"
+ "vite": "~6.0.7"
}
},
"packages/ts-example-without-defaults": {
"name": "@maxgraph/ts-example-vite-without-defaults",
"license": "Apache-2.0",
"devDependencies": {
- "vite": "~5.4.11"
+ "vite": "~6.0.7"
+ }
+ },
+ "packages/ts-example-without-defaults/node_modules/@esbuild/aix-ppc64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.24.2.tgz",
+ "integrity": "sha512-thpVCb/rhxE/BnMLQ7GReQLLN8q9qbHmI55F4489/ByVg2aQaQ6kbcLb6FHkocZzQhxc4gx0sCk0tJkKBFzDhA==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "aix"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example-without-defaults/node_modules/@esbuild/android-arm": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.24.2.tgz",
+ "integrity": "sha512-tmwl4hJkCfNHwFB3nBa8z1Uy3ypZpxqxfTQOcHX+xRByyYgunVbZ9MzUUfb0RxaHIMnbHagwAxuTL+tnNM+1/Q==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example-without-defaults/node_modules/@esbuild/android-arm64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.24.2.tgz",
+ "integrity": "sha512-cNLgeqCqV8WxfcTIOeL4OAtSmL8JjcN6m09XIgro1Wi7cF4t/THaWEa7eL5CMoMBdjoHOTh/vwTO/o2TRXIyzg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example-without-defaults/node_modules/@esbuild/android-x64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.24.2.tgz",
+ "integrity": "sha512-B6Q0YQDqMx9D7rvIcsXfmJfvUYLoP722bgfBlO5cGvNVb5V/+Y7nhBE3mHV9OpxBf4eAS2S68KZztiPaWq4XYw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example-without-defaults/node_modules/@esbuild/darwin-arm64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.24.2.tgz",
+ "integrity": "sha512-kj3AnYWc+CekmZnS5IPu9D+HWtUI49hbnyqk0FLEJDbzCIQt7hg7ucF1SQAilhtYpIujfaHr6O0UHlzzSPdOeA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example-without-defaults/node_modules/@esbuild/darwin-x64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.24.2.tgz",
+ "integrity": "sha512-WeSrmwwHaPkNR5H3yYfowhZcbriGqooyu3zI/3GGpF8AyUdsrrP0X6KumITGA9WOyiJavnGZUwPGvxvwfWPHIA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example-without-defaults/node_modules/@esbuild/freebsd-arm64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.24.2.tgz",
+ "integrity": "sha512-UN8HXjtJ0k/Mj6a9+5u6+2eZ2ERD7Edt1Q9IZiB5UZAIdPnVKDoG7mdTVGhHJIeEml60JteamR3qhsr1r8gXvg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example-without-defaults/node_modules/@esbuild/freebsd-x64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.24.2.tgz",
+ "integrity": "sha512-TvW7wE/89PYW+IevEJXZ5sF6gJRDY/14hyIGFXdIucxCsbRmLUcjseQu1SyTko+2idmCw94TgyaEZi9HUSOe3Q==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example-without-defaults/node_modules/@esbuild/linux-arm": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.24.2.tgz",
+ "integrity": "sha512-n0WRM/gWIdU29J57hJyUdIsk0WarGd6To0s+Y+LwvlC55wt+GT/OgkwoXCXvIue1i1sSNWblHEig00GBWiJgfA==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example-without-defaults/node_modules/@esbuild/linux-arm64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.24.2.tgz",
+ "integrity": "sha512-7HnAD6074BW43YvvUmE/35Id9/NB7BeX5EoNkK9obndmZBUk8xmJJeU7DwmUeN7tkysslb2eSl6CTrYz6oEMQg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example-without-defaults/node_modules/@esbuild/linux-ia32": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.24.2.tgz",
+ "integrity": "sha512-sfv0tGPQhcZOgTKO3oBE9xpHuUqguHvSo4jl+wjnKwFpapx+vUDcawbwPNuBIAYdRAvIDBfZVvXprIj3HA+Ugw==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example-without-defaults/node_modules/@esbuild/linux-loong64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.24.2.tgz",
+ "integrity": "sha512-CN9AZr8kEndGooS35ntToZLTQLHEjtVB5n7dl8ZcTZMonJ7CCfStrYhrzF97eAecqVbVJ7APOEe18RPI4KLhwQ==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example-without-defaults/node_modules/@esbuild/linux-mips64el": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.24.2.tgz",
+ "integrity": "sha512-iMkk7qr/wl3exJATwkISxI7kTcmHKE+BlymIAbHO8xanq/TjHaaVThFF6ipWzPHryoFsesNQJPE/3wFJw4+huw==",
+ "cpu": [
+ "mips64el"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example-without-defaults/node_modules/@esbuild/linux-ppc64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.24.2.tgz",
+ "integrity": "sha512-shsVrgCZ57Vr2L8mm39kO5PPIb+843FStGt7sGGoqiiWYconSxwTiuswC1VJZLCjNiMLAMh34jg4VSEQb+iEbw==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example-without-defaults/node_modules/@esbuild/linux-riscv64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.24.2.tgz",
+ "integrity": "sha512-4eSFWnU9Hhd68fW16GD0TINewo1L6dRrB+oLNNbYyMUAeOD2yCK5KXGK1GH4qD/kT+bTEXjsyTCiJGHPZ3eM9Q==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example-without-defaults/node_modules/@esbuild/linux-s390x": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.24.2.tgz",
+ "integrity": "sha512-S0Bh0A53b0YHL2XEXC20bHLuGMOhFDO6GN4b3YjRLK//Ep3ql3erpNcPlEFed93hsQAjAQDNsvcK+hV90FubSw==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example-without-defaults/node_modules/@esbuild/linux-x64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.24.2.tgz",
+ "integrity": "sha512-8Qi4nQcCTbLnK9WoMjdC9NiTG6/E38RNICU6sUNqK0QFxCYgoARqVqxdFmWkdonVsvGqWhmm7MO0jyTqLqwj0Q==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example-without-defaults/node_modules/@esbuild/netbsd-x64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.24.2.tgz",
+ "integrity": "sha512-VefFaQUc4FMmJuAxmIHgUmfNiLXY438XrL4GDNV1Y1H/RW3qow68xTwjZKfj/+Plp9NANmzbH5R40Meudu8mmw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example-without-defaults/node_modules/@esbuild/openbsd-x64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.24.2.tgz",
+ "integrity": "sha512-+iDS6zpNM6EnJyWv0bMGLWSWeXGN/HTaF/LXHXHwejGsVi+ooqDfMCCTerNFxEkM3wYVcExkeGXNqshc9iMaOA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example-without-defaults/node_modules/@esbuild/sunos-x64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.24.2.tgz",
+ "integrity": "sha512-hTdsW27jcktEvpwNHJU4ZwWFGkz2zRJUz8pvddmXPtXDzVKTTINmlmga3ZzwcuMpUvLw7JkLy9QLKyGpD2Yxig==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "sunos"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example-without-defaults/node_modules/@esbuild/win32-arm64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.24.2.tgz",
+ "integrity": "sha512-LihEQ2BBKVFLOC9ZItT9iFprsE9tqjDjnbulhHoFxYQtQfai7qfluVODIYxt1PgdoyQkz23+01rzwNwYfutxUQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example-without-defaults/node_modules/@esbuild/win32-ia32": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.24.2.tgz",
+ "integrity": "sha512-q+iGUwfs8tncmFC9pcnD5IvRHAzmbwQ3GPS5/ceCyHdjXubwQWI12MKWSNSMYLJMq23/IUCvJMS76PDqXe1fxA==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example-without-defaults/node_modules/@esbuild/win32-x64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.24.2.tgz",
+ "integrity": "sha512-7VTgWzgMGvup6aSqDPLiW5zHaxYJGTO4OokMjIlrCtf+VpEL+cXKtCvg723iguPYI5oaUNdS+/V7OU2gvXVWEg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example-without-defaults/node_modules/esbuild": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.24.2.tgz",
+ "integrity": "sha512-+9egpBW8I3CD5XPe0n6BfT5fxLzxrlDzqydF3aviG+9ni1lDC/OvMHcxqEFV0+LANZG5R1bFMWfUrjVsdwxJvA==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.24.2",
+ "@esbuild/android-arm": "0.24.2",
+ "@esbuild/android-arm64": "0.24.2",
+ "@esbuild/android-x64": "0.24.2",
+ "@esbuild/darwin-arm64": "0.24.2",
+ "@esbuild/darwin-x64": "0.24.2",
+ "@esbuild/freebsd-arm64": "0.24.2",
+ "@esbuild/freebsd-x64": "0.24.2",
+ "@esbuild/linux-arm": "0.24.2",
+ "@esbuild/linux-arm64": "0.24.2",
+ "@esbuild/linux-ia32": "0.24.2",
+ "@esbuild/linux-loong64": "0.24.2",
+ "@esbuild/linux-mips64el": "0.24.2",
+ "@esbuild/linux-ppc64": "0.24.2",
+ "@esbuild/linux-riscv64": "0.24.2",
+ "@esbuild/linux-s390x": "0.24.2",
+ "@esbuild/linux-x64": "0.24.2",
+ "@esbuild/netbsd-arm64": "0.24.2",
+ "@esbuild/netbsd-x64": "0.24.2",
+ "@esbuild/openbsd-arm64": "0.24.2",
+ "@esbuild/openbsd-x64": "0.24.2",
+ "@esbuild/sunos-x64": "0.24.2",
+ "@esbuild/win32-arm64": "0.24.2",
+ "@esbuild/win32-ia32": "0.24.2",
+ "@esbuild/win32-x64": "0.24.2"
+ }
+ },
+ "packages/ts-example-without-defaults/node_modules/vite": {
+ "version": "6.0.7",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-6.0.7.tgz",
+ "integrity": "sha512-RDt8r/7qx9940f8FcOIAH9PTViRrghKaK2K1jY3RaAURrEUbm9Du1mJ72G+jlhtG3WwodnfzY8ORQZbBavZEAQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "esbuild": "^0.24.2",
+ "postcss": "^8.4.49",
+ "rollup": "^4.23.0"
+ },
+ "bin": {
+ "vite": "bin/vite.js"
+ },
+ "engines": {
+ "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
+ },
+ "peerDependencies": {
+ "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
+ "jiti": ">=1.21.0",
+ "less": "*",
+ "lightningcss": "^1.21.0",
+ "sass": "*",
+ "sass-embedded": "*",
+ "stylus": "*",
+ "sugarss": "*",
+ "terser": "^5.16.0",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ },
+ "jiti": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "lightningcss": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "sass-embedded": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "terser": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
+ "optional": true
+ }
+ }
+ },
+ "packages/ts-example-without-defaults/node_modules/yaml": {
+ "version": "2.7.0",
+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.7.0.tgz",
+ "integrity": "sha512-+hSoy/QHluxmC9kCIJyL/uyFmLmc+e5CFR5Wa+bpIhIj85LVb9ZH2nVnqrHoSvKogwODv0ClqZkmiSSaIH5LTA==",
+ "dev": true,
+ "license": "ISC",
+ "optional": true,
+ "peer": true,
+ "bin": {
+ "yaml": "bin.mjs"
+ },
+ "engines": {
+ "node": ">= 14"
+ }
+ },
+ "packages/ts-example/node_modules/@esbuild/aix-ppc64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.24.2.tgz",
+ "integrity": "sha512-thpVCb/rhxE/BnMLQ7GReQLLN8q9qbHmI55F4489/ByVg2aQaQ6kbcLb6FHkocZzQhxc4gx0sCk0tJkKBFzDhA==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "aix"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example/node_modules/@esbuild/android-arm": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.24.2.tgz",
+ "integrity": "sha512-tmwl4hJkCfNHwFB3nBa8z1Uy3ypZpxqxfTQOcHX+xRByyYgunVbZ9MzUUfb0RxaHIMnbHagwAxuTL+tnNM+1/Q==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example/node_modules/@esbuild/android-arm64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.24.2.tgz",
+ "integrity": "sha512-cNLgeqCqV8WxfcTIOeL4OAtSmL8JjcN6m09XIgro1Wi7cF4t/THaWEa7eL5CMoMBdjoHOTh/vwTO/o2TRXIyzg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example/node_modules/@esbuild/android-x64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.24.2.tgz",
+ "integrity": "sha512-B6Q0YQDqMx9D7rvIcsXfmJfvUYLoP722bgfBlO5cGvNVb5V/+Y7nhBE3mHV9OpxBf4eAS2S68KZztiPaWq4XYw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example/node_modules/@esbuild/darwin-arm64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.24.2.tgz",
+ "integrity": "sha512-kj3AnYWc+CekmZnS5IPu9D+HWtUI49hbnyqk0FLEJDbzCIQt7hg7ucF1SQAilhtYpIujfaHr6O0UHlzzSPdOeA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example/node_modules/@esbuild/darwin-x64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.24.2.tgz",
+ "integrity": "sha512-WeSrmwwHaPkNR5H3yYfowhZcbriGqooyu3zI/3GGpF8AyUdsrrP0X6KumITGA9WOyiJavnGZUwPGvxvwfWPHIA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example/node_modules/@esbuild/freebsd-arm64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.24.2.tgz",
+ "integrity": "sha512-UN8HXjtJ0k/Mj6a9+5u6+2eZ2ERD7Edt1Q9IZiB5UZAIdPnVKDoG7mdTVGhHJIeEml60JteamR3qhsr1r8gXvg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example/node_modules/@esbuild/freebsd-x64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.24.2.tgz",
+ "integrity": "sha512-TvW7wE/89PYW+IevEJXZ5sF6gJRDY/14hyIGFXdIucxCsbRmLUcjseQu1SyTko+2idmCw94TgyaEZi9HUSOe3Q==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example/node_modules/@esbuild/linux-arm": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.24.2.tgz",
+ "integrity": "sha512-n0WRM/gWIdU29J57hJyUdIsk0WarGd6To0s+Y+LwvlC55wt+GT/OgkwoXCXvIue1i1sSNWblHEig00GBWiJgfA==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example/node_modules/@esbuild/linux-arm64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.24.2.tgz",
+ "integrity": "sha512-7HnAD6074BW43YvvUmE/35Id9/NB7BeX5EoNkK9obndmZBUk8xmJJeU7DwmUeN7tkysslb2eSl6CTrYz6oEMQg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example/node_modules/@esbuild/linux-ia32": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.24.2.tgz",
+ "integrity": "sha512-sfv0tGPQhcZOgTKO3oBE9xpHuUqguHvSo4jl+wjnKwFpapx+vUDcawbwPNuBIAYdRAvIDBfZVvXprIj3HA+Ugw==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example/node_modules/@esbuild/linux-loong64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.24.2.tgz",
+ "integrity": "sha512-CN9AZr8kEndGooS35ntToZLTQLHEjtVB5n7dl8ZcTZMonJ7CCfStrYhrzF97eAecqVbVJ7APOEe18RPI4KLhwQ==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example/node_modules/@esbuild/linux-mips64el": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.24.2.tgz",
+ "integrity": "sha512-iMkk7qr/wl3exJATwkISxI7kTcmHKE+BlymIAbHO8xanq/TjHaaVThFF6ipWzPHryoFsesNQJPE/3wFJw4+huw==",
+ "cpu": [
+ "mips64el"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example/node_modules/@esbuild/linux-ppc64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.24.2.tgz",
+ "integrity": "sha512-shsVrgCZ57Vr2L8mm39kO5PPIb+843FStGt7sGGoqiiWYconSxwTiuswC1VJZLCjNiMLAMh34jg4VSEQb+iEbw==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example/node_modules/@esbuild/linux-riscv64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.24.2.tgz",
+ "integrity": "sha512-4eSFWnU9Hhd68fW16GD0TINewo1L6dRrB+oLNNbYyMUAeOD2yCK5KXGK1GH4qD/kT+bTEXjsyTCiJGHPZ3eM9Q==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example/node_modules/@esbuild/linux-s390x": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.24.2.tgz",
+ "integrity": "sha512-S0Bh0A53b0YHL2XEXC20bHLuGMOhFDO6GN4b3YjRLK//Ep3ql3erpNcPlEFed93hsQAjAQDNsvcK+hV90FubSw==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example/node_modules/@esbuild/linux-x64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.24.2.tgz",
+ "integrity": "sha512-8Qi4nQcCTbLnK9WoMjdC9NiTG6/E38RNICU6sUNqK0QFxCYgoARqVqxdFmWkdonVsvGqWhmm7MO0jyTqLqwj0Q==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example/node_modules/@esbuild/netbsd-x64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.24.2.tgz",
+ "integrity": "sha512-VefFaQUc4FMmJuAxmIHgUmfNiLXY438XrL4GDNV1Y1H/RW3qow68xTwjZKfj/+Plp9NANmzbH5R40Meudu8mmw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example/node_modules/@esbuild/openbsd-x64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.24.2.tgz",
+ "integrity": "sha512-+iDS6zpNM6EnJyWv0bMGLWSWeXGN/HTaF/LXHXHwejGsVi+ooqDfMCCTerNFxEkM3wYVcExkeGXNqshc9iMaOA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example/node_modules/@esbuild/sunos-x64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.24.2.tgz",
+ "integrity": "sha512-hTdsW27jcktEvpwNHJU4ZwWFGkz2zRJUz8pvddmXPtXDzVKTTINmlmga3ZzwcuMpUvLw7JkLy9QLKyGpD2Yxig==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "sunos"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example/node_modules/@esbuild/win32-arm64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.24.2.tgz",
+ "integrity": "sha512-LihEQ2BBKVFLOC9ZItT9iFprsE9tqjDjnbulhHoFxYQtQfai7qfluVODIYxt1PgdoyQkz23+01rzwNwYfutxUQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example/node_modules/@esbuild/win32-ia32": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.24.2.tgz",
+ "integrity": "sha512-q+iGUwfs8tncmFC9pcnD5IvRHAzmbwQ3GPS5/ceCyHdjXubwQWI12MKWSNSMYLJMq23/IUCvJMS76PDqXe1fxA==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example/node_modules/@esbuild/win32-x64": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.24.2.tgz",
+ "integrity": "sha512-7VTgWzgMGvup6aSqDPLiW5zHaxYJGTO4OokMjIlrCtf+VpEL+cXKtCvg723iguPYI5oaUNdS+/V7OU2gvXVWEg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "packages/ts-example/node_modules/esbuild": {
+ "version": "0.24.2",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.24.2.tgz",
+ "integrity": "sha512-+9egpBW8I3CD5XPe0n6BfT5fxLzxrlDzqydF3aviG+9ni1lDC/OvMHcxqEFV0+LANZG5R1bFMWfUrjVsdwxJvA==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.24.2",
+ "@esbuild/android-arm": "0.24.2",
+ "@esbuild/android-arm64": "0.24.2",
+ "@esbuild/android-x64": "0.24.2",
+ "@esbuild/darwin-arm64": "0.24.2",
+ "@esbuild/darwin-x64": "0.24.2",
+ "@esbuild/freebsd-arm64": "0.24.2",
+ "@esbuild/freebsd-x64": "0.24.2",
+ "@esbuild/linux-arm": "0.24.2",
+ "@esbuild/linux-arm64": "0.24.2",
+ "@esbuild/linux-ia32": "0.24.2",
+ "@esbuild/linux-loong64": "0.24.2",
+ "@esbuild/linux-mips64el": "0.24.2",
+ "@esbuild/linux-ppc64": "0.24.2",
+ "@esbuild/linux-riscv64": "0.24.2",
+ "@esbuild/linux-s390x": "0.24.2",
+ "@esbuild/linux-x64": "0.24.2",
+ "@esbuild/netbsd-arm64": "0.24.2",
+ "@esbuild/netbsd-x64": "0.24.2",
+ "@esbuild/openbsd-arm64": "0.24.2",
+ "@esbuild/openbsd-x64": "0.24.2",
+ "@esbuild/sunos-x64": "0.24.2",
+ "@esbuild/win32-arm64": "0.24.2",
+ "@esbuild/win32-ia32": "0.24.2",
+ "@esbuild/win32-x64": "0.24.2"
+ }
+ },
+ "packages/ts-example/node_modules/vite": {
+ "version": "6.0.7",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-6.0.7.tgz",
+ "integrity": "sha512-RDt8r/7qx9940f8FcOIAH9PTViRrghKaK2K1jY3RaAURrEUbm9Du1mJ72G+jlhtG3WwodnfzY8ORQZbBavZEAQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "esbuild": "^0.24.2",
+ "postcss": "^8.4.49",
+ "rollup": "^4.23.0"
+ },
+ "bin": {
+ "vite": "bin/vite.js"
+ },
+ "engines": {
+ "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
+ },
+ "peerDependencies": {
+ "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
+ "jiti": ">=1.21.0",
+ "less": "*",
+ "lightningcss": "^1.21.0",
+ "sass": "*",
+ "sass-embedded": "*",
+ "stylus": "*",
+ "sugarss": "*",
+ "terser": "^5.16.0",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ },
+ "jiti": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "lightningcss": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "sass-embedded": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "terser": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
+ "optional": true
+ }
+ }
+ },
+ "packages/ts-example/node_modules/yaml": {
+ "version": "2.7.0",
+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.7.0.tgz",
+ "integrity": "sha512-+hSoy/QHluxmC9kCIJyL/uyFmLmc+e5CFR5Wa+bpIhIj85LVb9ZH2nVnqrHoSvKogwODv0ClqZkmiSSaIH5LTA==",
+ "dev": true,
+ "license": "ISC",
+ "optional": true,
+ "peer": true,
+ "bin": {
+ "yaml": "bin.mjs"
+ },
+ "engines": {
+ "node": ">= 14"
}
},
"packages/ts-support": {
From c4e49aa18ddcdbe692042908ce215d9de7890247 Mon Sep 17 00:00:00 2001
From: Thomas Bouffard <27200110+tbouffard@users.noreply.github.com>
Date: Fri, 3 Jan 2025 18:11:21 +0100
Subject: [PATCH 03/42] more content
---
.../docs/tutorial/the-hello-world-example.md | 48 ++++++++++++++++++-
packages/website/old-mxgraph/tutorial.html | 46 ++----------------
2 files changed, 49 insertions(+), 45 deletions(-)
diff --git a/packages/website/docs/tutorial/the-hello-world-example.md b/packages/website/docs/tutorial/the-hello-world-example.md
index 84983e7d8a..36030508f9 100644
--- a/packages/website/docs/tutorial/the-hello-world-example.md
+++ b/packages/website/docs/tutorial/the-hello-world-example.md
@@ -39,10 +39,54 @@ description: XXXX.
and the empty model to the graph constructor. For this example,
all default event handling is disabled in the last line.
+ +```javascript const model = new GraphDataModel(); const graph = new Graph(container, model); -+``` +
If you want the graph to be read-only you can use graph.setEnabled(false).
+ To insert vertices and edges, beginUpdate and endUpdate
+ are used to create a transaction. The endUpdate should always go
+ into a finally-block to make sure it is always executed if the beginUpdate
+ was executed. However, the beginUpdate should not be part of the
+ try-block to make sure endUpdate is never executed if beginUpdate
+ fails. This is required for the model to remain in a consistent state, that is, for
+ each call to beginUpdate there should always be exactly one call to
+ endUpdate.
+
+ The part within the try-block creates the vertices and edges for the graph. + The default parent is obtained from the graph and is typically the first + child of the root cell in the model, which is created automatically when + using the graph model constructor with no arguments. +
+ +```javascript +// Gets the default parent for inserting new cells. This +// is normally the first child of the root (ie. layer 0). +let parent = graph.getDefaultParent(); + +// Adds cells to the model in a single step +model.beginUpdate(); +try { + const v1 = graph.insertVertex(parent, null, 'Hello,', 20, 20, 80, 30); + const v2 = graph.insertVertex(parent, null, 'World!', 200, 150, 80, 30); + graph.insertEdge(parent, null, '', v1, v2); +} +finally { + // Updates the display + model.endUpdate(); +} +``` + +
+ The use of beginUpdate and endUpdate does not
+ only improve the display performance, but it is also used to mark the
+ boundaries for undoable changes when undo/redo is used.
+
The HEAD part of the page contains the JavaScript code and dependencies. @@ -90,54 +90,14 @@
- To insert vertices and edges, beginUpdate and endUpdate
- are used to create a transaction. The endUpdate should always go
- into a finally-block to make sure it is always executed if the beginUpdate
- was executed. However, the beginUpdate should not be part of the
- try-block to make sure endUpdate is never executed if beginUpdate
- fails. This is required for the model to remain in a consistent state, that is, for
- each call to beginUpdate there should always be exactly one call to
- endUpdate.
-
- The part within the try-block creates the vertices and edges for the graph. - The default parent is obtained from the graph and is typically the first - child of the root cell in the model, which is created automatically when - using the graph model c'tor with no arguments. -
-
-// Gets the default parent for inserting new cells. This
-// is normally the first child of the root (ie. layer 0).
-let parent = graph.getDefaultParent();
-// Adds cells to the model in a single step
-model.beginUpdate();
-try
-{
- var v1 = graph.insertVertex(parent, null, 'Hello,', 20, 20, 80, 30);
- var v2 = graph.insertVertex(parent, null, 'World!', 200, 150, 80, 30);
- var e1 = graph.insertEdge(parent, null, '', v1, v2);
-}
-finally
-{
- // Updates the display
- model.endUpdate();
-}
-
-
- The use of beginUpdate and endUpdate does not
- only improve the display performance, but it is also used to mark the
- boundaries for undoable changes when undo/redo is used.
-
Instantiate mxGraph @@ -272,7 +232,7 @@
Due to the nature of the display, where all cells are created once and
updated only if the model fires a notification for a change, you must
- invoke view.invalidate(cell) for each cell who's image
+ invoke view.invalidate(cell) for each cell whose image
has changed, and call view.validate to update the display.
+ Instantiate mxGraph + in order to create a graph. This is the central class in the API. + Everything else is auxiliary. +
+ + + ++ To create a new graph instance, a DOM node (typically a DIV) is + required: +
+
+let node = document.getElementById('id-of-graph-container');
+let graph = new mxGraph(node);
+
++ mxCell defines the + elements of the graph model, which is implemented by + mxGraphModel. +
+ + + + + ++ The graph model has the following properties: +
++ The graph and structural information is stored in the cells, as well as the + user objects, which are used to store the value associated with + the cells (aka business objects). +
++ To create a new graph model with a root cell and a default layer (first child): +
+ +```javascript +const root = new Cell(); +root.insert(new Cell()); +const model = new GraphDataModel(root); +``` + + ++ The appearance of the cells in a graph is defined by the + stylesheet, which is an instance of + + mxStylesheet. + The stylesheet maps from stylenames to styles. + A style is an array of key, value pairs to be + used with the cells. The keys are defined in + + mxConstants and the values may be + strings and numbers or JavaScript objects or functions. +
++ To modify the default styles for vertices and edges in an existing graph: +
++let vertexStyle = graph.getStylesheet().getDefaultVertexStyle(); +vertexStyle[mxConstants.STYLE_ROUNDED] = true; + +let edgeStyle = graph.getStylesheet().getDefaultEdgeStyle(); +edgeStyle[mxConstants.STYLE_EDGE] = mxEdgeStyle.TopToBottom; ++
+ The style information for a cell is stored in cell.style.
+ The style is part of the cell's state and is normally changed via
+ mxGraphModel.setStyle, which will update all views.
+ The cell style is a string of the form
+
+[stylename;|key=value;] ++
+ which tells the graph to use the given named styles and override the + specified key, value pairs in the given order. For example, to use the + rounded + style and override the stroke- and fillColor, the style would be defined as: +
++rounded;strokeColor=red;fillColor=green ++
+ To use the above in Hello, World!, the stylename would be passed to the + insertVertex method as follows: +
++var v1 = graph.insertVertex(parent, null, 'Hello', + 20, 20, 80, 30, 'rounded;strokeColor=red;fillColor=green'); ++
+ In certain cases you may want to override specific attributes based on
+ dynamic properties of a cell (ie. it's value, aka. userobject), such as
+ the image, indicator shape, -image, -color or -gradient color), in
+ which case you can override getImage,
+ getIndicatorShape, getIndicatorImage,
+ getIndicatorColor and getIndicatorGradientColor
+ respectively. Note that these methods take a cell state as an argument,
+ which points to a "resolved" (that is, an array) version of the
+ cell's style. Hence, the default implementation for getImage
+ looks as follows:
+
+mxGraph.prototype.getImage = function(state)
+{
+ if (state != null && state.style != null)
+ {
+ return state.style[mxConstants.STYLE_IMAGE];
+ }
+ return null;
+}
+
+
+ This method may be overridden to return any image for the given state.
+ Typically, the image is defined by either state.cell,
+ which points to the graph cell associated with the state, or by
+ state.cell.value, which refers to the cell's user object.
+
+ Due to the nature of the display, where all cells are created once and
+ updated only if the model fires a notification for a change, you must
+ invoke view.invalidate(cell) for each cell whose image
+ has changed, and call view.validate to update the display.
+
+ Instantiate mxEditor in + order to create an editor. This is the central class in the editor + package. Everything else in this package is auxiliary. + To create a new editor instance and configure it using a config + file, you can pass the name of the config file to the + mxEditor constructor. +
+ + + + ++ To create a new editor instance and configure it, the following code is used: +
+
+let config = mxUtils.load('editors/config/keyhandler-commons.xml').getDocumentElement();
+let editor = new mxEditor(config);
+
++ TODO add link to the codecs page + The configuration file is an XML file that is passed to + mxCodec, which in + turn uses mxEditorCodec + and others to read the XML into the editor object hierarchy. This is normally + done at startup time to configure the editor, graph, model, toolbar, popupmenus + etc using the I/O subsystem. +
+ + ++ The CSS stylesheet contains the style definitions for various + elements of the user interface, such as the rubberband selection, + the in-place editor or the popup menu. It also contains the directives + required to enable VML support in Internet Explorer, so it is substantial + that the stylesheet is included in the page. +
+
+ Additional stylesheets may either be added programmatically using
+ mxClient.link('stylesheet', filename) or
+ via a stylesheet tag of the UI section in the editor configuration, eg.:
+
+<mxEditor> + <ui> + <stylesheet name="examples/editors/css/process.css"/> + ... ++ + + +
+ To add new cell types, create a template in the templates array section of + the model in the config file (mxEditor/mxGraph/mxGraphModel/Array[as=templates]) + as follows: +
++<add as="symbol"> + <Symbol label="Symbol" customAttribute="whatever"> + <mxCell vertex="1" connectable="1" style="symbol;image=images/event.png"> + <mxGeometry as="geometry" width="32" height="32"/> + </mxCell> + <CustomChild customAttribute="whatever"/> + </Symbol> +</add> ++
+ The as-attribute of the add-element contains the
+ name under which the template will be accessible for later use. The
+ Symbol-child element is a custom (ie workflow) element, and
+ can have any name and any number of child elements and custom attributes.
+ The label attribute is a special one that is used for the textual
+ representation of the cell in the graph. The mxCell element
+ is another special child node which contains the graphical information for
+ the cell, namely, the cell-type, -style, -size and -position.
+
+ See mxGraph.convertValueToString if you would like to use another
+ attribute or a combination of attributes for the textual representation,
+ and mxCell.valueChanged to handle in-place editing by storing
+ the new text value in the respective attribute(s).
+
+ To use the template in the graph, a toolbar item must be added which refers + to the template in the mxDefaultToolbar section of the config file + (mxEditor/mxDefaultToolbar[as=toolbar]) as follows: +
++<add as="symbolTool" template="symbol" + style="symbol;image=wf/images/bpmn/special_event.png" + icon="wf/images/bpmn/small_event.gif"/> ++
+ The as attribute specifies the tooltip to be displayed for the
+ icon in the toolbar, the template-attribute refers to the name
+ under which the template was previously added. The style-
+ attribute is optional, and may be used to override the style defined in the
+ template definition. Finally, the icon specifies the icon to be used for the
+ toolbar item.
+
+ Note that the as attribute is assumed to be the key for a language
+ resource, in this case symbolTool. If the resource is not defined
+ in mxResources, then the
+ attribute value is used as the label.
+
- Instantiate mxGraph - in order to create a graph. This is the central class in the API. - Everything else is auxiliary. -
-
-- To create a new graph instance, a DOM node (typically a DIV) is - required: -
-
-let node = document.getElementById('id-of-graph-container');
-let graph = new mxGraph(node);
-
-- mxCell defines the - elements of the graph model, which is implemented by - mxGraphModel. -
-
-- The graph model has the following properties: -
-- The graph and structural information is stored in the cells, as well as the - user objects, which are used to store the value associated with - the cells (aka business objects). -
-- To create a new graph model with a root cell and a default layer (first child): -
--let root = new mxCell(); -root.insert(new mxCell()); -let model = new mxGraphModel(root); --
- The appearance of the cells in a graph is defined by the - stylesheet, which is an instance of - - mxStylesheet. - The stylesheet maps from stylenames to styles. - A style is an array of key, value pairs to be - used with the cells. The keys are defined in - - mxConstants and the values may be - strings and numbers or JavaScript objects or functions. -
-- To modify the default styles for vertices and edges in an existing graph: -
--let vertexStyle = graph.getStylesheet().getDefaultVertexStyle(); -vertexStyle[mxConstants.STYLE_ROUNDED] = true; - -let edgeStyle = graph.getStylesheet().getDefaultEdgeStyle(); -edgeStyle[mxConstants.STYLE_EDGE] = mxEdgeStyle.TopToBottom; --
- The style information for a cell is stored in cell.style.
- The style is part of the cell's state and is normally changed via
- mxGraphModel.setStyle, which will update all views.
- The cell style is a string of the form
-
-[stylename;|key=value;] --
- which tells the graph to use the given named styles and override the - specified key, value pairs in the given order. For example, to use the - rounded - style and override the stroke- and fillColor, the style would be defined as: -
--rounded;strokeColor=red;fillColor=green --
- To use the above in Hello, World!, the stylename would be passed to the - insertVertex method as follows: -
--var v1 = graph.insertVertex(parent, null, 'Hello', - 20, 20, 80, 30, 'rounded;strokeColor=red;fillColor=green'); --
- In certain cases you may want to override specific attributes based on
- dynamic properties of a cell (ie. it's value, aka. userobject), such as
- the image, indicator shape, -image, -color or -gradient color), in
- which case you can override getImage,
- getIndicatorShape, getIndicatorImage,
- getIndicatorColor and getIndicatorGradientColor
- respectively. Note that these methods take a cell state as an argument,
- which points to a "resolved" (that is, an array) version of the
- cell's style. Hence, the default implementation for getImage
- looks as follows:
-
-mxGraph.prototype.getImage = function(state)
-{
- if (state != null && state.style != null)
- {
- return state.style[mxConstants.STYLE_IMAGE];
- }
- return null;
-}
-
-
- This method may be overridden to return any image for the given state.
- Typically, the image is defined by either state.cell,
- which points to the graph cell associated with the state, or by
- state.cell.value, which refers to the cell's user object.
-
- Due to the nature of the display, where all cells are created once and
- updated only if the model fires a notification for a change, you must
- invoke view.invalidate(cell) for each cell whose image
- has changed, and call view.validate to update the display.
-
- Instantiate mxEditor in - order to create an editor. This is the central class in the editor - package. Everything else in this package is auxiliary. - To create a new editor instance and configure it using a config - file, you can pass the name of the config file to the - mxEditor constructor. -
-
-- To create a new editor instance and configure it, the following code is used: -
-
-let config = mxUtils.load('editors/config/keyhandler-commons.xml').getDocumentElement();
-let editor = new mxEditor(config);
-
-- TODO add link to the codecs page - The configuration file is an XML file that is passed to - mxCodec, which in - turn uses mxEditorCodec - and others to read the XML into the editor object hierarchy. This is normally - done at startup time to configure the editor, graph, model, toolbar, popupmenus - etc using the I/O subsystem. -
-- The CSS stylesheet contains the style definitions for various - elements of the user interface, such as the rubberband selection, - the in-place editor or the popup menu. It also contains the directives - required to enable VML support in Internet Explorer, so it is substantial - that the stylesheet is included in the page. -
-
- Additional stylesheets may either be added programmatically using
- mxClient.link('stylesheet', filename) or
- via a stylesheet tag of the UI section in the editor configuration, eg.:
-
-<mxEditor> - <ui> - <stylesheet name="examples/editors/css/process.css"/> - ... --
- To add new cell types, create a template in the templates array section of - the model in the config file (mxEditor/mxGraph/mxGraphModel/Array[as=templates]) - as follows: -
--<add as="symbol"> - <Symbol label="Symbol" customAttribute="whatever"> - <mxCell vertex="1" connectable="1" style="symbol;image=images/event.png"> - <mxGeometry as="geometry" width="32" height="32"/> - </mxCell> - <CustomChild customAttribute="whatever"/> - </Symbol> -</add> --
- The as-attribute of the add-element contains the
- name under which the template will be accessible for later use. The
- Symbol-child element is a custom (ie workflow) element, and
- can have any name and any number of child elements and custom attributes.
- The label attribute is a special one that is used for the textual
- representation of the cell in the graph. The mxCell element
- is another special child node which contains the graphical information for
- the cell, namely, the cell-type, -style, -size and -position.
-
- See mxGraph.convertValueToString if you would like to use another
- attribute or a combination of attributes for the textual representation,
- and mxCell.valueChanged to handle in-place editing by storing
- the new text value in the respective attribute(s).
-
- To use the template in the graph, a toolbar item must be added which refers - to the template in the mxDefaultToolbar section of the config file - (mxEditor/mxDefaultToolbar[as=toolbar]) as follows: -
--<add as="symbolTool" template="symbol" - style="symbol;image=wf/images/bpmn/special_event.png" - icon="wf/images/bpmn/small_event.gif"/> --
- The as attribute specifies the tooltip to be displayed for the
- icon in the toolbar, the template-attribute refers to the name
- under which the template was previously added. The style-
- attribute is optional, and may be used to override the style defined in the
- template definition. Finally, the icon specifies the icon to be used for the
- toolbar item.
-
- Note that the as attribute is assumed to be the key for a language
- resource, in this case symbolTool. If the resource is not defined
- in mxResources, then the
- attribute value is used as the label.
-
From 45c00a28c660347ffcc47d744170381f427adae7 Mon Sep 17 00:00:00 2001 From: Thomas Bouffard <27200110+tbouffard@users.noreply.github.com> Date: Fri, 3 Jan 2025 18:22:57 +0100 Subject: [PATCH 07/42] graphs: fix title + highlight js example --- packages/website/docs/tutorials/graphs.md | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/packages/website/docs/tutorials/graphs.md b/packages/website/docs/tutorials/graphs.md index 09e6a5e0d2..54c40ea877 100644 --- a/packages/website/docs/tutorials/graphs.md +++ b/packages/website/docs/tutorials/graphs.md @@ -3,9 +3,10 @@ sidebar_position: 2 description: XXXX. --- +# Graphs + [//]: # (TODO add mxGraph copyright) -# Graphs
Instantiate mxGraph @@ -71,25 +72,26 @@ const model = new GraphDataModel(root);
The appearance of the cells in a graph is defined by the stylesheet, which is an instance of - - mxStylesheet. + mxStylesheet. The stylesheet maps from stylenames to styles. A style is an array of key, value pairs to be used with the cells. The keys are defined in - - mxConstants and the values may be + mxConstants and the values may be strings and numbers or JavaScript objects or functions.
To modify the default styles for vertices and edges in an existing graph:
-+ +```javascript let vertexStyle = graph.getStylesheet().getDefaultVertexStyle(); vertexStyle[mxConstants.STYLE_ROUNDED] = true; let edgeStyle = graph.getStylesheet().getDefaultEdgeStyle(); edgeStyle[mxConstants.STYLE_EDGE] = mxEdgeStyle.TopToBottom; -+``` + +
The style information for a cell is stored in cell.style.
@@ -130,7 +132,8 @@ var v1 = graph.insertVertex(parent, null, 'Hello',
cell's style. Hence, the default implementation for getImage
looks as follows:
+
+```javascript
mxGraph.prototype.getImage = function(state)
{
if (state != null && state.style != null)
@@ -139,7 +142,8 @@ mxGraph.prototype.getImage = function(state)
}
return null;
}
-
+```
+
This method may be overridden to return any image for the given state.
Typically, the image is defined by either state.cell,
From 042c2d018fa23c50d2993475410895f071dedef6 Mon Sep 17 00:00:00 2001
From: Thomas Bouffard <27200110+tbouffard@users.noreply.github.com>
Date: Fri, 3 Jan 2025 18:29:02 +0100
Subject: [PATCH 08/42] input-output
---
.../website/docs/tutorials/input-output.md | 80 ++++++++++++
packages/website/old-mxgraph/tutorial.html | 120 ------------------
2 files changed, 80 insertions(+), 120 deletions(-)
create mode 100644 packages/website/docs/tutorials/input-output.md
diff --git a/packages/website/docs/tutorials/input-output.md b/packages/website/docs/tutorials/input-output.md
new file mode 100644
index 0000000000..1bdafbb836
--- /dev/null
+++ b/packages/website/docs/tutorials/input-output.md
@@ -0,0 +1,80 @@
+---
+sidebar_position: 2
+description: XXXX.
+---
+
+# Input/Output
+
+[//]: # (TODO add mxGraph copyright)
+
+
+## Codecs
+
+See the dedicated [codecs page](../usage/codecs.md) for more information on how to use codecs.
+
+
+ For encoding other objects, or if no editor instance is available, + the mxCodec can be + used to create and read XML data. +
+ + + ++ The save, open, readGraphModel and writeGraphModel functions + implement a standard mechanism for handling files in + mxEditor. +
+
+ The default implementation of mxEditor.save is called
+ with an argument to indicate if the save was triggered by the user or
+ by the system. It then uses the urlPost variable of
+ the editor object to check if a post request should be issued. If
+ the variable is defined, the editor issues a post request to the
+ specified URL passing the XML along as a POST variable called xml.
+
+ As an example, consider the following PHP file which is located + in the same directory as the HTML page. If the filename is server.php + then the urlPost variable must be set to server.php on the editor + in order to post the diagram to the server. The PHP file will get + the XML from the POST request and write it to a file called + diagram.xml. +
+```php + +``` + ++ To set the URL to post to, change the respective entry in the mxEditor node of the config file as follows: +
+ +```xml +<mxEditor urlPost="http://www.example.com/server.php" ... > +``` + ++ Keep in mind that the JavaScript can only post to the server where it originated from, so we recommend + to use relative URLs, eg. server.php. +
+ ++ If you need to read/write the graph from/to a string (eg. to fill a form-field), you can use the + following methods: +
+ + +```javascript +const data = editor.writeGraphModel(); +editor.readGraphModel(mxUtils.parseXml(data)); +``` diff --git a/packages/website/old-mxgraph/tutorial.html b/packages/website/old-mxgraph/tutorial.html index e8e514c256..68ed751540 100644 --- a/packages/website/old-mxgraph/tutorial.html +++ b/packages/website/old-mxgraph/tutorial.html @@ -93,128 +93,8 @@- The save, open, readGraphModel and writeGraphModel functions - implement a standard mechanism for handling files in - mxEditor. -
-
- The default implementation of mxEditor.save is called
- with an argument to indicate if the save was triggered by the user or
- by the system. It then uses the urlPost variable of
- the editor object to check if a post request should be issued. If
- the variable is defined, the editor issues a post request to the
- specified URL passing the XML along as a POST variable called xml.
-
- As an example, consider the following PHP file which is located - in the same directory as the HTML page. If the filename is server.php - then the urlPost variable must be set to server.php on the editor - in order to post the diagram to the server. The PHP file will get - the XML from the POST request and write it to a file called - diagram.xml. -
-
-<?php
-$xml = $HTTP_POST_VARS['xml'];
-if ($xml != null) {
- $fh=fopen("diagram.xml","w");
- fputs($fh, stripslashes($xml));
- fclose($fh);
-}
-?>
-
-- To set the URL to post to, change the respective entry in the mxEditor node of the config file as follows: -
--<mxEditor urlPost="http://www.example.com/server.php" ... > --
- Keep in mind that the JavaScript can only post to the server where it originated from, so we recommend - to use relative URLs, eg. server.php. -
-- If you need to read/write the graph from/to a string (eg. to fill a form-field), you can use the - following methods: -
--let data = editor.writeGraphModel(); -editor.readGraphModel(mxUtils.parseXml(data)); --
- For encoding other objects, or if no editor instance is available, - the mxCodec can be - used to create and read XML data. -
- The mxGraph package contains a client software, written in JavaScript, and a series - of backends for various languages. The client software is a graph component with - an optional application wrapper that is integrated into an existing web interface. - The client requires a webserver to deliver the required files to the client or - can be run from the local filesystem without a webserver. The backends may be used - as is, or they may be embedded into an existing server application in one of the - supported languages. -
-
-- If a backend exists, then the client may be configured to use this backend in - various ways, such as: -
-- The above scenarios maybe combined in various ways, such as sending an XML - description of each change to the backend as it happens, or autosaving of - the diagram to avoid loss of data on the client. The client can also operate in - offline mode, where it does not require a backend or a webserver. -
-- Please have a look at the index files in the respective directories for - information on the various backends. -
- - - - - - -
- The HEAD part of the page contains the JavaScript code and dependencies.
- The library is loaded using the following code. The mxBasePath
- variable is used to define the path where the library loads its resources
- from. This variable must be defined prior to loading the library code and
- should not include a trailing slash.
-
-<script type="text/javascript"> - mxBasePath = 'javascript/src'; -</script> -<script type="text/javascript" src="javascript/src/js/mxClient.js"></script> --
- mxClient.min.js
- contains all required code in a single, minified, file. This is the file you
- should use in production. During development, if you wish to change mxGraph
- sources, use the bootstrapped mxClient.js file.
-
- The next script tag in the HEAD part of the page contains the - Hello, World! example code. The first part of the code checks if the - browser that is displaying the page is supported by the library. It is - recommended to do this as the first step of the program and - display an error message if the browser is not supported. In your - document you may also want to include a NOSCRIPT directive for - browsers that have JavaScript disabled, however, in our examples this - directive is not used. -
-
- There is no convention for the name of the main function. The function
- is invoked from the onload handler in the page and may have any name
- and arguments. In this case, the argument is a DOM node that will contain
- the graph. Note that the DOM node may have any ID and that the code
- is independent of this ID.
-
-<script type="text/javascript";>
-function main(container)
-{
- // Checks if the browser is supported
- if (!mxClient.isBrowserSupported())
- {
- // Displays an error message if the browser is not supported.
- mxUtils.error('Browser is not supported!', 200, false);
- }
- ...
-
-
-
-
-
-
-