Skip to content

A full-featured CRM built with React, shadcn/ui, and Supabase.

Feat(crm): Migrate code from demo

Jonathan ARNAULT6cd96365f615
diff --git a/.eslintignore b/.eslintignore
new file mode 100644
index 00000000..f729b9fb
--- /dev/null
+++ b/.eslintignore
@@ -0,0 +1,6 @@
+node_modules
+build
+lib
+esm
+prism.js
+packages/create-react-admin/templates/**
diff --git a/.eslintrc b/.eslintrc
new file mode 100644
index 00000000..0f80d13d
--- /dev/null
+++ b/.eslintrc
@@ -0,0 +1,45 @@
+
+{
+ "parser": "@typescript-eslint/parser",
+ "parserOptions": {
+ "warnOnUnsupportedTypeScriptVersion": false
+ },
+ "extends": ["react-app", "plugin:prettier/recommended"],
+ "plugins": [
+ "@typescript-eslint",
+ "import",
+ "jsx-a11y",
+ "prettier",
+ "react",
+ "react-hooks"
+ ],
+ "rules": {
+ "no-use-before-define": "off",
+ "prettier/prettier": "error",
+ "no-restricted-imports": [
+ "error",
+ {
+ "paths": [
+ {
+ "name": "@mui/material",
+ "importNames": ["makeStyles", "createMuiTheme"],
+ "message": "Please import from @mui/material/styles instead. See https://material-ui.com/guides/minimizing-bundle-size/#option-2 for more information"
+ }
+ ]
+ }
+ ],
+ "no-redeclare": "off",
+ "import/no-anonymous-default-export": "off",
+ "@typescript-eslint/no-redeclare": ["error"],
+ "no-unused-vars": "off",
+ "@typescript-eslint/no-unused-vars": [
+ "warn", // or "error"
+ {
+ "argsIgnorePattern": "^_",
+ "varsIgnorePattern": "^_",
+ "caughtErrorsIgnorePattern": "^_",
+ "ignoreRestSiblings": true
+ }
+ ]
+ }
+}
diff --git a/.gitignore b/.gitignore
index c97b5e31..e411a605 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,4 +22,6 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*
supabase/.branches
-supabase/.temp
\ No newline at end of file
+supabase/.temp
+
+.env
\ No newline at end of file
diff --git a/.lintstagedrc b/.lintstagedrc
new file mode 100644
index 00000000..50208c8d
--- /dev/null
+++ b/.lintstagedrc
@@ -0,0 +1,10 @@
+{
+ "*.{js,jsx,ts,tsx}": [
+ "eslint --fix",
+ "git add"
+ ],
+ "*.{json,css,md}": [
+ "prettier",
+ "git add"
+ ]
+}
\ No newline at end of file
diff --git a/.prettierignore b/.prettierignore
new file mode 100644
index 00000000..4d29bce6
--- /dev/null
+++ b/.prettierignore
@@ -0,0 +1,26 @@
+*.md
+packages/create-react-admin/templates/**
+yarn-error.log
+lerna-debug.log
+node_modules
+lib
+esm
+es6
+dist
+docs/_site/
+docs/.jekyll-metadata
+docs/.jekyll-cache
+packages/react-admin/docs
+examples/**/static
+examples/**/dist
+cypress/videos
+cypress/screenshots
+/public
+/storybook-static
+.pnp.*
+.yarn/*
+!.yarn/patches
+!.yarn/plugins
+!.yarn/releases
+!.yarn/sdks
+!.yarn/versions
\ No newline at end of file
diff --git a/.prettierrc.mjs b/.prettierrc.mjs
new file mode 100644
index 00000000..d6245821
--- /dev/null
+++ b/.prettierrc.mjs
@@ -0,0 +1,15 @@
+export default {
+ arrowParens: 'avoid',
+ bracketSpacing: true,
+ bracketSameLine: false,
+ jsxSingleQuote: false,
+ printWidth: 80,
+ quoteProps: 'as-needed',
+ rangeStart: 0,
+ rangeEnd: Infinity,
+ semi: true,
+ singleQuote: true,
+ tabWidth: 4,
+ trailingComma: 'es5',
+ useTabs: false
+}
diff --git a/package-lock.json b/package-lock.json
index e43fd550..c005dbee 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -8,7 +8,6 @@
"name": "react-admin-crm",
"version": "4.12.0",
"dependencies": {
- "@faker-js/faker": "^8.4.0",
"@hello-pangea/dnd": "^16.5.0",
"@mui/icons-material": "^5.15.6",
"@mui/material": "^5.15.6",
@@ -18,12 +17,14 @@
"clsx": "^2.1.0",
"date-fns": "^3.3.1",
"dotenv": "^16.4.1",
- "lodash": "^4.17.21",
+ "lodash": "~4.17.5",
+ "papaparse": "^5.4.1",
"prop-types": "^15.8.1",
"ra-data-fakerest": "^5.1.0",
"ra-supabase": "^3.0.0",
"react": "^18.2.0",
"react-admin": "^5.1.0",
+ "react-cropper": "^2.3.3",
"react-dom": "^18.2.0",
"react-error-boundary": "^4.0.12",
"react-router": "^6.21.3",
@@ -39,9 +40,17 @@
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
+ "eslint": "^8.19.0",
+ "eslint-config-prettier": "^9.1.0",
+ "eslint-config-react-app": "^7.0.1",
+ "eslint-plugin-cypress": "^2.12.1",
+ "eslint-plugin-prettier": "^5.1.3",
+ "eslint-plugin-testing-library": "^5.11.0",
"execa": "git+https://github.com/sindresorhus/execa",
"ink": "^5.0.1",
+ "lint-staged": "^13.0.3",
"pg": "^8.11.3",
+ "prettier": "~3.2.5",
"rollup-plugin-visualizer": "^5.12.0",
"supabase": "^1.136.3",
"typescript": "^5.3.3",
@@ -118,9 +127,9 @@
}
},
"node_modules/@babel/compat-data": {
- "version": "7.24.9",
- "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.24.9.tgz",
- "integrity": "sha512-e701mcfApCJqMMueQI0Fb68Amflj83+dvAvHawoBpAz+GDjCIyGHzNwnefjsWJ3xiYAqqiQFoWbspGYBdb2/ng==",
+ "version": "7.25.0",
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.25.0.tgz",
+ "integrity": "sha512-P4fwKI2mjEb3ZU5cnMJzvRsRKGBUcs8jvxIoRmr6ufAY9Xk2Bz7JubRTTivkw55c7WQJfTECeqYVa+HZ0FzREg==",
"dev": true,
"engines": {
"node": ">=6.9.0"
@@ -156,12 +165,39 @@
"url": "https://opencollective.com/babel"
}
},
+ "node_modules/@babel/eslint-parser": {
+ "version": "7.25.1",
+ "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.25.1.tgz",
+ "integrity": "sha512-Y956ghgTT4j7rKesabkh5WeqgSFZVFwaPR0IWFm7KFHFmmJ4afbG49SmfW4S+GyRPx0Dy5jxEWA5t0rpxfElWg==",
+ "dev": true,
+ "dependencies": {
+ "@nicolo-ribaudo/eslint-scope-5-internals": "5.1.1-v1",
+ "eslint-visitor-keys": "^2.1.0",
+ "semver": "^6.3.1"
+ },
+ "engines": {
+ "node": "^10.13.0 || ^12.13.0 || >=14.0.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.11.0",
+ "eslint": "^7.5.0 || ^8.0.0 || ^9.0.0"
+ }
+ },
+ "node_modules/@babel/eslint-parser/node_modules/eslint-visitor-keys": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz",
+ "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ }
+ },
"node_modules/@babel/generator": {
- "version": "7.24.10",
- "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.10.tgz",
- "integrity": "sha512-o9HBZL1G2129luEUlG1hB4N/nlYNWHnpwlND9eOMclRqqu1YDy2sSYVCFUZwl8I1Gxh+QSRrP2vD7EpUmFVXxg==",
+ "version": "7.25.0",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.25.0.tgz",
+ "integrity": "sha512-3LEEcj3PVW8pW2R1SR1M89g/qrYk/m/mB/tLqn7dn4sbBUQyTqnlod+II2U4dqiGtUmkcnAmkMDralTFZttRiw==",
"dependencies": {
- "@babel/types": "^7.24.9",
+ "@babel/types": "^7.25.0",
"@jridgewell/gen-mapping": "^0.3.5",
"@jridgewell/trace-mapping": "^0.3.25",
"jsesc": "^2.5.1"
@@ -170,6 +206,31 @@
"node": ">=6.9.0"
}
},
+ "node_modules/@babel/helper-annotate-as-pure": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.24.7.tgz",
+ "integrity": "sha512-BaDeOonYvhdKw+JoMVkAixAAJzG2jVPIwWoKBPdYuY9b452e2rPuI9QPYh3KpofZ3pW2akOmwZLOiOsHMiqRAg==",
+ "dev": true,
+ "dependencies": {
+ "@babel/types": "^7.24.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-builder-binary-assignment-operator-visitor": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.24.7.tgz",
+ "integrity": "sha512-xZeCVVdwb4MsDBkkyZ64tReWYrLRHlMN72vP7Bdm3OUOuyFZExhsHUUnuWnm2/XOlAJzR0LfPpB56WXZn0X/lA==",
+ "dev": true,
+ "dependencies": {
+ "@babel/traverse": "^7.24.7",
+ "@babel/types": "^7.24.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
"node_modules/@babel/helper-compilation-targets": {
"version": "7.24.8",
"resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.24.8.tgz",
@@ -186,35 +247,68 @@
"node": ">=6.9.0"
}
},
- "node_modules/@babel/helper-environment-visitor": {
- "version": "7.24.7",
- "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.24.7.tgz",
- "integrity": "sha512-DoiN84+4Gnd0ncbBOM9AZENV4a5ZiL39HYMyZJGZ/AZEykHYdJw0wW3kdcsh9/Kn+BRXHLkkklZ51ecPKmI1CQ==",
+ "node_modules/@babel/helper-create-class-features-plugin": {
+ "version": "7.25.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.25.0.tgz",
+ "integrity": "sha512-GYM6BxeQsETc9mnct+nIIpf63SAyzvyYN7UB/IlTyd+MBg06afFGp0mIeUqGyWgS2mxad6vqbMrHVlaL3m70sQ==",
+ "dev": true,
"dependencies": {
- "@babel/types": "^7.24.7"
+ "@babel/helper-annotate-as-pure": "^7.24.7",
+ "@babel/helper-member-expression-to-functions": "^7.24.8",
+ "@babel/helper-optimise-call-expression": "^7.24.7",
+ "@babel/helper-replace-supers": "^7.25.0",
+ "@babel/helper-skip-transparent-expression-wrappers": "^7.24.7",
+ "@babel/traverse": "^7.25.0",
+ "semver": "^6.3.1"
},
"engines": {
"node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
}
},
- "node_modules/@babel/helper-function-name": {
- "version": "7.24.7",
- "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.24.7.tgz",
- "integrity": "sha512-FyoJTsj/PEUWu1/TYRiXTIHc8lbw+TDYkZuoE43opPS5TrI7MyONBE1oNvfguEXAD9yhQRrVBnXdXzSLQl9XnA==",
+ "node_modules/@babel/helper-create-regexp-features-plugin": {
+ "version": "7.25.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.25.0.tgz",
+ "integrity": "sha512-q0T+dknZS+L5LDazIP+02gEZITG5unzvb6yIjcmj5i0eFrs5ToBV2m2JGH4EsE/gtP8ygEGLGApBgRIZkTm7zg==",
+ "dev": true,
"dependencies": {
- "@babel/template": "^7.24.7",
- "@babel/types": "^7.24.7"
+ "@babel/helper-annotate-as-pure": "^7.24.7",
+ "regexpu-core": "^5.3.1",
+ "semver": "^6.3.1"
},
"engines": {
"node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
}
},
- "node_modules/@babel/helper-hoist-variables": {
- "version": "7.24.7",
- "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.24.7.tgz",
- "integrity": "sha512-MJJwhkoGy5c4ehfoRyrJ/owKeMl19U54h27YYftT0o2teQ3FJ3nQUf/I3LlJsX4l3qlw7WRXUmiyajvHXoTubQ==",
+ "node_modules/@babel/helper-define-polyfill-provider": {
+ "version": "0.6.2",
+ "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.6.2.tgz",
+ "integrity": "sha512-LV76g+C502biUK6AyZ3LK10vDpDyCzZnhZFXkH1L75zHPj68+qc8Zfpx2th+gzwA2MzyK+1g/3EPl62yFnVttQ==",
+ "dev": true,
"dependencies": {
- "@babel/types": "^7.24.7"
+ "@babel/helper-compilation-targets": "^7.22.6",
+ "@babel/helper-plugin-utils": "^7.22.5",
+ "debug": "^4.1.1",
+ "lodash.debounce": "^4.0.8",
+ "resolve": "^1.14.2"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0"
+ }
+ },
+ "node_modules/@babel/helper-member-expression-to-functions": {
+ "version": "7.24.8",
+ "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.24.8.tgz",
+ "integrity": "sha512-LABppdt+Lp/RlBxqrh4qgf1oEH/WxdzQNDJIu5gC/W1GyvPVrOBiItmmM8wan2fm4oYqFuFfkXmlGpLQhPY8CA==",
+ "dev": true,
+ "dependencies": {
+ "@babel/traverse": "^7.24.8",
+ "@babel/types": "^7.24.8"
},
"engines": {
"node": ">=6.9.0"
@@ -233,16 +327,15 @@
}
},
"node_modules/@babel/helper-module-transforms": {
- "version": "7.24.9",
- "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.24.9.tgz",
- "integrity": "sha512-oYbh+rtFKj/HwBQkFlUzvcybzklmVdVV3UU+mN7n2t/q3yGHbuVdNxyFvSBO1tfvjyArpHNcWMAzsSPdyI46hw==",
+ "version": "7.25.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.25.0.tgz",
+ "integrity": "sha512-bIkOa2ZJYn7FHnepzr5iX9Kmz8FjIz4UKzJ9zhX3dnYuVW0xul9RuR3skBfoLu+FPTQw90EHW9rJsSZhyLQ3fQ==",
"dev": true,
"dependencies": {
- "@babel/helper-environment-visitor": "^7.24.7",
"@babel/helper-module-imports": "^7.24.7",
"@babel/helper-simple-access": "^7.24.7",
- "@babel/helper-split-export-declaration": "^7.24.7",
- "@babel/helper-validator-identifier": "^7.24.7"
+ "@babel/helper-validator-identifier": "^7.24.7",
+ "@babel/traverse": "^7.25.0"
},
"engines": {
"node": ">=6.9.0"
@@ -251,6 +344,18 @@
"@babel/core": "^7.0.0"
}
},
+ "node_modules/@babel/helper-optimise-call-expression": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.24.7.tgz",
+ "integrity": "sha512-jKiTsW2xmWwxT1ixIdfXUZp+P5yURx2suzLZr5Hi64rURpDYdMW0pv+Uf17EYk2Rd428Lx4tLsnjGJzYKDM/6A==",
+ "dev": true,
+ "dependencies": {
+ "@babel/types": "^7.24.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
"node_modules/@babel/helper-plugin-utils": {
"version": "7.24.8",
"resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.8.tgz",
@@ -260,6 +365,40 @@
"node": ">=6.9.0"
}
},
+ "node_modules/@babel/helper-remap-async-to-generator": {
+ "version": "7.25.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.25.0.tgz",
+ "integrity": "sha512-NhavI2eWEIz/H9dbrG0TuOicDhNexze43i5z7lEqwYm0WEZVTwnPpA0EafUTP7+6/W79HWIP2cTe3Z5NiSTVpw==",
+ "dev": true,
+ "dependencies": {
+ "@babel/helper-annotate-as-pure": "^7.24.7",
+ "@babel/helper-wrap-function": "^7.25.0",
+ "@babel/traverse": "^7.25.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/@babel/helper-replace-supers": {
+ "version": "7.25.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.25.0.tgz",
+ "integrity": "sha512-q688zIvQVYtZu+i2PsdIu/uWGRpfxzr5WESsfpShfZECkO+d2o+WROWezCi/Q6kJ0tfPa5+pUGUlfx2HhrA3Bg==",
+ "dev": true,
+ "dependencies": {
+ "@babel/helper-member-expression-to-functions": "^7.24.8",
+ "@babel/helper-optimise-call-expression": "^7.24.7",
+ "@babel/traverse": "^7.25.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
"node_modules/@babel/helper-simple-access": {
"version": "7.24.7",
"resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.24.7.tgz",
@@ -273,11 +412,13 @@
"node": ">=6.9.0"
}
},
- "node_modules/@babel/helper-split-export-declaration": {
+ "node_modules/@babel/helper-skip-transparent-expression-wrappers": {
"version": "7.24.7",
- "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.24.7.tgz",
- "integrity": "sha512-oy5V7pD+UvfkEATUKvIjvIAH/xCzfsFVw7ygW2SI6NClZzquT+mwdTfgfdbUiceh6iQO0CHtCPsyze/MZ2YbAA==",
+ "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.24.7.tgz",
+ "integrity": "sha512-IO+DLT3LQUElMbpzlatRASEyQtfhSE0+m465v++3jyyXeBTBUjtVZg28/gHeV5mrTJqvEKhKroBGAvhW+qPHiQ==",
+ "dev": true,
"dependencies": {
+ "@babel/traverse": "^7.24.7",
"@babel/types": "^7.24.7"
},
"engines": {
@@ -309,6 +450,20 @@
"node": ">=6.9.0"
}
},
+ "node_modules/@babel/helper-wrap-function": {
+ "version": "7.25.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.25.0.tgz",
+ "integrity": "sha512-s6Q1ebqutSiZnEjaofc/UKDyC4SbzV5n5SrA2Gq8UawLycr3i04f1dX4OzoQVnexm6aOCh37SQNYlJ/8Ku+PMQ==",
+ "dev": true,
+ "dependencies": {
+ "@babel/template": "^7.25.0",
+ "@babel/traverse": "^7.25.0",
+ "@babel/types": "^7.25.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
"node_modules/@babel/helpers": {
"version": "7.24.8",
"resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.8.tgz",
@@ -401,9 +556,9 @@
}
},
"node_modules/@babel/parser": {
- "version": "7.24.8",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.8.tgz",
- "integrity": "sha512-WzfbgXOkGzZiXXCqk43kKwZjzwx4oulxZi3nq2TYL9mOjQv6kYwul9mz6ID36njuL7Xkp6nJEfok848Zj10j/w==",
+ "version": "7.25.0",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.0.tgz",
+ "integrity": "sha512-CzdIU9jdP0dg7HdyB+bHvDJGagUv+qtzZt5rYCWwW6tITNqV9odjp6Qu41gkG0ca5UfdDUWrKkiAnHHdGRnOrA==",
"bin": {
"parser": "bin/babel-parser.js"
},
@@ -411,1688 +566,1990 @@
"node": ">=6.0.0"
}
},
- "node_modules/@babel/plugin-transform-react-jsx-self": {
- "version": "7.24.7",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.24.7.tgz",
- "integrity": "sha512-fOPQYbGSgH0HUp4UJO4sMBFjY6DuWq+2i8rixyUMb3CdGixs/gccURvYOAhajBdKDoGajFr3mUq5rH3phtkGzw==",
+ "node_modules/@babel/plugin-bugfix-firefox-class-in-computed-class-key": {
+ "version": "7.25.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-firefox-class-in-computed-class-key/-/plugin-bugfix-firefox-class-in-computed-class-key-7.25.0.tgz",
+ "integrity": "sha512-dG0aApncVQwAUJa8tP1VHTnmU67BeIQvKafd3raEx315H54FfkZSz3B/TT+33ZQAjatGJA79gZqTtqL5QZUKXw==",
"dev": true,
"dependencies": {
- "@babel/helper-plugin-utils": "^7.24.7"
+ "@babel/helper-plugin-utils": "^7.24.8",
+ "@babel/traverse": "^7.25.0"
},
"engines": {
"node": ">=6.9.0"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@babel/core": "^7.0.0"
}
},
- "node_modules/@babel/plugin-transform-react-jsx-source": {
- "version": "7.24.7",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.24.7.tgz",
- "integrity": "sha512-J2z+MWzZHVOemyLweMqngXrgGC42jQ//R0KdxqkIz/OrbVIIlhFI3WigZ5fO+nwFvBlncr4MGapd8vTyc7RPNQ==",
+ "node_modules/@babel/plugin-bugfix-safari-class-field-initializer-scope": {
+ "version": "7.25.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-class-field-initializer-scope/-/plugin-bugfix-safari-class-field-initializer-scope-7.25.0.tgz",
+ "integrity": "sha512-Bm4bH2qsX880b/3ziJ8KD711LT7z4u8CFudmjqle65AZj/HNUFhEf90dqYv6O86buWvSBmeQDjv0Tn2aF/bIBA==",
"dev": true,
"dependencies": {
- "@babel/helper-plugin-utils": "^7.24.7"
+ "@babel/helper-plugin-utils": "^7.24.8"
},
"engines": {
"node": ">=6.9.0"
},
"peerDependencies": {
- "@babel/core": "^7.0.0-0"
+ "@babel/core": "^7.0.0"
}
},
- "node_modules/@babel/runtime": {
- "version": "7.24.8",
- "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.8.tgz",
- "integrity": "sha512-5F7SDGs1T72ZczbRwbGO9lQi0NLjQxzl6i4lJxLxfW9U5UluCSyEJeniWvnhl3/euNiqQVbo8zruhsDfid0esA==",
+ "node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": {
+ "version": "7.25.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.25.0.tgz",
+ "integrity": "sha512-lXwdNZtTmeVOOFtwM/WDe7yg1PL8sYhRk/XH0FzbR2HDQ0xC+EnQ/JHeoMYSavtU115tnUk0q9CDyq8si+LMAA==",
+ "dev": true,
"dependencies": {
- "regenerator-runtime": "^0.14.0"
+ "@babel/helper-plugin-utils": "^7.24.8"
},
"engines": {
"node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
}
},
- "node_modules/@babel/template": {
+ "node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": {
"version": "7.24.7",
- "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.24.7.tgz",
- "integrity": "sha512-jYqfPrU9JTF0PmPy1tLYHW4Mp4KlgxJD9l2nP9fD6yT/ICi554DmrWBAEYpIelzjHf1msDP3PxJIRt/nFNfBig==",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.24.7.tgz",
+ "integrity": "sha512-+izXIbke1T33mY4MSNnrqhPXDz01WYhEf3yF5NbnUtkiNnm+XBZJl3kNfoK6NKmYlz/D07+l2GWVK/QfDkNCuQ==",
+ "dev": true,
"dependencies": {
- "@babel/code-frame": "^7.24.7",
- "@babel/parser": "^7.24.7",
- "@babel/types": "^7.24.7"
+ "@babel/helper-plugin-utils": "^7.24.7",
+ "@babel/helper-skip-transparent-expression-wrappers": "^7.24.7",
+ "@babel/plugin-transform-optional-chaining": "^7.24.7"
},
"engines": {
"node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.13.0"
}
},
- "node_modules/@babel/traverse": {
- "version": "7.24.8",
- "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.24.8.tgz",
- "integrity": "sha512-t0P1xxAPzEDcEPmjprAQq19NWum4K0EQPjMwZQZbHt+GiZqvjCHjj755Weq1YRPVzBI+3zSfvScfpnuIecVFJQ==",
+ "node_modules/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": {
+ "version": "7.25.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.25.0.tgz",
+ "integrity": "sha512-tggFrk1AIShG/RUQbEwt2Tr/E+ObkfwrPjR6BjbRvsx24+PSjK8zrq0GWPNCjo8qpRx4DuJzlcvWJqlm+0h3kw==",
+ "dev": true,
"dependencies": {
- "@babel/code-frame": "^7.24.7",
- "@babel/generator": "^7.24.8",
- "@babel/helper-environment-visitor": "^7.24.7",
- "@babel/helper-function-name": "^7.24.7",
- "@babel/helper-hoist-variables": "^7.24.7",
- "@babel/helper-split-export-declaration": "^7.24.7",
- "@babel/parser": "^7.24.8",
- "@babel/types": "^7.24.8",
- "debug": "^4.3.1",
- "globals": "^11.1.0"
+ "@babel/helper-plugin-utils": "^7.24.8",
+ "@babel/traverse": "^7.25.0"
},
"engines": {
"node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
}
},
- "node_modules/@babel/types": {
- "version": "7.24.9",
- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.24.9.tgz",
- "integrity": "sha512-xm8XrMKz0IlUdocVbYJe0Z9xEgidU7msskG8BbhnTPK/HZ2z/7FP7ykqPgrUH+C+r414mNfNWam1f2vqOjqjYQ==",
+ "node_modules/@babel/plugin-proposal-class-properties": {
+ "version": "7.18.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.18.6.tgz",
+ "integrity": "sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ==",
+ "deprecated": "This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.",
+ "dev": true,
"dependencies": {
- "@babel/helper-string-parser": "^7.24.8",
- "@babel/helper-validator-identifier": "^7.24.7",
- "to-fast-properties": "^2.0.0"
+ "@babel/helper-create-class-features-plugin": "^7.18.6",
+ "@babel/helper-plugin-utils": "^7.18.6"
},
"engines": {
"node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@emotion/babel-plugin": {
- "version": "11.11.0",
- "resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.11.0.tgz",
- "integrity": "sha512-m4HEDZleaaCH+XgDDsPF15Ht6wTLsgDTeR3WYj9Q/k76JtWhrJjcP4+/XlG8LGT/Rol9qUfOIztXeA84ATpqPQ==",
+ "node_modules/@babel/plugin-proposal-decorators": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.24.7.tgz",
+ "integrity": "sha512-RL9GR0pUG5Kc8BUWLNDm2T5OpYwSX15r98I0IkgmRQTXuELq/OynH8xtMTMvTJFjXbMWFVTKtYkTaYQsuAwQlQ==",
+ "dev": true,
"dependencies": {
- "@babel/helper-module-imports": "^7.16.7",
- "@babel/runtime": "^7.18.3",
- "@emotion/hash": "^0.9.1",
- "@emotion/memoize": "^0.8.1",
- "@emotion/serialize": "^1.1.2",
- "babel-plugin-macros": "^3.1.0",
- "convert-source-map": "^1.5.0",
- "escape-string-regexp": "^4.0.0",
- "find-root": "^1.1.0",
- "source-map": "^0.5.7",
- "stylis": "4.2.0"
+ "@babel/helper-create-class-features-plugin": "^7.24.7",
+ "@babel/helper-plugin-utils": "^7.24.7",
+ "@babel/plugin-syntax-decorators": "^7.24.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@emotion/babel-plugin/node_modules/convert-source-map": {
- "version": "1.9.0",
- "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz",
- "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A=="
- },
- "node_modules/@emotion/cache": {
- "version": "11.11.0",
- "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.11.0.tgz",
- "integrity": "sha512-P34z9ssTCBi3e9EI1ZsWpNHcfY1r09ZO0rZbRO2ob3ZQMnFI35jB536qoXbkdesr5EUhYi22anuEJuyxifaqAQ==",
+ "node_modules/@babel/plugin-proposal-nullish-coalescing-operator": {
+ "version": "7.18.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.18.6.tgz",
+ "integrity": "sha512-wQxQzxYeJqHcfppzBDnm1yAY0jSRkUXR2z8RePZYrKwMKgMlE8+Z6LUno+bd6LvbGh8Gltvy74+9pIYkr+XkKA==",
+ "deprecated": "This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.",
+ "dev": true,
"dependencies": {
- "@emotion/memoize": "^0.8.1",
- "@emotion/sheet": "^1.2.2",
- "@emotion/utils": "^1.2.1",
- "@emotion/weak-memoize": "^0.3.1",
- "stylis": "4.2.0"
+ "@babel/helper-plugin-utils": "^7.18.6",
+ "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@emotion/hash": {
- "version": "0.9.1",
- "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.1.tgz",
- "integrity": "sha512-gJB6HLm5rYwSLI6PQa+X1t5CFGrv1J1TWG+sOyMCeKz2ojaj6Fnl/rZEspogG+cvqbt4AE/2eIyD2QfLKTBNlQ=="
- },
- "node_modules/@emotion/is-prop-valid": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.1.tgz",
- "integrity": "sha512-61Mf7Ufx4aDxx1xlDeOm8aFFigGHE4z+0sKCa+IHCeZKiyP9RLD0Mmx7m8b9/Cf37f7NAvQOOJAbQQGVr5uERw==",
+ "node_modules/@babel/plugin-proposal-numeric-separator": {
+ "version": "7.18.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.18.6.tgz",
+ "integrity": "sha512-ozlZFogPqoLm8WBr5Z8UckIoE4YQ5KESVcNudyXOR8uqIkliTEgJ3RoketfG6pmzLdeZF0H/wjE9/cCEitBl7Q==",
+ "deprecated": "This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead.",
+ "dev": true,
"dependencies": {
- "@emotion/memoize": "^0.8.1"
+ "@babel/helper-plugin-utils": "^7.18.6",
+ "@babel/plugin-syntax-numeric-separator": "^7.10.4"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@emotion/memoize": {
- "version": "0.8.1",
- "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.1.tgz",
- "integrity": "sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA=="
- },
- "node_modules/@emotion/react": {
- "version": "11.11.3",
- "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.11.3.tgz",
- "integrity": "sha512-Cnn0kuq4DoONOMcnoVsTOR8E+AdnKFf//6kUWc4LCdnxj31pZWn7rIULd6Y7/Js1PiPHzn7SKCM9vB/jBni8eA==",
+ "node_modules/@babel/plugin-proposal-optional-chaining": {
+ "version": "7.21.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.21.0.tgz",
+ "integrity": "sha512-p4zeefM72gpmEe2fkUr/OnOXpWEf8nAgk7ZYVqqfFiyIG7oFfVZcCrU64hWn5xp4tQ9LkV4bTIa5rD0KANpKNA==",
+ "deprecated": "This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.",
+ "dev": true,
"dependencies": {
- "@babel/runtime": "^7.18.3",
- "@emotion/babel-plugin": "^11.11.0",
- "@emotion/cache": "^11.11.0",
- "@emotion/serialize": "^1.1.3",
- "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1",
- "@emotion/utils": "^1.2.1",
- "@emotion/weak-memoize": "^0.3.1",
- "hoist-non-react-statics": "^3.3.1"
+ "@babel/helper-plugin-utils": "^7.20.2",
+ "@babel/helper-skip-transparent-expression-wrappers": "^7.20.0",
+ "@babel/plugin-syntax-optional-chaining": "^7.8.3"
},
- "peerDependencies": {
- "react": ">=16.8.0"
+ "engines": {
+ "node": ">=6.9.0"
},
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@emotion/serialize": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.3.tgz",
- "integrity": "sha512-iD4D6QVZFDhcbH0RAG1uVu1CwVLMWUkCvAqqlewO/rxf8+87yIBAlt4+AxMiiKPLs5hFc0owNk/sLLAOROw3cA==",
+ "node_modules/@babel/plugin-proposal-private-methods": {
+ "version": "7.18.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.18.6.tgz",
+ "integrity": "sha512-nutsvktDItsNn4rpGItSNV2sz1XwS+nfU0Rg8aCx3W3NOKVzdMjJRu0O5OkgDp3ZGICSTbgRpxZoWsxoKRvbeA==",
+ "deprecated": "This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-methods instead.",
+ "dev": true,
"dependencies": {
- "@emotion/hash": "^0.9.1",
- "@emotion/memoize": "^0.8.1",
- "@emotion/unitless": "^0.8.1",
- "@emotion/utils": "^1.2.1",
- "csstype": "^3.0.2"
- }
- },
- "node_modules/@emotion/sheet": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.2.tgz",
- "integrity": "sha512-0QBtGvaqtWi+nx6doRwDdBIzhNdZrXUppvTM4dtZZWEGTXL/XE/yJxLMGlDT1Gt+UHH5IX1n+jkXyytE/av7OA=="
- },
- "node_modules/@emotion/styled": {
- "version": "11.11.0",
- "resolved": "https://registry.npmjs.org/@emotion/styled/-/styled-11.11.0.tgz",
- "integrity": "sha512-hM5Nnvu9P3midq5aaXj4I+lnSfNi7Pmd4EWk1fOZ3pxookaQTNew6bp4JaCBYM4HVFZF9g7UjJmsUmC2JlxOng==",
- "dependencies": {
- "@babel/runtime": "^7.18.3",
- "@emotion/babel-plugin": "^11.11.0",
- "@emotion/is-prop-valid": "^1.2.1",
- "@emotion/serialize": "^1.1.2",
- "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1",
- "@emotion/utils": "^1.2.1"
+ "@babel/helper-create-class-features-plugin": "^7.18.6",
+ "@babel/helper-plugin-utils": "^7.18.6"
},
- "peerDependencies": {
- "@emotion/react": "^11.0.0-rc.0",
- "react": ">=16.8.0"
+ "engines": {
+ "node": ">=6.9.0"
},
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@emotion/unitless": {
- "version": "0.8.1",
- "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.1.tgz",
- "integrity": "sha512-KOEGMu6dmJZtpadb476IsZBclKvILjopjUii3V+7MnXIQCYh8W3NgNcgwo21n9LXZX6EDIKvqfjYxXebDwxKmQ=="
- },
- "node_modules/@emotion/use-insertion-effect-with-fallbacks": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.1.tgz",
- "integrity": "sha512-jT/qyKZ9rzLErtrjGgdkMBn2OP8wl0G3sQlBb3YPryvKHsjvINUhVaPFfP+fpBcOkmrVOVEEHQFJ7nbj2TH2gw==",
+ "node_modules/@babel/plugin-proposal-private-property-in-object": {
+ "version": "7.21.0-placeholder-for-preset-env.2",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.0-placeholder-for-preset-env.2.tgz",
+ "integrity": "sha512-SOSkfJDddaM7mak6cPEpswyTRnuRltl429hMraQEglW+OkovnCzsiszTmsrlY//qLFjCpQDFRvjdm2wA5pPm9w==",
+ "dev": true,
+ "engines": {
+ "node": ">=6.9.0"
+ },
"peerDependencies": {
- "react": ">=16.8.0"
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@emotion/utils": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.1.tgz",
- "integrity": "sha512-Y2tGf3I+XVnajdItskUCn6LX+VUDmP6lTL4fcqsXAv43dnlbZiuW4MWQW38rW/BVWSE7Q/7+XQocmpnRYILUmg=="
+ "node_modules/@babel/plugin-syntax-async-generators": {
+ "version": "7.8.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz",
+ "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==",
+ "dev": true,
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.8.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
},
- "node_modules/@emotion/weak-memoize": {
- "version": "0.3.1",
- "resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.1.tgz",
- "integrity": "sha512-EsBwpc7hBUJWAsNPBmJy4hxWx12v6bshQsldrVmjxJoc3isbxhOrF2IcCpaXxfvq03NwkI7sbsOLXbYuqF/8Ww=="
+ "node_modules/@babel/plugin-syntax-class-properties": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz",
+ "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==",
+ "dev": true,
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.12.13"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
},
- "node_modules/@esbuild/aix-ppc64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz",
- "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==",
- "cpu": [
- "ppc64"
- ],
+ "node_modules/@babel/plugin-syntax-class-static-block": {
+ "version": "7.14.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz",
+ "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==",
"dev": true,
- "optional": true,
- "os": [
- "aix"
- ],
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.14.5"
+ },
"engines": {
- "node": ">=12"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@esbuild/android-arm": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz",
- "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==",
- "cpu": [
- "arm"
- ],
+ "node_modules/@babel/plugin-syntax-decorators": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.24.7.tgz",
+ "integrity": "sha512-Ui4uLJJrRV1lb38zg1yYTmRKmiZLiftDEvZN2iq3kd9kUFU+PttmzTbAFC2ucRk/XJmtek6G23gPsuZbhrT8fQ==",
"dev": true,
- "optional": true,
- "os": [
- "android"
- ],
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.24.7"
+ },
"engines": {
- "node": ">=12"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@esbuild/android-arm64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz",
- "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==",
- "cpu": [
- "arm64"
- ],
+ "node_modules/@babel/plugin-syntax-dynamic-import": {
+ "version": "7.8.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz",
+ "integrity": "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==",
"dev": true,
- "optional": true,
- "os": [
- "android"
- ],
- "engines": {
- "node": ">=12"
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.8.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@esbuild/android-x64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz",
- "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==",
- "cpu": [
- "x64"
- ],
+ "node_modules/@babel/plugin-syntax-export-namespace-from": {
+ "version": "7.8.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz",
+ "integrity": "sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==",
"dev": true,
- "optional": true,
- "os": [
- "android"
- ],
- "engines": {
- "node": ">=12"
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.8.3"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@esbuild/darwin-arm64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz",
- "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==",
- "cpu": [
- "arm64"
- ],
+ "node_modules/@babel/plugin-syntax-flow": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.24.7.tgz",
+ "integrity": "sha512-9G8GYT/dxn/D1IIKOUBmGX0mnmj46mGH9NnZyJLwtCpgh5f7D2VbuKodb+2s9m1Yavh1s7ASQN8lf0eqrb1LTw==",
"dev": true,
- "optional": true,
- "os": [
- "darwin"
- ],
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.24.7"
+ },
"engines": {
- "node": ">=12"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@esbuild/darwin-x64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz",
- "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==",
- "cpu": [
- "x64"
- ],
+ "node_modules/@babel/plugin-syntax-import-assertions": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.24.7.tgz",
+ "integrity": "sha512-Ec3NRUMoi8gskrkBe3fNmEQfxDvY8bgfQpz6jlk/41kX9eUjvpyqWU7PBP/pLAvMaSQjbMNKJmvX57jP+M6bPg==",
"dev": true,
- "optional": true,
- "os": [
- "darwin"
- ],
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.24.7"
+ },
"engines": {
- "node": ">=12"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@esbuild/freebsd-arm64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz",
- "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==",
- "cpu": [
- "arm64"
- ],
+ "node_modules/@babel/plugin-syntax-import-attributes": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.24.7.tgz",
+ "integrity": "sha512-hbX+lKKeUMGihnK8nvKqmXBInriT3GVjzXKFriV3YC6APGxMbP8RZNFwy91+hocLXq90Mta+HshoB31802bb8A==",
"dev": true,
- "optional": true,
- "os": [
- "freebsd"
- ],
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.24.7"
+ },
"engines": {
- "node": ">=12"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@esbuild/freebsd-x64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz",
- "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==",
- "cpu": [
- "x64"
- ],
+ "node_modules/@babel/plugin-syntax-import-meta": {
+ "version": "7.10.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz",
+ "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==",
"dev": true,
- "optional": true,
- "os": [
- "freebsd"
- ],
- "engines": {
- "node": ">=12"
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.10.4"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@esbuild/linux-arm": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz",
- "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==",
- "cpu": [
- "arm"
- ],
+ "node_modules/@babel/plugin-syntax-json-strings": {
+ "version": "7.8.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz",
+ "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==",
"dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=12"
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.8.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@esbuild/linux-arm64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz",
- "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==",
- "cpu": [
- "arm64"
- ],
+ "node_modules/@babel/plugin-syntax-jsx": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.24.7.tgz",
+ "integrity": "sha512-6ddciUPe/mpMnOKv/U+RSd2vvVy+Yw/JfBB0ZHYjEZt9NLHmCUylNYlsbqCCS1Bffjlb0fCwC9Vqz+sBz6PsiQ==",
"dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.24.7"
+ },
"engines": {
- "node": ">=12"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@esbuild/linux-ia32": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz",
- "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==",
- "cpu": [
- "ia32"
- ],
+ "node_modules/@babel/plugin-syntax-logical-assignment-operators": {
+ "version": "7.10.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz",
+ "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==",
"dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=12"
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.10.4"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@esbuild/linux-loong64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz",
- "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==",
- "cpu": [
- "loong64"
- ],
+ "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": {
+ "version": "7.8.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz",
+ "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==",
"dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=12"
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.8.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@esbuild/linux-mips64el": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz",
- "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==",
- "cpu": [
- "mips64el"
- ],
+ "node_modules/@babel/plugin-syntax-numeric-separator": {
+ "version": "7.10.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz",
+ "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==",
"dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=12"
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.10.4"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@esbuild/linux-ppc64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz",
- "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==",
- "cpu": [
- "ppc64"
- ],
+ "node_modules/@babel/plugin-syntax-object-rest-spread": {
+ "version": "7.8.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz",
+ "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==",
"dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=12"
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.8.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@esbuild/linux-riscv64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz",
- "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==",
- "cpu": [
- "riscv64"
- ],
+ "node_modules/@babel/plugin-syntax-optional-catch-binding": {
+ "version": "7.8.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz",
+ "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==",
"dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=12"
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.8.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@esbuild/linux-s390x": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz",
- "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==",
- "cpu": [
- "s390x"
- ],
+ "node_modules/@babel/plugin-syntax-optional-chaining": {
+ "version": "7.8.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz",
+ "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==",
"dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=12"
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.8.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@esbuild/linux-x64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz",
- "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==",
- "cpu": [
- "x64"
- ],
+ "node_modules/@babel/plugin-syntax-private-property-in-object": {
+ "version": "7.14.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz",
+ "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==",
"dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.14.5"
+ },
"engines": {
- "node": ">=12"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@esbuild/netbsd-x64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz",
- "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==",
- "cpu": [
- "x64"
- ],
+ "node_modules/@babel/plugin-syntax-top-level-await": {
+ "version": "7.14.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz",
+ "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==",
"dev": true,
- "optional": true,
- "os": [
- "netbsd"
- ],
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.14.5"
+ },
"engines": {
- "node": ">=12"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@esbuild/openbsd-x64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz",
- "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==",
- "cpu": [
- "x64"
- ],
+ "node_modules/@babel/plugin-syntax-typescript": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.24.7.tgz",
+ "integrity": "sha512-c/+fVeJBB0FeKsFvwytYiUD+LBvhHjGSI0g446PRGdSVGZLRNArBUno2PETbAly3tpiNAQR5XaZ+JslxkotsbA==",
"dev": true,
- "optional": true,
- "os": [
- "openbsd"
- ],
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.24.7"
+ },
"engines": {
- "node": ">=12"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@esbuild/sunos-x64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz",
- "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==",
- "cpu": [
- "x64"
- ],
+ "node_modules/@babel/plugin-syntax-unicode-sets-regex": {
+ "version": "7.18.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-unicode-sets-regex/-/plugin-syntax-unicode-sets-regex-7.18.6.tgz",
+ "integrity": "sha512-727YkEAPwSIQTv5im8QHz3upqp92JTWhidIC81Tdx4VJYIte/VndKf1qKrfnnhPLiPghStWfvC/iFaMCQu7Nqg==",
"dev": true,
- "optional": true,
- "os": [
- "sunos"
- ],
+ "dependencies": {
+ "@babel/helper-create-regexp-features-plugin": "^7.18.6",
+ "@babel/helper-plugin-utils": "^7.18.6"
+ },
"engines": {
- "node": ">=12"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
}
},
- "node_modules/@esbuild/win32-arm64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz",
- "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==",
- "cpu": [
- "arm64"
- ],
+ "node_modules/@babel/plugin-transform-arrow-functions": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.24.7.tgz",
+ "integrity": "sha512-Dt9LQs6iEY++gXUwY03DNFat5C2NbO48jj+j/bSAz6b3HgPs39qcPiYt77fDObIcFwj3/C2ICX9YMwGflUoSHQ==",
"dev": true,
- "optional": true,
- "os": [
- "win32"
- ],
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.24.7"
+ },
"engines": {
- "node": ">=12"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@esbuild/win32-ia32": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz",
- "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==",
- "cpu": [
- "ia32"
- ],
+ "node_modules/@babel/plugin-transform-async-generator-functions": {
+ "version": "7.25.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.25.0.tgz",
+ "integrity": "sha512-uaIi2FdqzjpAMvVqvB51S42oC2JEVgh0LDsGfZVDysWE8LrJtQC2jvKmOqEYThKyB7bDEb7BP1GYWDm7tABA0Q==",
"dev": true,
- "optional": true,
- "os": [
- "win32"
- ],
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.24.8",
+ "@babel/helper-remap-async-to-generator": "^7.25.0",
+ "@babel/plugin-syntax-async-generators": "^7.8.4",
+ "@babel/traverse": "^7.25.0"
+ },
"engines": {
- "node": ">=12"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@esbuild/win32-x64": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz",
- "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==",
- "cpu": [
- "x64"
- ],
+ "node_modules/@babel/plugin-transform-async-to-generator": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.24.7.tgz",
+ "integrity": "sha512-SQY01PcJfmQ+4Ash7NE+rpbLFbmqA2GPIgqzxfFTL4t1FKRq4zTms/7htKpoCUI9OcFYgzqfmCdH53s6/jn5fA==",
"dev": true,
- "optional": true,
- "os": [
- "win32"
- ],
+ "dependencies": {
+ "@babel/helper-module-imports": "^7.24.7",
+ "@babel/helper-plugin-utils": "^7.24.7",
+ "@babel/helper-remap-async-to-generator": "^7.24.7"
+ },
"engines": {
- "node": ">=12"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@faker-js/faker": {
- "version": "8.4.1",
- "resolved": "https://registry.npmjs.org/@faker-js/faker/-/faker-8.4.1.tgz",
- "integrity": "sha512-XQ3cU+Q8Uqmrbf2e0cIC/QN43sTBSC8KF12u29Mb47tWrt2hAgBXSgpZMj4Ao8Uk0iJcU99QsOCaIL8934obCg==",
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/fakerjs"
- }
- ],
+ "node_modules/@babel/plugin-transform-block-scoped-functions": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.24.7.tgz",
+ "integrity": "sha512-yO7RAz6EsVQDaBH18IDJcMB1HnrUn2FJ/Jslc/WtPPWcjhpUJXU/rjbwmluzp7v/ZzWcEhTMXELnnsz8djWDwQ==",
+ "dev": true,
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.24.7"
+ },
"engines": {
- "node": "^14.17.0 || ^16.13.0 || >=18.0.0",
- "npm": ">=6.14.13"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@hello-pangea/dnd": {
- "version": "16.6.0",
- "resolved": "https://registry.npmjs.org/@hello-pangea/dnd/-/dnd-16.6.0.tgz",
- "integrity": "sha512-vfZ4GydqbtUPXSLfAvKvXQ6xwRzIjUSjVU0Sx+70VOhc2xx6CdmJXJ8YhH70RpbTUGjxctslQTHul9sIOxCfFQ==",
+ "node_modules/@babel/plugin-transform-block-scoping": {
+ "version": "7.25.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.25.0.tgz",
+ "integrity": "sha512-yBQjYoOjXlFv9nlXb3f1casSHOZkWr29NX+zChVanLg5Nc157CrbEX9D7hxxtTpuFy7Q0YzmmWfJxzvps4kXrQ==",
+ "dev": true,
"dependencies": {
- "@babel/runtime": "^7.24.1",
- "css-box-model": "^1.2.1",
- "memoize-one": "^6.0.0",
- "raf-schd": "^4.0.3",
- "react-redux": "^8.1.3",
- "redux": "^4.2.1",
- "use-memo-one": "^1.1.3"
+ "@babel/helper-plugin-utils": "^7.24.8"
+ },
+ "engines": {
+ "node": ">=6.9.0"
},
"peerDependencies": {
- "react": "^16.8.5 || ^17.0.0 || ^18.0.0",
- "react-dom": "^16.8.5 || ^17.0.0 || ^18.0.0"
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@inquirer/checkbox": {
- "version": "2.4.3",
- "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-2.4.3.tgz",
- "integrity": "sha512-H/axC1lJAwFNQedx5z2boJi6ow73anqxJiS1Lld/I1LQ/Zvn0jldCjtR5yzl5KAzjYf0sHNRfJCELey5brk6cA==",
+ "node_modules/@babel/plugin-transform-class-properties": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.24.7.tgz",
+ "integrity": "sha512-vKbfawVYayKcSeSR5YYzzyXvsDFWU2mD8U5TFeXtbCPLFUqe7GyCgvO6XDHzje862ODrOwy6WCPmKeWHbCFJ4w==",
"dev": true,
"dependencies": {
- "@inquirer/core": "^9.0.6",
- "@inquirer/figures": "^1.0.5",
- "@inquirer/type": "^1.5.1",
- "ansi-escapes": "^4.3.2",
- "yoctocolors-cjs": "^2.1.2"
+ "@babel/helper-create-class-features-plugin": "^7.24.7",
+ "@babel/helper-plugin-utils": "^7.24.7"
},
"engines": {
- "node": ">=18"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@inquirer/checkbox/node_modules/ansi-escapes": {
- "version": "4.3.2",
- "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz",
- "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==",
+ "node_modules/@babel/plugin-transform-class-static-block": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.24.7.tgz",
+ "integrity": "sha512-HMXK3WbBPpZQufbMG4B46A90PkuuhN9vBCb5T8+VAHqvAqvcLi+2cKoukcpmUYkszLhScU3l1iudhrks3DggRQ==",
"dev": true,
"dependencies": {
- "type-fest": "^0.21.3"
+ "@babel/helper-create-class-features-plugin": "^7.24.7",
+ "@babel/helper-plugin-utils": "^7.24.7",
+ "@babel/plugin-syntax-class-static-block": "^7.14.5"
},
"engines": {
- "node": ">=8"
+ "node": ">=6.9.0"
},
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "peerDependencies": {
+ "@babel/core": "^7.12.0"
}
},
- "node_modules/@inquirer/checkbox/node_modules/type-fest": {
- "version": "0.21.3",
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz",
- "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==",
+ "node_modules/@babel/plugin-transform-classes": {
+ "version": "7.25.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.25.0.tgz",
+ "integrity": "sha512-xyi6qjr/fYU304fiRwFbekzkqVJZ6A7hOjWZd+89FVcBqPV3S9Wuozz82xdpLspckeaafntbzglaW4pqpzvtSw==",
"dev": true,
+ "dependencies": {
+ "@babel/helper-annotate-as-pure": "^7.24.7",
+ "@babel/helper-compilation-targets": "^7.24.8",
+ "@babel/helper-plugin-utils": "^7.24.8",
+ "@babel/helper-replace-supers": "^7.25.0",
+ "@babel/traverse": "^7.25.0",
+ "globals": "^11.1.0"
+ },
"engines": {
- "node": ">=10"
+ "node": ">=6.9.0"
},
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@inquirer/confirm": {
- "version": "3.1.18",
- "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-3.1.18.tgz",
- "integrity": "sha512-axDSeAtgRfMAOnI2NXJAcBliknRiPHBPBh8VpofFW2vSt5nxU/IoNcWfNBIs1LFwICyLzbvGjF3fd+rYLSU11w==",
+ "node_modules/@babel/plugin-transform-computed-properties": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.24.7.tgz",
+ "integrity": "sha512-25cS7v+707Gu6Ds2oY6tCkUwsJ9YIDbggd9+cu9jzzDgiNq7hR/8dkzxWfKWnTic26vsI3EsCXNd4iEB6e8esQ==",
"dev": true,
"dependencies": {
- "@inquirer/core": "^9.0.6",
- "@inquirer/type": "^1.5.1"
+ "@babel/helper-plugin-utils": "^7.24.7",
+ "@babel/template": "^7.24.7"
},
"engines": {
- "node": ">=18"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@inquirer/core": {
- "version": "9.0.6",
- "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-9.0.6.tgz",
- "integrity": "sha512-pmwIJJrtOBmP29JLPkdq5ORGGaSzOwZbashYyME20sD5AITiy2j3LFsnTXXuiqPIkq4XjQYOHzaExAmqjyU1Cg==",
+ "node_modules/@babel/plugin-transform-destructuring": {
+ "version": "7.24.8",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.24.8.tgz",
+ "integrity": "sha512-36e87mfY8TnRxc7yc6M9g9gOB7rKgSahqkIKwLpz4Ppk2+zC2Cy1is0uwtuSG6AE4zlTOUa+7JGz9jCJGLqQFQ==",
"dev": true,
"dependencies": {
- "@inquirer/figures": "^1.0.5",
- "@inquirer/type": "^1.5.1",
- "@types/mute-stream": "^0.0.4",
- "@types/node": "^20.14.13",
- "@types/wrap-ansi": "^3.0.0",
- "ansi-escapes": "^4.3.2",
- "cli-spinners": "^2.9.2",
- "cli-width": "^4.1.0",
- "mute-stream": "^1.0.0",
- "signal-exit": "^4.1.0",
- "strip-ansi": "^6.0.1",
- "wrap-ansi": "^6.2.0",
- "yoctocolors-cjs": "^2.1.2"
+ "@babel/helper-plugin-utils": "^7.24.8"
},
"engines": {
- "node": ">=18"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@inquirer/core/node_modules/ansi-escapes": {
- "version": "4.3.2",
- "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz",
- "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==",
+ "node_modules/@babel/plugin-transform-dotall-regex": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.24.7.tgz",
+ "integrity": "sha512-ZOA3W+1RRTSWvyqcMJDLqbchh7U4NRGqwRfFSVbOLS/ePIP4vHB5e8T8eXcuqyN1QkgKyj5wuW0lcS85v4CrSw==",
"dev": true,
"dependencies": {
- "type-fest": "^0.21.3"
+ "@babel/helper-create-regexp-features-plugin": "^7.24.7",
+ "@babel/helper-plugin-utils": "^7.24.7"
},
"engines": {
- "node": ">=8"
+ "node": ">=6.9.0"
},
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@inquirer/core/node_modules/type-fest": {
- "version": "0.21.3",
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz",
- "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==",
+ "node_modules/@babel/plugin-transform-duplicate-keys": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.24.7.tgz",
+ "integrity": "sha512-JdYfXyCRihAe46jUIliuL2/s0x0wObgwwiGxw/UbgJBr20gQBThrokO4nYKgWkD7uBaqM7+9x5TU7NkExZJyzw==",
"dev": true,
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.24.7"
+ },
"engines": {
- "node": ">=10"
+ "node": ">=6.9.0"
},
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@inquirer/core/node_modules/wrap-ansi": {
- "version": "6.2.0",
- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz",
- "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==",
+ "node_modules/@babel/plugin-transform-duplicate-named-capturing-groups-regex": {
+ "version": "7.25.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-named-capturing-groups-regex/-/plugin-transform-duplicate-named-capturing-groups-regex-7.25.0.tgz",
+ "integrity": "sha512-YLpb4LlYSc3sCUa35un84poXoraOiQucUTTu8X1j18JV+gNa8E0nyUf/CjZ171IRGr4jEguF+vzJU66QZhn29g==",
"dev": true,
"dependencies": {
- "ansi-styles": "^4.0.0",
- "string-width": "^4.1.0",
- "strip-ansi": "^6.0.0"
+ "@babel/helper-create-regexp-features-plugin": "^7.25.0",
+ "@babel/helper-plugin-utils": "^7.24.8"
},
"engines": {
- "node": ">=8"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
}
},
- "node_modules/@inquirer/editor": {
- "version": "2.1.18",
- "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-2.1.18.tgz",
- "integrity": "sha512-DwDgYZziNSw2icITM80LRpALeFFpV6flBOUkb0EYFOTb9TnH5xp15lcExVIIr8bzjnzcQ+tAXZXJ6S8ib1iv9A==",
+ "node_modules/@babel/plugin-transform-dynamic-import": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.24.7.tgz",
+ "integrity": "sha512-sc3X26PhZQDb3JhORmakcbvkeInvxz+A8oda99lj7J60QRuPZvNAk9wQlTBS1ZynelDrDmTU4pw1tyc5d5ZMUg==",
"dev": true,
"dependencies": {
- "@inquirer/core": "^9.0.6",
- "@inquirer/type": "^1.5.1",
- "external-editor": "^3.1.0"
+ "@babel/helper-plugin-utils": "^7.24.7",
+ "@babel/plugin-syntax-dynamic-import": "^7.8.3"
},
"engines": {
- "node": ">=18"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@inquirer/expand": {
- "version": "2.1.18",
- "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-2.1.18.tgz",
- "integrity": "sha512-sI2jq0ZeU7p6+4pOAHiaknj2M1DaMdRH3I+bH34pWirqgDXRwt1WRZrj9Ni3rjK6lgevsKybxESW2ESPt4ElEw==",
+ "node_modules/@babel/plugin-transform-exponentiation-operator": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.24.7.tgz",
+ "integrity": "sha512-Rqe/vSc9OYgDajNIK35u7ot+KeCoetqQYFXM4Epf7M7ez3lWlOjrDjrwMei6caCVhfdw+mIKD4cgdGNy5JQotQ==",
"dev": true,
"dependencies": {
- "@inquirer/core": "^9.0.6",
- "@inquirer/type": "^1.5.1",
- "yoctocolors-cjs": "^2.1.2"
+ "@babel/helper-builder-binary-assignment-operator-visitor": "^7.24.7",
+ "@babel/helper-plugin-utils": "^7.24.7"
},
"engines": {
- "node": ">=18"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@inquirer/figures": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.5.tgz",
- "integrity": "sha512-79hP/VWdZ2UVc9bFGJnoQ/lQMpL74mGgzSYX1xUqCVk7/v73vJCMw1VuyWN1jGkZ9B3z7THAbySqGbCNefcjfA==",
+ "node_modules/@babel/plugin-transform-export-namespace-from": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.24.7.tgz",
+ "integrity": "sha512-v0K9uNYsPL3oXZ/7F9NNIbAj2jv1whUEtyA6aujhekLs56R++JDQuzRcP2/z4WX5Vg/c5lE9uWZA0/iUoFhLTA==",
"dev": true,
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.24.7",
+ "@babel/plugin-syntax-export-namespace-from": "^7.8.3"
+ },
"engines": {
- "node": ">=18"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@inquirer/input": {
- "version": "2.2.5",
- "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-2.2.5.tgz",
- "integrity": "sha512-FGzf1xbxbshbKB75j6mSVu8XIsSoBNCWFQEeBNUYKsMPnQJi+VcxntmfkgdhW9LVAmSNQZKrgm3itbaQdAuwBA==",
+ "node_modules/@babel/plugin-transform-flow-strip-types": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.24.7.tgz",
+ "integrity": "sha512-cjRKJ7FobOH2eakx7Ja+KpJRj8+y+/SiB3ooYm/n2UJfxu0oEaOoxOinitkJcPqv9KxS0kxTGPUaR7L2XcXDXA==",
"dev": true,
"dependencies": {
- "@inquirer/core": "^9.0.6",
- "@inquirer/type": "^1.5.1"
+ "@babel/helper-plugin-utils": "^7.24.7",
+ "@babel/plugin-syntax-flow": "^7.24.7"
},
"engines": {
- "node": ">=18"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@inquirer/number": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-1.0.6.tgz",
- "integrity": "sha512-e0qI1hFGRT4HGhzvd/lUvio7knGoUsj7sN+vVLFUJNyIUCo21Z+avcwoyCdSWzt5OxA0hLdTBSLzlZi6lHOsEA==",
+ "node_modules/@babel/plugin-transform-for-of": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.24.7.tgz",
+ "integrity": "sha512-wo9ogrDG1ITTTBsy46oGiN1dS9A7MROBTcYsfS8DtsImMkHk9JXJ3EWQM6X2SUw4x80uGPlwj0o00Uoc6nEE3g==",
"dev": true,
"dependencies": {
- "@inquirer/core": "^9.0.6",
- "@inquirer/type": "^1.5.1"
+ "@babel/helper-plugin-utils": "^7.24.7",
+ "@babel/helper-skip-transparent-expression-wrappers": "^7.24.7"
},
"engines": {
- "node": ">=18"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@inquirer/password": {
- "version": "2.1.18",
- "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-2.1.18.tgz",
- "integrity": "sha512-cHa3BgT88aJLOUrdzU7KZYT3PsuH0vrCmULQAHP6SHIhui50qwHISQCT0QilonUxmOCRGUFhKgXa6/qSu6IAhA==",
+ "node_modules/@babel/plugin-transform-function-name": {
+ "version": "7.25.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.25.1.tgz",
+ "integrity": "sha512-TVVJVdW9RKMNgJJlLtHsKDTydjZAbwIsn6ySBPQaEAUU5+gVvlJt/9nRmqVbsV/IBanRjzWoaAQKLoamWVOUuA==",
"dev": true,
"dependencies": {
- "@inquirer/core": "^9.0.6",
- "@inquirer/type": "^1.5.1",
- "ansi-escapes": "^4.3.2"
+ "@babel/helper-compilation-targets": "^7.24.8",
+ "@babel/helper-plugin-utils": "^7.24.8",
+ "@babel/traverse": "^7.25.1"
},
"engines": {
- "node": ">=18"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@inquirer/password/node_modules/ansi-escapes": {
- "version": "4.3.2",
- "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz",
- "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==",
+ "node_modules/@babel/plugin-transform-json-strings": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.24.7.tgz",
+ "integrity": "sha512-2yFnBGDvRuxAaE/f0vfBKvtnvvqU8tGpMHqMNpTN2oWMKIR3NqFkjaAgGwawhqK/pIN2T3XdjGPdaG0vDhOBGw==",
"dev": true,
"dependencies": {
- "type-fest": "^0.21.3"
+ "@babel/helper-plugin-utils": "^7.24.7",
+ "@babel/plugin-syntax-json-strings": "^7.8.3"
},
"engines": {
- "node": ">=8"
+ "node": ">=6.9.0"
},
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@inquirer/password/node_modules/type-fest": {
- "version": "0.21.3",
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz",
- "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==",
+ "node_modules/@babel/plugin-transform-literals": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.24.7.tgz",
+ "integrity": "sha512-vcwCbb4HDH+hWi8Pqenwnjy+UiklO4Kt1vfspcQYFhJdpthSnW8XvWGyDZWKNVrVbVViI/S7K9PDJZiUmP2fYQ==",
"dev": true,
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.24.7"
+ },
"engines": {
- "node": ">=10"
+ "node": ">=6.9.0"
},
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@inquirer/prompts": {
- "version": "5.3.4",
- "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-5.3.4.tgz",
- "integrity": "sha512-rZQewXIV6yZXuZtZ65/WIhcND0RCOQZtu0uPEST7wZStLQwuZCD3rZrD1fuxygqzqA5rGq7pgSuLmhGCuSnkkA==",
+ "node_modules/@babel/plugin-transform-logical-assignment-operators": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.24.7.tgz",
+ "integrity": "sha512-4D2tpwlQ1odXmTEIFWy9ELJcZHqrStlzK/dAOWYyxX3zT0iXQB6banjgeOJQXzEc4S0E0a5A+hahxPaEFYftsw==",
"dev": true,
"dependencies": {
- "@inquirer/checkbox": "^2.4.3",
- "@inquirer/confirm": "^3.1.18",
- "@inquirer/editor": "^2.1.18",
- "@inquirer/expand": "^2.1.18",
- "@inquirer/input": "^2.2.5",
- "@inquirer/number": "^1.0.6",
- "@inquirer/password": "^2.1.18",
- "@inquirer/rawlist": "^2.2.0",
- "@inquirer/search": "^1.0.3",
- "@inquirer/select": "^2.4.3"
+ "@babel/helper-plugin-utils": "^7.24.7",
+ "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4"
},
"engines": {
- "node": ">=18"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@inquirer/rawlist": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-2.2.0.tgz",
- "integrity": "sha512-Lhsm7myhiV9WJzpmEoTHP4mIXXAWxcEeu19S6RVghC1WpkQE5pvsE3W1KBr+ouuFSW7dylZLMRe8vQdizDplTA==",
+ "node_modules/@babel/plugin-transform-member-expression-literals": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.24.7.tgz",
+ "integrity": "sha512-T/hRC1uqrzXMKLQ6UCwMT85S3EvqaBXDGf0FaMf4446Qx9vKwlghvee0+uuZcDUCZU5RuNi4781UQ7R308zzBw==",
"dev": true,
"dependencies": {
- "@inquirer/core": "^9.0.6",
- "@inquirer/type": "^1.5.1",
- "yoctocolors-cjs": "^2.1.2"
+ "@babel/helper-plugin-utils": "^7.24.7"
},
"engines": {
- "node": ">=18"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@inquirer/search": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-1.0.3.tgz",
- "integrity": "sha512-3R0gWkaahzu2vkYWlr8E2IZTwj1QpanMrrK6ANsrPlXFwMl5C8v8gdKws4buBEmVBW0gpVC15xE20dlsWNhTvA==",
+ "node_modules/@babel/plugin-transform-modules-amd": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.24.7.tgz",
+ "integrity": "sha512-9+pB1qxV3vs/8Hdmz/CulFB8w2tuu6EB94JZFsjdqxQokwGa9Unap7Bo2gGBGIvPmDIVvQrom7r5m/TCDMURhg==",
"dev": true,
"dependencies": {
- "@inquirer/core": "^9.0.6",
- "@inquirer/figures": "^1.0.5",
- "@inquirer/type": "^1.5.1",
- "yoctocolors-cjs": "^2.1.2"
+ "@babel/helper-module-transforms": "^7.24.7",
+ "@babel/helper-plugin-utils": "^7.24.7"
},
"engines": {
- "node": ">=18"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@inquirer/select": {
- "version": "2.4.3",
- "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-2.4.3.tgz",
- "integrity": "sha512-JKKZKFtN+E6aY8p9eHHDilTqAJ/taQeSzDUE08T3AddwZVj3bgQgQ5CR4Yi2/XfVv1xfZH/ENNQop7eZ8sEqfQ==",
+ "node_modules/@babel/plugin-transform-modules-commonjs": {
+ "version": "7.24.8",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.24.8.tgz",
+ "integrity": "sha512-WHsk9H8XxRs3JXKWFiqtQebdh9b/pTk4EgueygFzYlTKAg0Ud985mSevdNjdXdFBATSKVJGQXP1tv6aGbssLKA==",
"dev": true,
"dependencies": {
- "@inquirer/core": "^9.0.6",
- "@inquirer/figures": "^1.0.5",
- "@inquirer/type": "^1.5.1",
- "ansi-escapes": "^4.3.2",
- "yoctocolors-cjs": "^2.1.2"
+ "@babel/helper-module-transforms": "^7.24.8",
+ "@babel/helper-plugin-utils": "^7.24.8",
+ "@babel/helper-simple-access": "^7.24.7"
},
"engines": {
- "node": ">=18"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@inquirer/select/node_modules/ansi-escapes": {
- "version": "4.3.2",
- "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz",
- "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==",
+ "node_modules/@babel/plugin-transform-modules-systemjs": {
+ "version": "7.25.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.25.0.tgz",
+ "integrity": "sha512-YPJfjQPDXxyQWg/0+jHKj1llnY5f/R6a0p/vP4lPymxLu7Lvl4k2WMitqi08yxwQcCVUUdG9LCUj4TNEgAp3Jw==",
"dev": true,
"dependencies": {
- "type-fest": "^0.21.3"
+ "@babel/helper-module-transforms": "^7.25.0",
+ "@babel/helper-plugin-utils": "^7.24.8",
+ "@babel/helper-validator-identifier": "^7.24.7",
+ "@babel/traverse": "^7.25.0"
},
"engines": {
- "node": ">=8"
+ "node": ">=6.9.0"
},
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@inquirer/select/node_modules/type-fest": {
- "version": "0.21.3",
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz",
- "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==",
+ "node_modules/@babel/plugin-transform-modules-umd": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.24.7.tgz",
+ "integrity": "sha512-3aytQvqJ/h9z4g8AsKPLvD4Zqi2qT+L3j7XoFFu1XBlZWEl2/1kWnhmAbxpLgPrHSY0M6UA02jyTiwUVtiKR6A==",
"dev": true,
+ "dependencies": {
+ "@babel/helper-module-transforms": "^7.24.7",
+ "@babel/helper-plugin-utils": "^7.24.7"
+ },
"engines": {
- "node": ">=10"
+ "node": ">=6.9.0"
},
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@inquirer/type": {
- "version": "1.5.1",
- "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-1.5.1.tgz",
- "integrity": "sha512-m3YgGQlKNS0BM+8AFiJkCsTqHEFCWn6s/Rqye3mYwvqY6LdfUv12eSwbsgNzrYyrLXiy7IrrjDLPysaSBwEfhw==",
+ "node_modules/@babel/plugin-transform-named-capturing-groups-regex": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.24.7.tgz",
+ "integrity": "sha512-/jr7h/EWeJtk1U/uz2jlsCioHkZk1JJZVcc8oQsJ1dUlaJD83f4/6Zeh2aHt9BIFokHIsSeDfhUmju0+1GPd6g==",
"dev": true,
"dependencies": {
- "mute-stream": "^1.0.0"
+ "@babel/helper-create-regexp-features-plugin": "^7.24.7",
+ "@babel/helper-plugin-utils": "^7.24.7"
},
"engines": {
- "node": ">=18"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
}
},
- "node_modules/@isaacs/cliui": {
- "version": "8.0.2",
- "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
- "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==",
+ "node_modules/@babel/plugin-transform-new-target": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.24.7.tgz",
+ "integrity": "sha512-RNKwfRIXg4Ls/8mMTza5oPF5RkOW8Wy/WgMAp1/F1yZ8mMbtwXW+HDoJiOsagWrAhI5f57Vncrmr9XeT4CVapA==",
"dev": true,
"dependencies": {
- "string-width": "^5.1.2",
- "string-width-cjs": "npm:string-width@^4.2.0",
- "strip-ansi": "^7.0.1",
- "strip-ansi-cjs": "npm:strip-ansi@^6.0.1",
- "wrap-ansi": "^8.1.0",
- "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0"
+ "@babel/helper-plugin-utils": "^7.24.7"
},
"engines": {
- "node": ">=12"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@isaacs/cliui/node_modules/ansi-regex": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz",
- "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==",
+ "node_modules/@babel/plugin-transform-nullish-coalescing-operator": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.24.7.tgz",
+ "integrity": "sha512-Ts7xQVk1OEocqzm8rHMXHlxvsfZ0cEF2yomUqpKENHWMF4zKk175Y4q8H5knJes6PgYad50uuRmt3UJuhBw8pQ==",
"dev": true,
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.24.7",
+ "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3"
+ },
"engines": {
- "node": ">=12"
+ "node": ">=6.9.0"
},
- "funding": {
- "url": "https://github.com/chalk/ansi-regex?sponsor=1"
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@isaacs/cliui/node_modules/ansi-styles": {
- "version": "6.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz",
- "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==",
+ "node_modules/@babel/plugin-transform-numeric-separator": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.24.7.tgz",
+ "integrity": "sha512-e6q1TiVUzvH9KRvicuxdBTUj4AdKSRwzIyFFnfnezpCfP2/7Qmbb8qbU2j7GODbl4JMkblitCQjKYUaX/qkkwA==",
"dev": true,
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.24.7",
+ "@babel/plugin-syntax-numeric-separator": "^7.10.4"
+ },
"engines": {
- "node": ">=12"
+ "node": ">=6.9.0"
},
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@isaacs/cliui/node_modules/emoji-regex": {
- "version": "9.2.2",
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
- "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==",
- "dev": true
- },
- "node_modules/@isaacs/cliui/node_modules/string-width": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",
- "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==",
+ "node_modules/@babel/plugin-transform-object-rest-spread": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.24.7.tgz",
+ "integrity": "sha512-4QrHAr0aXQCEFni2q4DqKLD31n2DL+RxcwnNjDFkSG0eNQ/xCavnRkfCUjsyqGC2OviNJvZOF/mQqZBw7i2C5Q==",
"dev": true,
"dependencies": {
- "eastasianwidth": "^0.2.0",
- "emoji-regex": "^9.2.2",
- "strip-ansi": "^7.0.1"
+ "@babel/helper-compilation-targets": "^7.24.7",
+ "@babel/helper-plugin-utils": "^7.24.7",
+ "@babel/plugin-syntax-object-rest-spread": "^7.8.3",
+ "@babel/plugin-transform-parameters": "^7.24.7"
},
"engines": {
- "node": ">=12"
+ "node": ">=6.9.0"
},
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@isaacs/cliui/node_modules/strip-ansi": {
- "version": "7.1.0",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",
- "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==",
+ "node_modules/@babel/plugin-transform-object-super": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.24.7.tgz",
+ "integrity": "sha512-A/vVLwN6lBrMFmMDmPPz0jnE6ZGx7Jq7d6sT/Ev4H65RER6pZ+kczlf1DthF5N0qaPHBsI7UXiE8Zy66nmAovg==",
"dev": true,
"dependencies": {
- "ansi-regex": "^6.0.1"
+ "@babel/helper-plugin-utils": "^7.24.7",
+ "@babel/helper-replace-supers": "^7.24.7"
},
"engines": {
- "node": ">=12"
+ "node": ">=6.9.0"
},
- "funding": {
- "url": "https://github.com/chalk/strip-ansi?sponsor=1"
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@isaacs/cliui/node_modules/wrap-ansi": {
- "version": "8.1.0",
- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz",
- "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==",
+ "node_modules/@babel/plugin-transform-optional-catch-binding": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.24.7.tgz",
+ "integrity": "sha512-uLEndKqP5BfBbC/5jTwPxLh9kqPWWgzN/f8w6UwAIirAEqiIVJWWY312X72Eub09g5KF9+Zn7+hT7sDxmhRuKA==",
"dev": true,
"dependencies": {
- "ansi-styles": "^6.1.0",
- "string-width": "^5.0.1",
- "strip-ansi": "^7.0.1"
+ "@babel/helper-plugin-utils": "^7.24.7",
+ "@babel/plugin-syntax-optional-catch-binding": "^7.8.3"
},
"engines": {
- "node": ">=12"
+ "node": ">=6.9.0"
},
- "funding": {
- "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@isaacs/fs-minipass": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz",
- "integrity": "sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==",
+ "node_modules/@babel/plugin-transform-optional-chaining": {
+ "version": "7.24.8",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.24.8.tgz",
+ "integrity": "sha512-5cTOLSMs9eypEy8JUVvIKOu6NgvbJMnpG62VpIHrTmROdQ+L5mDAaI40g25k5vXti55JWNX5jCkq3HZxXBQANw==",
"dev": true,
"dependencies": {
- "minipass": "^7.0.4"
+ "@babel/helper-plugin-utils": "^7.24.8",
+ "@babel/helper-skip-transparent-expression-wrappers": "^7.24.7",
+ "@babel/plugin-syntax-optional-chaining": "^7.8.3"
},
"engines": {
- "node": ">=18.0.0"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@jridgewell/gen-mapping": {
- "version": "0.3.5",
- "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz",
- "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==",
+ "node_modules/@babel/plugin-transform-parameters": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.24.7.tgz",
+ "integrity": "sha512-yGWW5Rr+sQOhK0Ot8hjDJuxU3XLRQGflvT4lhlSY0DFvdb3TwKaY26CJzHtYllU0vT9j58hc37ndFPsqT1SrzA==",
+ "dev": true,
"dependencies": {
- "@jridgewell/set-array": "^1.2.1",
- "@jridgewell/sourcemap-codec": "^1.4.10",
- "@jridgewell/trace-mapping": "^0.3.24"
+ "@babel/helper-plugin-utils": "^7.24.7"
},
"engines": {
- "node": ">=6.0.0"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@jridgewell/resolve-uri": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
- "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
+ "node_modules/@babel/plugin-transform-private-methods": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.24.7.tgz",
+ "integrity": "sha512-COTCOkG2hn4JKGEKBADkA8WNb35TGkkRbI5iT845dB+NyqgO8Hn+ajPbSnIQznneJTa3d30scb6iz/DhH8GsJQ==",
+ "dev": true,
+ "dependencies": {
+ "@babel/helper-create-class-features-plugin": "^7.24.7",
+ "@babel/helper-plugin-utils": "^7.24.7"
+ },
"engines": {
- "node": ">=6.0.0"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@jridgewell/set-array": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz",
- "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==",
+ "node_modules/@babel/plugin-transform-private-property-in-object": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.24.7.tgz",
+ "integrity": "sha512-9z76mxwnwFxMyxZWEgdgECQglF2Q7cFLm0kMf8pGwt+GSJsY0cONKj/UuO4bOH0w/uAel3ekS4ra5CEAyJRmDA==",
+ "dev": true,
+ "dependencies": {
+ "@babel/helper-annotate-as-pure": "^7.24.7",
+ "@babel/helper-create-class-features-plugin": "^7.24.7",
+ "@babel/helper-plugin-utils": "^7.24.7",
+ "@babel/plugin-syntax-private-property-in-object": "^7.14.5"
+ },
"engines": {
- "node": ">=6.0.0"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@jridgewell/sourcemap-codec": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz",
- "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ=="
- },
- "node_modules/@jridgewell/trace-mapping": {
- "version": "0.3.25",
- "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz",
- "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==",
+ "node_modules/@babel/plugin-transform-property-literals": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.24.7.tgz",
+ "integrity": "sha512-EMi4MLQSHfd2nrCqQEWxFdha2gBCqU4ZcCng4WBGZ5CJL4bBRW0ptdqqDdeirGZcpALazVVNJqRmsO8/+oNCBA==",
+ "dev": true,
"dependencies": {
- "@jridgewell/resolve-uri": "^3.1.0",
- "@jridgewell/sourcemap-codec": "^1.4.14"
+ "@babel/helper-plugin-utils": "^7.24.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@mui/core-downloads-tracker": {
- "version": "5.16.5",
- "resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-5.16.5.tgz",
- "integrity": "sha512-ziFn1oPm6VjvHQcdGcAO+fXvOQEgieIj0BuSqcltFU+JXIxjPdVYNTdn2HU7/Ak5Gabk6k2u7+9PV7oZ6JT5sA==",
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/mui-org"
+ "node_modules/@babel/plugin-transform-react-display-name": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.24.7.tgz",
+ "integrity": "sha512-H/Snz9PFxKsS1JLI4dJLtnJgCJRoo0AUm3chP6NYr+9En1JMKloheEiLIhlp5MDVznWo+H3AAC1Mc8lmUEpsgg==",
+ "dev": true,
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.24.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@mui/icons-material": {
- "version": "5.16.5",
- "resolved": "https://registry.npmjs.org/@mui/icons-material/-/icons-material-5.16.5.tgz",
- "integrity": "sha512-bn88xxU/J9UV0s6+eutq7o3TTOrOlbCX+KshFb8kxgIxJZZfYz3JbAXVMivvoMF4Md6jCVUzM9HEkf4Ajab4tw==",
+ "node_modules/@babel/plugin-transform-react-jsx": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.24.7.tgz",
+ "integrity": "sha512-+Dj06GDZEFRYvclU6k4bme55GKBEWUmByM/eoKuqg4zTNQHiApWRhQph5fxQB2wAEFvRzL1tOEj1RJ19wJrhoA==",
+ "dev": true,
"dependencies": {
- "@babel/runtime": "^7.23.9"
+ "@babel/helper-annotate-as-pure": "^7.24.7",
+ "@babel/helper-module-imports": "^7.24.7",
+ "@babel/helper-plugin-utils": "^7.24.7",
+ "@babel/plugin-syntax-jsx": "^7.24.7",
+ "@babel/types": "^7.24.7"
},
"engines": {
- "node": ">=12.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/mui-org"
+ "node": ">=6.9.0"
},
"peerDependencies": {
- "@mui/material": "^5.0.0",
- "@types/react": "^17.0.0 || ^18.0.0",
- "react": "^17.0.0 || ^18.0.0"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@mui/material": {
- "version": "5.16.5",
- "resolved": "https://registry.npmjs.org/@mui/material/-/material-5.16.5.tgz",
- "integrity": "sha512-eQrjjg4JeczXvh/+8yvJkxWIiKNHVptB/AqpsKfZBWp5mUD5U3VsjODMuUl1K2BSq0omV3CiO/mQmWSSMKSmaA==",
+ "node_modules/@babel/plugin-transform-react-jsx-development": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.24.7.tgz",
+ "integrity": "sha512-QG9EnzoGn+Qar7rxuW+ZOsbWOt56FvvI93xInqsZDC5fsekx1AlIO4KIJ5M+D0p0SqSH156EpmZyXq630B8OlQ==",
+ "dev": true,
"dependencies": {
- "@babel/runtime": "^7.23.9",
- "@mui/core-downloads-tracker": "^5.16.5",
- "@mui/system": "^5.16.5",
- "@mui/types": "^7.2.15",
- "@mui/utils": "^5.16.5",
- "@popperjs/core": "^2.11.8",
- "@types/react-transition-group": "^4.4.10",
- "clsx": "^2.1.0",
- "csstype": "^3.1.3",
- "prop-types": "^15.8.1",
- "react-is": "^18.3.1",
- "react-transition-group": "^4.4.5"
+ "@babel/plugin-transform-react-jsx": "^7.24.7"
},
"engines": {
- "node": ">=12.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/mui-org"
+ "node": ">=6.9.0"
},
"peerDependencies": {
- "@emotion/react": "^11.5.0",
- "@emotion/styled": "^11.3.0",
- "@types/react": "^17.0.0 || ^18.0.0",
- "react": "^17.0.0 || ^18.0.0",
- "react-dom": "^17.0.0 || ^18.0.0"
- },
- "peerDependenciesMeta": {
- "@emotion/react": {
- "optional": true
- },
- "@emotion/styled": {
- "optional": true
- },
- "@types/react": {
- "optional": true
- }
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@mui/private-theming": {
- "version": "5.16.5",
- "resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-5.16.5.tgz",
- "integrity": "sha512-CSLg0YkpDqg0aXOxtjo3oTMd3XWMxvNb5d0v4AYVqwOltU8q6GvnZjhWyCLjGSCrcgfwm6/VDjaKLPlR14wxIA==",
+ "node_modules/@babel/plugin-transform-react-jsx-self": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.24.7.tgz",
+ "integrity": "sha512-fOPQYbGSgH0HUp4UJO4sMBFjY6DuWq+2i8rixyUMb3CdGixs/gccURvYOAhajBdKDoGajFr3mUq5rH3phtkGzw==",
+ "dev": true,
"dependencies": {
- "@babel/runtime": "^7.23.9",
- "@mui/utils": "^5.16.5",
- "prop-types": "^15.8.1"
+ "@babel/helper-plugin-utils": "^7.24.7"
},
"engines": {
- "node": ">=12.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/mui-org"
+ "node": ">=6.9.0"
},
"peerDependencies": {
- "@types/react": "^17.0.0 || ^18.0.0",
- "react": "^17.0.0 || ^18.0.0"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@mui/styled-engine": {
- "version": "5.16.4",
- "resolved": "https://registry.npmjs.org/@mui/styled-engine/-/styled-engine-5.16.4.tgz",
- "integrity": "sha512-0+mnkf+UiAmTVB8PZFqOhqf729Yh0Cxq29/5cA3VAyDVTRIUUQ8FXQhiAhUIbijFmM72rY80ahFPXIm4WDbzcA==",
+ "node_modules/@babel/plugin-transform-react-jsx-source": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.24.7.tgz",
+ "integrity": "sha512-J2z+MWzZHVOemyLweMqngXrgGC42jQ//R0KdxqkIz/OrbVIIlhFI3WigZ5fO+nwFvBlncr4MGapd8vTyc7RPNQ==",
+ "dev": true,
"dependencies": {
- "@babel/runtime": "^7.23.9",
- "@emotion/cache": "^11.11.0",
- "csstype": "^3.1.3",
- "prop-types": "^15.8.1"
+ "@babel/helper-plugin-utils": "^7.24.7"
},
"engines": {
- "node": ">=12.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/mui-org"
+ "node": ">=6.9.0"
},
"peerDependencies": {
- "@emotion/react": "^11.4.1",
- "@emotion/styled": "^11.3.0",
- "react": "^17.0.0 || ^18.0.0"
- },
- "peerDependenciesMeta": {
- "@emotion/react": {
- "optional": true
- },
- "@emotion/styled": {
- "optional": true
- }
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@mui/system": {
- "version": "5.16.5",
- "resolved": "https://registry.npmjs.org/@mui/system/-/system-5.16.5.tgz",
- "integrity": "sha512-uzIUGdrWddUx1HPxW4+B2o4vpgKyRxGe/8BxbfXVDPNPHX75c782TseoCnR/VyfnZJfqX87GcxDmnZEE1c031g==",
+ "node_modules/@babel/plugin-transform-react-pure-annotations": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-pure-annotations/-/plugin-transform-react-pure-annotations-7.24.7.tgz",
+ "integrity": "sha512-PLgBVk3fzbmEjBJ/u8kFzOqS9tUeDjiaWud/rRym/yjCo/M9cASPlnrd2ZmmZpQT40fOOrvR8jh+n8jikrOhNA==",
+ "dev": true,
"dependencies": {
- "@babel/runtime": "^7.23.9",
- "@mui/private-theming": "^5.16.5",
- "@mui/styled-engine": "^5.16.4",
- "@mui/types": "^7.2.15",
- "@mui/utils": "^5.16.5",
- "clsx": "^2.1.0",
- "csstype": "^3.1.3",
- "prop-types": "^15.8.1"
+ "@babel/helper-annotate-as-pure": "^7.24.7",
+ "@babel/helper-plugin-utils": "^7.24.7"
},
"engines": {
- "node": ">=12.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/mui-org"
+ "node": ">=6.9.0"
},
"peerDependencies": {
- "@emotion/react": "^11.5.0",
- "@emotion/styled": "^11.3.0",
- "@types/react": "^17.0.0 || ^18.0.0",
- "react": "^17.0.0 || ^18.0.0"
- },
- "peerDependenciesMeta": {
- "@emotion/react": {
- "optional": true
- },
- "@emotion/styled": {
- "optional": true
- },
- "@types/react": {
- "optional": true
- }
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@mui/types": {
- "version": "7.2.15",
- "resolved": "https://registry.npmjs.org/@mui/types/-/types-7.2.15.tgz",
- "integrity": "sha512-nbo7yPhtKJkdf9kcVOF8JZHPZTmqXjJ/tI0bdWgHg5tp9AnIN4Y7f7wm9T+0SyGYJk76+GYZ8Q5XaTYAsUHN0Q==",
- "peerDependencies": {
- "@types/react": "^17.0.0 || ^18.0.0"
+ "node_modules/@babel/plugin-transform-regenerator": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.24.7.tgz",
+ "integrity": "sha512-lq3fvXPdimDrlg6LWBoqj+r/DEWgONuwjuOuQCSYgRroXDH/IdM1C0IZf59fL5cHLpjEH/O6opIRBbqv7ELnuA==",
+ "dev": true,
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.24.7",
+ "regenerator-transform": "^0.15.2"
},
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@mui/utils": {
- "version": "5.16.5",
- "resolved": "https://registry.npmjs.org/@mui/utils/-/utils-5.16.5.tgz",
- "integrity": "sha512-CwhcA9y44XwK7k2joL3Y29mRUnoBt+gOZZdGyw7YihbEwEErJYBtDwbZwVgH68zAljGe/b+Kd5bzfl63Gi3R2A==",
+ "node_modules/@babel/plugin-transform-reserved-words": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.24.7.tgz",
+ "integrity": "sha512-0DUq0pHcPKbjFZCfTss/pGkYMfy3vFWydkUBd9r0GHpIyfs2eCDENvqadMycRS9wZCXR41wucAfJHJmwA0UmoQ==",
+ "dev": true,
"dependencies": {
- "@babel/runtime": "^7.23.9",
- "@mui/types": "^7.2.15",
- "@types/prop-types": "^15.7.12",
- "clsx": "^2.1.1",
- "prop-types": "^15.8.1",
- "react-is": "^18.3.1"
+ "@babel/helper-plugin-utils": "^7.24.7"
},
"engines": {
- "node": ">=12.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/mui-org"
+ "node": ">=6.9.0"
},
"peerDependencies": {
- "@types/react": "^17.0.0 || ^18.0.0",
- "react": "^17.0.0 || ^18.0.0"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@nivo/annotations": {
- "version": "0.87.0",
- "resolved": "https://registry.npmjs.org/@nivo/annotations/-/annotations-0.87.0.tgz",
- "integrity": "sha512-4Xk/soEmi706iOKszjX1EcGLBNIvhMifCYXOuLIFlMAXqhw1x2YS7PxickVSskdSzJCwJX4NgQ/R/9u6nxc5OA==",
+ "node_modules/@babel/plugin-transform-runtime": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.24.7.tgz",
+ "integrity": "sha512-YqXjrk4C+a1kZjewqt+Mmu2UuV1s07y8kqcUf4qYLnoqemhR4gRQikhdAhSVJioMjVTu6Mo6pAbaypEA3jY6fw==",
+ "dev": true,
"dependencies": {
- "@nivo/colors": "0.87.0",
- "@nivo/core": "0.87.0",
- "@react-spring/web": "9.4.5 || ^9.7.2",
- "lodash": "^4.17.21"
+ "@babel/helper-module-imports": "^7.24.7",
+ "@babel/helper-plugin-utils": "^7.24.7",
+ "babel-plugin-polyfill-corejs2": "^0.4.10",
+ "babel-plugin-polyfill-corejs3": "^0.10.1",
+ "babel-plugin-polyfill-regenerator": "^0.6.1",
+ "semver": "^6.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
},
"peerDependencies": {
- "react": ">= 16.14.0 < 19.0.0"
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@nivo/axes": {
- "version": "0.87.0",
- "resolved": "https://registry.npmjs.org/@nivo/axes/-/axes-0.87.0.tgz",
- "integrity": "sha512-zCRBfiRKJi+xOxwxH5Pxq/8+yv3fAYDl4a1F2Ssnp5gMIobwzVsdearvsm5B04e9bfy3ZXTL7KgbkEkSAwu6SA==",
+ "node_modules/@babel/plugin-transform-shorthand-properties": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.24.7.tgz",
+ "integrity": "sha512-KsDsevZMDsigzbA09+vacnLpmPH4aWjcZjXdyFKGzpplxhbeB4wYtury3vglQkg6KM/xEPKt73eCjPPf1PgXBA==",
+ "dev": true,
"dependencies": {
- "@nivo/core": "0.87.0",
- "@nivo/scales": "0.87.0",
- "@react-spring/web": "9.4.5 || ^9.7.2",
- "@types/d3-format": "^1.4.1",
- "@types/d3-time-format": "^2.3.1",
- "d3-format": "^1.4.4",
- "d3-time-format": "^3.0.0"
+ "@babel/helper-plugin-utils": "^7.24.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
},
"peerDependencies": {
- "react": ">= 16.14.0 < 19.0.0"
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@nivo/bar": {
- "version": "0.87.0",
- "resolved": "https://registry.npmjs.org/@nivo/bar/-/bar-0.87.0.tgz",
- "integrity": "sha512-r/MEVCNAHKfmsy1Fb+JztVczOhIEtAx4VFs2XUbn9YpEDgxydavUJyfoy5/nGq6h5jG1/t47cfB4nZle7c0fyQ==",
+ "node_modules/@babel/plugin-transform-spread": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.24.7.tgz",
+ "integrity": "sha512-x96oO0I09dgMDxJaANcRyD4ellXFLLiWhuwDxKZX5g2rWP1bTPkBSwCYv96VDXVT1bD9aPj8tppr5ITIh8hBng==",
+ "dev": true,
"dependencies": {
- "@nivo/annotations": "0.87.0",
- "@nivo/axes": "0.87.0",
- "@nivo/colors": "0.87.0",
- "@nivo/core": "0.87.0",
- "@nivo/legends": "0.87.0",
- "@nivo/scales": "0.87.0",
- "@nivo/tooltip": "0.87.0",
- "@react-spring/web": "9.4.5 || ^9.7.2",
- "@types/d3-scale": "^4.0.8",
- "@types/d3-shape": "^3.1.6",
- "d3-scale": "^4.0.2",
- "d3-shape": "^3.2.0",
- "lodash": "^4.17.21"
+ "@babel/helper-plugin-utils": "^7.24.7",
+ "@babel/helper-skip-transparent-expression-wrappers": "^7.24.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
},
"peerDependencies": {
- "react": ">= 16.14.0 < 19.0.0"
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@nivo/colors": {
- "version": "0.87.0",
- "resolved": "https://registry.npmjs.org/@nivo/colors/-/colors-0.87.0.tgz",
- "integrity": "sha512-S4pZzRGKK23t8XAjQMhML6wwsfKO9nH03xuyN4SvCodNA/Dmdys9xV+9Dg/VILTzvzsBTBGTX0dFBg65WoKfVg==",
+ "node_modules/@babel/plugin-transform-sticky-regex": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.24.7.tgz",
+ "integrity": "sha512-kHPSIJc9v24zEml5geKg9Mjx5ULpfncj0wRpYtxbvKyTtHCYDkVE3aHQ03FrpEo4gEe2vrJJS1Y9CJTaThA52g==",
+ "dev": true,
"dependencies": {
- "@nivo/core": "0.87.0",
- "@types/d3-color": "^3.0.0",
- "@types/d3-scale": "^4.0.8",
- "@types/d3-scale-chromatic": "^3.0.0",
- "@types/prop-types": "^15.7.2",
- "d3-color": "^3.1.0",
- "d3-scale": "^4.0.2",
- "d3-scale-chromatic": "^3.0.0",
- "lodash": "^4.17.21",
- "prop-types": "^15.7.2"
+ "@babel/helper-plugin-utils": "^7.24.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
},
"peerDependencies": {
- "react": ">= 16.14.0 < 19.0.0"
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@nivo/core": {
- "version": "0.87.0",
- "resolved": "https://registry.npmjs.org/@nivo/core/-/core-0.87.0.tgz",
- "integrity": "sha512-yEQWJn7QjWnbmCZccBCo4dligNyNyz3kgyV9vEtcaB1iGeKhg55RJEAlCOul+IDgSCSPFci2SxTmipE6LZEZCg==",
+ "node_modules/@babel/plugin-transform-template-literals": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.24.7.tgz",
+ "integrity": "sha512-AfDTQmClklHCOLxtGoP7HkeMw56k1/bTQjwsfhL6pppo/M4TOBSq+jjBUBLmV/4oeFg4GWMavIl44ZeCtmmZTw==",
+ "dev": true,
"dependencies": {
- "@nivo/tooltip": "0.87.0",
- "@react-spring/web": "9.4.5 || ^9.7.2",
- "@types/d3-shape": "^3.1.6",
- "d3-color": "^3.1.0",
- "d3-format": "^1.4.4",
- "d3-interpolate": "^3.0.1",
- "d3-scale": "^4.0.2",
- "d3-scale-chromatic": "^3.0.0",
- "d3-shape": "^3.2.0",
- "d3-time-format": "^3.0.0",
- "lodash": "^4.17.21",
- "prop-types": "^15.7.2"
+ "@babel/helper-plugin-utils": "^7.24.7"
},
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/nivo/donate"
+ "engines": {
+ "node": ">=6.9.0"
},
"peerDependencies": {
- "react": ">= 16.14.0 < 19.0.0"
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@nivo/legends": {
- "version": "0.87.0",
- "resolved": "https://registry.npmjs.org/@nivo/legends/-/legends-0.87.0.tgz",
- "integrity": "sha512-bVJCeqEmK4qHrxNaPU/+hXUd/yaKlcQ0yrsR18ewoknVX+pgvbe/+tRKJ+835JXlvRijYIuqwK1sUJQIxyB7oA==",
+ "node_modules/@babel/plugin-transform-typeof-symbol": {
+ "version": "7.24.8",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.24.8.tgz",
+ "integrity": "sha512-adNTUpDCVnmAE58VEqKlAA6ZBlNkMnWD0ZcW76lyNFN3MJniyGFZfNwERVk8Ap56MCnXztmDr19T4mPTztcuaw==",
+ "dev": true,
"dependencies": {
- "@nivo/colors": "0.87.0",
- "@nivo/core": "0.87.0",
- "@types/d3-scale": "^4.0.8",
- "d3-scale": "^4.0.2"
+ "@babel/helper-plugin-utils": "^7.24.8"
+ },
+ "engines": {
+ "node": ">=6.9.0"
},
"peerDependencies": {
- "react": ">= 16.14.0 < 19.0.0"
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@nivo/scales": {
- "version": "0.87.0",
- "resolved": "https://registry.npmjs.org/@nivo/scales/-/scales-0.87.0.tgz",
- "integrity": "sha512-IHdY9w2em/xpWurcbhUR3cUA1dgbY06rU8gmA/skFCwf3C4Da3Rqwr0XqvxmkDC+EdT/iFljMbLst7VYiCnSdw==",
+ "node_modules/@babel/plugin-transform-typescript": {
+ "version": "7.25.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.25.0.tgz",
+ "integrity": "sha512-LZicxFzHIw+Sa3pzgMgSz6gdpsdkfiMObHUzhSIrwKF0+/rP/nuR49u79pSS+zIFJ1FeGeqQD2Dq4QGFbOVvSw==",
+ "dev": true,
"dependencies": {
- "@types/d3-scale": "^4.0.8",
- "@types/d3-time": "^1.1.1",
- "@types/d3-time-format": "^3.0.0",
- "d3-scale": "^4.0.2",
- "d3-time": "^1.0.11",
- "d3-time-format": "^3.0.0",
- "lodash": "^4.17.21"
+ "@babel/helper-annotate-as-pure": "^7.24.7",
+ "@babel/helper-create-class-features-plugin": "^7.25.0",
+ "@babel/helper-plugin-utils": "^7.24.8",
+ "@babel/helper-skip-transparent-expression-wrappers": "^7.24.7",
+ "@babel/plugin-syntax-typescript": "^7.24.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@nivo/scales/node_modules/@types/d3-time-format": {
- "version": "3.0.4",
- "resolved": "https://registry.npmjs.org/@types/d3-time-format/-/d3-time-format-3.0.4.tgz",
- "integrity": "sha512-or9DiDnYI1h38J9hxKEsw513+KVuFbEVhl7qdxcaudoiqWWepapUen+2vAriFGexr6W5+P4l9+HJrB39GG+oRg=="
+ "node_modules/@babel/plugin-transform-unicode-escapes": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.24.7.tgz",
+ "integrity": "sha512-U3ap1gm5+4edc2Q/P+9VrBNhGkfnf+8ZqppY71Bo/pzZmXhhLdqgaUl6cuB07O1+AQJtCLfaOmswiNbSQ9ivhw==",
+ "dev": true,
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.24.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
},
- "node_modules/@nivo/tooltip": {
- "version": "0.87.0",
- "resolved": "https://registry.npmjs.org/@nivo/tooltip/-/tooltip-0.87.0.tgz",
- "integrity": "sha512-nZJWyRIt/45V/JBdJ9ksmNm1LFfj59G1Dy9wB63Icf2YwyBT+J+zCzOGXaY7gxCxgF1mnSL3dC7fttcEdXyN/g==",
+ "node_modules/@babel/plugin-transform-unicode-property-regex": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.24.7.tgz",
+ "integrity": "sha512-uH2O4OV5M9FZYQrwc7NdVmMxQJOCCzFeYudlZSzUAHRFeOujQefa92E74TQDVskNHCzOXoigEuoyzHDhaEaK5w==",
+ "dev": true,
"dependencies": {
- "@nivo/core": "0.87.0",
- "@react-spring/web": "9.4.5 || ^9.7.2"
+ "@babel/helper-create-regexp-features-plugin": "^7.24.7",
+ "@babel/helper-plugin-utils": "^7.24.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
},
"peerDependencies": {
- "react": ">= 16.14.0 < 19.0.0"
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@pkgjs/parseargs": {
- "version": "0.11.0",
- "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz",
- "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==",
+ "node_modules/@babel/plugin-transform-unicode-regex": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.24.7.tgz",
+ "integrity": "sha512-hlQ96MBZSAXUq7ltkjtu3FJCCSMx/j629ns3hA3pXnBXjanNP0LHi+JpPeA81zaWgVK1VGH95Xuy7u0RyQ8kMg==",
"dev": true,
- "optional": true,
+ "dependencies": {
+ "@babel/helper-create-regexp-features-plugin": "^7.24.7",
+ "@babel/helper-plugin-utils": "^7.24.7"
+ },
"engines": {
- "node": ">=14"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@popperjs/core": {
- "version": "2.11.8",
- "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz",
- "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==",
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/popperjs"
+ "node_modules/@babel/plugin-transform-unicode-sets-regex": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.24.7.tgz",
+ "integrity": "sha512-2G8aAvF4wy1w/AGZkemprdGMRg5o6zPNhbHVImRz3lss55TYCBd6xStN19rt8XJHq20sqV0JbyWjOWwQRwV/wg==",
+ "dev": true,
+ "dependencies": {
+ "@babel/helper-create-regexp-features-plugin": "^7.24.7",
+ "@babel/helper-plugin-utils": "^7.24.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
}
},
- "node_modules/@raphiniert/ra-data-postgrest": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/@raphiniert/ra-data-postgrest/-/ra-data-postgrest-2.3.0.tgz",
- "integrity": "sha512-AV2j+hbNrFMDXkjFMKzNB3hA+2Vd+3UiUVqsuBInHzVN7gHru+eRNcF1LwF5mjpYRBOHGW7DqNN2mwSNCfpTRA==",
- "peer": true,
+ "node_modules/@babel/preset-env": {
+ "version": "7.25.0",
+ "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.25.0.tgz",
+ "integrity": "sha512-vYAA8PrCOeZfG4D87hmw1KJ1BPubghXP1e2MacRFwECGNKL76dkA38JEwYllbvQCpf/kLxsTtir0b8MtxKoVCw==",
+ "dev": true,
"dependencies": {
- "lodash.isequal": "^4.5.0",
- "qs": "^6.12.1"
+ "@babel/compat-data": "^7.25.0",
+ "@babel/helper-compilation-targets": "^7.24.8",
+ "@babel/helper-plugin-utils": "^7.24.8",
+ "@babel/helper-validator-option": "^7.24.8",
+ "@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.25.0",
+ "@babel/plugin-bugfix-safari-class-field-initializer-scope": "^7.25.0",
+ "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.25.0",
+ "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.24.7",
+ "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.25.0",
+ "@babel/plugin-proposal-private-property-in-object": "7.21.0-placeholder-for-preset-env.2",
+ "@babel/plugin-syntax-async-generators": "^7.8.4",
+ "@babel/plugin-syntax-class-properties": "^7.12.13",
+ "@babel/plugin-syntax-class-static-block": "^7.14.5",
+ "@babel/plugin-syntax-dynamic-import": "^7.8.3",
+ "@babel/plugin-syntax-export-namespace-from": "^7.8.3",
+ "@babel/plugin-syntax-import-assertions": "^7.24.7",
+ "@babel/plugin-syntax-import-attributes": "^7.24.7",
+ "@babel/plugin-syntax-import-meta": "^7.10.4",
+ "@babel/plugin-syntax-json-strings": "^7.8.3",
+ "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4",
+ "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3",
+ "@babel/plugin-syntax-numeric-separator": "^7.10.4",
+ "@babel/plugin-syntax-object-rest-spread": "^7.8.3",
+ "@babel/plugin-syntax-optional-catch-binding": "^7.8.3",
+ "@babel/plugin-syntax-optional-chaining": "^7.8.3",
+ "@babel/plugin-syntax-private-property-in-object": "^7.14.5",
+ "@babel/plugin-syntax-top-level-await": "^7.14.5",
+ "@babel/plugin-syntax-unicode-sets-regex": "^7.18.6",
+ "@babel/plugin-transform-arrow-functions": "^7.24.7",
+ "@babel/plugin-transform-async-generator-functions": "^7.25.0",
+ "@babel/plugin-transform-async-to-generator": "^7.24.7",
+ "@babel/plugin-transform-block-scoped-functions": "^7.24.7",
+ "@babel/plugin-transform-block-scoping": "^7.25.0",
+ "@babel/plugin-transform-class-properties": "^7.24.7",
+ "@babel/plugin-transform-class-static-block": "^7.24.7",
+ "@babel/plugin-transform-classes": "^7.25.0",
+ "@babel/plugin-transform-computed-properties": "^7.24.7",
+ "@babel/plugin-transform-destructuring": "^7.24.8",
+ "@babel/plugin-transform-dotall-regex": "^7.24.7",
+ "@babel/plugin-transform-duplicate-keys": "^7.24.7",
+ "@babel/plugin-transform-duplicate-named-capturing-groups-regex": "^7.25.0",
+ "@babel/plugin-transform-dynamic-import": "^7.24.7",
+ "@babel/plugin-transform-exponentiation-operator": "^7.24.7",
+ "@babel/plugin-transform-export-namespace-from": "^7.24.7",
+ "@babel/plugin-transform-for-of": "^7.24.7",
+ "@babel/plugin-transform-function-name": "^7.25.0",
+ "@babel/plugin-transform-json-strings": "^7.24.7",
+ "@babel/plugin-transform-literals": "^7.24.7",
+ "@babel/plugin-transform-logical-assignment-operators": "^7.24.7",
+ "@babel/plugin-transform-member-expression-literals": "^7.24.7",
+ "@babel/plugin-transform-modules-amd": "^7.24.7",
+ "@babel/plugin-transform-modules-commonjs": "^7.24.8",
+ "@babel/plugin-transform-modules-systemjs": "^7.25.0",
+ "@babel/plugin-transform-modules-umd": "^7.24.7",
+ "@babel/plugin-transform-named-capturing-groups-regex": "^7.24.7",
+ "@babel/plugin-transform-new-target": "^7.24.7",
+ "@babel/plugin-transform-nullish-coalescing-operator": "^7.24.7",
+ "@babel/plugin-transform-numeric-separator": "^7.24.7",
+ "@babel/plugin-transform-object-rest-spread": "^7.24.7",
+ "@babel/plugin-transform-object-super": "^7.24.7",
+ "@babel/plugin-transform-optional-catch-binding": "^7.24.7",
+ "@babel/plugin-transform-optional-chaining": "^7.24.8",
+ "@babel/plugin-transform-parameters": "^7.24.7",
+ "@babel/plugin-transform-private-methods": "^7.24.7",
+ "@babel/plugin-transform-private-property-in-object": "^7.24.7",
+ "@babel/plugin-transform-property-literals": "^7.24.7",
+ "@babel/plugin-transform-regenerator": "^7.24.7",
+ "@babel/plugin-transform-reserved-words": "^7.24.7",
+ "@babel/plugin-transform-shorthand-properties": "^7.24.7",
+ "@babel/plugin-transform-spread": "^7.24.7",
+ "@babel/plugin-transform-sticky-regex": "^7.24.7",
+ "@babel/plugin-transform-template-literals": "^7.24.7",
+ "@babel/plugin-transform-typeof-symbol": "^7.24.8",
+ "@babel/plugin-transform-unicode-escapes": "^7.24.7",
+ "@babel/plugin-transform-unicode-property-regex": "^7.24.7",
+ "@babel/plugin-transform-unicode-regex": "^7.24.7",
+ "@babel/plugin-transform-unicode-sets-regex": "^7.24.7",
+ "@babel/preset-modules": "0.1.6-no-external-plugins",
+ "babel-plugin-polyfill-corejs2": "^0.4.10",
+ "babel-plugin-polyfill-corejs3": "^0.10.4",
+ "babel-plugin-polyfill-regenerator": "^0.6.1",
+ "core-js-compat": "^3.37.1",
+ "semver": "^6.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
},
"peerDependencies": {
- "ra-core": "^4.1.0 || ^5.0.1"
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@react-spring/animated": {
- "version": "9.7.4",
- "resolved": "https://registry.npmjs.org/@react-spring/animated/-/animated-9.7.4.tgz",
- "integrity": "sha512-7As+8Pty2QlemJ9O5ecsuPKjmO0NKvmVkRR1n6mEotFgWar8FKuQt2xgxz3RTgxcccghpx1YdS1FCdElQNexmQ==",
+ "node_modules/@babel/preset-modules": {
+ "version": "0.1.6-no-external-plugins",
+ "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.6-no-external-plugins.tgz",
+ "integrity": "sha512-HrcgcIESLm9aIR842yhJ5RWan/gebQUJ6E/E5+rf0y9o6oj7w0Br+sWuL6kEQ/o/AdfvR1Je9jG18/gnpwjEyA==",
+ "dev": true,
"dependencies": {
- "@react-spring/shared": "~9.7.4",
- "@react-spring/types": "~9.7.4"
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@babel/types": "^7.4.4",
+ "esutils": "^2.0.2"
},
"peerDependencies": {
- "react": "^16.8.0 || ^17.0.0 || ^18.0.0"
+ "@babel/core": "^7.0.0-0 || ^8.0.0-0 <8.0.0"
}
},
- "node_modules/@react-spring/core": {
- "version": "9.7.4",
- "resolved": "https://registry.npmjs.org/@react-spring/core/-/core-9.7.4.tgz",
- "integrity": "sha512-GzjA44niEJBFUe9jN3zubRDDDP2E4tBlhNlSIkTChiNf9p4ZQlgXBg50qbXfSXHQPHak/ExYxwhipKVsQ/sUTw==",
+ "node_modules/@babel/preset-react": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.24.7.tgz",
+ "integrity": "sha512-AAH4lEkpmzFWrGVlHaxJB7RLH21uPQ9+He+eFLWHmF9IuFQVugz8eAsamaW0DXRrTfco5zj1wWtpdcXJUOfsag==",
+ "dev": true,
"dependencies": {
- "@react-spring/animated": "~9.7.4",
- "@react-spring/shared": "~9.7.4",
- "@react-spring/types": "~9.7.4"
+ "@babel/helper-plugin-utils": "^7.24.7",
+ "@babel/helper-validator-option": "^7.24.7",
+ "@babel/plugin-transform-react-display-name": "^7.24.7",
+ "@babel/plugin-transform-react-jsx": "^7.24.7",
+ "@babel/plugin-transform-react-jsx-development": "^7.24.7",
+ "@babel/plugin-transform-react-pure-annotations": "^7.24.7"
},
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/react-spring/donate"
+ "engines": {
+ "node": ">=6.9.0"
},
"peerDependencies": {
- "react": "^16.8.0 || ^17.0.0 || ^18.0.0"
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@react-spring/rafz": {
- "version": "9.7.4",
- "resolved": "https://registry.npmjs.org/@react-spring/rafz/-/rafz-9.7.4.tgz",
- "integrity": "sha512-mqDI6rW0Ca8IdryOMiXRhMtVGiEGLIO89vIOyFQXRIwwIMX30HLya24g9z4olDvFyeDW3+kibiKwtZnA4xhldA=="
- },
- "node_modules/@react-spring/shared": {
- "version": "9.7.4",
- "resolved": "https://registry.npmjs.org/@react-spring/shared/-/shared-9.7.4.tgz",
- "integrity": "sha512-bEPI7cQp94dOtCFSEYpxvLxj0+xQfB5r9Ru1h8OMycsIq7zFZon1G0sHrBLaLQIWeMCllc4tVDYRTLIRv70C8w==",
+ "node_modules/@babel/preset-typescript": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.24.7.tgz",
+ "integrity": "sha512-SyXRe3OdWwIwalxDg5UtJnJQO+YPcTfwiIY2B0Xlddh9o7jpWLvv8X1RthIeDOxQ+O1ML5BLPCONToObyVQVuQ==",
+ "dev": true,
"dependencies": {
- "@react-spring/rafz": "~9.7.4",
- "@react-spring/types": "~9.7.4"
+ "@babel/helper-plugin-utils": "^7.24.7",
+ "@babel/helper-validator-option": "^7.24.7",
+ "@babel/plugin-syntax-jsx": "^7.24.7",
+ "@babel/plugin-transform-modules-commonjs": "^7.24.7",
+ "@babel/plugin-transform-typescript": "^7.24.7"
+ },
+ "engines": {
+ "node": ">=6.9.0"
},
"peerDependencies": {
- "react": "^16.8.0 || ^17.0.0 || ^18.0.0"
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@react-spring/types": {
- "version": "9.7.4",
- "resolved": "https://registry.npmjs.org/@react-spring/types/-/types-9.7.4.tgz",
- "integrity": "sha512-iQVztO09ZVfsletMiY+DpT/JRiBntdsdJ4uqk3UJFhrhS8mIC9ZOZbmfGSRs/kdbNPQkVyzucceDicQ/3Mlj9g=="
+ "node_modules/@babel/regjsgen": {
+ "version": "0.8.0",
+ "resolved": "https://registry.npmjs.org/@babel/regjsgen/-/regjsgen-0.8.0.tgz",
+ "integrity": "sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==",
+ "dev": true
},
- "node_modules/@react-spring/web": {
- "version": "9.7.4",
- "resolved": "https://registry.npmjs.org/@react-spring/web/-/web-9.7.4.tgz",
- "integrity": "sha512-UMvCZp7I5HCVIleSa4BwbNxynqvj+mJjG2m20VO2yPoi2pnCYANy58flvz9v/YcXTAvsmL655FV3pm5fbr6akA==",
+ "node_modules/@babel/runtime": {
+ "version": "7.24.8",
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.8.tgz",
+ "integrity": "sha512-5F7SDGs1T72ZczbRwbGO9lQi0NLjQxzl6i4lJxLxfW9U5UluCSyEJeniWvnhl3/euNiqQVbo8zruhsDfid0esA==",
"dependencies": {
- "@react-spring/animated": "~9.7.4",
- "@react-spring/core": "~9.7.4",
- "@react-spring/shared": "~9.7.4",
- "@react-spring/types": "~9.7.4"
+ "regenerator-runtime": "^0.14.0"
},
- "peerDependencies": {
- "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
- "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
+ "engines": {
+ "node": ">=6.9.0"
}
},
- "node_modules/@remix-run/router": {
- "version": "1.18.0",
- "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.18.0.tgz",
- "integrity": "sha512-L3jkqmqoSVBVKHfpGZmLrex0lxR5SucGA0sUfFzGctehw+S/ggL9L/0NnC5mw6P8HUWpFZ3nQw3cRApjjWx9Sw==",
+ "node_modules/@babel/template": {
+ "version": "7.25.0",
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.25.0.tgz",
+ "integrity": "sha512-aOOgh1/5XzKvg1jvVz7AVrx2piJ2XBi227DHmbY6y+bM9H2FlN+IfecYu4Xl0cNiiVejlsCri89LUsbj8vJD9Q==",
+ "dependencies": {
+ "@babel/code-frame": "^7.24.7",
+ "@babel/parser": "^7.25.0",
+ "@babel/types": "^7.25.0"
+ },
"engines": {
- "node": ">=14.0.0"
+ "node": ">=6.9.0"
}
},
- "node_modules/@rollup/rollup-android-arm-eabi": {
- "version": "4.19.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.19.0.tgz",
- "integrity": "sha512-JlPfZ/C7yn5S5p0yKk7uhHTTnFlvTgLetl2VxqE518QgyM7C9bSfFTYvB/Q/ftkq0RIPY4ySxTz+/wKJ/dXC0w==",
- "cpu": [
- "arm"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "android"
- ]
+ "node_modules/@babel/traverse": {
+ "version": "7.25.1",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.1.tgz",
+ "integrity": "sha512-LrHHoWq08ZpmmFqBAzN+hUdWwy5zt7FGa/hVwMcOqW6OVtwqaoD5utfuGYU87JYxdZgLUvktAsn37j/sYR9siA==",
+ "dependencies": {
+ "@babel/code-frame": "^7.24.7",
+ "@babel/generator": "^7.25.0",
+ "@babel/parser": "^7.25.0",
+ "@babel/template": "^7.25.0",
+ "@babel/types": "^7.25.0",
+ "debug": "^4.3.1",
+ "globals": "^11.1.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
},
- "node_modules/@rollup/rollup-android-arm64": {
- "version": "4.19.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.19.0.tgz",
- "integrity": "sha512-RDxUSY8D1tWYfn00DDi5myxKgOk6RvWPxhmWexcICt/MEC6yEMr4HNCu1sXXYLw8iAsg0D44NuU+qNq7zVWCrw==",
- "cpu": [
- "arm64"
+ "node_modules/@babel/types": {
+ "version": "7.25.0",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.0.tgz",
+ "integrity": "sha512-LcnxQSsd9aXOIgmmSpvZ/1yo46ra2ESYyqLcryaBZOghxy5qqOBjvCWP5JfkI8yl9rlxRgdLTTMCQQRcN2hdCg==",
+ "dependencies": {
+ "@babel/helper-string-parser": "^7.24.8",
+ "@babel/helper-validator-identifier": "^7.24.7",
+ "to-fast-properties": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@emotion/babel-plugin": {
+ "version": "11.11.0",
+ "resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.11.0.tgz",
+ "integrity": "sha512-m4HEDZleaaCH+XgDDsPF15Ht6wTLsgDTeR3WYj9Q/k76JtWhrJjcP4+/XlG8LGT/Rol9qUfOIztXeA84ATpqPQ==",
+ "dependencies": {
+ "@babel/helper-module-imports": "^7.16.7",
+ "@babel/runtime": "^7.18.3",
+ "@emotion/hash": "^0.9.1",
+ "@emotion/memoize": "^0.8.1",
+ "@emotion/serialize": "^1.1.2",
+ "babel-plugin-macros": "^3.1.0",
+ "convert-source-map": "^1.5.0",
+ "escape-string-regexp": "^4.0.0",
+ "find-root": "^1.1.0",
+ "source-map": "^0.5.7",
+ "stylis": "4.2.0"
+ }
+ },
+ "node_modules/@emotion/babel-plugin/node_modules/convert-source-map": {
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz",
+ "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A=="
+ },
+ "node_modules/@emotion/cache": {
+ "version": "11.11.0",
+ "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.11.0.tgz",
+ "integrity": "sha512-P34z9ssTCBi3e9EI1ZsWpNHcfY1r09ZO0rZbRO2ob3ZQMnFI35jB536qoXbkdesr5EUhYi22anuEJuyxifaqAQ==",
+ "dependencies": {
+ "@emotion/memoize": "^0.8.1",
+ "@emotion/sheet": "^1.2.2",
+ "@emotion/utils": "^1.2.1",
+ "@emotion/weak-memoize": "^0.3.1",
+ "stylis": "4.2.0"
+ }
+ },
+ "node_modules/@emotion/hash": {
+ "version": "0.9.1",
+ "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.1.tgz",
+ "integrity": "sha512-gJB6HLm5rYwSLI6PQa+X1t5CFGrv1J1TWG+sOyMCeKz2ojaj6Fnl/rZEspogG+cvqbt4AE/2eIyD2QfLKTBNlQ=="
+ },
+ "node_modules/@emotion/is-prop-valid": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.1.tgz",
+ "integrity": "sha512-61Mf7Ufx4aDxx1xlDeOm8aFFigGHE4z+0sKCa+IHCeZKiyP9RLD0Mmx7m8b9/Cf37f7NAvQOOJAbQQGVr5uERw==",
+ "dependencies": {
+ "@emotion/memoize": "^0.8.1"
+ }
+ },
+ "node_modules/@emotion/memoize": {
+ "version": "0.8.1",
+ "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.1.tgz",
+ "integrity": "sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA=="
+ },
+ "node_modules/@emotion/react": {
+ "version": "11.11.3",
+ "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.11.3.tgz",
+ "integrity": "sha512-Cnn0kuq4DoONOMcnoVsTOR8E+AdnKFf//6kUWc4LCdnxj31pZWn7rIULd6Y7/Js1PiPHzn7SKCM9vB/jBni8eA==",
+ "dependencies": {
+ "@babel/runtime": "^7.18.3",
+ "@emotion/babel-plugin": "^11.11.0",
+ "@emotion/cache": "^11.11.0",
+ "@emotion/serialize": "^1.1.3",
+ "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1",
+ "@emotion/utils": "^1.2.1",
+ "@emotion/weak-memoize": "^0.3.1",
+ "hoist-non-react-statics": "^3.3.1"
+ },
+ "peerDependencies": {
+ "react": ">=16.8.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@emotion/serialize": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.3.tgz",
+ "integrity": "sha512-iD4D6QVZFDhcbH0RAG1uVu1CwVLMWUkCvAqqlewO/rxf8+87yIBAlt4+AxMiiKPLs5hFc0owNk/sLLAOROw3cA==",
+ "dependencies": {
+ "@emotion/hash": "^0.9.1",
+ "@emotion/memoize": "^0.8.1",
+ "@emotion/unitless": "^0.8.1",
+ "@emotion/utils": "^1.2.1",
+ "csstype": "^3.0.2"
+ }
+ },
+ "node_modules/@emotion/sheet": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.2.tgz",
+ "integrity": "sha512-0QBtGvaqtWi+nx6doRwDdBIzhNdZrXUppvTM4dtZZWEGTXL/XE/yJxLMGlDT1Gt+UHH5IX1n+jkXyytE/av7OA=="
+ },
+ "node_modules/@emotion/styled": {
+ "version": "11.11.0",
+ "resolved": "https://registry.npmjs.org/@emotion/styled/-/styled-11.11.0.tgz",
+ "integrity": "sha512-hM5Nnvu9P3midq5aaXj4I+lnSfNi7Pmd4EWk1fOZ3pxookaQTNew6bp4JaCBYM4HVFZF9g7UjJmsUmC2JlxOng==",
+ "dependencies": {
+ "@babel/runtime": "^7.18.3",
+ "@emotion/babel-plugin": "^11.11.0",
+ "@emotion/is-prop-valid": "^1.2.1",
+ "@emotion/serialize": "^1.1.2",
+ "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1",
+ "@emotion/utils": "^1.2.1"
+ },
+ "peerDependencies": {
+ "@emotion/react": "^11.0.0-rc.0",
+ "react": ">=16.8.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@emotion/unitless": {
+ "version": "0.8.1",
+ "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.1.tgz",
+ "integrity": "sha512-KOEGMu6dmJZtpadb476IsZBclKvILjopjUii3V+7MnXIQCYh8W3NgNcgwo21n9LXZX6EDIKvqfjYxXebDwxKmQ=="
+ },
+ "node_modules/@emotion/use-insertion-effect-with-fallbacks": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.1.tgz",
+ "integrity": "sha512-jT/qyKZ9rzLErtrjGgdkMBn2OP8wl0G3sQlBb3YPryvKHsjvINUhVaPFfP+fpBcOkmrVOVEEHQFJ7nbj2TH2gw==",
+ "peerDependencies": {
+ "react": ">=16.8.0"
+ }
+ },
+ "node_modules/@emotion/utils": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.1.tgz",
+ "integrity": "sha512-Y2tGf3I+XVnajdItskUCn6LX+VUDmP6lTL4fcqsXAv43dnlbZiuW4MWQW38rW/BVWSE7Q/7+XQocmpnRYILUmg=="
+ },
+ "node_modules/@emotion/weak-memoize": {
+ "version": "0.3.1",
+ "resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.1.tgz",
+ "integrity": "sha512-EsBwpc7hBUJWAsNPBmJy4hxWx12v6bshQsldrVmjxJoc3isbxhOrF2IcCpaXxfvq03NwkI7sbsOLXbYuqF/8Ww=="
+ },
+ "node_modules/@esbuild/aix-ppc64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz",
+ "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==",
+ "cpu": [
+ "ppc64"
],
"dev": true,
"optional": true,
"os": [
- "android"
- ]
+ "aix"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
},
- "node_modules/@rollup/rollup-darwin-arm64": {
- "version": "4.19.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.19.0.tgz",
- "integrity": "sha512-emvKHL4B15x6nlNTBMtIaC9tLPRpeA5jMvRLXVbl/W9Ie7HhkrE7KQjvgS9uxgatL1HmHWDXk5TTS4IaNJxbAA==",
+ "node_modules/@esbuild/android-arm": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz",
+ "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==",
"cpu": [
- "arm64"
+ "arm"
],
"dev": true,
"optional": true,
"os": [
- "darwin"
- ]
+ "android"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
},
- "node_modules/@rollup/rollup-darwin-x64": {
- "version": "4.19.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.19.0.tgz",
- "integrity": "sha512-fO28cWA1dC57qCd+D0rfLC4VPbh6EOJXrreBmFLWPGI9dpMlER2YwSPZzSGfq11XgcEpPukPTfEVFtw2q2nYJg==",
+ "node_modules/@esbuild/android-arm64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz",
+ "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==",
"cpu": [
- "x64"
+ "arm64"
],
"dev": true,
"optional": true,
"os": [
- "darwin"
- ]
+ "android"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
},
- "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
- "version": "4.19.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.19.0.tgz",
- "integrity": "sha512-2Rn36Ubxdv32NUcfm0wB1tgKqkQuft00PtM23VqLuCUR4N5jcNWDoV5iBC9jeGdgS38WK66ElncprqgMUOyomw==",
+ "node_modules/@esbuild/android-x64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz",
+ "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==",
"cpu": [
- "arm"
+ "x64"
],
"dev": true,
"optional": true,
"os": [
- "linux"
- ]
+ "android"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
},
- "node_modules/@rollup/rollup-linux-arm-musleabihf": {
- "version": "4.19.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.19.0.tgz",
- "integrity": "sha512-gJuzIVdq/X1ZA2bHeCGCISe0VWqCoNT8BvkQ+BfsixXwTOndhtLUpOg0A1Fcx/+eA6ei6rMBzlOz4JzmiDw7JQ==",
+ "node_modules/@esbuild/darwin-arm64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz",
+ "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==",
"cpu": [
- "arm"
+ "arm64"
],
"dev": true,
"optional": true,
"os": [
- "linux"
- ]
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
},
- "node_modules/@rollup/rollup-linux-arm64-gnu": {
- "version": "4.19.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.19.0.tgz",
- "integrity": "sha512-0EkX2HYPkSADo9cfeGFoQ7R0/wTKb7q6DdwI4Yn/ULFE1wuRRCHybxpl2goQrx4c/yzK3I8OlgtBu4xvted0ug==",
+ "node_modules/@esbuild/darwin-x64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz",
+ "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==",
"cpu": [
- "arm64"
+ "x64"
],
"dev": true,
"optional": true,
"os": [
- "linux"
- ]
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
},
- "node_modules/@rollup/rollup-linux-arm64-musl": {
- "version": "4.19.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.19.0.tgz",
- "integrity": "sha512-GlIQRj9px52ISomIOEUq/IojLZqzkvRpdP3cLgIE1wUWaiU5Takwlzpz002q0Nxxr1y2ZgxC2obWxjr13lvxNQ==",
+ "node_modules/@esbuild/freebsd-arm64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz",
+ "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==",
"cpu": [
"arm64"
],
"dev": true,
"optional": true,
"os": [
- "linux"
- ]
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
},
- "node_modules/@rollup/rollup-linux-powerpc64le-gnu": {
- "version": "4.19.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.19.0.tgz",
- "integrity": "sha512-N6cFJzssruDLUOKfEKeovCKiHcdwVYOT1Hs6dovDQ61+Y9n3Ek4zXvtghPPelt6U0AH4aDGnDLb83uiJMkWYzQ==",
+ "node_modules/@esbuild/freebsd-x64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz",
+ "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-arm": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz",
+ "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-arm64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz",
+ "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-ia32": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz",
+ "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-loong64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz",
+ "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-mips64el": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz",
+ "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==",
+ "cpu": [
+ "mips64el"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-ppc64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz",
+ "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==",
"cpu": [
"ppc64"
],
@@ -2100,12 +2557,15 @@
"optional": true,
"os": [
"linux"
- ]
+ ],
+ "engines": {
+ "node": ">=12"
+ }
},
- "node_modules/@rollup/rollup-linux-riscv64-gnu": {
- "version": "4.19.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.19.0.tgz",
- "integrity": "sha512-2DnD3mkS2uuam/alF+I7M84koGwvn3ZVD7uG+LEWpyzo/bq8+kKnus2EVCkcvh6PlNB8QPNFOz6fWd5N8o1CYg==",
+ "node_modules/@esbuild/linux-riscv64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz",
+ "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==",
"cpu": [
"riscv64"
],
@@ -2113,12 +2573,15 @@
"optional": true,
"os": [
"linux"
- ]
+ ],
+ "engines": {
+ "node": ">=12"
+ }
},
- "node_modules/@rollup/rollup-linux-s390x-gnu": {
- "version": "4.19.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.19.0.tgz",
- "integrity": "sha512-D6pkaF7OpE7lzlTOFCB2m3Ngzu2ykw40Nka9WmKGUOTS3xcIieHe82slQlNq69sVB04ch73thKYIWz/Ian8DUA==",
+ "node_modules/@esbuild/linux-s390x": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz",
+ "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==",
"cpu": [
"s390x"
],
@@ -2126,12 +2589,15 @@
"optional": true,
"os": [
"linux"
- ]
+ ],
+ "engines": {
+ "node": ">=12"
+ }
},
- "node_modules/@rollup/rollup-linux-x64-gnu": {
- "version": "4.19.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.19.0.tgz",
- "integrity": "sha512-HBndjQLP8OsdJNSxpNIN0einbDmRFg9+UQeZV1eiYupIRuZsDEoeGU43NQsS34Pp166DtwQOnpcbV/zQxM+rWA==",
+ "node_modules/@esbuild/linux-x64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz",
+ "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==",
"cpu": [
"x64"
],
@@ -2139,25 +2605,63 @@
"optional": true,
"os": [
"linux"
- ]
+ ],
+ "engines": {
+ "node": ">=12"
+ }
},
- "node_modules/@rollup/rollup-linux-x64-musl": {
- "version": "4.19.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.19.0.tgz",
- "integrity": "sha512-HxfbvfCKJe/RMYJJn0a12eiOI9OOtAUF4G6ozrFUK95BNyoJaSiBjIOHjZskTUffUrB84IPKkFG9H9nEvJGW6A==",
+ "node_modules/@esbuild/netbsd-x64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz",
+ "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==",
"cpu": [
"x64"
],
"dev": true,
"optional": true,
"os": [
- "linux"
- ]
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
},
- "node_modules/@rollup/rollup-win32-arm64-msvc": {
- "version": "4.19.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.19.0.tgz",
- "integrity": "sha512-HxDMKIhmcguGTiP5TsLNolwBUK3nGGUEoV/BO9ldUBoMLBssvh4J0X8pf11i1fTV7WShWItB1bKAKjX4RQeYmg==",
+ "node_modules/@esbuild/openbsd-x64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz",
+ "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/sunos-x64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz",
+ "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "sunos"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/win32-arm64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz",
+ "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==",
"cpu": [
"arm64"
],
@@ -2165,12 +2669,15 @@
"optional": true,
"os": [
"win32"
- ]
+ ],
+ "engines": {
+ "node": ">=12"
+ }
},
- "node_modules/@rollup/rollup-win32-ia32-msvc": {
- "version": "4.19.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.19.0.tgz",
- "integrity": "sha512-xItlIAZZaiG/u0wooGzRsx11rokP4qyc/79LkAOdznGRAbOFc+SfEdfUOszG1odsHNgwippUJavag/+W/Etc6Q==",
+ "node_modules/@esbuild/win32-ia32": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz",
+ "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==",
"cpu": [
"ia32"
],
@@ -2178,792 +2685,4977 @@
"optional": true,
"os": [
"win32"
- ]
+ ],
+ "engines": {
+ "node": ">=12"
+ }
},
- "node_modules/@rollup/rollup-win32-x64-msvc": {
- "version": "4.19.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.19.0.tgz",
- "integrity": "sha512-xNo5fV5ycvCCKqiZcpB65VMR11NJB+StnxHz20jdqRAktfdfzhgjTiJ2doTDQE/7dqGaV5I7ZGqKpgph6lCIag==",
+ "node_modules/@esbuild/win32-x64": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz",
+ "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==",
"cpu": [
"x64"
],
"dev": true,
- "optional": true,
- "os": [
- "win32"
- ]
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@eslint-community/eslint-utils": {
+ "version": "4.4.0",
+ "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz",
+ "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==",
+ "dev": true,
+ "dependencies": {
+ "eslint-visitor-keys": "^3.3.0"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "peerDependencies": {
+ "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0"
+ }
+ },
+ "node_modules/@eslint-community/regexpp": {
+ "version": "4.11.0",
+ "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.11.0.tgz",
+ "integrity": "sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==",
+ "dev": true,
+ "engines": {
+ "node": "^12.0.0 || ^14.0.0 || >=16.0.0"
+ }
+ },
+ "node_modules/@eslint/eslintrc": {
+ "version": "2.1.4",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz",
+ "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==",
+ "dev": true,
+ "dependencies": {
+ "ajv": "^6.12.4",
+ "debug": "^4.3.2",
+ "espree": "^9.6.0",
+ "globals": "^13.19.0",
+ "ignore": "^5.2.0",
+ "import-fresh": "^3.2.1",
+ "js-yaml": "^4.1.0",
+ "minimatch": "^3.1.2",
+ "strip-json-comments": "^3.1.1"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/@eslint/eslintrc/node_modules/globals": {
+ "version": "13.24.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz",
+ "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==",
+ "dev": true,
+ "dependencies": {
+ "type-fest": "^0.20.2"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@eslint/eslintrc/node_modules/type-fest": {
+ "version": "0.20.2",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz",
+ "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@eslint/js": {
+ "version": "8.57.0",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz",
+ "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==",
+ "dev": true,
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ }
+ },
+ "node_modules/@hello-pangea/dnd": {
+ "version": "16.6.0",
+ "resolved": "https://registry.npmjs.org/@hello-pangea/dnd/-/dnd-16.6.0.tgz",
+ "integrity": "sha512-vfZ4GydqbtUPXSLfAvKvXQ6xwRzIjUSjVU0Sx+70VOhc2xx6CdmJXJ8YhH70RpbTUGjxctslQTHul9sIOxCfFQ==",
+ "dependencies": {
+ "@babel/runtime": "^7.24.1",
+ "css-box-model": "^1.2.1",
+ "memoize-one": "^6.0.0",
+ "raf-schd": "^4.0.3",
+ "react-redux": "^8.1.3",
+ "redux": "^4.2.1",
+ "use-memo-one": "^1.1.3"
+ },
+ "peerDependencies": {
+ "react": "^16.8.5 || ^17.0.0 || ^18.0.0",
+ "react-dom": "^16.8.5 || ^17.0.0 || ^18.0.0"
+ }
+ },
+ "node_modules/@humanwhocodes/config-array": {
+ "version": "0.11.14",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz",
+ "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==",
+ "deprecated": "Use @eslint/config-array instead",
+ "dev": true,
+ "dependencies": {
+ "@humanwhocodes/object-schema": "^2.0.2",
+ "debug": "^4.3.1",
+ "minimatch": "^3.0.5"
+ },
+ "engines": {
+ "node": ">=10.10.0"
+ }
+ },
+ "node_modules/@humanwhocodes/module-importer": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz",
+ "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==",
+ "dev": true,
+ "engines": {
+ "node": ">=12.22"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/nzakas"
+ }
+ },
+ "node_modules/@humanwhocodes/object-schema": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz",
+ "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==",
+ "deprecated": "Use @eslint/object-schema instead",
+ "dev": true
+ },
+ "node_modules/@inquirer/checkbox": {
+ "version": "2.4.3",
+ "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-2.4.3.tgz",
+ "integrity": "sha512-H/axC1lJAwFNQedx5z2boJi6ow73anqxJiS1Lld/I1LQ/Zvn0jldCjtR5yzl5KAzjYf0sHNRfJCELey5brk6cA==",
+ "dev": true,
+ "dependencies": {
+ "@inquirer/core": "^9.0.6",
+ "@inquirer/figures": "^1.0.5",
+ "@inquirer/type": "^1.5.1",
+ "ansi-escapes": "^4.3.2",
+ "yoctocolors-cjs": "^2.1.2"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@inquirer/checkbox/node_modules/ansi-escapes": {
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz",
+ "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==",
+ "dev": true,
+ "dependencies": {
+ "type-fest": "^0.21.3"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@inquirer/checkbox/node_modules/type-fest": {
+ "version": "0.21.3",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz",
+ "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@inquirer/confirm": {
+ "version": "3.1.18",
+ "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-3.1.18.tgz",
+ "integrity": "sha512-axDSeAtgRfMAOnI2NXJAcBliknRiPHBPBh8VpofFW2vSt5nxU/IoNcWfNBIs1LFwICyLzbvGjF3fd+rYLSU11w==",
+ "dev": true,
+ "dependencies": {
+ "@inquirer/core": "^9.0.6",
+ "@inquirer/type": "^1.5.1"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@inquirer/core": {
+ "version": "9.0.6",
+ "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-9.0.6.tgz",
+ "integrity": "sha512-pmwIJJrtOBmP29JLPkdq5ORGGaSzOwZbashYyME20sD5AITiy2j3LFsnTXXuiqPIkq4XjQYOHzaExAmqjyU1Cg==",
+ "dev": true,
+ "dependencies": {
+ "@inquirer/figures": "^1.0.5",
+ "@inquirer/type": "^1.5.1",
+ "@types/mute-stream": "^0.0.4",
+ "@types/node": "^20.14.13",
+ "@types/wrap-ansi": "^3.0.0",
+ "ansi-escapes": "^4.3.2",
+ "cli-spinners": "^2.9.2",
+ "cli-width": "^4.1.0",
+ "mute-stream": "^1.0.0",
+ "signal-exit": "^4.1.0",
+ "strip-ansi": "^6.0.1",
+ "wrap-ansi": "^6.2.0",
+ "yoctocolors-cjs": "^2.1.2"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@inquirer/core/node_modules/ansi-escapes": {
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz",
+ "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==",
+ "dev": true,
+ "dependencies": {
+ "type-fest": "^0.21.3"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@inquirer/core/node_modules/type-fest": {
+ "version": "0.21.3",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz",
+ "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@inquirer/core/node_modules/wrap-ansi": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz",
+ "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==",
+ "dev": true,
+ "dependencies": {
+ "ansi-styles": "^4.0.0",
+ "string-width": "^4.1.0",
+ "strip-ansi": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/@inquirer/editor": {
+ "version": "2.1.18",
+ "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-2.1.18.tgz",
+ "integrity": "sha512-DwDgYZziNSw2icITM80LRpALeFFpV6flBOUkb0EYFOTb9TnH5xp15lcExVIIr8bzjnzcQ+tAXZXJ6S8ib1iv9A==",
+ "dev": true,
+ "dependencies": {
+ "@inquirer/core": "^9.0.6",
+ "@inquirer/type": "^1.5.1",
+ "external-editor": "^3.1.0"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@inquirer/expand": {
+ "version": "2.1.18",
+ "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-2.1.18.tgz",
+ "integrity": "sha512-sI2jq0ZeU7p6+4pOAHiaknj2M1DaMdRH3I+bH34pWirqgDXRwt1WRZrj9Ni3rjK6lgevsKybxESW2ESPt4ElEw==",
+ "dev": true,
+ "dependencies": {
+ "@inquirer/core": "^9.0.6",
+ "@inquirer/type": "^1.5.1",
+ "yoctocolors-cjs": "^2.1.2"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@inquirer/figures": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.5.tgz",
+ "integrity": "sha512-79hP/VWdZ2UVc9bFGJnoQ/lQMpL74mGgzSYX1xUqCVk7/v73vJCMw1VuyWN1jGkZ9B3z7THAbySqGbCNefcjfA==",
+ "dev": true,
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@inquirer/input": {
+ "version": "2.2.5",
+ "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-2.2.5.tgz",
+ "integrity": "sha512-FGzf1xbxbshbKB75j6mSVu8XIsSoBNCWFQEeBNUYKsMPnQJi+VcxntmfkgdhW9LVAmSNQZKrgm3itbaQdAuwBA==",
+ "dev": true,
+ "dependencies": {
+ "@inquirer/core": "^9.0.6",
+ "@inquirer/type": "^1.5.1"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@inquirer/number": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-1.0.6.tgz",
+ "integrity": "sha512-e0qI1hFGRT4HGhzvd/lUvio7knGoUsj7sN+vVLFUJNyIUCo21Z+avcwoyCdSWzt5OxA0hLdTBSLzlZi6lHOsEA==",
+ "dev": true,
+ "dependencies": {
+ "@inquirer/core": "^9.0.6",
+ "@inquirer/type": "^1.5.1"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@inquirer/password": {
+ "version": "2.1.18",
+ "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-2.1.18.tgz",
+ "integrity": "sha512-cHa3BgT88aJLOUrdzU7KZYT3PsuH0vrCmULQAHP6SHIhui50qwHISQCT0QilonUxmOCRGUFhKgXa6/qSu6IAhA==",
+ "dev": true,
+ "dependencies": {
+ "@inquirer/core": "^9.0.6",
+ "@inquirer/type": "^1.5.1",
+ "ansi-escapes": "^4.3.2"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@inquirer/password/node_modules/ansi-escapes": {
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz",
+ "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==",
+ "dev": true,
+ "dependencies": {
+ "type-fest": "^0.21.3"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@inquirer/password/node_modules/type-fest": {
+ "version": "0.21.3",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz",
+ "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@inquirer/prompts": {
+ "version": "5.3.4",
+ "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-5.3.4.tgz",
+ "integrity": "sha512-rZQewXIV6yZXuZtZ65/WIhcND0RCOQZtu0uPEST7wZStLQwuZCD3rZrD1fuxygqzqA5rGq7pgSuLmhGCuSnkkA==",
+ "dev": true,
+ "dependencies": {
+ "@inquirer/checkbox": "^2.4.3",
+ "@inquirer/confirm": "^3.1.18",
+ "@inquirer/editor": "^2.1.18",
+ "@inquirer/expand": "^2.1.18",
+ "@inquirer/input": "^2.2.5",
+ "@inquirer/number": "^1.0.6",
+ "@inquirer/password": "^2.1.18",
+ "@inquirer/rawlist": "^2.2.0",
+ "@inquirer/search": "^1.0.3",
+ "@inquirer/select": "^2.4.3"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@inquirer/rawlist": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-2.2.0.tgz",
+ "integrity": "sha512-Lhsm7myhiV9WJzpmEoTHP4mIXXAWxcEeu19S6RVghC1WpkQE5pvsE3W1KBr+ouuFSW7dylZLMRe8vQdizDplTA==",
+ "dev": true,
+ "dependencies": {
+ "@inquirer/core": "^9.0.6",
+ "@inquirer/type": "^1.5.1",
+ "yoctocolors-cjs": "^2.1.2"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@inquirer/search": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-1.0.3.tgz",
+ "integrity": "sha512-3R0gWkaahzu2vkYWlr8E2IZTwj1QpanMrrK6ANsrPlXFwMl5C8v8gdKws4buBEmVBW0gpVC15xE20dlsWNhTvA==",
+ "dev": true,
+ "dependencies": {
+ "@inquirer/core": "^9.0.6",
+ "@inquirer/figures": "^1.0.5",
+ "@inquirer/type": "^1.5.1",
+ "yoctocolors-cjs": "^2.1.2"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@inquirer/select": {
+ "version": "2.4.3",
+ "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-2.4.3.tgz",
+ "integrity": "sha512-JKKZKFtN+E6aY8p9eHHDilTqAJ/taQeSzDUE08T3AddwZVj3bgQgQ5CR4Yi2/XfVv1xfZH/ENNQop7eZ8sEqfQ==",
+ "dev": true,
+ "dependencies": {
+ "@inquirer/core": "^9.0.6",
+ "@inquirer/figures": "^1.0.5",
+ "@inquirer/type": "^1.5.1",
+ "ansi-escapes": "^4.3.2",
+ "yoctocolors-cjs": "^2.1.2"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@inquirer/select/node_modules/ansi-escapes": {
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz",
+ "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==",
+ "dev": true,
+ "dependencies": {
+ "type-fest": "^0.21.3"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@inquirer/select/node_modules/type-fest": {
+ "version": "0.21.3",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz",
+ "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@inquirer/type": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-1.5.1.tgz",
+ "integrity": "sha512-m3YgGQlKNS0BM+8AFiJkCsTqHEFCWn6s/Rqye3mYwvqY6LdfUv12eSwbsgNzrYyrLXiy7IrrjDLPysaSBwEfhw==",
+ "dev": true,
+ "dependencies": {
+ "mute-stream": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@isaacs/cliui": {
+ "version": "8.0.2",
+ "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
+ "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==",
+ "dev": true,
+ "dependencies": {
+ "string-width": "^5.1.2",
+ "string-width-cjs": "npm:string-width@^4.2.0",
+ "strip-ansi": "^7.0.1",
+ "strip-ansi-cjs": "npm:strip-ansi@^6.0.1",
+ "wrap-ansi": "^8.1.0",
+ "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@isaacs/cliui/node_modules/ansi-regex": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz",
+ "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-regex?sponsor=1"
+ }
+ },
+ "node_modules/@isaacs/cliui/node_modules/ansi-styles": {
+ "version": "6.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz",
+ "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/@isaacs/cliui/node_modules/emoji-regex": {
+ "version": "9.2.2",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
+ "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==",
+ "dev": true
+ },
+ "node_modules/@isaacs/cliui/node_modules/string-width": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",
+ "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==",
+ "dev": true,
+ "dependencies": {
+ "eastasianwidth": "^0.2.0",
+ "emoji-regex": "^9.2.2",
+ "strip-ansi": "^7.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@isaacs/cliui/node_modules/strip-ansi": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",
+ "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==",
+ "dev": true,
+ "dependencies": {
+ "ansi-regex": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/strip-ansi?sponsor=1"
+ }
+ },
+ "node_modules/@isaacs/cliui/node_modules/wrap-ansi": {
+ "version": "8.1.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz",
+ "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==",
+ "dev": true,
+ "dependencies": {
+ "ansi-styles": "^6.1.0",
+ "string-width": "^5.0.1",
+ "strip-ansi": "^7.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
+ }
+ },
+ "node_modules/@isaacs/fs-minipass": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz",
+ "integrity": "sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==",
+ "dev": true,
+ "dependencies": {
+ "minipass": "^7.0.4"
+ },
+ "engines": {
+ "node": ">=18.0.0"
+ }
+ },
+ "node_modules/@jridgewell/gen-mapping": {
+ "version": "0.3.5",
+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz",
+ "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==",
+ "dependencies": {
+ "@jridgewell/set-array": "^1.2.1",
+ "@jridgewell/sourcemap-codec": "^1.4.10",
+ "@jridgewell/trace-mapping": "^0.3.24"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/resolve-uri": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
+ "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/set-array": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz",
+ "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==",
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz",
+ "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ=="
+ },
+ "node_modules/@jridgewell/trace-mapping": {
+ "version": "0.3.25",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz",
+ "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==",
+ "dependencies": {
+ "@jridgewell/resolve-uri": "^3.1.0",
+ "@jridgewell/sourcemap-codec": "^1.4.14"
+ }
+ },
+ "node_modules/@mui/core-downloads-tracker": {
+ "version": "5.16.5",
+ "resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-5.16.5.tgz",
+ "integrity": "sha512-ziFn1oPm6VjvHQcdGcAO+fXvOQEgieIj0BuSqcltFU+JXIxjPdVYNTdn2HU7/Ak5Gabk6k2u7+9PV7oZ6JT5sA==",
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/mui-org"
+ }
+ },
+ "node_modules/@mui/icons-material": {
+ "version": "5.16.5",
+ "resolved": "https://registry.npmjs.org/@mui/icons-material/-/icons-material-5.16.5.tgz",
+ "integrity": "sha512-bn88xxU/J9UV0s6+eutq7o3TTOrOlbCX+KshFb8kxgIxJZZfYz3JbAXVMivvoMF4Md6jCVUzM9HEkf4Ajab4tw==",
+ "dependencies": {
+ "@babel/runtime": "^7.23.9"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/mui-org"
+ },
+ "peerDependencies": {
+ "@mui/material": "^5.0.0",
+ "@types/react": "^17.0.0 || ^18.0.0",
+ "react": "^17.0.0 || ^18.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@mui/material": {
+ "version": "5.16.5",
+ "resolved": "https://registry.npmjs.org/@mui/material/-/material-5.16.5.tgz",
+ "integrity": "sha512-eQrjjg4JeczXvh/+8yvJkxWIiKNHVptB/AqpsKfZBWp5mUD5U3VsjODMuUl1K2BSq0omV3CiO/mQmWSSMKSmaA==",
+ "dependencies": {
+ "@babel/runtime": "^7.23.9",
+ "@mui/core-downloads-tracker": "^5.16.5",
+ "@mui/system": "^5.16.5",
+ "@mui/types": "^7.2.15",
+ "@mui/utils": "^5.16.5",
+ "@popperjs/core": "^2.11.8",
+ "@types/react-transition-group": "^4.4.10",
+ "clsx": "^2.1.0",
+ "csstype": "^3.1.3",
+ "prop-types": "^15.8.1",
+ "react-is": "^18.3.1",
+ "react-transition-group": "^4.4.5"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/mui-org"
+ },
+ "peerDependencies": {
+ "@emotion/react": "^11.5.0",
+ "@emotion/styled": "^11.3.0",
+ "@types/react": "^17.0.0 || ^18.0.0",
+ "react": "^17.0.0 || ^18.0.0",
+ "react-dom": "^17.0.0 || ^18.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@emotion/react": {
+ "optional": true
+ },
+ "@emotion/styled": {
+ "optional": true
+ },
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@mui/private-theming": {
+ "version": "5.16.5",
+ "resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-5.16.5.tgz",
+ "integrity": "sha512-CSLg0YkpDqg0aXOxtjo3oTMd3XWMxvNb5d0v4AYVqwOltU8q6GvnZjhWyCLjGSCrcgfwm6/VDjaKLPlR14wxIA==",
+ "dependencies": {
+ "@babel/runtime": "^7.23.9",
+ "@mui/utils": "^5.16.5",
+ "prop-types": "^15.8.1"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/mui-org"
+ },
+ "peerDependencies": {
+ "@types/react": "^17.0.0 || ^18.0.0",
+ "react": "^17.0.0 || ^18.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@mui/styled-engine": {
+ "version": "5.16.4",
+ "resolved": "https://registry.npmjs.org/@mui/styled-engine/-/styled-engine-5.16.4.tgz",
+ "integrity": "sha512-0+mnkf+UiAmTVB8PZFqOhqf729Yh0Cxq29/5cA3VAyDVTRIUUQ8FXQhiAhUIbijFmM72rY80ahFPXIm4WDbzcA==",
+ "dependencies": {
+ "@babel/runtime": "^7.23.9",
+ "@emotion/cache": "^11.11.0",
+ "csstype": "^3.1.3",
+ "prop-types": "^15.8.1"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/mui-org"
+ },
+ "peerDependencies": {
+ "@emotion/react": "^11.4.1",
+ "@emotion/styled": "^11.3.0",
+ "react": "^17.0.0 || ^18.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@emotion/react": {
+ "optional": true
+ },
+ "@emotion/styled": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@mui/system": {
+ "version": "5.16.5",
+ "resolved": "https://registry.npmjs.org/@mui/system/-/system-5.16.5.tgz",
+ "integrity": "sha512-uzIUGdrWddUx1HPxW4+B2o4vpgKyRxGe/8BxbfXVDPNPHX75c782TseoCnR/VyfnZJfqX87GcxDmnZEE1c031g==",
+ "dependencies": {
+ "@babel/runtime": "^7.23.9",
+ "@mui/private-theming": "^5.16.5",
+ "@mui/styled-engine": "^5.16.4",
+ "@mui/types": "^7.2.15",
+ "@mui/utils": "^5.16.5",
+ "clsx": "^2.1.0",
+ "csstype": "^3.1.3",
+ "prop-types": "^15.8.1"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/mui-org"
+ },
+ "peerDependencies": {
+ "@emotion/react": "^11.5.0",
+ "@emotion/styled": "^11.3.0",
+ "@types/react": "^17.0.0 || ^18.0.0",
+ "react": "^17.0.0 || ^18.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@emotion/react": {
+ "optional": true
+ },
+ "@emotion/styled": {
+ "optional": true
+ },
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@mui/types": {
+ "version": "7.2.15",
+ "resolved": "https://registry.npmjs.org/@mui/types/-/types-7.2.15.tgz",
+ "integrity": "sha512-nbo7yPhtKJkdf9kcVOF8JZHPZTmqXjJ/tI0bdWgHg5tp9AnIN4Y7f7wm9T+0SyGYJk76+GYZ8Q5XaTYAsUHN0Q==",
+ "peerDependencies": {
+ "@types/react": "^17.0.0 || ^18.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@mui/utils": {
+ "version": "5.16.5",
+ "resolved": "https://registry.npmjs.org/@mui/utils/-/utils-5.16.5.tgz",
+ "integrity": "sha512-CwhcA9y44XwK7k2joL3Y29mRUnoBt+gOZZdGyw7YihbEwEErJYBtDwbZwVgH68zAljGe/b+Kd5bzfl63Gi3R2A==",
+ "dependencies": {
+ "@babel/runtime": "^7.23.9",
+ "@mui/types": "^7.2.15",
+ "@types/prop-types": "^15.7.12",
+ "clsx": "^2.1.1",
+ "prop-types": "^15.8.1",
+ "react-is": "^18.3.1"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/mui-org"
+ },
+ "peerDependencies": {
+ "@types/react": "^17.0.0 || ^18.0.0",
+ "react": "^17.0.0 || ^18.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@nicolo-ribaudo/eslint-scope-5-internals": {
+ "version": "5.1.1-v1",
+ "resolved": "https://registry.npmjs.org/@nicolo-ribaudo/eslint-scope-5-internals/-/eslint-scope-5-internals-5.1.1-v1.tgz",
+ "integrity": "sha512-54/JRvkLIzzDWshCWfuhadfrfZVPiElY8Fcgmg1HroEly/EDSszzhBAsarCux+D/kOslTRquNzuyGSmUSTTHGg==",
+ "dev": true,
+ "dependencies": {
+ "eslint-scope": "5.1.1"
+ }
+ },
+ "node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/eslint-scope": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz",
+ "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==",
+ "dev": true,
+ "dependencies": {
+ "esrecurse": "^4.3.0",
+ "estraverse": "^4.1.1"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/@nicolo-ribaudo/eslint-scope-5-internals/node_modules/estraverse": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",
+ "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",
+ "dev": true,
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/@nivo/annotations": {
+ "version": "0.87.0",
+ "resolved": "https://registry.npmjs.org/@nivo/annotations/-/annotations-0.87.0.tgz",
+ "integrity": "sha512-4Xk/soEmi706iOKszjX1EcGLBNIvhMifCYXOuLIFlMAXqhw1x2YS7PxickVSskdSzJCwJX4NgQ/R/9u6nxc5OA==",
+ "dependencies": {
+ "@nivo/colors": "0.87.0",
+ "@nivo/core": "0.87.0",
+ "@react-spring/web": "9.4.5 || ^9.7.2",
+ "lodash": "^4.17.21"
+ },
+ "peerDependencies": {
+ "react": ">= 16.14.0 < 19.0.0"
+ }
+ },
+ "node_modules/@nivo/axes": {
+ "version": "0.87.0",
+ "resolved": "https://registry.npmjs.org/@nivo/axes/-/axes-0.87.0.tgz",
+ "integrity": "sha512-zCRBfiRKJi+xOxwxH5Pxq/8+yv3fAYDl4a1F2Ssnp5gMIobwzVsdearvsm5B04e9bfy3ZXTL7KgbkEkSAwu6SA==",
+ "dependencies": {
+ "@nivo/core": "0.87.0",
+ "@nivo/scales": "0.87.0",
+ "@react-spring/web": "9.4.5 || ^9.7.2",
+ "@types/d3-format": "^1.4.1",
+ "@types/d3-time-format": "^2.3.1",
+ "d3-format": "^1.4.4",
+ "d3-time-format": "^3.0.0"
+ },
+ "peerDependencies": {
+ "react": ">= 16.14.0 < 19.0.0"
+ }
+ },
+ "node_modules/@nivo/bar": {
+ "version": "0.87.0",
+ "resolved": "https://registry.npmjs.org/@nivo/bar/-/bar-0.87.0.tgz",
+ "integrity": "sha512-r/MEVCNAHKfmsy1Fb+JztVczOhIEtAx4VFs2XUbn9YpEDgxydavUJyfoy5/nGq6h5jG1/t47cfB4nZle7c0fyQ==",
+ "dependencies": {
+ "@nivo/annotations": "0.87.0",
+ "@nivo/axes": "0.87.0",
+ "@nivo/colors": "0.87.0",
+ "@nivo/core": "0.87.0",
+ "@nivo/legends": "0.87.0",
+ "@nivo/scales": "0.87.0",
+ "@nivo/tooltip": "0.87.0",
+ "@react-spring/web": "9.4.5 || ^9.7.2",
+ "@types/d3-scale": "^4.0.8",
+ "@types/d3-shape": "^3.1.6",
+ "d3-scale": "^4.0.2",
+ "d3-shape": "^3.2.0",
+ "lodash": "^4.17.21"
+ },
+ "peerDependencies": {
+ "react": ">= 16.14.0 < 19.0.0"
+ }
+ },
+ "node_modules/@nivo/colors": {
+ "version": "0.87.0",
+ "resolved": "https://registry.npmjs.org/@nivo/colors/-/colors-0.87.0.tgz",
+ "integrity": "sha512-S4pZzRGKK23t8XAjQMhML6wwsfKO9nH03xuyN4SvCodNA/Dmdys9xV+9Dg/VILTzvzsBTBGTX0dFBg65WoKfVg==",
+ "dependencies": {
+ "@nivo/core": "0.87.0",
+ "@types/d3-color": "^3.0.0",
+ "@types/d3-scale": "^4.0.8",
+ "@types/d3-scale-chromatic": "^3.0.0",
+ "@types/prop-types": "^15.7.2",
+ "d3-color": "^3.1.0",
+ "d3-scale": "^4.0.2",
+ "d3-scale-chromatic": "^3.0.0",
+ "lodash": "^4.17.21",
+ "prop-types": "^15.7.2"
+ },
+ "peerDependencies": {
+ "react": ">= 16.14.0 < 19.0.0"
+ }
+ },
+ "node_modules/@nivo/core": {
+ "version": "0.87.0",
+ "resolved": "https://registry.npmjs.org/@nivo/core/-/core-0.87.0.tgz",
+ "integrity": "sha512-yEQWJn7QjWnbmCZccBCo4dligNyNyz3kgyV9vEtcaB1iGeKhg55RJEAlCOul+IDgSCSPFci2SxTmipE6LZEZCg==",
+ "dependencies": {
+ "@nivo/tooltip": "0.87.0",
+ "@react-spring/web": "9.4.5 || ^9.7.2",
+ "@types/d3-shape": "^3.1.6",
+ "d3-color": "^3.1.0",
+ "d3-format": "^1.4.4",
+ "d3-interpolate": "^3.0.1",
+ "d3-scale": "^4.0.2",
+ "d3-scale-chromatic": "^3.0.0",
+ "d3-shape": "^3.2.0",
+ "d3-time-format": "^3.0.0",
+ "lodash": "^4.17.21",
+ "prop-types": "^15.7.2"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/nivo/donate"
+ },
+ "peerDependencies": {
+ "react": ">= 16.14.0 < 19.0.0"
+ }
+ },
+ "node_modules/@nivo/legends": {
+ "version": "0.87.0",
+ "resolved": "https://registry.npmjs.org/@nivo/legends/-/legends-0.87.0.tgz",
+ "integrity": "sha512-bVJCeqEmK4qHrxNaPU/+hXUd/yaKlcQ0yrsR18ewoknVX+pgvbe/+tRKJ+835JXlvRijYIuqwK1sUJQIxyB7oA==",
+ "dependencies": {
+ "@nivo/colors": "0.87.0",
+ "@nivo/core": "0.87.0",
+ "@types/d3-scale": "^4.0.8",
+ "d3-scale": "^4.0.2"
+ },
+ "peerDependencies": {
+ "react": ">= 16.14.0 < 19.0.0"
+ }
+ },
+ "node_modules/@nivo/scales": {
+ "version": "0.87.0",
+ "resolved": "https://registry.npmjs.org/@nivo/scales/-/scales-0.87.0.tgz",
+ "integrity": "sha512-IHdY9w2em/xpWurcbhUR3cUA1dgbY06rU8gmA/skFCwf3C4Da3Rqwr0XqvxmkDC+EdT/iFljMbLst7VYiCnSdw==",
+ "dependencies": {
+ "@types/d3-scale": "^4.0.8",
+ "@types/d3-time": "^1.1.1",
+ "@types/d3-time-format": "^3.0.0",
+ "d3-scale": "^4.0.2",
+ "d3-time": "^1.0.11",
+ "d3-time-format": "^3.0.0",
+ "lodash": "^4.17.21"
+ }
+ },
+ "node_modules/@nivo/scales/node_modules/@types/d3-time-format": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/@types/d3-time-format/-/d3-time-format-3.0.4.tgz",
+ "integrity": "sha512-or9DiDnYI1h38J9hxKEsw513+KVuFbEVhl7qdxcaudoiqWWepapUen+2vAriFGexr6W5+P4l9+HJrB39GG+oRg=="
+ },
+ "node_modules/@nivo/tooltip": {
+ "version": "0.87.0",
+ "resolved": "https://registry.npmjs.org/@nivo/tooltip/-/tooltip-0.87.0.tgz",
+ "integrity": "sha512-nZJWyRIt/45V/JBdJ9ksmNm1LFfj59G1Dy9wB63Icf2YwyBT+J+zCzOGXaY7gxCxgF1mnSL3dC7fttcEdXyN/g==",
+ "dependencies": {
+ "@nivo/core": "0.87.0",
+ "@react-spring/web": "9.4.5 || ^9.7.2"
+ },
+ "peerDependencies": {
+ "react": ">= 16.14.0 < 19.0.0"
+ }
+ },
+ "node_modules/@nodelib/fs.scandir": {
+ "version": "2.1.5",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
+ "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
+ "dev": true,
+ "dependencies": {
+ "@nodelib/fs.stat": "2.0.5",
+ "run-parallel": "^1.1.9"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@nodelib/fs.stat": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
+ "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
+ "dev": true,
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@nodelib/fs.walk": {
+ "version": "1.2.8",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
+ "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
+ "dev": true,
+ "dependencies": {
+ "@nodelib/fs.scandir": "2.1.5",
+ "fastq": "^1.6.0"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@pkgjs/parseargs": {
+ "version": "0.11.0",
+ "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz",
+ "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==",
+ "dev": true,
+ "optional": true,
+ "engines": {
+ "node": ">=14"
+ }
+ },
+ "node_modules/@pkgr/core": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.1.1.tgz",
+ "integrity": "sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==",
+ "dev": true,
+ "engines": {
+ "node": "^12.20.0 || ^14.18.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/unts"
+ }
+ },
+ "node_modules/@popperjs/core": {
+ "version": "2.11.8",
+ "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz",
+ "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==",
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/popperjs"
+ }
+ },
+ "node_modules/@raphiniert/ra-data-postgrest": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/@raphiniert/ra-data-postgrest/-/ra-data-postgrest-2.3.0.tgz",
+ "integrity": "sha512-AV2j+hbNrFMDXkjFMKzNB3hA+2Vd+3UiUVqsuBInHzVN7gHru+eRNcF1LwF5mjpYRBOHGW7DqNN2mwSNCfpTRA==",
+ "peer": true,
+ "dependencies": {
+ "lodash.isequal": "^4.5.0",
+ "qs": "^6.12.1"
+ },
+ "peerDependencies": {
+ "ra-core": "^4.1.0 || ^5.0.1"
+ }
+ },
+ "node_modules/@react-spring/animated": {
+ "version": "9.7.4",
+ "resolved": "https://registry.npmjs.org/@react-spring/animated/-/animated-9.7.4.tgz",
+ "integrity": "sha512-7As+8Pty2QlemJ9O5ecsuPKjmO0NKvmVkRR1n6mEotFgWar8FKuQt2xgxz3RTgxcccghpx1YdS1FCdElQNexmQ==",
+ "dependencies": {
+ "@react-spring/shared": "~9.7.4",
+ "@react-spring/types": "~9.7.4"
+ },
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0"
+ }
+ },
+ "node_modules/@react-spring/core": {
+ "version": "9.7.4",
+ "resolved": "https://registry.npmjs.org/@react-spring/core/-/core-9.7.4.tgz",
+ "integrity": "sha512-GzjA44niEJBFUe9jN3zubRDDDP2E4tBlhNlSIkTChiNf9p4ZQlgXBg50qbXfSXHQPHak/ExYxwhipKVsQ/sUTw==",
+ "dependencies": {
+ "@react-spring/animated": "~9.7.4",
+ "@react-spring/shared": "~9.7.4",
+ "@react-spring/types": "~9.7.4"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/react-spring/donate"
+ },
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0"
+ }
+ },
+ "node_modules/@react-spring/rafz": {
+ "version": "9.7.4",
+ "resolved": "https://registry.npmjs.org/@react-spring/rafz/-/rafz-9.7.4.tgz",
+ "integrity": "sha512-mqDI6rW0Ca8IdryOMiXRhMtVGiEGLIO89vIOyFQXRIwwIMX30HLya24g9z4olDvFyeDW3+kibiKwtZnA4xhldA=="
+ },
+ "node_modules/@react-spring/shared": {
+ "version": "9.7.4",
+ "resolved": "https://registry.npmjs.org/@react-spring/shared/-/shared-9.7.4.tgz",
+ "integrity": "sha512-bEPI7cQp94dOtCFSEYpxvLxj0+xQfB5r9Ru1h8OMycsIq7zFZon1G0sHrBLaLQIWeMCllc4tVDYRTLIRv70C8w==",
+ "dependencies": {
+ "@react-spring/rafz": "~9.7.4",
+ "@react-spring/types": "~9.7.4"
+ },
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0"
+ }
+ },
+ "node_modules/@react-spring/types": {
+ "version": "9.7.4",
+ "resolved": "https://registry.npmjs.org/@react-spring/types/-/types-9.7.4.tgz",
+ "integrity": "sha512-iQVztO09ZVfsletMiY+DpT/JRiBntdsdJ4uqk3UJFhrhS8mIC9ZOZbmfGSRs/kdbNPQkVyzucceDicQ/3Mlj9g=="
+ },
+ "node_modules/@react-spring/web": {
+ "version": "9.7.4",
+ "resolved": "https://registry.npmjs.org/@react-spring/web/-/web-9.7.4.tgz",
+ "integrity": "sha512-UMvCZp7I5HCVIleSa4BwbNxynqvj+mJjG2m20VO2yPoi2pnCYANy58flvz9v/YcXTAvsmL655FV3pm5fbr6akA==",
+ "dependencies": {
+ "@react-spring/animated": "~9.7.4",
+ "@react-spring/core": "~9.7.4",
+ "@react-spring/shared": "~9.7.4",
+ "@react-spring/types": "~9.7.4"
+ },
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
+ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
+ }
+ },
+ "node_modules/@remix-run/router": {
+ "version": "1.18.0",
+ "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.18.0.tgz",
+ "integrity": "sha512-L3jkqmqoSVBVKHfpGZmLrex0lxR5SucGA0sUfFzGctehw+S/ggL9L/0NnC5mw6P8HUWpFZ3nQw3cRApjjWx9Sw==",
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/@rollup/rollup-android-arm-eabi": {
+ "version": "4.19.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.19.0.tgz",
+ "integrity": "sha512-JlPfZ/C7yn5S5p0yKk7uhHTTnFlvTgLetl2VxqE518QgyM7C9bSfFTYvB/Q/ftkq0RIPY4ySxTz+/wKJ/dXC0w==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@rollup/rollup-android-arm64": {
+ "version": "4.19.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.19.0.tgz",
+ "integrity": "sha512-RDxUSY8D1tWYfn00DDi5myxKgOk6RvWPxhmWexcICt/MEC6yEMr4HNCu1sXXYLw8iAsg0D44NuU+qNq7zVWCrw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@rollup/rollup-darwin-arm64": {
+ "version": "4.19.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.19.0.tgz",
+ "integrity": "sha512-emvKHL4B15x6nlNTBMtIaC9tLPRpeA5jMvRLXVbl/W9Ie7HhkrE7KQjvgS9uxgatL1HmHWDXk5TTS4IaNJxbAA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@rollup/rollup-darwin-x64": {
+ "version": "4.19.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.19.0.tgz",
+ "integrity": "sha512-fO28cWA1dC57qCd+D0rfLC4VPbh6EOJXrreBmFLWPGI9dpMlER2YwSPZzSGfq11XgcEpPukPTfEVFtw2q2nYJg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
+ "version": "4.19.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.19.0.tgz",
+ "integrity": "sha512-2Rn36Ubxdv32NUcfm0wB1tgKqkQuft00PtM23VqLuCUR4N5jcNWDoV5iBC9jeGdgS38WK66ElncprqgMUOyomw==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm-musleabihf": {
+ "version": "4.19.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.19.0.tgz",
+ "integrity": "sha512-gJuzIVdq/X1ZA2bHeCGCISe0VWqCoNT8BvkQ+BfsixXwTOndhtLUpOg0A1Fcx/+eA6ei6rMBzlOz4JzmiDw7JQ==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm64-gnu": {
+ "version": "4.19.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.19.0.tgz",
+ "integrity": "sha512-0EkX2HYPkSADo9cfeGFoQ7R0/wTKb7q6DdwI4Yn/ULFE1wuRRCHybxpl2goQrx4c/yzK3I8OlgtBu4xvted0ug==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm64-musl": {
+ "version": "4.19.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.19.0.tgz",
+ "integrity": "sha512-GlIQRj9px52ISomIOEUq/IojLZqzkvRpdP3cLgIE1wUWaiU5Takwlzpz002q0Nxxr1y2ZgxC2obWxjr13lvxNQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-powerpc64le-gnu": {
+ "version": "4.19.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.19.0.tgz",
+ "integrity": "sha512-N6cFJzssruDLUOKfEKeovCKiHcdwVYOT1Hs6dovDQ61+Y9n3Ek4zXvtghPPelt6U0AH4aDGnDLb83uiJMkWYzQ==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-riscv64-gnu": {
+ "version": "4.19.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.19.0.tgz",
+ "integrity": "sha512-2DnD3mkS2uuam/alF+I7M84koGwvn3ZVD7uG+LEWpyzo/bq8+kKnus2EVCkcvh6PlNB8QPNFOz6fWd5N8o1CYg==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-s390x-gnu": {
+ "version": "4.19.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.19.0.tgz",
+ "integrity": "sha512-D6pkaF7OpE7lzlTOFCB2m3Ngzu2ykw40Nka9WmKGUOTS3xcIieHe82slQlNq69sVB04ch73thKYIWz/Ian8DUA==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-x64-gnu": {
+ "version": "4.19.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.19.0.tgz",
+ "integrity": "sha512-HBndjQLP8OsdJNSxpNIN0einbDmRFg9+UQeZV1eiYupIRuZsDEoeGU43NQsS34Pp166DtwQOnpcbV/zQxM+rWA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-x64-musl": {
+ "version": "4.19.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.19.0.tgz",
+ "integrity": "sha512-HxfbvfCKJe/RMYJJn0a12eiOI9OOtAUF4G6ozrFUK95BNyoJaSiBjIOHjZskTUffUrB84IPKkFG9H9nEvJGW6A==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-arm64-msvc": {
+ "version": "4.19.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.19.0.tgz",
+ "integrity": "sha512-HxDMKIhmcguGTiP5TsLNolwBUK3nGGUEoV/BO9ldUBoMLBssvh4J0X8pf11i1fTV7WShWItB1bKAKjX4RQeYmg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-ia32-msvc": {
+ "version": "4.19.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.19.0.tgz",
+ "integrity": "sha512-xItlIAZZaiG/u0wooGzRsx11rokP4qyc/79LkAOdznGRAbOFc+SfEdfUOszG1odsHNgwippUJavag/+W/Etc6Q==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-x64-msvc": {
+ "version": "4.19.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.19.0.tgz",
+ "integrity": "sha512-xNo5fV5ycvCCKqiZcpB65VMR11NJB+StnxHz20jdqRAktfdfzhgjTiJ2doTDQE/7dqGaV5I7ZGqKpgph6lCIag==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rushstack/eslint-patch": {
+ "version": "1.10.4",
+ "resolved": "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.10.4.tgz",
+ "integrity": "sha512-WJgX9nzTqknM393q1QJDJmoW28kUfEnybeTfVNcNAPnIx210RXm2DiXiHzfNPJNIUUb1tJnz/l4QGtJ30PgWmA==",
+ "dev": true
+ },
+ "node_modules/@sindresorhus/merge-streams": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-2.1.0.tgz",
+ "integrity": "sha512-g3/sYJWXTAf3Ce861z4/mW9jDxN7hoNHZMEyhd3Zh7GKQPiovWNttzhRW2BeGPwPxPpLDKumL6Sg056VAMjdkg==",
+ "dev": true,
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@supabase/auth-js": {
+ "version": "2.64.4",
+ "resolved": "https://registry.npmjs.org/@supabase/auth-js/-/auth-js-2.64.4.tgz",
+ "integrity": "sha512-9ITagy4WP4FLl+mke1rchapOH0RQpf++DI+WSG2sO1OFOZ0rW3cwAM0nCrMOxu+Zw4vJ4zObc08uvQrXx590Tg==",
+ "dependencies": {
+ "@supabase/node-fetch": "^2.6.14"
+ }
+ },
+ "node_modules/@supabase/functions-js": {
+ "version": "2.4.1",
+ "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-2.4.1.tgz",
+ "integrity": "sha512-8sZ2ibwHlf+WkHDUZJUXqqmPvWQ3UHN0W30behOJngVh/qHHekhJLCFbh0AjkE9/FqqXtf9eoVvmYgfCLk5tNA==",
+ "dependencies": {
+ "@supabase/node-fetch": "^2.6.14"
+ }
+ },
+ "node_modules/@supabase/node-fetch": {
+ "version": "2.6.15",
+ "resolved": "https://registry.npmjs.org/@supabase/node-fetch/-/node-fetch-2.6.15.tgz",
+ "integrity": "sha512-1ibVeYUacxWYi9i0cf5efil6adJ9WRyZBLivgjs+AUpewx1F3xPi7gLgaASI2SmIQxPoCEjAsLAzKPgMJVgOUQ==",
+ "dependencies": {
+ "whatwg-url": "^5.0.0"
+ },
+ "engines": {
+ "node": "4.x || >=6.0.0"
+ }
+ },
+ "node_modules/@supabase/postgrest-js": {
+ "version": "1.15.8",
+ "resolved": "https://registry.npmjs.org/@supabase/postgrest-js/-/postgrest-js-1.15.8.tgz",
+ "integrity": "sha512-YunjXpoQjQ0a0/7vGAvGZA2dlMABXFdVI/8TuVKtlePxyT71sl6ERl6ay1fmIeZcqxiuFQuZw/LXUuStUG9bbg==",
+ "dependencies": {
+ "@supabase/node-fetch": "^2.6.14"
+ }
+ },
+ "node_modules/@supabase/realtime-js": {
+ "version": "2.10.2",
+ "resolved": "https://registry.npmjs.org/@supabase/realtime-js/-/realtime-js-2.10.2.tgz",
+ "integrity": "sha512-qyCQaNg90HmJstsvr2aJNxK2zgoKh9ZZA8oqb7UT2LCh3mj9zpa3Iwu167AuyNxsxrUE8eEJ2yH6wLCij4EApA==",
+ "dependencies": {
+ "@supabase/node-fetch": "^2.6.14",
+ "@types/phoenix": "^1.5.4",
+ "@types/ws": "^8.5.10",
+ "ws": "^8.14.2"
+ }
+ },
+ "node_modules/@supabase/storage-js": {
+ "version": "2.6.0",
+ "resolved": "https://registry.npmjs.org/@supabase/storage-js/-/storage-js-2.6.0.tgz",
+ "integrity": "sha512-REAxr7myf+3utMkI2oOmZ6sdplMZZ71/2NEIEMBZHL9Fkmm3/JnaOZVSRqvG4LStYj2v5WhCruCzuMn6oD/Drw==",
+ "dependencies": {
+ "@supabase/node-fetch": "^2.6.14"
+ }
+ },
+ "node_modules/@supabase/supabase-js": {
+ "version": "2.45.0",
+ "resolved": "https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-2.45.0.tgz",
+ "integrity": "sha512-j66Mfs8RhzCQCKxKogAFQYH9oNhRmgIdKk6pexguI2Oc7hi+nL9UNJug5aL1tKnBdaBM3h65riPLQSdL6sWa3Q==",
+ "dependencies": {
+ "@supabase/auth-js": "2.64.4",
+ "@supabase/functions-js": "2.4.1",
+ "@supabase/node-fetch": "2.6.15",
+ "@supabase/postgrest-js": "1.15.8",
+ "@supabase/realtime-js": "2.10.2",
+ "@supabase/storage-js": "2.6.0"
+ }
+ },
+ "node_modules/@tanstack/query-core": {
+ "version": "5.51.15",
+ "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.51.15.tgz",
+ "integrity": "sha512-xyobHDJ0yhPE3+UkSQ2/4X1fLSg7ICJI5J1JyU9yf7F3deQfEwSImCDrB1WSRrauJkMtXW7YIEcC0oA6ZZWt5A==",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/tannerlinsley"
+ }
+ },
+ "node_modules/@tanstack/react-query": {
+ "version": "5.51.15",
+ "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.51.15.tgz",
+ "integrity": "sha512-UgFg23SrdIYrmfTSxAUn9g+J64VQy11pb9/EefoY/u2+zWuNMeqEOnvpJhf52XQy0yztQoyM9p6x8PFyTNaxXg==",
+ "dependencies": {
+ "@tanstack/query-core": "5.51.15"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/tannerlinsley"
+ },
+ "peerDependencies": {
+ "react": "^18.0.0"
+ }
+ },
+ "node_modules/@testing-library/dom": {
+ "version": "10.4.0",
+ "resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-10.4.0.tgz",
+ "integrity": "sha512-pemlzrSESWbdAloYml3bAJMEfNh1Z7EduzqPKprCH5S341frlpYnUEW0H72dLxa6IsYr+mPno20GiSm+h9dEdQ==",
+ "dev": true,
+ "peer": true,
+ "dependencies": {
+ "@babel/code-frame": "^7.10.4",
+ "@babel/runtime": "^7.12.5",
+ "@types/aria-query": "^5.0.1",
+ "aria-query": "5.3.0",
+ "chalk": "^4.1.0",
+ "dom-accessibility-api": "^0.5.9",
+ "lz-string": "^1.5.0",
+ "pretty-format": "^27.0.2"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@testing-library/jest-dom": {
+ "version": "6.4.8",
+ "resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-6.4.8.tgz",
+ "integrity": "sha512-JD0G+Zc38f5MBHA4NgxQMR5XtO5Jx9g86jqturNTt2WUfRmLDIY7iKkWHDCCTiDuFMre6nxAD5wHw9W5kI4rGw==",
+ "dev": true,
+ "dependencies": {
+ "@adobe/css-tools": "^4.4.0",
+ "@babel/runtime": "^7.9.2",
+ "aria-query": "^5.0.0",
+ "chalk": "^3.0.0",
+ "css.escape": "^1.5.1",
+ "dom-accessibility-api": "^0.6.3",
+ "lodash": "^4.17.21",
+ "redent": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=14",
+ "npm": ">=6",
+ "yarn": ">=1"
+ }
+ },
+ "node_modules/@testing-library/jest-dom/node_modules/chalk": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz",
+ "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==",
+ "dev": true,
+ "dependencies": {
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api": {
+ "version": "0.6.3",
+ "resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.6.3.tgz",
+ "integrity": "sha512-7ZgogeTnjuHbo+ct10G9Ffp0mif17idi0IyWNVA/wcwcm7NPOD/WEHVP3n7n3MhXqxoIYm8d6MuZohYWIZ4T3w==",
+ "dev": true
+ },
+ "node_modules/@testing-library/react": {
+ "version": "16.0.0",
+ "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-16.0.0.tgz",
+ "integrity": "sha512-guuxUKRWQ+FgNX0h0NS0FIq3Q3uLtWVpBzcLOggmfMoUpgBnzBzvLLd4fbm6yS8ydJd94cIfY4yP9qUQjM2KwQ==",
+ "dev": true,
+ "dependencies": {
+ "@babel/runtime": "^7.12.5"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "@testing-library/dom": "^10.0.0",
+ "@types/react": "^18.0.0",
+ "@types/react-dom": "^18.0.0",
+ "react": "^18.0.0",
+ "react-dom": "^18.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@testing-library/user-event": {
+ "version": "14.5.2",
+ "resolved": "https://registry.npmjs.org/@testing-library/user-event/-/user-event-14.5.2.tgz",
+ "integrity": "sha512-YAh82Wh4TIrxYLmfGcixwD18oIjyC1pFQC2Y01F2lzV2HTMiYrI0nze0FD0ocB//CKS/7jIUgae+adPqxK5yCQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=12",
+ "npm": ">=6"
+ },
+ "peerDependencies": {
+ "@testing-library/dom": ">=7.21.4"
+ }
+ },
+ "node_modules/@types/aria-query": {
+ "version": "5.0.4",
+ "resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-5.0.4.tgz",
+ "integrity": "sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw==",
+ "dev": true,
+ "peer": true
+ },
+ "node_modules/@types/babel__core": {
+ "version": "7.20.5",
+ "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz",
+ "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==",
+ "dev": true,
+ "dependencies": {
+ "@babel/parser": "^7.20.7",
+ "@babel/types": "^7.20.7",
+ "@types/babel__generator": "*",
+ "@types/babel__template": "*",
+ "@types/babel__traverse": "*"
+ }
+ },
+ "node_modules/@types/babel__generator": {
+ "version": "7.6.8",
+ "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.8.tgz",
+ "integrity": "sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==",
+ "dev": true,
+ "dependencies": {
+ "@babel/types": "^7.0.0"
+ }
+ },
+ "node_modules/@types/babel__template": {
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz",
+ "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==",
+ "dev": true,
+ "dependencies": {
+ "@babel/parser": "^7.1.0",
+ "@babel/types": "^7.0.0"
+ }
+ },
+ "node_modules/@types/babel__traverse": {
+ "version": "7.20.5",
+ "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.5.tgz",
+ "integrity": "sha512-WXCyOcRtH37HAUkpXhUduaxdm82b4GSlyTqajXviN4EfiuPgNYR109xMCKvpl6zPIpua0DGlMEDCq+g8EdoheQ==",
+ "dev": true,
+ "dependencies": {
+ "@babel/types": "^7.20.7"
+ }
+ },
+ "node_modules/@types/d3-color": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/@types/d3-color/-/d3-color-3.1.3.tgz",
+ "integrity": "sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A=="
+ },
+ "node_modules/@types/d3-format": {
+ "version": "1.4.5",
+ "resolved": "https://registry.npmjs.org/@types/d3-format/-/d3-format-1.4.5.tgz",
+ "integrity": "sha512-mLxrC1MSWupOSncXN/HOlWUAAIffAEBaI4+PKy2uMPsKe4FNZlk7qrbTjmzJXITQQqBHivaks4Td18azgqnotA=="
+ },
+ "node_modules/@types/d3-path": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/@types/d3-path/-/d3-path-3.1.0.tgz",
+ "integrity": "sha512-P2dlU/q51fkOc/Gfl3Ul9kicV7l+ra934qBFXCFhrZMOL6du1TM0pm1ThYvENukyOn5h9v+yMJ9Fn5JK4QozrQ=="
+ },
+ "node_modules/@types/d3-scale": {
+ "version": "4.0.8",
+ "resolved": "https://registry.npmjs.org/@types/d3-scale/-/d3-scale-4.0.8.tgz",
+ "integrity": "sha512-gkK1VVTr5iNiYJ7vWDI+yUFFlszhNMtVeneJ6lUTKPjprsvLLI9/tgEGiXJOnlINJA8FyA88gfnQsHbybVZrYQ==",
+ "dependencies": {
+ "@types/d3-time": "*"
+ }
+ },
+ "node_modules/@types/d3-scale-chromatic": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/@types/d3-scale-chromatic/-/d3-scale-chromatic-3.0.3.tgz",
+ "integrity": "sha512-laXM4+1o5ImZv3RpFAsTRn3TEkzqkytiOY0Dz0sq5cnd1dtNlk6sHLon4OvqaiJb28T0S/TdsBI3Sjsy+keJrw=="
+ },
+ "node_modules/@types/d3-shape": {
+ "version": "3.1.6",
+ "resolved": "https://registry.npmjs.org/@types/d3-shape/-/d3-shape-3.1.6.tgz",
+ "integrity": "sha512-5KKk5aKGu2I+O6SONMYSNflgiP0WfZIQvVUMan50wHsLG1G94JlxEVnCpQARfTtzytuY0p/9PXXZb3I7giofIA==",
+ "dependencies": {
+ "@types/d3-path": "*"
+ }
+ },
+ "node_modules/@types/d3-time": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/@types/d3-time/-/d3-time-1.1.4.tgz",
+ "integrity": "sha512-JIvy2HjRInE+TXOmIGN5LCmeO0hkFZx5f9FZ7kiN+D+YTcc8pptsiLiuHsvwxwC7VVKmJ2ExHUgNlAiV7vQM9g=="
+ },
+ "node_modules/@types/d3-time-format": {
+ "version": "2.3.4",
+ "resolved": "https://registry.npmjs.org/@types/d3-time-format/-/d3-time-format-2.3.4.tgz",
+ "integrity": "sha512-xdDXbpVO74EvadI3UDxjxTdR6QIxm1FKzEA/+F8tL4GWWUg/hgvBqf6chql64U5A9ZUGWo7pEu4eNlyLwbKdhg=="
+ },
+ "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==",
+ "dev": true
+ },
+ "node_modules/@types/hoist-non-react-statics": {
+ "version": "3.3.5",
+ "resolved": "https://registry.npmjs.org/@types/hoist-non-react-statics/-/hoist-non-react-statics-3.3.5.tgz",
+ "integrity": "sha512-SbcrWzkKBw2cdwRTwQAswfpB9g9LJWfjtUeW/jvNwbhC8cpmmNYVePa+ncbUe0rGTQ7G3Ff6mYUN2VMfLVr+Sg==",
+ "dependencies": {
+ "@types/react": "*",
+ "hoist-non-react-statics": "^3.3.0"
+ }
+ },
+ "node_modules/@types/json-schema": {
+ "version": "7.0.15",
+ "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",
+ "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==",
+ "dev": true
+ },
+ "node_modules/@types/json5": {
+ "version": "0.0.29",
+ "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz",
+ "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==",
+ "dev": true
+ },
+ "node_modules/@types/lodash": {
+ "version": "4.17.7",
+ "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.7.tgz",
+ "integrity": "sha512-8wTvZawATi/lsmNu10/j2hk1KEP0IvjubqPE3cu1Xz7xfXXt5oCq3SNUz4fMIP4XGF9Ky+Ue2tBA3hcS7LSBlA==",
+ "dev": true
+ },
+ "node_modules/@types/mute-stream": {
+ "version": "0.0.4",
+ "resolved": "https://registry.npmjs.org/@types/mute-stream/-/mute-stream-0.0.4.tgz",
+ "integrity": "sha512-CPM9nzrCPPJHQNA9keH9CVkVI+WR5kMa+7XEs5jcGQ0VoAGnLv242w8lIVgwAEfmE4oufJRaTc9PNLQl0ioAow==",
+ "dev": true,
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@types/node": {
+ "version": "20.14.13",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.13.tgz",
+ "integrity": "sha512-+bHoGiZb8UiQ0+WEtmph2IWQCjIqg8MDZMAV+ppRRhUZnquF5mQkP/9vpSwJClEiSM/C7fZZExPzfU0vJTyp8w==",
+ "dependencies": {
+ "undici-types": "~5.26.4"
+ }
+ },
+ "node_modules/@types/parse-json": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.2.tgz",
+ "integrity": "sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw=="
+ },
+ "node_modules/@types/pg": {
+ "version": "8.11.6",
+ "resolved": "https://registry.npmjs.org/@types/pg/-/pg-8.11.6.tgz",
+ "integrity": "sha512-/2WmmBXHLsfRqzfHW7BNZ8SbYzE8OSk7i3WjFYvfgRHj7S1xj+16Je5fUKv3lVdVzk/zn9TXOqf+avFCFIE0yQ==",
+ "dev": true,
+ "dependencies": {
+ "@types/node": "*",
+ "pg-protocol": "*",
+ "pg-types": "^4.0.1"
+ }
+ },
+ "node_modules/@types/pg/node_modules/pg-types": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/pg-types/-/pg-types-4.0.2.tgz",
+ "integrity": "sha512-cRL3JpS3lKMGsKaWndugWQoLOCoP+Cic8oseVcbr0qhPzYD5DWXK+RZ9LY9wxRf7RQia4SCwQlXk0q6FCPrVng==",
+ "dev": true,
+ "dependencies": {
+ "pg-int8": "1.0.1",
+ "pg-numeric": "1.0.2",
+ "postgres-array": "~3.0.1",
+ "postgres-bytea": "~3.0.0",
+ "postgres-date": "~2.1.0",
+ "postgres-interval": "^3.0.0",
+ "postgres-range": "^1.1.1"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@types/pg/node_modules/postgres-array": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/postgres-array/-/postgres-array-3.0.2.tgz",
+ "integrity": "sha512-6faShkdFugNQCLwucjPcY5ARoW1SlbnrZjmGl0IrrqewpvxvhSLHimCVzqeuULCbG0fQv7Dtk1yDbG3xv7Veog==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@types/pg/node_modules/postgres-bytea": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/postgres-bytea/-/postgres-bytea-3.0.0.tgz",
+ "integrity": "sha512-CNd4jim9RFPkObHSjVHlVrxoVQXz7quwNFpz7RY1okNNme49+sVyiTvTRobiLV548Hx/hb1BG+iE7h9493WzFw==",
+ "dev": true,
+ "dependencies": {
+ "obuf": "~1.1.2"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/@types/pg/node_modules/postgres-date": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/postgres-date/-/postgres-date-2.1.0.tgz",
+ "integrity": "sha512-K7Juri8gtgXVcDfZttFKVmhglp7epKb1K4pgrkLxehjqkrgPhfG6OO8LHLkfaqkbpjNRnra018XwAr1yQFWGcA==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@types/pg/node_modules/postgres-interval": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/postgres-interval/-/postgres-interval-3.0.0.tgz",
+ "integrity": "sha512-BSNDnbyZCXSxgA+1f5UU2GmwhoI0aU5yMxRGO8CdFEcY2BQF9xm/7MqKnYoM1nJDk8nONNWDk9WeSmePFhQdlw==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@types/phoenix": {
+ "version": "1.6.5",
+ "resolved": "https://registry.npmjs.org/@types/phoenix/-/phoenix-1.6.5.tgz",
+ "integrity": "sha512-xegpDuR+z0UqG9fwHqNoy3rI7JDlvaPh2TY47Fl80oq6g+hXT+c/LEuE43X48clZ6lOfANl5WrPur9fYO1RJ/w=="
+ },
+ "node_modules/@types/prop-types": {
+ "version": "15.7.12",
+ "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.12.tgz",
+ "integrity": "sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q=="
+ },
+ "node_modules/@types/react": {
+ "version": "18.3.3",
+ "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.3.tgz",
+ "integrity": "sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw==",
+ "dependencies": {
+ "@types/prop-types": "*",
+ "csstype": "^3.0.2"
+ }
+ },
+ "node_modules/@types/react-dom": {
+ "version": "18.3.0",
+ "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.0.tgz",
+ "integrity": "sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==",
+ "devOptional": true,
+ "dependencies": {
+ "@types/react": "*"
+ }
+ },
+ "node_modules/@types/react-transition-group": {
+ "version": "4.4.10",
+ "resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.10.tgz",
+ "integrity": "sha512-hT/+s0VQs2ojCX823m60m5f0sL5idt9SO6Tj6Dg+rdphGPIeJbJ6CxvBYkgkGKrYeDjvIpKTR38UzmtHJOGW3Q==",
+ "dependencies": {
+ "@types/react": "*"
+ }
+ },
+ "node_modules/@types/semver": {
+ "version": "7.5.8",
+ "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz",
+ "integrity": "sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==",
+ "dev": true
+ },
+ "node_modules/@types/use-sync-external-store": {
+ "version": "0.0.3",
+ "resolved": "https://registry.npmjs.org/@types/use-sync-external-store/-/use-sync-external-store-0.0.3.tgz",
+ "integrity": "sha512-EwmlvuaxPNej9+T4v5AuBPJa2x2UOJVdjCtDHgcDqitUeOtjnJKJ+apYjVcAoBEMjKW1VVFGZLUb5+qqa09XFA=="
+ },
+ "node_modules/@types/wrap-ansi": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@types/wrap-ansi/-/wrap-ansi-3.0.0.tgz",
+ "integrity": "sha512-ltIpx+kM7g/MLRZfkbL7EsCEjfzCcScLpkg37eXEtx5kmrAKBkTJwd1GIAjDSL8wTpM6Hzn5YO4pSb91BEwu1g==",
+ "dev": true
+ },
+ "node_modules/@types/ws": {
+ "version": "8.5.11",
+ "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.11.tgz",
+ "integrity": "sha512-4+q7P5h3SpJxaBft0Dzpbr6lmMaqh0Jr2tbhJZ/luAwvD7ohSCniYkwz/pLxuT2h0EOa6QADgJj1Ko+TzRfZ+w==",
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
+ "node_modules/@typescript-eslint/eslint-plugin": {
+ "version": "5.62.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz",
+ "integrity": "sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==",
+ "dev": true,
+ "dependencies": {
+ "@eslint-community/regexpp": "^4.4.0",
+ "@typescript-eslint/scope-manager": "5.62.0",
+ "@typescript-eslint/type-utils": "5.62.0",
+ "@typescript-eslint/utils": "5.62.0",
+ "debug": "^4.3.4",
+ "graphemer": "^1.4.0",
+ "ignore": "^5.2.0",
+ "natural-compare-lite": "^1.4.0",
+ "semver": "^7.3.7",
+ "tsutils": "^3.21.0"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "@typescript-eslint/parser": "^5.0.0",
+ "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@typescript-eslint/eslint-plugin/node_modules/semver": {
+ "version": "7.6.3",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz",
+ "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==",
+ "dev": true,
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@typescript-eslint/experimental-utils": {
+ "version": "5.62.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.62.0.tgz",
+ "integrity": "sha512-RTXpeB3eMkpoclG3ZHft6vG/Z30azNHuqY6wKPBHlVMZFuEvrtlEDe8gMqDb+SO+9hjC/pLekeSCryf9vMZlCw==",
+ "dev": true,
+ "dependencies": {
+ "@typescript-eslint/utils": "5.62.0"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0"
+ }
+ },
+ "node_modules/@typescript-eslint/parser": {
+ "version": "5.62.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.62.0.tgz",
+ "integrity": "sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==",
+ "dev": true,
+ "dependencies": {
+ "@typescript-eslint/scope-manager": "5.62.0",
+ "@typescript-eslint/types": "5.62.0",
+ "@typescript-eslint/typescript-estree": "5.62.0",
+ "debug": "^4.3.4"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@typescript-eslint/scope-manager": {
+ "version": "5.62.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz",
+ "integrity": "sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==",
+ "dev": true,
+ "dependencies": {
+ "@typescript-eslint/types": "5.62.0",
+ "@typescript-eslint/visitor-keys": "5.62.0"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ }
+ },
+ "node_modules/@typescript-eslint/type-utils": {
+ "version": "5.62.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.62.0.tgz",
+ "integrity": "sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew==",
+ "dev": true,
+ "dependencies": {
+ "@typescript-eslint/typescript-estree": "5.62.0",
+ "@typescript-eslint/utils": "5.62.0",
+ "debug": "^4.3.4",
+ "tsutils": "^3.21.0"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "*"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@typescript-eslint/types": {
+ "version": "5.62.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.62.0.tgz",
+ "integrity": "sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==",
+ "dev": true,
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree": {
+ "version": "5.62.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz",
+ "integrity": "sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==",
+ "dev": true,
+ "dependencies": {
+ "@typescript-eslint/types": "5.62.0",
+ "@typescript-eslint/visitor-keys": "5.62.0",
+ "debug": "^4.3.4",
+ "globby": "^11.1.0",
+ "is-glob": "^4.0.3",
+ "semver": "^7.3.7",
+ "tsutils": "^3.21.0"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": {
+ "version": "7.6.3",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz",
+ "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==",
+ "dev": true,
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@typescript-eslint/utils": {
+ "version": "5.62.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.62.0.tgz",
+ "integrity": "sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==",
+ "dev": true,
+ "dependencies": {
+ "@eslint-community/eslint-utils": "^4.2.0",
+ "@types/json-schema": "^7.0.9",
+ "@types/semver": "^7.3.12",
+ "@typescript-eslint/scope-manager": "5.62.0",
+ "@typescript-eslint/types": "5.62.0",
+ "@typescript-eslint/typescript-estree": "5.62.0",
+ "eslint-scope": "^5.1.1",
+ "semver": "^7.3.7"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0"
+ }
+ },
+ "node_modules/@typescript-eslint/utils/node_modules/eslint-scope": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz",
+ "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==",
+ "dev": true,
+ "dependencies": {
+ "esrecurse": "^4.3.0",
+ "estraverse": "^4.1.1"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/@typescript-eslint/utils/node_modules/estraverse": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",
+ "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",
+ "dev": true,
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/@typescript-eslint/utils/node_modules/semver": {
+ "version": "7.6.3",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz",
+ "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==",
+ "dev": true,
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@typescript-eslint/visitor-keys": {
+ "version": "5.62.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz",
+ "integrity": "sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==",
+ "dev": true,
+ "dependencies": {
+ "@typescript-eslint/types": "5.62.0",
+ "eslint-visitor-keys": "^3.3.0"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ }
+ },
+ "node_modules/@ungap/structured-clone": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz",
+ "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==",
+ "dev": true
+ },
+ "node_modules/@vitejs/plugin-react": {
+ "version": "4.3.1",
+ "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.3.1.tgz",
+ "integrity": "sha512-m/V2syj5CuVnaxcUJOQRel/Wr31FFXRFlnOoq1TVtkCxsY5veGMTEmpWHndrhB2U8ScHtCQB1e+4hWYExQc6Lg==",
+ "dev": true,
+ "dependencies": {
+ "@babel/core": "^7.24.5",
+ "@babel/plugin-transform-react-jsx-self": "^7.24.5",
+ "@babel/plugin-transform-react-jsx-source": "^7.24.1",
+ "@types/babel__core": "^7.20.5",
+ "react-refresh": "^0.14.2"
+ },
+ "engines": {
+ "node": "^14.18.0 || >=16.0.0"
+ },
+ "peerDependencies": {
+ "vite": "^4.2.0 || ^5.0.0"
+ }
+ },
+ "node_modules/acorn": {
+ "version": "8.12.1",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz",
+ "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==",
+ "dev": true,
+ "bin": {
+ "acorn": "bin/acorn"
+ },
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/acorn-jsx": {
+ "version": "5.3.2",
+ "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz",
+ "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
+ "dev": true,
+ "peerDependencies": {
+ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
+ }
+ },
+ "node_modules/agent-base": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.0.tgz",
+ "integrity": "sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg==",
+ "dev": true,
+ "dependencies": {
+ "debug": "^4.3.4"
+ },
+ "engines": {
+ "node": ">= 14"
+ }
+ },
+ "node_modules/ajv": {
+ "version": "6.12.6",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
+ "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
+ "dev": true,
+ "dependencies": {
+ "fast-deep-equal": "^3.1.1",
+ "fast-json-stable-stringify": "^2.0.0",
+ "json-schema-traverse": "^0.4.1",
+ "uri-js": "^4.2.2"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/epoberezkin"
+ }
+ },
+ "node_modules/ansi-escapes": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-7.0.0.tgz",
+ "integrity": "sha512-GdYO7a61mR0fOlAsvC9/rIHf7L96sBc6dEWzeOu+KAea5bZyQRPIpojrVoI4AXGJS/ycu/fBTdLrUkA4ODrvjw==",
+ "dev": true,
+ "dependencies": {
+ "environment": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/ansi-regex": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "dev": true,
+ "dependencies": {
+ "color-convert": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/argparse": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
+ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
+ "dev": true
+ },
+ "node_modules/aria-query": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.0.tgz",
+ "integrity": "sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==",
+ "dev": true,
+ "dependencies": {
+ "dequal": "^2.0.3"
+ }
+ },
+ "node_modules/array-buffer-byte-length": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz",
+ "integrity": "sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.5",
+ "is-array-buffer": "^3.0.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/array-includes": {
+ "version": "3.1.8",
+ "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.8.tgz",
+ "integrity": "sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.7",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.2",
+ "es-object-atoms": "^1.0.0",
+ "get-intrinsic": "^1.2.4",
+ "is-string": "^1.0.7"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/array-union": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz",
+ "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/array.prototype.findlast": {
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/array.prototype.findlast/-/array.prototype.findlast-1.2.5.tgz",
+ "integrity": "sha512-CVvd6FHg1Z3POpBLxO6E6zr+rSKEQ9L6rZHAaY7lLfhKsWYUBBOuMs0e9o24oopj6H+geRCX0YJ+TJLBK2eHyQ==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.7",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.2",
+ "es-errors": "^1.3.0",
+ "es-object-atoms": "^1.0.0",
+ "es-shim-unscopables": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/array.prototype.findlastindex": {
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.5.tgz",
+ "integrity": "sha512-zfETvRFA8o7EiNn++N5f/kaCw221hrpGsDmcpndVupkPzEc1Wuf3VgC0qby1BbHs7f5DVYjgtEU2LLh5bqeGfQ==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.7",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.2",
+ "es-errors": "^1.3.0",
+ "es-object-atoms": "^1.0.0",
+ "es-shim-unscopables": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/array.prototype.flat": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz",
+ "integrity": "sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1",
+ "es-shim-unscopables": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/array.prototype.flatmap": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz",
+ "integrity": "sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1",
+ "es-shim-unscopables": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/array.prototype.tosorted": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/array.prototype.tosorted/-/array.prototype.tosorted-1.1.4.tgz",
+ "integrity": "sha512-p6Fx8B7b7ZhL/gmUsAy0D15WhvDccw3mnGNbZpi3pmeJdxtWsj2jEaI4Y6oo3XiHfzuSgPwKc04MYt6KgvC/wA==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.7",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.3",
+ "es-errors": "^1.3.0",
+ "es-shim-unscopables": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/arraybuffer.prototype.slice": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.3.tgz",
+ "integrity": "sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==",
+ "dev": true,
+ "dependencies": {
+ "array-buffer-byte-length": "^1.0.1",
+ "call-bind": "^1.0.5",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.22.3",
+ "es-errors": "^1.2.1",
+ "get-intrinsic": "^1.2.3",
+ "is-array-buffer": "^3.0.4",
+ "is-shared-array-buffer": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/ast-types-flow": {
+ "version": "0.0.8",
+ "resolved": "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.8.tgz",
+ "integrity": "sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ==",
+ "dev": true
+ },
+ "node_modules/attr-accept": {
+ "version": "2.2.2",
+ "resolved": "https://registry.npmjs.org/attr-accept/-/attr-accept-2.2.2.tgz",
+ "integrity": "sha512-7prDjvt9HmqiZ0cl5CRjtS84sEyhsHP2coDkaZKRKVfCDo9s7iw7ChVmar78Gu9pC4SoR/28wFu/G5JJhTnqEg==",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/auto-bind": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/auto-bind/-/auto-bind-5.0.1.tgz",
+ "integrity": "sha512-ooviqdwwgfIfNmDwo94wlshcdzfO64XV0Cg6oDsDYBJfITDz1EngD2z7DkbvCWn+XIMsIqW27sEVF6qcpJrRcg==",
+ "dev": true,
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/autosuggest-highlight": {
+ "version": "3.3.4",
+ "resolved": "https://registry.npmjs.org/autosuggest-highlight/-/autosuggest-highlight-3.3.4.tgz",
+ "integrity": "sha512-j6RETBD2xYnrVcoV1S5R4t3WxOlWZKyDQjkwnggDPSjF5L4jV98ZltBpvPvbkM1HtoSe5o+bNrTHyjPbieGeYA==",
+ "dependencies": {
+ "remove-accents": "^0.4.2"
+ }
+ },
+ "node_modules/available-typed-arrays": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz",
+ "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==",
+ "dev": true,
+ "dependencies": {
+ "possible-typed-array-names": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/axe-core": {
+ "version": "4.9.1",
+ "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.9.1.tgz",
+ "integrity": "sha512-QbUdXJVTpvUTHU7871ppZkdOLBeGUKBQWHkHrvN2V9IQWGMt61zf3B45BtzjxEJzYuj0JBjBZP/hmYS/R9pmAw==",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/axobject-query": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-3.1.1.tgz",
+ "integrity": "sha512-goKlv8DZrK9hUh975fnHzhNIO4jUnFCfv/dszV5VwUGDFjI6vQ2VwoyjYjYNEbBE8AH87TduWP5uyDR1D+Iteg==",
+ "dev": true,
+ "dependencies": {
+ "deep-equal": "^2.0.5"
+ }
+ },
+ "node_modules/babel-plugin-macros": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz",
+ "integrity": "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==",
+ "dependencies": {
+ "@babel/runtime": "^7.12.5",
+ "cosmiconfig": "^7.0.0",
+ "resolve": "^1.19.0"
+ },
+ "engines": {
+ "node": ">=10",
+ "npm": ">=6"
+ }
+ },
+ "node_modules/babel-plugin-polyfill-corejs2": {
+ "version": "0.4.11",
+ "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.11.tgz",
+ "integrity": "sha512-sMEJ27L0gRHShOh5G54uAAPaiCOygY/5ratXuiyb2G46FmlSpc9eFCzYVyDiPxfNbwzA7mYahmjQc5q+CZQ09Q==",
+ "dev": true,
+ "dependencies": {
+ "@babel/compat-data": "^7.22.6",
+ "@babel/helper-define-polyfill-provider": "^0.6.2",
+ "semver": "^6.3.1"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0"
+ }
+ },
+ "node_modules/babel-plugin-polyfill-corejs3": {
+ "version": "0.10.4",
+ "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.10.4.tgz",
+ "integrity": "sha512-25J6I8NGfa5YkCDogHRID3fVCadIR8/pGl1/spvCkzb6lVn6SR3ojpx9nOn9iEBcUsjY24AmdKm5khcfKdylcg==",
+ "dev": true,
+ "dependencies": {
+ "@babel/helper-define-polyfill-provider": "^0.6.1",
+ "core-js-compat": "^3.36.1"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0"
+ }
+ },
+ "node_modules/babel-plugin-polyfill-regenerator": {
+ "version": "0.6.2",
+ "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.6.2.tgz",
+ "integrity": "sha512-2R25rQZWP63nGwaAswvDazbPXfrM3HwVoBXK6HcqeKrSrL/JqcC/rDcf95l4r7LXLyxDXc8uQDa064GubtCABg==",
+ "dev": true,
+ "dependencies": {
+ "@babel/helper-define-polyfill-provider": "^0.6.2"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0"
+ }
+ },
+ "node_modules/babel-plugin-transform-react-remove-prop-types": {
+ "version": "0.4.24",
+ "resolved": "https://registry.npmjs.org/babel-plugin-transform-react-remove-prop-types/-/babel-plugin-transform-react-remove-prop-types-0.4.24.tgz",
+ "integrity": "sha512-eqj0hVcJUR57/Ug2zE1Yswsw4LhuqqHhD+8v120T1cl3kjg76QwtyBrdIk4WVwK+lAhBJVYCd/v+4nc4y+8JsA==",
+ "dev": true
+ },
+ "node_modules/babel-preset-react-app": {
+ "version": "10.0.1",
+ "resolved": "https://registry.npmjs.org/babel-preset-react-app/-/babel-preset-react-app-10.0.1.tgz",
+ "integrity": "sha512-b0D9IZ1WhhCWkrTXyFuIIgqGzSkRIH5D5AmB0bXbzYAB1OBAwHcUeyWW2LorutLWF5btNo/N7r/cIdmvvKJlYg==",
+ "dev": true,
+ "dependencies": {
+ "@babel/core": "^7.16.0",
+ "@babel/plugin-proposal-class-properties": "^7.16.0",
+ "@babel/plugin-proposal-decorators": "^7.16.4",
+ "@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.0",
+ "@babel/plugin-proposal-numeric-separator": "^7.16.0",
+ "@babel/plugin-proposal-optional-chaining": "^7.16.0",
+ "@babel/plugin-proposal-private-methods": "^7.16.0",
+ "@babel/plugin-transform-flow-strip-types": "^7.16.0",
+ "@babel/plugin-transform-react-display-name": "^7.16.0",
+ "@babel/plugin-transform-runtime": "^7.16.4",
+ "@babel/preset-env": "^7.16.4",
+ "@babel/preset-react": "^7.16.0",
+ "@babel/preset-typescript": "^7.16.0",
+ "@babel/runtime": "^7.16.3",
+ "babel-plugin-macros": "^3.1.0",
+ "babel-plugin-transform-react-remove-prop-types": "^0.4.24"
+ }
+ },
+ "node_modules/balanced-match": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
+ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
+ "dev": true
+ },
+ "node_modules/bin-links": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/bin-links/-/bin-links-4.0.3.tgz",
+ "integrity": "sha512-obsRaULtJurnfox/MDwgq6Yo9kzbv1CPTk/1/s7Z/61Lezc8IKkFCOXNeVLXz0456WRzBQmSsDWlai2tIhBsfA==",
+ "dev": true,
+ "dependencies": {
+ "cmd-shim": "^6.0.0",
+ "npm-normalize-package-bin": "^3.0.0",
+ "read-cmd-shim": "^4.0.0",
+ "write-file-atomic": "^5.0.0"
+ },
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/brace-expansion": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
+ "dev": true,
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/braces": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
+ "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
+ "dev": true,
+ "dependencies": {
+ "fill-range": "^7.1.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/browserslist": {
+ "version": "4.23.2",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.2.tgz",
+ "integrity": "sha512-qkqSyistMYdxAcw+CzbZwlBy8AGmS/eEWs+sEV5TnLRGDOL+C5M2EnH6tlZyg0YoAxGJAFKh61En9BR941GnHA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/browserslist"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "dependencies": {
+ "caniuse-lite": "^1.0.30001640",
+ "electron-to-chromium": "^1.4.820",
+ "node-releases": "^2.0.14",
+ "update-browserslist-db": "^1.1.0"
+ },
+ "bin": {
+ "browserslist": "cli.js"
+ },
+ "engines": {
+ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
+ }
+ },
+ "node_modules/call-bind": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz",
+ "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==",
+ "dependencies": {
+ "es-define-property": "^1.0.0",
+ "es-errors": "^1.3.0",
+ "function-bind": "^1.1.2",
+ "get-intrinsic": "^1.2.4",
+ "set-function-length": "^1.2.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/callsites": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
+ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/caniuse-lite": {
+ "version": "1.0.30001643",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001643.tgz",
+ "integrity": "sha512-ERgWGNleEilSrHM6iUz/zJNSQTP8Mr21wDWpdgvRwcTXGAq6jMtOUPP4dqFPTdKqZ2wKTdtB+uucZ3MRpAUSmg==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/caniuse-lite"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ]
+ },
+ "node_modules/chalk": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
+ "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
+ "dev": true,
+ "dependencies": {
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/chalk?sponsor=1"
+ }
+ },
+ "node_modules/chardet": {
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz",
+ "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==",
+ "dev": true
+ },
+ "node_modules/chownr": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/chownr/-/chownr-3.0.0.tgz",
+ "integrity": "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==",
+ "dev": true,
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/cli-boxes": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-3.0.0.tgz",
+ "integrity": "sha512-/lzGpEWL/8PfI0BmBOPRwp0c/wFNX1RdUML3jK/RcSBA9T8mZDdQpqYBKtCFTOfQbwPqWEOpjqW+Fnayc0969g==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/cli-cursor": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-4.0.0.tgz",
+ "integrity": "sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==",
+ "dev": true,
+ "dependencies": {
+ "restore-cursor": "^4.0.0"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/cli-spinners": {
+ "version": "2.9.2",
+ "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz",
+ "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==",
+ "dev": true,
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/cli-truncate": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-4.0.0.tgz",
+ "integrity": "sha512-nPdaFdQ0h/GEigbPClz11D0v/ZJEwxmeVZGeMo3Z5StPtUTkA9o1lD6QwoirYiSDzbcwn2XcjwmCp68W1IS4TA==",
+ "dev": true,
+ "dependencies": {
+ "slice-ansi": "^5.0.0",
+ "string-width": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/cli-truncate/node_modules/ansi-regex": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz",
+ "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-regex?sponsor=1"
+ }
+ },
+ "node_modules/cli-truncate/node_modules/ansi-styles": {
+ "version": "6.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz",
+ "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/cli-truncate/node_modules/emoji-regex": {
+ "version": "10.3.0",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz",
+ "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==",
+ "dev": true
+ },
+ "node_modules/cli-truncate/node_modules/is-fullwidth-code-point": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz",
+ "integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/cli-truncate/node_modules/slice-ansi": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-5.0.0.tgz",
+ "integrity": "sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==",
+ "dev": true,
+ "dependencies": {
+ "ansi-styles": "^6.0.0",
+ "is-fullwidth-code-point": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/slice-ansi?sponsor=1"
+ }
+ },
+ "node_modules/cli-truncate/node_modules/string-width": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz",
+ "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==",
+ "dev": true,
+ "dependencies": {
+ "emoji-regex": "^10.3.0",
+ "get-east-asian-width": "^1.0.0",
+ "strip-ansi": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/cli-truncate/node_modules/strip-ansi": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",
+ "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==",
+ "dev": true,
+ "dependencies": {
+ "ansi-regex": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/strip-ansi?sponsor=1"
+ }
+ },
+ "node_modules/cli-width": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-4.1.0.tgz",
+ "integrity": "sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==",
+ "dev": true,
+ "engines": {
+ "node": ">= 12"
+ }
+ },
+ "node_modules/cliui": {
+ "version": "8.0.1",
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz",
+ "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==",
+ "dev": true,
+ "dependencies": {
+ "string-width": "^4.2.0",
+ "strip-ansi": "^6.0.1",
+ "wrap-ansi": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/clsx": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz",
+ "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/cmd-shim": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/cmd-shim/-/cmd-shim-6.0.2.tgz",
+ "integrity": "sha512-+FFYbB0YLaAkhkcrjkyNLYDiOsFSfRjwjY19LXk/psmMx1z00xlCv7hhQoTGXXIKi+YXHL/iiFo8NqMVQX9nOw==",
+ "dev": true,
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/code-excerpt": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/code-excerpt/-/code-excerpt-4.0.0.tgz",
+ "integrity": "sha512-xxodCmBen3iy2i0WtAK8FlFNrRzjUqjRsMfho58xT/wvZU1YTM3fCnRjcy1gJPMepaRlgm/0e6w8SpWHpn3/cA==",
+ "dev": true,
+ "dependencies": {
+ "convert-to-spaces": "^2.0.1"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ }
+ },
+ "node_modules/color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+ "dev": true,
+ "dependencies": {
+ "color-name": "~1.1.4"
+ },
+ "engines": {
+ "node": ">=7.0.0"
+ }
+ },
+ "node_modules/color-name": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
+ "dev": true
+ },
+ "node_modules/colorette": {
+ "version": "2.0.20",
+ "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz",
+ "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==",
+ "dev": true
+ },
+ "node_modules/commander": {
+ "version": "11.0.0",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-11.0.0.tgz",
+ "integrity": "sha512-9HMlXtt/BNoYr8ooyjjNRdIilOTkVJXB+GhxMTtOKwk0R4j4lS4NpjuqmRxroBfnfTSHQIHQB7wryHhXarNjmQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=16"
+ }
+ },
+ "node_modules/concat-map": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
+ "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
+ "dev": true
+ },
+ "node_modules/confusing-browser-globals": {
+ "version": "1.0.11",
+ "resolved": "https://registry.npmjs.org/confusing-browser-globals/-/confusing-browser-globals-1.0.11.tgz",
+ "integrity": "sha512-JsPKdmh8ZkmnHxDk55FZ1TqVLvEQTvoByJZRN9jzI0UjxK/QgAmsphz7PGtqgPieQZ/CQcHWXCR7ATDNhGe+YA==",
+ "dev": true
+ },
+ "node_modules/convert-source-map": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
+ "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==",
+ "dev": true
+ },
+ "node_modules/convert-to-spaces": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/convert-to-spaces/-/convert-to-spaces-2.0.1.tgz",
+ "integrity": "sha512-rcQ1bsQO9799wq24uE5AM2tAILy4gXGIK/njFWcVQkGNZ96edlpY+A7bjwvzjYvLDyzmG1MmMLZhpcsb+klNMQ==",
+ "dev": true,
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ }
+ },
+ "node_modules/core-js-compat": {
+ "version": "3.37.1",
+ "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.37.1.tgz",
+ "integrity": "sha512-9TNiImhKvQqSUkOvk/mMRZzOANTiEVC7WaBNhHcKM7x+/5E1l5NvsysR19zuDQScE8k+kfQXWRN3AtS/eOSHpg==",
+ "dev": true,
+ "dependencies": {
+ "browserslist": "^4.23.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/core-js"
+ }
+ },
+ "node_modules/cosmiconfig": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.1.0.tgz",
+ "integrity": "sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==",
+ "dependencies": {
+ "@types/parse-json": "^4.0.0",
+ "import-fresh": "^3.2.1",
+ "parse-json": "^5.0.0",
+ "path-type": "^4.0.0",
+ "yaml": "^1.10.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/cropperjs": {
+ "version": "1.6.2",
+ "resolved": "https://registry.npmjs.org/cropperjs/-/cropperjs-1.6.2.tgz",
+ "integrity": "sha512-nhymn9GdnV3CqiEHJVai54TULFAE3VshJTXSqSJKa8yXAKyBKDWdhHarnlIPrshJ0WMFTGuFvG02YjLXfPiuOA=="
+ },
+ "node_modules/cross-spawn": {
+ "version": "7.0.3",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
+ "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
+ "dev": true,
+ "dependencies": {
+ "path-key": "^3.1.0",
+ "shebang-command": "^2.0.0",
+ "which": "^2.0.1"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/cross-spawn/node_modules/which": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
+ "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
+ "dev": true,
+ "dependencies": {
+ "isexe": "^2.0.0"
+ },
+ "bin": {
+ "node-which": "bin/node-which"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/css-box-model": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/css-box-model/-/css-box-model-1.2.1.tgz",
+ "integrity": "sha512-a7Vr4Q/kd/aw96bnJG332W9V9LkJO69JRcaCYDUqjp6/z0w6VcZjgAcTbgFxEPfBgdnAwlh3iwu+hLopa+flJw==",
+ "dependencies": {
+ "tiny-invariant": "^1.0.6"
+ }
+ },
+ "node_modules/css-mediaquery": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/css-mediaquery/-/css-mediaquery-0.1.2.tgz",
+ "integrity": "sha512-COtn4EROW5dBGlE/4PiKnh6rZpAPxDeFLaEEwt4i10jpDMFt2EhQGS79QmmrO+iKCHv0PU/HrOWEhijFd1x99Q=="
+ },
+ "node_modules/css.escape": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/css.escape/-/css.escape-1.5.1.tgz",
+ "integrity": "sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg==",
+ "dev": true
+ },
+ "node_modules/csstype": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz",
+ "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw=="
+ },
+ "node_modules/d3-array": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-3.2.4.tgz",
+ "integrity": "sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg==",
+ "dependencies": {
+ "internmap": "1 - 2"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-color": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-3.1.0.tgz",
+ "integrity": "sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-format": {
+ "version": "1.4.5",
+ "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-1.4.5.tgz",
+ "integrity": "sha512-J0piedu6Z8iB6TbIGfZgDzfXxUFN3qQRMofy2oPdXzQibYGqPB/9iMcxr/TGalU+2RsyDO+U4f33id8tbnSRMQ=="
+ },
+ "node_modules/d3-interpolate": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-3.0.1.tgz",
+ "integrity": "sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==",
+ "dependencies": {
+ "d3-color": "1 - 3"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-path": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-3.1.0.tgz",
+ "integrity": "sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-scale": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-4.0.2.tgz",
+ "integrity": "sha512-GZW464g1SH7ag3Y7hXjf8RoUuAFIqklOAq3MRl4OaWabTFJY9PN/E1YklhXLh+OQ3fM9yS2nOkCoS+WLZ6kvxQ==",
+ "dependencies": {
+ "d3-array": "2.10.0 - 3",
+ "d3-format": "1 - 3",
+ "d3-interpolate": "1.2.0 - 3",
+ "d3-time": "2.1.1 - 3",
+ "d3-time-format": "2 - 4"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-scale-chromatic": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/d3-scale-chromatic/-/d3-scale-chromatic-3.1.0.tgz",
+ "integrity": "sha512-A3s5PWiZ9YCXFye1o246KoscMWqf8BsD9eRiJ3He7C9OBaxKhAd5TFCdEx/7VbKtxxTsu//1mMJFrEt572cEyQ==",
+ "dependencies": {
+ "d3-color": "1 - 3",
+ "d3-interpolate": "1 - 3"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-scale/node_modules/d3-time": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-3.1.0.tgz",
+ "integrity": "sha512-VqKjzBLejbSMT4IgbmVgDjpkYrNWUYJnbCGo874u7MMKIWsILRX+OpX/gTk8MqjpT1A/c6HY2dCA77ZN0lkQ2Q==",
+ "dependencies": {
+ "d3-array": "2 - 3"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-shape": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-3.2.0.tgz",
+ "integrity": "sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==",
+ "dependencies": {
+ "d3-path": "^3.1.0"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-time": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-1.1.0.tgz",
+ "integrity": "sha512-Xh0isrZ5rPYYdqhAVk8VLnMEidhz5aP7htAADH6MfzgmmicPkTo8LhkLxci61/lCB7n7UmE3bN0leRt+qvkLxA=="
+ },
+ "node_modules/d3-time-format": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-3.0.0.tgz",
+ "integrity": "sha512-UXJh6EKsHBTjopVqZBhFysQcoXSv/5yLONZvkQ5Kk3qbwiUYkdX17Xa1PT6U1ZWXGGfB1ey5L8dKMlFq2DO0Ag==",
+ "dependencies": {
+ "d3-time": "1 - 2"
+ }
+ },
+ "node_modules/damerau-levenshtein": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz",
+ "integrity": "sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==",
+ "dev": true
+ },
+ "node_modules/data-uri-to-buffer": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz",
+ "integrity": "sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==",
+ "dev": true,
+ "engines": {
+ "node": ">= 12"
+ }
+ },
+ "node_modules/data-view-buffer": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.1.tgz",
+ "integrity": "sha512-0lht7OugA5x3iJLOWFhWK/5ehONdprk0ISXqVFn/NFrDu+cuc8iADFrGQz5BnRK7LLU3JmkbXSxaqX+/mXYtUA==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.6",
+ "es-errors": "^1.3.0",
+ "is-data-view": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/data-view-byte-length": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/data-view-byte-length/-/data-view-byte-length-1.0.1.tgz",
+ "integrity": "sha512-4J7wRJD3ABAzr8wP+OcIcqq2dlUKp4DVflx++hs5h5ZKydWMI6/D/fAot+yh6g2tHh8fLFTvNOaVN357NvSrOQ==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.7",
+ "es-errors": "^1.3.0",
+ "is-data-view": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/data-view-byte-offset": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/data-view-byte-offset/-/data-view-byte-offset-1.0.0.tgz",
+ "integrity": "sha512-t/Ygsytq+R995EJ5PZlD4Cu56sWa8InXySaViRzw9apusqsOO2bQP+SbYzAhR0pFKoB+43lYy8rWban9JSuXnA==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.6",
+ "es-errors": "^1.3.0",
+ "is-data-view": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/date-fns": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-3.6.0.tgz",
+ "integrity": "sha512-fRHTG8g/Gif+kSh50gaGEdToemgfj74aRX3swtiouboip5JDLAyDE9F11nHMIcvOaXeOC6D7SpNhi7uFyB7Uww==",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/kossnocorp"
+ }
+ },
+ "node_modules/debug": {
+ "version": "4.3.4",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
+ "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
+ "dependencies": {
+ "ms": "2.1.2"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/decode-uri-component": {
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.2.tgz",
+ "integrity": "sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==",
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/deep-equal": {
+ "version": "2.2.3",
+ "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-2.2.3.tgz",
+ "integrity": "sha512-ZIwpnevOurS8bpT4192sqAowWM76JDKSHYzMLty3BZGSswgq6pBaH3DhCSW5xVAZICZyKdOBPjwww5wfgT/6PA==",
+ "dev": true,
+ "dependencies": {
+ "array-buffer-byte-length": "^1.0.0",
+ "call-bind": "^1.0.5",
+ "es-get-iterator": "^1.1.3",
+ "get-intrinsic": "^1.2.2",
+ "is-arguments": "^1.1.1",
+ "is-array-buffer": "^3.0.2",
+ "is-date-object": "^1.0.5",
+ "is-regex": "^1.1.4",
+ "is-shared-array-buffer": "^1.0.2",
+ "isarray": "^2.0.5",
+ "object-is": "^1.1.5",
+ "object-keys": "^1.1.1",
+ "object.assign": "^4.1.4",
+ "regexp.prototype.flags": "^1.5.1",
+ "side-channel": "^1.0.4",
+ "which-boxed-primitive": "^1.0.2",
+ "which-collection": "^1.0.1",
+ "which-typed-array": "^1.1.13"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/deep-is": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
+ "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==",
+ "dev": true
+ },
+ "node_modules/define-data-property": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz",
+ "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==",
+ "dependencies": {
+ "es-define-property": "^1.0.0",
+ "es-errors": "^1.3.0",
+ "gopd": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/define-lazy-prop": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz",
+ "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/define-properties": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz",
+ "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==",
+ "dependencies": {
+ "define-data-property": "^1.0.1",
+ "has-property-descriptors": "^1.0.0",
+ "object-keys": "^1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/dequal": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz",
+ "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==",
+ "dev": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/dir-glob": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz",
+ "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==",
+ "dev": true,
+ "dependencies": {
+ "path-type": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/doctrine": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",
+ "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==",
+ "dev": true,
+ "dependencies": {
+ "esutils": "^2.0.2"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/dom-accessibility-api": {
+ "version": "0.5.16",
+ "resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.5.16.tgz",
+ "integrity": "sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg==",
+ "dev": true,
+ "peer": true
+ },
+ "node_modules/dom-helpers": {
+ "version": "5.2.1",
+ "resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz",
+ "integrity": "sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==",
+ "dependencies": {
+ "@babel/runtime": "^7.8.7",
+ "csstype": "^3.0.2"
+ }
+ },
+ "node_modules/dompurify": {
+ "version": "2.4.7",
+ "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-2.4.7.tgz",
+ "integrity": "sha512-kxxKlPEDa6Nc5WJi+qRgPbOAbgTpSULL+vI3NUXsZMlkJxTqYI9wg5ZTay2sFrdZRWHPWNi+EdAhcJf81WtoMQ=="
+ },
+ "node_modules/dotenv": {
+ "version": "16.4.5",
+ "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.5.tgz",
+ "integrity": "sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://dotenvx.com"
+ }
+ },
+ "node_modules/eastasianwidth": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz",
+ "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==",
+ "dev": true
+ },
+ "node_modules/electron-to-chromium": {
+ "version": "1.5.2",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.2.tgz",
+ "integrity": "sha512-kc4r3U3V3WLaaZqThjYz/Y6z8tJe+7K0bbjUVo3i+LWIypVdMx5nXCkwRe6SWbY6ILqLdc1rKcKmr3HoH7wjSQ==",
+ "dev": true
+ },
+ "node_modules/emoji-regex": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
+ "dev": true
+ },
+ "node_modules/environment": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/environment/-/environment-1.1.0.tgz",
+ "integrity": "sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==",
+ "dev": true,
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/error-ex": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
+ "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",
+ "dependencies": {
+ "is-arrayish": "^0.2.1"
+ }
+ },
+ "node_modules/es-abstract": {
+ "version": "1.23.3",
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.3.tgz",
+ "integrity": "sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A==",
+ "dev": true,
+ "dependencies": {
+ "array-buffer-byte-length": "^1.0.1",
+ "arraybuffer.prototype.slice": "^1.0.3",
+ "available-typed-arrays": "^1.0.7",
+ "call-bind": "^1.0.7",
+ "data-view-buffer": "^1.0.1",
+ "data-view-byte-length": "^1.0.1",
+ "data-view-byte-offset": "^1.0.0",
+ "es-define-property": "^1.0.0",
+ "es-errors": "^1.3.0",
+ "es-object-atoms": "^1.0.0",
+ "es-set-tostringtag": "^2.0.3",
+ "es-to-primitive": "^1.2.1",
+ "function.prototype.name": "^1.1.6",
+ "get-intrinsic": "^1.2.4",
+ "get-symbol-description": "^1.0.2",
+ "globalthis": "^1.0.3",
+ "gopd": "^1.0.1",
+ "has-property-descriptors": "^1.0.2",
+ "has-proto": "^1.0.3",
+ "has-symbols": "^1.0.3",
+ "hasown": "^2.0.2",
+ "internal-slot": "^1.0.7",
+ "is-array-buffer": "^3.0.4",
+ "is-callable": "^1.2.7",
+ "is-data-view": "^1.0.1",
+ "is-negative-zero": "^2.0.3",
+ "is-regex": "^1.1.4",
+ "is-shared-array-buffer": "^1.0.3",
+ "is-string": "^1.0.7",
+ "is-typed-array": "^1.1.13",
+ "is-weakref": "^1.0.2",
+ "object-inspect": "^1.13.1",
+ "object-keys": "^1.1.1",
+ "object.assign": "^4.1.5",
+ "regexp.prototype.flags": "^1.5.2",
+ "safe-array-concat": "^1.1.2",
+ "safe-regex-test": "^1.0.3",
+ "string.prototype.trim": "^1.2.9",
+ "string.prototype.trimend": "^1.0.8",
+ "string.prototype.trimstart": "^1.0.8",
+ "typed-array-buffer": "^1.0.2",
+ "typed-array-byte-length": "^1.0.1",
+ "typed-array-byte-offset": "^1.0.2",
+ "typed-array-length": "^1.0.6",
+ "unbox-primitive": "^1.0.2",
+ "which-typed-array": "^1.1.15"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/es-define-property": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz",
+ "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==",
+ "dependencies": {
+ "get-intrinsic": "^1.2.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-errors": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
+ "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-get-iterator": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/es-get-iterator/-/es-get-iterator-1.1.3.tgz",
+ "integrity": "sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "get-intrinsic": "^1.1.3",
+ "has-symbols": "^1.0.3",
+ "is-arguments": "^1.1.1",
+ "is-map": "^2.0.2",
+ "is-set": "^2.0.2",
+ "is-string": "^1.0.7",
+ "isarray": "^2.0.5",
+ "stop-iteration-iterator": "^1.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/es-iterator-helpers": {
+ "version": "1.0.19",
+ "resolved": "https://registry.npmjs.org/es-iterator-helpers/-/es-iterator-helpers-1.0.19.tgz",
+ "integrity": "sha512-zoMwbCcH5hwUkKJkT8kDIBZSz9I6mVG//+lDCinLCGov4+r7NIy0ld8o03M0cJxl2spVf6ESYVS6/gpIfq1FFw==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.7",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.3",
+ "es-errors": "^1.3.0",
+ "es-set-tostringtag": "^2.0.3",
+ "function-bind": "^1.1.2",
+ "get-intrinsic": "^1.2.4",
+ "globalthis": "^1.0.3",
+ "has-property-descriptors": "^1.0.2",
+ "has-proto": "^1.0.3",
+ "has-symbols": "^1.0.3",
+ "internal-slot": "^1.0.7",
+ "iterator.prototype": "^1.1.2",
+ "safe-array-concat": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-object-atoms": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.0.0.tgz",
+ "integrity": "sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==",
+ "dependencies": {
+ "es-errors": "^1.3.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-set-tostringtag": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.3.tgz",
+ "integrity": "sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ==",
+ "dev": true,
+ "dependencies": {
+ "get-intrinsic": "^1.2.4",
+ "has-tostringtag": "^1.0.2",
+ "hasown": "^2.0.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-shim-unscopables": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.2.tgz",
+ "integrity": "sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==",
+ "dev": true,
+ "dependencies": {
+ "hasown": "^2.0.0"
+ }
+ },
+ "node_modules/es-to-primitive": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
+ "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
+ "dev": true,
+ "dependencies": {
+ "is-callable": "^1.1.4",
+ "is-date-object": "^1.0.1",
+ "is-symbol": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/esbuild": {
+ "version": "0.21.5",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz",
+ "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==",
+ "dev": true,
+ "hasInstallScript": true,
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.21.5",
+ "@esbuild/android-arm": "0.21.5",
+ "@esbuild/android-arm64": "0.21.5",
+ "@esbuild/android-x64": "0.21.5",
+ "@esbuild/darwin-arm64": "0.21.5",
+ "@esbuild/darwin-x64": "0.21.5",
+ "@esbuild/freebsd-arm64": "0.21.5",
+ "@esbuild/freebsd-x64": "0.21.5",
+ "@esbuild/linux-arm": "0.21.5",
+ "@esbuild/linux-arm64": "0.21.5",
+ "@esbuild/linux-ia32": "0.21.5",
+ "@esbuild/linux-loong64": "0.21.5",
+ "@esbuild/linux-mips64el": "0.21.5",
+ "@esbuild/linux-ppc64": "0.21.5",
+ "@esbuild/linux-riscv64": "0.21.5",
+ "@esbuild/linux-s390x": "0.21.5",
+ "@esbuild/linux-x64": "0.21.5",
+ "@esbuild/netbsd-x64": "0.21.5",
+ "@esbuild/openbsd-x64": "0.21.5",
+ "@esbuild/sunos-x64": "0.21.5",
+ "@esbuild/win32-arm64": "0.21.5",
+ "@esbuild/win32-ia32": "0.21.5",
+ "@esbuild/win32-x64": "0.21.5"
+ }
+ },
+ "node_modules/escalade": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz",
+ "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==",
+ "dev": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/escape-string-regexp": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
+ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/eslint": {
+ "version": "8.57.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz",
+ "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==",
+ "dev": true,
+ "dependencies": {
+ "@eslint-community/eslint-utils": "^4.2.0",
+ "@eslint-community/regexpp": "^4.6.1",
+ "@eslint/eslintrc": "^2.1.4",
+ "@eslint/js": "8.57.0",
+ "@humanwhocodes/config-array": "^0.11.14",
+ "@humanwhocodes/module-importer": "^1.0.1",
+ "@nodelib/fs.walk": "^1.2.8",
+ "@ungap/structured-clone": "^1.2.0",
+ "ajv": "^6.12.4",
+ "chalk": "^4.0.0",
+ "cross-spawn": "^7.0.2",
+ "debug": "^4.3.2",
+ "doctrine": "^3.0.0",
+ "escape-string-regexp": "^4.0.0",
+ "eslint-scope": "^7.2.2",
+ "eslint-visitor-keys": "^3.4.3",
+ "espree": "^9.6.1",
+ "esquery": "^1.4.2",
+ "esutils": "^2.0.2",
+ "fast-deep-equal": "^3.1.3",
+ "file-entry-cache": "^6.0.1",
+ "find-up": "^5.0.0",
+ "glob-parent": "^6.0.2",
+ "globals": "^13.19.0",
+ "graphemer": "^1.4.0",
+ "ignore": "^5.2.0",
+ "imurmurhash": "^0.1.4",
+ "is-glob": "^4.0.0",
+ "is-path-inside": "^3.0.3",
+ "js-yaml": "^4.1.0",
+ "json-stable-stringify-without-jsonify": "^1.0.1",
+ "levn": "^0.4.1",
+ "lodash.merge": "^4.6.2",
+ "minimatch": "^3.1.2",
+ "natural-compare": "^1.4.0",
+ "optionator": "^0.9.3",
+ "strip-ansi": "^6.0.1",
+ "text-table": "^0.2.0"
+ },
+ "bin": {
+ "eslint": "bin/eslint.js"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/eslint-config-prettier": {
+ "version": "9.1.0",
+ "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz",
+ "integrity": "sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==",
+ "dev": true,
+ "bin": {
+ "eslint-config-prettier": "bin/cli.js"
+ },
+ "peerDependencies": {
+ "eslint": ">=7.0.0"
+ }
+ },
+ "node_modules/eslint-config-react-app": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/eslint-config-react-app/-/eslint-config-react-app-7.0.1.tgz",
+ "integrity": "sha512-K6rNzvkIeHaTd8m/QEh1Zko0KI7BACWkkneSs6s9cKZC/J27X3eZR6Upt1jkmZ/4FK+XUOPPxMEN7+lbUXfSlA==",
+ "dev": true,
+ "dependencies": {
+ "@babel/core": "^7.16.0",
+ "@babel/eslint-parser": "^7.16.3",
+ "@rushstack/eslint-patch": "^1.1.0",
+ "@typescript-eslint/eslint-plugin": "^5.5.0",
+ "@typescript-eslint/parser": "^5.5.0",
+ "babel-preset-react-app": "^10.0.1",
+ "confusing-browser-globals": "^1.0.11",
+ "eslint-plugin-flowtype": "^8.0.3",
+ "eslint-plugin-import": "^2.25.3",
+ "eslint-plugin-jest": "^25.3.0",
+ "eslint-plugin-jsx-a11y": "^6.5.1",
+ "eslint-plugin-react": "^7.27.1",
+ "eslint-plugin-react-hooks": "^4.3.0",
+ "eslint-plugin-testing-library": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ },
+ "peerDependencies": {
+ "eslint": "^8.0.0"
+ }
+ },
+ "node_modules/eslint-import-resolver-node": {
+ "version": "0.3.9",
+ "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz",
+ "integrity": "sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==",
+ "dev": true,
+ "dependencies": {
+ "debug": "^3.2.7",
+ "is-core-module": "^2.13.0",
+ "resolve": "^1.22.4"
+ }
+ },
+ "node_modules/eslint-import-resolver-node/node_modules/debug": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
+ "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
+ "dev": true,
+ "dependencies": {
+ "ms": "^2.1.1"
+ }
+ },
+ "node_modules/eslint-module-utils": {
+ "version": "2.8.1",
+ "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.8.1.tgz",
+ "integrity": "sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q==",
+ "dev": true,
+ "dependencies": {
+ "debug": "^3.2.7"
+ },
+ "engines": {
+ "node": ">=4"
+ },
+ "peerDependenciesMeta": {
+ "eslint": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/eslint-module-utils/node_modules/debug": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
+ "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
+ "dev": true,
+ "dependencies": {
+ "ms": "^2.1.1"
+ }
+ },
+ "node_modules/eslint-plugin-cypress": {
+ "version": "2.15.2",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-cypress/-/eslint-plugin-cypress-2.15.2.tgz",
+ "integrity": "sha512-CtcFEQTDKyftpI22FVGpx8bkpKyYXBlNge6zSo0pl5/qJvBAnzaD76Vu2AsP16d6mTj478Ldn2mhgrWV+Xr0vQ==",
+ "dev": true,
+ "dependencies": {
+ "globals": "^13.20.0"
+ },
+ "peerDependencies": {
+ "eslint": ">= 3.2.1"
+ }
+ },
+ "node_modules/eslint-plugin-cypress/node_modules/globals": {
+ "version": "13.24.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz",
+ "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==",
+ "dev": true,
+ "dependencies": {
+ "type-fest": "^0.20.2"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/eslint-plugin-cypress/node_modules/type-fest": {
+ "version": "0.20.2",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz",
+ "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/eslint-plugin-flowtype": {
+ "version": "8.0.3",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-flowtype/-/eslint-plugin-flowtype-8.0.3.tgz",
+ "integrity": "sha512-dX8l6qUL6O+fYPtpNRideCFSpmWOUVx5QcaGLVqe/vlDiBSe4vYljDWDETwnyFzpl7By/WVIu6rcrniCgH9BqQ==",
+ "dev": true,
+ "dependencies": {
+ "lodash": "^4.17.21",
+ "string-natural-compare": "^3.0.1"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "peerDependencies": {
+ "@babel/plugin-syntax-flow": "^7.14.5",
+ "@babel/plugin-transform-react-jsx": "^7.14.9",
+ "eslint": "^8.1.0"
+ }
+ },
+ "node_modules/eslint-plugin-import": {
+ "version": "2.29.1",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.29.1.tgz",
+ "integrity": "sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==",
+ "dev": true,
+ "dependencies": {
+ "array-includes": "^3.1.7",
+ "array.prototype.findlastindex": "^1.2.3",
+ "array.prototype.flat": "^1.3.2",
+ "array.prototype.flatmap": "^1.3.2",
+ "debug": "^3.2.7",
+ "doctrine": "^2.1.0",
+ "eslint-import-resolver-node": "^0.3.9",
+ "eslint-module-utils": "^2.8.0",
+ "hasown": "^2.0.0",
+ "is-core-module": "^2.13.1",
+ "is-glob": "^4.0.3",
+ "minimatch": "^3.1.2",
+ "object.fromentries": "^2.0.7",
+ "object.groupby": "^1.0.1",
+ "object.values": "^1.1.7",
+ "semver": "^6.3.1",
+ "tsconfig-paths": "^3.15.0"
+ },
+ "engines": {
+ "node": ">=4"
+ },
+ "peerDependencies": {
+ "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8"
+ }
+ },
+ "node_modules/eslint-plugin-import/node_modules/debug": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
+ "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
+ "dev": true,
+ "dependencies": {
+ "ms": "^2.1.1"
+ }
+ },
+ "node_modules/eslint-plugin-import/node_modules/doctrine": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz",
+ "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==",
+ "dev": true,
+ "dependencies": {
+ "esutils": "^2.0.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/eslint-plugin-jest": {
+ "version": "25.7.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-25.7.0.tgz",
+ "integrity": "sha512-PWLUEXeeF7C9QGKqvdSbzLOiLTx+bno7/HC9eefePfEb257QFHg7ye3dh80AZVkaa/RQsBB1Q/ORQvg2X7F0NQ==",
+ "dev": true,
+ "dependencies": {
+ "@typescript-eslint/experimental-utils": "^5.0.0"
+ },
+ "engines": {
+ "node": "^12.13.0 || ^14.15.0 || >=16.0.0"
+ },
+ "peerDependencies": {
+ "@typescript-eslint/eslint-plugin": "^4.0.0 || ^5.0.0",
+ "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@typescript-eslint/eslint-plugin": {
+ "optional": true
+ },
+ "jest": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/eslint-plugin-jsx-a11y": {
+ "version": "6.9.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.9.0.tgz",
+ "integrity": "sha512-nOFOCaJG2pYqORjK19lqPqxMO/JpvdCZdPtNdxY3kvom3jTvkAbOvQvD8wuD0G8BYR0IGAGYDlzqWJOh/ybn2g==",
+ "dev": true,
+ "dependencies": {
+ "aria-query": "~5.1.3",
+ "array-includes": "^3.1.8",
+ "array.prototype.flatmap": "^1.3.2",
+ "ast-types-flow": "^0.0.8",
+ "axe-core": "^4.9.1",
+ "axobject-query": "~3.1.1",
+ "damerau-levenshtein": "^1.0.8",
+ "emoji-regex": "^9.2.2",
+ "es-iterator-helpers": "^1.0.19",
+ "hasown": "^2.0.2",
+ "jsx-ast-utils": "^3.3.5",
+ "language-tags": "^1.0.9",
+ "minimatch": "^3.1.2",
+ "object.fromentries": "^2.0.8",
+ "safe-regex-test": "^1.0.3",
+ "string.prototype.includes": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=4.0"
+ },
+ "peerDependencies": {
+ "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8"
+ }
+ },
+ "node_modules/eslint-plugin-jsx-a11y/node_modules/aria-query": {
+ "version": "5.1.3",
+ "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.1.3.tgz",
+ "integrity": "sha512-R5iJ5lkuHybztUfuOAznmboyjWq8O6sqNqtK7CLOqdydi54VNbORp49mb14KbWgG1QD3JFO9hJdZ+y4KutfdOQ==",
+ "dev": true,
+ "dependencies": {
+ "deep-equal": "^2.0.5"
+ }
},
- "node_modules/@sindresorhus/merge-streams": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-2.1.0.tgz",
- "integrity": "sha512-g3/sYJWXTAf3Ce861z4/mW9jDxN7hoNHZMEyhd3Zh7GKQPiovWNttzhRW2BeGPwPxPpLDKumL6Sg056VAMjdkg==",
+ "node_modules/eslint-plugin-jsx-a11y/node_modules/emoji-regex": {
+ "version": "9.2.2",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
+ "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==",
+ "dev": true
+ },
+ "node_modules/eslint-plugin-prettier": {
+ "version": "5.2.1",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.2.1.tgz",
+ "integrity": "sha512-gH3iR3g4JfF+yYPaJYkN7jEl9QbweL/YfkoRlNnuIEHEz1vHVlCmWOS+eGGiRuzHQXdJFCOTxRgvju9b8VUmrw==",
"dev": true,
+ "dependencies": {
+ "prettier-linter-helpers": "^1.0.0",
+ "synckit": "^0.9.1"
+ },
"engines": {
- "node": ">=18"
+ "node": "^14.18.0 || >=16.0.0"
},
"funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "url": "https://opencollective.com/eslint-plugin-prettier"
+ },
+ "peerDependencies": {
+ "@types/eslint": ">=8.0.0",
+ "eslint": ">=8.0.0",
+ "eslint-config-prettier": "*",
+ "prettier": ">=3.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/eslint": {
+ "optional": true
+ },
+ "eslint-config-prettier": {
+ "optional": true
+ }
}
},
- "node_modules/@supabase/auth-js": {
- "version": "2.64.4",
- "resolved": "https://registry.npmjs.org/@supabase/auth-js/-/auth-js-2.64.4.tgz",
- "integrity": "sha512-9ITagy4WP4FLl+mke1rchapOH0RQpf++DI+WSG2sO1OFOZ0rW3cwAM0nCrMOxu+Zw4vJ4zObc08uvQrXx590Tg==",
+ "node_modules/eslint-plugin-react": {
+ "version": "7.35.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.35.0.tgz",
+ "integrity": "sha512-v501SSMOWv8gerHkk+IIQBkcGRGrO2nfybfj5pLxuJNFTPxxA3PSryhXTK+9pNbtkggheDdsC0E9Q8CuPk6JKA==",
+ "dev": true,
"dependencies": {
- "@supabase/node-fetch": "^2.6.14"
+ "array-includes": "^3.1.8",
+ "array.prototype.findlast": "^1.2.5",
+ "array.prototype.flatmap": "^1.3.2",
+ "array.prototype.tosorted": "^1.1.4",
+ "doctrine": "^2.1.0",
+ "es-iterator-helpers": "^1.0.19",
+ "estraverse": "^5.3.0",
+ "hasown": "^2.0.2",
+ "jsx-ast-utils": "^2.4.1 || ^3.0.0",
+ "minimatch": "^3.1.2",
+ "object.entries": "^1.1.8",
+ "object.fromentries": "^2.0.8",
+ "object.values": "^1.2.0",
+ "prop-types": "^15.8.1",
+ "resolve": "^2.0.0-next.5",
+ "semver": "^6.3.1",
+ "string.prototype.matchall": "^4.0.11",
+ "string.prototype.repeat": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ },
+ "peerDependencies": {
+ "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7"
}
},
- "node_modules/@supabase/functions-js": {
- "version": "2.4.1",
- "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-2.4.1.tgz",
- "integrity": "sha512-8sZ2ibwHlf+WkHDUZJUXqqmPvWQ3UHN0W30behOJngVh/qHHekhJLCFbh0AjkE9/FqqXtf9eoVvmYgfCLk5tNA==",
- "dependencies": {
- "@supabase/node-fetch": "^2.6.14"
+ "node_modules/eslint-plugin-react-hooks": {
+ "version": "4.6.2",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.2.tgz",
+ "integrity": "sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0"
}
},
- "node_modules/@supabase/node-fetch": {
- "version": "2.6.15",
- "resolved": "https://registry.npmjs.org/@supabase/node-fetch/-/node-fetch-2.6.15.tgz",
- "integrity": "sha512-1ibVeYUacxWYi9i0cf5efil6adJ9WRyZBLivgjs+AUpewx1F3xPi7gLgaASI2SmIQxPoCEjAsLAzKPgMJVgOUQ==",
+ "node_modules/eslint-plugin-react/node_modules/doctrine": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz",
+ "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==",
+ "dev": true,
"dependencies": {
- "whatwg-url": "^5.0.0"
+ "esutils": "^2.0.2"
},
"engines": {
- "node": "4.x || >=6.0.0"
+ "node": ">=0.10.0"
}
},
- "node_modules/@supabase/postgrest-js": {
- "version": "1.15.8",
- "resolved": "https://registry.npmjs.org/@supabase/postgrest-js/-/postgrest-js-1.15.8.tgz",
- "integrity": "sha512-YunjXpoQjQ0a0/7vGAvGZA2dlMABXFdVI/8TuVKtlePxyT71sl6ERl6ay1fmIeZcqxiuFQuZw/LXUuStUG9bbg==",
+ "node_modules/eslint-plugin-react/node_modules/resolve": {
+ "version": "2.0.0-next.5",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.5.tgz",
+ "integrity": "sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==",
+ "dev": true,
"dependencies": {
- "@supabase/node-fetch": "^2.6.14"
+ "is-core-module": "^2.13.0",
+ "path-parse": "^1.0.7",
+ "supports-preserve-symlinks-flag": "^1.0.0"
+ },
+ "bin": {
+ "resolve": "bin/resolve"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/@supabase/realtime-js": {
- "version": "2.10.2",
- "resolved": "https://registry.npmjs.org/@supabase/realtime-js/-/realtime-js-2.10.2.tgz",
- "integrity": "sha512-qyCQaNg90HmJstsvr2aJNxK2zgoKh9ZZA8oqb7UT2LCh3mj9zpa3Iwu167AuyNxsxrUE8eEJ2yH6wLCij4EApA==",
+ "node_modules/eslint-plugin-testing-library": {
+ "version": "5.11.1",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-testing-library/-/eslint-plugin-testing-library-5.11.1.tgz",
+ "integrity": "sha512-5eX9e1Kc2PqVRed3taaLnAAqPZGEX75C+M/rXzUAI3wIg/ZxzUm1OVAwfe/O+vE+6YXOLetSe9g5GKD2ecXipw==",
+ "dev": true,
"dependencies": {
- "@supabase/node-fetch": "^2.6.14",
- "@types/phoenix": "^1.5.4",
- "@types/ws": "^8.5.10",
- "ws": "^8.14.2"
+ "@typescript-eslint/utils": "^5.58.0"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0",
+ "npm": ">=6"
+ },
+ "peerDependencies": {
+ "eslint": "^7.5.0 || ^8.0.0"
}
},
- "node_modules/@supabase/storage-js": {
- "version": "2.6.0",
- "resolved": "https://registry.npmjs.org/@supabase/storage-js/-/storage-js-2.6.0.tgz",
- "integrity": "sha512-REAxr7myf+3utMkI2oOmZ6sdplMZZ71/2NEIEMBZHL9Fkmm3/JnaOZVSRqvG4LStYj2v5WhCruCzuMn6oD/Drw==",
+ "node_modules/eslint-scope": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz",
+ "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==",
+ "dev": true,
"dependencies": {
- "@supabase/node-fetch": "^2.6.14"
+ "esrecurse": "^4.3.0",
+ "estraverse": "^5.2.0"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
}
},
- "node_modules/@supabase/supabase-js": {
- "version": "2.45.0",
- "resolved": "https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-2.45.0.tgz",
- "integrity": "sha512-j66Mfs8RhzCQCKxKogAFQYH9oNhRmgIdKk6pexguI2Oc7hi+nL9UNJug5aL1tKnBdaBM3h65riPLQSdL6sWa3Q==",
+ "node_modules/eslint-visitor-keys": {
+ "version": "3.4.3",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",
+ "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",
+ "dev": true,
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/eslint/node_modules/globals": {
+ "version": "13.24.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz",
+ "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==",
+ "dev": true,
"dependencies": {
- "@supabase/auth-js": "2.64.4",
- "@supabase/functions-js": "2.4.1",
- "@supabase/node-fetch": "2.6.15",
- "@supabase/postgrest-js": "1.15.8",
- "@supabase/realtime-js": "2.10.2",
- "@supabase/storage-js": "2.6.0"
+ "type-fest": "^0.20.2"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/@tanstack/query-core": {
- "version": "5.51.15",
- "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.51.15.tgz",
- "integrity": "sha512-xyobHDJ0yhPE3+UkSQ2/4X1fLSg7ICJI5J1JyU9yf7F3deQfEwSImCDrB1WSRrauJkMtXW7YIEcC0oA6ZZWt5A==",
+ "node_modules/eslint/node_modules/type-fest": {
+ "version": "0.20.2",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz",
+ "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
"funding": {
- "type": "github",
- "url": "https://github.com/sponsors/tannerlinsley"
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/@tanstack/react-query": {
- "version": "5.51.15",
- "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.51.15.tgz",
- "integrity": "sha512-UgFg23SrdIYrmfTSxAUn9g+J64VQy11pb9/EefoY/u2+zWuNMeqEOnvpJhf52XQy0yztQoyM9p6x8PFyTNaxXg==",
+ "node_modules/espree": {
+ "version": "9.6.1",
+ "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz",
+ "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==",
+ "dev": true,
"dependencies": {
- "@tanstack/query-core": "5.51.15"
+ "acorn": "^8.9.0",
+ "acorn-jsx": "^5.3.2",
+ "eslint-visitor-keys": "^3.4.1"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
},
"funding": {
- "type": "github",
- "url": "https://github.com/sponsors/tannerlinsley"
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/esquery": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz",
+ "integrity": "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==",
+ "dev": true,
+ "dependencies": {
+ "estraverse": "^5.1.0"
},
- "peerDependencies": {
- "react": "^18.0.0"
+ "engines": {
+ "node": ">=0.10"
}
},
- "node_modules/@testing-library/dom": {
- "version": "10.4.0",
- "resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-10.4.0.tgz",
- "integrity": "sha512-pemlzrSESWbdAloYml3bAJMEfNh1Z7EduzqPKprCH5S341frlpYnUEW0H72dLxa6IsYr+mPno20GiSm+h9dEdQ==",
+ "node_modules/esrecurse": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",
+ "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
"dev": true,
- "peer": true,
"dependencies": {
- "@babel/code-frame": "^7.10.4",
- "@babel/runtime": "^7.12.5",
- "@types/aria-query": "^5.0.1",
- "aria-query": "5.3.0",
- "chalk": "^4.1.0",
- "dom-accessibility-api": "^0.5.9",
- "lz-string": "^1.5.0",
- "pretty-format": "^27.0.2"
+ "estraverse": "^5.2.0"
},
"engines": {
- "node": ">=18"
+ "node": ">=4.0"
}
},
- "node_modules/@testing-library/jest-dom": {
- "version": "6.4.8",
- "resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-6.4.8.tgz",
- "integrity": "sha512-JD0G+Zc38f5MBHA4NgxQMR5XtO5Jx9g86jqturNTt2WUfRmLDIY7iKkWHDCCTiDuFMre6nxAD5wHw9W5kI4rGw==",
+ "node_modules/estraverse": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
+ "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
+ "dev": true,
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/esutils": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
+ "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/eventemitter3": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz",
+ "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA=="
+ },
+ "node_modules/execa": {
+ "version": "8.0.1",
+ "resolved": "git+ssh://[email protected]/sindresorhus/execa.git#c8a7961339cf24f44ec8e46a3501621fa22af3dd",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "@adobe/css-tools": "^4.4.0",
- "@babel/runtime": "^7.9.2",
- "aria-query": "^5.0.0",
- "chalk": "^3.0.0",
- "css.escape": "^1.5.1",
- "dom-accessibility-api": "^0.6.3",
- "lodash": "^4.17.21",
- "redent": "^3.0.0"
+ "@sindresorhus/merge-streams": "^2.0.1",
+ "cross-spawn": "^7.0.3",
+ "get-stream": "^8.0.1",
+ "human-signals": "^6.0.0",
+ "is-stream": "^3.0.0",
+ "npm-run-path": "^5.2.0",
+ "signal-exit": "^4.1.0",
+ "strip-final-newline": "^4.0.0"
},
"engines": {
- "node": ">=14",
- "npm": ">=6",
- "yarn": ">=1"
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sindresorhus/execa?sponsor=1"
}
},
- "node_modules/@testing-library/jest-dom/node_modules/chalk": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz",
- "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==",
+ "node_modules/external-editor": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz",
+ "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==",
"dev": true,
"dependencies": {
- "ansi-styles": "^4.1.0",
- "supports-color": "^7.1.0"
+ "chardet": "^0.7.0",
+ "iconv-lite": "^0.4.24",
+ "tmp": "^0.0.33"
},
"engines": {
- "node": ">=8"
+ "node": ">=4"
}
},
- "node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api": {
- "version": "0.6.3",
- "resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.6.3.tgz",
- "integrity": "sha512-7ZgogeTnjuHbo+ct10G9Ffp0mif17idi0IyWNVA/wcwcm7NPOD/WEHVP3n7n3MhXqxoIYm8d6MuZohYWIZ4T3w==",
+ "node_modules/fakerest": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/fakerest/-/fakerest-4.1.0.tgz",
+ "integrity": "sha512-AMIHR3fCqRMjM6aRxxA5OlAlZvB2wgXN2iZY25hYzHDOE1kflNfhzVgXxZy9vPO2qTHoGtYCrdJr24LtskIIUg==",
+ "dependencies": {
+ "lodash": "^4.17.21"
+ }
+ },
+ "node_modules/fast-deep-equal": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
+ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
"dev": true
},
- "node_modules/@testing-library/react": {
- "version": "16.0.0",
- "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-16.0.0.tgz",
- "integrity": "sha512-guuxUKRWQ+FgNX0h0NS0FIq3Q3uLtWVpBzcLOggmfMoUpgBnzBzvLLd4fbm6yS8ydJd94cIfY4yP9qUQjM2KwQ==",
+ "node_modules/fast-diff": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.3.0.tgz",
+ "integrity": "sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==",
+ "dev": true
+ },
+ "node_modules/fast-glob": {
+ "version": "3.3.2",
+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz",
+ "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==",
"dev": true,
"dependencies": {
- "@babel/runtime": "^7.12.5"
+ "@nodelib/fs.stat": "^2.0.2",
+ "@nodelib/fs.walk": "^1.2.3",
+ "glob-parent": "^5.1.2",
+ "merge2": "^1.3.0",
+ "micromatch": "^4.0.4"
},
"engines": {
- "node": ">=18"
- },
- "peerDependencies": {
- "@testing-library/dom": "^10.0.0",
- "@types/react": "^18.0.0",
- "@types/react-dom": "^18.0.0",
- "react": "^18.0.0",
- "react-dom": "^18.0.0"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- },
- "@types/react-dom": {
- "optional": true
- }
+ "node": ">=8.6.0"
}
},
- "node_modules/@testing-library/user-event": {
- "version": "14.5.2",
- "resolved": "https://registry.npmjs.org/@testing-library/user-event/-/user-event-14.5.2.tgz",
- "integrity": "sha512-YAh82Wh4TIrxYLmfGcixwD18oIjyC1pFQC2Y01F2lzV2HTMiYrI0nze0FD0ocB//CKS/7jIUgae+adPqxK5yCQ==",
+ "node_modules/fast-glob/node_modules/glob-parent": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
"dev": true,
- "engines": {
- "node": ">=12",
- "npm": ">=6"
+ "dependencies": {
+ "is-glob": "^4.0.1"
},
- "peerDependencies": {
- "@testing-library/dom": ">=7.21.4"
+ "engines": {
+ "node": ">= 6"
}
},
- "node_modules/@types/aria-query": {
- "version": "5.0.4",
- "resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-5.0.4.tgz",
- "integrity": "sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw==",
- "dev": true,
- "peer": true
+ "node_modules/fast-json-stable-stringify": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
+ "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
+ "dev": true
},
- "node_modules/@types/babel__core": {
- "version": "7.20.5",
- "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz",
- "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==",
+ "node_modules/fast-levenshtein": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
+ "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==",
+ "dev": true
+ },
+ "node_modules/fastq": {
+ "version": "1.17.1",
+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz",
+ "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==",
"dev": true,
"dependencies": {
- "@babel/parser": "^7.20.7",
- "@babel/types": "^7.20.7",
- "@types/babel__generator": "*",
- "@types/babel__template": "*",
- "@types/babel__traverse": "*"
+ "reusify": "^1.0.4"
}
},
- "node_modules/@types/babel__generator": {
- "version": "7.6.8",
- "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.8.tgz",
- "integrity": "sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==",
+ "node_modules/fetch-blob": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/fetch-blob/-/fetch-blob-3.2.0.tgz",
+ "integrity": "sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==",
"dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/jimmywarting"
+ },
+ {
+ "type": "paypal",
+ "url": "https://paypal.me/jimmywarting"
+ }
+ ],
"dependencies": {
- "@babel/types": "^7.0.0"
+ "node-domexception": "^1.0.0",
+ "web-streams-polyfill": "^3.0.3"
+ },
+ "engines": {
+ "node": "^12.20 || >= 14.13"
}
},
- "node_modules/@types/babel__template": {
- "version": "7.4.4",
- "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz",
- "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==",
+ "node_modules/file-entry-cache": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz",
+ "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==",
"dev": true,
"dependencies": {
- "@babel/parser": "^7.1.0",
- "@babel/types": "^7.0.0"
+ "flat-cache": "^3.0.4"
+ },
+ "engines": {
+ "node": "^10.12.0 || >=12.0.0"
}
},
- "node_modules/@types/babel__traverse": {
- "version": "7.20.5",
- "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.5.tgz",
- "integrity": "sha512-WXCyOcRtH37HAUkpXhUduaxdm82b4GSlyTqajXviN4EfiuPgNYR109xMCKvpl6zPIpua0DGlMEDCq+g8EdoheQ==",
- "dev": true,
+ "node_modules/file-selector": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/file-selector/-/file-selector-0.6.0.tgz",
+ "integrity": "sha512-QlZ5yJC0VxHxQQsQhXvBaC7VRJ2uaxTf+Tfpu4Z/OcVQJVpZO+DGU0rkoVW5ce2SccxugvpBJoMvUs59iILYdw==",
"dependencies": {
- "@babel/types": "^7.20.7"
+ "tslib": "^2.4.0"
+ },
+ "engines": {
+ "node": ">= 12"
}
},
- "node_modules/@types/d3-color": {
- "version": "3.1.3",
- "resolved": "https://registry.npmjs.org/@types/d3-color/-/d3-color-3.1.3.tgz",
- "integrity": "sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A=="
+ "node_modules/fill-range": {
+ "version": "7.1.1",
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
+ "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
+ "dev": true,
+ "dependencies": {
+ "to-regex-range": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
},
- "node_modules/@types/d3-format": {
- "version": "1.4.5",
- "resolved": "https://registry.npmjs.org/@types/d3-format/-/d3-format-1.4.5.tgz",
- "integrity": "sha512-mLxrC1MSWupOSncXN/HOlWUAAIffAEBaI4+PKy2uMPsKe4FNZlk7qrbTjmzJXITQQqBHivaks4Td18azgqnotA=="
+ "node_modules/filter-obj": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/filter-obj/-/filter-obj-1.1.0.tgz",
+ "integrity": "sha512-8rXg1ZnX7xzy2NGDVkBVaAy+lSlPNwad13BtgSlLuxfIslyt5Vg64U7tFcCt4WS1R0hvtnQybT/IyCkGZ3DpXQ==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
},
- "node_modules/@types/d3-path": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/@types/d3-path/-/d3-path-3.1.0.tgz",
- "integrity": "sha512-P2dlU/q51fkOc/Gfl3Ul9kicV7l+ra934qBFXCFhrZMOL6du1TM0pm1ThYvENukyOn5h9v+yMJ9Fn5JK4QozrQ=="
+ "node_modules/find-root": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz",
+ "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng=="
},
- "node_modules/@types/d3-scale": {
- "version": "4.0.8",
- "resolved": "https://registry.npmjs.org/@types/d3-scale/-/d3-scale-4.0.8.tgz",
- "integrity": "sha512-gkK1VVTr5iNiYJ7vWDI+yUFFlszhNMtVeneJ6lUTKPjprsvLLI9/tgEGiXJOnlINJA8FyA88gfnQsHbybVZrYQ==",
+ "node_modules/find-up": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
+ "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==",
+ "dev": true,
"dependencies": {
- "@types/d3-time": "*"
+ "locate-path": "^6.0.0",
+ "path-exists": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/@types/d3-scale-chromatic": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/@types/d3-scale-chromatic/-/d3-scale-chromatic-3.0.3.tgz",
- "integrity": "sha512-laXM4+1o5ImZv3RpFAsTRn3TEkzqkytiOY0Dz0sq5cnd1dtNlk6sHLon4OvqaiJb28T0S/TdsBI3Sjsy+keJrw=="
- },
- "node_modules/@types/d3-shape": {
- "version": "3.1.6",
- "resolved": "https://registry.npmjs.org/@types/d3-shape/-/d3-shape-3.1.6.tgz",
- "integrity": "sha512-5KKk5aKGu2I+O6SONMYSNflgiP0WfZIQvVUMan50wHsLG1G94JlxEVnCpQARfTtzytuY0p/9PXXZb3I7giofIA==",
+ "node_modules/flat-cache": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz",
+ "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==",
+ "dev": true,
"dependencies": {
- "@types/d3-path": "*"
+ "flatted": "^3.2.9",
+ "keyv": "^4.5.3",
+ "rimraf": "^3.0.2"
+ },
+ "engines": {
+ "node": "^10.12.0 || >=12.0.0"
}
},
- "node_modules/@types/d3-time": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/@types/d3-time/-/d3-time-1.1.4.tgz",
- "integrity": "sha512-JIvy2HjRInE+TXOmIGN5LCmeO0hkFZx5f9FZ7kiN+D+YTcc8pptsiLiuHsvwxwC7VVKmJ2ExHUgNlAiV7vQM9g=="
- },
- "node_modules/@types/d3-time-format": {
- "version": "2.3.4",
- "resolved": "https://registry.npmjs.org/@types/d3-time-format/-/d3-time-format-2.3.4.tgz",
- "integrity": "sha512-xdDXbpVO74EvadI3UDxjxTdR6QIxm1FKzEA/+F8tL4GWWUg/hgvBqf6chql64U5A9ZUGWo7pEu4eNlyLwbKdhg=="
- },
- "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==",
+ "node_modules/flatted": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz",
+ "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==",
"dev": true
},
- "node_modules/@types/hoist-non-react-statics": {
- "version": "3.3.5",
- "resolved": "https://registry.npmjs.org/@types/hoist-non-react-statics/-/hoist-non-react-statics-3.3.5.tgz",
- "integrity": "sha512-SbcrWzkKBw2cdwRTwQAswfpB9g9LJWfjtUeW/jvNwbhC8cpmmNYVePa+ncbUe0rGTQ7G3Ff6mYUN2VMfLVr+Sg==",
+ "node_modules/for-each": {
+ "version": "0.3.3",
+ "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz",
+ "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==",
+ "dev": true,
"dependencies": {
- "@types/react": "*",
- "hoist-non-react-statics": "^3.3.0"
+ "is-callable": "^1.1.3"
}
},
- "node_modules/@types/lodash": {
- "version": "4.17.7",
- "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.7.tgz",
- "integrity": "sha512-8wTvZawATi/lsmNu10/j2hk1KEP0IvjubqPE3cu1Xz7xfXXt5oCq3SNUz4fMIP4XGF9Ky+Ue2tBA3hcS7LSBlA==",
- "dev": true
- },
- "node_modules/@types/mute-stream": {
- "version": "0.0.4",
- "resolved": "https://registry.npmjs.org/@types/mute-stream/-/mute-stream-0.0.4.tgz",
- "integrity": "sha512-CPM9nzrCPPJHQNA9keH9CVkVI+WR5kMa+7XEs5jcGQ0VoAGnLv242w8lIVgwAEfmE4oufJRaTc9PNLQl0ioAow==",
+ "node_modules/foreground-child": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.2.1.tgz",
+ "integrity": "sha512-PXUUyLqrR2XCWICfv6ukppP96sdFwWbNEnfEMt7jNsISjMsvaLNinAHNDYyvkyU+SZG2BTSbT5NjG+vZslfGTA==",
"dev": true,
"dependencies": {
- "@types/node": "*"
+ "cross-spawn": "^7.0.0",
+ "signal-exit": "^4.0.1"
+ },
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
}
},
- "node_modules/@types/node": {
- "version": "20.14.13",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.13.tgz",
- "integrity": "sha512-+bHoGiZb8UiQ0+WEtmph2IWQCjIqg8MDZMAV+ppRRhUZnquF5mQkP/9vpSwJClEiSM/C7fZZExPzfU0vJTyp8w==",
+ "node_modules/formdata-polyfill": {
+ "version": "4.0.10",
+ "resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz",
+ "integrity": "sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==",
+ "dev": true,
"dependencies": {
- "undici-types": "~5.26.4"
+ "fetch-blob": "^3.1.2"
+ },
+ "engines": {
+ "node": ">=12.20.0"
}
},
- "node_modules/@types/parse-json": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.2.tgz",
- "integrity": "sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw=="
+ "node_modules/fs.realpath": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
+ "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",
+ "dev": true
},
- "node_modules/@types/pg": {
- "version": "8.11.6",
- "resolved": "https://registry.npmjs.org/@types/pg/-/pg-8.11.6.tgz",
- "integrity": "sha512-/2WmmBXHLsfRqzfHW7BNZ8SbYzE8OSk7i3WjFYvfgRHj7S1xj+16Je5fUKv3lVdVzk/zn9TXOqf+avFCFIE0yQ==",
+ "node_modules/fsevents": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
+ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
"dev": true,
- "dependencies": {
- "@types/node": "*",
- "pg-protocol": "*",
- "pg-types": "^4.0.1"
+ "hasInstallScript": true,
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
}
},
- "node_modules/@types/pg/node_modules/pg-types": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/pg-types/-/pg-types-4.0.2.tgz",
- "integrity": "sha512-cRL3JpS3lKMGsKaWndugWQoLOCoP+Cic8oseVcbr0qhPzYD5DWXK+RZ9LY9wxRf7RQia4SCwQlXk0q6FCPrVng==",
- "dev": true,
- "dependencies": {
- "pg-int8": "1.0.1",
- "pg-numeric": "1.0.2",
- "postgres-array": "~3.0.1",
- "postgres-bytea": "~3.0.0",
- "postgres-date": "~2.1.0",
- "postgres-interval": "^3.0.0",
- "postgres-range": "^1.1.1"
+ "node_modules/function-bind": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
+ "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/function.prototype.name": {
+ "version": "1.1.6",
+ "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.6.tgz",
+ "integrity": "sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1",
+ "functions-have-names": "^1.2.3"
},
"engines": {
- "node": ">=10"
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/@types/pg/node_modules/postgres-array": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/postgres-array/-/postgres-array-3.0.2.tgz",
- "integrity": "sha512-6faShkdFugNQCLwucjPcY5ARoW1SlbnrZjmGl0IrrqewpvxvhSLHimCVzqeuULCbG0fQv7Dtk1yDbG3xv7Veog==",
+ "node_modules/functions-have-names": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz",
+ "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==",
"dev": true,
- "engines": {
- "node": ">=12"
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/@types/pg/node_modules/postgres-bytea": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/postgres-bytea/-/postgres-bytea-3.0.0.tgz",
- "integrity": "sha512-CNd4jim9RFPkObHSjVHlVrxoVQXz7quwNFpz7RY1okNNme49+sVyiTvTRobiLV548Hx/hb1BG+iE7h9493WzFw==",
+ "node_modules/gensync": {
+ "version": "1.0.0-beta.2",
+ "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
+ "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
"dev": true,
- "dependencies": {
- "obuf": "~1.1.2"
- },
"engines": {
- "node": ">= 6"
+ "node": ">=6.9.0"
}
},
- "node_modules/@types/pg/node_modules/postgres-date": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/postgres-date/-/postgres-date-2.1.0.tgz",
- "integrity": "sha512-K7Juri8gtgXVcDfZttFKVmhglp7epKb1K4pgrkLxehjqkrgPhfG6OO8LHLkfaqkbpjNRnra018XwAr1yQFWGcA==",
+ "node_modules/get-caller-file": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
+ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
"dev": true,
"engines": {
- "node": ">=12"
+ "node": "6.* || 8.* || >= 10.*"
}
},
- "node_modules/@types/pg/node_modules/postgres-interval": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/postgres-interval/-/postgres-interval-3.0.0.tgz",
- "integrity": "sha512-BSNDnbyZCXSxgA+1f5UU2GmwhoI0aU5yMxRGO8CdFEcY2BQF9xm/7MqKnYoM1nJDk8nONNWDk9WeSmePFhQdlw==",
+ "node_modules/get-east-asian-width": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.2.0.tgz",
+ "integrity": "sha512-2nk+7SIVb14QrgXFHcm84tD4bKQz0RxPuMT8Ag5KPOq7J5fEmAg0UbXdTOSHqNuHSU28k55qnceesxXRZGzKWA==",
"dev": true,
"engines": {
- "node": ">=12"
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/@types/phoenix": {
- "version": "1.6.5",
- "resolved": "https://registry.npmjs.org/@types/phoenix/-/phoenix-1.6.5.tgz",
- "integrity": "sha512-xegpDuR+z0UqG9fwHqNoy3rI7JDlvaPh2TY47Fl80oq6g+hXT+c/LEuE43X48clZ6lOfANl5WrPur9fYO1RJ/w=="
- },
- "node_modules/@types/prop-types": {
- "version": "15.7.12",
- "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.12.tgz",
- "integrity": "sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q=="
- },
- "node_modules/@types/react": {
- "version": "18.3.3",
- "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.3.tgz",
- "integrity": "sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw==",
+ "node_modules/get-intrinsic": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz",
+ "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==",
"dependencies": {
- "@types/prop-types": "*",
- "csstype": "^3.0.2"
+ "es-errors": "^1.3.0",
+ "function-bind": "^1.1.2",
+ "has-proto": "^1.0.1",
+ "has-symbols": "^1.0.3",
+ "hasown": "^2.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/@types/react-dom": {
- "version": "18.3.0",
- "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.0.tgz",
- "integrity": "sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==",
- "devOptional": true,
- "dependencies": {
- "@types/react": "*"
+ "node_modules/get-stream": {
+ "version": "8.0.1",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz",
+ "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==",
+ "dev": true,
+ "engines": {
+ "node": ">=16"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/@types/react-transition-group": {
- "version": "4.4.10",
- "resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.10.tgz",
- "integrity": "sha512-hT/+s0VQs2ojCX823m60m5f0sL5idt9SO6Tj6Dg+rdphGPIeJbJ6CxvBYkgkGKrYeDjvIpKTR38UzmtHJOGW3Q==",
+ "node_modules/get-symbol-description": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.2.tgz",
+ "integrity": "sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==",
+ "dev": true,
"dependencies": {
- "@types/react": "*"
+ "call-bind": "^1.0.5",
+ "es-errors": "^1.3.0",
+ "get-intrinsic": "^1.2.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/@types/use-sync-external-store": {
- "version": "0.0.3",
- "resolved": "https://registry.npmjs.org/@types/use-sync-external-store/-/use-sync-external-store-0.0.3.tgz",
- "integrity": "sha512-EwmlvuaxPNej9+T4v5AuBPJa2x2UOJVdjCtDHgcDqitUeOtjnJKJ+apYjVcAoBEMjKW1VVFGZLUb5+qqa09XFA=="
- },
- "node_modules/@types/wrap-ansi": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/@types/wrap-ansi/-/wrap-ansi-3.0.0.tgz",
- "integrity": "sha512-ltIpx+kM7g/MLRZfkbL7EsCEjfzCcScLpkg37eXEtx5kmrAKBkTJwd1GIAjDSL8wTpM6Hzn5YO4pSb91BEwu1g==",
- "dev": true
- },
- "node_modules/@types/ws": {
- "version": "8.5.11",
- "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.11.tgz",
- "integrity": "sha512-4+q7P5h3SpJxaBft0Dzpbr6lmMaqh0Jr2tbhJZ/luAwvD7ohSCniYkwz/pLxuT2h0EOa6QADgJj1Ko+TzRfZ+w==",
+ "node_modules/glob": {
+ "version": "7.2.3",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
+ "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
+ "deprecated": "Glob versions prior to v9 are no longer supported",
+ "dev": true,
"dependencies": {
- "@types/node": "*"
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.1.1",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
}
},
- "node_modules/@vitejs/plugin-react": {
- "version": "4.3.1",
- "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.3.1.tgz",
- "integrity": "sha512-m/V2syj5CuVnaxcUJOQRel/Wr31FFXRFlnOoq1TVtkCxsY5veGMTEmpWHndrhB2U8ScHtCQB1e+4hWYExQc6Lg==",
+ "node_modules/glob-parent": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
+ "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
"dev": true,
"dependencies": {
- "@babel/core": "^7.24.5",
- "@babel/plugin-transform-react-jsx-self": "^7.24.5",
- "@babel/plugin-transform-react-jsx-source": "^7.24.1",
- "@types/babel__core": "^7.20.5",
- "react-refresh": "^0.14.2"
+ "is-glob": "^4.0.3"
},
"engines": {
- "node": "^14.18.0 || >=16.0.0"
- },
- "peerDependencies": {
- "vite": "^4.2.0 || ^5.0.0"
+ "node": ">=10.13.0"
}
},
- "node_modules/agent-base": {
- "version": "7.1.0",
- "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.0.tgz",
- "integrity": "sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg==",
+ "node_modules/globals": {
+ "version": "11.12.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
+ "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/globalthis": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz",
+ "integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==",
"dev": true,
"dependencies": {
- "debug": "^4.3.4"
+ "define-properties": "^1.2.1",
+ "gopd": "^1.0.1"
},
"engines": {
- "node": ">= 14"
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/ansi-escapes": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-7.0.0.tgz",
- "integrity": "sha512-GdYO7a61mR0fOlAsvC9/rIHf7L96sBc6dEWzeOu+KAea5bZyQRPIpojrVoI4AXGJS/ycu/fBTdLrUkA4ODrvjw==",
+ "node_modules/globby": {
+ "version": "11.1.0",
+ "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz",
+ "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==",
"dev": true,
"dependencies": {
- "environment": "^1.0.0"
+ "array-union": "^2.1.0",
+ "dir-glob": "^3.0.1",
+ "fast-glob": "^3.2.9",
+ "ignore": "^5.2.0",
+ "merge2": "^1.4.1",
+ "slash": "^3.0.0"
},
"engines": {
- "node": ">=18"
+ "node": ">=10"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/ansi-regex": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
- "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
+ "node_modules/gopd": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz",
+ "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==",
+ "dependencies": {
+ "get-intrinsic": "^1.1.3"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/graphemer": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz",
+ "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==",
+ "dev": true
+ },
+ "node_modules/has-bigints": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz",
+ "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==",
"dev": true,
- "engines": {
- "node": ">=8"
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/ansi-styles": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
- "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "node_modules/has-flag": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true,
- "dependencies": {
- "color-convert": "^2.0.1"
- },
"engines": {
"node": ">=8"
+ }
+ },
+ "node_modules/has-property-descriptors": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz",
+ "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==",
+ "dependencies": {
+ "es-define-property": "^1.0.0"
},
"funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/aria-query": {
- "version": "5.3.0",
- "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.0.tgz",
- "integrity": "sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==",
- "dev": true,
- "dependencies": {
- "dequal": "^2.0.3"
+ "node_modules/has-proto": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz",
+ "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/attr-accept": {
- "version": "2.2.2",
- "resolved": "https://registry.npmjs.org/attr-accept/-/attr-accept-2.2.2.tgz",
- "integrity": "sha512-7prDjvt9HmqiZ0cl5CRjtS84sEyhsHP2coDkaZKRKVfCDo9s7iw7ChVmar78Gu9pC4SoR/28wFu/G5JJhTnqEg==",
+ "node_modules/has-symbols": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz",
+ "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==",
"engines": {
- "node": ">=4"
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/auto-bind": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/auto-bind/-/auto-bind-5.0.1.tgz",
- "integrity": "sha512-ooviqdwwgfIfNmDwo94wlshcdzfO64XV0Cg6oDsDYBJfITDz1EngD2z7DkbvCWn+XIMsIqW27sEVF6qcpJrRcg==",
+ "node_modules/has-tostringtag": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz",
+ "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==",
"dev": true,
+ "dependencies": {
+ "has-symbols": "^1.0.3"
+ },
"engines": {
- "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ "node": ">= 0.4"
},
"funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/autosuggest-highlight": {
- "version": "3.3.4",
- "resolved": "https://registry.npmjs.org/autosuggest-highlight/-/autosuggest-highlight-3.3.4.tgz",
- "integrity": "sha512-j6RETBD2xYnrVcoV1S5R4t3WxOlWZKyDQjkwnggDPSjF5L4jV98ZltBpvPvbkM1HtoSe5o+bNrTHyjPbieGeYA==",
+ "node_modules/hasown": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
+ "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
"dependencies": {
- "remove-accents": "^0.4.2"
+ "function-bind": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
}
},
- "node_modules/babel-plugin-macros": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz",
- "integrity": "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==",
+ "node_modules/hoist-non-react-statics": {
+ "version": "3.3.2",
+ "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz",
+ "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==",
"dependencies": {
- "@babel/runtime": "^7.12.5",
- "cosmiconfig": "^7.0.0",
- "resolve": "^1.19.0"
- },
- "engines": {
- "node": ">=10",
- "npm": ">=6"
+ "react-is": "^16.7.0"
}
},
- "node_modules/balanced-match": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
- "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
- "dev": true
+ "node_modules/hoist-non-react-statics/node_modules/react-is": {
+ "version": "16.13.1",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
+ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
},
- "node_modules/bin-links": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/bin-links/-/bin-links-4.0.3.tgz",
- "integrity": "sha512-obsRaULtJurnfox/MDwgq6Yo9kzbv1CPTk/1/s7Z/61Lezc8IKkFCOXNeVLXz0456WRzBQmSsDWlai2tIhBsfA==",
+ "node_modules/hotscript": {
+ "version": "1.0.13",
+ "resolved": "https://registry.npmjs.org/hotscript/-/hotscript-1.0.13.tgz",
+ "integrity": "sha512-C++tTF1GqkGYecL+2S1wJTfoH6APGAsbb7PAWQ3iVIwgG/EFseAfEVOKFgAFq4yK3+6j1EjUD4UQ9dRJHX/sSQ=="
+ },
+ "node_modules/https-proxy-agent": {
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.2.tgz",
+ "integrity": "sha512-NmLNjm6ucYwtcUmL7JQC1ZQ57LmHP4lT15FQ8D61nak1rO6DH+fz5qNK2Ap5UN4ZapYICE3/0KodcLYSPsPbaA==",
"dev": true,
"dependencies": {
- "cmd-shim": "^6.0.0",
- "npm-normalize-package-bin": "^3.0.0",
- "read-cmd-shim": "^4.0.0",
- "write-file-atomic": "^5.0.0"
+ "agent-base": "^7.0.2",
+ "debug": "4"
},
"engines": {
- "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ "node": ">= 14"
}
},
- "node_modules/browserslist": {
- "version": "4.23.2",
- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.2.tgz",
- "integrity": "sha512-qkqSyistMYdxAcw+CzbZwlBy8AGmS/eEWs+sEV5TnLRGDOL+C5M2EnH6tlZyg0YoAxGJAFKh61En9BR941GnHA==",
+ "node_modules/human-signals": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-6.0.0.tgz",
+ "integrity": "sha512-E8FEGCQpCoCHSPDn+iWUL2t+XIp1cUGFCiIWNmLuRszJunXrnXbbH34UeLlDQmLVZhyLmRZS53fwVD1Htvn1QA==",
"dev": true,
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/browserslist"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/browserslist"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "dependencies": {
- "caniuse-lite": "^1.0.30001640",
- "electron-to-chromium": "^1.4.820",
- "node-releases": "^2.0.14",
- "update-browserslist-db": "^1.1.0"
- },
- "bin": {
- "browserslist": "cli.js"
- },
"engines": {
- "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
+ "node": ">=18.18.0"
}
},
- "node_modules/call-bind": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz",
- "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==",
+ "node_modules/iconv-lite": {
+ "version": "0.4.24",
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
+ "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
+ "dev": true,
"dependencies": {
- "es-define-property": "^1.0.0",
- "es-errors": "^1.3.0",
- "function-bind": "^1.1.2",
- "get-intrinsic": "^1.2.4",
- "set-function-length": "^1.2.1"
+ "safer-buffer": ">= 2.1.2 < 3"
},
"engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "node": ">=0.10.0"
}
},
- "node_modules/callsites": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
- "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
+ "node_modules/ignore": {
+ "version": "5.3.1",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz",
+ "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==",
+ "dev": true,
"engines": {
- "node": ">=6"
+ "node": ">= 4"
}
},
- "node_modules/caniuse-lite": {
- "version": "1.0.30001643",
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001643.tgz",
- "integrity": "sha512-ERgWGNleEilSrHM6iUz/zJNSQTP8Mr21wDWpdgvRwcTXGAq6jMtOUPP4dqFPTdKqZ2wKTdtB+uucZ3MRpAUSmg==",
- "dev": true,
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/browserslist"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/caniuse-lite"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ]
- },
- "node_modules/chalk": {
- "version": "4.1.2",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
- "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
- "dev": true,
- "peer": true,
+ "node_modules/import-fresh": {
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz",
+ "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==",
"dependencies": {
- "ansi-styles": "^4.1.0",
- "supports-color": "^7.1.0"
+ "parent-module": "^1.0.0",
+ "resolve-from": "^4.0.0"
},
"engines": {
- "node": ">=10"
+ "node": ">=6"
},
"funding": {
- "url": "https://github.com/chalk/chalk?sponsor=1"
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/chardet": {
- "version": "0.7.0",
- "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz",
- "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==",
- "dev": true
- },
- "node_modules/chownr": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/chownr/-/chownr-3.0.0.tgz",
- "integrity": "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==",
+ "node_modules/imurmurhash": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
+ "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
"dev": true,
"engines": {
- "node": ">=18"
+ "node": ">=0.8.19"
}
},
- "node_modules/cli-boxes": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-3.0.0.tgz",
- "integrity": "sha512-/lzGpEWL/8PfI0BmBOPRwp0c/wFNX1RdUML3jK/RcSBA9T8mZDdQpqYBKtCFTOfQbwPqWEOpjqW+Fnayc0969g==",
+ "node_modules/indent-string": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz",
+ "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==",
"dev": true,
"engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "node": ">=8"
}
},
- "node_modules/cli-cursor": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-4.0.0.tgz",
- "integrity": "sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==",
- "dev": true,
- "dependencies": {
- "restore-cursor": "^4.0.0"
- },
+ "node_modules/inflection": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/inflection/-/inflection-3.0.0.tgz",
+ "integrity": "sha512-1zEJU1l19SgJlmwqsEyFTbScw/tkMHFenUo//Y0i+XEP83gDFdMvPizAD/WGcE+l1ku12PcTVHQhO6g5E0UCMw==",
"engines": {
- "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "node": ">=18.0.0"
}
},
- "node_modules/cli-spinners": {
- "version": "2.9.2",
- "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz",
- "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==",
+ "node_modules/inflight": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
+ "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
+ "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.",
"dev": true,
- "engines": {
- "node": ">=6"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "dependencies": {
+ "once": "^1.3.0",
+ "wrappy": "1"
}
},
- "node_modules/cli-truncate": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-4.0.0.tgz",
- "integrity": "sha512-nPdaFdQ0h/GEigbPClz11D0v/ZJEwxmeVZGeMo3Z5StPtUTkA9o1lD6QwoirYiSDzbcwn2XcjwmCp68W1IS4TA==",
+ "node_modules/inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+ "dev": true
+ },
+ "node_modules/ink": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/ink/-/ink-5.0.1.tgz",
+ "integrity": "sha512-ae4AW/t8jlkj/6Ou21H2av0wxTk8vrGzXv+v2v7j4in+bl1M5XRMVbfNghzhBokV++FjF8RBDJvYo+ttR9YVRg==",
"dev": true,
"dependencies": {
- "slice-ansi": "^5.0.0",
- "string-width": "^7.0.0"
+ "@alcalzone/ansi-tokenize": "^0.1.3",
+ "ansi-escapes": "^7.0.0",
+ "ansi-styles": "^6.2.1",
+ "auto-bind": "^5.0.1",
+ "chalk": "^5.3.0",
+ "cli-boxes": "^3.0.0",
+ "cli-cursor": "^4.0.0",
+ "cli-truncate": "^4.0.0",
+ "code-excerpt": "^4.0.0",
+ "indent-string": "^5.0.0",
+ "is-in-ci": "^0.1.0",
+ "lodash": "^4.17.21",
+ "patch-console": "^2.0.0",
+ "react-reconciler": "^0.29.0",
+ "scheduler": "^0.23.0",
+ "signal-exit": "^3.0.7",
+ "slice-ansi": "^7.1.0",
+ "stack-utils": "^2.0.6",
+ "string-width": "^7.0.0",
+ "type-fest": "^4.8.3",
+ "widest-line": "^5.0.0",
+ "wrap-ansi": "^9.0.0",
+ "ws": "^8.15.0",
+ "yoga-wasm-web": "~0.3.3"
},
"engines": {
"node": ">=18"
},
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "peerDependencies": {
+ "@types/react": ">=18.0.0",
+ "react": ">=18.0.0",
+ "react-devtools-core": "^4.19.1"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "react-devtools-core": {
+ "optional": true
+ }
}
},
- "node_modules/cli-truncate/node_modules/ansi-regex": {
+ "node_modules/ink/node_modules/ansi-regex": {
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz",
"integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==",
@@ -2975,7 +7667,7 @@
"url": "https://github.com/chalk/ansi-regex?sponsor=1"
}
},
- "node_modules/cli-truncate/node_modules/ansi-styles": {
+ "node_modules/ink/node_modules/ansi-styles": {
"version": "6.2.1",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz",
"integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==",
@@ -2987,41 +7679,43 @@
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
- "node_modules/cli-truncate/node_modules/emoji-regex": {
- "version": "10.3.0",
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz",
- "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==",
- "dev": true
- },
- "node_modules/cli-truncate/node_modules/is-fullwidth-code-point": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz",
- "integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==",
+ "node_modules/ink/node_modules/chalk": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz",
+ "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==",
"dev": true,
"engines": {
- "node": ">=12"
+ "node": "^12.17.0 || ^14.13 || >=16.0.0"
},
"funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "url": "https://github.com/chalk/chalk?sponsor=1"
}
},
- "node_modules/cli-truncate/node_modules/slice-ansi": {
+ "node_modules/ink/node_modules/emoji-regex": {
+ "version": "10.3.0",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz",
+ "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==",
+ "dev": true
+ },
+ "node_modules/ink/node_modules/indent-string": {
"version": "5.0.0",
- "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-5.0.0.tgz",
- "integrity": "sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==",
+ "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz",
+ "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==",
"dev": true,
- "dependencies": {
- "ansi-styles": "^6.0.0",
- "is-fullwidth-code-point": "^4.0.0"
- },
"engines": {
"node": ">=12"
},
"funding": {
- "url": "https://github.com/chalk/slice-ansi?sponsor=1"
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/cli-truncate/node_modules/string-width": {
+ "node_modules/ink/node_modules/signal-exit": {
+ "version": "3.0.7",
+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
+ "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==",
+ "dev": true
+ },
+ "node_modules/ink/node_modules/string-width": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz",
"integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==",
@@ -3038,7 +7732,7 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/cli-truncate/node_modules/strip-ansi": {
+ "node_modules/ink/node_modules/strip-ansi": {
"version": "7.1.0",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",
"integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==",
@@ -3053,339 +7747,230 @@
"url": "https://github.com/chalk/strip-ansi?sponsor=1"
}
},
- "node_modules/cli-width": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-4.1.0.tgz",
- "integrity": "sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==",
- "dev": true,
- "engines": {
- "node": ">= 12"
- }
- },
- "node_modules/cliui": {
- "version": "8.0.1",
- "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz",
- "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==",
- "dev": true,
- "dependencies": {
- "string-width": "^4.2.0",
- "strip-ansi": "^6.0.1",
- "wrap-ansi": "^7.0.0"
- },
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/clsx": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz",
- "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/cmd-shim": {
- "version": "6.0.2",
- "resolved": "https://registry.npmjs.org/cmd-shim/-/cmd-shim-6.0.2.tgz",
- "integrity": "sha512-+FFYbB0YLaAkhkcrjkyNLYDiOsFSfRjwjY19LXk/psmMx1z00xlCv7hhQoTGXXIKi+YXHL/iiFo8NqMVQX9nOw==",
- "dev": true,
- "engines": {
- "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
- }
- },
- "node_modules/code-excerpt": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/code-excerpt/-/code-excerpt-4.0.0.tgz",
- "integrity": "sha512-xxodCmBen3iy2i0WtAK8FlFNrRzjUqjRsMfho58xT/wvZU1YTM3fCnRjcy1gJPMepaRlgm/0e6w8SpWHpn3/cA==",
- "dev": true,
- "dependencies": {
- "convert-to-spaces": "^2.0.1"
- },
- "engines": {
- "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
- }
- },
- "node_modules/color-convert": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
- "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
- "dependencies": {
- "color-name": "~1.1.4"
- },
- "engines": {
- "node": ">=7.0.0"
- }
- },
- "node_modules/color-name": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true
- },
- "node_modules/convert-source-map": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
- "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==",
- "dev": true
- },
- "node_modules/convert-to-spaces": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/convert-to-spaces/-/convert-to-spaces-2.0.1.tgz",
- "integrity": "sha512-rcQ1bsQO9799wq24uE5AM2tAILy4gXGIK/njFWcVQkGNZ96edlpY+A7bjwvzjYvLDyzmG1MmMLZhpcsb+klNMQ==",
+ "node_modules/ink/node_modules/wrap-ansi": {
+ "version": "9.0.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.0.tgz",
+ "integrity": "sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q==",
"dev": true,
- "engines": {
- "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
- }
- },
- "node_modules/cosmiconfig": {
- "version": "7.1.0",
- "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.1.0.tgz",
- "integrity": "sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==",
"dependencies": {
- "@types/parse-json": "^4.0.0",
- "import-fresh": "^3.2.1",
- "parse-json": "^5.0.0",
- "path-type": "^4.0.0",
- "yaml": "^1.10.0"
+ "ansi-styles": "^6.2.1",
+ "string-width": "^7.0.0",
+ "strip-ansi": "^7.1.0"
},
"engines": {
- "node": ">=10"
- }
- },
- "node_modules/cross-spawn": {
- "version": "7.0.3",
- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
- "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
- "dev": true,
- "dependencies": {
- "path-key": "^3.1.0",
- "shebang-command": "^2.0.0",
- "which": "^2.0.1"
+ "node": ">=18"
},
- "engines": {
- "node": ">= 8"
+ "funding": {
+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
}
},
- "node_modules/cross-spawn/node_modules/which": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
- "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
+ "node_modules/internal-slot": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.7.tgz",
+ "integrity": "sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==",
"dev": true,
"dependencies": {
- "isexe": "^2.0.0"
- },
- "bin": {
- "node-which": "bin/node-which"
- },
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/css-box-model": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/css-box-model/-/css-box-model-1.2.1.tgz",
- "integrity": "sha512-a7Vr4Q/kd/aw96bnJG332W9V9LkJO69JRcaCYDUqjp6/z0w6VcZjgAcTbgFxEPfBgdnAwlh3iwu+hLopa+flJw==",
- "dependencies": {
- "tiny-invariant": "^1.0.6"
- }
- },
- "node_modules/css-mediaquery": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/css-mediaquery/-/css-mediaquery-0.1.2.tgz",
- "integrity": "sha512-COtn4EROW5dBGlE/4PiKnh6rZpAPxDeFLaEEwt4i10jpDMFt2EhQGS79QmmrO+iKCHv0PU/HrOWEhijFd1x99Q=="
- },
- "node_modules/css.escape": {
- "version": "1.5.1",
- "resolved": "https://registry.npmjs.org/css.escape/-/css.escape-1.5.1.tgz",
- "integrity": "sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg==",
- "dev": true
- },
- "node_modules/csstype": {
- "version": "3.1.3",
- "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz",
- "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw=="
- },
- "node_modules/d3-array": {
- "version": "3.2.4",
- "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-3.2.4.tgz",
- "integrity": "sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg==",
- "dependencies": {
- "internmap": "1 - 2"
+ "es-errors": "^1.3.0",
+ "hasown": "^2.0.0",
+ "side-channel": "^1.0.4"
},
"engines": {
- "node": ">=12"
+ "node": ">= 0.4"
}
},
- "node_modules/d3-color": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-3.1.0.tgz",
- "integrity": "sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==",
+ "node_modules/internmap": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/internmap/-/internmap-2.0.3.tgz",
+ "integrity": "sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==",
"engines": {
"node": ">=12"
}
},
- "node_modules/d3-format": {
- "version": "1.4.5",
- "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-1.4.5.tgz",
- "integrity": "sha512-J0piedu6Z8iB6TbIGfZgDzfXxUFN3qQRMofy2oPdXzQibYGqPB/9iMcxr/TGalU+2RsyDO+U4f33id8tbnSRMQ=="
- },
- "node_modules/d3-interpolate": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-3.0.1.tgz",
- "integrity": "sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==",
+ "node_modules/is-arguments": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz",
+ "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==",
+ "dev": true,
"dependencies": {
- "d3-color": "1 - 3"
+ "call-bind": "^1.0.2",
+ "has-tostringtag": "^1.0.0"
},
"engines": {
- "node": ">=12"
- }
- },
- "node_modules/d3-path": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-3.1.0.tgz",
- "integrity": "sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==",
- "engines": {
- "node": ">=12"
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/d3-scale": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-4.0.2.tgz",
- "integrity": "sha512-GZW464g1SH7ag3Y7hXjf8RoUuAFIqklOAq3MRl4OaWabTFJY9PN/E1YklhXLh+OQ3fM9yS2nOkCoS+WLZ6kvxQ==",
+ "node_modules/is-array-buffer": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.4.tgz",
+ "integrity": "sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==",
+ "dev": true,
"dependencies": {
- "d3-array": "2.10.0 - 3",
- "d3-format": "1 - 3",
- "d3-interpolate": "1.2.0 - 3",
- "d3-time": "2.1.1 - 3",
- "d3-time-format": "2 - 4"
+ "call-bind": "^1.0.2",
+ "get-intrinsic": "^1.2.1"
},
"engines": {
- "node": ">=12"
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/d3-scale-chromatic": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/d3-scale-chromatic/-/d3-scale-chromatic-3.1.0.tgz",
- "integrity": "sha512-A3s5PWiZ9YCXFye1o246KoscMWqf8BsD9eRiJ3He7C9OBaxKhAd5TFCdEx/7VbKtxxTsu//1mMJFrEt572cEyQ==",
+ "node_modules/is-arrayish": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
+ "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg=="
+ },
+ "node_modules/is-async-function": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-async-function/-/is-async-function-2.0.0.tgz",
+ "integrity": "sha512-Y1JXKrfykRJGdlDwdKlLpLyMIiWqWvuSd17TvZk68PLAOGOoF4Xyav1z0Xhoi+gCYjZVeC5SI+hYFOfvXmGRCA==",
+ "dev": true,
"dependencies": {
- "d3-color": "1 - 3",
- "d3-interpolate": "1 - 3"
+ "has-tostringtag": "^1.0.0"
},
"engines": {
- "node": ">=12"
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/d3-scale/node_modules/d3-time": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-3.1.0.tgz",
- "integrity": "sha512-VqKjzBLejbSMT4IgbmVgDjpkYrNWUYJnbCGo874u7MMKIWsILRX+OpX/gTk8MqjpT1A/c6HY2dCA77ZN0lkQ2Q==",
+ "node_modules/is-bigint": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz",
+ "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==",
+ "dev": true,
"dependencies": {
- "d3-array": "2 - 3"
+ "has-bigints": "^1.0.1"
},
- "engines": {
- "node": ">=12"
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/d3-shape": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-3.2.0.tgz",
- "integrity": "sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==",
+ "node_modules/is-boolean-object": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz",
+ "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==",
+ "dev": true,
"dependencies": {
- "d3-path": "^3.1.0"
+ "call-bind": "^1.0.2",
+ "has-tostringtag": "^1.0.0"
},
"engines": {
- "node": ">=12"
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/d3-time": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-1.1.0.tgz",
- "integrity": "sha512-Xh0isrZ5rPYYdqhAVk8VLnMEidhz5aP7htAADH6MfzgmmicPkTo8LhkLxci61/lCB7n7UmE3bN0leRt+qvkLxA=="
+ "node_modules/is-callable": {
+ "version": "1.2.7",
+ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz",
+ "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==",
+ "dev": true,
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
},
- "node_modules/d3-time-format": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-3.0.0.tgz",
- "integrity": "sha512-UXJh6EKsHBTjopVqZBhFysQcoXSv/5yLONZvkQ5Kk3qbwiUYkdX17Xa1PT6U1ZWXGGfB1ey5L8dKMlFq2DO0Ag==",
+ "node_modules/is-core-module": {
+ "version": "2.13.1",
+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz",
+ "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==",
"dependencies": {
- "d3-time": "1 - 2"
+ "hasown": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/data-uri-to-buffer": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz",
- "integrity": "sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==",
+ "node_modules/is-data-view": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.1.tgz",
+ "integrity": "sha512-AHkaJrsUVW6wq6JS8y3JnM/GJF/9cf+k20+iDzlSaJrinEo5+7vRiteOSwBhHRiAyQATN1AmY4hwzxJKPmYf+w==",
"dev": true,
+ "dependencies": {
+ "is-typed-array": "^1.1.13"
+ },
"engines": {
- "node": ">= 12"
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/date-fns": {
- "version": "3.6.0",
- "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-3.6.0.tgz",
- "integrity": "sha512-fRHTG8g/Gif+kSh50gaGEdToemgfj74aRX3swtiouboip5JDLAyDE9F11nHMIcvOaXeOC6D7SpNhi7uFyB7Uww==",
+ "node_modules/is-date-object": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz",
+ "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==",
+ "dev": true,
+ "dependencies": {
+ "has-tostringtag": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
"funding": {
- "type": "github",
- "url": "https://github.com/sponsors/kossnocorp"
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/debug": {
- "version": "4.3.4",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
- "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
- "dependencies": {
- "ms": "2.1.2"
+ "node_modules/is-docker": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz",
+ "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==",
+ "dev": true,
+ "bin": {
+ "is-docker": "cli.js"
},
"engines": {
- "node": ">=6.0"
+ "node": ">=8"
},
- "peerDependenciesMeta": {
- "supports-color": {
- "optional": true
- }
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/decode-uri-component": {
- "version": "0.2.2",
- "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.2.tgz",
- "integrity": "sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==",
+ "node_modules/is-extglob": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
+ "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
+ "dev": true,
"engines": {
- "node": ">=0.10"
+ "node": ">=0.10.0"
}
},
- "node_modules/define-data-property": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz",
- "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==",
+ "node_modules/is-finalizationregistry": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-finalizationregistry/-/is-finalizationregistry-1.0.2.tgz",
+ "integrity": "sha512-0by5vtUJs8iFQb5TYUHHPudOR+qXYIMKtiUzvLIZITZUjknFmziyBJuLhVRc+Ds0dREFlskDNJKYIdIzu/9pfw==",
+ "dev": true,
"dependencies": {
- "es-define-property": "^1.0.0",
- "es-errors": "^1.3.0",
- "gopd": "^1.0.1"
- },
- "engines": {
- "node": ">= 0.4"
+ "call-bind": "^1.0.2"
},
"funding": {
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/define-lazy-prop": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz",
- "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==",
+ "node_modules/is-fullwidth-code-point": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
"dev": true,
"engines": {
"node": ">=8"
}
},
- "node_modules/define-properties": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz",
- "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==",
+ "node_modules/is-generator-function": {
+ "version": "1.0.10",
+ "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz",
+ "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==",
+ "dev": true,
"dependencies": {
- "define-data-property": "^1.0.1",
- "has-property-descriptors": "^1.0.0",
- "object-keys": "^1.1.1"
+ "has-tostringtag": "^1.0.0"
},
"engines": {
"node": ">= 0.4"
@@ -3394,593 +7979,598 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/dequal": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz",
- "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==",
+ "node_modules/is-glob": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
+ "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
"dev": true,
+ "dependencies": {
+ "is-extglob": "^2.1.1"
+ },
"engines": {
- "node": ">=6"
+ "node": ">=0.10.0"
}
},
- "node_modules/dom-accessibility-api": {
- "version": "0.5.16",
- "resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.5.16.tgz",
- "integrity": "sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg==",
+ "node_modules/is-in-ci": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/is-in-ci/-/is-in-ci-0.1.0.tgz",
+ "integrity": "sha512-d9PXLEY0v1iJ64xLiQMJ51J128EYHAaOR4yZqQi8aHGfw6KgifM3/Viw1oZZ1GCVmb3gBuyhLyHj0HgR2DhSXQ==",
"dev": true,
- "peer": true
- },
- "node_modules/dom-helpers": {
- "version": "5.2.1",
- "resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz",
- "integrity": "sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==",
- "dependencies": {
- "@babel/runtime": "^7.8.7",
- "csstype": "^3.0.2"
+ "bin": {
+ "is-in-ci": "cli.js"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/dompurify": {
- "version": "2.4.7",
- "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-2.4.7.tgz",
- "integrity": "sha512-kxxKlPEDa6Nc5WJi+qRgPbOAbgTpSULL+vI3NUXsZMlkJxTqYI9wg5ZTay2sFrdZRWHPWNi+EdAhcJf81WtoMQ=="
+ "node_modules/is-map": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.3.tgz",
+ "integrity": "sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==",
+ "dev": true,
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
},
- "node_modules/dotenv": {
- "version": "16.4.5",
- "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.5.tgz",
- "integrity": "sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==",
+ "node_modules/is-negative-zero": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz",
+ "integrity": "sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==",
+ "dev": true,
"engines": {
- "node": ">=12"
+ "node": ">= 0.4"
},
"funding": {
- "url": "https://dotenvx.com"
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/eastasianwidth": {
- "version": "0.2.0",
- "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz",
- "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==",
- "dev": true
+ "node_modules/is-number": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.12.0"
+ }
},
- "node_modules/electron-to-chromium": {
- "version": "1.5.2",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.2.tgz",
- "integrity": "sha512-kc4r3U3V3WLaaZqThjYz/Y6z8tJe+7K0bbjUVo3i+LWIypVdMx5nXCkwRe6SWbY6ILqLdc1rKcKmr3HoH7wjSQ==",
- "dev": true
+ "node_modules/is-number-object": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz",
+ "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==",
+ "dev": true,
+ "dependencies": {
+ "has-tostringtag": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
},
- "node_modules/emoji-regex": {
- "version": "8.0.0",
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
- "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
- "dev": true
+ "node_modules/is-path-inside": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz",
+ "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
},
- "node_modules/environment": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/environment/-/environment-1.1.0.tgz",
- "integrity": "sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==",
+ "node_modules/is-regex": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz",
+ "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==",
"dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "has-tostringtag": "^1.0.0"
+ },
"engines": {
- "node": ">=18"
+ "node": ">= 0.4"
},
"funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/error-ex": {
- "version": "1.3.2",
- "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
- "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",
- "dependencies": {
- "is-arrayish": "^0.2.1"
+ "node_modules/is-set": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.3.tgz",
+ "integrity": "sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==",
+ "dev": true,
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/es-define-property": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz",
- "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==",
+ "node_modules/is-shared-array-buffer": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.3.tgz",
+ "integrity": "sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg==",
+ "dev": true,
"dependencies": {
- "get-intrinsic": "^1.2.4"
+ "call-bind": "^1.0.7"
},
"engines": {
"node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/es-errors": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
- "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
+ "node_modules/is-stream": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz",
+ "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==",
+ "dev": true,
"engines": {
- "node": ">= 0.4"
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/es-object-atoms": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.0.0.tgz",
- "integrity": "sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==",
+ "node_modules/is-string": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz",
+ "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==",
+ "dev": true,
"dependencies": {
- "es-errors": "^1.3.0"
+ "has-tostringtag": "^1.0.0"
},
"engines": {
"node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/esbuild": {
- "version": "0.21.5",
- "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz",
- "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==",
+ "node_modules/is-symbol": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz",
+ "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==",
"dev": true,
- "hasInstallScript": true,
- "bin": {
- "esbuild": "bin/esbuild"
+ "dependencies": {
+ "has-symbols": "^1.0.2"
},
"engines": {
- "node": ">=12"
+ "node": ">= 0.4"
},
- "optionalDependencies": {
- "@esbuild/aix-ppc64": "0.21.5",
- "@esbuild/android-arm": "0.21.5",
- "@esbuild/android-arm64": "0.21.5",
- "@esbuild/android-x64": "0.21.5",
- "@esbuild/darwin-arm64": "0.21.5",
- "@esbuild/darwin-x64": "0.21.5",
- "@esbuild/freebsd-arm64": "0.21.5",
- "@esbuild/freebsd-x64": "0.21.5",
- "@esbuild/linux-arm": "0.21.5",
- "@esbuild/linux-arm64": "0.21.5",
- "@esbuild/linux-ia32": "0.21.5",
- "@esbuild/linux-loong64": "0.21.5",
- "@esbuild/linux-mips64el": "0.21.5",
- "@esbuild/linux-ppc64": "0.21.5",
- "@esbuild/linux-riscv64": "0.21.5",
- "@esbuild/linux-s390x": "0.21.5",
- "@esbuild/linux-x64": "0.21.5",
- "@esbuild/netbsd-x64": "0.21.5",
- "@esbuild/openbsd-x64": "0.21.5",
- "@esbuild/sunos-x64": "0.21.5",
- "@esbuild/win32-arm64": "0.21.5",
- "@esbuild/win32-ia32": "0.21.5",
- "@esbuild/win32-x64": "0.21.5"
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/escalade": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz",
- "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==",
+ "node_modules/is-typed-array": {
+ "version": "1.1.13",
+ "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz",
+ "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==",
"dev": true,
+ "dependencies": {
+ "which-typed-array": "^1.1.14"
+ },
"engines": {
- "node": ">=6"
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/escape-string-regexp": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
- "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
+ "node_modules/is-weakmap": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.2.tgz",
+ "integrity": "sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==",
+ "dev": true,
"engines": {
- "node": ">=10"
+ "node": ">= 0.4"
},
"funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/eventemitter3": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz",
- "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA=="
+ "node_modules/is-weakref": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz",
+ "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
},
- "node_modules/execa": {
- "version": "8.0.1",
- "resolved": "git+ssh://[email protected]/sindresorhus/execa.git#c8a7961339cf24f44ec8e46a3501621fa22af3dd",
+ "node_modules/is-weakset": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.3.tgz",
+ "integrity": "sha512-LvIm3/KWzS9oRFHugab7d+M/GcBXuXX5xZkzPmN+NxihdQlZUQ4dWuSV1xR/sq6upL1TJEDrfBgRepHFdBtSNQ==",
"dev": true,
- "license": "MIT",
"dependencies": {
- "@sindresorhus/merge-streams": "^2.0.1",
- "cross-spawn": "^7.0.3",
- "get-stream": "^8.0.1",
- "human-signals": "^6.0.0",
- "is-stream": "^3.0.0",
- "npm-run-path": "^5.2.0",
- "signal-exit": "^4.1.0",
- "strip-final-newline": "^4.0.0"
+ "call-bind": "^1.0.7",
+ "get-intrinsic": "^1.2.4"
},
"engines": {
- "node": ">=18"
+ "node": ">= 0.4"
},
"funding": {
- "url": "https://github.com/sindresorhus/execa?sponsor=1"
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/external-editor": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz",
- "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==",
+ "node_modules/is-wsl": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz",
+ "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==",
"dev": true,
"dependencies": {
- "chardet": "^0.7.0",
- "iconv-lite": "^0.4.24",
- "tmp": "^0.0.33"
+ "is-docker": "^2.0.0"
},
"engines": {
- "node": ">=4"
+ "node": ">=8"
}
},
- "node_modules/fakerest": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/fakerest/-/fakerest-4.1.0.tgz",
- "integrity": "sha512-AMIHR3fCqRMjM6aRxxA5OlAlZvB2wgXN2iZY25hYzHDOE1kflNfhzVgXxZy9vPO2qTHoGtYCrdJr24LtskIIUg==",
+ "node_modules/isarray": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz",
+ "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==",
+ "dev": true
+ },
+ "node_modules/isexe": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
+ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
+ "dev": true
+ },
+ "node_modules/iterator.prototype": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/iterator.prototype/-/iterator.prototype-1.1.2.tgz",
+ "integrity": "sha512-DR33HMMr8EzwuRL8Y9D3u2BMj8+RqSE850jfGu59kS7tbmPLzGkZmVSfyCFSDxuZiEY6Rzt3T2NA/qU+NwVj1w==",
+ "dev": true,
"dependencies": {
- "lodash": "^4.17.21"
+ "define-properties": "^1.2.1",
+ "get-intrinsic": "^1.2.1",
+ "has-symbols": "^1.0.3",
+ "reflect.getprototypeof": "^1.0.4",
+ "set-function-name": "^2.0.1"
}
},
- "node_modules/fetch-blob": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/fetch-blob/-/fetch-blob-3.2.0.tgz",
- "integrity": "sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==",
+ "node_modules/jackspeak": {
+ "version": "3.4.3",
+ "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz",
+ "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==",
"dev": true,
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/jimmywarting"
- },
- {
- "type": "paypal",
- "url": "https://paypal.me/jimmywarting"
- }
- ],
"dependencies": {
- "node-domexception": "^1.0.0",
- "web-streams-polyfill": "^3.0.3"
+ "@isaacs/cliui": "^8.0.2"
},
- "engines": {
- "node": "^12.20 || >= 14.13"
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ },
+ "optionalDependencies": {
+ "@pkgjs/parseargs": "^0.11.0"
}
},
- "node_modules/file-selector": {
- "version": "0.6.0",
- "resolved": "https://registry.npmjs.org/file-selector/-/file-selector-0.6.0.tgz",
- "integrity": "sha512-QlZ5yJC0VxHxQQsQhXvBaC7VRJ2uaxTf+Tfpu4Z/OcVQJVpZO+DGU0rkoVW5ce2SccxugvpBJoMvUs59iILYdw==",
+ "node_modules/js-tokens": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
+ },
+ "node_modules/js-yaml": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
+ "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
+ "dev": true,
"dependencies": {
- "tslib": "^2.4.0"
+ "argparse": "^2.0.1"
},
- "engines": {
- "node": ">= 12"
+ "bin": {
+ "js-yaml": "bin/js-yaml.js"
}
},
- "node_modules/filter-obj": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/filter-obj/-/filter-obj-1.1.0.tgz",
- "integrity": "sha512-8rXg1ZnX7xzy2NGDVkBVaAy+lSlPNwad13BtgSlLuxfIslyt5Vg64U7tFcCt4WS1R0hvtnQybT/IyCkGZ3DpXQ==",
+ "node_modules/jsesc": {
+ "version": "2.5.2",
+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",
+ "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==",
+ "bin": {
+ "jsesc": "bin/jsesc"
+ },
"engines": {
- "node": ">=0.10.0"
+ "node": ">=4"
}
},
- "node_modules/find-root": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz",
- "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng=="
+ "node_modules/json-buffer": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",
+ "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==",
+ "dev": true
},
- "node_modules/foreground-child": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.2.1.tgz",
- "integrity": "sha512-PXUUyLqrR2XCWICfv6ukppP96sdFwWbNEnfEMt7jNsISjMsvaLNinAHNDYyvkyU+SZG2BTSbT5NjG+vZslfGTA==",
+ "node_modules/json-parse-even-better-errors": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",
+ "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w=="
+ },
+ "node_modules/json-schema-traverse": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
+ "dev": true
+ },
+ "node_modules/json-stable-stringify-without-jsonify": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
+ "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==",
+ "dev": true
+ },
+ "node_modules/json5": {
+ "version": "2.2.3",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
+ "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
"dev": true,
- "dependencies": {
- "cross-spawn": "^7.0.0",
- "signal-exit": "^4.0.1"
+ "bin": {
+ "json5": "lib/cli.js"
},
"engines": {
- "node": ">=14"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
+ "node": ">=6"
}
},
- "node_modules/formdata-polyfill": {
- "version": "4.0.10",
- "resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz",
- "integrity": "sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==",
+ "node_modules/jsonexport": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/jsonexport/-/jsonexport-3.2.0.tgz",
+ "integrity": "sha512-GbO9ugb0YTZatPd/hqCGR0FSwbr82H6OzG04yzdrG7XOe4QZ0jhQ+kOsB29zqkzoYJLmLxbbrFiuwbQu891XnQ==",
+ "bin": {
+ "jsonexport": "bin/jsonexport.js"
+ }
+ },
+ "node_modules/jsx-ast-utils": {
+ "version": "3.3.5",
+ "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz",
+ "integrity": "sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==",
"dev": true,
"dependencies": {
- "fetch-blob": "^3.1.2"
+ "array-includes": "^3.1.6",
+ "array.prototype.flat": "^1.3.1",
+ "object.assign": "^4.1.4",
+ "object.values": "^1.1.6"
},
"engines": {
- "node": ">=12.20.0"
+ "node": ">=4.0"
}
},
- "node_modules/fsevents": {
- "version": "2.3.3",
- "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
- "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
+ "node_modules/keyv": {
+ "version": "4.5.4",
+ "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",
+ "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==",
"dev": true,
- "hasInstallScript": true,
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ "dependencies": {
+ "json-buffer": "3.0.1"
}
},
- "node_modules/function-bind": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
- "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
+ "node_modules/language-subtag-registry": {
+ "version": "0.3.23",
+ "resolved": "https://registry.npmjs.org/language-subtag-registry/-/language-subtag-registry-0.3.23.tgz",
+ "integrity": "sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ==",
+ "dev": true
},
- "node_modules/gensync": {
- "version": "1.0.0-beta.2",
- "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
- "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
+ "node_modules/language-tags": {
+ "version": "1.0.9",
+ "resolved": "https://registry.npmjs.org/language-tags/-/language-tags-1.0.9.tgz",
+ "integrity": "sha512-MbjN408fEndfiQXbFQ1vnd+1NoLDsnQW41410oQBXiyXDMYH5z505juWa4KUE1LqxRC7DgOgZDbKLxHIwm27hA==",
"dev": true,
+ "dependencies": {
+ "language-subtag-registry": "^0.3.20"
+ },
"engines": {
- "node": ">=6.9.0"
+ "node": ">=0.10"
}
},
- "node_modules/get-caller-file": {
- "version": "2.0.5",
- "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
- "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
+ "node_modules/levn": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
+ "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
"dev": true,
+ "dependencies": {
+ "prelude-ls": "^1.2.1",
+ "type-check": "~0.4.0"
+ },
"engines": {
- "node": "6.* || 8.* || >= 10.*"
+ "node": ">= 0.8.0"
}
},
- "node_modules/get-east-asian-width": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.2.0.tgz",
- "integrity": "sha512-2nk+7SIVb14QrgXFHcm84tD4bKQz0RxPuMT8Ag5KPOq7J5fEmAg0UbXdTOSHqNuHSU28k55qnceesxXRZGzKWA==",
+ "node_modules/lilconfig": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz",
+ "integrity": "sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==",
"dev": true,
"engines": {
- "node": ">=18"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "node": ">=10"
}
},
- "node_modules/get-intrinsic": {
+ "node_modules/lines-and-columns": {
"version": "1.2.4",
- "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz",
- "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==",
+ "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
+ "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg=="
+ },
+ "node_modules/lint-staged": {
+ "version": "13.3.0",
+ "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-13.3.0.tgz",
+ "integrity": "sha512-mPRtrYnipYYv1FEE134ufbWpeggNTo+O/UPzngoaKzbzHAthvR55am+8GfHTnqNRQVRRrYQLGW9ZyUoD7DsBHQ==",
+ "dev": true,
"dependencies": {
- "es-errors": "^1.3.0",
- "function-bind": "^1.1.2",
- "has-proto": "^1.0.1",
- "has-symbols": "^1.0.3",
- "hasown": "^2.0.0"
+ "chalk": "5.3.0",
+ "commander": "11.0.0",
+ "debug": "4.3.4",
+ "execa": "7.2.0",
+ "lilconfig": "2.1.0",
+ "listr2": "6.6.1",
+ "micromatch": "4.0.5",
+ "pidtree": "0.6.0",
+ "string-argv": "0.3.2",
+ "yaml": "2.3.1"
},
- "engines": {
- "node": ">= 0.4"
+ "bin": {
+ "lint-staged": "bin/lint-staged.js"
},
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/get-stream": {
- "version": "8.0.1",
- "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz",
- "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==",
- "dev": true,
"engines": {
- "node": ">=16"
+ "node": "^16.14.0 || >=18.0.0"
},
"funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "url": "https://opencollective.com/lint-staged"
}
},
- "node_modules/globals": {
- "version": "11.12.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
- "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
+ "node_modules/lint-staged/node_modules/chalk": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz",
+ "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==",
+ "dev": true,
"engines": {
- "node": ">=4"
- }
- },
- "node_modules/gopd": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz",
- "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==",
- "dependencies": {
- "get-intrinsic": "^1.1.3"
+ "node": "^12.17.0 || ^14.13 || >=16.0.0"
},
"funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "url": "https://github.com/chalk/chalk?sponsor=1"
}
},
- "node_modules/has-flag": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
- "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
+ "node_modules/lint-staged/node_modules/execa": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/execa/-/execa-7.2.0.tgz",
+ "integrity": "sha512-UduyVP7TLB5IcAQl+OzLyLcS/l32W/GLg+AhHJ+ow40FOk2U3SAllPwR44v4vmdFwIWqpdwxxpQbF1n5ta9seA==",
"dev": true,
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/has-property-descriptors": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz",
- "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==",
"dependencies": {
- "es-define-property": "^1.0.0"
+ "cross-spawn": "^7.0.3",
+ "get-stream": "^6.0.1",
+ "human-signals": "^4.3.0",
+ "is-stream": "^3.0.0",
+ "merge-stream": "^2.0.0",
+ "npm-run-path": "^5.1.0",
+ "onetime": "^6.0.0",
+ "signal-exit": "^3.0.7",
+ "strip-final-newline": "^3.0.0"
},
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/has-proto": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz",
- "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==",
"engines": {
- "node": ">= 0.4"
+ "node": "^14.18.0 || ^16.14.0 || >=18.0.0"
},
"funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "url": "https://github.com/sindresorhus/execa?sponsor=1"
}
},
- "node_modules/has-symbols": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz",
- "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==",
+ "node_modules/lint-staged/node_modules/get-stream": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz",
+ "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==",
+ "dev": true,
"engines": {
- "node": ">= 0.4"
+ "node": ">=10"
},
"funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/hasown": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
- "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
- "dependencies": {
- "function-bind": "^1.1.2"
- },
+ "node_modules/lint-staged/node_modules/human-signals": {
+ "version": "4.3.1",
+ "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-4.3.1.tgz",
+ "integrity": "sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==",
+ "dev": true,
"engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/hoist-non-react-statics": {
- "version": "3.3.2",
- "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz",
- "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==",
- "dependencies": {
- "react-is": "^16.7.0"
+ "node": ">=14.18.0"
}
},
- "node_modules/hoist-non-react-statics/node_modules/react-is": {
- "version": "16.13.1",
- "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
- "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
- },
- "node_modules/hotscript": {
- "version": "1.0.13",
- "resolved": "https://registry.npmjs.org/hotscript/-/hotscript-1.0.13.tgz",
- "integrity": "sha512-C++tTF1GqkGYecL+2S1wJTfoH6APGAsbb7PAWQ3iVIwgG/EFseAfEVOKFgAFq4yK3+6j1EjUD4UQ9dRJHX/sSQ=="
- },
- "node_modules/https-proxy-agent": {
- "version": "7.0.2",
- "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.2.tgz",
- "integrity": "sha512-NmLNjm6ucYwtcUmL7JQC1ZQ57LmHP4lT15FQ8D61nak1rO6DH+fz5qNK2Ap5UN4ZapYICE3/0KodcLYSPsPbaA==",
+ "node_modules/lint-staged/node_modules/micromatch": {
+ "version": "4.0.5",
+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz",
+ "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==",
"dev": true,
"dependencies": {
- "agent-base": "^7.0.2",
- "debug": "4"
+ "braces": "^3.0.2",
+ "picomatch": "^2.3.1"
},
"engines": {
- "node": ">= 14"
+ "node": ">=8.6"
}
},
- "node_modules/human-signals": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-6.0.0.tgz",
- "integrity": "sha512-E8FEGCQpCoCHSPDn+iWUL2t+XIp1cUGFCiIWNmLuRszJunXrnXbbH34UeLlDQmLVZhyLmRZS53fwVD1Htvn1QA==",
+ "node_modules/lint-staged/node_modules/mimic-fn": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz",
+ "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==",
"dev": true,
"engines": {
- "node": ">=18.18.0"
- }
- },
- "node_modules/iconv-lite": {
- "version": "0.4.24",
- "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
- "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
- "dev": true,
- "dependencies": {
- "safer-buffer": ">= 2.1.2 < 3"
+ "node": ">=12"
},
- "engines": {
- "node": ">=0.10.0"
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/import-fresh": {
- "version": "3.3.0",
- "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz",
- "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==",
+ "node_modules/lint-staged/node_modules/onetime": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz",
+ "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==",
+ "dev": true,
"dependencies": {
- "parent-module": "^1.0.0",
- "resolve-from": "^4.0.0"
+ "mimic-fn": "^4.0.0"
},
"engines": {
- "node": ">=6"
+ "node": ">=12"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/imurmurhash": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
- "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
- "dev": true,
- "engines": {
- "node": ">=0.8.19"
- }
+ "node_modules/lint-staged/node_modules/signal-exit": {
+ "version": "3.0.7",
+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
+ "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==",
+ "dev": true
},
- "node_modules/indent-string": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz",
- "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==",
+ "node_modules/lint-staged/node_modules/strip-final-newline": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz",
+ "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==",
"dev": true,
"engines": {
- "node": ">=8"
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/inflection": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/inflection/-/inflection-3.0.0.tgz",
- "integrity": "sha512-1zEJU1l19SgJlmwqsEyFTbScw/tkMHFenUo//Y0i+XEP83gDFdMvPizAD/WGcE+l1ku12PcTVHQhO6g5E0UCMw==",
+ "node_modules/lint-staged/node_modules/yaml": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.1.tgz",
+ "integrity": "sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ==",
+ "dev": true,
"engines": {
- "node": ">=18.0.0"
+ "node": ">= 14"
}
},
- "node_modules/ink": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/ink/-/ink-5.0.1.tgz",
- "integrity": "sha512-ae4AW/t8jlkj/6Ou21H2av0wxTk8vrGzXv+v2v7j4in+bl1M5XRMVbfNghzhBokV++FjF8RBDJvYo+ttR9YVRg==",
+ "node_modules/listr2": {
+ "version": "6.6.1",
+ "resolved": "https://registry.npmjs.org/listr2/-/listr2-6.6.1.tgz",
+ "integrity": "sha512-+rAXGHh0fkEWdXBmX+L6mmfmXmXvDGEKzkjxO+8mP3+nI/r/CWznVBvsibXdxda9Zz0OW2e2ikphN3OwCT/jSg==",
"dev": true,
"dependencies": {
- "@alcalzone/ansi-tokenize": "^0.1.3",
- "ansi-escapes": "^7.0.0",
- "ansi-styles": "^6.2.1",
- "auto-bind": "^5.0.1",
- "chalk": "^5.3.0",
- "cli-boxes": "^3.0.0",
- "cli-cursor": "^4.0.0",
- "cli-truncate": "^4.0.0",
- "code-excerpt": "^4.0.0",
- "indent-string": "^5.0.0",
- "is-in-ci": "^0.1.0",
- "lodash": "^4.17.21",
- "patch-console": "^2.0.0",
- "react-reconciler": "^0.29.0",
- "scheduler": "^0.23.0",
- "signal-exit": "^3.0.7",
- "slice-ansi": "^7.1.0",
- "stack-utils": "^2.0.6",
- "string-width": "^7.0.0",
- "type-fest": "^4.8.3",
- "widest-line": "^5.0.0",
- "wrap-ansi": "^9.0.0",
- "ws": "^8.15.0",
- "yoga-wasm-web": "~0.3.3"
+ "cli-truncate": "^3.1.0",
+ "colorette": "^2.0.20",
+ "eventemitter3": "^5.0.1",
+ "log-update": "^5.0.1",
+ "rfdc": "^1.3.0",
+ "wrap-ansi": "^8.1.0"
},
"engines": {
- "node": ">=18"
+ "node": ">=16.0.0"
},
"peerDependencies": {
- "@types/react": ">=18.0.0",
- "react": ">=18.0.0",
- "react-devtools-core": "^4.19.1"
+ "enquirer": ">= 2.3.0 < 3"
},
"peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- },
- "react-devtools-core": {
+ "enquirer": {
"optional": true
}
}
},
- "node_modules/ink/node_modules/ansi-regex": {
+ "node_modules/listr2/node_modules/ansi-regex": {
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz",
"integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==",
@@ -3992,7 +8582,7 @@
"url": "https://github.com/chalk/ansi-regex?sponsor=1"
}
},
- "node_modules/ink/node_modules/ansi-styles": {
+ "node_modules/listr2/node_modules/ansi-styles": {
"version": "6.2.1",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz",
"integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==",
@@ -4004,28 +8594,32 @@
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
- "node_modules/ink/node_modules/chalk": {
- "version": "5.3.0",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz",
- "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==",
+ "node_modules/listr2/node_modules/cli-truncate": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-3.1.0.tgz",
+ "integrity": "sha512-wfOBkjXteqSnI59oPcJkcPl/ZmwvMMOj340qUIY1SKZCv0B9Cf4D4fAucRkIKQmsIuYK3x1rrgU7MeGRruiuiA==",
"dev": true,
+ "dependencies": {
+ "slice-ansi": "^5.0.0",
+ "string-width": "^5.0.0"
+ },
"engines": {
- "node": "^12.17.0 || ^14.13 || >=16.0.0"
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"funding": {
- "url": "https://github.com/chalk/chalk?sponsor=1"
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/ink/node_modules/emoji-regex": {
- "version": "10.3.0",
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz",
- "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==",
+ "node_modules/listr2/node_modules/emoji-regex": {
+ "version": "9.2.2",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
+ "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==",
"dev": true
},
- "node_modules/ink/node_modules/indent-string": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz",
- "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==",
+ "node_modules/listr2/node_modules/is-fullwidth-code-point": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz",
+ "integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==",
"dev": true,
"engines": {
"node": ">=12"
@@ -4034,30 +8628,40 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/ink/node_modules/signal-exit": {
- "version": "3.0.7",
- "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
- "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==",
- "dev": true
+ "node_modules/listr2/node_modules/slice-ansi": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-5.0.0.tgz",
+ "integrity": "sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==",
+ "dev": true,
+ "dependencies": {
+ "ansi-styles": "^6.0.0",
+ "is-fullwidth-code-point": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/slice-ansi?sponsor=1"
+ }
},
- "node_modules/ink/node_modules/string-width": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz",
- "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==",
+ "node_modules/listr2/node_modules/string-width": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",
+ "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==",
"dev": true,
"dependencies": {
- "emoji-regex": "^10.3.0",
- "get-east-asian-width": "^1.0.0",
- "strip-ansi": "^7.1.0"
+ "eastasianwidth": "^0.2.0",
+ "emoji-regex": "^9.2.2",
+ "strip-ansi": "^7.0.1"
},
"engines": {
- "node": ">=18"
+ "node": ">=12"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/ink/node_modules/strip-ansi": {
+ "node_modules/listr2/node_modules/strip-ansi": {
"version": "7.1.0",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",
"integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==",
@@ -4072,187 +8676,213 @@
"url": "https://github.com/chalk/strip-ansi?sponsor=1"
}
},
- "node_modules/ink/node_modules/wrap-ansi": {
- "version": "9.0.0",
- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.0.tgz",
- "integrity": "sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q==",
+ "node_modules/listr2/node_modules/wrap-ansi": {
+ "version": "8.1.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz",
+ "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==",
"dev": true,
"dependencies": {
- "ansi-styles": "^6.2.1",
- "string-width": "^7.0.0",
- "strip-ansi": "^7.1.0"
+ "ansi-styles": "^6.1.0",
+ "string-width": "^5.0.1",
+ "strip-ansi": "^7.0.1"
},
"engines": {
- "node": ">=18"
+ "node": ">=12"
},
"funding": {
"url": "https://github.com/chalk/wrap-ansi?sponsor=1"
}
},
- "node_modules/internmap": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/internmap/-/internmap-2.0.3.tgz",
- "integrity": "sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==",
+ "node_modules/locate-path": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
+ "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",
+ "dev": true,
+ "dependencies": {
+ "p-locate": "^5.0.0"
+ },
"engines": {
- "node": ">=12"
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/is-arrayish": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
- "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg=="
+ "node_modules/lodash": {
+ "version": "4.17.21",
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
+ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
},
- "node_modules/is-core-module": {
- "version": "2.13.1",
- "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz",
- "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==",
+ "node_modules/lodash.debounce": {
+ "version": "4.0.8",
+ "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz",
+ "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==",
+ "dev": true
+ },
+ "node_modules/lodash.isequal": {
+ "version": "4.5.0",
+ "resolved": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz",
+ "integrity": "sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==",
+ "peer": true
+ },
+ "node_modules/lodash.merge": {
+ "version": "4.6.2",
+ "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
+ "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",
+ "dev": true
+ },
+ "node_modules/log-update": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/log-update/-/log-update-5.0.1.tgz",
+ "integrity": "sha512-5UtUDQ/6edw4ofyljDNcOVJQ4c7OjDro4h3y8e1GQL5iYElYclVHJ3zeWchylvMaKnDbDilC8irOVyexnA/Slw==",
+ "dev": true,
"dependencies": {
- "hasown": "^2.0.0"
+ "ansi-escapes": "^5.0.0",
+ "cli-cursor": "^4.0.0",
+ "slice-ansi": "^5.0.0",
+ "strip-ansi": "^7.0.1",
+ "wrap-ansi": "^8.0.1"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/is-docker": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz",
- "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==",
+ "node_modules/log-update/node_modules/ansi-escapes": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-5.0.0.tgz",
+ "integrity": "sha512-5GFMVX8HqE/TB+FuBJGuO5XG0WrsA6ptUqoODaT/n9mmUaZFkqnBueB4leqGBCmrUHnCnC4PCZTCd0E7QQ83bA==",
"dev": true,
- "bin": {
- "is-docker": "cli.js"
+ "dependencies": {
+ "type-fest": "^1.0.2"
},
"engines": {
- "node": ">=8"
+ "node": ">=12"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/is-fullwidth-code-point": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
- "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
+ "node_modules/log-update/node_modules/ansi-regex": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz",
+ "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==",
"dev": true,
"engines": {
- "node": ">=8"
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-regex?sponsor=1"
}
},
- "node_modules/is-in-ci": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/is-in-ci/-/is-in-ci-0.1.0.tgz",
- "integrity": "sha512-d9PXLEY0v1iJ64xLiQMJ51J128EYHAaOR4yZqQi8aHGfw6KgifM3/Viw1oZZ1GCVmb3gBuyhLyHj0HgR2DhSXQ==",
+ "node_modules/log-update/node_modules/ansi-styles": {
+ "version": "6.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz",
+ "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==",
"dev": true,
- "bin": {
- "is-in-ci": "cli.js"
- },
"engines": {
- "node": ">=18"
+ "node": ">=12"
},
"funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
- "node_modules/is-stream": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz",
- "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==",
+ "node_modules/log-update/node_modules/emoji-regex": {
+ "version": "9.2.2",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
+ "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==",
+ "dev": true
+ },
+ "node_modules/log-update/node_modules/is-fullwidth-code-point": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz",
+ "integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==",
"dev": true,
"engines": {
- "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ "node": ">=12"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/is-wsl": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz",
- "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==",
+ "node_modules/log-update/node_modules/slice-ansi": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-5.0.0.tgz",
+ "integrity": "sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==",
"dev": true,
"dependencies": {
- "is-docker": "^2.0.0"
+ "ansi-styles": "^6.0.0",
+ "is-fullwidth-code-point": "^4.0.0"
},
"engines": {
- "node": ">=8"
- }
- },
- "node_modules/isexe": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
- "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
- "dev": true
- },
- "node_modules/jackspeak": {
- "version": "3.4.3",
- "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz",
- "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==",
- "dev": true,
- "dependencies": {
- "@isaacs/cliui": "^8.0.2"
+ "node": ">=12"
},
"funding": {
- "url": "https://github.com/sponsors/isaacs"
- },
- "optionalDependencies": {
- "@pkgjs/parseargs": "^0.11.0"
+ "url": "https://github.com/chalk/slice-ansi?sponsor=1"
}
},
- "node_modules/js-tokens": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
- "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
- },
- "node_modules/jsesc": {
- "version": "2.5.2",
- "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",
- "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==",
- "bin": {
- "jsesc": "bin/jsesc"
+ "node_modules/log-update/node_modules/string-width": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",
+ "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==",
+ "dev": true,
+ "dependencies": {
+ "eastasianwidth": "^0.2.0",
+ "emoji-regex": "^9.2.2",
+ "strip-ansi": "^7.0.1"
},
"engines": {
- "node": ">=4"
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/json-parse-even-better-errors": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",
- "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w=="
- },
- "node_modules/json5": {
- "version": "2.2.3",
- "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
- "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
+ "node_modules/log-update/node_modules/strip-ansi": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",
+ "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==",
"dev": true,
- "bin": {
- "json5": "lib/cli.js"
+ "dependencies": {
+ "ansi-regex": "^6.0.1"
},
"engines": {
- "node": ">=6"
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/strip-ansi?sponsor=1"
}
},
- "node_modules/jsonexport": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/jsonexport/-/jsonexport-3.2.0.tgz",
- "integrity": "sha512-GbO9ugb0YTZatPd/hqCGR0FSwbr82H6OzG04yzdrG7XOe4QZ0jhQ+kOsB29zqkzoYJLmLxbbrFiuwbQu891XnQ==",
- "bin": {
- "jsonexport": "bin/jsonexport.js"
+ "node_modules/log-update/node_modules/type-fest": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz",
+ "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/lines-and-columns": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
- "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg=="
- },
- "node_modules/lodash": {
- "version": "4.17.21",
- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
- "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
- },
- "node_modules/lodash.isequal": {
- "version": "4.5.0",
- "resolved": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz",
- "integrity": "sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==",
- "peer": true
+ "node_modules/log-update/node_modules/wrap-ansi": {
+ "version": "8.1.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz",
+ "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==",
+ "dev": true,
+ "dependencies": {
+ "ansi-styles": "^6.1.0",
+ "string-width": "^5.0.1",
+ "strip-ansi": "^7.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
+ }
},
"node_modules/loose-envify": {
"version": "1.4.0",
@@ -4289,6 +8919,34 @@
"resolved": "https://registry.npmjs.org/memoize-one/-/memoize-one-6.0.0.tgz",
"integrity": "sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw=="
},
+ "node_modules/merge-stream": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",
+ "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==",
+ "dev": true
+ },
+ "node_modules/merge2": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
+ "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
+ "dev": true,
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/micromatch": {
+ "version": "4.0.7",
+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz",
+ "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==",
+ "dev": true,
+ "dependencies": {
+ "braces": "^3.0.3",
+ "picomatch": "^2.3.1"
+ },
+ "engines": {
+ "node": ">=8.6"
+ }
+ },
"node_modules/mimic-fn": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
@@ -4307,6 +8965,27 @@
"node": ">=4"
}
},
+ "node_modules/minimatch": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "dev": true,
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/minimist": {
+ "version": "1.2.8",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz",
+ "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==",
+ "dev": true,
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"node_modules/minipass": {
"version": "7.1.2",
"resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz",
@@ -4438,6 +9117,18 @@
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
}
},
+ "node_modules/natural-compare": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
+ "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
+ "dev": true
+ },
+ "node_modules/natural-compare-lite": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz",
+ "integrity": "sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==",
+ "dev": true
+ },
"node_modules/node-domexception": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz",
@@ -4542,7 +9233,22 @@
"version": "1.13.2",
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz",
"integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==",
- "peer": true,
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/object-is": {
+ "version": "1.1.6",
+ "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.6.tgz",
+ "integrity": "sha512-F8cZ+KfGlSGi09lJT7/Nd6KJZ9ygtvYC0/UYYLI9nmQKLMnydpB9yvbv9K1uSkEu7FU9vYPmVwLg328tX+ot3Q==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.7",
+ "define-properties": "^1.2.1"
+ },
"engines": {
"node": ">= 0.4"
},
@@ -4558,6 +9264,24 @@
"node": ">= 0.4"
}
},
+ "node_modules/object.assign": {
+ "version": "4.1.5",
+ "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.5.tgz",
+ "integrity": "sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.5",
+ "define-properties": "^1.2.1",
+ "has-symbols": "^1.0.3",
+ "object-keys": "^1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"node_modules/object.entries": {
"version": "1.1.8",
"resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.8.tgz",
@@ -4571,12 +9295,70 @@
"node": ">= 0.4"
}
},
+ "node_modules/object.fromentries": {
+ "version": "2.0.8",
+ "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.8.tgz",
+ "integrity": "sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.7",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.2",
+ "es-object-atoms": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/object.groupby": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.3.tgz",
+ "integrity": "sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.7",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/object.values": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.2.0.tgz",
+ "integrity": "sha512-yBYjY9QX2hnRmZHAjG/f13MzmBzxzYgQhFrke06TTyKY5zSTEqkOeukBzIdVA3j3ulu8Qa3MbVFShV7T2RmGtQ==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.7",
+ "define-properties": "^1.2.1",
+ "es-object-atoms": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"node_modules/obuf": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/obuf/-/obuf-1.1.2.tgz",
"integrity": "sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==",
"dev": true
},
+ "node_modules/once": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
+ "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
+ "dev": true,
+ "dependencies": {
+ "wrappy": "1"
+ }
+ },
"node_modules/onetime": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
@@ -4609,6 +9391,23 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/optionator": {
+ "version": "0.9.4",
+ "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz",
+ "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==",
+ "dev": true,
+ "dependencies": {
+ "deep-is": "^0.1.3",
+ "fast-levenshtein": "^2.0.6",
+ "levn": "^0.4.1",
+ "prelude-ls": "^1.2.1",
+ "type-check": "^0.4.0",
+ "word-wrap": "^1.2.5"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
"node_modules/os-tmpdir": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
@@ -4618,12 +9417,47 @@
"node": ">=0.10.0"
}
},
+ "node_modules/p-limit": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
+ "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
+ "dev": true,
+ "dependencies": {
+ "yocto-queue": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/p-locate": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz",
+ "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",
+ "dev": true,
+ "dependencies": {
+ "p-limit": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/package-json-from-dist": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.0.tgz",
"integrity": "sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw==",
"dev": true
},
+ "node_modules/papaparse": {
+ "version": "5.4.1",
+ "resolved": "https://registry.npmjs.org/papaparse/-/papaparse-5.4.1.tgz",
+ "integrity": "sha512-HipMsgJkZu8br23pW15uvo6sib6wne/4woLZPlFf3rpDyMe9ywEXUsuD7+6K9PRkJlVT51j/sCOYDKGGS3ZJrw=="
+ },
"node_modules/parent-module": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
@@ -4661,6 +9495,24 @@
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
}
},
+ "node_modules/path-exists": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/path-is-absolute": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
+ "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
"node_modules/path-key": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
@@ -4820,6 +9672,27 @@
"url": "https://github.com/sponsors/jonschlinkert"
}
},
+ "node_modules/pidtree": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/pidtree/-/pidtree-0.6.0.tgz",
+ "integrity": "sha512-eG2dWTVw5bzqGRztnHExczNxt5VGsE6OwTeCG3fdUf9KBsZzO3R5OIIIzWR+iZA0NtZ+RDVdaoE2dK1cn6jH4g==",
+ "dev": true,
+ "bin": {
+ "pidtree": "bin/pidtree.js"
+ },
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/possible-typed-array-names": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz",
+ "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==",
+ "dev": true,
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
"node_modules/postcss": {
"version": "8.4.40",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.40.tgz",
@@ -4872,27 +9745,63 @@
"integrity": "sha512-suDmjLVQg78nMK2UZ454hAG+OAW+HQPZ6n++TNDUX+L0+uUlLywnoxJKDou51Zm+zTCjrCl0Nq6J9C5hP9vK/Q==",
"dev": true,
"engines": {
- "node": ">=0.10.0"
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/postgres-interval": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/postgres-interval/-/postgres-interval-1.2.0.tgz",
+ "integrity": "sha512-9ZhXKM/rw350N1ovuWHbGxnGh/SNJ4cnxHiM0rxE4VN41wsg8P8zWn9hv/buK00RP4WvlOyr/RBDiptyxVbkZQ==",
+ "dev": true,
+ "dependencies": {
+ "xtend": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/postgres-range": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/postgres-range/-/postgres-range-1.1.3.tgz",
+ "integrity": "sha512-VdlZoocy5lCP0c/t66xAfclglEapXPCIVhqqJRncYpvbCgImF0w67aPKfbqUMr72tO2k5q0TdTZwCLjPTI6C9g==",
+ "dev": true
+ },
+ "node_modules/prelude-ls": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
+ "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",
+ "dev": true,
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/prettier": {
+ "version": "3.2.5",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.5.tgz",
+ "integrity": "sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==",
+ "dev": true,
+ "bin": {
+ "prettier": "bin/prettier.cjs"
+ },
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/prettier/prettier?sponsor=1"
}
},
- "node_modules/postgres-interval": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/postgres-interval/-/postgres-interval-1.2.0.tgz",
- "integrity": "sha512-9ZhXKM/rw350N1ovuWHbGxnGh/SNJ4cnxHiM0rxE4VN41wsg8P8zWn9hv/buK00RP4WvlOyr/RBDiptyxVbkZQ==",
+ "node_modules/prettier-linter-helpers": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz",
+ "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==",
"dev": true,
"dependencies": {
- "xtend": "^4.0.0"
+ "fast-diff": "^1.1.2"
},
"engines": {
- "node": ">=0.10.0"
+ "node": ">=6.0.0"
}
},
- "node_modules/postgres-range": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/postgres-range/-/postgres-range-1.1.3.tgz",
- "integrity": "sha512-VdlZoocy5lCP0c/t66xAfclglEapXPCIVhqqJRncYpvbCgImF0w67aPKfbqUMr72tO2k5q0TdTZwCLjPTI6C9g==",
- "dev": true
- },
"node_modules/pretty-format": {
"version": "27.5.1",
"resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz",
@@ -4943,6 +9852,15 @@
"resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
"integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
},
+ "node_modules/punycode": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
+ "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
+ "dev": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
"node_modules/qs": {
"version": "6.12.3",
"resolved": "https://registry.npmjs.org/qs/-/qs-6.12.3.tgz",
@@ -4975,6 +9893,26 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/queue-microtask": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
+ "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ]
+ },
"node_modules/ra-core": {
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/ra-core/-/ra-core-5.1.0.tgz",
@@ -5172,6 +10110,17 @@
"react-router-dom": "^6.22.0"
}
},
+ "node_modules/react-cropper": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/react-cropper/-/react-cropper-2.3.3.tgz",
+ "integrity": "sha512-zghiEYkUb41kqtu+2jpX2Ntigf+Jj1dF9ew4lAobPzI2adaPE31z0p+5TcWngK6TvmWQUwK3lj4G+NDh1PDQ1w==",
+ "dependencies": {
+ "cropperjs": "^1.5.13"
+ },
+ "peerDependencies": {
+ "react": ">=17.0.2"
+ }
+ },
"node_modules/react-dom": {
"version": "18.3.1",
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz",
@@ -5369,11 +10318,115 @@
"@babel/runtime": "^7.9.2"
}
},
+ "node_modules/reflect.getprototypeof": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.6.tgz",
+ "integrity": "sha512-fmfw4XgoDke3kdI6h4xcUz1dG8uaiv5q9gcEwLS4Pnth2kxT+GZ7YehS1JTMGBQmtV7Y4GFGbs2re2NqhdozUg==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.7",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.1",
+ "es-errors": "^1.3.0",
+ "get-intrinsic": "^1.2.4",
+ "globalthis": "^1.0.3",
+ "which-builtin-type": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/regenerate": {
+ "version": "1.4.2",
+ "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz",
+ "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==",
+ "dev": true
+ },
+ "node_modules/regenerate-unicode-properties": {
+ "version": "10.1.1",
+ "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.1.1.tgz",
+ "integrity": "sha512-X007RyZLsCJVVrjgEFVpLUTZwyOZk3oiL75ZcuYjlIWd6rNJtOjkBwQc5AsRrpbKVkxN6sklw/k/9m2jJYOf8Q==",
+ "dev": true,
+ "dependencies": {
+ "regenerate": "^1.4.2"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
"node_modules/regenerator-runtime": {
"version": "0.14.1",
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz",
"integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw=="
},
+ "node_modules/regenerator-transform": {
+ "version": "0.15.2",
+ "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.2.tgz",
+ "integrity": "sha512-hfMp2BoF0qOk3uc5V20ALGDS2ddjQaLrdl7xrGXvAIow7qeWRM2VA2HuCHkUKk9slq3VwEwLNK3DFBqDfPGYtg==",
+ "dev": true,
+ "dependencies": {
+ "@babel/runtime": "^7.8.4"
+ }
+ },
+ "node_modules/regexp.prototype.flags": {
+ "version": "1.5.2",
+ "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.2.tgz",
+ "integrity": "sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.6",
+ "define-properties": "^1.2.1",
+ "es-errors": "^1.3.0",
+ "set-function-name": "^2.0.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/regexpu-core": {
+ "version": "5.3.2",
+ "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.3.2.tgz",
+ "integrity": "sha512-RAM5FlZz+Lhmo7db9L298p2vHP5ZywrVXmVXpmAD9GuL5MPH6t9ROw1iA/wfHkQ76Qe7AaPF0nGuim96/IrQMQ==",
+ "dev": true,
+ "dependencies": {
+ "@babel/regjsgen": "^0.8.0",
+ "regenerate": "^1.4.2",
+ "regenerate-unicode-properties": "^10.1.0",
+ "regjsparser": "^0.9.1",
+ "unicode-match-property-ecmascript": "^2.0.0",
+ "unicode-match-property-value-ecmascript": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/regjsparser": {
+ "version": "0.9.1",
+ "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.9.1.tgz",
+ "integrity": "sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ==",
+ "dev": true,
+ "dependencies": {
+ "jsesc": "~0.5.0"
+ },
+ "bin": {
+ "regjsparser": "bin/parser"
+ }
+ },
+ "node_modules/regjsparser/node_modules/jsesc": {
+ "version": "0.5.0",
+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz",
+ "integrity": "sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==",
+ "dev": true,
+ "bin": {
+ "jsesc": "bin/jsesc"
+ }
+ },
"node_modules/remove-accents": {
"version": "0.4.4",
"resolved": "https://registry.npmjs.org/remove-accents/-/remove-accents-0.4.4.tgz",
@@ -5434,6 +10487,38 @@
"integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==",
"dev": true
},
+ "node_modules/reusify": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",
+ "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",
+ "dev": true,
+ "engines": {
+ "iojs": ">=1.0.0",
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/rfdc": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.4.1.tgz",
+ "integrity": "sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==",
+ "dev": true
+ },
+ "node_modules/rimraf": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
+ "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
+ "deprecated": "Rimraf versions prior to v4 are no longer supported",
+ "dev": true,
+ "dependencies": {
+ "glob": "^7.1.3"
+ },
+ "bin": {
+ "rimraf": "bin.js"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
"node_modules/rollup": {
"version": "4.19.0",
"resolved": "https://registry.npmjs.org/rollup/-/rollup-4.19.0.tgz",
@@ -5504,6 +10589,64 @@
"node": ">= 8"
}
},
+ "node_modules/run-parallel": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
+ "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "dependencies": {
+ "queue-microtask": "^1.2.2"
+ }
+ },
+ "node_modules/safe-array-concat": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.2.tgz",
+ "integrity": "sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.7",
+ "get-intrinsic": "^1.2.4",
+ "has-symbols": "^1.0.3",
+ "isarray": "^2.0.5"
+ },
+ "engines": {
+ "node": ">=0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/safe-regex-test": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.3.tgz",
+ "integrity": "sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.6",
+ "es-errors": "^1.3.0",
+ "is-regex": "^1.1.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"node_modules/safer-buffer": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
@@ -5543,6 +10686,21 @@
"node": ">= 0.4"
}
},
+ "node_modules/set-function-name": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz",
+ "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==",
+ "dev": true,
+ "dependencies": {
+ "define-data-property": "^1.1.4",
+ "es-errors": "^1.3.0",
+ "functions-have-names": "^1.2.3",
+ "has-property-descriptors": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
"node_modules/shebang-command": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
@@ -5568,7 +10726,6 @@
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz",
"integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==",
- "peer": true,
"dependencies": {
"call-bind": "^1.0.7",
"es-errors": "^1.3.0",
@@ -5594,6 +10751,15 @@
"url": "https://github.com/sponsors/isaacs"
}
},
+ "node_modules/slash": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
+ "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/slice-ansi": {
"version": "7.1.0",
"resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-7.1.0.tgz",
@@ -5692,41 +10858,163 @@
"node": ">=8"
}
},
- "node_modules/strict-uri-encode": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz",
- "integrity": "sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ==",
+ "node_modules/stop-iteration-iterator": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.0.0.tgz",
+ "integrity": "sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==",
+ "dev": true,
+ "dependencies": {
+ "internal-slot": "^1.0.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/strict-uri-encode": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz",
+ "integrity": "sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ==",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/string-argv": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.3.2.tgz",
+ "integrity": "sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.6.19"
+ }
+ },
+ "node_modules/string-natural-compare": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/string-natural-compare/-/string-natural-compare-3.0.1.tgz",
+ "integrity": "sha512-n3sPwynL1nwKi3WJ6AIsClwBMa0zTi54fn2oLU6ndfTSIO05xaznjSf15PcBZU6FNWbmN5Q6cxT4V5hGvB4taw==",
+ "dev": true
+ },
+ "node_modules/string-width": {
+ "version": "4.2.3",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
+ "dev": true,
+ "dependencies": {
+ "emoji-regex": "^8.0.0",
+ "is-fullwidth-code-point": "^3.0.0",
+ "strip-ansi": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/string-width-cjs": {
+ "name": "string-width",
+ "version": "4.2.3",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
+ "dev": true,
+ "dependencies": {
+ "emoji-regex": "^8.0.0",
+ "is-fullwidth-code-point": "^3.0.0",
+ "strip-ansi": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/string.prototype.includes": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/string.prototype.includes/-/string.prototype.includes-2.0.0.tgz",
+ "integrity": "sha512-E34CkBgyeqNDcrbU76cDjL5JLcVrtSdYq0MEh/B10r17pRP4ciHLwTgnuLV8Ay6cgEMLkcBkFCKyFZ43YldYzg==",
+ "dev": true,
+ "dependencies": {
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.17.5"
+ }
+ },
+ "node_modules/string.prototype.matchall": {
+ "version": "4.0.11",
+ "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.11.tgz",
+ "integrity": "sha512-NUdh0aDavY2og7IbBPenWqR9exH+E26Sv8e0/eTe1tltDGZL+GtBkDAnnyBtmekfK6/Dq3MkcGtzXFEd1LQrtg==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.7",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.2",
+ "es-errors": "^1.3.0",
+ "es-object-atoms": "^1.0.0",
+ "get-intrinsic": "^1.2.4",
+ "gopd": "^1.0.1",
+ "has-symbols": "^1.0.3",
+ "internal-slot": "^1.0.7",
+ "regexp.prototype.flags": "^1.5.2",
+ "set-function-name": "^2.0.2",
+ "side-channel": "^1.0.6"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/string.prototype.repeat": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/string.prototype.repeat/-/string.prototype.repeat-1.0.0.tgz",
+ "integrity": "sha512-0u/TldDbKD8bFCQ/4f5+mNRrXwZ8hg2w7ZR8wa16e8z9XpePWl3eGEcUD0OXpEH/VJH/2G3gjUtR3ZOiBe2S/w==",
+ "dev": true,
+ "dependencies": {
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.17.5"
+ }
+ },
+ "node_modules/string.prototype.trim": {
+ "version": "1.2.9",
+ "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.9.tgz",
+ "integrity": "sha512-klHuCNxiMZ8MlsOihJhJEBJAiMVqU3Z2nEXWfWnIqjN0gEFS9J9+IxKozWWtQGcgoa1WUZzLjKPTr4ZHNFTFxw==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.7",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.0",
+ "es-object-atoms": "^1.0.0"
+ },
"engines": {
- "node": ">=4"
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/string-width": {
- "version": "4.2.3",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
- "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
+ "node_modules/string.prototype.trimend": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.8.tgz",
+ "integrity": "sha512-p73uL5VCHCO2BZZ6krwwQE3kCzM7NKmis8S//xEC6fQonchbum4eP6kR4DLEjQFO3Wnj3Fuo8NM0kOSjVdHjZQ==",
"dev": true,
"dependencies": {
- "emoji-regex": "^8.0.0",
- "is-fullwidth-code-point": "^3.0.0",
- "strip-ansi": "^6.0.1"
+ "call-bind": "^1.0.7",
+ "define-properties": "^1.2.1",
+ "es-object-atoms": "^1.0.0"
},
- "engines": {
- "node": ">=8"
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/string-width-cjs": {
- "name": "string-width",
- "version": "4.2.3",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
- "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
+ "node_modules/string.prototype.trimstart": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz",
+ "integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==",
"dev": true,
"dependencies": {
- "emoji-regex": "^8.0.0",
- "is-fullwidth-code-point": "^3.0.0",
- "strip-ansi": "^6.0.1"
+ "call-bind": "^1.0.7",
+ "define-properties": "^1.2.1",
+ "es-object-atoms": "^1.0.0"
},
"engines": {
- "node": ">=8"
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/strip-ansi": {
@@ -5754,6 +11042,15 @@
"node": ">=8"
}
},
+ "node_modules/strip-bom": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",
+ "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
"node_modules/strip-final-newline": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-4.0.0.tgz",
@@ -5778,22 +11075,34 @@
"node": ">=8"
}
},
+ "node_modules/strip-json-comments": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
+ "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/stylis": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/stylis/-/stylis-4.2.0.tgz",
"integrity": "sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw=="
},
"node_modules/supabase": {
- "version": "1.187.3",
- "resolved": "https://registry.npmjs.org/supabase/-/supabase-1.187.3.tgz",
- "integrity": "sha512-44yzHpxMrd88cUKWw3GVPPIUx6oCqgfqmN4Mlxp7a7GeNNZSTe433vmKBcj+ue3E7K08XcIyEX6G1TjhVyto+g==",
+ "version": "1.187.8",
+ "resolved": "https://registry.npmjs.org/supabase/-/supabase-1.187.8.tgz",
+ "integrity": "sha512-uHWa94ELOuv9y/vXx4jvCVtl5fHbpqMlIWTtPwjPj60A6tnfL2jyxZ7RnU2DspUWh+NC579r8mEpyDq6yJt0oA==",
"dev": true,
"hasInstallScript": true,
"dependencies": {
"bin-links": "^4.0.3",
"https-proxy-agent": "^7.0.2",
"node-fetch": "^3.3.2",
- "tar": "7.4.0"
+ "tar": "7.4.2"
},
"bin": {
"supabase": "bin/supabase"
@@ -5825,10 +11134,26 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/synckit": {
+ "version": "0.9.1",
+ "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.9.1.tgz",
+ "integrity": "sha512-7gr8p9TQP6RAHusBOSLs46F4564ZrjV8xFmw5zCmgmhGUcw2hxsShhJ6CEiHQMgPDwAQ1fWHPM0ypc4RMAig4A==",
+ "dev": true,
+ "dependencies": {
+ "@pkgr/core": "^0.1.0",
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": "^14.18.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/unts"
+ }
+ },
"node_modules/tar": {
- "version": "7.4.0",
- "resolved": "https://registry.npmjs.org/tar/-/tar-7.4.0.tgz",
- "integrity": "sha512-XQs0S8fuAkQWuqhDeCdMlJXDX80D7EOVLDPVFkna9yQfzS+PHKgfxcei0jf6/+QAWcjqrnC8uM3fSAnrQl+XYg==",
+ "version": "7.4.2",
+ "resolved": "https://registry.npmjs.org/tar/-/tar-7.4.2.tgz",
+ "integrity": "sha512-pP4ToLATHpXOrbxOZudW6rnfyPWJZoyERNrpTpQEtW6LkvpXw+WDnpj2GBQX9tyQ6teUyPESyyiOCFgp6HnGdw==",
"dev": true,
"dependencies": {
"@isaacs/fs-minipass": "^4.0.0",
@@ -5851,6 +11176,12 @@
"node": ">=18"
}
},
+ "node_modules/text-table": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
+ "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==",
+ "dev": true
+ },
"node_modules/tiny-invariant": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.1.tgz",
@@ -5876,16 +11207,85 @@
"node": ">=4"
}
},
+ "node_modules/to-regex-range": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
+ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
+ "dev": true,
+ "dependencies": {
+ "is-number": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=8.0"
+ }
+ },
"node_modules/tr46": {
"version": "0.0.3",
"resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
"integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="
},
+ "node_modules/tsconfig-paths": {
+ "version": "3.15.0",
+ "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz",
+ "integrity": "sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==",
+ "dev": true,
+ "dependencies": {
+ "@types/json5": "^0.0.29",
+ "json5": "^1.0.2",
+ "minimist": "^1.2.6",
+ "strip-bom": "^3.0.0"
+ }
+ },
+ "node_modules/tsconfig-paths/node_modules/json5": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz",
+ "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==",
+ "dev": true,
+ "dependencies": {
+ "minimist": "^1.2.0"
+ },
+ "bin": {
+ "json5": "lib/cli.js"
+ }
+ },
"node_modules/tslib": {
"version": "2.6.2",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz",
"integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q=="
},
+ "node_modules/tsutils": {
+ "version": "3.21.0",
+ "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz",
+ "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==",
+ "dev": true,
+ "dependencies": {
+ "tslib": "^1.8.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ },
+ "peerDependencies": {
+ "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta"
+ }
+ },
+ "node_modules/tsutils/node_modules/tslib": {
+ "version": "1.14.1",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",
+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==",
+ "dev": true
+ },
+ "node_modules/type-check": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
+ "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==",
+ "dev": true,
+ "dependencies": {
+ "prelude-ls": "^1.2.1"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
"node_modules/type-fest": {
"version": "4.23.0",
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.23.0.tgz",
@@ -5898,6 +11298,79 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/typed-array-buffer": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.2.tgz",
+ "integrity": "sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.7",
+ "es-errors": "^1.3.0",
+ "is-typed-array": "^1.1.13"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/typed-array-byte-length": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.1.tgz",
+ "integrity": "sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.7",
+ "for-each": "^0.3.3",
+ "gopd": "^1.0.1",
+ "has-proto": "^1.0.3",
+ "is-typed-array": "^1.1.13"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/typed-array-byte-offset": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.2.tgz",
+ "integrity": "sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA==",
+ "dev": true,
+ "dependencies": {
+ "available-typed-arrays": "^1.0.7",
+ "call-bind": "^1.0.7",
+ "for-each": "^0.3.3",
+ "gopd": "^1.0.1",
+ "has-proto": "^1.0.3",
+ "is-typed-array": "^1.1.13"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/typed-array-length": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.6.tgz",
+ "integrity": "sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.7",
+ "for-each": "^0.3.3",
+ "gopd": "^1.0.1",
+ "has-proto": "^1.0.3",
+ "is-typed-array": "^1.1.13",
+ "possible-typed-array-names": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"node_modules/typescript": {
"version": "5.5.4",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz",
@@ -5911,11 +11384,66 @@
"node": ">=14.17"
}
},
+ "node_modules/unbox-primitive": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz",
+ "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "has-bigints": "^1.0.2",
+ "has-symbols": "^1.0.3",
+ "which-boxed-primitive": "^1.0.2"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"node_modules/undici-types": {
"version": "5.26.5",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
"integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="
},
+ "node_modules/unicode-canonical-property-names-ecmascript": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz",
+ "integrity": "sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/unicode-match-property-ecmascript": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz",
+ "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==",
+ "dev": true,
+ "dependencies": {
+ "unicode-canonical-property-names-ecmascript": "^2.0.0",
+ "unicode-property-aliases-ecmascript": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/unicode-match-property-value-ecmascript": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.1.0.tgz",
+ "integrity": "sha512-qxkjQt6qjg/mYscYMC0XKRn3Rh0wFPlfxB0xkt9CfyTvpX1Ra0+rAmdX2QyAobptSEvuy4RtpPRui6XkV+8wjA==",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/unicode-property-aliases-ecmascript": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.1.0.tgz",
+ "integrity": "sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w==",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
"node_modules/update-browserslist-db": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.0.tgz",
@@ -5946,6 +11474,15 @@
"browserslist": ">= 4.21.0"
}
},
+ "node_modules/uri-js": {
+ "version": "4.4.1",
+ "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
+ "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
+ "dev": true,
+ "dependencies": {
+ "punycode": "^2.1.0"
+ }
+ },
"node_modules/use-memo-one": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/use-memo-one/-/use-memo-one-1.1.3.tgz",
@@ -6054,6 +11591,85 @@
"webidl-conversions": "^3.0.0"
}
},
+ "node_modules/which-boxed-primitive": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz",
+ "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==",
+ "dev": true,
+ "dependencies": {
+ "is-bigint": "^1.0.1",
+ "is-boolean-object": "^1.1.0",
+ "is-number-object": "^1.0.4",
+ "is-string": "^1.0.5",
+ "is-symbol": "^1.0.3"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/which-builtin-type": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.1.3.tgz",
+ "integrity": "sha512-YmjsSMDBYsM1CaFiayOVT06+KJeXf0o5M/CAd4o1lTadFAtacTUM49zoYxr/oroopFDfhvN6iEcBxUyc3gvKmw==",
+ "dev": true,
+ "dependencies": {
+ "function.prototype.name": "^1.1.5",
+ "has-tostringtag": "^1.0.0",
+ "is-async-function": "^2.0.0",
+ "is-date-object": "^1.0.5",
+ "is-finalizationregistry": "^1.0.2",
+ "is-generator-function": "^1.0.10",
+ "is-regex": "^1.1.4",
+ "is-weakref": "^1.0.2",
+ "isarray": "^2.0.5",
+ "which-boxed-primitive": "^1.0.2",
+ "which-collection": "^1.0.1",
+ "which-typed-array": "^1.1.9"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/which-collection": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/which-collection/-/which-collection-1.0.2.tgz",
+ "integrity": "sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==",
+ "dev": true,
+ "dependencies": {
+ "is-map": "^2.0.3",
+ "is-set": "^2.0.3",
+ "is-weakmap": "^2.0.2",
+ "is-weakset": "^2.0.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/which-typed-array": {
+ "version": "1.1.15",
+ "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz",
+ "integrity": "sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==",
+ "dev": true,
+ "dependencies": {
+ "available-typed-arrays": "^1.0.7",
+ "call-bind": "^1.0.7",
+ "for-each": "^0.3.3",
+ "gopd": "^1.0.1",
+ "has-tostringtag": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"node_modules/widest-line": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/widest-line/-/widest-line-5.0.0.tgz",
@@ -6119,6 +11735,15 @@
"url": "https://github.com/chalk/strip-ansi?sponsor=1"
}
},
+ "node_modules/word-wrap": {
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz",
+ "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
"node_modules/wrap-ansi": {
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
@@ -6154,6 +11779,12 @@
"url": "https://github.com/chalk/wrap-ansi?sponsor=1"
}
},
+ "node_modules/wrappy": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
+ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
+ "dev": true
+ },
"node_modules/write-file-atomic": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.1.tgz",
@@ -6246,6 +11877,18 @@
"node": ">=12"
}
},
+ "node_modules/yocto-queue": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
+ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/yoctocolors-cjs": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/yoctocolors-cjs/-/yoctocolors-cjs-2.1.2.tgz",
diff --git a/package.json b/package.json
index 5242c73c..a6bcdfc1 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,6 @@
"private": true,
"type": "module",
"dependencies": {
- "@faker-js/faker": "^8.4.0",
"@hello-pangea/dnd": "^16.5.0",
"@mui/icons-material": "^5.15.6",
"@mui/material": "^5.15.6",
@@ -14,12 +13,14 @@
"clsx": "^2.1.0",
"date-fns": "^3.3.1",
"dotenv": "^16.4.1",
- "lodash": "^4.17.21",
+ "lodash": "~4.17.5",
+ "papaparse": "^5.4.1",
"prop-types": "^15.8.1",
"ra-data-fakerest": "^5.1.0",
"ra-supabase": "^3.0.0",
"react": "^18.2.0",
"react-admin": "^5.1.0",
+ "react-cropper": "^2.3.3",
"react-dom": "^18.2.0",
"react-error-boundary": "^4.0.12",
"react-router": "^6.21.3",
@@ -35,9 +36,17 @@
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
+ "eslint": "^8.19.0",
+ "eslint-config-prettier": "^9.1.0",
+ "eslint-config-react-app": "^7.0.1",
+ "eslint-plugin-cypress": "^2.12.1",
+ "eslint-plugin-prettier": "^5.1.3",
+ "eslint-plugin-testing-library": "^5.11.0",
"execa": "git+https://github.com/sindresorhus/execa",
"ink": "^5.0.1",
+ "lint-staged": "^13.0.3",
"pg": "^8.11.3",
+ "prettier": "~3.2.5",
"rollup-plugin-visualizer": "^5.12.0",
"supabase": "^1.136.3",
"typescript": "^5.3.3",
@@ -48,6 +57,8 @@
"dev": "vite --force",
"build": "tsc && vite build",
"preview": "vite preview",
- "deploy": "node ./scripts/deploy.mjs"
+ "deploy": "node ./scripts/deploy.mjs",
+ "lint": "eslint --ext .js,.ts,.tsx \"./src/**/*.{js,ts,tsx}\"",
+ "prettier": "prettier --config ./.prettierrc.mjs --write --list-different \"src/**/*.{js,json,ts,tsx,css,md}\""
}
}
diff --git a/src/App.tsx b/src/App.tsx
index 08ff1cba..25c7d55e 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -1,51 +1,26 @@
+import { CRM } from './root/CRM';
import {
- Admin,
- CustomRoutes,
- ListGuesser,
- Resource,
- defaultTheme,
- localStorageStore,
-} from 'react-admin';
-import { LoginPage, SetPasswordPage, ForgotPasswordPage } from "ra-supabase";
-import Layout from './Layout';
-import { authProvider } from './authProvider';
-import companies from './companies';
-import contacts from './contacts';
-import { Dashboard } from './dashboard/Dashboard';
-import { dataProvider } from './dataProvider';
-import deals from './deals';
-import { Route } from 'react-router';
+ defaultCompanySectors,
+ defaultContactGender,
+ defaultDealCategories,
+ defaultDealStages,
+ defaultLogo,
+ defaultNoteStatuses,
+ defaultTaskTypes,
+ defaultTitle,
+} from './root/defaultConfiguration';
const App = () => (
- <Admin
- dataProvider={dataProvider}
- authProvider={authProvider}
- store={localStorageStore(undefined, "CRM")}
- layout={Layout}
- dashboard={Dashboard}
- theme={{
- ...defaultTheme,
- palette: {
- background: {
- default: "#fafafb",
- },
- },
- }}
- loginPage={LoginPage}
- >
- <Resource name="deals" {...deals} />
- <Resource name="contacts" {...contacts} />
- <Resource name="companies" {...companies} />
- <Resource name="contactNotes" />
- <Resource name="dealNotes" />
- <Resource name="tasks" list={ListGuesser} />
- <Resource name="sales" list={ListGuesser} />
- <Resource name="tags" list={ListGuesser} />
- <CustomRoutes noLayout>
- <Route path={SetPasswordPage.path} element={<SetPasswordPage />} />
- <Route path={ForgotPasswordPage.path} element={<ForgotPasswordPage />} />
- </CustomRoutes>
- </Admin>
+ <CRM
+ contactGender={defaultContactGender}
+ companySectors={defaultCompanySectors}
+ dealCategories={defaultDealCategories}
+ dealStages={defaultDealStages}
+ logo={defaultLogo}
+ noteStatuses={defaultNoteStatuses}
+ taskTypes={defaultTaskTypes}
+ title={defaultTitle}
+ />
);
export default App;
diff --git a/src/Header.tsx b/src/Header.tsx
index e6815d15..f5405a24 100644
--- a/src/Header.tsx
+++ b/src/Header.tsx
@@ -1,10 +1,30 @@
-import React from 'react';
-import { Tabs, Tab, Toolbar, AppBar, Box, Typography } from '@mui/material';
+import SettingsIcon from '@mui/icons-material/Settings';
+import {
+ AppBar,
+ Box,
+ ListItemIcon,
+ ListItemText,
+ MenuItem,
+ MenuList,
+ Tab,
+ Tabs,
+ Toolbar,
+ Typography,
+} from '@mui/material';
+import {
+ LoadingIndicator,
+ Logout,
+ usePermissions,
+ UserMenu,
+ useUserMenu,
+} from 'react-admin';
import { Link, matchPath, useLocation } from 'react-router-dom';
-import { UserMenu, Logout, LoadingIndicator } from 'react-admin';
+import { useConfigurationContext } from './root/ConfigurationContext';
const Header = () => {
+ const { logo, title } = useConfigurationContext();
const location = useLocation();
+ const { permissions } = usePermissions();
let currentPath = '/';
if (!!matchPath('/contacts/*', location.pathname)) {
@@ -13,6 +33,10 @@ const Header = () => {
currentPath = '/companies';
} else if (!!matchPath('/deals/*', location.pathname)) {
currentPath = '/deals';
+ } else if (!!matchPath('/settings', location.pathname)) {
+ currentPath = '/settings';
+ } else if (!!matchPath('/sales/*', location.pathname)) {
+ currentPath = '/sales';
}
return (
@@ -20,17 +44,27 @@ const Header = () => {
<AppBar position="static" color="primary">
<Toolbar variant="dense">
<Box flex={1} display="flex" justifyContent="space-between">
- <Box display="flex" alignItems="center">
+ <Box
+ display="flex"
+ alignItems="center"
+ component={Link}
+ to="/"
+ sx={{
+ color: 'inherit',
+ textDecoration: 'inherit',
+ }}
+ >
<Box
component="img"
- sx={{ marginRight: '1em', height: 30 }}
- src={
- 'https://upload.wikimedia.org/wikipedia/commons/a/a7/React-icon.svg'
- }
- alt="Bosch Logo"
+ sx={{
+ marginRight: '1em',
+ height: 30,
+ }}
+ src={logo}
+ alt="CRM Logo"
/>
<Typography component="span" variant="h5">
- Atomic CRM
+ {title}
</Typography>
</Box>
<Box>
@@ -64,18 +98,23 @@ const Header = () => {
to="/deals"
value="/deals"
/>
+ {permissions === 'admin' && (
+ <Tab
+ label={'Sales Team'}
+ component={Link}
+ to="/sales"
+ value="/sales"
+ />
+ )}
</Tabs>
</Box>
<Box display="flex" alignItems="center">
- <LoadingIndicator
- sx={{
- '& .RaLoadingIndicator-loader': {
- marginTop: 2,
- },
- }}
- />
+ <LoadingIndicator />
<UserMenu>
- <Logout />
+ <MenuList>
+ <ConfigurationMenu />
+ <Logout />
+ </MenuList>
</UserMenu>
</Box>
</Box>
@@ -85,4 +124,15 @@ const Header = () => {
);
};
+const ConfigurationMenu = () => {
+ const { onClose } = useUserMenu() ?? {};
+ return (
+ <MenuItem component={Link} to="/settings" onClick={onClose}>
+ <ListItemIcon>
+ <SettingsIcon fontSize="small" />
+ </ListItemIcon>
+ <ListItemText>My info</ListItemText>
+ </MenuItem>
+ );
+};
export default Header;
diff --git a/src/Layout.tsx b/src/Layout.tsx
index da32c47b..dc322b17 100644
--- a/src/Layout.tsx
+++ b/src/Layout.tsx
@@ -1,18 +1,17 @@
-import React, { Suspense, HtmlHTMLAttributes } from 'react';
+import React, { Suspense, ReactNode } from 'react';
import { CssBaseline, Container } from '@mui/material';
-import { CoreLayoutProps, CheckForApplicationUpdate } from 'react-admin';
+import { CheckForApplicationUpdate } from 'react-admin';
import { ErrorBoundary } from 'react-error-boundary';
import { Error, Loading } from 'react-admin';
import Header from './Header';
-const Layout = ({ children }: LayoutProps) => (
+const Layout = ({ children }: { children: ReactNode }) => (
<>
<CssBaseline />
<Header />
<Container sx={{ maxWidth: { xl: 1280 } }}>
<main id="main-content">
- {/* @ts-ignore */}
<ErrorBoundary FallbackComponent={Error}>
<Suspense fallback={<Loading />}>{children}</Suspense>
</ErrorBoundary>
@@ -22,8 +21,4 @@ const Layout = ({ children }: LayoutProps) => (
</>
);
-export interface LayoutProps
- extends CoreLayoutProps,
- Omit<HtmlHTMLAttributes<HTMLDivElement>, 'title'> {}
-
export default Layout;
diff --git a/src/activity/ActivityLog.tsx b/src/activity/ActivityLog.tsx
new file mode 100644
index 00000000..4d348e08
--- /dev/null
+++ b/src/activity/ActivityLog.tsx
@@ -0,0 +1,49 @@
+import { Alert, Divider, Skeleton, Stack } from '@mui/material';
+import { useQuery } from '@tanstack/react-query';
+import { Identifier, useDataProvider } from 'react-admin';
+import { CustomDataProvider } from '../dataProvider';
+import { ActivityLogIterator } from './ActivityLogIterator';
+
+type ActivityLogProps = {
+ companyId?: Identifier;
+ pageSize?: number;
+};
+
+export function ActivityLog({ companyId, pageSize = 20 }: ActivityLogProps) {
+ const dataProvider = useDataProvider<CustomDataProvider>();
+ const { data, isPending, error } = useQuery({
+ queryKey: ['activityLog', companyId],
+ queryFn: () => dataProvider.getActivityLog(companyId),
+ });
+
+ if (isPending) {
+ return (
+ <Stack p={2}>
+ {Array.from({ length: 5 }).map((_, index) => (
+ <Stack spacing={2} sx={{ mt: 1 }} key={index}>
+ <Stack
+ direction="row"
+ spacing={2}
+ sx={{ alignItems: 'center' }}
+ >
+ <Skeleton
+ variant="circular"
+ width={20}
+ height={20}
+ />
+ <Skeleton width="100%" />
+ </Stack>
+ <Skeleton variant="rectangular" height={50} />
+ <Divider />
+ </Stack>
+ ))}
+ </Stack>
+ );
+ }
+
+ if (error) {
+ return <Alert severity="error">Failed to load acticity log</Alert>;
+ }
+
+ return <ActivityLogIterator activities={data} pageSize={pageSize} />;
+}
diff --git a/src/activity/ActivityLogCompanyCreated.tsx b/src/activity/ActivityLogCompanyCreated.tsx
new file mode 100644
index 00000000..a42dbf63
--- /dev/null
+++ b/src/activity/ActivityLogCompanyCreated.tsx
@@ -0,0 +1,51 @@
+import ListItem from '@mui/material/ListItem';
+import Stack from '@mui/material/Stack';
+import Typography from '@mui/material/Typography';
+import { Link, RecordContextProvider } from 'react-admin';
+import { CompanyAvatar } from '../companies/CompanyAvatar';
+import type { ActivityCompanyCreated } from '../types';
+import { ActivityLogDate } from './ActivityLogDate';
+
+type ActivityLogCompanyCreatedProps = {
+ activity: ActivityCompanyCreated;
+};
+
+export function ActivityLogCompanyCreated({
+ activity: { sale, company },
+}: ActivityLogCompanyCreatedProps) {
+ return (
+ <RecordContextProvider value={company}>
+ <ListItem disableGutters>
+ <Stack
+ direction="row"
+ spacing={2}
+ sx={{
+ alignItems: 'center',
+ width: '100%',
+ }}
+ >
+ <CompanyAvatar width={20} height={20} />
+ <Typography
+ component="p"
+ sx={{
+ flexGrow: 1,
+ }}
+ variant="body2"
+ color="text.secondary"
+ >
+ {sale.first_name} {sale.last_name} added company{' '}
+ <Link
+ component={Link}
+ to={`/companies/${company.id}/show`}
+ variant="body2"
+ >
+ {company.name}
+ </Link>
+ </Typography>
+
+ <ActivityLogDate date={company.created_at} />
+ </Stack>
+ </ListItem>
+ </RecordContextProvider>
+ );
+}
diff --git a/src/activity/ActivityLogContactCreated.tsx b/src/activity/ActivityLogContactCreated.tsx
new file mode 100644
index 00000000..4f9ff121
--- /dev/null
+++ b/src/activity/ActivityLogContactCreated.tsx
@@ -0,0 +1,59 @@
+import ListItem from '@mui/material/ListItem';
+import Stack from '@mui/material/Stack';
+import Typography from '@mui/material/Typography';
+import { Link, RecordContextProvider } from 'react-admin';
+import { Avatar } from '../contacts/Avatar';
+import type { ActivityContactCreated } from '../types';
+import { ActivityLogDate } from './ActivityLogDate';
+
+type ActivityLogContactCreatedProps = {
+ activity: ActivityContactCreated;
+};
+
+export function ActivityLogContactCreated({
+ activity: { sale, contact, company },
+}: ActivityLogContactCreatedProps) {
+ return (
+ <RecordContextProvider value={contact}>
+ <ListItem disableGutters>
+ <Stack
+ direction="row"
+ spacing={2}
+ sx={{
+ alignItems: 'center',
+ width: '100%',
+ }}
+ >
+ <Avatar width={20} height={20} />
+ <Typography
+ component="p"
+ sx={{
+ flexGrow: 1,
+ }}
+ variant="body2"
+ color="text.secondary"
+ >
+ {sale.first_name} {sale.last_name} added{' '}
+ <Link
+ component={Link}
+ to={`/contacts/${contact.id}/show`}
+ variant="body2"
+ >
+ {contact.first_name} {contact.last_name}
+ </Link>{' '}
+ to{' '}
+ <Link
+ component={Link}
+ to={`/companies/${contact.company_id}/show`}
+ variant="body2"
+ >
+ {company.name}
+ </Link>
+ </Typography>
+
+ <ActivityLogDate date={contact.first_seen} />
+ </Stack>
+ </ListItem>
+ </RecordContextProvider>
+ );
+}
diff --git a/src/activity/ActivityLogContactNoteCreated.tsx b/src/activity/ActivityLogContactNoteCreated.tsx
new file mode 100644
index 00000000..fd09fbc4
--- /dev/null
+++ b/src/activity/ActivityLogContactNoteCreated.tsx
@@ -0,0 +1,55 @@
+import Typography from '@mui/material/Typography';
+import { Link, RecordContextProvider } from 'react-admin';
+import { Avatar } from '../contacts/Avatar';
+import type { ActivityContactNoteCreated } from '../types';
+import { ActivityLogDate } from './ActivityLogDate';
+import { ActivityLogNote } from './ActivityLogNote';
+
+type ActivityLogContactNoteCreatedProps = {
+ activity: ActivityContactNoteCreated;
+};
+
+export function ActivityLogContactNoteCreated({
+ activity: { sale, contact, contactNote, company },
+}: ActivityLogContactNoteCreatedProps) {
+ return (
+ <RecordContextProvider value={contact}>
+ <ActivityLogNote
+ header={
+ <>
+ <Avatar width={20} height={20} />
+ <Typography
+ component="p"
+ sx={{
+ flexGrow: 1,
+ }}
+ variant="body2"
+ color="text.secondary"
+ >
+ {sale.first_name} {sale.last_name} added note about{' '}
+ <Link
+ to={`/contacts/${contact.id}/show`}
+ variant="body2"
+ >
+ {contact.first_name} {contact.last_name}
+ </Link>{' '}
+ from{' '}
+ <Link
+ component={Link}
+ to={`/companies/${company.id}/show`}
+ variant="body2"
+ >
+ {company.name}
+ </Link>
+ </Typography>
+
+ <ActivityLogDate
+ date={contactNote.date.toISOString()}
+ />
+ </>
+ }
+ text={contactNote.text}
+ />
+ </RecordContextProvider>
+ );
+}
diff --git a/src/activity/ActivityLogDate.tsx b/src/activity/ActivityLogDate.tsx
new file mode 100644
index 00000000..4362b2b9
--- /dev/null
+++ b/src/activity/ActivityLogDate.tsx
@@ -0,0 +1,28 @@
+import Typography from '@mui/material/Typography';
+
+export function ActivityLogDate({ date }: { date: string }) {
+ const now = new Date();
+ const d = new Date(date);
+
+ if (
+ d.getDay() === now.getDay() &&
+ d.getMonth() === now.getMonth() &&
+ d.getFullYear() === now.getFullYear()
+ ) {
+ return (
+ <Typography color="textSecondary" variant="body2">
+ {new Intl.DateTimeFormat('en-US', {
+ timeStyle: 'short',
+ }).format(d)}
+ </Typography>
+ );
+ }
+
+ return (
+ <Typography color="textSecondary" variant="body2">
+ {new Intl.DateTimeFormat('en-US', {
+ dateStyle: 'short',
+ }).format(d)}
+ </Typography>
+ );
+}
diff --git a/src/activity/ActivityLogDealCreated.tsx b/src/activity/ActivityLogDealCreated.tsx
new file mode 100644
index 00000000..1614b3f3
--- /dev/null
+++ b/src/activity/ActivityLogDealCreated.tsx
@@ -0,0 +1,54 @@
+import ListItem from '@mui/material/ListItem';
+import Stack from '@mui/material/Stack';
+import Typography from '@mui/material/Typography';
+import { Link, RecordContextProvider } from 'react-admin';
+import { CompanyAvatar } from '../companies/CompanyAvatar';
+import type { ActivityDealCreated } from '../types';
+import { ActivityLogDate } from './ActivityLogDate';
+
+type ActivityLogDealCreatedProps = {
+ activity: ActivityDealCreated;
+};
+
+export function ActivityLogDealCreated({
+ activity: { sale, deal, company },
+}: ActivityLogDealCreatedProps) {
+ return (
+ <RecordContextProvider value={company}>
+ <ListItem disableGutters>
+ <Stack
+ direction="row"
+ spacing={2}
+ sx={{
+ alignItems: 'center',
+ width: '100%',
+ }}
+ >
+ <CompanyAvatar width={20} height={20} />
+ <Typography
+ component="p"
+ sx={{
+ flexGrow: 1,
+ }}
+ variant="body2"
+ color="text.secondary"
+ >
+ {sale.first_name} {sale.last_name} added deal{' '}
+ <Link to={`/deals/${deal.id}/show`} variant="body2">
+ {deal.name}
+ </Link>{' '}
+ to company{' '}
+ <Link
+ to={`/companies/${company.id}/show`}
+ variant="body2"
+ >
+ {company.name}
+ </Link>
+ </Typography>
+
+ <ActivityLogDate date={deal.created_at} />
+ </Stack>
+ </ListItem>
+ </RecordContextProvider>
+ );
+}
diff --git a/src/activity/ActivityLogDealNoteCreated.tsx b/src/activity/ActivityLogDealNoteCreated.tsx
new file mode 100644
index 00000000..ee40e1c4
--- /dev/null
+++ b/src/activity/ActivityLogDealNoteCreated.tsx
@@ -0,0 +1,51 @@
+import Typography from '@mui/material/Typography';
+import { Link, RecordContextProvider } from 'react-admin';
+import { CompanyAvatar } from '../companies/CompanyAvatar';
+import type { ActivityDealNoteCreated } from '../types';
+import { ActivityLogDate } from './ActivityLogDate';
+import { ActivityLogNote } from './ActivityLogNote';
+
+type ActivityLogDealNoteCreatedProps = {
+ activity: ActivityDealNoteCreated;
+};
+
+export function ActivityLogDealNoteCreated({
+ activity: { company, sale, deal, dealNote },
+}: ActivityLogDealNoteCreatedProps) {
+ return (
+ <RecordContextProvider value={company}>
+ <ActivityLogNote
+ header={
+ <>
+ <CompanyAvatar width={20} height={20} />
+ <Typography
+ component="p"
+ sx={{
+ flexGrow: 1,
+ }}
+ variant="body2"
+ color="text.secondary"
+ >
+ {sale.first_name} {sale.last_name} added note about
+ deal{' '}
+ <Link to={`/deals/${deal.id}/show`} variant="body2">
+ {deal.name}
+ </Link>{' '}
+ at{' '}
+ <Link
+ component={Link}
+ to={`/companies/${deal.company_id}/show`}
+ variant="body2"
+ >
+ {company.name}
+ </Link>
+ </Typography>
+
+ <ActivityLogDate date={dealNote.date.toISOString()} />
+ </>
+ }
+ text={dealNote.text}
+ />
+ </RecordContextProvider>
+ );
+}
diff --git a/src/activity/ActivityLogIterator.tsx b/src/activity/ActivityLogIterator.tsx
new file mode 100644
index 00000000..871e753e
--- /dev/null
+++ b/src/activity/ActivityLogIterator.tsx
@@ -0,0 +1,88 @@
+import { Button, Divider, List } from '@mui/material';
+import { useState } from 'react';
+import {
+ COMPANY_CREATED,
+ CONTACT_CREATED,
+ CONTACT_NOTE_CREATED,
+ DEAL_CREATED,
+ DEAL_NOTE_CREATED,
+} from '../consts';
+import { Activity } from '../types';
+import { ActivityLogCompanyCreated } from './ActivityLogCompanyCreated';
+import { ActivityLogContactCreated } from './ActivityLogContactCreated';
+import { ActivityLogContactNoteCreated } from './ActivityLogContactNoteCreated';
+import { ActivityLogDealCreated } from './ActivityLogDealCreated';
+import { ActivityLogDealNoteCreated } from './ActivityLogDealNoteCreated';
+
+type ActivityLogIteratorProps = {
+ activities: Activity[];
+ pageSize: number;
+};
+
+export function ActivityLogIterator({
+ activities,
+ pageSize,
+}: ActivityLogIteratorProps) {
+ const [activitiesDisplayed, setActivityDisplayed] = useState(pageSize);
+
+ const filteredActivities = activities.slice(0, activitiesDisplayed);
+
+ return (
+ <List
+ sx={{
+ '& .MuiListItem-root': {
+ marginTop: 0,
+ marginBottom: 1,
+ },
+ '& .MuiListItem-root:not(:first-child)': {
+ marginTop: 1,
+ },
+ }}
+ >
+ {filteredActivities.map(activity => (
+ <>
+ <ActivityItem key={activity.id} activity={activity} />
+ <Divider />
+ </>
+ ))}
+
+ {activitiesDisplayed < activities.length && (
+ <Button
+ onClick={() =>
+ setActivityDisplayed(
+ activitiesDisplayed =>
+ activitiesDisplayed + pageSize
+ )
+ }
+ fullWidth
+ >
+ Load more activity
+ </Button>
+ )}
+ </List>
+ );
+}
+
+function ActivityItem({ activity }: { activity: Activity }) {
+ if (activity.type === COMPANY_CREATED) {
+ return <ActivityLogCompanyCreated activity={activity} />;
+ }
+
+ if (activity.type === CONTACT_CREATED) {
+ return <ActivityLogContactCreated activity={activity} />;
+ }
+
+ if (activity.type === CONTACT_NOTE_CREATED) {
+ return <ActivityLogContactNoteCreated activity={activity} />;
+ }
+
+ if (activity.type === DEAL_CREATED) {
+ return <ActivityLogDealCreated activity={activity} />;
+ }
+
+ if (activity.type === DEAL_NOTE_CREATED) {
+ return <ActivityLogDealNoteCreated activity={activity} />;
+ }
+
+ return null;
+}
diff --git a/src/activity/ActivityLogNote.tsx b/src/activity/ActivityLogNote.tsx
new file mode 100644
index 00000000..e5411ee2
--- /dev/null
+++ b/src/activity/ActivityLogNote.tsx
@@ -0,0 +1,62 @@
+import Link from '@mui/material/Link';
+import ListItem from '@mui/material/ListItem';
+import Stack from '@mui/material/Stack';
+import Typography from '@mui/material/Typography';
+import { MouseEventHandler, ReactNode, useState } from 'react';
+
+type ActivityLogContactNoteCreatedProps = {
+ header: ReactNode;
+ text: string;
+};
+
+export function ActivityLogNote({
+ header,
+ text,
+}: ActivityLogContactNoteCreatedProps) {
+ const [seeMore, setSeeMore] = useState(false);
+
+ const maxDisplayLength = 600;
+
+ const slicedText =
+ text.length > maxDisplayLength ? text.slice(0, maxDisplayLength) : null;
+
+ const handleToggleSeeMore: MouseEventHandler = e => {
+ e.preventDefault();
+ setSeeMore(oldSeeMore => !oldSeeMore);
+ };
+
+ return (
+ <ListItem disableGutters>
+ <Stack direction="column" spacing={2} sx={{ width: '100%' }}>
+ <Stack
+ direction="row"
+ spacing={2}
+ sx={{
+ alignItems: 'center',
+ width: '100%',
+ }}
+ >
+ {header}
+ </Stack>
+
+ <Typography variant="body2">
+ {slicedText && !seeMore ? (
+ <>
+ {slicedText}
+ ...{' '}
+ <Link
+ href="#"
+ variant="body2"
+ onClick={handleToggleSeeMore}
+ >
+ see more
+ </Link>
+ </>
+ ) : (
+ text
+ )}
+ </Typography>
+ </Stack>
+ </ListItem>
+ );
+}
diff --git a/src/authProvider.ts b/src/authProvider.ts
index 1ee5a8a9..f43a50af 100644
--- a/src/authProvider.ts
+++ b/src/authProvider.ts
@@ -1,21 +1,40 @@
-import { supabaseAuthProvider } from "ra-supabase";
-import { supabase } from "./supabase";
+import { supabaseAuthProvider } from 'ra-supabase';
+import { dataProvider } from './dataProvider';
+import { supabase } from './supabase';
+import { Sale } from './types';
+
+
+export const USER_STORAGE_KEY = 'user';
export const authProvider = supabaseAuthProvider(supabase, {
- getIdentity: async (user) => {
- const { data, errorTags: error } = await supabase
- .from("sales")
- .select("id, first_name, last_name, email")
- .match({ user_id: user.id })
- .single();
+ getIdentity: async user => {
+ const { data, error } = await supabase
+ .from('sales')
+ .select('id, first_name, last_name, email')
+ .match({ user_id: user.id })
+ .single();
+
+ if (!data || error) {
+ throw new Error();
+ }
+
+ return {
+ id: data.id,
+ fullName: `${data.first_name} ${data.last_name}`,
+ };
+ },
+ getPermissions: async () => {
+ const userItem = localStorage.getItem(USER_STORAGE_KEY);
+ const localUser = userItem ? (JSON.parse(userItem) as Sale) : null;
+ if (!localUser) {
+ return Promise.reject('user is not logged in');
+ }
- if (!data || error) {
- throw new Error();
- }
+ // We fetch permissions from server to avoid local storage tampering
+ const user = await dataProvider.getOne<Sale>('sales', {
+ id: localUser.id,
+ });
- return {
- id: data.id,
- fullName: `${data.first_name} ${data.last_name}`,
- };
- },
+ return user.data?.administrator ? 'admin' : 'user';
+ },
});
diff --git a/src/companies/CompanyAside.tsx b/src/companies/CompanyAside.tsx
index 5c40f3ed..e3943f0e 100644
--- a/src/companies/CompanyAside.tsx
+++ b/src/companies/CompanyAside.tsx
@@ -1,16 +1,19 @@
-import * as React from 'react';
+import LinkedInIcon from '@mui/icons-material/LinkedIn';
+import PhoneIcon from '@mui/icons-material/Phone';
+import PublicIcon from '@mui/icons-material/Public';
+import { Divider, Link, Stack, Tooltip, Typography } from '@mui/material';
import {
- TextField,
DateField,
+ EditButton,
FunctionField,
ReferenceField,
- EditButton,
ShowButton,
+ TextField,
+ UrlField,
useRecordContext,
} from 'react-admin';
-import { Box, Typography, Divider, Link } from '@mui/material';
-import { Company, Sale } from '../types';
+import { Company } from '../types';
interface CompanyAsideProps {
link?: string;
@@ -19,78 +22,221 @@ interface CompanyAsideProps {
export const CompanyAside = ({ link = 'edit' }: CompanyAsideProps) => {
const record = useRecordContext<Company>();
if (!record) return null;
+
return (
- <Box ml={4} width={250} minWidth={250}>
- <Box textAlign="center" mb={2}>
+ <Stack ml={4} width={250} minWidth={250} spacing={2}>
+ <Stack direction="row" spacing={1}>
{link === 'edit' ? (
<EditButton label="Edit Company" />
) : (
<ShowButton label="Show Company" />
)}
- </Box>
+ </Stack>
- <Typography variant="subtitle2">Company info</Typography>
- <Divider />
+ <CompanyInfo record={record} />
- <Box mt={2}>
- <Typography variant="body2">
- Website: <Link href={record.website}>{record.website}</Link>
- <br />
- LinkedIn: <Link href={record.linkedIn}>LinkedIn</Link>
- </Typography>
- </Box>
+ <AddressInfo record={record} />
+
+ <FinancialInfo record={record} />
- <Box mt={1}>
- <TextField source="phone_number" />{' '}
+ <BackgroundInfo record={record} />
+
+ <ContextInfo record={record} />
+ </Stack>
+ );
+};
+
+const CompanyInfo = ({ record }: { record: Company }) => {
+ if (!record.website && !record.linkedIn && !record.phone_number) {
+ return null;
+ }
+
+ return (
+ <Stack>
+ <Typography variant="subtitle2">Company Info</Typography>
+ <Divider sx={{ mb: 1 }} />
+ {record.website && (
+ <Stack
+ direction="row"
+ alignItems="center"
+ gap={1}
+ minHeight={24}
+ >
+ <PublicIcon color="disabled" fontSize="small" />
+ <UrlField source="website" target="_blank" rel="noopener" />
+ </Stack>
+ )}
+ {record.linkedin_url && (
+ <Stack
+ direction="row"
+ alignItems="center"
+ gap={1}
+ minHeight={24}
+ >
+ <LinkedInIcon color="disabled" fontSize="small" />
+ <Tooltip title={record.linkedin_url}>
+ <Typography
+ variant="body2"
+ component={Link}
+ href={record.linkedin_url}
+ target="_blank"
+ rel="noopener noreferrer"
+ >
+ LinkedIn
+ </Typography>
+ </Tooltip>
+ </Stack>
+ )}
+ {record.phone_number && (
+ <Stack
+ direction="row"
+ alignItems="center"
+ gap={1}
+ minHeight={24}
+ >
+ <PhoneIcon color="disabled" fontSize="small" />
+ <TextField source="phone_number" color="textSecondary" />
+ </Stack>
+ )}
+ </Stack>
+ );
+};
+
+const FinancialInfo = ({ record }: { record: Company }) => {
+ if (!record.revenue && !record.identifier) {
+ return null;
+ }
+
+ return (
+ <Stack>
+ <Typography variant="subtitle2">Financial Info</Typography>
+ <Divider sx={{ mb: 1 }} />
+ {record.revenue && (
<Typography
+ component="span"
variant="body2"
color="textSecondary"
+ >
+ Revenue: <TextField source="revenue" color="textPrimary" />
+ </Typography>
+ )}
+ {record.tax_identifier && (
+ <Typography
component="span"
+ variant="body2"
+ color="textSecondary"
>
- Main
+ Tax Identifier:{' '}
+ <TextField source="tax_identifier" color="textPrimary" />
</Typography>
- </Box>
+ )}
+ </Stack>
+ );
+};
- <Box mt={1} mb={3}>
- <TextField source="address" />
- <br />
- <TextField source="city" /> <TextField source="zipcode" />{' '}
- <TextField source="stateAbbr" />
- </Box>
+const AddressInfo = ({ record }: { record: Company }) => {
+ if (
+ !record.address &&
+ !record.city &&
+ !record.zipcode &&
+ !record.stateAbbr
+ ) {
+ return null;
+ }
+
+ return (
+ <Stack>
+ <Typography variant="subtitle2">Main Address</Typography>
+ <Divider sx={{ mb: 1 }} />
+ <TextField source="address" color="textSecondary" />
+ <TextField source="city" color="textSecondary" />
+ <TextField source="zipcode" color="textSecondary" />
+ <TextField source="stateAbbr" color="textSecondary" />
+ <TextField source="country" color="textSecondary" />
+ </Stack>
+ );
+};
+
+const ContextInfo = ({ record }: { record: Company }) => {
+ if (!record.context_links || record.context_links.length === 0) return null;
+ const getBaseURL = (url: string) => {
+ const urlObject = new URL(url);
+ return urlObject.origin;
+ };
+ return (
+ <Stack>
+ <Typography variant="subtitle2">Context</Typography>
+ <Divider sx={{ mb: 1 }} />
+ <Stack gap={1}>
+ {record.context_links.map((link, index) =>
+ link ? (
+ <Tooltip title={link}>
+ <Typography
+ key={index}
+ variant="body2"
+ component={Link}
+ href={link}
+ target="_blank"
+ rel="noopener noreferrer"
+ >
+ {getBaseURL(link)}
+ </Typography>
+ </Tooltip>
+ ) : null
+ )}
+ </Stack>
+ </Stack>
+ );
+};
+const BackgroundInfo = ({ record }: { record: Company }) => {
+ if (!record.created_at && !record.sales_id) {
+ return null;
+ }
+
+ return (
+ <Stack>
<Typography variant="subtitle2">Background</Typography>
- <Divider />
+ <Divider sx={{ mb: 1 }} />
+ {record.created_at ? (
+ <Typography variant="body2" color="textSecondary">
+ Added on{' '}
+ <DateField
+ source="created_at"
+ record={record}
+ color="textPrimary"
+ options={{
+ year: 'numeric',
+ month: 'long',
+ day: 'numeric',
+ }}
+ />
+ </Typography>
+ ) : null}
- <Box mt={1}>
- <Typography
- variant="body2"
- color="textSecondary"
- component="span"
- >
- Added on
- </Typography>{' '}
- <DateField
- source="created_at"
- options={{ year: 'numeric', month: 'long', day: 'numeric' }}
- color="textSecondary"
- />
- <br />
+ {record.sales_id ? (
<Typography
component="span"
variant="body2"
color="textSecondary"
>
- Followed by
- </Typography>{' '}
- <ReferenceField source="sales_id" reference="sales">
- <FunctionField<Sale>
- source="last_name"
- render={record =>
- `${record.first_name} ${record.last_name}`
- }
- />
- </ReferenceField>
- </Box>
- </Box>
+ Followed by{' '}
+ <ReferenceField
+ source="sales_id"
+ reference="sales"
+ record={record}
+ >
+ <FunctionField
+ source="last_name"
+ color="textPrimary"
+ render={record =>
+ `${record.first_name} ${record.last_name}`
+ }
+ />
+ </ReferenceField>
+ </Typography>
+ ) : null}
+ </Stack>
);
};
+export default CompanyInfo;
diff --git a/src/companies/CompanyAvatar.tsx b/src/companies/CompanyAvatar.tsx
index ffff9e44..0b8b28fc 100644
--- a/src/companies/CompanyAvatar.tsx
+++ b/src/companies/CompanyAvatar.tsx
@@ -6,20 +6,23 @@ import { Company } from '../types';
export const CompanyAvatar = (props: {
record?: Company;
- size?: 'small' | 'large';
+ width?: number;
+ height?: number;
}) => {
- const { size = 'large' } = props;
+ const { width = 40, height = 40 } = props;
const record = useRecordContext<Company>(props);
if (!record) return null;
return (
<Avatar
- src={record.logo}
+ src={record.logo?.src}
alt={record.name}
sx={{
- bgcolor: 'aliceblue',
'& img': { objectFit: 'contain' },
+ width,
+ height,
}}
- imgProps={{ className: size }}
- />
+ >
+ {record.name.charAt(0)}
+ </Avatar>
);
};
diff --git a/src/companies/CompanyCard.tsx b/src/companies/CompanyCard.tsx
index 830d7f92..5bef385e 100644
--- a/src/companies/CompanyCard.tsx
+++ b/src/companies/CompanyCard.tsx
@@ -1,95 +1,91 @@
-import * as React from "react";
-import { useState } from "react";
-import { Paper, Typography, Link as MuiLink, Box } from "@mui/material";
-import ContactsIcon from "@mui/icons-material/AccountCircle";
-import DealIcon from "@mui/icons-material/MonetizationOn";
+import * as React from 'react';
+import { useState } from 'react';
+import { Paper, Typography, Box } from '@mui/material';
+import ContactsIcon from '@mui/icons-material/AccountCircle';
+import DealIcon from '@mui/icons-material/MonetizationOn';
import {
- useCreatePath,
- SelectField,
- useRecordContext,
- useGetManyReference,
-} from "react-admin";
-import { Link } from "react-router-dom";
+ useCreatePath,
+ SelectField,
+ useRecordContext,
+ Link,
+} from 'react-admin';
-import { sectors } from "./sectors";
-import { CompanyAvatar } from "./CompanyAvatar";
-import { Company } from "../types";
-import { useReferenceManyCount } from "../misc/useReferenceManyCount";
+import { CompanyAvatar } from './CompanyAvatar';
+import { Company } from '../types';
+import { useConfigurationContext } from '../root/ConfigurationContext';
export const CompanyCard = (props: { record?: Company }) => {
- const [elevation, setElevation] = useState(1);
- const createPath = useCreatePath();
- const record = useRecordContext<Company>(props);
- const nb_contacts = useReferenceManyCount({
- reference: "contacts",
- target: "company_id",
- });
- const nb_deals = useReferenceManyCount({
- reference: "deals",
- target: "company_id",
- });
+ const { companySectors } = useConfigurationContext();
+ const [elevation, setElevation] = useState(1);
+ const createPath = useCreatePath();
+ const record = useRecordContext<Company>(props);
+ if (!record) return null;
- if (!record) return null;
-
- return (
- <MuiLink
- component={Link}
- to={createPath({
- resource: "companies",
- id: record.id,
- type: "show",
- })}
- underline="none"
- onMouseEnter={() => setElevation(3)}
- onMouseLeave={() => setElevation(1)}
- >
- <Paper
- sx={{
- height: 200,
- width: 195,
- display: "flex",
- flexDirection: "column",
- justifyContent: "space-between",
- padding: "1em",
- }}
- elevation={elevation}
- >
- <Box display="flex" flexDirection="column" alignItems="center">
- <CompanyAvatar />
- <Box textAlign="center" marginTop={1}>
- <Typography variant="subtitle2">{record.name}</Typography>
- <SelectField
- color="textSecondary"
- source="sector"
- choices={sectors}
- />
- </Box>
- </Box>
- <Box display="flex" justifyContent="space-around" width="100%">
- <Box display="flex" alignItems="center">
- <ContactsIcon color="disabled" sx={{ mr: 1 }} />
- <div>
- <Typography variant="subtitle2" sx={{ mb: -1 }}>
- {nb_contacts}
- </Typography>
- <Typography variant="caption" color="textSecondary">
- {nb_contacts > 1 ? "contacts" : "contact"}
- </Typography>
- </div>
- </Box>
- <Box sx={{ display: "flex", alignItems: "center" }}>
- <DealIcon color="disabled" sx={{ mr: 1 }} />
- <div>
- <Typography variant="subtitle2" sx={{ mb: -1 }}>
- {nb_deals}
- </Typography>
- <Typography variant="caption" color="textSecondary">
- {nb_deals > 1 ? "deals" : "deal"}
- </Typography>
- </div>
- </Box>
- </Box>
- </Paper>
- </MuiLink>
- );
+ return (
+ <Link
+ to={createPath({
+ resource: 'companies',
+ id: record.id,
+ type: 'show',
+ })}
+ underline="none"
+ onMouseEnter={() => setElevation(3)}
+ onMouseLeave={() => setElevation(1)}
+ >
+ <Paper
+ sx={{
+ height: 200,
+ width: 195,
+ display: 'flex',
+ flexDirection: 'column',
+ justifyContent: 'space-between',
+ padding: '1em',
+ }}
+ elevation={elevation}
+ >
+ <Box display="flex" flexDirection="column" alignItems="center">
+ <CompanyAvatar />
+ <Box textAlign="center" marginTop={1}>
+ <Typography variant="subtitle2">
+ {record.name}
+ </Typography>
+ <SelectField
+ color="textSecondary"
+ source="sector"
+ choices={companySectors.map(sector => ({
+ id: sector,
+ name: sector,
+ }))}
+ />
+ </Box>
+ </Box>
+ <Box display="flex" justifyContent="space-around" width="100%">
+ <Box display="flex" alignItems="center">
+ <ContactsIcon color="disabled" sx={{ mr: 1 }} />
+ <div>
+ <Typography variant="subtitle2" sx={{ mb: -1 }}>
+ {record.nb_contacts}
+ </Typography>
+ <Typography variant="caption" color="textSecondary">
+ {record.nb_contacts > 1
+ ? 'contacts'
+ : 'contact'}
+ </Typography>
+ </div>
+ </Box>
+ <Box sx={{ display: 'flex', alignItems: 'center' }}>
+ <DealIcon color="disabled" sx={{ mr: 1 }} />
+ <div>
+ <Typography variant="subtitle2" sx={{ mb: -1 }}>
+ {record.nb_deals}
+ </Typography>
+ <Typography variant="caption" color="textSecondary">
+ {record.nb_deals > 1 ? 'deals' : 'deal'}
+ </Typography>
+ </div>
+ </Box>
+ </Box>
+ </Paper>
+ </Link>
+ );
};
diff --git a/src/companies/CompanyCreate.tsx b/src/companies/CompanyCreate.tsx
index 96055274..9f817841 100644
--- a/src/companies/CompanyCreate.tsx
+++ b/src/companies/CompanyCreate.tsx
@@ -1,35 +1,19 @@
-import * as React from "react";
-import { Create, Form, Toolbar, useGetIdentity } from "react-admin";
-import BusinessIcon from "@mui/icons-material/Business";
-import { CardContent, Stack, Avatar, Box } from "@mui/material";
+import * as React from 'react';
+import { Create, Form, Toolbar, useGetIdentity } from 'react-admin';
+import { CardContent } from '@mui/material';
-import { CompanyForm } from "./CompanyForm";
-import { Company } from "../types";
+import { CompanyInputs } from './CompanyInputs';
export const CompanyCreate = () => {
- const { data: identity } = useGetIdentity();
- return (
- <Create
- actions={false}
- redirect="show"
- transform={(data: Company) => ({
- ...data,
- sales_id: identity?.id,
- })}
- >
- <Form>
- <CardContent>
- <Stack direction="row">
- <Avatar sx={{ mt: 1 }}>
- <BusinessIcon />
- </Avatar>
- <Box ml={2} flex="1" maxWidth={796}>
- <CompanyForm />
- </Box>
- </Stack>
- </CardContent>
- <Toolbar />
- </Form>
- </Create>
- );
+ const { identity } = useGetIdentity();
+ return (
+ <Create actions={false} redirect="show">
+ <Form defaultValues={{ sales_id: identity?.id }}>
+ <CardContent>
+ <CompanyInputs />
+ </CardContent>
+ <Toolbar />
+ </Form>
+ </Create>
+ );
};
diff --git a/src/companies/CompanyEdit.tsx b/src/companies/CompanyEdit.tsx
index 4e0fa01a..1e3f56c7 100644
--- a/src/companies/CompanyEdit.tsx
+++ b/src/companies/CompanyEdit.tsx
@@ -1,24 +1,16 @@
import * as React from 'react';
import { Edit, Form, Toolbar } from 'react-admin';
-import { Box, CardContent, Stack, Avatar } from '@mui/material';
+import { CardContent } from '@mui/material';
-import { CompanyForm } from './CompanyForm';
+import { CompanyInputs } from './CompanyInputs';
import { CompanyAside } from './CompanyAside';
-import { LogoField } from './LogoField';
export const CompanyEdit = () => (
<Edit aside={<CompanyAside link="show" />} actions={false} redirect="show">
<Form>
<CardContent>
- <Stack direction="row">
- <Avatar sx={{ mt: 1 }}>
- <LogoField />
- </Avatar>
- <Box ml={2} flex="1" maxWidth={796}>
- <CompanyForm />
- </Box>
- </Stack>
+ <CompanyInputs />
</CardContent>
<Toolbar />
</Form>
diff --git a/src/companies/CompanyEmpty.tsx b/src/companies/CompanyEmpty.tsx
new file mode 100644
index 00000000..8ff89d40
--- /dev/null
+++ b/src/companies/CompanyEmpty.tsx
@@ -0,0 +1,35 @@
+import { Stack, Typography } from '@mui/material';
+import { CreateButton } from 'react-admin';
+import useAppBarHeight from '../misc/useAppBarHeight';
+
+export const CompanyEmpty = () => {
+ const appbarHeight = useAppBarHeight();
+ return (
+ <Stack
+ justifyContent="center"
+ alignItems="center"
+ gap={3}
+ sx={{
+ height: `calc(100dvh - ${appbarHeight}px)`,
+ }}
+ >
+ <img src="./img/empty.svg" alt="No contacts found" />
+ <Stack gap={0} alignItems="center">
+ <Typography variant="h6" fontWeight="bold">
+ No companies found
+ </Typography>
+ <Typography
+ variant="body2"
+ align="center"
+ color="text.secondary"
+ gutterBottom
+ >
+ It looks like your company list is empty.
+ </Typography>
+ </Stack>
+ <Stack spacing={2} direction="row">
+ <CreateButton variant="contained" label="Create Company" />
+ </Stack>
+ </Stack>
+ );
+};
diff --git a/src/companies/CompanyForm.tsx b/src/companies/CompanyForm.tsx
deleted file mode 100644
index abdf34ea..00000000
--- a/src/companies/CompanyForm.tsx
+++ /dev/null
@@ -1,63 +0,0 @@
-import * as React from 'react';
-
-import { ReferenceInput, TextInput, SelectInput, required } from 'react-admin';
-import { Divider, Stack, Grid } from '@mui/material';
-
-import { sectors } from './sectors';
-import { sizes } from './sizes';
-
-export const CompanyForm = () => (
- <>
- <TextInput source="name" validate={required()} fullWidth />
- <Stack direction="row">
- <SelectInput
- source="sector"
- choices={sectors}
- sx={{ width: 200 }}
- />
- <SelectInput
- source="size"
- choices={sizes}
- sx={{ ml: 2, width: 200 }}
- />
- </Stack>
- <Divider sx={{ mb: 2, width: '100%' }} />
-
- <TextInput source="address" fullWidth helperText={false} />
- <Grid container spacing={2}>
- <Grid item xs={12} sm={4}>
- <TextInput fullWidth source="city" />
- </Grid>
- <Grid item xs={12} sm={4}>
- <TextInput fullWidth source="zipcode" />
- </Grid>
- <Grid item xs={12} sm={4}>
- <TextInput fullWidth source="stateAbbr" />
- </Grid>
- </Grid>
- <Divider sx={{ mb: 2, width: '100%' }} />
-
- <TextInput source="website" fullWidth helperText={false} />
- <TextInput source="linkedIn" fullWidth helperText={false} />
- <TextInput source="logo" fullWidth />
- <Divider sx={{ mb: 2, width: '100%' }} />
-
- <Stack direction="row">
- <TextInput
- source="phone_number"
- helperText={false}
- sx={{ width: 200 }}
- />
- <ReferenceInput source="sales_id" reference="sales">
- <SelectInput
- label="Account manager"
- helperText={false}
- optionText={(sales: any) =>
- `${sales.first_name} ${sales.last_name}`
- }
- sx={{ width: 200, ml: 2 }}
- />
- </ReferenceInput>
- </Stack>
- </>
-);
diff --git a/src/companies/CompanyInputs.tsx b/src/companies/CompanyInputs.tsx
new file mode 100644
index 00000000..d0593a6b
--- /dev/null
+++ b/src/companies/CompanyInputs.tsx
@@ -0,0 +1,172 @@
+import {
+ Divider,
+ Stack,
+ Typography,
+ useMediaQuery,
+ useTheme,
+} from '@mui/material';
+import {
+ ArrayInput,
+ ReferenceInput,
+ SelectInput,
+ SimpleFormIterator,
+ TextInput,
+ required,
+ useRecordContext,
+} from 'react-admin';
+import { isLinkedinUrl } from '../misc/isLinkedInUrl';
+import { useConfigurationContext } from '../root/ConfigurationContext';
+import { Company, Sale } from '../types';
+import { sizes } from './sizes';
+import ImageEditorField from '../misc/ImageEditorField';
+
+const isUrl = (url: string) => {
+ if (!url) return;
+ try {
+ // Parse the URL to ensure it is valid
+ new URL(url);
+ } catch (e) {
+ // If URL parsing fails, return false
+ return 'Must be a valid URL';
+ }
+};
+
+export const CompanyInputs = () => {
+ const theme = useTheme();
+ const isMobile = useMediaQuery(theme.breakpoints.down('md'));
+
+ return (
+ <Stack gap={4} p={1}>
+ <CompanyDisplayInputs />
+ <Stack gap={4} flexDirection={isMobile ? 'column' : 'row'}>
+ <CompanyContactInputs />
+ <Divider
+ orientation={isMobile ? 'horizontal' : 'vertical'}
+ flexItem
+ />
+ <CompanyContextInputs />
+ </Stack>
+
+ <Stack gap={4} flexDirection={isMobile ? 'column' : 'row'}>
+ <CompanyAddressInputs />
+ <Divider
+ orientation={isMobile ? 'horizontal' : 'vertical'}
+ flexItem
+ />
+ <Stack gap={1} flex={1}>
+ <CompanyAdditionalInformationInputs />
+ <CompanyAccountManagerInput />
+ </Stack>
+ </Stack>
+ </Stack>
+ );
+};
+
+const CompanyDisplayInputs = () => {
+ const record = useRecordContext<Company>();
+ return (
+ <Stack gap={2} flex={1} direction="row">
+ <ImageEditorField
+ source="logo.src"
+ type="avatar"
+ width={60}
+ height={60}
+ emptyText={record?.name.charAt(0)}
+ />
+ <TextInput source="name" validate={required()} helperText={false} />
+ </Stack>
+ );
+};
+
+const CompanyContactInputs = () => {
+ return (
+ <Stack gap={1} flex={1}>
+ <Typography variant="h6">Contact</Typography>
+ <TextInput source="phone_number" helperText={false} />
+ <TextInput source="website" helperText={false} validate={isUrl} />
+ <TextInput
+ source="linkedin_url"
+ helperText={false}
+ validate={isLinkedinUrl}
+ />
+ </Stack>
+ );
+};
+
+const CompanyContextInputs = () => {
+ const { companySectors } = useConfigurationContext();
+ return (
+ <Stack gap={1} flex={1}>
+ <Typography variant="h6">Context</Typography>
+ <SelectInput
+ source="sector"
+ choices={companySectors.map(sector => ({
+ id: sector,
+ name: sector,
+ }))}
+ helperText={false}
+ />
+ <SelectInput source="size" choices={sizes} helperText={false} />
+ <TextInput source="revenue" helperText={false} />
+ <TextInput source="tax_identifier" helperText={false} />
+ </Stack>
+ );
+};
+
+const CompanyAddressInputs = () => {
+ return (
+ <Stack gap={1} flex={1}>
+ <Typography variant="h6">Address</Typography>
+ <TextInput source="address" helperText={false} />
+ <TextInput source="city" helperText={false} />
+ <TextInput source="zipcode" helperText={false} />
+ <TextInput source="stateAbbr" helperText={false} />
+ <TextInput source="country" helperText={false} />
+ </Stack>
+ );
+};
+
+const CompanyAdditionalInformationInputs = () => {
+ return (
+ <Stack gap={1} flex={1}>
+ <Typography variant="h6">Additional information</Typography>
+ <TextInput source="description" multiline helperText={false} />
+ <ArrayInput source="context_links" helperText={false}>
+ <SimpleFormIterator
+ disableReordering
+ fullWidth
+ getItemLabel={false}
+ sx={{
+ m: 0,
+ }}
+ >
+ <TextInput
+ source=""
+ hiddenLabel
+ helperText={false}
+ validate={isUrl}
+ />
+ </SimpleFormIterator>
+ </ArrayInput>
+ </Stack>
+ );
+};
+
+const CompanyAccountManagerInput = () => {
+ return (
+ <Stack gap={1} flex={1}>
+ <Typography variant="h6">Account manager</Typography>
+ <ReferenceInput source="sales_id" reference="sales">
+ <SelectInput
+ label="Account manager"
+ helperText={false}
+ optionText={saleOptionRenderer}
+ validate={required()}
+ />
+ </ReferenceInput>
+ </Stack>
+ );
+};
+
+const saleOptionRenderer = (choice: Sale) =>
+ `${choice.first_name} ${choice.last_name}`;
diff --git a/src/companies/CompanyList.tsx b/src/companies/CompanyList.tsx
index cff757f1..939f3a06 100644
--- a/src/companies/CompanyList.tsx
+++ b/src/companies/CompanyList.tsx
@@ -1,31 +1,58 @@
import * as React from 'react';
import {
- List,
TopToolbar,
ExportButton,
CreateButton,
Pagination,
useGetIdentity,
+ ListBase,
+ Title,
+ ListToolbar,
+ useListContext,
} from 'react-admin';
import { ImageList } from './GridList';
import { CompanyListFilter } from './CompanyListFilter';
+import { LinearProgress, Stack } from '@mui/material';
+import { CompanyEmpty } from './CompanyEmpty';
+import { hasOtherFiltersThanDefault } from '../misc/hasOtherFiltersThanDefault';
export const CompanyList = () => {
const { identity } = useGetIdentity();
if (!identity) return null;
return (
- <List
- actions={<CompanyListActions />}
- aside={<CompanyListFilter />}
- filterDefaultValues={{ sales_id: identity?.id }}
- pagination={<Pagination rowsPerPageOptions={[15, 25, 50, 100]} />}
+ <ListBase
perPage={25}
+ filterDefaultValues={{ sales_id: identity?.id }}
sort={{ field: 'name', order: 'ASC' }}
- component="div"
>
- <ImageList />
- </List>
+ <CompanyListLayout />
+ </ListBase>
+ );
+};
+
+const CompanyListLayout = () => {
+ const { data, isPending, filterValues } = useListContext();
+ const { identity } = useGetIdentity();
+ const hasOtherFiltersThanDefaultBoolean = hasOtherFiltersThanDefault(
+ filterValues,
+ 'sales_id',
+ identity?.id
+ );
+ if (isPending) return <LinearProgress />;
+ if (!data?.length && !hasOtherFiltersThanDefaultBoolean)
+ return <CompanyEmpty />;
+
+ return (
+ <Stack direction="row" component="div">
+ <CompanyListFilter />
+ <Stack sx={{ width: '100%' }}>
+ <Title title={'Companies'} />
+ <ListToolbar actions={<CompanyListActions />} />
+ <ImageList />
+ <Pagination rowsPerPageOptions={[10, 25, 50, 100]} />
+ </Stack>
+ </Stack>
);
};
diff --git a/src/companies/CompanyListFilter.tsx b/src/companies/CompanyListFilter.tsx
index 134d486a..cd70f76d 100644
--- a/src/companies/CompanyListFilter.tsx
+++ b/src/companies/CompanyListFilter.tsx
@@ -12,10 +12,15 @@ import LocalShippingIcon from '@mui/icons-material/LocalShipping';
import SupervisorAccountIcon from '@mui/icons-material/SupervisorAccount';
import { sizes } from './sizes';
-import { sectors } from './sectors';
+import { useConfigurationContext } from '../root/ConfigurationContext';
export const CompanyListFilter = () => {
const { identity } = useGetIdentity();
+ const { companySectors } = useConfigurationContext();
+ const sectors = companySectors.map(sector => ({
+ id: sector,
+ name: sector,
+ }));
return (
<Box width="13em" minWidth="13em" order={-1} mr={2} mt={5}>
<FilterLiveSearch hiddenLabel />
@@ -25,7 +30,7 @@ export const CompanyListFilter = () => {
<FilterListItem
key={size.id}
label={size.name}
- value={size.value}
+ value={{ size: size.id }}
/>
))}
</FilterList>
diff --git a/src/companies/CompanyShow.tsx b/src/companies/CompanyShow.tsx
index 3b12eb1a..579837a5 100644
--- a/src/companies/CompanyShow.tsx
+++ b/src/companies/CompanyShow.tsx
@@ -1,256 +1,305 @@
-import * as React from "react";
-import { useState, ChangeEvent } from "react";
+import PersonAddIcon from '@mui/icons-material/PersonAdd';
import {
- ShowBase,
- TextField,
- ReferenceManyField,
- SelectField,
- useShowContext,
- useRecordContext,
- useListContext,
- RecordContextProvider,
-} from "react-admin";
+ Box,
+ Button,
+ Card,
+ CardContent,
+ Divider,
+ List,
+ ListItem,
+ ListItemAvatar,
+ ListItemSecondaryAction,
+ ListItemText,
+ Stack,
+ Tab,
+ Tabs,
+ Typography,
+} from '@mui/material';
+import { formatDistance } from 'date-fns';
+import * as React from 'react';
+import { ChangeEvent, useState } from 'react';
import {
- Box,
- Button,
- Card,
- CardContent,
- Typography,
- List,
- ListItem,
- ListItemAvatar,
- ListItemText,
- ListItemSecondaryAction,
- Tabs,
- Tab,
- Divider,
-} from "@mui/material";
-import PersonAddIcon from "@mui/icons-material/PersonAdd";
-import { Link as RouterLink } from "react-router-dom";
-import { formatDistance } from "date-fns";
+ RecordContextProvider,
+ ReferenceManyField,
+ SelectField,
+ ShowBase,
+ SortButton,
+ TextField,
+ useListContext,
+ useRecordContext,
+ useShowContext,
+} from 'react-admin';
+import { Link as RouterLink } from 'react-router-dom';
-import { Avatar } from "../contacts/Avatar";
-import { Status } from "../misc/Status";
-import { TagsList } from "../contacts/TagsList";
-import { sizes } from "./sizes";
-import { LogoField } from "./LogoField";
-import { CompanyAside } from "./CompanyAside";
-import { Company, Deal, Contact } from "../types";
-import { stageNames } from "../deals/stages";
-import { useReferenceManyCount } from "../misc/useReferenceManyCount";
+import { ActivityLog } from '../activity/ActivityLog';
+import { Avatar } from '../contacts/Avatar';
+import { TagsList } from '../contacts/TagsList';
+import { findDealLabel } from '../deals/deal';
+import { Status } from '../misc/Status';
+import { useConfigurationContext } from '../root/ConfigurationContext';
+import { Company, Contact, Deal } from '../types';
+import { CompanyAside } from './CompanyAside';
+import { CompanyAvatar } from './CompanyAvatar';
+import { sizes } from './sizes';
export const CompanyShow = () => (
- <ShowBase>
- <CompanyShowContent />
- </ShowBase>
+ <ShowBase>
+ <CompanyShowContent />
+ </ShowBase>
);
const CompanyShowContent = () => {
- const { record, isLoading } = useShowContext<Company>();
- const [tabValue, setTabValue] = useState(0);
- const handleTabChange = (event: ChangeEvent<{}>, newValue: number) => {
- setTabValue(newValue);
- };
- const nb_contacts = useReferenceManyCount({
- reference: "contacts",
- target: "company_id",
- });
- const nb_deals = useReferenceManyCount({
- reference: "deals",
- target: "company_id",
- });
- if (isLoading || !record) return null;
- return (
- <Box mt={2} display="flex">
- <Box flex="1">
- <Card>
- <CardContent>
- <Box display="flex" mb={1}>
- <LogoField />
- <Box ml={2} flex="1">
- <Typography variant="h5">{record.name}</Typography>
- <Typography variant="body2">
- <TextField source="sector" />,{" "}
- <SelectField source="size" choices={sizes} />
- </Typography>
- </Box>
+ const { record, isPending } = useShowContext<Company>();
+ const [tabValue, setTabValue] = useState(0);
+ const handleTabChange = (_: ChangeEvent<{}>, newValue: number) => {
+ setTabValue(newValue);
+ };
+ if (isPending || !record) return null;
+
+ let tabIndex = 0;
+
+ return (
+ <Box mt={2} display="flex">
+ <Box flex="1">
+ <Card>
+ <CardContent>
+ <Box display="flex" mb={1}>
+ <CompanyAvatar />
+ <Box ml={2} flex="1">
+ <Typography variant="h5">
+ {record.name}
+ </Typography>
+ <Typography variant="body2">
+ <TextField source="sector" />
+ {record.size && ', '}
+ <SelectField
+ source="size"
+ choices={sizes}
+ />
+ </Typography>
+ </Box>
+ </Box>
+ <Tabs
+ value={tabValue}
+ indicatorColor="primary"
+ textColor="primary"
+ onChange={handleTabChange}
+ >
+ <Tab
+ label={
+ !record.nb_contacts
+ ? 'No Contacts'
+ : record.nb_contacts === 1
+ ? '1 Contact'
+ : `${record.nb_contacts} Contacts`
+ }
+ />
+ {record.nb_deals && (
+ <Tab
+ label={
+ record.nb_deals === 1
+ ? '1 deal'
+ : `${record.nb_deals} Deals`
+ }
+ />
+ )}
+ {record.description && <Tab label="Description" />}
+ <Tab label="Activity Log" />
+ </Tabs>
+ <Divider />
+
+ <TabPanel value={tabValue} index={tabIndex++}>
+ <ReferenceManyField
+ reference="contacts"
+ target="company_id"
+ sort={{ field: 'last_name', order: 'ASC' }}
+ >
+ <Stack
+ direction="row"
+ justifyContent="flex-end"
+ spacing={2}
+ mt={1}
+ >
+ {!!record.nb_contacts && (
+ <SortButton
+ fields={[
+ 'last_name',
+ 'first_name',
+ 'last_seen',
+ ]}
+ />
+ )}
+ <CreateRelatedContactButton />
+ </Stack>
+ <ContactsIterator />
+ </ReferenceManyField>
+ </TabPanel>
+ {record.nb_deals ? (
+ <TabPanel value={tabValue} index={tabIndex++}>
+ <ReferenceManyField
+ reference="deals"
+ target="company_id"
+ sort={{ field: 'name', order: 'ASC' }}
+ >
+ <DealsIterator />
+ </ReferenceManyField>
+ </TabPanel>
+ ) : null}
+ {record.description ? (
+ <TabPanel value={tabValue} index={tabIndex++}>
+ <Stack
+ pt={2}
+ px={2}
+ sx={{ whiteSpace: 'pre-line' }}
+ >
+ <TextField source="description" />
+ </Stack>
+ </TabPanel>
+ ) : null}
+ <TabPanel value={tabValue} index={tabIndex++}>
+ <ActivityLog companyId={record.id} />
+ </TabPanel>
+ </CardContent>
+ </Card>
</Box>
- <Tabs
- value={tabValue}
- indicatorColor="primary"
- textColor="primary"
- onChange={handleTabChange}
- >
- {nb_contacts && (
- <Tab
- label={
- nb_contacts === 1 ? "1 Contact" : `${nb_contacts} Contacts`
- }
- />
- )}
- {nb_deals && (
- <Tab label={nb_deals === 1 ? "1 deal" : `${nb_deals} Deals`} />
- )}
- </Tabs>
- <Divider />
- <TabPanel value={tabValue} index={0}>
- <ReferenceManyField
- reference="contacts"
- target="company_id"
- sort={{ field: "last_name", order: "ASC" }}
- >
- <ContactsIterator />
- </ReferenceManyField>
- </TabPanel>
- <TabPanel value={tabValue} index={1}>
- <ReferenceManyField
- reference="deals"
- target="company_id"
- sort={{ field: "name", order: "ASC" }}
- >
- <DealsIterator />
- </ReferenceManyField>
- </TabPanel>
- </CardContent>
- </Card>
- </Box>
- <CompanyAside />
- </Box>
- );
+ <CompanyAside />
+ </Box>
+ );
};
interface TabPanelProps {
- children?: React.ReactNode;
- index: any;
- value: any;
+ children?: React.ReactNode;
+ index: any;
+ value: any;
}
const TabPanel = (props: TabPanelProps) => {
- const { children, value, index, ...other } = props;
+ const { children, value, index, ...other } = props;
- return (
- <div
- role="tabpanel"
- hidden={value !== index}
- id={`wrapped-tabpanel-${index}`}
- aria-labelledby={`wrapped-tab-${index}`}
- {...other}
- >
- {children}
- </div>
- );
+ return (
+ <div
+ role="tabpanel"
+ hidden={value !== index}
+ id={`wrapped-tabpanel-${index}`}
+ aria-labelledby={`wrapped-tab-${index}`}
+ {...other}
+ >
+ {children}
+ </div>
+ );
};
const ContactsIterator = () => {
- const { data: contacts, isLoading } = useListContext<Contact>();
- if (isLoading) return null;
+ const { data: contacts, error, isPending } = useListContext<Contact>();
+ if (isPending || error) return null;
- const now = Date.now();
- return (
- <Box>
- <List>
- {contacts.map((contact) => (
- <RecordContextProvider key={contact.id} value={contact}>
- <ListItem
- button
- component={RouterLink}
- to={`/contacts/${contact.id}/show`}
- >
- <ListItemAvatar>
- <Avatar />
- </ListItemAvatar>
- <ListItemText
- primary={`${contact.first_name} ${contact.last_name}`}
- secondary={
- <>
- {contact.title} <TagsList />
- </>
- }
- />
- <ListItemSecondaryAction>
- <Typography
- variant="body2"
- color="textSecondary"
- component="span"
- >
- last activity{" "}
- {formatDistance(new Date(contact.last_seen), now)} ago{" "}
- <Status status={contact.status} />
- </Typography>
- </ListItemSecondaryAction>
- </ListItem>
- </RecordContextProvider>
- ))}
- </List>
- <Box textAlign="center" mt={1}>
- <CreateRelatedContactButton />
- </Box>
- </Box>
- );
+ const now = Date.now();
+ return (
+ <List dense sx={{ pt: 0 }}>
+ {contacts.map(contact => (
+ <RecordContextProvider key={contact.id} value={contact}>
+ <ListItem
+ button
+ component={RouterLink}
+ to={`/contacts/${contact.id}/show`}
+ >
+ <ListItemAvatar>
+ <Avatar />
+ </ListItemAvatar>
+ <ListItemText
+ primary={`${contact.first_name} ${contact.last_name}`}
+ secondary={
+ <>
+ {contact.title}
+ {contact.nb_tasks
+ ? ` - ${contact.nb_tasks} task${
+ contact.nb_tasks > 1 ? 's' : ''
+ }`
+ : ''}
+ &nbsp; &nbsp;
+ <TagsList />
+ </>
+ }
+ />
+ <ListItemSecondaryAction>
+ <Typography
+ variant="body2"
+ color="textSecondary"
+ component="span"
+ >
+ last activity{' '}
+ {formatDistance(contact.last_seen, now)} ago{' '}
+ <Status status={contact.status} />
+ </Typography>
+ </ListItemSecondaryAction>
+ </ListItem>
+ </RecordContextProvider>
+ ))}
+ </List>
+ );
};
const CreateRelatedContactButton = () => {
- const company = useRecordContext<Company>();
- return (
- <Button
- component={RouterLink}
- to="/contacts/create"
- state={{ record: { company_id: company.id } }}
- color="primary"
- variant="contained"
- size="small"
- startIcon={<PersonAddIcon />}
- >
- Add contact
- </Button>
- );
+ const company = useRecordContext<Company>();
+ return (
+ <Button
+ component={RouterLink}
+ to="/contacts/create"
+ state={company ? { record: { company_id: company.id } } : undefined}
+ color="primary"
+ size="small"
+ startIcon={<PersonAddIcon />}
+ >
+ Add contact
+ </Button>
+ );
};
const DealsIterator = () => {
- const { data: deals, isLoading } = useListContext<Deal>();
- if (isLoading) return null;
+ const { data: deals, error, isPending } = useListContext<Deal>();
+ const { dealStages } = useConfigurationContext();
+ if (isPending || error) return null;
- const now = Date.now();
- return (
- <Box>
- <List>
- {deals.map((deal) => (
- <ListItem
- button
- key={deal.id}
- component={RouterLink}
- to={`/deals/${deal.id}/show`}
- >
- <ListItemText
- primary={deal.name}
- secondary={
- <>
- {/* @ts-ignore */}
- {stageNames[deal.stage]},{" "}
- {deal.amount.toLocaleString("en-US", {
- notation: "compact",
- style: "currency",
- currency: "USD",
- currencyDisplay: "narrowSymbol",
- minimumSignificantDigits: 3,
- })}
- , {deal.type}
- </>
- }
- />
- <ListItemSecondaryAction>
- <Typography
- variant="body2"
- color="textSecondary"
- component="span"
- >
- last activity {formatDistance(new Date(deal.updated_at), now)}{" "}
- ago{" "}
- </Typography>
- </ListItemSecondaryAction>
- </ListItem>
- ))}
- </List>
- </Box>
- );
+ const now = Date.now();
+ return (
+ <Box>
+ <List dense>
+ {deals.map(deal => (
+ <ListItem
+ button
+ key={deal.id}
+ component={RouterLink}
+ to={`/deals/${deal.id}/show`}
+ >
+ <ListItemText
+ primary={deal.name}
+ secondary={
+ <>
+ {findDealLabel(dealStages, deal.stage)},{' '}
+ {deal.amount.toLocaleString('en-US', {
+ notation: 'compact',
+ style: 'currency',
+ currency: 'USD',
+ currencyDisplay: 'narrowSymbol',
+ minimumSignificantDigits: 3,
+ })}
+ , {deal.type}
+ </>
+ }
+ />
+ <ListItemSecondaryAction>
+ <Typography
+ variant="body2"
+ color="textSecondary"
+ component="span"
+ >
+ last activity{' '}
+ {formatDistance(deal.updated_at, now)} ago{' '}
+ </Typography>
+ </ListItemSecondaryAction>
+ </ListItem>
+ ))}
+ </List>
+ </Box>
+ );
};
diff --git a/src/companies/GridList.tsx b/src/companies/GridList.tsx
index c72b8fef..bb57c544 100644
--- a/src/companies/GridList.tsx
+++ b/src/companies/GridList.tsx
@@ -1,5 +1,5 @@
import * as React from 'react';
-import { Box, Paper } from '@mui/material';
+import { Box, Paper, Typography } from '@mui/material';
import { RecordContextProvider, useListContext } from 'react-admin';
import { CompanyCard } from './CompanyCard';
@@ -26,9 +26,9 @@ const LoadingGridList = () => (
);
const LoadedGridList = () => {
- const { data, isLoading } = useListContext<Company>();
+ const { data, error, isPending } = useListContext<Company>();
- if (isLoading) return null;
+ if (isPending || error) return null;
return (
<Box display="flex" flexWrap="wrap" width="100%" gap={1}>
@@ -37,11 +37,15 @@ const LoadedGridList = () => {
<CompanyCard />
</RecordContextProvider>
))}
+
+ {data.length === 0 && (
+ <Typography p={2}>No companies found</Typography>
+ )}
</Box>
);
};
export const ImageList = () => {
- const { isLoading } = useListContext();
- return isLoading ? <LoadingGridList /> : <LoadedGridList />;
+ const { isPending } = useListContext();
+ return isPending ? <LoadingGridList /> : <LoadedGridList />;
};
diff --git a/src/companies/LogoField.tsx b/src/companies/LogoField.tsx
deleted file mode 100644
index c8881f78..00000000
--- a/src/companies/LogoField.tsx
+++ /dev/null
@@ -1,30 +0,0 @@
-import * as React from 'react';
-import { useRecordContext } from 'react-admin';
-import { Box } from '@mui/material';
-
-import { Company } from '../types';
-
-const sizeInPixel = {
- medium: 42,
- small: 20,
-};
-
-export const LogoField = ({
- size = 'medium',
-}: {
- size?: 'small' | 'medium';
-}) => {
- const record = useRecordContext<Company>();
- if (!record) return null;
- return (
- <Box
- component="img"
- src={record.logo}
- alt={record.name}
- title={record.name}
- width={sizeInPixel[size]}
- height={sizeInPixel[size]}
- sx={{ objectFit: 'contain' }}
- />
- );
-};
diff --git a/src/companies/sectors.ts b/src/companies/sectors.ts
deleted file mode 100644
index 9f8b1a2d..00000000
--- a/src/companies/sectors.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-export const sectors = [
- 'Communication Services',
- 'Consumer Discretionary',
- 'Consumer Staples',
- 'Energy',
- 'Financials',
- 'Health Care',
- 'Industrials',
- 'Information Technology',
- 'Materials',
- 'Real Estate',
- 'Utilities',
-].map(sector => ({ id: sector, name: sector }));
diff --git a/src/companies/sizes.ts b/src/companies/sizes.ts
index 64ad5bab..e617f1c8 100644
--- a/src/companies/sizes.ts
+++ b/src/companies/sizes.ts
@@ -1,42 +1,7 @@
export const sizes = [
- {
- id: 1,
- name: "1 employee",
- value: {
- "size@gte": 1,
- "size@lte": 1,
- },
- },
- {
- id: 10,
- name: "2-9 employees",
- value: {
- "size@gte": 2,
- "size@lte": 9,
- },
- },
- {
- id: 50,
- name: "10-49 employees",
- value: {
- "size@gte": 10,
- "size@lte": 49,
- },
- },
- {
- id: 250,
- name: "50-249 employees",
- value: {
- "size@gte": 50,
- "size@lte": 249,
- },
- },
- {
- id: 500,
- name: "250 or more employees",
- value: {
- "size@gte": 250,
- "size@lte": undefined,
- },
- },
+ { id: 1, name: '1 employee' },
+ { id: 10, name: '2-9 employees' },
+ { id: 50, name: '10-49 employees' },
+ { id: 250, name: '50-249 employees' },
+ { id: 500, name: '250 or more employees' },
];
diff --git a/src/consts.ts b/src/consts.ts
new file mode 100644
index 00000000..5e53dd94
--- /dev/null
+++ b/src/consts.ts
@@ -0,0 +1,5 @@
+export const COMPANY_CREATED = 'company.created' as const;
+export const CONTACT_CREATED = 'contact.created' as const;
+export const CONTACT_NOTE_CREATED = 'contactNote.created' as const;
+export const DEAL_CREATED = 'deal.created' as const;
+export const DEAL_NOTE_CREATED = 'dealNote.created' as const;
diff --git a/src/contacts/Avatar.tsx b/src/contacts/Avatar.tsx
index 35f489f6..aa84fc46 100644
--- a/src/contacts/Avatar.tsx
+++ b/src/contacts/Avatar.tsx
@@ -1,17 +1,31 @@
-import * as React from 'react';
import { Avatar as MuiAvatar } from '@mui/material';
import { useRecordContext } from 'react-admin';
import { Contact } from '../types';
-export const Avatar = (props: { record?: Contact }) => {
+export const Avatar = (props: {
+ record?: Contact;
+ width?: number;
+ height?: number;
+}) => {
const record = useRecordContext<Contact>(props);
- if (!record) return null;
+ // If we come from company page, the record is defined (to pass the company as a prop),
+ // but neither of those fields are and this lead to an error when creating contact.
+ if (!record?.avatar && !record?.first_name && !record?.last_name) {
+ return null;
+ }
return (
- <MuiAvatar src={record.avatar}>
- {record.first_name.charAt(0)}
- {record.last_name.charAt(0)}
+ <MuiAvatar
+ src={record.avatar ?? undefined}
+ sx={{
+ width: props.width,
+ height: props.height,
+ fontSize: props.height ? '0.6rem' : undefined,
+ }}
+ >
+ {record.first_name?.charAt(0)}
+ {record.last_name?.charAt(0)}
</MuiAvatar>
);
};
diff --git a/src/contacts/ContactAside.tsx b/src/contacts/ContactAside.tsx
index ceb4e3c1..7ef50138 100644
--- a/src/contacts/ContactAside.tsx
+++ b/src/contacts/ContactAside.tsx
@@ -1,26 +1,34 @@
-import * as React from 'react';
+import EmailIcon from '@mui/icons-material/Email';
+import LinkedInIcon from '@mui/icons-material/LinkedIn';
+import PhoneIcon from '@mui/icons-material/Phone';
+import { Box, Divider, Stack, Typography } from '@mui/material';
import {
- TextField,
- EmailField,
DateField,
- ReferenceManyField,
EditButton,
- ShowButton,
- useListContext,
- ReferenceField,
+ EmailField,
FunctionField,
+ ReferenceField,
+ ReferenceManyField,
+ SelectField,
+ ShowButton,
+ TextField,
+ UrlField,
useRecordContext,
} from 'react-admin';
-import { Box, Typography, Divider, List, ListItem } from '@mui/material';
+import { AddTask } from '../tasks/AddTask';
+import { TasksIterator } from '../tasks/TasksIterator';
import { TagsListEdit } from './TagsListEdit';
+import { useConfigurationContext } from '../root/ConfigurationContext';
import { Contact, Sale } from '../types';
export const ContactAside = ({ link = 'edit' }: { link?: 'edit' | 'show' }) => {
+ const { contactGender } = useConfigurationContext();
const record = useRecordContext<Contact>();
+ if (!record) return null;
return (
<Box ml={4} width={250} minWidth={250}>
- <Box textAlign="center" mb={2}>
+ <Box mb={2} ml="-5px">
{link === 'edit' ? (
<EditButton label="Edit Contact" />
) : (
@@ -28,29 +36,73 @@ export const ContactAside = ({ link = 'edit' }: { link?: 'edit' | 'show' }) => {
)}
</Box>
<Typography variant="subtitle2">Personal info</Typography>
- <Divider />
- <EmailField
- sx={{ mt: 2, mb: 1, display: 'block' }}
- source="email"
- />
- <TextField source="phone_number1" />{' '}
- <Typography variant="body2" color="textSecondary" component="span">
- Work
- </Typography>
- <Box mb={1}>
- <TextField source="phone_number2" />{' '}
- <Typography
- variant="body2"
- color="textSecondary"
- component="span"
+ <Divider sx={{ mb: 2 }} />
+ {record.email && (
+ <Stack
+ direction="row"
+ alignItems="center"
+ gap={1}
+ minHeight={24}
>
- Home
- </Typography>
- </Box>
- <Typography variant="body2" mb={3}>
- {record.gender === 'male' ? 'He/Him' : 'She/Her'}
+ <EmailIcon color="disabled" fontSize="small" />
+ <EmailField source="email" />
+ </Stack>
+ )}
+
+ {record.linkedin_url && (
+ <Stack
+ direction="row"
+ alignItems="center"
+ gap={1}
+ minHeight={24}
+ >
+ <LinkedInIcon color="disabled" fontSize="small" />
+ <UrlField
+ source="linkedin_url"
+ content="linkedin_url"
+ target="_blank"
+ rel="noopener"
+ label="LinkedIn"
+ />
+ </Stack>
+ )}
+ {record.phone_number1.number && (
+ <Stack direction="row" alignItems="center" gap={1}>
+ <PhoneIcon color="disabled" fontSize="small" />
+ <Box>
+ <TextField source="phone_number1.number" />{' '}
+ {record.phone_number1.type !== 'Other' && (
+ <TextField
+ source="phone_number1.type"
+ color="textSecondary"
+ />
+ )}
+ </Box>
+ </Stack>
+ )}
+ {record.phone_number2.number && (
+ <Stack direction="row" alignItems="center" gap={1}>
+ <PhoneIcon color="disabled" fontSize="small" />
+ <Box>
+ <TextField source="phone_number2.number" />{' '}
+ {record.phone_number2.type !== 'Other' && (
+ <TextField
+ source="phone_number2.type"
+ color="textSecondary"
+ />
+ )}
+ </Box>
+ </Stack>
+ )}
+ <SelectField
+ source="gender"
+ choices={contactGender}
+ optionText="label"
+ optionValue="value"
+ />
+ <Typography variant="subtitle2" mt={2}>
+ Background info
</Typography>
- <Typography variant="subtitle2">Background</Typography>
<Divider />
<Typography variant="body2" mt={2}>
{record && record.background}
@@ -74,7 +126,7 @@ export const ContactAside = ({ link = 'edit' }: { link?: 'edit' | 'show' }) => {
variant="body2"
color="textSecondary"
>
- Last seen on
+ Last activity on
</Typography>{' '}
<DateField
source="last_seen"
@@ -103,34 +155,18 @@ export const ContactAside = ({ link = 'edit' }: { link?: 'edit' | 'show' }) => {
<Divider />
<TagsListEdit />
</Box>
- <ReferenceManyField target="contact_id" reference="tasks">
- <TasksIterator />
- </ReferenceManyField>
- </Box>
- );
-};
-
-const TasksIterator = () => {
- const { data, isLoading } = useListContext();
- if (isLoading || data.length === 0) return null;
- return (
- <Box>
- <Typography variant="subtitle2">Tasks</Typography>
- <Divider />
-
- <List>
- {data.map(task => (
- <ListItem key={task.id} disableGutters>
- <Box>
- <Typography variant="body2">{task.text}</Typography>
- <Typography variant="body2" color="textSecondary">
- due{' '}
- <DateField source="due_date" record={task} />
- </Typography>
- </Box>
- </ListItem>
- ))}
- </List>
+ <Box>
+ <Typography variant="subtitle2">Tasks</Typography>
+ <Divider />
+ <ReferenceManyField
+ target="contact_id"
+ reference="tasks"
+ sort={{ field: 'due_date', order: 'ASC' }}
+ >
+ <TasksIterator />
+ </ReferenceManyField>
+ <AddTask />
+ </Box>
</Box>
);
};
diff --git a/src/contacts/ContactCreate.tsx b/src/contacts/ContactCreate.tsx
index 3d832c89..5e549744 100644
--- a/src/contacts/ContactCreate.tsx
+++ b/src/contacts/ContactCreate.tsx
@@ -1,41 +1,34 @@
-import * as React from "react";
-import { CreateBase, Form, Toolbar, useGetIdentity } from "react-admin";
-import { Card, CardContent, Box, Avatar } from "@mui/material";
+import * as React from 'react';
+import { CreateBase, Form, Toolbar, useGetIdentity } from 'react-admin';
+import { Card, CardContent, Box } from '@mui/material';
-import { ContactInputs } from "./ContactInputs";
-import { Contact } from "../types";
+import { ContactInputs } from './ContactInputs';
+import { Contact } from '../types';
export const ContactCreate = () => {
- const { data: identity } = useGetIdentity();
- return (
- <CreateBase
- redirect="show"
- transform={(data: Contact) => ({
- ...data,
- sales_id: identity?.id,
- last_seen: new Date(),
- tags: [],
- })}
- >
- <Box mt={2} display="flex">
- <Box flex="1">
- <Form>
- <Card>
- <CardContent>
- <Box>
- <Box display="flex">
- <Box mr={2}>
- <Avatar />
- </Box>
- <ContactInputs />
- </Box>
+ const { identity } = useGetIdentity();
+ return (
+ <CreateBase
+ redirect="show"
+ transform={(data: Contact) => ({
+ ...data,
+ first_seen: new Date().toISOString(),
+ last_seen: new Date().toISOString(),
+ tags: [],
+ })}
+ >
+ <Box mt={2} display="flex">
+ <Box flex="1">
+ <Form defaultValues={{ sales_id: identity?.id }}>
+ <Card>
+ <CardContent>
+ <ContactInputs />
+ </CardContent>
+ <Toolbar />
+ </Card>
+ </Form>
</Box>
- </CardContent>
- <Toolbar />
- </Card>
- </Form>
- </Box>
- </Box>
- </CreateBase>
- );
+ </Box>
+ </CreateBase>
+ );
};
diff --git a/src/contacts/ContactEdit.tsx b/src/contacts/ContactEdit.tsx
index 069da090..d906d325 100644
--- a/src/contacts/ContactEdit.tsx
+++ b/src/contacts/ContactEdit.tsx
@@ -2,7 +2,6 @@ import * as React from 'react';
import { EditBase, Form, Toolbar, useEditContext } from 'react-admin';
import { Card, CardContent, Box } from '@mui/material';
-import { Avatar } from './Avatar';
import { ContactInputs } from './ContactInputs';
import { ContactAside } from './ContactAside';
import { Contact } from '../types';
@@ -14,22 +13,15 @@ export const ContactEdit = () => (
);
const ContactEditContent = () => {
- const { isLoading, record } = useEditContext<Contact>();
- if (isLoading || !record) return null;
+ const { isPending, record } = useEditContext<Contact>();
+ if (isPending || !record) return null;
return (
<Box mt={2} display="flex">
<Box flex="1">
<Form>
<Card>
<CardContent>
- <Box>
- <Box display="flex">
- <Box mr={2}>
- <Avatar />
- </Box>
- <ContactInputs />
- </Box>
- </Box>
+ <ContactInputs />
</CardContent>
<Toolbar />
</Card>
diff --git a/src/contacts/ContactEmpty.tsx b/src/contacts/ContactEmpty.tsx
new file mode 100644
index 00000000..507a41f9
--- /dev/null
+++ b/src/contacts/ContactEmpty.tsx
@@ -0,0 +1,37 @@
+import { Stack, Typography } from '@mui/material';
+import { CreateButton } from 'react-admin';
+import useAppBarHeight from '../misc/useAppBarHeight';
+import { ContactImportButton } from './ContactImportButton';
+
+export const ContactEmpty = () => {
+ const appbarHeight = useAppBarHeight();
+ return (
+ <Stack
+ justifyContent="center"
+ alignItems="center"
+ gap={3}
+ sx={{
+ height: `calc(100dvh - ${appbarHeight}px)`,
+ }}
+ >
+ <img src="./img/empty.svg" alt="No contacts found" />
+ <Stack gap={0} alignItems="center">
+ <Typography variant="h6" fontWeight="bold">
+ No contacts found
+ </Typography>
+ <Typography
+ variant="body2"
+ align="center"
+ color="text.secondary"
+ gutterBottom
+ >
+ It looks like your contact list is empty.
+ </Typography>
+ </Stack>
+ <Stack spacing={2} direction="row">
+ <CreateButton variant="contained" label="New Contact" />
+ <ContactImportButton />
+ </Stack>
+ </Stack>
+ );
+};
diff --git a/src/contacts/ContactImportButton.tsx b/src/contacts/ContactImportButton.tsx
new file mode 100644
index 00000000..aed8c462
--- /dev/null
+++ b/src/contacts/ContactImportButton.tsx
@@ -0,0 +1,276 @@
+import UploadIcon from '@mui/icons-material/Upload';
+import { Box, CircularProgress, Stack } from '@mui/material';
+import Alert from '@mui/material/Alert';
+import Dialog from '@mui/material/Dialog';
+import DialogActions from '@mui/material/DialogActions';
+import DialogContent from '@mui/material/DialogContent';
+import DialogTitle from '@mui/material/DialogTitle';
+import * as Papa from 'papaparse';
+import { useState } from 'react';
+import {
+ Button,
+ FileField,
+ FileInput,
+ Form,
+ Toolbar,
+ useDataProvider,
+ useGetIdentity,
+ useNotify,
+ useRefresh,
+} from 'react-admin';
+import { Link } from 'react-router-dom';
+import * as sampleCsv from './contacts_export.csv?raw';
+import { ContentImportSchema, useContactImport } from './useContactImport';
+import { DialogCloseButton } from '../misc/DialogCloseButton';
+
+const SAMPLE_URL = `data:text/csv;charset=utf-8,${encodeURIComponent(sampleCsv.default)}`;
+
+export const ContactImportButton = () => {
+ const refresh = useRefresh();
+ const user = useGetIdentity();
+ const dataProvider = useDataProvider();
+ const notify = useNotify();
+ const contactImports = useContactImport();
+
+ const [file, setFile] = useState<File | null>(null);
+
+ const [importState, setImportState] = useState<
+ 'hidden' | 'idle' | 'running' | 'error' | 'complete'
+ >('hidden');
+
+ const [errorCount, setErrorCount] = useState(0);
+ const [importCount, setImportCount] = useState(0);
+
+ const handleOpenModal = () => {
+ setImportState('idle');
+ setErrorCount(0);
+ setImportCount(0);
+ };
+
+ const handleCancel = () => {
+ setImportState('hidden');
+ };
+
+ const handleFileChange = (file: File | null) => {
+ setFile(file);
+ };
+
+ const startImport = async () => {
+ if (!file) {
+ return;
+ }
+
+ setImportState('running');
+
+ Papa.parse<ContentImportSchema>(file, {
+ header: true,
+ skipEmptyLines: true,
+ async step(row, parser) {
+ // We pause the parser to avoid processing the next row until the current one is done
+ // Otherwise completed will be called before the last row is processed
+ parser.pause();
+
+ try {
+ if (row.errors.length > 0) {
+ throw row.errors[0];
+ }
+
+ const tagNames = (row.data.tags ?? '')
+ .split(',')
+ .map((tag: string) => tag.trim())
+ .filter((tag: string) => tag);
+
+ const company = await contactImports.getCompany(
+ row.data.company
+ );
+ const tags = await contactImports.getTags(tagNames);
+
+ const {
+ first_name,
+ last_name,
+ gender,
+ title,
+ email,
+ phone_number1,
+ phone_number2,
+ background,
+ acquisition,
+ first_seen,
+ last_seen,
+ has_newsletter,
+ status,
+ } = row.data;
+
+ await dataProvider.create('contacts', {
+ data: {
+ first_name,
+ last_name,
+ gender,
+ title,
+ email,
+ phone_number1,
+ phone_number2,
+ background,
+ acquisition,
+ first_seen: new Date(first_seen),
+ last_seen: new Date(last_seen),
+ has_newsletter:
+ has_newsletter.toLowerCase() === 'true',
+ status,
+ company_id: company.id,
+ tags: tags.map(tag => tag.id),
+ sales_id: user?.identity?.id,
+ },
+ });
+ setImportCount(importCount => importCount + 1);
+ } catch (error) {
+ console.error('Failed to import row', error);
+ setErrorCount(errorCount => errorCount + 1);
+ } finally {
+ // We resume the parser to process the next row
+ setTimeout(() => parser.resume(), 0);
+ }
+ },
+ error: error => {
+ console.error(
+ 'An error occurred while importing the file',
+ error
+ );
+
+ setImportState('error');
+ notify('An error occurred while importing the file', {
+ type: 'error',
+ });
+ },
+ complete: async () => {
+ setImportState('complete');
+ refresh();
+ },
+ });
+ };
+
+ return (
+ <>
+ <Button
+ startIcon={<UploadIcon />}
+ label="Import"
+ onClick={handleOpenModal}
+ />
+
+ <Dialog open={importState !== 'hidden'} maxWidth="lg" fullWidth>
+ <DialogCloseButton onClose={handleCancel} />
+ <DialogTitle>Import</DialogTitle>
+ <DialogContent>
+ <Form>
+ <Stack spacing={2}>
+ {importState === 'running' && (
+ <Alert
+ severity="info"
+ variant="outlined"
+ action={
+ <Box
+ sx={{
+ display: 'flex',
+ height: '100%',
+ alignItems: 'center',
+ }}
+ >
+ <CircularProgress size={20} />
+ </Box>
+ }
+ >
+ Import is running, please do not close this
+ tab
+ </Alert>
+ )}
+
+ {importState === 'complete' && (
+ <Alert severity="success" variant="outlined">
+ Contacts import complete
+ </Alert>
+ )}
+
+ {importState === 'error' && (
+ <Alert severity="error" variant="outlined">
+ Failed to import this file, please make sure
+ your provided a valid CSV file
+ </Alert>
+ )}
+ {importState === 'idle' ? (
+ <>
+ <Alert
+ severity="info"
+ action={
+ <Button
+ component={Link}
+ label="Download CSV sample"
+ color="info"
+ to={SAMPLE_URL}
+ />
+ }
+ >
+ Here is a sample CSV file you can use as
+ a template
+ </Alert>
+
+ <FileInput
+ source="csv"
+ label="CSV File"
+ accept={{ 'text/csv': ['.csv'] }}
+ onChange={handleFileChange}
+ >
+ <FileField source="src" title="title" />
+ </FileInput>
+ </>
+ ) : (
+ <>
+ <Alert severity="success">
+ Imported {importCount} contacts
+ </Alert>
+ {errorCount > 0 && (
+ <Alert severity="error">
+ Encountered {errorCount} errors
+ </Alert>
+ )}
+ </>
+ )}
+ </Stack>
+ </Form>
+ </DialogContent>
+ <DialogActions
+ sx={{
+ p: 0,
+ justifyContent: 'flex-start',
+ }}
+ >
+ <Toolbar
+ sx={{
+ width: '100%',
+ }}
+ >
+ {importState === 'idle' ? (
+ <>
+ <Button
+ label="Import"
+ variant="contained"
+ onClick={startImport}
+ disabled={!file || importState !== 'idle'}
+ />
+ </>
+ ) : (
+ <Button
+ label="Close"
+ onClick={handleCancel}
+ disabled={importState === 'running'}
+ />
+ )}
+ </Toolbar>
+ </DialogActions>
+ </Dialog>
+ </>
+ );
+};
+
+export function toDataUrl(content: string, mimeType: string) {
+ return `data:${mimeType},${encodeURIComponent(content)}`;
+}
diff --git a/src/contacts/ContactInputs.tsx b/src/contacts/ContactInputs.tsx
index 4b7a4c8b..534d5f21 100644
--- a/src/contacts/ContactInputs.tsx
+++ b/src/contacts/ContactInputs.tsx
@@ -1,42 +1,199 @@
-import * as React from 'react';
import {
- TextInput,
- ReferenceInput,
+ Divider,
+ Stack,
+ Typography,
+ useMediaQuery,
+ useTheme,
+} from '@mui/material';
+import {
AutocompleteInput,
BooleanInput,
+ RadioButtonGroupInput,
+ ReferenceInput,
+ SelectInput,
+ TextInput,
+ email,
+ required,
+ useCreate,
+ useGetIdentity,
+ useNotify,
} from 'react-admin';
-import { Divider, Box } from '@mui/material';
-
-export const ContactInputs = () => (
- <Box flex="1" mt={-1}>
- <Box display="flex" width={430}>
- <TextInput source="first_name" fullWidth />
- <Spacer />
- <TextInput source="last_name" fullWidth />
- </Box>
- <Box display="flex" width={430}>
- <TextInput source="title" fullWidth />
- <Spacer />
+import { isLinkedinUrl } from '../misc/isLinkedInUrl';
+import { useConfigurationContext } from '../root/ConfigurationContext';
+import { Sale } from '../types';
+import { Avatar } from './Avatar';
+
+export const ContactInputs = () => {
+ const theme = useTheme();
+ const isMobile = useMediaQuery(theme.breakpoints.down('md'));
+
+ return (
+ <Stack gap={4} p={1}>
+ <Stack gap={2}>
+ <Avatar />
+ <Stack gap={4} flexDirection={isMobile ? 'column' : 'row'}>
+ <ContactIdentityInputs />
+ <Divider
+ orientation={isMobile ? 'horizontal' : 'vertical'}
+ flexItem
+ />
+ <ContactPositionInputs />
+ </Stack>
+ </Stack>
+
+ <Stack gap={4} flexDirection={isMobile ? 'column' : 'row'}>
+ <ContactPersonalInformationInputs />
+ <Divider
+ orientation={isMobile ? 'horizontal' : 'vertical'}
+ flexItem
+ />
+ <ContactMiscInputs />
+ </Stack>
+ </Stack>
+ );
+};
+
+const ContactIdentityInputs = () => {
+ const { contactGender } = useConfigurationContext();
+ return (
+ <Stack gap={1} flex={1}>
+ <Typography variant="h6">Identity</Typography>
+ <RadioButtonGroupInput
+ label={false}
+ source="gender"
+ choices={contactGender}
+ helperText={false}
+ optionText="label"
+ optionValue="value"
+ sx={{ '& .MuiRadio-root': { paddingY: 0 } }}
+ defaultValue={contactGender[0].value}
+ />
+ <TextInput
+ source="first_name"
+ validate={required()}
+ helperText={false}
+ />
+ <TextInput
+ source="last_name"
+ validate={required()}
+ helperText={false}
+ />
+ </Stack>
+ );
+};
+
+const ContactPositionInputs = () => {
+ const [create] = useCreate();
+ const { identity } = useGetIdentity();
+ const notify = useNotify();
+ const handleCreateCompany = async (name?: string) => {
+ if (!name) return;
+ try {
+ const newCompany = await create(
+ 'companies',
+ {
+ data: {
+ name,
+ sales_id: identity?.id,
+ created_at: new Date().toISOString(),
+ },
+ },
+ { returnPromise: true }
+ );
+ return newCompany;
+ } catch (error) {
+ notify('An error occurred while creating the company', {
+ type: 'error',
+ });
+ }
+ };
+ return (
+ <Stack gap={1} flex={1}>
+ <Typography variant="h6">Position</Typography>
+ <TextInput source="title" helperText={false} />
<ReferenceInput source="company_id" reference="companies">
- <AutocompleteInput optionText="name" fullWidth />
+ <AutocompleteInput
+ optionText="name"
+ validate={required()}
+ onCreate={handleCreateCompany}
+ helperText={false}
+ />
</ReferenceInput>
- </Box>
- <Divider />
- <Box mt={2} width={430}>
- <TextInput source="email" fullWidth />
- </Box>
- <Box display="flex" width={430}>
- <TextInput source="phone_number1" fullWidth />
- <Spacer />
- <TextInput source="phone_number2" fullWidth />
- </Box>
- <Divider />
- <Box mt={2} width={430}>
- <TextInput source="background" multiline fullWidth />
- <TextInput source="avatar" fullWidth />
- <BooleanInput source="has_newsletter" />
- </Box>
- </Box>
-);
-
-const Spacer = () => <Box width={20} component="span" />;
+ </Stack>
+ );
+};
+
+const ContactPersonalInformationInputs = () => {
+ return (
+ <Stack gap={1} flex={1}>
+ <Typography variant="h6">Personal info</Typography>
+ <TextInput source="email" helperText={false} validate={email()} />
+ <Stack gap={1} flexDirection="row">
+ <TextInput
+ source="phone_number1.number"
+ label="Phone number 1"
+ helperText={false}
+ />
+ <SelectInput
+ source="phone_number1.type"
+ label="Type"
+ helperText={false}
+ optionText={choice => choice.id}
+ choices={[{ id: 'Work' }, { id: 'Home' }, { id: 'Other' }]}
+ defaultValue={'Work'}
+ />
+ </Stack>
+ <Stack gap={1} flexDirection="row">
+ <TextInput
+ source="phone_number2.number"
+ label="Phone number 2"
+ helperText={false}
+ />
+ <SelectInput
+ source="phone_number2.type"
+ label="Type"
+ helperText={false}
+ optionText={choice => choice.id}
+ choices={[{ id: 'Work' }, { id: 'Home' }, { id: 'Other' }]}
+ defaultValue={'Work'}
+ />
+ </Stack>
+ <TextInput
+ source="linkedin_url"
+ label="Linkedin URL"
+ helperText={false}
+ validate={isLinkedinUrl}
+ />
+ </Stack>
+ );
+};
+
+const ContactMiscInputs = () => {
+ return (
+ <Stack gap={1} flex={1}>
+ <Typography variant="h6">Misc</Typography>
+ <TextInput
+ source="background"
+ label="Background info (bio, how you met, etc)"
+ multiline
+ helperText={false}
+ />
+ <BooleanInput source="has_newsletter" helperText={false} />
+ <ReferenceInput
+ reference="sales"
+ source="sales_id"
+ sort={{ field: 'last_name', order: 'ASC' }}
+ >
+ <SelectInput
+ helperText={false}
+ label="Account manager"
+ optionText={saleOptionRenderer}
+ validate={required()}
+ />
+ </ReferenceInput>
+ </Stack>
+ );
+};
+
+const saleOptionRenderer = (choice: Sale) =>
+ `${choice.first_name} ${choice.last_name}`;
diff --git a/src/contacts/ContactList.tsx b/src/contacts/ContactList.tsx
index 4b79b4c9..93a529da 100644
--- a/src/contacts/ContactList.tsx
+++ b/src/contacts/ContactList.tsx
@@ -1,148 +1,105 @@
/* eslint-disable import/no-anonymous-default-export */
-import * as React from "react";
+import { Card, LinearProgress, Stack } from '@mui/material';
+import jsonExport from 'jsonexport/dist';
+import type { Exporter } from 'react-admin';
import {
- List as RaList,
- SimpleListLoading,
- ReferenceField,
- TextField,
- useListContext,
- ExportButton,
- SortButton,
- TopToolbar,
- CreateButton,
- Pagination,
- useGetIdentity,
- BulkActionsToolbar,
- BulkDeleteButton,
- RecordContextProvider,
-} from "react-admin";
-import {
- List,
- ListItem,
- ListItemAvatar,
- ListItemIcon,
- ListItemSecondaryAction,
- ListItemText,
- Checkbox,
- Typography,
-} from "@mui/material";
-import { Link } from "react-router-dom";
-import { formatDistance } from "date-fns";
+ CreateButton,
+ downloadCSV,
+ ExportButton,
+ ListBase,
+ ListToolbar,
+ Pagination,
+ SortButton,
+ Title,
+ TopToolbar,
+ useGetIdentity,
+ useListContext,
+} from 'react-admin';
+import { hasOtherFiltersThanDefault } from '../misc/hasOtherFiltersThanDefault';
+import { Company, Contact, Sale, Tag } from '../types';
+import { ContactEmpty } from './ContactEmpty';
+import { ContactImportButton } from './ContactImportButton';
+import { ContactListContent } from './ContactListContent';
+import { ContactListFilter } from './ContactListFilter';
-import { Avatar } from "./Avatar";
-import { Status } from "../misc/Status";
-import { TagsList } from "./TagsList";
-import { ContactListFilter } from "./ContactListFilter";
-import { Contact } from "../types";
-import { useReferenceManyCount } from "../misc/useReferenceManyCount";
+export const ContactList = () => {
+ const { identity } = useGetIdentity();
-const ContactListContent = () => {
- const {
- data: contacts,
- isLoading,
- onToggleItem,
- selectedIds,
- } = useListContext<Contact>();
- if (isLoading) {
- return <SimpleListLoading hasLeftAvatarOrIcon hasSecondaryText />;
- }
- const now = Date.now();
+ if (!identity) return null;
- return (
- <>
- <BulkActionsToolbar>
- <BulkDeleteButton />
- </BulkActionsToolbar>
- <List>
- {contacts.map((contact) => (
- <RecordContextProvider key={contact.id} value={contact}>
- <ListItem
- button
- component={Link}
- to={`/contacts/${contact.id}/show`}
- >
- <ListItemIcon>
- <Checkbox
- edge="start"
- checked={selectedIds.includes(contact.id)}
- tabIndex={-1}
- disableRipple
- onClick={(e) => {
- e.stopPropagation();
- onToggleItem(contact.id);
- }}
- />
- </ListItemIcon>
- <ListItemAvatar>
- <Avatar />
- </ListItemAvatar>
- <ListItemText
- primary={`${contact.first_name} ${contact.last_name}`}
- secondary={
- <>
- {contact.title} at{" "}
- <ReferenceField
- source="company_id"
- reference="companies"
- link={false}
- >
- <TextField source="name" />
- </ReferenceField>{" "}
- <ContactNotes />
- &nbsp;&nbsp;
- <TagsList />
- </>
- }
- />
- <ListItemSecondaryAction>
- <Typography variant="body2" color="textSecondary">
- last activity{" "}
- {formatDistance(new Date(contact.last_seen), now)} ago{" "}
- <Status status={contact.status} />
- </Typography>
- </ListItemSecondaryAction>
- </ListItem>
- </RecordContextProvider>
- ))}
- </List>
- </>
- );
+ return (
+ <ListBase
+ perPage={25}
+ filterDefaultValues={{ sales_id: identity?.id }}
+ sort={{ field: 'last_seen', order: 'DESC' }}
+ exporter={exporter}
+ >
+ <ContactListLayout />
+ </ListBase>
+ );
};
-const ContactListActions = () => (
- <TopToolbar>
- <SortButton fields={["last_name", "first_name", "last_seen"]} />
- <ExportButton />
- <CreateButton
- variant="contained"
- label="New Contact"
- sx={{ marginLeft: 2 }}
- />
- </TopToolbar>
-);
+const ContactListLayout = () => {
+ const { data, isPending, filterValues } = useListContext();
+ const { identity } = useGetIdentity();
+ const hasOtherFiltersThanDefaultBoolean = hasOtherFiltersThanDefault(
+ filterValues,
+ 'sales_id',
+ identity?.id
+ );
-export const ContactList = () => {
- const { identity } = useGetIdentity();
- return identity ? (
- <RaList
- actions={<ContactListActions />}
- aside={<ContactListFilter />}
- perPage={25}
- pagination={<Pagination rowsPerPageOptions={[10, 25, 50, 100]} />}
- filterDefaultValues={{ sales_id: identity?.id }}
- sort={{ field: "last_seen", order: "DESC" }}
- >
- <ContactListContent />
- </RaList>
- ) : null;
+ if (!identity) return null;
+ if (isPending) return <LinearProgress />;
+
+ if (!data?.length && !hasOtherFiltersThanDefaultBoolean)
+ return <ContactEmpty />;
+
+ return (
+ <Stack direction="row">
+ <ContactListFilter />
+ <Stack sx={{ width: '100%' }}>
+ <Title title={'Contacts'} />
+ <ListToolbar actions={<ContactListActions />} />
+ <Card>
+ <ContactListContent />
+ </Card>
+ <Pagination rowsPerPageOptions={[10, 25, 50, 100]} />
+ </Stack>
+ </Stack>
+ );
};
-const ContactNotes = () => {
- const nb_notes = useReferenceManyCount({
- reference: "contactNotes",
- target: "contact_id",
- });
+const ContactListActions = () => (
+ <TopToolbar>
+ <SortButton fields={['last_name', 'first_name', 'last_seen']} />
+ <ContactImportButton />
+ <ExportButton />
+ <CreateButton
+ variant="contained"
+ label="New Contact"
+ sx={{ marginLeft: 2 }}
+ />
+ </TopToolbar>
+);
+
+const exporter: Exporter<Contact> = async (records, fetchRelatedRecords) => {
+ const companies = await fetchRelatedRecords<Company>(
+ records,
+ 'company_id',
+ 'companies'
+ );
+ const sales = await fetchRelatedRecords<Sale>(records, 'sales_id', 'sales');
+ const tags = await fetchRelatedRecords<Tag>(records, 'tags', 'tags');
- if (!nb_notes) return null;
- return `- ${nb_notes} notes`;
+ const contacts = records.map(contact => ({
+ ...contact,
+ company: companies[contact.company_id].name,
+ sales: `${sales[contact.sales_id].first_name} ${
+ sales[contact.sales_id].last_name
+ }`,
+ tags: contact.tags.map(tagId => tags[tagId].name).join(', '),
+ }));
+ return jsonExport(contacts, {}, (_err: any, csv: string) => {
+ downloadCSV(csv, 'contacts');
+ });
};
diff --git a/src/contacts/ContactListContent.tsx b/src/contacts/ContactListContent.tsx
new file mode 100644
index 00000000..cb8ce6ba
--- /dev/null
+++ b/src/contacts/ContactListContent.tsx
@@ -0,0 +1,133 @@
+/* eslint-disable import/no-anonymous-default-export */
+import * as React from 'react';
+import {
+ BulkActionsToolbar,
+ BulkDeleteButton,
+ RecordContextProvider,
+ ReferenceField,
+ SimpleListLoading,
+ TextField,
+ useListContext,
+} from 'react-admin';
+import {
+ List,
+ ListItem,
+ ListItemAvatar,
+ ListItemIcon,
+ ListItemSecondaryAction,
+ ListItemText,
+ Checkbox,
+ Typography,
+ useMediaQuery,
+} from '@mui/material';
+import type { Theme } from '@mui/material';
+import { Link } from 'react-router-dom';
+import { formatDistance } from 'date-fns';
+
+import { Avatar } from './Avatar';
+import { Status } from '../misc/Status';
+import { TagsList } from './TagsList';
+import { Contact } from '../types';
+
+export const ContactListContent = () => {
+ const {
+ data: contacts,
+ error,
+ isPending,
+ onToggleItem,
+ selectedIds,
+ } = useListContext<Contact>();
+ const isSmall = useMediaQuery((theme: Theme) =>
+ theme.breakpoints.down('md')
+ );
+ if (isPending) {
+ return <SimpleListLoading hasLeftAvatarOrIcon hasSecondaryText />;
+ }
+ if (error) {
+ return null;
+ }
+ const now = Date.now();
+
+ return (
+ <>
+ <BulkActionsToolbar>
+ <BulkDeleteButton />
+ </BulkActionsToolbar>
+ <List dense>
+ {contacts.map(contact => (
+ <RecordContextProvider key={contact.id} value={contact}>
+ <ListItem
+ button
+ component={Link}
+ to={`/contacts/${contact.id}/show`}
+ >
+ <ListItemIcon sx={{ minWidth: '2.5em' }}>
+ <Checkbox
+ edge="start"
+ checked={selectedIds.includes(contact.id)}
+ tabIndex={-1}
+ disableRipple
+ onClick={e => {
+ e.stopPropagation();
+ onToggleItem(contact.id);
+ }}
+ />
+ </ListItemIcon>
+ <ListItemAvatar>
+ <Avatar />
+ </ListItemAvatar>
+ <ListItemText
+ primary={`${contact.first_name} ${contact.last_name}`}
+ secondary={
+ <>
+ {contact.title} at{' '}
+ <ReferenceField
+ source="company_id"
+ reference="companies"
+ link={false}
+ >
+ <TextField source="name" />
+ </ReferenceField>
+ {contact.nb_tasks
+ ? ` - ${contact.nb_tasks} task${
+ contact.nb_tasks > 1
+ ? 's'
+ : ''
+ }`
+ : ''}
+ &nbsp;&nbsp;
+ <TagsList />
+ </>
+ }
+ />
+ <ListItemSecondaryAction
+ sx={{
+ top: '10px',
+ transform: 'none',
+ }}
+ >
+ <Typography
+ variant="body2"
+ color="textSecondary"
+ title={contact.last_seen}
+ >
+ {!isSmall && 'last activity '}
+ {formatDistance(
+ contact.last_seen,
+ now
+ )} ago <Status status={contact.status} />
+ </Typography>
+ </ListItemSecondaryAction>
+ </ListItem>
+ </RecordContextProvider>
+ ))}
+
+ {contacts.length === 0 && (
+ <ListItem>
+ <ListItemText primary="No contacts found" />
+ </ListItem>
+ )}
+ </List>
+ </>
+ );
+};
diff --git a/src/contacts/ContactListFilter.tsx b/src/contacts/ContactListFilter.tsx
index a271c358..1b3b8021 100644
--- a/src/contacts/ContactListFilter.tsx
+++ b/src/contacts/ContactListFilter.tsx
@@ -15,8 +15,10 @@ import SupervisorAccountIcon from '@mui/icons-material/SupervisorAccount';
import { endOfYesterday, startOfWeek, startOfMonth, subMonths } from 'date-fns';
import { Status } from '../misc/Status';
+import { useConfigurationContext } from '../root/ConfigurationContext';
export const ContactListFilter = () => {
+ const { noteStatuses } = useConfigurationContext();
const { identity } = useGetIdentity();
const { data } = useGetList('tags', {
pagination: { page: 1, perPage: 10 },
@@ -30,41 +32,42 @@ export const ContactListFilter = () => {
display: 'block',
'& .MuiFilledInput-root': { width: '100%' },
}}
+ placeholder="Search name, company, etc."
/>
- <FilterList label="Last seen" icon={<AccessTimeIcon />}>
+ <FilterList label="Last activity" icon={<AccessTimeIcon />}>
<FilterListItem
label="Today"
value={{
- 'last_seen@gte': endOfYesterday().toISOString(),
- 'last_seen@lte': undefined,
+ last_seen_gte: endOfYesterday().toISOString(),
+ last_seen_lte: undefined,
}}
/>
<FilterListItem
label="This week"
value={{
- 'last_seen@gte': startOfWeek(new Date()).toISOString(),
- 'last_seen@lte': undefined,
+ last_seen_gte: startOfWeek(new Date()).toISOString(),
+ last_seen_lte: undefined,
}}
/>
<FilterListItem
label="Before this week"
value={{
- 'last_seen@gte': undefined,
- 'last_seen@lte': startOfWeek(new Date()).toISOString(),
+ last_seen_gte: undefined,
+ last_seen_lte: startOfWeek(new Date()).toISOString(),
}}
/>
<FilterListItem
label="Before this month"
value={{
- 'last_seen@gte': undefined,
- 'last_seen@lte': startOfMonth(new Date()).toISOString(),
+ last_seen_gte: undefined,
+ last_seen_lte: startOfMonth(new Date()).toISOString(),
}}
/>
<FilterListItem
label="Before last month"
value={{
- 'last_seen@gte': undefined,
- 'last_seen@lte': subMonths(
+ last_seen_gte: undefined,
+ last_seen_lte: subMonths(
startOfMonth(new Date()),
1
).toISOString(),
@@ -72,38 +75,17 @@ export const ContactListFilter = () => {
/>
</FilterList>
<FilterList label="Status" icon={<TrendingUpIcon />}>
- <FilterListItem
- label={
- <>
- Cold <Status status="cold" />
- </>
- }
- value={{ status: 'cold' }}
- />
- <FilterListItem
- label={
- <>
- Warm <Status status="warm" />
- </>
- }
- value={{ status: 'warm' }}
- />
- <FilterListItem
- label={
- <>
- Hot <Status status="hot" />
- </>
- }
- value={{ status: 'hot' }}
- />
- <FilterListItem
- label={
- <>
- In contract <Status status="in-contract" />
- </>
- }
- value={{ status: 'in-contract' }}
- />
+ {noteStatuses.map(status => (
+ <FilterListItem
+ key={status.value}
+ label={
+ <>
+ {status.label} <Status status={status.value} />
+ </>
+ }
+ value={{ status: status.value }}
+ />
+ ))}
</FilterList>
<FilterList label="Tags" icon={<LocalOfferIcon />}>
{data &&
@@ -121,9 +103,9 @@ export const ContactListFilter = () => {
}}
/>
}
- value={{ 'tags@cs': `{${record.id}}` }}
+ value={{ tags: [record.id] }}
/>
- ))}
+ ))}
</FilterList>
<FilterList
label="Account manager"
diff --git a/src/contacts/ContactShow.tsx b/src/contacts/ContactShow.tsx
index 476d82b6..22fee762 100644
--- a/src/contacts/ContactShow.tsx
+++ b/src/contacts/ContactShow.tsx
@@ -10,9 +10,9 @@ import { Box, Card, CardContent, Typography } from '@mui/material';
import { Avatar } from './Avatar';
import { ContactAside } from './ContactAside';
-import { LogoField } from '../companies/LogoField';
import { NotesIterator } from '../notes';
import { Contact } from '../types';
+import { CompanyAvatar } from '../companies/CompanyAvatar';
export const ContactShow = () => (
<ShowBase>
@@ -21,10 +21,11 @@ export const ContactShow = () => (
);
const ContactShowContent = () => {
- const { record, isLoading } = useShowContext<Contact>();
- if (isLoading || !record) return null;
+ const { record, isPending } = useShowContext<Contact>();
+ if (isPending || !record) return null;
+
return (
- <Box mt={2} display="flex">
+ <Box mt={2} mb={2} display="flex">
<Box flex="1">
<Card>
<CardContent>
@@ -34,7 +35,7 @@ const ContactShowContent = () => {
<Typography variant="h5">
{record.first_name} {record.last_name}
</Typography>
- <Typography variant="body2">
+ <Typography variant="body2" component="div">
{record.title} at{' '}
<ReferenceField
source="company_id"
@@ -51,7 +52,7 @@ const ContactShowContent = () => {
reference="companies"
link="show"
>
- <LogoField />
+ <CompanyAvatar />
</ReferenceField>
</Box>
</Box>
diff --git a/src/contacts/TagsListEdit.tsx b/src/contacts/TagsListEdit.tsx
index 67153768..cb375fab 100644
--- a/src/contacts/TagsListEdit.tsx
+++ b/src/contacts/TagsListEdit.tsx
@@ -7,6 +7,7 @@ import {
useGetList,
Identifier,
useRecordContext,
+ Toolbar,
} from 'react-admin';
import {
Chip,
@@ -25,6 +26,8 @@ import EditIcon from '@mui/icons-material/Edit';
import { colors } from '../tags/colors';
import { Contact, Tag } from '../types';
+import { DialogCloseButton } from '../misc/DialogCloseButton';
+import ContentSave from '@mui/icons-material/Save';
export const TagsListEdit = () => {
const record = useRecordContext<Contact>();
@@ -34,23 +37,25 @@ export const TagsListEdit = () => {
const [anchorEl, setAnchorEl] = useState<null | HTMLElement>(null);
const [disabled, setDisabled] = useState(false);
- const { data: allTags, isLoading: isLoadingAllTags } = useGetList<Tag>(
+ const { data: allTags, isPending: isPendingAllTags } = useGetList<Tag>(
'tags',
{
pagination: { page: 1, perPage: 10 },
sort: { field: 'name', order: 'ASC' },
}
);
- const { data: tags, isLoading: isLoadingRecordTags } = useGetMany<Tag>(
+ const { data: tags, isPending: isPendingRecordTags } = useGetMany<Tag>(
'tags',
- { ids: record.tags },
+ { ids: record?.tags },
{ enabled: record && record.tags && record.tags.length > 0 }
);
const [update] = useUpdate<Contact>();
const [create] = useCreate<Tag>();
const unselectedTags =
- allTags && allTags.filter(tag => !record.tags.includes(tag.id));
+ allTags &&
+ record &&
+ allTags.filter(tag => !record.tags.includes(tag.id));
const handleOpen = (event: React.MouseEvent<HTMLDivElement>) => {
setAnchorEl(event.currentTarget);
@@ -61,6 +66,9 @@ export const TagsListEdit = () => {
};
const handleDeleteTag = (id: Identifier) => {
+ if (!record) {
+ throw new Error('No contact record found');
+ }
const tags = record.tags.filter(tagId => tagId !== id);
update('contacts', {
id: record.id,
@@ -70,6 +78,9 @@ export const TagsListEdit = () => {
};
const handleAddTag = (id: Identifier) => {
+ if (!record) {
+ throw new Error('No contact record found');
+ }
const tags = [...record.tags, id];
update('contacts', {
id: record.id,
@@ -93,6 +104,9 @@ export const TagsListEdit = () => {
const handleCreateTag = (event: FormEvent<HTMLFormElement>) => {
event.preventDefault();
+ if (!record) {
+ throw new Error('No contact record found');
+ }
setDisabled(true);
create(
'tags',
@@ -119,7 +133,7 @@ export const TagsListEdit = () => {
);
};
- if (isLoadingRecordTags || isLoadingAllTags) return null;
+ if (isPendingRecordTags || isPendingAllTags) return null;
return (
<>
{tags?.map(tag => (
@@ -179,6 +193,7 @@ export const TagsListEdit = () => {
aria-labelledby="form-dialog-title"
>
<form onSubmit={handleCreateTag}>
+ <DialogCloseButton onClose={() => setOpen(false)} />
<DialogTitle id="form-dialog-title">
Create a new tag
</DialogTitle>
@@ -186,7 +201,6 @@ export const TagsListEdit = () => {
<TextField
autoFocus
label="Tag name"
- fullWidth
value={newTagName}
onChange={handleNewTagNameChange}
sx={{ mt: 1 }}
@@ -204,17 +218,27 @@ export const TagsListEdit = () => {
))}
</Box>
</DialogContent>
- <DialogActions>
- <Button onClick={() => setOpen(false)} color="primary">
- Cancel
- </Button>
- <Button
- type="submit"
- color="primary"
- disabled={disabled}
+ <DialogActions
+ sx={{
+ justifyContent: 'flex-start',
+ p: 0,
+ }}
+ >
+ <Toolbar
+ sx={{
+ width: '100%',
+ }}
>
- Add tag
- </Button>
+ <Button
+ type="submit"
+ color="primary"
+ disabled={disabled}
+ variant="contained"
+ startIcon={<ContentSave />}
+ >
+ Save
+ </Button>
+ </Toolbar>
</DialogActions>
</form>
</Dialog>
diff --git a/src/contacts/contacts_export.csv b/src/contacts/contacts_export.csv
new file mode 100644
index 00000000..6ac7e587
--- /dev/null
+++ b/src/contacts/contacts_export.csv
@@ -0,0 +1,2 @@
+first_name,last_name,gender,title,company,email,phone_number1,phone_number2,background,acquisition,first_seen,last_seen,has_newsletter,status,tags
+John,DOE,male,Developer,Marmelab,[email protected],659-980-2015,740.645.3807,,outbound,2024-07-01,2024-07-01T11:54:49.950Z,FALSE,in-contract,"influencer, developer"
\ No newline at end of file
diff --git a/src/contacts/index.tsx b/src/contacts/index.tsx
index 595a814d..6486bffb 100644
--- a/src/contacts/index.tsx
+++ b/src/contacts/index.tsx
@@ -3,10 +3,13 @@ import { ContactShow } from './ContactShow';
import { ContactList } from './ContactList';
import { ContactEdit } from './ContactEdit';
import { ContactCreate } from './ContactCreate';
+import { Contact } from '../types';
export default {
list: ContactList,
show: ContactShow,
edit: ContactEdit,
create: ContactCreate,
+ recordRepresentation: (record: Contact) =>
+ record?.first_name + ' ' + record?.last_name,
};
diff --git a/src/contacts/useContactImport.tsx b/src/contacts/useContactImport.tsx
new file mode 100644
index 00000000..6cee0be5
--- /dev/null
+++ b/src/contacts/useContactImport.tsx
@@ -0,0 +1,108 @@
+import { useCallback, useMemo } from 'react';
+import { useDataProvider, useGetIdentity } from 'react-admin';
+import { Company, Tag } from '../types';
+
+export type ContentImportSchema = {
+ first_name: string;
+ last_name: string;
+ gender: string;
+ title: string;
+ company: string;
+ email: string;
+ phone_number1: string;
+ phone_number2: string;
+ background: string;
+ acquisition: string;
+ avatar: string;
+ first_seen: string;
+ last_seen: string;
+ has_newsletter: string;
+ status: string;
+ tags: string;
+};
+
+export function useContactImport() {
+ const user = useGetIdentity();
+ const dataProvider = useDataProvider();
+
+ // Sales cache to avoid creating the same tag multiple times and costly roundtrips
+ // Cache is dependent of dataProvider, so it's safe to use it as a dependency
+ const companiesCache = useMemo(
+ () => new Map<string, Company>(),
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ [dataProvider]
+ );
+
+ const getCompany = useCallback(
+ async (name: string) => {
+ const trimmedName = name.trim();
+ if (companiesCache.has(trimmedName)) {
+ return companiesCache.get(trimmedName);
+ }
+
+ const companies = await dataProvider.getList('companies', {
+ filter: { name: trimmedName },
+ pagination: { page: 1, perPage: 1 },
+ sort: { field: 'first_name', order: 'ASC' },
+ });
+
+ if (companies.data.length === 1) {
+ companiesCache.set(trimmedName, companies.data[0]);
+ return companies.data[0];
+ }
+
+ const createdCompany = await dataProvider.create('companies', {
+ data: {
+ name: trimmedName,
+ created_at: new Date(),
+ sales_id: user?.identity?.id,
+ },
+ });
+ companiesCache.set(trimmedName, createdCompany.data);
+ return createdCompany.data;
+ },
+ [dataProvider, companiesCache, user?.identity?.id]
+ );
+
+ // Tags cache to avoid creating the same tag multiple times and costly roundtrips
+ // Cache is dependent of dataProvider, so it's safe to use it as a dependency
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ const tagsCache = useMemo(() => new Map<string, Tag>(), [dataProvider]);
+
+ const getTags = useCallback(
+ async (tagNames: string[]) => {
+ const missingTagNames = tagNames.filter(
+ tagName => !tagsCache.has(tagName)
+ );
+
+ const uncachedTags = await dataProvider.getList('tags', {
+ filter: { name: missingTagNames },
+ pagination: { page: 1, perPage: missingTagNames.length },
+ sort: { field: 'name', order: 'ASC' },
+ });
+
+ for (const tag of uncachedTags.data) {
+ tagsCache.set(tag.name, tag);
+ }
+
+ for await (const tagName of missingTagNames) {
+ if (!tagsCache.has(tagName)) {
+ const createdTag = await dataProvider.create('tags', {
+ data: { name: tagName, color: '#f9f9f9' },
+ });
+ tagsCache.set(tagName, createdTag.data);
+ }
+ }
+
+ return tagNames
+ .map(tagName => tagsCache.get(tagName))
+ .filter((tag): tag is Tag => tag != null);
+ },
+ [dataProvider, tagsCache]
+ );
+
+ return {
+ getTags,
+ getCompany,
+ };
+}
diff --git a/src/dashboard/Dashboard.tsx b/src/dashboard/Dashboard.tsx
index f6a8a302..ea828779 100644
--- a/src/dashboard/Dashboard.tsx
+++ b/src/dashboard/Dashboard.tsx
@@ -1,28 +1,29 @@
-import * as React from 'react';
import { Grid } from '@mui/material';
-
-import { Welcome } from './Welcome';
+import { DashboardActivityLog } from './DashboardActivityLog';
import { DealsChart } from './DealsChart';
import { HotContacts } from './HotContacts';
-import { LatestNotes } from './LatestNotes';
-import { DealsPipeline } from './DealsPipeline';
+import { TasksList } from './TasksList';
+import { Welcome } from './Welcome';
export const Dashboard = () => (
<Grid container spacing={2} mt={1}>
- <Grid item xs={12} md={9}>
- <DealsChart />
- </Grid>
- <Grid item xs={12} md={3}>
- <Welcome />
- </Grid>
- <Grid item xs={12} md={6}>
- <LatestNotes />
- </Grid>
- <Grid item xs={12} md={3}>
- <HotContacts />
+ <Grid container item xs={12} md={9} spacing={2}>
+ <Grid item xs={12} md={4}>
+ <Welcome />
+ </Grid>
+ <Grid item xs={12} md={8}>
+ <DealsChart />
+ </Grid>
+ <Grid item xs={12} md={4}>
+ <HotContacts />
+ </Grid>
+ <Grid item xs={12} md={8}>
+ <DashboardActivityLog />
+ </Grid>
</Grid>
+
<Grid item xs={12} md={3}>
- <DealsPipeline />
+ <TasksList />
</Grid>
</Grid>
);
diff --git a/src/dashboard/DashboardActivityLog.tsx b/src/dashboard/DashboardActivityLog.tsx
new file mode 100644
index 00000000..0d7d5390
--- /dev/null
+++ b/src/dashboard/DashboardActivityLog.tsx
@@ -0,0 +1,23 @@
+import AccessTimeIcon from '@mui/icons-material/AccessTime';
+import Box from '@mui/material/Box';
+import Card from '@mui/material/Card';
+import Typography from '@mui/material/Typography';
+import { ActivityLog } from '../activity/ActivityLog';
+
+export function DashboardActivityLog() {
+ return (
+ <>
+ <Box display="flex" alignItems="center" marginBottom="1em">
+ <Box ml={2} mr={2} display="flex">
+ <AccessTimeIcon color="disabled" fontSize="large" />
+ </Box>
+ <Typography variant="h5" color="textSecondary">
+ Latest Activity
+ </Typography>
+ </Box>
+ <Card sx={{ mb: 2 }}>
+ <ActivityLog pageSize={10} />
+ </Card>
+ </>
+ );
+}
diff --git a/src/dashboard/DealsChart.tsx b/src/dashboard/DealsChart.tsx
index 831594c8..39d4c43b 100644
--- a/src/dashboard/DealsChart.tsx
+++ b/src/dashboard/DealsChart.tsx
@@ -1,11 +1,9 @@
-import * as React from 'react';
-import { useMemo } from 'react';
-import { Link as RouterLink } from 'react-router-dom';
-import { Box, Link } from '@mui/material';
import AttachMoneyIcon from '@mui/icons-material/AttachMoney';
-import { useGetList } from 'react-admin';
-import { startOfMonth, format } from 'date-fns';
+import { Box } from '@mui/material';
import { ResponsiveBar } from '@nivo/bar';
+import { format, startOfMonth } from 'date-fns';
+import { useMemo } from 'react';
+import { Link, useGetList } from 'react-admin';
import { Deal } from '../types';
@@ -17,10 +15,10 @@ const multiplier = {
};
export const DealsChart = () => {
- const { data, isLoading } = useGetList<Deal>('deals', {
+ const { data, isPending } = useGetList<Deal>('deals', {
pagination: { perPage: 100, page: 1 },
sort: {
- field: 'start_at',
+ field: 'created_at',
order: 'ASC',
},
});
@@ -29,7 +27,7 @@ export const DealsChart = () => {
if (!data) return [];
const dealsByMonth = data.reduce((acc, deal) => {
const month = startOfMonth(
- deal.start_at ? new Date(deal.start_at) : new Date()
+ deal.created_at ?? new Date()
).toISOString();
if (!acc[month]) {
acc[month] = [];
@@ -40,7 +38,7 @@ export const DealsChart = () => {
const amountByMonth = Object.keys(dealsByMonth).map(month => {
return {
- date: format(new Date(month), 'MMM'),
+ date: format(month, 'MMM'),
won: dealsByMonth[month]
.filter((deal: Deal) => deal.stage === 'won')
.reduce((acc: number, deal: Deal) => {
@@ -68,7 +66,7 @@ export const DealsChart = () => {
return amountByMonth;
}, [data]);
- if (isLoading) return null; // FIXME return skeleton instead
+ if (isPending) return null; // FIXME return skeleton instead
const range = months.reduce(
(acc, month) => {
@@ -89,7 +87,6 @@ export const DealsChart = () => {
underline="none"
variant="h5"
color="textSecondary"
- component={RouterLink}
to="/deals"
>
Upcoming Deal Revenue
@@ -102,7 +99,7 @@ export const DealsChart = () => {
keys={['won', 'pending', 'lost']}
colors={['#61cdbb', '#97e3d5', '#e25c3b']}
margin={{ top: 50, right: 50, bottom: 50, left: 0 }}
- padding={0.3}
+ padding={0.5}
valueScale={{
type: 'linear',
min: range.min * 1.2,
diff --git a/src/dashboard/DealsPipeline.tsx b/src/dashboard/DealsPipeline.tsx
index 28e9ffaa..e10d9059 100644
--- a/src/dashboard/DealsPipeline.tsx
+++ b/src/dashboard/DealsPipeline.tsx
@@ -1,28 +1,35 @@
+/**
+ * This component displays the deals pipeline for the current user.
+ * It's currently not used in the application but can be added to the dashboard.
+ */
+
import * as React from 'react';
-import { Link as RouterLink } from 'react-router-dom';
-import { Card, Link, Box } from '@mui/material';
+import { Card, Box } from '@mui/material';
import MonetizationOnIcon from '@mui/icons-material/MonetizationOn';
import {
useGetList,
SimpleList,
useGetIdentity,
+ Link,
ReferenceField,
} from 'react-admin';
import { CompanyAvatar } from '../companies/CompanyAvatar';
-import { stages, stageNames } from '../deals/stages';
import { Deal } from '../types';
+import { useConfigurationContext } from '../root/ConfigurationContext';
+import { findDealLabel } from '../deals/deal';
export const DealsPipeline = () => {
const { identity } = useGetIdentity();
- const { data, total, isLoading } = useGetList<Deal>(
- "deals",
- {
- pagination: { page: 1, perPage: 10 },
- sort: { field: "updated_at", order: "DESC" },
- filter: { "stage@neq": "lost", sales_id: identity?.id },
- },
- { enabled: Number.isInteger(identity?.id) }
+ const { dealStages, dealPipelineStatuses } = useConfigurationContext();
+ const { data, total, isPending } = useGetList<Deal>(
+ 'deals',
+ {
+ pagination: { page: 1, perPage: 10 },
+ sort: { field: 'last_seen', order: 'DESC' },
+ filter: { stage_neq: 'lost', sales_id: identity?.id },
+ },
+ { enabled: Number.isInteger(identity?.id) }
);
const getOrderedDeals = (data?: Deal[]): Deal[] | undefined => {
@@ -30,11 +37,11 @@ export const DealsPipeline = () => {
return;
}
const deals: Deal[] = [];
- stages
- .filter(stage => stage !== 'won')
+ dealStages
+ .filter(stage => !dealPipelineStatuses.includes(stage.value))
.forEach(stage =>
data
- .filter(deal => deal.stage === stage)
+ .filter(deal => deal.stage === stage.value)
.forEach(deal => deals.push(deal))
);
return deals;
@@ -50,7 +57,6 @@ export const DealsPipeline = () => {
underline="none"
variant="h5"
color="textSecondary"
- component={RouterLink}
to="/deals"
>
Deals Pipeline
@@ -62,7 +68,7 @@ export const DealsPipeline = () => {
linkType="show"
data={getOrderedDeals(data)}
total={total}
- isLoading={isLoading}
+ isPending={isPending}
primaryText={deal => deal.name}
secondaryText={deal =>
`${deal.amount.toLocaleString('en-US', {
@@ -71,8 +77,7 @@ export const DealsPipeline = () => {
currency: 'USD',
currencyDisplay: 'narrowSymbol',
minimumSignificantDigits: 3,
- // @ts-ignore
- })} , ${stageNames[deal.stage]}`
+ })} , ${findDealLabel(dealStages, deal.stage)}`
}
leftAvatar={deal => (
<ReferenceField
@@ -82,7 +87,7 @@ export const DealsPipeline = () => {
resource="deals"
link={false}
>
- <CompanyAvatar size="small" />
+ <CompanyAvatar width={20} height={20} />
</ReferenceField>
)}
/>
diff --git a/src/dashboard/HotContacts.tsx b/src/dashboard/HotContacts.tsx
index 7c1026c9..5b122efa 100644
--- a/src/dashboard/HotContacts.tsx
+++ b/src/dashboard/HotContacts.tsx
@@ -1,8 +1,7 @@
import * as React from 'react';
-import { Link as RouterLink } from 'react-router-dom';
-import { Card, Box, Link } from '@mui/material';
+import { Card, Box } from '@mui/material';
import ContactsIcon from '@mui/icons-material/Contacts';
-import { useGetList, SimpleList, useGetIdentity } from 'react-admin';
+import { useGetList, Link, SimpleList, useGetIdentity } from 'react-admin';
import { formatDistance } from 'date-fns';
import { Avatar } from '../contacts/Avatar';
@@ -13,7 +12,7 @@ export const HotContacts = () => {
const {
data: contactData,
total: contactTotal,
- isLoading: contactsLoading,
+ isPending: contactsLoading,
} = useGetList<Contact>(
'contacts',
{
@@ -33,7 +32,6 @@ export const HotContacts = () => {
underline="none"
variant="h5"
color="textSecondary"
- component={RouterLink}
to="/contacts"
>
Hot contacts
@@ -44,21 +42,18 @@ export const HotContacts = () => {
linkType="show"
data={contactData}
total={contactTotal}
- isLoading={contactsLoading}
+ isPending={contactsLoading}
primaryText={contact =>
`${contact.first_name} ${contact.last_name}`
}
resource="contacts"
secondaryText={(contact: Contact) =>
- formatDistance(
- new Date(contact.last_seen),
- new Date(),
- {
- addSuffix: true,
- }
- )
+ formatDistance(contact.last_seen, new Date(), {
+ addSuffix: true,
+ })
}
leftAvatar={contact => <Avatar record={contact} />}
+ dense
/>
</Card>
</>
diff --git a/src/dashboard/LatestNotes.tsx b/src/dashboard/LatestNotes.tsx
index 0c9058d7..f296533f 100644
--- a/src/dashboard/LatestNotes.tsx
+++ b/src/dashboard/LatestNotes.tsx
@@ -14,19 +14,17 @@ import { Contact as ContactType } from '../types';
export const LatestNotes = () => {
const { identity } = useGetIdentity();
- const {
- data: contactNotesData,
- isLoading: contactNotesLoading,
- } = useGetList(
- 'contactNotes',
- {
- pagination: { page: 1, perPage: 5 },
- sort: { field: 'date', order: 'DESC' },
- filter: { sales_id: identity?.id },
- },
- { enabled: Number.isInteger(identity?.id) }
- );
- const { data: dealNotesData, isLoading: dealNotesLoading } = useGetList(
+ const { data: contactNotesData, isPending: contactNotesLoading } =
+ useGetList(
+ 'contactNotes',
+ {
+ pagination: { page: 1, perPage: 5 },
+ sort: { field: 'date', order: 'DESC' },
+ filter: { sales_id: identity?.id },
+ },
+ { enabled: Number.isInteger(identity?.id) }
+ );
+ const { data: dealNotesData, isPending: dealNotesLoading } = useGetList(
'dealNotes',
{
pagination: { page: 1, perPage: 5 },
@@ -72,7 +70,11 @@ export const LatestNotes = () => {
key={`${note.type}_${note.id}`}
sx={{ marginBottom: 2 }}
>
- <Typography variant="body2" color="textSecondary">
+ <Typography
+ variant="body2"
+ color="textSecondary"
+ component="div"
+ >
on{' '}
{note.type === 'dealNote' ? (
<Deal note={note} />
@@ -80,16 +82,13 @@ export const LatestNotes = () => {
<Contact note={note} />
)}
, added{' '}
- {formatDistance(
- new Date(note.date),
- new Date(),
- {
- addSuffix: true,
- }
- )}
+ {formatDistance(note.date, new Date(), {
+ addSuffix: true,
+ })}
</Typography>
<div>
<Typography
+ variant="body2"
sx={{
display: '-webkit-box',
WebkitLineClamp: 3,
diff --git a/src/dashboard/TasksList.tsx b/src/dashboard/TasksList.tsx
new file mode 100644
index 00000000..30aee2e0
--- /dev/null
+++ b/src/dashboard/TasksList.tsx
@@ -0,0 +1,86 @@
+import * as React from 'react';
+import { Card, Box, Button } from '@mui/material';
+import AssignmentTurnedInIcon from '@mui/icons-material/AssignmentTurnedIn';
+import {
+ useGetList,
+ Link,
+ useGetIdentity,
+ useList,
+ ListContextProvider,
+ ResourceContextProvider,
+} from 'react-admin';
+import { TasksIterator } from '../tasks/TasksIterator';
+
+import { Contact } from '../types';
+
+export const TasksList = () => {
+ const { identity } = useGetIdentity();
+
+ // get all the contacts for this sales
+ const { data: contacts, isPending: contactsLoading } = useGetList<Contact>(
+ 'contacts',
+ {
+ pagination: { page: 1, perPage: 500 },
+ filter: { sales_id: identity?.id },
+ },
+ { enabled: !!identity }
+ );
+
+ // get the first 100 upcoming tasks for these contacts
+ const { data: tasks, isPending: tasksLoading } = useGetList(
+ 'tasks',
+ {
+ pagination: { page: 1, perPage: 100 },
+ sort: { field: 'due_date', order: 'ASC' },
+ filter: {
+ done_date: undefined,
+ contact_id: contacts?.map(contact => contact.id),
+ },
+ },
+ { enabled: !!contacts }
+ );
+
+ const isPending = tasksLoading || contactsLoading;
+
+ // limit to 10 tasks and provide the list context
+ const listContext = useList({
+ data: tasks,
+ isPending,
+ resource: 'tasks',
+ perPage: 10,
+ });
+ return (
+ <>
+ <Box display="flex" alignItems="center" marginBottom="1em">
+ <Box ml={2} mr={2} display="flex">
+ <AssignmentTurnedInIcon color="disabled" fontSize="large" />
+ </Box>
+ <Link
+ underline="none"
+ variant="h5"
+ color="textSecondary"
+ to="/contacts"
+ >
+ Upcoming tasks
+ </Link>
+ </Box>
+ <Card sx={{ px: 2, mb: '2em' }}>
+ <ResourceContextProvider value="tasks">
+ <ListContextProvider value={listContext}>
+ <TasksIterator showContact />
+ </ListContextProvider>
+ </ResourceContextProvider>
+ {!isPending && (
+ <Button
+ onClick={() =>
+ listContext.setPerPage(listContext.perPage + 10)
+ }
+ fullWidth
+ >
+ Load more
+ </Button>
+ )}
+ </Card>
+ </>
+ );
+};
diff --git a/src/dashboard/Welcome.tsx b/src/dashboard/Welcome.tsx
index 585ce913..b3fdd4dd 100644
--- a/src/dashboard/Welcome.tsx
+++ b/src/dashboard/Welcome.tsx
@@ -1,13 +1,12 @@
-import * as React from 'react';
+import CodeIcon from '@mui/icons-material/Code';
+import HomeIcon from '@mui/icons-material/Home';
import {
- Typography,
+ Button,
Card,
- CardContent,
CardActions,
- Button,
+ CardContent,
+ Typography,
} from '@mui/material';
-import HomeIcon from '@mui/icons-material/Home';
-import CodeIcon from '@mui/icons-material/Code';
export const Welcome = () => (
<Card
@@ -15,8 +14,6 @@ export const Welcome = () => (
background: `#c5dedd`,
color: 'rgba(0, 0, 0, 0.87)',
padding: '1em',
- marginBottom: '1em',
- marginTop: '2em',
[`& .MuiCardActions-root`]: {
p: 2,
mt: -2,
@@ -35,15 +32,15 @@ export const Welcome = () => (
<Typography variant="h5" gutterBottom>
CRM demo
</Typography>
- <Typography gutterBottom>
+ <Typography variant="body2" gutterBottom>
This app runs in the browser, and relies on a mock REST API.
Feel free to explore and modify the data - it's local to your
computer, and will reset each time you reload.
</Typography>
- <Typography gutterBottom>
+ <Typography variant="body2" gutterBottom>
It was built using react-admin, an open-source framework. The
code for this demo is also open-source. Reading it is a great
- way to learn react-admin!
+ way to learn about react-admin!
</Typography>
</CardContent>
<CardActions>
diff --git a/src/dataGenerator/companies.ts b/src/dataGenerator/companies.ts
index 67b9845d..f2354628 100644
--- a/src/dataGenerator/companies.ts
+++ b/src/dataGenerator/companies.ts
@@ -1,23 +1,16 @@
-import { faker } from "@faker-js/faker";
-
+import {
+ address,
+ company,
+ internet,
+ lorem,
+ phone,
+ random,
+} from 'faker/locale/en_US';
import { randomDate } from './utils';
-import { Db } from './types';
+import { defaultCompanySectors } from '../root/defaultConfiguration';
import { Company } from '../types';
-
-const sectors = [
- 'Communication Services',
- 'Consumer Discretionary',
- 'Consumer Staples',
- 'Energy',
- 'Financials',
- 'Health Care',
- 'Industrials',
- 'Information Technology',
- 'Materials',
- 'Real Estate',
- 'Utilities',
-];
+import { Db } from './types';
const sizes = [1, 10, 50, 250, 500];
@@ -25,30 +18,36 @@ const regex = /\W+/;
export const generateCompanies = (db: Db): Company[] => {
return Array.from(Array(55).keys()).map(id => {
- const name = faker.company.name();
+ const name = company.companyName();
return {
- id,
- name: name,
- logo: `./logos/${id}.png`,
- sector: faker.helpers.arrayElement(sectors),
- size: faker.helpers.arrayElement(sizes) as 1 | 10 | 50 | 250 | 500,
- linkedIn: `https://www.linkedin.com/company/${name
- .toLowerCase()
- .replace(regex, "_")}`,
- website: faker.internet.url(),
- phone_number: faker.phone.number(),
- address: faker.location.streetAddress(),
- zipcode: faker.location.zipCode(),
- city: faker.location.city(),
- stateAbbr: faker.location.state({ abbreviated: true }),
- nb_contacts: 0,
- nb_deals: 0,
- // at least 1/3rd of companies for Jane Doe
- sales_id:
- faker.number.int(2) === 0
- ? 0
- : faker.helpers.arrayElement(db.sales).id,
- created_at: randomDate().toISOString(),
- };
+ id,
+ name: name,
+ logo: {
+ title: lorem.text(1),
+ src: `./logos/${id}.png`,
+ },
+ sector: random.arrayElement(defaultCompanySectors),
+ size: random.arrayElement(sizes) as 1 | 10 | 50 | 250 | 500,
+ linkedin_url: `https://www.linkedin.com/company/${name
+ .toLowerCase()
+ .replace(regex, '_')}`,
+ website: internet.url(),
+ phone_number: phone.phoneNumber(),
+ address: address.streetAddress(),
+ zipcode: address.zipCode(),
+ city: address.city(),
+ stateAbbr: address.stateAbbr(),
+ nb_contacts: 0,
+ nb_deals: 0,
+ // at least 1/3rd of companies for Jane Doe
+ sales_id:
+ random.number(2) === 0 ? 0 : random.arrayElement(db.sales).id,
+ created_at: randomDate().toISOString(),
+ description: lorem.paragraph(),
+ revenue: random.arrayElement(['$1M', '$10M', '$100M', '$1B']),
+ tax_identifier: random.alphaNumeric(10),
+ country: random.arrayElement(['USA', 'France', 'UK']),
+ context_links: [],
+ };
});
};
diff --git a/src/dataGenerator/contactNotes.ts b/src/dataGenerator/contactNotes.ts
index c37d2179..797937de 100644
--- a/src/dataGenerator/contactNotes.ts
+++ b/src/dataGenerator/contactNotes.ts
@@ -1,28 +1,26 @@
-import { faker } from "@faker-js/faker";
+import { random, lorem } from 'faker/locale/en_US';
import { Db } from './types';
import { ContactNote } from '../types';
import { randomDate } from './utils';
-
-const type = ['Email', 'Call', 'Call', 'Call', 'Call', 'Meeting', 'Reminder'];
-const status = ['cold', 'cold', 'cold', 'warm', 'warm', 'hot', 'in-contract'];
+import { defaultNoteStatuses } from '../root/defaultConfiguration';
export const generateContactNotes = (db: Db): ContactNote[] => {
return Array.from(Array(1200).keys()).map(id => {
- const contact = faker.helpers.arrayElement(db.contacts);
- const date = randomDate(new Date(contact.first_seen)).toISOString();
+ const contact = random.arrayElement(db.contacts);
+ const date = randomDate(new Date(contact.first_seen));
contact.nb_notes++;
- contact.last_seen = date > contact.last_seen ? date : contact.last_seen;
+ contact.last_seen =
+ date > new Date(contact.last_seen)
+ ? date.toISOString()
+ : contact.last_seen;
return {
- id,
- contact_id: contact.id,
- type: faker.helpers.arrayElement(type),
- text: faker.lorem.paragraphs(
- faker.number.int({ min: 1, max: 4 })
- ),
- date,
- sales_id: contact.sales_id,
- status: faker.helpers.arrayElement(status),
- };
+ id,
+ contact_id: contact.id,
+ text: lorem.paragraphs(random.number({ min: 1, max: 4 })),
+ date,
+ sales_id: contact.sales_id,
+ status: random.arrayElement(defaultNoteStatuses).value,
+ };
});
};
diff --git a/src/dataGenerator/contacts.ts b/src/dataGenerator/contacts.ts
index 4ff9a274..a1fc07e3 100644
--- a/src/dataGenerator/contacts.ts
+++ b/src/dataGenerator/contacts.ts
@@ -1,76 +1,92 @@
-import { faker } from "@faker-js/faker";
+import {
+ name,
+ internet,
+ random,
+ company as fakerCompany,
+ phone,
+ lorem,
+} from 'faker/locale/en_US';
-import { randomDate, weightedBoolean } from "./utils";
-import { Db } from "./types";
-import { Contact } from "../types";
+import { randomDate, weightedBoolean } from './utils';
+import { Db } from './types';
+import { Contact } from '../types';
+import {
+ defaultNoteStatuses,
+ defaultContactGender,
+} from '../root/defaultConfiguration';
-const genders = ["male", "female"];
-const status = ["cold", "cold", "cold", "warm", "warm", "hot", "in-contract"];
const maxContacts = {
- 1: 1,
- 10: 4,
- 50: 12,
- 250: 25,
- 500: 50,
+ 1: 1,
+ 10: 4,
+ 50: 12,
+ 250: 25,
+ 500: 50,
};
export const generateContacts = (db: Db): Contact[] => {
- const nbAvailblePictures = 223;
- let numberOfContacts = 0;
+ const nbAvailblePictures = 223;
+ let numberOfContacts = 0;
- return Array.from(Array(500).keys()).map((id) => {
- const has_avatar =
- weightedBoolean(25) && numberOfContacts < nbAvailblePictures;
- const gender = faker.helpers.arrayElement(genders);
- const first_name = faker.person.firstName(gender as any);
- const last_name = faker.person.lastName();
- const email = faker.internet.email({
- firstName: first_name,
- lastName: last_name,
- });
- const avatar = has_avatar
- ? "https://marmelab.com/posters/avatar-" +
- (223 - numberOfContacts) +
- ".jpeg"
- : undefined;
- const title = faker.company.buzzAdjective();
+ return Array.from(Array(500).keys()).map(id => {
+ const has_avatar =
+ weightedBoolean(25) && numberOfContacts < nbAvailblePictures;
+ const gender = random.arrayElement(defaultContactGender).value;
+ const first_name = name.firstName(gender as any);
+ const last_name = name.lastName();
+ const email = internet.email(first_name, last_name);
+ const avatar = has_avatar
+ ? 'https://marmelab.com/posters/avatar-' +
+ (223 - numberOfContacts) +
+ '.jpeg'
+ : undefined;
+ const title = fakerCompany.bsAdjective();
- if (has_avatar) {
- numberOfContacts++;
- }
+ if (has_avatar) {
+ numberOfContacts++;
+ }
- // choose company with people left to know
- let company;
- do {
- company = faker.helpers.arrayElement(db.companies);
- } while (company.nb_contacts >= maxContacts[company.size]);
- company.nb_contacts++;
+ // choose company with people left to know
+ let company;
+ do {
+ company = random.arrayElement(db.companies);
+ } while (company.nb_contacts >= maxContacts[company.size]);
+ company.nb_contacts++;
- const first_seen = randomDate(new Date(company.created_at)).toISOString();
- const last_seen = first_seen;
+ const first_seen = randomDate(
+ new Date(company.created_at)
+ ).toISOString();
+ const last_seen = first_seen;
- return {
- id,
- first_name,
- last_name,
- gender,
- title: title.charAt(0).toUpperCase() + title.substr(1),
- company_id: company.id,
- email,
- phone_number1: faker.phone.number(),
- phone_number2: faker.phone.number(),
- background: faker.lorem.sentence(),
- acquisition: faker.helpers.arrayElement(["inbound", "outbound"]),
- avatar,
- first_seen: first_seen,
- last_seen: last_seen,
- has_newsletter: weightedBoolean(30),
- status: faker.helpers.arrayElement(status),
- tags: faker.helpers
- .arrayElements(db.tags, faker.helpers.arrayElement([0, 0, 0, 1, 1, 2]))
- .map((tag) => tag.id), // finalize
- sales_id: company.sales_id,
- nb_notes: 0,
- };
- });
+ return {
+ id,
+ first_name,
+ last_name,
+ gender,
+ title: title.charAt(0).toUpperCase() + title.substr(1),
+ company_id: company.id,
+ company_name: company.name,
+ email,
+ phone_number1: {
+ number: phone.phoneNumber(),
+ type: random.arrayElement(['Work', 'Home', 'Other']),
+ },
+ phone_number2: {
+ number: phone.phoneNumber(),
+ type: random.arrayElement(['Work', 'Home', 'Other']),
+ },
+ background: lorem.sentence(),
+ acquisition: random.arrayElement(['inbound', 'outbound']),
+ avatar,
+ first_seen: first_seen,
+ last_seen: last_seen,
+ has_newsletter: weightedBoolean(30),
+ status: random.arrayElement(defaultNoteStatuses).value,
+ tags: random
+ .arrayElements(db.tags, random.arrayElement([0, 0, 0, 1, 1, 2]))
+ .map(tag => tag.id), // finalize
+ sales_id: company.sales_id,
+ nb_notes: 0,
+ nb_tasks: 0,
+ };
+ });
};
diff --git a/src/dataGenerator/dealNotes.ts b/src/dataGenerator/dealNotes.ts
index 396ad9a7..bead75ff 100644
--- a/src/dataGenerator/dealNotes.ts
+++ b/src/dataGenerator/dealNotes.ts
@@ -1,23 +1,20 @@
-import { faker } from "@faker-js/faker";
+import { random, lorem } from 'faker/locale/en_US';
-import { Db } from "./types";
-import { randomDate } from "./utils";
-
-const type = ["Email", "Call", "Call", "Call", "Call", "Meeting", "Reminder"];
+import { Db } from './types';
+import { randomDate } from './utils';
export const generateDealNotes = (db: Db) => {
- return Array.from(Array(300).keys()).map((id) => {
- const deal = faker.helpers.arrayElement(db.deals);
- deal.nb_notes++;
- return {
- id,
- deal_id: deal.id,
- type: faker.helpers.arrayElement(type),
- text: faker.lorem.paragraphs(faker.number.int({ min: 1, max: 4 })),
- date: randomDate(
- new Date(db.companies[deal.company_id as number].created_at)
- ).toISOString(),
- sales_id: deal.sales_id,
- };
- });
+ return Array.from(Array(300).keys()).map(id => {
+ const deal = random.arrayElement(db.deals);
+ deal.nb_notes++;
+ return {
+ id,
+ deal_id: deal.id,
+ text: lorem.paragraphs(random.number({ min: 1, max: 4 })),
+ date: randomDate(
+ new Date(db.companies[deal.company_id as number].created_at)
+ ),
+ sales_id: deal.sales_id,
+ };
+ });
};
diff --git a/src/dataGenerator/deals.ts b/src/dataGenerator/deals.ts
index 2d68af4c..9beb1cea 100644
--- a/src/dataGenerator/deals.ts
+++ b/src/dataGenerator/deals.ts
@@ -1,64 +1,56 @@
-import { faker } from "@faker-js/faker";
-import { add } from "date-fns";
+import { add } from 'date-fns';
+import { lorem, random } from 'faker/locale/en_US';
-import { Db } from "./types";
-import { Deal } from "../types";
-import { randomDate } from "./utils";
-
-const type = [
- "Other",
- "Copywriting",
- "Print project",
- "UI Design",
- "Website design",
-];
-const stages = [
- "opportunity",
- "proposal-sent",
- "in-negociation",
- "won",
- "lost",
- "delayed",
-];
-//const tags = ["new deal", "upsell", "SAV"];
+import {
+ defaultDealCategories,
+ defaultDealStages,
+} from '../root/defaultConfiguration';
+import { Deal } from '../types';
+import { Db } from './types';
+import { randomDate } from './utils';
export const generateDeals = (db: Db): Deal[] => {
- const deals = Array.from(Array(50).keys()).map((id) => {
- const company = faker.helpers.arrayElement(db.companies);
- company.nb_deals++;
- const contacts = faker.helpers.arrayElements(
- db.contacts.filter((contact) => contact.company_id === company.id),
- faker.number.int({ min: 1, max: 3 })
- );
- const lowercaseName = faker.lorem.words();
- const created_at = randomDate(new Date(company.created_at)).toISOString();
- return {
- id,
- name: lowercaseName[0].toUpperCase() + lowercaseName.slice(1),
- company_id: company.id,
- contact_ids: contacts.map((contact) => contact.id),
- type: faker.helpers.arrayElement(type),
- stage: faker.helpers.arrayElement(stages),
- description: faker.lorem.paragraphs(faker.number.int({ min: 1, max: 4 })),
- amount: faker.number.int(1000) * 100,
- created_at: created_at,
- updated_at: randomDate(new Date(created_at)).toISOString(),
- start_at: randomDate(
- new Date(),
- add(new Date(), { months: 6 })
- ).toISOString(),
- sales_id: company.sales_id,
- index: 0,
- nb_notes: 0,
- };
- });
- // compute index based on stage
- stages.forEach((stage) => {
- deals
- .filter((deal) => deal.stage === stage)
- .forEach((deal, index) => {
- deals[deal.id].index = index;
- });
- });
- return deals;
+ const deals = Array.from(Array(50).keys()).map(id => {
+ const company = random.arrayElement(db.companies);
+ company.nb_deals++;
+ const contacts = random.arrayElements(
+ db.contacts.filter(contact => contact.company_id === company.id),
+ random.number({ min: 1, max: 3 })
+ );
+ const lowercaseName = lorem.words();
+ const created_at = randomDate(
+ new Date(company.created_at)
+ ).toISOString();
+
+ const expected_closing_date = randomDate(
+ new Date(created_at),
+ add(new Date(created_at), { months: 6 })
+ ).toISOString();
+
+ return {
+ id,
+ name: lowercaseName[0].toUpperCase() + lowercaseName.slice(1),
+ company_id: company.id,
+ contact_ids: contacts.map(contact => contact.id),
+ category: random.arrayElement(defaultDealCategories),
+ stage: random.arrayElement(defaultDealStages).value,
+ description: lorem.paragraphs(random.number({ min: 1, max: 4 })),
+ amount: random.number(1000) * 100,
+ created_at,
+ updated_at: randomDate(new Date(created_at)).toISOString(),
+ expected_closing_date,
+ sales_id: company.sales_id,
+ index: 0,
+ nb_notes: 0,
+ };
+ });
+ // compute index based on stage
+ defaultDealStages.forEach(stage => {
+ deals
+ .filter(deal => deal.stage === stage.value)
+ .forEach((deal, index) => {
+ deals[deal.id].index = index;
+ });
+ });
+ return deals;
};
diff --git a/src/dataGenerator/index.ts b/src/dataGenerator/index.ts
index 61933587..d0a41511 100644
--- a/src/dataGenerator/index.ts
+++ b/src/dataGenerator/index.ts
@@ -1,13 +1,13 @@
/* eslint-disable import/no-anonymous-default-export */
-import { generateSales } from './sales';
-import { generateTags } from './tags';
import { generateCompanies } from './companies';
-import { generateContacts } from './contacts';
import { generateContactNotes } from './contactNotes';
-import { generateTasks } from './tasks';
-import { generateDeals } from './deals';
+import { generateContacts } from './contacts';
import { generateDealNotes } from './dealNotes';
+import { generateDeals } from './deals';
import { finalize } from './finalize';
+import { generateSales } from './sales';
+import { generateTags } from './tags';
+import { generateTasks } from './tasks';
import { Db } from './types';
export default (): Db => {
diff --git a/src/dataGenerator/sales.ts b/src/dataGenerator/sales.ts
index c2aa1259..8af4fe00 100644
--- a/src/dataGenerator/sales.ts
+++ b/src/dataGenerator/sales.ts
@@ -1,30 +1,32 @@
-import { faker } from "@faker-js/faker";
+import { internet, name } from 'faker/locale/en_US';
-import { Db } from "./types";
+import { Db } from './types';
export const generateSales = (_: Db) => {
- const randomSales = Array.from(Array(10).keys()).map((id) => {
- const first_name = faker.person.firstName();
- const last_name = faker.person.lastName();
- const email = faker.internet.email({
- firstName: first_name,
- lastName: last_name,
- });
+ const randomSales = Array.from(Array(10).keys()).map(id => {
+ const first_name = name.firstName();
+ const last_name = name.lastName();
+ const email = internet.email(first_name, last_name);
- return {
- id: id + 1,
- first_name,
- last_name,
- email,
- };
- });
- return [
- {
- id: 0,
- first_name: "Jane",
- last_name: "Doe",
- email: "[email protected]",
- },
- ...randomSales,
- ];
+ return {
+ id: id + 1,
+ first_name,
+ last_name,
+ email,
+ password: 'demo',
+ administrator: false,
+ };
+ });
+ return [
+ {
+ id: 0,
+ first_name: 'Jane',
+ last_name: 'Doe',
+ email: '[email protected]',
+ password: 'demo',
+ administrator: true,
+ avatar: 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4gKgSUNDX1BST0ZJTEUAAQEAAAKQbGNtcwQwAABtbnRyUkdCIFhZWiAH3wAIABMAEgAWADFhY3NwQVBQTAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLWxjbXMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAtkZXNjAAABCAAAADhjcHJ0AAABQAAAAE53dHB0AAABkAAAABRjaGFkAAABpAAAACxyWFlaAAAB0AAAABRiWFlaAAAB5AAAABRnWFlaAAAB+AAAABRyVFJDAAACDAAAACBnVFJDAAACLAAAACBiVFJDAAACTAAAACBjaHJtAAACbAAAACRtbHVjAAAAAAAAAAEAAAAMZW5VUwAAABwAAAAcAHMAUgBHAEIAIABiAHUAaQBsAHQALQBpAG4AAG1sdWMAAAAAAAAAAQAAAAxlblVTAAAAMgAAABwATgBvACAAYwBvAHAAeQByAGkAZwBoAHQALAAgAHUAcwBlACAAZgByAGUAZQBsAHkAAAAAWFlaIAAAAAAAAPbWAAEAAAAA0y1zZjMyAAAAAAABDEoAAAXj///zKgAAB5sAAP2H///7ov///aMAAAPYAADAlFhZWiAAAAAAAABvlAAAOO4AAAOQWFlaIAAAAAAAACSdAAAPgwAAtr5YWVogAAAAAAAAYqUAALeQAAAY3nBhcmEAAAAAAAMAAAACZmYAAPKnAAANWQAAE9AAAApbcGFyYQAAAAAAAwAAAAJmZgAA8qcAAA1ZAAAT0AAACltwYXJhAAAAAAADAAAAAmZmAADypwAADVkAABPQAAAKW2Nocm0AAAAAAAMAAAAAo9cAAFR7AABMzQAAmZoAACZmAAAPXP/bAEMACAYGBwYFCAcHBwkJCAoMFA0MCwsMGRITDxQdGh8eHRocHCAkLicgIiwjHBwoNyksMDE0NDQfJzk9ODI8LjM0Mv/bAEMBCQkJDAsMGA0NGDIhHCEyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMv/AABEIAIAAgAMBIgACEQEDEQH/xAAcAAABBAMBAAAAAAAAAAAAAAABAAUGBwIDBAj/xAA2EAABAwMBBgMHAwQDAQAAAAABAAIDBAUREgYTITFBUSJxgRQyYZGxwdEHQqEkUmLhFRYjkv/EABoBAAIDAQEAAAAAAAAAAAAAAAIDAAEEBQb/xAAkEQACAgIDAAEEAwAAAAAAAAAAAQIRAyEEEjETBSJRcTJBYf/aAAwDAQACEQMRAD8AuIIoIogAooIqygorB72xsc97g1rRkk9FFrlfnVD3Rwu0Qj5uQyko+hRi5eEjlr6aEkOlBI6N4rSbpCG6j4R0zzPoFEIpZpn+Ahv+TuJ9E9Qtipodc0haD15ud5BI+Vsb8aXoq/a6GgJ1UsrgBknTj6rgp/1JtEkgjnbNTk9Xxkt/+m5Cbrvbam9sc2XeU9G0jTFry6Q9M/hddk/T6kpId7UwNmqJCOBOGxjoD3KLvIroiX0VxprhCJaeVr2njlpyutR+k2dlttQZ4KwMZpwIGjwD5lbI785leaSppZWHmJG+JpHfKYppgOLQ9pIAhwBHIpIwBJFJBQhgiEAiFRYQkgmzaCuNDaZHsOJHeBvmVG6VkSt0Me0l93spoqY5Y0+N3Qn8JgjdrcA3xOPU9f8AS485Jy4c8ucep/CzirNBIh4D9zz1WGU7dmyMElRIIXspeBw+fGeJ4N8/wtsEstTUtHFzz1Pb7BNVHvJQA0EAnOo83fH/AGpBR7qniw14yfekz9+qFMNxHiljYwjhqc3kTxPxwnaIZA+6ZoJWDGhjnZ68gnaEvewftHw4BOixTVGc2GsOdI4c3KFXmSuq75Rw0kQ3EWZKieQaQG8g0D4n7KauaGgiNu8eeJJPBN89JLUN8btWg5HDAL++OwUZSMbTWxV9vZNFqxyIcMEELuTdTBtNUbiP3A0D5BOC0QdozzVMWUksoIwTBFBIKEMlFdtJSIKaMHHEuKlKg+3Ly6rgizhugl3wHVLyv7WMxK5Ih8k2+IAJEecNGeLvj5LvoossDsZHl9E2x6ZZNTvDGPp2WFde45P6WlqI4tPAZIGT6rAb0vwSiOox4RgA+84nn6ruiuAhLdA1n+5x5Kt6SsrYagtqqkyuJ8Jxj+FLpIql9qM0b9GW8Ceioaoa2TigrXStDsMb8SOKeYtUgGpxLe5+wVQ2eouftIabs52T7ugHPqrOtNNX7gb+r3zSPE1zNJPljknQaehGSFDo6piax5Em7iZ78h+gXJV1OId7lzIgzIYOePyue4QvxGGs8OsAN6D/ACPfH1QinirgZmODoi4Mb5BFYlqjfSsc58kjxgkN4dua61wWWqFbb2VGCDM4uAPMN6LsJ4p+LwRlM8pZWGUU0UBFYhFUWFV/t0S67xR8muhGT8MqwFDNvKJz4IqxgyWjQ49uyXl3EbidSKxrp31VWaKnJaxoySO6aX7INZG9swlcHuD3OyMkjlxKdLWA2uqJH/3NH8KRVNWz2XJ7LCm1tHSUIyWyL0NvdC6CnBeQHjRqOSB2VwVdnd/1YwRt/wDQx8Pkq4sX9XdoXubpZrGCeo7q7i3eW0OjbqLW8B3RRjdkm+tJHn6usdbV1JY6rnpmBww5jT4QPLn6q09jLdcKBsRgv0lZSFgaaaoYXBuBza4kuB7g5HwCa6y50tRWvi3ZjeHYc1wwQVMdm42NaC3lhXBu6JkikuzHS4QuNuqCPf3biPPCqj9OdonubHa6txLyXkPJ65JH1x6K27tKYrXVPAyRE/A7nBVE7OUEtJtDSs0k6JwHO8zghMemZ6bjZcdqjZT0jo2DAY4tC68rVBHuosY4klx81sWnGqiYcjuRkllAIhGCBFBFUWFc9dSR11FLTyDLXtI8l0BJUXZRt4tNRZ7hPFI3Trw5p6HHBcEk0jgwO93l6q3tsrJ/y1oL4WZqYTqZ8R1H0VRVEDKqikgkaQRkdiCsOWHWR0+Pk7RFRzVNHXQmNwc1pHAHBVq2m+19QIzTgMhaMFsjclx+ap2wW6gn3dNXvqIpA7G+DstcB9CrVtVqsVDa4Zpa2eUmPIDS4knIzgD4FUou9Dvtqpe/oZ9qrfUR1Elw3ZDy7UeGAVKtibgKi3skzwPDj0KiV7ornc6xk8EtdTW+QhraSZ+S49SW8cAeamWzlsFupBG39ztXkotSKl/CmO21N3pbLs7U3GtL/Z4tOsMGScuAwB6qK7JUrbs1t6ex+5kOuESBoceJ4uDeGfJP+1NpO0NLSWyRgNE6cS1Rzza3iGjzOPknKCnipadkEEbY4o2hrWtGAAFojj7O2YJ5eq6oyKCywlhaTIBEJJKEMQigEVRYUViioQJAIIPVVrtzYW0FY2507cQVLtMoH7X9/X6hWVlcl0pKWvtlRTVuPZ3sOs5xpxx1A9COaDJDtGhuKbhKyjW2uT2newSuZq544g+in2ytGYpGzTPMj28WgNAwofRV0cFU6F7w5oOGudw1DoVPbRdKCBrdU0eojg1pyT6BYbr+zsd5dKRIvZN6/ey4yPhyXRTx+PDeXfssaZz6wBzssj6N6nzTiyJrAABgI1vaMrdaZp06SQTniktkvv5WtbIO4o5+RVJgwkikjAAkigVCGsJZWuSaOGMySvaxg5uccAJiqtqqeNxbSxOmP9x8I/KCU4x9DjCUvESIJuvG0Fp2fp2zXWvhpWPzo3h4uxzwBxKi1XtTcJGnS5sDe7Bx+ZVD7WX+p2gvs1TNM+VkZ3cOp2fCD9+amOayPReTG4LZaF2/XVjKmRlotTZIG5DZal5Bce+kch5lcLNqL5erSJrhXPd7SNRiYA2No6AAKocHGOqs21NJs1K3HERgfwg5T6xSQzixTk2zAtEziCn6wwbmoa4DHHoE1tgO9BA9FJLfTua0ODeK5sjpw0WFaagua0Ek+akAcC3KiNnbI0AkKTsfiLJTsb0IyrZue3U3yULuW39stV+fbKlkmmMAPmZ4sPPTCeNoL9HZbPUVbiCWN8I7novPE9TLVVktTM4ukkLnuJ6kldPg4fkk2/DncyfSKr09C2zaizXZzI6SvidM/lE7wv8AkU7rznsdUvG1Nvbk5FWz6r0O2XuPkj5EYYpJJ+isPfIm6NqCQcDySSk0/A2mvStrpepLtWu0kimYcRt+5+K1sZlqa6LmMp13ga1cuUnJ2zrQioqkM21VULfs7VzA4foLWeZ4fdUnjAHmrI/Uiv8A6OmpQffeXkfAD8lVyBlkY75K6XDhWO/yc7ly++vwGMZljGM5I+qvWlpab2eMNiDQGjgAqNb4J2EftwR6cV6Et0Daihp5WjwyRtcPUIebGkhnCabZjTWykmOHsHDkU7U9BHF7ucLXFTljuSc4W8srnUb26OmmeI2Dgt7qzIw44C1BgwmLaq7w2a0S1Dj4sYYM8S7oEyKb0hcmvWRD9S9pI6qaCz0rsiM7ydw79B6c/kq/Mni7cM/RYmd9XUyVEpJe4l7s9StD3nWT105+y9NxsXw4lE8/nyfLkch32Lk07X21zjw3+r5L0HHUa25yvPWxzc7YW9nYk/wVdrKgsAHRcn6lKpx/R0+BG4N/6P8AFL4hxTg2IvZkc1HqSoy8EqUUUgfGFjxt3o0ZUq2f/9k=',
+ },
+ ...randomSales,
+ ];
};
diff --git a/src/dataGenerator/tasks.ts b/src/dataGenerator/tasks.ts
index 2db89a44..e8009153 100644
--- a/src/dataGenerator/tasks.ts
+++ b/src/dataGenerator/tasks.ts
@@ -1,9 +1,13 @@
-import { faker } from "@faker-js/faker";
+import { lorem, random } from 'faker/locale/en_US';
+import { Task } from '../types';
import { Db } from './types';
import { randomDate } from './utils';
+import { defaultTaskTypes } from '../root/defaultConfiguration';
-const type = [
+type TaskType = (typeof defaultTaskTypes)[number];
+
+export const type: TaskType[] = [
'Email',
'Email',
'Email',
@@ -32,15 +36,19 @@ const type = [
];
export const generateTasks = (db: Db) => {
- return Array.from(Array(400).keys()).map(id => {
- const contact = faker.helpers.arrayElement(db.contacts);
+ return Array.from(Array(400).keys()).map<Task>(id => {
+ const contact = random.arrayElement(db.contacts);
+ contact.nb_tasks++;
return {
id,
contact_id: contact.id,
- type: faker.helpers.arrayElement(type),
- text: faker.lorem.sentence(),
- due_date: randomDate(new Date(contact.first_seen)),
- sales_id: contact.sales_id,
+ type: random.arrayElement(defaultTaskTypes),
+ text: lorem.sentence(),
+ due_date: randomDate(
+ random.boolean() ? new Date() : new Date(contact.first_seen),
+ new Date(Date.now() + 100 * 24 * 60 * 60 * 1000)
+ ).toISOString(),
+ done_date: undefined,
};
});
};
diff --git a/src/dataGenerator/types.ts b/src/dataGenerator/types.ts
index 32dbfa62..df0aa8c9 100644
--- a/src/dataGenerator/types.ts
+++ b/src/dataGenerator/types.ts
@@ -1,13 +1,21 @@
-import { RaRecord } from 'react-admin';
-import { Company, Contact, ContactNote, Deal, Sale, Tag } from '../types';
+import {
+ Company,
+ Contact,
+ ContactNote,
+ Deal,
+ DealNote,
+ Sale,
+ Tag,
+ Task,
+} from '../types';
export interface Db {
companies: Company[];
contacts: Contact[];
contactNotes: ContactNote[];
deals: Deal[];
- dealNotes: RaRecord[];
+ dealNotes: DealNote[];
sales: Sale[];
tags: Tag[];
- tasks: RaRecord[];
+ tasks: Task[];
}
diff --git a/src/dataGenerator/utils.ts b/src/dataGenerator/utils.ts
index e71c6ddc..41f5bdf1 100644
--- a/src/dataGenerator/utils.ts
+++ b/src/dataGenerator/utils.ts
@@ -1,28 +1,29 @@
-import { faker } from "@faker-js/faker";
+import faker from 'faker/locale/en';
export const weightedArrayElement = (values: any[], weights: any) =>
- faker.helpers.arrayElement(
- values.reduce(
- (acc, value, index) => acc.concat(new Array(weights[index]).fill(value)),
- []
- )
- );
+ faker.random.arrayElement(
+ values.reduce(
+ (acc, value, index) =>
+ acc.concat(new Array(weights[index]).fill(value)),
+ []
+ )
+ );
export const weightedBoolean = (likelyhood: number) =>
- faker.number.int(99) < likelyhood;
+ faker.random.number(99) < likelyhood;
export const randomDate = (minDate?: Date, maxDate?: Date) => {
- const minTs =
- minDate instanceof Date
- ? minDate.getTime()
- : Date.now() - 5 * 365 * 24 * 60 * 60 * 1000; // 5 years
- const maxTs = maxDate instanceof Date ? maxDate.getTime() : Date.now();
- const range = maxTs - minTs;
- const randomRange = faker.number.int({ max: range });
- // move it more towards today to account for traffic increase
- const ts = Math.sqrt(randomRange / range) * range;
- return new Date(minTs + ts);
+ const minTs =
+ minDate instanceof Date
+ ? minDate.getTime()
+ : Date.now() - 5 * 365 * 24 * 60 * 60 * 1000; // 5 years
+ const maxTs = maxDate instanceof Date ? maxDate.getTime() : Date.now();
+ const range = maxTs - minTs;
+ const randomRange = faker.random.number({ max: range });
+ // move it more towards today to account for traffic increase
+ const ts = Math.sqrt(randomRange / range) * range;
+ return new Date(minTs + ts);
};
export const randomFloat = (min: number, max: number) =>
- parseFloat(faker.number.float({ min, max, precision: 0.01 }).toFixed(2));
+ parseFloat(faker.random.number({ min, max, precision: 0.01 }).toFixed(2));
diff --git a/src/dataProvider.ts b/src/dataProvider.ts
index fdb27cb7..c4a1f0b5 100644
--- a/src/dataProvider.ts
+++ b/src/dataProvider.ts
@@ -1,79 +1,90 @@
-import { supabaseDataProvider } from "ra-supabase";
+import { supabaseDataProvider } from 'ra-supabase';
-import generateData from "./dataGenerator";
-import { supabase } from "./supabase";
-import { GetListParams, withLifecycleCallbacks } from "react-admin";
+import { DataProvider, GetListParams, withLifecycleCallbacks } from 'react-admin';
+import { supabase } from './supabase';
if (import.meta.env.VITE_SUPABASE_URL === undefined) {
- throw new Error("Please set the VITE_SUPABASE_URL environment variable");
+ throw new Error('Please set the VITE_SUPABASE_URL environment variable');
}
if (import.meta.env.VITE_SUPABASE_ANON_KEY === undefined) {
- throw new Error("Please set the VITE_SUPABASE_ANON_KEY environment variable");
+ throw new Error(
+ 'Please set the VITE_SUPABASE_ANON_KEY environment variable'
+ );
}
-export const dataProvider = withLifecycleCallbacks(
- supabaseDataProvider({
+const baseDataProvider = supabaseDataProvider({
instanceUrl: import.meta.env.VITE_SUPABASE_URL,
apiKey: import.meta.env.VITE_SUPABASE_ANON_KEY,
supabaseClient: supabase,
- }),
- [
- {
- resource: "contacts",
- beforeGetList: async (params) => {
- return applyFullTextSearch([
- "first_name",
- "last_name",
- "title",
- "email",
- "phone_number1",
- "phone_number2",
- "background",
- ])(params);
- },
- },
- {
- resource: "companies",
- beforeGetList: async (params) => {
- return applyFullTextSearch([
- "name",
- "phone_number",
- "website",
- "zipcode",
- "city",
- "stateAbbr",
- ])(params);
- },
- },
- {
- resource: "deals",
- beforeGetList: async (params) => {
- return applyFullTextSearch([
- "name",
- "type",
- "description",
- ])(params);
- },
+});
+
+const dataProviderWithCustomMethods = {
+ ...baseDataProvider,
+ async isInitialized() {
+ return false;
},
- ]
+} satisfies DataProvider;
+
+export type CustomDataProvider = typeof dataProviderWithCustomMethods;
+
+
+export const dataProvider = withLifecycleCallbacks(
+ dataProviderWithCustomMethods,
+ [
+ {
+ resource: 'contacts',
+ beforeGetList: async params => {
+ return applyFullTextSearch([
+ 'first_name',
+ 'last_name',
+ 'title',
+ 'email',
+ 'phone_number1',
+ 'phone_number2',
+ 'background',
+ ])(params);
+ },
+ },
+ {
+ resource: 'companies',
+ beforeGetList: async params => {
+ return applyFullTextSearch([
+ 'name',
+ 'phone_number',
+ 'website',
+ 'zipcode',
+ 'city',
+ 'stateAbbr',
+ ])(params);
+ },
+ },
+ {
+ resource: 'deals',
+ beforeGetList: async params => {
+ return applyFullTextSearch(['name', 'type', 'description'])(
+ params
+ );
+ },
+ },
+ ]
);
const applyFullTextSearch = (columns: string[]) => (params: GetListParams) => {
- if (!params.filter?.q) {
- return params;
- }
- const { q, ...filter } = params.filter;
- return {
- ...params,
- filter: {
- ...filter,
- "@or": columns.reduce(
- (acc, column) => ({
- ...acc,
- [`${column}@fts`]: q,
- }),
- {}
- ),
- },
- };
+ if (!params.filter?.q) {
+ return params;
+ }
+ const { q, ...filter } = params.filter;
+ return {
+ ...params,
+ filter: {
+ ...filter,
+ '@or': columns.reduce(
+ (acc, column) => ({
+ ...acc,
+ [`${column}@fts`]: q,
+ }),
+ {}
+ ),
+ },
+ };
};
diff --git a/src/dataProvider/activity.ts b/src/dataProvider/activity.ts
new file mode 100644
index 00000000..1d41992e
--- /dev/null
+++ b/src/dataProvider/activity.ts
@@ -0,0 +1,199 @@
+import { DataProvider, Identifier } from 'react-admin';
+import {
+ COMPANY_CREATED,
+ CONTACT_CREATED,
+ CONTACT_NOTE_CREATED,
+ DEAL_CREATED,
+ DEAL_NOTE_CREATED,
+} from '../consts';
+import {
+ Activity,
+ Company,
+ Contact,
+ ContactNote,
+ Deal,
+ DealNote,
+ Sale,
+} from '../types';
+
+export async function getActivityLog(
+ dataProvider: DataProvider,
+ companyId?: Identifier
+) {
+ const sales = await getSales(dataProvider);
+ const companies = await getCompaniesLog(dataProvider, sales, companyId);
+
+ const [contactsLog, dealsLog] = await Promise.all([
+ getContactsLog(dataProvider, sales, companies),
+ getDealsLog(dataProvider, sales, companies),
+ ]);
+ return companies.companiesLog.concat(contactsLog, dealsLog).sort(
+ (a, b) => a.date.localeCompare(b.date) * -1 // sort by date desc
+ );
+}
+
+async function getSales(dataProvider: DataProvider) {
+ const salesById = await dataProvider
+ .getList<Sale>('sales', {
+ pagination: { page: 1, perPage: 10_000 },
+ sort: { field: 'id', order: 'ASC' },
+ })
+ .then(({ data }) =>
+ data.reduce((acc, sale) => {
+ acc.set(sale.id, sale);
+ return acc;
+ }, new Map<Identifier, Sale>())
+ );
+
+ return {
+ salesById,
+ salesIds: [...salesById.keys()],
+ };
+}
+
+async function getCompaniesLog(
+ dataProvider: DataProvider,
+ { salesById, salesIds }: Awaited<ReturnType<typeof getSales>>,
+ companyId?: Identifier
+) {
+ const companies = await dataProvider
+ .getList<Company>('companies', {
+ filter: companyId
+ ? { id: companyId, sales_id: salesIds }
+ : { sales_id: salesIds },
+ pagination: { page: 1, perPage: 10_000 },
+ sort: { field: 'created_at', order: 'DESC' },
+ })
+ .then(({ data }) => data);
+
+ return {
+ companiesLog: companies.map<Activity>(company => ({
+ id: `company.${company.id}.created`,
+ type: COMPANY_CREATED,
+ company,
+ sale: salesById.get(company.sales_id) as Sale,
+ date: company.created_at,
+ })),
+ companiesIds: companies.map(({ id }) => id),
+ companiesById: companies.reduce((acc, company) => {
+ acc.set(company.id, company);
+ return acc;
+ }, new Map<Identifier, Company>()),
+ };
+}
+
+async function getContactsLog(
+ dataProvider: DataProvider,
+ { salesById: salesDict, salesIds }: Awaited<ReturnType<typeof getSales>>,
+ { companiesIds, companiesById }: Awaited<ReturnType<typeof getCompaniesLog>>
+) {
+ const contacts = await dataProvider
+ .getList<Contact>('contacts', {
+ filter: {
+ company_id: companiesIds,
+ sales_id: salesIds,
+ },
+ pagination: { page: 1, perPage: 10_000 },
+ sort: { field: 'first_seen', order: 'DESC' },
+ })
+ .then(({ data }) => data);
+
+ const contactsDict = contacts.reduce((acc, contact) => {
+ acc.set(contact.id, contact);
+ return acc;
+ }, new Map<Identifier, Contact>());
+
+ const contactNotes = await dataProvider
+ .getList<ContactNote>('contactNotes', {
+ filter: {
+ contact_id: contacts.map(({ id }) => id),
+ sales_id: salesIds,
+ },
+ pagination: { page: 1, perPage: 10_000 },
+ sort: { field: 'date', order: 'DESC' },
+ })
+ .then(({ data }) => data);
+
+ return contacts
+ .map<Activity>(contact => ({
+ id: `contact.${contact.id}.created`,
+ type: CONTACT_CREATED,
+ company: companiesById.get(contact.company_id) as Company,
+ sale: salesDict.get(contact.sales_id) as Sale,
+ contact,
+ date: contact.first_seen,
+ }))
+ .concat(
+ contactNotes.map<Activity>(contactNote => {
+ const contact = contactsDict.get(
+ contactNote.contact_id
+ ) as Contact;
+ return {
+ id: `contactNote.${contactNote.id}.created`,
+ type: CONTACT_NOTE_CREATED,
+ company: companiesById.get(contact.company_id) as Company,
+ sale: salesDict.get(contactNote.sales_id) as Sale,
+ contact,
+ contactNote,
+ date: contactNote.date.toISOString(),
+ };
+ })
+ );
+}
+
+async function getDealsLog(
+ dataProvider: DataProvider,
+ { salesById: salesDict, salesIds }: Awaited<ReturnType<typeof getSales>>,
+ { companiesIds, companiesById }: Awaited<ReturnType<typeof getCompaniesLog>>
+) {
+ const deals = await dataProvider
+ .getList<Deal>('deals', {
+ filter: {
+ company_id: companiesIds,
+ sales_id: salesIds,
+ },
+ pagination: { page: 1, perPage: 10_000 },
+ sort: { field: 'created_at', order: 'DESC' },
+ })
+ .then(({ data }) => data);
+
+ const dealsDict = deals.reduce((acc, deals) => {
+ acc.set(deals.id, deals);
+ return acc;
+ }, new Map<Identifier, Deal>());
+
+ const dealsNotes = await dataProvider
+ .getList<DealNote>('dealNotes', {
+ filter: {
+ deal_id: deals.map(({ id }) => id),
+ sales_id: salesIds,
+ },
+ pagination: { page: 1, perPage: 10_000 },
+ sort: { field: 'date', order: 'DESC' },
+ })
+ .then(({ data }) => data);
+
+ return deals
+ .map<Activity>(deal => ({
+ id: `deal.${deal.id}.created`,
+ type: DEAL_CREATED,
+ company: companiesById.get(deal.company_id) as Company,
+ sale: salesDict.get(deal.sales_id) as Sale,
+ deal,
+ date: deal.created_at,
+ }))
+ .concat(
+ dealsNotes.map<Activity>(dealNote => {
+ const deal = dealsDict.get(dealNote.deal_id) as Deal;
+ return {
+ id: `dealNote.${dealNote.id}.created`,
+ type: DEAL_NOTE_CREATED,
+ company: companiesById.get(deal.company_id) as Company,
+ sale: salesDict.get(dealNote.sales_id) as Sale,
+ deal,
+ dealNote,
+ date: dealNote.date.toISOString(),
+ };
+ })
+ );
+}
diff --git a/src/deals/ContactList.tsx b/src/deals/ContactList.tsx
index 77267475..c26e9834 100644
--- a/src/deals/ContactList.tsx
+++ b/src/deals/ContactList.tsx
@@ -1,45 +1,31 @@
import * as React from 'react';
import { useListContext } from 'react-admin';
-import { Box, Link } from '@mui/material';
+import { Link, Stack, Typography } from '@mui/material';
import { Link as RouterLink } from 'react-router-dom';
+import { Avatar } from '../contacts/Avatar';
export const ContactList = () => {
- const { data, isLoading } = useListContext();
-
- if (isLoading) return <div style={{ height: '2em' }} />;
+ const { data, error, isPending } = useListContext();
+ if (isPending || error) return <div style={{ height: '2em' }} />;
return (
- <Box
- component="ul"
- sx={{
- listStyle: 'none',
- padding: 0,
- margin: 0,
- display: 'inline-block',
- }}
- >
+ <Stack direction="row" flexWrap="wrap" gap={3} mt={1}>
{data.map(contact => (
- <Box
- component="li"
- key={contact.id}
- sx={{
- display: 'inline',
- '&:after': {
- content: '", "',
- },
- '&:last-child:after': {
- content: '""',
- },
- }}
- >
- <Link
- component={RouterLink}
- to={`/contacts/${contact.id}/show`}
- variant="subtitle1"
- >
- {contact.first_name} {contact.last_name}
- </Link>
- </Box>
+ <Stack direction="row" key={contact.id} gap={1}>
+ <Avatar record={contact} />
+ <Stack>
+ <Link
+ component={RouterLink}
+ to={`/contacts/${contact.id}/show`}
+ variant="body2"
+ >
+ {contact.first_name} {contact.last_name}
+ </Link>
+ <Typography variant="caption" color="text.secondary">
+ {contact.title} at {contact.company_name}
+ </Typography>
+ </Stack>
+ </Stack>
))}
- </Box>
+ </Stack>
);
};
diff --git a/src/deals/DealArchivedList.tsx b/src/deals/DealArchivedList.tsx
new file mode 100644
index 00000000..96bc6e2b
--- /dev/null
+++ b/src/deals/DealArchivedList.tsx
@@ -0,0 +1,123 @@
+import {
+ Button,
+ Dialog,
+ DialogContent,
+ DialogTitle,
+ Grid,
+ Stack,
+ Typography,
+} from '@mui/material';
+import { useEffect, useState } from 'react';
+import { useGetIdentity, useGetList } from 'react-admin';
+import { DealCardContent } from './DealCard';
+import { Deal } from '../types';
+import { DialogCloseButton } from '../misc/DialogCloseButton';
+
+export const DealArchivedList = () => {
+ const { identity } = useGetIdentity();
+ const {
+ data: archivedLists,
+ total,
+ isPending,
+ } = useGetList('deals', {
+ pagination: { page: 1, perPage: 1000 },
+ sort: { field: 'archived_at', order: 'DESC' },
+ filter: { archived_at_neq: null },
+ });
+ const [openDialog, setOpenDialog] = useState(false);
+
+ useEffect(() => {
+ if (!isPending && total === 0) {
+ setOpenDialog(false);
+ }
+ }, [isPending, total]);
+
+ useEffect(() => {
+ setOpenDialog(false);
+ }, [archivedLists]);
+
+ if (!identity || isPending || !total || !archivedLists) return null;
+
+ // Group archived lists by date
+ const archivedListsByDate: { [date: string]: Deal[] } =
+ archivedLists.reduce(
+ (acc, deal) => {
+ const date = new Date(deal.archived_at).toDateString();
+ if (!acc[date]) {
+ acc[date] = [];
+ }
+ acc[date].push(deal);
+ return acc;
+ },
+ {} as { [date: string]: Deal[] }
+ );
+
+ return (
+ <>
+ <Button variant="text" onClick={() => setOpenDialog(true)}>
+ View Archived List
+ </Button>
+ <Dialog
+ open={openDialog}
+ onClose={() => setOpenDialog(false)}
+ fullWidth
+ maxWidth="lg"
+ >
+ <DialogCloseButton onClose={() => setOpenDialog(false)} />
+ <DialogTitle>Archived Deals</DialogTitle>
+ <DialogContent>
+ <Stack gap={2}>
+ {Object.entries(archivedListsByDate).map(
+ ([date, deals]) => (
+ <Stack key={date} gap={1}>
+ <Typography
+ variant="body1"
+ fontWeight="bold"
+ >
+ {getRelativeTimeString(date)}
+ </Typography>
+ <Grid container spacing={2}>
+ {deals.map((deal: Deal) => (
+ <Grid
+ item
+ xs={12}
+ sm={6}
+ md={4}
+ key={deal.id}
+ >
+ <DealCardContent deal={deal} />
+ </Grid>
+ ))}
+ </Grid>
+ </Stack>
+ )
+ )}
+ </Stack>
+ </DialogContent>
+ </Dialog>
+ </>
+ );
+};
+
+export function getRelativeTimeString(dateString: string, lang = 'en'): string {
+ const date = new Date(dateString);
+ date.setHours(0, 0, 0, 0);
+
+ const today = new Date();
+ today.setHours(0, 0, 0, 0);
+
+ const diff = date.getTime() - today.getTime();
+ const unitDiff = Math.round(diff / (1000 * 60 * 60 * 24));
+
+ // Check if the date is more than one week old
+ if (Math.abs(unitDiff) > 7) {
+ return new Intl.DateTimeFormat(lang, {
+ day: 'numeric',
+ month: 'long',
+ }).format(date);
+ }
+
+ // Intl.RelativeTimeFormat for dates within the last week
+ const rtf = new Intl.RelativeTimeFormat(lang, { numeric: 'auto' });
+ return rtf.format(unitDiff, 'day');
+}
diff --git a/src/deals/DealCard.tsx b/src/deals/DealCard.tsx
index 311dafa5..124421a8 100644
--- a/src/deals/DealCard.tsx
+++ b/src/deals/DealCard.tsx
@@ -2,67 +2,82 @@ import * as React from 'react';
import { ReferenceField, useRedirect } from 'react-admin';
import { Box, Card, Typography } from '@mui/material';
import { Draggable } from '@hello-pangea/dnd';
-
-import { LogoField } from '../companies/LogoField';
import { Deal } from '../types';
+import { CompanyAvatar } from '../companies/CompanyAvatar';
export const DealCard = ({ deal, index }: { deal: Deal; index: number }) => {
- const redirect = useRedirect();
if (!deal) return null;
+ return (
+ <Draggable draggableId={String(deal.id)} index={index}>
+ {(provided, snapshot) => (
+ <DealCardContent
+ provided={provided}
+ snapshot={snapshot}
+ deal={deal}
+ />
+ )}
+ </Draggable>
+ );
+};
+
+export const DealCardContent = ({
+ provided,
+ snapshot,
+ deal,
+}: {
+ provided?: any;
+ snapshot?: any;
+ deal: Deal;
+}) => {
+ const redirect = useRedirect();
const handleClick = () => {
- redirect(`/deals/${deal.id}/show`);
+ redirect(`/deals/${deal.id}/show`, undefined, undefined, undefined, {
+ _scrollToTop: false,
+ });
};
return (
- <Draggable draggableId={String(deal.id)} index={index}>
- {(provided, snapshot) => (
- <Box
- sx={{ marginBottom: 1 }}
- {...provided.draggableProps}
- {...provided.dragHandleProps}
- ref={provided.innerRef}
- onClick={handleClick}
- >
- <Card
- style={{
- opacity: snapshot.isDragging ? 0.9 : 1,
- transform: snapshot.isDragging
- ? 'rotate(-2deg)'
- : '',
- }}
- elevation={snapshot.isDragging ? 3 : 1}
+ <Box
+ sx={{ marginBottom: 1, cursor: 'pointer' }}
+ {...provided?.draggableProps}
+ {...provided?.dragHandleProps}
+ ref={provided?.innerRef}
+ onClick={handleClick}
+ >
+ <Card
+ style={{
+ opacity: snapshot?.isDragging ? 0.9 : 1,
+ transform: snapshot?.isDragging ? 'rotate(-2deg)' : '',
+ }}
+ elevation={snapshot?.isDragging ? 3 : 1}
+ >
+ <Box padding={1} display="flex">
+ <ReferenceField
+ source="company_id"
+ record={deal}
+ reference="companies"
+ link={false}
>
- <Box padding={1} display="flex">
- <ReferenceField
- source="company_id"
- record={deal}
- reference="companies"
- >
- <LogoField size="small" />
- </ReferenceField>
- <Box sx={{ marginLeft: 1 }}>
- <Typography variant="body2" gutterBottom>
- {deal.name}
- </Typography>
- <Typography
- variant="caption"
- color="textSecondary"
- >
- {deal.amount.toLocaleString('en-US', {
- notation: 'compact',
- style: 'currency',
- currency: 'USD',
- currencyDisplay: 'narrowSymbol',
- minimumSignificantDigits: 3,
- })}
- , {deal.type}
- </Typography>
- </Box>
- </Box>
- </Card>
+ <CompanyAvatar width={20} height={20} />
+ </ReferenceField>
+ <Box sx={{ marginLeft: 1 }}>
+ <Typography variant="body2" gutterBottom>
+ {deal.name}
+ </Typography>
+ <Typography variant="caption" color="textSecondary">
+ {deal.amount.toLocaleString('en-US', {
+ notation: 'compact',
+ style: 'currency',
+ currency: 'USD',
+ currencyDisplay: 'narrowSymbol',
+ minimumSignificantDigits: 3,
+ })}
+ , {deal.category}
+ </Typography>
+ </Box>
</Box>
- )}
- </Draggable>
+ </Card>
+ </Box>
);
};
diff --git a/src/deals/DealColumn.tsx b/src/deals/DealColumn.tsx
index 9f880281..d7a15860 100644
--- a/src/deals/DealColumn.tsx
+++ b/src/deals/DealColumn.tsx
@@ -1,9 +1,10 @@
import { Droppable } from '@hello-pangea/dnd';
-import { Box, Typography } from '@mui/material';
+import { Box, Stack, Typography } from '@mui/material';
import { Deal } from '../types';
import { DealCard } from './DealCard';
-import { stageNames } from './stages';
+import { useConfigurationContext } from '../root/ConfigurationContext';
+import { findDealLabel } from './deal';
export const DealColumn = ({
stage,
@@ -11,49 +12,70 @@ export const DealColumn = ({
}: {
stage: string;
deals: Deal[];
-}) => (
- <Box
- sx={{
- flex: 1,
- paddingTop: '8px',
- paddingBottom: '16px',
- bgcolor: '#eaeaee',
- '&:first-child': {
- paddingLeft: '5px',
- borderTopLeftRadius: 5,
- },
- '&:last-child': {
- paddingRight: '5px',
- borderTopRightRadius: 5,
- },
- }}
- >
- <Typography align="center" variant="subtitle1">
- {/* @ts-ignore */}
- {stageNames[stage]}
- </Typography>
- <Droppable droppableId={stage}>
- {(droppableProvided, snapshot) => (
- <Box
- ref={droppableProvided.innerRef}
- {...droppableProvided.droppableProps}
- className={snapshot.isDraggingOver ? ' isDraggingOver' : ''}
- sx={{
- display: 'flex',
- flexDirection: 'column',
- borderRadius: 5,
- padding: '5px',
- '&.isDraggingOver': {
- bgcolor: '#dadadf',
- },
- }}
+}) => {
+ const totalAmount = deals.reduce((sum, deal) => sum + deal.amount, 0);
+
+ const { dealStages } = useConfigurationContext();
+ return (
+ <Box
+ sx={{
+ flex: 1,
+ paddingTop: '8px',
+ paddingBottom: '16px',
+ bgcolor: '#eaeaee',
+ '&:first-of-type': {
+ paddingLeft: '5px',
+ borderTopLeftRadius: 5,
+ },
+ '&:last-of-type': {
+ paddingRight: '5px',
+ borderTopRightRadius: 5,
+ },
+ }}
+ >
+ <Stack alignItems="center">
+ <Typography variant="subtitle1">
+ {findDealLabel(dealStages, stage)}
+ </Typography>
+ <Typography
+ variant="subtitle1"
+ color="text.secondary"
+ fontSize="small"
>
- {deals.map((deal, index) => (
- <DealCard key={deal.id} deal={deal} index={index} />
- ))}
- {droppableProvided.placeholder}
- </Box>
- )}
- </Droppable>
- </Box>
-);
+ {totalAmount.toLocaleString('en-US', {
+ notation: 'compact',
+ style: 'currency',
+ currency: 'USD',
+ currencyDisplay: 'narrowSymbol',
+ minimumSignificantDigits: 3,
+ })}
+ </Typography>
+ </Stack>
+ <Droppable droppableId={stage}>
+ {(droppableProvided, snapshot) => (
+ <Box
+ ref={droppableProvided.innerRef}
+ {...droppableProvided.droppableProps}
+ className={
+ snapshot.isDraggingOver ? ' isDraggingOver' : ''
+ }
+ sx={{
+ display: 'flex',
+ flexDirection: 'column',
+ borderRadius: 1,
+ padding: '5px',
+ '&.isDraggingOver': {
+ bgcolor: '#dadadf',
+ },
+ }}
+ >
+ {deals.map((deal, index) => (
+ <DealCard key={deal.id} deal={deal} index={index} />
+ ))}
+ {droppableProvided.placeholder}
+ </Box>
+ )}
+ </Droppable>
+ </Box>
+ );
+};
diff --git a/src/deals/DealCreate.tsx b/src/deals/DealCreate.tsx
index b831a8de..c337c528 100644
--- a/src/deals/DealCreate.tsx
+++ b/src/deals/DealCreate.tsx
@@ -1,95 +1,107 @@
-import * as React from "react";
+import { Dialog, DialogContent, DialogTitle } from '@mui/material';
+import { useQueryClient } from '@tanstack/react-query';
import {
- Create,
- SimpleForm,
- TextInput,
- SelectInput,
- NumberInput,
- ReferenceInput,
- AutocompleteInput,
- required,
- useRedirect,
- useDataProvider,
- useGetIdentity,
-} from "react-admin";
-import { Dialog } from "@mui/material";
-
-import { stageChoices } from "./stages";
-import { typeChoices } from "./types";
-import { Deal } from "../types";
-
-const validateRequired = required();
+ Create,
+ Form,
+ GetListResult,
+ SaveButton,
+ Toolbar,
+ useDataProvider,
+ useGetIdentity,
+ useListContext,
+ useRedirect,
+} from 'react-admin';
+import { DialogCloseButton } from '../misc/DialogCloseButton';
+import { Deal } from '../types';
+import { DealInputs } from './DealInputs';
export const DealCreate = ({ open }: { open: boolean }) => {
- const redirect = useRedirect();
- const dataProvider = useDataProvider();
- const { data: identity } = useGetIdentity();
+ const redirect = useRedirect();
+ const dataProvider = useDataProvider();
+ const { data: allDeals } = useListContext<Deal>();
- const handleClose = () => {
- redirect("/deals");
- };
+ const handleClose = () => {
+ redirect('/deals');
+ };
- const onSuccess = (deal: Deal) => {
- redirect("/deals");
- // increase the index of all deals in the same stage as the new deal
- dataProvider
- .getList("deals", {
- pagination: { page: 1, perPage: 50 },
- sort: { field: "id", order: "ASC" },
- filter: { stage: deal.stage },
- })
- .then(({ data: deals }) =>
- Promise.all(
- deals
- .filter((oldDeal) => oldDeal.id !== deal.id)
- .map((oldDeal) =>
- dataProvider.update("deals", {
- id: oldDeal.id,
- data: { index: oldDeal.index + 1 },
- previousData: oldDeal,
- })
+ const queryClient = useQueryClient();
+
+ const onSuccess = async (deal: Deal) => {
+ if (!allDeals) {
+ redirect('/deals');
+ return;
+ }
+ // increase the index of all deals in the same stage as the new deal
+ // first, get the list of deals in the same stage
+ const deals = allDeals.filter(
+ (d: Deal) => d.stage === deal.stage && d.id !== deal.id
+ );
+ // update the actual deals in the database
+ await Promise.all(
+ deals.map(async oldDeal =>
+ dataProvider.update('deals', {
+ id: oldDeal.id,
+ data: { index: oldDeal.index + 1 },
+ previousData: oldDeal,
+ })
)
- )
- );
- };
+ );
+ // refresh the list of deals in the cache as we used dataProvider.update(),
+ // which does not update the cache
+ const dealsById = deals.reduce(
+ (acc, d) => ({
+ ...acc,
+ [d.id]: { ...d, index: d.index + 1 },
+ }),
+ {} as { [key: string]: Deal }
+ );
+ const now = Date.now();
+ queryClient.setQueriesData<GetListResult | undefined>(
+ { queryKey: ['deals', 'getList'] },
+ res => {
+ if (!res) return res;
+ return {
+ ...res,
+ data: res.data.map((d: Deal) => dealsById[d.id] || d),
+ };
+ },
+ { updatedAt: now }
+ );
+ redirect('/deals');
+ };
+
+ const { identity } = useGetIdentity();
- return (
- <Dialog open={open} onClose={handleClose}>
- <Create<Deal>
- resource="deals"
- mutationOptions={{ onSuccess }}
- sx={{ width: 500, "& .RaCreate-main": { mt: 0 } }}
- transform={(data: Deal) => ({
- ...data,
- sales_id: identity?.id,
- })}
- >
- <SimpleForm defaultValues={{ index: 0 }}>
- <TextInput
- source="name"
- label="Deal name"
- fullWidth
- validate={validateRequired}
- />
- <TextInput source="description" multiline rows={3} fullWidth />
- <ReferenceInput source="company_id" reference="companies">
- <AutocompleteInput
- optionText="name"
- fullWidth
- validate={validateRequired}
- />
- </ReferenceInput>
- <SelectInput
- source="stage"
- choices={stageChoices}
- fullWidth
- validate={validateRequired}
- defaultValue="opportunity"
- />
- <SelectInput source="type" choices={typeChoices} fullWidth />
- <NumberInput source="amount" fullWidth defaultValue={0} />
- </SimpleForm>
- </Create>
- </Dialog>
- );
+ return (
+ <Dialog open={open} onClose={handleClose} fullWidth maxWidth="lg">
+ <Create<Deal>
+ resource="deals"
+ mutationOptions={{ onSuccess }}
+ sx={{ '& .RaCreate-main': { mt: 0 } }}
+ >
+ <DialogCloseButton onClose={handleClose} />
+ <DialogTitle
+ sx={{
+ paddingBottom: 0,
+ }}
+ >
+ Create a new deal
+ </DialogTitle>
+ <Form
+ defaultValues={{
+ sales_id: identity?.id,
+ contact_ids: [],
+ index: 0,
+ }}
+ >
+ <DialogContent>
+ <DealInputs />
+ </DialogContent>
+ <Toolbar>
+ <SaveButton />
+ </Toolbar>
+ </Form>
+ </Create>
+ </Dialog>
+ );
};
diff --git a/src/deals/DealEdit.tsx b/src/deals/DealEdit.tsx
new file mode 100644
index 00000000..39ad9cfb
--- /dev/null
+++ b/src/deals/DealEdit.tsx
@@ -0,0 +1,102 @@
+import { Button, DialogContent, Stack } from '@mui/material';
+import Dialog from '@mui/material/Dialog';
+import DialogTitle from '@mui/material/DialogTitle';
+import Typography from '@mui/material/Typography';
+import {
+ DeleteButton,
+ EditBase,
+ Form,
+ SaveButton,
+ Toolbar,
+ useNotify,
+ useRecordContext,
+ useRedirect,
+} from 'react-admin';
+import { Link } from 'react-router-dom';
+import { DialogCloseButton } from '../misc/DialogCloseButton';
+import { Deal } from '../types';
+import { DealInputs } from './DealInputs';
+
+export const DealEdit = ({ open, id }: { open: boolean; id?: string }) => {
+ const redirect = useRedirect();
+ const notify = useNotify();
+
+ const handleClose = () => {
+ redirect('/deals', undefined, undefined, undefined, {
+ _scrollToTop: false,
+ });
+ };
+
+ return (
+ <Dialog open={open} onClose={handleClose} fullWidth maxWidth="lg">
+ {!!id ? (
+ <EditBase
+ id={id}
+ mutationMode="pessimistic"
+ mutationOptions={{
+ onSuccess: () => {
+ notify('Deal updated');
+ redirect(
+ `/deals/${id}/show`,
+ undefined,
+ undefined,
+ undefined,
+ {
+ _scrollToTop: false,
+ }
+ );
+ },
+ }}
+ >
+ <DialogCloseButton onClose={handleClose} top={13} />
+ <EditHeader />
+ <Form>
+ <DialogContent>
+ <DealInputs />
+ </DialogContent>
+ <EditToolbar />
+ </Form>
+ </EditBase>
+ ) : null}
+ </Dialog>
+ );
+};
+
+function EditHeader() {
+ const deal = useRecordContext<Deal>();
+ if (!deal) {
+ return null;
+ }
+
+ return (
+ <DialogTitle
+ sx={{
+ paddingBottom: 0,
+ }}
+ >
+ <Stack
+ direction="row"
+ alignItems="center"
+ justifyContent="space-between"
+ spacing={1}
+ >
+ <Typography variant="h6">Edit {deal.name} deal</Typography>
+
+ <Stack direction="row" spacing={1} sx={{ pr: 3 }}>
+ <Button component={Link} to={`/deals/${deal.id}/show`}>
+ Back to deal
+ </Button>
+ </Stack>
+ </Stack>
+ </DialogTitle>
+ );
+}
+
+function EditToolbar() {
+ return (
+ <Toolbar sx={{ display: 'flex', justifyContent: 'space-between' }}>
+ <SaveButton />
+ <DeleteButton mutationMode="undoable" />
+ </Toolbar>
+ );
+}
diff --git a/src/deals/DealEmpty.tsx b/src/deals/DealEmpty.tsx
new file mode 100644
index 00000000..0b15e89a
--- /dev/null
+++ b/src/deals/DealEmpty.tsx
@@ -0,0 +1,72 @@
+import { LinearProgress, Stack, Typography } from '@mui/material';
+import { CreateButton, useGetList } from 'react-admin';
+import useAppBarHeight from '../misc/useAppBarHeight';
+import { matchPath, useLocation } from 'react-router';
+import { DealCreate } from './DealCreate';
+import { Contact } from '../types';
+import { Link } from 'react-router-dom';
+
+export const DealEmpty = () => {
+ const location = useLocation();
+ const matchCreate = matchPath('/deals/create', location.pathname);
+ const appbarHeight = useAppBarHeight();
+
+ // get Contact data
+ const { data: contacts, isPending: contactsLoading } = useGetList<Contact>(
+ 'contacts',
+ {
+ pagination: { page: 1, perPage: 1 },
+ }
+ );
+
+ if (contactsLoading) return <LinearProgress />;
+
+ return (
+ <Stack
+ justifyContent="center"
+ alignItems="center"
+ gap={3}
+ sx={{
+ height: `calc(100dvh - ${appbarHeight}px)`,
+ }}
+ >
+ <img src="./img/empty.svg" alt="No contacts found" />
+ {contacts && contacts.length > 0 ? (
+ <>
+ <Stack gap={0} alignItems="center">
+ <Typography variant="h6" fontWeight="bold">
+ No deals found
+ </Typography>
+ <Typography
+ variant="body2"
+ align="center"
+ color="text.secondary"
+ gutterBottom
+ >
+ It looks like your deal list is empty.
+ </Typography>
+ </Stack>
+ <Stack spacing={2} direction="row">
+ <CreateButton variant="contained" label="Create deal" />
+ </Stack>
+ <DealCreate open={!!matchCreate} />
+ </>
+ ) : (
+ <Typography
+ variant="body2"
+ align="center"
+ color="text.secondary"
+ gutterBottom
+ >
+ It looks like your contacts list is currently empty.
+ <br />
+ Please{' '}
+ <Link to="/contacts/create">
+ add your first contact
+ </Link>{' '}
+ before creating a deal.
+ </Typography>
+ )}
+ </Stack>
+ );
+};
diff --git a/src/deals/DealInputs.tsx b/src/deals/DealInputs.tsx
new file mode 100644
index 00000000..06401b47
--- /dev/null
+++ b/src/deals/DealInputs.tsx
@@ -0,0 +1,132 @@
+import { Divider, Stack } from '@mui/material';
+import {
+ AutocompleteArrayInput,
+ AutocompleteInput,
+ DateInput,
+ NumberInput,
+ ReferenceArrayInput,
+ ReferenceInput,
+ required,
+ SelectInput,
+ TextInput,
+ useCreate,
+ useGetIdentity,
+ useNotify,
+ useRecordContext,
+} from 'react-admin';
+import { Avatar } from '../contacts/Avatar';
+import { useConfigurationContext } from '../root/ConfigurationContext';
+import { Contact } from '../types';
+
+const validateRequired = required();
+
+export const DealInputs = () => {
+ const { dealStages, dealCategories } = useConfigurationContext();
+
+ const [create] = useCreate();
+ const notify = useNotify();
+ const { identity } = useGetIdentity();
+
+ const handleCreateCompany = async (name?: string) => {
+ if (!name) return;
+ try {
+ const newCompany = await create(
+ 'companies',
+ {
+ data: {
+ name,
+ sales_id: identity?.id,
+ created_at: new Date().toISOString(),
+ },
+ },
+ { returnPromise: true }
+ );
+ return newCompany;
+ } catch (error) {
+ notify('An error occurred while creating the company', {
+ type: 'error',
+ });
+ }
+ };
+ return (
+ <>
+ <TextInput
+ source="name"
+ label="Deal name"
+ validate={validateRequired}
+ helperText={false}
+ />
+ <TextInput
+ source="description"
+ multiline
+ rows={3}
+ helperText={false}
+ />
+ <Divider sx={{ my: 2, width: '100%' }} />
+ <ReferenceInput source="company_id" reference="companies">
+ <AutocompleteInput
+ optionText="name"
+ onCreate={handleCreateCompany}
+ validate={validateRequired}
+ helperText={false}
+ />
+ </ReferenceInput>
+
+ <ReferenceArrayInput source="contact_ids" reference="contacts">
+ <AutocompleteArrayInput
+ label="Contacts"
+ optionText={contactOptionText}
+ inputText={contactInputText}
+ helperText={false}
+ />
+ </ReferenceArrayInput>
+ <Divider sx={{ my: 2, width: '100%' }} />
+ <SelectInput
+ source="stage"
+ choices={dealStages.map(stage => ({
+ id: stage.value,
+ name: stage.label,
+ }))}
+ validate={validateRequired}
+ defaultValue="opportunity"
+ helperText={false}
+ />
+ <SelectInput
+ source="category"
+ label="Category"
+ choices={dealCategories.map(type => ({
+ id: type,
+ name: type,
+ }))}
+ helperText={false}
+ />
+ <NumberInput
+ source="amount"
+ defaultValue={0}
+ validate={validateRequired}
+ helperText={false}
+ />
+ <Divider sx={{ my: 2, width: '100%' }} />
+ <DateInput
+ source="expected_closing_date"
+ fullWidth
+ validate={[validateRequired]}
+ helperText={false}
+ />
+ </>
+ );
+};
+
+const ContactOptionRender = () => {
+ const record: Contact | undefined = useRecordContext();
+ if (!record) return null;
+ return (
+ <Stack direction="row" gap={1} alignItems="center">
+ <Avatar record={record} />
+ {record.first_name} {record.last_name}
+ </Stack>
+ );
+};
+const contactOptionText = <ContactOptionRender />;
+const contactInputText = (choice: { first_name: string; last_name: string }) =>
+ `${choice.first_name} ${choice.last_name}`;
diff --git a/src/deals/DealList.tsx b/src/deals/DealList.tsx
index c67aee1c..2926793d 100644
--- a/src/deals/DealList.tsx
+++ b/src/deals/DealList.tsx
@@ -1,53 +1,99 @@
-import * as React from 'react';
import {
CreateButton,
ExportButton,
FilterButton,
- List,
+ ListBase,
+ ListToolbar,
+ ReferenceInput,
SearchInput,
SelectInput,
+ Title,
TopToolbar,
useGetIdentity,
+ useListContext,
} from 'react-admin';
import { matchPath, useLocation } from 'react-router';
-import { DealListContent } from './DealListContent';
+import { Card, LinearProgress, Stack } from '@mui/material';
+import { hasOtherFiltersThanDefault } from '../misc/hasOtherFiltersThanDefault';
+import { useConfigurationContext } from '../root/ConfigurationContext';
+import { DealArchivedList } from './DealArchivedList';
import { DealCreate } from './DealCreate';
+import { DealEdit } from './DealEdit';
+import { DealEmpty } from './DealEmpty';
+import { DealListContent } from './DealListContent';
import { DealShow } from './DealShow';
import { OnlyMineInput } from './OnlyMineInput';
-import { typeChoices } from './types';
const DealList = () => {
const { identity } = useGetIdentity();
+
+ if (!identity) return null;
+ return (
+ <ListBase
+ perPage={100}
+ filterDefaultValues={{
+ sales_id: identity?.id,
+ }}
+ filter={{
+ archived_at_eq: null,
+ }}
+ sort={{ field: 'index', order: 'DESC' }}
+ >
+ <DealLayout />
+ </ListBase>
+ );
+};
+
+const DealLayout = () => {
const location = useLocation();
const matchCreate = matchPath('/deals/create', location.pathname);
const matchShow = matchPath('/deals/:id/show', location.pathname);
- if (!identity) return null;
+ const matchEdit = matchPath('/deals/:id', location.pathname);
+
+ const { dealCategories } = useConfigurationContext();
+
+ const dealFilters = [
+ <SearchInput source="q" alwaysOn />,
+ <ReferenceInput source="company_id" reference="companies" />,
+ <SelectInput
+ source="category"
+ label="Category"
+ choices={dealCategories.map(type => ({ id: type, name: type }))}
+ />,
+ <OnlyMineInput source="sales_id" alwaysOn />,
+ ];
+
+ const { data, isPending, filterValues } = useListContext();
+ const { identity } = useGetIdentity();
+ const hasOtherFiltersThanDefaultBoolean = hasOtherFiltersThanDefault(
+ filterValues,
+ 'sales_id',
+ identity?.id
+ );
+
+ if (isPending) return <LinearProgress />;
+ if (!data?.length && !hasOtherFiltersThanDefaultBoolean)
+ return <DealEmpty />;
+
return (
- <>
- <List
- perPage={100}
- sort={{ field: 'index', order: 'ASC' }}
- filters={dealFilters}
- filterDefaultValues={{ sales_id: identity && identity?.id }}
- actions={<DealActions />}
- pagination={false}
- component="div"
- >
+ <Stack component="div" sx={{ width: '100%' }}>
+ <Title title={'Deals'} />
+ <ListToolbar filters={dealFilters} actions={<DealActions />} />
+ <Card>
<DealListContent />
- </List>
+ </Card>
+ <DealArchivedList />
<DealCreate open={!!matchCreate} />
+ <DealEdit
+ open={!!matchEdit && !matchCreate}
+ id={matchEdit?.params.id}
+ />
<DealShow open={!!matchShow} id={matchShow?.params.id} />
- </>
+ </Stack>
);
};
-const dealFilters = [
- <SearchInput source="q" alwaysOn />,
- <OnlyMineInput alwaysOn />,
- <SelectInput source="type" choices={typeChoices} />,
-];
-
const DealActions = () => {
return (
<TopToolbar>
diff --git a/src/deals/DealListContent.tsx b/src/deals/DealListContent.tsx
index 6e26f08c..460fe370 100644
--- a/src/deals/DealListContent.tsx
+++ b/src/deals/DealListContent.tsx
@@ -6,19 +6,21 @@ import { DataProvider, useDataProvider, useListContext } from 'react-admin';
import { Deal } from '../types';
import { DealColumn } from './DealColumn';
-import { DealsByStage, getDealsByStage, stages } from './stages';
+import { DealsByStage, getDealsByStage } from './stages';
+import { useConfigurationContext } from '../root/ConfigurationContext';
export const DealListContent = () => {
- const { data: unorderedDeals, isLoading, refetch } = useListContext<Deal>();
+ const { dealStages } = useConfigurationContext();
+ const { data: unorderedDeals, isPending, refetch } = useListContext<Deal>();
const dataProvider = useDataProvider();
const [dealsByStage, setDealsByStage] = useState<DealsByStage>(
- getDealsByStage([])
+ getDealsByStage([], dealStages)
);
useEffect(() => {
if (unorderedDeals) {
- const newDealsByStage = getDealsByStage(unorderedDeals);
+ const newDealsByStage = getDealsByStage(unorderedDeals, dealStages);
if (!isEqual(newDealsByStage, dealsByStage)) {
setDealsByStage(newDealsByStage);
}
@@ -26,7 +28,7 @@ export const DealListContent = () => {
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [unorderedDeals]);
- if (isLoading) return null;
+ if (isPending) return null;
const onDragEnd: OnDragEndResponder = result => {
const { destination, source } = result;
@@ -71,11 +73,11 @@ export const DealListContent = () => {
return (
<DragDropContext onDragEnd={onDragEnd}>
<Box display="flex">
- {stages.map(stage => (
+ {dealStages.map(stage => (
<DealColumn
- stage={stage}
- deals={dealsByStage[stage]}
- key={stage}
+ stage={stage.value}
+ deals={dealsByStage[stage.value]}
+ key={stage.value}
/>
))}
</Box>
@@ -195,21 +197,19 @@ const updateDealStage = async (
} else {
// moving deal across columns
// Fetch all the deals in both stages (because the list may be filtered, but we need to update even non-filtered deals)
- const [
- { data: sourceDeals },
- { data: destinationDeals },
- ] = await Promise.all([
- dataProvider.getList('deals', {
- sort: { field: 'index', order: 'ASC' },
- pagination: { page: 1, perPage: 100 },
- filter: { stage: source.stage },
- }),
- dataProvider.getList('deals', {
- sort: { field: 'index', order: 'ASC' },
- pagination: { page: 1, perPage: 100 },
- filter: { stage: destination.stage },
- }),
- ]);
+ const [{ data: sourceDeals }, { data: destinationDeals }] =
+ await Promise.all([
+ dataProvider.getList('deals', {
+ sort: { field: 'index', order: 'ASC' },
+ pagination: { page: 1, perPage: 100 },
+ filter: { stage: source.stage },
+ }),
+ dataProvider.getList('deals', {
+ sort: { field: 'index', order: 'ASC' },
+ pagination: { page: 1, perPage: 100 },
+ filter: { stage: destination.stage },
+ }),
+ ]);
const destinationIndex =
destination.index ?? destinationDeals.length + 1;
diff --git a/src/deals/DealShow.tsx b/src/deals/DealShow.tsx
index a46c7411..f5de4448 100644
--- a/src/deals/DealShow.tsx
+++ b/src/deals/DealShow.tsx
@@ -1,45 +1,52 @@
-import * as React from 'react';
import {
- ShowBase,
- TextField,
+ Box,
+ Button,
+ Dialog,
+ DialogContent,
+ Divider,
+ Stack,
+ Typography,
+} from '@mui/material';
+import { useMutation } from '@tanstack/react-query';
+import { format } from 'date-fns';
+import {
+ DeleteButton,
+ EditButton,
+ ReferenceArrayField,
ReferenceField,
ReferenceManyField,
- ReferenceArrayField,
+ ShowBase,
+ TextField,
+ useDataProvider,
+ useNotify,
useRecordContext,
useRedirect,
+ useRefresh,
+ useUpdate,
} from 'react-admin';
-import { Box, Dialog, DialogContent, Typography, Divider } from '@mui/material';
-import { format } from 'date-fns';
+import ArchiveIcon from '@mui/icons-material/Archive';
+import UnarchiveIcon from '@mui/icons-material/Unarchive';
import { CompanyAvatar } from '../companies/CompanyAvatar';
+import { DialogCloseButton } from '../misc/DialogCloseButton';
import { NotesIterator } from '../notes';
+import { useConfigurationContext } from '../root/ConfigurationContext';
+import { Deal } from '../types';
import { ContactList } from './ContactList';
-import { stageNames } from './stages';
+import { findDealLabel } from './deal';
export const DealShow = ({ open, id }: { open: boolean; id?: string }) => {
const redirect = useRedirect();
-
const handleClose = () => {
redirect('list', 'deals');
};
return (
- <Dialog
- open={open}
- onClose={handleClose}
- fullWidth
- maxWidth="md"
- sx={{
- '.MuiDialog-paper': {
- position: 'absolute',
- top: 50,
- },
- }}
- >
- <DialogContent>
+ <Dialog open={open} onClose={handleClose} fullWidth maxWidth="lg">
+ <DialogContent sx={{ padding: 0 }}>
{!!id ? (
<ShowBase id={id}>
- <DealShowContent />
+ <DealShowContent handleClose={handleClose} />
</ShowBase>
) : null}
</DialogContent>
@@ -47,124 +54,263 @@ export const DealShow = ({ open, id }: { open: boolean; id?: string }) => {
);
};
-const DealShowContent = () => {
- const record = useRecordContext();
+const CLOSE_TOP_WITH_ARCHIVED = 64 + 22 + 8; // 22 is initial top, 8 is padding, 64 is the height of the archived title
+const DealShowContent = ({ handleClose }: { handleClose: () => void }) => {
+ const { dealStages } = useConfigurationContext();
+ const record = useRecordContext<Deal>();
if (!record) return null;
return (
- <div>
- <Box display="flex">
- <Box
- width={100}
- display="flex"
- flexDirection="column"
- alignItems="center"
- >
- <ReferenceField
- source="company_id"
- reference="companies"
- link="show"
- >
- <CompanyAvatar />
- </ReferenceField>
- <ReferenceField
- source="company_id"
- reference="companies"
- link="show"
+ <>
+ <DialogCloseButton
+ onClose={handleClose}
+ top={record.archived_at ? CLOSE_TOP_WITH_ARCHIVED : 22}
+ right={20}
+ />
+ <Stack gap={1}>
+ {record.archived_at ? <ArchivedTitle /> : null}
+ <Box display="flex" p={3}>
+ <Box
+ width={100}
+ display="flex"
+ flexDirection="column"
+ alignItems="center"
>
- <TextField
- source="name"
- align="center"
- component="div"
- />
- </ReferenceField>
- </Box>
- <Box ml={2} flex="1">
- <Typography variant="h5">{record.name}</Typography>
-
- <Box display="flex" mt={2}>
- <Box display="flex" mr={5} flexDirection="column">
- <Typography color="textSecondary" variant="body2">
- Start
- </Typography>
- <Typography variant="subtitle1">
- {format(new Date(record.start_at), 'PP')}
- </Typography>
- </Box>
+ <ReferenceField
+ source="company_id"
+ reference="companies"
+ link="show"
+ >
+ <CompanyAvatar />
+ </ReferenceField>
+ <ReferenceField
+ source="company_id"
+ reference="companies"
+ link="show"
+ >
+ <TextField
+ source="name"
+ align="center"
+ component="div"
+ />
+ </ReferenceField>
+ </Box>
+ <Box ml={2} flex="1">
+ <Stack direction="row" justifyContent="space-between">
+ <Typography variant="h5">{record.name}</Typography>
+ <Stack gap={1} direction="row" pr={4}>
+ {record.archived_at ? (
+ <>
+ <UnarchiveButton record={record} />
+ <DeleteButton />
+ </>
+ ) : (
+ <>
+ <ArchiveButton record={record} />
+ <EditButton scrollToTop={false} />
+ </>
+ )}
+ </Stack>
+ </Stack>
- <Box display="flex" mr={5} flexDirection="column">
- <Typography color="textSecondary" variant="body2">
- Budget
- </Typography>
- <Typography variant="subtitle1">
- {record.amount.toLocaleString('en-US', {
- notation: 'compact',
- style: 'currency',
- currency: 'USD',
- currencyDisplay: 'narrowSymbol',
- minimumSignificantDigits: 3,
- })}
- </Typography>
- </Box>
+ <Box display="flex" mb={2} mt={2}>
+ <Box display="flex" mr={5} flexDirection="column">
+ <Typography
+ color="textSecondary"
+ variant="caption"
+ >
+ Expected closing date
+ </Typography>
+ <Typography variant="body2">
+ {format(record.expected_closing_date, 'PP')}
+ </Typography>
+ </Box>
- <Box display="flex" mr={5} flexDirection="column">
- <Typography color="textSecondary" variant="body2">
- Type
- </Typography>
- <Typography variant="subtitle1">
- {record.type}
- </Typography>
- </Box>
+ <Box display="flex" mr={5} flexDirection="column">
+ <Typography
+ color="textSecondary"
+ variant="caption"
+ >
+ Budget
+ </Typography>
+ <Typography variant="body2">
+ {record.amount.toLocaleString('en-US', {
+ notation: 'compact',
+ style: 'currency',
+ currency: 'USD',
+ currencyDisplay: 'narrowSymbol',
+ minimumSignificantDigits: 3,
+ })}
+ </Typography>
+ </Box>
+
+ {record.category && (
+ <Box
+ display="flex"
+ mr={5}
+ flexDirection="column"
+ >
+ <Typography
+ color="textSecondary"
+ variant="caption"
+ >
+ Category
+ </Typography>
+ <Typography variant="body2">
+ {record.category}
+ </Typography>
+ </Box>
+ )}
- <Box display="flex" mr={5} flexDirection="column">
- <Typography color="textSecondary" variant="body2">
- Stage
- </Typography>
- <Typography variant="subtitle1">
- {/* @ts-ignore */}
- {stageNames[record.stage]}
- </Typography>
+ <Box display="flex" mr={5} flexDirection="column">
+ <Typography
+ color="textSecondary"
+ variant="caption"
+ >
+ Stage
+ </Typography>
+ <Typography variant="body2">
+ {findDealLabel(dealStages, record.stage)}
+ </Typography>
+ </Box>
</Box>
- </Box>
- <Box mt={2} mb={2}>
- <Box
- display="flex"
- mr={5}
- flexDirection="column"
- minHeight={48}
- >
- <Typography color="textSecondary" variant="body2">
- Contacts
- </Typography>
- <ReferenceArrayField
- source="contact_ids"
- reference="contacts"
+ {!!record.contact_ids?.length && (
+ <Box mb={2}>
+ <Box
+ display="flex"
+ mr={5}
+ flexDirection="column"
+ minHeight={48}
+ >
+ <Typography
+ color="textSecondary"
+ variant="caption"
+ >
+ Contacts
+ </Typography>
+ <ReferenceArrayField
+ source="contact_ids"
+ reference="contacts"
+ >
+ <ContactList />
+ </ReferenceArrayField>
+ </Box>
+ </Box>
+ )}
+
+ {record.description && (
+ <Box mt={2} mb={2} sx={{ whiteSpace: 'pre-line' }}>
+ <Typography
+ color="textSecondary"
+ variant="caption"
+ >
+ Description
+ </Typography>
+ <Typography variant="body2">
+ {record.description}
+ </Typography>
+ </Box>
+ )}
+
+ <Divider />
+
+ <Box mt={2}>
+ <ReferenceManyField
+ target="deal_id"
+ reference="dealNotes"
+ sort={{ field: 'date', order: 'DESC' }}
>
- <ContactList />
- </ReferenceArrayField>
+ <NotesIterator reference="deals" />
+ </ReferenceManyField>
</Box>
</Box>
+ </Box>
+ </Stack>
+ </>
+ );
+};
- <Box mt={2} mb={2} style={{ whiteSpace: 'pre-line' }}>
- <Typography color="textSecondary" variant="body2">
- Description
- </Typography>
- <Typography>{record.description}</Typography>
- </Box>
+const ArchivedTitle = () => (
+ <Box
+ sx={{
+ background: theme => theme.palette.warning.main,
+ px: 3,
+ py: 2,
+ }}
+ >
+ <Typography
+ variant="h6"
+ fontWeight="bold"
+ sx={{
+ color: theme => theme.palette.warning.contrastText,
+ }}
+ >
+ Archived Deal
+ </Typography>
+ </Box>
+);
+
+const ArchiveButton = ({ record }: { record: Deal }) => {
+ const [update] = useUpdate();
+ const redirect = useRedirect();
+ const notify = useNotify();
+ const refresh = useRefresh();
+ const handleClick = () => {
+ update(
+ 'deals',
+ {
+ id: record.id,
+ data: { archived_at: new Date().toISOString() },
+ previousData: record,
+ },
+ {
+ onSuccess: () => {
+ redirect('list', 'deals');
+ notify('Deal archived', { type: 'info', undoable: false });
+ refresh();
+ },
+ onError: () => {
+ notify('Error: deal not archived', { type: 'error' });
+ },
+ }
+ );
+ };
- <Divider />
+ return (
+ <Button onClick={handleClick} startIcon={<ArchiveIcon />}>
+ Archive
+ </Button>
+ );
+};
- <Box mt={2}>
- <ReferenceManyField
- target="deal_id"
- reference="dealNotes"
- sort={{ field: 'date', order: 'DESC' }}
- >
- <NotesIterator reference="deals" />
- </ReferenceManyField>
- </Box>
- </Box>
- </Box>
- </div>
+const UnarchiveButton = ({ record }: { record: Deal }) => {
+ const dataProvider = useDataProvider();
+ const redirect = useRedirect();
+ const notify = useNotify();
+ const refresh = useRefresh();
+
+ const { mutate } = useMutation({
+ mutationFn: () => dataProvider.unarchiveDeal(record),
+ onSuccess: () => {
+ redirect('list', 'deals');
+ notify('Deal unarchived', {
+ type: 'info',
+ undoable: false,
+ });
+ refresh();
+ },
+ onError: () => {
+ notify('Error: deal not unarchived', { type: 'error' });
+ },
+ });
+
+ const handleClick = () => {
+ mutate();
+ };
+
+ return (
+ <Button onClick={handleClick} startIcon={<UnarchiveIcon />}>
+ Send back to the board
+ </Button>
);
};
diff --git a/src/deals/OnlyMineInput.tsx b/src/deals/OnlyMineInput.tsx
index bc987698..029dbd19 100644
--- a/src/deals/OnlyMineInput.tsx
+++ b/src/deals/OnlyMineInput.tsx
@@ -2,12 +2,9 @@ import * as React from 'react';
import { useListFilterContext, useGetIdentity } from 'react-admin';
import { Box, Switch, FormControlLabel } from '@mui/material';
-export const OnlyMineInput = (_: { alwaysOn: boolean }) => {
- const {
- filterValues,
- displayedFilters,
- setFilters,
- } = useListFilterContext();
+export const OnlyMineInput = (_: { alwaysOn: boolean; source: string }) => {
+ const { filterValues, displayedFilters, setFilters } =
+ useListFilterContext();
const { identity } = useGetIdentity();
const handleChange = () => {
@@ -35,5 +32,3 @@ export const OnlyMineInput = (_: { alwaysOn: boolean }) => {
</Box>
);
};
-
-OnlyMineInput.defaultProps = { source: 'sales_id' };
diff --git a/src/deals/deal.ts b/src/deals/deal.ts
new file mode 100644
index 00000000..85bfebf8
--- /dev/null
+++ b/src/deals/deal.ts
@@ -0,0 +1,5 @@
+import { DealStage } from '../types';
+
+export const findDealLabel = (dealStages: DealStage[], dealValue: string) => {
+ return dealStages.find(dealStage => dealStage.value === dealValue)?.label;
+};
diff --git a/src/deals/stages.ts b/src/deals/stages.ts
index 077f214d..ebc06f91 100644
--- a/src/deals/stages.ts
+++ b/src/deals/stages.ts
@@ -1,45 +1,26 @@
+import { ConfigurationContextValue } from '../root/ConfigurationContext';
import { Deal } from '../types';
-export const stages = [
- 'opportunity',
- 'proposal-sent',
- 'in-negociation',
- 'won',
- 'lost',
- 'delayed',
-];
-
-export const stageNames = {
- opportunity: 'Opportunity',
- 'proposal-sent': 'Proposal Sent',
- 'in-negociation': 'In Negociation',
- won: 'Won',
- lost: 'Lost',
- delayed: 'Delayed',
-};
-
-export const stageChoices = stages.map(type => ({
- id: type,
- /* @ts-ignore */
- name: stageNames[type],
-}));
-
export type DealsByStage = Record<Deal['stage'], Deal[]>;
-export const getDealsByStage = (unorderedDeals: Deal[]) => {
+export const getDealsByStage = (
+ unorderedDeals: Deal[],
+ dealStages: ConfigurationContextValue['dealStages']
+) => {
+ if (!dealStages) return {};
const dealsByStage: Record<Deal['stage'], Deal[]> = unorderedDeals.reduce(
(acc, deal) => {
acc[deal.stage].push(deal);
return acc;
},
- stages.reduce(
- (obj, stage) => ({ ...obj, [stage]: [] }),
+ dealStages.reduce(
+ (obj, stage) => ({ ...obj, [stage.value]: [] }),
{} as Record<Deal['stage'], Deal[]>
)
);
// order each column by index
- stages.forEach(stage => {
- dealsByStage[stage] = dealsByStage[stage].sort(
+ dealStages.forEach(stage => {
+ dealsByStage[stage.value] = dealsByStage[stage.value].sort(
(recordA: Deal, recordB: Deal) => recordA.index - recordB.index
);
});
diff --git a/src/deals/types.ts b/src/deals/types.ts
deleted file mode 100644
index f001d947..00000000
--- a/src/deals/types.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-export const types = [
- 'Other',
- 'Copywriting',
- 'Print project',
- 'UI Design',
- 'Website design',
-];
-
-export const typeChoices = types.map(type => ({ id: type, name: type }));
diff --git a/src/index.tsx b/src/index.tsx
index 5740dbf9..bbda3918 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -1,13 +1,15 @@
import React from 'react';
-import ReactDOM from 'react-dom';
+import { createRoot } from 'react-dom/client';
import App from './App';
import reportWebVitals from './reportWebVitals';
-ReactDOM.render(
+const container = document.getElementById('root');
+const root = createRoot(container!);
+
+root.render(
<React.StrictMode>
<App />
- </React.StrictMode>,
- document.getElementById('root')
+ </React.StrictMode>
);
// If you want to start measuring performance in your app, pass a function
diff --git a/src/login/LoginForm.tsx b/src/login/LoginForm.tsx
new file mode 100644
index 00000000..44268c16
--- /dev/null
+++ b/src/login/LoginForm.tsx
@@ -0,0 +1,112 @@
+import * as React from 'react';
+import { styled } from '@mui/material/styles';
+import {
+ Button,
+ CardActions,
+ CardContent,
+ CircularProgress,
+} from '@mui/material';
+import { Form, useLogin, useNotify, useSafeSetState } from 'ra-core';
+import { Login, TextInput } from 'react-admin';
+import { SubmitHandler } from 'react-hook-form';
+
+const PREFIX = 'RaLoginForm';
+
+export const LoginFormClasses = {
+ content: `${PREFIX}-content`,
+ button: `${PREFIX}-button`,
+ icon: `${PREFIX}-icon`,
+};
+
+const StyledForm = styled(Form, {
+ name: PREFIX,
+ overridesResolver: (props, styles) => styles.root,
+})(({ theme }) => ({
+ [`& .${LoginFormClasses.content}`]: {
+ width: 300,
+ },
+ [`& .${LoginFormClasses.button}`]: {
+ marginTop: theme.spacing(2),
+ },
+ [`& .${LoginFormClasses.icon}`]: {
+ margin: theme.spacing(0.3),
+ },
+}));
+
+export const LoginForm = () => {
+ const [loading, setLoading] = useSafeSetState(false);
+ const login = useLogin();
+ const notify = useNotify();
+
+ const submit: SubmitHandler<FieldValues> = values => {
+ setLoading(true);
+ login(values)
+ .then(() => {
+ setLoading(false);
+ })
+ .catch(error => {
+ setLoading(false);
+ notify(
+ typeof error === 'string'
+ ? error
+ : typeof error === 'undefined' || !error.message
+ ? 'ra.auth.sign_in_error'
+ : error.message,
+ {
+ type: 'error',
+ messageArgs: {
+ _:
+ typeof error === 'string'
+ ? error
+ : error && error.message
+ ? error.message
+ : undefined,
+ },
+ }
+ );
+ });
+ };
+
+ return (
+ <Login>
+ <StyledForm onSubmit={submit} mode="onChange" noValidate>
+ <CardContent className={LoginFormClasses.content}>
+ <TextInput
+ autoFocus
+ source="email"
+ label="email"
+ autoComplete="email"
+ />
+ <TextInput
+ source="password"
+ label="Password"
+ type="password"
+ autoComplete="current-password"
+ />
+ </CardContent>
+ <CardActions sx={{ flexDirection: 'column', gap: 1 }}>
+ <Button
+ variant="contained"
+ type="submit"
+ color="primary"
+ disabled={loading}
+ fullWidth
+ className={LoginFormClasses.button}
+ >
+ {loading ? (
+ <CircularProgress
+ className={LoginFormClasses.icon}
+ size={19}
+ thickness={3}
+ />
+ ) : (
+ 'Sign In'
+ )}
+ </Button>
+ </CardActions>
+ </StyledForm>
+ </Login>
+ );
+};
+
+type FieldValues = Record<string, any>;
diff --git a/src/login/LoginPage.tsx b/src/login/LoginPage.tsx
new file mode 100644
index 00000000..3e18eadf
--- /dev/null
+++ b/src/login/LoginPage.tsx
@@ -0,0 +1,22 @@
+import { useQuery } from '@tanstack/react-query';
+import { useDataProvider } from 'react-admin';
+import { Navigate } from 'react-router-dom';
+import { CustomDataProvider } from '../dataProvider';
+import { LoginForm } from './LoginForm';
+import { LoginSkeleton } from './LoginSkeleton';
+
+export const LoginPage = () => {
+ const dataProvider = useDataProvider<CustomDataProvider>();
+ const { data: isInitialized, error, isPending } = useQuery({
+ queryKey: ['init'],
+ queryFn: async () => {
+ return dataProvider.isInitialized();
+ },
+ })
+
+ if (isPending) return <LoginSkeleton />;
+ if (error) return <LoginForm />;
+ if (isInitialized) return <LoginForm />;
+
+ return <Navigate to="/sign-up" />;
+};
diff --git a/src/login/LoginSkeleton.tsx b/src/login/LoginSkeleton.tsx
new file mode 100644
index 00000000..96da0e92
--- /dev/null
+++ b/src/login/LoginSkeleton.tsx
@@ -0,0 +1,27 @@
+import { Container, Skeleton, Stack } from '@mui/material';
+
+export const LoginSkeleton = () => {
+ return (
+ <Container maxWidth="xl" sx={{ height: '100dvh', pt: 2 }}>
+ <Stack sx={{ height: '100%' }}>
+ <Container
+ maxWidth="sm"
+ sx={{
+ height: '100%',
+ display: 'flex',
+ flexDirection: 'column',
+ justifyContent: 'center',
+ gap: 2,
+ }}
+ >
+ <Skeleton variant="rectangular" width="100%" height={100} />
+ <Skeleton variant="rectangular" width="80%" height={50} />
+ <Skeleton variant="rectangular" width="100%" height={36} />
+ <Skeleton variant="rectangular" width="100%" height={36} />
+ <Skeleton variant="rectangular" width="100%" height={36} />
+ <Skeleton variant="rectangular" width="40%" height={36} />
+ </Container>
+ </Stack>
+ </Container>
+ );
+};
diff --git a/src/login/SignupPage.tsx b/src/login/SignupPage.tsx
new file mode 100644
index 00000000..46140627
--- /dev/null
+++ b/src/login/SignupPage.tsx
@@ -0,0 +1,153 @@
+import { Button, Container, Stack, TextField, Typography } from '@mui/material';
+import { useQuery } from '@tanstack/react-query';
+import { useCreate, useDataProvider, useLogin, useNotify } from 'react-admin';
+import { SubmitHandler, useForm } from 'react-hook-form';
+import { Navigate } from 'react-router';
+import { CustomDataProvider } from '../dataProvider';
+import { useConfigurationContext } from '../root/ConfigurationContext';
+import { LoginSkeleton } from './LoginSkeleton';
+
+interface UserInput {
+ first_name: string;
+ last_name: string;
+ email: string;
+ password: string;
+}
+
+export const SignupPage = () => {
+ const dataProvider = useDataProvider<CustomDataProvider>();
+ const { logo, title } = useConfigurationContext();
+ const { data: isInitialized, isPending } = useQuery({
+ queryKey: ['init'],
+ queryFn: async () => {
+ return dataProvider.isInitialized();
+ },
+ })
+
+ const login = useLogin();
+ const notify = useNotify();
+ const [create] = useCreate();
+
+ const {
+ register,
+ handleSubmit,
+ formState: { isValid },
+ } = useForm<UserInput>({
+ mode: 'onChange',
+ });
+
+ if (isPending) {
+ return <LoginSkeleton />;
+ }
+
+ // For the moment, we only allow one user to sign up. Other users must be created by the administrator.
+ if (isInitialized) {
+ return <Navigate to="/login" />;
+ }
+
+ const onSubmit: SubmitHandler<UserInput> = async data => {
+ await create(
+ 'sales',
+ { data: { ...data, administrator: true } }, // The first sale is an administrator
+ {
+ onSuccess: () => {
+ login({
+ email: data.email,
+ password: data.password,
+ redirectTo: '/contacts',
+ });
+ setTimeout(() => {
+ notify(
+ 'Welcome! You can now start entering contacts, write notes and plan deals'
+ );
+ }, 0);
+ },
+ onError: () => {
+ notify('An error occurred. Please try again.');
+ },
+ }
+ );
+ };
+
+ return (
+ <Stack sx={{ height: '100dvh', p: 2 }}>
+ <Stack direction="row" alignItems="center" gap={1}>
+ <img src={logo} alt={title} width={50} />
+ <Typography component="span" variant="h5">
+ {title}
+ </Typography>
+ </Stack>
+ <Stack sx={{ height: '100%' }}>
+ <Container
+ maxWidth="xs"
+ sx={{
+ height: '100%',
+ display: 'flex',
+ flexDirection: 'column',
+ justifyContent: 'center',
+ gap: 1,
+ }}
+ >
+ <Typography variant="h3" component="h1" gutterBottom>
+ Welcome!
+ </Typography>
+ <Typography variant="body1" gutterBottom>
+ Create your account to manage your contacts, companies,
+ and deals.
+ </Typography>
+ <form onSubmit={handleSubmit(onSubmit)}>
+ <TextField
+ {...register('first_name', { required: true })}
+ label="First name"
+ variant="outlined"
+ helperText={false}
+ InputLabelProps={{ shrink: true }}
+ required
+ />
+ <TextField
+ {...register('last_name', { required: true })}
+ label="Last name"
+ variant="outlined"
+ helperText={false}
+ InputLabelProps={{ shrink: true }}
+ required
+ />
+ <TextField
+ {...register('email', { required: true })}
+ label="Email"
+ type="email"
+ variant="outlined"
+ helperText={false}
+ InputLabelProps={{ shrink: true }}
+ required
+ />
+ <TextField
+ {...register('password', { required: true })}
+ label="Password"
+ type="password"
+ variant="outlined"
+ InputLabelProps={{ shrink: true }}
+ required
+ />
+ <Stack
+ direction="row"
+ justifyContent="space-between"
+ alignItems="center"
+ mt={2}
+ >
+ <Button
+ type="submit"
+ variant="contained"
+ disabled={!isValid}
+ >
+ Create account
+ </Button>
+ </Stack>
+ </form>
+ </Container>
+ </Stack>
+ </Stack>
+ );
+};
+
+SignupPage.path = '/sign-up';
diff --git a/src/misc/DialogCloseButton.tsx b/src/misc/DialogCloseButton.tsx
new file mode 100644
index 00000000..d0a451d8
--- /dev/null
+++ b/src/misc/DialogCloseButton.tsx
@@ -0,0 +1,27 @@
+import { IconButton } from '@mui/material';
+import CloseIcon from '@mui/icons-material/Close';
+
+export const DialogCloseButton = ({
+ onClose,
+ top = 8,
+ right = 8,
+}: {
+ onClose: () => void;
+ top?: number;
+ right?: number;
+}) => {
+ return (
+ <IconButton
+ aria-label="close"
+ onClick={onClose}
+ sx={{
+ position: 'absolute',
+ right,
+ top,
+ color: theme => theme.palette.grey[500],
+ }}
+ >
+ <CloseIcon />
+ </IconButton>
+ );
+};
diff --git a/src/misc/ImageEditorField.tsx b/src/misc/ImageEditorField.tsx
new file mode 100644
index 00000000..e0051340
--- /dev/null
+++ b/src/misc/ImageEditorField.tsx
@@ -0,0 +1,154 @@
+import {
+ Avatar,
+ AvatarProps,
+ Box,
+ Button,
+ Dialog,
+ DialogActions,
+ DialogContent,
+ DialogTitle,
+ Stack,
+ Tooltip,
+} from '@mui/material';
+import 'cropperjs/dist/cropper.css';
+import { useFieldValue } from 'ra-core';
+import { createRef, useCallback, useState } from 'react';
+import { FieldProps, Toolbar } from 'react-admin';
+import { Cropper, ReactCropperElement } from 'react-cropper';
+import { useDropzone } from 'react-dropzone';
+import { useFormContext } from 'react-hook-form';
+import { DialogCloseButton } from './DialogCloseButton';
+
+const ImageEditorField = (props: ImageEditorFieldProps) => {
+ const { getValues } = useFormContext();
+ const imageUrl = getValues(props.source);
+ const [isDialogOpen, setIsDialogOpen] = useState(false);
+
+ const commonProps = {
+ src: imageUrl,
+ onClick: () => setIsDialogOpen(true),
+ style: { cursor: 'pointer' },
+ sx: {
+ ...props.sx,
+ width: props.width || (props.type === 'avatar' ? 50 : 200),
+ height: props.height || (props.type === 'avatar' ? 50 : 200),
+ },
+ };
+
+ return (
+ <div style={{ position: 'relative', display: 'inline-block' }}>
+ <Tooltip title="Update image" followCursor>
+ {props.type === 'avatar' ? (
+ <Avatar {...commonProps}>{props.emptyText}</Avatar>
+ ) : (
+ <Box component={'img'} {...commonProps} />
+ )}
+ </Tooltip>
+ <ImageEditorDialog
+ open={isDialogOpen}
+ onClose={() => setIsDialogOpen(false)}
+ {...props}
+ />
+ </div>
+ );
+};
+
+const ImageEditorDialog = (props: ImageEditorDialogProps) => {
+ const { setValue, handleSubmit } = useFormContext();
+ const cropperRef = createRef<ReactCropperElement>();
+ const initialValue = useFieldValue(props);
+ const [imageSrc, setImageSrc] = useState<string | undefined>(initialValue);
+ const onDrop = useCallback((files: File[]) => {
+ const preview = URL.createObjectURL(files[0]);
+ setImageSrc(preview);
+ }, []);
+
+ const updateImage = () => {
+ const cropper = cropperRef.current?.cropper;
+ const croppedImage = cropper?.getCroppedCanvas().toDataURL();
+ if (croppedImage) {
+ setImageSrc(croppedImage);
+ setValue(props.source, croppedImage, { shouldDirty: true });
+ props.onClose();
+
+ if (props.onSave) {
+ handleSubmit(props.onSave)();
+ }
+ }
+ };
+
+ const { getRootProps, getInputProps } = useDropzone({
+ accept: { 'image/jpeg': ['.jpeg', '.png'] },
+ onDrop,
+ maxFiles: 1,
+ });
+
+ return (
+ <Dialog
+ open={props.open}
+ onClose={props.onClose}
+ fullWidth
+ maxWidth="md"
+ >
+ {props.type === 'avatar' && (
+ <style>
+ {`
+ .cropper-crop-box,
+ .cropper-view-box {
+ border-radius: 50%;
+ }
+ `}
+ </style>
+ )}
+ <DialogCloseButton onClose={props.onClose} />
+ <DialogTitle>Resize your image</DialogTitle>
+ <DialogContent>
+ <Stack gap={2} justifyContent="center">
+ <Stack
+ direction="row"
+ justifyContent="center"
+ {...getRootProps()}
+ sx={{
+ backgroundColor: 'rgba(0, 0, 0, 0.05)',
+ cursor: 'pointer',
+ }}
+ >
+ <input {...getInputProps()} />
+ <p>Drop a file to upload, or click to select it.</p>
+ </Stack>
+ <Cropper
+ ref={cropperRef}
+ src={imageSrc}
+ aspectRatio={1}
+ guides={false}
+ cropBoxResizable={false}
+ />
+ </Stack>
+ </DialogContent>
+ <DialogActions sx={{ p: 0 }}>
+ <Toolbar sx={{ width: '100%' }}>
+ <Button variant="contained" onClick={updateImage}>
+ Update Image
+ </Button>
+ </Toolbar>
+ </DialogActions>
+ </Dialog>
+ );
+};
+
+export default ImageEditorField;
+
+export interface ImageEditorFieldProps<
+ RecordType extends Record<string, any> = Record<string, any>,
+> extends FieldProps<RecordType>,
+ AvatarProps {
+ width?: number;
+ height?: number;
+ type?: 'avatar' | 'image';
+ onSave?: any;
+}
+
+export interface ImageEditorDialogProps extends ImageEditorFieldProps {
+ open: boolean;
+ onClose: () => void;
+}
diff --git a/src/misc/Status.tsx b/src/misc/Status.tsx
index a63a3574..54792137 100644
--- a/src/misc/Status.tsx
+++ b/src/misc/Status.tsx
@@ -1,25 +1,24 @@
import * as React from 'react';
-import { Box } from '@mui/material';
+import { Box, Tooltip } from '@mui/material';
+import { useConfigurationContext } from '../root/ConfigurationContext';
-const getColorFromStatus = (status: string) =>
- status === 'cold'
- ? '#7dbde8'
- : status === 'warm'
- ? '#e8cb7d'
- : status === 'hot'
- ? '#e88b7d'
- : status === 'in-contract'
- ? '#a4e87d'
- : '#000';
+export const Status = ({ status }: { status: string }) => {
+ const { noteStatuses } = useConfigurationContext();
+ if (!status || !noteStatuses) return null;
+ const statusObject = noteStatuses.find((s: any) => s.value === status);
-export const Status = ({ status }: { status: string }) => (
- <Box
- marginLeft={0.5}
- width={10}
- height={10}
- display="inline-block"
- borderRadius="5px"
- bgcolor={getColorFromStatus(status)}
- component="span"
- />
-);
+ if (!statusObject) return null;
+ return (
+ <Tooltip title={statusObject.label} placement="top">
+ <Box
+ marginLeft={0.5}
+ width={10}
+ height={10}
+ display="inline-block"
+ borderRadius="5px"
+ bgcolor={statusObject.color}
+ component="span"
+ />
+ </Tooltip>
+ );
+};
diff --git a/src/misc/getCompanyAvatar.spec.ts b/src/misc/getCompanyAvatar.spec.ts
new file mode 100644
index 00000000..fbb546ca
--- /dev/null
+++ b/src/misc/getCompanyAvatar.spec.ts
@@ -0,0 +1,24 @@
+/**
+ * @jest-environment node
+ */
+
+import { Company } from '../types';
+import { getCompanyAvatar } from './getCompanyAvatar';
+
+it('should return favicon URL if website url exist', async () => {
+ const website = 'https://gravatar.com';
+ const record: Partial<Company> = { website };
+
+ const avatarUrl = await getCompanyAvatar(record);
+ expect(avatarUrl).toStrictEqual({
+ src: 'https://gravatar.com/favicon.ico',
+ title: 'Company favicon',
+ });
+});
+
+it('should return null if no website is provided', async () => {
+ const record: Partial<Company> = {};
+
+ const avatarUrl = await getCompanyAvatar(record);
+ expect(avatarUrl).toBeNull();
+});
diff --git a/src/misc/getCompanyAvatar.ts b/src/misc/getCompanyAvatar.ts
new file mode 100644
index 00000000..4b7deff0
--- /dev/null
+++ b/src/misc/getCompanyAvatar.ts
@@ -0,0 +1,38 @@
+import { Company } from '../types';
+
+// Helper function to get the favicon URL
+async function getFaviconUrl(website: string): Promise<string | null> {
+ try {
+ const faviconUrl = `${website}/favicon.ico`;
+ const response = await fetch(faviconUrl);
+ if (response.ok) {
+ return faviconUrl;
+ }
+ } catch (error) {
+ return null;
+ }
+ return null;
+}
+
+// Main function to get the avatar URL
+export async function getCompanyAvatar(record: Partial<Company>): Promise<{
+ src: string;
+ title: string;
+} | null> {
+ if (!record.website) {
+ return null;
+ }
+
+ // Step 1: Try to get favicon from website domain
+ const faviconUrl = await getFaviconUrl(record.website);
+ if (faviconUrl) {
+ return {
+ src: faviconUrl,
+ title: 'Company favicon',
+ };
+ }
+
+ // TODO: Step 2: Try to get image from LinkedIn.
+
+ return null;
+}
diff --git a/src/misc/getContactAvatar.spec.ts b/src/misc/getContactAvatar.spec.ts
new file mode 100644
index 00000000..ed8673c7
--- /dev/null
+++ b/src/misc/getContactAvatar.spec.ts
@@ -0,0 +1,58 @@
+/**
+ * @jest-environment node
+ */
+
+// This test file uses the node environment because the getContactAvatar uses the TextEncoder API. This API is not available in the version of JSDOM used by Jest in CI.
+// As CI uses Node18 and not the latest LTS, the crypto module is not available in the global scope.
+
+import { Contact } from '../types';
+import { getContactAvatar, hash } from './getContactAvatar';
+
+// eslint-disable-next-line no-global-assign
+import { webcrypto } from 'node:crypto';
+
+Object.defineProperty(globalThis, 'crypto', {
+ value: webcrypto,
+});
+
+it('should return gravatar URL for [email protected]', async () => {
+ const email = '[email protected]';
+ const record: Partial<Contact> = { email };
+
+ const avatarUrl = await getContactAvatar(record);
+ const hashedEmail = await hash(email);
+ expect(avatarUrl).toBe(
+ `https://www.gravatar.com/avatar/${hashedEmail}?d=404`
+ );
+});
+
+it('should return favicon URL if gravatar does not exist', async () => {
+ const email = '[email protected]';
+ const record: Partial<Contact> = { email };
+
+ const avatarUrl = await getContactAvatar(record);
+ expect(avatarUrl).toBe('https://gravatar.com/favicon.ico');
+});
+
+it('should not return favicon URL if not domain not allowed', async () => {
+ const email = '[email protected]';
+ const record: Partial<Contact> = { email };
+
+ const avatarUrl = await getContactAvatar(record);
+ expect(avatarUrl).toBeNull();
+});
+
+it('should return null if no email is provided', async () => {
+ const record: Partial<Contact> = {};
+
+ const avatarUrl = await getContactAvatar(record);
+ expect(avatarUrl).toBeNull();
+});
+
+it('should return null if email has no gravatar or validate domain', async () => {
+ const email = '[email protected]';
+ const record: Partial<Contact> = { email };
+
+ const avatarUrl = await getContactAvatar(record);
+ expect(avatarUrl).toBeNull();
+});
diff --git a/src/misc/getContactAvatar.ts b/src/misc/getContactAvatar.ts
new file mode 100644
index 00000000..407e720c
--- /dev/null
+++ b/src/misc/getContactAvatar.ts
@@ -0,0 +1,67 @@
+import { Contact } from '../types';
+import { DOMAINS_NOT_SUPPORTING_FAVICON } from './unsupportedDomains.const';
+
+export async function hash(string: string) {
+ const utf8 = new TextEncoder().encode(string);
+ const hashBuffer = await crypto.subtle.digest('SHA-256', utf8);
+ const hashArray = Array.from(new Uint8Array(hashBuffer));
+ const hashHex = hashArray
+ .map(bytes => bytes.toString(16).padStart(2, '0'))
+ .join('');
+ return hashHex;
+}
+
+// Helper function to get the Gravatar URL
+async function getGravatarUrl(email: string): Promise<string> {
+ const hashEmail = await hash(email);
+ return `https://www.gravatar.com/avatar/${hashEmail}?d=404`;
+}
+
+// Helper function to get the favicon URL
+async function getFaviconUrl(domain: string): Promise<string | null> {
+ if (DOMAINS_NOT_SUPPORTING_FAVICON.includes(domain)) {
+ return null;
+ }
+
+ try {
+ const faviconUrl = `https://${domain}/favicon.ico`;
+ const response = await fetch(faviconUrl);
+ if (response.ok) {
+ return faviconUrl;
+ }
+ } catch (error) {
+ return null;
+ }
+ return null;
+}
+
+// Main function to get the avatar URL
+export async function getContactAvatar(
+ record: Partial<Contact>
+): Promise<string | null> {
+ if (!record.email) {
+ return null;
+ }
+
+ // Step 1: Try to get Gravatar image
+ const gravatarUrl = await getGravatarUrl(record.email);
+ try {
+ const gravatarResponse = await fetch(gravatarUrl);
+ if (gravatarResponse.ok) {
+ return gravatarUrl;
+ }
+ } catch (error) {
+ // Gravatar not found
+ }
+
+ // Step 2: Try to get favicon from email domain
+ const domain = record.email.split('@')[1];
+ const faviconUrl = await getFaviconUrl(domain);
+ if (faviconUrl) {
+ return faviconUrl;
+ }
+
+ // TODO: Step 3: Try to get image from LinkedIn.
+
+ return null;
+}
diff --git a/src/misc/hasOtherFiltersThanDefault.ts b/src/misc/hasOtherFiltersThanDefault.ts
new file mode 100644
index 00000000..5b511923
--- /dev/null
+++ b/src/misc/hasOtherFiltersThanDefault.ts
@@ -0,0 +1,10 @@
+export function hasOtherFiltersThanDefault(
+ filterValues: { [key: string]: any },
+ defaultFilterKey: string,
+ defaultFilterValue: unknown
+): boolean {
+ return Object.keys(filterValues).some(
+ key =>
+ key !== defaultFilterKey || filterValues[key] !== defaultFilterValue
+ );
+}
diff --git a/src/misc/isLinkedInUrl.ts b/src/misc/isLinkedInUrl.ts
new file mode 100644
index 00000000..517b0734
--- /dev/null
+++ b/src/misc/isLinkedInUrl.ts
@@ -0,0 +1,15 @@
+const LINKEDIN_URL_REGEX = /^http(?:s)?:\/\/(?:www\.)?linkedin.com\//;
+
+export const isLinkedinUrl = (url: string) => {
+ if (!url) return;
+ try {
+ // Parse the URL to ensure it is valid
+ const parsedUrl = new URL(url);
+ if (!parsedUrl.href.match(LINKEDIN_URL_REGEX)) {
+ return 'URL must be from linkedin.com';
+ }
+ } catch (e) {
+ // If URL parsing fails, return false
+ return 'Must be a valid URL';
+ }
+};
diff --git a/src/misc/unsupportedDomains.const.ts b/src/misc/unsupportedDomains.const.ts
new file mode 100644
index 00000000..3bf3eb3c
--- /dev/null
+++ b/src/misc/unsupportedDomains.const.ts
@@ -0,0 +1,105 @@
+// If you want to add more domains to the list, you can do so by adding them to the DOMAINS_NOT_SUPPORTING_FAVICON array.
+export const DOMAINS_NOT_SUPPORTING_FAVICON = [
+ 'gmail.com',
+ 'yahoo.com',
+ 'hotmail.com',
+ 'aol.com',
+ 'hotmail.co.uk',
+ 'hotmail.fr',
+ 'msn.com',
+ 'yahoo.fr',
+ 'wanadoo.fr',
+ 'orange.fr',
+ 'comcast.net',
+ 'yahoo.co.uk',
+ 'yahoo.com.br',
+ 'yahoo.co.in',
+ 'live.com',
+ 'rediffmail.com',
+ 'free.fr',
+ 'gmx.de',
+ 'web.de',
+ 'yandex.ru',
+ 'ymail.com',
+ 'libero.it',
+ 'outlook.com',
+ 'uol.com.br',
+ 'bol.com.br',
+ 'mail.ru',
+ 'cox.net',
+ 'hotmail.it',
+ 'sbcglobal.net',
+ 'sfr.fr',
+ 'live.fr',
+ 'verizon.net',
+ 'live.co.uk',
+ 'googlemail.com',
+ 'yahoo.es',
+ 'ig.com.br',
+ 'live.nl',
+ 'bigpond.com',
+ 'terra.com.br',
+ 'yahoo.it',
+ 'neuf.fr',
+ 'yahoo.de',
+ 'alice.it',
+ 'rocketmail.com',
+ 'att.net',
+ 'laposte.net',
+ 'facebook.com',
+ 'bellsouth.net',
+ 'yahoo.in',
+ 'hotmail.es',
+ 'charter.net',
+ 'yahoo.ca',
+ 'yahoo.com.au',
+ 'rambler.ru',
+ 'hotmail.de',
+ 'tiscali.it',
+ 'shaw.ca',
+ 'yahoo.co.jp',
+ 'sky.com',
+ 'earthlink.net',
+ 'optonline.net',
+ 'freenet.de',
+ 't-online.de',
+ 'aliceadsl.fr',
+ 'virgilio.it',
+ 'home.nl',
+ 'qq.com',
+ 'telenet.be',
+ 'me.com',
+ 'yahoo.com.ar',
+ 'tiscali.co.uk',
+ 'yahoo.com.mx',
+ 'voila.fr',
+ 'gmx.net',
+ 'mail.com',
+ 'planet.nl',
+ 'tin.it',
+ 'live.it',
+ 'ntlworld.com',
+ 'arcor.de',
+ 'yahoo.co.id',
+ 'frontiernet.net',
+ 'hetnet.nl',
+ 'live.com.au',
+ 'yahoo.com.sg',
+ 'zonnet.nl',
+ 'club-internet.fr',
+ 'juno.com',
+ 'optusnet.com.au',
+ 'blueyonder.co.uk',
+ 'bluewin.ch',
+ 'skynet.be',
+ 'sympatico.ca',
+ 'windstream.net',
+ 'mac.com',
+ 'centurytel.net',
+ 'chello.nl',
+ 'live.ca',
+ 'aim.com',
+ 'bigpond.net.au',
+ 'online.de',
+ 'apple.com',
+];
diff --git a/src/misc/useAppBarHeight.ts b/src/misc/useAppBarHeight.ts
new file mode 100644
index 00000000..4c0d4fce
--- /dev/null
+++ b/src/misc/useAppBarHeight.ts
@@ -0,0 +1,12 @@
+import { useMediaQuery, useTheme } from '@mui/material';
+
+const DENSE_NAVBAR_HEIGHT = 48;
+const DENSE_NAVBAR_HEIGHT_MOBILE = 64;
+
+export default function useAppBarHeight(): number {
+ const { breakpoints } = useTheme();
+ const queryDesktop = breakpoints.up('sm');
+ return useMediaQuery(queryDesktop)
+ ? DENSE_NAVBAR_HEIGHT
+ : DENSE_NAVBAR_HEIGHT_MOBILE;
+}
diff --git a/src/misc/useReferenceManyCount.ts b/src/misc/useReferenceManyCount.ts
deleted file mode 100644
index d52d66cc..00000000
--- a/src/misc/useReferenceManyCount.ts
+++ /dev/null
@@ -1,23 +0,0 @@
-import { RaRecord, useGetManyReference, useRecordContext } from "react-admin";
-
-export const useReferenceManyCount = (props: {
- record?: RaRecord;
- reference: string;
- target: string;
-}) => {
- const record = useRecordContext(props);
- const { total } = useGetManyReference(
- props.reference,
- {
- target: props.target,
- id: record?.id,
- pagination: { page: 1, perPage: 1 },
- sort: { field: "id", order: "DESC" },
- },
- {
- enabled: !!record,
- }
- );
-
- return total ?? 0;
-};
diff --git a/src/notes/NewNote.tsx b/src/notes/NewNote.tsx
deleted file mode 100644
index e4dab75a..00000000
--- a/src/notes/NewNote.tsx
+++ /dev/null
@@ -1,145 +0,0 @@
-import * as React from 'react';
-import { useState, FormEvent } from 'react';
-import {
- useRecordContext,
- useListContext,
- useCreate,
- useUpdate,
- useNotify,
- useGetIdentity,
- Identifier,
- useResourceContext,
-} from 'react-admin';
-import { Box, TextField as TextInput, Button } from '@mui/material';
-
-import { StatusSelector } from './StatusSelector';
-
-export const NewNote = ({
- showStatus,
- reference,
-}: {
- showStatus?: boolean;
- reference: 'contacts' | 'deals';
-}) => {
- const resource = useResourceContext();
- const record = useRecordContext();
- const { refetch } = useListContext();
- const [text, setText] = useState('');
- const [status, setStatus] = useState(record && record.status);
- const [date, setDate] = useState(getCurrentDate());
- const [create, { isLoading }] = useCreate();
- const [update] = useUpdate();
- const notify = useNotify();
- const { identity } = useGetIdentity();
- if (!record || !identity) return null;
-
- const handleSubmit = (event: FormEvent<HTMLFormElement>) => {
- event.preventDefault();
- const data: any = {
- [foreignKeyMapping[reference]]: record.id,
- sales_id: identity.id,
- date,
- text,
- };
- if (showStatus) {
- data.status = status;
- }
- create(
- resource,
- { data },
- {
- onSuccess: () => {
- setText('');
- notify('Note added successfully');
- refetch();
- update(reference, {
- id: ((record && record.id) as unknown) as Identifier,
- data: {
- last_seen: date,
- status,
- },
- previousData: record,
- });
- },
- }
- );
- return false;
- };
- return (
- <Box mt={4} mb={1}>
- <form onSubmit={handleSubmit}>
- <TextInput
- label="Add a note"
- variant="filled"
- size="small"
- fullWidth
- multiline
- value={text}
- onChange={(event: React.ChangeEvent<HTMLInputElement>) =>
- setText(event.target.value)
- }
- rows={3}
- />
- <Box display="flex" justifyContent="space-between" mt={1}>
- <span>
- {text ? (
- <>
- {showStatus && (
- <StatusSelector
- status={status}
- setStatus={setStatus}
- sx={{
- marginRight: '1em',
- '& .MuiFilledInput-input': {
- paddingTop: '10px',
- },
- width: 150,
- }}
- />
- )}
- <TextInput
- type="datetime-local"
- variant="filled"
- size="small"
- value={date}
- onChange={(
- event: React.ChangeEvent<
- HTMLInputElement
- >
- ) => {
- setDate(event.target.value);
- }}
- sx={{
- marginRight: '1em',
- '& .MuiFilledInput-input': {
- paddingTop: '10px',
- },
- }}
- />
- </>
- ) : null}
- </span>
- <Button
- type="submit"
- variant="contained"
- color="primary"
- disabled={!text || isLoading}
- >
- Add this note
- </Button>
- </Box>
- </form>
- </Box>
- );
-};
-
-const getCurrentDate = () => {
- const now = new Date();
- now.setMinutes(now.getMinutes() - now.getTimezoneOffset());
- return now.toISOString().slice(0, -1);
-};
-
-const foreignKeyMapping = {
- contacts: 'contact_id',
- deals: 'deal_id',
-};
diff --git a/src/notes/Note.tsx b/src/notes/Note.tsx
index 9ecacc17..9cef8e2b 100644
--- a/src/notes/Note.tsx
+++ b/src/notes/Note.tsx
@@ -1,46 +1,48 @@
+import ContentSave from '@mui/icons-material/Save';
+import {
+ Box,
+ Button,
+ IconButton,
+ Stack,
+ Tooltip,
+ Typography,
+} from '@mui/material';
import * as React from 'react';
-import { useState, FormEvent, ChangeEvent } from 'react';
+import { useState } from 'react';
import {
- TextField,
- ReferenceField,
DateField,
- useResourceContext,
+ Form,
+ ReferenceField,
+ TextField,
useDelete,
- useUpdate,
useNotify,
- useRecordContext,
+ useResourceContext,
+ useUpdate,
} from 'react-admin';
-import {
- Box,
- Typography,
- Tooltip,
- IconButton,
- FilledInput,
- Button,
-} from '@mui/material';
-import EditIcon from '@mui/icons-material/Edit';
+
import TrashIcon from '@mui/icons-material/Delete';
+import EditIcon from '@mui/icons-material/Edit';
+import { FieldValues, SubmitHandler } from 'react-hook-form';
import { Status } from '../misc/Status';
+import { ContactNote, DealNote } from '../types';
+import { NoteAttachments } from './NoteAttachments';
+import { NoteInputs } from './NoteInputs';
export const Note = ({
showStatus,
note,
- reference,
}: {
showStatus?: boolean;
- note: any;
+ note: DealNote | ContactNote;
isLast: boolean;
- reference: string;
}) => {
const [isHover, setHover] = useState(false);
const [isEditing, setEditing] = useState(false);
- const [noteText, setNoteText] = useState(note.text);
const resource = useResourceContext();
- const record = useRecordContext();
const notify = useNotify();
- const [update, { isLoading }] = useUpdate();
+ const [update, { isPending }] = useUpdate();
const [deleteNote] = useDelete(
resource,
@@ -58,28 +60,21 @@ export const Note = ({
};
const handleEnterEditMode = () => {
- setEditing(true);
+ setEditing(!isEditing);
};
const handleCancelEdit = () => {
setEditing(false);
- setNoteText(note.text);
setHover(false);
};
- const handleTextChange = (event: ChangeEvent<HTMLInputElement>) => {
- setNoteText(event.target.value);
- };
-
- const handleNoteUpdate = (event: FormEvent<HTMLFormElement>) => {
- event.preventDefault();
+ const handleNoteUpdate: SubmitHandler<FieldValues> = values => {
update(
resource,
- { id: note.id, data: { text: noteText }, previousData: note },
+ { id: note.id, data: values, previousData: note },
{
onSuccess: () => {
setEditing(false);
- setNoteText(note.text);
setHover(false);
},
}
@@ -88,118 +83,113 @@ export const Note = ({
return (
<Box
- mb={2}
onMouseEnter={() => setHover(true)}
onMouseLeave={() => setHover(false)}
>
- <Box mb={1} color="text.secondary">
- <ReferenceField
- record={note}
- resource="contactNotes"
- source="sales_id"
- reference="sales"
- >
- <TextField source="first_name" variant="body1" />
- </ReferenceField>{' '}
- <Typography component="span" variant="body1">
- added a note on{' '}
- </Typography>
- <DateField
- source="date"
- record={note}
- variant="body1"
- showTime
- locales="en"
- options={{
- dateStyle: 'full',
- timeStyle: 'short',
+ <Stack
+ direction="row"
+ justifyContent="space-between"
+ alignItems="center"
+ >
+ <Box color="text.secondary">
+ <ReferenceField
+ record={note}
+ resource={resource}
+ source="sales_id"
+ reference="sales"
+ >
+ <TextField source="first_name" variant="body2" />
+ </ReferenceField>{' '}
+ <Typography component="span" variant="body2">
+ added a note on{' '}
+ </Typography>
+ <DateField
+ source="date"
+ record={note}
+ variant="body2"
+ showTime
+ options={{
+ dateStyle: 'full',
+ timeStyle: 'short',
+ }}
+ />{' '}
+ {showStatus && <Status status={note.status} />}
+ </Box>
+ <Box
+ sx={{
+ visibility: isHover ? 'visible' : 'hidden',
}}
- />{' '}
- {showStatus && <Status status={note.status} />}
- </Box>
+ >
+ <Tooltip title="Edit note">
+ <IconButton size="small" onClick={handleEnterEditMode}>
+ <EditIcon />
+ </IconButton>
+ </Tooltip>
+ <Tooltip title="Delete note">
+ <IconButton size="small" onClick={handleDelete}>
+ <TrashIcon />
+ </IconButton>
+ </Tooltip>
+ </Box>
+ </Stack>
{isEditing ? (
- <form onSubmit={handleNoteUpdate}>
- <FilledInput
- value={noteText}
- onChange={handleTextChange}
- fullWidth
- multiline
- sx={{
- paddingTop: '16px',
- paddingLeft: '14px',
- paddingRight: '60px',
- paddingBottom: '14px',
- lineHeight: 1.3,
- }}
- autoFocus
- />
- <Box display="flex" justifyContent="flex-end" mt={1}>
+ <Form onSubmit={handleNoteUpdate} record={note}>
+ <NoteInputs showStatus={showStatus} edition />
+ <Box display="flex" justifyContent="flex-start" mt={1}>
<Button
- sx={{ mr: 1 }}
- onClick={handleCancelEdit}
+ type="submit"
color="primary"
+ variant="contained"
+ disabled={isPending}
+ startIcon={<ContentSave />}
>
- Cancel
+ Update Note
</Button>
<Button
- type="submit"
+ sx={{ mr: 1 }}
+ onClick={handleCancelEdit}
color="primary"
- variant="contained"
- disabled={isLoading}
>
- Update Note
+ Cancel
</Button>
</Box>
- </form>
+ </Form>
) : (
<Box
sx={{
- bgcolor: '#edf3f0',
- padding: '0 1em',
- borderRadius: '10px',
+ paddingTop: '0.5em',
display: 'flex',
alignItems: 'stretch',
- marginBottom: 1,
}}
>
- <Box flex={1}>
+ <Box
+ flex={1}
+ sx={{
+ maxWidth: '80%',
+ '& p:first-of-type': {
+ marginTop: 0,
+ },
+ '& p:last-of-type': {
+ marginBottom: 0,
+ },
+ }}
+ >
{note.text
- .split('\n')
+ ?.split('\n')
.map((paragraph: string, index: number) => (
<Box
component="p"
fontFamily="fontFamily"
- fontSize="body1.fontSize"
- lineHeight={1.3}
+ fontSize="body2.fontSize"
+ lineHeight={1.5}
marginBottom={2.4}
key={index}
>
{paragraph}
</Box>
))}
- </Box>
- <Box
- sx={{
- marginLeft: 2,
- display: 'flex',
- flexDirection: 'column',
- justifyContent: 'space-around',
- visibility: isHover ? 'visible' : 'hidden',
- }}
- >
- <Tooltip title="Edit note">
- <IconButton
- size="small"
- onClick={handleEnterEditMode}
- >
- <EditIcon />
- </IconButton>
- </Tooltip>
- <Tooltip title="Delete note">
- <IconButton size="small" onClick={handleDelete}>
- <TrashIcon />
- </IconButton>
- </Tooltip>
+
+ {note.attachments && <NoteAttachments note={note} />}
</Box>
</Box>
)}
diff --git a/src/notes/NoteAttachments.tsx b/src/notes/NoteAttachments.tsx
new file mode 100644
index 00000000..88af1d06
--- /dev/null
+++ b/src/notes/NoteAttachments.tsx
@@ -0,0 +1,65 @@
+import { ImageList, ImageListItem, Stack } from '@mui/material';
+import { AttachmentNote, ContactNote, DealNote } from '../types';
+import { FileField } from 'react-admin';
+import AttachFileIcon from '@mui/icons-material/AttachFile';
+
+export const NoteAttachments = ({ note }: { note: ContactNote | DealNote }) => {
+ if (!note.attachments || note.attachments.length === 0) {
+ return null;
+ }
+
+ const imageAttachments = note.attachments.filter(
+ (attachment: AttachmentNote) => isImage(attachment.rawFile)
+ );
+ const otherAttachments = note.attachments.filter(
+ (attachment: AttachmentNote) => !isImage(attachment.rawFile)
+ );
+
+ return (
+ <Stack direction="column">
+ {imageAttachments.length > 0 && (
+ <ImageList cols={4} gap={8}>
+ {imageAttachments.map(
+ (attachment: AttachmentNote, index: number) => (
+ <ImageListItem key={index}>
+ <img
+ src={attachment.src}
+ alt={attachment.title}
+ style={{
+ width: '200px',
+ height: '100px',
+ objectFit: 'cover',
+ cursor: 'pointer',
+ objectPosition: 'left',
+ border: '1px solid #e0e0e0',
+ }}
+ onClick={() =>
+ window.open(attachment.src, '_blank')
+ }
+ />
+ </ImageListItem>
+ )
+ )}
+ </ImageList>
+ )}
+ {otherAttachments.length > 0 &&
+ otherAttachments.map(
+ (attachment: AttachmentNote, index: number) => (
+ <Stack key={index} direction="row" alignItems="center">
+ <AttachFileIcon fontSize="small" />
+ <FileField
+ record={{ attachment }}
+ source="attachment.src"
+ title="attachment.title"
+ target="_blank"
+ />
+ </Stack>
+ )
+ )}
+ </Stack>
+ );
+};
+
+const isImage = (file: File) => {
+ return file && file.type.startsWith('image/');
+};
diff --git a/src/notes/NoteCreate.tsx b/src/notes/NoteCreate.tsx
new file mode 100644
index 00000000..45bd5b8e
--- /dev/null
+++ b/src/notes/NoteCreate.tsx
@@ -0,0 +1,91 @@
+import * as React from 'react';
+import {
+ CreateBase,
+ Form,
+ Identifier,
+ RaRecord,
+ SaveButton,
+ useGetIdentity,
+ useListContext,
+ useNotify,
+ useRecordContext,
+ useResourceContext,
+ useUpdate,
+} from 'react-admin';
+import { useFormContext } from 'react-hook-form';
+
+import { Stack } from '@mui/material';
+import { NoteInputs } from './NoteInputs';
+import { getCurrentDate } from './note';
+
+const foreignKeyMapping = {
+ contacts: 'contact_id',
+ deals: 'deal_id',
+};
+
+export const NoteCreate = ({
+ showStatus,
+ reference,
+}: {
+ showStatus?: boolean;
+ reference: 'contacts' | 'deals';
+}) => {
+ const resource = useResourceContext();
+ const record = useRecordContext();
+ const { identity } = useGetIdentity();
+
+ if (!record || !identity) return null;
+ return (
+ <CreateBase resource={resource} redirect={false}>
+ <Form>
+ <NoteInputs showStatus={showStatus} />
+ <Stack direction="row">
+ <NoteCreateButton reference={reference} record={record} />
+ </Stack>
+ </Form>
+ </CreateBase>
+ );
+};
+
+const NoteCreateButton = ({
+ reference,
+ record,
+}: {
+ reference: 'contacts' | 'deals';
+ record: RaRecord<Identifier>;
+}) => {
+ const [update] = useUpdate();
+ const notify = useNotify();
+ const { identity } = useGetIdentity();
+ const { reset } = useFormContext();
+ const { refetch } = useListContext();
+
+ if (!record || !identity) return null;
+
+ const handleSuccess = (data: any) => {
+ reset();
+ refetch();
+ update(reference, {
+ id: (record && record.id) as unknown as Identifier,
+ data: { last_seen: data.date, status: data.status },
+ previousData: record,
+ });
+ notify('Note added', { type: 'success' });
+ };
+ return (
+ <SaveButton
+ type="button"
+ label="Add this note"
+ variant="contained"
+ transform={data => ({
+ ...data,
+ [foreignKeyMapping[reference]]: record.id,
+ sales_id: identity.id,
+ date: data.date || getCurrentDate(),
+ })}
+ mutationOptions={{
+ onSuccess: handleSuccess,
+ }}
+ />
+ );
+};
diff --git a/src/notes/NoteInputs.tsx b/src/notes/NoteInputs.tsx
new file mode 100644
index 00000000..c3b28b4f
--- /dev/null
+++ b/src/notes/NoteInputs.tsx
@@ -0,0 +1,85 @@
+import { Collapse, Link, Stack, Typography } from '@mui/material';
+import {
+ DateTimeInput,
+ FileField,
+ FileInput,
+ SelectInput,
+ TextInput,
+} from 'react-admin';
+import { useConfigurationContext } from '../root/ConfigurationContext';
+import { useState } from 'react';
+import { getCurrentDate } from './note';
+import { Status } from '../misc/Status';
+
+export const NoteInputs = ({
+ showStatus,
+ edition,
+}: {
+ showStatus?: boolean;
+ edition?: boolean;
+}) => {
+ const { noteStatuses } = useConfigurationContext();
+ const [displayMore, setDisplayMore] = useState(false);
+ return (
+ <>
+ <TextInput
+ source="text"
+ label={edition ? 'Edit note' : 'Add a note'}
+ variant="filled"
+ size="small"
+ multiline
+ minRows={3}
+ helperText={false}
+ />
+ {!displayMore && (
+ <Stack gap={0.5} direction="row" justifyContent="flex-end">
+ <Link
+ variant="caption"
+ href="#"
+ onClick={e => {
+ setDisplayMore(!displayMore);
+ e.preventDefault();
+ }}
+ >
+ Show options
+ </Link>
+ <Typography variant="caption" color="textSecondary">
+ (attach files, or change details)
+ </Typography>
+ </Stack>
+ )}
+ <Collapse in={displayMore}>
+ <Stack gap={1} mt={1}>
+ <Stack direction="row" spacing={2}>
+ {showStatus && (
+ <SelectInput
+ source="status"
+ choices={noteStatuses}
+ optionValue="value"
+ optionText={optionRenderer}
+ isRequired
+ defaultValue={'warm'}
+ helperText={false}
+ />
+ )}
+ <DateTimeInput
+ source="date"
+ label="Date"
+ defaultValue={getCurrentDate()}
+ helperText={false}
+ />
+ </Stack>
+ <FileInput source="attachments" multiple>
+ <FileField source="src" title="title" />
+ </FileInput>
+ </Stack>
+ </Collapse>
+ </>
+ );
+};
+
+const optionRenderer = (choice: any) => (
+ <div>
+ {choice.label} <Status status={choice.value} />
+ </div>
+);
diff --git a/src/notes/NotesIterator.tsx b/src/notes/NotesIterator.tsx
index 73174299..459acef9 100644
--- a/src/notes/NotesIterator.tsx
+++ b/src/notes/NotesIterator.tsx
@@ -1,9 +1,9 @@
import * as React from 'react';
-import { Box } from '@mui/material';
+import { Box, Divider, Stack } from '@mui/material';
import { useListContext } from 'react-admin';
import { Note } from './Note';
-import { NewNote } from './NewNote';
+import { NoteCreate } from './NoteCreate';
export const NotesIterator = ({
showStatus,
@@ -12,22 +12,26 @@ export const NotesIterator = ({
showStatus?: boolean;
reference: 'contacts' | 'deals';
}) => {
- const { data, isLoading } = useListContext();
- if (isLoading) return null;
+ const { data, error, isPending } = useListContext();
+ if (isPending || error) return null;
return (
- <>
- <NewNote showStatus={showStatus} reference={reference} />
- <Box mt="0.5em">
- {data.map((note, index) => (
- <Note
- note={note}
- isLast={index === data.length - 1}
- showStatus={showStatus}
- reference={reference}
- key={index}
- />
- ))}
- </Box>
- </>
+ <Box mt={4}>
+ <NoteCreate showStatus={showStatus} reference={reference} />
+ {data && (
+ <Stack mt={4} gap={3}>
+ {data.map((note, index) => (
+ <React.Fragment key={index}>
+ <Divider />
+ <Note
+ note={note}
+ isLast={index === data.length - 1}
+ showStatus={showStatus}
+ key={index}
+ />
+ </React.Fragment>
+ ))}
+ </Stack>
+ )}
+ </Box>
);
};
diff --git a/src/notes/StatusSelector.tsx b/src/notes/StatusSelector.tsx
index 24aff9ba..5bba05a5 100644
--- a/src/notes/StatusSelector.tsx
+++ b/src/notes/StatusSelector.tsx
@@ -2,31 +2,28 @@ import * as React from 'react';
import { TextField, MenuItem } from '@mui/material';
import { Status } from '../misc/Status';
+import { useConfigurationContext } from '../root/ConfigurationContext';
-export const StatusSelector = ({ status, setStatus, sx }: any) => (
- <TextField
- select
- value={status}
- onChange={(event: React.ChangeEvent<{ value: unknown }>) => {
- setStatus(event.target.value);
- }}
- variant="filled"
- label={false}
- margin="none"
- size="small"
- sx={sx}
- >
- <MenuItem value="cold">
- Cold <Status status="cold" />
- </MenuItem>
- <MenuItem value="warm">
- Warm <Status status="warm" />
- </MenuItem>
- <MenuItem value="hot">
- Hot <Status status="hot" />
- </MenuItem>
- <MenuItem value="in-contract">
- In Contract <Status status="in-contract" />
- </MenuItem>
- </TextField>
-);
+export const StatusSelector = ({ status, setStatus, sx }: any) => {
+ const { noteStatuses } = useConfigurationContext();
+ return (
+ <TextField
+ select
+ value={status}
+ onChange={(event: React.ChangeEvent<{ value: unknown }>) => {
+ setStatus(event.target.value);
+ }}
+ variant="filled"
+ label={false}
+ margin="none"
+ size="small"
+ sx={sx}
+ >
+ {noteStatuses.map(status => (
+ <MenuItem key={status.value} value={status.value}>
+ {status.label} <Status status={status.value} />
+ </MenuItem>
+ ))}
+ </TextField>
+ );
+};
diff --git a/src/notes/index.ts b/src/notes/index.ts
index 3cf5802a..68c82812 100644
--- a/src/notes/index.ts
+++ b/src/notes/index.ts
@@ -1,3 +1,3 @@
-export * from './NewNote';
+export * from './NoteCreate';
export * from './NotesIterator';
export * from './StatusSelector';
diff --git a/src/notes/note.ts b/src/notes/note.ts
new file mode 100644
index 00000000..b63ef8f1
--- /dev/null
+++ b/src/notes/note.ts
@@ -0,0 +1,7 @@
+export const getCurrentDate = () => {
+ const now = new Date();
+ now.setMinutes(now.getMinutes() - now.getTimezoneOffset());
+ now.setSeconds(0);
+ now.setMilliseconds(0);
+ return now.toISOString().slice(0, -1);
+};
diff --git a/src/root/CRM.tsx b/src/root/CRM.tsx
new file mode 100644
index 00000000..2a6b91e6
--- /dev/null
+++ b/src/root/CRM.tsx
@@ -0,0 +1,167 @@
+import {
+ Admin,
+ CustomRoutes,
+ ListGuesser,
+ RaThemeOptions,
+ Resource,
+ defaultTheme,
+ localStorageStore,
+} from 'react-admin';
+
+import { Route } from 'react-router';
+import Layout from '../Layout';
+import { authProvider } from '../authProvider';
+import companies from '../companies';
+import contacts from '../contacts';
+import { Dashboard } from '../dashboard/Dashboard';
+import { dataProvider } from '../dataProvider';
+import deals from '../deals';
+import { LoginPage } from '../login/LoginPage';
+import { SignupPage } from '../login/SignupPage';
+import { SettingsPage } from '../settings/SettingsPage';
+import {
+ ConfigurationContextValue,
+ ConfigurationProvider,
+} from './ConfigurationContext';
+import {
+ defaultCompanySectors,
+ defaultContactGender,
+ defaultDealCategories,
+ defaultDealPipelineStatuses,
+ defaultDealStages,
+ defaultLogo,
+ defaultNoteStatuses,
+ defaultTaskTypes,
+ defaultTitle,
+} from './defaultConfiguration';
+import sales from '../sales';
+import { deepmerge } from '@mui/utils';
+
+// Define the interface for the CRM component props
+type CRMProps = {
+ lightTheme?: RaThemeOptions;
+ darkTheme?: RaThemeOptions;
+} & Partial<ConfigurationContextValue>;
+
+const defaultLightTheme = deepmerge(defaultTheme, {
+ palette: {
+ background: {
+ default: '#fafafb',
+ },
+ },
+ components: {
+ RaFileInput: {
+ styleOverrides: {
+ root: {
+ '& .RaFileInput-dropZone': {
+ backgroundColor: 'rgba(0, 0, 0, 0.04)',
+ },
+ },
+ },
+ },
+ },
+});
+
+/**
+ * CRM Component
+ *
+ * This component sets up and renders the main CRM application using `react-admin`. It provides
+ * default configurations and themes but allows for customization through props. The component
+ * wraps the application with a `ConfigurationProvider` to provide configuration values via context.
+ *
+ * @param {Array<ContactGender>} contactGender - The gender options for contacts used in the application.
+ * @param {string[]} companySectors - The list of company sectors used in the application.
+ * @param {RaThemeOptions} darkTheme - The theme to use when the application is in dark mode.
+ * @param {string[]} dealCategories - The categories of deals used in the application.
+ * @param {string[]} dealPipelineStatuses - The statuses of deals in the pipeline used in the application.
+ * @param {DealStage[]} dealStages - The stages of deals used in the application.
+ * @param {RaThemeOptions} lightTheme - The theme to use when the application is in light mode.
+ * @param {string} logo - The logo used in the CRM application.
+ * @param {NoteStatus[]} noteStatuses - The statuses of notes used in the application.
+ * @param {string[]} taskTypes - The types of tasks used in the application.
+ * @param {string} title - The title of the CRM application.
+ *
+ * @returns {JSX.Element} The rendered CRM application.
+ *
+ * @example
+ * // Basic usage of the CRM component
+ * import { CRM } from './CRM';
+ *
+ * const App = () => (
+ * <CRM
+ * logo="/path/to/logo.png"
+ * title="My Custom CRM"
+ * lightTheme={{
+ * ...defaultTheme,
+ * palette: {
+ * primary: { main: '#0000ff' },
+ * },
+ * }}
+ * />
+ * );
+ *
+ * export default App;
+ */
+export const CRM = ({
+ contactGender = defaultContactGender,
+ companySectors = defaultCompanySectors,
+ darkTheme,
+ dealCategories = defaultDealCategories,
+ dealPipelineStatuses = defaultDealPipelineStatuses,
+ dealStages = defaultDealStages,
+ lightTheme = defaultLightTheme,
+ logo = defaultLogo,
+ noteStatuses = defaultNoteStatuses,
+ taskTypes = defaultTaskTypes,
+ title = defaultTitle,
+}: CRMProps) => (
+ <ConfigurationProvider
+ contactGender={contactGender}
+ companySectors={companySectors}
+ dealCategories={dealCategories}
+ dealPipelineStatuses={dealPipelineStatuses}
+ dealStages={dealStages}
+ logo={logo}
+ noteStatuses={noteStatuses}
+ taskTypes={taskTypes}
+ title={title}
+ >
+ <Admin
+ dataProvider={dataProvider}
+ authProvider={authProvider}
+ store={localStorageStore(undefined, 'CRM')}
+ layout={Layout}
+ loginPage={LoginPage}
+ dashboard={Dashboard}
+ theme={lightTheme}
+ darkTheme={darkTheme || null}
+ >
+ {permissions => (
+ <>
+ <CustomRoutes noLayout>
+ <Route
+ path={SignupPage.path}
+ element={<SignupPage />}
+ />
+ </CustomRoutes>
+ <CustomRoutes>
+ <Route
+ path={SettingsPage.path}
+ element={<SettingsPage />}
+ />
+ </CustomRoutes>
+ <Resource name="deals" {...deals} />
+ <Resource name="contacts" {...contacts} />
+ <Resource name="companies" {...companies} />
+ <Resource name="contactNotes" />
+ <Resource name="dealNotes" />
+ <Resource name="tasks" list={ListGuesser} />
+ {permissions === 'admin' ? (
+ <Resource name="sales" {...sales} />
+ ) : null}
+ <Resource name="tags" list={ListGuesser} />
+ </>
+ )}
+ </Admin>
+ </ConfigurationProvider>
+);
diff --git a/src/root/ConfigurationContext.tsx b/src/root/ConfigurationContext.tsx
new file mode 100644
index 00000000..e90e11ae
--- /dev/null
+++ b/src/root/ConfigurationContext.tsx
@@ -0,0 +1,74 @@
+import { createContext, ReactNode, useContext } from 'react';
+import {
+ defaultCompanySectors,
+ defaultContactGender,
+ defaultDealCategories,
+ defaultDealPipelineStatuses,
+ defaultDealStages,
+ defaultLogo,
+ defaultNoteStatuses,
+ defaultTaskTypes,
+ defaultTitle,
+} from './defaultConfiguration';
+import { ContactGender, DealStage, NoteStatus } from '../types';
+
+// Define types for the context value
+export interface ConfigurationContextValue {
+ companySectors: string[];
+ dealCategories: string[];
+ dealPipelineStatuses: string[];
+ dealStages: DealStage[];
+ noteStatuses: NoteStatus[];
+ taskTypes: string[];
+ title: string;
+ logo: string;
+ contactGender: ContactGender[];
+}
+
+export interface ConfigurationProviderProps extends ConfigurationContextValue {
+ children: ReactNode;
+}
+
+// Create context with default value
+export const ConfigurationContext = createContext<ConfigurationContextValue>({
+ companySectors: defaultCompanySectors,
+ dealCategories: defaultDealCategories,
+ dealPipelineStatuses: defaultDealPipelineStatuses,
+ dealStages: defaultDealStages,
+ noteStatuses: defaultNoteStatuses,
+ taskTypes: defaultTaskTypes,
+ title: defaultTitle,
+ logo: defaultLogo,
+ contactGender: defaultContactGender,
+});
+
+export const ConfigurationProvider = ({
+ children,
+ companySectors,
+ dealCategories,
+ dealPipelineStatuses,
+ dealStages,
+ logo,
+ noteStatuses,
+ taskTypes,
+ title,
+ contactGender,
+}: ConfigurationProviderProps) => (
+ <ConfigurationContext.Provider
+ value={{
+ companySectors,
+ dealCategories,
+ dealPipelineStatuses,
+ dealStages,
+ logo,
+ noteStatuses,
+ title,
+ taskTypes,
+ contactGender,
+ }}
+ >
+ {children}
+ </ConfigurationContext.Provider>
+);
+
+export const useConfigurationContext = () => useContext(ConfigurationContext);
diff --git a/src/root/defaultConfiguration.ts b/src/root/defaultConfiguration.ts
new file mode 100644
index 00000000..5c024fbe
--- /dev/null
+++ b/src/root/defaultConfiguration.ts
@@ -0,0 +1,62 @@
+export const defaultLogo =
+ 'https://upload.wikimedia.org/wikipedia/commons/a/a7/React-icon.svg';
+
+export const defaultTitle = 'Atomic CRM';
+
+export const defaultCompanySectors = [
+ 'Communication Services',
+ 'Consumer Discretionary',
+ 'Consumer Staples',
+ 'Energy',
+ 'Financials',
+ 'Health Care',
+ 'Industrials',
+ 'Information Technology',
+ 'Materials',
+ 'Real Estate',
+ 'Utilities',
+];
+
+export const defaultDealStages = [
+ { value: 'opportunity', label: 'Opportunity' },
+ { value: 'proposal-sent', label: 'Proposal Sent' },
+ { value: 'in-negociation', label: 'In Negotiation' },
+ { value: 'won', label: 'Won' },
+ { value: 'lost', label: 'Lost' },
+ { value: 'delayed', label: 'Delayed' },
+];
+
+export const defaultDealPipelineStatuses = ['won'];
+
+export const defaultDealCategories = [
+ 'Other',
+ 'Copywriting',
+ 'Print project',
+ 'UI Design',
+ 'Website design',
+];
+
+export const defaultNoteStatuses = [
+ { value: 'cold', label: 'Cold', color: '#7dbde8' },
+ { value: 'warm', label: 'Warm', color: '#e8cb7d' },
+ { value: 'hot', label: 'Hot', color: '#e88b7d' },
+ { value: 'in-contract', label: 'In Contract', color: '#a4e87d' },
+];
+
+export const defaultTaskTypes = [
+ 'None',
+ 'Email',
+ 'Demo',
+ 'Lunch',
+ 'Meeting',
+ 'Follow-up',
+ 'Thank you',
+ 'Ship',
+ 'Call',
+];
+
+export const defaultContactGender = [
+ { value: 'male', label: 'He/Him' },
+ { value: 'female', label: 'She/Her' },
+ { value: 'nonbinary', label: 'They/Them' },
+];
diff --git a/src/sales/SalesCreate.tsx b/src/sales/SalesCreate.tsx
new file mode 100644
index 00000000..db77efc5
--- /dev/null
+++ b/src/sales/SalesCreate.tsx
@@ -0,0 +1,22 @@
+import { Create, PasswordInput, required, SimpleForm } from 'react-admin';
+import { SalesInputs } from './SalesInputs';
+import { Container, Typography } from '@mui/material';
+
+export function SalesCreate() {
+ return (
+ <Container maxWidth="sm" sx={{ mt: 4 }}>
+ <Create redirect="list">
+ <SimpleForm>
+ <Typography variant="h6">Create sale person</Typography>
+ <SalesInputs>
+ <PasswordInput
+ source="password"
+ validate={required()}
+ helperText={false}
+ />
+ </SalesInputs>
+ </SimpleForm>
+ </Create>
+ </Container>
+ );
+}
diff --git a/src/sales/SalesEdit.tsx b/src/sales/SalesEdit.tsx
new file mode 100644
index 00000000..fb6facd2
--- /dev/null
+++ b/src/sales/SalesEdit.tsx
@@ -0,0 +1,61 @@
+import {
+ DeleteWithConfirmButton,
+ Edit,
+ PasswordInput,
+ SaveButton,
+ SimpleForm,
+ Toolbar,
+ useGetIdentity,
+ useRecordContext,
+} from 'react-admin';
+import { Sale } from '../types';
+import { SalesInputs } from './SalesInputs';
+import { Container, Typography } from '@mui/material';
+
+function EditToolbar() {
+ const { identity } = useGetIdentity();
+ const record = useRecordContext<Sale>();
+
+ return (
+ <Toolbar sx={{ display: 'flex', justifyContent: 'space-between' }}>
+ <SaveButton />
+
+ <DeleteWithConfirmButton
+ disabled={record?.id === identity?.id}
+ mutationOptions={{
+ meta: {
+ identity,
+ },
+ }}
+ />
+ </Toolbar>
+ );
+}
+
+export function SalesEdit() {
+ return (
+ <Container maxWidth="sm" sx={{ mt: 4 }}>
+ <Edit>
+ <SimpleForm toolbar={<EditToolbar />}>
+ <SaleEditTitle />
+ <SalesInputs>
+ <PasswordInput
+ source="new_password"
+ helperText={false}
+ />
+ </SalesInputs>
+ </SimpleForm>
+ </Edit>
+ </Container>
+ );
+}
+
+const SaleEditTitle = () => {
+ const record = useRecordContext<Sale>();
+ if (!record) return null;
+ return (
+ <Typography variant="h6">
+ Edit {record?.first_name} {record?.last_name}
+ </Typography>
+ );
+};
diff --git a/src/sales/SalesInputs.tsx b/src/sales/SalesInputs.tsx
new file mode 100644
index 00000000..f68a389c
--- /dev/null
+++ b/src/sales/SalesInputs.tsx
@@ -0,0 +1,41 @@
+import {
+ BooleanInput,
+ required,
+ TextInput,
+ useGetIdentity,
+ useRecordContext,
+} from 'react-admin';
+import { Sale } from '../types';
+import { ReactNode } from 'react';
+import { Stack } from '@mui/material';
+
+export function SalesInputs({ children }: { children: ReactNode }) {
+ const { identity } = useGetIdentity();
+ const record = useRecordContext<Sale>();
+
+ return (
+ <Stack gap={1} sx={{ width: '100%' }}>
+ <TextInput
+ source="first_name"
+ validate={required()}
+ helperText={false}
+ />
+ <TextInput
+ source="last_name"
+ validate={required()}
+ helperText={false}
+ />
+ <TextInput
+ source="email"
+ validate={required()}
+ helperText={false}
+ />
+ {children}
+ <BooleanInput
+ source="administrator"
+ readOnly={record?.id === identity?.id}
+ helperText={false}
+ />
+ </Stack>
+ );
+}
diff --git a/src/sales/SalesList.tsx b/src/sales/SalesList.tsx
new file mode 100644
index 00000000..59589b80
--- /dev/null
+++ b/src/sales/SalesList.tsx
@@ -0,0 +1,44 @@
+import Stack from '@mui/material/Stack';
+import {
+ BooleanField,
+ CreateButton,
+ DatagridConfigurable,
+ ExportButton,
+ List,
+ SearchInput,
+ TextField,
+ TopToolbar,
+} from 'react-admin';
+import { TransferAdminRole } from './TransferAdminRole';
+
+function SalesListActions() {
+ return (
+ <TopToolbar>
+ <ExportButton />
+ <CreateButton variant="contained" label="New sales person" />
+ </TopToolbar>
+ );
+}
+
+const filters = [<SearchInput source="q" alwaysOn />];
+
+export function SalesList() {
+ return (
+ <Stack gap={4}>
+ <List
+ filters={filters}
+ actions={<SalesListActions />}
+ sort={{ field: 'first_name', order: 'ASC' }}
+ >
+ <DatagridConfigurable rowClick="edit">
+ <TextField source="first_name" />
+ <TextField source="last_name" />
+ <TextField source="email" />
+ <BooleanField source="administrator" FalseIcon={null} />
+ </DatagridConfigurable>
+ </List>
+
+ <TransferAdminRole />
+ </Stack>
+ );
+}
diff --git a/src/sales/TransferAdminRole.tsx b/src/sales/TransferAdminRole.tsx
new file mode 100644
index 00000000..f55db0f0
--- /dev/null
+++ b/src/sales/TransferAdminRole.tsx
@@ -0,0 +1,65 @@
+import Card from '@mui/material/Card';
+import CardContent from '@mui/material/CardContent';
+import Link from '@mui/material/Link';
+import Stack from '@mui/material/Stack';
+import Typography from '@mui/material/Typography';
+import { MouseEvent, useCallback, useState } from 'react';
+import { useGetIdentity } from 'react-admin';
+import { TransferAdminRoleModal } from './TransferAdminRoleModal';
+
+export function TransferAdminRole() {
+ const { identity } = useGetIdentity();
+ const [showModal, setShowModal] = useState(false);
+
+ const handleShowModal = (event: MouseEvent<HTMLAnchorElement>) => {
+ event.preventDefault();
+ setShowModal(true);
+ };
+
+ const handleCloseModal = useCallback(() => {
+ setShowModal(false);
+ }, []);
+
+ if (!identity) {
+ return null;
+ }
+
+ return (
+ <>
+ <Card>
+ <CardContent>
+ <Stack spacing={1}>
+ <Typography variant="h5">
+ Transfer Administrator Role
+ </Typography>
+
+ <Typography component="p" variant="body2">
+ You are an administrator. Only administrators can
+ manage access for account managers.
+ </Typography>
+
+ <Typography component="p" variant="body2">
+ You can{' '}
+ <Link
+ onClick={handleShowModal}
+ sx={{
+ cursor: 'pointer',
+ }}
+ >
+ transfer the administrator role
+ </Link>{' '}
+ to another account manager. By transfering the
+ administrator role, you will no longer be able to
+ manage access for other account managers.
+ </Typography>
+ </Stack>
+ </CardContent>
+ </Card>
+
+ <TransferAdminRoleModal
+ open={showModal}
+ onClose={handleCloseModal}
+ />
+ </>
+ );
+}
diff --git a/src/sales/TransferAdminRoleModal.tsx b/src/sales/TransferAdminRoleModal.tsx
new file mode 100644
index 00000000..fb4b8cd5
--- /dev/null
+++ b/src/sales/TransferAdminRoleModal.tsx
@@ -0,0 +1,169 @@
+import Alert from '@mui/material/Alert';
+import Autocomplete from '@mui/material/Autocomplete';
+import Button from '@mui/material/Button';
+import CircularProgress from '@mui/material/CircularProgress';
+import Dialog from '@mui/material/Dialog';
+import DialogContent from '@mui/material/DialogContent';
+import DialogTitle from '@mui/material/DialogTitle';
+import Skeleton from '@mui/material/Skeleton';
+import { default as MuiTextField } from '@mui/material/TextField';
+import { DefaultError, useMutation } from '@tanstack/react-query';
+import {
+ Toolbar,
+ useDataProvider,
+ useGetIdentity,
+ useGetList,
+ usePermissions,
+} from 'react-admin';
+import { Controller, SubmitHandler, useForm } from 'react-hook-form';
+import { useNavigate } from 'react-router';
+import { USER_STORAGE_KEY } from '../authProvider';
+import { CustomDataProvider } from '../dataProvider';
+import { Sale } from '../types';
+import { DialogCloseButton } from '../misc/DialogCloseButton';
+
+type TransferAdminRoleForm = {
+ sale: Sale;
+};
+
+type TransferAdminRoleModalProps = {
+ open: boolean;
+ onClose(): void;
+};
+
+export function TransferAdminRoleModal({
+ open,
+ onClose,
+}: TransferAdminRoleModalProps) {
+ const { identity } = useGetIdentity();
+ const { refetch } = usePermissions();
+ const dataProvider = useDataProvider<CustomDataProvider>();
+ const navigate = useNavigate();
+ const { control, handleSubmit } = useForm<TransferAdminRoleForm>();
+
+ const mutation = useMutation<Sale, DefaultError, Sale>({
+ mutationFn: async to => {
+ if (!identity) {
+ throw new Error('You are not logged in');
+ }
+
+ const user = await dataProvider.transferAdministratorRole(
+ identity.id,
+ to.id
+ );
+ if (!user) {
+ throw new Error('Failed to transfer administrator role');
+ }
+
+ return user;
+ },
+ onSuccess: updatedUser => {
+ localStorage.setItem(USER_STORAGE_KEY, JSON.stringify(updatedUser));
+
+ onClose();
+
+ // Since the current user is no longer an administrator once they transfered the role, we need to redirect him to
+ // home as he does not have access to the page anymore.
+ navigate('/');
+
+ // Since the current user is no longer an administrator once they transfered the role, we need to refresh their
+ // identity and permissions.
+ refetch();
+ },
+ onError: () => {},
+ });
+
+ const handleTransfer: SubmitHandler<TransferAdminRoleForm> = data => {
+ if (!identity || !data.sale) {
+ return;
+ }
+
+ mutation.mutate(data.sale);
+ };
+
+ return (
+ <Dialog open={open} onClose={onClose} fullWidth maxWidth="sm">
+ <form onSubmit={handleSubmit(handleTransfer)}>
+ <DialogCloseButton onClose={onClose} />
+ <DialogTitle>Transfer Administrator Role</DialogTitle>
+ <DialogContent>
+ {mutation.error && (
+ <Alert severity="error">
+ Failed to transfer the administrator role
+ </Alert>
+ )}
+
+ <SalesAutocomplete control={control} />
+ </DialogContent>
+ <Toolbar>
+ <Button
+ type="submit"
+ color="error"
+ variant="contained"
+ disabled={mutation.isError || mutation.isPending}
+ >
+ {mutation.isPending ? (
+ <CircularProgress size={16} />
+ ) : (
+ 'Transfer Role'
+ )}
+ </Button>
+ </Toolbar>
+ </form>
+ </Dialog>
+ );
+}
+
+function SalesAutocomplete({
+ control,
+}: Pick<ReturnType<typeof useForm<TransferAdminRoleForm>>, 'control'>) {
+ const {
+ data: sales,
+ error,
+ isPending,
+ } = useGetList('sales', {
+ filter: { administrator: false },
+ pagination: {
+ page: 1,
+ perPage: 1000,
+ },
+ sort: { field: 'first_name', order: 'ASC' },
+ });
+
+ if (isPending) {
+ return <Skeleton />;
+ }
+
+ if (error) {
+ return <Alert severity="error">Failed to fetch account managers</Alert>;
+ }
+
+ return (
+ <Controller
+ render={({ field: { onChange, value, ref } }) => (
+ <Autocomplete<Sale>
+ ref={ref}
+ value={value ?? null}
+ onChange={(_, newValue) => onChange(newValue)}
+ options={sales}
+ getOptionLabel={sale =>
+ `${sale.first_name} ${sale.last_name}`
+ }
+ getOptionKey={sale => `${sale.id}`}
+ renderInput={params => (
+ <MuiTextField
+ {...params}
+ label="Account Manager"
+ required
+ />
+ )}
+ isOptionEqualToValue={(option, value) =>
+ option.id === value?.id
+ }
+ />
+ )}
+ control={control}
+ name="sale"
+ />
+ );
+}
diff --git a/src/sales/index.ts b/src/sales/index.ts
new file mode 100644
index 00000000..0ea1f9e2
--- /dev/null
+++ b/src/sales/index.ts
@@ -0,0 +1,10 @@
+/* eslint-disable import/no-anonymous-default-export */
+import { SalesCreate } from './SalesCreate';
+import { SalesEdit } from './SalesEdit';
+import { SalesList } from './SalesList';
+
+export default {
+ list: SalesList,
+ create: SalesCreate,
+ edit: SalesEdit,
+};
diff --git a/src/settings/SettingsPage.tsx b/src/settings/SettingsPage.tsx
new file mode 100644
index 00000000..3cc9d6d0
--- /dev/null
+++ b/src/settings/SettingsPage.tsx
@@ -0,0 +1,205 @@
+import EditIcon from '@mui/icons-material/Edit';
+import VisibilityIcon from '@mui/icons-material/Visibility';
+import {
+ Button,
+ Card,
+ CardActions,
+ CardContent,
+ Container,
+ Stack,
+ Typography,
+} from '@mui/material';
+import { useState } from 'react';
+import {
+ Form,
+ Labeled,
+ TextField,
+ TextInput,
+ useGetIdentity,
+ useGetOne,
+ useNotify,
+ useUpdate,
+} from 'react-admin';
+import { useFormState } from 'react-hook-form';
+import { USER_STORAGE_KEY } from '../authProvider';
+import { UpdatePassword } from './UpdatePassword';
+import ImageEditorField from '../misc/ImageEditorField';
+
+export const SettingsPage = () => {
+ const [update] = useUpdate();
+ const [isEditMode, setEditMode] = useState(false);
+ const { identity, refetch } = useGetIdentity();
+ const user = useGetOne('sales', { id: identity?.id });
+ const notify = useNotify();
+
+ if (!identity) return null;
+
+ const handleOnSubmit = async (values: any) => {
+ await update(
+ 'sales',
+ {
+ id: identity.id,
+ data: values,
+ previousData: identity,
+ },
+ {
+ onSuccess: data => {
+ // Update local user
+ localStorage.setItem(
+ USER_STORAGE_KEY,
+ JSON.stringify(data)
+ );
+ refetch();
+ setEditMode(false);
+ notify('Your profile has been updated');
+ },
+ onError: _ => {
+ notify('An error occurred. Please try again', {
+ type: 'error',
+ });
+ },
+ }
+ );
+ };
+
+ return (
+ <Container maxWidth="sm" sx={{ mt: 4 }}>
+ <Form onSubmit={handleOnSubmit} record={user.data}>
+ <SettingsForm
+ isEditMode={isEditMode}
+ setEditMode={setEditMode}
+ />
+ </Form>
+ </Container>
+ );
+};
+
+const SettingsForm = ({
+ isEditMode,
+ setEditMode,
+}: {
+ isEditMode: boolean;
+ setEditMode: (value: boolean) => void;
+}) => {
+ const [update] = useUpdate();
+ const notify = useNotify();
+ const { identity, refetch } = useGetIdentity();
+ const { isDirty } = useFormState();
+ const [openPasswordChange, setOpenPasswordChange] = useState(false);
+
+ if (!identity) return null;
+
+ const handleClickOpenPasswordChange = () => {
+ setOpenPasswordChange(true);
+ };
+
+ const handleAvatarUpdate = async (values: any) => {
+ await update(
+ 'sales',
+ {
+ id: identity.id,
+ data: values,
+ previousData: identity,
+ },
+ {
+ onSuccess: data => {
+ // Update local user
+ localStorage.setItem(
+ USER_STORAGE_KEY,
+ JSON.stringify(data)
+ );
+ refetch();
+ setEditMode(false);
+ notify('Your profile has been updated');
+ },
+ onError: _ => {
+ notify('An error occurred. Please try again', {
+ type: 'error',
+ });
+ },
+ }
+ );
+ };
+
+ return (
+ <Card>
+ <CardContent>
+ <Stack mb={2} direction="row" justifyContent="space-between">
+ <Typography variant="h5" color="textSecondary">
+ My info
+ </Typography>
+ </Stack>
+ <Stack gap={1} mb={2}>
+ <ImageEditorField
+ source="avatar"
+ type="avatar"
+ onSave={handleAvatarUpdate}
+ />
+ <TextRender source="first_name" isEditMode={isEditMode} />
+ <TextRender source="last_name" isEditMode={isEditMode} />
+ <TextRender source="email" isEditMode={isEditMode} />
+ </Stack>
+ {!isEditMode && (
+ <>
+ <Button
+ variant="outlined"
+ onClick={handleClickOpenPasswordChange}
+ >
+ Change password
+ </Button>
+ <UpdatePassword
+ open={openPasswordChange}
+ setOpen={setOpenPasswordChange}
+ />
+ </>
+ )}
+ </CardContent>
+
+ <CardActions
+ sx={{
+ paddingX: 2,
+ background: theme => theme.palette.background.default,
+ justifyContent: isEditMode ? 'space-between' : 'flex-end',
+ }}
+ >
+ {isEditMode && (
+ <Button
+ variant="contained"
+ type="submit"
+ disabled={!isDirty}
+ hidden={isEditMode}
+ >
+ Save
+ </Button>
+ )}
+ <Button
+ variant="text"
+ size="small"
+ startIcon={isEditMode ? <VisibilityIcon /> : <EditIcon />}
+ onClick={() => setEditMode(!isEditMode)}
+ >
+ {isEditMode ? 'Show' : 'Edit'}
+ </Button>
+ </CardActions>
+ </Card>
+ );
+};
+
+const TextRender = ({
+ source,
+ isEditMode,
+}: {
+ source: string;
+ isEditMode: boolean;
+}) => {
+ if (isEditMode) {
+ return <TextInput source={source} helperText={false} />;
+ }
+ return (
+ <Labeled mb={'20px'}>
+ <TextField source={source} />
+ </Labeled>
+ );
+};
+
+SettingsPage.path = '/settings';
diff --git a/src/settings/UpdatePassword.tsx b/src/settings/UpdatePassword.tsx
new file mode 100644
index 00000000..12061bf2
--- /dev/null
+++ b/src/settings/UpdatePassword.tsx
@@ -0,0 +1,175 @@
+import {
+ Button,
+ Dialog,
+ DialogActions,
+ DialogContent,
+ DialogTitle,
+ Stack,
+ TextField,
+ Typography,
+} from '@mui/material';
+import {
+ Toolbar,
+ useGetIdentity,
+ useGetOne,
+ useNotify,
+ useUpdate,
+} from 'react-admin';
+import { useForm } from 'react-hook-form';
+import { DialogCloseButton } from '../misc/DialogCloseButton';
+
+const PASSWORD_POLICY = {
+ regex: /^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{8,}$/, // Example policy: Minimum 8 characters, at least one letter and one number
+ text: 'Password must be at least 8 characters long and contain at least one letter and one number.',
+};
+
+export const UpdatePassword = ({
+ open,
+ setOpen,
+}: {
+ open: boolean;
+ setOpen: (value: boolean) => void;
+}) => {
+ const [update] = useUpdate();
+ const {
+ register,
+ handleSubmit,
+ watch,
+ formState: { errors, isValid },
+ reset,
+ } = useForm({
+ mode: 'onChange',
+ });
+ const newPassword = watch('newPassword');
+ const { identity } = useGetIdentity();
+ const notify = useNotify();
+ const { data: dataUser, refetch } = useGetOne('sales', {
+ id: identity?.id,
+ });
+
+ if (!identity) return null;
+
+ const onSubmit = async (data: any) => {
+ await update(
+ 'sales',
+ {
+ id: identity.id,
+ data: {
+ password: data.newPassword,
+ },
+ previousData: identity,
+ },
+ {
+ onSuccess: _ => {
+ notify('Your password has been updated');
+ setOpen(false);
+ refetch();
+ reset();
+ },
+ onError: _ => {
+ notify('An error occurred. Please try again', {
+ type: 'error',
+ });
+ },
+ }
+ );
+ setOpen(false);
+ };
+
+ const handleClose = () => {
+ setOpen(false);
+ };
+
+ return (
+ <Dialog open={open} onClose={handleClose} maxWidth="sm" fullWidth>
+ <DialogCloseButton onClose={handleClose} />
+ <DialogTitle>Change Password</DialogTitle>
+ <form onSubmit={handleSubmit(onSubmit)}>
+ <DialogContent>
+ <Typography
+ variant="caption"
+ color="textSecondary"
+ gutterBottom
+ >
+ Password for Jane Doe account is "demo"
+ </Typography>
+ <Stack gap={1}>
+ <TextField
+ {...register('currentPassword', {
+ required: 'Current password is required',
+ validate: value => value === dataUser.password,
+ })}
+ autoFocus
+ margin="dense"
+ label="Current Password"
+ type="password"
+ fullWidth
+ error={!!errors.currentPassword}
+ helperText={
+ errors.currentPassword
+ ? 'Current password is incorrect'
+ : ''
+ }
+ />
+ <TextField
+ {...register('newPassword', {
+ required: 'New password is required',
+ pattern: {
+ value: PASSWORD_POLICY.regex,
+ message: PASSWORD_POLICY.text,
+ },
+ })}
+ margin="dense"
+ label="New Password"
+ type="password"
+ fullWidth
+ error={!!errors.newPassword}
+ helperText={
+ errors.newPassword ? PASSWORD_POLICY.text : ''
+ }
+ />
+ <TextField
+ {...register('confirmNewPassword', {
+ required: 'Please confirm your new password',
+ validate: value =>
+ value === newPassword ||
+ 'Passwords do not match',
+ })}
+ margin="dense"
+ label="Confirm New Password"
+ type="password"
+ fullWidth
+ error={!!errors.confirmNewPassword}
+ helperText={
+ errors.confirmNewPassword
+ ? 'Passwords do not match'
+ : ''
+ }
+ />
+ </Stack>
+ </DialogContent>
+ <DialogActions
+ sx={{
+ justifyContent: 'flex-start',
+ p: 0,
+ }}
+ >
+ <Toolbar
+ sx={{
+ width: '100%',
+ }}
+ >
+ <Button
+ type="submit"
+ color="primary"
+ variant="contained"
+ disabled={!isValid}
+ >
+ Update
+ </Button>
+ </Toolbar>
+ </DialogActions>
+ </form>
+ </Dialog>
+ );
+};
diff --git a/src/supabase.ts b/src/supabase.ts
index 550a3fc1..35bd8998 100644
--- a/src/supabase.ts
+++ b/src/supabase.ts
@@ -1,6 +1,6 @@
-import { createClient } from "@supabase/supabase-js";
+import { createClient } from '@supabase/supabase-js';
export const supabase = createClient(
- import.meta.env.VITE_SUPABASE_URL,
- import.meta.env.VITE_SUPABASE_ANON_KEY
+ import.meta.env.VITE_SUPABASE_URL,
+ import.meta.env.VITE_SUPABASE_ANON_KEY
);
diff --git a/src/tasks/AddTask.tsx b/src/tasks/AddTask.tsx
new file mode 100644
index 00000000..632a97d3
--- /dev/null
+++ b/src/tasks/AddTask.tsx
@@ -0,0 +1,113 @@
+import ControlPointIcon from '@mui/icons-material/ControlPoint';
+import {
+ Box,
+ Chip,
+ Dialog,
+ DialogActions,
+ DialogContent,
+ DialogTitle,
+ Stack,
+} from '@mui/material';
+import * as React from 'react';
+import { useState } from 'react';
+import {
+ CreateBase,
+ DateInput,
+ Form,
+ RecordRepresentation,
+ SaveButton,
+ SelectInput,
+ TextInput,
+ Toolbar,
+ required,
+ useRecordContext,
+} from 'react-admin';
+import { useConfigurationContext } from '../root/ConfigurationContext';
+import { DialogCloseButton } from '../misc/DialogCloseButton';
+
+export const AddTask = () => {
+ const { taskTypes } = useConfigurationContext();
+ const contact = useRecordContext();
+ const [open, setOpen] = useState(false);
+ const handleOpen = () => {
+ setOpen(true);
+ };
+ return (
+ <>
+ <Box mt={1}>
+ <Chip
+ icon={<ControlPointIcon />}
+ size="small"
+ variant="outlined"
+ onClick={handleOpen}
+ label="Add task"
+ color="primary"
+ />
+ </Box>
+ <CreateBase
+ resource="tasks"
+ record={{
+ type: 'None',
+ contact_id: contact?.id,
+ due_date: new Date().toISOString().slice(0, 10),
+ }}
+ mutationOptions={{ onSuccess: () => setOpen(false) }}
+ >
+ <Dialog
+ open={open}
+ onClose={() => setOpen(false)}
+ aria-labelledby="form-dialog-title"
+ fullWidth
+ disableRestoreFocus
+ maxWidth="sm"
+ >
+ <Form>
+ <DialogCloseButton onClose={() => setOpen(false)} />
+ <DialogTitle id="form-dialog-title">
+ Create a new task for{' '}
+ <RecordRepresentation
+ record={contact}
+ resource="contacts"
+ />
+ </DialogTitle>
+ <DialogContent>
+ <TextInput
+ autoFocus
+ source="text"
+ label="Description"
+ validate={required()}
+ multiline
+ helperText={false}
+ />
+ <Stack direction="row" spacing={1} mt={2}>
+ <DateInput
+ source="due_date"
+ validate={required()}
+ helperText={false}
+ />
+ <SelectInput
+ source="type"
+ validate={required()}
+ choices={taskTypes.map(type => ({
+ id: type,
+ name: type,
+ }))}
+ helperText={false}
+ />
+ </Stack>
+ </DialogContent>
+ <DialogActions sx={{ p: 0 }}>
+ <Toolbar
+ sx={{
+ width: '100%',
+ }}
+ >
+ <SaveButton onClick={() => setOpen(false)} />
+ </Toolbar>
+ </DialogActions>
+ </Form>
+ </Dialog>
+ </CreateBase>
+ </>
+ );
+};
diff --git a/src/tasks/Task.tsx b/src/tasks/Task.tsx
new file mode 100644
index 00000000..db3d5f08
--- /dev/null
+++ b/src/tasks/Task.tsx
@@ -0,0 +1,211 @@
+import MoreVertIcon from '@mui/icons-material/MoreVert';
+import {
+ Checkbox,
+ IconButton,
+ ListItem,
+ ListItemButton,
+ ListItemIcon,
+ ListItemText,
+ Menu,
+ MenuItem,
+ Typography,
+} from '@mui/material';
+import * as React from 'react';
+import { MouseEvent, useState } from 'react';
+import {
+ DateField,
+ ReferenceField,
+ useDeleteWithUndoController,
+ useUpdate,
+} from 'react-admin';
+import { TaskEdit } from './TaskEdit';
+
+export const Task = ({
+ task,
+ showContact,
+}: {
+ task: any;
+ showContact?: boolean;
+}) => {
+ const [anchorEl, setAnchorEl] = useState<null | HTMLElement>(null);
+ const [openEdit, setOpenEdit] = useState(false);
+
+ const open = Boolean(anchorEl);
+ const handleClick = (event: MouseEvent<HTMLButtonElement>) => {
+ setAnchorEl(event.currentTarget);
+ };
+ const handleCloseMenu = () => {
+ setAnchorEl(null);
+ };
+
+ const handleCloseEdit = () => {
+ setOpenEdit(false);
+ };
+
+ const [update, { isPending: isUpdatePending }] = useUpdate();
+ const { handleDelete } = useDeleteWithUndoController({
+ record: task,
+ redirect: false,
+ });
+
+ const handleEdit = () => {
+ setAnchorEl(null);
+ setOpenEdit(true);
+ };
+
+ const handleCheck = () => () => {
+ update('tasks', {
+ id: task.id,
+ data: {
+ done_date: task.done_date
+ ? undefined
+ : new Date().toISOString(),
+ },
+ previousData: task,
+ });
+ };
+ const labelId = `checkbox-list-label-${task.id}`;
+ return (
+ <>
+ <ListItem
+ secondaryAction={
+ <>
+ <IconButton
+ edge="end"
+ aria-label="task actions"
+ aria-controls={
+ open ? `task-${task.id}-menu` : undefined
+ }
+ onClick={handleClick}
+ aria-haspopup="true"
+ aria-expanded={open ? 'true' : undefined}
+ size="small"
+ >
+ <MoreVertIcon />
+ </IconButton>
+ <Menu
+ id={`task-${task.id}-menu`}
+ anchorEl={anchorEl}
+ open={open}
+ onClose={handleCloseMenu}
+ MenuListProps={{
+ 'aria-labelledby': 'basic-button',
+ }}
+ >
+ <MenuItem
+ onClick={() => {
+ update('tasks', {
+ id: task.id,
+ data: {
+ due_date: new Date(
+ Date.now() + 24 * 60 * 60 * 1000
+ )
+ .toISOString()
+ .slice(0, 10),
+ },
+ previousData: task,
+ });
+ handleCloseMenu();
+ }}
+ >
+ Postpone to tomorrow
+ </MenuItem>
+ <MenuItem
+ onClick={() => {
+ update('tasks', {
+ id: task.id,
+ data: {
+ due_date: new Date(
+ Date.now() +
+ 7 * 24 * 60 * 60 * 1000
+ )
+ .toISOString()
+ .slice(0, 10),
+ },
+ previousData: task,
+ });
+ handleCloseMenu();
+ }}
+ >
+ Postpone to next week
+ </MenuItem>
+ <MenuItem onClick={handleEdit}>Edit</MenuItem>
+ <MenuItem onClick={handleDelete}>Delete</MenuItem>
+ </Menu>
+ </>
+ }
+ disableGutters
+ sx={{ pr: 3 }}
+ >
+ <ListItemButton
+ role={undefined}
+ onClick={handleCheck()}
+ dense
+ disabled={isUpdatePending}
+ sx={{
+ pl: 0,
+ pr: '0!important',
+ pt: 0,
+ pb: 0,
+ alignItems: 'flex-start',
+ }}
+ >
+ <ListItemIcon sx={{ minWidth: 'auto' }}>
+ <Checkbox
+ edge="start"
+ checked={!!task.done_date}
+ tabIndex={-1}
+ disableRipple
+ inputProps={{ 'aria-labelledby': labelId }}
+ sx={{ pt: 0.3 }}
+ />
+ </ListItemIcon>
+ <ListItemText
+ sx={{
+ textDecoration: !!task.done_date
+ ? 'line-through'
+ : 'none',
+ }}
+ id={labelId}
+ >
+ {task.type && task.type !== 'None' && (
+ <>
+ <Typography component="strong" variant="body2">
+ {task.type}
+ </Typography>
+ &nbsp;
+ </>
+ )}
+ {task.text}
+ <Typography
+ variant="body2"
+ color="textSecondary"
+ component="div"
+ >
+ due <DateField source="due_date" record={task} />
+ {showContact && (
+ <>
+ &nbsp;(Re:{' '}
+ <ReferenceField
+ source="contact_id"
+ reference="contacts"
+ record={task}
+ link="show"
+ />
+ )
+ </>
+ )}
+ </Typography>
+ </ListItemText>
+ </ListItemButton>
+ </ListItem>
+
+ {/* This part is for editing the Task directly via a Dialog */}
+ <TaskEdit
+ taskId={task.id}
+ open={openEdit}
+ close={handleCloseEdit}
+ />
+ </>
+ );
+};
diff --git a/src/tasks/TaskEdit.tsx b/src/tasks/TaskEdit.tsx
new file mode 100644
index 00000000..4108e0a5
--- /dev/null
+++ b/src/tasks/TaskEdit.tsx
@@ -0,0 +1,115 @@
+import {
+ Dialog,
+ DialogActions,
+ DialogContent,
+ DialogTitle,
+ Stack,
+} from '@mui/material';
+import * as React from 'react';
+import {
+ DateInput,
+ DeleteButton,
+ EditBase,
+ Form,
+ required,
+ SaveButton,
+ SelectInput,
+ TextInput,
+ Toolbar,
+ useNotify,
+} from 'react-admin';
+import { useConfigurationContext } from '../root/ConfigurationContext';
+import { DialogCloseButton } from '../misc/DialogCloseButton';
+
+export const TaskEdit = ({
+ open,
+ close,
+ taskId,
+}: {
+ taskId: string;
+ open: boolean;
+ close: () => void;
+}) => {
+ const { taskTypes } = useConfigurationContext();
+ const notify = useNotify();
+ return (
+ <Dialog
+ open={open}
+ onClose={close}
+ fullWidth
+ disableRestoreFocus
+ maxWidth="sm"
+ >
+ <EditBase
+ id={taskId}
+ resource="tasks"
+ sx={{ '& .RaCreate-main': { mt: 0 } }}
+ mutationOptions={{
+ onSuccess: () => {
+ close();
+ notify('Task updated', {
+ type: 'info',
+ undoable: true,
+ });
+ },
+ }}
+ redirect={false}
+ >
+ <Form>
+ <DialogCloseButton onClose={close} />
+ <DialogTitle id="form-dialog-title">Edit task</DialogTitle>
+ <DialogContent>
+ <TextInput
+ autoFocus
+ source="text"
+ label="Description"
+ validate={required()}
+ multiline
+ helperText={false}
+ />
+ <Stack direction="row" spacing={1} mt={2}>
+ <DateInput
+ source="due_date"
+ validate={required()}
+ helperText={false}
+ />
+ <SelectInput
+ source="type"
+ validate={required()}
+ choices={taskTypes.map(type => ({
+ id: type,
+ name: type,
+ }))}
+ helperText={false}
+ />
+ </Stack>
+ </DialogContent>
+ <DialogActions sx={{ p: 0 }}>
+ <Toolbar
+ sx={{
+ width: '100%',
+ justifyContent: 'space-between',
+ gap: 1,
+ }}
+ >
+ <SaveButton label="Save" />
+ <DeleteButton
+ label="Delete"
+ mutationOptions={{
+ onSuccess: () => {
+ close();
+ notify('Task deleted', {
+ type: 'info',
+ undoable: true,
+ });
+ },
+ }}
+ redirect={false}
+ />
+ </Toolbar>
+ </DialogActions>
+ </Form>
+ </EditBase>
+ </Dialog>
+ );
+};
diff --git a/src/tasks/TasksIterator.tsx b/src/tasks/TasksIterator.tsx
new file mode 100644
index 00000000..2ed73f82
--- /dev/null
+++ b/src/tasks/TasksIterator.tsx
@@ -0,0 +1,29 @@
+import * as React from 'react';
+import { useListContext } from 'react-admin';
+import { isAfter } from 'date-fns';
+import { List } from '@mui/material';
+
+import { Task } from './Task';
+
+export const TasksIterator = ({ showContact }: { showContact?: boolean }) => {
+ const { data, error, isPending } = useListContext();
+ if (isPending || error || data.length === 0) return null;
+
+ // Keep only tasks that are not done or done less than 5 minutes ago
+ const tasks = data.filter(
+ task =>
+ !task.done_date ||
+ isAfter(
+ new Date(task.done_date),
+ new Date(Date.now() - 5 * 60 * 1000)
+ )
+ );
+
+ return (
+ <List dense>
+ {tasks.map(task => (
+ <Task task={task} showContact={showContact} key={task.id} />
+ ))}
+ </List>
+ );
+};
diff --git a/src/types.ts b/src/types.ts
index edc8b825..a0aa1307 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -1,17 +1,27 @@
import { Identifier, RaRecord } from 'react-admin';
+import {
+ COMPANY_CREATED,
+ CONTACT_CREATED,
+ CONTACT_NOTE_CREATED,
+ DEAL_CREATED,
+ DEAL_NOTE_CREATED,
+} from './consts';
export interface Sale extends RaRecord {
first_name: string;
last_name: string;
email: string;
+ password: string;
+ administrator: boolean;
+ avatar?: string;
}
export interface Company extends RaRecord {
name: string;
- logo: string;
+ logo: { title: string; src: string };
sector: string;
size: 1 | 10 | 50 | 250 | 500;
- linkedIn: string;
+ linkedin_url: string;
website: string;
phone_number: string;
address: string;
@@ -22,6 +32,11 @@ export interface Company extends RaRecord {
nb_deals: number;
sales_id: Identifier;
created_at: string;
+ description: string;
+ revenue: string;
+ tax_identifier: string;
+ country: string;
+ context_links?: string[];
}
export interface Contact extends RaRecord {
@@ -29,8 +44,10 @@ export interface Contact extends RaRecord {
last_name: string;
title: string;
company_id: Identifier;
+ company_name: string;
email: string;
- avatar?: string;
+ avatar?: string | null;
+ linkedin_url?: string;
first_seen: string;
last_seen: string;
has_newsletter: Boolean;
@@ -40,34 +57,118 @@ export interface Contact extends RaRecord {
nb_notes: number;
status: string;
background: string;
+ phone_number1: { number: string; type: 'Work' | 'Home' | 'Other' };
+ phone_number2: { number: string; type: 'Work' | 'Home' | 'Other' };
}
export interface ContactNote extends RaRecord {
contact_id: Identifier;
- type: string;
text: string;
- date: string;
+ date: Date;
sales_id: Identifier;
status: string;
+ attachments?: AttachmentNote[];
}
export interface Deal extends RaRecord {
name: string;
company_id: Identifier;
contact_ids: Identifier[];
- type: string;
+ category: string;
stage: string;
description: string;
amount: number;
created_at: string;
updated_at: string;
- start_at: string;
+ archived_at?: string;
+ expected_closing_date: string;
sales_id: Identifier;
index: number;
nb_notes: number;
}
+export interface DealNote extends RaRecord {
+ deal_id: Identifier;
+ text: string;
+ date: Date;
+ sales_id: Identifier;
+ attachments?: AttachmentNote[];
+}
+
export interface Tag extends RaRecord {
name: string;
color: string;
}
+
+export interface Task extends RaRecord {
+ contact_id: Identifier;
+ type: string;
+ text: string;
+ due_date: string;
+ done_date?: string | null;
+}
+
+export type ActivityCompanyCreated = {
+ type: typeof COMPANY_CREATED;
+ company: Company;
+ sale: Sale;
+};
+
+export type ActivityContactCreated = {
+ type: typeof CONTACT_CREATED;
+ company: Company;
+ sale: Sale;
+ contact: Contact;
+};
+
+export type ActivityContactNoteCreated = {
+ type: typeof CONTACT_NOTE_CREATED;
+ sale: Sale;
+ company: Company;
+ contact: Contact;
+ contactNote: ContactNote;
+};
+
+export type ActivityDealCreated = {
+ type: typeof DEAL_CREATED;
+ company: Company;
+ sale: Sale;
+ deal: Deal;
+};
+
+export type ActivityDealNoteCreated = {
+ type: typeof DEAL_NOTE_CREATED;
+ company: Company;
+ sale: Sale;
+ deal: Deal;
+ dealNote: DealNote;
+};
+
+export type Activity = RaRecord & { date: string } & (
+ | ActivityCompanyCreated
+ | ActivityContactCreated
+ | ActivityContactNoteCreated
+ | ActivityDealCreated
+ | ActivityDealNoteCreated
+ );
+
+export interface AttachmentNote {
+ src: string;
+ title: string;
+ rawFile: File;
+}
+export interface DealStage {
+ value: string;
+ label: string;
+}
+
+export interface NoteStatus {
+ value: string;
+ label: string;
+ color: string;
+}
+
+export interface ContactGender {
+ value: string;
+ label: string;
+}
diff --git a/supabase/migrations/20240729090503_deal_add_columns.sql b/supabase/migrations/20240729090503_deal_add_columns.sql
index 259956c8..9ddb932f 100644
--- a/supabase/migrations/20240729090503_deal_add_columns.sql
+++ b/supabase/migrations/20240729090503_deal_add_columns.sql
@@ -2,8 +2,6 @@ alter table "public"."dealNotes" drop column "status";
alter table "public"."deals" drop column "start_at";
-alter table "public"."deals" drop column "type";
-
alter table "public"."deals" rename column "type" to "category";
alter table "public"."deals" add column "nb_notes" integer;
diff --git a/supabase/migrations/20240729132633_user_triggers.sql b/supabase/migrations/20240729132633_user_triggers.sql
new file mode 100644
index 00000000..5ff78b8b
--- /dev/null
+++ b/supabase/migrations/20240729132633_user_triggers.sql
@@ -0,0 +1,15 @@
+create function public.handle_new_user()
+returns trigger
+language plpgsql
+security definer set search_path = ''
+as $$
+begin
+ insert into public.sales (first_name, last_name, user_id)
+ values (new.raw_user_meta_data ->> 'first_name', new.raw_user_meta_data ->> 'last_name', new.id);
+ return new;
+end;
+$$;
+
+create trigger on_auth_user_created
+ after insert on auth.users
+ for each row execute procedure public.handle_new_user();
diff --git a/supabase/migrations/20240729144645_init_probe_view.sql b/supabase/migrations/20240729144645_init_probe_view.sql
new file mode 100644
index 00000000..e4547d0e
--- /dev/null
+++ b/supabase/migrations/20240729144645_init_probe_view.sql
@@ -0,0 +1,4 @@
+create view init_state as
+select count(id) as is_initialized
+from public.sales
+limit 1;
\ No newline at end of file