Commit d53f0c97 authored by Noé Gaumont's avatar Noé Gaumont 🐙
Browse files

WIP feat: add description than can be edited with editorJS

readOnly is missing, see https://github.com/codex-team/editor.js/issues/609 implemented in editor 2.19
It should be added once we have the right from the rqlClient or somewhere else


Proper baseUrl handling is also missing
parent 2d0c34ecb320
import React from 'react';
import ReactDOM from 'react-dom';
import React from "react";
import ReactDOM from "react-dom";
import EditorJsContainer from "react-editor-js";
import EditorJS from "@editorjs/editorjs";
import Embed from "@editorjs/embed";
import Table from "@editorjs/table";
import List from "@editorjs/list";
import Warning from "@editorjs/warning";
import Code from "@editorjs/code";
import LinkTool from "@editorjs/link";
import Image from "@editorjs/image";
import Raw from "@editorjs/raw";
import Header from "@editorjs/header";
import Quote from "@editorjs/quote";
import MarkerEdit from "@editorjs/marker";
import CheckList from "@editorjs/checklist";
import Delimiter from "@editorjs/delimiter";
import InlineCode from "@editorjs/inline-code";
import SimpleImage from "@editorjs/simple-image";
import { client } from "@logilab/cwclientlibjs";
import {
ComposableMap,
Geographies,
Geography,
Marker,
Point
Point,
} from "react-simple-maps";
const geoUrl = "https://raw.githubusercontent.com/zcreativelabs/react-simple-maps/master/topojson-maps/world-110m.json";
export const EDITOR_JS_TOOLS = {
embed: Embed,
table: Table,
marker: MarkerEdit,
list: List,
warning: Warning,
code: Code,
linkTool: LinkTool,
image: Image,
raw: Raw,
header: Header,
quote: Quote,
checklist: CheckList,
delimiter: Delimiter,
inlineCode: InlineCode,
simpleImage: SimpleImage,
};
const geoUrl =
"https://raw.githubusercontent.com/zcreativelabs/react-simple-maps/master/topojson-maps/world-110m.json";
declare const data: {
name: string,
latitude: number,
longitude: number,
}
name: string;
latitude: number;
longitude: number;
eid: number;
description: any;
};
const MapChart = () => {
return (
<ComposableMap>
<Geographies geography={geoUrl}>
{({ geographies }) =>
geographies
.map(geo => (
<Geography
key={geo.rsmKey}
geography={geo}
fill="#EAEAEC"
stroke="#D6D6DA"
/>
))
geographies.map((geo) => (
<Geography
key={geo.rsmKey}
geography={geo}
fill="#EAEAEC"
stroke="#D6D6DA"
/>
))
}
</Geographies>
<Marker coordinates={[data.longitude, data.latitude] as Point}>
<g
fill="none"
stroke="#FF5533"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
transform="translate(-12, -24)"
>
<circle cx="12" cy="10" r="3" />
<path d="M12 21.7C17.3 17 20 13 20 10a8 8 0 1 0-16 0c0 3 2.7 6.9 8 11.7z" />
</g>
<text
textAnchor="middle"
y={10}
style={{ fontFamily: "system-ui", fill: "#5D5A6D" }}
>
{data.name}
</text>
</Marker>
<Marker coordinates={[data.longitude, data.latitude] as Point}>
<g
fill="none"
stroke="#FF5533"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
transform="translate(-12, -24)"
>
<circle cx="12" cy="10" r="3" />
<path d="M12 21.7C17.3 17 20 13 20 10a8 8 0 1 0-16 0c0 3 2.7 6.9 8 11.7z" />
</g>
<text
textAnchor="middle"
y={10}
style={{ fontFamily: "system-ui", fill: "#5D5A6D" }}
>
{data.name}
</text>
</Marker>
</ComposableMap>
);
};
function App() {
return <MapChart/>
// XX to change with some data attribut
const rqlClient = new client.CwRqlClient(
new client.CwSimpleHttpClient("http://localhost:8080", true)
);
const instanceRef = React.useRef<EditorJS | null>(null);
const [editorData, setEditorData] = React.useState<any | null>(null);
async function handleSave() {
if (instanceRef.current !== null) {
const savedData = await instanceRef.current.save();
rqlClient.queryRows(
`Set M description "${JSON.stringify(savedData).replaceAll(
'"',
'\\"'
)}" Where M is Museum, M eid ${data.eid}`
);
}
}
React.useEffect(() => {
rqlClient
.queryRows(`Any D Where M is Museum, M eid ${data.eid}, M description D`)
.then((response) => {
setEditorData(response[0][0]);
});
}, []);
return (
<>
<EditorJsContainer
tools={EDITOR_JS_TOOLS}
data={JSON.parse(data.description)}
instanceRef={(instance) => (instanceRef.current = instance)}
readOnly={false}
/>
<button onClick={handleSave}>SAVE THIS ! </button>
<MapChart />
</>
);
}
const root = document.getElementById("awesome-map");
ReactDOM.render(<App/>, root);
ReactDOM.render(<App />, root);
......@@ -5,7 +5,7 @@
modname = "cubicweb_tuto"
distname = "cubicweb-tuto"
numversion = (0, 1, 0)
numversion = (0, 1, 1)
version = ".".join(str(num) for num in numversion)
license = "LGPL"
......@@ -16,7 +16,7 @@ web = "http://www.cubicweb.org/project/%s" % distname
__depends__ = {
"cubicweb": ">= 3.29.0",
"cubicweb-rqlcontroller": "~= 0.7",
"cubicweb-rqlcontroller": "~= 0.7"
}
__recommends__ = {}
......
# -*- coding: utf-8 -*-
add_attribute("Museum", "description")
commit()
......@@ -18,6 +18,21 @@
"""cubicweb-tuto schema"""
from yams.buildobjs import EntityType, String, Float, SubjectRelation, Int
from yams.constraints import BoundaryConstraint
from yams import MARKER
def EditorJsString(
required: bool = False,
formula=MARKER,
override: bool = False,
**kwargs,
):
return String(
required=required,
formula=formula,
override=override,
**kwargs,
)
class Museum(EntityType):
......@@ -31,6 +46,7 @@ class Museum(EntityType):
is_in = SubjectRelation("City", cardinality="1*")
director = SubjectRelation("Person", cardinality="**")
postal_address = String()
description = EditorJsString()
class City(EntityType):
......
{
"name": "cubicweb_tuto",
"version": "1.0.0",
"lockfileVersion": 1,
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "cubicweb_tuto",
"version": "1.0.0",
"license": "GPL-2.0-or-later",
"dependencies": {
"@editorjs/checklist": "^1.1.0",
"@editorjs/code": "^2.4.1",
"@editorjs/delimiter": "^1.1.0",
"@editorjs/editorjs": "^2.21.0",
"@editorjs/embed": "^2.2.1",
"@editorjs/header": "^2.3.0",
"@editorjs/image": "^2.3.1",
"@editorjs/inline-code": "^1.3.0",
"@editorjs/link": "^2.1.3",
"@editorjs/list": "^1.4.0",
"@editorjs/marker": "^1.2.0",
"@editorjs/paragraph": "^2.6.0",
"@editorjs/quote": "^2.3.0",
"@editorjs/raw": "^2.1.1",
"@editorjs/simple-image": "^1.3.2",
"@editorjs/table": "^1.2.0",
"@editorjs/warning": "^1.1.1",
"@logilab/cwclientlibjs": "^1.1.0",
"@rql/eslint-plugin": "^0.1.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/react-simple-maps": "^1.0.3",
"prop-types": "^15.7.2",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-simple-maps": "^2.3.0",
"ts-loader": "^8.0.14",
"typescript": "^4.1.3",
"webpack": "^5.18.0",
"webpack-cli": "^4.4.0"
},
"devDependencies": {
"@editorjs/paragraph": "^2.8.0",
"react-editor-js": "^1.9.0"
}
},
"node_modules/@babel/runtime": {
"version": "7.14.0",
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.14.0.tgz",
"integrity": "sha512-JELkvo/DlpNdJ7dlyw/eY7E0suy5i5GQH+Vlxaq1nsNJ+H7f4Vtv3jMeCEgRhZZQFXTjldYfQgv2qmM6M1v5wA==",
"dependencies": {
"regenerator-runtime": "^0.13.4"
}
},
"node_modules/@discoveryjs/json-ext": {
"version": "0.5.2",
"resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.2.tgz",
"integrity": "sha512-HyYEUDeIj5rRQU2Hk5HTB2uHsbRQpF70nvMhVzi+VJR0X+xNEhjPui4/kBf3VeH/wqD28PT4sVOm8qqLjBrSZg==",
"engines": {
"node": ">=10.0.0"
}
},
"node_modules/@editorjs/checklist": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/@editorjs/checklist/-/checklist-1.3.0.tgz",
"integrity": "sha512-087oW0oOIE5HX8llj4Eap/reFDFw8VCLlp6GU0E9GEp7f3zy2aV6KdFR+6dbYhZ50w7tSnkMpCAcSq1NXJeB4Q=="
},
"node_modules/@editorjs/code": {
"version": "2.7.0",
"resolved": "https://registry.npmjs.org/@editorjs/code/-/code-2.7.0.tgz",
"integrity": "sha512-gXtTce915fHp3H9i4IqhTxEDbbkT2heFfYiW/bhFHsCmZDpyGzfZxi94kmrEqDmbxXjV49ZZ6GZbR26If13KJw=="
},
"node_modules/@editorjs/delimiter": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@editorjs/delimiter/-/delimiter-1.2.0.tgz",
"integrity": "sha512-GKsCFPk85vH5FuCuVQ48NTLc9hk0T3DsBH9zABaicTYIJayFcUa8N4/Y+L3i4tduzDqqyvoxkv+5n43GmC5gEA=="
},
"node_modules/@editorjs/editorjs": {
"version": "2.21.0",
"resolved": "https://registry.npmjs.org/@editorjs/editorjs/-/editorjs-2.21.0.tgz",
"integrity": "sha512-0x4qFs6pJUbUTBB4FwtRD2I+eH7dMighC5n9j+HnRb2DoSj6QQOqSjGjTZwioVvCHYJ8oVlMWrVIQ/t2ppCb6Q==",
"dependencies": {
"codex-notifier": "^1.1.2",
"codex-tooltip": "^1.0.2",
"nanoid": "^3.1.22"
}
},
"node_modules/@editorjs/embed": {
"version": "2.4.6",
"resolved": "https://registry.npmjs.org/@editorjs/embed/-/embed-2.4.6.tgz",
"integrity": "sha512-c/1TzBBMrU1hpPHRWXlVanBhgyoPZvE2A3qHt23rMVxJVvzu13Zozj0ZOO8pL1XGcubf+Yvalxu7AURn7X3jPw=="
},
"node_modules/@editorjs/header": {
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/@editorjs/header/-/header-2.6.1.tgz",
"integrity": "sha512-EsnyVFv5uThpU9tbQ/dUPFCQoa/sBFy2n+9tN3wOXJGx7sjea4fdcacJ2UYhO+7pCgZ+aSgmMOyGLYHUFbchvA=="
},
"node_modules/@editorjs/image": {
"version": "2.6.0",
"resolved": "https://registry.npmjs.org/@editorjs/image/-/image-2.6.0.tgz",
"integrity": "sha512-lX4Pz9cW3gGFzlmYLRAsBXTiqUG/MRG7NK4QVU+n/VnUWPU1e791eiIpgRLHfpPj6Maaw5a+GRut90D5EdXtqg=="
},
"node_modules/@editorjs/inline-code": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/@editorjs/inline-code/-/inline-code-1.3.1.tgz",
"integrity": "sha512-iY6DeRmJo2Jl6sB2S9QEA9OoSp+KCHBztoY2fjPeiBcKCOKX8we5H3JQJTLxT0L/N8uJqCUiiPKgG6xvqaCn+g=="
},
"node_modules/@editorjs/link": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/@editorjs/link/-/link-2.3.1.tgz",
"integrity": "sha512-FvZTzgMd8jPZOwcs/ns65hW5H6xAPyxMG/pUsOTDuSH40Ko1G7QPPtUJJ3M6vOH5GJQ9KVwQ3ng3Kx4P9ndFWQ==",
"dependencies": {
"@babel/runtime": "^7.10.2"
}
},
"node_modules/@editorjs/list": {
"version": "1.6.2",
"resolved": "https://registry.npmjs.org/@editorjs/list/-/list-1.6.2.tgz",
"integrity": "sha512-OxowV0yuE11G01czYM1dEQlz1F37ehX0ak5vAbZ9ncSXrPh0fDRw/fBxTY654FlmrsQ40UFom3owSG++tLvVGw=="
},
"node_modules/@editorjs/marker": {
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/@editorjs/marker/-/marker-1.2.2.tgz",
"integrity": "sha512-BN/IHbVKKahGnMAiBOV5U7XUjfF6JkIkTZ6qNLxtTr7PUPM8UsJV8G8pyll9CX+XRUYYZyokA2kEBHTS4vUyyw=="
},
"node_modules/@editorjs/paragraph": {
"version": "2.8.0",
"resolved": "https://registry.npmjs.org/@editorjs/paragraph/-/paragraph-2.8.0.tgz",
"integrity": "sha512-z6w5ZR0ru3p/IjxJW/tb7OcSnVttkZukQMIsnBMX1FIKc1BNdr7NwM1YoCyTl4OnC90YfL0xgES6/20/W267pw=="
},
"node_modules/@editorjs/quote": {
"version": "2.4.0",
"resolved": "https://registry.npmjs.org/@editorjs/quote/-/quote-2.4.0.tgz",
"integrity": "sha512-IWOBWjL2ngPP63GcIAltyD9kc7OVZFma4kS+T5JRHvKKDspYsnmrxsbRmCPc+coZQzqPxXHkiOZuNMdmGX/Y3w=="
},
"node_modules/@editorjs/raw": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/@editorjs/raw/-/raw-2.3.0.tgz",
"integrity": "sha512-wC+3pTQVB2hvDcF4mcMgOr7DhO432lGYqOam/CwfyyfG5BDqaPrwgZTiVyteZ25D5ZQD677IVYZ48oX33+2HgQ=="
},
"node_modules/@editorjs/simple-image": {
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/@editorjs/simple-image/-/simple-image-1.4.1.tgz",
"integrity": "sha512-8lqcMYKrxhnDNasqq4Id9/SwXymSofVb4SJBC7gQoJmNG9bfRgVEXLsEUnuLzn8ixkAYlK2oNTc7ioZdD8bEOw=="
},
"node_modules/@editorjs/table": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/@editorjs/table/-/table-1.3.0.tgz",
"integrity": "sha512-3/gr7IkjsYuECndCpcBSKzZQHos7C9QU1ach8avyVbXB3VLAa1RyGjgocu0Ct4d02HdxirrYZ7+vP1Na+s04GQ=="
},
"node_modules/@editorjs/warning": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@editorjs/warning/-/warning-1.2.0.tgz",
"integrity": "sha512-CMIsB+b8Ti8/duOzYfKn1upFEEMxj821RDyBbDx8iku4DRql524VnAErvd00sYnFpKKbXNOF4oQnBo/7bDIzPQ=="
},
"node_modules/@logilab/cwclientlibjs": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@logilab/cwclientlibjs/-/cwclientlibjs-1.1.0.tgz",
"integrity": "sha512-RWznAmHVO8+TEYnAL82YUtXiwEmcGgAh/Zpsl1qDw+uXBa5EhQeUiFwrsNMDqDprm7opMwCsjMXnQcXERcAMCA==",
"dependencies": {
"crypto-js": "^3.1.9-1",
"isomorphic-fetch": "^2.2.1"
},
"bin": {
"cwrql": "build/cwrql.js"
}
},
"node_modules/@rql/eslint-plugin": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/@rql/eslint-plugin/-/eslint-plugin-0.1.0.tgz",
"integrity": "sha512-Y7JtnzoboZlNfaoNZ0HAfhkb8dGDApgsy1r0NZwKw9PAxVTUKGqLQquHv5A/jqBL65b9UfuLVtFaKUMyNUKNhw==",
"dependencies": {
"@rql/parser": "^0.1.0"
},
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/@rql/parser": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/@rql/parser/-/parser-0.1.0.tgz",
"integrity": "sha512-zZFQ/PC/SFXMBruIluaBcjjTvjTO5NokNug7sLz5FDo8LlizhQQSMg13AQaSEZkQZ16kLu3jzItat/4MuhwAEQ=="
},
"node_modules/@types/d3-geo": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@types/d3-geo/-/d3-geo-2.0.0.tgz",
"integrity": "sha512-DHHgYXW36lnAEQMYU2udKVOxxljHrn2EdOINeSC9jWCAXwOnGn7A19B8sNsHqgpu4F7O2bSD7//cqBXD3W0Deg==",
"dependencies": {
"@types/geojson": "*"
}
},
"node_modules/@types/eslint": {
"version": "7.2.10",
"resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-7.2.10.tgz",
"integrity": "sha512-kUEPnMKrqbtpCq/KTaGFFKAcz6Ethm2EjCoKIDaCmfRBWLbFuTcOJfTlorwbnboXBzahqWLgUp1BQeKHiJzPUQ==",
"dependencies": {
"@types/estree": "*",
"@types/json-schema": "*"
}
},
"node_modules/@types/eslint-scope": {
"version": "3.7.0",
"resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.0.tgz",
"integrity": "sha512-O/ql2+rrCUe2W2rs7wMR+GqPRcgB6UiqN5RhrR5xruFlY7l9YLMn0ZkDzjoHLeiFkR8MCQZVudUuuvQ2BLC9Qw==",
"dependencies": {
"@types/eslint": "*",
"@types/estree": "*"
}
},
"node_modules/@types/estree": {
"version": "0.0.47",
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.47.tgz",
"integrity": "sha512-c5ciR06jK8u9BstrmJyO97m+klJrrhCf9u3rLu3DEAJBirxRqSCvDQoYKmxuYwQI5SZChAWu+tq9oVlGRuzPAg=="
},
"node_modules/@types/geojson": {
"version": "7946.0.7",
"resolved": "https://registry.npmjs.org/@types/geojson/-/geojson-7946.0.7.tgz",
"integrity": "sha512-wE2v81i4C4Ol09RtsWFAqg3BUitWbHSpSlIo+bNdsCJijO9sjme+zm+73ZMCa/qMC8UEERxzGbvmr1cffo2SiQ=="
},
"node_modules/@types/json-schema": {
"version": "7.0.7",
"resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.7.tgz",
"integrity": "sha512-cxWFQVseBm6O9Gbw1IWb8r6OS4OhSt3hPZLkFApLjM8TEXROBuQGLAH2i2gZpcXdLBIrpXuTDhH7Vbm1iXmNGA=="
},
"node_modules/@types/node": {
"version": "15.0.2",
"resolved": "https://registry.npmjs.org/@types/node/-/node-15.0.2.tgz",
"integrity": "sha512-p68+a+KoxpoB47015IeYZYRrdqMUcpbK8re/zpFB8Ld46LHC1lPEbp3EXgkEhAYEcPvjJF6ZO+869SQ0aH1dcA=="
},
"node_modules/@types/prop-types": {
"version": "15.7.3",
"resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.3.tgz",
"integrity": "sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw=="
},
"node_modules/@types/react": {
"version": "17.0.5",
"resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.5.tgz",
"integrity": "sha512-bj4biDB9ZJmGAYTWSKJly6bMr4BLUiBrx9ujiJEoP9XIDY9CTaPGxE5QWN/1WjpPLzYF7/jRNnV2nNxNe970sw==",
"dependencies": {
"@types/prop-types": "*",
"@types/scheduler": "*",
"csstype": "^3.0.2"
}
},
"node_modules/@types/react-dom": {
"version": "17.0.3",
"resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-17.0.3.tgz",
"integrity": "sha512-4NnJbCeWE+8YBzupn/YrJxZ8VnjcJq5iR1laqQ1vkpQgBiA7bwk0Rp24fxsdNinzJY2U+HHS4dJJDPdoMjdJ7w==",
"dependencies": {
"@types/react": "*"
}
},
"node_modules/@types/react-simple-maps": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/@types/react-simple-maps/-/react-simple-maps-1.0.3.tgz",
"integrity": "sha512-cCDAsa8FRlTwvMUOUMK3+5ANnF1TDXlLoqpmIOYYIAYXT4nKwpsgSMOWjPoJyCRx5U+pN8rIK+A/HAcyAh6UWA==",
"dependencies": {
"@types/d3-geo": "*",
"@types/geojson": "*",
"@types/react": "*"
}
},
"node_modules/@types/scheduler": {
"version": "0.16.1",
"resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.1.tgz",
"integrity": "sha512-EaCxbanVeyxDRTQBkdLb3Bvl/HK7PBK6UJjsSixB0iHKoWxE5uu2Q/DgtpOhPIojN0Zl1whvOd7PoHs2P0s5eA=="
},
"node_modules/@webassemblyjs/ast": {
"version": "1.11.0",
"resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.0.tgz",
"integrity": "sha512-kX2W49LWsbthrmIRMbQZuQDhGtjyqXfEmmHyEi4XWnSZtPmxY0+3anPIzsnRb45VH/J55zlOfWvZuY47aJZTJg==",
"dependencies": {
"@webassemblyjs/helper-numbers": "1.11.0",
"@webassemblyjs/helper-wasm-bytecode": "1.11.0"
}
},
"node_modules/@webassemblyjs/floating-point-hex-parser": {
"version": "1.11.0",
"resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.0.tgz",
"integrity": "sha512-Q/aVYs/VnPDVYvsCBL/gSgwmfjeCb4LW8+TMrO3cSzJImgv8lxxEPM2JA5jMrivE7LSz3V+PFqtMbls3m1exDA=="
},
"node_modules/@webassemblyjs/helper-api-error": {
"version": "1.11.0",
"resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.0.tgz",
"integrity": "sha512-baT/va95eXiXb2QflSx95QGT5ClzWpGaa8L7JnJbgzoYeaA27FCvuBXU758l+KXWRndEmUXjP0Q5fibhavIn8w=="
},
"node_modules/@webassemblyjs/helper-buffer": {
"version": "1.11.0",
"resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.0.tgz",
"integrity": "sha512-u9HPBEl4DS+vA8qLQdEQ6N/eJQ7gT7aNvMIo8AAWvAl/xMrcOSiI2M0MAnMCy3jIFke7bEee/JwdX1nUpCtdyA=="
},
"node_modules/@webassemblyjs/helper-numbers": {
"version": "1.11.0",
"resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.0.tgz",
"integrity": "sha512-DhRQKelIj01s5IgdsOJMKLppI+4zpmcMQ3XboFPLwCpSNH6Hqo1ritgHgD0nqHeSYqofA6aBN/NmXuGjM1jEfQ==",
"dependencies": {
"@webassemblyjs/floating-point-hex-parser": "1.11.0",
"@webassemblyjs/helper-api-error": "1.11.0",
"@xtuc/long": "4.2.2"
}
},
"node_modules/@webassemblyjs/helper-wasm-bytecode": {
"version": "1.11.0",
"resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.0.tgz",
"integrity": "sha512-MbmhvxXExm542tWREgSFnOVo07fDpsBJg3sIl6fSp9xuu75eGz5lz31q7wTLffwL3Za7XNRCMZy210+tnsUSEA=="
},
"node_modules/@webassemblyjs/helper-wasm-section": {
"version": "1.11.0",
"resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.0.tgz",
"integrity": "sha512-3Eb88hcbfY/FCukrg6i3EH8H2UsD7x8Vy47iVJrP967A9JGqgBVL9aH71SETPx1JrGsOUVLo0c7vMCN22ytJew==",
"dependencies": {
"@webassemblyjs/ast": "1.11.0",
"@webassemblyjs/helper-buffer": "1.11.0",
"@webassemblyjs/helper-wasm-bytecode": "1.11.0",
"@webassemblyjs/wasm-gen": "1.11.0"
}
},
"node_modules/@webassemblyjs/ieee754": {
"version": "1.11.0",
"resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.0.tgz",
"integrity": "sha512-KXzOqpcYQwAfeQ6WbF6HXo+0udBNmw0iXDmEK5sFlmQdmND+tr773Ti8/5T/M6Tl/413ArSJErATd8In3B+WBA==",
"dependencies": {
"@xtuc/ieee754": "^1.2.0"
}
},
"node_modules/@webassemblyjs/leb128": {
"version": "1.11.0",
"resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.0.tgz",
"integrity": "sha512-aqbsHa1mSQAbeeNcl38un6qVY++hh8OpCOzxhixSYgbRfNWcxJNJQwe2rezK9XEcssJbbWIkblaJRwGMS9zp+g==",
"dependencies": {
"@xtuc/long": "4.2.2"
}
},
"node_modules/@webassemblyjs/utf8": {
"version": "1.11.0",
"resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.0.tgz",
"integrity": "sha512-A/lclGxH6SpSLSyFowMzO/+aDEPU4hvEiooCMXQPcQFPPJaYcPQNKGOCLUySJsYJ4trbpr+Fs08n4jelkVTGVw=="
},
"node_modules/@webassemblyjs/wasm-edit": {
"version": "1.11.0",
"resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.0.tgz",
"integrity": "sha512-JHQ0damXy0G6J9ucyKVXO2j08JVJ2ntkdJlq1UTiUrIgfGMmA7Ik5VdC/L8hBK46kVJgujkBIoMtT8yVr+yVOQ==",
"dependencies": {
"@webassemblyjs/ast": "1.11.0",
"@webassemblyjs/helper-buffer": "1.11.0",
"@webassemblyjs/helper-wasm-bytecode": "1.11.0",
"@webassemblyjs/helper-wasm-section": "1.11.0",
"@webassemblyjs/wasm-gen": "1.11.0",
"@webassemblyjs/wasm-opt": "1.11.0",
"@webassemblyjs/wasm-parser": "1.11.0",
"@webassemblyjs/wast-printer": "1.11.0"
}
},
"node_modules/@webassemblyjs/wasm-gen": {
"version": "1.11.0",
"resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.0.tgz",
"integrity": "sha512-BEUv1aj0WptCZ9kIS30th5ILASUnAPEvE3tVMTrItnZRT9tXCLW2LEXT8ezLw59rqPP9klh9LPmpU+WmRQmCPQ==",
"dependencies": {
"@webassemblyjs/ast": "1.11.0",
"@webassemblyjs/helper-wasm-bytecode": "1.11.0",
"@webassemblyjs/ieee754": "1.11.0",
"@webassemblyjs/leb128": "1.11.0",
"@webassemblyjs/utf8": "1.11.0"
}
},
"node_modules/@webassemblyjs/wasm-opt": {
"version": "1.11.0",
"resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.0.tgz",
"integrity": "sha512-tHUSP5F4ywyh3hZ0+fDQuWxKx3mJiPeFufg+9gwTpYp324mPCQgnuVKwzLTZVqj0duRDovnPaZqDwoyhIO8kYg==",
"dependencies": {
"@webassemblyjs/ast": "1.11.0",
"@webassemblyjs/helper-buffer": "1.11.0",
"@webassemblyjs/wasm-gen": "1.11.0",
"@webassemblyjs/wasm-parser": "1.11.0"
}