Skip to content

Beautiful Open-Source Form Builder

Remove old JS app, update deploy script

Julien Nahum675b88f75a9c
diff --git a/.eslintrc.js b/.eslintrc.js
deleted file mode 100644
index 156209320..000000000
--- a/.eslintrc.js
+++ /dev/null
@@ -1,16 +0,0 @@
-module.exports = {
- root: true,
- parser: 'vue-eslint-parser',
- parserOptions: {
- parser: '@babel/eslint-parser',
- ecmaVersion: 2018,
- sourceType: 'module'
- },
- extends: [
- 'plugin:vue/recommended',
- 'standard'
- ],
- rules: {
- 'vue/max-attributes-per-line': 'off'
- }
-}
diff --git a/README.md b/README.md
index ec84b0702..087db453d 100644
--- a/README.md
+++ b/README.md
@@ -67,7 +67,7 @@ It takes 1 minute to try out the builder for free. You'll have high availability
### Docker installation 🐳
-There's a `Dockerfile` for building a self-contained docker image including databases, webservers etc.
+> ⚠️ **Warning**: the Docker setup is currently not working as we're migrating the front-end to Nuxt. [Track progress here](https://github.com/JhumanJ/OpnForm/issues/283).
This can be built and run locally but is also hosted publicly on docker hub at `jhumanj/opnform` and is generally best run directly from there.
@@ -154,8 +154,11 @@ First, let's work with the codebase and its dependencies.
# Get the code!
git clone [email protected]:JhumanJ/OpnForm.git && cd OpnForm
-# Install PHP and JS dependencies
-composer install && npm install
+# Install PHP dependencies
+composer install
+
+ # Install JS dependencies
+cd client && npm install
# Compile assets (see the scripts section in package.json)
npm run dev # or build
@@ -186,7 +189,8 @@ Now, create an S3 bucket (or equivalent). Create an IAM user with access to this
OpnForm is a standard web application built with:
- [Laravel](https://laravel.com/) PHP framework
-- [Vue.js](https://vuejs.org/) front-end framework
+- [NuxtJs](https://nuxt.com/) Front-end SSR framework
+- [Vue.js 3](https://vuejs.org/) Front-end framework
- [TailwindCSS](https://tailwindcss.com/)
## Contribute
diff --git a/package-lock.json b/package-lock.json
deleted file mode 100644
index 22eb80e47..000000000
--- a/package-lock.json
+++ /dev/null
@@ -1,15080 +0,0 @@
-{
- "name": "OpnForm",
- "lockfileVersion": 3,
- "requires": true,
- "packages": {
- "": {
- "dependencies": {
- "@hcaptcha/vue3-hcaptcha": "^1.3.0",
- "@sentry/integrations": "^7.53.1",
- "@sentry/tracing": "^6.11.0",
- "@sentry/vue": "^6.11.0",
- "@vue/compat": "^3.3.9",
- "@vueuse/components": "^10.5.0",
- "@vueuse/core": "^10.5.0",
- "@vueuse/motion": "^2.0.0",
- "axios": "^0.21.1",
- "chart.js": "^4.4.0",
- "clone-deep": "^4.0.1",
- "date-fns": "^2.28.0",
- "debounce": "^1.2.1",
- "fuse.js": "^6.4.6",
- "js-sha256": "^0.9.0",
- "libphonenumber-js": "^1.10.44",
- "pinia": "^2.1.7",
- "prismjs": "^1.24.1",
- "qrcode": "^1.5.1",
- "query-builder-vue-3": "^1.0.1",
- "tinymotion": "^0.2.0",
- "vue": "^3.2.13",
- "vue-chartjs": "^5.2.0",
- "vue-codemirror": "^4.0.6",
- "vue-confetti": "^2.3.0",
- "vue-country-flag-next": "^2.3.2",
- "vue-i18n": "^8.25.0",
- "vue-meta": "^3.0.0-alpha.2",
- "vue-notion": "^3.0.0-beta.1",
- "vue-router": "^4.2.5",
- "vue-signature-pad": "^3.0.2",
- "vue3-editor": "^0.1.1",
- "vue3-vt-notifications": "^1.0.0",
- "vuedraggable": "next"
- },
- "devDependencies": {
- "@babel/core": "^7.20.12",
- "@babel/eslint-parser": "^7.15.0",
- "@babel/plugin-syntax-dynamic-import": "^7.8.3",
- "@babel/preset-env": "^7.15.0",
- "@sentry/vite-plugin": "^2.8.0",
- "@tailwindcss/aspect-ratio": "^0.4.2",
- "@vitejs/plugin-vue": "^4.4.0",
- "autoprefixer": "^10.4.13",
- "cross-env": "^7.0.3",
- "eslint": "^7.32.0",
- "eslint-config-standard": "^16.0.3",
- "eslint-plugin-import": "^2.27.5",
- "eslint-plugin-node": "^11.1.0",
- "eslint-plugin-promise": "^4.3.1",
- "eslint-plugin-standard": "^4.1.0",
- "eslint-plugin-vue": "^7.16.0",
- "imagemin-webpack-plugin": "^2.4.2",
- "laravel-vite-plugin": "^0.7.3",
- "postcss": "^8.4.21",
- "resolve-url-loader": "^3.1.5",
- "sass": "^1.57.1",
- "sass-loader": "^10.2.0",
- "tailwindcss": "^3.2.4",
- "vite": "^4.0.4",
- "vue-loader": "^16.8.3"
- }
- },
- "node_modules/@aashutoshrathi/word-wrap": {
- "version": "1.2.6",
- "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz",
- "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/@alloc/quick-lru": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz",
- "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==",
- "dev": true,
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/@ampproject/remapping": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz",
- "integrity": "sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==",
- "devOptional": true,
- "dependencies": {
- "@jridgewell/gen-mapping": "^0.3.0",
- "@jridgewell/trace-mapping": "^0.3.9"
- },
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/@babel/code-frame": {
- "version": "7.23.5",
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.5.tgz",
- "integrity": "sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==",
- "devOptional": true,
- "dependencies": {
- "@babel/highlight": "^7.23.4",
- "chalk": "^2.4.2"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/compat-data": {
- "version": "7.23.5",
- "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.23.5.tgz",
- "integrity": "sha512-uU27kfDRlhfKl+w1U6vp16IuvSLtjAxdArVXPa9BvLkrr7CYIsxH5adpHObeAGY/41+syctUWOZ140a2Rvkgjw==",
- "devOptional": true,
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/core": {
- "version": "7.23.6",
- "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.6.tgz",
- "integrity": "sha512-FxpRyGjrMJXh7X3wGLGhNDCRiwpWEF74sKjTLDJSG5Kyvow3QZaG0Adbqzi9ZrVjTWpsX+2cxWXD71NMg93kdw==",
- "devOptional": true,
- "dependencies": {
- "@ampproject/remapping": "^2.2.0",
- "@babel/code-frame": "^7.23.5",
- "@babel/generator": "^7.23.6",
- "@babel/helper-compilation-targets": "^7.23.6",
- "@babel/helper-module-transforms": "^7.23.3",
- "@babel/helpers": "^7.23.6",
- "@babel/parser": "^7.23.6",
- "@babel/template": "^7.22.15",
- "@babel/traverse": "^7.23.6",
- "@babel/types": "^7.23.6",
- "convert-source-map": "^2.0.0",
- "debug": "^4.1.0",
- "gensync": "^1.0.0-beta.2",
- "json5": "^2.2.3",
- "semver": "^6.3.1"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/babel"
- }
- },
- "node_modules/@babel/eslint-parser": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.23.3.tgz",
- "integrity": "sha512-9bTuNlyx7oSstodm1cR1bECj4fkiknsDa1YniISkJemMY3DGhJNYBECbe6QD/q54mp2J8VO66jW3/7uP//iFCw==",
- "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"
- }
- },
- "node_modules/@babel/generator": {
- "version": "7.23.6",
- "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.6.tgz",
- "integrity": "sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw==",
- "devOptional": true,
- "dependencies": {
- "@babel/types": "^7.23.6",
- "@jridgewell/gen-mapping": "^0.3.2",
- "@jridgewell/trace-mapping": "^0.3.17",
- "jsesc": "^2.5.1"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helper-annotate-as-pure": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.22.5.tgz",
- "integrity": "sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==",
- "dev": true,
- "dependencies": {
- "@babel/types": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helper-builder-binary-assignment-operator-visitor": {
- "version": "7.22.15",
- "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.22.15.tgz",
- "integrity": "sha512-QkBXwGgaoC2GtGZRoma6kv7Szfv06khvhFav67ZExau2RaXzy8MpHSMO2PNoP2XtmQphJQRHFfg77Bq731Yizw==",
- "dev": true,
- "dependencies": {
- "@babel/types": "^7.22.15"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helper-compilation-targets": {
- "version": "7.23.6",
- "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.23.6.tgz",
- "integrity": "sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ==",
- "devOptional": true,
- "dependencies": {
- "@babel/compat-data": "^7.23.5",
- "@babel/helper-validator-option": "^7.23.5",
- "browserslist": "^4.22.2",
- "lru-cache": "^5.1.1",
- "semver": "^6.3.1"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helper-create-class-features-plugin": {
- "version": "7.23.6",
- "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.23.6.tgz",
- "integrity": "sha512-cBXU1vZni/CpGF29iTu4YRbOZt3Wat6zCoMDxRF1MayiEc4URxOj31tT65HUM0CRpMowA3HCJaAOVOUnMf96cw==",
- "dev": true,
- "dependencies": {
- "@babel/helper-annotate-as-pure": "^7.22.5",
- "@babel/helper-environment-visitor": "^7.22.20",
- "@babel/helper-function-name": "^7.23.0",
- "@babel/helper-member-expression-to-functions": "^7.23.0",
- "@babel/helper-optimise-call-expression": "^7.22.5",
- "@babel/helper-replace-supers": "^7.22.20",
- "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5",
- "@babel/helper-split-export-declaration": "^7.22.6",
- "semver": "^6.3.1"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0"
- }
- },
- "node_modules/@babel/helper-create-regexp-features-plugin": {
- "version": "7.22.15",
- "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.22.15.tgz",
- "integrity": "sha512-29FkPLFjn4TPEa3RE7GpW+qbE8tlsu3jntNYNfcGsc49LphF1PQIiD+vMZ1z1xVOKt+93khA9tc2JBs3kBjA7w==",
- "dev": true,
- "dependencies": {
- "@babel/helper-annotate-as-pure": "^7.22.5",
- "regexpu-core": "^5.3.1",
- "semver": "^6.3.1"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0"
- }
- },
- "node_modules/@babel/helper-define-polyfill-provider": {
- "version": "0.4.4",
- "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.4.4.tgz",
- "integrity": "sha512-QcJMILQCu2jm5TFPGA3lCpJJTeEP+mqeXooG/NZbg/h5FTFi6V0+99ahlRsW8/kRLyb24LZVCCiclDedhLKcBA==",
- "dev": true,
- "dependencies": {
- "@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-environment-visitor": {
- "version": "7.22.20",
- "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz",
- "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==",
- "devOptional": true,
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helper-function-name": {
- "version": "7.23.0",
- "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz",
- "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==",
- "devOptional": true,
- "dependencies": {
- "@babel/template": "^7.22.15",
- "@babel/types": "^7.23.0"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helper-hoist-variables": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz",
- "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==",
- "devOptional": true,
- "dependencies": {
- "@babel/types": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helper-member-expression-to-functions": {
- "version": "7.23.0",
- "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.23.0.tgz",
- "integrity": "sha512-6gfrPwh7OuT6gZyJZvd6WbTfrqAo7vm4xCzAXOusKqq/vWdKXphTpj5klHKNmRUU6/QRGlBsyU9mAIPaWHlqJA==",
- "dev": true,
- "dependencies": {
- "@babel/types": "^7.23.0"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helper-module-imports": {
- "version": "7.22.15",
- "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz",
- "integrity": "sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==",
- "devOptional": true,
- "dependencies": {
- "@babel/types": "^7.22.15"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helper-module-transforms": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz",
- "integrity": "sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==",
- "devOptional": true,
- "dependencies": {
- "@babel/helper-environment-visitor": "^7.22.20",
- "@babel/helper-module-imports": "^7.22.15",
- "@babel/helper-simple-access": "^7.22.5",
- "@babel/helper-split-export-declaration": "^7.22.6",
- "@babel/helper-validator-identifier": "^7.22.20"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0"
- }
- },
- "node_modules/@babel/helper-optimise-call-expression": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.22.5.tgz",
- "integrity": "sha512-HBwaojN0xFRx4yIvpwGqxiV2tUfl7401jlok564NgB9EHS1y6QT17FmKWm4ztqjeVdXLuC4fSvHc5ePpQjoTbw==",
- "dev": true,
- "dependencies": {
- "@babel/types": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helper-plugin-utils": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz",
- "integrity": "sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==",
- "dev": true,
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helper-remap-async-to-generator": {
- "version": "7.22.20",
- "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.22.20.tgz",
- "integrity": "sha512-pBGyV4uBqOns+0UvhsTO8qgl8hO89PmiDYv+/COyp1aeMcmfrfruz+/nCMFiYyFF/Knn0yfrC85ZzNFjembFTw==",
- "dev": true,
- "dependencies": {
- "@babel/helper-annotate-as-pure": "^7.22.5",
- "@babel/helper-environment-visitor": "^7.22.20",
- "@babel/helper-wrap-function": "^7.22.20"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0"
- }
- },
- "node_modules/@babel/helper-replace-supers": {
- "version": "7.22.20",
- "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.22.20.tgz",
- "integrity": "sha512-qsW0In3dbwQUbK8kejJ4R7IHVGwHJlV6lpG6UA7a9hSa2YEiAib+N1T2kr6PEeUT+Fl7najmSOS6SmAwCHK6Tw==",
- "dev": true,
- "dependencies": {
- "@babel/helper-environment-visitor": "^7.22.20",
- "@babel/helper-member-expression-to-functions": "^7.22.15",
- "@babel/helper-optimise-call-expression": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0"
- }
- },
- "node_modules/@babel/helper-simple-access": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz",
- "integrity": "sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==",
- "devOptional": true,
- "dependencies": {
- "@babel/types": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helper-skip-transparent-expression-wrappers": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.22.5.tgz",
- "integrity": "sha512-tK14r66JZKiC43p8Ki33yLBVJKlQDFoA8GYN67lWCDCqoL6EMMSuM9b+Iff2jHaM/RRFYl7K+iiru7hbRqNx8Q==",
- "dev": true,
- "dependencies": {
- "@babel/types": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helper-split-export-declaration": {
- "version": "7.22.6",
- "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz",
- "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==",
- "devOptional": true,
- "dependencies": {
- "@babel/types": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helper-string-parser": {
- "version": "7.23.4",
- "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz",
- "integrity": "sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==",
- "devOptional": true,
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helper-validator-identifier": {
- "version": "7.22.20",
- "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz",
- "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==",
- "devOptional": true,
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helper-validator-option": {
- "version": "7.23.5",
- "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.23.5.tgz",
- "integrity": "sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw==",
- "devOptional": true,
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helper-wrap-function": {
- "version": "7.22.20",
- "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.22.20.tgz",
- "integrity": "sha512-pms/UwkOpnQe/PDAEdV/d7dVCoBbB+R4FvYoHGZz+4VPcg7RtYy2KP7S2lbuWM6FCSgob5wshfGESbC/hzNXZw==",
- "dev": true,
- "dependencies": {
- "@babel/helper-function-name": "^7.22.5",
- "@babel/template": "^7.22.15",
- "@babel/types": "^7.22.19"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helpers": {
- "version": "7.23.6",
- "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.6.tgz",
- "integrity": "sha512-wCfsbN4nBidDRhpDhvcKlzHWCTlgJYUUdSJfzXb2NuBssDSIjc3xcb+znA7l+zYsFljAcGM0aFkN40cR3lXiGA==",
- "devOptional": true,
- "dependencies": {
- "@babel/template": "^7.22.15",
- "@babel/traverse": "^7.23.6",
- "@babel/types": "^7.23.6"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/highlight": {
- "version": "7.23.4",
- "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz",
- "integrity": "sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==",
- "devOptional": true,
- "dependencies": {
- "@babel/helper-validator-identifier": "^7.22.20",
- "chalk": "^2.4.2",
- "js-tokens": "^4.0.0"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/parser": {
- "version": "7.23.6",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.6.tgz",
- "integrity": "sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ==",
- "bin": {
- "parser": "bin/babel-parser.js"
- },
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": {
- "version": "7.23.3",
- "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.23.3.tgz",
- "integrity": "sha512-iRkKcCqb7iGnq9+3G6rZ+Ciz5VywC4XNRHe57lKM+jOeYAoR0lVqdeeDRfh0tQcTfw/+vBhHn926FmQhLtlFLQ==",
- "dev": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0"
- }
- },
- "node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.23.3.tgz",
- "integrity": "sha512-WwlxbfMNdVEpQjZmK5mhm7oSwD3dS6eU+Iwsi4Knl9wAletWem7kaRsGOG+8UEbRyqxY4SS5zvtfXwX+jMxUwQ==",
- "dev": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5",
- "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5",
- "@babel/plugin-transform-optional-chaining": "^7.23.3"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.13.0"
- }
- },
- "node_modules/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.23.3.tgz",
- "integrity": "sha512-XaJak1qcityzrX0/IU5nKHb34VaibwP3saKqG6a/tppelgllOH13LUann4ZCIBcVOeE6H18K4Vx9QKkVww3z/w==",
- "dev": true,
- "dependencies": {
- "@babel/helper-environment-visitor": "^7.22.20",
- "@babel/helper-plugin-utils": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0"
- }
- },
- "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": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "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/@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/@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,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.14.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "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,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.8.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "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,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.8.3"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-syntax-import-assertions": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.23.3.tgz",
- "integrity": "sha512-lPgDSU+SJLK3xmFDTV2ZRQAiM7UuUjGidwBywFavObCiZc1BeAAcMtHJKUya92hPHO+at63JJPLygilZard8jw==",
- "dev": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-syntax-import-attributes": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.23.3.tgz",
- "integrity": "sha512-pawnE0P9g10xgoP7yKr6CK63K2FMsTE+FZidZO/1PwRdzmAPVs+HS1mAURUsgaoxammTJvULUdIkEK0gOcU2tA==",
- "dev": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "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,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.10.4"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "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,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.8.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "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,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.10.4"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "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,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.8.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "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,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.10.4"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "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,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.8.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "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,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.8.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "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,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.8.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "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,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.14.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "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,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.14.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "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,
- "dependencies": {
- "@babel/helper-create-regexp-features-plugin": "^7.18.6",
- "@babel/helper-plugin-utils": "^7.18.6"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0"
- }
- },
- "node_modules/@babel/plugin-transform-arrow-functions": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.23.3.tgz",
- "integrity": "sha512-NzQcQrzaQPkaEwoTm4Mhyl8jI1huEL/WWIEvudjTCMJ9aBZNpsJbMASx7EQECtQQPS/DcnFpo0FIh3LvEO9cxQ==",
- "dev": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-async-generator-functions": {
- "version": "7.23.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.23.4.tgz",
- "integrity": "sha512-efdkfPhHYTtn0G6n2ddrESE91fgXxjlqLsnUtPWnJs4a4mZIbUaK7ffqKIIUKXSHwcDvaCVX6GXkaJJFqtX7jw==",
- "dev": true,
- "dependencies": {
- "@babel/helper-environment-visitor": "^7.22.20",
- "@babel/helper-plugin-utils": "^7.22.5",
- "@babel/helper-remap-async-to-generator": "^7.22.20",
- "@babel/plugin-syntax-async-generators": "^7.8.4"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-async-to-generator": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.23.3.tgz",
- "integrity": "sha512-A7LFsKi4U4fomjqXJlZg/u0ft/n8/7n7lpffUP/ZULx/DtV9SGlNKZolHH6PE8Xl1ngCc0M11OaeZptXVkfKSw==",
- "dev": true,
- "dependencies": {
- "@babel/helper-module-imports": "^7.22.15",
- "@babel/helper-plugin-utils": "^7.22.5",
- "@babel/helper-remap-async-to-generator": "^7.22.20"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-block-scoped-functions": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.23.3.tgz",
- "integrity": "sha512-vI+0sIaPIO6CNuM9Kk5VmXcMVRiOpDh7w2zZt9GXzmE/9KD70CUEVhvPR/etAeNK/FAEkhxQtXOzVF3EuRL41A==",
- "dev": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-block-scoping": {
- "version": "7.23.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.23.4.tgz",
- "integrity": "sha512-0QqbP6B6HOh7/8iNR4CQU2Th/bbRtBp4KS9vcaZd1fZ0wSh5Fyssg0UCIHwxh+ka+pNDREbVLQnHCMHKZfPwfw==",
- "dev": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-class-properties": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.23.3.tgz",
- "integrity": "sha512-uM+AN8yCIjDPccsKGlw271xjJtGii+xQIF/uMPS8H15L12jZTsLfF4o5vNO7d/oUguOyfdikHGc/yi9ge4SGIg==",
- "dev": true,
- "dependencies": {
- "@babel/helper-create-class-features-plugin": "^7.22.15",
- "@babel/helper-plugin-utils": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-class-static-block": {
- "version": "7.23.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.23.4.tgz",
- "integrity": "sha512-nsWu/1M+ggti1SOALj3hfx5FXzAY06fwPJsUZD4/A5e1bWi46VUIWtD+kOX6/IdhXGsXBWllLFDSnqSCdUNydQ==",
- "dev": true,
- "dependencies": {
- "@babel/helper-create-class-features-plugin": "^7.22.15",
- "@babel/helper-plugin-utils": "^7.22.5",
- "@babel/plugin-syntax-class-static-block": "^7.14.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.12.0"
- }
- },
- "node_modules/@babel/plugin-transform-classes": {
- "version": "7.23.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.23.5.tgz",
- "integrity": "sha512-jvOTR4nicqYC9yzOHIhXG5emiFEOpappSJAl73SDSEDcybD+Puuze8Tnpb9p9qEyYup24tq891gkaygIFvWDqg==",
- "dev": true,
- "dependencies": {
- "@babel/helper-annotate-as-pure": "^7.22.5",
- "@babel/helper-compilation-targets": "^7.22.15",
- "@babel/helper-environment-visitor": "^7.22.20",
- "@babel/helper-function-name": "^7.23.0",
- "@babel/helper-optimise-call-expression": "^7.22.5",
- "@babel/helper-plugin-utils": "^7.22.5",
- "@babel/helper-replace-supers": "^7.22.20",
- "@babel/helper-split-export-declaration": "^7.22.6",
- "globals": "^11.1.0"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-computed-properties": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.23.3.tgz",
- "integrity": "sha512-dTj83UVTLw/+nbiHqQSFdwO9CbTtwq1DsDqm3CUEtDrZNET5rT5E6bIdTlOftDTDLMYxvxHNEYO4B9SLl8SLZw==",
- "dev": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5",
- "@babel/template": "^7.22.15"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-destructuring": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.23.3.tgz",
- "integrity": "sha512-n225npDqjDIr967cMScVKHXJs7rout1q+tt50inyBCPkyZ8KxeI6d+GIbSBTT/w/9WdlWDOej3V9HE5Lgk57gw==",
- "dev": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-dotall-regex": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.23.3.tgz",
- "integrity": "sha512-vgnFYDHAKzFaTVp+mneDsIEbnJ2Np/9ng9iviHw3P/KVcgONxpNULEW/51Z/BaFojG2GI2GwwXck5uV1+1NOYQ==",
- "dev": true,
- "dependencies": {
- "@babel/helper-create-regexp-features-plugin": "^7.22.15",
- "@babel/helper-plugin-utils": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-duplicate-keys": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.23.3.tgz",
- "integrity": "sha512-RrqQ+BQmU3Oyav3J+7/myfvRCq7Tbz+kKLLshUmMwNlDHExbGL7ARhajvoBJEvc+fCguPPu887N+3RRXBVKZUA==",
- "dev": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-dynamic-import": {
- "version": "7.23.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.23.4.tgz",
- "integrity": "sha512-V6jIbLhdJK86MaLh4Jpghi8ho5fGzt3imHOBu/x0jlBaPYqDoWz4RDXjmMOfnh+JWNaQleEAByZLV0QzBT4YQQ==",
- "dev": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5",
- "@babel/plugin-syntax-dynamic-import": "^7.8.3"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-exponentiation-operator": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.23.3.tgz",
- "integrity": "sha512-5fhCsl1odX96u7ILKHBj4/Y8vipoqwsJMh4csSA8qFfxrZDEA4Ssku2DyNvMJSmZNOEBT750LfFPbtrnTP90BQ==",
- "dev": true,
- "dependencies": {
- "@babel/helper-builder-binary-assignment-operator-visitor": "^7.22.15",
- "@babel/helper-plugin-utils": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-export-namespace-from": {
- "version": "7.23.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.23.4.tgz",
- "integrity": "sha512-GzuSBcKkx62dGzZI1WVgTWvkkz84FZO5TC5T8dl/Tht/rAla6Dg/Mz9Yhypg+ezVACf/rgDuQt3kbWEv7LdUDQ==",
- "dev": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5",
- "@babel/plugin-syntax-export-namespace-from": "^7.8.3"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-for-of": {
- "version": "7.23.6",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.23.6.tgz",
- "integrity": "sha512-aYH4ytZ0qSuBbpfhuofbg/e96oQ7U2w1Aw/UQmKT+1l39uEhUPoFS3fHevDc1G0OvewyDudfMKY1OulczHzWIw==",
- "dev": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5",
- "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-function-name": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.23.3.tgz",
- "integrity": "sha512-I1QXp1LxIvt8yLaib49dRW5Okt7Q4oaxao6tFVKS/anCdEOMtYwWVKoiOA1p34GOWIZjUK0E+zCp7+l1pfQyiw==",
- "dev": true,
- "dependencies": {
- "@babel/helper-compilation-targets": "^7.22.15",
- "@babel/helper-function-name": "^7.23.0",
- "@babel/helper-plugin-utils": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-json-strings": {
- "version": "7.23.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.23.4.tgz",
- "integrity": "sha512-81nTOqM1dMwZ/aRXQ59zVubN9wHGqk6UtqRK+/q+ciXmRy8fSolhGVvG09HHRGo4l6fr/c4ZhXUQH0uFW7PZbg==",
- "dev": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5",
- "@babel/plugin-syntax-json-strings": "^7.8.3"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-literals": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.23.3.tgz",
- "integrity": "sha512-wZ0PIXRxnwZvl9AYpqNUxpZ5BiTGrYt7kueGQ+N5FiQ7RCOD4cm8iShd6S6ggfVIWaJf2EMk8eRzAh52RfP4rQ==",
- "dev": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-logical-assignment-operators": {
- "version": "7.23.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.23.4.tgz",
- "integrity": "sha512-Mc/ALf1rmZTP4JKKEhUwiORU+vcfarFVLfcFiolKUo6sewoxSEgl36ak5t+4WamRsNr6nzjZXQjM35WsU+9vbg==",
- "dev": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5",
- "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-member-expression-literals": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.23.3.tgz",
- "integrity": "sha512-sC3LdDBDi5x96LA+Ytekz2ZPk8i/Ck+DEuDbRAll5rknJ5XRTSaPKEYwomLcs1AA8wg9b3KjIQRsnApj+q51Ag==",
- "dev": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-modules-amd": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.23.3.tgz",
- "integrity": "sha512-vJYQGxeKM4t8hYCKVBlZX/gtIY2I7mRGFNcm85sgXGMTBcoV3QdVtdpbcWEbzbfUIUZKwvgFT82mRvaQIebZzw==",
- "dev": true,
- "dependencies": {
- "@babel/helper-module-transforms": "^7.23.3",
- "@babel/helper-plugin-utils": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-modules-commonjs": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.23.3.tgz",
- "integrity": "sha512-aVS0F65LKsdNOtcz6FRCpE4OgsP2OFnW46qNxNIX9h3wuzaNcSQsJysuMwqSibC98HPrf2vCgtxKNwS0DAlgcA==",
- "dev": true,
- "dependencies": {
- "@babel/helper-module-transforms": "^7.23.3",
- "@babel/helper-plugin-utils": "^7.22.5",
- "@babel/helper-simple-access": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-modules-systemjs": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.23.3.tgz",
- "integrity": "sha512-ZxyKGTkF9xT9YJuKQRo19ewf3pXpopuYQd8cDXqNzc3mUNbOME0RKMoZxviQk74hwzfQsEe66dE92MaZbdHKNQ==",
- "dev": true,
- "dependencies": {
- "@babel/helper-hoist-variables": "^7.22.5",
- "@babel/helper-module-transforms": "^7.23.3",
- "@babel/helper-plugin-utils": "^7.22.5",
- "@babel/helper-validator-identifier": "^7.22.20"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-modules-umd": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.23.3.tgz",
- "integrity": "sha512-zHsy9iXX2nIsCBFPud3jKn1IRPWg3Ing1qOZgeKV39m1ZgIdpJqvlWVeiHBZC6ITRG0MfskhYe9cLgntfSFPIg==",
- "dev": true,
- "dependencies": {
- "@babel/helper-module-transforms": "^7.23.3",
- "@babel/helper-plugin-utils": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-named-capturing-groups-regex": {
- "version": "7.22.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.22.5.tgz",
- "integrity": "sha512-YgLLKmS3aUBhHaxp5hi1WJTgOUb/NCuDHzGT9z9WTt3YG+CPRhJs6nprbStx6DnWM4dh6gt7SU3sZodbZ08adQ==",
- "dev": true,
- "dependencies": {
- "@babel/helper-create-regexp-features-plugin": "^7.22.5",
- "@babel/helper-plugin-utils": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0"
- }
- },
- "node_modules/@babel/plugin-transform-new-target": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.23.3.tgz",
- "integrity": "sha512-YJ3xKqtJMAT5/TIZnpAR3I+K+WaDowYbN3xyxI8zxx/Gsypwf9B9h0VB+1Nh6ACAAPRS5NSRje0uVv5i79HYGQ==",
- "dev": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-nullish-coalescing-operator": {
- "version": "7.23.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.23.4.tgz",
- "integrity": "sha512-jHE9EVVqHKAQx+VePv5LLGHjmHSJR76vawFPTdlxR/LVJPfOEGxREQwQfjuZEOPTwG92X3LINSh3M40Rv4zpVA==",
- "dev": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5",
- "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-numeric-separator": {
- "version": "7.23.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.23.4.tgz",
- "integrity": "sha512-mps6auzgwjRrwKEZA05cOwuDc9FAzoyFS4ZsG/8F43bTLf/TgkJg7QXOrPO1JO599iA3qgK9MXdMGOEC8O1h6Q==",
- "dev": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5",
- "@babel/plugin-syntax-numeric-separator": "^7.10.4"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-object-rest-spread": {
- "version": "7.23.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.23.4.tgz",
- "integrity": "sha512-9x9K1YyeQVw0iOXJlIzwm8ltobIIv7j2iLyP2jIhEbqPRQ7ScNgwQufU2I0Gq11VjyG4gI4yMXt2VFags+1N3g==",
- "dev": true,
- "dependencies": {
- "@babel/compat-data": "^7.23.3",
- "@babel/helper-compilation-targets": "^7.22.15",
- "@babel/helper-plugin-utils": "^7.22.5",
- "@babel/plugin-syntax-object-rest-spread": "^7.8.3",
- "@babel/plugin-transform-parameters": "^7.23.3"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-object-super": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.23.3.tgz",
- "integrity": "sha512-BwQ8q0x2JG+3lxCVFohg+KbQM7plfpBwThdW9A6TMtWwLsbDA01Ek2Zb/AgDN39BiZsExm4qrXxjk+P1/fzGrA==",
- "dev": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5",
- "@babel/helper-replace-supers": "^7.22.20"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-optional-catch-binding": {
- "version": "7.23.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.23.4.tgz",
- "integrity": "sha512-XIq8t0rJPHf6Wvmbn9nFxU6ao4c7WhghTR5WyV8SrJfUFzyxhCm4nhC+iAp3HFhbAKLfYpgzhJ6t4XCtVwqO5A==",
- "dev": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5",
- "@babel/plugin-syntax-optional-catch-binding": "^7.8.3"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-optional-chaining": {
- "version": "7.23.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.23.4.tgz",
- "integrity": "sha512-ZU8y5zWOfjM5vZ+asjgAPwDaBjJzgufjES89Rs4Lpq63O300R/kOz30WCLo6BxxX6QVEilwSlpClnG5cZaikTA==",
- "dev": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5",
- "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5",
- "@babel/plugin-syntax-optional-chaining": "^7.8.3"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-parameters": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.23.3.tgz",
- "integrity": "sha512-09lMt6UsUb3/34BbECKVbVwrT9bO6lILWln237z7sLaWnMsTi7Yc9fhX5DLpkJzAGfaReXI22wP41SZmnAA3Vw==",
- "dev": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-private-methods": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.23.3.tgz",
- "integrity": "sha512-UzqRcRtWsDMTLrRWFvUBDwmw06tCQH9Rl1uAjfh6ijMSmGYQ+fpdB+cnqRC8EMh5tuuxSv0/TejGL+7vyj+50g==",
- "dev": true,
- "dependencies": {
- "@babel/helper-create-class-features-plugin": "^7.22.15",
- "@babel/helper-plugin-utils": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-private-property-in-object": {
- "version": "7.23.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.23.4.tgz",
- "integrity": "sha512-9G3K1YqTq3F4Vt88Djx1UZ79PDyj+yKRnUy7cZGSMe+a7jkwD259uKKuUzQlPkGam7R+8RJwh5z4xO27fA1o2A==",
- "dev": true,
- "dependencies": {
- "@babel/helper-annotate-as-pure": "^7.22.5",
- "@babel/helper-create-class-features-plugin": "^7.22.15",
- "@babel/helper-plugin-utils": "^7.22.5",
- "@babel/plugin-syntax-private-property-in-object": "^7.14.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-property-literals": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.23.3.tgz",
- "integrity": "sha512-jR3Jn3y7cZp4oEWPFAlRsSWjxKe4PZILGBSd4nis1TsC5qeSpb+nrtihJuDhNI7QHiVbUaiXa0X2RZY3/TI6Nw==",
- "dev": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-regenerator": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.23.3.tgz",
- "integrity": "sha512-KP+75h0KghBMcVpuKisx3XTu9Ncut8Q8TuvGO4IhY+9D5DFEckQefOuIsB/gQ2tG71lCke4NMrtIPS8pOj18BQ==",
- "dev": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5",
- "regenerator-transform": "^0.15.2"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-reserved-words": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.23.3.tgz",
- "integrity": "sha512-QnNTazY54YqgGxwIexMZva9gqbPa15t/x9VS+0fsEFWplwVpXYZivtgl43Z1vMpc1bdPP2PP8siFeVcnFvA3Cg==",
- "dev": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-shorthand-properties": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.23.3.tgz",
- "integrity": "sha512-ED2fgqZLmexWiN+YNFX26fx4gh5qHDhn1O2gvEhreLW2iI63Sqm4llRLCXALKrCnbN4Jy0VcMQZl/SAzqug/jg==",
- "dev": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-spread": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.23.3.tgz",
- "integrity": "sha512-VvfVYlrlBVu+77xVTOAoxQ6mZbnIq5FM0aGBSFEcIh03qHf+zNqA4DC/3XMUozTg7bZV3e3mZQ0i13VB6v5yUg==",
- "dev": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5",
- "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-sticky-regex": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.23.3.tgz",
- "integrity": "sha512-HZOyN9g+rtvnOU3Yh7kSxXrKbzgrm5X4GncPY1QOquu7epga5MxKHVpYu2hvQnry/H+JjckSYRb93iNfsioAGg==",
- "dev": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-template-literals": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.23.3.tgz",
- "integrity": "sha512-Flok06AYNp7GV2oJPZZcP9vZdszev6vPBkHLwxwSpaIqx75wn6mUd3UFWsSsA0l8nXAKkyCmL/sR02m8RYGeHg==",
- "dev": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-typeof-symbol": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.23.3.tgz",
- "integrity": "sha512-4t15ViVnaFdrPC74be1gXBSMzXk3B4Us9lP7uLRQHTFpV5Dvt33pn+2MyyNxmN3VTTm3oTrZVMUmuw3oBnQ2oQ==",
- "dev": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-unicode-escapes": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.23.3.tgz",
- "integrity": "sha512-OMCUx/bU6ChE3r4+ZdylEqAjaQgHAgipgW8nsCfu5pGqDcFytVd91AwRvUJSBZDz0exPGgnjoqhgRYLRjFZc9Q==",
- "dev": true,
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-unicode-property-regex": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.23.3.tgz",
- "integrity": "sha512-KcLIm+pDZkWZQAFJ9pdfmh89EwVfmNovFBcXko8szpBeF8z68kWIPeKlmSOkT9BXJxs2C0uk+5LxoxIv62MROA==",
- "dev": true,
- "dependencies": {
- "@babel/helper-create-regexp-features-plugin": "^7.22.15",
- "@babel/helper-plugin-utils": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-unicode-regex": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.23.3.tgz",
- "integrity": "sha512-wMHpNA4x2cIA32b/ci3AfwNgheiva2W0WUKWTK7vBHBhDKfPsc5cFGNWm69WBqpwd86u1qwZ9PWevKqm1A3yAw==",
- "dev": true,
- "dependencies": {
- "@babel/helper-create-regexp-features-plugin": "^7.22.15",
- "@babel/helper-plugin-utils": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-unicode-sets-regex": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.23.3.tgz",
- "integrity": "sha512-W7lliA/v9bNR83Qc3q1ip9CQMZ09CcHDbHfbLRDNuAhn1Mvkr1ZNF7hPmztMQvtTGVLJ9m8IZqWsTkXOml8dbw==",
- "dev": true,
- "dependencies": {
- "@babel/helper-create-regexp-features-plugin": "^7.22.15",
- "@babel/helper-plugin-utils": "^7.22.5"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0"
- }
- },
- "node_modules/@babel/preset-env": {
- "version": "7.23.6",
- "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.23.6.tgz",
- "integrity": "sha512-2XPn/BqKkZCpzYhUUNZ1ssXw7DcXfKQEjv/uXZUXgaebCMYmkEsfZ2yY+vv+xtXv50WmL5SGhyB6/xsWxIvvOQ==",
- "dev": true,
- "dependencies": {
- "@babel/compat-data": "^7.23.5",
- "@babel/helper-compilation-targets": "^7.23.6",
- "@babel/helper-plugin-utils": "^7.22.5",
- "@babel/helper-validator-option": "^7.23.5",
- "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.23.3",
- "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.23.3",
- "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.23.3",
- "@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.23.3",
- "@babel/plugin-syntax-import-attributes": "^7.23.3",
- "@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.23.3",
- "@babel/plugin-transform-async-generator-functions": "^7.23.4",
- "@babel/plugin-transform-async-to-generator": "^7.23.3",
- "@babel/plugin-transform-block-scoped-functions": "^7.23.3",
- "@babel/plugin-transform-block-scoping": "^7.23.4",
- "@babel/plugin-transform-class-properties": "^7.23.3",
- "@babel/plugin-transform-class-static-block": "^7.23.4",
- "@babel/plugin-transform-classes": "^7.23.5",
- "@babel/plugin-transform-computed-properties": "^7.23.3",
- "@babel/plugin-transform-destructuring": "^7.23.3",
- "@babel/plugin-transform-dotall-regex": "^7.23.3",
- "@babel/plugin-transform-duplicate-keys": "^7.23.3",
- "@babel/plugin-transform-dynamic-import": "^7.23.4",
- "@babel/plugin-transform-exponentiation-operator": "^7.23.3",
- "@babel/plugin-transform-export-namespace-from": "^7.23.4",
- "@babel/plugin-transform-for-of": "^7.23.6",
- "@babel/plugin-transform-function-name": "^7.23.3",
- "@babel/plugin-transform-json-strings": "^7.23.4",
- "@babel/plugin-transform-literals": "^7.23.3",
- "@babel/plugin-transform-logical-assignment-operators": "^7.23.4",
- "@babel/plugin-transform-member-expression-literals": "^7.23.3",
- "@babel/plugin-transform-modules-amd": "^7.23.3",
- "@babel/plugin-transform-modules-commonjs": "^7.23.3",
- "@babel/plugin-transform-modules-systemjs": "^7.23.3",
- "@babel/plugin-transform-modules-umd": "^7.23.3",
- "@babel/plugin-transform-named-capturing-groups-regex": "^7.22.5",
- "@babel/plugin-transform-new-target": "^7.23.3",
- "@babel/plugin-transform-nullish-coalescing-operator": "^7.23.4",
- "@babel/plugin-transform-numeric-separator": "^7.23.4",
- "@babel/plugin-transform-object-rest-spread": "^7.23.4",
- "@babel/plugin-transform-object-super": "^7.23.3",
- "@babel/plugin-transform-optional-catch-binding": "^7.23.4",
- "@babel/plugin-transform-optional-chaining": "^7.23.4",
- "@babel/plugin-transform-parameters": "^7.23.3",
- "@babel/plugin-transform-private-methods": "^7.23.3",
- "@babel/plugin-transform-private-property-in-object": "^7.23.4",
- "@babel/plugin-transform-property-literals": "^7.23.3",
- "@babel/plugin-transform-regenerator": "^7.23.3",
- "@babel/plugin-transform-reserved-words": "^7.23.3",
- "@babel/plugin-transform-shorthand-properties": "^7.23.3",
- "@babel/plugin-transform-spread": "^7.23.3",
- "@babel/plugin-transform-sticky-regex": "^7.23.3",
- "@babel/plugin-transform-template-literals": "^7.23.3",
- "@babel/plugin-transform-typeof-symbol": "^7.23.3",
- "@babel/plugin-transform-unicode-escapes": "^7.23.3",
- "@babel/plugin-transform-unicode-property-regex": "^7.23.3",
- "@babel/plugin-transform-unicode-regex": "^7.23.3",
- "@babel/plugin-transform-unicode-sets-regex": "^7.23.3",
- "@babel/preset-modules": "0.1.6-no-external-plugins",
- "babel-plugin-polyfill-corejs2": "^0.4.6",
- "babel-plugin-polyfill-corejs3": "^0.8.5",
- "babel-plugin-polyfill-regenerator": "^0.5.3",
- "core-js-compat": "^3.31.0",
- "semver": "^6.3.1"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "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": {
- "@babel/helper-plugin-utils": "^7.0.0",
- "@babel/types": "^7.4.4",
- "esutils": "^2.0.2"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0 || ^8.0.0-0 <8.0.0"
- }
- },
- "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/@babel/runtime": {
- "version": "7.23.6",
- "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.23.6.tgz",
- "integrity": "sha512-zHd0eUrf5GZoOWVCXp6koAKQTfZV07eit6bGPmJgnZdnSAvvZee6zniW2XMF7Cmc4ISOOnPy3QaSiIJGJkVEDQ==",
- "dependencies": {
- "regenerator-runtime": "^0.14.0"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/standalone": {
- "version": "7.23.6",
- "resolved": "https://registry.npmjs.org/@babel/standalone/-/standalone-7.23.6.tgz",
- "integrity": "sha512-+AzS6BZwZdSosrgS/TiGDYLxtlefARKClWgJ4ql//XfmV9KbPWbkEekvbvDRJ8a6qog8E9j3CziHLz5dbIEMyw==",
- "optional": true,
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/template": {
- "version": "7.22.15",
- "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz",
- "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==",
- "devOptional": true,
- "dependencies": {
- "@babel/code-frame": "^7.22.13",
- "@babel/parser": "^7.22.15",
- "@babel/types": "^7.22.15"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/traverse": {
- "version": "7.23.6",
- "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.6.tgz",
- "integrity": "sha512-czastdK1e8YByZqezMPFiZ8ahwVMh/ESl9vPgvgdB9AmFMGP5jfpFax74AQgl5zj4XHzqeYAg2l8PuUeRS1MgQ==",
- "devOptional": true,
- "dependencies": {
- "@babel/code-frame": "^7.23.5",
- "@babel/generator": "^7.23.6",
- "@babel/helper-environment-visitor": "^7.22.20",
- "@babel/helper-function-name": "^7.23.0",
- "@babel/helper-hoist-variables": "^7.22.5",
- "@babel/helper-split-export-declaration": "^7.22.6",
- "@babel/parser": "^7.23.6",
- "@babel/types": "^7.23.6",
- "debug": "^4.3.1",
- "globals": "^11.1.0"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/types": {
- "version": "7.23.6",
- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.6.tgz",
- "integrity": "sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==",
- "devOptional": true,
- "dependencies": {
- "@babel/helper-string-parser": "^7.23.4",
- "@babel/helper-validator-identifier": "^7.22.20",
- "to-fast-properties": "^2.0.0"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@esbuild/android-arm": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.20.tgz",
- "integrity": "sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==",
- "cpu": [
- "arm"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "android"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/android-arm64": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.20.tgz",
- "integrity": "sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "android"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/android-x64": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.20.tgz",
- "integrity": "sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "android"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/darwin-arm64": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.20.tgz",
- "integrity": "sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/darwin-x64": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.20.tgz",
- "integrity": "sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/freebsd-arm64": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.20.tgz",
- "integrity": "sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "freebsd"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/freebsd-x64": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.20.tgz",
- "integrity": "sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "freebsd"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/linux-arm": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.20.tgz",
- "integrity": "sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==",
- "cpu": [
- "arm"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/linux-arm64": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.20.tgz",
- "integrity": "sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/linux-ia32": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.20.tgz",
- "integrity": "sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==",
- "cpu": [
- "ia32"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/linux-loong64": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.20.tgz",
- "integrity": "sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==",
- "cpu": [
- "loong64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/linux-mips64el": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.20.tgz",
- "integrity": "sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==",
- "cpu": [
- "mips64el"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/linux-ppc64": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.20.tgz",
- "integrity": "sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==",
- "cpu": [
- "ppc64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/linux-riscv64": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.20.tgz",
- "integrity": "sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==",
- "cpu": [
- "riscv64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/linux-s390x": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.20.tgz",
- "integrity": "sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==",
- "cpu": [
- "s390x"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/linux-x64": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.20.tgz",
- "integrity": "sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/netbsd-x64": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.20.tgz",
- "integrity": "sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "netbsd"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/openbsd-x64": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.20.tgz",
- "integrity": "sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "openbsd"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/sunos-x64": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.20.tgz",
- "integrity": "sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "sunos"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/win32-arm64": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.20.tgz",
- "integrity": "sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/win32-ia32": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.20.tgz",
- "integrity": "sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==",
- "cpu": [
- "ia32"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/win32-x64": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.20.tgz",
- "integrity": "sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@eslint/eslintrc": {
- "version": "0.4.3",
- "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.4.3.tgz",
- "integrity": "sha512-J6KFFz5QCYUJq3pf0mjEcCJVERbzv71PUIDczuh9JkwGEzced6CO5ADLHB1rbf/+oPBtoPfMYNOpGDzCANlbXw==",
- "dev": true,
- "dependencies": {
- "ajv": "^6.12.4",
- "debug": "^4.1.1",
- "espree": "^7.3.0",
- "globals": "^13.9.0",
- "ignore": "^4.0.6",
- "import-fresh": "^3.2.1",
- "js-yaml": "^3.13.1",
- "minimatch": "^3.0.4",
- "strip-json-comments": "^3.1.1"
- },
- "engines": {
- "node": "^10.12.0 || >=12.0.0"
- }
- },
- "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/ignore": {
- "version": "4.0.6",
- "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz",
- "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==",
- "dev": true,
- "engines": {
- "node": ">= 4"
- }
- },
- "node_modules/@hcaptcha/vue3-hcaptcha": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/@hcaptcha/vue3-hcaptcha/-/vue3-hcaptcha-1.3.0.tgz",
- "integrity": "sha512-IEonS6JiYdU7uy6aeib8cYtMO4nj8utwStbA9bWHyYbOvOvhpkV+AW8vfSKh6SntYxqle/TRwhv+kU9p92CfsA==",
- "dependencies": {
- "vue": "^3.2.19"
- },
- "peerDependencies": {
- "vue": "^3.0.0"
- }
- },
- "node_modules/@humanwhocodes/config-array": {
- "version": "0.5.0",
- "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.5.0.tgz",
- "integrity": "sha512-FagtKFz74XrTl7y6HCzQpwDfXP0yhxe9lHLD1UZxjvZIcbyRz8zTFF/yYNfSfzU414eDwZ1SrO0Qvtyf+wFMQg==",
- "dev": true,
- "dependencies": {
- "@humanwhocodes/object-schema": "^1.2.0",
- "debug": "^4.1.1",
- "minimatch": "^3.0.4"
- },
- "engines": {
- "node": ">=10.10.0"
- }
- },
- "node_modules/@humanwhocodes/object-schema": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz",
- "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==",
- "dev": true
- },
- "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/@janniks/vue3-katex": {
- "version": "0.6.0-rc.5.1",
- "resolved": "https://registry.npmjs.org/@janniks/vue3-katex/-/vue3-katex-0.6.0-rc.5.1.tgz",
- "integrity": "sha512-3VEvVQ5a/1DK2bo4JJJA2uk6Q+oygpVPwnx/wnVgA8AYH49vZzFI/1YNZQUCEssfXjB7Hk3epAoT4oIYGjGfNw==",
- "peer": true,
- "dependencies": {
- "deepmerge": "^4.3.0",
- "katex": "^0.16.4"
- },
- "peerDependencies": {
- "katex": "0.x",
- "vue": "3.x"
- }
- },
- "node_modules/@jridgewell/gen-mapping": {
- "version": "0.3.3",
- "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz",
- "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==",
- "devOptional": true,
- "dependencies": {
- "@jridgewell/set-array": "^1.0.1",
- "@jridgewell/sourcemap-codec": "^1.4.10",
- "@jridgewell/trace-mapping": "^0.3.9"
- },
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/@jridgewell/resolve-uri": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz",
- "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==",
- "devOptional": true,
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/@jridgewell/set-array": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz",
- "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==",
- "devOptional": true,
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/@jridgewell/source-map": {
- "version": "0.3.5",
- "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.5.tgz",
- "integrity": "sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@jridgewell/gen-mapping": "^0.3.0",
- "@jridgewell/trace-mapping": "^0.3.9"
- }
- },
- "node_modules/@jridgewell/sourcemap-codec": {
- "version": "1.4.15",
- "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz",
- "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg=="
- },
- "node_modules/@jridgewell/trace-mapping": {
- "version": "0.3.20",
- "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz",
- "integrity": "sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==",
- "devOptional": true,
- "dependencies": {
- "@jridgewell/resolve-uri": "^3.1.0",
- "@jridgewell/sourcemap-codec": "^1.4.14"
- }
- },
- "node_modules/@kurkle/color": {
- "version": "0.3.2",
- "resolved": "https://registry.npmjs.org/@kurkle/color/-/color-0.3.2.tgz",
- "integrity": "sha512-fuscdXJ9G1qb7W8VdHi+IwRqij3lBkosAm4ydQtEmbY58OzHXqQhvlxqEkoz0yssNVn38bcpRWgA9PP+OGoisw=="
- },
- "node_modules/@mrmlnc/readdir-enhanced": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz",
- "integrity": "sha512-bPHp6Ji8b41szTOcaP63VlnbbO5Ny6dwAATtY6JTjh5N2OLrb5Qk/Th5cRkRQhkWCt+EJsYrNB0MiL+Gpn6e3g==",
- "dev": true,
- "dependencies": {
- "call-me-maybe": "^1.0.1",
- "glob-to-regexp": "^0.3.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/@mrmlnc/readdir-enhanced/node_modules/glob-to-regexp": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz",
- "integrity": "sha512-Iozmtbqv0noj0uDDqoL0zNq0VBEfK2YFoMAZoxJe4cwphvLR+JskfF30QhXHOR4m3KrE6NLRYw+U9MRXvifyig==",
- "dev": 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/@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==",
- "devOptional": 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==",
- "devOptional": 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==",
- "devOptional": true,
- "dependencies": {
- "@nodelib/fs.scandir": "2.1.5",
- "fastq": "^1.6.0"
- },
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/@nuxt/kit": {
- "version": "3.8.2",
- "resolved": "https://registry.npmjs.org/@nuxt/kit/-/kit-3.8.2.tgz",
- "integrity": "sha512-LrXCm8hAkw+zpX8teUSD/LqXRarlXjbRiYxDkaqw739JSHFReWzBFgJbojsJqL4h1XIEScDGGOWiEgO4QO1sMg==",
- "optional": true,
- "dependencies": {
- "@nuxt/schema": "3.8.2",
- "c12": "^1.5.1",
- "consola": "^3.2.3",
- "defu": "^6.1.3",
- "globby": "^14.0.0",
- "hash-sum": "^2.0.0",
- "ignore": "^5.3.0",
- "jiti": "^1.21.0",
- "knitwork": "^1.0.0",
- "mlly": "^1.4.2",
- "pathe": "^1.1.1",
- "pkg-types": "^1.0.3",
- "scule": "^1.1.0",
- "semver": "^7.5.4",
- "ufo": "^1.3.2",
- "unctx": "^2.3.1",
- "unimport": "^3.5.0",
- "untyped": "^1.4.0"
- },
- "engines": {
- "node": "^14.18.0 || >=16.10.0"
- }
- },
- "node_modules/@nuxt/kit/node_modules/lru-cache": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
- "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
- "optional": true,
- "dependencies": {
- "yallist": "^4.0.0"
- },
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/@nuxt/kit/node_modules/semver": {
- "version": "7.5.4",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz",
- "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==",
- "optional": true,
- "dependencies": {
- "lru-cache": "^6.0.0"
- },
- "bin": {
- "semver": "bin/semver.js"
- },
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/@nuxt/kit/node_modules/yallist": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
- "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
- "optional": true
- },
- "node_modules/@nuxt/schema": {
- "version": "3.8.2",
- "resolved": "https://registry.npmjs.org/@nuxt/schema/-/schema-3.8.2.tgz",
- "integrity": "sha512-AMpysQ/wHK2sOujLShqYdC4OSj/S3fFJGjhYXqA2g6dgmz+FNQWJRG/ie5sI9r2EX9Ela1wt0GN1jZR3wYNE8Q==",
- "optional": true,
- "dependencies": {
- "@nuxt/ui-templates": "^1.3.1",
- "consola": "^3.2.3",
- "defu": "^6.1.3",
- "hookable": "^5.5.3",
- "pathe": "^1.1.1",
- "pkg-types": "^1.0.3",
- "scule": "^1.1.0",
- "std-env": "^3.5.0",
- "ufo": "^1.3.2",
- "unimport": "^3.5.0",
- "untyped": "^1.4.0"
- },
- "engines": {
- "node": "^14.18.0 || >=16.10.0"
- }
- },
- "node_modules/@nuxt/ui-templates": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/@nuxt/ui-templates/-/ui-templates-1.3.1.tgz",
- "integrity": "sha512-5gc02Pu1HycOVUWJ8aYsWeeXcSTPe8iX8+KIrhyEtEoOSkY0eMBuo0ssljB8wALuEmepv31DlYe5gpiRwkjESA==",
- "optional": true
- },
- "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/@rollup/pluginutils": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.1.0.tgz",
- "integrity": "sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==",
- "optional": true,
- "dependencies": {
- "@types/estree": "^1.0.0",
- "estree-walker": "^2.0.2",
- "picomatch": "^2.3.1"
- },
- "engines": {
- "node": ">=14.0.0"
- },
- "peerDependencies": {
- "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0"
- },
- "peerDependenciesMeta": {
- "rollup": {
- "optional": true
- }
- }
- },
- "node_modules/@sentry-internal/tracing": {
- "version": "7.91.0",
- "resolved": "https://registry.npmjs.org/@sentry-internal/tracing/-/tracing-7.91.0.tgz",
- "integrity": "sha512-JH5y6gs6BS0its7WF2DhySu7nkhPDfZcdpAXldxzIlJpqFkuwQKLU5nkYJpiIyZz1NHYYtW5aum2bV2oCOdDRA==",
- "dev": true,
- "dependencies": {
- "@sentry/core": "7.91.0",
- "@sentry/types": "7.91.0",
- "@sentry/utils": "7.91.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/@sentry/browser": {
- "version": "6.19.7",
- "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-6.19.7.tgz",
- "integrity": "sha512-oDbklp4O3MtAM4mtuwyZLrgO1qDVYIujzNJQzXmi9YzymJCuzMLSRDvhY83NNDCRxf0pds4DShgYeZdbSyKraA==",
- "dependencies": {
- "@sentry/core": "6.19.7",
- "@sentry/types": "6.19.7",
- "@sentry/utils": "6.19.7",
- "tslib": "^1.9.3"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/@sentry/browser/node_modules/@sentry/core": {
- "version": "6.19.7",
- "resolved": "https://registry.npmjs.org/@sentry/core/-/core-6.19.7.tgz",
- "integrity": "sha512-tOfZ/umqB2AcHPGbIrsFLcvApdTm9ggpi/kQZFkej7kMphjT+SGBiQfYtjyg9jcRW+ilAR4JXC9BGKsdEQ+8Vw==",
- "dependencies": {
- "@sentry/hub": "6.19.7",
- "@sentry/minimal": "6.19.7",
- "@sentry/types": "6.19.7",
- "@sentry/utils": "6.19.7",
- "tslib": "^1.9.3"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/@sentry/browser/node_modules/@sentry/types": {
- "version": "6.19.7",
- "resolved": "https://registry.npmjs.org/@sentry/types/-/types-6.19.7.tgz",
- "integrity": "sha512-jH84pDYE+hHIbVnab3Hr+ZXr1v8QABfhx39KknxqKWr2l0oEItzepV0URvbEhB446lk/S/59230dlUUIBGsXbg==",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/@sentry/browser/node_modules/@sentry/utils": {
- "version": "6.19.7",
- "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-6.19.7.tgz",
- "integrity": "sha512-z95ECmE3i9pbWoXQrD/7PgkBAzJYR+iXtPuTkpBjDKs86O3mT+PXOT3BAn79w2wkn7/i3vOGD2xVr1uiMl26dA==",
- "dependencies": {
- "@sentry/types": "6.19.7",
- "tslib": "^1.9.3"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/@sentry/bundler-plugin-core": {
- "version": "2.10.2",
- "resolved": "https://registry.npmjs.org/@sentry/bundler-plugin-core/-/bundler-plugin-core-2.10.2.tgz",
- "integrity": "sha512-7IoekLtROlJZqTxtHQ3IhocBuf9dsEq+JjqlHMyZXoq+QKuvJFvMd/4T+r6KjZ15kMZOIkR+spK3V7duH201hw==",
- "dev": true,
- "dependencies": {
- "@sentry/cli": "^2.22.3",
- "@sentry/node": "^7.60.0",
- "@sentry/utils": "^7.60.0",
- "dotenv": "^16.3.1",
- "find-up": "5.0.0",
- "glob": "9.3.2",
- "magic-string": "0.27.0",
- "unplugin": "1.0.1"
- },
- "engines": {
- "node": ">= 14"
- }
- },
- "node_modules/@sentry/cli": {
- "version": "2.23.1",
- "resolved": "https://registry.npmjs.org/@sentry/cli/-/cli-2.23.1.tgz",
- "integrity": "sha512-3Tg3qzrdNWQAkuRyXniVhT+aNAwucshw0UKr/J2hxQgA72vxzcZlK4G0+Im9gIFwmzuBaD8jSGVpkzATuCeoNA==",
- "dev": true,
- "dependencies": {
- "https-proxy-agent": "^5.0.0",
- "node-fetch": "^2.6.7",
- "progress": "^2.0.3",
- "proxy-from-env": "^1.1.0",
- "which": "^2.0.2"
- },
- "bin": {
- "sentry-cli": "bin/sentry-cli"
- },
- "engines": {
- "node": ">= 10"
- },
- "optionalDependencies": {
- "@sentry/cli-darwin": "2.23.1",
- "@sentry/cli-linux-arm": "2.23.1",
- "@sentry/cli-linux-arm64": "2.23.1",
- "@sentry/cli-linux-i686": "2.23.1",
- "@sentry/cli-linux-x64": "2.23.1",
- "@sentry/cli-win32-i686": "2.23.1",
- "@sentry/cli-win32-x64": "2.23.1"
- }
- },
- "node_modules/@sentry/cli-darwin": {
- "version": "2.23.1",
- "resolved": "https://registry.npmjs.org/@sentry/cli-darwin/-/cli-darwin-2.23.1.tgz",
- "integrity": "sha512-jSHORd9p/69BmKZRfJXFw4WFYODlw3mH1vBCi8LTWDimR9L3tthlCqYM1v5A26mUACqyNPI3s/6xvw5GOAsIhw==",
- "dev": true,
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/@sentry/cli-linux-arm": {
- "version": "2.23.1",
- "resolved": "https://registry.npmjs.org/@sentry/cli-linux-arm/-/cli-linux-arm-2.23.1.tgz",
- "integrity": "sha512-ur7DFWwHXrLRJLa0+vL22Wkr8FC1NIQwo0mfKI+51Y9ijKsfo8R7pO5MPRCYQz0DKR12VPXkq05KPsCNq5AtZQ==",
- "cpu": [
- "arm"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux",
- "freebsd"
- ],
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/@sentry/cli-linux-arm64": {
- "version": "2.23.1",
- "resolved": "https://registry.npmjs.org/@sentry/cli-linux-arm64/-/cli-linux-arm64-2.23.1.tgz",
- "integrity": "sha512-f6e1x5zudglp8XdgN07hRhX8HVIeiY/dLAcvaV7qPNtZLd9pjsPgS2nyJlPPEC2WgG1FC439t3JmxIhRTjRA9g==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux",
- "freebsd"
- ],
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/@sentry/cli-linux-i686": {
- "version": "2.23.1",
- "resolved": "https://registry.npmjs.org/@sentry/cli-linux-i686/-/cli-linux-i686-2.23.1.tgz",
- "integrity": "sha512-nm3iDgBwkwAZGkz2Oq44pdh0xdECOq/EumF8mAPA6YS2MKUWGsFQEb5/f6HLnqBULrd88RK1wrEW0eBIuIJs9Q==",
- "cpu": [
- "x86",
- "ia32"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux",
- "freebsd"
- ],
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/@sentry/cli-linux-x64": {
- "version": "2.23.1",
- "resolved": "https://registry.npmjs.org/@sentry/cli-linux-x64/-/cli-linux-x64-2.23.1.tgz",
- "integrity": "sha512-W8QWaxbkIOW2wpAQ1zUzA7+3bOX8lUu5bPxAfstGLobUtxZcTgydJ+58KCeyE6je/jhgzxu+fieat1bzTUrfdg==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux",
- "freebsd"
- ],
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/@sentry/cli-win32-i686": {
- "version": "2.23.1",
- "resolved": "https://registry.npmjs.org/@sentry/cli-win32-i686/-/cli-win32-i686-2.23.1.tgz",
- "integrity": "sha512-h8u2OUH9SvWJpRc3f0halzXut7+/BpbLc5eiViPqrcSosmngDSuy0TOGNqwsDW4hpkqm7RcTXWIUhLJcKtFFdA==",
- "cpu": [
- "x86",
- "ia32"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/@sentry/cli-win32-x64": {
- "version": "2.23.1",
- "resolved": "https://registry.npmjs.org/@sentry/cli-win32-x64/-/cli-win32-x64-2.23.1.tgz",
- "integrity": "sha512-DG+oyQ1bsG5A7yd3c+gt2aD6V3IsR+mutV6h1QYQ9Y8PoloGhOWmt/fnZ5CT20/HyzejykMfASnscsJGHmXp4w==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/@sentry/core": {
- "version": "7.91.0",
- "resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.91.0.tgz",
- "integrity": "sha512-tu+gYq4JrTdrR+YSh5IVHF0fJi/Pi9y0HZ5H9HnYy+UMcXIotxf6hIEaC6ZKGeLWkGXffz2gKpQLe/g6vy/lPA==",
- "dependencies": {
- "@sentry/types": "7.91.0",
- "@sentry/utils": "7.91.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/@sentry/hub": {
- "version": "6.19.7",
- "resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-6.19.7.tgz",
- "integrity": "sha512-y3OtbYFAqKHCWezF0EGGr5lcyI2KbaXW2Ik7Xp8Mu9TxbSTuwTe4rTntwg8ngPjUQU3SUHzgjqVB8qjiGqFXCA==",
- "dependencies": {
- "@sentry/types": "6.19.7",
- "@sentry/utils": "6.19.7",
- "tslib": "^1.9.3"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/@sentry/hub/node_modules/@sentry/types": {
- "version": "6.19.7",
- "resolved": "https://registry.npmjs.org/@sentry/types/-/types-6.19.7.tgz",
- "integrity": "sha512-jH84pDYE+hHIbVnab3Hr+ZXr1v8QABfhx39KknxqKWr2l0oEItzepV0URvbEhB446lk/S/59230dlUUIBGsXbg==",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/@sentry/hub/node_modules/@sentry/utils": {
- "version": "6.19.7",
- "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-6.19.7.tgz",
- "integrity": "sha512-z95ECmE3i9pbWoXQrD/7PgkBAzJYR+iXtPuTkpBjDKs86O3mT+PXOT3BAn79w2wkn7/i3vOGD2xVr1uiMl26dA==",
- "dependencies": {
- "@sentry/types": "6.19.7",
- "tslib": "^1.9.3"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/@sentry/integrations": {
- "version": "7.91.0",
- "resolved": "https://registry.npmjs.org/@sentry/integrations/-/integrations-7.91.0.tgz",
- "integrity": "sha512-LGRfb+WfG3FaWHtDnJIhtupweat0imCQr2z/5SSbQKzqxHhtlaEU+9IExBmBdzq90n4lRBaVQHA3zGuU02uOhg==",
- "dependencies": {
- "@sentry/core": "7.91.0",
- "@sentry/types": "7.91.0",
- "@sentry/utils": "7.91.0",
- "localforage": "^1.8.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/@sentry/minimal": {
- "version": "6.19.7",
- "resolved": "https://registry.npmjs.org/@sentry/minimal/-/minimal-6.19.7.tgz",
- "integrity": "sha512-wcYmSJOdvk6VAPx8IcmZgN08XTXRwRtB1aOLZm+MVHjIZIhHoBGZJYTVQS/BWjldsamj2cX3YGbGXNunaCfYJQ==",
- "dependencies": {
- "@sentry/hub": "6.19.7",
- "@sentry/types": "6.19.7",
- "tslib": "^1.9.3"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/@sentry/minimal/node_modules/@sentry/types": {
- "version": "6.19.7",
- "resolved": "https://registry.npmjs.org/@sentry/types/-/types-6.19.7.tgz",
- "integrity": "sha512-jH84pDYE+hHIbVnab3Hr+ZXr1v8QABfhx39KknxqKWr2l0oEItzepV0URvbEhB446lk/S/59230dlUUIBGsXbg==",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/@sentry/node": {
- "version": "7.91.0",
- "resolved": "https://registry.npmjs.org/@sentry/node/-/node-7.91.0.tgz",
- "integrity": "sha512-hTIfSQxD7L+AKIqyjoq8CWBRkEQrrMZmA3GSZgPI5JFWBHgO0HBo5TH/8TU81oEJh6kqqHAl2ObMhmcnaFqlzg==",
- "dev": true,
- "dependencies": {
- "@sentry-internal/tracing": "7.91.0",
- "@sentry/core": "7.91.0",
- "@sentry/types": "7.91.0",
- "@sentry/utils": "7.91.0",
- "https-proxy-agent": "^5.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/@sentry/tracing": {
- "version": "6.19.7",
- "resolved": "https://registry.npmjs.org/@sentry/tracing/-/tracing-6.19.7.tgz",
- "integrity": "sha512-ol4TupNnv9Zd+bZei7B6Ygnr9N3Gp1PUrNI761QSlHtPC25xXC5ssSD3GMhBgyQrcvpuRcCFHVNNM97tN5cZiA==",
- "dependencies": {
- "@sentry/hub": "6.19.7",
- "@sentry/minimal": "6.19.7",
- "@sentry/types": "6.19.7",
- "@sentry/utils": "6.19.7",
- "tslib": "^1.9.3"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/@sentry/tracing/node_modules/@sentry/types": {
- "version": "6.19.7",
- "resolved": "https://registry.npmjs.org/@sentry/types/-/types-6.19.7.tgz",
- "integrity": "sha512-jH84pDYE+hHIbVnab3Hr+ZXr1v8QABfhx39KknxqKWr2l0oEItzepV0URvbEhB446lk/S/59230dlUUIBGsXbg==",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/@sentry/tracing/node_modules/@sentry/utils": {
- "version": "6.19.7",
- "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-6.19.7.tgz",
- "integrity": "sha512-z95ECmE3i9pbWoXQrD/7PgkBAzJYR+iXtPuTkpBjDKs86O3mT+PXOT3BAn79w2wkn7/i3vOGD2xVr1uiMl26dA==",
- "dependencies": {
- "@sentry/types": "6.19.7",
- "tslib": "^1.9.3"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/@sentry/types": {
- "version": "7.91.0",
- "resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.91.0.tgz",
- "integrity": "sha512-bcQnb7J3P3equbCUc+sPuHog2Y47yGD2sCkzmnZBjvBT0Z1B4f36fI/5WjyZhTjLSiOdg3F2otwvikbMjmBDew==",
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/@sentry/utils": {
- "version": "7.91.0",
- "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.91.0.tgz",
- "integrity": "sha512-fvxjrEbk6T6Otu++Ax9ntlQ0sGRiwSC179w68aC3u26Wr30FAIRKqHTCCdc2jyWk7Gd9uWRT/cq+g8NG/8BfSg==",
- "dependencies": {
- "@sentry/types": "7.91.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/@sentry/vite-plugin": {
- "version": "2.10.2",
- "resolved": "https://registry.npmjs.org/@sentry/vite-plugin/-/vite-plugin-2.10.2.tgz",
- "integrity": "sha512-30uu0L8ZCpAKOxAXmtyqwL06sG8UEBXGY5mxUDITyQYDf8pKuiOEf5018KlEDjhYVypfMQH3jq5xXUUka+/ipg==",
- "dev": true,
- "dependencies": {
- "@sentry/bundler-plugin-core": "2.10.2",
- "unplugin": "1.0.1"
- },
- "engines": {
- "node": ">= 14"
- }
- },
- "node_modules/@sentry/vue": {
- "version": "6.19.7",
- "resolved": "https://registry.npmjs.org/@sentry/vue/-/vue-6.19.7.tgz",
- "integrity": "sha512-TW2yrbNebpWDN9CcQQuDNWZ3BCM/noDS1jz91W0bcsaAeoZwG0xgcHZqFwL+ms0G/yQmRc2Joe0fKPYp03IBGg==",
- "dependencies": {
- "@sentry/browser": "6.19.7",
- "@sentry/core": "6.19.7",
- "@sentry/minimal": "6.19.7",
- "@sentry/types": "6.19.7",
- "@sentry/utils": "6.19.7",
- "tslib": "^1.9.3"
- },
- "engines": {
- "node": ">=6"
- },
- "peerDependencies": {
- "vue": "2.x || 3.x"
- }
- },
- "node_modules/@sentry/vue/node_modules/@sentry/core": {
- "version": "6.19.7",
- "resolved": "https://registry.npmjs.org/@sentry/core/-/core-6.19.7.tgz",
- "integrity": "sha512-tOfZ/umqB2AcHPGbIrsFLcvApdTm9ggpi/kQZFkej7kMphjT+SGBiQfYtjyg9jcRW+ilAR4JXC9BGKsdEQ+8Vw==",
- "dependencies": {
- "@sentry/hub": "6.19.7",
- "@sentry/minimal": "6.19.7",
- "@sentry/types": "6.19.7",
- "@sentry/utils": "6.19.7",
- "tslib": "^1.9.3"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/@sentry/vue/node_modules/@sentry/types": {
- "version": "6.19.7",
- "resolved": "https://registry.npmjs.org/@sentry/types/-/types-6.19.7.tgz",
- "integrity": "sha512-jH84pDYE+hHIbVnab3Hr+ZXr1v8QABfhx39KknxqKWr2l0oEItzepV0URvbEhB446lk/S/59230dlUUIBGsXbg==",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/@sentry/vue/node_modules/@sentry/utils": {
- "version": "6.19.7",
- "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-6.19.7.tgz",
- "integrity": "sha512-z95ECmE3i9pbWoXQrD/7PgkBAzJYR+iXtPuTkpBjDKs86O3mT+PXOT3BAn79w2wkn7/i3vOGD2xVr1uiMl26dA==",
- "dependencies": {
- "@sentry/types": "6.19.7",
- "tslib": "^1.9.3"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/@sindresorhus/is": {
- "version": "0.7.0",
- "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.7.0.tgz",
- "integrity": "sha512-ONhaKPIufzzrlNbqtWFFd+jlnemX6lJAgq9ZeiZtS7I1PIf/la7CW4m83rTXRnVnsMbW2k56pGYu7AUFJD9Pow==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/@sindresorhus/merge-streams": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-1.0.0.tgz",
- "integrity": "sha512-rUV5WyJrJLoloD4NDN1V1+LDMDWOa4OTsT4yYJwQNpTU6FWxkxHpL7eu4w+DmiH8x/EAM1otkPE1+LaspIbplw==",
- "optional": true,
- "engines": {
- "node": ">=18"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/@tailwindcss/aspect-ratio": {
- "version": "0.4.2",
- "resolved": "https://registry.npmjs.org/@tailwindcss/aspect-ratio/-/aspect-ratio-0.4.2.tgz",
- "integrity": "sha512-8QPrypskfBa7QIMuKHg2TA7BqES6vhBrDLOv8Unb6FcFyd3TjKbc6lcmb9UPQHxfl24sXoJ41ux/H7qQQvfaSQ==",
- "dev": true,
- "peerDependencies": {
- "tailwindcss": ">=2.0.0 || >=3.0.0 || >=3.0.0-alpha.1"
- }
- },
- "node_modules/@trysound/sax": {
- "version": "0.2.0",
- "resolved": "https://registry.npmjs.org/@trysound/sax/-/sax-0.2.0.tgz",
- "integrity": "sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==",
- "dev": true,
- "engines": {
- "node": ">=10.13.0"
- }
- },
- "node_modules/@types/eslint": {
- "version": "8.56.0",
- "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.56.0.tgz",
- "integrity": "sha512-FlsN0p4FhuYRjIxpbdXovvHQhtlG05O1GG/RNWvdAxTboR438IOTwmrY/vLA+Xfgg06BTkP045M3vpFwTMv1dg==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@types/estree": "*",
- "@types/json-schema": "*"
- }
- },
- "node_modules/@types/eslint-scope": {
- "version": "3.7.7",
- "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.7.tgz",
- "integrity": "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@types/eslint": "*",
- "@types/estree": "*"
- }
- },
- "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==",
- "devOptional": true
- },
- "node_modules/@types/imagemin": {
- "version": "8.0.5",
- "resolved": "https://registry.npmjs.org/@types/imagemin/-/imagemin-8.0.5.tgz",
- "integrity": "sha512-tah3dm+5sG+fEDAz6CrQ5evuEaPX9K6DF3E5a01MPOKhA2oGBoC+oA5EJzSugB905sN4DE19EDzldT2Cld2g6Q==",
- "dev": true,
- "dependencies": {
- "@types/node": "*"
- }
- },
- "node_modules/@types/imagemin-gifsicle": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/@types/imagemin-gifsicle/-/imagemin-gifsicle-5.2.0.tgz",
- "integrity": "sha512-WohEsNMyGYTc+u6WA7KUvX8g+uLgTJOhqteexGdGZ/TPyS65GuCzMJ1RTaSzqG/cIfLFxbxg/HbGBg8YJrNZaw==",
- "dev": true,
- "dependencies": {
- "@types/imagemin": "*"
- }
- },
- "node_modules/@types/imagemin-jpegtran": {
- "version": "5.0.4",
- "resolved": "https://registry.npmjs.org/@types/imagemin-jpegtran/-/imagemin-jpegtran-5.0.4.tgz",
- "integrity": "sha512-PSMxOeJa8q94Y+qx8Yriw+qj1+vH5xWpvar63o6SGO0Xi5RlKuwHHfJmN2GRUngPrlhe394jOUmpVq8jQlVmFA==",
- "dev": true,
- "dependencies": {
- "@types/imagemin": "*"
- }
- },
- "node_modules/@types/imagemin-optipng": {
- "version": "5.2.4",
- "resolved": "https://registry.npmjs.org/@types/imagemin-optipng/-/imagemin-optipng-5.2.4.tgz",
- "integrity": "sha512-mvKnDMC8eCYZetAQudjs1DbgpR84WhsTx1wgvdiXnpuUEti3oJ+MaMYBRWPY0JlQ4+y4TXKOfa7+LOuT8daegQ==",
- "dev": true,
- "dependencies": {
- "@types/imagemin": "*"
- }
- },
- "node_modules/@types/imagemin-svgo": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/@types/imagemin-svgo/-/imagemin-svgo-7.0.0.tgz",
- "integrity": "sha512-Uq2T4hHE9PvBLB1lZM1+bZUzPc14XCKKWzQqJ47qe4/iuVHavYX4ig/gbBj8W3ZvRAJcQV3nagfoqFUzzdFD4g==",
- "dev": true,
- "dependencies": {
- "@types/imagemin": "*",
- "@types/svgo": "*"
- }
- },
- "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/node": {
- "version": "20.10.5",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-20.10.5.tgz",
- "integrity": "sha512-nNPsNE65wjMxEKI93yOP+NPGGBJz/PoN3kZsVLee0XMiJolxSekEVD8wRwBUBqkwc7UWop0edW50yrCQW4CyRw==",
- "dev": true,
- "dependencies": {
- "undici-types": "~5.26.4"
- }
- },
- "node_modules/@types/q": {
- "version": "1.5.8",
- "resolved": "https://registry.npmjs.org/@types/q/-/q-1.5.8.tgz",
- "integrity": "sha512-hroOstUScF6zhIi+5+x0dzqrHA1EJi+Irri6b1fxolMTqqHIV/Cg77EtnQcZqZCu8hR3mX2BzIxN4/GzI68Kfw==",
- "dev": true
- },
- "node_modules/@types/source-list-map": {
- "version": "0.1.6",
- "resolved": "https://registry.npmjs.org/@types/source-list-map/-/source-list-map-0.1.6.tgz",
- "integrity": "sha512-5JcVt1u5HDmlXkwOD2nslZVllBBc7HDuOICfiZah2Z0is8M8g+ddAEawbmd3VjedfDHBzxCaXLs07QEmb7y54g==",
- "dev": true
- },
- "node_modules/@types/svgo": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/@types/svgo/-/svgo-3.0.0.tgz",
- "integrity": "sha512-G5qLWNq/rMvSM1EyY4E2iEd+s9km/PxLkzPkA2lghrgWJ2jrVMuB1ZsGOzL4YAWCy5sAoUw7SEQseHE2qypF2w==",
- "deprecated": "This is a stub types definition. svgo provides its own type definitions, so you do not need this installed.",
- "dev": true,
- "dependencies": {
- "svgo": "*"
- }
- },
- "node_modules/@types/tapable": {
- "version": "1.0.12",
- "resolved": "https://registry.npmjs.org/@types/tapable/-/tapable-1.0.12.tgz",
- "integrity": "sha512-bTHG8fcxEqv1M9+TD14P8ok8hjxoOCkfKc8XXLaaD05kI7ohpeI956jtDOD3XHKBQrlyPughUtzm1jtVhHpA5Q==",
- "dev": true
- },
- "node_modules/@types/uglify-js": {
- "version": "3.17.4",
- "resolved": "https://registry.npmjs.org/@types/uglify-js/-/uglify-js-3.17.4.tgz",
- "integrity": "sha512-Hm/T0kV3ywpJyMGNbsItdivRhYNCQQf1IIsYsXnoVPES4t+FMLyDe0/K+Ea7ahWtMtSNb22ZdY7MIyoD9rqARg==",
- "dev": true,
- "dependencies": {
- "source-map": "^0.6.1"
- }
- },
- "node_modules/@types/web-bluetooth": {
- "version": "0.0.20",
- "resolved": "https://registry.npmjs.org/@types/web-bluetooth/-/web-bluetooth-0.0.20.tgz",
- "integrity": "sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow=="
- },
- "node_modules/@types/webpack": {
- "version": "4.41.38",
- "resolved": "https://registry.npmjs.org/@types/webpack/-/webpack-4.41.38.tgz",
- "integrity": "sha512-oOW7E931XJU1mVfCnxCVgv8GLFL768pDO5u2Gzk82i8yTIgX6i7cntyZOkZYb/JtYM8252SN9bQp9tgkVDSsRw==",
- "dev": true,
- "dependencies": {
- "@types/node": "*",
- "@types/tapable": "^1",
- "@types/uglify-js": "*",
- "@types/webpack-sources": "*",
- "anymatch": "^3.0.0",
- "source-map": "^0.6.0"
- }
- },
- "node_modules/@types/webpack-sources": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/@types/webpack-sources/-/webpack-sources-3.2.3.tgz",
- "integrity": "sha512-4nZOdMwSPHZ4pTEZzSp0AsTM4K7Qmu40UKW4tJDiOVs20UzYF9l+qUe4s0ftfN0pin06n+5cWWDJXH+sbhAiDw==",
- "dev": true,
- "dependencies": {
- "@types/node": "*",
- "@types/source-list-map": "*",
- "source-map": "^0.7.3"
- }
- },
- "node_modules/@types/webpack-sources/node_modules/source-map": {
- "version": "0.7.4",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz",
- "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==",
- "dev": true,
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/@vitejs/plugin-vue": {
- "version": "4.5.2",
- "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-4.5.2.tgz",
- "integrity": "sha512-UGR3DlzLi/SaVBPX0cnSyE37vqxU3O6chn8l0HJNzQzDia6/Au2A4xKv+iIJW8w2daf80G7TYHhi1pAUjdZ0bQ==",
- "dev": true,
- "engines": {
- "node": "^14.18.0 || >=16.0.0"
- },
- "peerDependencies": {
- "vite": "^4.0.0 || ^5.0.0",
- "vue": "^3.2.25"
- }
- },
- "node_modules/@vue/compat": {
- "version": "3.3.13",
- "resolved": "https://registry.npmjs.org/@vue/compat/-/compat-3.3.13.tgz",
- "integrity": "sha512-JJ878anmzuqpBQtgxVhgmTGINWfHdRxslqDWhCp1Ogs7jcbS+nFNFjZkuFJYCvqpLE8nU9YbffCNsUcBDoiyYg==",
- "dependencies": {
- "@babel/parser": "^7.23.5",
- "estree-walker": "^2.0.2",
- "source-map-js": "^1.0.2"
- },
- "peerDependencies": {
- "vue": "3.3.13"
- }
- },
- "node_modules/@vue/compiler-core": {
- "version": "3.3.13",
- "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.3.13.tgz",
- "integrity": "sha512-bwi9HShGu7uaZLOErZgsH2+ojsEdsjerbf2cMXPwmvcgZfVPZ2BVZzCVnwZBxTAYd6Mzbmf6izcUNDkWnBBQ6A==",
- "dependencies": {
- "@babel/parser": "^7.23.5",
- "@vue/shared": "3.3.13",
- "estree-walker": "^2.0.2",
- "source-map-js": "^1.0.2"
- }
- },
- "node_modules/@vue/compiler-dom": {
- "version": "3.3.13",
- "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.3.13.tgz",
- "integrity": "sha512-EYRDpbLadGtNL0Gph+HoKiYqXLqZ0xSSpR5Dvnu/Ep7ggaCbjRDIus1MMxTS2Qm0koXED4xSlvTZaTnI8cYAsw==",
- "dependencies": {
- "@vue/compiler-core": "3.3.13",
- "@vue/shared": "3.3.13"
- }
- },
- "node_modules/@vue/compiler-sfc": {
- "version": "3.3.13",
- "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.3.13.tgz",
- "integrity": "sha512-DQVmHEy/EKIgggvnGRLx21hSqnr1smUS9Aq8tfxiiot8UR0/pXKHN9k78/qQ7etyQTFj5em5nruODON7dBeumw==",
- "dependencies": {
- "@babel/parser": "^7.23.5",
- "@vue/compiler-core": "3.3.13",
- "@vue/compiler-dom": "3.3.13",
- "@vue/compiler-ssr": "3.3.13",
- "@vue/reactivity-transform": "3.3.13",
- "@vue/shared": "3.3.13",
- "estree-walker": "^2.0.2",
- "magic-string": "^0.30.5",
- "postcss": "^8.4.32",
- "source-map-js": "^1.0.2"
- }
- },
- "node_modules/@vue/compiler-sfc/node_modules/magic-string": {
- "version": "0.30.5",
- "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.5.tgz",
- "integrity": "sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==",
- "dependencies": {
- "@jridgewell/sourcemap-codec": "^1.4.15"
- },
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@vue/compiler-ssr": {
- "version": "3.3.13",
- "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.3.13.tgz",
- "integrity": "sha512-d/P3bCeUGmkJNS1QUZSAvoCIW4fkOKK3l2deE7zrp0ypJEy+En2AcypIkqvcFQOcw3F0zt2VfMvNsA9JmExTaw==",
- "dependencies": {
- "@vue/compiler-dom": "3.3.13",
- "@vue/shared": "3.3.13"
- }
- },
- "node_modules/@vue/devtools-api": {
- "version": "6.5.1",
- "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.5.1.tgz",
- "integrity": "sha512-+KpckaAQyfbvshdDW5xQylLni1asvNSGme1JFs8I1+/H5pHEhqUKMEQD/qn3Nx5+/nycBq11qAEi8lk+LXI2dA=="
- },
- "node_modules/@vue/reactivity": {
- "version": "3.3.13",
- "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.3.13.tgz",
- "integrity": "sha512-fjzCxceMahHhi4AxUBzQqqVhuA21RJ0COaWTbIBl1PruGW1CeY97louZzLi4smpYx+CHfFPPU/CS8NybbGvPKQ==",
- "dependencies": {
- "@vue/shared": "3.3.13"
- }
- },
- "node_modules/@vue/reactivity-transform": {
- "version": "3.3.13",
- "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.3.13.tgz",
- "integrity": "sha512-oWnydGH0bBauhXvh5KXUy61xr9gKaMbtsMHk40IK9M4gMuKPJ342tKFarY0eQ6jef8906m35q37wwA8DMZOm5Q==",
- "dependencies": {
- "@babel/parser": "^7.23.5",
- "@vue/compiler-core": "3.3.13",
- "@vue/shared": "3.3.13",
- "estree-walker": "^2.0.2",
- "magic-string": "^0.30.5"
- }
- },
- "node_modules/@vue/reactivity-transform/node_modules/magic-string": {
- "version": "0.30.5",
- "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.5.tgz",
- "integrity": "sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==",
- "dependencies": {
- "@jridgewell/sourcemap-codec": "^1.4.15"
- },
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@vue/runtime-core": {
- "version": "3.3.13",
- "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.3.13.tgz",
- "integrity": "sha512-1TzA5TvGuh2zUwMJgdfvrBABWZ7y8kBwBhm7BXk8rvdx2SsgcGfz2ruv2GzuGZNvL1aKnK8CQMV/jFOrxNQUMA==",
- "dependencies": {
- "@vue/reactivity": "3.3.13",
- "@vue/shared": "3.3.13"
- }
- },
- "node_modules/@vue/runtime-dom": {
- "version": "3.3.13",
- "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.3.13.tgz",
- "integrity": "sha512-JJkpE8R/hJKXqVTgUoODwS5wqKtOsmJPEqmp90PDVGygtJ4C0PtOkcEYXwhiVEmef6xeXcIlrT3Yo5aQ4qkHhQ==",
- "dependencies": {
- "@vue/runtime-core": "3.3.13",
- "@vue/shared": "3.3.13",
- "csstype": "^3.1.3"
- }
- },
- "node_modules/@vue/server-renderer": {
- "version": "3.3.13",
- "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.3.13.tgz",
- "integrity": "sha512-vSnN+nuf6iSqTL3Qgx/9A+BT+0Zf/VJOgF5uMZrKjYPs38GMYyAU1coDyBNHauehXDaP+zl73VhwWv0vBRBHcg==",
- "dependencies": {
- "@vue/compiler-ssr": "3.3.13",
- "@vue/shared": "3.3.13"
- },
- "peerDependencies": {
- "vue": "3.3.13"
- }
- },
- "node_modules/@vue/shared": {
- "version": "3.3.13",
- "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.3.13.tgz",
- "integrity": "sha512-/zYUwiHD8j7gKx2argXEMCUXVST6q/21DFU0sTfNX0URJroCe3b1UF6vLJ3lQDfLNIiiRl2ONp7Nh5UVWS6QnA=="
- },
- "node_modules/@vueuse/components": {
- "version": "10.7.0",
- "resolved": "https://registry.npmjs.org/@vueuse/components/-/components-10.7.0.tgz",
- "integrity": "sha512-ycyF+fZtipP/8WVWZ5y6Cb9twJ0EeVHIqcqkCcTpmAJdheRjorT8v6cHk3h144HHTMgIfBWC6TaSukDG7QFmsw==",
- "dependencies": {
- "@vueuse/core": "10.7.0",
- "@vueuse/shared": "10.7.0",
- "vue-demi": ">=0.14.6"
- }
- },
- "node_modules/@vueuse/components/node_modules/vue-demi": {
- "version": "0.14.6",
- "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.6.tgz",
- "integrity": "sha512-8QA7wrYSHKaYgUxDA5ZC24w+eHm3sYCbp0EzcDwKqN3p6HqtTCGR/GVsPyZW92unff4UlcSh++lmqDWN3ZIq4w==",
- "hasInstallScript": true,
- "bin": {
- "vue-demi-fix": "bin/vue-demi-fix.js",
- "vue-demi-switch": "bin/vue-demi-switch.js"
- },
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/sponsors/antfu"
- },
- "peerDependencies": {
- "@vue/composition-api": "^1.0.0-rc.1",
- "vue": "^3.0.0-0 || ^2.6.0"
- },
- "peerDependenciesMeta": {
- "@vue/composition-api": {
- "optional": true
- }
- }
- },
- "node_modules/@vueuse/core": {
- "version": "10.7.0",
- "resolved": "https://registry.npmjs.org/@vueuse/core/-/core-10.7.0.tgz",
- "integrity": "sha512-4EUDESCHtwu44ZWK3Gc/hZUVhVo/ysvdtwocB5vcauSV4B7NiGY5972WnsojB3vRNdxvAt7kzJWE2h9h7C9d5w==",
- "dependencies": {
- "@types/web-bluetooth": "^0.0.20",
- "@vueuse/metadata": "10.7.0",
- "@vueuse/shared": "10.7.0",
- "vue-demi": ">=0.14.6"
- },
- "funding": {
- "url": "https://github.com/sponsors/antfu"
- }
- },
- "node_modules/@vueuse/core/node_modules/vue-demi": {
- "version": "0.14.6",
- "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.6.tgz",
- "integrity": "sha512-8QA7wrYSHKaYgUxDA5ZC24w+eHm3sYCbp0EzcDwKqN3p6HqtTCGR/GVsPyZW92unff4UlcSh++lmqDWN3ZIq4w==",
- "hasInstallScript": true,
- "bin": {
- "vue-demi-fix": "bin/vue-demi-fix.js",
- "vue-demi-switch": "bin/vue-demi-switch.js"
- },
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/sponsors/antfu"
- },
- "peerDependencies": {
- "@vue/composition-api": "^1.0.0-rc.1",
- "vue": "^3.0.0-0 || ^2.6.0"
- },
- "peerDependenciesMeta": {
- "@vue/composition-api": {
- "optional": true
- }
- }
- },
- "node_modules/@vueuse/metadata": {
- "version": "10.7.0",
- "resolved": "https://registry.npmjs.org/@vueuse/metadata/-/metadata-10.7.0.tgz",
- "integrity": "sha512-GlaH7tKP2iBCZ3bHNZ6b0cl9g0CJK8lttkBNUX156gWvNYhTKEtbweWLm9rxCPIiwzYcr/5xML6T8ZUEt+DkvA==",
- "funding": {
- "url": "https://github.com/sponsors/antfu"
- }
- },
- "node_modules/@vueuse/motion": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/@vueuse/motion/-/motion-2.0.0.tgz",
- "integrity": "sha512-V3TAlbt1OPmb9DZFoFCz9WC3Oue54t9VHlavSWm+VU1JNimYcd+pc6aGR/hgaHUAU9tOPRHoDTleSrv2zrdIsw==",
- "dependencies": {
- "@vueuse/core": "^10.1.2",
- "@vueuse/shared": "^10.1.2",
- "csstype": "^3.1.2",
- "framesync": "^6.1.2",
- "popmotion": "^11.0.5",
- "style-value-types": "^5.1.2"
- },
- "optionalDependencies": {
- "@nuxt/kit": "^3.5.1"
- },
- "peerDependencies": {
- "vue": ">=3.0.0"
- }
- },
- "node_modules/@vueuse/shared": {
- "version": "10.7.0",
- "resolved": "https://registry.npmjs.org/@vueuse/shared/-/shared-10.7.0.tgz",
- "integrity": "sha512-kc00uV6CiaTdc3i1CDC4a3lBxzaBE9AgYNtFN87B5OOscqeWElj/uza8qVDmk7/U8JbqoONLbtqiLJ5LGRuqlw==",
- "dependencies": {
- "vue-demi": ">=0.14.6"
- },
- "funding": {
- "url": "https://github.com/sponsors/antfu"
- }
- },
- "node_modules/@vueuse/shared/node_modules/vue-demi": {
- "version": "0.14.6",
- "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.6.tgz",
- "integrity": "sha512-8QA7wrYSHKaYgUxDA5ZC24w+eHm3sYCbp0EzcDwKqN3p6HqtTCGR/GVsPyZW92unff4UlcSh++lmqDWN3ZIq4w==",
- "hasInstallScript": true,
- "bin": {
- "vue-demi-fix": "bin/vue-demi-fix.js",
- "vue-demi-switch": "bin/vue-demi-switch.js"
- },
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/sponsors/antfu"
- },
- "peerDependencies": {
- "@vue/composition-api": "^1.0.0-rc.1",
- "vue": "^3.0.0-0 || ^2.6.0"
- },
- "peerDependenciesMeta": {
- "@vue/composition-api": {
- "optional": true
- }
- }
- },
- "node_modules/@webassemblyjs/ast": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.6.tgz",
- "integrity": "sha512-IN1xI7PwOvLPgjcf180gC1bqn3q/QaOCwYUahIOhbYUu8KA/3tw2RT/T0Gidi1l7Hhj5D/INhJxiICObqpMu4Q==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@webassemblyjs/helper-numbers": "1.11.6",
- "@webassemblyjs/helper-wasm-bytecode": "1.11.6"
- }
- },
- "node_modules/@webassemblyjs/floating-point-hex-parser": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.6.tgz",
- "integrity": "sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw==",
- "dev": true,
- "peer": true
- },
- "node_modules/@webassemblyjs/helper-api-error": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.6.tgz",
- "integrity": "sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q==",
- "dev": true,
- "peer": true
- },
- "node_modules/@webassemblyjs/helper-buffer": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.6.tgz",
- "integrity": "sha512-z3nFzdcp1mb8nEOFFk8DrYLpHvhKC3grJD2ardfKOzmbmJvEf/tPIqCY+sNcwZIY8ZD7IkB2l7/pqhUhqm7hLA==",
- "dev": true,
- "peer": true
- },
- "node_modules/@webassemblyjs/helper-numbers": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.6.tgz",
- "integrity": "sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@webassemblyjs/floating-point-hex-parser": "1.11.6",
- "@webassemblyjs/helper-api-error": "1.11.6",
- "@xtuc/long": "4.2.2"
- }
- },
- "node_modules/@webassemblyjs/helper-wasm-bytecode": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.6.tgz",
- "integrity": "sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA==",
- "dev": true,
- "peer": true
- },
- "node_modules/@webassemblyjs/helper-wasm-section": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.6.tgz",
- "integrity": "sha512-LPpZbSOwTpEC2cgn4hTydySy1Ke+XEu+ETXuoyvuyezHO3Kjdu90KK95Sh9xTbmjrCsUwvWwCOQQNta37VrS9g==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@webassemblyjs/ast": "1.11.6",
- "@webassemblyjs/helper-buffer": "1.11.6",
- "@webassemblyjs/helper-wasm-bytecode": "1.11.6",
- "@webassemblyjs/wasm-gen": "1.11.6"
- }
- },
- "node_modules/@webassemblyjs/ieee754": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.6.tgz",
- "integrity": "sha512-LM4p2csPNvbij6U1f19v6WR56QZ8JcHg3QIJTlSwzFcmx6WSORicYj6I63f9yU1kEUtrpG+kjkiIAkevHpDXrg==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@xtuc/ieee754": "^1.2.0"
- }
- },
- "node_modules/@webassemblyjs/leb128": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.6.tgz",
- "integrity": "sha512-m7a0FhE67DQXgouf1tbN5XQcdWoNgaAuoULHIfGFIEVKA6tu/edls6XnIlkmS6FrXAquJRPni3ZZKjw6FSPjPQ==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@xtuc/long": "4.2.2"
- }
- },
- "node_modules/@webassemblyjs/utf8": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.6.tgz",
- "integrity": "sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA==",
- "dev": true,
- "peer": true
- },
- "node_modules/@webassemblyjs/wasm-edit": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.6.tgz",
- "integrity": "sha512-Ybn2I6fnfIGuCR+Faaz7YcvtBKxvoLV3Lebn1tM4o/IAJzmi9AWYIPWpyBfU8cC+JxAO57bk4+zdsTjJR+VTOw==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@webassemblyjs/ast": "1.11.6",
- "@webassemblyjs/helper-buffer": "1.11.6",
- "@webassemblyjs/helper-wasm-bytecode": "1.11.6",
- "@webassemblyjs/helper-wasm-section": "1.11.6",
- "@webassemblyjs/wasm-gen": "1.11.6",
- "@webassemblyjs/wasm-opt": "1.11.6",
- "@webassemblyjs/wasm-parser": "1.11.6",
- "@webassemblyjs/wast-printer": "1.11.6"
- }
- },
- "node_modules/@webassemblyjs/wasm-gen": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.6.tgz",
- "integrity": "sha512-3XOqkZP/y6B4F0PBAXvI1/bky7GryoogUtfwExeP/v7Nzwo1QLcq5oQmpKlftZLbT+ERUOAZVQjuNVak6UXjPA==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@webassemblyjs/ast": "1.11.6",
- "@webassemblyjs/helper-wasm-bytecode": "1.11.6",
- "@webassemblyjs/ieee754": "1.11.6",
- "@webassemblyjs/leb128": "1.11.6",
- "@webassemblyjs/utf8": "1.11.6"
- }
- },
- "node_modules/@webassemblyjs/wasm-opt": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.6.tgz",
- "integrity": "sha512-cOrKuLRE7PCe6AsOVl7WasYf3wbSo4CeOk6PkrjS7g57MFfVUF9u6ysQBBODX0LdgSvQqRiGz3CXvIDKcPNy4g==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@webassemblyjs/ast": "1.11.6",
- "@webassemblyjs/helper-buffer": "1.11.6",
- "@webassemblyjs/wasm-gen": "1.11.6",
- "@webassemblyjs/wasm-parser": "1.11.6"
- }
- },
- "node_modules/@webassemblyjs/wasm-parser": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.6.tgz",
- "integrity": "sha512-6ZwPeGzMJM3Dqp3hCsLgESxBGtT/OeCvCZ4TA1JUPYgmhAx38tTPR9JaKy0S5H3evQpO/h2uWs2j6Yc/fjkpTQ==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@webassemblyjs/ast": "1.11.6",
- "@webassemblyjs/helper-api-error": "1.11.6",
- "@webassemblyjs/helper-wasm-bytecode": "1.11.6",
- "@webassemblyjs/ieee754": "1.11.6",
- "@webassemblyjs/leb128": "1.11.6",
- "@webassemblyjs/utf8": "1.11.6"
- }
- },
- "node_modules/@webassemblyjs/wast-printer": {
- "version": "1.11.6",
- "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.6.tgz",
- "integrity": "sha512-JM7AhRcE+yW2GWYaKeHL5vt4xqee5N2WcezptmgyhNS+ScggqcT1OtXykhAb13Sn5Yas0j2uv9tHgrjwvzAP4A==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@webassemblyjs/ast": "1.11.6",
- "@xtuc/long": "4.2.2"
- }
- },
- "node_modules/@xtuc/ieee754": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz",
- "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==",
- "dev": true,
- "peer": true
- },
- "node_modules/@xtuc/long": {
- "version": "4.2.2",
- "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz",
- "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==",
- "dev": true,
- "peer": true
- },
- "node_modules/acorn": {
- "version": "7.4.1",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz",
- "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==",
- "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/adjust-sourcemap-loader": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/adjust-sourcemap-loader/-/adjust-sourcemap-loader-3.0.0.tgz",
- "integrity": "sha512-YBrGyT2/uVQ/c6Rr+t6ZJXniY03YtHGMJQYal368burRGYKqhx9qGTWqcBU5s1CwYY9E/ri63RYyG1IacMZtqw==",
- "dev": true,
- "dependencies": {
- "loader-utils": "^2.0.0",
- "regex-parser": "^2.2.11"
- },
- "engines": {
- "node": ">=8.9"
- }
- },
- "node_modules/adjust-sourcemap-loader/node_modules/loader-utils": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz",
- "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==",
- "dev": true,
- "dependencies": {
- "big.js": "^5.2.2",
- "emojis-list": "^3.0.0",
- "json5": "^2.1.2"
- },
- "engines": {
- "node": ">=8.9.0"
- }
- },
- "node_modules/agent-base": {
- "version": "6.0.2",
- "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz",
- "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==",
- "dev": true,
- "dependencies": {
- "debug": "4"
- },
- "engines": {
- "node": ">= 6.0.0"
- }
- },
- "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/ajv-keywords": {
- "version": "3.5.2",
- "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz",
- "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==",
- "dev": true,
- "peerDependencies": {
- "ajv": "^6.9.1"
- }
- },
- "node_modules/ansi-colors": {
- "version": "4.1.3",
- "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz",
- "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==",
- "dev": true,
- "engines": {
- "node": ">=6"
- }
- },
- "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==",
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/ansi-styles": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
- "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
- "devOptional": true,
- "dependencies": {
- "color-convert": "^1.9.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/any-promise": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz",
- "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==",
- "dev": true
- },
- "node_modules/anymatch": {
- "version": "3.1.3",
- "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz",
- "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",
- "devOptional": true,
- "dependencies": {
- "normalize-path": "^3.0.0",
- "picomatch": "^2.0.4"
- },
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/arch": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/arch/-/arch-2.2.0.tgz",
- "integrity": "sha512-Of/R0wqp83cgHozfIYLbBMnej79U/SVGOOyuB3VVFv1NRM/PSFMK12x9KVtiYzJqmnU5WR2qp0Z5rHb7sWGnFQ==",
- "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/archive-type": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/archive-type/-/archive-type-4.0.0.tgz",
- "integrity": "sha512-zV4Ky0v1F8dBrdYElwTvQhweQ0P7Kwc1aluqJsYtOBP01jXcWCyW2IEfI1YiqsG+Iy7ZR+o5LF1N+PGECBxHWA==",
- "dev": true,
- "dependencies": {
- "file-type": "^4.2.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/archive-type/node_modules/file-type": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/file-type/-/file-type-4.4.0.tgz",
- "integrity": "sha512-f2UbFQEk7LXgWpi5ntcO86OeA/cC80fuDDDaX/fZ2ZGel+AF7leRQqBBW1eJNiiQkrZlAoM6P+VYP5P6bOlDEQ==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/arg": {
- "version": "5.0.2",
- "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz",
- "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==",
- "dev": true
- },
- "node_modules/argparse": {
- "version": "1.0.10",
- "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
- "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
- "dev": true,
- "dependencies": {
- "sprintf-js": "~1.0.2"
- }
- },
- "node_modules/arity-n": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/arity-n/-/arity-n-1.0.4.tgz",
- "integrity": "sha512-fExL2kFDC1Q2DUOx3whE/9KoN66IzkY4b4zUHUBFM1ojEYjZZYDcUW3bek/ufGionX9giIKDC5redH2IlGqcQQ==",
- "dev": true
- },
- "node_modules/arr-diff": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz",
- "integrity": "sha512-YVIQ82gZPGBebQV/a8dar4AitzCQs0jjXwMPZllpXMaGjXPYVUawSxQrRsjhjupyVxEvbHgUmIhKVlND+j02kA==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/arr-flatten": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz",
- "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/arr-union": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz",
- "integrity": "sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/array-buffer-byte-length": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz",
- "integrity": "sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.2",
- "is-array-buffer": "^3.0.1"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/array-find-index": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz",
- "integrity": "sha512-M1HQyIXcBGtVywBt8WVdim+lrNaK7VHp99Qt5pSNziXznKHViIBbXWtfRTpEFpF/c4FdfxNAsCCwPp5phBYJtw==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/array-includes": {
- "version": "3.1.7",
- "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.7.tgz",
- "integrity": "sha512-dlcsNBIiWhPkHdOEEKnehA+RNUWDc4UqFtnIXU4uuYDPtA4LDkr7qip2p0VvFAEXNDr0yWZ9PJyIRiGjRLQzwQ==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.2.0",
- "es-abstract": "^1.22.1",
- "get-intrinsic": "^1.2.1",
- "is-string": "^1.0.7"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/array-union": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz",
- "integrity": "sha512-Dxr6QJj/RdU/hCaBjOfxW+q6lyuVE6JFWIrAUpuOOhoJJoQ99cUn3igRaHVB5P9WrgFVN0FfArM3x0cueOU8ng==",
- "dev": true,
- "dependencies": {
- "array-uniq": "^1.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/array-uniq": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz",
- "integrity": "sha512-MNha4BWQ6JbwhFhj03YK552f7cb3AzoE8SzeljgChvL1dl3IcvggXVz1DilzySZkCja+CXuZbdW7yATchWn8/Q==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/array-unique": {
- "version": "0.3.2",
- "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz",
- "integrity": "sha512-SleRWjh9JUud2wH1hPs9rZBZ33H6T9HOiL0uwGnGx9FpE6wKGyfWugmbkEOIs6qWrZhg0LWeLziLrEwQJhs5mQ==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/array.prototype.findlastindex": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.3.tgz",
- "integrity": "sha512-LzLoiOMAxvy+Gd3BAq3B7VeIgPdo+Q8hthvKtXybMvRV0jrXfJM/t8mw7nNlpEcVlVUnCnM2KSX4XU5HmpodOA==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.2.0",
- "es-abstract": "^1.22.1",
- "es-shim-unscopables": "^1.0.0",
- "get-intrinsic": "^1.2.1"
- },
- "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.reduce": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/array.prototype.reduce/-/array.prototype.reduce-1.0.6.tgz",
- "integrity": "sha512-UW+Mz8LG/sPSU8jRDCjVr6J/ZKAGpHfwrZ6kWTG5qCxIEiXdVshqGnu5vEZA8S1y6X4aCSbQZ0/EEsfvEvBiSg==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.2.0",
- "es-abstract": "^1.22.1",
- "es-array-method-boxes-properly": "^1.0.0",
- "is-string": "^1.0.7"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/arraybuffer.prototype.slice": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.2.tgz",
- "integrity": "sha512-yMBKppFur/fbHu9/6USUe03bZ4knMYiwFBcyiaXB8Go0qNehwX6inYPzK9U0NeQvGxKthcmHcaR8P5MStSRBAw==",
- "dev": true,
- "dependencies": {
- "array-buffer-byte-length": "^1.0.0",
- "call-bind": "^1.0.2",
- "define-properties": "^1.2.0",
- "es-abstract": "^1.22.1",
- "get-intrinsic": "^1.2.1",
- "is-array-buffer": "^3.0.2",
- "is-shared-array-buffer": "^1.0.2"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/arrify": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz",
- "integrity": "sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/assign-symbols": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz",
- "integrity": "sha512-Q+JC7Whu8HhmTdBph/Tq59IoRtoy6KAm5zzPv00WdujX82lbAL8K7WVjne7vdCsAmbF4AYaDOPyO3k0kl8qIrw==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/astral-regex": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz",
- "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==",
- "dev": true,
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/async-throttle": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/async-throttle/-/async-throttle-1.1.0.tgz",
- "integrity": "sha512-t5kQ/BRlYTNG2GsQue48DeKByahFGGHtC8w7LCEl1sGHbAgpthKXX6U2GL1t6xI89rWxCDc/xzEOW/8ObrZH0Q==",
- "dev": true
- },
- "node_modules/atob": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz",
- "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==",
- "dev": true,
- "bin": {
- "atob": "bin/atob.js"
- },
- "engines": {
- "node": ">= 4.5.0"
- }
- },
- "node_modules/autoprefixer": {
- "version": "10.4.16",
- "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.16.tgz",
- "integrity": "sha512-7vd3UC6xKp0HLfua5IjZlcXvGAGy7cBAXTg2lyQ/8WpNhd6SiZ8Be+xm3FyBSYJx5GKcpRCzBh7RH4/0dnY+uQ==",
- "dev": true,
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/postcss/"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/autoprefixer"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "dependencies": {
- "browserslist": "^4.21.10",
- "caniuse-lite": "^1.0.30001538",
- "fraction.js": "^4.3.6",
- "normalize-range": "^0.1.2",
- "picocolors": "^1.0.0",
- "postcss-value-parser": "^4.2.0"
- },
- "bin": {
- "autoprefixer": "bin/autoprefixer"
- },
- "engines": {
- "node": "^10 || ^12 || >=14"
- },
- "peerDependencies": {
- "postcss": "^8.1.0"
- }
- },
- "node_modules/available-typed-arrays": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz",
- "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==",
- "dev": true,
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/axios": {
- "version": "0.21.4",
- "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz",
- "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==",
- "dependencies": {
- "follow-redirects": "^1.14.0"
- }
- },
- "node_modules/babel-plugin-polyfill-corejs2": {
- "version": "0.4.7",
- "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.7.tgz",
- "integrity": "sha512-LidDk/tEGDfuHW2DWh/Hgo4rmnw3cduK6ZkOI1NPFceSK3n/yAGeOsNT7FLnSGHkXj3RHGSEVkN3FsCTY6w2CQ==",
- "dev": true,
- "dependencies": {
- "@babel/compat-data": "^7.22.6",
- "@babel/helper-define-polyfill-provider": "^0.4.4",
- "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.8.7",
- "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.8.7.tgz",
- "integrity": "sha512-KyDvZYxAzkC0Aj2dAPyDzi2Ym15e5JKZSK+maI7NAwSqofvuFglbSsxE7wUOvTg9oFVnHMzVzBKcqEb4PJgtOA==",
- "dev": true,
- "dependencies": {
- "@babel/helper-define-polyfill-provider": "^0.4.4",
- "core-js-compat": "^3.33.1"
- },
- "peerDependencies": {
- "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0"
- }
- },
- "node_modules/babel-plugin-polyfill-regenerator": {
- "version": "0.5.4",
- "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.5.4.tgz",
- "integrity": "sha512-S/x2iOCvDaCASLYsOOgWOq4bCfKYVqvO/uxjkaYyZ3rVsVE3CeAI/c84NpyuBBymEgNvHgjEot3a9/Z/kXvqsg==",
- "dev": true,
- "dependencies": {
- "@babel/helper-define-polyfill-provider": "^0.4.4"
- },
- "peerDependencies": {
- "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0"
- }
- },
- "node_modules/babel-runtime": {
- "version": "6.26.0",
- "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz",
- "integrity": "sha512-ITKNuq2wKlW1fJg9sSW52eepoYgZBggvOAHC0u/CYu/qxQ9EVzThCgR69BnSXLHjy2f7SY5zaQ4yt7H9ZVxY2g==",
- "dev": true,
- "dependencies": {
- "core-js": "^2.4.0",
- "regenerator-runtime": "^0.11.0"
- }
- },
- "node_modules/babel-runtime/node_modules/regenerator-runtime": {
- "version": "0.11.1",
- "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz",
- "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==",
- "dev": true
- },
- "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/base": {
- "version": "0.11.2",
- "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz",
- "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==",
- "dev": true,
- "dependencies": {
- "cache-base": "^1.0.1",
- "class-utils": "^0.3.5",
- "component-emitter": "^1.2.1",
- "define-property": "^1.0.0",
- "isobject": "^3.0.1",
- "mixin-deep": "^1.2.0",
- "pascalcase": "^0.1.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/base/node_modules/define-property": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",
- "integrity": "sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA==",
- "dev": true,
- "dependencies": {
- "is-descriptor": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/base64-js": {
- "version": "1.5.1",
- "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
- "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",
- "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/big.js": {
- "version": "5.2.2",
- "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz",
- "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==",
- "dev": true,
- "engines": {
- "node": "*"
- }
- },
- "node_modules/bin-build": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/bin-build/-/bin-build-3.0.0.tgz",
- "integrity": "sha512-jcUOof71/TNAI2uM5uoUaDq2ePcVBQ3R/qhxAz1rX7UfvduAL/RXD3jXzvn8cVcDJdGVkiR1shal3OH0ImpuhA==",
- "dev": true,
- "dependencies": {
- "decompress": "^4.0.0",
- "download": "^6.2.2",
- "execa": "^0.7.0",
- "p-map-series": "^1.0.0",
- "tempfile": "^2.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/bin-check": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/bin-check/-/bin-check-4.1.0.tgz",
- "integrity": "sha512-b6weQyEUKsDGFlACWSIOfveEnImkJyK/FGW6FAG42loyoquvjdtOIqO6yBFzHyqyVVhNgNkQxxx09SFLK28YnA==",
- "dev": true,
- "dependencies": {
- "execa": "^0.7.0",
- "executable": "^4.1.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/bin-version": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/bin-version/-/bin-version-3.1.0.tgz",
- "integrity": "sha512-Mkfm4iE1VFt4xd4vH+gx+0/71esbfus2LsnCGe8Pi4mndSPyT+NGES/Eg99jx8/lUGWfu3z2yuB/bt5UB+iVbQ==",
- "dev": true,
- "dependencies": {
- "execa": "^1.0.0",
- "find-versions": "^3.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/bin-version-check": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/bin-version-check/-/bin-version-check-4.0.0.tgz",
- "integrity": "sha512-sR631OrhC+1f8Cvs8WyVWOA33Y8tgwjETNPyyD/myRBXLkfS/vl74FmH/lFcRl9KY3zwGh7jFhvyk9vV3/3ilQ==",
- "dev": true,
- "dependencies": {
- "bin-version": "^3.0.0",
- "semver": "^5.6.0",
- "semver-truncate": "^1.1.2"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/bin-version-check/node_modules/semver": {
- "version": "5.7.2",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz",
- "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==",
- "dev": true,
- "bin": {
- "semver": "bin/semver"
- }
- },
- "node_modules/bin-version/node_modules/cross-spawn": {
- "version": "6.0.5",
- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
- "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",
- "dev": true,
- "dependencies": {
- "nice-try": "^1.0.4",
- "path-key": "^2.0.1",
- "semver": "^5.5.0",
- "shebang-command": "^1.2.0",
- "which": "^1.2.9"
- },
- "engines": {
- "node": ">=4.8"
- }
- },
- "node_modules/bin-version/node_modules/execa": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz",
- "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==",
- "dev": true,
- "dependencies": {
- "cross-spawn": "^6.0.0",
- "get-stream": "^4.0.0",
- "is-stream": "^1.1.0",
- "npm-run-path": "^2.0.0",
- "p-finally": "^1.0.0",
- "signal-exit": "^3.0.0",
- "strip-eof": "^1.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/bin-version/node_modules/get-stream": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",
- "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==",
- "dev": true,
- "dependencies": {
- "pump": "^3.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/bin-version/node_modules/path-key": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",
- "integrity": "sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/bin-version/node_modules/semver": {
- "version": "5.7.2",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz",
- "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==",
- "dev": true,
- "bin": {
- "semver": "bin/semver"
- }
- },
- "node_modules/bin-version/node_modules/shebang-command": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",
- "integrity": "sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==",
- "dev": true,
- "dependencies": {
- "shebang-regex": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/bin-version/node_modules/shebang-regex": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz",
- "integrity": "sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/bin-version/node_modules/which": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
- "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",
- "dev": true,
- "dependencies": {
- "isexe": "^2.0.0"
- },
- "bin": {
- "which": "bin/which"
- }
- },
- "node_modules/bin-wrapper": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/bin-wrapper/-/bin-wrapper-4.1.0.tgz",
- "integrity": "sha512-hfRmo7hWIXPkbpi0ZltboCMVrU+0ClXR/JgbCKKjlDjQf6igXa7OwdqNcFWQZPZTgiY7ZpzE3+LjjkLiTN2T7Q==",
- "dev": true,
- "dependencies": {
- "bin-check": "^4.1.0",
- "bin-version-check": "^4.0.0",
- "download": "^7.1.0",
- "import-lazy": "^3.1.0",
- "os-filter-obj": "^2.0.0",
- "pify": "^4.0.1"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/bin-wrapper/node_modules/download": {
- "version": "7.1.0",
- "resolved": "https://registry.npmjs.org/download/-/download-7.1.0.tgz",
- "integrity": "sha512-xqnBTVd/E+GxJVrX5/eUJiLYjCGPwMpdL+jGhGU57BvtcA7wwhtHVbXBeUk51kOpW3S7Jn3BQbN9Q1R1Km2qDQ==",
- "dev": true,
- "dependencies": {
- "archive-type": "^4.0.0",
- "caw": "^2.0.1",
- "content-disposition": "^0.5.2",
- "decompress": "^4.2.0",
- "ext-name": "^5.0.0",
- "file-type": "^8.1.0",
- "filenamify": "^2.0.0",
- "get-stream": "^3.0.0",
- "got": "^8.3.1",
- "make-dir": "^1.2.0",
- "p-event": "^2.1.0",
- "pify": "^3.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/bin-wrapper/node_modules/download/node_modules/pify": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
- "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/bin-wrapper/node_modules/file-type": {
- "version": "8.1.0",
- "resolved": "https://registry.npmjs.org/file-type/-/file-type-8.1.0.tgz",
- "integrity": "sha512-qyQ0pzAy78gVoJsmYeNgl8uH8yKhr1lVhW7JbzJmnlRi0I4R2eEDEJZVKG8agpDnLpacwNbDhLNG/LMdxHD2YQ==",
- "dev": true,
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/bin-wrapper/node_modules/got": {
- "version": "8.3.2",
- "resolved": "https://registry.npmjs.org/got/-/got-8.3.2.tgz",
- "integrity": "sha512-qjUJ5U/hawxosMryILofZCkm3C84PLJS/0grRIpjAwu+Lkxxj5cxeCU25BG0/3mDSpXKTyZr8oh8wIgLaH0QCw==",
- "dev": true,
- "dependencies": {
- "@sindresorhus/is": "^0.7.0",
- "cacheable-request": "^2.1.1",
- "decompress-response": "^3.3.0",
- "duplexer3": "^0.1.4",
- "get-stream": "^3.0.0",
- "into-stream": "^3.1.0",
- "is-retry-allowed": "^1.1.0",
- "isurl": "^1.0.0-alpha5",
- "lowercase-keys": "^1.0.0",
- "mimic-response": "^1.0.0",
- "p-cancelable": "^0.4.0",
- "p-timeout": "^2.0.1",
- "pify": "^3.0.0",
- "safe-buffer": "^5.1.1",
- "timed-out": "^4.0.1",
- "url-parse-lax": "^3.0.0",
- "url-to-options": "^1.0.1"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/bin-wrapper/node_modules/got/node_modules/pify": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
- "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/bin-wrapper/node_modules/p-cancelable": {
- "version": "0.4.1",
- "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-0.4.1.tgz",
- "integrity": "sha512-HNa1A8LvB1kie7cERyy21VNeHb2CWJJYqyyC2o3klWFfMGlFmWv2Z7sFgZH8ZiaYL95ydToKTFVXgMV/Os0bBQ==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/bin-wrapper/node_modules/p-event": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/p-event/-/p-event-2.3.1.tgz",
- "integrity": "sha512-NQCqOFhbpVTMX4qMe8PF8lbGtzZ+LCiN7pcNrb/413Na7+TRoe1xkKUzuWa/YEJdGQ0FvKtj35EEbDoVPO2kbA==",
- "dev": true,
- "dependencies": {
- "p-timeout": "^2.0.1"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/bin-wrapper/node_modules/p-timeout": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-2.0.1.tgz",
- "integrity": "sha512-88em58dDVB/KzPEx1X0N3LwFfYZPyDc4B6eF38M1rk9VTZMbxXXgjugz8mmwpS9Ox4BDZ+t6t3QP5+/gazweIA==",
- "dev": true,
- "dependencies": {
- "p-finally": "^1.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/bin-wrapper/node_modules/prepend-http": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz",
- "integrity": "sha512-ravE6m9Atw9Z/jjttRUZ+clIXogdghyZAuWJ3qEzjT+jI/dL1ifAqhZeC5VHzQp1MSt1+jxKkFNemj/iO7tVUA==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/bin-wrapper/node_modules/url-parse-lax": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz",
- "integrity": "sha512-NjFKA0DidqPa5ciFcSrXnAltTtzz84ogy+NebPvfEgAck0+TNg4UJ4IN+fB7zRZfbgUf0syOo9MDxFkDSMuFaQ==",
- "dev": true,
- "dependencies": {
- "prepend-http": "^2.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/binary-extensions": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",
- "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==",
- "devOptional": true,
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/bl": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/bl/-/bl-1.2.3.tgz",
- "integrity": "sha512-pvcNpa0UU69UT341rO6AYy4FVAIkUHuZXRIWbq+zHnsVcRzDDjIAhGuuYoi0d//cwIwtt4pkpKycWEfjdV+vww==",
- "dev": true,
- "dependencies": {
- "readable-stream": "^2.3.5",
- "safe-buffer": "^5.1.1"
- }
- },
- "node_modules/boolbase": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz",
- "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==",
- "dev": true
- },
- "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.2",
- "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
- "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
- "devOptional": true,
- "dependencies": {
- "fill-range": "^7.0.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/browserslist": {
- "version": "4.22.2",
- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.22.2.tgz",
- "integrity": "sha512-0UgcrvQmBDvZHFGdYUehrCNIazki7/lUP3kkoi/r3YB2amZbFM9J43ZRkJTXBUZK4gmx56+Sqk9+Vs9mwZx9+A==",
- "devOptional": 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.30001565",
- "electron-to-chromium": "^1.4.601",
- "node-releases": "^2.0.14",
- "update-browserslist-db": "^1.0.13"
- },
- "bin": {
- "browserslist": "cli.js"
- },
- "engines": {
- "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
- }
- },
- "node_modules/buffer": {
- "version": "5.7.1",
- "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz",
- "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==",
- "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": {
- "base64-js": "^1.3.1",
- "ieee754": "^1.1.13"
- }
- },
- "node_modules/buffer-alloc": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/buffer-alloc/-/buffer-alloc-1.2.0.tgz",
- "integrity": "sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow==",
- "dev": true,
- "dependencies": {
- "buffer-alloc-unsafe": "^1.1.0",
- "buffer-fill": "^1.0.0"
- }
- },
- "node_modules/buffer-alloc-unsafe": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz",
- "integrity": "sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg==",
- "dev": true
- },
- "node_modules/buffer-crc32": {
- "version": "0.2.13",
- "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz",
- "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==",
- "dev": true,
- "engines": {
- "node": "*"
- }
- },
- "node_modules/buffer-fill": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/buffer-fill/-/buffer-fill-1.0.0.tgz",
- "integrity": "sha512-T7zexNBwiiaCOGDg9xNX9PBmjrubblRkENuptryuI64URkXDFum9il/JGL8Lm8wYfAXpredVXXZz7eMHilimiQ==",
- "dev": true
- },
- "node_modules/buffer-from": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz",
- "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==",
- "dev": true,
- "peer": true
- },
- "node_modules/c12": {
- "version": "1.5.1",
- "resolved": "https://registry.npmjs.org/c12/-/c12-1.5.1.tgz",
- "integrity": "sha512-BWZRJgDEveT8uI+cliCwvYSSSSvb4xKoiiu5S0jaDbKBopQLQF7E+bq9xKk1pTcG+mUa3yXuFO7bD9d8Lr9Xxg==",
- "optional": true,
- "dependencies": {
- "chokidar": "^3.5.3",
- "defu": "^6.1.2",
- "dotenv": "^16.3.1",
- "giget": "^1.1.3",
- "jiti": "^1.20.0",
- "mlly": "^1.4.2",
- "ohash": "^1.1.3",
- "pathe": "^1.1.1",
- "perfect-debounce": "^1.0.0",
- "pkg-types": "^1.0.3",
- "rc9": "^2.1.1"
- }
- },
- "node_modules/cache-base": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz",
- "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==",
- "dev": true,
- "dependencies": {
- "collection-visit": "^1.0.0",
- "component-emitter": "^1.2.1",
- "get-value": "^2.0.6",
- "has-value": "^1.0.0",
- "isobject": "^3.0.1",
- "set-value": "^2.0.0",
- "to-object-path": "^0.3.0",
- "union-value": "^1.0.0",
- "unset-value": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/cacheable-request": {
- "version": "2.1.4",
- "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-2.1.4.tgz",
- "integrity": "sha512-vag0O2LKZ/najSoUwDbVlnlCFvhBE/7mGTY2B5FgCBDcRD+oVV1HYTOwM6JZfMg/hIcM6IwnTZ1uQQL5/X3xIQ==",
- "dev": true,
- "dependencies": {
- "clone-response": "1.0.2",
- "get-stream": "3.0.0",
- "http-cache-semantics": "3.8.1",
- "keyv": "3.0.0",
- "lowercase-keys": "1.0.0",
- "normalize-url": "2.0.1",
- "responselike": "1.0.2"
- }
- },
- "node_modules/cacheable-request/node_modules/json-buffer": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz",
- "integrity": "sha512-CuUqjv0FUZIdXkHPI8MezCnFCdaTAacej1TZYulLoAg1h/PhwkdXFN4V/gzY4g+fMBCOV2xF+rp7t2XD2ns/NQ==",
- "dev": true
- },
- "node_modules/cacheable-request/node_modules/keyv": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.0.0.tgz",
- "integrity": "sha512-eguHnq22OE3uVoSYG0LVWNP+4ppamWr9+zWBe1bsNcovIMy6huUJFPgy4mGwCd/rnl3vOLGW1MTlu4c57CT1xA==",
- "dev": true,
- "dependencies": {
- "json-buffer": "3.0.0"
- }
- },
- "node_modules/cacheable-request/node_modules/lowercase-keys": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.0.tgz",
- "integrity": "sha512-RPlX0+PHuvxVDZ7xX+EBVAp4RsVxP/TdDSN2mJYdiq1Lc4Hz7EUSjUI7RZrKKlmrIzVhf6Jo2stj7++gVarS0A==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/call-bind": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.5.tgz",
- "integrity": "sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==",
- "dependencies": {
- "function-bind": "^1.1.2",
- "get-intrinsic": "^1.2.1",
- "set-function-length": "^1.1.1"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/call-me-maybe": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.2.tgz",
- "integrity": "sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==",
- "dev": true
- },
- "node_modules/callsites": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
- "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
- "dev": true,
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/camelcase": {
- "version": "5.3.1",
- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
- "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/camelcase-css": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz",
- "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==",
- "dev": true,
- "engines": {
- "node": ">= 6"
- }
- },
- "node_modules/camelcase-keys": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz",
- "integrity": "sha512-bA/Z/DERHKqoEOrp+qeGKw1QlvEQkGZSc0XaY6VnTxZr+Kv1G5zFwttpjv8qxZ/sBPT4nthwZaAcsAZTJlSKXQ==",
- "dev": true,
- "dependencies": {
- "camelcase": "^2.0.0",
- "map-obj": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/camelcase-keys/node_modules/camelcase": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz",
- "integrity": "sha512-DLIsRzJVBQu72meAKPkWQOLcujdXT32hwdfnkI1frSiSRMK1MofjKHf+MEx0SB6fjEFXL8fBDv1dKymBlOp4Qw==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/caniuse-lite": {
- "version": "1.0.30001571",
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001571.tgz",
- "integrity": "sha512-tYq/6MoXhdezDLFZuCO/TKboTzuQ/xR5cFdgXPfDtM7/kchBO3b4VWghE/OAi/DV7tTdhmLjZiZBZi1fA/GheQ==",
- "devOptional": 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/caw": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/caw/-/caw-2.0.1.tgz",
- "integrity": "sha512-Cg8/ZSBEa8ZVY9HspcGUYaK63d/bN7rqS3CYCzEGUxuYv6UlmcjzDUz2fCFFHyTvUW5Pk0I+3hkA3iXlIj6guA==",
- "dev": true,
- "dependencies": {
- "get-proxy": "^2.0.0",
- "isurl": "^1.0.0-alpha5",
- "tunnel-agent": "^0.6.0",
- "url-to-options": "^1.0.1"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/chalk": {
- "version": "2.4.2",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
- "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
- "devOptional": true,
- "dependencies": {
- "ansi-styles": "^3.2.1",
- "escape-string-regexp": "^1.0.5",
- "supports-color": "^5.3.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/chart.js": {
- "version": "4.4.1",
- "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.4.1.tgz",
- "integrity": "sha512-C74QN1bxwV1v2PEujhmKjOZ7iUM4w6BWs23Md/6aOZZSlwMzeCIDGuZay++rBgChYru7/+QFeoQW0fQoP534Dg==",
- "dependencies": {
- "@kurkle/color": "^0.3.0"
- },
- "engines": {
- "pnpm": ">=7"
- }
- },
- "node_modules/chokidar": {
- "version": "3.5.3",
- "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz",
- "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==",
- "devOptional": true,
- "funding": [
- {
- "type": "individual",
- "url": "https://paulmillr.com/funding/"
- }
- ],
- "dependencies": {
- "anymatch": "~3.1.2",
- "braces": "~3.0.2",
- "glob-parent": "~5.1.2",
- "is-binary-path": "~2.1.0",
- "is-glob": "~4.0.1",
- "normalize-path": "~3.0.0",
- "readdirp": "~3.6.0"
- },
- "engines": {
- "node": ">= 8.10.0"
- },
- "optionalDependencies": {
- "fsevents": "~2.3.2"
- }
- },
- "node_modules/chownr": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz",
- "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==",
- "optional": true,
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/chrome-trace-event": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz",
- "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==",
- "dev": true,
- "peer": true,
- "engines": {
- "node": ">=6.0"
- }
- },
- "node_modules/class-utils": {
- "version": "0.3.6",
- "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz",
- "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==",
- "dev": true,
- "dependencies": {
- "arr-union": "^3.1.0",
- "define-property": "^0.2.5",
- "isobject": "^3.0.0",
- "static-extend": "^0.1.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/class-utils/node_modules/define-property": {
- "version": "0.2.5",
- "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
- "integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==",
- "dev": true,
- "dependencies": {
- "is-descriptor": "^0.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/class-utils/node_modules/is-descriptor": {
- "version": "0.1.7",
- "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.7.tgz",
- "integrity": "sha512-C3grZTvObeN1xud4cRWl366OMXZTj0+HGyk4hvfpx4ZHt1Pb60ANSXqCK7pdOTeUQpRzECBSTphqvD7U+l22Eg==",
- "dev": true,
- "dependencies": {
- "is-accessor-descriptor": "^1.0.1",
- "is-data-descriptor": "^1.0.1"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/cliui": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz",
- "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==",
- "dependencies": {
- "string-width": "^4.2.0",
- "strip-ansi": "^6.0.0",
- "wrap-ansi": "^6.2.0"
- }
- },
- "node_modules/clone": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz",
- "integrity": "sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w==",
- "engines": {
- "node": ">=0.8"
- }
- },
- "node_modules/clone-deep": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz",
- "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==",
- "dependencies": {
- "is-plain-object": "^2.0.4",
- "kind-of": "^6.0.2",
- "shallow-clone": "^3.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/clone-response": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz",
- "integrity": "sha512-yjLXh88P599UOyPTFX0POsd7WxnbsVsGohcwzHOLspIhhpalPw1BcqED8NblyZLKcGrL8dTgMlcaZxV2jAD41Q==",
- "dev": true,
- "dependencies": {
- "mimic-response": "^1.0.0"
- }
- },
- "node_modules/coa": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/coa/-/coa-2.0.2.tgz",
- "integrity": "sha512-q5/jG+YQnSy4nRTV4F7lPepBJZ8qBNJJDBuJdoejDyLXgmL7IEo+Le2JDZudFTFt7mrCqIRaSjws4ygRCTCAXA==",
- "dev": true,
- "dependencies": {
- "@types/q": "^1.5.1",
- "chalk": "^2.4.1",
- "q": "^1.1.2"
- },
- "engines": {
- "node": ">= 4.0"
- }
- },
- "node_modules/codemirror": {
- "version": "5.65.16",
- "resolved": "https://registry.npmjs.org/codemirror/-/codemirror-5.65.16.tgz",
- "integrity": "sha512-br21LjYmSlVL0vFCPWPfhzUCT34FM/pAdK7rRIZwa0rrtrIdotvP4Oh4GUHsu2E3IrQMCfRkL/fN3ytMNxVQvg=="
- },
- "node_modules/collection-visit": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz",
- "integrity": "sha512-lNkKvzEeMBBjUGHZ+q6z9pSJla0KWAQPvtzhEV9+iGyQYG+pBpl7xKDhxoNSOZH2hhv0v5k0y2yAM4o4SjoSkw==",
- "dev": true,
- "dependencies": {
- "map-visit": "^1.0.0",
- "object-visit": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/color-convert": {
- "version": "1.9.3",
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
- "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
- "devOptional": true,
- "dependencies": {
- "color-name": "1.1.3"
- }
- },
- "node_modules/color-name": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
- "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==",
- "devOptional": true
- },
- "node_modules/colorette": {
- "version": "2.0.20",
- "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz",
- "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==",
- "optional": true
- },
- "node_modules/commander": {
- "version": "8.3.0",
- "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz",
- "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==",
- "peer": true,
- "engines": {
- "node": ">= 12"
- }
- },
- "node_modules/component-emitter": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.1.tgz",
- "integrity": "sha512-T0+barUSQRTUQASh8bx02dl+DhF54GtIDY13Y3m9oWTklKbb3Wv974meRpeZ3lp1JpLVECWWNHC4vaG2XHXouQ==",
- "dev": true,
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/compose-function": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/compose-function/-/compose-function-3.0.3.tgz",
- "integrity": "sha512-xzhzTJ5eC+gmIzvZq+C3kCJHsp9os6tJkrigDRZclyGtOKINbZtE8n1Tzmeh32jW+BUDPbvZpibwvJHBLGMVwg==",
- "dev": true,
- "dependencies": {
- "arity-n": "^1.0.4"
- }
- },
- "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/config-chain": {
- "version": "1.1.13",
- "resolved": "https://registry.npmjs.org/config-chain/-/config-chain-1.1.13.tgz",
- "integrity": "sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==",
- "dev": true,
- "dependencies": {
- "ini": "^1.3.4",
- "proto-list": "~1.2.1"
- }
- },
- "node_modules/consola": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/consola/-/consola-3.2.3.tgz",
- "integrity": "sha512-I5qxpzLv+sJhTVEoLYNcTW+bThDCPsit0vLNKShZx6rLtpilNpmmeTPaeqJb9ZE9dV3DGaeby6Vuhrw38WjeyQ==",
- "optional": true,
- "engines": {
- "node": "^14.18.0 || >=16.10.0"
- }
- },
- "node_modules/console-stream": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/console-stream/-/console-stream-0.1.1.tgz",
- "integrity": "sha512-QC/8l9e6ofi6nqZ5PawlDgzmMw3OxIXtvolBzap/F4UDBJlDaZRSNbL/lb41C29FcbSJncBFlJFj2WJoNyZRfQ==",
- "dev": true
- },
- "node_modules/content-disposition": {
- "version": "0.5.4",
- "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz",
- "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==",
- "dev": true,
- "dependencies": {
- "safe-buffer": "5.2.1"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
- "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==",
- "devOptional": true
- },
- "node_modules/copy-descriptor": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz",
- "integrity": "sha512-XgZ0pFcakEUlbwQEVNg3+QAis1FyTL3Qel9FYy8pSkQqoG3PNoT0bOCQtOXcOkur21r2Eq2kI+IE+gsmAEVlYw==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/core-js": {
- "version": "2.6.12",
- "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz",
- "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==",
- "deprecated": "core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.",
- "dev": true,
- "hasInstallScript": true
- },
- "node_modules/core-js-compat": {
- "version": "3.34.0",
- "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.34.0.tgz",
- "integrity": "sha512-4ZIyeNbW/Cn1wkMMDy+mvrRUxrwFNjKwbhCfQpDd+eLgYipDqp8oGFGtLmhh18EDPKA0g3VUBYOxQGGwvWLVpA==",
- "dev": true,
- "dependencies": {
- "browserslist": "^4.22.2"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/core-js"
- }
- },
- "node_modules/core-util-is": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz",
- "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==",
- "dev": true
- },
- "node_modules/cross-env": {
- "version": "7.0.3",
- "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz",
- "integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==",
- "dev": true,
- "dependencies": {
- "cross-spawn": "^7.0.1"
- },
- "bin": {
- "cross-env": "src/bin/cross-env.js",
- "cross-env-shell": "src/bin/cross-env-shell.js"
- },
- "engines": {
- "node": ">=10.14",
- "npm": ">=6",
- "yarn": ">=1"
- }
- },
- "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/css": {
- "version": "2.2.4",
- "resolved": "https://registry.npmjs.org/css/-/css-2.2.4.tgz",
- "integrity": "sha512-oUnjmWpy0niI3x/mPL8dVEI1l7MnG3+HHyRPHf+YFSbK+svOhXpmSOcDURUh2aOCgl2grzrOPt1nHLuCVFULLw==",
- "dev": true,
- "dependencies": {
- "inherits": "^2.0.3",
- "source-map": "^0.6.1",
- "source-map-resolve": "^0.5.2",
- "urix": "^0.1.0"
- }
- },
- "node_modules/css-select": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/css-select/-/css-select-5.1.0.tgz",
- "integrity": "sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==",
- "dev": true,
- "dependencies": {
- "boolbase": "^1.0.0",
- "css-what": "^6.1.0",
- "domhandler": "^5.0.2",
- "domutils": "^3.0.1",
- "nth-check": "^2.0.1"
- },
- "funding": {
- "url": "https://github.com/sponsors/fb55"
- }
- },
- "node_modules/css-select-base-adapter": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/css-select-base-adapter/-/css-select-base-adapter-0.1.1.tgz",
- "integrity": "sha512-jQVeeRG70QI08vSTwf1jHxp74JoZsr2XSgETae8/xC8ovSnL2WF87GTLO86Sbwdt2lK4Umg4HnnwMO4YF3Ce7w==",
- "dev": true
- },
- "node_modules/css-tree": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.3.1.tgz",
- "integrity": "sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==",
- "dev": true,
- "dependencies": {
- "mdn-data": "2.0.30",
- "source-map-js": "^1.0.1"
- },
- "engines": {
- "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0"
- }
- },
- "node_modules/css-what": {
- "version": "6.1.0",
- "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz",
- "integrity": "sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==",
- "dev": true,
- "engines": {
- "node": ">= 6"
- },
- "funding": {
- "url": "https://github.com/sponsors/fb55"
- }
- },
- "node_modules/cssesc": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",
- "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==",
- "dev": true,
- "bin": {
- "cssesc": "bin/cssesc"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/csso": {
- "version": "5.0.5",
- "resolved": "https://registry.npmjs.org/csso/-/csso-5.0.5.tgz",
- "integrity": "sha512-0LrrStPOdJj+SPCCrGhzryycLjwcgUSHBtxNA8aIDxf0GLsRh1cKYhB00Gd1lDOS4yGH69+SNn13+TWbVHETFQ==",
- "dev": true,
- "dependencies": {
- "css-tree": "~2.2.0"
- },
- "engines": {
- "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0",
- "npm": ">=7.0.0"
- }
- },
- "node_modules/csso/node_modules/css-tree": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.2.1.tgz",
- "integrity": "sha512-OA0mILzGc1kCOCSJerOeqDxDQ4HOh+G8NbOJFOTgOCzpw7fCBubk0fEyxp8AgOL/jvLgYA/uV0cMbe43ElF1JA==",
- "dev": true,
- "dependencies": {
- "mdn-data": "2.0.28",
- "source-map-js": "^1.0.1"
- },
- "engines": {
- "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0",
- "npm": ">=7.0.0"
- }
- },
- "node_modules/csso/node_modules/mdn-data": {
- "version": "2.0.28",
- "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.28.tgz",
- "integrity": "sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g==",
- "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/currently-unhandled": {
- "version": "0.4.1",
- "resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz",
- "integrity": "sha512-/fITjgjGU50vjQ4FH6eUoYu+iUoUKIXws2hL15JJpIR+BbTxaXQsMuuyjtNh2WqsSBS5nsaZHFsFecyw5CCAng==",
- "dev": true,
- "dependencies": {
- "array-find-index": "^1.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/d": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz",
- "integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==",
- "dev": true,
- "dependencies": {
- "es5-ext": "^0.10.50",
- "type": "^1.0.1"
- }
- },
- "node_modules/date-fns": {
- "version": "2.30.0",
- "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.30.0.tgz",
- "integrity": "sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==",
- "dependencies": {
- "@babel/runtime": "^7.21.0"
- },
- "engines": {
- "node": ">=0.11"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/date-fns"
- }
- },
- "node_modules/debounce": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/debounce/-/debounce-1.2.1.tgz",
- "integrity": "sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug=="
- },
- "node_modules/debug": {
- "version": "4.3.4",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
- "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
- "devOptional": true,
- "dependencies": {
- "ms": "2.1.2"
- },
- "engines": {
- "node": ">=6.0"
- },
- "peerDependenciesMeta": {
- "supports-color": {
- "optional": true
- }
- }
- },
- "node_modules/decamelize": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz",
- "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "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==",
- "dev": true,
- "engines": {
- "node": ">=0.10"
- }
- },
- "node_modules/decompress": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/decompress/-/decompress-4.2.1.tgz",
- "integrity": "sha512-e48kc2IjU+2Zw8cTb6VZcJQ3lgVbS4uuB1TfCHbiZIP/haNXm+SVyhu+87jts5/3ROpd82GSVCoNs/z8l4ZOaQ==",
- "dev": true,
- "dependencies": {
- "decompress-tar": "^4.0.0",
- "decompress-tarbz2": "^4.0.0",
- "decompress-targz": "^4.0.0",
- "decompress-unzip": "^4.0.1",
- "graceful-fs": "^4.1.10",
- "make-dir": "^1.0.0",
- "pify": "^2.3.0",
- "strip-dirs": "^2.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/decompress-response": {
- "version": "3.3.0",
- "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz",
- "integrity": "sha512-BzRPQuY1ip+qDonAOz42gRm/pg9F768C+npV/4JOsxRC2sq+Rlk+Q4ZCAsOhnIaMrgarILY+RMUIvMmmX1qAEA==",
- "dev": true,
- "dependencies": {
- "mimic-response": "^1.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/decompress-tar": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/decompress-tar/-/decompress-tar-4.1.1.tgz",
- "integrity": "sha512-JdJMaCrGpB5fESVyxwpCx4Jdj2AagLmv3y58Qy4GE6HMVjWz1FeVQk1Ct4Kye7PftcdOo/7U7UKzYBJgqnGeUQ==",
- "dev": true,
- "dependencies": {
- "file-type": "^5.2.0",
- "is-stream": "^1.1.0",
- "tar-stream": "^1.5.2"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/decompress-tar/node_modules/file-type": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/file-type/-/file-type-5.2.0.tgz",
- "integrity": "sha512-Iq1nJ6D2+yIO4c8HHg4fyVb8mAJieo1Oloy1mLLaB2PvezNedhBVm+QU7g0qM42aiMbRXTxKKwGD17rjKNJYVQ==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/decompress-tarbz2": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/decompress-tarbz2/-/decompress-tarbz2-4.1.1.tgz",
- "integrity": "sha512-s88xLzf1r81ICXLAVQVzaN6ZmX4A6U4z2nMbOwobxkLoIIfjVMBg7TeguTUXkKeXni795B6y5rnvDw7rxhAq9A==",
- "dev": true,
- "dependencies": {
- "decompress-tar": "^4.1.0",
- "file-type": "^6.1.0",
- "is-stream": "^1.1.0",
- "seek-bzip": "^1.0.5",
- "unbzip2-stream": "^1.0.9"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/decompress-tarbz2/node_modules/file-type": {
- "version": "6.2.0",
- "resolved": "https://registry.npmjs.org/file-type/-/file-type-6.2.0.tgz",
- "integrity": "sha512-YPcTBDV+2Tm0VqjybVd32MHdlEGAtuxS3VAYsumFokDSMG+ROT5wawGlnHDoz7bfMcMDt9hxuXvXwoKUx2fkOg==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/decompress-targz": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/decompress-targz/-/decompress-targz-4.1.1.tgz",
- "integrity": "sha512-4z81Znfr6chWnRDNfFNqLwPvm4db3WuZkqV+UgXQzSngG3CEKdBkw5jrv3axjjL96glyiiKjsxJG3X6WBZwX3w==",
- "dev": true,
- "dependencies": {
- "decompress-tar": "^4.1.1",
- "file-type": "^5.2.0",
- "is-stream": "^1.1.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/decompress-targz/node_modules/file-type": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/file-type/-/file-type-5.2.0.tgz",
- "integrity": "sha512-Iq1nJ6D2+yIO4c8HHg4fyVb8mAJieo1Oloy1mLLaB2PvezNedhBVm+QU7g0qM42aiMbRXTxKKwGD17rjKNJYVQ==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/decompress-unzip": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/decompress-unzip/-/decompress-unzip-4.0.1.tgz",
- "integrity": "sha512-1fqeluvxgnn86MOh66u8FjbtJpAFv5wgCT9Iw8rcBqQcCo5tO8eiJw7NNTrvt9n4CRBVq7CstiS922oPgyGLrw==",
- "dev": true,
- "dependencies": {
- "file-type": "^3.8.0",
- "get-stream": "^2.2.0",
- "pify": "^2.3.0",
- "yauzl": "^2.4.2"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/decompress-unzip/node_modules/file-type": {
- "version": "3.9.0",
- "resolved": "https://registry.npmjs.org/file-type/-/file-type-3.9.0.tgz",
- "integrity": "sha512-RLoqTXE8/vPmMuTI88DAzhMYC99I8BWv7zYP4A1puo5HIjEJ5EX48ighy4ZyKMG9EDXxBgW6e++cn7d1xuFghA==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/decompress-unzip/node_modules/get-stream": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-2.3.1.tgz",
- "integrity": "sha512-AUGhbbemXxrZJRD5cDvKtQxLuYaIbNtDTK8YqupCI393Q2KSTreEsLUN3ZxAWFGiKTzL6nKuzfcIvieflUX9qA==",
- "dev": true,
- "dependencies": {
- "object-assign": "^4.0.1",
- "pinkie-promise": "^2.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/decompress-unzip/node_modules/pify": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
- "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/decompress/node_modules/pify": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
- "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/deep-equal": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.1.2.tgz",
- "integrity": "sha512-5tdhKF6DbU7iIzrIOa1AOUt39ZRm13cmL1cGEh//aqR8x9+tNfbywRf0n5FD/18OKMdo7DNEtrX2t22ZAkI+eg==",
- "dependencies": {
- "is-arguments": "^1.1.1",
- "is-date-object": "^1.0.5",
- "is-regex": "^1.1.4",
- "object-is": "^1.1.5",
- "object-keys": "^1.1.1",
- "regexp.prototype.flags": "^1.5.1"
- },
- "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/deepmerge": {
- "version": "4.3.1",
- "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz",
- "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==",
- "peer": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/define-data-property": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.1.tgz",
- "integrity": "sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==",
- "dependencies": {
- "get-intrinsic": "^1.2.1",
- "gopd": "^1.0.1",
- "has-property-descriptors": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "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/define-property": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz",
- "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==",
- "dev": true,
- "dependencies": {
- "is-descriptor": "^1.0.2",
- "isobject": "^3.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/defu": {
- "version": "6.1.3",
- "resolved": "https://registry.npmjs.org/defu/-/defu-6.1.3.tgz",
- "integrity": "sha512-Vy2wmG3NTkmHNg/kzpuvHhkqeIx3ODWqasgCRbKtbXEN0G+HpEEv9BtJLp7ZG1CZloFaC41Ah3ZFbq7aqCqMeQ=="
- },
- "node_modules/destr": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/destr/-/destr-2.0.2.tgz",
- "integrity": "sha512-65AlobnZMiCET00KaFFjUefxDX0khFA/E4myqZ7a6Sq1yZtR8+FVIvilVX66vF2uobSumxooYZChiRPCKNqhmg==",
- "optional": true
- },
- "node_modules/didyoumean": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz",
- "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==",
- "dev": true
- },
- "node_modules/diff-match-patch": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/diff-match-patch/-/diff-match-patch-1.0.5.tgz",
- "integrity": "sha512-IayShXAgj/QMXgB0IWmKx+rOPuGMhqm5w6jvFxmVenXKIzRqTAAsbBPT3kWQeGANj3jGgvcvv4yK6SxqYmikgw=="
- },
- "node_modules/dijkstrajs": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/dijkstrajs/-/dijkstrajs-1.0.3.tgz",
- "integrity": "sha512-qiSlmBq9+BCdCA/L46dw8Uy93mloxsPSbwnm5yrKn2vMPiy8KyAskTF6zuV/j5BMsmOGZDPs7KjU+mjb670kfA=="
- },
- "node_modules/dir-glob": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-2.0.0.tgz",
- "integrity": "sha512-37qirFDz8cA5fimp9feo43fSuRo2gHwaIn6dXL8Ber1dGwUosDrGZeCCXq57WnIqE4aQ+u3eQZzsk1yOzhdwag==",
- "dev": true,
- "dependencies": {
- "arrify": "^1.0.1",
- "path-type": "^3.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/dir-glob/node_modules/path-type": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz",
- "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==",
- "dev": true,
- "dependencies": {
- "pify": "^3.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/dir-glob/node_modules/pify": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
- "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/dlv": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz",
- "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==",
- "dev": true
- },
- "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-serializer": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz",
- "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==",
- "dev": true,
- "dependencies": {
- "domelementtype": "^2.3.0",
- "domhandler": "^5.0.2",
- "entities": "^4.2.0"
- },
- "funding": {
- "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1"
- }
- },
- "node_modules/domelementtype": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz",
- "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==",
- "dev": true,
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/fb55"
- }
- ]
- },
- "node_modules/domhandler": {
- "version": "5.0.3",
- "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz",
- "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==",
- "dev": true,
- "dependencies": {
- "domelementtype": "^2.3.0"
- },
- "engines": {
- "node": ">= 4"
- },
- "funding": {
- "url": "https://github.com/fb55/domhandler?sponsor=1"
- }
- },
- "node_modules/domutils": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.1.0.tgz",
- "integrity": "sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==",
- "dev": true,
- "dependencies": {
- "dom-serializer": "^2.0.0",
- "domelementtype": "^2.3.0",
- "domhandler": "^5.0.3"
- },
- "funding": {
- "url": "https://github.com/fb55/domutils?sponsor=1"
- }
- },
- "node_modules/dotenv": {
- "version": "16.3.1",
- "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.3.1.tgz",
- "integrity": "sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==",
- "devOptional": true,
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/motdotla/dotenv?sponsor=1"
- }
- },
- "node_modules/download": {
- "version": "6.2.5",
- "resolved": "https://registry.npmjs.org/download/-/download-6.2.5.tgz",
- "integrity": "sha512-DpO9K1sXAST8Cpzb7kmEhogJxymyVUd5qz/vCOSyvwtp2Klj2XcDt5YUuasgxka44SxF0q5RriKIwJmQHG2AuA==",
- "dev": true,
- "dependencies": {
- "caw": "^2.0.0",
- "content-disposition": "^0.5.2",
- "decompress": "^4.0.0",
- "ext-name": "^5.0.0",
- "file-type": "5.2.0",
- "filenamify": "^2.0.0",
- "get-stream": "^3.0.0",
- "got": "^7.0.0",
- "make-dir": "^1.0.0",
- "p-event": "^1.0.0",
- "pify": "^3.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/download/node_modules/file-type": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/file-type/-/file-type-5.2.0.tgz",
- "integrity": "sha512-Iq1nJ6D2+yIO4c8HHg4fyVb8mAJieo1Oloy1mLLaB2PvezNedhBVm+QU7g0qM42aiMbRXTxKKwGD17rjKNJYVQ==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/download/node_modules/pify": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
- "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/duplexer3": {
- "version": "0.1.5",
- "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.5.tgz",
- "integrity": "sha512-1A8za6ws41LQgv9HrE/66jyC5yuSjQ3L/KOpFtoBilsAK2iA2wuS5rTt1OCzIvtS2V7nVmedsUU+DGRcjBmOYA==",
- "dev": true
- },
- "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.4.616",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.616.tgz",
- "integrity": "sha512-1n7zWYh8eS0L9Uy+GskE0lkBUNK83cXTVJI0pU3mGprFsbfSdAc15VTFbo+A+Bq4pwstmL30AVcEU3Fo463lNg==",
- "devOptional": 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=="
- },
- "node_modules/emojis-list": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz",
- "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==",
- "dev": true,
- "engines": {
- "node": ">= 4"
- }
- },
- "node_modules/encode-utf8": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/encode-utf8/-/encode-utf8-1.0.3.tgz",
- "integrity": "sha512-ucAnuBEhUK4boH2HjVYG5Q2mQyPorvv0u/ocS+zhdw0S8AlHYY+GOFhP1Gio5z4icpP2ivFSvhtFjQi8+T9ppw=="
- },
- "node_modules/end-of-stream": {
- "version": "1.4.4",
- "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",
- "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==",
- "dev": true,
- "dependencies": {
- "once": "^1.4.0"
- }
- },
- "node_modules/enhanced-resolve": {
- "version": "5.15.0",
- "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz",
- "integrity": "sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "graceful-fs": "^4.2.4",
- "tapable": "^2.2.0"
- },
- "engines": {
- "node": ">=10.13.0"
- }
- },
- "node_modules/enquirer": {
- "version": "2.4.1",
- "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.4.1.tgz",
- "integrity": "sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==",
- "dev": true,
- "dependencies": {
- "ansi-colors": "^4.1.1",
- "strip-ansi": "^6.0.1"
- },
- "engines": {
- "node": ">=8.6"
- }
- },
- "node_modules/entities": {
- "version": "4.5.0",
- "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz",
- "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==",
- "dev": true,
- "engines": {
- "node": ">=0.12"
- },
- "funding": {
- "url": "https://github.com/fb55/entities?sponsor=1"
- }
- },
- "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==",
- "dev": true,
- "dependencies": {
- "is-arrayish": "^0.2.1"
- }
- },
- "node_modules/es-abstract": {
- "version": "1.22.3",
- "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.22.3.tgz",
- "integrity": "sha512-eiiY8HQeYfYH2Con2berK+To6GrK2RxbPawDkGq4UiCQQfZHb6wX9qQqkbpPqaxQFcl8d9QzZqo0tGE0VcrdwA==",
- "dev": true,
- "dependencies": {
- "array-buffer-byte-length": "^1.0.0",
- "arraybuffer.prototype.slice": "^1.0.2",
- "available-typed-arrays": "^1.0.5",
- "call-bind": "^1.0.5",
- "es-set-tostringtag": "^2.0.1",
- "es-to-primitive": "^1.2.1",
- "function.prototype.name": "^1.1.6",
- "get-intrinsic": "^1.2.2",
- "get-symbol-description": "^1.0.0",
- "globalthis": "^1.0.3",
- "gopd": "^1.0.1",
- "has-property-descriptors": "^1.0.0",
- "has-proto": "^1.0.1",
- "has-symbols": "^1.0.3",
- "hasown": "^2.0.0",
- "internal-slot": "^1.0.5",
- "is-array-buffer": "^3.0.2",
- "is-callable": "^1.2.7",
- "is-negative-zero": "^2.0.2",
- "is-regex": "^1.1.4",
- "is-shared-array-buffer": "^1.0.2",
- "is-string": "^1.0.7",
- "is-typed-array": "^1.1.12",
- "is-weakref": "^1.0.2",
- "object-inspect": "^1.13.1",
- "object-keys": "^1.1.1",
- "object.assign": "^4.1.4",
- "regexp.prototype.flags": "^1.5.1",
- "safe-array-concat": "^1.0.1",
- "safe-regex-test": "^1.0.0",
- "string.prototype.trim": "^1.2.8",
- "string.prototype.trimend": "^1.0.7",
- "string.prototype.trimstart": "^1.0.7",
- "typed-array-buffer": "^1.0.0",
- "typed-array-byte-length": "^1.0.0",
- "typed-array-byte-offset": "^1.0.0",
- "typed-array-length": "^1.0.4",
- "unbox-primitive": "^1.0.2",
- "which-typed-array": "^1.1.13"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/es-array-method-boxes-properly": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/es-array-method-boxes-properly/-/es-array-method-boxes-properly-1.0.0.tgz",
- "integrity": "sha512-wd6JXUmyHmt8T5a2xreUwKcGPq6f1f+WwIJkijUqiGcJz1qqnZgP6XIK+QyIWU5lT7imeNxUll48bziG+TSYcA==",
- "dev": true
- },
- "node_modules/es-module-lexer": {
- "version": "1.4.1",
- "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.4.1.tgz",
- "integrity": "sha512-cXLGjP0c4T3flZJKQSuziYoq7MlT+rnvfZjfp7h+I7K9BNX54kP9nyWvdbwjQ4u1iWbOL4u96fgeZLToQlZC7w==",
- "dev": true,
- "peer": true
- },
- "node_modules/es-set-tostringtag": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.2.tgz",
- "integrity": "sha512-BuDyupZt65P9D2D2vA/zqcI3G5xRsklm5N3xCwuiy+/vKy8i0ifdsQP1sLgO4tZDSCaQUSnmC48khknGMV3D2Q==",
- "dev": true,
- "dependencies": {
- "get-intrinsic": "^1.2.2",
- "has-tostringtag": "^1.0.0",
- "hasown": "^2.0.0"
- },
- "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/es5-ext": {
- "version": "0.10.62",
- "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.62.tgz",
- "integrity": "sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA==",
- "dev": true,
- "hasInstallScript": true,
- "dependencies": {
- "es6-iterator": "^2.0.3",
- "es6-symbol": "^3.1.3",
- "next-tick": "^1.1.0"
- },
- "engines": {
- "node": ">=0.10"
- }
- },
- "node_modules/es6-iterator": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz",
- "integrity": "sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==",
- "dev": true,
- "dependencies": {
- "d": "1",
- "es5-ext": "^0.10.35",
- "es6-symbol": "^3.1.1"
- }
- },
- "node_modules/es6-symbol": {
- "version": "3.1.3",
- "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz",
- "integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==",
- "dev": true,
- "dependencies": {
- "d": "^1.0.1",
- "ext": "^1.1.2"
- }
- },
- "node_modules/esbuild": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.20.tgz",
- "integrity": "sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==",
- "dev": true,
- "hasInstallScript": true,
- "bin": {
- "esbuild": "bin/esbuild"
- },
- "engines": {
- "node": ">=12"
- },
- "optionalDependencies": {
- "@esbuild/android-arm": "0.18.20",
- "@esbuild/android-arm64": "0.18.20",
- "@esbuild/android-x64": "0.18.20",
- "@esbuild/darwin-arm64": "0.18.20",
- "@esbuild/darwin-x64": "0.18.20",
- "@esbuild/freebsd-arm64": "0.18.20",
- "@esbuild/freebsd-x64": "0.18.20",
- "@esbuild/linux-arm": "0.18.20",
- "@esbuild/linux-arm64": "0.18.20",
- "@esbuild/linux-ia32": "0.18.20",
- "@esbuild/linux-loong64": "0.18.20",
- "@esbuild/linux-mips64el": "0.18.20",
- "@esbuild/linux-ppc64": "0.18.20",
- "@esbuild/linux-riscv64": "0.18.20",
- "@esbuild/linux-s390x": "0.18.20",
- "@esbuild/linux-x64": "0.18.20",
- "@esbuild/netbsd-x64": "0.18.20",
- "@esbuild/openbsd-x64": "0.18.20",
- "@esbuild/sunos-x64": "0.18.20",
- "@esbuild/win32-arm64": "0.18.20",
- "@esbuild/win32-ia32": "0.18.20",
- "@esbuild/win32-x64": "0.18.20"
- }
- },
- "node_modules/escalade": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
- "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==",
- "devOptional": true,
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/escape-string-regexp": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
- "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
- "devOptional": true,
- "engines": {
- "node": ">=0.8.0"
- }
- },
- "node_modules/eslint": {
- "version": "7.32.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.32.0.tgz",
- "integrity": "sha512-VHZ8gX+EDfz+97jGcgyGCyRia/dPOd6Xh9yPv8Bl1+SoaIwD+a/vlrOmGRUyOYu7MwUhc7CxqeaDZU13S4+EpA==",
- "dev": true,
- "dependencies": {
- "@babel/code-frame": "7.12.11",
- "@eslint/eslintrc": "^0.4.3",
- "@humanwhocodes/config-array": "^0.5.0",
- "ajv": "^6.10.0",
- "chalk": "^4.0.0",
- "cross-spawn": "^7.0.2",
- "debug": "^4.0.1",
- "doctrine": "^3.0.0",
- "enquirer": "^2.3.5",
- "escape-string-regexp": "^4.0.0",
- "eslint-scope": "^5.1.1",
- "eslint-utils": "^2.1.0",
- "eslint-visitor-keys": "^2.0.0",
- "espree": "^7.3.1",
- "esquery": "^1.4.0",
- "esutils": "^2.0.2",
- "fast-deep-equal": "^3.1.3",
- "file-entry-cache": "^6.0.1",
- "functional-red-black-tree": "^1.0.1",
- "glob-parent": "^5.1.2",
- "globals": "^13.6.0",
- "ignore": "^4.0.6",
- "import-fresh": "^3.0.0",
- "imurmurhash": "^0.1.4",
- "is-glob": "^4.0.0",
- "js-yaml": "^3.13.1",
- "json-stable-stringify-without-jsonify": "^1.0.1",
- "levn": "^0.4.1",
- "lodash.merge": "^4.6.2",
- "minimatch": "^3.0.4",
- "natural-compare": "^1.4.0",
- "optionator": "^0.9.1",
- "progress": "^2.0.0",
- "regexpp": "^3.1.0",
- "semver": "^7.2.1",
- "strip-ansi": "^6.0.0",
- "strip-json-comments": "^3.1.0",
- "table": "^6.0.9",
- "text-table": "^0.2.0",
- "v8-compile-cache": "^2.0.3"
- },
- "bin": {
- "eslint": "bin/eslint.js"
- },
- "engines": {
- "node": "^10.12.0 || >=12.0.0"
- },
- "funding": {
- "url": "https://opencollective.com/eslint"
- }
- },
- "node_modules/eslint-config-standard": {
- "version": "16.0.3",
- "resolved": "https://registry.npmjs.org/eslint-config-standard/-/eslint-config-standard-16.0.3.tgz",
- "integrity": "sha512-x4fmJL5hGqNJKGHSjnLdgA6U6h1YW/G2dW9fA+cyVur4SK6lyue8+UgNKWlZtUDTXvgKDD/Oa3GQjmB5kjtVvg==",
- "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"
- }
- ],
- "peerDependencies": {
- "eslint": "^7.12.1",
- "eslint-plugin-import": "^2.22.1",
- "eslint-plugin-node": "^11.1.0",
- "eslint-plugin-promise": "^4.2.1 || ^5.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.0",
- "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.8.0.tgz",
- "integrity": "sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==",
- "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-es": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/eslint-plugin-es/-/eslint-plugin-es-3.0.1.tgz",
- "integrity": "sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ==",
- "dev": true,
- "dependencies": {
- "eslint-utils": "^2.0.0",
- "regexpp": "^3.0.0"
- },
- "engines": {
- "node": ">=8.10.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/mysticatea"
- },
- "peerDependencies": {
- "eslint": ">=4.19.1"
- }
- },
- "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-node": {
- "version": "11.1.0",
- "resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-11.1.0.tgz",
- "integrity": "sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g==",
- "dev": true,
- "dependencies": {
- "eslint-plugin-es": "^3.0.0",
- "eslint-utils": "^2.0.0",
- "ignore": "^5.1.1",
- "minimatch": "^3.0.4",
- "resolve": "^1.10.1",
- "semver": "^6.1.0"
- },
- "engines": {
- "node": ">=8.10.0"
- },
- "peerDependencies": {
- "eslint": ">=5.16.0"
- }
- },
- "node_modules/eslint-plugin-promise": {
- "version": "4.3.1",
- "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-4.3.1.tgz",
- "integrity": "sha512-bY2sGqyptzFBDLh/GMbAxfdJC+b0f23ME63FOE4+Jao0oZ3E1LEwFtWJX/1pGMJLiTtrSSern2CRM/g+dfc0eQ==",
- "dev": true,
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/eslint-plugin-standard": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/eslint-plugin-standard/-/eslint-plugin-standard-4.1.0.tgz",
- "integrity": "sha512-ZL7+QRixjTR6/528YNGyDotyffm5OQst/sGxKDwGb9Uqs4In5Egi4+jbobhqJoyoCM6/7v/1A5fhQ7ScMtDjaQ==",
- "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"
- }
- ],
- "peerDependencies": {
- "eslint": ">=5.0.0"
- }
- },
- "node_modules/eslint-plugin-vue": {
- "version": "7.20.0",
- "resolved": "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-7.20.0.tgz",
- "integrity": "sha512-oVNDqzBC9h3GO+NTgWeLMhhGigy6/bQaQbHS+0z7C4YEu/qK/yxHvca/2PTZtGNPsCrHwOTgKMrwu02A9iPBmw==",
- "dev": true,
- "dependencies": {
- "eslint-utils": "^2.1.0",
- "natural-compare": "^1.4.0",
- "semver": "^6.3.0",
- "vue-eslint-parser": "^7.10.0"
- },
- "engines": {
- "node": ">=8.10"
- },
- "peerDependencies": {
- "eslint": "^6.2.0 || ^7.0.0 || ^8.0.0"
- }
- },
- "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/eslint-utils": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz",
- "integrity": "sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==",
- "dev": true,
- "dependencies": {
- "eslint-visitor-keys": "^1.1.0"
- },
- "engines": {
- "node": ">=6"
- },
- "funding": {
- "url": "https://github.com/sponsors/mysticatea"
- }
- },
- "node_modules/eslint-utils/node_modules/eslint-visitor-keys": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz",
- "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "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/eslint/node_modules/@babel/code-frame": {
- "version": "7.12.11",
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz",
- "integrity": "sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==",
- "dev": true,
- "dependencies": {
- "@babel/highlight": "^7.10.4"
- }
- },
- "node_modules/eslint/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/eslint/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/eslint/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/eslint/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/eslint/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==",
- "dev": true,
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "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": {
- "type-fest": "^0.20.2"
- },
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/eslint/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,
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/eslint/node_modules/ignore": {
- "version": "4.0.6",
- "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz",
- "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==",
- "dev": true,
- "engines": {
- "node": ">= 4"
- }
- },
- "node_modules/eslint/node_modules/lru-cache": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
- "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
- "dev": true,
- "dependencies": {
- "yallist": "^4.0.0"
- },
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/eslint/node_modules/semver": {
- "version": "7.5.4",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz",
- "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==",
- "dev": true,
- "dependencies": {
- "lru-cache": "^6.0.0"
- },
- "bin": {
- "semver": "bin/semver.js"
- },
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/eslint/node_modules/supports-color": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
- "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
- "dev": true,
- "dependencies": {
- "has-flag": "^4.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/eslint/node_modules/yallist": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
- "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
- "dev": true
- },
- "node_modules/espree": {
- "version": "7.3.1",
- "resolved": "https://registry.npmjs.org/espree/-/espree-7.3.1.tgz",
- "integrity": "sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g==",
- "dev": true,
- "dependencies": {
- "acorn": "^7.4.0",
- "acorn-jsx": "^5.3.1",
- "eslint-visitor-keys": "^1.3.0"
- },
- "engines": {
- "node": "^10.12.0 || >=12.0.0"
- }
- },
- "node_modules/espree/node_modules/eslint-visitor-keys": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz",
- "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/esprima": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",
- "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",
- "dev": true,
- "bin": {
- "esparse": "bin/esparse.js",
- "esvalidate": "bin/esvalidate.js"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/esquery": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz",
- "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==",
- "dev": true,
- "dependencies": {
- "estraverse": "^5.1.0"
- },
- "engines": {
- "node": ">=0.10"
- }
- },
- "node_modules/esquery/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/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,
- "dependencies": {
- "estraverse": "^5.2.0"
- },
- "engines": {
- "node": ">=4.0"
- }
- },
- "node_modules/esrecurse/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/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/estree-walker": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz",
- "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w=="
- },
- "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": "2.0.3",
- "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-2.0.3.tgz",
- "integrity": "sha512-jLN68Dx5kyFHaePoXWPsCGW5qdyZQtLYHkxkg02/Mz6g0kYpDx4FyP6XfArhQdlOC4b8Mv+EMxPo/8La7Tzghg=="
- },
- "node_modules/events": {
- "version": "3.3.0",
- "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz",
- "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==",
- "dev": true,
- "peer": true,
- "engines": {
- "node": ">=0.8.x"
- }
- },
- "node_modules/exec-buffer": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/exec-buffer/-/exec-buffer-3.2.0.tgz",
- "integrity": "sha512-wsiD+2Tp6BWHoVv3B+5Dcx6E7u5zky+hUwOHjuH2hKSLR3dvRmX8fk8UD8uqQixHs4Wk6eDmiegVrMPjKj7wpA==",
- "dev": true,
- "dependencies": {
- "execa": "^0.7.0",
- "p-finally": "^1.0.0",
- "pify": "^3.0.0",
- "rimraf": "^2.5.4",
- "tempfile": "^2.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/exec-buffer/node_modules/glob": {
- "version": "7.2.3",
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
- "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
- "dev": true,
- "dependencies": {
- "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/exec-buffer/node_modules/pify": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
- "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/exec-buffer/node_modules/rimraf": {
- "version": "2.7.1",
- "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz",
- "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==",
- "dev": true,
- "dependencies": {
- "glob": "^7.1.3"
- },
- "bin": {
- "rimraf": "bin.js"
- }
- },
- "node_modules/execa": {
- "version": "0.7.0",
- "resolved": "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz",
- "integrity": "sha512-RztN09XglpYI7aBBrJCPW95jEH7YF1UEPOoX9yDhUTPdp7mK+CQvnLTuD10BNXZ3byLTu2uehZ8EcKT/4CGiFw==",
- "dev": true,
- "dependencies": {
- "cross-spawn": "^5.0.1",
- "get-stream": "^3.0.0",
- "is-stream": "^1.1.0",
- "npm-run-path": "^2.0.0",
- "p-finally": "^1.0.0",
- "signal-exit": "^3.0.0",
- "strip-eof": "^1.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/execa/node_modules/cross-spawn": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz",
- "integrity": "sha512-pTgQJ5KC0d2hcY8eyL1IzlBPYjTkyH72XRZPnLyKus2mBfNjQs3klqbJU2VILqZryAZUt9JOb3h/mWMy23/f5A==",
- "dev": true,
- "dependencies": {
- "lru-cache": "^4.0.1",
- "shebang-command": "^1.2.0",
- "which": "^1.2.9"
- }
- },
- "node_modules/execa/node_modules/lru-cache": {
- "version": "4.1.5",
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz",
- "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==",
- "dev": true,
- "dependencies": {
- "pseudomap": "^1.0.2",
- "yallist": "^2.1.2"
- }
- },
- "node_modules/execa/node_modules/shebang-command": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",
- "integrity": "sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==",
- "dev": true,
- "dependencies": {
- "shebang-regex": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/execa/node_modules/shebang-regex": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz",
- "integrity": "sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/execa/node_modules/which": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
- "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",
- "dev": true,
- "dependencies": {
- "isexe": "^2.0.0"
- },
- "bin": {
- "which": "bin/which"
- }
- },
- "node_modules/execa/node_modules/yallist": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz",
- "integrity": "sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==",
- "dev": true
- },
- "node_modules/executable": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/executable/-/executable-4.1.1.tgz",
- "integrity": "sha512-8iA79xD3uAch729dUG8xaaBBFGaEa0wdD2VkYLFHwlqosEj/jT66AzcreRDSgV7ehnNLBW2WR5jIXwGKjVdTLg==",
- "dev": true,
- "dependencies": {
- "pify": "^2.2.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/executable/node_modules/pify": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
- "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/expand-brackets": {
- "version": "2.1.4",
- "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz",
- "integrity": "sha512-w/ozOKR9Obk3qoWeY/WDi6MFta9AoMR+zud60mdnbniMcBxRuFJyDt2LdX/14A1UABeqk+Uk+LDfUpvoGKppZA==",
- "dev": true,
- "dependencies": {
- "debug": "^2.3.3",
- "define-property": "^0.2.5",
- "extend-shallow": "^2.0.1",
- "posix-character-classes": "^0.1.0",
- "regex-not": "^1.0.0",
- "snapdragon": "^0.8.1",
- "to-regex": "^3.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/expand-brackets/node_modules/debug": {
- "version": "2.6.9",
- "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
- "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
- "dev": true,
- "dependencies": {
- "ms": "2.0.0"
- }
- },
- "node_modules/expand-brackets/node_modules/define-property": {
- "version": "0.2.5",
- "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
- "integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==",
- "dev": true,
- "dependencies": {
- "is-descriptor": "^0.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/expand-brackets/node_modules/extend-shallow": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
- "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==",
- "dev": true,
- "dependencies": {
- "is-extendable": "^0.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/expand-brackets/node_modules/is-descriptor": {
- "version": "0.1.7",
- "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.7.tgz",
- "integrity": "sha512-C3grZTvObeN1xud4cRWl366OMXZTj0+HGyk4hvfpx4ZHt1Pb60ANSXqCK7pdOTeUQpRzECBSTphqvD7U+l22Eg==",
- "dev": true,
- "dependencies": {
- "is-accessor-descriptor": "^1.0.1",
- "is-data-descriptor": "^1.0.1"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/expand-brackets/node_modules/is-extendable": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
- "integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/expand-brackets/node_modules/ms": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
- "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
- "dev": true
- },
- "node_modules/ext": {
- "version": "1.7.0",
- "resolved": "https://registry.npmjs.org/ext/-/ext-1.7.0.tgz",
- "integrity": "sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw==",
- "dev": true,
- "dependencies": {
- "type": "^2.7.2"
- }
- },
- "node_modules/ext-list": {
- "version": "2.2.2",
- "resolved": "https://registry.npmjs.org/ext-list/-/ext-list-2.2.2.tgz",
- "integrity": "sha512-u+SQgsubraE6zItfVA0tBuCBhfU9ogSRnsvygI7wht9TS510oLkBRXBsqopeUG/GBOIQyKZO9wjTqIu/sf5zFA==",
- "dev": true,
- "dependencies": {
- "mime-db": "^1.28.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/ext-name": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/ext-name/-/ext-name-5.0.0.tgz",
- "integrity": "sha512-yblEwXAbGv1VQDmow7s38W77hzAgJAO50ztBLMcUyUBfxv1HC+LGwtiEN+Co6LtlqT/5uwVOxsD4TNIilWhwdQ==",
- "dev": true,
- "dependencies": {
- "ext-list": "^2.0.0",
- "sort-keys-length": "^1.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/ext/node_modules/type": {
- "version": "2.7.2",
- "resolved": "https://registry.npmjs.org/type/-/type-2.7.2.tgz",
- "integrity": "sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw==",
- "dev": true
- },
- "node_modules/extend": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
- "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
- },
- "node_modules/extend-shallow": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz",
- "integrity": "sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==",
- "dev": true,
- "dependencies": {
- "assign-symbols": "^1.0.0",
- "is-extendable": "^1.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/extglob": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz",
- "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==",
- "dev": true,
- "dependencies": {
- "array-unique": "^0.3.2",
- "define-property": "^1.0.0",
- "expand-brackets": "^2.1.4",
- "extend-shallow": "^2.0.1",
- "fragment-cache": "^0.2.1",
- "regex-not": "^1.0.0",
- "snapdragon": "^0.8.1",
- "to-regex": "^3.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/extglob/node_modules/define-property": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",
- "integrity": "sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA==",
- "dev": true,
- "dependencies": {
- "is-descriptor": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/extglob/node_modules/extend-shallow": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
- "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==",
- "dev": true,
- "dependencies": {
- "is-extendable": "^0.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/extglob/node_modules/is-extendable": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
- "integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "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/fast-diff": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.1.2.tgz",
- "integrity": "sha512-KaJUt+M9t1qaIteSvjc6P3RbMdXsNhK61GRftR6SNxqmhthcd9MGIi4T+o0jD8LUSpSnSKXE20nLtJ3fOHxQig=="
- },
- "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==",
- "devOptional": true,
- "dependencies": {
- "@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": ">=8.6.0"
- }
- },
- "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/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/fast-xml-parser": {
- "version": "4.3.2",
- "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.3.2.tgz",
- "integrity": "sha512-rmrXUXwbJedoXkStenj1kkljNF7ugn5ZjR9FJcwmCfcCbtOMDghPajbc+Tck6vE6F5XsDmx+Pr2le9fw8+pXBg==",
- "dev": true,
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/NaturalIntelligence"
- },
- {
- "type": "paypal",
- "url": "https://paypal.me/naturalintelligence"
- }
- ],
- "dependencies": {
- "strnum": "^1.0.5"
- },
- "bin": {
- "fxparser": "src/cli/cli.js"
- }
- },
- "node_modules/fastq": {
- "version": "1.16.0",
- "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.16.0.tgz",
- "integrity": "sha512-ifCoaXsDrsdkWTtiNJX5uzHDsrck5TzfKKDcuFFTIrrc/BS076qgEIfoIy1VeZqViznfKiysPYTh/QeHtnIsYA==",
- "devOptional": true,
- "dependencies": {
- "reusify": "^1.0.4"
- }
- },
- "node_modules/fd-slicer": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz",
- "integrity": "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==",
- "dev": true,
- "dependencies": {
- "pend": "~1.2.0"
- }
- },
- "node_modules/figures": {
- "version": "1.7.0",
- "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz",
- "integrity": "sha512-UxKlfCRuCBxSXU4C6t9scbDyWZ4VlaFFdojKtzJuSkuOBQ5CNFum+zZXFwHjo+CxBC1t6zlYPgHIgFjL8ggoEQ==",
- "dev": true,
- "dependencies": {
- "escape-string-regexp": "^1.0.5",
- "object-assign": "^4.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "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": {
- "flat-cache": "^3.0.4"
- },
- "engines": {
- "node": "^10.12.0 || >=12.0.0"
- }
- },
- "node_modules/file-type": {
- "version": "10.11.0",
- "resolved": "https://registry.npmjs.org/file-type/-/file-type-10.11.0.tgz",
- "integrity": "sha512-uzk64HRpUZyTGZtVuvrjP0FYxzQrBf4rojot6J65YMEbwBLB0CWm0CLojVpwpmFmxcE/lkvYICgfcGozbBq6rw==",
- "dev": true,
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/filename-reserved-regex": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/filename-reserved-regex/-/filename-reserved-regex-2.0.0.tgz",
- "integrity": "sha512-lc1bnsSr4L4Bdif8Xb/qrtokGbq5zlsms/CYH8PP+WtCkGNF65DPiQY8vG3SakEdRn8Dlnm+gW/qWKKjS5sZzQ==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/filenamify": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/filenamify/-/filenamify-2.1.0.tgz",
- "integrity": "sha512-ICw7NTT6RsDp2rnYKVd8Fu4cr6ITzGy3+u4vUujPkabyaz+03F24NWEX7fs5fp+kBonlaqPH8fAO2NM+SXt/JA==",
- "dev": true,
- "dependencies": {
- "filename-reserved-regex": "^2.0.0",
- "strip-outer": "^1.0.0",
- "trim-repeated": "^1.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/fill-range": {
- "version": "7.0.1",
- "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
- "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
- "devOptional": true,
- "dependencies": {
- "to-regex-range": "^5.0.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "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": {
- "locate-path": "^6.0.0",
- "path-exists": "^4.0.0"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/find-versions": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/find-versions/-/find-versions-3.2.0.tgz",
- "integrity": "sha512-P8WRou2S+oe222TOCHitLy8zj+SIsVJh52VP4lvXkaFVnOFFdoWv1H1Jjvel1aI6NCFOAaeAVm8qrI0odiLcww==",
- "dev": true,
- "dependencies": {
- "semver-regex": "^2.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/flat": {
- "version": "5.0.2",
- "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz",
- "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==",
- "optional": true,
- "bin": {
- "flat": "cli.js"
- }
- },
- "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": {
- "flatted": "^3.2.9",
- "keyv": "^4.5.3",
- "rimraf": "^3.0.2"
- },
- "engines": {
- "node": "^10.12.0 || >=12.0.0"
- }
- },
- "node_modules/flatted": {
- "version": "3.2.9",
- "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz",
- "integrity": "sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==",
- "dev": true
- },
- "node_modules/follow-redirects": {
- "version": "1.15.3",
- "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.3.tgz",
- "integrity": "sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==",
- "funding": [
- {
- "type": "individual",
- "url": "https://github.com/sponsors/RubenVerborgh"
- }
- ],
- "engines": {
- "node": ">=4.0"
- },
- "peerDependenciesMeta": {
- "debug": {
- "optional": true
- }
- }
- },
- "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": {
- "is-callable": "^1.1.3"
- }
- },
- "node_modules/for-in": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz",
- "integrity": "sha512-7EwmXrOjyL+ChxMhmG5lnW9MPt1aIeZEwKhQzoBUdTV0N3zuwWDZYVJatDvZ2OyzPUvdIAZDsCetk3coyMfcnQ==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/foreground-child": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz",
- "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==",
- "dev": true,
- "dependencies": {
- "cross-spawn": "^7.0.0",
- "signal-exit": "^4.0.1"
- },
- "engines": {
- "node": ">=14"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
- "node_modules/foreground-child/node_modules/signal-exit": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz",
- "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==",
- "dev": true,
- "engines": {
- "node": ">=14"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
- "node_modules/fraction.js": {
- "version": "4.3.7",
- "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.7.tgz",
- "integrity": "sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==",
- "dev": true,
- "engines": {
- "node": "*"
- },
- "funding": {
- "type": "patreon",
- "url": "https://github.com/sponsors/rawify"
- }
- },
- "node_modules/fragment-cache": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz",
- "integrity": "sha512-GMBAbW9antB8iZRHLoGw0b3HANt57diZYFO/HL1JGIC1MjKrdmhxvrJbupnVvpys0zsz7yBApXdQyfepKly2kA==",
- "dev": true,
- "dependencies": {
- "map-cache": "^0.2.2"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/framesync": {
- "version": "6.1.2",
- "resolved": "https://registry.npmjs.org/framesync/-/framesync-6.1.2.tgz",
- "integrity": "sha512-jBTqhX6KaQVDyus8muwZbBeGGP0XgujBRbQ7gM7BRdS3CadCZIHiawyzYLnafYcvZIh5j8WE7cxZKFn7dXhu9g==",
- "dependencies": {
- "tslib": "2.4.0"
- }
- },
- "node_modules/framesync/node_modules/tslib": {
- "version": "2.4.0",
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz",
- "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ=="
- },
- "node_modules/from2": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz",
- "integrity": "sha512-OMcX/4IC/uqEPVgGeyfN22LJk6AZrMkRZHxcHBMBvHScDGgwTm2GT2Wkgtocyd3JfZffjj2kYUDXXII0Fk9W0g==",
- "dev": true,
- "dependencies": {
- "inherits": "^2.0.1",
- "readable-stream": "^2.0.0"
- }
- },
- "node_modules/fs-constants": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz",
- "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==",
- "dev": true
- },
- "node_modules/fs-minipass": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz",
- "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==",
- "optional": true,
- "dependencies": {
- "minipass": "^3.0.0"
- },
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/fs-minipass/node_modules/minipass": {
- "version": "3.3.6",
- "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
- "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
- "optional": true,
- "dependencies": {
- "yallist": "^4.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/fs-minipass/node_modules/yallist": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
- "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
- "optional": true
- },
- "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/fsevents": {
- "version": "2.3.3",
- "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
- "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
- "dev": true,
- "hasInstallScript": true,
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
- }
- },
- "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": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/functional-red-black-tree": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz",
- "integrity": "sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g==",
- "dev": true
- },
- "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==",
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/fuse.js": {
- "version": "6.6.2",
- "resolved": "https://registry.npmjs.org/fuse.js/-/fuse.js-6.6.2.tgz",
- "integrity": "sha512-cJaJkxCCxC8qIIcPBF9yGxY0W/tVZS3uEISDxhYIdtk8OL93pe+6Zj7LjCqVV4dzbqcriOZ+kQ/NE4RXZHsIGA==",
- "engines": {
- "node": ">=10"
- }
- },
- "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==",
- "devOptional": true,
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "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==",
- "engines": {
- "node": "6.* || 8.* || >= 10.*"
- }
- },
- "node_modules/get-intrinsic": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.2.tgz",
- "integrity": "sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==",
- "dependencies": {
- "function-bind": "^1.1.2",
- "has-proto": "^1.0.1",
- "has-symbols": "^1.0.3",
- "hasown": "^2.0.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/get-proxy": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/get-proxy/-/get-proxy-2.1.0.tgz",
- "integrity": "sha512-zmZIaQTWnNQb4R4fJUEp/FC51eZsc6EkErspy3xtIYStaq8EB/hDIWipxsal+E8rz0qD7f2sL/NA9Xee4RInJw==",
- "dev": true,
- "dependencies": {
- "npm-conf": "^1.1.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/get-stdin": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz",
- "integrity": "sha512-F5aQMywwJ2n85s4hJPTT9RPxGmubonuB10MNYo17/xph174n2MIR33HRguhzVag10O/npM7SPk73LMZNP+FaWw==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/get-stream": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz",
- "integrity": "sha512-GlhdIUuVakc8SJ6kK0zAFbiGzRFzNnY4jUuEbV9UROo4Y+0Ny4fjvcZFVTeDA4odpFyOQzaw6hXukJSq/f28sQ==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/get-symbol-description": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz",
- "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.2",
- "get-intrinsic": "^1.1.1"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/get-value": {
- "version": "2.0.6",
- "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz",
- "integrity": "sha512-Ln0UQDlxH1BapMu3GPtf7CuYNwRZf2gwCuPqbyG6pB8WfmFpzqcy4xtAaAMUhnNqjMKTiCPZG2oMT3YSx8U2NA==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/gifsicle": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/gifsicle/-/gifsicle-4.0.1.tgz",
- "integrity": "sha512-A/kiCLfDdV+ERV/UB+2O41mifd+RxH8jlRG8DMxZO84Bma/Fw0htqZ+hY2iaalLRNyUu7tYZQslqUBJxBggxbg==",
- "dev": true,
- "hasInstallScript": true,
- "dependencies": {
- "bin-build": "^3.0.0",
- "bin-wrapper": "^4.0.0",
- "execa": "^1.0.0",
- "logalot": "^2.0.0"
- },
- "bin": {
- "gifsicle": "cli.js"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/gifsicle/node_modules/cross-spawn": {
- "version": "6.0.5",
- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
- "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",
- "dev": true,
- "dependencies": {
- "nice-try": "^1.0.4",
- "path-key": "^2.0.1",
- "semver": "^5.5.0",
- "shebang-command": "^1.2.0",
- "which": "^1.2.9"
- },
- "engines": {
- "node": ">=4.8"
- }
- },
- "node_modules/gifsicle/node_modules/execa": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz",
- "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==",
- "dev": true,
- "dependencies": {
- "cross-spawn": "^6.0.0",
- "get-stream": "^4.0.0",
- "is-stream": "^1.1.0",
- "npm-run-path": "^2.0.0",
- "p-finally": "^1.0.0",
- "signal-exit": "^3.0.0",
- "strip-eof": "^1.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/gifsicle/node_modules/get-stream": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",
- "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==",
- "dev": true,
- "dependencies": {
- "pump": "^3.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/gifsicle/node_modules/path-key": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",
- "integrity": "sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/gifsicle/node_modules/semver": {
- "version": "5.7.2",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz",
- "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==",
- "dev": true,
- "bin": {
- "semver": "bin/semver"
- }
- },
- "node_modules/gifsicle/node_modules/shebang-command": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",
- "integrity": "sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==",
- "dev": true,
- "dependencies": {
- "shebang-regex": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/gifsicle/node_modules/shebang-regex": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz",
- "integrity": "sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/gifsicle/node_modules/which": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
- "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",
- "dev": true,
- "dependencies": {
- "isexe": "^2.0.0"
- },
- "bin": {
- "which": "bin/which"
- }
- },
- "node_modules/giget": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/giget/-/giget-1.1.3.tgz",
- "integrity": "sha512-zHuCeqtfgqgDwvXlR84UNgnJDuUHQcNI5OqWqFxxuk2BshuKbYhJWdxBsEo4PvKqoGh23lUAIvBNpChMLv7/9Q==",
- "optional": true,
- "dependencies": {
- "colorette": "^2.0.20",
- "defu": "^6.1.2",
- "https-proxy-agent": "^7.0.2",
- "mri": "^1.2.0",
- "node-fetch-native": "^1.4.0",
- "pathe": "^1.1.1",
- "tar": "^6.2.0"
- },
- "bin": {
- "giget": "dist/cli.mjs"
- }
- },
- "node_modules/giget/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==",
- "optional": true,
- "dependencies": {
- "debug": "^4.3.4"
- },
- "engines": {
- "node": ">= 14"
- }
- },
- "node_modules/giget/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==",
- "optional": true,
- "dependencies": {
- "agent-base": "^7.0.2",
- "debug": "4"
- },
- "engines": {
- "node": ">= 14"
- }
- },
- "node_modules/glob": {
- "version": "9.3.2",
- "resolved": "https://registry.npmjs.org/glob/-/glob-9.3.2.tgz",
- "integrity": "sha512-BTv/JhKXFEHsErMte/AnfiSv8yYOLLiyH2lTg8vn02O21zWFgHPTfxtgn1QRe7NRgggUhC8hacR2Re94svHqeA==",
- "dev": true,
- "dependencies": {
- "fs.realpath": "^1.0.0",
- "minimatch": "^7.4.1",
- "minipass": "^4.2.4",
- "path-scurry": "^1.6.1"
- },
- "engines": {
- "node": ">=16 || 14 >=14.17"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
- "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==",
- "devOptional": true,
- "dependencies": {
- "is-glob": "^4.0.1"
- },
- "engines": {
- "node": ">= 6"
- }
- },
- "node_modules/glob-to-regexp": {
- "version": "0.4.1",
- "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz",
- "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==",
- "dev": true,
- "peer": true
- },
- "node_modules/glob/node_modules/brace-expansion": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
- "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
- "dev": true,
- "dependencies": {
- "balanced-match": "^1.0.0"
- }
- },
- "node_modules/glob/node_modules/minimatch": {
- "version": "7.4.6",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-7.4.6.tgz",
- "integrity": "sha512-sBz8G/YjVniEz6lKPNpKxXwazJe4c19fEfV2GDMX6AjFz+MX9uDWIZW8XreVhkFW3fkIdTv/gxWr/Kks5FFAVw==",
- "dev": true,
- "dependencies": {
- "brace-expansion": "^2.0.1"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
- "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==",
- "devOptional": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/globalthis": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz",
- "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==",
- "dev": true,
- "dependencies": {
- "define-properties": "^1.1.3"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/globby": {
- "version": "14.0.0",
- "resolved": "https://registry.npmjs.org/globby/-/globby-14.0.0.tgz",
- "integrity": "sha512-/1WM/LNHRAOH9lZta77uGbq0dAEQM+XjNesWwhlERDVenqothRbnzTrL3/LrIoEPPjeUHC3vrS6TwoyxeHs7MQ==",
- "optional": true,
- "dependencies": {
- "@sindresorhus/merge-streams": "^1.0.0",
- "fast-glob": "^3.3.2",
- "ignore": "^5.2.4",
- "path-type": "^5.0.0",
- "slash": "^5.1.0",
- "unicorn-magic": "^0.1.0"
- },
- "engines": {
- "node": ">=18"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "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/got": {
- "version": "7.1.0",
- "resolved": "https://registry.npmjs.org/got/-/got-7.1.0.tgz",
- "integrity": "sha512-Y5WMo7xKKq1muPsxD+KmrR8DH5auG7fBdDVueZwETwV6VytKyU9OX/ddpq2/1hp1vIPvVb4T81dKQz3BivkNLw==",
- "dev": true,
- "dependencies": {
- "decompress-response": "^3.2.0",
- "duplexer3": "^0.1.4",
- "get-stream": "^3.0.0",
- "is-plain-obj": "^1.1.0",
- "is-retry-allowed": "^1.0.0",
- "is-stream": "^1.0.0",
- "isurl": "^1.0.0-alpha5",
- "lowercase-keys": "^1.0.0",
- "p-cancelable": "^0.3.0",
- "p-timeout": "^1.1.1",
- "safe-buffer": "^5.0.1",
- "timed-out": "^4.0.0",
- "url-parse-lax": "^1.0.0",
- "url-to-options": "^1.0.1"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/graceful-fs": {
- "version": "4.2.11",
- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
- "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",
- "dev": true
- },
- "node_modules/has-ansi": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz",
- "integrity": "sha512-C8vBJ8DwUCx19vhm7urhTuUsr4/IyP6l4VzNQDv+ryHQObW3TTTp9yB68WpYgRe2bbaGuZ/se74IqFeVnMnLZg==",
- "dev": true,
- "dependencies": {
- "ansi-regex": "^2.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/has-ansi/node_modules/ansi-regex": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
- "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "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,
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/has-flag": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
- "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
- "devOptional": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/has-property-descriptors": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz",
- "integrity": "sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==",
- "dependencies": {
- "get-intrinsic": "^1.2.2"
- },
- "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"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/has-symbol-support-x": {
- "version": "1.4.2",
- "resolved": "https://registry.npmjs.org/has-symbol-support-x/-/has-symbol-support-x-1.4.2.tgz",
- "integrity": "sha512-3ToOva++HaW+eCpgqZrCfN51IPB+7bJNVT6CUATzueB5Heb8o6Nam0V3HG5dlDvZU1Gn5QLcbahiKw/XVk5JJw==",
- "dev": true,
- "engines": {
- "node": "*"
- }
- },
- "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": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/has-to-string-tag-x": {
- "version": "1.4.1",
- "resolved": "https://registry.npmjs.org/has-to-string-tag-x/-/has-to-string-tag-x-1.4.1.tgz",
- "integrity": "sha512-vdbKfmw+3LoOYVr+mtxHaX5a96+0f3DljYd8JOqvOLsf5mw2Otda2qCDT9qRqLAhrjyQ0h7ual5nOiASpsGNFw==",
- "dev": true,
- "dependencies": {
- "has-symbol-support-x": "^1.4.1"
- },
- "engines": {
- "node": "*"
- }
- },
- "node_modules/has-tostringtag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz",
- "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==",
- "dependencies": {
- "has-symbols": "^1.0.2"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/has-value": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz",
- "integrity": "sha512-IBXk4GTsLYdQ7Rvt+GRBrFSVEkmuOUy4re0Xjd9kJSUQpnTrWR4/y9RpfexN9vkAPMFuQoeWKwqzPozRTlasGw==",
- "dev": true,
- "dependencies": {
- "get-value": "^2.0.6",
- "has-values": "^1.0.0",
- "isobject": "^3.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/has-values": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz",
- "integrity": "sha512-ODYZC64uqzmtfGMEAX/FvZiRyWLpAC3vYnNunURUnkGVTS+mI0smVsWaPydRBsE3g+ok7h960jChO8mFcWlHaQ==",
- "dev": true,
- "dependencies": {
- "is-number": "^3.0.0",
- "kind-of": "^4.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/has-values/node_modules/is-number": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz",
- "integrity": "sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg==",
- "dev": true,
- "dependencies": {
- "kind-of": "^3.0.2"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/has-values/node_modules/is-number/node_modules/kind-of": {
- "version": "3.2.2",
- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
- "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==",
- "dev": true,
- "dependencies": {
- "is-buffer": "^1.1.5"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/has-values/node_modules/kind-of": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz",
- "integrity": "sha512-24XsCxmEbRwEDbz/qz3stgin8TTzZ1ESR56OMCN0ujYg+vRutNSiOj9bHH9u85DKgXguraugV5sFuvbD4FW/hw==",
- "dev": true,
- "dependencies": {
- "is-buffer": "^1.1.5"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/hash-sum": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/hash-sum/-/hash-sum-2.0.0.tgz",
- "integrity": "sha512-WdZTbAByD+pHfl/g9QSsBIIwy8IT+EsPiKDs0KNX+zSHhdDLFKdZu0BQHljvO+0QI/BasbMSUa8wYNCZTvhslg==",
- "devOptional": true
- },
- "node_modules/hasown": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz",
- "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==",
- "dependencies": {
- "function-bind": "^1.1.2"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/hey-listen": {
- "version": "1.0.8",
- "resolved": "https://registry.npmjs.org/hey-listen/-/hey-listen-1.0.8.tgz",
- "integrity": "sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q=="
- },
- "node_modules/hookable": {
- "version": "5.5.3",
- "resolved": "https://registry.npmjs.org/hookable/-/hookable-5.5.3.tgz",
- "integrity": "sha512-Yc+BQe8SvoXH1643Qez1zqLRmbA5rCL+sSmk6TVos0LWVfNIB7PGncdlId77WzLGSIB5KaWgTaNTs2lNVEI6VQ==",
- "optional": true
- },
- "node_modules/hosted-git-info": {
- "version": "2.8.9",
- "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz",
- "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==",
- "dev": true
- },
- "node_modules/http-cache-semantics": {
- "version": "3.8.1",
- "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz",
- "integrity": "sha512-5ai2iksyV8ZXmnZhHH4rWPoxxistEexSi5936zIQ1bnNTW5VnA85B6P/VpXiRM017IgRvb2kKo1a//y+0wSp3w==",
- "dev": true
- },
- "node_modules/https-proxy-agent": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz",
- "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==",
- "dev": true,
- "dependencies": {
- "agent-base": "6",
- "debug": "4"
- },
- "engines": {
- "node": ">= 6"
- }
- },
- "node_modules/ieee754": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
- "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==",
- "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/ignore": {
- "version": "5.3.0",
- "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz",
- "integrity": "sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==",
- "devOptional": true,
- "engines": {
- "node": ">= 4"
- }
- },
- "node_modules/imagemin": {
- "version": "6.1.0",
- "resolved": "https://registry.npmjs.org/imagemin/-/imagemin-6.1.0.tgz",
- "integrity": "sha512-8ryJBL1CN5uSHpiBMX0rJw79C9F9aJqMnjGnrd/1CafegpNuA81RBAAru/jQQEOWlOJJlpRnlcVFF6wq+Ist0A==",
- "dev": true,
- "dependencies": {
- "file-type": "^10.7.0",
- "globby": "^8.0.1",
- "make-dir": "^1.0.0",
- "p-pipe": "^1.1.0",
- "pify": "^4.0.1",
- "replace-ext": "^1.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/imagemin-gifsicle": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/imagemin-gifsicle/-/imagemin-gifsicle-6.0.1.tgz",
- "integrity": "sha512-kuu47c6iKDQ6R9J10xCwL0lgs0+sMz3LRHqRcJ2CRBWdcNmo3T5hUaM8hSZfksptZXJLGKk8heSAvwtSdB1Fng==",
- "dev": true,
- "dependencies": {
- "exec-buffer": "^3.0.0",
- "gifsicle": "^4.0.0",
- "is-gif": "^3.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/imagemin-jpegtran": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/imagemin-jpegtran/-/imagemin-jpegtran-6.0.0.tgz",
- "integrity": "sha512-Ih+NgThzqYfEWv9t58EItncaaXIHR0u9RuhKa8CtVBlMBvY0dCIxgQJQCfwImA4AV1PMfmUKlkyIHJjb7V4z1g==",
- "dev": true,
- "dependencies": {
- "exec-buffer": "^3.0.0",
- "is-jpg": "^2.0.0",
- "jpegtran-bin": "^4.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/imagemin-optipng": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/imagemin-optipng/-/imagemin-optipng-6.0.0.tgz",
- "integrity": "sha512-FoD2sMXvmoNm/zKPOWdhKpWdFdF9qiJmKC17MxZJPH42VMAp17/QENI/lIuP7LCUnLVAloO3AUoTSNzfhpyd8A==",
- "dev": true,
- "dependencies": {
- "exec-buffer": "^3.0.0",
- "is-png": "^1.0.0",
- "optipng-bin": "^5.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/imagemin-pngquant": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/imagemin-pngquant/-/imagemin-pngquant-6.0.1.tgz",
- "integrity": "sha512-Stk+fZCLxZznV8MFNA/T3AY/VRKevsiP9uZOLV0RCXoi0vUUFriySYuz/83IGp9D254EW8miGyyQ69zKouFr7w==",
- "dev": true,
- "dependencies": {
- "execa": "^0.10.0",
- "is-png": "^1.0.0",
- "is-stream": "^1.1.0",
- "pngquant-bin": "^5.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/imagemin-pngquant/node_modules/cross-spawn": {
- "version": "6.0.5",
- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
- "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",
- "dev": true,
- "dependencies": {
- "nice-try": "^1.0.4",
- "path-key": "^2.0.1",
- "semver": "^5.5.0",
- "shebang-command": "^1.2.0",
- "which": "^1.2.9"
- },
- "engines": {
- "node": ">=4.8"
- }
- },
- "node_modules/imagemin-pngquant/node_modules/execa": {
- "version": "0.10.0",
- "resolved": "https://registry.npmjs.org/execa/-/execa-0.10.0.tgz",
- "integrity": "sha512-7XOMnz8Ynx1gGo/3hyV9loYNPWM94jG3+3T3Y8tsfSstFmETmENCMU/A/zj8Lyaj1lkgEepKepvd6240tBRvlw==",
- "dev": true,
- "dependencies": {
- "cross-spawn": "^6.0.0",
- "get-stream": "^3.0.0",
- "is-stream": "^1.1.0",
- "npm-run-path": "^2.0.0",
- "p-finally": "^1.0.0",
- "signal-exit": "^3.0.0",
- "strip-eof": "^1.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/imagemin-pngquant/node_modules/path-key": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",
- "integrity": "sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/imagemin-pngquant/node_modules/semver": {
- "version": "5.7.2",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz",
- "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==",
- "dev": true,
- "bin": {
- "semver": "bin/semver"
- }
- },
- "node_modules/imagemin-pngquant/node_modules/shebang-command": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",
- "integrity": "sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==",
- "dev": true,
- "dependencies": {
- "shebang-regex": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/imagemin-pngquant/node_modules/shebang-regex": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz",
- "integrity": "sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/imagemin-pngquant/node_modules/which": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
- "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",
- "dev": true,
- "dependencies": {
- "isexe": "^2.0.0"
- },
- "bin": {
- "which": "bin/which"
- }
- },
- "node_modules/imagemin-svgo": {
- "version": "7.1.0",
- "resolved": "https://registry.npmjs.org/imagemin-svgo/-/imagemin-svgo-7.1.0.tgz",
- "integrity": "sha512-0JlIZNWP0Luasn1HT82uB9nU9aa+vUj6kpT+MjPW11LbprXC+iC4HDwn1r4Q2/91qj4iy9tRZNsFySMlEpLdpg==",
- "dev": true,
- "dependencies": {
- "is-svg": "^4.2.1",
- "svgo": "^1.3.2"
- },
- "engines": {
- "node": ">=6"
- },
- "funding": {
- "url": "https://github.com/sindresorhus/imagemin-svgo?sponsor=1"
- }
- },
- "node_modules/imagemin-svgo/node_modules/css-select": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/css-select/-/css-select-2.1.0.tgz",
- "integrity": "sha512-Dqk7LQKpwLoH3VovzZnkzegqNSuAziQyNZUcrdDM401iY+R5NkGBXGmtO05/yaXQziALuPogeG0b7UAgjnTJTQ==",
- "dev": true,
- "dependencies": {
- "boolbase": "^1.0.0",
- "css-what": "^3.2.1",
- "domutils": "^1.7.0",
- "nth-check": "^1.0.2"
- }
- },
- "node_modules/imagemin-svgo/node_modules/css-tree": {
- "version": "1.0.0-alpha.37",
- "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.0.0-alpha.37.tgz",
- "integrity": "sha512-DMxWJg0rnz7UgxKT0Q1HU/L9BeJI0M6ksor0OgqOnF+aRCDWg/N2641HmVyU9KVIu0OVVWOb2IpC9A+BJRnejg==",
- "dev": true,
- "dependencies": {
- "mdn-data": "2.0.4",
- "source-map": "^0.6.1"
- },
- "engines": {
- "node": ">=8.0.0"
- }
- },
- "node_modules/imagemin-svgo/node_modules/css-what": {
- "version": "3.4.2",
- "resolved": "https://registry.npmjs.org/css-what/-/css-what-3.4.2.tgz",
- "integrity": "sha512-ACUm3L0/jiZTqfzRM3Hi9Q8eZqd6IK37mMWPLz9PJxkLWllYeRf+EHUSHYEtFop2Eqytaq1FizFVh7XfBnXCDQ==",
- "dev": true,
- "engines": {
- "node": ">= 6"
- },
- "funding": {
- "url": "https://github.com/sponsors/fb55"
- }
- },
- "node_modules/imagemin-svgo/node_modules/csso": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/csso/-/csso-4.2.0.tgz",
- "integrity": "sha512-wvlcdIbf6pwKEk7vHj8/Bkc0B4ylXZruLvOgs9doS5eOsOpuodOV2zJChSpkp+pRpYQLQMeF04nr3Z68Sta9jA==",
- "dev": true,
- "dependencies": {
- "css-tree": "^1.1.2"
- },
- "engines": {
- "node": ">=8.0.0"
- }
- },
- "node_modules/imagemin-svgo/node_modules/csso/node_modules/css-tree": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.1.3.tgz",
- "integrity": "sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q==",
- "dev": true,
- "dependencies": {
- "mdn-data": "2.0.14",
- "source-map": "^0.6.1"
- },
- "engines": {
- "node": ">=8.0.0"
- }
- },
- "node_modules/imagemin-svgo/node_modules/csso/node_modules/mdn-data": {
- "version": "2.0.14",
- "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.14.tgz",
- "integrity": "sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==",
- "dev": true
- },
- "node_modules/imagemin-svgo/node_modules/dom-serializer": {
- "version": "0.2.2",
- "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.2.2.tgz",
- "integrity": "sha512-2/xPb3ORsQ42nHYiSunXkDjPLBaEj/xTwUO4B7XCZQTRk7EBtTOPaygh10YAAh2OI1Qrp6NWfpAhzswj0ydt9g==",
- "dev": true,
- "dependencies": {
- "domelementtype": "^2.0.1",
- "entities": "^2.0.0"
- }
- },
- "node_modules/imagemin-svgo/node_modules/domutils": {
- "version": "1.7.0",
- "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.7.0.tgz",
- "integrity": "sha512-Lgd2XcJ/NjEw+7tFvfKxOzCYKZsdct5lczQ2ZaQY8Djz7pfAD3Gbp8ySJWtreII/vDlMVmxwa6pHmdxIYgttDg==",
- "dev": true,
- "dependencies": {
- "dom-serializer": "0",
- "domelementtype": "1"
- }
- },
- "node_modules/imagemin-svgo/node_modules/domutils/node_modules/domelementtype": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.1.tgz",
- "integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==",
- "dev": true
- },
- "node_modules/imagemin-svgo/node_modules/entities": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz",
- "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==",
- "dev": true,
- "funding": {
- "url": "https://github.com/fb55/entities?sponsor=1"
- }
- },
- "node_modules/imagemin-svgo/node_modules/mdn-data": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.4.tgz",
- "integrity": "sha512-iV3XNKw06j5Q7mi6h+9vbx23Tv7JkjEVgKHW4pimwyDGWm0OIQntJJ+u1C6mg6mK1EaTv42XQ7w76yuzH7M2cA==",
- "dev": true
- },
- "node_modules/imagemin-svgo/node_modules/nth-check": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz",
- "integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==",
- "dev": true,
- "dependencies": {
- "boolbase": "~1.0.0"
- }
- },
- "node_modules/imagemin-svgo/node_modules/svgo": {
- "version": "1.3.2",
- "resolved": "https://registry.npmjs.org/svgo/-/svgo-1.3.2.tgz",
- "integrity": "sha512-yhy/sQYxR5BkC98CY7o31VGsg014AKLEPxdfhora76l36hD9Rdy5NZA/Ocn6yayNPgSamYdtX2rFJdcv07AYVw==",
- "deprecated": "This SVGO version is no longer supported. Upgrade to v2.x.x.",
- "dev": true,
- "dependencies": {
- "chalk": "^2.4.1",
- "coa": "^2.0.2",
- "css-select": "^2.0.0",
- "css-select-base-adapter": "^0.1.1",
- "css-tree": "1.0.0-alpha.37",
- "csso": "^4.0.2",
- "js-yaml": "^3.13.1",
- "mkdirp": "~0.5.1",
- "object.values": "^1.1.0",
- "sax": "~1.2.4",
- "stable": "^0.1.8",
- "unquote": "~1.1.1",
- "util.promisify": "~1.0.0"
- },
- "bin": {
- "svgo": "bin/svgo"
- },
- "engines": {
- "node": ">=4.0.0"
- }
- },
- "node_modules/imagemin-svgo/node_modules/util.promisify": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/util.promisify/-/util.promisify-1.0.1.tgz",
- "integrity": "sha512-g9JpC/3He3bm38zsLupWryXHoEcS22YHthuPQSJdMy6KNrzIRzWqcsHzD/WUnqe45whVou4VIsPew37DoXWNrA==",
- "dev": true,
- "dependencies": {
- "define-properties": "^1.1.3",
- "es-abstract": "^1.17.2",
- "has-symbols": "^1.0.1",
- "object.getownpropertydescriptors": "^2.1.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/imagemin-webpack-plugin": {
- "version": "2.4.2",
- "resolved": "https://registry.npmjs.org/imagemin-webpack-plugin/-/imagemin-webpack-plugin-2.4.2.tgz",
- "integrity": "sha512-/K6ueN7avxjesAwGMpwuNYAHSHQcDrJYcpRTI74wBLg2nUBp+i9MXjXm04/94M0hDqy4kYdxeC+XzuBfOiIrmA==",
- "dev": true,
- "dependencies": {
- "@types/imagemin-gifsicle": "^5.2.0",
- "@types/imagemin-jpegtran": "^5.0.0",
- "@types/imagemin-optipng": "^5.2.0",
- "@types/imagemin-svgo": "^7.0.0",
- "@types/webpack": "^4.4.24",
- "async-throttle": "^1.1.0",
- "babel-runtime": "^6.18.0",
- "imagemin": "^6.1.0",
- "imagemin-gifsicle": "^6.0.1",
- "imagemin-jpegtran": "^6.0.0",
- "imagemin-optipng": "^6.0.0",
- "imagemin-pngquant": "^6.0.0",
- "imagemin-svgo": "^7.0.0",
- "lodash.map": "^4.6.0",
- "minimatch": "^3.0.4",
- "mkdirp": "^0.5.1",
- "util.promisify": "^1.0.0",
- "webpack-sources": "^1.1.0"
- },
- "engines": {
- "node": ">=4.0.0"
- }
- },
- "node_modules/imagemin/node_modules/@nodelib/fs.stat": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz",
- "integrity": "sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw==",
- "dev": true,
- "engines": {
- "node": ">= 6"
- }
- },
- "node_modules/imagemin/node_modules/braces": {
- "version": "2.3.2",
- "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz",
- "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==",
- "dev": true,
- "dependencies": {
- "arr-flatten": "^1.1.0",
- "array-unique": "^0.3.2",
- "extend-shallow": "^2.0.1",
- "fill-range": "^4.0.0",
- "isobject": "^3.0.1",
- "repeat-element": "^1.1.2",
- "snapdragon": "^0.8.1",
- "snapdragon-node": "^2.0.1",
- "split-string": "^3.0.2",
- "to-regex": "^3.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/imagemin/node_modules/braces/node_modules/extend-shallow": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
- "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==",
- "dev": true,
- "dependencies": {
- "is-extendable": "^0.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/imagemin/node_modules/fast-glob": {
- "version": "2.2.7",
- "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-2.2.7.tgz",
- "integrity": "sha512-g1KuQwHOZAmOZMuBtHdxDtju+T2RT8jgCC9aANsbpdiDDTSnjgfuVsIBNKbUeJI3oKMRExcfNDtJl4OhbffMsw==",
- "dev": true,
- "dependencies": {
- "@mrmlnc/readdir-enhanced": "^2.2.1",
- "@nodelib/fs.stat": "^1.1.2",
- "glob-parent": "^3.1.0",
- "is-glob": "^4.0.0",
- "merge2": "^1.2.3",
- "micromatch": "^3.1.10"
- },
- "engines": {
- "node": ">=4.0.0"
- }
- },
- "node_modules/imagemin/node_modules/fill-range": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz",
- "integrity": "sha512-VcpLTWqWDiTerugjj8e3+esbg+skS3M9e54UuR3iCeIDMXCLTsAH8hTSzDQU/X6/6t3eYkOKoZSef2PlU6U1XQ==",
- "dev": true,
- "dependencies": {
- "extend-shallow": "^2.0.1",
- "is-number": "^3.0.0",
- "repeat-string": "^1.6.1",
- "to-regex-range": "^2.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/imagemin/node_modules/fill-range/node_modules/extend-shallow": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
- "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==",
- "dev": true,
- "dependencies": {
- "is-extendable": "^0.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/imagemin/node_modules/glob": {
- "version": "7.2.3",
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
- "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
- "dev": true,
- "dependencies": {
- "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/imagemin/node_modules/glob-parent": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz",
- "integrity": "sha512-E8Ak/2+dZY6fnzlR7+ueWvhsH1SjHr4jjss4YS/h4py44jY9MhK/VFdaZJAWDz6BbL21KeteKxFSFpq8OS5gVA==",
- "dev": true,
- "dependencies": {
- "is-glob": "^3.1.0",
- "path-dirname": "^1.0.0"
- }
- },
- "node_modules/imagemin/node_modules/glob-parent/node_modules/is-glob": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz",
- "integrity": "sha512-UFpDDrPgM6qpnFNI+rh/p3bUaq9hKLZN8bMUWzxmcnZVS3omf4IPK+BrewlnWjO1WmUsMYuSjKh4UJuV4+Lqmw==",
- "dev": true,
- "dependencies": {
- "is-extglob": "^2.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/imagemin/node_modules/globby": {
- "version": "8.0.2",
- "resolved": "https://registry.npmjs.org/globby/-/globby-8.0.2.tgz",
- "integrity": "sha512-yTzMmKygLp8RUpG1Ymu2VXPSJQZjNAZPD4ywgYEaG7e4tBJeUQBO8OpXrf1RCNcEs5alsoJYPAMiIHP0cmeC7w==",
- "dev": true,
- "dependencies": {
- "array-union": "^1.0.1",
- "dir-glob": "2.0.0",
- "fast-glob": "^2.0.2",
- "glob": "^7.1.2",
- "ignore": "^3.3.5",
- "pify": "^3.0.0",
- "slash": "^1.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/imagemin/node_modules/globby/node_modules/pify": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
- "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/imagemin/node_modules/ignore": {
- "version": "3.3.10",
- "resolved": "https://registry.npmjs.org/ignore/-/ignore-3.3.10.tgz",
- "integrity": "sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug==",
- "dev": true
- },
- "node_modules/imagemin/node_modules/is-extendable": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
- "integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/imagemin/node_modules/is-number": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz",
- "integrity": "sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg==",
- "dev": true,
- "dependencies": {
- "kind-of": "^3.0.2"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/imagemin/node_modules/is-number/node_modules/kind-of": {
- "version": "3.2.2",
- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
- "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==",
- "dev": true,
- "dependencies": {
- "is-buffer": "^1.1.5"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/imagemin/node_modules/micromatch": {
- "version": "3.1.10",
- "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz",
- "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==",
- "dev": true,
- "dependencies": {
- "arr-diff": "^4.0.0",
- "array-unique": "^0.3.2",
- "braces": "^2.3.1",
- "define-property": "^2.0.2",
- "extend-shallow": "^3.0.2",
- "extglob": "^2.0.4",
- "fragment-cache": "^0.2.1",
- "kind-of": "^6.0.2",
- "nanomatch": "^1.2.9",
- "object.pick": "^1.3.0",
- "regex-not": "^1.0.0",
- "snapdragon": "^0.8.1",
- "to-regex": "^3.0.2"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/imagemin/node_modules/slash": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz",
- "integrity": "sha512-3TYDR7xWt4dIqV2JauJr+EJeW356RXijHeUlO+8djJ+uBXPn8/2dpzBc8yQhh583sVvc9CvFAeQVgijsH+PNNg==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/imagemin/node_modules/to-regex-range": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz",
- "integrity": "sha512-ZZWNfCjUokXXDGXFpZehJIkZqq91BcULFq/Pi7M5i4JnxXdhMKAK682z8bCW3o8Hj1wuuzoKcW3DfVzaP6VuNg==",
- "dev": true,
- "dependencies": {
- "is-number": "^3.0.0",
- "repeat-string": "^1.6.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/immediate": {
- "version": "3.0.6",
- "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz",
- "integrity": "sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ=="
- },
- "node_modules/immutable": {
- "version": "4.3.4",
- "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.4.tgz",
- "integrity": "sha512-fsXeu4J4i6WNWSikpI88v/PcVflZz+6kMhUfIwc5SY+poQRPnaf5V7qds6SUyUN3cVxEzuCab7QIoLOQ+DQ1wA==",
- "dev": 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==",
- "dev": true,
- "dependencies": {
- "parent-module": "^1.0.0",
- "resolve-from": "^4.0.0"
- },
- "engines": {
- "node": ">=6"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/import-lazy": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-3.1.0.tgz",
- "integrity": "sha512-8/gvXvX2JMn0F+CDlSC4l6kOmVaLOO3XLkksI7CI3Ud95KDYJuYur2b9P/PUt/i/pDAMd/DulQsNbbbmRRsDIQ==",
- "dev": true,
- "engines": {
- "node": ">=6"
- }
- },
- "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/indent-string": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz",
- "integrity": "sha512-aqwDFWSgSgfRaEwao5lg5KEcVd/2a+D1rvoG7NdilmYz0NwRk6StWpWdz/Hpk34MKPpx7s8XxUqimfcQK6gGlg==",
- "dev": true,
- "dependencies": {
- "repeating": "^2.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "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==",
- "dev": true,
- "dependencies": {
- "once": "^1.3.0",
- "wrappy": "1"
- }
- },
- "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/ini": {
- "version": "1.3.8",
- "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz",
- "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==",
- "dev": true
- },
- "node_modules/internal-slot": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.6.tgz",
- "integrity": "sha512-Xj6dv+PsbtwyPpEflsejS+oIZxmMlV44zAhG479uYu89MsjcYOhCFnNyKrkJrihbsiasQyY0afoCl/9BLR65bg==",
- "dev": true,
- "dependencies": {
- "get-intrinsic": "^1.2.2",
- "hasown": "^2.0.0",
- "side-channel": "^1.0.4"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/into-stream": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/into-stream/-/into-stream-3.1.0.tgz",
- "integrity": "sha512-TcdjPibTksa1NQximqep2r17ISRiNE9fwlfbg3F8ANdvP5/yrFTew86VcO//jk4QTaMlbjypPBq76HN2zaKfZQ==",
- "dev": true,
- "dependencies": {
- "from2": "^2.1.1",
- "p-is-promise": "^1.1.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/is-accessor-descriptor": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.1.tgz",
- "integrity": "sha512-YBUanLI8Yoihw923YeFUS5fs0fF2f5TSFTNiYAAzhhDscDa3lEqYuz1pDOEP5KvX94I9ey3vsqjJcLVFVU+3QA==",
- "dev": true,
- "dependencies": {
- "hasown": "^2.0.0"
- },
- "engines": {
- "node": ">= 0.10"
- }
- },
- "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==",
- "dependencies": {
- "call-bind": "^1.0.2",
- "has-tostringtag": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-array-buffer": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz",
- "integrity": "sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.2",
- "get-intrinsic": "^1.2.0",
- "is-typed-array": "^1.1.10"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "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==",
- "dev": true
- },
- "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": {
- "has-bigints": "^1.0.1"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-binary-path": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
- "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
- "devOptional": true,
- "dependencies": {
- "binary-extensions": "^2.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "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": {
- "call-bind": "^1.0.2",
- "has-tostringtag": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-buffer": {
- "version": "1.1.6",
- "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",
- "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==",
- "dev": true
- },
- "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/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==",
- "dev": true,
- "dependencies": {
- "hasown": "^2.0.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-data-descriptor": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.1.tgz",
- "integrity": "sha512-bc4NlCDiCr28U4aEsQ3Qs2491gVq4V8G7MQyws968ImqjKuYtTJXrl7Vq7jsN7Ly/C3xj5KWFrY7sHNeDkAzXw==",
- "dev": true,
- "dependencies": {
- "hasown": "^2.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "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==",
- "dependencies": {
- "has-tostringtag": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-descriptor": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.3.tgz",
- "integrity": "sha512-JCNNGbwWZEVaSPtS45mdtrneRWJFp07LLmykxeFV5F6oBvNF8vHSfJuJgoT472pSfk+Mf8VnlrspaFBHWM8JAw==",
- "dev": true,
- "dependencies": {
- "is-accessor-descriptor": "^1.0.1",
- "is-data-descriptor": "^1.0.1"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/is-extendable": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz",
- "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==",
- "dev": true,
- "dependencies": {
- "is-plain-object": "^2.0.4"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-extglob": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
- "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
- "devOptional": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-finite": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz",
- "integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- },
- "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==",
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/is-gif": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/is-gif/-/is-gif-3.0.0.tgz",
- "integrity": "sha512-IqJ/jlbw5WJSNfwQ/lHEDXF8rxhRgF6ythk2oiEvhpG29F704eX9NO6TvPfMiq9DrbwgcEDnETYNcZDPewQoVw==",
- "dev": true,
- "dependencies": {
- "file-type": "^10.4.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "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==",
- "devOptional": true,
- "dependencies": {
- "is-extglob": "^2.1.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-jpg": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/is-jpg/-/is-jpg-2.0.0.tgz",
- "integrity": "sha512-ODlO0ruzhkzD3sdynIainVP5eoOFNN85rxA1+cwwnPe4dKyX0r5+hxNO5XpCrxlHcmb9vkOit9mhRD2JVuimHg==",
- "dev": true,
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/is-natural-number": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/is-natural-number/-/is-natural-number-4.0.1.tgz",
- "integrity": "sha512-Y4LTamMe0DDQIIAlaer9eKebAlDSV6huy+TWhJVPlzZh2o4tRP5SQWFlLn5N0To4mDD22/qdOq+veo1cSISLgQ==",
- "dev": true
- },
- "node_modules/is-negative-zero": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz",
- "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==",
- "dev": true,
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "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==",
- "devOptional": true,
- "engines": {
- "node": ">=0.12.0"
- }
- },
- "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/is-object": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/is-object/-/is-object-1.0.2.tgz",
- "integrity": "sha512-2rRIahhZr2UWb45fIOuvZGpFtz0TyOZLf32KxBbSoUCeZR495zCKlWUKKUByk3geS2eAs7ZAABt0Y/Rx0GiQGA==",
- "dev": true,
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-plain-obj": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz",
- "integrity": "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-plain-object": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz",
- "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==",
- "dependencies": {
- "isobject": "^3.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-png": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/is-png/-/is-png-1.1.0.tgz",
- "integrity": "sha512-23Rmps8UEx3Bzqr0JqAtQo0tYP6sDfIfMt1rL9rzlla/zbteftI9LSJoqsIoGgL06sJboDGdVns4RTakAW/WTw==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "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==",
- "dependencies": {
- "call-bind": "^1.0.2",
- "has-tostringtag": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-retry-allowed": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz",
- "integrity": "sha512-RUbUeKwvm3XG2VYamhJL1xFktgjvPzL0Hq8C+6yrWIswDy3BIXGqCxhxkc30N9jqK311gVU137K8Ei55/zVJRg==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-shared-array-buffer": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz",
- "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.2"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-stream": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
- "integrity": "sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "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": {
- "has-tostringtag": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-svg": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/is-svg/-/is-svg-4.4.0.tgz",
- "integrity": "sha512-v+AgVwiK5DsGtT9ng+m4mClp6zDAmwrW8nZi6Gg15qzvBnRWWdfWA1TGaXyCDnWq5g5asofIgMVl3PjKxvk1ug==",
- "dev": true,
- "dependencies": {
- "fast-xml-parser": "^4.1.3"
- },
- "engines": {
- "node": ">=6"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "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,
- "dependencies": {
- "has-symbols": "^1.0.2"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-typed-array": {
- "version": "1.1.12",
- "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.12.tgz",
- "integrity": "sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==",
- "dev": true,
- "dependencies": {
- "which-typed-array": "^1.1.11"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-utf8": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz",
- "integrity": "sha512-rMYPYvCzsXywIsldgLaSoPlw5PfoB/ssr7hY4pLfcodrA5M/eArza1a9VmTiNIBNMjOGr1Ow9mTyU2o69U6U9Q==",
- "dev": true
- },
- "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/is-windows": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz",
- "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "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/isobject": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz",
- "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/isurl": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/isurl/-/isurl-1.0.0.tgz",
- "integrity": "sha512-1P/yWsxPlDtn7QeRD+ULKQPaIaN6yF368GZ2vDfv0AL0NwpStafjWCDDdn0k8wgFMWpVAqG7oJhxHnlud42i9w==",
- "dev": true,
- "dependencies": {
- "has-to-string-tag-x": "^1.2.0",
- "is-object": "^1.0.1"
- },
- "engines": {
- "node": ">= 4"
- }
- },
- "node_modules/jackspeak": {
- "version": "2.3.6",
- "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz",
- "integrity": "sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==",
- "dev": true,
- "dependencies": {
- "@isaacs/cliui": "^8.0.2"
- },
- "engines": {
- "node": ">=14"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- },
- "optionalDependencies": {
- "@pkgjs/parseargs": "^0.11.0"
- }
- },
- "node_modules/jest-worker": {
- "version": "27.5.1",
- "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz",
- "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@types/node": "*",
- "merge-stream": "^2.0.0",
- "supports-color": "^8.0.0"
- },
- "engines": {
- "node": ">= 10.13.0"
- }
- },
- "node_modules/jest-worker/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,
- "peer": true,
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/jest-worker/node_modules/supports-color": {
- "version": "8.1.1",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz",
- "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "has-flag": "^4.0.0"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/supports-color?sponsor=1"
- }
- },
- "node_modules/jiti": {
- "version": "1.21.0",
- "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.0.tgz",
- "integrity": "sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==",
- "devOptional": true,
- "bin": {
- "jiti": "bin/jiti.js"
- }
- },
- "node_modules/jpegtran-bin": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/jpegtran-bin/-/jpegtran-bin-4.0.0.tgz",
- "integrity": "sha512-2cRl1ism+wJUoYAYFt6O/rLBfpXNWG2dUWbgcEkTt5WGMnqI46eEro8T4C5zGROxKRqyKpCBSdHPvt5UYCtxaQ==",
- "dev": true,
- "hasInstallScript": true,
- "dependencies": {
- "bin-build": "^3.0.0",
- "bin-wrapper": "^4.0.0",
- "logalot": "^2.0.0"
- },
- "bin": {
- "jpegtran": "cli.js"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/js-sha256": {
- "version": "0.9.0",
- "resolved": "https://registry.npmjs.org/js-sha256/-/js-sha256-0.9.0.tgz",
- "integrity": "sha512-sga3MHh9sgQN2+pJ9VYZ+1LPwXOxuBJBA5nrR5/ofPfuiJBE2hnjsaN8se8JznOmGLN2p49Pe5U/ttafcs/apA=="
- },
- "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==",
- "devOptional": true
- },
- "node_modules/js-yaml": {
- "version": "3.14.1",
- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz",
- "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==",
- "dev": true,
- "dependencies": {
- "argparse": "^1.0.7",
- "esprima": "^4.0.0"
- },
- "bin": {
- "js-yaml": "bin/js-yaml.js"
- }
- },
- "node_modules/jsesc": {
- "version": "2.5.2",
- "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",
- "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==",
- "devOptional": true,
- "bin": {
- "jsesc": "bin/jsesc"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "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/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==",
- "dev": true,
- "peer": true
- },
- "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==",
- "devOptional": true,
- "bin": {
- "json5": "lib/cli.js"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/jsonc-parser": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz",
- "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==",
- "optional": true
- },
- "node_modules/katex": {
- "version": "0.16.9",
- "resolved": "https://registry.npmjs.org/katex/-/katex-0.16.9.tgz",
- "integrity": "sha512-fsSYjWS0EEOwvy81j3vRA8TEAhQhKiqO+FQaKWp0m39qwOzHVBgAUBIXWj1pB+O2W3fIpNa6Y9KSKCVbfPhyAQ==",
- "funding": [
- "https://opencollective.com/katex",
- "https://github.com/sponsors/katex"
- ],
- "peer": true,
- "dependencies": {
- "commander": "^8.3.0"
- },
- "bin": {
- "katex": "cli.js"
- }
- },
- "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,
- "dependencies": {
- "json-buffer": "3.0.1"
- }
- },
- "node_modules/kind-of": {
- "version": "6.0.3",
- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz",
- "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/klona": {
- "version": "2.0.6",
- "resolved": "https://registry.npmjs.org/klona/-/klona-2.0.6.tgz",
- "integrity": "sha512-dhG34DXATL5hSxJbIexCft8FChFXtmskoZYnoPWjXQuebWYCNkVeV3KkGegCK9CP1oswI/vQibS2GY7Em/sJJA==",
- "dev": true,
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/knitwork": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/knitwork/-/knitwork-1.0.0.tgz",
- "integrity": "sha512-dWl0Dbjm6Xm+kDxhPQJsCBTxrJzuGl0aP9rhr+TG8D3l+GL90N8O8lYUi7dTSAN2uuDqCtNgb6aEuQH5wsiV8Q==",
- "optional": true
- },
- "node_modules/laravel-vite-plugin": {
- "version": "0.7.8",
- "resolved": "https://registry.npmjs.org/laravel-vite-plugin/-/laravel-vite-plugin-0.7.8.tgz",
- "integrity": "sha512-HWYqpQYHR3kEQ1LsHX7gHJoNNf0bz5z5mDaHBLzS+PGLCTmYqlU5/SZyeEgObV7z7bC/cnStYcY9H1DI1D5Udg==",
- "dev": true,
- "dependencies": {
- "picocolors": "^1.0.0",
- "vite-plugin-full-reload": "^1.0.5"
- },
- "engines": {
- "node": ">=14"
- },
- "peerDependencies": {
- "vite": "^3.0.0 || ^4.0.0"
- }
- },
- "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": ">= 0.8.0"
- }
- },
- "node_modules/libphonenumber-js": {
- "version": "1.10.52",
- "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.10.52.tgz",
- "integrity": "sha512-6vCuCHgem+OW1/VCAKgkasfegItCea8zIT7s9/CG/QxdCMIM7GfzbEBG5d7lGO3rzipjt5woOQL3DiHa8Fy78Q=="
- },
- "node_modules/lie": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/lie/-/lie-3.1.1.tgz",
- "integrity": "sha512-RiNhHysUjhrDQntfYSfY4MU24coXXdEOgw9WGcKHNeEwffDYbF//u87M1EWaMGzuFoSbqW0C9C6lEEhDOAswfw==",
- "dependencies": {
- "immediate": "~3.0.5"
- }
- },
- "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": ">=10"
- }
- },
- "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==",
- "dev": true
- },
- "node_modules/load-json-file": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz",
- "integrity": "sha512-cy7ZdNRXdablkXYNI049pthVeXFurRyb9+hA/dZzerZ0pGTx42z+y+ssxBaVV2l70t1muq5IdKhn4UtcoGUY9A==",
- "dev": true,
- "dependencies": {
- "graceful-fs": "^4.1.2",
- "parse-json": "^2.2.0",
- "pify": "^2.0.0",
- "pinkie-promise": "^2.0.0",
- "strip-bom": "^2.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/load-json-file/node_modules/pify": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
- "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/loader-runner": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz",
- "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==",
- "dev": true,
- "peer": true,
- "engines": {
- "node": ">=6.11.5"
- }
- },
- "node_modules/loader-utils": {
- "version": "1.4.2",
- "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.2.tgz",
- "integrity": "sha512-I5d00Pd/jwMD2QCduo657+YM/6L3KZu++pmX9VFncxaxvHcru9jx1lBaFft+r4Mt2jK0Yhp41XlRAihzPxHNCg==",
- "dev": true,
- "dependencies": {
- "big.js": "^5.2.2",
- "emojis-list": "^3.0.0",
- "json5": "^1.0.1"
- },
- "engines": {
- "node": ">=4.0.0"
- }
- },
- "node_modules/loader-utils/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/local-pkg": {
- "version": "0.5.0",
- "resolved": "https://registry.npmjs.org/local-pkg/-/local-pkg-0.5.0.tgz",
- "integrity": "sha512-ok6z3qlYyCDS4ZEU27HaU6x/xZa9Whf8jD4ptH5UZTQYZVYeb9bnZ3ojVhiJNLiXK1Hfc0GNbLXcmZ5plLDDBg==",
- "optional": true,
- "dependencies": {
- "mlly": "^1.4.2",
- "pkg-types": "^1.0.3"
- },
- "engines": {
- "node": ">=14"
- },
- "funding": {
- "url": "https://github.com/sponsors/antfu"
- }
- },
- "node_modules/localforage": {
- "version": "1.10.0",
- "resolved": "https://registry.npmjs.org/localforage/-/localforage-1.10.0.tgz",
- "integrity": "sha512-14/H1aX7hzBBmmh7sGPd+AOMkkIrHM3Z1PAyGgZigA1H1p5O5ANnMyWzvpAETtG68/dC4pC0ncy3+PPGzXZHPg==",
- "dependencies": {
- "lie": "3.1.1"
- }
- },
- "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": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/lodash": {
- "version": "4.17.21",
- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
- "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==",
- "dev": true
- },
- "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.map": {
- "version": "4.6.0",
- "resolved": "https://registry.npmjs.org/lodash.map/-/lodash.map-4.6.0.tgz",
- "integrity": "sha512-worNHGKLDetmcEYDvh2stPCrrQRkP20E4l0iIS7F8EvzMqBBi7ltvFN5m1HvTf1P7Jk1txKhvFcmYsCr8O2F1Q==",
- "dev": 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/lodash.truncate": {
- "version": "4.4.2",
- "resolved": "https://registry.npmjs.org/lodash.truncate/-/lodash.truncate-4.4.2.tgz",
- "integrity": "sha512-jttmRe7bRse52OsWIMDLaXxWqRAmtIUccAQ3garviCqJjafXOfNMO0yMfNpdD6zbGaTU0P5Nz7e7gAT6cKmJRw==",
- "dev": true
- },
- "node_modules/logalot": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/logalot/-/logalot-2.1.0.tgz",
- "integrity": "sha512-Ah4CgdSRfeCJagxQhcVNMi9BfGYyEKLa6d7OA6xSbld/Hg3Cf2QiOa1mDpmG7Ve8LOH6DN3mdttzjQAvWTyVkw==",
- "dev": true,
- "dependencies": {
- "figures": "^1.3.5",
- "squeak": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/longest": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz",
- "integrity": "sha512-k+yt5n3l48JU4k8ftnKG6V7u32wyH2NfKzeMto9F/QRE0amxy/LayxwlvjjkZEIzqR+19IrtFO8p5kB9QaYUFg==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/loud-rejection": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz",
- "integrity": "sha512-RPNliZOFkqFumDhvYqOaNY4Uz9oJM2K9tC6JWsJJsNdhuONW4LQHRBpb0qf4pJApVffI5N39SwzWZJuEhfd7eQ==",
- "dev": true,
- "dependencies": {
- "currently-unhandled": "^0.4.1",
- "signal-exit": "^3.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/lowercase-keys": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz",
- "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/lpad-align": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/lpad-align/-/lpad-align-1.1.2.tgz",
- "integrity": "sha512-MMIcFmmR9zlGZtBcFOows6c2COMekHCIFJz3ew/rRpKZ1wR4mXDPzvcVqLarux8M33X4TPSq2Jdw8WJj0q0KbQ==",
- "dev": true,
- "dependencies": {
- "get-stdin": "^4.0.1",
- "indent-string": "^2.1.0",
- "longest": "^1.0.0",
- "meow": "^3.3.0"
- },
- "bin": {
- "lpad-align": "cli.js"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/lru-cache": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
- "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
- "devOptional": true,
- "dependencies": {
- "yallist": "^3.0.2"
- }
- },
- "node_modules/magic-string": {
- "version": "0.27.0",
- "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.27.0.tgz",
- "integrity": "sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==",
- "dev": true,
- "dependencies": {
- "@jridgewell/sourcemap-codec": "^1.4.13"
- },
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/make-dir": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz",
- "integrity": "sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ==",
- "dev": true,
- "dependencies": {
- "pify": "^3.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/make-dir/node_modules/pify": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
- "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/map-cache": {
- "version": "0.2.2",
- "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz",
- "integrity": "sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/map-obj": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz",
- "integrity": "sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/map-visit": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz",
- "integrity": "sha512-4y7uGv8bd2WdM9vpQsiQNo41Ln1NvhvDRuVt0k2JZQ+ezN2uaQes7lZeZ+QQUHOLQAtDaBJ+7wCbi+ab/KFs+w==",
- "dev": true,
- "dependencies": {
- "object-visit": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/mdn-data": {
- "version": "2.0.30",
- "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.30.tgz",
- "integrity": "sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==",
- "dev": true
- },
- "node_modules/meow": {
- "version": "3.7.0",
- "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz",
- "integrity": "sha512-TNdwZs0skRlpPpCUK25StC4VH+tP5GgeY1HQOOGP+lQ2xtdkN2VtT/5tiX9k3IWpkBPV9b3LsAWXn4GGi/PrSA==",
- "dev": true,
- "dependencies": {
- "camelcase-keys": "^2.0.0",
- "decamelize": "^1.1.2",
- "loud-rejection": "^1.0.0",
- "map-obj": "^1.0.1",
- "minimist": "^1.1.3",
- "normalize-package-data": "^2.3.4",
- "object-assign": "^4.0.1",
- "read-pkg-up": "^1.0.1",
- "redent": "^1.0.0",
- "trim-newlines": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/merge-images": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/merge-images/-/merge-images-1.2.0.tgz",
- "integrity": "sha512-hEGvgnTdXr08uzGvEArxRsKpy7WmozM73YaSi4s5IYF4LxrhANpqfHaz9CgBZ5+0+s2NsjPnPdStz3aCc0Yulw=="
- },
- "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,
- "peer": 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==",
- "devOptional": true,
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/micromatch": {
- "version": "4.0.5",
- "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz",
- "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==",
- "devOptional": true,
- "dependencies": {
- "braces": "^3.0.2",
- "picomatch": "^2.3.1"
- },
- "engines": {
- "node": ">=8.6"
- }
- },
- "node_modules/mime-db": {
- "version": "1.52.0",
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
- "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
- "dev": true,
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/mime-types": {
- "version": "2.1.35",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
- "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "mime-db": "1.52.0"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/mimic-response": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz",
- "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==",
- "dev": true,
- "engines": {
- "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": "4.2.8",
- "resolved": "https://registry.npmjs.org/minipass/-/minipass-4.2.8.tgz",
- "integrity": "sha512-fNzuVyifolSLFL4NzpF+wEF4qrgqaaKX0haXPQEdQ7NKAN+WecoKMHV09YcuL/DHxrUsYQOK3MiuDf7Ip2OXfQ==",
- "dev": true,
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/minizlib": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz",
- "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==",
- "optional": true,
- "dependencies": {
- "minipass": "^3.0.0",
- "yallist": "^4.0.0"
- },
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/minizlib/node_modules/minipass": {
- "version": "3.3.6",
- "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz",
- "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==",
- "optional": true,
- "dependencies": {
- "yallist": "^4.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/minizlib/node_modules/yallist": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
- "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
- "optional": true
- },
- "node_modules/mitt": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.1.tgz",
- "integrity": "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw=="
- },
- "node_modules/mixin-deep": {
- "version": "1.3.2",
- "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz",
- "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==",
- "dev": true,
- "dependencies": {
- "for-in": "^1.0.2",
- "is-extendable": "^1.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/mkdirp": {
- "version": "0.5.6",
- "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz",
- "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==",
- "dev": true,
- "dependencies": {
- "minimist": "^1.2.6"
- },
- "bin": {
- "mkdirp": "bin/cmd.js"
- }
- },
- "node_modules/mlly": {
- "version": "1.4.2",
- "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.4.2.tgz",
- "integrity": "sha512-i/Ykufi2t1EZ6NaPLdfnZk2AX8cs0d+mTzVKuPfqPKPatxLApaBoxJQ9x1/uckXtrS/U5oisPMDkNs0yQTaBRg==",
- "optional": true,
- "dependencies": {
- "acorn": "^8.10.0",
- "pathe": "^1.1.1",
- "pkg-types": "^1.0.3",
- "ufo": "^1.3.0"
- }
- },
- "node_modules/mlly/node_modules/acorn": {
- "version": "8.11.2",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz",
- "integrity": "sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==",
- "optional": true,
- "bin": {
- "acorn": "bin/acorn"
- },
- "engines": {
- "node": ">=0.4.0"
- }
- },
- "node_modules/mri": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/mri/-/mri-1.2.0.tgz",
- "integrity": "sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==",
- "optional": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/ms": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
- "devOptional": true
- },
- "node_modules/mz": {
- "version": "2.7.0",
- "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz",
- "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==",
- "dev": true,
- "dependencies": {
- "any-promise": "^1.0.0",
- "object-assign": "^4.0.1",
- "thenify-all": "^1.0.0"
- }
- },
- "node_modules/nanoid": {
- "version": "3.3.7",
- "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz",
- "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==",
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "bin": {
- "nanoid": "bin/nanoid.cjs"
- },
- "engines": {
- "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
- }
- },
- "node_modules/nanomatch": {
- "version": "1.2.13",
- "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz",
- "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==",
- "dev": true,
- "dependencies": {
- "arr-diff": "^4.0.0",
- "array-unique": "^0.3.2",
- "define-property": "^2.0.2",
- "extend-shallow": "^3.0.2",
- "fragment-cache": "^0.2.1",
- "is-windows": "^1.0.2",
- "kind-of": "^6.0.2",
- "object.pick": "^1.3.0",
- "regex-not": "^1.0.0",
- "snapdragon": "^0.8.1",
- "to-regex": "^3.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "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/neo-async": {
- "version": "2.6.2",
- "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz",
- "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==",
- "dev": true
- },
- "node_modules/next-tick": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.1.0.tgz",
- "integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==",
- "dev": true
- },
- "node_modules/nice-try": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz",
- "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==",
- "dev": true
- },
- "node_modules/node-fetch": {
- "version": "2.7.0",
- "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz",
- "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==",
- "dev": true,
- "dependencies": {
- "whatwg-url": "^5.0.0"
- },
- "engines": {
- "node": "4.x || >=6.0.0"
- },
- "peerDependencies": {
- "encoding": "^0.1.0"
- },
- "peerDependenciesMeta": {
- "encoding": {
- "optional": true
- }
- }
- },
- "node_modules/node-fetch-native": {
- "version": "1.5.1",
- "resolved": "https://registry.npmjs.org/node-fetch-native/-/node-fetch-native-1.5.1.tgz",
- "integrity": "sha512-KNVu95aIrNzw7v1aKyVv/nC2kHUqNzgBnFuMTemhHnk7djEMtLjaJSDCB8h2VVgKL5s+NAcvBlZ2OIHLP0RC/Q==",
- "optional": true
- },
- "node_modules/node-releases": {
- "version": "2.0.14",
- "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz",
- "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==",
- "devOptional": true
- },
- "node_modules/normalize-package-data": {
- "version": "2.5.0",
- "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz",
- "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==",
- "dev": true,
- "dependencies": {
- "hosted-git-info": "^2.1.4",
- "resolve": "^1.10.0",
- "semver": "2 || 3 || 4 || 5",
- "validate-npm-package-license": "^3.0.1"
- }
- },
- "node_modules/normalize-package-data/node_modules/semver": {
- "version": "5.7.2",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz",
- "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==",
- "dev": true,
- "bin": {
- "semver": "bin/semver"
- }
- },
- "node_modules/normalize-path": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
- "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
- "devOptional": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/normalize-range": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz",
- "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/normalize-url": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-2.0.1.tgz",
- "integrity": "sha512-D6MUW4K/VzoJ4rJ01JFKxDrtY1v9wrgzCX5f2qj/lzH1m/lW6MhUZFKerVsnyjOhOsYzI9Kqqak+10l4LvLpMw==",
- "dev": true,
- "dependencies": {
- "prepend-http": "^2.0.0",
- "query-string": "^5.0.1",
- "sort-keys": "^2.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/normalize-url/node_modules/prepend-http": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz",
- "integrity": "sha512-ravE6m9Atw9Z/jjttRUZ+clIXogdghyZAuWJ3qEzjT+jI/dL1ifAqhZeC5VHzQp1MSt1+jxKkFNemj/iO7tVUA==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/normalize-url/node_modules/sort-keys": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-2.0.0.tgz",
- "integrity": "sha512-/dPCrG1s3ePpWm6yBbxZq5Be1dXGLyLn9Z791chDC3NFrpkVbWGzkBwPN1knaciexFXgRJ7hzdnwZ4stHSDmjg==",
- "dev": true,
- "dependencies": {
- "is-plain-obj": "^1.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/npm-conf": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/npm-conf/-/npm-conf-1.1.3.tgz",
- "integrity": "sha512-Yic4bZHJOt9RCFbRP3GgpqhScOY4HH3V2P8yBj6CeYq118Qr+BLXqT2JvpJ00mryLESpgOxf5XlFv4ZjXxLScw==",
- "dev": true,
- "dependencies": {
- "config-chain": "^1.1.11",
- "pify": "^3.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/npm-conf/node_modules/pify": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
- "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/npm-run-path": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz",
- "integrity": "sha512-lJxZYlT4DW/bRUtFh1MQIWqmLwQfAxnqWG4HhEdjMlkrJYnJn0Jrr2u3mgxqaWsdiBc76TYkTG/mhrnYTuzfHw==",
- "dev": true,
- "dependencies": {
- "path-key": "^2.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/npm-run-path/node_modules/path-key": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",
- "integrity": "sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/nth-check": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz",
- "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==",
- "dev": true,
- "dependencies": {
- "boolbase": "^1.0.0"
- },
- "funding": {
- "url": "https://github.com/fb55/nth-check?sponsor=1"
- }
- },
- "node_modules/object-assign": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
- "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/object-copy": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz",
- "integrity": "sha512-79LYn6VAb63zgtmAteVOWo9Vdj71ZVBy3Pbse+VqxDpEP83XuujMrGqHIwAXJ5I/aM0zU7dIyIAhifVTPrNItQ==",
- "dev": true,
- "dependencies": {
- "copy-descriptor": "^0.1.0",
- "define-property": "^0.2.5",
- "kind-of": "^3.0.3"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/object-copy/node_modules/define-property": {
- "version": "0.2.5",
- "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
- "integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==",
- "dev": true,
- "dependencies": {
- "is-descriptor": "^0.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/object-copy/node_modules/is-descriptor": {
- "version": "0.1.7",
- "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.7.tgz",
- "integrity": "sha512-C3grZTvObeN1xud4cRWl366OMXZTj0+HGyk4hvfpx4ZHt1Pb60ANSXqCK7pdOTeUQpRzECBSTphqvD7U+l22Eg==",
- "dev": true,
- "dependencies": {
- "is-accessor-descriptor": "^1.0.1",
- "is-data-descriptor": "^1.0.1"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/object-copy/node_modules/kind-of": {
- "version": "3.2.2",
- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
- "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==",
- "dev": true,
- "dependencies": {
- "is-buffer": "^1.1.5"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/object-hash": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz",
- "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==",
- "dev": true,
- "engines": {
- "node": ">= 6"
- }
- },
- "node_modules/object-inspect": {
- "version": "1.13.1",
- "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz",
- "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==",
- "dev": true,
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/object-is": {
- "version": "1.1.5",
- "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.5.tgz",
- "integrity": "sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==",
- "dependencies": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.1.3"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/object-keys": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
- "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/object-visit": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz",
- "integrity": "sha512-GBaMwwAVK9qbQN3Scdo0OyvgPW7l3lnaVMj84uTOZlswkX0KpF6fyDBJhtTthf7pymztoN36/KEr1DyhF96zEA==",
- "dev": true,
- "dependencies": {
- "isobject": "^3.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "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.fromentries": {
- "version": "2.0.7",
- "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.7.tgz",
- "integrity": "sha512-UPbPHML6sL8PI/mOqPwsH4G6iyXcCGzLin8KvEPenOZN5lpCNBZZQ+V62vdjB1mQHrmqGQt5/OJzemUA+KJmEA==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.2.0",
- "es-abstract": "^1.22.1"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/object.getownpropertydescriptors": {
- "version": "2.1.7",
- "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.7.tgz",
- "integrity": "sha512-PrJz0C2xJ58FNn11XV2lr4Jt5Gzl94qpy9Lu0JlfEj14z88sqbSBJCBEzdlNUCzY2gburhbrwOZ5BHCmuNUy0g==",
- "dev": true,
- "dependencies": {
- "array.prototype.reduce": "^1.0.6",
- "call-bind": "^1.0.2",
- "define-properties": "^1.2.0",
- "es-abstract": "^1.22.1",
- "safe-array-concat": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.8"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/object.groupby": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.1.tgz",
- "integrity": "sha512-HqaQtqLnp/8Bn4GL16cj+CUYbnpe1bh0TtEaWvybszDG4tgxCJuRpV8VGuvNaI1fAnI4lUJzDG55MXcOH4JZcQ==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.2.0",
- "es-abstract": "^1.22.1",
- "get-intrinsic": "^1.2.1"
- }
- },
- "node_modules/object.pick": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz",
- "integrity": "sha512-tqa/UMy/CCoYmj+H5qc07qvSL9dqcs/WZENZ1JbtWBlATP+iVOe778gE6MSijnyCnORzDuX6hU+LA4SZ09YjFQ==",
- "dev": true,
- "dependencies": {
- "isobject": "^3.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/object.values": {
- "version": "1.1.7",
- "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.7.tgz",
- "integrity": "sha512-aU6xnDFYT3x17e/f0IiiwlGPTy2jzMySGfUB4fq6z7CV8l85CWHDk5ErhyhpfDHhrOMwGFhSQkhMGHaIotA6Ng==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.2.0",
- "es-abstract": "^1.22.1"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/ohash": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/ohash/-/ohash-1.1.3.tgz",
- "integrity": "sha512-zuHHiGTYTA1sYJ/wZN+t5HKZaH23i4yI1HMwbuXm24Nid7Dv0KcuRlKoNKS9UNfAVSBlnGLcuQrnOKWOZoEGaw==",
- "optional": 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/optionator": {
- "version": "0.9.3",
- "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz",
- "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==",
- "dev": true,
- "dependencies": {
- "@aashutoshrathi/word-wrap": "^1.2.3",
- "deep-is": "^0.1.3",
- "fast-levenshtein": "^2.0.6",
- "levn": "^0.4.1",
- "prelude-ls": "^1.2.1",
- "type-check": "^0.4.0"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/optipng-bin": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/optipng-bin/-/optipng-bin-5.1.0.tgz",
- "integrity": "sha512-9baoqZTNNmXQjq/PQTWEXbVV3AMO2sI/GaaqZJZ8SExfAzjijeAP7FEeT+TtyumSw7gr0PZtSUYB/Ke7iHQVKA==",
- "dev": true,
- "hasInstallScript": true,
- "dependencies": {
- "bin-build": "^3.0.0",
- "bin-wrapper": "^4.0.0",
- "logalot": "^2.0.0"
- },
- "bin": {
- "optipng": "cli.js"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/os-filter-obj": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/os-filter-obj/-/os-filter-obj-2.0.0.tgz",
- "integrity": "sha512-uksVLsqG3pVdzzPvmAHpBK0wKxYItuzZr7SziusRPoz67tGV8rL1szZ6IdeUrbqLjGDwApBtN29eEE3IqGHOjg==",
- "dev": true,
- "dependencies": {
- "arch": "^2.1.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/p-cancelable": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-0.3.0.tgz",
- "integrity": "sha512-RVbZPLso8+jFeq1MfNvgXtCRED2raz/dKpacfTNxsx6pLEpEomM7gah6VeHSYV3+vo0OAi4MkArtQcWWXuQoyw==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/p-event": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/p-event/-/p-event-1.3.0.tgz",
- "integrity": "sha512-hV1zbA7gwqPVFcapfeATaNjQ3J0NuzorHPyG8GPL9g/Y/TplWVBVoCKCXL6Ej2zscrCEv195QNWJXuBH6XZuzA==",
- "dev": true,
- "dependencies": {
- "p-timeout": "^1.1.1"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/p-finally": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz",
- "integrity": "sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/p-is-promise": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/p-is-promise/-/p-is-promise-1.1.0.tgz",
- "integrity": "sha512-zL7VE4JVS2IFSkR2GQKDSPEVxkoH43/p7oEnwpdCndKYJO0HVeRB7fA8TJwuLOTBREtK0ea8eHaxdwcpob5dmg==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "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/p-map-series": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/p-map-series/-/p-map-series-1.0.0.tgz",
- "integrity": "sha512-4k9LlvY6Bo/1FcIdV33wqZQES0Py+iKISU9Uc8p8AjWoZPnFKMpVIVD3s0EYn4jzLh1I+WeUZkJ0Yoa4Qfw3Kg==",
- "dev": true,
- "dependencies": {
- "p-reduce": "^1.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/p-pipe": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/p-pipe/-/p-pipe-1.2.0.tgz",
- "integrity": "sha512-IA8SqjIGA8l9qOksXJvsvkeQ+VGb0TAzNCzvKvz9wt5wWLqfWbV6fXy43gpR2L4Te8sOq3S+Ql9biAaMKPdbtw==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/p-reduce": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/p-reduce/-/p-reduce-1.0.0.tgz",
- "integrity": "sha512-3Tx1T3oM1xO/Y8Gj0sWyE78EIJZ+t+aEmXUdvQgvGmSMri7aPTHoovbXEreWKkL5j21Er60XAWLTzKbAKYOujQ==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/p-timeout": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-1.2.1.tgz",
- "integrity": "sha512-gb0ryzr+K2qFqFv6qi3khoeqMZF/+ajxQipEF6NteZVnvz9tzdsfAVj3lYtn1gAXvH5lfLwfxEII799gt/mRIA==",
- "dev": true,
- "dependencies": {
- "p-finally": "^1.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/p-try": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
- "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/parchment": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/parchment/-/parchment-1.1.4.tgz",
- "integrity": "sha512-J5FBQt/pM2inLzg4hEWmzQx/8h8D0CiDxaG3vyp9rKrQRSDgBlhjdP5jQGgosEajXPSQouXGHOmVdgo7QmJuOg=="
- },
- "node_modules/parent-module": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
- "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
- "dev": true,
- "dependencies": {
- "callsites": "^3.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/parse-json": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz",
- "integrity": "sha512-QR/GGaKCkhwk1ePQNYDRKYZ3mwU9ypsKhB0XyFnLQdomyEqk3e8wpW3V5Jp88zbxK4n5ST1nqo+g9juTpownhQ==",
- "dev": true,
- "dependencies": {
- "error-ex": "^1.2.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/pascalcase": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz",
- "integrity": "sha512-XHXfu/yOQRy9vYOtUDVMN60OEJjW013GoObG1o+xwQTpB9eYJX/BjXMsdW13ZDPruFhYYn0AG22w0xgQMwl3Nw==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/path-dirname": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz",
- "integrity": "sha512-ALzNPpyNq9AqXMBjeymIjFDAkAFH06mHJH/cSBHAgU0s4vfpBn6b2nf8tiRLvagKD8RbTpq2FKTBg7cl9l3c7Q==",
- "dev": true
- },
- "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==",
- "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",
- "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
- "dev": true,
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/path-parse": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
- "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
- "dev": true
- },
- "node_modules/path-scurry": {
- "version": "1.10.1",
- "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.1.tgz",
- "integrity": "sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==",
- "dev": true,
- "dependencies": {
- "lru-cache": "^9.1.1 || ^10.0.0",
- "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0"
- },
- "engines": {
- "node": ">=16 || 14 >=14.17"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
- "node_modules/path-scurry/node_modules/lru-cache": {
- "version": "10.1.0",
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.1.0.tgz",
- "integrity": "sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==",
- "dev": true,
- "engines": {
- "node": "14 || >=16.14"
- }
- },
- "node_modules/path-scurry/node_modules/minipass": {
- "version": "7.0.4",
- "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz",
- "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==",
- "dev": true,
- "engines": {
- "node": ">=16 || 14 >=14.17"
- }
- },
- "node_modules/path-type": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/path-type/-/path-type-5.0.0.tgz",
- "integrity": "sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg==",
- "optional": true,
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/pathe": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/pathe/-/pathe-1.1.1.tgz",
- "integrity": "sha512-d+RQGp0MAYTIaDBIMmOfMwz3E+LOZnxx1HZd5R18mmCZY0QBlK0LDZfPc8FW8Ed2DlvsuE6PRjroDY+wg4+j/Q==",
- "optional": true
- },
- "node_modules/pend": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
- "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==",
- "dev": true
- },
- "node_modules/perfect-debounce": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/perfect-debounce/-/perfect-debounce-1.0.0.tgz",
- "integrity": "sha512-xCy9V055GLEqoFaHoC1SoLIaLmWctgCUaBaWxDZ7/Zx4CTyX7cJQLJOok/orfjZAh9kEYpjJa4d0KcJmCbctZA==",
- "optional": true
- },
- "node_modules/picocolors": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
- "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ=="
- },
- "node_modules/picomatch": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
- "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
- "devOptional": true,
- "engines": {
- "node": ">=8.6"
- },
- "funding": {
- "url": "https://github.com/sponsors/jonschlinkert"
- }
- },
- "node_modules/pify": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",
- "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==",
- "dev": true,
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/pinia": {
- "version": "2.1.7",
- "resolved": "https://registry.npmjs.org/pinia/-/pinia-2.1.7.tgz",
- "integrity": "sha512-+C2AHFtcFqjPih0zpYuvof37SFxMQ7OEG2zV9jRI12i9BOy3YQVAHwdKtyyc8pDcDyIc33WCIsZaCFWU7WWxGQ==",
- "dependencies": {
- "@vue/devtools-api": "^6.5.0",
- "vue-demi": ">=0.14.5"
- },
- "funding": {
- "url": "https://github.com/sponsors/posva"
- },
- "peerDependencies": {
- "@vue/composition-api": "^1.4.0",
- "typescript": ">=4.4.4",
- "vue": "^2.6.14 || ^3.3.0"
- },
- "peerDependenciesMeta": {
- "@vue/composition-api": {
- "optional": true
- },
- "typescript": {
- "optional": true
- }
- }
- },
- "node_modules/pinia/node_modules/vue-demi": {
- "version": "0.14.6",
- "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.6.tgz",
- "integrity": "sha512-8QA7wrYSHKaYgUxDA5ZC24w+eHm3sYCbp0EzcDwKqN3p6HqtTCGR/GVsPyZW92unff4UlcSh++lmqDWN3ZIq4w==",
- "hasInstallScript": true,
- "bin": {
- "vue-demi-fix": "bin/vue-demi-fix.js",
- "vue-demi-switch": "bin/vue-demi-switch.js"
- },
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/sponsors/antfu"
- },
- "peerDependencies": {
- "@vue/composition-api": "^1.0.0-rc.1",
- "vue": "^3.0.0-0 || ^2.6.0"
- },
- "peerDependenciesMeta": {
- "@vue/composition-api": {
- "optional": true
- }
- }
- },
- "node_modules/pinkie": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz",
- "integrity": "sha512-MnUuEycAemtSaeFSjXKW/aroV7akBbY+Sv+RkyqFjgAe73F+MR0TBWKBRDkmfWq/HiFmdavfZ1G7h4SPZXaCSg==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/pinkie-promise": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz",
- "integrity": "sha512-0Gni6D4UcLTbv9c57DfxDGdr41XfgUjqWZu492f0cIGr16zDU06BWP/RAEvOuo7CQ0CNjHaLlM59YJJFm3NWlw==",
- "dev": true,
- "dependencies": {
- "pinkie": "^2.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/pirates": {
- "version": "4.0.6",
- "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz",
- "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==",
- "dev": true,
- "engines": {
- "node": ">= 6"
- }
- },
- "node_modules/pkg-types": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-1.0.3.tgz",
- "integrity": "sha512-nN7pYi0AQqJnoLPC9eHFQ8AcyaixBUOwvqc5TDnIKCMEE6I0y8P7OKA7fPexsXGCGxQDl/cmrLAp26LhcwxZ4A==",
- "optional": true,
- "dependencies": {
- "jsonc-parser": "^3.2.0",
- "mlly": "^1.2.0",
- "pathe": "^1.1.0"
- }
- },
- "node_modules/pngjs": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/pngjs/-/pngjs-5.0.0.tgz",
- "integrity": "sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw==",
- "engines": {
- "node": ">=10.13.0"
- }
- },
- "node_modules/pngquant-bin": {
- "version": "5.0.2",
- "resolved": "https://registry.npmjs.org/pngquant-bin/-/pngquant-bin-5.0.2.tgz",
- "integrity": "sha512-OLdT+4JZx5BqE1CFJkrvomYV0aSsv6x2Bba+aWaVc0PMfWlE+ZByNKYAdKeIqsM4uvW1HOSEHnf8KcOnykPNxA==",
- "dev": true,
- "hasInstallScript": true,
- "dependencies": {
- "bin-build": "^3.0.0",
- "bin-wrapper": "^4.0.1",
- "execa": "^0.10.0",
- "logalot": "^2.0.0"
- },
- "bin": {
- "pngquant": "cli.js"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/pngquant-bin/node_modules/cross-spawn": {
- "version": "6.0.5",
- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
- "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",
- "dev": true,
- "dependencies": {
- "nice-try": "^1.0.4",
- "path-key": "^2.0.1",
- "semver": "^5.5.0",
- "shebang-command": "^1.2.0",
- "which": "^1.2.9"
- },
- "engines": {
- "node": ">=4.8"
- }
- },
- "node_modules/pngquant-bin/node_modules/execa": {
- "version": "0.10.0",
- "resolved": "https://registry.npmjs.org/execa/-/execa-0.10.0.tgz",
- "integrity": "sha512-7XOMnz8Ynx1gGo/3hyV9loYNPWM94jG3+3T3Y8tsfSstFmETmENCMU/A/zj8Lyaj1lkgEepKepvd6240tBRvlw==",
- "dev": true,
- "dependencies": {
- "cross-spawn": "^6.0.0",
- "get-stream": "^3.0.0",
- "is-stream": "^1.1.0",
- "npm-run-path": "^2.0.0",
- "p-finally": "^1.0.0",
- "signal-exit": "^3.0.0",
- "strip-eof": "^1.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/pngquant-bin/node_modules/path-key": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",
- "integrity": "sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/pngquant-bin/node_modules/semver": {
- "version": "5.7.2",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz",
- "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==",
- "dev": true,
- "bin": {
- "semver": "bin/semver"
- }
- },
- "node_modules/pngquant-bin/node_modules/shebang-command": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",
- "integrity": "sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==",
- "dev": true,
- "dependencies": {
- "shebang-regex": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/pngquant-bin/node_modules/shebang-regex": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz",
- "integrity": "sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/pngquant-bin/node_modules/which": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
- "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",
- "dev": true,
- "dependencies": {
- "isexe": "^2.0.0"
- },
- "bin": {
- "which": "bin/which"
- }
- },
- "node_modules/popmotion": {
- "version": "11.0.5",
- "resolved": "https://registry.npmjs.org/popmotion/-/popmotion-11.0.5.tgz",
- "integrity": "sha512-la8gPM1WYeFznb/JqF4GiTkRRPZsfaj2+kCxqQgr2MJylMmIKUwBfWW8Wa5fml/8gmtlD5yI01MP1QCZPWmppA==",
- "dependencies": {
- "framesync": "6.1.2",
- "hey-listen": "^1.0.8",
- "style-value-types": "5.1.2",
- "tslib": "2.4.0"
- }
- },
- "node_modules/popmotion/node_modules/tslib": {
- "version": "2.4.0",
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz",
- "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ=="
- },
- "node_modules/posix-character-classes": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz",
- "integrity": "sha512-xTgYBc3fuo7Yt7JbiuFxSYGToMoz8fLoE6TC9Wx1P/u+LfeThMOAqmuyECnlBaaJb+u1m9hHiXUEtwW4OzfUJg==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/postcss": {
- "version": "8.4.32",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.32.tgz",
- "integrity": "sha512-D/kj5JNu6oo2EIy+XL/26JEDTlIbB8hw85G8StOE6L74RQAVVP5rej6wxCNqyMbR4RkPfqvezVbPw81Ngd6Kcw==",
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/postcss/"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/postcss"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "dependencies": {
- "nanoid": "^3.3.7",
- "picocolors": "^1.0.0",
- "source-map-js": "^1.0.2"
- },
- "engines": {
- "node": "^10 || ^12 || >=14"
- }
- },
- "node_modules/postcss-import": {
- "version": "15.1.0",
- "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz",
- "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==",
- "dev": true,
- "dependencies": {
- "postcss-value-parser": "^4.0.0",
- "read-cache": "^1.0.0",
- "resolve": "^1.1.7"
- },
- "engines": {
- "node": ">=14.0.0"
- },
- "peerDependencies": {
- "postcss": "^8.0.0"
- }
- },
- "node_modules/postcss-js": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.0.1.tgz",
- "integrity": "sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==",
- "dev": true,
- "dependencies": {
- "camelcase-css": "^2.0.1"
- },
- "engines": {
- "node": "^12 || ^14 || >= 16"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/postcss/"
- },
- "peerDependencies": {
- "postcss": "^8.4.21"
- }
- },
- "node_modules/postcss-load-config": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.2.tgz",
- "integrity": "sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==",
- "dev": true,
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/postcss/"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "dependencies": {
- "lilconfig": "^3.0.0",
- "yaml": "^2.3.4"
- },
- "engines": {
- "node": ">= 14"
- },
- "peerDependencies": {
- "postcss": ">=8.0.9",
- "ts-node": ">=9.0.0"
- },
- "peerDependenciesMeta": {
- "postcss": {
- "optional": true
- },
- "ts-node": {
- "optional": true
- }
- }
- },
- "node_modules/postcss-load-config/node_modules/lilconfig": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.0.0.tgz",
- "integrity": "sha512-K2U4W2Ff5ibV7j7ydLr+zLAkIg5JJ4lPn1Ltsdt+Tz/IjQ8buJ55pZAxoP34lqIiwtF9iAvtLv3JGv7CAyAg+g==",
- "dev": true,
- "engines": {
- "node": ">=14"
- }
- },
- "node_modules/postcss-nested": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.0.1.tgz",
- "integrity": "sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==",
- "dev": true,
- "dependencies": {
- "postcss-selector-parser": "^6.0.11"
- },
- "engines": {
- "node": ">=12.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/postcss/"
- },
- "peerDependencies": {
- "postcss": "^8.2.14"
- }
- },
- "node_modules/postcss-selector-parser": {
- "version": "6.0.13",
- "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz",
- "integrity": "sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==",
- "dev": true,
- "dependencies": {
- "cssesc": "^3.0.0",
- "util-deprecate": "^1.0.2"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/postcss-value-parser": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz",
- "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==",
- "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/prepend-http": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz",
- "integrity": "sha512-PhmXi5XmoyKw1Un4E+opM2KcsJInDvKyuOumcjjw3waw86ZNjHwVUOOWLc4bCzLdcKNaWBH9e99sbWzDQsVaYg==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/prismjs": {
- "version": "1.29.0",
- "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.29.0.tgz",
- "integrity": "sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/process-nextick-args": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",
- "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==",
- "dev": true
- },
- "node_modules/progress": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
- "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==",
- "dev": true,
- "engines": {
- "node": ">=0.4.0"
- }
- },
- "node_modules/proto-list": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz",
- "integrity": "sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==",
- "dev": true
- },
- "node_modules/proxy-from-env": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
- "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==",
- "dev": true
- },
- "node_modules/pseudomap": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz",
- "integrity": "sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==",
- "dev": true
- },
- "node_modules/pump": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
- "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
- "dev": true,
- "dependencies": {
- "end-of-stream": "^1.1.0",
- "once": "^1.3.1"
- }
- },
- "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/q": {
- "version": "1.5.1",
- "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz",
- "integrity": "sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw==",
- "dev": true,
- "engines": {
- "node": ">=0.6.0",
- "teleport": ">=0.2.0"
- }
- },
- "node_modules/qrcode": {
- "version": "1.5.3",
- "resolved": "https://registry.npmjs.org/qrcode/-/qrcode-1.5.3.tgz",
- "integrity": "sha512-puyri6ApkEHYiVl4CFzo1tDkAZ+ATcnbJrJ6RiBM1Fhctdn/ix9MTE3hRph33omisEbC/2fcfemsseiKgBPKZg==",
- "dependencies": {
- "dijkstrajs": "^1.0.1",
- "encode-utf8": "^1.0.3",
- "pngjs": "^5.0.0",
- "yargs": "^15.3.1"
- },
- "bin": {
- "qrcode": "bin/qrcode"
- },
- "engines": {
- "node": ">=10.13.0"
- }
- },
- "node_modules/query-builder-vue-3": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/query-builder-vue-3/-/query-builder-vue-3-1.0.1.tgz",
- "integrity": "sha512-fhEWsluNz8vRtrB8w2gjWeSmRkzn1KcOTv9ay6m6w3kX8yTdEUw0ZUv+0P04uhECoXQ+IZRfR4iUD1ffh3M/IQ==",
- "dependencies": {
- "mitt": "^3.0.0",
- "sortablejs": "^1.14.0",
- "vuedraggable": "^4.1.0"
- },
- "peerDependencies": {
- "vue": "^3.2.20"
- }
- },
- "node_modules/query-string": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/query-string/-/query-string-5.1.1.tgz",
- "integrity": "sha512-gjWOsm2SoGlgLEdAGt7a6slVOk9mGiXmPFMqrEhLQ68rhQuBnpfs3+EmlvqKyxnCo9/PPlF+9MtY02S1aFg+Jw==",
- "dev": true,
- "dependencies": {
- "decode-uri-component": "^0.2.0",
- "object-assign": "^4.1.0",
- "strict-uri-encode": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "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==",
- "devOptional": 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/quill": {
- "version": "1.3.7",
- "resolved": "https://registry.npmjs.org/quill/-/quill-1.3.7.tgz",
- "integrity": "sha512-hG/DVzh/TiknWtE6QmWAF/pxoZKYxfe3J/d/+ShUWkDvvkZQVTPeVmUJVu1uE6DDooC4fWTiCLh84ul89oNz5g==",
- "dependencies": {
- "clone": "^2.1.1",
- "deep-equal": "^1.0.1",
- "eventemitter3": "^2.0.3",
- "extend": "^3.0.2",
- "parchment": "^1.1.4",
- "quill-delta": "^3.6.2"
- }
- },
- "node_modules/quill-delta": {
- "version": "3.6.3",
- "resolved": "https://registry.npmjs.org/quill-delta/-/quill-delta-3.6.3.tgz",
- "integrity": "sha512-wdIGBlcX13tCHOXGMVnnTVFtGRLoP0imqxM696fIPwIf5ODIYUHIvHbZcyvGlZFiFhK5XzDC2lpjbxRhnM05Tg==",
- "dependencies": {
- "deep-equal": "^1.0.1",
- "extend": "^3.0.2",
- "fast-diff": "1.1.2"
- },
- "engines": {
- "node": ">=0.10"
- }
- },
- "node_modules/randombytes": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz",
- "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "safe-buffer": "^5.1.0"
- }
- },
- "node_modules/rc9": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/rc9/-/rc9-2.1.1.tgz",
- "integrity": "sha512-lNeOl38Ws0eNxpO3+wD1I9rkHGQyj1NU1jlzv4go2CtEnEQEUfqnIvZG7W+bC/aXdJ27n5x/yUjb6RoT9tko+Q==",
- "optional": true,
- "dependencies": {
- "defu": "^6.1.2",
- "destr": "^2.0.0",
- "flat": "^5.0.2"
- }
- },
- "node_modules/read-cache": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz",
- "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==",
- "dev": true,
- "dependencies": {
- "pify": "^2.3.0"
- }
- },
- "node_modules/read-cache/node_modules/pify": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
- "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/read-pkg": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz",
- "integrity": "sha512-7BGwRHqt4s/uVbuyoeejRn4YmFnYZiFl4AuaeXHlgZf3sONF0SOGlxs2Pw8g6hCKupo08RafIO5YXFNOKTfwsQ==",
- "dev": true,
- "dependencies": {
- "load-json-file": "^1.0.0",
- "normalize-package-data": "^2.3.2",
- "path-type": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/read-pkg-up": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz",
- "integrity": "sha512-WD9MTlNtI55IwYUS27iHh9tK3YoIVhxis8yKhLpTqWtml739uXc9NWTpxoHkfZf3+DkCCsXox94/VWZniuZm6A==",
- "dev": true,
- "dependencies": {
- "find-up": "^1.0.0",
- "read-pkg": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/read-pkg-up/node_modules/find-up": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz",
- "integrity": "sha512-jvElSjyuo4EMQGoTwo1uJU5pQMwTW5lS1x05zzfJuTIyLR3zwO27LYrxNg+dlvKpGOuGy/MzBdXh80g0ve5+HA==",
- "dev": true,
- "dependencies": {
- "path-exists": "^2.0.0",
- "pinkie-promise": "^2.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/read-pkg-up/node_modules/path-exists": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz",
- "integrity": "sha512-yTltuKuhtNeFJKa1PiRzfLAU5182q1y4Eb4XCJ3PBqyzEDkAZRzBrKKBct682ls9reBVHf9udYLN5Nd+K1B9BQ==",
- "dev": true,
- "dependencies": {
- "pinkie-promise": "^2.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/read-pkg/node_modules/path-type": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz",
- "integrity": "sha512-S4eENJz1pkiQn9Znv33Q+deTOKmbl+jj1Fl+qiP/vYezj+S8x+J3Uo0ISrx/QoEvIlOaDWJhPaRd1flJ9HXZqg==",
- "dev": true,
- "dependencies": {
- "graceful-fs": "^4.1.2",
- "pify": "^2.0.0",
- "pinkie-promise": "^2.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/read-pkg/node_modules/pify": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
- "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/readable-stream": {
- "version": "2.3.8",
- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz",
- "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==",
- "dev": true,
- "dependencies": {
- "core-util-is": "~1.0.0",
- "inherits": "~2.0.3",
- "isarray": "~1.0.0",
- "process-nextick-args": "~2.0.0",
- "safe-buffer": "~5.1.1",
- "string_decoder": "~1.1.1",
- "util-deprecate": "~1.0.1"
- }
- },
- "node_modules/readable-stream/node_modules/isarray": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
- "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==",
- "dev": true
- },
- "node_modules/readable-stream/node_modules/safe-buffer": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
- "dev": true
- },
- "node_modules/readdirp": {
- "version": "3.6.0",
- "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
- "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
- "devOptional": true,
- "dependencies": {
- "picomatch": "^2.2.1"
- },
- "engines": {
- "node": ">=8.10.0"
- }
- },
- "node_modules/redent": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz",
- "integrity": "sha512-qtW5hKzGQZqKoh6JNSD+4lfitfPKGz42e6QwiRmPM5mmKtR0N41AbJRYu0xJi7nhOJ4WDgRkKvAk6tw4WIwR4g==",
- "dev": true,
- "dependencies": {
- "indent-string": "^2.1.0",
- "strip-indent": "^1.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "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/regex-not": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz",
- "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==",
- "dev": true,
- "dependencies": {
- "extend-shallow": "^3.0.2",
- "safe-regex": "^1.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/regex-parser": {
- "version": "2.2.11",
- "resolved": "https://registry.npmjs.org/regex-parser/-/regex-parser-2.2.11.tgz",
- "integrity": "sha512-jbD/FT0+9MBU2XAZluI7w2OBs1RBi6p9M83nkoZayQXXU9e8Robt69FcZc7wU4eJD/YFTjn1JdCk3rbMJajz8Q==",
- "dev": true
- },
- "node_modules/regexp.prototype.flags": {
- "version": "1.5.1",
- "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.1.tgz",
- "integrity": "sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg==",
- "dependencies": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.2.0",
- "set-function-name": "^2.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/regexpp": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz",
- "integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==",
- "dev": true,
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/sponsors/mysticatea"
- }
- },
- "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/repeat-element": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.4.tgz",
- "integrity": "sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/repeat-string": {
- "version": "1.6.1",
- "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz",
- "integrity": "sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==",
- "dev": true,
- "engines": {
- "node": ">=0.10"
- }
- },
- "node_modules/repeating": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz",
- "integrity": "sha512-ZqtSMuVybkISo2OWvqvm7iHSWngvdaW3IpsT9/uP8v4gMi591LY6h35wdOfvQdWCKFWZWm2Y1Opp4kV7vQKT6A==",
- "dev": true,
- "dependencies": {
- "is-finite": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/replace-ext": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-1.0.1.tgz",
- "integrity": "sha512-yD5BHCe7quCgBph4rMQ+0KkIRKwWCrHDOX1p1Gp6HwjPM5kVoCdKGNhN7ydqqsX6lJEnQDKZ/tFMiEdQ1dvPEw==",
- "dev": true,
- "engines": {
- "node": ">= 0.10"
- }
- },
- "node_modules/require-directory": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
- "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/require-from-string": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz",
- "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/require-main-filename": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",
- "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg=="
- },
- "node_modules/resolve": {
- "version": "1.22.8",
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz",
- "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==",
- "dev": true,
- "dependencies": {
- "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/resolve-from": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
- "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/resolve-url": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz",
- "integrity": "sha512-ZuF55hVUQaaczgOIwqWzkEcEidmlD/xl44x1UZnhOXcYuFN2S6+rcxpG+C1N3So0wvNI3DmJICUFfu2SxhBmvg==",
- "deprecated": "https://github.com/lydell/resolve-url#deprecated",
- "dev": true
- },
- "node_modules/resolve-url-loader": {
- "version": "3.1.5",
- "resolved": "https://registry.npmjs.org/resolve-url-loader/-/resolve-url-loader-3.1.5.tgz",
- "integrity": "sha512-mgFMCmrV/tA4738EsFmPFE5/MaqSgUMe8LK971kVEKA/RrNVb7+VqFsg/qmKyythf34eyq476qIobP/gfFBGSQ==",
- "dev": true,
- "dependencies": {
- "adjust-sourcemap-loader": "3.0.0",
- "camelcase": "5.3.1",
- "compose-function": "3.0.3",
- "convert-source-map": "1.7.0",
- "es6-iterator": "2.0.3",
- "loader-utils": "^1.2.3",
- "postcss": "7.0.36",
- "rework": "1.0.1",
- "rework-visit": "1.0.0",
- "source-map": "0.6.1"
- },
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/resolve-url-loader/node_modules/convert-source-map": {
- "version": "1.7.0",
- "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz",
- "integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==",
- "dev": true,
- "dependencies": {
- "safe-buffer": "~5.1.1"
- }
- },
- "node_modules/resolve-url-loader/node_modules/postcss": {
- "version": "7.0.36",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.36.tgz",
- "integrity": "sha512-BebJSIUMwJHRH0HAQoxN4u1CN86glsrwsW0q7T+/m44eXOUAxSNdHRkNZPYz5vVUbg17hFgOQDE7fZk7li3pZw==",
- "dev": true,
- "dependencies": {
- "chalk": "^2.4.2",
- "source-map": "^0.6.1",
- "supports-color": "^6.1.0"
- },
- "engines": {
- "node": ">=6.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/postcss/"
- }
- },
- "node_modules/resolve-url-loader/node_modules/safe-buffer": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
- "dev": true
- },
- "node_modules/resolve-url-loader/node_modules/supports-color": {
- "version": "6.1.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",
- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",
- "dev": true,
- "dependencies": {
- "has-flag": "^3.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/responselike": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz",
- "integrity": "sha512-/Fpe5guzJk1gPqdJLJR5u7eG/gNY4nImjbRDaVWVMRhne55TCmj2i9Q+54PBRfatRC8v/rIiv9BN0pMd9OV5EQ==",
- "dev": true,
- "dependencies": {
- "lowercase-keys": "^1.0.0"
- }
- },
- "node_modules/ret": {
- "version": "0.1.15",
- "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz",
- "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==",
- "dev": true,
- "engines": {
- "node": ">=0.12"
- }
- },
- "node_modules/reusify": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",
- "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",
- "devOptional": true,
- "engines": {
- "iojs": ">=1.0.0",
- "node": ">=0.10.0"
- }
- },
- "node_modules/rework": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/rework/-/rework-1.0.1.tgz",
- "integrity": "sha512-eEjL8FdkdsxApd0yWVZgBGzfCQiT8yqSc2H1p4jpZpQdtz7ohETiDMoje5PlM8I9WgkqkreVxFUKYOiJdVWDXw==",
- "dev": true,
- "dependencies": {
- "convert-source-map": "^0.3.3",
- "css": "^2.0.0"
- }
- },
- "node_modules/rework-visit": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/rework-visit/-/rework-visit-1.0.0.tgz",
- "integrity": "sha512-W6V2fix7nCLUYX1v6eGPrBOZlc03/faqzP4sUxMAJMBMOPYhfV/RyLegTufn5gJKaOITyi+gvf0LXDZ9NzkHnQ==",
- "dev": true
- },
- "node_modules/rework/node_modules/convert-source-map": {
- "version": "0.3.5",
- "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-0.3.5.tgz",
- "integrity": "sha512-+4nRk0k3oEpwUB7/CalD7xE2z4VmtEnnq0GO2IPTkrooTrAhEsWvuLF5iWP1dXrwluki/azwXV1ve7gtYuPldg==",
- "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==",
- "dev": true,
- "dependencies": {
- "glob": "^7.1.3"
- },
- "bin": {
- "rimraf": "bin.js"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
- "node_modules/rimraf/node_modules/glob": {
- "version": "7.2.3",
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
- "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
- "dev": true,
- "dependencies": {
- "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/rollup": {
- "version": "3.29.4",
- "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.4.tgz",
- "integrity": "sha512-oWzmBZwvYrU0iJHtDmhsm662rC15FRXmcjCk1xD771dFDx5jJ02ufAQQTn0etB2emNk4J9EZg/yWKpsn9BWGRw==",
- "devOptional": true,
- "bin": {
- "rollup": "dist/bin/rollup"
- },
- "engines": {
- "node": ">=14.18.0",
- "npm": ">=8.0.0"
- },
- "optionalDependencies": {
- "fsevents": "~2.3.2"
- }
- },
- "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==",
- "devOptional": 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.0.1",
- "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.0.1.tgz",
- "integrity": "sha512-6XbUAseYE2KtOuGueyeobCySj9L4+66Tn6KQMOPQJrAJEowYKW/YR/MGJZl7FdydUdaFu4LYyDZjxf4/Nmo23Q==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.2",
- "get-intrinsic": "^1.2.1",
- "has-symbols": "^1.0.3",
- "isarray": "^2.0.5"
- },
- "engines": {
- "node": ">=0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/safe-buffer": {
- "version": "5.2.1",
- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
- "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
- "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/safe-regex": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz",
- "integrity": "sha512-aJXcif4xnaNUzvUuC5gcb46oTS7zvg4jpMTnuqtrEPlR3vFr4pxtdTwaF1Qs3Enjn9HK+ZlwQui+a7z0SywIzg==",
- "dev": true,
- "dependencies": {
- "ret": "~0.1.10"
- }
- },
- "node_modules/safe-regex-test": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.0.tgz",
- "integrity": "sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.2",
- "get-intrinsic": "^1.1.3",
- "is-regex": "^1.1.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/sass": {
- "version": "1.69.5",
- "resolved": "https://registry.npmjs.org/sass/-/sass-1.69.5.tgz",
- "integrity": "sha512-qg2+UCJibLr2LCVOt3OlPhr/dqVHWOa9XtZf2OjbLs/T4VPSJ00udtgJxH3neXZm+QqX8B+3cU7RaLqp1iVfcQ==",
- "dev": true,
- "dependencies": {
- "chokidar": ">=3.0.0 <4.0.0",
- "immutable": "^4.0.0",
- "source-map-js": ">=0.6.2 <2.0.0"
- },
- "bin": {
- "sass": "sass.js"
- },
- "engines": {
- "node": ">=14.0.0"
- }
- },
- "node_modules/sass-loader": {
- "version": "10.5.1",
- "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-10.5.1.tgz",
- "integrity": "sha512-P8BGIW6OxYLJWaWG8DROibc98Uw/B90oHPYOjPQ5/tF572OTTwkhxSxpaQzD5lYam36zQd0cxjh24b4rcdNIZQ==",
- "dev": true,
- "dependencies": {
- "klona": "^2.0.4",
- "loader-utils": "^2.0.0",
- "neo-async": "^2.6.2",
- "schema-utils": "^3.0.0",
- "semver": "^7.3.2"
- },
- "engines": {
- "node": ">= 10.13.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/webpack"
- },
- "peerDependencies": {
- "fibers": ">= 3.1.0",
- "node-sass": "^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0",
- "sass": "^1.3.0",
- "webpack": "^4.36.0 || ^5.0.0"
- },
- "peerDependenciesMeta": {
- "fibers": {
- "optional": true
- },
- "node-sass": {
- "optional": true
- },
- "sass": {
- "optional": true
- }
- }
- },
- "node_modules/sass-loader/node_modules/loader-utils": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz",
- "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==",
- "dev": true,
- "dependencies": {
- "big.js": "^5.2.2",
- "emojis-list": "^3.0.0",
- "json5": "^2.1.2"
- },
- "engines": {
- "node": ">=8.9.0"
- }
- },
- "node_modules/sass-loader/node_modules/lru-cache": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
- "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
- "dev": true,
- "dependencies": {
- "yallist": "^4.0.0"
- },
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/sass-loader/node_modules/semver": {
- "version": "7.5.4",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz",
- "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==",
- "dev": true,
- "dependencies": {
- "lru-cache": "^6.0.0"
- },
- "bin": {
- "semver": "bin/semver.js"
- },
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/sass-loader/node_modules/yallist": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
- "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
- "dev": true
- },
- "node_modules/sax": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz",
- "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==",
- "dev": true
- },
- "node_modules/schema-utils": {
- "version": "3.3.0",
- "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz",
- "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==",
- "dev": true,
- "dependencies": {
- "@types/json-schema": "^7.0.8",
- "ajv": "^6.12.5",
- "ajv-keywords": "^3.5.2"
- },
- "engines": {
- "node": ">= 10.13.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/webpack"
- }
- },
- "node_modules/scule": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/scule/-/scule-1.1.1.tgz",
- "integrity": "sha512-sHtm/SsIK9BUBI3EFT/Gnp9VoKfY6QLvlkvAE6YK7454IF8FSgJEAnJpVdSC7K5/pjI5NfxhzBLW2JAfYA/shQ==",
- "optional": true
- },
- "node_modules/seek-bzip": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/seek-bzip/-/seek-bzip-1.0.6.tgz",
- "integrity": "sha512-e1QtP3YL5tWww8uKaOCQ18UxIT2laNBXHjV/S2WYCiK4udiv8lkG89KRIoCjUagnAmCBurjF4zEVX2ByBbnCjQ==",
- "dev": true,
- "dependencies": {
- "commander": "^2.8.1"
- },
- "bin": {
- "seek-bunzip": "bin/seek-bunzip",
- "seek-table": "bin/seek-bzip-table"
- }
- },
- "node_modules/seek-bzip/node_modules/commander": {
- "version": "2.20.3",
- "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
- "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
- "dev": true
- },
- "node_modules/semver": {
- "version": "6.3.1",
- "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
- "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
- "devOptional": true,
- "bin": {
- "semver": "bin/semver.js"
- }
- },
- "node_modules/semver-regex": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/semver-regex/-/semver-regex-2.0.0.tgz",
- "integrity": "sha512-mUdIBBvdn0PLOeP3TEkMH7HHeUP3GjsXCwKarjv/kGmUFOYg1VqEemKhoQpWMu6X2I8kHeuVdGibLGkVK+/5Qw==",
- "dev": true,
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/semver-truncate": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/semver-truncate/-/semver-truncate-1.1.2.tgz",
- "integrity": "sha512-V1fGg9i4CL3qesB6U0L6XAm4xOJiHmt4QAacazumuasc03BvtFGIMCduv01JWQ69Nv+JST9TqhSCiJoxoY031w==",
- "dev": true,
- "dependencies": {
- "semver": "^5.3.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/semver-truncate/node_modules/semver": {
- "version": "5.7.2",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz",
- "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==",
- "dev": true,
- "bin": {
- "semver": "bin/semver"
- }
- },
- "node_modules/serialize-javascript": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.1.tgz",
- "integrity": "sha512-owoXEFjWRllis8/M1Q+Cw5k8ZH40e3zhp/ovX+Xr/vi1qj6QesbyXXViFbpNvWvPNAD62SutwEXavefrLJWj7w==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "randombytes": "^2.1.0"
- }
- },
- "node_modules/set-blocking": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",
- "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw=="
- },
- "node_modules/set-function-length": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.1.1.tgz",
- "integrity": "sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ==",
- "dependencies": {
- "define-data-property": "^1.1.1",
- "get-intrinsic": "^1.2.1",
- "gopd": "^1.0.1",
- "has-property-descriptors": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/set-function-name": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.1.tgz",
- "integrity": "sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA==",
- "dependencies": {
- "define-data-property": "^1.0.1",
- "functions-have-names": "^1.2.3",
- "has-property-descriptors": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/set-value": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz",
- "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==",
- "dev": true,
- "dependencies": {
- "extend-shallow": "^2.0.1",
- "is-extendable": "^0.1.1",
- "is-plain-object": "^2.0.3",
- "split-string": "^3.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/set-value/node_modules/extend-shallow": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
- "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==",
- "dev": true,
- "dependencies": {
- "is-extendable": "^0.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/set-value/node_modules/is-extendable": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
- "integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/shallow-clone": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz",
- "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==",
- "dependencies": {
- "kind-of": "^6.0.2"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/shebang-command": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
- "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
- "dev": true,
- "dependencies": {
- "shebang-regex": "^3.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/shebang-regex": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
- "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
- "dev": true,
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/side-channel": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz",
- "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.0",
- "get-intrinsic": "^1.0.2",
- "object-inspect": "^1.9.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "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/signature_pad": {
- "version": "3.0.0-beta.4",
- "resolved": "https://registry.npmjs.org/signature_pad/-/signature_pad-3.0.0-beta.4.tgz",
- "integrity": "sha512-cOf2NhVuTiuNqe2X/ycEmizvCDXk0DoemhsEpnkcGnA4kS5iJYTCqZ9As7tFBbsch45Q1EdX61833+6sjJ8rrw=="
- },
- "node_modules/slash": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/slash/-/slash-5.1.0.tgz",
- "integrity": "sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==",
- "optional": true,
- "engines": {
- "node": ">=14.16"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/slice-ansi": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz",
- "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==",
- "dev": true,
- "dependencies": {
- "ansi-styles": "^4.0.0",
- "astral-regex": "^2.0.0",
- "is-fullwidth-code-point": "^3.0.0"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/slice-ansi?sponsor=1"
- }
- },
- "node_modules/slice-ansi/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/slice-ansi/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/slice-ansi/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/snapdragon": {
- "version": "0.8.2",
- "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz",
- "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==",
- "dev": true,
- "dependencies": {
- "base": "^0.11.1",
- "debug": "^2.2.0",
- "define-property": "^0.2.5",
- "extend-shallow": "^2.0.1",
- "map-cache": "^0.2.2",
- "source-map": "^0.5.6",
- "source-map-resolve": "^0.5.0",
- "use": "^3.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/snapdragon-node": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz",
- "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==",
- "dev": true,
- "dependencies": {
- "define-property": "^1.0.0",
- "isobject": "^3.0.0",
- "snapdragon-util": "^3.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/snapdragon-node/node_modules/define-property": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",
- "integrity": "sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA==",
- "dev": true,
- "dependencies": {
- "is-descriptor": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/snapdragon-util": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz",
- "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==",
- "dev": true,
- "dependencies": {
- "kind-of": "^3.2.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/snapdragon-util/node_modules/kind-of": {
- "version": "3.2.2",
- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
- "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==",
- "dev": true,
- "dependencies": {
- "is-buffer": "^1.1.5"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/snapdragon/node_modules/debug": {
- "version": "2.6.9",
- "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
- "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
- "dev": true,
- "dependencies": {
- "ms": "2.0.0"
- }
- },
- "node_modules/snapdragon/node_modules/define-property": {
- "version": "0.2.5",
- "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
- "integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==",
- "dev": true,
- "dependencies": {
- "is-descriptor": "^0.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/snapdragon/node_modules/extend-shallow": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
- "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==",
- "dev": true,
- "dependencies": {
- "is-extendable": "^0.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/snapdragon/node_modules/is-descriptor": {
- "version": "0.1.7",
- "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.7.tgz",
- "integrity": "sha512-C3grZTvObeN1xud4cRWl366OMXZTj0+HGyk4hvfpx4ZHt1Pb60ANSXqCK7pdOTeUQpRzECBSTphqvD7U+l22Eg==",
- "dev": true,
- "dependencies": {
- "is-accessor-descriptor": "^1.0.1",
- "is-data-descriptor": "^1.0.1"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/snapdragon/node_modules/is-extendable": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
- "integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/snapdragon/node_modules/ms": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
- "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
- "dev": true
- },
- "node_modules/snapdragon/node_modules/source-map": {
- "version": "0.5.7",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
- "integrity": "sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/sort-keys": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-1.1.2.tgz",
- "integrity": "sha512-vzn8aSqKgytVik0iwdBEi+zevbTYZogewTUM6dtpmGwEcdzbub/TX4bCzRhebDCRC3QzXgJsLRKB2V/Oof7HXg==",
- "dev": true,
- "dependencies": {
- "is-plain-obj": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/sort-keys-length": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/sort-keys-length/-/sort-keys-length-1.0.1.tgz",
- "integrity": "sha512-GRbEOUqCxemTAk/b32F2xa8wDTs+Z1QHOkbhJDQTvv/6G3ZkbJ+frYWsTcc7cBB3Fu4wy4XlLCuNtJuMn7Gsvw==",
- "dev": true,
- "dependencies": {
- "sort-keys": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/sortablejs": {
- "version": "1.15.1",
- "resolved": "https://registry.npmjs.org/sortablejs/-/sortablejs-1.15.1.tgz",
- "integrity": "sha512-P5Cjvb0UG1ZVNiDPj/n4V+DinttXG6K8n7vM/HQf0C25K3YKQTQY6fsr/sEGsJGpQ9exmPxluHxKBc0mLKU1lQ=="
- },
- "node_modules/source-list-map": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.1.tgz",
- "integrity": "sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw==",
- "dev": true
- },
- "node_modules/source-map": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/source-map-js": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz",
- "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/source-map-resolve": {
- "version": "0.5.3",
- "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz",
- "integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==",
- "deprecated": "See https://github.com/lydell/source-map-resolve#deprecated",
- "dev": true,
- "dependencies": {
- "atob": "^2.1.2",
- "decode-uri-component": "^0.2.0",
- "resolve-url": "^0.2.1",
- "source-map-url": "^0.4.0",
- "urix": "^0.1.0"
- }
- },
- "node_modules/source-map-support": {
- "version": "0.5.21",
- "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz",
- "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "buffer-from": "^1.0.0",
- "source-map": "^0.6.0"
- }
- },
- "node_modules/source-map-url": {
- "version": "0.4.1",
- "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.1.tgz",
- "integrity": "sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==",
- "deprecated": "See https://github.com/lydell/source-map-url#deprecated",
- "dev": true
- },
- "node_modules/spdx-correct": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz",
- "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==",
- "dev": true,
- "dependencies": {
- "spdx-expression-parse": "^3.0.0",
- "spdx-license-ids": "^3.0.0"
- }
- },
- "node_modules/spdx-exceptions": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz",
- "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==",
- "dev": true
- },
- "node_modules/spdx-expression-parse": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz",
- "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==",
- "dev": true,
- "dependencies": {
- "spdx-exceptions": "^2.1.0",
- "spdx-license-ids": "^3.0.0"
- }
- },
- "node_modules/spdx-license-ids": {
- "version": "3.0.16",
- "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.16.tgz",
- "integrity": "sha512-eWN+LnM3GR6gPu35WxNgbGl8rmY1AEmoMDvL/QD6zYmPWgywxWqJWNdLGT+ke8dKNWrcYgYjPpG5gbTfghP8rw==",
- "dev": true
- },
- "node_modules/split-string": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz",
- "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==",
- "dev": true,
- "dependencies": {
- "extend-shallow": "^3.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/sprintf-js": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
- "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==",
- "dev": true
- },
- "node_modules/squeak": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/squeak/-/squeak-1.3.0.tgz",
- "integrity": "sha512-YQL1ulInM+ev8nXX7vfXsCsDh6IqXlrremc1hzi77776BtpWgYJUMto3UM05GSAaGzJgWekszjoKDrVNB5XG+A==",
- "dev": true,
- "dependencies": {
- "chalk": "^1.0.0",
- "console-stream": "^0.1.1",
- "lpad-align": "^1.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/squeak/node_modules/ansi-regex": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
- "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/squeak/node_modules/ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/squeak/node_modules/chalk": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A==",
- "dev": true,
- "dependencies": {
- "ansi-styles": "^2.2.1",
- "escape-string-regexp": "^1.0.2",
- "has-ansi": "^2.0.0",
- "strip-ansi": "^3.0.0",
- "supports-color": "^2.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/squeak/node_modules/strip-ansi": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
- "integrity": "sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==",
- "dev": true,
- "dependencies": {
- "ansi-regex": "^2.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/squeak/node_modules/supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g==",
- "dev": true,
- "engines": {
- "node": ">=0.8.0"
- }
- },
- "node_modules/stable": {
- "version": "0.1.8",
- "resolved": "https://registry.npmjs.org/stable/-/stable-0.1.8.tgz",
- "integrity": "sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w==",
- "deprecated": "Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility",
- "dev": true
- },
- "node_modules/static-extend": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz",
- "integrity": "sha512-72E9+uLc27Mt718pMHt9VMNiAL4LMsmDbBva8mxWUCkT07fSzEGMYUCk0XWY6lp0j6RBAG4cJ3mWuZv2OE3s0g==",
- "dev": true,
- "dependencies": {
- "define-property": "^0.2.5",
- "object-copy": "^0.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/static-extend/node_modules/define-property": {
- "version": "0.2.5",
- "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
- "integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==",
- "dev": true,
- "dependencies": {
- "is-descriptor": "^0.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/static-extend/node_modules/is-descriptor": {
- "version": "0.1.7",
- "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.7.tgz",
- "integrity": "sha512-C3grZTvObeN1xud4cRWl366OMXZTj0+HGyk4hvfpx4ZHt1Pb60ANSXqCK7pdOTeUQpRzECBSTphqvD7U+l22Eg==",
- "dev": true,
- "dependencies": {
- "is-accessor-descriptor": "^1.0.1",
- "is-data-descriptor": "^1.0.1"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/std-env": {
- "version": "3.7.0",
- "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.7.0.tgz",
- "integrity": "sha512-JPbdCEQLj1w5GilpiHAx3qJvFndqybBysA3qUOnznweH4QbNYUsW/ea8QzSrnh0vNsezMMw5bcVool8lM0gwzg==",
- "optional": true
- },
- "node_modules/strict-uri-encode": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz",
- "integrity": "sha512-R3f198pcvnB+5IpnBlRkphuE9n46WyVl8I39W/ZUTZLz4nqSP/oLYUrcnJrw462Ds8he4YKMov2efsTIw1BDGQ==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/string_decoder": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
- "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
- "dev": true,
- "dependencies": {
- "safe-buffer": "~5.1.0"
- }
- },
- "node_modules/string_decoder/node_modules/safe-buffer": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
- "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==",
- "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.trim": {
- "version": "1.2.8",
- "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.8.tgz",
- "integrity": "sha512-lfjY4HcixfQXOfaqCvcBuOIapyaroTXhbkfJN3gcB1OtyupngWK4sEET9Knd0cXd28kTUqu/kHoV4HKSJdnjiQ==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.2.0",
- "es-abstract": "^1.22.1"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/string.prototype.trimend": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.7.tgz",
- "integrity": "sha512-Ni79DqeB72ZFq1uH/L6zJ+DKZTkOtPIHovb3YZHQViE+HDouuU4mBrLOLDn5Dde3RF8qw5qVETEjhu9locMLvA==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.2.0",
- "es-abstract": "^1.22.1"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/string.prototype.trimstart": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.7.tgz",
- "integrity": "sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.2.0",
- "es-abstract": "^1.22.1"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/strip-ansi": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
- "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
- "dependencies": {
- "ansi-regex": "^5.0.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/strip-ansi-cjs": {
- "name": "strip-ansi",
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
- "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
- "dev": true,
- "dependencies": {
- "ansi-regex": "^5.0.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/strip-bom": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz",
- "integrity": "sha512-kwrX1y7czp1E69n2ajbG65mIo9dqvJ+8aBQXOGVxqwvNbsXdFM6Lq37dLAY3mknUwru8CfcCbfOLL/gMo+fi3g==",
- "dev": true,
- "dependencies": {
- "is-utf8": "^0.2.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/strip-dirs": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/strip-dirs/-/strip-dirs-2.1.0.tgz",
- "integrity": "sha512-JOCxOeKLm2CAS73y/U4ZeZPTkE+gNVCzKt7Eox84Iej1LT/2pTWYpZKJuxwQpvX1LiZb1xokNR7RLfuBAa7T3g==",
- "dev": true,
- "dependencies": {
- "is-natural-number": "^4.0.1"
- }
- },
- "node_modules/strip-eof": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz",
- "integrity": "sha512-7FCwGGmx8mD5xQd3RPUvnSpUXHM3BWuzjtpD4TXsfcZ9EL4azvVVUscFYwD9nx8Kh+uCBC00XBtAykoMHwTh8Q==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/strip-indent": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz",
- "integrity": "sha512-I5iQq6aFMM62fBEAIB/hXzwJD6EEZ0xEGCX2t7oXqaKPIRgt4WruAQ285BISgdkP+HLGWyeGmNJcpIwFeRYRUA==",
- "dev": true,
- "dependencies": {
- "get-stdin": "^4.0.1"
- },
- "bin": {
- "strip-indent": "cli.js"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "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/strip-literal": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/strip-literal/-/strip-literal-1.3.0.tgz",
- "integrity": "sha512-PugKzOsyXpArk0yWmUwqOZecSO0GH0bPoctLcqNDH9J04pVW3lflYE0ujElBGTloevcxF5MofAOZ7C5l2b+wLg==",
- "optional": true,
- "dependencies": {
- "acorn": "^8.10.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/antfu"
- }
- },
- "node_modules/strip-literal/node_modules/acorn": {
- "version": "8.11.2",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz",
- "integrity": "sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==",
- "optional": true,
- "bin": {
- "acorn": "bin/acorn"
- },
- "engines": {
- "node": ">=0.4.0"
- }
- },
- "node_modules/strip-outer": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/strip-outer/-/strip-outer-1.0.1.tgz",
- "integrity": "sha512-k55yxKHwaXnpYGsOzg4Vl8+tDrWylxDEpknGjhTiZB8dFRU5rTo9CAzeycivxV3s+zlTKwrs6WxMxR95n26kwg==",
- "dev": true,
- "dependencies": {
- "escape-string-regexp": "^1.0.2"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/strnum": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/strnum/-/strnum-1.0.5.tgz",
- "integrity": "sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==",
- "dev": true
- },
- "node_modules/style-value-types": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/style-value-types/-/style-value-types-5.1.2.tgz",
- "integrity": "sha512-Vs9fNreYF9j6W2VvuDTP7kepALi7sk0xtk2Tu8Yxi9UoajJdEVpNpCov0HsLTqXvNGKX+Uv09pkozVITi1jf3Q==",
- "dependencies": {
- "hey-listen": "^1.0.8",
- "tslib": "2.4.0"
- }
- },
- "node_modules/style-value-types/node_modules/tslib": {
- "version": "2.4.0",
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz",
- "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ=="
- },
- "node_modules/sucrase": {
- "version": "3.35.0",
- "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.0.tgz",
- "integrity": "sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==",
- "dev": true,
- "dependencies": {
- "@jridgewell/gen-mapping": "^0.3.2",
- "commander": "^4.0.0",
- "glob": "^10.3.10",
- "lines-and-columns": "^1.1.6",
- "mz": "^2.7.0",
- "pirates": "^4.0.1",
- "ts-interface-checker": "^0.1.9"
- },
- "bin": {
- "sucrase": "bin/sucrase",
- "sucrase-node": "bin/sucrase-node"
- },
- "engines": {
- "node": ">=16 || 14 >=14.17"
- }
- },
- "node_modules/sucrase/node_modules/brace-expansion": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
- "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
- "dev": true,
- "dependencies": {
- "balanced-match": "^1.0.0"
- }
- },
- "node_modules/sucrase/node_modules/commander": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz",
- "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==",
- "dev": true,
- "engines": {
- "node": ">= 6"
- }
- },
- "node_modules/sucrase/node_modules/glob": {
- "version": "10.3.10",
- "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz",
- "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==",
- "dev": true,
- "dependencies": {
- "foreground-child": "^3.1.0",
- "jackspeak": "^2.3.5",
- "minimatch": "^9.0.1",
- "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0",
- "path-scurry": "^1.10.1"
- },
- "bin": {
- "glob": "dist/esm/bin.mjs"
- },
- "engines": {
- "node": ">=16 || 14 >=14.17"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
- "node_modules/sucrase/node_modules/minimatch": {
- "version": "9.0.3",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz",
- "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==",
- "dev": true,
- "dependencies": {
- "brace-expansion": "^2.0.1"
- },
- "engines": {
- "node": ">=16 || 14 >=14.17"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
- "node_modules/sucrase/node_modules/minipass": {
- "version": "7.0.4",
- "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz",
- "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==",
- "dev": true,
- "engines": {
- "node": ">=16 || 14 >=14.17"
- }
- },
- "node_modules/supports-color": {
- "version": "5.5.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
- "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
- "devOptional": true,
- "dependencies": {
- "has-flag": "^3.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/supports-preserve-symlinks-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
- "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
- "dev": true,
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/svgo": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/svgo/-/svgo-3.1.0.tgz",
- "integrity": "sha512-R5SnNA89w1dYgNv570591F66v34b3eQShpIBcQtZtM5trJwm1VvxbIoMpRYY3ybTAutcKTLEmTsdnaknOHbiQA==",
- "dev": true,
- "dependencies": {
- "@trysound/sax": "0.2.0",
- "commander": "^7.2.0",
- "css-select": "^5.1.0",
- "css-tree": "^2.2.1",
- "css-what": "^6.1.0",
- "csso": "5.0.5",
- "picocolors": "^1.0.0"
- },
- "bin": {
- "svgo": "bin/svgo"
- },
- "engines": {
- "node": ">=14.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/svgo"
- }
- },
- "node_modules/svgo/node_modules/commander": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz",
- "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==",
- "dev": true,
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/table": {
- "version": "6.8.1",
- "resolved": "https://registry.npmjs.org/table/-/table-6.8.1.tgz",
- "integrity": "sha512-Y4X9zqrCftUhMeH2EptSSERdVKt/nEdijTOacGD/97EKjhQ/Qs8RTlEGABSJNNN8lac9kheH+af7yAkEWlgneA==",
- "dev": true,
- "dependencies": {
- "ajv": "^8.0.1",
- "lodash.truncate": "^4.4.2",
- "slice-ansi": "^4.0.0",
- "string-width": "^4.2.3",
- "strip-ansi": "^6.0.1"
- },
- "engines": {
- "node": ">=10.0.0"
- }
- },
- "node_modules/table/node_modules/ajv": {
- "version": "8.12.0",
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz",
- "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==",
- "dev": true,
- "dependencies": {
- "fast-deep-equal": "^3.1.1",
- "json-schema-traverse": "^1.0.0",
- "require-from-string": "^2.0.2",
- "uri-js": "^4.2.2"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/epoberezkin"
- }
- },
- "node_modules/table/node_modules/json-schema-traverse": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",
- "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==",
- "dev": true
- },
- "node_modules/tailwindcss": {
- "version": "3.4.0",
- "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.0.tgz",
- "integrity": "sha512-VigzymniH77knD1dryXbyxR+ePHihHociZbXnLZHUyzf2MMs2ZVqlUrZ3FvpXP8pno9JzmILt1sZPD19M3IxtA==",
- "dev": true,
- "dependencies": {
- "@alloc/quick-lru": "^5.2.0",
- "arg": "^5.0.2",
- "chokidar": "^3.5.3",
- "didyoumean": "^1.2.2",
- "dlv": "^1.1.3",
- "fast-glob": "^3.3.0",
- "glob-parent": "^6.0.2",
- "is-glob": "^4.0.3",
- "jiti": "^1.19.1",
- "lilconfig": "^2.1.0",
- "micromatch": "^4.0.5",
- "normalize-path": "^3.0.0",
- "object-hash": "^3.0.0",
- "picocolors": "^1.0.0",
- "postcss": "^8.4.23",
- "postcss-import": "^15.1.0",
- "postcss-js": "^4.0.1",
- "postcss-load-config": "^4.0.1",
- "postcss-nested": "^6.0.1",
- "postcss-selector-parser": "^6.0.11",
- "resolve": "^1.22.2",
- "sucrase": "^3.32.0"
- },
- "bin": {
- "tailwind": "lib/cli.js",
- "tailwindcss": "lib/cli.js"
- },
- "engines": {
- "node": ">=14.0.0"
- }
- },
- "node_modules/tailwindcss/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": {
- "is-glob": "^4.0.3"
- },
- "engines": {
- "node": ">=10.13.0"
- }
- },
- "node_modules/tapable": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz",
- "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==",
- "dev": true,
- "peer": true,
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/tar": {
- "version": "6.2.0",
- "resolved": "https://registry.npmjs.org/tar/-/tar-6.2.0.tgz",
- "integrity": "sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ==",
- "optional": true,
- "dependencies": {
- "chownr": "^2.0.0",
- "fs-minipass": "^2.0.0",
- "minipass": "^5.0.0",
- "minizlib": "^2.1.1",
- "mkdirp": "^1.0.3",
- "yallist": "^4.0.0"
- },
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/tar-stream": {
- "version": "1.6.2",
- "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-1.6.2.tgz",
- "integrity": "sha512-rzS0heiNf8Xn7/mpdSVVSMAWAoy9bfb1WOTYC78Z0UQKeKa/CWS8FOq0lKGNa8DWKAn9gxjCvMLYc5PGXYlK2A==",
- "dev": true,
- "dependencies": {
- "bl": "^1.0.0",
- "buffer-alloc": "^1.2.0",
- "end-of-stream": "^1.0.0",
- "fs-constants": "^1.0.0",
- "readable-stream": "^2.3.0",
- "to-buffer": "^1.1.1",
- "xtend": "^4.0.0"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/tar/node_modules/minipass": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz",
- "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==",
- "optional": true,
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/tar/node_modules/mkdirp": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz",
- "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==",
- "optional": true,
- "bin": {
- "mkdirp": "bin/cmd.js"
- },
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/tar/node_modules/yallist": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
- "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
- "optional": true
- },
- "node_modules/temp-dir": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-1.0.0.tgz",
- "integrity": "sha512-xZFXEGbG7SNC3itwBzI3RYjq/cEhBkx2hJuKGIUOcEULmkQExXiHat2z/qkISYsuR+IKumhEfKKbV5qXmhICFQ==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/tempfile": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/tempfile/-/tempfile-2.0.0.tgz",
- "integrity": "sha512-ZOn6nJUgvgC09+doCEF3oB+r3ag7kUvlsXEGX069QRD60p+P3uP7XG9N2/at+EyIRGSN//ZY3LyEotA1YpmjuA==",
- "dev": true,
- "dependencies": {
- "temp-dir": "^1.0.0",
- "uuid": "^3.0.1"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/terser": {
- "version": "5.26.0",
- "resolved": "https://registry.npmjs.org/terser/-/terser-5.26.0.tgz",
- "integrity": "sha512-dytTGoE2oHgbNV9nTzgBEPaqAWvcJNl66VZ0BkJqlvp71IjO8CxdBx/ykCNb47cLnCmCvRZ6ZR0tLkqvZCdVBQ==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@jridgewell/source-map": "^0.3.3",
- "acorn": "^8.8.2",
- "commander": "^2.20.0",
- "source-map-support": "~0.5.20"
- },
- "bin": {
- "terser": "bin/terser"
- },
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/terser-webpack-plugin": {
- "version": "5.3.9",
- "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.9.tgz",
- "integrity": "sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@jridgewell/trace-mapping": "^0.3.17",
- "jest-worker": "^27.4.5",
- "schema-utils": "^3.1.1",
- "serialize-javascript": "^6.0.1",
- "terser": "^5.16.8"
- },
- "engines": {
- "node": ">= 10.13.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/webpack"
- },
- "peerDependencies": {
- "webpack": "^5.1.0"
- },
- "peerDependenciesMeta": {
- "@swc/core": {
- "optional": true
- },
- "esbuild": {
- "optional": true
- },
- "uglify-js": {
- "optional": true
- }
- }
- },
- "node_modules/terser/node_modules/acorn": {
- "version": "8.11.2",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz",
- "integrity": "sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==",
- "dev": true,
- "peer": true,
- "bin": {
- "acorn": "bin/acorn"
- },
- "engines": {
- "node": ">=0.4.0"
- }
- },
- "node_modules/terser/node_modules/commander": {
- "version": "2.20.3",
- "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
- "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
- "dev": true,
- "peer": true
- },
- "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/thenify": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz",
- "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==",
- "dev": true,
- "dependencies": {
- "any-promise": "^1.0.0"
- }
- },
- "node_modules/thenify-all": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz",
- "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==",
- "dev": true,
- "dependencies": {
- "thenify": ">= 3.1.0 < 4"
- },
- "engines": {
- "node": ">=0.8"
- }
- },
- "node_modules/through": {
- "version": "2.3.8",
- "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",
- "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==",
- "dev": true
- },
- "node_modules/timed-out": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz",
- "integrity": "sha512-G7r3AhovYtr5YKOWQkta8RKAPb+J9IsO4uVmzjl8AZwfhs8UcUwTiD6gcJYSgOtzyjvQKrKYn41syHbUWMkafA==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/tinymotion": {
- "version": "0.2.0",
- "resolved": "https://registry.npmjs.org/tinymotion/-/tinymotion-0.2.0.tgz",
- "integrity": "sha512-8r5pmj5JWiAYfuxeYA/O16wj0fLBM42fqLDPklewjBKD64igmOPZHZOQg07GWySjvwW1sg5oWBs6qZfje/ic1A==",
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/to-buffer": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/to-buffer/-/to-buffer-1.1.1.tgz",
- "integrity": "sha512-lx9B5iv7msuFYE3dytT+KE5tap+rNYw+K4jVkb9R/asAb+pbBSM17jtunHplhBe6RRJdZx3Pn2Jph24O32mOVg==",
- "dev": true
- },
- "node_modules/to-fast-properties": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",
- "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==",
- "devOptional": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/to-object-path": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz",
- "integrity": "sha512-9mWHdnGRuh3onocaHzukyvCZhzvr6tiflAy/JRFXcJX0TjgfWA9pk9t8CMbzmBE4Jfw58pXbkngtBtqYxzNEyg==",
- "dev": true,
- "dependencies": {
- "kind-of": "^3.0.2"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/to-object-path/node_modules/kind-of": {
- "version": "3.2.2",
- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
- "integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==",
- "dev": true,
- "dependencies": {
- "is-buffer": "^1.1.5"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/to-regex": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz",
- "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==",
- "dev": true,
- "dependencies": {
- "define-property": "^2.0.2",
- "extend-shallow": "^3.0.2",
- "regex-not": "^1.0.2",
- "safe-regex": "^1.1.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "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==",
- "devOptional": 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==",
- "dev": true
- },
- "node_modules/trim-newlines": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz",
- "integrity": "sha512-Nm4cF79FhSTzrLKGDMi3I4utBtFv8qKy4sq1enftf2gMdpqI8oVQTAfySkTz5r49giVzDj88SVZXP4CeYQwjaw==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/trim-repeated": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/trim-repeated/-/trim-repeated-1.0.0.tgz",
- "integrity": "sha512-pkonvlKk8/ZuR0D5tLW8ljt5I8kmxp2XKymhepUeOdCEfKpZaktSArkLHZt76OB1ZvO9bssUsDty4SWhLvZpLg==",
- "dev": true,
- "dependencies": {
- "escape-string-regexp": "^1.0.2"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/ts-interface-checker": {
- "version": "0.1.13",
- "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz",
- "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==",
- "dev": true
- },
- "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/tsconfig-paths/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/tslib": {
- "version": "1.14.1",
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",
- "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="
- },
- "node_modules/tunnel-agent": {
- "version": "0.6.0",
- "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
- "integrity": "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==",
- "dev": true,
- "dependencies": {
- "safe-buffer": "^5.0.1"
- },
- "engines": {
- "node": "*"
- }
- },
- "node_modules/type": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz",
- "integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==",
- "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": "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/typed-array-buffer": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.0.tgz",
- "integrity": "sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.2",
- "get-intrinsic": "^1.2.1",
- "is-typed-array": "^1.1.10"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/typed-array-byte-length": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.0.tgz",
- "integrity": "sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.2",
- "for-each": "^0.3.3",
- "has-proto": "^1.0.1",
- "is-typed-array": "^1.1.10"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/typed-array-byte-offset": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.0.tgz",
- "integrity": "sha512-RD97prjEt9EL8YgAgpOkf3O4IF9lhJFr9g0htQkm0rchFp/Vx7LW5Q8fSXXub7BXAODyUQohRMyOc3faCPd0hg==",
- "dev": true,
- "dependencies": {
- "available-typed-arrays": "^1.0.5",
- "call-bind": "^1.0.2",
- "for-each": "^0.3.3",
- "has-proto": "^1.0.1",
- "is-typed-array": "^1.1.10"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/typed-array-length": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.4.tgz",
- "integrity": "sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.2",
- "for-each": "^0.3.3",
- "is-typed-array": "^1.1.9"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/ufo": {
- "version": "1.3.2",
- "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.3.2.tgz",
- "integrity": "sha512-o+ORpgGwaYQXgqGDwd+hkS4PuZ3QnmqMMxRuajK/a38L6fTpcE5GPIfrf+L/KemFzfUpeUQc1rRS1iDBozvnFA==",
- "optional": true
- },
- "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/unbzip2-stream": {
- "version": "1.4.3",
- "resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.4.3.tgz",
- "integrity": "sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg==",
- "dev": true,
- "dependencies": {
- "buffer": "^5.2.1",
- "through": "^2.3.8"
- }
- },
- "node_modules/unctx": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/unctx/-/unctx-2.3.1.tgz",
- "integrity": "sha512-PhKke8ZYauiqh3FEMVNm7ljvzQiph0Mt3GBRve03IJm7ukfaON2OBK795tLwhbyfzknuRRkW0+Ze+CQUmzOZ+A==",
- "optional": true,
- "dependencies": {
- "acorn": "^8.8.2",
- "estree-walker": "^3.0.3",
- "magic-string": "^0.30.0",
- "unplugin": "^1.3.1"
- }
- },
- "node_modules/unctx/node_modules/acorn": {
- "version": "8.11.2",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz",
- "integrity": "sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==",
- "optional": true,
- "bin": {
- "acorn": "bin/acorn"
- },
- "engines": {
- "node": ">=0.4.0"
- }
- },
- "node_modules/unctx/node_modules/estree-walker": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz",
- "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==",
- "optional": true,
- "dependencies": {
- "@types/estree": "^1.0.0"
- }
- },
- "node_modules/unctx/node_modules/magic-string": {
- "version": "0.30.5",
- "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.5.tgz",
- "integrity": "sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==",
- "optional": true,
- "dependencies": {
- "@jridgewell/sourcemap-codec": "^1.4.15"
- },
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/unctx/node_modules/unplugin": {
- "version": "1.5.1",
- "resolved": "https://registry.npmjs.org/unplugin/-/unplugin-1.5.1.tgz",
- "integrity": "sha512-0QkvG13z6RD+1L1FoibQqnvTwVBXvS4XSPwAyinVgoOCl2jAgwzdUKmEj05o4Lt8xwQI85Hb6mSyYkcAGwZPew==",
- "optional": true,
- "dependencies": {
- "acorn": "^8.11.2",
- "chokidar": "^3.5.3",
- "webpack-sources": "^3.2.3",
- "webpack-virtual-modules": "^0.6.0"
- }
- },
- "node_modules/unctx/node_modules/webpack-sources": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz",
- "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==",
- "optional": true,
- "engines": {
- "node": ">=10.13.0"
- }
- },
- "node_modules/unctx/node_modules/webpack-virtual-modules": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/webpack-virtual-modules/-/webpack-virtual-modules-0.6.1.tgz",
- "integrity": "sha512-poXpCylU7ExuvZK8z+On3kX+S8o/2dQ/SVYueKA0D4WEMXROXgY8Ez50/bQEUmvoSMMrWcrJqCHuhAbsiwg7Dg==",
- "optional": true
- },
- "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==",
- "dev": true
- },
- "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/unicorn-magic": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.1.0.tgz",
- "integrity": "sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==",
- "optional": true,
- "engines": {
- "node": ">=18"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/unimport": {
- "version": "3.7.0",
- "resolved": "https://registry.npmjs.org/unimport/-/unimport-3.7.0.tgz",
- "integrity": "sha512-vesCVjU3CYk41UZNY10kwii7l77vcP4IxPbBMgpve+vean7g7zJWrcCqSoG7u0eB9LZ5bM5BP+3vr3W2uYk0Yg==",
- "optional": true,
- "dependencies": {
- "@rollup/pluginutils": "^5.1.0",
- "acorn": "^8.11.2",
- "escape-string-regexp": "^5.0.0",
- "estree-walker": "^3.0.3",
- "fast-glob": "^3.3.2",
- "local-pkg": "^0.5.0",
- "magic-string": "^0.30.5",
- "mlly": "^1.4.2",
- "pathe": "^1.1.1",
- "pkg-types": "^1.0.3",
- "scule": "^1.1.1",
- "strip-literal": "^1.3.0",
- "unplugin": "^1.5.1"
- }
- },
- "node_modules/unimport/node_modules/acorn": {
- "version": "8.11.2",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz",
- "integrity": "sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==",
- "optional": true,
- "bin": {
- "acorn": "bin/acorn"
- },
- "engines": {
- "node": ">=0.4.0"
- }
- },
- "node_modules/unimport/node_modules/escape-string-regexp": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz",
- "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==",
- "optional": true,
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/unimport/node_modules/estree-walker": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz",
- "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==",
- "optional": true,
- "dependencies": {
- "@types/estree": "^1.0.0"
- }
- },
- "node_modules/unimport/node_modules/magic-string": {
- "version": "0.30.5",
- "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.5.tgz",
- "integrity": "sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==",
- "optional": true,
- "dependencies": {
- "@jridgewell/sourcemap-codec": "^1.4.15"
- },
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/unimport/node_modules/unplugin": {
- "version": "1.5.1",
- "resolved": "https://registry.npmjs.org/unplugin/-/unplugin-1.5.1.tgz",
- "integrity": "sha512-0QkvG13z6RD+1L1FoibQqnvTwVBXvS4XSPwAyinVgoOCl2jAgwzdUKmEj05o4Lt8xwQI85Hb6mSyYkcAGwZPew==",
- "optional": true,
- "dependencies": {
- "acorn": "^8.11.2",
- "chokidar": "^3.5.3",
- "webpack-sources": "^3.2.3",
- "webpack-virtual-modules": "^0.6.0"
- }
- },
- "node_modules/unimport/node_modules/webpack-sources": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz",
- "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==",
- "optional": true,
- "engines": {
- "node": ">=10.13.0"
- }
- },
- "node_modules/unimport/node_modules/webpack-virtual-modules": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/webpack-virtual-modules/-/webpack-virtual-modules-0.6.1.tgz",
- "integrity": "sha512-poXpCylU7ExuvZK8z+On3kX+S8o/2dQ/SVYueKA0D4WEMXROXgY8Ez50/bQEUmvoSMMrWcrJqCHuhAbsiwg7Dg==",
- "optional": true
- },
- "node_modules/union-value": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz",
- "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==",
- "dev": true,
- "dependencies": {
- "arr-union": "^3.1.0",
- "get-value": "^2.0.6",
- "is-extendable": "^0.1.1",
- "set-value": "^2.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/union-value/node_modules/is-extendable": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
- "integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/unplugin": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/unplugin/-/unplugin-1.0.1.tgz",
- "integrity": "sha512-aqrHaVBWW1JVKBHmGo33T5TxeL0qWzfvjWokObHA9bYmN7eNDkwOxmLjhioHl9878qDFMAaT51XNroRyuz7WxA==",
- "dev": true,
- "dependencies": {
- "acorn": "^8.8.1",
- "chokidar": "^3.5.3",
- "webpack-sources": "^3.2.3",
- "webpack-virtual-modules": "^0.5.0"
- }
- },
- "node_modules/unplugin/node_modules/acorn": {
- "version": "8.11.2",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz",
- "integrity": "sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==",
- "dev": true,
- "bin": {
- "acorn": "bin/acorn"
- },
- "engines": {
- "node": ">=0.4.0"
- }
- },
- "node_modules/unplugin/node_modules/webpack-sources": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz",
- "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==",
- "dev": true,
- "engines": {
- "node": ">=10.13.0"
- }
- },
- "node_modules/unquote": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/unquote/-/unquote-1.1.1.tgz",
- "integrity": "sha512-vRCqFv6UhXpWxZPyGDh/F3ZpNv8/qo7w6iufLpQg9aKnQ71qM4B5KiI7Mia9COcjEhrO9LueHpMYjYzsWH3OIg==",
- "dev": true
- },
- "node_modules/unset-value": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz",
- "integrity": "sha512-PcA2tsuGSF9cnySLHTLSh2qrQiJ70mn+r+Glzxv2TWZblxsxCC52BDlZoPCsz7STd9pN7EZetkWZBAvk4cgZdQ==",
- "dev": true,
- "dependencies": {
- "has-value": "^0.3.1",
- "isobject": "^3.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/unset-value/node_modules/has-value": {
- "version": "0.3.1",
- "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz",
- "integrity": "sha512-gpG936j8/MzaeID5Yif+577c17TxaDmhuyVgSwtnL/q8UUTySg8Mecb+8Cf1otgLoD7DDH75axp86ER7LFsf3Q==",
- "dev": true,
- "dependencies": {
- "get-value": "^2.0.3",
- "has-values": "^0.1.4",
- "isobject": "^2.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/unset-value/node_modules/has-value/node_modules/isobject": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz",
- "integrity": "sha512-+OUdGJlgjOBZDfxnDjYYG6zp487z0JGNQq3cYQYg5f5hKR+syHMsaztzGeml/4kGG55CSpKSpWTY+jYGgsHLgA==",
- "dev": true,
- "dependencies": {
- "isarray": "1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/unset-value/node_modules/has-values": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz",
- "integrity": "sha512-J8S0cEdWuQbqD9//tlZxiMuMNmxB8PlEwvYwuxsTmR1G5RXUePEX/SJn7aD0GMLieuZYSwNH0cQuJGwnYunXRQ==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/unset-value/node_modules/isarray": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
- "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==",
- "dev": true
- },
- "node_modules/untyped": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/untyped/-/untyped-1.4.0.tgz",
- "integrity": "sha512-Egkr/s4zcMTEuulcIb7dgURS6QpN7DyqQYdf+jBtiaJvQ+eRsrtWUoX84SbvQWuLkXsOjM+8sJC9u6KoMK/U7Q==",
- "optional": true,
- "dependencies": {
- "@babel/core": "^7.22.9",
- "@babel/standalone": "^7.22.9",
- "@babel/types": "^7.22.5",
- "defu": "^6.1.2",
- "jiti": "^1.19.1",
- "mri": "^1.2.0",
- "scule": "^1.0.0"
- },
- "bin": {
- "untyped": "dist/cli.mjs"
- }
- },
- "node_modules/update-browserslist-db": {
- "version": "1.0.13",
- "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz",
- "integrity": "sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==",
- "devOptional": 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": {
- "escalade": "^3.1.1",
- "picocolors": "^1.0.0"
- },
- "bin": {
- "update-browserslist-db": "cli.js"
- },
- "peerDependencies": {
- "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/urix": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz",
- "integrity": "sha512-Am1ousAhSLBeB9cG/7k7r2R0zj50uDRlZHPGbazid5s9rlF1F/QKYObEKSIunSjIOkJZqwRRLpvewjEkM7pSqg==",
- "deprecated": "Please see https://github.com/lydell/urix#deprecated",
- "dev": true
- },
- "node_modules/url-parse-lax": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz",
- "integrity": "sha512-BVA4lR5PIviy2PMseNd2jbFQ+jwSwQGdJejf5ctd1rEXt0Ypd7yanUK9+lYechVlN5VaTJGsu2U/3MDDu6KgBA==",
- "dev": true,
- "dependencies": {
- "prepend-http": "^1.0.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/url-to-options": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/url-to-options/-/url-to-options-1.0.1.tgz",
- "integrity": "sha512-0kQLIzG4fdk/G5NONku64rSH/x32NOA39LVQqlK8Le6lvTF6GGRJpqaQFGgU+CLwySIqBSMdwYM0sYcW9f6P4A==",
- "dev": true,
- "engines": {
- "node": ">= 4"
- }
- },
- "node_modules/use": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz",
- "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/util-deprecate": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
- "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
- "dev": true
- },
- "node_modules/util.promisify": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/util.promisify/-/util.promisify-1.1.2.tgz",
- "integrity": "sha512-PBdZ03m1kBnQ5cjjO0ZvJMJS+QsbyIcFwi4hY4U76OQsCO9JrOYjbCFgIF76ccFg9xnJo7ZHPkqyj1GqmdS7MA==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.2.0",
- "for-each": "^0.3.3",
- "has-proto": "^1.0.1",
- "has-symbols": "^1.0.3",
- "object.getownpropertydescriptors": "^2.1.6",
- "safe-array-concat": "^1.0.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/uuid": {
- "version": "3.4.0",
- "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
- "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==",
- "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.",
- "dev": true,
- "bin": {
- "uuid": "bin/uuid"
- }
- },
- "node_modules/v8-compile-cache": {
- "version": "2.4.0",
- "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.4.0.tgz",
- "integrity": "sha512-ocyWc3bAHBB/guyqJQVI5o4BZkPhznPYUG2ea80Gond/BgNWpap8TOmLSeeQG7bnh2KMISxskdADG59j7zruhw==",
- "dev": true
- },
- "node_modules/validate-npm-package-license": {
- "version": "3.0.4",
- "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz",
- "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==",
- "dev": true,
- "dependencies": {
- "spdx-correct": "^3.0.0",
- "spdx-expression-parse": "^3.0.0"
- }
- },
- "node_modules/vite": {
- "version": "4.5.1",
- "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.1.tgz",
- "integrity": "sha512-AXXFaAJ8yebyqzoNB9fu2pHoo/nWX+xZlaRwoeYUxEqBO+Zj4msE5G+BhGBll9lYEKv9Hfks52PAF2X7qDYXQA==",
- "dev": true,
- "dependencies": {
- "esbuild": "^0.18.10",
- "postcss": "^8.4.27",
- "rollup": "^3.27.1"
- },
- "bin": {
- "vite": "bin/vite.js"
- },
- "engines": {
- "node": "^14.18.0 || >=16.0.0"
- },
- "funding": {
- "url": "https://github.com/vitejs/vite?sponsor=1"
- },
- "optionalDependencies": {
- "fsevents": "~2.3.2"
- },
- "peerDependencies": {
- "@types/node": ">= 14",
- "less": "*",
- "lightningcss": "^1.21.0",
- "sass": "*",
- "stylus": "*",
- "sugarss": "*",
- "terser": "^5.4.0"
- },
- "peerDependenciesMeta": {
- "@types/node": {
- "optional": true
- },
- "less": {
- "optional": true
- },
- "lightningcss": {
- "optional": true
- },
- "sass": {
- "optional": true
- },
- "stylus": {
- "optional": true
- },
- "sugarss": {
- "optional": true
- },
- "terser": {
- "optional": true
- }
- }
- },
- "node_modules/vite-plugin-full-reload": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/vite-plugin-full-reload/-/vite-plugin-full-reload-1.1.0.tgz",
- "integrity": "sha512-3cObNDzX6DdfhD9E7kf6w2mNunFpD7drxyNgHLw+XwIYAgb+Xt16SEXo0Up4VH+TMf3n+DSVJZtW2POBGcBYAA==",
- "dev": true,
- "dependencies": {
- "picocolors": "^1.0.0",
- "picomatch": "^2.3.1"
- }
- },
- "node_modules/vue": {
- "version": "3.3.13",
- "resolved": "https://registry.npmjs.org/vue/-/vue-3.3.13.tgz",
- "integrity": "sha512-LDnUpQvDgsfc0u/YgtAgTMXJlJQqjkxW1PVcOnJA5cshPleULDjHi7U45pl2VJYazSSvLH8UKcid/kzH8I0a0Q==",
- "dependencies": {
- "@vue/compiler-dom": "3.3.13",
- "@vue/compiler-sfc": "3.3.13",
- "@vue/runtime-dom": "3.3.13",
- "@vue/server-renderer": "3.3.13",
- "@vue/shared": "3.3.13"
- },
- "peerDependencies": {
- "typescript": "*"
- },
- "peerDependenciesMeta": {
- "typescript": {
- "optional": true
- }
- }
- },
- "node_modules/vue-chartjs": {
- "version": "5.3.0",
- "resolved": "https://registry.npmjs.org/vue-chartjs/-/vue-chartjs-5.3.0.tgz",
- "integrity": "sha512-8XqX0JU8vFZ+WA2/knz4z3ThClduni2Nm0BMe2u0mXgTfd9pXrmJ07QBI+WAij5P/aPmPMX54HCE1seWL37ZdQ==",
- "peerDependencies": {
- "chart.js": "^4.1.1",
- "vue": "^3.0.0-0 || ^2.7.0"
- }
- },
- "node_modules/vue-codemirror": {
- "version": "4.0.6",
- "resolved": "https://registry.npmjs.org/vue-codemirror/-/vue-codemirror-4.0.6.tgz",
- "integrity": "sha512-ilU7Uf0mqBNSSV3KT7FNEeRIxH4s1fmpG4TfHlzvXn0QiQAbkXS9lLfwuZpaBVEnpP5CSE62iGJjoliTuA8poQ==",
- "dependencies": {
- "codemirror": "^5.41.0",
- "diff-match-patch": "^1.0.0"
- },
- "engines": {
- "node": ">= 4.0.0",
- "npm": ">= 3.0.0"
- }
- },
- "node_modules/vue-confetti": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/vue-confetti/-/vue-confetti-2.3.0.tgz",
- "integrity": "sha512-zmPniVzBKv0ie/BEXBR6Isi08hYSd6lS18b8VduG5BzZ2tv6bO/rlwISg+IpGY2XsqAFTXFdTC28YR+UPocnAw=="
- },
- "node_modules/vue-country-flag-next": {
- "version": "2.3.2",
- "resolved": "https://registry.npmjs.org/vue-country-flag-next/-/vue-country-flag-next-2.3.2.tgz",
- "integrity": "sha512-Lv12L1VTwlBgizpZ3xPEPO3zuIETaJmeSiPuLOWLLgu2EakwU/o72iKYiKcdZ6BXiSkfss+Ski5fDzjuxZ1DcA==",
- "engines": {
- "node": ">=10"
- },
- "peerDependencies": {
- "vue": "^3.0.0"
- }
- },
- "node_modules/vue-eslint-parser": {
- "version": "7.11.0",
- "resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-7.11.0.tgz",
- "integrity": "sha512-qh3VhDLeh773wjgNTl7ss0VejY9bMMa0GoDG2fQVyDzRFdiU3L7fw74tWZDHNQXdZqxO3EveQroa9ct39D2nqg==",
- "dev": true,
- "dependencies": {
- "debug": "^4.1.1",
- "eslint-scope": "^5.1.1",
- "eslint-visitor-keys": "^1.1.0",
- "espree": "^6.2.1",
- "esquery": "^1.4.0",
- "lodash": "^4.17.21",
- "semver": "^6.3.0"
- },
- "engines": {
- "node": ">=8.10"
- },
- "funding": {
- "url": "https://github.com/sponsors/mysticatea"
- },
- "peerDependencies": {
- "eslint": ">=5.0.0"
- }
- },
- "node_modules/vue-eslint-parser/node_modules/eslint-visitor-keys": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz",
- "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/vue-eslint-parser/node_modules/espree": {
- "version": "6.2.1",
- "resolved": "https://registry.npmjs.org/espree/-/espree-6.2.1.tgz",
- "integrity": "sha512-ysCxRQY3WaXJz9tdbWOwuWr5Y/XrPTGX9Kiz3yoUXwW0VZ4w30HTkQLaGx/+ttFjF8i+ACbArnB4ce68a9m5hw==",
- "dev": true,
- "dependencies": {
- "acorn": "^7.1.1",
- "acorn-jsx": "^5.2.0",
- "eslint-visitor-keys": "^1.1.0"
- },
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/vue-i18n": {
- "version": "8.28.2",
- "resolved": "https://registry.npmjs.org/vue-i18n/-/vue-i18n-8.28.2.tgz",
- "integrity": "sha512-C5GZjs1tYlAqjwymaaCPDjCyGo10ajUphiwA922jKt9n7KPpqR7oM1PCwYzhB/E7+nT3wfdG3oRre5raIT1rKA=="
- },
- "node_modules/vue-loader": {
- "version": "16.8.3",
- "resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz",
- "integrity": "sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA==",
- "dev": true,
- "dependencies": {
- "chalk": "^4.1.0",
- "hash-sum": "^2.0.0",
- "loader-utils": "^2.0.0"
- },
- "peerDependencies": {
- "webpack": "^4.1.0 || ^5.0.0-0"
- }
- },
- "node_modules/vue-loader/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/vue-loader/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/vue-loader/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/vue-loader/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/vue-loader/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,
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/vue-loader/node_modules/loader-utils": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz",
- "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==",
- "dev": true,
- "dependencies": {
- "big.js": "^5.2.2",
- "emojis-list": "^3.0.0",
- "json5": "^2.1.2"
- },
- "engines": {
- "node": ">=8.9.0"
- }
- },
- "node_modules/vue-loader/node_modules/supports-color": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
- "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
- "dev": true,
- "dependencies": {
- "has-flag": "^4.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/vue-meta": {
- "version": "3.0.0-alpha.10",
- "resolved": "https://registry.npmjs.org/vue-meta/-/vue-meta-3.0.0-alpha.10.tgz",
- "integrity": "sha512-rYeIGkhm1gKBcReEkPHiV6LV2Y6BZTMGTkGw1mQIZTxfFcVJL0srLZsL1zAmLeTGxMrlDYylMQEVSYRkDnwz3A==",
- "peerDependencies": {
- "vue": "^3.0.0"
- }
- },
- "node_modules/vue-notion": {
- "version": "3.0.0-beta.1",
- "resolved": "https://registry.npmjs.org/vue-notion/-/vue-notion-3.0.0-beta.1.tgz",
- "integrity": "sha512-s6NeDlcVs6dtC4g/3dFRrvZMeYR7gcLAjmjYQOETQmxJbviGRGSwBNPZZnN4aXPIQiss/4hv3S23IMi4XP3MLw==",
- "dependencies": {
- "defu": "^6.1.2"
- },
- "peerDependencies": {
- "@janniks/vue3-katex": "^0.6.0-rc.5.1",
- "vue": "^3.2.45"
- }
- },
- "node_modules/vue-router": {
- "version": "4.2.5",
- "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-4.2.5.tgz",
- "integrity": "sha512-DIUpKcyg4+PTQKfFPX88UWhlagBEBEfJ5A8XDXRJLUnZOvcpMF8o/dnL90vpVkGaPbjvXazV/rC1qBKrZlFugw==",
- "dependencies": {
- "@vue/devtools-api": "^6.5.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/posva"
- },
- "peerDependencies": {
- "vue": "^3.2.0"
- }
- },
- "node_modules/vue-signature-pad": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/vue-signature-pad/-/vue-signature-pad-3.0.2.tgz",
- "integrity": "sha512-o25o+lROfCmzASS2+fU8ZV801kV+D4/02zkZ+ez3NKeiUmbxW7kwlUf5oKQkvA+l7Ou9xGsGLsirBLch3jyX8A==",
- "dependencies": {
- "merge-images": "^1.1.0",
- "signature_pad": "^3.0.0-beta.3"
- },
- "engines": {
- "node": ">=12"
- },
- "peerDependencies": {
- "vue": "^3.2.0"
- }
- },
- "node_modules/vue3-editor": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/vue3-editor/-/vue3-editor-0.1.1.tgz",
- "integrity": "sha512-rH1U28wi+mHQlJFr4mvMW3D0oILnjV/BY9TslzWc6zM5zwv48I8LQk4sVzggN2KTDIGAdlDsmdReAd+7fhMYmQ==",
- "dependencies": {
- "core-js": "^3.6.5",
- "quill": "^1.3.7"
- },
- "peerDependencies": {
- "vue": "^3.0.0"
- }
- },
- "node_modules/vue3-editor/node_modules/core-js": {
- "version": "3.34.0",
- "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.34.0.tgz",
- "integrity": "sha512-aDdvlDder8QmY91H88GzNi9EtQi2TjvQhpCX6B1v/dAZHU1AuLgHvRh54RiOerpEhEW46Tkf+vgAViB/CWC0ag==",
- "hasInstallScript": true,
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/core-js"
- }
- },
- "node_modules/vue3-vt-notifications": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/vue3-vt-notifications/-/vue3-vt-notifications-1.0.1.tgz",
- "integrity": "sha512-nF6PVPlJrKwk8oxB9oUnL51iPIDFRnRzdiX1EdC0VFAs/ds9x/x/LbckI/Qe9N+PNYkIY40P2hvhfDWQ8fvcxA==",
- "peerDependencies": {
- "vue": "^3.0.0"
- }
- },
- "node_modules/vuedraggable": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/vuedraggable/-/vuedraggable-4.1.0.tgz",
- "integrity": "sha512-FU5HCWBmsf20GpP3eudURW3WdWTKIbEIQxh9/8GE806hydR9qZqRRxRE3RjqX7PkuLuMQG/A7n3cfj9rCEchww==",
- "dependencies": {
- "sortablejs": "1.14.0"
- },
- "peerDependencies": {
- "vue": "^3.0.1"
- }
- },
- "node_modules/vuedraggable/node_modules/sortablejs": {
- "version": "1.14.0",
- "resolved": "https://registry.npmjs.org/sortablejs/-/sortablejs-1.14.0.tgz",
- "integrity": "sha512-pBXvQCs5/33fdN1/39pPL0NZF20LeRbLQ5jtnheIPN9JQAaufGjKdWduZn4U7wCtVuzKhmRkI0DFYHYRbB2H1w=="
- },
- "node_modules/watchpack": {
- "version": "2.4.0",
- "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.0.tgz",
- "integrity": "sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "glob-to-regexp": "^0.4.1",
- "graceful-fs": "^4.1.2"
- },
- "engines": {
- "node": ">=10.13.0"
- }
- },
- "node_modules/webidl-conversions": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
- "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==",
- "dev": true
- },
- "node_modules/webpack": {
- "version": "5.89.0",
- "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.89.0.tgz",
- "integrity": "sha512-qyfIC10pOr70V+jkmud8tMfajraGCZMBWJtrmuBymQKCrLTRejBI8STDp1MCyZu/QTdZSeacCQYpYNQVOzX5kw==",
- "dev": true,
- "peer": true,
- "dependencies": {
- "@types/eslint-scope": "^3.7.3",
- "@types/estree": "^1.0.0",
- "@webassemblyjs/ast": "^1.11.5",
- "@webassemblyjs/wasm-edit": "^1.11.5",
- "@webassemblyjs/wasm-parser": "^1.11.5",
- "acorn": "^8.7.1",
- "acorn-import-assertions": "^1.9.0",
- "browserslist": "^4.14.5",
- "chrome-trace-event": "^1.0.2",
- "enhanced-resolve": "^5.15.0",
- "es-module-lexer": "^1.2.1",
- "eslint-scope": "5.1.1",
- "events": "^3.2.0",
- "glob-to-regexp": "^0.4.1",
- "graceful-fs": "^4.2.9",
- "json-parse-even-better-errors": "^2.3.1",
- "loader-runner": "^4.2.0",
- "mime-types": "^2.1.27",
- "neo-async": "^2.6.2",
- "schema-utils": "^3.2.0",
- "tapable": "^2.1.1",
- "terser-webpack-plugin": "^5.3.7",
- "watchpack": "^2.4.0",
- "webpack-sources": "^3.2.3"
- },
- "bin": {
- "webpack": "bin/webpack.js"
- },
- "engines": {
- "node": ">=10.13.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/webpack"
- },
- "peerDependenciesMeta": {
- "webpack-cli": {
- "optional": true
- }
- }
- },
- "node_modules/webpack-sources": {
- "version": "1.4.3",
- "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.4.3.tgz",
- "integrity": "sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==",
- "dev": true,
- "dependencies": {
- "source-list-map": "^2.0.0",
- "source-map": "~0.6.1"
- }
- },
- "node_modules/webpack-virtual-modules": {
- "version": "0.5.0",
- "resolved": "https://registry.npmjs.org/webpack-virtual-modules/-/webpack-virtual-modules-0.5.0.tgz",
- "integrity": "sha512-kyDivFZ7ZM0BVOUteVbDFhlRt7Ah/CSPwJdi8hBpkK7QLumUqdLtVfm/PX/hkcnrvr0i77fO5+TjZ94Pe+C9iw==",
- "dev": true
- },
- "node_modules/webpack/node_modules/acorn": {
- "version": "8.11.2",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz",
- "integrity": "sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==",
- "dev": true,
- "peer": true,
- "bin": {
- "acorn": "bin/acorn"
- },
- "engines": {
- "node": ">=0.4.0"
- }
- },
- "node_modules/webpack/node_modules/acorn-import-assertions": {
- "version": "1.9.0",
- "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.9.0.tgz",
- "integrity": "sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA==",
- "dev": true,
- "peer": true,
- "peerDependencies": {
- "acorn": "^8"
- }
- },
- "node_modules/webpack/node_modules/webpack-sources": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz",
- "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==",
- "dev": true,
- "peer": true,
- "engines": {
- "node": ">=10.13.0"
- }
- },
- "node_modules/whatwg-url": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
- "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",
- "dev": true,
- "dependencies": {
- "tr46": "~0.0.3",
- "webidl-conversions": "^3.0.0"
- }
- },
- "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/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-module": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.1.tgz",
- "integrity": "sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ=="
- },
- "node_modules/which-typed-array": {
- "version": "1.1.13",
- "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.13.tgz",
- "integrity": "sha512-P5Nra0qjSncduVPEAr7xhoF5guty49ArDTwzJ/yNuPIbZppyRxFQsRCWrocxIY+CnMVG+qfbU2FmDKyvSGClow==",
- "dev": true,
- "dependencies": {
- "available-typed-arrays": "^1.0.5",
- "call-bind": "^1.0.4",
- "for-each": "^0.3.3",
- "gopd": "^1.0.1",
- "has-tostringtag": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "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==",
- "dependencies": {
- "ansi-styles": "^4.0.0",
- "string-width": "^4.1.0",
- "strip-ansi": "^6.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/wrap-ansi-cjs": {
- "name": "wrap-ansi",
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
- "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
- "dev": true,
- "dependencies": {
- "ansi-styles": "^4.0.0",
- "string-width": "^4.1.0",
- "strip-ansi": "^6.0.0"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
- }
- },
- "node_modules/wrap-ansi-cjs/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/wrap-ansi-cjs/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/wrap-ansi-cjs/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/wrap-ansi/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==",
- "dependencies": {
- "color-convert": "^2.0.1"
- },
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
- }
- },
- "node_modules/wrap-ansi/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==",
- "dependencies": {
- "color-name": "~1.1.4"
- },
- "engines": {
- "node": ">=7.0.0"
- }
- },
- "node_modules/wrap-ansi/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=="
- },
- "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/xtend": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz",
- "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==",
- "dev": true,
- "engines": {
- "node": ">=0.4"
- }
- },
- "node_modules/y18n": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz",
- "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ=="
- },
- "node_modules/yallist": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
- "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
- "devOptional": true
- },
- "node_modules/yaml": {
- "version": "2.3.4",
- "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.4.tgz",
- "integrity": "sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==",
- "dev": true,
- "engines": {
- "node": ">= 14"
- }
- },
- "node_modules/yargs": {
- "version": "15.4.1",
- "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz",
- "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==",
- "dependencies": {
- "cliui": "^6.0.0",
- "decamelize": "^1.2.0",
- "find-up": "^4.1.0",
- "get-caller-file": "^2.0.1",
- "require-directory": "^2.1.1",
- "require-main-filename": "^2.0.0",
- "set-blocking": "^2.0.0",
- "string-width": "^4.2.0",
- "which-module": "^2.0.0",
- "y18n": "^4.0.0",
- "yargs-parser": "^18.1.2"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/yargs-parser": {
- "version": "18.1.3",
- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz",
- "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==",
- "dependencies": {
- "camelcase": "^5.0.0",
- "decamelize": "^1.2.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/yargs/node_modules/find-up": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
- "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
- "dependencies": {
- "locate-path": "^5.0.0",
- "path-exists": "^4.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/yargs/node_modules/locate-path": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
- "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
- "dependencies": {
- "p-locate": "^4.1.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/yargs/node_modules/p-limit": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
- "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
- "dependencies": {
- "p-try": "^2.0.0"
- },
- "engines": {
- "node": ">=6"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/yargs/node_modules/p-locate": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
- "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
- "dependencies": {
- "p-limit": "^2.2.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/yauzl": {
- "version": "2.10.0",
- "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz",
- "integrity": "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==",
- "dev": true,
- "dependencies": {
- "buffer-crc32": "~0.2.3",
- "fd-slicer": "~1.1.0"
- }
- },
- "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"
- }
- }
- }
-}
diff --git a/package.json b/package.json
deleted file mode 100644
index 1a8d27a76..000000000
--- a/package.json
+++ /dev/null
@@ -1,71 +0,0 @@
-{
- "private": true,
- "scripts": {
- "dev": "vite",
- "build": "vite build",
- "preview": "vite preview"
- },
- "dependencies": {
- "@hcaptcha/vue3-hcaptcha": "^1.3.0",
- "@sentry/integrations": "^7.53.1",
- "@sentry/tracing": "^6.11.0",
- "@sentry/vue": "^6.11.0",
- "@vue/compat": "^3.3.9",
- "@vueuse/components": "^10.5.0",
- "@vueuse/core": "^10.5.0",
- "@vueuse/motion": "^2.0.0",
- "axios": "^0.21.1",
- "chart.js": "^4.4.0",
- "clone-deep": "^4.0.1",
- "date-fns": "^2.28.0",
- "debounce": "^1.2.1",
- "fuse.js": "^6.4.6",
- "js-sha256": "^0.9.0",
- "libphonenumber-js": "^1.10.44",
- "pinia": "^2.1.7",
- "prismjs": "^1.24.1",
- "qrcode": "^1.5.1",
- "query-builder-vue-3": "^1.0.1",
- "tinymotion": "^0.2.0",
- "vue": "^3.2.13",
- "vue-chartjs": "^5.2.0",
- "vue-codemirror": "^4.0.6",
- "vue-confetti": "^2.3.0",
- "vue-country-flag-next": "^2.3.2",
- "vue-i18n": "^8.25.0",
- "vue-meta": "^3.0.0-alpha.2",
- "vue-notion": "^3.0.0-beta.1",
- "vue-router": "^4.2.5",
- "vue-signature-pad": "^3.0.2",
- "vue3-editor": "^0.1.1",
- "vue3-vt-notifications": "^1.0.0",
- "vuedraggable": "next"
- },
- "devDependencies": {
- "@babel/core": "^7.20.12",
- "@babel/eslint-parser": "^7.15.0",
- "@babel/plugin-syntax-dynamic-import": "^7.8.3",
- "@babel/preset-env": "^7.15.0",
- "@sentry/vite-plugin": "^2.8.0",
- "@tailwindcss/aspect-ratio": "^0.4.2",
- "@vitejs/plugin-vue": "^4.4.0",
- "autoprefixer": "^10.4.13",
- "cross-env": "^7.0.3",
- "eslint": "^7.32.0",
- "eslint-config-standard": "^16.0.3",
- "eslint-plugin-import": "^2.27.5",
- "eslint-plugin-node": "^11.1.0",
- "eslint-plugin-promise": "^4.3.1",
- "eslint-plugin-standard": "^4.1.0",
- "eslint-plugin-vue": "^7.16.0",
- "imagemin-webpack-plugin": "^2.4.2",
- "laravel-vite-plugin": "^0.7.3",
- "postcss": "^8.4.21",
- "resolve-url-loader": "^3.1.5",
- "sass": "^1.57.1",
- "sass-loader": "^10.2.0",
- "tailwindcss": "^3.2.4",
- "vite": "^4.0.4",
- "vue-loader": "^16.8.3"
- }
-}
diff --git a/postcss.config.js b/postcss.config.js
deleted file mode 100644
index 96bb01e7d..000000000
--- a/postcss.config.js
+++ /dev/null
@@ -1,6 +0,0 @@
-module.exports = {
- plugins: {
- tailwindcss: {},
- autoprefixer: {},
- },
-}
\ No newline at end of file
diff --git a/resources/js/app.js b/resources/js/app.js
deleted file mode 100644
index c25e778aa..000000000
--- a/resources/js/app.js
+++ /dev/null
@@ -1,39 +0,0 @@
-import { createApp, configureCompat, ref } from 'vue'
-import { createPinia } from 'pinia'
-import router from '~/router'
-import App from '~/components/App.vue'
-import Base from './base.js'
-import registerPlugin from './plugins'
-import { registerComponents } from './components'
-
-import '~/plugins'
-import '~/components'
-
-import '../sass/app.scss'
-
-const pinia = createPinia()
-const app = createApp(App)
- .use(router)
- .use(pinia)
- .mixin(Base)
-
-registerPlugin(app)
-registerComponents(app)
-
-configureCompat({
- // default everything to Vue 2 behavior
- MODE: 2,
- // GLOBAL_MOUNT: false,
- COMPONENT_V_MODEL: false,
- INSTANCE_SET: false,
- INSTANCE_DELETE: false,
- ATTR_FALSE_VALUE: false,
- WATCH_ARRAY: false,
- RENDER_FUNCTION: false,
- INSTANCE_ATTRS_CLASS_STYLE: false,
-})
-
-router.app = app
-router.isReady().then(() => app.mount('#app'))
-
-export default app
diff --git a/resources/js/base.js b/resources/js/base.js
deleted file mode 100644
index 6e56a5250..000000000
--- a/resources/js/base.js
+++ /dev/null
@@ -1,96 +0,0 @@
-/**
- * Base mixin for all Vue components
- */
-import debounce from 'debounce'
-import Vue from 'vue'
-import VueConfetti from 'vue-confetti'
-Vue.use(VueConfetti)
-
-export default {
-
- computed: {
- $crisp () {
- return window.$crisp
- }
- },
-
- methods: {
- /**
- * Creates a debounced function that delays invoking a callback.
- */
- debouncer: debounce((callback) => callback(), 500),
-
- /**
- * Show an error message.
- */
- alertError (message, autoClose = 10000) {
- this.$notify(
- {
- title: 'Error',
- text: message,
- type: 'error'
- }, autoClose)
- },
-
- /**
- * Show a success message.
- */
- alertSuccess (message, autoClose = 10000) {
- this.$notify(
- {
- title: 'Success',
- text: message,
- type: 'success'
- }, autoClose)
- },
-
- /**
- * Show a warning message.
- */
- alertWarning (message, autoClose = 10000) {
- this.$notify(
- {
- title: 'Warning',
- text: message,
- type: 'warning'
- }, autoClose)
- },
-
- /**
- * Show confirmation message.
- */
- alertConfirm (message, success, failure = ()=>{}, autoClose = 10000) {
- this.$notify(
- {
- title: 'Confirm',
- text: message,
- type: 'confirm',
- success,
- failure
- }, autoClose)
- },
-
- /**
- * Show confirmation message.
- */
- closeAlert () {
- this.$root.alert = {
- type: null,
- autoClose: 0,
- message: '',
- confirmationProceed: null,
- confirmationCancel: null
- }
- },
-
- /**
- * Display confetti
- */
- playConfetti () {
- this.$confetti.start({ defaultSize: 6 })
- setTimeout(() => {
- this.$confetti.stop()
- }, 3000)
- }
- }
-}
diff --git a/resources/js/components/App.vue b/resources/js/components/App.vue
deleted file mode 100644
index c9fd48f20..000000000
--- a/resources/js/components/App.vue
+++ /dev/null
@@ -1,120 +0,0 @@
-<template>
- <div id="app" class="bg-white dark:bg-notion-dark">
- <loading v-show="!isIframe" ref="loading" />
-
- <!-- <hotjar />-->
- <amplitude />
- <crisp />
- <!-- <llamafi />-->
-
- <transition enter-active-class="linear duration-200 overflow-hidden"
- enter-from-class="max-h-0"
- enter-to-class="max-h-screen"
- leave-active-class="linear duration-200 overflow-hidden"
- leave-from-class="max-h-screen"
- leave-to-class="max-h-0"
- >
- <div v-if="announcement && !isIframe" class="bg-nt-blue text-white text-center p-3 relative">
- <a class="text-white font-semibold" href="" target="_blank">🚨
- OpnForm beta is over 🚨</a>
- <div role="button" class="text-white absolute right-0 top-0 p-3 cursor-pointer" @click="announcement=false">
- <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" viewBox="0 0 20 20" fill="currentColor">
- <path fill-rule="evenodd"
- d="M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z"
- clip-rule="evenodd"
- />
- </svg>
- </div>
- </div>
- </transition>
-
- <transition name="page" mode="out-in">
- <component :is="layoutComponent" v-if="layout" />
- </transition>
- <stop-impersonation />
- <!-- <notifications />-->
- </div>
-</template>
-
-<script>
-import { computed } from 'vue'
-import { useAppStore } from '../stores/app'
-import Loading from './Loading.vue'
-import Hotjar from './service/Hotjar.vue'
-import Amplitude from './service/Amplitude.vue'
-import Crisp from './service/Crisp.vue'
-import StopImpersonation from './pages/StopImpersonation.vue'
-import Notifications from './common/Notifications.vue'
-import SeoMeta from '../mixins/seo-meta.js'
-
-// Load layout components dynamically.
-const requireContext = import.meta.glob('../layouts/**.vue', { eager: true })
-
-const layouts = {}
-Object.keys(requireContext)
- .map(file =>
- [file.match(/[^/]*(?=\.[^.]*$)/)[0], requireContext[file]]
- )
- .forEach(([name, component]) => {
- layouts[name] = component.default || component
- })
-
-export default {
- el: '#app',
-
- name: 'OpnForm',
-
- components: {
- Notifications,
- StopImpersonation,
- Crisp,
- Amplitude,
- Hotjar,
- Loading
- },
-
- mixins: [SeoMeta],
-
- setup () {
- const appStore = useAppStore()
- return {
- layout : computed(() => appStore.layout)
- }
- },
-
- data: () => ({
- metaTitle: 'OpnForm',
- metaDescription: 'Create beautiful forms for free. Unlimited fields, unlimited submissions. It\'s free and it takes less than 1 minute to create your first form.',
- announcement: false,
- alert: {
- type: null,
- autoClose: 0,
- message: '',
- confirmationProceed: null,
- confirmationCancel: null
- },
- navbarHidden: false
- }),
-
- computed: {
- isIframe () {
- return window.location !== window.parent.location || window.frameElement
- },
- isOnboardingPage () {
- return this.$route.name === 'onboarding'
- },
- layoutComponent () {
- return layouts[this.layout]
- }
- },
-
- methods: {
- workspaceAdded () {
- this.$router.push({ name: 'home' })
- },
- hideNavbar (hidden = true) {
- this.navbarHidden = hidden
- }
- }
-}
-</script>
diff --git a/resources/js/components/Child.vue b/resources/js/components/Child.vue
deleted file mode 100644
index 6777b5e06..000000000
--- a/resources/js/components/Child.vue
+++ /dev/null
@@ -1,13 +0,0 @@
-<template>
- <router-view v-slot="{ Component }">
- <transition name="page" mode="out-in">
- <component :is="Component" />
- </transition>
- </router-view>
-</template>
-
-<script>
-export default {
- name: 'Child'
-}
-</script>
diff --git a/resources/js/components/Loading.vue b/resources/js/components/Loading.vue
deleted file mode 100644
index 672053da5..000000000
--- a/resources/js/components/Loading.vue
+++ /dev/null
@@ -1,47 +0,0 @@
-<template>
- <div :style="{
- width: `${percent}%`,
- height: height,
- opacity: show ? 1 : 0,
- 'background-color': canSuccess ? color : failedColor
- }" class="progress"
- />
-</template>
-
-<script>
-// https://github.com/nuxt/nuxt.js/blob/master/lib/app/components/nuxt-loading.vue
-import { computed } from 'vue'
-import { useAppStore } from '../stores/app';
-
-export default {
- data: () => ({
- height: '2px',
- color: '#77b6ff',
- failedColor: 'red'
- }),
-
- setup () {
- const appStore = useAppStore()
- return {
- percent : computed(() => appStore.loader.percent),
- canSuccess : computed(() => appStore.loader.canSuccess),
- show : computed(() => appStore.loader.show)
- }
- }
-}
-</script>
-
-<style scoped>
-.progress {
- position: fixed;
- top: 0px;
- left: 0px;
- right: 0px;
- height: 2px;
- width: 0%;
- transition: width 0.2s, opacity 0.4s;
- opacity: 1;
- background-color: #efc14e;
- z-index: 999999;
-}
-</style>
diff --git a/resources/js/components/LoginWithGithub.vue b/resources/js/components/LoginWithGithub.vue
deleted file mode 100644
index e505a244d..000000000
--- a/resources/js/components/LoginWithGithub.vue
+++ /dev/null
@@ -1,99 +0,0 @@
-<template>
- <v-button v-if="githubAuth" color="gray" type="button" @click="login">
- <div class="flex justify-center">
- Login with
- <svg class="w-6 h-6 text-white ml-2" xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 24 24"
- >
- <path
- d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"
- />
- </svg>
- </div>
- </v-button>
-</template>
-
-<script>
-import { useAuthStore } from '../stores/auth'
-
-export default {
- name: 'LoginWithGithub',
-
- setup () {
- const authStore = useAuthStore()
- return {
- authStore
- }
- },
-
- computed: {
- githubAuth: () => window.config.githubAuth,
- url: () => '/api/oauth/github'
- },
-
- mounted () {
- window.addEventListener('message', this.onMessage, false)
- },
-
- beforeUnmount () {
- window.removeEventListener('message', this.onMessage)
- },
-
- methods: {
- async login () {
- const newWindow = openWindow('', 'Login')
-
- const url = await this.authStore.fetchOauthUrl('github')
-
- newWindow.location.href = url
- },
-
- /**
- * @param {MessageEvent} e
- */
- onMessage (e) {
- if (e.origin !== window.origin || !e.data.token) {
- return
- }
-
- this.authStore.saveToken(e.data.token)
-
- this.$router.push({ name: 'home' })
- }
- }
-}
-
-/**
- * @param {Object} options
- * @return {Window}
- */
-function openWindow (url, title, options = {}) {
- if (typeof url === 'object') {
- options = url
- url = ''
- }
-
- options = { url, title, width: 600, height: 720, ...options }
-
- const dualScreenLeft = window.screenLeft !== undefined ? window.screenLeft : window.screen.left
- const dualScreenTop = window.screenTop !== undefined ? window.screenTop : window.screen.top
- const width = window.innerWidth || document.documentElement.clientWidth || window.screen.width
- const height = window.innerHeight || document.documentElement.clientHeight || window.screen.height
-
- options.left = ((width / 2) - (options.width / 2)) + dualScreenLeft
- options.top = ((height / 2) - (options.height / 2)) + dualScreenTop
-
- const optionsStr = Object.keys(options).reduce((acc, key) => {
- acc.push(`${key}=${options[key]}`)
- return acc
- }, []).join(',')
-
- const newWindow = window.open(url, title, optionsStr)
-
- if (window.focus) {
- newWindow.focus()
- }
-
- return newWindow
-}
-</script>
diff --git a/resources/js/components/Modal.vue b/resources/js/components/Modal.vue
deleted file mode 100644
index 652bf796f..000000000
--- a/resources/js/components/Modal.vue
+++ /dev/null
@@ -1,178 +0,0 @@
-<template>
- <portal to="modals" :order="portalOrder">
- <transition @leave="(el,done) => motions.backdrop.leave(done)">
- <div v-if="show" v-motion="'backdrop'" :variants="motionFadeIn"
- class="fixed z-30 top-0 inset-0 px-4 sm:px-0 flex items-top justify-center bg-gray-700/75 w-full h-screen overflow-y-scroll"
- :class="{'backdrop-blur-sm':backdropBlur}"
- @click.self="close"
- >
- <div ref="content" v-motion="'body'" :variants="motionSlideBottom"
- class="self-start bg-white dark:bg-notion-dark w-full relative p-4 md:p-6 my-6 rounded-xl shadow-xl"
- :class="maxWidthClass"
- >
- <div v-if="closeable" class="absolute top-4 right-4">
- <button class="text-gray-500 hover:text-gray-900 cursor-pointer" @click.prevent="close">
- <svg class="h-6 w-6" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M18 6L6 18M6 6L18 18" stroke="currentColor" stroke-width="2" stroke-linecap="round"
- stroke-linejoin="round"
- />
- </svg>
- </button>
- </div>
- <div class="sm:flex sm:flex-col sm:items-start">
- <div v-if="$slots.hasOwnProperty('icon')" class="flex w-full justify-center mb-4">
- <div class="w-14 h-14 rounded-full flex justify-center items-center"
- :class="'bg-'+iconColor+'-100 text-'+iconColor+'-600'"
- >
- <slot name="icon" />
- </div>
- </div>
- <div class="mt-3 text-center sm:mt-0 w-full">
- <h2 v-if="$slots.hasOwnProperty('title')"
- class="text-2xl font-semibold text-center text-gray-900"
- >
- <slot name="title" />
- </h2>
- </div>
- </div>
-
- <div class="w-full">
- <slot />
- </div>
-
- <div v-if="$scopedSlots.hasOwnProperty('footer')" class="px-6 py-4 bg-gray-100 text-right">
- <slot name="footer" />
- </div>
- </div>
- </div>
- </transition>
- </portal>
-</template>
-
-<script>
-import { useMotions } from '@vueuse/motion'
-
-export default {
- name: 'Modal',
-
- props: {
- show: {
- default: false
- },
- backdropBlur: {
- type: Boolean,
- default: false
- },
- iconColor: {
- default: 'blue'
- },
- maxWidth: {
- default: '2xl'
- },
- closeable: {
- default: true
- },
- portalOrder: {
- default: 1
- }
- },
-
- setup () {
- return {
- motions: useMotions()
- }
- },
-
- computed: {
- maxWidthClass () {
- return {
- sm: 'sm:max-w-sm',
- md: 'sm:max-w-md',
- lg: 'sm:max-w-lg',
- xl: 'sm:max-w-xl',
- '2xl': 'sm:max-w-2xl'
- }[this.maxWidth]
- },
- motionFadeIn () {
- return {
- initial: {
- opacity: 0,
- transition: {
- delay: 100,
- duration: 200,
- ease: 'easeIn'
- }
- },
- enter: {
- opacity: 1,
- transition: {
- duration: 200
- }
- }
- }
- },
- motionSlideBottom () {
- return {
- initial: {
- y: 150,
- opacity: 0,
- transition: {
- ease: 'easeIn',
- duration: 200
- }
- },
- enter: {
- y: 0,
- opacity: 1,
- transition: {
- duration: 250,
- ease: 'easeOut',
- delay: 100
- }
- }
- }
- }
- },
-
- watch: {
- show (newVal, oldVal) {
- if (newVal !== oldVal) {
- if (newVal) {
- document.body.classList.add('overflow-hidden')
- } else {
- document.body.classList.remove('overflow-hidden')
- this.motions.body.apply('initial')
- this.motions.backdrop.apply('initial')
- }
- }
- }
- },
-
- beforeUnmount () {
- document.body.classList.remove('overflow-hidden')
- },
-
- created () {
- const closeOnEscape = (e) => {
- if (e.key === 'Escape' && this.show) {
- this.close()
- }
- }
-
- document.addEventListener('keydown', closeOnEscape)
-
- this.$once('hook:destroyed', () => {
- document.removeEventListener('keydown', closeOnEscape)
- })
- },
-
- methods: {
- close () {
- if (this.closeable) {
- document.body.classList.remove('overflow-hidden')
- this.$emit('close')
- }
- }
- }
-}
-</script>
diff --git a/resources/js/components/Navbar.vue b/resources/js/components/Navbar.vue
deleted file mode 100644
index 8268f2fb3..000000000
--- a/resources/js/components/Navbar.vue
+++ /dev/null
@@ -1,226 +0,0 @@
-<template>
- <nav v-if="hasNavbar" class="bg-white dark:bg-notion-dark border-b">
- <div class="max-w-7xl mx-auto px-8">
- <div class="flex items-center justify-between h-16">
- <div class="flex items-center">
- <router-link :to="{ name: user ? 'home' : 'welcome' }" class="flex-shrink-0 font-semibold hover:no-underline flex items-center">
- <img :src="asset('img/logo.svg')" alt="notion tools logo" class="w-8 h-8">
- <span
- class="ml-2 text-md hidden sm:inline text-black dark:text-white"
- >
- {{ appName }}</span>
- </router-link>
- <workspace-dropdown class="ml-6" />
- </div>
- <div v-if="showAuth" class="hidden md:block ml-auto relative">
- <router-link v-if="$route.name !== 'templates'" :to="{name:'templates'}"
- class="text-sm text-gray-600 dark:text-white hover:text-gray-800 cursor-pointer mt-1 mr-8"
- >
- Templates
- </router-link>
- <router-link v-if="$route.name !== 'aiformbuilder'" :to="{name:'aiformbuilder'}"
- class="text-sm text-gray-600 dark:text-white hidden lg:inline hover:text-gray-800 cursor-pointer mt-1 mr-8"
- >
- AI Form Builder
- </router-link>
- <router-link v-if="paidPlansEnabled && (user===null || (user && workspace && !workspace.is_pro)) && $route.name !== 'pricing'" :to="{name:'pricing'}"
- class="text-sm text-gray-600 dark:text-white hover:text-gray-800 cursor-pointer mt-1 mr-8"
- >
- <span v-if="user">Upgrade</span>
- <span v-else>Pricing</span>
- </router-link>
- <a v-if="hasCrisp" href="#"
- class="text-sm text-gray-600 dark:text-white hover:text-gray-800 cursor-pointer mt-1" @click.prevent="openCrisp"
- >
- Help
- </a>
- <a v-else :href="helpUrl"
- class="text-sm text-gray-600 dark:text-white hover:text-gray-800 cursor-pointer mt-1" target="_blank"
- >
- Help
- </a>
- </div>
- <div v-if="showAuth" class="hidden md:block pl-5 border-gray-300 border-r h-5" />
- <div v-if="showAuth" class="block">
- <div class="flex items-center">
- <div class="ml-3 mr-4 relative">
- <div class="relative inline-block text-left">
- <dropdown v-if="user" dusk="nav-dropdown">
- <template #trigger="{toggle}">
- <button id="dropdown-menu-button" type="button"
- class="flex items-center justify-center w-full rounded-md px-4 py-2 text-sm text-gray-700 dark:text-gray-50 hover:bg-gray-50 dark:hover:bg-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-gray-500"
- dusk="nav-dropdown-button" @click.stop="toggle()"
- >
- <img :src="user.photo_url" class="rounded-full w-6 h-6">
- <p class="ml-2 hidden sm:inline">
- {{ user.name }}
- </p>
- </button>
- </template>
-
- <router-link v-if="userOnboarded" :to="{ name: 'home' }"
- class="block block px-4 py-2 text-md text-gray-700 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-100 dark:hover:text-white dark:hover:bg-gray-600 flex items-center"
- >
- <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 mr-2" fill="none" viewBox="0 0 24 24"
- stroke="currentColor"
- >
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
- d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"
- />
- </svg>
- My Forms
- </router-link>
-
- <router-link v-if="userOnboarded" :to="{ name: 'templates-my-templates' }"
- class="block block px-4 py-2 text-md text-gray-700 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-100 dark:hover:text-white dark:hover:bg-gray-600 flex items-center"
- >
- <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 mr-2" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" d="M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z" />
- </svg>
- My Templates
- </router-link>
-
- <router-link :to="{ name: 'settings-profile' }"
- class="block block px-4 py-2 text-md text-gray-700 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-100 dark:hover:text-white dark:hover:bg-gray-600 flex items-center"
- >
- <svg class="w-4 h-4 mr-2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
- stroke="currentColor"
- >
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
- d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"
- />
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
- d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"
- />
- </svg>
- Settings
- </router-link>
-
- <a href="#"
- class="block block px-4 py-2 text-md text-gray-700 dark:text-white hover:bg-gray-100 hover:text-gray-900 dark:text-gray-100 dark:hover:text-white dark:hover:bg-gray-600 flex items-center"
- @click.prevent="logout"
- >
- <svg class="w-4 h-4 mr-2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
- stroke="currentColor"
- >
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
- d="M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1"
- />
- </svg>
- Logout
- </a>
- </dropdown>
- <div v-else class="flex gap-2">
- <router-link v-if="$route.name !== 'login'" :to="{ name: 'login' }"
- class="text-gray-600 dark:text-white hover:text-gray-800 dark:hover:text-white px-0 sm:px-3 py-2 rounded-md text-sm"
- active-class="text-gray-800 dark:text-white"
- >
- Login
- </router-link>
-
- <v-button v-track.nav_create_form_click size="small" :to="{ name: 'forms.create.guest' }" color="outline-blue" :arrow="true">
- Create a form
- </v-button>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </nav>
-</template>
-
-<script>
-import { computed } from 'vue'
-import { useAuthStore } from '../stores/auth'
-import { useFormsStore } from '../stores/forms'
-import { useWorkspacesStore } from '../stores/workspaces'
-import Dropdown from './common/Dropdown.vue'
-import WorkspaceDropdown from './WorkspaceDropdown.vue'
-
-export default {
- components: {
- WorkspaceDropdown,
- Dropdown
- },
-
- setup () {
- const authStore = useAuthStore()
- const formsStore = useFormsStore()
- const workspacesStore = useWorkspacesStore()
- return {
- authStore,
- formsStore,
- workspacesStore,
- user: computed(() => authStore.user)
- }
- },
-
- data: () => ({
- appName: window.config.appName
- }),
-
- computed: {
- githubUrl: () => window.config.links.github_url,
- helpUrl: () => window.config.links.help_url,
- form () {
- if (this.$route.name && this.$route.name.startsWith('forms.show_public')) {
- return this.formsStore.getBySlug(this.$route.params.slug)
- }
- return null
- },
- workspace () {
- return this.workspacesStore.getCurrent()
- },
- paidPlansEnabled () {
- return window.config.paid_plans_enabled
- },
- showAuth () {
- return this.$route.name && !this.$route.name.startsWith('forms.show_public')
- },
- hasNavbar () {
- if (this.isIframe) return false
-
- if (this.$route.name && this.$route.name.startsWith('forms.show_public')) {
- if (this.form) {
- // If there is a cover, or if branding is hidden remove nav
- if (this.form.cover_picture || this.form.no_branding) {
- return false
- }
- } else {
- return false
- }
- }
- return !this.$root.navbarHidden
- },
- isIframe () {
- return window.location !== window.parent.location || window.frameElement
- },
- userOnboarded () {
- return this.user && this.user.workspaces_count > 0
- },
- hasCrisp () {
- return window.config.crisp_website_id
- }
- },
-
- methods: {
- async logout () {
- // Log out the user.
- await this.authStore.logout()
-
- // Reset store
- this.workspacesStore.resetState()
- this.formsStore.resetState()
-
- // Redirect to login.
- this.$router.push({ name: 'login' })
- },
- openCrisp () {
- window.$crisp.push(['do', 'chat:show'])
- window.$crisp.push(['do', 'chat:open'])
- }
- }
-}
-</script>
diff --git a/resources/js/components/WorkspaceDropdown.vue b/resources/js/components/WorkspaceDropdown.vue
deleted file mode 100644
index b27aaf78f..000000000
--- a/resources/js/components/WorkspaceDropdown.vue
+++ /dev/null
@@ -1,108 +0,0 @@
-<template>
- <dropdown v-if="user && workspaces && workspaces.length > 1" ref="dropdown"
- dropdown-class="origin-top-left absolute left-0 mt-2 w-56 rounded-md shadow-lg bg-white dark:bg-gray-800 ring-1 ring-black ring-opacity-5 z-50"
- dusk="workspace-dropdown"
- >
- <template v-if="workspace" #trigger="{toggle}">
- <div class="flex items-center cursor group" role="button" @click.stop="toggle()">
- <div class="rounded-full h-8 8">
- <img v-if="isUrl(workspace.icon)"
- :src="workspace.icon"
- :alt="workspace.name + ' icon'" class="flex-shrink-0 h-8 w-8 rounded-full shadow"
- >
- <div v-else class="rounded-full pt-2 text-xs truncate bg-nt-blue-lighter h-8 w-8 text-center shadow"
- v-text="workspace.icon"
- />
- </div>
- <p class="hidden group-hover:underline lg:block max-w-10 truncate ml-2 text-gray-800 dark:text-gray-200">
- {{ workspace.name }}
- </p>
- </div>
- </template>
-
- <template v-for="worksp in workspaces" :key="worksp.id">
- <a href="#"
- class="px-4 py-2 text-md text-gray-700 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-100 dark:hover:text-white dark:hover:bg-gray-600 flex items-center"
- :class="{'bg-blue-100 dark:bg-blue-900':workspace.id === worksp.id}" @click.prevent="switchWorkspace(worksp)"
- >
- <div class="rounded-full h-8 w-8 flex-shrink-0" role="button">
- <img v-if="isUrl(worksp.icon)"
- :src="worksp.icon"
- :alt="worksp.name + ' icon'" class="flex-shrink-0 h-8 w-8 rounded-full shadow"
- >
- <div v-else class="rounded-full flex-shrink-0 pt-1 text-xs truncate bg-nt-blue-lighter h-8 w-8 text-center shadow"
- v-text="worksp.icon"
- />
- </div>
- <p class="ml-4 truncate">{{ worksp.name }}</p>
- </a>
- </template>
- </dropdown>
-</template>
-
-<script>
-import { computed } from 'vue'
-import { useAuthStore } from '../stores/auth'
-import { useFormsStore } from '../stores/forms'
-import { useWorkspacesStore } from '../stores/workspaces'
-import Dropdown from './common/Dropdown.vue'
-
-export default {
-
- name: 'WorkspaceDropdown',
- components: {
- Dropdown
- },
-
- setup () {
- const authStore = useAuthStore()
- const formsStore = useFormsStore()
- const workspacesStore = useWorkspacesStore()
- return {
- formsStore,
- workspacesStore,
- user: computed(() => authStore.user),
- workspaces: computed(() => workspacesStore.content),
- loading: computed(() => workspacesStore.loading)
- }
- },
-
- data: () => ({
- appName: window.config.appName
- }),
-
- computed: {
- workspace () {
- return this.workspacesStore.getCurrent()
- }
- },
-
- watch: {
- },
-
- mounted () {
- },
-
- methods: {
- switchWorkspace (workspace) {
- this.workspacesStore.setCurrentId(workspace.id)
- this.$refs.dropdown.close()
- if (this.$route.name !== 'home') {
- this.$router.push({ name: 'home' })
- }
- this.formsStore.load(workspace.id)
- },
- isUrl (str) {
- try {
- new URL(str)
- } catch (_) {
- return false
- }
- return true
- }
- }
-}
-</script>
-
-<style>
-</style>
diff --git a/resources/js/components/common/Breadcrumb.vue b/resources/js/components/common/Breadcrumb.vue
deleted file mode 100644
index 782fda712..000000000
--- a/resources/js/components/common/Breadcrumb.vue
+++ /dev/null
@@ -1,89 +0,0 @@
-<template>
- <section class="sticky flex items-center inset-x-0 top-0 z-20 py-3 bg-white border-b border-gray-200">
- <div class="hidden md:flex flex-grow">
- <slot name="left" />
- </div>
- <div class="px-4 mx-auto sm:px-6 lg:px-8 max-w-7xl">
- <div class="flex items-center justify-center space-x-4">
- <div v-if="displayHome" class="flex items-center">
- <router-link class="text-gray-400 hover:text-gray-500" :to="{ name: (authenticated) ? 'home' : 'welcome' }">
- <svg class="flex-shrink-0 w-5 h-5" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
- <path fill-rule="evenodd"
- d="M9.293 2.293a1 1 0 011.414 0l7 7A1 1 0 0117 11h-1v6a1 1 0 01-1 1h-2a1 1 0 01-1-1v-3a1 1 0 00-1-1H9a1 1 0 00-1 1v3a1 1 0 01-1 1H5a1 1 0 01-1-1v-6H3a1 1 0 01-.707-1.707l7-7z"
- clip-rule="evenodd"
- />
- </svg>
- <span class="sr-only">Home</span>
- </router-link>
- <svg class="flex-shrink-0 w-5 h-5 text-gray-400 ml-4" viewBox="0 0 20 20" fill="currentColor"
- aria-hidden="true"
- >
- <path fill-rule="evenodd"
- d="M7.21 14.77a.75.75 0 01.02-1.06L11.168 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z"
- clip-rule="evenodd"
- />
- </svg>
- </div>
-
- <div v-for="(item,index) in path" :key="index" class="flex items-center">
- <router-link v-if="item.route" class="text-sm font-semibold text-gray-500 hover:text-gray-700 truncate"
- :to="item.route"
- >
- {{ item.label }}
- </router-link>
- <div v-else class="text-sm font-semibold sm:w-full w-36 text-blue-500 truncate">
- {{ item.label }}
- </div>
- <div v-if="index!==path.length-1">
- <svg class="flex-shrink-0 w-5 h-5 text-gray-400 ml-4" viewBox="0 0 20 20" fill="currentColor"
- aria-hidden="true"
- >
- <path fill-rule="evenodd"
- d="M7.21 14.77a.75.75 0 01.02-1.06L11.168 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z"
- clip-rule="evenodd"
- />
- </svg>
- </div>
- </div>
- </div>
- </div>
- <div class="hidden md:flex flex-grow justify-end">
- <slot name="right" />
- </div>
- </section>
-</template>
-
-<script>
-import { computed } from 'vue'
-import { useAuthStore } from '../../stores/auth';
-
-export default {
- name: 'Breadcrumb',
- props: {
- /**
- * route: Route object
- * label: Label
- */
- path: { type: Array }
- },
-
- setup () {
- const authStore = useAuthStore()
- return {
- authenticated : computed(() => authStore.check)
- }
- },
-
- data () {
- return {
- displayHome: true
- }
- },
-
- computed: {},
-
- mounted () {},
-
- methods: {}
-}
-</script>
diff --git a/resources/js/components/common/Button.vue b/resources/js/components/common/Button.vue
deleted file mode 100644
index d2264b224..000000000
--- a/resources/js/components/common/Button.vue
+++ /dev/null
@@ -1,185 +0,0 @@
-<template>
- <a v-if="href" :class="btnClasses" :href="href" :target="target">
- <slot />
- </a>
- <button v-else-if="!to" :type="nativeType" :disabled="loading?true:null" :class="btnClasses"
- @click="onClick($event)"
- >
- <template v-if="!loading">
- <span class="no-underline mx-auto">
- <slot />
- </span>
- <svg v-if="arrow" class="ml-2 w-3 h-3 inline" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M1 11L11 1M11 1H1M11 1V11" stroke="currentColor" stroke-width="2" stroke-linecap="round"
- stroke-linejoin="round"
- />
- </svg>
- </template>
- <loader v-else class="h-6 w-6 mx-auto" :class="`text-${colorShades['text']}`" />
- </button>
- <router-link v-else :class="btnClasses" :to="to" :target="target">
- <span class="no-underline mx-auto">
- <slot />
- </span>
- <svg v-if="arrow" class="ml-2 w-3 h-3 inline" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M1 11L11 1M11 1H1M11 1V11" stroke="currentColor" stroke-width="2" stroke-linecap="round"
- stroke-linejoin="round"
- />
- </svg>
- </router-link>
-</template>
-
-<script>
-export default {
- name: 'VButton',
-
- props: {
- color: {
- type: String,
- default: 'blue'
- },
-
- size: {
- type: String,
- default: 'medium'
- },
-
- nativeType: {
- type: String,
- default: null
- },
-
- loading: {
- type: Boolean,
- default: false
- },
-
- arrow: {
- type: Boolean,
- default: false
- },
-
- to: {
- type: Object,
- default: null
- },
-
- href: {
- type: String,
- default: null
- },
-
- target: {
- type: String,
- default: '_self'
- }
- },
-
- computed: {
- btnClasses () {
- const sizes = this.sizes
- const colorShades = this.colorShades
- return `v-btn ${sizes['p-y']} ${sizes['p-x']}
- ${colorShades?.main} ${colorShades?.hover} ${colorShades?.ring} ${colorShades['ring-offset']}
- ${colorShades?.text} transition ease-in duration-200 text-center text-${sizes?.font} font-medium focus:outline-none focus:ring-2
- focus:ring-offset-2 rounded-lg flex items-center hover:no-underline`
- },
- colorShades () {
- if (this.color === 'blue') {
- return {
- main: 'bg-blue-600',
- hover: 'hover:bg-blue-700',
- ring: 'focus:ring-blue-500',
- 'ring-offset': 'focus:ring-offset-blue-200',
- text: 'text-white'
- }
- } else if (this.color === 'outline-blue') {
- return {
- main: 'bg-transparent border border-blue-600',
- hover: 'hover:bg-blue-600',
- ring: 'focus:ring-blue-500',
- 'ring-offset': 'focus:ring-offset-blue-200',
- text: 'text-blue-600 hover:text-white'
- }
- } else if (this.color === 'outline-gray') {
- return {
- main: 'bg-transparent border border-gray-300',
- hover: 'hover:bg-gray-500',
- ring: 'focus:ring-gray-500',
- 'ring-offset': 'focus:ring-offset-gray-200',
- text: 'text-gray-500 hover:text-white'
- }
- } else if (this.color === 'red') {
- return {
- main: 'bg-red-600',
- hover: 'hover:bg-red-700',
- ring: 'focus:ring-red-500',
- 'ring-offset': 'focus:ring-offset-red-200',
- text: 'text-white'
- }
- } else if (this.color === 'gray') {
- return {
- main: 'bg-gray-600',
- hover: 'hover:bg-gray-700',
- ring: 'focus:ring-gray-500',
- 'ring-offset': 'focus:ring-offset-gray-200',
- text: 'text-white'
- }
- } else if (this.color === 'light-gray') {
- return {
- main: 'bg-gray-50 border border-gray-300',
- hover: 'hover:bg-gray-100',
- ring: 'focus:ring-gray-500',
- 'ring-offset': 'focus:ring-offset-gray-300',
- text: 'text-gray-700'
- }
- } else if (this.color === 'green') {
- return {
- main: 'bg-green-600',
- hover: 'hover:bg-green-700',
- ring: 'focus:ring-green-500',
- 'ring-offset': 'focus:ring-offset-green-200',
- text: 'text-white'
- }
- } else if (this.color === 'yellow') {
- return {
- main: 'bg-yellow-600',
- hover: 'hover:bg-yellow-700',
- ring: 'focus:ring-yellow-500',
- 'ring-offset': 'focus:ring-offset-yellow-200',
- text: 'text-white'
- }
- } else if (this.color === 'white') {
- return {
- main: 'bg-transparent border border-gray-300',
- hover: 'hover:bg-gray-200',
- ring: 'focus:ring-white-500',
- 'ring-offset': 'focus:ring-offset-white-200',
- text: 'text-gray-700'
- }
- }
- console.error('Unknown color')
- },
- sizes () {
- if (this.size === 'small') {
- return {
- font: 'sm',
- 'p-y': 'py-1',
- 'p-x': 'px-2'
- }
- }
- return {
- font: 'base',
- 'p-y': 'py-2',
- 'p-x': 'px-4'
- }
- }
- },
-
- methods: {
- onClick (event) {
- this.$emit('click', event)
- }
- }
-}
-</script>
diff --git a/resources/js/components/common/Card.vue b/resources/js/components/common/Card.vue
deleted file mode 100644
index a484cfb9d..000000000
--- a/resources/js/components/common/Card.vue
+++ /dev/null
@@ -1,27 +0,0 @@
-<template>
- <div class="flex flex-col w-full bg-white rounded-lg shadow"
- :class="{'px-4 py-8 sm:px-6 md:px-8 lg:px-10':padding}"
- >
- <div v-if="title" class="self-center mb-6 text-xl font-light text-gray-900 sm:text-3xl font-bold dark:text-white">
- {{ title }}
- </div>
- <slot />
- </div>
-</template>
-
-<script>
-export default {
- name: 'Card',
-
- props: {
- padding: {
- type: Boolean,
- default: true
- },
- title: {
- type: String,
- default: null
- }
- }
-}
-</script>
diff --git a/resources/js/components/common/Collapse.vue b/resources/js/components/common/Collapse.vue
deleted file mode 100644
index 0f13a8a59..000000000
--- a/resources/js/components/common/Collapse.vue
+++ /dev/null
@@ -1,41 +0,0 @@
-<template>
- <div>
- <div class="w-full relative">
- <div class="cursor-pointer" @click="trigger">
- <slot name="title" />
- </div>
- <div class="text-gray-400 hover:text-gray-600 absolute -right-2 -top-1 cursor-pointer p-2" @click="trigger">
- <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 transition transform duration-500"
- :class="{'rotate-180':showContent}" viewBox="0 0 20 20" fill="currentColor"
- >
- <path fill-rule="evenodd"
- d="M10 18a8 8 0 100-16 8 8 0 000 16zm1-11a1 1 0 10-2 0v3.586L7.707 9.293a1 1 0 00-1.414 1.414l3 3a1 1 0 001.414 0l3-3a1 1 0 00-1.414-1.414L11 10.586V7z"
- clip-rule="evenodd"
- />
- </svg>
- </div>
- </div>
- <VTransition>
- <div v-if="showContent" class="w-full">
- <slot />
- </div>
- </VTransition>
- </div>
-</template>
-
-<script setup>
-import VTransition from './transitions/VTransition.vue'
-import { ref, defineProps, defineEmits } from 'vue'
-
-const props = defineProps({
- modelValue: { type: Boolean, default: null }
-})
-
-const showContent = ref(props.modelValue)
-const emit = defineEmits()
-
-const trigger = () => {
- showContent.value = !showContent.value
- emit('update:modelValue', showContent.value)
-}
-</script>
diff --git a/resources/js/components/common/Dropdown.vue b/resources/js/components/common/Dropdown.vue
deleted file mode 100644
index 1cd83df82..000000000
--- a/resources/js/components/common/Dropdown.vue
+++ /dev/null
@@ -1,54 +0,0 @@
-<template>
- <div class="relative">
- <slot name="trigger"
- :toggle="toggle"
- :open="open"
- :close="close"
- />
-
- <collapsible v-model="isOpen" :class="dropdownClass">
- <div class="py-1 " role="menu" aria-orientation="vertical" aria-labelledby="options-menu">
- <slot />
- </div>
- </collapsible>
- </div>
-</template>
-
-<script>
-import { ref } from 'vue'
-import Collapsible from './transitions/Collapsible.vue'
-
-export default {
- name: 'Dropdown',
- components: { Collapsible },
- directives: {},
- props: {
- dropdownClass: {
- type: String,
- default: 'origin-top-right absolute right-0 mt-2 w-56 rounded-md shadow-lg bg-white dark:bg-gray-800 ring-1 ring-black ring-opacity-5 z-20'
- }
- },
- setup () {
- const isOpen = ref(false)
-
- const open = () => {
- isOpen.value = true
- }
-
- const close = () => {
- isOpen.value = false
- }
-
- const toggle = () => {
- isOpen.value = !isOpen.value
- }
-
- return {
- isOpen,
- open,
- close,
- toggle
- }
- }
-}
-</script>
diff --git a/resources/js/components/common/EditableDiv.vue b/resources/js/components/common/EditableDiv.vue
deleted file mode 100644
index 4938a9d17..000000000
--- a/resources/js/components/common/EditableDiv.vue
+++ /dev/null
@@ -1,72 +0,0 @@
-<template>
- <div ref="parentRef"
- tabindex="0"
- :class="{
- 'hover:bg-gray-100 dark:hover:bg-gray-800 rounded px-2 cursor-pointer': !editing
- }"
- class="relative"
- :style="{ height: editing ? divHeight + 'px' : 'auto' }"
- @focus="startEditing"
- >
- <slot v-if="!editing" :content="content">
- <label class="cursor-pointer truncate w-full">
- {{ content }}
- </label>
- </slot>
- <div v-if="editing" class="absolute inset-0 border-2 transition-colors"
- :class="{ 'border-transparent': !editing, 'border-blue-500': editing }"
- >
- <input ref="editInputRef" v-model="content"
- class="absolute inset-0 focus:outline-none bg-white transition-colors"
- :class="[{'bg-blue-50': editing}, contentClass]" @blur="editing = false" @keyup.enter="editing = false"
- @input="handleInput"
- >
- </div>
- </div>
-</template>
-
-<script setup>
-import { ref, onMounted, watch, nextTick, defineProps, defineEmits } from 'vue'
-
-const props = defineProps({
- modelValue: { type: String, required: true },
- textAlign: { type: String, default: 'left' },
- contentClass: { type: String, default: '' }
-})
-
-const emit = defineEmits()
-const content = ref(props.modelValue)
-const editing = ref(false)
-const divHeight = ref(0)
-
-const parentRef = ref(null) // Ref for parent element
-const editInputRef = ref(null) // Ref for edit input element
-
-const startEditing = () => {
- if (parentRef.value) {
- divHeight.value = parentRef.value.offsetHeight
- editing.value = true
- nextTick(() => {
- if (editInputRef.value) {
- editInputRef.value.focus()
- }
- })
- }
-}
-
-const handleInput = () => {
- emit('update:modelValue', content.value)
-}
-
-// Watch for changes in props.modelValue and update the local content
-watch(() => props.modelValue, (newValue) => {
- content.value = newValue
-})
-
-// Wait until the component is mounted to set the initial divHeight
-onMounted(() => {
- if (parentRef.value) {
- divHeight.value = parentRef.value.offsetHeight
- }
-})
-</script>
diff --git a/resources/js/components/common/Loader.vue b/resources/js/components/common/Loader.vue
deleted file mode 100644
index c8b1aa299..000000000
--- a/resources/js/components/common/Loader.vue
+++ /dev/null
@@ -1,13 +0,0 @@
-<template>
- <svg class="animate-spin" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
- <circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
- <path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path>
- </svg>
-</template>
-
-<script>
-export default {
- name: 'Loader',
- props: {}
-}
-</script>
diff --git a/resources/js/components/common/Notifications.vue b/resources/js/components/common/Notifications.vue
deleted file mode 100644
index b7cbbdf08..000000000
--- a/resources/js/components/common/Notifications.vue
+++ /dev/null
@@ -1,139 +0,0 @@
-<template>
- <div class="fixed top-0 bottom-24 right-0 flex px-4 items-start justify-end z-50 pointer-events-none">
- <notification v-slot="{ notifications, close }">
- <div class="relative pointer-events-auto" v-for="notification in notifications" :key="notification.id">
- <div
- v-if="notification.type==='success'"
- class="flex max-w-sm w-full mx-auto bg-white shadow-md rounded-lg overflow-hidden mt-4"
- >
- <div class="flex justify-center items-center w-12 bg-green-500">
- <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 fill-current text-white" viewBox="0 0 20 20" fill="currentColor">
- <path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" />
- </svg>
- </div>
-
- <div class="-mx-3 py-2 px-4">
- <div class="mx-3">
- <span class="text-green-500 font-semibold pr-6">{{notification.title}}</span>
- <p class="text-gray-600 text-sm">{{notification.text}}</p>
- </div>
- </div>
- </div>
- <div
- v-if="notification.type==='info'"
- class="flex max-w-sm w-full mx-auto bg-white shadow-md rounded-lg overflow-hidden mt-4"
- >
- <div class="flex justify-center items-center w-12 bg-blue-500">
- <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 fill-current text-white" viewBox="0 0 20 20" fill="currentColor">
- <path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z" clip-rule="evenodd" />
- </svg>
- </div>
-
- <div class="-mx-3 py-2 px-4">
- <div class="mx-3">
- <span class="text-blue-500 font-semibold pr-6">{{notification.title}}</span>
- <p class="text-gray-600 text-sm">T{{notification.text}}</p>
- </div>
- </div>
- </div>
- <div
- v-if="notification.type==='error'"
- class="flex max-w-sm w-full mx-auto bg-white shadow-md rounded-lg overflow-hidden mt-4"
- >
- <div class="flex justify-center items-center w-12 bg-red-500">
- <svg
- class="h-6 w-6 fill-current text-white"
- viewBox="0 0 40 40"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- d="M20 3.33331C10.8 3.33331 3.33337 10.8 3.33337 20C3.33337 29.2 10.8 36.6666 20 36.6666C29.2 36.6666 36.6667 29.2 36.6667 20C36.6667 10.8 29.2 3.33331 20 3.33331ZM21.6667 28.3333H18.3334V25H21.6667V28.3333ZM21.6667 21.6666H18.3334V11.6666H21.6667V21.6666Z"
- />
- </svg>
- </div>
-
- <div class="-mx-3 py-2 px-4">
- <div class="mx-3">
- <span class="text-red-500 font-semibold pr-6">{{notification.title}}</span>
- <p class="text-gray-600 text-sm">{{notification.text}}</p>
- </div>
- </div>
- </div>
- <div
- class="flex max-w-sm w-full mx-auto bg-white shadow-md rounded-lg overflow-hidden mt-4"
- v-if="notification.type==='warning'"
- >
- <div class="flex justify-center items-center w-12 bg-yellow-500">
- <svg
- class="h-6 w-6 fill-current text-white"
- viewBox="0 0 40 40"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- d="M20 3.33331C10.8 3.33331 3.33337 10.8 3.33337 20C3.33337 29.2 10.8 36.6666 20 36.6666C29.2 36.6666 36.6667 29.2 36.6667 20C36.6667 10.8 29.2 3.33331 20 3.33331ZM21.6667 28.3333H18.3334V25H21.6667V28.3333ZM21.6667 21.6666H18.3334V11.6666H21.6667V21.6666Z"
- />
- </svg>
- </div>
-
- <div class="-mx-3 py-2 px-4">
- <div class="mx-3">
- <span class="text-yellow-500 font-semibold pr-6">{{notification.title}}</span>
- <p class="text-gray-600 text-sm">{{notification.text}}</p>
- </div>
- </div>
- </div>
- <div
- class="flex max-w-sm w-full mx-auto bg-white shadow-md rounded-lg overflow-hidden mt-4"
- v-if="notification.type==='confirm'"
- >
- <div class="flex justify-center items-center w-12 bg-blue-500">
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="w-6 h-6 text-white">
- <path fill-rule="evenodd" d="M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zm11.378-3.917c-.89-.777-2.366-.777-3.255 0a.75.75 0 01-.988-1.129c1.454-1.272 3.776-1.272 5.23 0 1.513 1.324 1.513 3.518 0 4.842a3.75 3.75 0 01-.837.552c-.676.328-1.028.774-1.028 1.152v.75a.75.75 0 01-1.5 0v-.75c0-1.279 1.06-2.107 1.875-2.502.182-.088.351-.199.503-.331.83-.727.83-1.857 0-2.584zM12 18a.75.75 0 100-1.5.75.75 0 000 1.5z" clip-rule="evenodd" />
- </svg>
- </div>
-
- <div class="-mx-3 py-2 px-4">
- <div class="mx-3">
- <span class="text-blue-500 font-semibold pr-6">{{notification.title}}</span>
- <p class="text-gray-600 text-sm">{{notification.text}}</p>
- <div class="w-full flex gap-2 mt-1">
- <v-button color="blue" size="small" @click.prevent="notification.success();close(notification.id)">Yes</v-button>
- <v-button color="gray" shade="light" size="small" @click.prevent="notification.failure();close(notification.id)">No</v-button>
- </div>
- </div>
- </div>
- </div>
- <button @click="close(notification.id)" class="absolute top-0 right-0 px-2 py-2 cursor-pointer">
- <svg
- class="fill-current h-6 w-6 text-gray-300 hover:text-gray-500"
- role="button"
- xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20"
- >
- <title>Close</title>
- <path
- d="M14.348 14.849a1.2 1.2 0 0 1-1.697 0L10 11.819l-2.651 3.029a1.2 1.2 0 1 1-1.697-1.697l2.758-3.15-2.759-3.152a1.2 1.2 0 1 1 1.697-1.697L10 8.183l2.651-3.031a1.2 1.2 0 1 1 1.697 1.697l-2.758 3.152 2.758 3.15a1.2 1.2 0 0 1 0 1.698z"
- />
- </svg>
- </button>
- </div>
- </notification>
- </div>
-</template>
-
-<script>
-export default {
- name: 'Notifications',
-
- data() {
- return {}
- },
-
- computed: {},
-
- mounted() {
- },
-
- methods: {}
-}
-</script>
diff --git a/resources/js/components/common/ProTag.vue b/resources/js/components/common/ProTag.vue
deleted file mode 100644
index e5c16fd9e..000000000
--- a/resources/js/components/common/ProTag.vue
+++ /dev/null
@@ -1,85 +0,0 @@
-<template>
- <div class="inline" v-if="shouldDisplayProTag">
- <div class="bg-nt-blue text-white px-2 text-xs uppercase inline rounded-full font-semibold cursor-pointer"
- @click.prevent="showPremiumModal=true"
- >
- PRO
- </div>
- <modal :show="showPremiumModal" @close="showPremiumModal=false">
- <h2 class="text-nt-blue">
- OpnForm PRO
- </h2>
- <h4 v-if="user && user.is_subscribed" class="text-center mt-5">
- We're happy to have you as a Pro customer. If you're having any issue with OpnForm, or if you have a
- feature request, please <a href="mailto:[email protected]">contact us</a>.
- </h4>
- <div v-if="!user || !user.is_subscribed" class="mt-4">
- <p>
- All the features with a<span
- class="bg-nt-blue text-white px-2 text-xs uppercase inline rounded-full font-semibold mx-1"
- >
- PRO
- </span> tag are available in the Pro plan of OpnForm. <b>You can play around and try all Pro features
- within
- the form editor, but you can't use them in your real forms</b>. You can subscribe now to gain unlimited access
- to
- all our pro features!
- </p>
- </div>
-
- <div class="my-4 text-center">
- <v-button color="white" @click="showPremiumModal=false">
- Close
- </v-button>
- </div>
- </modal>
- </div>
-</template>
-
-<script>
-import { computed } from 'vue'
-import Modal from '../Modal.vue'
-import { useAuthStore } from '../../stores/auth';
-import { useWorkspacesStore } from '../../stores/workspaces';
-import PricingTable from "../pages/pricing/PricingTable.vue";
-
-export default {
- name: 'ProTag',
- components: {PricingTable, Modal},
- props: {},
-
- setup () {
- const authStore = useAuthStore()
- const workspacesStore = useWorkspacesStore()
- return {
- user : computed(() => authStore.user),
- currentWorkSpace : computed(() => workspacesStore.getCurrent())
- }
- },
-
- data() {
- return {
- showPremiumModal: false,
- checkoutLoading: false
- }
- },
-
- computed: {
- shouldDisplayProTag() {
- if (!window.config.paid_plans_enabled) return false
- if (!this.user || !this.currentWorkSpace) return true
- return !(this.currentWorkSpace.is_pro)
- },
- },
-
- mounted() {
- },
-
- methods: {
- openChat() {
- window.$crisp.push(['do', 'chat:show'])
- window.$crisp.push(['do', 'chat:open'])
- },
- }
-}
-</script>
diff --git a/resources/js/components/common/ScrollShadow.vue b/resources/js/components/common/ScrollShadow.vue
deleted file mode 100644
index 98c011599..000000000
--- a/resources/js/components/common/ScrollShadow.vue
+++ /dev/null
@@ -1,185 +0,0 @@
-<template>
- <div class="scroll-shadow max-w-full" :class="[$style.wrap,{'w-max':!shadow.left && !shadow.right}]">
- <div
- ref="scrollContainer"
- :class="[$style['scroll-container'],{'no-scrollbar':hideScrollbar}]"
- :style="{ width: width?width:'auto', height }"
- @scroll.passive="toggleShadow"
- >
- <slot />
- <span :class="[$style['shadow-top'], shadow.top && $style['is-active']]" :style="{
- top: shadowTopOffset+'px',
- }"
- />
- <span :class="[$style['shadow-right'], shadow.right && $style['is-active']]" />
- <span :class="[$style['shadow-bottom'], shadow.bottom && $style['is-active']]" />
- <span :class="[$style['shadow-left'], shadow.left && $style['is-active']]" />
- </div>
- </div>
-</template>
-
-<script>
-function newResizeObserver (callback) {
- // Skip this feature for browsers which
- // do not support ResizeObserver.
- // https://caniuse.com/#search=resizeobserver
- if (typeof ResizeObserver === 'undefined') return
-
- return new ResizeObserver(e => e.map(callback))
-}
-
-export default {
- name: 'ScrollShadow',
- props: {
- hideScrollbar: {
- type: Boolean,
- default: false
- },
- shadowTopOffset: {
- type: Number,
- default: 0
- }
- },
- data () {
- return {
- width: undefined,
- height: undefined,
- shadow: {
- top: false,
- right: false,
- bottom: false,
- left: false
- },
- debounceTimeout: null,
- scrollContainerObserver: null,
- wrapObserver: null
- }
- },
- mounted () {
- window.addEventListener('resize', this.calcDimensions)
-
- // Check if shadows are necessary after the element is resized.
- this.scrollContainerObserver = newResizeObserver(this.toggleShadow)
- if (this.scrollContainerObserver) {
- this.scrollContainerObserver.observe(this.$refs.scrollContainer)
- }
-
- // Recalculate the container dimensions when the wrapper is resized.
- this.wrapObserver = newResizeObserver(this.calcDimensions)
- if (this.wrapObserver) {
- this.wrapObserver.observe(this.$el)
- }
- },
- unmounted () {
- window.removeEventListener('resize', this.calcDimensions)
- // Cleanup when the component is unmounted.
- this.wrapObserver.disconnect()
- this.scrollContainerObserver.disconnect()
- },
- methods: {
- async calcDimensions () {
- // Reset dimensions for correctly recalculating parent dimensions.
- this.width = undefined
- this.height = undefined
- await this.$nextTick()
-
- this.width = `${this.$el.clientWidth}px`
- this.height = `${this.$el.clientHeight}px`
- },
- // Check if shadows are needed.
- toggleShadow () {
- const hasHorizontalScrollbar =
- this.$refs.scrollContainer.clientWidth <
- this.$refs.scrollContainer.scrollWidth
- const hasVerticalScrollbar =
- this.$refs.scrollContainer.clientHeight <
- this.$refs.scrollContainer.scrollHeight
-
- const scrolledFromLeft =
- this.$refs.scrollContainer.offsetWidth +
- this.$refs.scrollContainer.scrollLeft
- const scrolledFromTop =
- this.$refs.scrollContainer.offsetHeight +
- this.$refs.scrollContainer.scrollTop
-
- const scrolledToTop = this.$refs.scrollContainer.scrollTop === 0
- const scrolledToRight =
- scrolledFromLeft >= this.$refs.scrollContainer.scrollWidth
- const scrolledToBottom =
- scrolledFromTop >= this.$refs.scrollContainer.scrollHeight
- const scrolledToLeft = this.$refs.scrollContainer.scrollLeft === 0
-
- this.$nextTick(() => {
- this.shadow.top = hasVerticalScrollbar && !scrolledToTop
- this.shadow.right = hasHorizontalScrollbar && !scrolledToRight
- this.shadow.bottom = hasVerticalScrollbar && !scrolledToBottom
- this.shadow.left = hasHorizontalScrollbar && !scrolledToLeft
- })
- }
- }
-}
-</script>
-
-<style lang="scss" module>
-.wrap {
- overflow: hidden;
- position: relative;
-}
-
-.scroll-container {
- overflow: auto;
-}
-
-.shadow-top,
-.shadow-right,
-.shadow-bottom,
-.shadow-left {
- position: absolute;
- border-radius: 6em;
- opacity: 0;
- transition: opacity 0.2s;
- pointer-events: none;
-}
-
-.shadow-top,
-.shadow-bottom {
- right: 0;
- left: 0;
- height: 1em;
- border-top-right-radius: 0;
- border-top-left-radius: 0;
- background-image: linear-gradient(rgba(#555, 0.1) 0%, rgba(#FFF, 0) 100%);
-}
-
-.shadow-top {
- top: 0;
-}
-
-.shadow-bottom {
- bottom: 0;
- transform: rotate(180deg);
-}
-
-.shadow-right,
-.shadow-left {
- top: 0;
- bottom: 0;
- width: 1em;
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
- background-image: linear-gradient(90deg, rgba(#555, 0.1) 0%, rgba(#FFF, 0) 100%);
-}
-
-.shadow-right {
- right: 0;
- transform: rotate(180deg);
-}
-
-.shadow-left {
- left: 0;
-}
-
-.is-active {
- opacity: 1;
-}
-</style>
diff --git a/resources/js/components/common/Steps.vue b/resources/js/components/common/Steps.vue
deleted file mode 100644
index 12703949e..000000000
--- a/resources/js/components/common/Steps.vue
+++ /dev/null
@@ -1,44 +0,0 @@
-<template>
- <div class="py-4" :class="{'border-b-2':borderBottom}">
- <div class="uppercase tracking-wide text-xs font-bold dark:text-gray-400 text-gray-500 mb-1 leading-tight">
- Step: {{ Math.min(current + 1, steps.length) }} of {{ steps.length }}
- </div>
- <div class="flex flex-col md:flex-row md:items-center md:justify-between">
- <div class="flex-1">
- <div class="text-lg font-bold dark:text-gray-300 text-gray-700 leading-tight">
- {{ steps[current] ? steps[current] : 'Complete!' }}
- </div>
- </div>
-
- <div class="flex items-center md:w-64">
- <div class="w-full bg-gray-100 dark:bg-gray-700 rounded-full mr-2">
- <div class="rounded-full bg-nt-blue text-xs leading-none h-2 text-center text-white transition-all"
- :style="{'width': parseInt(current / steps.length * 100) +'%', 'min-width': '8px'}"
- />
- </div>
- <div class="text-xs w-10 text-gray-600 dark:text-gray-400" v-text="parseInt(current / steps.length * 100) +'%'" />
- </div>
- </div>
- </div>
-</template>
-
-<script>
-export default {
- name: 'Steps',
-
- props: {
- steps: {
- type: Array,
- required: true
- },
- borderBottom: {
- type: Boolean,
- default: true
- },
- current: {
- type: Number,
- default: 0
- }
- }
-}
-</script>
diff --git a/resources/js/components/common/index.js b/resources/js/components/common/index.js
deleted file mode 100644
index f9b602820..000000000
--- a/resources/js/components/common/index.js
+++ /dev/null
@@ -1,12 +0,0 @@
-import Dropdown from './Dropdown.vue'
-import Card from './Card.vue'
-import Button from './Button.vue'
-export function registerComponents (app) {
- [
- Card,
- Button,
- Dropdown
- ].forEach(Component => {
- app.component(Component.name, Component)
- })
-}
diff --git a/resources/js/components/common/transitions/Collapsible.vue b/resources/js/components/common/transitions/Collapsible.vue
deleted file mode 100644
index 374810d73..000000000
--- a/resources/js/components/common/transitions/Collapsible.vue
+++ /dev/null
@@ -1,59 +0,0 @@
-<template>
- <transition @leave="(el,done) => motions.collapsible.leave(done)">
- <div
- v-if="modelValue"
- key="dropdown"
- v-motion="'collapsible'"
- v-on-click-outside.bubble="close"
- :variants="motionCollapse"
- >
- <slot />
- </div>
- </transition>
-</template>
-
-<script>
-import { vOnClickOutside } from '@vueuse/components'
-import { useMotions } from '@vueuse/motion'
-
-export default {
- name: 'Collapsible',
- directives: {
- onClickOutside: vOnClickOutside
- },
- props: {
- modelValue: { type: Boolean },
- closeOnClickAway: { type: Boolean, default: true }
- },
- setup () {
- return {
- motions: useMotions()
- }
- },
- computed: {
- motionCollapse () {
- return {
- enter: {
- opacity: 1,
- y: 0,
- height: 'auto',
- transition: { duration: 150, ease: 'easeOut' }
- },
- initial: {
- opacity: 0,
- y: -10,
- height: 0,
- transition: { duration: 75, ease: 'easeIn' }
- }
- }
- }
- },
- methods: {
- close () {
- if (this.closeOnClickAway) {
- this.$emit('update:modelValue', false)
- }
- }
- }
-}
-</script>
diff --git a/resources/js/components/common/transitions/VTransition.vue b/resources/js/components/common/transitions/VTransition.vue
deleted file mode 100644
index a2376dab4..000000000
--- a/resources/js/components/common/transitions/VTransition.vue
+++ /dev/null
@@ -1,19 +0,0 @@
-<template>
- <transition v-if="name=='slideInUp'"
- enter-active-class="linear duration-300 overflow-hidden"
- enter-from-class="max-h-0"
- enter-to-class="max-h-screen"
- leave-active-class="linear duration-300 overflow-hidden"
- leave-from-class="max-h-screen"
- leave-to-class="max-h-0"
- >
- <slot />
- </transition>
-</template>
-
-<script>
-export default {
- name: 'VTransition',
- props: { name: { default: 'slideInUp' } }
-}
-</script>
diff --git a/resources/js/components/forms/CheckboxInput.vue b/resources/js/components/forms/CheckboxInput.vue
deleted file mode 100644
index fa37fd415..000000000
--- a/resources/js/components/forms/CheckboxInput.vue
+++ /dev/null
@@ -1,46 +0,0 @@
-<template>
- <input-wrapper v-bind="inputWrapperProps">
- <template #label>
- <span />
- </template>
-
- <v-checkbox :id="id?id:name" v-model="compVal" :disabled="disabled?true:null" :name="name">
- <slot name="label">
- {{ label }} <span v-if="required" class="text-red-500 required-dot">*</span>
- </slot>
- </v-checkbox>
-
- <template #help>
- <slot name="help" />
- </template>
-
- <template #error>
- <slot name="error" />
- </template>
- </input-wrapper>
-</template>
-
-<script>
-import { inputProps, useFormInput } from './useFormInput.js'
-import VCheckbox from './components/VCheckbox.vue'
-import InputWrapper from './components/InputWrapper.vue'
-
-export default {
- name: 'CheckboxInput',
-
- components: { InputWrapper, VCheckbox },
- props: {
- ...inputProps
- },
-
- setup (props, context) {
- return {
- ...useFormInput(props, context)
- }
- },
-
- mounted () {
- this.compVal = !!this.compVal
- }
-}
-</script>
diff --git a/resources/js/components/forms/CodeInput.vue b/resources/js/components/forms/CodeInput.vue
deleted file mode 100644
index f373f1856..000000000
--- a/resources/js/components/forms/CodeInput.vue
+++ /dev/null
@@ -1,65 +0,0 @@
-<template>
- <input-wrapper
- v-bind="inputWrapperProps"
- >
- <template #label>
- <slot name="label" />
- </template>
-
- <template #help>
- <slot name="help" />
- </template>
-
- <div
- :class="[theme.CodeInput.input,{ '!ring-red-500 !ring-2': hasError, '!cursor-not-allowed !bg-gray-200':disabled }]"
- >
- <codemirror :id="id?id:name" v-model="compVal" :disabled="disabled?true:null"
- :options="cmOptions"
- :style="inputStyle" :name="name"
- :placeholder="placeholder"
- />
- </div>
-
- <template #error>
- <slot name="error" />
- </template>
- </input-wrapper>
-</template>
-
-<script>
-import { codemirror } from 'vue-codemirror'
-import 'codemirror/lib/codemirror.css'
-
-import 'codemirror/mode/htmlmixed/htmlmixed.js'
-
-import { inputProps, useFormInput } from './useFormInput.js'
-import InputWrapper from './components/InputWrapper.vue'
-
-export default {
- name: 'CodeInput',
-
- components: { InputWrapper, codemirror },
- props: {
- ...inputProps
- },
-
- setup (props, context) {
- return {
- ...useFormInput(props, context)
- }
- },
-
- data () {
- return {
- cmOptions: {
- // codemirror options
- tabSize: 4,
- mode: 'text/html',
- theme: 'default',
- lineNumbers: true,
- line: true
- }
- }
- }
-}
-</script>
diff --git a/resources/js/components/forms/ColorInput.vue b/resources/js/components/forms/ColorInput.vue
deleted file mode 100644
index 3bfa0e8f1..000000000
--- a/resources/js/components/forms/ColorInput.vue
+++ /dev/null
@@ -1,45 +0,0 @@
-<template>
- <input-wrapper v-bind="inputWrapperProps">
- <template #label>
- <span />
- </template>
-
- <div class="flex items-center">
- <input :id="id?id:name" v-model="compVal" :disabled="disabled?true:null"
- type="color" class="mr-2"
- :name="name"
- >
- <slot name="label">
- <span>{{ label }} <span v-if="required" class="text-red-500 required-dot">*</span></span>
- </slot>
- </div>
-
- <template #help>
- <slot name="help" />
- </template>
-
- <template #error>
- <slot name="error" />
- </template>
- </input-wrapper>
-</template>
-
-<script>
-import InputWrapper from './components/InputWrapper.vue'
-import { inputProps, useFormInput } from './useFormInput.js'
-
-export default {
- name: 'ColorInput',
- components: { InputWrapper },
-
- props: {
- ...inputProps
- },
-
- setup (props, context) {
- return {
- ...useFormInput(props, context)
- }
- }
-}
-</script>
diff --git a/resources/js/components/forms/DateInput.vue b/resources/js/components/forms/DateInput.vue
deleted file mode 100644
index 35b953d27..000000000
--- a/resources/js/components/forms/DateInput.vue
+++ /dev/null
@@ -1,190 +0,0 @@
-<template>
- <input-wrapper
- v-bind="inputWrapperProps"
- >
- <template #label>
- <slot name="label" />
- </template>
-
- <div v-if="!dateRange" class="flex">
- <input :id="id?id:name" v-model="fromDate" :type="useTime ? 'datetime-local' : 'date'" :class="inputClasses"
- :disabled="disabled?true:null"
- :style="inputStyle" :name="name" data-date-format="YYYY-MM-DD"
- :min="setMinDate" :max="setMaxDate"
- >
- </div>
- <div v-else :class="inputClasses">
- <div class="flex -mx-2">
- <p class="text-gray-900 px-4">
- From
- </p>
- <input :id="id?id:name" v-model="fromDate" :type="useTime ? 'datetime-local' : 'date'" :disabled="disabled?true:null"
- :style="inputStyle" :name="name" data-date-format="YYYY-MM-DD"
- class="flex-grow border-transparent focus:outline-none "
- :min="setMinDate" :max="setMaxDate"
- >
- <p class="text-gray-900 px-4">
- To
- </p>
- <input v-if="dateRange" :id="id?id:name" v-model="toDate" :type="useTime ? 'datetime-local' : 'date'"
- :disabled="disabled?true:null"
- :style="inputStyle" :name="name" class="flex-grow border-transparent focus:outline-none"
- :min="setMinDate" :max="setMaxDate"
- >
- </div>
- </div>
-
- <template #help>
- <slot name="help" />
- </template>
- <template #error>
- <slot name="error" />
- </template>
- </input-wrapper>
-</template>
-
-<script>
-import { inputProps, useFormInput } from './useFormInput.js'
-import InputWrapper from './components/InputWrapper.vue'
-import { fixedClasses } from '../../plugins/config/vue-tailwind/datePicker.js'
-
-export default {
- name: 'DateInput',
- components: { InputWrapper },
- mixins: [],
-
- props: {
- ...inputProps,
- withTime: { type: Boolean, default: false },
- dateRange: { type: Boolean, default: false },
- disablePastDates: { type: Boolean, default: false },
- disableFutureDates: { type: Boolean, default: false }
- },
-
- setup (props, context) {
- return {
- ...useFormInput(props, context)
- }
- },
-
- data: () => ({
- fixedClasses: fixedClasses,
- fromDate: null,
- toDate: null
- }),
-
- computed: {
- inputClasses () {
- let str = 'border border-gray-300 dark:bg-notion-dark-light dark:border-gray-600 dark:placeholder-gray-500 dark:text-gray-300 flex-1 focus:border-transparent focus:outline-none focus:ring-2 focus:ring-opacity-100 placeholder-gray-400 px-4 py-2 rounded-lg shadow-sm text-base text-black text-gray-700'
- str += this.dateRange ? ' w-50' : ' w-full'
- str += this.disabled ? ' !cursor-not-allowed !bg-gray-200' : ''
- return str
- },
- useTime () {
- return this.withTime && !this.dateRange
- },
- setMinDate () {
- if (this.disablePastDates) {
- return new Date().toISOString().split('T')[0]
- }
- return false
- },
- setMaxDate () {
- if (this.disableFutureDates) {
- return new Date().toISOString().split('T')[0]
- }
- return false
- }
- },
-
- watch: {
- color: {
- handler () {
- this.setInputColor()
- },
- immediate: true
- },
- fromDate: {
- handler (val) {
- if (this.dateRange) {
- if (!Array.isArray(this.compVal)) {
- this.compVal = []
- }
- this.compVal[0] = this.dateToUTC(val)
- } else {
- this.compVal = this.dateToUTC(val)
- }
- },
- immediate: false
- },
- toDate: {
- handler (val) {
- if (this.dateRange) {
- if (!Array.isArray(this.compVal)) {
- this.compVal = [null]
- }
- this.compVal[1] = this.dateToUTC(val)
- } else {
- this.compVal = null
- }
- },
- immediate: false
- }
- },
-
- mounted () {
- if (this.compVal) {
- if (Array.isArray(this.compVal)) {
- this.fromDate = this.compVal[0] ?? null
- this.toDate = this.compVal[1] ?? null
- } else {
- this.fromDate = this.dateToLocal(this.compVal)
- }
- }
-
- this.fixedClasses.input = this.theme.default.input
- this.setInputColor()
- },
-
- methods: {
- /**
- * Pressing enter won't submit form
- * @param event
- * @returns {boolean}
- */
- onEnterPress (event) {
- event.preventDefault()
- return false
- },
- setInputColor () {
- if (this.$refs.datepicker) {
- const dateInput = this.$refs.datepicker.$el.getElementsByTagName('input')[0]
- dateInput.style.setProperty('--tw-ring-color', this.color)
- }
- },
- dateToUTC (val) {
- if (!val) {
- return null
- }
- if (!this.useTime) {
- return val
- }
- return new Date(val).toISOString()
- },
- dateToLocal (val) {
- if (!val) {
- return null
- }
- const dateObj = new Date(val)
- let dateStr = dateObj.getFullYear() + '-' +
- String(dateObj.getMonth() + 1).padStart(2, '0') + '-' +
- String(dateObj.getDate()).padStart(2, '0')
- if (this.useTime) {
- dateStr += 'T' + String(dateObj.getHours()).padStart(2, '0') + ':' +
- String(dateObj.getMinutes()).padStart(2, '0')
- }
- return dateStr
- }
- }
-}
-</script>
diff --git a/resources/js/components/forms/FileInput.vue b/resources/js/components/forms/FileInput.vue
deleted file mode 100644
index 984ab91ee..000000000
--- a/resources/js/components/forms/FileInput.vue
+++ /dev/null
@@ -1,239 +0,0 @@
-<template>
- <input-wrapper
- v-bind="inputWrapperProps"
- >
- <template #label>
- <slot name="label" />
- </template>
-
- <div class="flex w-full items-center justify-center transition-colors duration-40"
- :class="[{'!cursor-not-allowed':disabled, 'cursor-pointer':!disabled,
- [theme.fileInput.inputHover.light + ' dark:'+theme.fileInput.inputHover.dark]: uploadDragoverEvent,
- ['hover:'+theme.fileInput.inputHover.light +' dark:hover:'+theme.fileInput.inputHover.dark]: !loading}, theme.fileInput.input]"
- @dragover.prevent="uploadDragoverEvent=true"
- @dragleave.prevent="uploadDragoverEvent=false"
- @drop.prevent="onUploadDropEvent"
- @click="openFileUpload"
- >
- <div
- v-if="loading"
- class="text-gray-600 dark:text-gray-400"
- >
- <loader class="mx-auto h-6 w-6" />
- <p class="mt-2 text-center text-sm text-gray-500">
- Uploading your file...
- </p>
- </div>
- <template v-else>
- <div class="text-center">
- <input
- ref="actual-input"
- class="hidden"
- :multiple="multiple"
- type="file"
- :name="name"
- :accept="acceptExtensions"
- @change="manualFileUpload"
- >
- <div v-if="files.length" class="flex flex-wrap items-center justify-center gap-4">
- <uploaded-file
- v-for="file in files"
- :key="file.url"
- :file="file"
- :theme="theme"
- @remove="clearFile(file)"
- />
- </div>
- <template v-else>
- <div class="text-gray-500 w-full flex justify-center">
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
- stroke="currentColor" class="w-6 h-6"
- >
- <path stroke-linecap="round" stroke-linejoin="round"
- d="M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5m-13.5-9L12 3m0 0l4.5 4.5M12 3v13.5"
- />
- </svg>
- </div>
-
- <p class="mt-2 text-sm text-gray-500 font-semibold select-none">
- Click to choose {{ multiple ? 'file(s)' : 'a file' }} or drag here
- </p>
- <p class="mt-1 text-xs text-gray-400 dark:text-gray-600 select-none">
- Size limit: {{ mbLimit }}MB per file
- </p>
- </template>
- </div>
- </template>
- </div>
-
- <template #help>
- <slot name="help" />
- </template>
- <template #error>
- <slot name="error" />
- </template>
- </input-wrapper>
-</template>
-
-<script>
-import axios from 'axios'
-import { inputProps, useFormInput } from './useFormInput.js'
-import InputWrapper from './components/InputWrapper.vue'
-import UploadedFile from './components/UploadedFile.vue'
-
-export default {
- name: 'FileInput',
- components: { InputWrapper, UploadedFile },
- mixins: [],
- props: {
- ...inputProps,
- multiple: { type: Boolean, default: true },
- mbLimit: { type: Number, default: 5 },
- accept: { type: String, default: '' },
- moveToFormAssets: { type: Boolean, default: false }
- },
-
- setup (props, context) {
- return {
- ...useFormInput(props, context)
- }
- },
-
- data: () => ({
- files: [],
- uploadDragoverEvent: false,
- loading: false
- }),
-
- computed: {
- currentUrl () {
- return this.form[this.name]
- },
- acceptExtensions () {
- if (!this.accept) {
- return null
- }
- return this.accept
- .split(',')
- .map((i) => {
- return '.' + i.trim()
- })
- .join(',')
- }
- },
-
- watch: {
- files: {
- deep: true,
- handler (files) {
- this.compVal = files.map((file) => file.url)
- }
- }
- },
-
- async created () {
- if (typeof this.compVal === 'string' || this.compVal instanceof String) {
- await this.getFileFromUrl(this.compVal).then((fileObj) => {
- this.files = [{
- file: fileObj,
- url: this.compVal,
- src: this.getFileSrc(fileObj)
- }]
- })
- } else if (this.compVal && this.compVal.length > 0) {
- const tmpFiles = []
- for (let i = 0; i < this.compVal.length; i++) {
- await this.getFileFromUrl(this.compVal[i]).then((fileObj) => {
- tmpFiles.push({
- file: fileObj,
- url: this.compVal[i],
- src: this.getFileSrc(fileObj)
- })
- })
- }
- this.files = tmpFiles
- }
- },
-
- methods: {
- clearAll () {
- this.files = []
- },
- clearFile (index) {
- this.files.splice(index, 1)
- },
- onUploadDropEvent (e) {
- this.uploadDragoverEvent = false
- this.droppedFiles(e.dataTransfer.files)
- },
- droppedFiles (droppedFiles) {
- if (!droppedFiles || this.disabled) return
-
- for (let i = 0; i < droppedFiles.length; i++) {
- this.uploadFileToServer(droppedFiles.item(i))
- }
- },
- openFileUpload () {
- if (this.disabled) return
- this.$refs['actual-input'].click()
- },
- manualFileUpload (e) {
- const files = e.target.files
- for (let i = 0; i < files.length; i++) {
- this.uploadFileToServer(files.item(i))
- }
- },
- uploadFileToServer (file) {
- if (this.disabled) return
- this.loading = true
- this.storeFile(file)
- .then((response) => {
- if (!this.multiple) {
- this.files = []
- }
- if (this.moveToFormAssets) {
- // Move file to permanent storage for form assets
- axios.post('/api/open/forms/assets/upload', {
- type: 'files',
- url: file.name.split('.').slice(0, -1).join('.') + '_' + response.uuid + '.' + response.extension
- }).then(moveFileResponse => {
- this.files.push({
- file: file,
- url: moveFileResponse.data.url,
- src: this.getFileSrc(file)
- })
- this.loading = false
- }).catch((error) => {
- this.loading = false
- })
- } else {
- this.files.push({
- file: file,
- url: file.name.split('.').slice(0, -1).join('.') + '_' + response.uuid + '.' + response.extension,
- src: this.getFileSrc(file)
- })
- this.loading = false
- }
- })
- .catch((error) => {
- this.clearAll()
- this.loading = false
- })
- },
- async getFileFromUrl (url, defaultType = 'image/jpeg') {
- const response = await fetch(url)
- const data = await response.blob()
- const name = url.replace(/^.*(\\|\/|\:)/, '')
- return new File([data], name, {
- type: data.type || defaultType
- })
- },
- getFileSrc (file) {
- if (file.type && file.type.split('/')[0] === 'image') {
- return URL.createObjectURL(file)
- }
- return null
- }
- }
-}
-</script>
diff --git a/resources/js/components/forms/FlatSelectInput.vue b/resources/js/components/forms/FlatSelectInput.vue
deleted file mode 100644
index c7e73627c..000000000
--- a/resources/js/components/forms/FlatSelectInput.vue
+++ /dev/null
@@ -1,96 +0,0 @@
-<template>
- <input-wrapper
- v-bind="inputWrapperProps"
- >
- <template #label>
- <slot name="label" />
- </template>
-
- <loader v-if="loading" key="loader" class="h-6 w-6 text-nt-blue mx-auto" />
- <div v-for="(option, index) in options" v-else :key="option[optionKey]" role="button"
- :class="[theme.default.input,'cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-900 flex',{ 'mb-2': index !== options.length,'!ring-red-500 !ring-2': hasValidation && form.errors.has(name), '!cursor-not-allowed !bg-gray-200':disabled }]"
- @click="onSelect(option[optionKey])"
- >
- <p class="flex-grow">
- {{ option[displayKey] }}
- </p>
- <div v-if="isSelected(option[optionKey])" class="flex items-center">
- <svg :color="color" xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
- <path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" />
- </svg>
- </div>
- </div>
-
- <template #help>
- <slot name="help" />
- </template>
- <template #error>
- <slot name="error" />
- </template>
- </input-wrapper>
-</template>
-
-<script>
-import { inputProps, useFormInput } from './useFormInput.js'
-import InputWrapper from './components/InputWrapper.vue'
-
-/**
- * Options: {name,value} objects
- */
-export default {
- name: 'FlatSelectInput',
- components: { InputWrapper },
-
- props: {
- ...inputProps,
- options: { type: Array, required: true },
- optionKey: { type: String, default: 'value' },
- emitKey: { type: String, default: 'value' },
- displayKey: { type: String, default: 'name' },
- loading: { type: Boolean, default: false },
- multiple: { type: Boolean, default: false }
- },
- setup (props, context) {
- return {
- ...useFormInput(props, context)
- }
- },
- data () {
- return {}
- },
- computed: {},
- methods: {
- onSelect (value) {
- if (this.disabled) {
- return
- }
-
- if (this.multiple) {
- const emitValue = Array.isArray(this.compVal) ? [...this.compVal] : []
-
- // Already in value, remove it
- if (this.isSelected(value)) {
- this.compVal = emitValue.filter((item) => {
- return item !== value
- })
- return
- }
-
- // Otherwise add value
- emitValue.push(value)
- this.compVal = emitValue
- } else {
- this.compVal = (this.compVal === value) ? null : value
- }
- },
- isSelected (value) {
- if (!this.compVal) return false
-
- if (this.multiple) {
- return this.compVal.includes(value)
- }
- return this.compVal === value
- }
- }
-}
-</script>
diff --git a/resources/js/components/forms/ImageInput.vue b/resources/js/components/forms/ImageInput.vue
deleted file mode 100644
index 4dcd9e327..000000000
--- a/resources/js/components/forms/ImageInput.vue
+++ /dev/null
@@ -1,214 +0,0 @@
-<template>
- <input-wrapper
- v-bind="inputWrapperProps"
- >
- <template #label>
- <slot name="label" />
- </template>
-
- <span class="inline-block w-full rounded-md shadow-sm">
- <button type="button" aria-haspopup="listbox" aria-expanded="true" aria-labelledby="listbox-label"
- class="cursor-pointer relative w-full" :class="[theme.default.input,{'ring-red-500 ring-2': hasValidation && form.errors.has(name)}]"
- :style="inputStyle" @click.prevent="showUploadModal=true"
- >
- <div v-if="currentUrl==null" class="h-6 text-gray-600 dark:text-gray-400">
- Upload image <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 inline" fill="none" viewBox="0 0 24 24"
- stroke="currentColor"
- >
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
- d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12"
- />
- </svg>
- </div>
- <div v-else class="h-6 text-gray-600 dark:text-gray-400 flex">
- <div class="flex-grow">
- <img :src="currentUrl" class="h-6 rounded shadow-md">
- </div>
- <a href="#" class="hover:text-nt-blue flex" @click.prevent="clearUrl">
- <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24"
- stroke="currentColor"
- >
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
- d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"
- />
- </svg></a>
- </div>
- </button>
- </span>
-
- <template #help>
- <slot name="help" />
- </template>
- <template #error>
- <slot name="error" />
- </template>
-
- <!-- Modal -->
- <modal :show="showUploadModal" @close="showUploadModal=false">
- <h2 class="text-lg font-semibold">
- Upload an image
- </h2>
-
- <div class="max-w-3xl mx-auto lg:max-w-none">
- <div class="sm:mt-5 sm:grid sm:grid-cols-1 sm:gap-4 sm:items-start sm:pt-5">
- <div class="mt-2 sm:mt-0 sm:col-span-2 mb-5">
- <div
- v-cloak
- class="w-full flex justify-center items-center px-6 pt-5 pb-6 border-2 border-gray-300 border-dashed rounded-md h-128"
- @dragover.prevent="onUploadDragoverEvent($event)"
- @drop.prevent="onUploadDropEvent($event)"
- >
- <div v-if="loading" class="text-gray-600 dark:text-gray-400">
- <loader class="h-6 w-6 mx-auto m-10" />
- <p class="text-center mt-6">
- Uploading your file...
- </p>
- </div>
- <template v-else>
- <div
- class="absolute rounded-full bg-gray-100 h-20 w-20 z-10 transition-opacity duration-500 ease-in-out"
- :class="{
- 'opacity-100': uploadDragoverTracking,
- 'opacity-0': !uploadDragoverTracking
- }"
- />
- <div class="relative z-20 text-center">
- <input ref="actual-input" class="hidden" type="file" :name="name"
- accept="image/png, image/gif, image/jpeg, image/bmp, image/svg+xml" @change="manualFileUpload"
- >
- <svg xmlns="http://www.w3.org/2000/svg" class="mx-auto h-24 w-24 text-gray-200" fill="none"
- viewBox="0 0 24 24" stroke="currentColor"
- >
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
- d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12"
- />
- </svg>
- <p class="mt-5 text-sm text-gray-600">
- <button
- type="button"
- class="font-semibold text-nt-blue hover:text-nt-blue-dark focus:outline-none focus:underline transition duration-150 ease-in-out"
- @click="openFileUpload"
- >
- Upload your image,
- </button>
- use drag and drop or paste it
- </p>
- <p class="mt-1 text-xs text-gray-500">
- .jpg, .jpeg, .png, .bmp, .gif, .svg up to 5mb
- </p>
- </div>
- </template>
- </div>
- </div>
- </div>
- </div>
- </modal>
- </input-wrapper>
-</template>
-
-<script>
-import axios from 'axios'
-import { inputProps, useFormInput } from './useFormInput.js'
-import InputWrapper from './components/InputWrapper.vue'
-import Modal from '../Modal.vue'
-
-export default {
- name: 'ImageInput',
- components: { InputWrapper, Modal },
- mixins: [],
- props: {
- ...inputProps
- },
-
- setup (props, context) {
- return {
- ...useFormInput(props, context)
- }
- },
-
- data: () => ({
- showUploadModal: false,
-
- file: [],
- uploadDragoverTracking: false,
- uploadDragoverEvent: false,
- loading: false
- }),
-
- computed: {
- currentUrl () {
- return this.compVal
- }
- },
-
- watch: {
- showUploadModal: {
- handler (val) {
- document.removeEventListener('paste', this.onUploadPasteEvent)
- if (this.showUploadModal) {
- document.addEventListener('paste', this.onUploadPasteEvent)
- }
- }
- }
- },
-
- methods: {
- clearUrl () {
- this.form[this.name] = null
- },
- onUploadDragoverEvent (e) {
- this.uploadDragoverEvent = true
- this.uploadDragoverTracking = true
- },
- onUploadDropEvent (e) {
- this.uploadDragoverEvent = false
- this.uploadDragoverTracking = false
- this.droppedFiles(e.dataTransfer.files)
- },
- onUploadPasteEvent (e) {
- if (!this.showUploadModal) return
- this.uploadDragoverEvent = false
- this.uploadDragoverTracking = false
- this.droppedFiles(e.clipboardData.files)
- },
- droppedFiles (droppedFiles) {
- if (!droppedFiles) return
-
- this.file = droppedFiles[0]
- this.uploadFileToServer()
- },
- openFileUpload () {
- this.$refs['actual-input'].click()
- },
- manualFileUpload (e) {
- this.file = e.target.files[0]
- this.uploadFileToServer()
- },
- uploadFileToServer () {
- this.loading = true
- // Store file in s3
- this.storeFile(this.file).then(response => {
- // Move file to permanent storage for form assets
- axios.post('/api/open/forms/assets/upload', {
- url: this.file.name.split('.').slice(0, -1).join('.') + '_' + response.uuid + '.' + response.extension
- }).then(moveFileResponse => {
- if (!this.multiple) {
- this.files = []
- }
- this.compVal = moveFileResponse.data.url
- this.showUploadModal = false
- this.loading = false
- }).catch((error) => {
- this.compVal = null
- this.showUploadModal = false
- this.loading = false
- })
- }).catch((error) => {
- this.compVal = null
- this.showUploadModal = false
- this.loading = false
- })
- }
- }
-}
-</script>
diff --git a/resources/js/components/forms/PhoneInput.vue b/resources/js/components/forms/PhoneInput.vue
deleted file mode 100644
index ae530da99..000000000
--- a/resources/js/components/forms/PhoneInput.vue
+++ /dev/null
@@ -1,145 +0,0 @@
-<template>
- <input-wrapper
- v-bind="inputWrapperProps"
- >
- <template #label>
- <slot name="label" />
- </template>
-
- <div :id="id ? id : name" :name="name" :style="inputStyle" class="flex items-center">
- <v-select v-model="selectedCountryCode" class="w-[130px]" dropdown-class="w-[300px]" input-class="rounded-r-none"
- :data="countries"
- :disabled="(disabled || countries.length===1)?true:null" :searchable="true" :search-keys="['name']" :option-key="'code'" :color="color"
- :has-error="hasValidation && form.errors.has(name)"
- :placeholder="'Select a country'" :uppercase-labels="true" :theme="theme" @update:model-value="onChangeCountryCode"
- >
- <template #option="props">
- <div class="flex items-center space-x-2 hover:text-white">
- <country-flag size="normal" class="!-mt-[9px]" :country="props.option.code" />
- <span class="grow">{{ props.option.name }}</span>
- <span>{{ props.option.dial_code }}</span>
- </div>
- </template>
- <template #selected="props">
- <div class="flex items-center space-x-2 justify-center overflow-hidden">
- <country-flag size="normal" class="!-mt-[9px]" :country="props.option.code" />
- <span>{{ props.option.dial_code }}</span>
- </div>
- </template>
- </v-select>
- <input v-model="inputVal" type="text" class="inline-flex-grow !border-l-0 !rounded-l-none" :disabled="disabled?true:null"
- :class="[theme.default.input, { '!ring-red-500 !ring-2': hasValidation && form.errors.has(name), '!cursor-not-allowed !bg-gray-200': disabled }]"
- :placeholder="placeholder" :style="inputStyle" @update:model-value="onInput"
- >
- </div>
-
- <template #help>
- <slot name="help" />
- </template>
-
- <template #error>
- <slot name="error" />
- </template>
- </input-wrapper>
-</template>
-
-<script>
-import { inputProps, useFormInput } from './useFormInput.js'
-import InputWrapper from './components/InputWrapper.vue'
-import countryCodes from '../../../data/country_codes.json'
-import CountryFlag from 'vue-country-flag-next'
-import parsePhoneNumber from 'libphonenumber-js'
-
-export default {
- phone: 'PhoneInput',
- components: { InputWrapper, CountryFlag },
- props: {
- ...inputProps,
- canOnlyCountry: { type: Boolean, default: false },
- unavailableCountries: { type: Array, default: () => [] }
- },
-
- setup (props, context) {
- return {
- ...useFormInput(props, context)
- }
- },
-
- data () {
- return {
- selectedCountryCode: null,
- inputVal: null
- }
- },
-
- computed: {
- countries () {
- return countryCodes.filter((item) => {
- return !this.unavailableCountries.includes(item.code)
- })
- }
- },
-
- watch: {
- inputVal: {
- handler (val) {
- if (val && val.startsWith('0')) {
- val = val.substring(1)
- }
- if (this.canOnlyCountry) {
- this.compVal = (val) ? this.selectedCountryCode.code + this.selectedCountryCode.dial_code + val : this.selectedCountryCode.code + this.selectedCountryCode.dial_code
- } else {
- this.compVal = (val) ? this.selectedCountryCode.code + this.selectedCountryCode.dial_code + val : null
- }
- }
- },
- selectedCountryCode (newVal, oldVal) {
- if (this.compVal && newVal && oldVal) {
- this.compVal = this.compVal.replace(oldVal.code + oldVal.dial_code, newVal.code + newVal.dial_code)
- }
- }
- },
-
- mounted () {
- if (this.compVal) {
- if (!this.compVal.startsWith('+')) {
- this.selectedCountryCode = this.getCountryBy(this.compVal.substring(2, 0))
- }
-
- const phoneObj = parsePhoneNumber(this.compVal)
- if (phoneObj !== undefined && phoneObj) {
- if (!this.selectedCountryCode && phoneObj.country !== undefined && phoneObj.country) {
- this.selectedCountryCode = this.getCountryBy(phoneObj.country)
- }
- this.inputVal = phoneObj.nationalNumber
- }
- }
- if (!this.selectedCountryCode) {
- this.selectedCountryCode = this.getCountryBy()
- }
- if (!this.selectedCountryCode || this.countries.length === 1) {
- this.selectedCountryCode = this.countries[0]
- }
- },
-
- methods: {
- getCountryBy (code = 'US', type = 'code') {
- if (!code) code = 'US' // Default US
- return this.countries.find((item) => {
- return item[type] === code
- }) ?? null
- },
- onInput (event) {
- this.inputVal = event.target.value.replace(/[^0-9]/g, '')
- },
- onChangeCountryCode () {
- if (!this.selectedCountryCode && this.countries.length > 0) {
- this.selectedCountryCode = this.countries[0]
- }
- if (this.canOnlyCountry && (this.inputVal === null || this.inputVal === '' || !this.inputVal)) {
- this.compVal = this.selectedCountryCode.code + this.selectedCountryCode.dial_code
- }
- }
- }
-}
-</script>
diff --git a/resources/js/components/forms/RatingInput.vue b/resources/js/components/forms/RatingInput.vue
deleted file mode 100644
index d0b091e09..000000000
--- a/resources/js/components/forms/RatingInput.vue
+++ /dev/null
@@ -1,85 +0,0 @@
-<template>
- <input-wrapper
- v-bind="inputWrapperProps"
- >
- <template #label>
- <slot name="label" />
- </template>
-
- <div class="stars-outer">
- <div v-for="i in numberOfStars" :key="i"
- class="cursor-pointer inline-block text-gray-200 dark:text-gray-800"
- :class="{'!text-yellow-400 active-star':i<=compVal, '!text-yellow-200 !dark:text-yellow-800 hover-star':i>compVal && i<=hoverRating, '!cursor-not-allowed':disabled}"
- role="button" @click="setRating(i)"
- @mouseenter="onMouseHover(i)"
- @mouseleave="hoverRating = -1"
- >
- <svg class="w-8 h-8" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
- <path
- d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"
- />
- </svg>
- </div>
- </div>
-
- <template #help>
- <slot name="help" />
- </template>
- <template #error>
- <slot name="error" />
- </template>
- </input-wrapper>
-</template>
-
-<script>
-import { inputProps, useFormInput } from './useFormInput.js'
-import InputWrapper from './components/InputWrapper.vue'
-
-export default {
- name: 'RatingInput',
- components: { InputWrapper },
-
- props: {
- ...inputProps,
- numberOfStars: { type: Number, default: 5 }
- },
-
- setup (props, context) {
- return {
- ...useFormInput(props, context)
- }
- },
-
- data () {
- return {
- hoverRating: -1
- }
- },
-
- mounted () {
- if (!this.compVal) this.compVal = 0
- },
-
- updated () {
- if (!this.compVal) {
- this.compVal = 0
- }
- },
-
- methods: {
- onMouseHover (i) {
- this.hoverRating = (this.disabled) ? -1 : i
- },
- setRating (val) {
- if (this.disabled) {
- return
- }
- if (this.compVal === val) {
- this.compVal = 0
- } else {
- this.compVal = val
- }
- }
- }
-}
-</script>
diff --git a/resources/js/components/forms/RichTextAreaInput.vue b/resources/js/components/forms/RichTextAreaInput.vue
deleted file mode 100644
index b4efc7e42..000000000
--- a/resources/js/components/forms/RichTextAreaInput.vue
+++ /dev/null
@@ -1,81 +0,0 @@
-<template>
- <input-wrapper
- v-bind="inputWrapperProps"
- >
- <template #label>
- <slot name="label" />
- </template>
-
- <vue-editor :id="id?id:name" ref="editor" v-model="compVal" :disabled="disabled?true:null"
- :placeholder="placeholder" :class="[{ '!ring-red-500 !ring-2': hasValidation && form.errors.has(name), '!cursor-not-allowed !bg-gray-200':disabled }, theme.RichTextAreaInput.input]"
- :editor-toolbar="editorToolbar" class="rich-editor resize-y"
- :style="inputStyle"
- />
-
- <template #help>
- <slot name="help" />
- </template>
- <template #error>
- <slot name="error" />
- </template>
- </input-wrapper>
-</template>
-
-<script>
-import { inputProps, useFormInput } from './useFormInput.js'
-import InputWrapper from './components/InputWrapper.vue'
-import { VueEditor, Quill } from 'vue3-editor'
-
-Quill.imports['formats/link'].PROTOCOL_WHITELIST.push('notion')
-
-export default {
- name: 'RichTextAreaInput',
- components: { InputWrapper, VueEditor },
-
- props: {
- ...inputProps,
- editorToolbar: {
- type: Array,
- default: () => {
- return [
- [{ header: 1 }, { header: 2 }],
- ['bold', 'italic', 'underline', 'link'],
- [{ list: 'ordered' }, { list: 'bullet' }],
- [{ color: [] }]
- ]
- }
- }
- },
-
- setup (props, context) {
- return {
- ...useFormInput(props, context)
- }
- }
-
-}
-</script>
-
-<style lang="scss">
-.rich-editor {
- .ql-container {
- border-bottom: 0px !important;
- border-right: 0px !important;
- border-left: 0px !important;
-
- .ql-editor {
- min-height: 100px !important;
- }
- }
-
- .ql-toolbar {
- border-top: 0px !important;
- border-right: 0px !important;
- border-left: 0px !important;
- }
-
- .ql-snow .ql-toolbar .ql-picker-item.ql-selected, .ql-snow .ql-toolbar .ql-picker-item:hover, .ql-snow .ql-toolbar .ql-picker-label.ql-active, .ql-snow .ql-toolbar .ql-picker-label:hover, .ql-snow .ql-toolbar button.ql-active, .ql-snow .ql-toolbar button:focus, .ql-snow .ql-toolbar button:hover, .ql-snow.ql-toolbar .ql-picker-item.ql-selected, .ql-snow.ql-toolbar .ql-picker-item:hover, .ql-snow.ql-toolbar .ql-picker-label.ql-active, .ql-snow.ql-toolbar .ql-picker-label:hover, .ql-snow.ql-toolbar button.ql-active, .ql-snow.ql-toolbar button:focus, .ql-snow.ql-toolbar button:hover {
- @apply text-nt-blue;
- }
-}
-</style>
diff --git a/resources/js/components/forms/ScaleInput.vue b/resources/js/components/forms/ScaleInput.vue
deleted file mode 100644
index 5eef87806..000000000
--- a/resources/js/components/forms/ScaleInput.vue
+++ /dev/null
@@ -1,107 +0,0 @@
-<template>
- <input-wrapper
- v-bind="inputWrapperProps"
- >
- <template #label>
- <slot name="label" />
- </template>
-
- <div class="rectangle-outer grid grid-cols-5 gap-2">
- <div v-for="i in scaleList" :key="i"
- :class="[{'font-semibold':compVal===i},theme.ScaleInput.button, compVal!==i ? unselectedButtonClass: '']"
- :style="btnStyle(i===compVal)"
- role="button" @click="setScale(i)"
- >
- {{ i }}
- </div>
- </div>
-
- <template #help>
- <slot name="help" />
- </template>
- <template #error>
- <slot name="error" />
- </template>
- </input-wrapper>
-</template>
-
-<script>
-import { inputProps, useFormInput } from './useFormInput.js'
-import InputWrapper from './components/InputWrapper.vue'
-
-export default {
- name: 'ScaleInput',
- components: { InputWrapper },
-
- props: {
- ...inputProps,
- minScale: { type: Number, default: 1 },
- maxScale: { type: Number, default: 5 },
- stepScale: { type: Number, default: 1 }
- },
-
- setup (props, context) {
- return {
- ...useFormInput(props, context)
- }
- },
-
- data () {
- return {}
- },
-
- computed: {
- scaleList () {
- const list = []
- for (let i = this.minScale; i <= this.maxScale; i += this.stepScale) {
- list.push(i)
- }
- return list
- },
- unselectedButtonClass () {
- return this.theme.ScaleInput.unselectedButton
- },
- textColor () {
- const color = (this.color.charAt(0) === '#') ? this.color.substring(1, 7) : this.color
- const r = parseInt(color.substring(0, 2), 16) // hexToR
- const g = parseInt(color.substring(2, 4), 16) // hexToG
- const b = parseInt(color.substring(4, 6), 16) // hexToB
- const uicolors = [r / 255, g / 255, b / 255]
- const c = uicolors.map((col) => {
- if (col <= 0.03928) {
- return col / 12.92
- }
- return Math.pow((col + 0.055) / 1.055, 2.4)
- })
- const L = (0.2126 * c[0]) + (0.7152 * c[1]) + (0.0722 * c[2])
- return (L > 0.55) ? '#000000' : '#FFFFFF'
- }
- },
-
- mounted () {
- if (this.compVal && typeof this.compVal === 'string') {
- this.compVal = parseInt(this.compVal)
- }
- },
-
- methods: {
- btnStyle (isSelected) {
- if (!isSelected) return {}
- return {
- color: this.textColor,
- backgroundColor: this.color
- }
- },
- setScale (val) {
- if (this.disabled) {
- return
- }
- if (this.compVal === val) {
- this.compVal = null
- } else {
- this.compVal = val
- }
- }
- }
-}
-</script>
diff --git a/resources/js/components/forms/SelectInput.vue b/resources/js/components/forms/SelectInput.vue
deleted file mode 100644
index 521f83e76..000000000
--- a/resources/js/components/forms/SelectInput.vue
+++ /dev/null
@@ -1,131 +0,0 @@
-<template>
- <input-wrapper
- v-bind="inputWrapperProps"
- >
- <template #label>
- <slot name="label" />
- </template>
-
- <v-select v-model="compVal"
- :data="finalOptions"
- :label="label"
- :option-key="optionKey"
- :emit-key="emitKey"
- :required="required"
- :multiple="multiple"
- :searchable="searchable"
- :loading="loading"
- :color="color"
- :placeholder="placeholder"
- :uppercase-labels="uppercaseLabels"
- :theme="theme"
- :has-error="hasValidation && form.errors.has(name)"
- :allow-creation="allowCreation"
- :disabled="disabled?true:null"
- :help="help"
- :help-position="helpPosition"
-
- @update-options="updateOptions"
- >
- <template #selected="{option}">
- <slot name="selected" :option="option" :optionName="getOptionName(option)">
- <template v-if="multiple">
- <div class="flex items-center truncate mr-6">
- <span v-for="(item,index) in option" :key="item" class="truncate">
- <span v-if="index!==0">, </span>
- {{ getOptionName(item) }}
- </span>
- </div>
- </template>
- <template v-else>
- <div class="flex items-center truncate mr-6">
- <div>{{ getOptionName(option) }}</div>
- </div>
- </template>
- </slot>
- </template>
- <template #option="{option, selected}">
- <slot name="option" :option="option" :selected="selected">
- <span class="flex group-hover:text-white">
- <p class="flex-grow group-hover:text-white">
- {{ option.name }}
- </p>
- <span v-if="selected" class="absolute inset-y-0 right-0 flex items-center pr-4 dark:text-white">
- <svg class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
- <path fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
- </span>
- </span>
- </slot>
- </template>
- </v-select>
-
- <template #help>
- <slot name="help" />
- </template>
-
- <template #error>
- <slot name="error" />
- </template>
- </input-wrapper>
-</template>
-
-<script>
-import { inputProps, useFormInput } from './useFormInput.js'
-import InputWrapper from './components/InputWrapper.vue'
-
-/**
- * Options: {name,value} objects
- */
-export default {
- name: 'SelectInput',
- components: { InputWrapper },
-
- props: {
- ...inputProps,
- options: { type: Array, required: true },
- optionKey: { type: String, default: 'value' },
- emitKey: { type: String, default: 'value' },
- displayKey: { type: String, default: 'name' },
- loading: { type: Boolean, default: false },
- multiple: { type: Boolean, default: false },
- searchable: { type: Boolean, default: false },
- allowCreation: { type: Boolean, default: false }
- },
-
- setup (props, context) {
- return {
- ...useFormInput(props, context)
- }
- },
-
- data () {
- return {
- additionalOptions: []
- }
- },
-
- computed: {
- finalOptions () {
- return this.options.concat(this.additionalOptions)
- }
- },
- methods: {
- getOptionName (val) {
- const option = this.finalOptions.find((optionCandidate) => {
- return optionCandidate[this.optionKey] === val
- })
- if (option) return option[this.displayKey]
- return null
- },
- updateOptions (newItem) {
- if (newItem) {
- this.additionalOptions.push(newItem)
- }
- }
- }
-}
-</script>
diff --git a/resources/js/components/forms/SignatureInput.vue b/resources/js/components/forms/SignatureInput.vue
deleted file mode 100644
index 3859127bf..000000000
--- a/resources/js/components/forms/SignatureInput.vue
+++ /dev/null
@@ -1,62 +0,0 @@
-<template>
- <input-wrapper
- v-bind="inputWrapperProps"
- >
- <template #label>
- <slot name="label" />
- </template>
-
- <VueSignaturePad ref="signaturePad"
- :class="[theme.default.input,{ '!ring-red-500 !ring-2': hasValidation && form.errors.has(name), '!cursor-not-allowed !bg-gray-200':disabled }]"
- height="150px"
- :name="name"
- :options="{ onEnd }"
- />
-
- <template #bottom_after_help>
- <small :class="theme.default.help">
- <a :class="theme.default.help" href="#" @click.prevent="clear">Clear</a>
- </small>
- </template>
-
- <template #error>
- <slot name="error" />
- </template>
- </input-wrapper>
-</template>
-
-<script>
-import { inputProps, useFormInput } from './useFormInput.js'
-import InputWrapper from './components/InputWrapper.vue'
-import { VueSignaturePad } from 'vue-signature-pad'
-
-export default {
- name: 'SignatureInput',
- components: { InputWrapper, VueSignaturePad },
-
- props: {
- ...inputProps
- },
-
- setup (props, context) {
- return {
- ...useFormInput(props, context)
- }
- },
-
- methods: {
- clear () {
- this.$refs.signaturePad.clearSignature()
- this.onEnd()
- },
- onEnd () {
- if (this.disabled) {
- this.$refs.signaturePad.clearSignature()
- } else {
- const { isEmpty, data } = this.$refs.signaturePad.saveSignature()
- this.form[this.name] = (!isEmpty && data) ? data : null
- }
- }
- }
-}
-</script>
diff --git a/resources/js/components/forms/TextAreaInput.vue b/resources/js/components/forms/TextAreaInput.vue
deleted file mode 100644
index 6929602e4..000000000
--- a/resources/js/components/forms/TextAreaInput.vue
+++ /dev/null
@@ -1,56 +0,0 @@
-<template>
- <input-wrapper
- v-bind="inputWrapperProps"
- >
- <template #label>
- <slot name="label" />
- </template>
-
- <textarea :id="id?id:name" v-model="compVal" :disabled="disabled?true:null"
- :class="[theme.default.input,{ '!ring-red-500 !ring-2': hasValidation && form.errors.has(name), '!cursor-not-allowed !bg-gray-200':disabled }]"
- class="resize-y"
- :name="name" :style="inputStyle"
- :placeholder="placeholder"
- :maxlength="maxCharLimit"
- />
-
- <template v-if="maxCharLimit && showCharLimit" #bottom_after_help>
- <small :class="theme.default.help">
- {{ charCount }}/{{ maxCharLimit }}
- </small>
- </template>
-
- <template #error>
- <slot name="error" />
- </template>
- </input-wrapper>
-</template>
-
-<script>
-import { inputProps, useFormInput } from './useFormInput.js'
-import InputWrapper from './components/InputWrapper.vue'
-
-export default {
- name: 'TextAreaInput',
- components: { InputWrapper },
- mixins: [],
-
- props: {
- ...inputProps,
- maxCharLimit: { type: Number, required: false, default: null },
- showCharLimit: { type: Boolean, required: false, default: false }
- },
-
- setup (props, context) {
- return {
- ...useFormInput(props, context)
- }
- },
-
- computed: {
- charCount () {
- return (this.compVal) ? this.compVal.length : 0
- }
- }
-}
-</script>
diff --git a/resources/js/components/forms/TextInput.vue b/resources/js/components/forms/TextInput.vue
deleted file mode 100644
index a431bebc5..000000000
--- a/resources/js/components/forms/TextInput.vue
+++ /dev/null
@@ -1,76 +0,0 @@
-<template>
- <input-wrapper
- v-bind="inputWrapperProps"
- >
- <template #label>
- <slot name="label" />
- </template>
-
- <input :id="id?id:name" v-model="compVal" :disabled="disabled?true:null"
- :type="nativeType"
- :pattern="pattern"
- :style="inputStyle"
- :class="[theme.default.input, { '!ring-red-500 !ring-2': hasError, '!cursor-not-allowed !bg-gray-200': disabled }]"
- :name="name" :accept="accept"
- :placeholder="placeholder" :min="min" :max="max" :maxlength="maxCharLimit"
- @change="onChange" @keydown.enter.prevent="onEnterPress"
- >
-
- <template v-if="maxCharLimit && showCharLimit" #bottom_after_help>
- <small :class="theme.default.help">
- {{ charCount }}/{{ maxCharLimit }}
- </small>
- </template>
-
- <template #error>
- <slot name="error" />
- </template>
- </input-wrapper>
-</template>
-
-<script>
-import { inputProps, useFormInput } from './useFormInput.js'
-import InputWrapper from './components/InputWrapper.vue'
-
-export default {
- name: 'TextInput',
- components: { InputWrapper },
-
- props: {
- ...inputProps,
- nativeType: { type: String, default: 'text' },
- accept: { type: String, default: null },
- min: { type: Number, required: false, default: null },
- max: { type: Number, required: false, default: null },
- maxCharLimit: { type: Number, required: false, default: null },
- showCharLimit: { type: Boolean, required: false, default: false },
- pattern: { type: String, default: null }
- },
-
- setup (props, context) {
- const onChange = (event) => {
- if (props.nativeType !== 'file') return
-
- const file = event.target.files[0]
- // eslint-disable-next-line vue/no-mutating-props
- props.form[props.name] = file
- }
-
- const onEnterPress = (event) => {
- event.preventDefault()
- return false
- }
-
- return {
- ...useFormInput(props, context, props.nativeType === 'file' ? 'file-' : null),
- onEnterPress,
- onChange
- }
- },
- computed: {
- charCount () {
- return (this.compVal) ? this.compVal.length : 0
- }
- }
-}
-</script>
diff --git a/resources/js/components/forms/ToggleSwitchInput.vue b/resources/js/components/forms/ToggleSwitchInput.vue
deleted file mode 100644
index 208121ddb..000000000
--- a/resources/js/components/forms/ToggleSwitchInput.vue
+++ /dev/null
@@ -1,46 +0,0 @@
-<template>
- <input-wrapper v-bind="inputWrapperProps">
- <template #label>
- <span />
- </template>
-
- <div class="flex">
- <v-switch :id="id?id:name" v-model="compVal" class="inline-block mr-2" :disabled="disabled?true:null" />
- <slot name="label">
- <span>{{ label }} <span v-if="required" class="text-red-500 required-dot">*</span></span>
- </slot>
- </div>
-
- <template #help>
- <slot name="help" />
- </template>
-
- <template #error>
- <slot name="error" />
- </template>
- </input-wrapper>
-</template>
-
-<script>
-import { inputProps, useFormInput } from './useFormInput.js'
-import VSwitch from './components/VSwitch.vue'
-import InputWrapper from './components/InputWrapper.vue'
-export default {
- name: 'ToggleSwitchInput',
-
- components: { InputWrapper, VSwitch },
- props: {
- ...inputProps
- },
-
- setup (props, context) {
- return {
- ...useFormInput(props, context)
- }
- },
-
- mounted () {
- this.compVal = !!this.compVal
- }
-}
-</script>
diff --git a/resources/js/components/forms/components/InputHelp.vue b/resources/js/components/forms/components/InputHelp.vue
deleted file mode 100644
index 51d9c03ea..000000000
--- a/resources/js/components/forms/components/InputHelp.vue
+++ /dev/null
@@ -1,21 +0,0 @@
-<template>
- <div class="flex mb-1 input-help">
- <small :class="theme.default.help" class="grow flex">
- <slot name="help"><span class="field-help" v-html="help" /></slot>
- </small>
- <slot name="after-help">
- <small class="flex-grow" />
- </slot>
- </div>
-</template>
-
-<script>
-export default {
- name: 'InputHelp',
-
- props: {
- theme: { type: Object, required: true },
- help: { type: String, required: false }
- }
-}
-</script>
diff --git a/resources/js/components/forms/components/InputLabel.vue b/resources/js/components/forms/components/InputLabel.vue
deleted file mode 100644
index 0180b7511..000000000
--- a/resources/js/components/forms/components/InputLabel.vue
+++ /dev/null
@@ -1,25 +0,0 @@
-<template>
- <label :for="nativeFor"
- class="input-label"
- :class="[theme.default.label,{'uppercase text-xs': uppercaseLabels, 'text-sm': !uppercaseLabels}]"
- >
- <slot>
- {{ label }}
- <span v-if="required" class="text-red-500 required-dot">*</span>
- </slot>
- </label>
-</template>
-
-<script>
-export default {
- name: 'InputLabel',
-
- props: {
- nativeFor: { type: String, default: null },
- theme: { type: Object, required: true },
- uppercaseLabels: { type: Boolean, default: false },
- required: { type: Boolean, default: false },
- label: { type: String, required: true }
- }
-}
-</script>
diff --git a/resources/js/components/forms/components/InputWrapper.vue b/resources/js/components/forms/components/InputWrapper.vue
deleted file mode 100644
index a9ddb946c..000000000
--- a/resources/js/components/forms/components/InputWrapper.vue
+++ /dev/null
@@ -1,54 +0,0 @@
-<template>
- <div :class="wrapperClass" :style="inputStyle">
- <slot name="label">
- <input-label v-if="label && !hideFieldName"
- :label="label"
- :theme="theme"
- :required="required"
- :native-for="id?id:name"
- :uppercase-labels="uppercaseLabels"
- />
- </slot>
- <slot v-if="help && helpPosition==='above_input'" name="help">
- <input-help :help="help" :theme="theme" />
- </slot>
- <slot />
-
- <slot v-if="(help && helpPosition==='below_input') || $slots.bottom_after_help" name="help">
- <input-help :help="help" :theme="theme">
- <template #after-help>
- <slot name="bottom_after_help" />
- </template>
- </input-help>
- </slot>
- <slot name="error">
- <has-error v-if="hasValidation && form" :form="form" :field="name" />
- </slot>
- </div>
-</template>
-
-<script>
-import InputLabel from './InputLabel.vue'
-import InputHelp from './InputHelp.vue'
-
-export default {
- name: 'InputWrapper',
- components: { InputLabel, InputHelp },
-
- props: {
- id: { type: String, required: false },
- name: { type: String, required: false },
- label: { type: String, required: false },
- form: { type: Object, required: false },
- theme: { type: Object, required: true },
- wrapperClass: { type: String, required: false },
- inputStyle: { type: Object, required: false },
- help: { type: String, required: false },
- helpPosition: { type: String, default: 'below_input' },
- uppercaseLabels: { type: Boolean, default: true },
- hideFieldName: { type: Boolean, default: true },
- required: { type: Boolean, default: false },
- hasValidation: { type: Boolean, default: true }
- }
-}
-</script>
diff --git a/resources/js/components/forms/components/UploadedFile.vue b/resources/js/components/forms/components/UploadedFile.vue
deleted file mode 100644
index f0baa118f..000000000
--- a/resources/js/components/forms/components/UploadedFile.vue
+++ /dev/null
@@ -1,63 +0,0 @@
-<template>
- <div
- :class="[theme.fileInput.uploadedFile, 'overflow-hidden']"
- :title="file.file.name"
- >
- <div v-if="file.src && !isImageHide" class="h-20 overflow-hidden flex">
- <img class="block object-cover object-center w-full" :src="file.src" @error="isImageHide=true">
- </div>
- <div v-else class="h-20 flex items-center justify-center">
- <svg class="w-10 h-10 text-gray-500" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
- stroke-width="0.8" stroke="currentColor"
- >
- <path stroke-linecap="round" stroke-linejoin="round"
- d="M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z"
- />
- </svg>
- </div>
- <div class="flex gap-2 items-center border-t py-1 px-2">
- <p class="flex-grow text-left truncate text-gray-500 text-xs">
- {{ file.file.name }}
- </p>
- <a
- href="javascript:void(0);"
- class="flex text-gray-400 rounded hover:bg-neutral-50 hover:text-red-500 dark:text-gray-600 p-1"
- role="button"
- title="Remove"
- @click.stop="$emit('remove')"
- >
- <svg
- xmlns="http://www.w3.org/2000/svg"
- class="h-4 w-4"
- fill="none"
- viewBox="0 0 24 24"
- stroke="currentColor"
- >
- <path
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="2"
- d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"
- />
- </svg>
- </a>
- </div>
- </div>
-</template>
-
-<script>
-export default {
- name: 'UploadedFile',
-
- props: {
- file: { default: null },
- theme: { type: Object }
- },
-
- data: () => ({
- isImageHide: false
- }),
-
- computed: {}
-}
-</script>
diff --git a/resources/js/components/forms/components/VCheckbox.vue b/resources/js/components/forms/components/VCheckbox.vue
deleted file mode 100644
index 2a140d377..000000000
--- a/resources/js/components/forms/components/VCheckbox.vue
+++ /dev/null
@@ -1,72 +0,0 @@
-<template>
- <div class="flex items-center">
- <input
- :id="id || name"
- :name="name"
- :checked="internalValue"
- type="checkbox"
- :class="sizeClasses"
- class="rounded border-gray-500 cursor-pointer"
- :disabled="disabled?true:null"
- @click="handleClick"
- >
- <label :for="id || name" class="text-gray-700 dark:text-gray-300 ml-2" :class="{'!cursor-not-allowed':disabled}">
- <slot />
- </label>
- </div>
-</template>
-
-<script setup>
-import { ref, watch, onMounted, defineProps, defineEmits, defineOptions } from 'vue'
-
-defineOptions({
- name: 'VCheckbox'
-})
-
-const props = defineProps({
- id: { type: String, default: null },
- name: { type: String, default: 'checkbox' },
- modelValue: { type: [Boolean, String], default: false },
- checked: { type: Boolean, default: false },
- disabled: { type: Boolean, default: false },
- sizeClasses: { type: String, default: 'w-4 h-4' }
-})
-
-const emit = defineEmits(['update:modelValue', 'click'])
-
-const internalValue = ref(props.modelValue)
-
-watch(() => props.modelValue, val => {
- internalValue.value = val
-})
-
-watch(() => props.checked, val => {
- internalValue.value = val
-})
-
-watch(() => internalValue.value, (val, oldVal) => {
- if (val === 0 || val === '0') val = false
- if (val === 1 || val === '1') val = true
-
- if (val !== oldVal) {
- emit('update:modelValue', val)
- }
-})
-
-if ('checked' in props) {
- internalValue.value = props.checked
-}
-
-onMounted(() => {
- emit('update:modelValue', internalValue.value)
-})
-
-const handleClick = (e) => {
- emit('click', e)
-
- if (!e.isPropagationStopped) {
- internalValue.value = e.target.checked
- emit('update:modelValue', internalValue.value)
- }
-}
-</script>
diff --git a/resources/js/components/forms/components/VSelect.vue b/resources/js/components/forms/components/VSelect.vue
deleted file mode 100644
index 3d74a1412..000000000
--- a/resources/js/components/forms/components/VSelect.vue
+++ /dev/null
@@ -1,224 +0,0 @@
-<template>
- <div class="v-select relative">
- <span class="inline-block w-full rounded-md">
- <button type="button" aria-haspopup="listbox" aria-expanded="true" aria-labelledby="listbox-label"
- class="cursor-pointer"
- :style="inputStyle"
- :class="[theme.SelectInput.input,{'py-2': !multiple || loading,'py-1': multiple, '!ring-red-500 !ring-2': hasError, '!cursor-not-allowed !bg-gray-200': disabled}, inputClass]"
- @click.stop="toggleDropdown"
- >
- <div :class="{'h-6': !multiple, 'min-h-8': multiple && !loading}">
- <transition name="fade" mode="out-in">
- <loader v-if="loading" key="loader" class="h-6 w-6 text-nt-blue mx-auto" />
- <div v-else-if="modelValue" key="value" class="flex" :class="{'min-h-8': multiple}">
- <slot name="selected" :option="modelValue" />
- </div>
- <div v-else key="placeholder">
- <slot name="placeholder">
- <div class="text-gray-400 dark:text-gray-500 w-full text-left truncate pr-3"
- :class="{'py-1': multiple && !loading}"
- >
- {{ placeholder }}
- </div>
- </slot>
- </div>
- </transition>
- </div>
- <span class="absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none">
- <svg class="h-5 w-5 text-gray-400" viewBox="0 0 20 20" fill="none" stroke="currentColor">
- <path d="M7 7l3-3 3 3m0 6l-3 3-3-3" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
- </svg>
- </span>
- </button>
- </span>
- <collapsible v-model="isOpen"
- class="absolute mt-1 rounded-md bg-white dark:bg-notion-dark-light shadow-xl z-10"
- :class="dropdownClass"
- >
- <ul tabindex="-1" role="listbox"
- class="rounded-md text-base leading-6 shadow-xs overflow-auto focus:outline-none sm:text-sm sm:leading-5 relative"
- :class="{'max-h-42 py-1': !isSearchable,'max-h-48 pb-1': isSearchable}"
- >
- <div v-if="isSearchable" class="px-2 pt-2 sticky top-0 bg-white dark-bg-notion-dark-light z-10">
- <text-input v-model="searchTerm" name="search" :color="color" :theme="theme"
- placeholder="Search..."
- />
- </div>
- <div v-if="loading" class="w-full py-2 flex justify-center">
- <loader class="h-6 w-6 text-nt-blue mx-auto" />
- </div>
- <template v-if="filteredOptions.length > 0">
- <li v-for="item in filteredOptions" :key="item[optionKey]" role="option" :style="optionStyle"
- :class="{'px-3 pr-9': multiple, 'px-3': !multiple}"
- class="text-gray-900 cursor-default select-none relative py-2 cursor-pointer group hover:text-white hover:bg-form-color focus:outline-none focus-text-white focus-nt-blue"
- @click="select(item)"
- >
- <slot name="option" :option="item" :selected="isSelected(item)" />
- </li>
- </template>
- <p v-else-if="!loading && !(allowCreation && searchTerm)" class="w-full text-gray-500 text-center py-2">
- {{ (allowCreation ? 'Type something to add an option' : 'No option available') }}.
- </p>
- <li v-if="allowCreation && searchTerm" role="option" :style="optionStyle"
- :class="{'px-3 pr-9': multiple, 'px-3': !multiple}"
- class="text-gray-900 cursor-default select-none relative py-2 cursor-pointer group hover:text-white hover:bg-form-color focus:outline-none focus-text-white focus-nt-blue"
- @click="createOption(searchTerm)"
- >
- Create <b class="px-1 bg-gray-300 rounded group-hover-text-black">{{ searchTerm }}</b>
- </li>
- </ul>
- </collapsible>
- </div>
-</template>
-
-<script>
-import Collapsible from '../../common/transitions/Collapsible.vue'
-import { themes } from '../../../config/form-themes'
-import TextInput from '../TextInput.vue'
-import debounce from 'debounce'
-import Fuse from 'fuse.js'
-
-export default {
- name: 'VSelect',
- components: { Collapsible, TextInput },
- directives: {},
- props: {
- data: Array,
- modelValue: { default: null },
- inputClass: { type: String, default: null },
- dropdownClass: { type: String, default: 'w-full' },
- loading: { type: Boolean, default: false },
- required: { type: Boolean, default: false },
- multiple: { type: Boolean, default: false },
- searchable: { type: Boolean, default: false },
- hasError: { type: Boolean, default: false },
- remote: { type: Function, default: null },
- searchKeys: { type: Array, default: () => ['name'] },
- optionKey: { type: String, default: 'id' },
- emitKey: { type: String, default: null },
- color: { type: String, default: '#3B82F6' },
- placeholder: { type: String, default: null },
- uppercaseLabels: { type: Boolean, default: true },
- theme: { type: Object, default: () => themes.default },
- allowCreation: { type: Boolean, default: false },
- disabled: { type: Boolean, default: false }
- },
- data () {
- return {
- isOpen: false,
- searchTerm: '',
- defaultValue: this.modelValue ?? null
- }
- },
- computed: {
- optionStyle () {
- return {
- '--bg-form-color': this.color
- }
- },
- inputStyle () {
- return {
- '--tw-ring-color': this.color
- }
- },
- debouncedRemote () {
- if (this.remote) {
- return debounce(this.remote, 300)
- }
- return null
- },
- filteredOptions () {
- if (!this.data) return []
- if (!this.searchable || this.remote || this.searchTerm === '') {
- return this.data
- }
-
- // Fuse search
- const fuzeOptions = {
- keys: this.searchKeys
- }
- const fuse = new Fuse(this.data, fuzeOptions)
- return fuse.search(this.searchTerm).map((res) => {
- return res.item
- })
- },
- isSearchable () {
- return this.searchable || this.remote !== null || this.allowCreation
- }
- },
- watch: {
- searchTerm (val) {
- if (!this.debouncedRemote) return
- if ((this.remote && val) || (val === '' && !this.modelValue) || (val === '' && this.isOpen)) {
- return this.debouncedRemote(val)
- }
- }
- },
- methods: {
- isSelected (value) {
- if (!this.modelValue) return false
-
- if (this.emitKey && value[this.emitKey]) {
- value = value[this.emitKey]
- }
-
- if (this.multiple) {
- return this.modelValue.includes(value)
- }
- return this.modelValue === value
- },
- toggleDropdown () {
- if (this.disabled) {
- this.isOpen = false
- }
- this.isOpen = !this.isOpen
- if (!this.isOpen) {
- this.searchTerm = ''
- }
- },
- select (value) {
- if (!this.multiple) {
- // Close after select
- this.toggleDropdown()
- }
-
- if (this.emitKey) {
- value = value[this.emitKey]
- }
-
- if (this.multiple) {
- const emitValue = Array.isArray(this.modelValue) ? [...this.modelValue] : []
-
- if (this.isSelected(value)) {
- this.$emit('update:modelValue', emitValue.filter((item) => {
- if (this.emitKey) {
- return item !== value
- }
- return item[this.optionKey] !== value && item[this.optionKey] !== value[this.optionKey]
- }))
- return
- }
-
- emitValue.push(value)
- this.$emit('update:modelValue', emitValue)
- } else {
- if (this.modelValue === value) {
- this.$emit('update:modelValue', this.defaultValue ?? null)
- } else {
- this.$emit('update:modelValue', value)
- }
- }
- },
- createOption (newOption) {
- if (newOption) {
- const newItem = {
- name: newOption,
- value: newOption
- }
- this.$emit('update-options', newItem)
- this.select(newItem)
- }
- }
- }
-}
-</script>
diff --git a/resources/js/components/forms/components/VSwitch.vue b/resources/js/components/forms/components/VSwitch.vue
deleted file mode 100644
index ce906f38a..000000000
--- a/resources/js/components/forms/components/VSwitch.vue
+++ /dev/null
@@ -1,22 +0,0 @@
-<template>
- <div role="button" @click="onClick">
- <div class="inline-flex items-center h-6 w-12 p-1 bg-gray-300 border rounded-full cursor-pointer focus:outline-none transition-all transform ease-in-out duration-100" :class="{'bg-nt-blue': modelValue}">
- <div class="inline-block h-4 w-4 rounded-full bg-white shadow transition-all transform ease-in-out duration-150 rounded-2xl scale-100" :class="{'translate-x-5.5': modelValue}" />
- </div>
- </div>
-</template>
-
-<script setup>
-import { defineProps, defineEmits } from 'vue'
-
-const { modelValue, disabled } = defineProps({
- modelValue: { type: Boolean, default: false },
- disabled: { type: Boolean, default: false }
-})
-const emit = defineEmits(['update:modelValue'])
-
-const onClick = () => {
- if (disabled) return
- emit('update:modelValue', !modelValue)
-}
-</script>
diff --git a/resources/js/components/forms/index.js b/resources/js/components/forms/index.js
deleted file mode 100644
index fd6f7a7c8..000000000
--- a/resources/js/components/forms/index.js
+++ /dev/null
@@ -1,55 +0,0 @@
-import { defineAsyncComponent } from 'vue'
-
-import HasError from './validation/HasError.vue'
-import AlertError from './validation/AlertError.vue'
-import AlertSuccess from './validation/AlertSuccess.vue'
-import VCheckbox from './components/VCheckbox.vue'
-import TextInput from './TextInput.vue'
-import TextAreaInput from './TextAreaInput.vue'
-import VSelect from './components/VSelect.vue'
-import CheckboxInput from './CheckboxInput.vue'
-import SelectInput from './SelectInput.vue'
-import ColorInput from './ColorInput.vue'
-import FileInput from './FileInput.vue'
-import ImageInput from './ImageInput.vue'
-import RatingInput from './RatingInput.vue'
-import FlatSelectInput from './FlatSelectInput.vue'
-import ToggleSwitchInput from './ToggleSwitchInput.vue'
-import ScaleInput from './ScaleInput.vue'
-
-export function registerComponents (app) {
- [
- HasError,
- AlertError,
- AlertSuccess,
- VCheckbox,
- VSelect,
- CheckboxInput,
- ColorInput,
- TextInput,
- SelectInput,
- TextAreaInput,
- FileInput,
- ImageInput,
- RatingInput,
- FlatSelectInput,
- ToggleSwitchInput,
- ScaleInput
- ].forEach(Component => {
- Component.name ? app.component(Component.name, Component) : app.component(Component.name, Component)
- })
-
- // Register async components
- app.component('SignatureInput', defineAsyncComponent(() =>
- import('./SignatureInput.vue')
- ))
- app.component('RichTextAreaInput', defineAsyncComponent(() =>
- import('./RichTextAreaInput.vue')
- ))
- app.component('PhoneInput', defineAsyncComponent(() =>
- import('./PhoneInput.vue')
- ))
- app.component('DateInput', defineAsyncComponent(() =>
- import('./DateInput.vue')
- ))
-}
diff --git a/resources/js/components/forms/useFormInput.js b/resources/js/components/forms/useFormInput.js
deleted file mode 100644
index c07375480..000000000
--- a/resources/js/components/forms/useFormInput.js
+++ /dev/null
@@ -1,90 +0,0 @@
-import { ref, computed, watch } from 'vue'
-import { themes } from '~/config/form-themes.js'
-
-export const inputProps = {
- id: { type: String, default: null },
- name: { type: String, required: true },
- label: { type: String, required: false },
- form: { type: Object, required: false },
- theme: { type: Object, default: () => themes.default },
- modelValue: { required: false },
- required: { type: Boolean, default: false },
- disabled: { type: Boolean, default: false },
- placeholder: { type: String, default: null },
- uppercaseLabels: { type: Boolean, default: false },
- hideFieldName: { type: Boolean, default: false },
- help: { type: String, default: null },
- helpPosition: { type: String, default: 'below_input' },
- color: { type: String, default: '#3B82F6' },
- wrapperClass: { type: String, default: 'relative mb-3' }
-}
-
-export function useFormInput (props, context, formPrefixKey = null) {
- const content = ref(props.modelValue)
-
- const inputStyle = computed(() => {
- return {
- '--tw-ring-color': props.color
- }
- })
-
- const hasValidation = computed(() => {
- return props.form !== null && props.form !== undefined && props.form.hasOwnProperty('errors')
- })
-
- const hasError = computed(() => {
- return hasValidation && props.form?.errors?.has(props.name)
- })
-
- const compVal = computed({
- get: () => {
- if (props.form) {
- console.log(props, 'props')
- return props.form[(formPrefixKey || '') + props.name]
- }
- return content.value
- },
- set: (val) => {
- if (props.form) {
- console.log(props, 'props')
- props.form[(formPrefixKey || '') + props.name] = val
- } else {
- content.value = val
- }
-
- if (hasValidation.value) {
- props.form.errors.clear(props.name)
- }
-
- context.emit('update:modelValue', compVal.value)
- }
- })
-
- const inputWrapperProps = computed(() => {
- const wrapperProps = {}
- Object.keys(inputProps).forEach((key) => {
- if (!['modelValue', 'disabled', 'placeholder', 'color'].includes(key)) {
- wrapperProps[key] = props[key]
- }
- })
- return wrapperProps
- })
-
- // Watch for changes in props.modelValue and update the local content
- watch(
- () => props.modelValue,
- (newValue) => {
- if (content.value !== newValue) {
- content.value = newValue
- }
- }
- )
-
- return {
- compVal,
- inputStyle,
- hasValidation,
- hasError,
- inputWrapperProps
- }
-}
diff --git a/resources/js/components/forms/validation/Alert.js b/resources/js/components/forms/validation/Alert.js
deleted file mode 100644
index eab837c45..000000000
--- a/resources/js/components/forms/validation/Alert.js
+++ /dev/null
@@ -1,21 +0,0 @@
-export default {
- props: {
- form: {
- type: Object,
- required: true
- },
-
- dismissible: {
- type: Boolean,
- default: true
- }
- },
-
- methods: {
- dismiss () {
- if (this.dismissible) {
- this.form.clear()
- }
- }
- }
-}
diff --git a/resources/js/components/forms/validation/AlertError.vue b/resources/js/components/forms/validation/AlertError.vue
deleted file mode 100644
index f004caae8..000000000
--- a/resources/js/components/forms/validation/AlertError.vue
+++ /dev/null
@@ -1,29 +0,0 @@
-<template>
- <div v-if="form.errors.any()" class="alert alert-danger alert-dismissible" role="alert">
- <button v-if="dismissible" type="button" class="close" aria-label="Close" @click="dismiss">
- <span aria-hidden="true">&times;</span>
- </button>
-
- <slot>
- <div v-if="form.errors.has('error')" v-html="form.errors.get('error')"/>
- <div v-else v-html="message"/>
- </slot>
- </div>
-</template>
-
-<script>
-import Alert from './Alert.js'
-
-export default {
- name: 'AlertError',
-
- extends: Alert,
-
- props: {
- message: {
- type: String,
- default: 'There were some problems with your input.'
- }
- }
-}
-</script>
diff --git a/resources/js/components/forms/validation/AlertSuccess.vue b/resources/js/components/forms/validation/AlertSuccess.vue
deleted file mode 100644
index 5b998c49a..000000000
--- a/resources/js/components/forms/validation/AlertSuccess.vue
+++ /dev/null
@@ -1,37 +0,0 @@
-<template>
- <transition name="fade">
- <div v-if="form.successful" class="bg-green-200 border-green-600 text-green-600 border-l-4 p-4 relative rounded-lg"
- role="alert">
- <button v-if="dismissible"
- type="button"
- @click.prevent="dismiss()"
- class="absolute right-2 top-0 -mr-1 flex-shrink-0 flex p-2 rounded-md focus:outline-none focus:ring-2 focus:ring-green-500 sm:-mr-2">
- <span class="sr-only">
- Dismiss
- </span>
- <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="h-6 w-6 text-green-500"
- viewBox="0 0 1792 1792">
- <path
- d="M1490 1322q0 40-28 68l-136 136q-28 28-68 28t-68-28l-294-294-294 294q-28 28-68 28t-68-28l-136-136q-28-28-28-68t28-68l294-294-294-294q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 294 294-294q28-28 68-28t68 28l136 136q28 28 28 68t-28 68l-294 294 294 294q28 28 28 68z">
- </path>
- </svg>
- </button>
- <p class="font-bold">
- Success
- </p>
- <div v-html="message"/>
- </div>
- </transition>
-</template>
-
-<script>
-import Alert from './Alert.js'
-
-export default {
- name: 'AlertSuccess',
- extends: Alert,
- props: {
- message: { type: String, default: '' }
- }
-}
-</script>
diff --git a/resources/js/components/forms/validation/HasError.vue b/resources/js/components/forms/validation/HasError.vue
deleted file mode 100644
index 814d8f57d..000000000
--- a/resources/js/components/forms/validation/HasError.vue
+++ /dev/null
@@ -1,43 +0,0 @@
-<template>
- <transition name="fade">
- <div v-if="errorMessage" class="has-error text-sm text-red-500 -bottom-3"
- v-html="errorMessage"
- />
- </transition>
-</template>
-
-<script>
-export default {
- name: 'HasError',
- props: {
- form: {
- type: Object,
- required: true
- },
- field: {
- type: String,
- required: true
- }
- },
- computed: {
- errorMessage () {
- if (!this.form || !this.form.errors || !this.form.errors.any()) return null
- const subErrorsKeys = Object.keys(this.form.errors.all()).filter((key) => {
- return key.startsWith(this.field) && key !== this.field
- })
- const baseError = this.form.errors.get(this.field) ?? (subErrorsKeys.length ? 'This field has some errors:' : null)
- // If no error and no sub errors, return
- if (!baseError) return null
-
- return `<p class="text-red-500">${baseError}</p><ul class="list-disc list-inside">${subErrorsKeys.map((key) => {
- return '<li>' + this.getSubError(key) + '</li>'
- })}</ul>`
- }
- },
- methods: {
- getSubError (subErrorKey) {
- return this.form.errors.get(subErrorKey).replace(subErrorKey, 'item')
- }
- }
-}
-</script>
diff --git a/resources/js/components/index.js b/resources/js/components/index.js
deleted file mode 100644
index 1ca86cd7a..000000000
--- a/resources/js/components/index.js
+++ /dev/null
@@ -1,27 +0,0 @@
-import { defineAsyncComponent } from 'vue'
-import { registerComponents as registerCommonComponents } from './common'
-import { registerComponents as registerFormComponents } from './forms'
-
-import Child from './Child.vue'
-import Modal from './Modal.vue'
-import Loader from './common/Loader.vue'
-
-export function registerComponents (app) {
- [Child, Modal, Loader].forEach(Component => {
- app.component(Component.name, Component)
- })
-
- registerCommonComponents(app)
- registerFormComponents(app)
-
- // Register async components
- app.component('FormEditor', defineAsyncComponent(() =>
- import('./open/forms/components/FormEditor.vue')
- ))
- app.component('NotionPage', defineAsyncComponent(() =>
- import('./open/NotionPage.vue')
- ))
- app.component('FormBlockLogicEditor', defineAsyncComponent(() =>
- import('./open/forms/components/form-logic-components/FormBlockLogicEditor.vue')
- ))
-}
diff --git a/resources/js/components/open/NotionPage.vue b/resources/js/components/open/NotionPage.vue
deleted file mode 100644
index 23e943723..000000000
--- a/resources/js/components/open/NotionPage.vue
+++ /dev/null
@@ -1,52 +0,0 @@
-<template>
- <notion-renderer v-if="!loading" :block-map="blockMap" />
- <div v-else class="my-10 py-20 flex items-center justify-center">
- <loader class="h-6 w-6 text-nt-blue mx-auto" />
- </div>
-</template>
-
-<script>
-import { NotionRenderer, getPageBlocks } from 'vue-notion'
-
-export default {
- name: 'NotionPage',
- components: { NotionRenderer },
- props: {
- pageId: {
- type: String,
- required: true
- }
- },
- data () {
- return {
- loading: false,
- blockMap: null
- }
- },
-
- computed: {
- apiUrl: () => window.config.notion.worker
- },
-
- watch: {},
-
- mounted () {
- // get Notion blocks from the API via a Notion pageId
- this.loading = true
- getPageBlocks(this.pageId, this.apiUrl).then((blocks) => {
- this.blockMap = blocks
- this.loading = false
- })
- },
-
- methods: {}
-}
-</script>
-
-<style lang="scss">
-@import "vue-notion/src/styles.css"; /* optional Notion-like styles */
-
-.notion-blue {
- @apply text-nt-blue;
-}
-</style>
diff --git a/resources/js/components/open/components/RecordOperations.vue b/resources/js/components/open/components/RecordOperations.vue
deleted file mode 100644
index 972bff6af..000000000
--- a/resources/js/components/open/components/RecordOperations.vue
+++ /dev/null
@@ -1,63 +0,0 @@
-<template>
- <div class="flex items-center justify-center space-x-1">
- <button v-track.delete_record_click
- class="border rounded py-1 px-2 text-gray-500 dark:text-gray-400 hover:text-red-700"
- @click="onDeleteClick"
- >
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"
- class="w-4 h-4"
- >
- <path stroke-linecap="round" stroke-linejoin="round"
- d="M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"
- />
- </svg>
- </button>
- </div>
-</template>
-
-<script>
-import axios from 'axios'
-
-export default {
- components: { },
- props: {
- form: {
- type: Object,
- required: true
- },
- structure: {
- type: Array,
- default: () => []
- },
- rowid: {
- type: Number,
- default: () => {}
- }
- },
- data () {
- return {
- }
- },
- computed: {
- },
- mounted () {
- },
- methods: {
- onDeleteClick () {
- this.alertConfirm('Do you really want to delete this record?', this.deleteRecord)
- },
- async deleteRecord () {
- axios.delete('/api/open/forms/' + this.form.id + '/records/' + this.rowid + '/delete').then(async (response) => {
- if (response.data.type === 'success') {
- this.$emit('deleted')
- this.alertSuccess(response.data.message)
- } else {
- this.alertError('Something went wrong!')
- }
- }).catch((error) => {
- this.alertError(error.response.data.message)
- })
- }
- }
-}
-</script>
diff --git a/resources/js/components/open/editors/EditorOptionsPanel.vue b/resources/js/components/open/editors/EditorOptionsPanel.vue
deleted file mode 100644
index 47c692625..000000000
--- a/resources/js/components/open/editors/EditorOptionsPanel.vue
+++ /dev/null
@@ -1,46 +0,0 @@
-<template>
- <collapse class="p-4 w-full border-b" v-model="show">
- <template #title>
- <div class="flex items-center pr-8">
- <div class="mr-3" :class="{'text-blue-600':show, 'text-gray-500':!show}">
- <slot name="icon" />
- </div>
- <h3 id="v-step-2" class="font-semibold flex-grow">
- {{ name }}
- </h3>
- <pro-tag v-if="hasProTag" />
- </div>
- </template>
-
- <slot />
- </collapse>
-</template>
-
-<script>
-import Collapse from '../../common/Collapse.vue'
-import ProTag from '../../common/ProTag.vue'
-
-export default {
- name: 'EditorOptionsPanel',
- components: { Collapse, ProTag },
- props: {
- name: {
- type: String,
- required: true
- },
- hasProTag: {
- type: Boolean,
- default: false
- },
- alreadyOpened: {
- type: Boolean,
- default: false
- }
- },
- data () {
- return {
- show: this.alreadyOpened
- }
- }
-}
-</script>
diff --git a/resources/js/components/open/editors/EditorRightSidebar.vue b/resources/js/components/open/editors/EditorRightSidebar.vue
deleted file mode 100644
index 62babff3e..000000000
--- a/resources/js/components/open/editors/EditorRightSidebar.vue
+++ /dev/null
@@ -1,28 +0,0 @@
-<template>
- <transition @leave="(el,done) => motions.slide.leave(done)">
- <div v-if="show" v-motion-slide-right="'slide'"
- class="absolute shadow-lg shadow-gray-800/30 top-0 h-[calc(100vh-53px)] right-0 lg:shadow-none lg:relative bg-white w-full md:w-1/2 lg:w-2/5 border-l overflow-y-scroll md:max-w-[20rem] flex-shrink-0 z-50"
- >
- <slot />
- </div>
- </transition>
-</template>
-
-<script>
-import { useMotions } from '@vueuse/motion'
-
-export default {
- name: 'EditorRightSidebar',
- props: {
- show: {
- type: Boolean,
- default: false
- }
- },
- setup (props) {
- return {
- motions: useMotions()
- }
- }
-}
-</script>
diff --git a/resources/js/components/open/forms/OpenCompleteForm.vue b/resources/js/components/open/forms/OpenCompleteForm.vue
deleted file mode 100644
index 357c7fec3..000000000
--- a/resources/js/components/open/forms/OpenCompleteForm.vue
+++ /dev/null
@@ -1,266 +0,0 @@
-<template>
- <div v-if="form" class="open-complete-form">
- <h1 v-if="!isHideTitle" class="mb-4 px-2" :class="{'mt-4':isEmbedPopup}" v-text="form.title" />
-
- <div v-if="isPublicFormPage && form.is_password_protected">
- <p class="form-description mb-4 text-gray-700 dark:text-gray-300 px-2">
- This form is protected by a password.
- </p>
- <div class="form-group flex flex-wrap w-full">
- <div class="relative mb-3 w-full px-2">
- <text-input :form="passwordForm" name="password" native-type="password" label="Password" />
- </div>
- </div>
- <div class="flex flex-wrap justify-center w-full text-center">
- <v-button @click="passwordEntered">
- Submit
- </v-button>
- </div>
- </div>
-
- <v-transition>
- <div v-if="!form.is_password_protected && form.password && !hidePasswordDisabledMsg"
- class="border shadow-sm p-2 my-4 flex items-center rounded-md bg-yellow-100 border-yellow-500"
- >
- <div class="flex flex-grow">
- <p class="mb-0 py-2 px-4 text-yellow-600">
- We disabled the password protection for this form because you are an owner of it.
- </p>
- <v-button color="yellow" @click="hidePasswordDisabledMsg=true">
- OK
- </v-button>
- </div>
- </div>
- </v-transition>
-
- <div v-if="isPublicFormPage && (form.is_closed || form.visibility=='closed')"
- class="border shadow-sm p-2 my-4 flex items-center rounded-md bg-yellow-100 border-yellow-500"
- >
- <div class="flex-grow">
- <p class="mb-0 py-2 px-4 text-yellow-600" v-html="form.closed_text" />
- </div>
- </div>
-
- <div v-if="isPublicFormPage && form.max_number_of_submissions_reached"
- class="border shadow-sm p-2 my-4 flex items-center rounded-md bg-yellow-100 border-yellow-500"
- >
- <div class="flex-grow">
- <p class="mb-0 py-2 px-4 text-yellow-600" v-html="form.max_submissions_reached_text" />
- </div>
- </div>
-
- <form-cleanings v-if="!adminPreview" :hideable="true" class="mb-4 mx-2" :form="form" :specify-form-owner="true" />
-
- <transition
- v-if="!form.is_password_protected && (!isPublicFormPage || (!form.is_closed && !form.max_number_of_submissions_reached && form.visibility!='closed'))"
- enter-active-class="duration-500 ease-out"
- enter-from-class="translate-x-full opacity-0"
- enter-to-class="translate-x-0 opacity-100"
- leave-active-class="duration-500 ease-in"
- leave-from-class="translate-x-0 opacity-100"
- leave-to-class="translate-x-full opacity-0"
- mode="out-in"
- >
- <div v-if="!submitted" key="form">
- <p v-if="form.description && form.description !==''"
- class="form-description mb-4 text-gray-700 dark:text-gray-300 whitespace-pre-wrap px-2"
- v-html="form.description"
- />
- <open-form v-if="form"
- :form="form"
- :loading="loading"
- :fields="form.properties"
- :theme="theme"
- :admin-preview="adminPreview"
- @submit="submitForm"
- >
- <template #submit-btn="{submitForm}">
- <open-form-button :loading="loading" :theme="theme" :color="form.color" class="mt-2 px-8 mx-1"
- :class="submitButtonClass" @click.prevent="submitForm"
- >
- {{ form.submit_button_text }}
- </open-form-button>
- </template>
- </open-form>
- <p v-if="!form.no_branding" class="text-center w-full mt-2">
- <a href="https://opnform.com?utm_source=form&utm_content=powered_by"
- class="text-gray-400 hover:text-gray-500 dark:text-gray-600 dark:hover:text-gray-500 cursor-pointer hover:underline text-xs"
- target="_blank"
- >Powered by <span class="font-semibold">OpnForm</span></a>
- </p>
- </div>
- <div v-else key="submitted" class="px-2">
- <p class="form-description text-gray-700 dark:text-gray-300 whitespace-pre-wrap" v-html="form.submitted_text " />
- <open-form-button v-if="form.re_fillable" :theme="theme" :color="form.color" class="my-4" @click="restart">
- {{ form.re_fill_button_text }}
- </open-form-button>
- <p v-if="form.editable_submissions && submissionId" class="mt-5">
- <a target="_parent" :href="form.share_url+'?submission_id='+submissionId" class="text-nt-blue hover:underline">
- {{ form.editable_submissions_button_text }}
- </a>
- </p>
- <p v-if="!form.no_branding" class="mt-5">
- <a target="_parent" href="https://opnform.com/?utm_source=form&utm_content=create_form_free" class="text-nt-blue hover:underline">Create your form for free with OpnForm</a>
- </p>
- </div>
- </transition>
- </div>
-</template>
-
-<script>
-import Form from 'vform'
-import { themes } from '~/lib/forms/form-themes'
-import OpenForm from './OpenForm.vue'
-import VButton from '../../common/Button.vue'
-import OpenFormButton from './OpenFormButton.vue'
-import VTransition from '../../common/transitions/VTransition.vue'
-import FormPendingSubmissionKey from '../../../mixins/forms/form-pending-submission-key.js'
-import FormCleanings from '../../pages/forms/show/FormCleanings.vue'
-
-export default {
- components: { VTransition, VButton, OpenFormButton, OpenForm, FormCleanings },
-
- mixins: [FormPendingSubmissionKey],
-
- props: {
- form: { type: Object, required: true },
- creating: { type: Boolean, default: false }, // If true, fake form submit
- adminPreview: { type: Boolean, default: false }, // If used in FormEditorPreview
- submitButtonClass: { type: String, default: '' }
- },
-
- setup () {
- return {
- isIframe: useIsIframe()
- }
- },
-
- data () {
- return {
- loading: false,
- submitted: false,
- themes: themes,
- passwordForm: new Form({
- password: null
- }),
- hidePasswordDisabledMsg: false,
- submissionId: false
- }
- },
-
- computed: {
- isEmbedPopup () {
- if (process.server) return false
- return window.location.href.includes('popup=true')
- },
- theme () {
- return this.themes[this.themes.hasOwnProperty(this.form.theme) ? this.form.theme : 'default']
- },
- isPublicFormPage () {
- return this.$route.name === 'forms.show_public'
- },
- isHideTitle () {
- return this.form.hide_title || window.location.href.includes('hide_title=true')
- }
- },
-
- mounted () {
- console.log('inside', this.form)
- },
-
- methods: {
- submitForm (form, onFailure) {
- if (this.creating) {
- this.submitted = true
- this.$emit('submitted', true)
- return
- }
-
- this.loading = true
- this.closeAlert()
- form.post('/api/forms/' + this.form.slug + '/answer').then((response) => {
- this.$logEvent('form_submission', {
- workspace_id: this.form.workspace_id,
- form_id: this.form.id
- })
-
- if (this.isIframe) {
- window.parent.postMessage({
- type: 'form-submitted',
- form: {
- slug: this.form.slug,
- id: this.form.id
- },
- submission_data: form.data()
- }, '*')
- }
- window.postMessage({
- type: 'form-submitted',
- form: {
- slug: this.form.slug,
- id: this.form.id
- },
- submission_data: form.data()
- }, '*')
-
- try {
- window.localStorage.removeItem(this.formPendingSubmissionKey)
- } catch (e) {}
-
- if (response.data.redirect && response.data.redirect_url) {
- window.location.href = response.data.redirect_url
- }
-
- if (response.data.submission_id) {
- this.submissionId = response.data.submission_id
- }
-
- this.loading = false
- this.submitted = true
- this.$emit('submitted', true)
-
- // If enabled display confetti
- if (this.form.confetti_on_submission) {
- this.playConfetti()
- }
- }).catch((error) => {
- if (error.response && error.response.data && error.response.data.message) {
- this.alertError(error.response.data.message)
- }
- this.loading = false
- onFailure()
- })
- },
- restart () {
- this.submitted = false
- this.$emit('restarted', true)
- },
- passwordEntered () {
- if (this.passwordForm.password !== '' && this.passwordForm.password !== null) {
- this.$emit('password-entered', this.passwordForm.password)
- } else {
- this.addPasswordError('The Password field is required.')
- }
- },
- addPasswordError (msg) {
- this.passwordForm.errors.set('password', msg)
- }
- }
-}
-</script>
-
-<style lang="scss">
-.open-complete-form {
- .form-description, .nf-text {
- ol {
- @apply list-decimal list-inside;
- margin-left: 10px;
- }
-
- ul {
- @apply list-disc list-inside;
- margin-left: 10px;
- }
- }
-}
-</style>
diff --git a/resources/js/components/open/forms/OpenForm.vue b/resources/js/components/open/forms/OpenForm.vue
deleted file mode 100644
index d140afa9c..000000000
--- a/resources/js/components/open/forms/OpenForm.vue
+++ /dev/null
@@ -1,423 +0,0 @@
-<template>
- <div v-if="isAutoSubmit">
- <p class="text-center p-4">
- <loader class="h-6 w-6 text-nt-blue mx-auto" />
- </p>
- </div>
- <form v-else-if="dataForm" @submit.prevent="">
- <transition name="fade" mode="out-in" appear>
- <div :key="currentFieldGroupIndex" class="form-group flex flex-wrap w-full">
- <draggable v-model="currentFields"
- item-key="id"
- class="flex flex-wrap transition-all"
- :class="{'-m-6 p-2 bg-gray-50 rounded-md':dragging}"
- ghost-class="ghost-item"
- handle=".draggable" :animation="200"
- @start="onDragStart" @end="onDragEnd"
- >
- <template #item="{element}">
- <open-form-field
- :field="element"
- :show-hidden="showHidden"
- :form="form"
- :data-form="dataForm"
- :data-form-value="dataFormValue"
- :theme="theme"
- :admin-preview="adminPreview"
- />
- </template>
- </draggable>
- </div>
- </transition>
-
- <!-- Captcha -->
- <template v-if="form.use_captcha && isLastPage">
- <div class="mb-3 px-2 mt-2 mx-auto w-max">
- <vue-hcaptcha ref="hcaptcha" :sitekey="hCaptchaSiteKey" :theme="darkModeEnabled?'dark':'light'" />
- <has-error :form="dataForm" field="h-captcha-response" />
- </div>
- </template>
-
- <!-- Submit, Next and previous buttons -->
- <div class="flex flex-wrap justify-center w-full">
- <open-form-button v-if="currentFieldGroupIndex>0 && previousFieldsPageBreak && !loading" native-type="button"
- :color="form.color" :theme="theme" class="mt-2 px-8 mx-1" @click="previousPage"
- >
- {{ previousFieldsPageBreak.previous_btn_text }}
- </open-form-button>
-
- <slot v-if="isLastPage" name="submit-btn" :submitForm="submitForm" />
- <open-form-button v-else native-type="button" :color="form.color" :theme="theme" class="mt-2 px-8 mx-1"
- @click="nextPage"
- >
- {{ currentFieldsPageBreak.next_btn_text }}
- </open-form-button>
- <div v-if="!currentFieldsPageBreak && !isLastPage">
- Something is wrong with this form structure. If you're the form owner please contact us.
- </div>
- </div>
- </form>
-</template>
-
-<script>
-import axios from 'axios'
-import Form from 'vform'
-import { computed } from 'vue'
-import { useRecordsStore } from '../../../stores/records'
-import { useWorkingFormStore } from '../../../stores/working_form'
-import OpenFormButton from './OpenFormButton.vue'
-import clonedeep from 'clone-deep'
-import FormLogicPropertyResolver from '../../../forms/FormLogicPropertyResolver.js'
-import OpenFormField from './OpenFormField.vue'
-import draggable from 'vuedraggable'
-import FormPendingSubmissionKey from '../../../mixins/forms/form-pending-submission-key.js'
-
-draggable.compatConfig = { MODE: 3 }
-
-const VueHcaptcha = () => import('@hcaptcha/vue3-hcaptcha')
-
-export default {
- name: 'OpenForm',
- components: { draggable, OpenFormField, OpenFormButton, VueHcaptcha },
- mixins: [FormPendingSubmissionKey],
- props: {
- form: {
- type: Object,
- required: true
- },
- theme: {
- type: Object,
- required: true
- },
- loading: {
- type: Boolean,
- required: true
- },
- showHidden: {
- type: Boolean,
- default: false
- },
- fields: {
- type: Array,
- required: true
- },
- adminPreview: { type: Boolean, default: false } // If used in FormEditorPreview
- },
-
- setup () {
- const recordsStore = useRecordsStore()
- const workingFormStore = useWorkingFormStore()
- return {
- recordsStore,
- workingFormStore
- }
- },
-
- data () {
- return {
- dataForm: null,
- currentFieldGroupIndex: 0,
- /**
- * Used to force refresh components by changing their keys
- */
- formVersionId: 1,
- darkModeEnabled: document.body.classList.contains('dark'),
- isAutoSubmit: false,
- /**
- * If currently dragging a field
- */
- dragging: false
- }
- },
-
- computed: {
- hCaptchaSiteKey: () => window.config.hCaptchaSiteKey,
- /**
- * Create field groups (or Page) using page breaks if any
- */
- fieldGroups () {
- if (!this.fields) return []
- const groups = []
- let currentGroup = []
- this.fields.forEach((field) => {
- if (field.type === 'nf-page-break' && this.isFieldHidden(field)) return
- currentGroup.push(field)
- if (field.type === 'nf-page-break') {
- groups.push(currentGroup)
- currentGroup = []
- }
- })
- groups.push(currentGroup)
- return groups
- },
- currentFields: {
- get () {
- return this.fieldGroups[this.currentFieldGroupIndex]
- },
- set (val) {
- // On re-order from the form, set the new order
- // Add the previous groups and next to val, and set the properties on working form
- const newFields = []
- this.fieldGroups.forEach((group, index) => {
- if (index < this.currentFieldGroupIndex) {
- newFields.push(...group)
- } else if (index === this.currentFieldGroupIndex) {
- newFields.push(...val)
- } else {
- newFields.push(...group)
- }
- })
- // set the properties on working_form store
- this.workingFormStore.setProperties(newFields)
- }
- },
- /**
- * Returns the page break block for the current group of fields
- */
- currentFieldsPageBreak () {
- const block = this.currentFields[this.currentFields.length - 1]
- if (block && block.type === 'nf-page-break') return block
- return null
- },
- previousFieldsPageBreak () {
- if (this.currentFieldGroupIndex === 0) return null
- const previousFields = this.fieldGroups[this.currentFieldGroupIndex - 1]
- const block = previousFields[previousFields.length - 1]
- if (block && block.type === 'nf-page-break') return block
- return null
- },
- /**
- * Returns true if we're on the last page
- * @returns {boolean}xs
- */
- isLastPage () {
- return this.currentFieldGroupIndex === (this.fieldGroups.length - 1)
- },
- isPublicFormPage () {
- return this.$route.name === 'forms.show_public'
- },
- dataFormValue () {
- // For get values instead of Id for select/multi select options
- const data = this.dataForm.data()
- const selectionFields = this.fields.filter((field) => {
- return ['select', 'multi_select'].includes(field.type)
- })
- selectionFields.forEach((field) => {
- if (data[field.id] !== undefined && data[field.id] !== null && Array.isArray(data[field.id])) {
- data[field.id] = data[field.id].map(option_nfid => {
- const tmpop = field[field.type].options.find((op) => {
- return (op.id === option_nfid)
- })
- return (tmpop) ? tmpop.name : option_nfid
- })
- }
- })
- return data
- }
- },
-
- watch: {
- form: {
- deep: true,
- handler () {
- this.initForm()
- }
- },
- fields: {
- deep: true,
- handler () {
- this.initForm()
- }
- },
- theme: {
- handler () {
- this.formVersionId++
- }
- },
- dataForm: {
- deep: true,
- handler () {
- if (this.isPublicFormPage && this.form && this.form.auto_save && this.dataFormValue) {
- try {
- window.localStorage.setItem(this.formPendingSubmissionKey, JSON.stringify(this.dataFormValue))
- } catch (e) {
- }
- }
- }
- }
- },
-
- mounted () {
- this.initForm()
-
- if (window.location.href.includes('auto_submit=true')) {
- this.isAutoSubmit = true
- this.submitForm()
- }
- },
-
- methods: {
- submitForm () {
- if (this.currentFieldGroupIndex !== this.fieldGroups.length - 1) {
- return
- }
-
- if (this.form.use_captcha) {
- this.dataForm['h-captcha-response'] = document.getElementsByName('h-captcha-response')[0].value
- this.$refs.hcaptcha.reset()
- }
-
- if (this.form.editable_submissions && this.form.submission_id) {
- this.dataForm.submission_id = this.form.submission_id
- }
-
- this.$emit('submit', this.dataForm, this.onSubmissionFailure)
- },
- /**
- * If more than one page, show first page with error
- */
- onSubmissionFailure () {
- this.isAutoSubmit = false
- if (this.fieldGroups.length > 1) {
- // Find first mistake and show page
- let pageChanged = false
- this.fieldGroups.forEach((group, groupIndex) => {
- group.forEach((field) => {
- if (pageChanged) return
-
- if (!pageChanged && this.dataForm.errors.has(field.id)) {
- this.currentFieldGroupIndex = groupIndex
- pageChanged = true
- }
- })
- })
- }
-
- // Scroll to error
- const elements = document.getElementsByClassName('has-error')
- if (elements.length > 0) {
- window.scroll({
- top: window.scrollY + elements[0].getBoundingClientRect().top - 60,
- behavior: 'smooth'
- })
- }
- },
- async getSubmissionData () {
- if (!this.form || !this.form.editable_submissions || !this.form.submission_id) {
- return null
- }
- await this.recordsStore.loadRecord(
- axios.get('/api/forms/' + this.form.slug + '/submissions/' + this.form.submission_id).then((response) => {
- return { submission_id: this.form.submission_id, ...response.data.data }
- })
- )
- return this.recordsStore.getById(this.form.submission_id)
- },
- async initForm () {
- if (this.isPublicFormPage && this.form.editable_submissions) {
- const urlParam = new URLSearchParams(window.location.search)
- if (urlParam && urlParam.get('submission_id')) {
- this.form.submission_id = urlParam.get('submission_id')
- const data = await this.getSubmissionData()
- if (data !== null && data) {
- this.dataForm = new Form(data)
- return
- }
- }
- }
- if (this.isPublicFormPage && this.form.auto_save) {
- let pendingData
- try {
- pendingData = window.localStorage.getItem(this.formPendingSubmissionKey)
- } catch (e) {
- pendingData = null
- }
- if (pendingData !== null && pendingData) {
- pendingData = JSON.parse(pendingData)
- this.fields.forEach((field) => {
- if (field.type === 'date' && field.prefill_today === true) { // For Prefill with 'today'
- const dateObj = new Date()
- let currentDate = dateObj.getFullYear() + '-' +
- String(dateObj.getMonth() + 1).padStart(2, '0') + '-' +
- String(dateObj.getDate()).padStart(2, '0')
- if (field.with_time === true) {
- currentDate += 'T' + String(dateObj.getHours()).padStart(2, '0') + ':' +
- String(dateObj.getMinutes()).padStart(2, '0')
- }
- pendingData[field.id] = currentDate
- }
- })
- this.dataForm = new Form(pendingData)
- return
- }
- }
-
- const formData = clonedeep(this.dataForm ? this.dataForm.data() : {})
- let urlPrefill = null
- if (this.isPublicFormPage) {
- urlPrefill = new URLSearchParams(window.location.search)
- }
-
- this.fields.forEach((field) => {
- if (field.type.startsWith('nf-')) {
- return
- }
-
- if (urlPrefill && urlPrefill.has(field.id)) {
- // Url prefills
- if (field.type === 'checkbox') {
- if (urlPrefill.get(field.id) === 'false' || urlPrefill.get(field.id) === '0') {
- formData[field.id] = false
- } else if (urlPrefill.get(field.id) === 'true' || urlPrefill.get(field.id) === '1') {
- formData[field.id] = true
- }
- } else {
- formData[field.id] = urlPrefill.get(field.id)
- }
- } else if (urlPrefill && urlPrefill.has(field.id + '[]')) {
- // Array url prefills
- formData[field.id] = urlPrefill.getAll(field.id + '[]')
- } else if (field.type === 'date' && field.prefill_today === true) { // For Prefill with 'today'
- const dateObj = new Date()
- let currentDate = dateObj.getFullYear() + '-' +
- String(dateObj.getMonth() + 1).padStart(2, '0') + '-' +
- String(dateObj.getDate()).padStart(2, '0')
- if (field.with_time === true) {
- currentDate += 'T' + String(dateObj.getHours()).padStart(2, '0') + ':' +
- String(dateObj.getMinutes()).padStart(2, '0')
- }
- formData[field.id] = currentDate
- } else { // Default prefill if any
- formData[field.id] = field.prefill
- }
- })
- this.dataForm = new Form(formData)
- },
- previousPage () {
- this.currentFieldGroupIndex -= 1
- window.scrollTo({ top: 0, behavior: 'smooth' })
- return false
- },
- nextPage () {
- this.currentFieldGroupIndex += 1
- window.scrollTo({ top: 0, behavior: 'smooth' })
- return false
- },
- isFieldHidden (field) {
- return (new FormLogicPropertyResolver(field, this.dataFormValue)).isHidden()
- },
- onDragStart () {
- this.dragging = true
- },
- onDragEnd () {
- this.dragging = false
- }
- }
-}
-</script>
-
-<style lang='scss' scoped>
-.ghost-item {
- @apply bg-blue-100 dark:bg-blue-900 rounded-md;
-}
-</style>
diff --git a/resources/js/components/open/forms/OpenFormButton.vue b/resources/js/components/open/forms/OpenFormButton.vue
deleted file mode 100644
index 7d0ef8f5c..000000000
--- a/resources/js/components/open/forms/OpenFormButton.vue
+++ /dev/null
@@ -1,84 +0,0 @@
-<template>
- <button :type="nativeType" :disabled="loading?true:null" :class="`py-${sizes['p-y']} px-${sizes['p-x']} text-${sizes['font']} ${theme.Button.body}`" :style="buttonStyle"
- class="btn" @click="$emit('click',$event)"
- >
- <template v-if="!loading">
- <slot />
- </template>
- <loader v-else class="h-6 w-6 text-white mx-auto" />
- </button>
-</template>
-
-<script>
-import { themes } from '~/config/form-themes.js'
-
-export default {
- name: 'OpenFormButton',
-
- props: {
- color: {
- type: String,
- required: true
- },
-
- size: {
- type: String,
- default: 'medium'
- },
-
- nativeType: {
- type: String,
- default: 'submit'
- },
-
- loading: {
- type: Boolean,
- default: false
- },
-
- theme: { type: Object, default: () => themes.default }
- },
-
- computed: {
- buttonStyle () {
- return {
- backgroundColor: this.color,
- color: this.getTextColor(this.color),
- '--tw-ring-color': this.color
- }
- },
- sizes () {
- if (this.size === 'small') {
- return {
- font: 'sm',
- 'p-y': '1',
- 'p-x': '2'
- }
- }
- return {
- font: 'base',
- 'p-y': '2',
- 'p-x': '4'
- }
- }
- },
-
- methods: {
- getTextColor (bgColor, lightColor = '#FFFFFF', darkColor = '#000000') {
- const color = (bgColor.charAt(0) === '#') ? bgColor.substring(1, 7) : bgColor
- const r = parseInt(color.substring(0, 2), 16) // hexToR
- const g = parseInt(color.substring(2, 4), 16) // hexToG
- const b = parseInt(color.substring(4, 6), 16) // hexToB
- const uicolors = [r / 255, g / 255, b / 255]
- const c = uicolors.map((col) => {
- if (col <= 0.03928) {
- return col / 12.92
- }
- return Math.pow((col + 0.055) / 1.055, 2.4)
- })
- const L = (0.2126 * c[0]) + (0.7152 * c[1]) + (0.0722 * c[2])
- return (L > 0.45) ? darkColor : lightColor
- }
- }
-}
-</script>
diff --git a/resources/js/components/open/forms/OpenFormField.vue b/resources/js/components/open/forms/OpenFormField.vue
deleted file mode 100644
index a85f8e58a..000000000
--- a/resources/js/components/open/forms/OpenFormField.vue
+++ /dev/null
@@ -1,335 +0,0 @@
-<template>
- <div v-if="!isFieldHidden"
- :id="'block-'+field.id" :class="getFieldWidthClasses(field)"
- >
- <div :class="getFieldClasses(field)">
- <div v-if="adminPreview"
- class="absolute -translate-x-full top-0 bottom-0 opacity-0 group-hover/nffield:opacity-100 transition-opacity mb-4"
- >
- <div class="flex flex-col bg-white rounded-md" :class="{'lg:flex-row':!fieldSideBarOpened, 'xl:flex-row':fieldSideBarOpened}">
- <div class="p-2 -mr-3 -mb-2 text-gray-300 hover:text-blue-500 cursor-pointer hidden xl:block" role="button"
- :class="{'lg:block':!fieldSideBarOpened, 'xl:block':fieldSideBarOpened}"
- @click.prevent="openAddFieldSidebar"
- >
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="3"
- stroke="currentColor" class="w-5 h-5"
- >
- <path stroke-linecap="round" stroke-linejoin="round" d="M12 4.5v15m7.5-7.5h-15" />
- </svg>
- </div>
- <div class="p-2 text-gray-300 hover:text-blue-500 cursor-pointer" role="button"
- :class="{'lg:-mr-2':!fieldSideBarOpened, 'xl:-mr-2':fieldSideBarOpened}"
- @click.prevent="editFieldOptions"
- >
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"
- class="w-5 h-5"
- >
- <path fill-rule="evenodd"
- d="M11.828 2.25c-.916 0-1.699.663-1.85 1.567l-.091.549a.798.798 0 01-.517.608 7.45 7.45 0 00-.478.198.798.798 0 01-.796-.064l-.453-.324a1.875 1.875 0 00-2.416.2l-.243.243a1.875 1.875 0 00-.2 2.416l.324.453a.798.798 0 01.064.796 7.448 7.448 0 00-.198.478.798.798 0 01-.608.517l-.55.092a1.875 1.875 0 00-1.566 1.849v.344c0 .916.663 1.699 1.567 1.85l.549.091c.281.047.508.25.608.517.06.162.127.321.198.478a.798.798 0 01-.064.796l-.324.453a1.875 1.875 0 00.2 2.416l.243.243c.648.648 1.67.733 2.416.2l.453-.324a.798.798 0 01.796-.064c.157.071.316.137.478.198.267.1.47.327.517.608l.092.55c.15.903.932 1.566 1.849 1.566h.344c.916 0 1.699-.663 1.85-1.567l.091-.549a.798.798 0 01.517-.608 7.52 7.52 0 00.478-.198.798.798 0 01.796.064l.453.324a1.875 1.875 0 002.416-.2l.243-.243c.648-.648.733-1.67.2-2.416l-.324-.453a.798.798 0 01-.064-.796c.071-.157.137-.316.198-.478.1-.267.327-.47.608-.517l.55-.091a1.875 1.875 0 001.566-1.85v-.344c0-.916-.663-1.699-1.567-1.85l-.549-.091a.798.798 0 01-.608-.517 7.507 7.507 0 00-.198-.478.798.798 0 01.064-.796l.324-.453a1.875 1.875 0 00-.2-2.416l-.243-.243a1.875 1.875 0 00-2.416-.2l-.453.324a.798.798 0 01-.796.064 7.462 7.462 0 00-.478-.198.798.798 0 01-.517-.608l-.091-.55a1.875 1.875 0 00-1.85-1.566h-.344zM12 15.75a3.75 3.75 0 100-7.5 3.75 3.75 0 000 7.5z"
- clip-rule="evenodd"
- />
- </svg>
- </div>
- <div
- class="px-2 xl:pl-0 lg:pr-1 lg:pt-2 pb-2 bg-white rounded-md text-gray-300 hover:text-gray-500 cursor-grab draggable"
- :class="{'lg:pr-1 lg:pl-0':!fieldSideBarOpened, 'xl:-mr-2':fieldSideBarOpened}"
- role="button"
- >
- <svg
- xmlns="http://www.w3.org/2000/svg" class="h-5 w-5"
- fill="none" viewBox="0 0 24 24"
- stroke="currentColor"
- >
- <path
- stroke-linecap="round" stroke-linejoin="round"
- stroke-width="2"
- d="M12 5v.01M12 12v.01M12 19v.01M12 6a1 1 0 110-2 1 1 0 010 2zm0 7a1 1 0 110-2 1 1 0 010 2zm0 7a1 1 0 110-2 1 1 0 010 2z"
- />
- </svg>
- </div>
- </div>
- </div>
- <component :is="getFieldComponents" v-if="getFieldComponents"
- v-bind="inputProperties(field)" :required="isFieldRequired"
- :disabled="isFieldDisabled"
- />
- <template v-else>
- <div v-if="field.type === 'nf-text' && field.content" :id="field.id" :key="field.id"
- class="nf-text w-full px-2 mb-3" :class="[getFieldAlignClasses(field)]"
- v-html="field.content"
- />
- <div v-if="field.type === 'nf-code' && field.content" :id="field.id" :key="field.id"
- class="nf-code w-full px-2 mb-3"
- v-html="field.content"
- />
- <div v-if="field.type === 'nf-divider'" :id="field.id" :key="field.id"
- class="border-b my-4 w-full mx-2"
- />
- <div v-if="field.type === 'nf-image' && (field.image_block || !isPublicFormPage)" :id="field.id"
- :key="field.id" class="my-4 w-full px-2" :class="[getFieldAlignClasses(field)]"
- >
- <div v-if="!field.image_block" class="p-4 border border-dashed">
- Open <b>{{ field.name }}'s</b> block settings to upload image.
- </div>
- <img v-else :alt="field.name" :src="field.image_block" class="max-w-full">
- </div>
- </template>
- </div>
- </div>
-</template>
-
-<script>
-import FormLogicPropertyResolver from '../../../forms/FormLogicPropertyResolver.js'
-import FormPendingSubmissionKey from '../../../mixins/forms/form-pending-submission-key.js'
-import { mapState } from 'vuex'
-
-export default {
- name: 'OpenFormField',
- components: {},
- mixins: [FormPendingSubmissionKey],
- props: {
- form: {
- type: Object,
- required: true
- },
- dataForm: {
- type: Object,
- required: true
- },
- dataFormValue: {
- type: Object,
- required: true
- },
- theme: {
- type: Object,
- required: true
- },
- showHidden: {
- type: Boolean,
- default: false
- },
- field: {
- type: Object,
- required: true
- },
- adminPreview: { type: Boolean, default: false } // If used in FormEditorPreview
- },
- data () {
- return {}
- },
-
- computed: {
- ...mapState({
- selectedFieldIndex: state => state['open/working_form'].selectedFieldIndex,
- showEditFieldSidebar: state => state['open/working_form'].showEditFieldSidebar
- }),
- fieldComponents () {
- return {
- text: 'TextInput',
- number: 'TextInput',
- select: 'SelectInput',
- multi_select: 'SelectInput',
- date: 'DateInput',
- files: 'FileInput',
- checkbox: 'CheckboxInput',
- url: 'TextInput',
- email: 'TextInput',
- phone_number: 'TextInput'
- }
- },
- /**
- * Get the right input component for the field/options combination
- */
- getFieldComponents () {
- const field = this.field
- if (field.type === 'text' && field.multi_lines) {
- return 'TextAreaInput'
- }
- if (field.type === 'url' && field.file_upload) {
- return 'FileInput'
- }
- if (field.type === 'number' && field.is_rating && field.rating_max_value) {
- return 'RatingInput'
- }
- if (field.type === 'number' && field.is_scale && field.scale_max_value) {
- return 'ScaleInput'
- }
- if (['select', 'multi_select'].includes(field.type) && field.without_dropdown) {
- return 'FlatSelectInput'
- }
- if (field.type === 'checkbox' && field.use_toggle_switch) {
- return 'ToggleSwitchInput'
- }
- if (field.type === 'signature') {
- return 'SignatureInput'
- }
- if (field.type === 'phone_number' && !field.use_simple_text_input) {
- return 'PhoneInput'
- }
- return this.fieldComponents[field.type]
- },
- isPublicFormPage () {
- return this.$route.name === 'forms.show_public'
- },
- isFieldHidden () {
- return !this.showHidden && this.shouldBeHidden
- },
- shouldBeHidden () {
- return (new FormLogicPropertyResolver(this.field, this.dataFormValue)).isHidden()
- },
- isFieldRequired () {
- return (new FormLogicPropertyResolver(this.field, this.dataFormValue)).isRequired()
- },
- isFieldDisabled () {
- return (new FormLogicPropertyResolver(this.field, this.dataFormValue)).isDisabled()
- },
- beingEdited () {
- return this.adminPreview && this.showEditFieldSidebar && this.form.properties.findIndex((item) => {
- return item.id === this.field.id
- }) === this.selectedFieldIndex
- },
- selectionFieldsOptions () {
- // For auto update hidden options
- let fieldsOptions = []
-
- if (['select', 'multi_select', 'status'].includes(this.field.type)) {
- fieldsOptions = [...this.field[this.field.type].options]
- if (this.field.hidden_options && this.field.hidden_options.length > 0) {
- fieldsOptions = fieldsOptions.filter((option) => {
- return this.field.hidden_options.indexOf(option.id) < 0
- })
- }
- }
-
- return fieldsOptions
- },
- fieldSideBarOpened () {
- return this.adminPreview && (this.form && this.selectedFieldIndex !== null) ? (this.form.properties[this.selectedFieldIndex] && this.showEditFieldSidebar) : false
- }
- },
-
- watch: {},
-
- mounted () {
- },
-
- methods: {
- editFieldOptions () {
- this.$store.commit('open/working_form/openSettingsForField', this.field)
- },
- openAddFieldSidebar () {
- this.$store.commit('open/working_form/openAddFieldSidebar', this.field)
- },
- /**
- * Get the right input component for the field/options combination
- */
- getFieldClasses () {
- let classes = ''
- if (this.adminPreview) {
- classes += '-mx-4 px-4 -my-1 py-1 group/nffield relative transition-colors'
-
- if (this.beingEdited) {
- classes += ' bg-blue-50 rounded-md'
- }
- }
- return classes
- },
- getFieldWidthClasses (field) {
- if (!field.width || field.width === 'full') return 'w-full px-2'
- else if (field.width === '1/2') {
- return 'w-full sm:w-1/2 px-2'
- } else if (field.width === '1/3') {
- return 'w-full sm:w-1/3 px-2'
- } else if (field.width === '2/3') {
- return 'w-full sm:w-2/3 px-2'
- } else if (field.width === '1/4') {
- return 'w-full sm:w-1/4 px-2'
- } else if (field.width === '3/4') {
- return 'w-full sm:w-3/4 px-2'
- }
- },
- getFieldAlignClasses (field) {
- if (!field.align || field.align === 'left') return 'text-left'
- else if (field.align === 'right') {
- return 'text-right'
- } else if (field.align === 'center') {
- return 'text-center'
- } else if (field.align === 'justify') {
- return 'text-justify'
- }
- },
- /**
- * Get the right input component options for the field/options
- */
- inputProperties (field) {
- const inputProperties = {
- key: field.id,
- name: field.id,
- form: this.dataForm,
- label: (field.hide_field_name) ? null : field.name + ((this.shouldBeHidden) ? ' (Hidden Field)' : ''),
- color: this.form.color,
- placeholder: field.placeholder,
- help: field.help,
- helpPosition: (field.help_position) ? field.help_position : 'below_input',
- uppercaseLabels: this.form.uppercase_labels == 1 || this.form.uppercase_labels == true,
- theme: this.theme,
- maxCharLimit: (field.max_char_limit) ? parseInt(field.max_char_limit) : 2000,
- showCharLimit: field.show_char_limit || false
- }
-
- if (['select', 'multi_select'].includes(field.type)) {
- inputProperties.options = (field.hasOwnProperty(field.type))
- ? field[field.type].options.map(option => {
- return {
- name: option.name,
- value: option.name
- }
- })
- : []
- inputProperties.multiple = (field.type === 'multi_select')
- inputProperties.allowCreation = (field.allow_creation === true)
- inputProperties.searchable = (inputProperties.options.length > 4)
- } else if (field.type === 'date') {
- if (field.with_time) {
- inputProperties.withTime = true
- } else if (field.date_range) {
- inputProperties.dateRange = true
- }
- if (field.disable_past_dates) {
- inputProperties.disablePastDates = true
- } else if (field.disable_future_dates) {
- inputProperties.disableFutureDates = true
- }
- } else if (field.type === 'files' || (field.type === 'url' && field.file_upload)) {
- inputProperties.multiple = (field.multiple !== undefined && field.multiple)
- inputProperties.mbLimit = this.form.max_file_size
- inputProperties.accept = (this.form.is_pro && field.allowed_file_types) ? field.allowed_file_types : ''
- } else if (field.type === 'number' && field.is_rating) {
- inputProperties.numberOfStars = parseInt(field.rating_max_value)
- } else if (field.type === 'number' && field.is_scale) {
- inputProperties.minScale = parseInt(field.scale_min_value) ?? 1
- inputProperties.maxScale = parseInt(field.scale_max_value) ?? 5
- inputProperties.stepScale = parseInt(field.scale_step_value) ?? 1
- } else if (field.type === 'number' || (field.type === 'phone_number' && field.use_simple_text_input)) {
- inputProperties.pattern = '/\d*'
- } else if (field.type === 'phone_number' && !field.use_simple_text_input) {
- inputProperties.unavailableCountries = field.unavailable_countries ?? []
- }
-
- return inputProperties
- }
- }
-}
-</script>
-
-<style lang='scss' scoped>
-.nf-text {
- ol {
- @apply list-decimal list-inside;
- }
-
- ul {
- @apply list-disc list-inside;
- }
-}
-</style>
diff --git a/resources/js/components/open/forms/components/AdvancedFormUrlSettings.vue b/resources/js/components/open/forms/components/AdvancedFormUrlSettings.vue
deleted file mode 100644
index 4207d0abc..000000000
--- a/resources/js/components/open/forms/components/AdvancedFormUrlSettings.vue
+++ /dev/null
@@ -1,66 +0,0 @@
-<template>
- <collapse class="py-5 w-full" :model-value="false">
- <template #title>
- <div class="flex">
- <h3 class="font-semibold block text-lg">
- <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 inline text-gray-500 mr-2 -mt-1" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16" />
- </svg> Show advanced options
- </h3>
- </div>
- </template>
- <toggle-switch-input :value="value.hide_title" name="hide_title" class="mt-4"
- label="Hide Form Title"
- :disabled="(form.hide_title===true)?true:null"
- :help="hideTitleHelp"
- @update:model-value="onChangeHideTitle"
- />
- <toggle-switch-input :value="value.auto_submit" name="auto_submit" class="mt-4"
- label="Auto Submit Form"
- help="Form will auto submit immediate after open URL"
- @update:model-value="onChangeAutoSubmit"
- />
- </collapse>
-</template>
-
-<script>
-import Collapse from '../../../common/Collapse.vue'
-export default {
- name: 'AdvancedFormUrlSettings',
- components: { Collapse },
- props: {
- form: {
- type: Object,
- required: true
- },
- value: {
- type: Object,
- required: true
- }
- },
-
- data () {
- return {
- }
- },
-
- computed: {
- hideTitleHelp () {
- return this.form.hide_title ? 'This option is disabled because the form title is already hidden' : null
- }
- },
-
- watch: {},
-
- mounted () {},
-
- methods: {
- onChangeHideTitle (val) {
- this.value.hide_title = val
- },
- onChangeAutoSubmit (val) {
- this.value.auto_submit = val
- }
- }
-}
-</script>
diff --git a/resources/js/components/open/forms/components/CopyContent.vue b/resources/js/components/open/forms/components/CopyContent.vue
deleted file mode 100644
index 0e3c449eb..000000000
--- a/resources/js/components/open/forms/components/CopyContent.vue
+++ /dev/null
@@ -1,66 +0,0 @@
-<template>
- <div class="flex flex-wrap sm:flex-nowrap my-4 w-full">
- <div class="w-full sm:w-auto border border-gray-300 rounded-md p-2 flex-grow select-all bg-gray-100">
- <p class="select-all text-gray-900">
- {{ content }}
- </p>
- </div>
- <div class="w-full sm:w-40 sm:ml-2 mt-2 sm:mt-0 shrink-0">
- <v-button color="light-gray" class="w-full" @click="copyToClipboard(content)">
- <slot name="icon">
- <svg class="h-4 w-4 -mt-1 text-blue-600 inline mr-1" viewBox="0 0 20 20" fill="none"
- xmlns="http://www.w3.org/2000/svg">
- <path
- d="M4.16667 12.4998C3.3901 12.4998 3.00182 12.4998 2.69553 12.373C2.28715 12.2038 1.9627 11.8794 1.79354 11.471C1.66667 11.1647 1.66667 10.7764 1.66667 9.99984V4.33317C1.66667 3.39975 1.66667 2.93304 1.84833 2.57652C2.00812 2.26292 2.26308 2.00795 2.57669 1.84816C2.93321 1.6665 3.39992 1.6665 4.33334 1.6665H10C10.7766 1.6665 11.1649 1.6665 11.4711 1.79337C11.8795 1.96253 12.204 2.28698 12.3731 2.69536C12.5 3.00165 12.5 3.38993 12.5 4.1665M10.1667 18.3332H15.6667C16.6001 18.3332 17.0668 18.3332 17.4233 18.1515C17.7369 17.9917 17.9919 17.7368 18.1517 17.4232C18.3333 17.0666 18.3333 16.5999 18.3333 15.6665V10.1665C18.3333 9.23308 18.3333 8.76637 18.1517 8.40985C17.9919 8.09625 17.7369 7.84128 17.4233 7.68149C17.0668 7.49984 16.6001 7.49984 15.6667 7.49984H10.1667C9.23325 7.49984 8.76654 7.49984 8.41002 7.68149C8.09642 7.84128 7.84145 8.09625 7.68166 8.40985C7.50001 8.76637 7.50001 9.23308 7.50001 10.1665V15.6665C7.50001 16.5999 7.50001 17.0666 7.68166 17.4232C7.84145 17.7368 8.09642 17.9917 8.41002 18.1515C8.76654 18.3332 9.23325 18.3332 10.1667 18.3332Z"
- stroke="currentColor" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
- </svg>
- </slot>
- <slot></slot>
- </v-button>
- </div>
- </div>
-</template>
-
-<script>
-export default {
- name: 'CopyContent',
- props: {
- content: {
- type: String,
- required: true
- },
- isDraft: {
- type: Boolean,
- default: false
- },
- },
-
- data() {
- return {}
- },
-
- computed: {},
-
- watch: {},
-
- mounted() {
- },
-
- methods: {
- copyToClipboard(str) {
- const el = document.createElement('textarea')
- el.value = str
- document.body.appendChild(el)
- el.select()
- document.execCommand('copy')
- document.body.removeChild(el)
- if(this.isDraft){
- this.alertWarning('Copied! But other people won\'t be able to see the form since it\'s currently in draft mode')
- } else {
- this.alertSuccess('Copied!')
- }
-
- }
- }
-}
-</script>
diff --git a/resources/js/components/open/forms/components/FormEditor.vue b/resources/js/components/open/forms/components/FormEditor.vue
deleted file mode 100644
index de0f43132..000000000
--- a/resources/js/components/open/forms/components/FormEditor.vue
+++ /dev/null
@@ -1,325 +0,0 @@
-<template>
- <div v-if="form" id="form-editor" class="relative flex w-full flex-col grow max-h-screen">
- <!-- Navbar -->
- <div class="w-full border-b p-2 flex items-center justify-between bg-white">
- <a v-if="backButton" href="#" class="ml-2 flex text-blue font-semibold text-sm"
- @click.prevent="$router.back()"
- >
- <svg class="w-3 h-3 text-blue mt-1 mr-1" viewBox="0 0 6 10" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M5 9L1 5L5 1" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"
- stroke-linejoin="round"
- />
- </svg>
- Go back
- </a>
- <div class="hidden md:flex items-center ml-3">
- <h3 class="font-semibold text-lg max-w-[14rem] truncate text-gray-500">
- {{ form.title }}
- </h3>
- </div>
-
- <div class="flex items-center" :class="{'mx-auto md:mx-0':!backButton}">
- <div class="hidden md:block mr-10 relative">
- <a href="#"
- class="text-sm px-3 py-2 hover:bg-gray-50 cursor-pointer rounded-md text-gray-500 px-0 sm:px-3 hover:text-gray-800 cursor-pointer mt-1"
- @click.prevent="openCrisp"
- >
- Help
- </a>
- </div>
- <v-button v-track.save_form_click size="small" class="w-full px-8 md:px-4 py-2"
- :loading="updateFormLoading" :class="saveButtonClass"
- @click="saveForm"
- >
- <svg class="w-4 h-4 text-white inline mr-1 -mt-1" viewBox="0 0 24 24" fill="none"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- d="M17 21V13H7V21M7 3V8H15M19 21H5C4.46957 21 3.96086 20.7893 3.58579 20.4142C3.21071 20.0391 3 19.5304 3 19V5C3 4.46957 3.21071 3.96086 3.58579 3.58579C3.96086 3.21071 4.46957 3 5 3H16L21 8V19C21 19.5304 20.7893 20.0391 20.4142 20.4142C20.0391 20.7893 19.5304 21 19 21Z"
- stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
- />
- </svg>
- <template v-if="form.visibility === 'public'">
- Publish Form
- </template>
- <template v-else>
- Save Changes
- </template>
- </v-button>
- </div>
- </div>
-
- <div class="w-full flex grow overflow-y-scroll relative bg-gray-50">
- <div class="relative w-full bg-white shrink-0 overflow-y-scroll border-r md:w-1/2 md:max-w-sm lg:w-2/5">
- <div class="border-b bg-blue-50 p-5 text-nt-blue-dark md:hidden">
- Please create this form on a device with a larger screen. That will allow you to preview your form changes.
- </div>
-
- <form-information />
- <form-structure />
- <form-customization />
- <form-notifications />
- <form-about-submission />
- <form-access />
- <form-security-privacy />
- <form-custom-seo />
- <form-custom-code />
- </div>
-
- <form-editor-preview />
- <form-editor-sidebar />
-
- <!-- Form Error Modal -->
- <form-error-modal
- :show="showFormErrorModal"
- :validation-error-response="validationErrorResponse"
- @close="showFormErrorModal=false"
- />
- </div>
- </div>
- <div v-else class="flex justify-center items-center">
- <loader class="w-6 h-6" />
- </div>
-</template>
-
-<script>
-import { computed } from 'vue'
-import { useAuthStore } from '../../../../stores/auth'
-import { useFormsStore } from '../../../../stores/forms'
-import { useWorkingFormStore } from '../../../../stores/working_form'
-import { useWorkspacesStore } from '../../../../stores/workspaces'
-import FormEditorSidebar from './form-components/FormEditorSidebar.vue'
-import FormErrorModal from './form-components/FormErrorModal.vue'
-import FormInformation from './form-components/FormInformation.vue'
-import FormStructure from './form-components/FormStructure.vue'
-import FormCustomization from './form-components/FormCustomization.vue'
-import FormCustomCode from './form-components/FormCustomCode.vue'
-import FormAboutSubmission from './form-components/FormAboutSubmission.vue'
-import FormNotifications from './form-components/FormNotifications.vue'
-import FormEditorPreview from './form-components/FormEditorPreview.vue'
-import FormSecurityPrivacy from './form-components/FormSecurityPrivacy.vue'
-import FormCustomSeo from './form-components/FormCustomSeo.vue'
-import FormAccess from './form-components/FormAccess.vue'
-import saveUpdateAlert from '../../../../mixins/forms/saveUpdateAlert.js'
-import fieldsLogic from '../../../../mixins/forms/fieldsLogic.js'
-
-export default {
- name: 'FormEditor',
- components: {
- FormEditorSidebar,
- FormEditorPreview,
- FormNotifications,
- FormAboutSubmission,
- FormCustomCode,
- FormCustomization,
- FormStructure,
- FormInformation,
- FormErrorModal,
- FormSecurityPrivacy,
- FormCustomSeo,
- FormAccess
- },
- mixins: [saveUpdateAlert, fieldsLogic],
- props: {
- isEdit: {
- required: false,
- type: Boolean,
- default: false
- },
- isGuest: {
- required: false,
- type: Boolean,
- default: false
- },
- backButton: {
- required: false,
- type: Boolean,
- default: true
- },
- saveButtonClass: {
- required: false,
- type: String,
- default: ''
- }
- },
-
- setup () {
- const authStore = useAuthStore()
- const formsStore = useFormsStore()
- const workingFormStore = useWorkingFormStore()
- const workspacesStore = useWorkspacesStore()
- return {
- formsStore,
- workingFormStore,
- workspacesStore,
- user: computed(() => authStore.user)
- }
- },
-
- data () {
- return {
- showFormErrorModal: false,
- validationErrorResponse: null,
- updateFormLoading: false,
- createdFormId: null
- }
- },
-
- computed: {
- form: {
- get () {
- return this.workingFormStore.content
- },
- /* We add a setter */
- set (value) {
- this.workingFormStore.set(value)
- }
- },
- createdForm () {
- return this.formsStore.getById(this.createdFormId)
- },
- workspace () {
- return this.workspacesStore.getCurrent()
- },
- steps () {
- return [
- {
- target: '#v-step-0',
- header: {
- title: 'Welcome to the OpnForm Editor!'
- },
- content: 'Discover <strong>your form Editor</strong>!'
- },
- {
- target: '#v-step-1',
- header: {
- title: 'Change your form fields'
- },
- content: 'Here you can decide which field to include or not, but also the ' +
- 'order you want your fields to be and so on. You also have custom options available for each field, just ' +
- 'click the blue cog.'
- },
- {
- target: '#v-step-2',
- header: {
- title: 'Notifications, Customizations and more!'
- },
- content: 'Many more options are available: change colors, texts and receive a ' +
- 'notifications whenever someones submits your form.'
- },
- {
- target: '.v-last-step',
- header: {
- title: 'Create your form'
- },
- content: 'Click this button when you\'re done to save your form!'
- }
- ]
- },
- helpUrl: () => window.config.links.help
- },
-
- watch: {},
-
- mounted () {
- this.$emit('mounted')
- this.$root.hideNavbar()
- },
-
- beforeUnmount () {
- this.$root.hideNavbar(false)
- },
-
- methods: {
- openCrisp () {
- window.$crisp.push(['do', 'chat:show'])
- window.$crisp.push(['do', 'chat:open'])
- },
- showValidationErrors () {
- this.showFormErrorModal = true
- },
- saveForm () {
- this.form.properties = this.validateFieldsLogic(this.form.properties)
- if (this.isGuest) {
- this.saveFormGuest()
- } else if (this.isEdit) {
- this.saveFormEdit()
- } else {
- this.saveFormCreate()
- }
- },
- saveFormEdit () {
- if (this.updateFormLoading) return
-
- this.updateFormLoading = true
- this.validationErrorResponse = null
- this.form.put('/api/open/forms/{id}/'.replace('{id}', this.form.id)).then((response) => {
- const data = response.data
- this.formsStore.addOrUpdate(data.form)
- this.$emit('on-save')
- this.$router.push({ name: 'forms.show', params: { slug: this.form.slug } })
- this.$logEvent('form_saved', { form_id: this.form.id, form_slug: this.form.slug })
- this.displayFormModificationAlert(data)
- }).catch((error) => {
- if (error.response.status === 422) {
- this.validationErrorResponse = error.response.data
- this.showValidationErrors()
- }
- }).finally(() => {
- this.updateFormLoading = false
- })
- },
- saveFormCreate () {
- if (this.updateFormLoading) return
- this.form.workspace_id = this.workspace.id
- this.validationErrorResponse = null
-
- this.updateFormLoading = true
- this.form.post('/api/open/forms').then((response) => {
- this.formsStore.addOrUpdate(response.data.form)
- this.$emit('on-save')
- this.createdFormId = response.data.form.id
-
- this.$logEvent('form_created', { form_id: response.data.form.id, form_slug: response.data.form.slug })
- this.$crisp.push(['set', 'session:event', [[['form_created', {
- form_id: response.data.form.id,
- form_slug: response.data.form.slug
- }, 'blue']]]])
- this.displayFormModificationAlert(response.data)
- this.$router.push({
- name: 'forms.show',
- params: {
- slug: this.createdForm.slug,
- new_form: response.data.users_first_form
- }
- })
- }).catch((error) => {
- if (error.response && error.response.status === 422) {
- this.validationErrorResponse = error.response.data
- this.showValidationErrors()
- }
- }).finally(() => {
- this.updateFormLoading = false
- })
- },
- saveFormGuest () {
- this.$emit('openRegister')
- }
- }
-}
-</script>
-
-<style lang="scss">
-.v-step {
- color: white;
-
- .v-step__header, .v-step__content {
- color: white;
-
- div {
- color: white;
- }
- }
-
-}
-</style>
diff --git a/resources/js/components/open/forms/components/FormFieldsEditor.vue b/resources/js/components/open/forms/components/FormFieldsEditor.vue
deleted file mode 100644
index f524c02d3..000000000
--- a/resources/js/components/open/forms/components/FormFieldsEditor.vue
+++ /dev/null
@@ -1,341 +0,0 @@
-<template>
- <div>
- <v-button v-if="formFields && formFields.length > 8"
- class="w-full mb-3" color="light-gray"
- @click="openAddFieldSidebar"
- >
- <svg class="w-4 h-4 text-nt-blue inline mr-1 -mt-1" viewBox="0 0 14 14" fill="none"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path d="M7.00001 1.1665V12.8332M1.16667 6.99984H12.8333" stroke="currentColor" stroke-width="1.67"
- stroke-linecap="round" stroke-linejoin="round"
- />
- </svg>
- Add block
- </v-button>
-
- <draggable v-model="formFields"
- item-key="id"
- class="bg-white overflow-hidden dark:bg-notion-dark-light rounded-md w-full mx-auto border transition-colors"
- ghost-class="bg-gray-50"
- handle=".draggable"
- :animation="200"
- >
- <template #item="{element, index}">
- <div class="w-full mx-auto transition-colors"
- :class="{'bg-gray-100 dark:bg-gray-800':element.hidden,'bg-white dark:bg-notion-dark-light':!element.hidden && !element.type==='nf-page-break', 'border-b': (index!== formFields.length -1), 'bg-blue-50 dark:bg-blue-900':element && element.type==='nf-page-break'}"
- >
- <div v-if="element" class="flex items-center space-x-1 group py-2 pr-4 relative">
- <!-- Drag handler -->
- <div class="cursor-move draggable p-2 -mr-2">
- <svg class="h-4 w-4 text-gray-400" viewBox="0 0 18 8" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M1.5 1.0835H16.5M1.5 6.91683H16.5" stroke="currentColor" stroke-width="1.67"
- stroke-linecap="round" stroke-linejoin="round"
- />
- </svg>
- </div>
- <!-- Field name and type -->
- <div class="flex flex-col flex-grow truncate">
- <editable-div class="max-w-full flex items-center" :model-value="element.name"
- @update:model-value="onChangeName(element, $event)"
- >
- <div class="cursor-pointer max-w-full truncate">
- {{ element.name }}
- </div>
- </editable-div>
-
- <p class="text-xs text-gray-400 w-full truncate pl-2">
- <span class="capitalize">{{ formatType(element) }}</span>
- </p>
- </div>
-
- <template v-if="removing == element.id">
- <div class="flex text-sm items-center">
- Remove block?
- <v-button class="inline ml-1" color="red" size="small" @click="removeBlock(index)">
- Yes
- </v-button>
- <v-button class="inline ml-1" color="light-gray" size="small" @click="removing=false">
- No
- </v-button>
- </div>
- </template>
- <template v-else>
- <button
- class="hover:bg-red-50 text-gray-500 hover:text-red-600 rounded transition-colors cursor-pointer p-2 hidden md:group-hover:block"
- @click="removing=element.id"
- >
- <svg class="h-4 w-4" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path
- d="M3 6H5M5 6H21M5 6V20C5 20.5304 5.21071 21.0391 5.58579 21.4142C5.96086 21.7893 6.46957 22 7 22H17C17.5304 22 18.0391 21.7893 18.4142 21.4142C18.7893 21.0391 19 20.5304 19 20V6H5ZM8 6V4C8 3.46957 8.21071 2.96086 8.58579 2.58579C8.96086 2.21071 9.46957 2 10 2H14C14.5304 2 15.0391 2.21071 15.4142 2.58579C15.7893 2.96086 16 3.46957 16 4V6M10 11V17M14 11V17"
- stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
- />
- </svg>
- </button>
- <button class="hover:bg-nt-blue-lighter rounded transition-colors cursor-pointer p-2 hidden"
- :class="{'text-blue-500': !element.hidden, 'text-gray-500': element.hidden, 'group-hover:md:block': !element.hidden, 'md:block':element.hidden}"
- @click="toggleHidden(element)"
- >
- <template v-if="!element.hidden">
- <svg class="h-4 w-4" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M1 12C1 12 5 4 12 4C19 4 23 12 23 12C23 12 19 20 12 20C5 20 1 12 1 12Z"
- stroke="currentColor"
- stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
- />
- <path
- d="M12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z"
- stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
- />
- </svg>
- </template>
- <template v-else>
- <svg class="h-4 w-4" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
- <g clip-path="url(#clip0_1027_7292)">
- <path
- d="M9.9 4.24C10.5883 4.07888 11.2931 3.99834 12 4C19 4 23 12 23 12C22.393 13.1356 21.6691 14.2047 20.84 15.19M14.12 14.12C13.8454 14.4147 13.5141 14.6512 13.1462 14.8151C12.7782 14.9791 12.3809 15.0673 11.9781 15.0744C11.5753 15.0815 11.1752 15.0074 10.8016 14.8565C10.4281 14.7056 10.0887 14.481 9.80385 14.1962C9.51897 13.9113 9.29439 13.5719 9.14351 13.1984C8.99262 12.8248 8.91853 12.4247 8.92563 12.0219C8.93274 11.6191 9.02091 11.2218 9.18488 10.8538C9.34884 10.4859 9.58525 10.1546 9.88 9.88M1 1L23 23M17.94 17.94C16.2306 19.243 14.1491 19.9649 12 20C5 20 1 12 1 12C2.24389 9.6819 3.96914 7.65661 6.06 6.06L17.94 17.94Z"
- stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
- />
- </g>
- <defs>
- <clipPath id="clip0_1027_7292">
- <rect width="24" height="24" fill="white" />
- </clipPath>
- </defs>
- </svg>
- </template>
- </button>
- <button v-if="!element.type.startsWith('nf-')"
- class="hover:bg-nt-blue-lighter rounded transition-colors cursor-pointer p-2 hidden"
- :class="{'group-hover:md:block': !element.required, 'md:block':element.required}"
- @click="toggleRequired(element)"
- >
- <div class="w-4 h-4 text-center font-bold text-3xl"
- :class="{'text-red-500': element.required, 'text-gray-500': !element.required}"
- >
- <svg class="w-4 h-4" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path
- d="M12 2V12M12 12V22M12 12L4.93 4.93M12 12L19.07 19.07M12 12H2M12 12H22M12 12L4.93 19.07M12 12L19.07 4.93"
- stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
- />
- </svg>
- </div>
- </button>
- <button class="hover:bg-nt-blue-lighter rounded transition-colors cursor-pointer p-2"
- @click="editOptions(index)"
- >
- <svg class="h-4 w-4 text-blue-600" width="24" height="24" viewBox="0 0 24 24" fill="none"
- xmlns="http://www.w3.org/2000/svg"
- >
- <g clip-path="url(#clip0_1027_7210)">
- <path
- d="M12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z"
- stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
- />
- <path
- d="M19.4 15C19.2669 15.3016 19.2272 15.6362 19.286 15.9606C19.3448 16.285 19.4995 16.5843 19.73 16.82L19.79 16.88C19.976 17.0657 20.1235 17.2863 20.2241 17.5291C20.3248 17.7719 20.3766 18.0322 20.3766 18.295C20.3766 18.5578 20.3248 18.8181 20.2241 19.0609C20.1235 19.3037 19.976 19.5243 19.79 19.71C19.6043 19.896 19.3837 20.0435 19.1409 20.1441C18.8981 20.2448 18.6378 20.2966 18.375 20.2966C18.1122 20.2966 17.8519 20.2448 17.6091 20.1441C17.3663 20.0435 17.1457 19.896 16.96 19.71L16.9 19.65C16.6643 19.4195 16.365 19.2648 16.0406 19.206C15.7162 19.1472 15.3816 19.1869 15.08 19.32C14.7842 19.4468 14.532 19.6572 14.3543 19.9255C14.1766 20.1938 14.0813 20.5082 14.08 20.83V21C14.08 21.5304 13.8693 22.0391 13.4942 22.4142C13.1191 22.7893 12.6104 23 12.08 23C11.5496 23 11.0409 22.7893 10.6658 22.4142C10.2907 22.0391 10.08 21.5304 10.08 21V20.91C10.0723 20.579 9.96512 20.258 9.77251 19.9887C9.5799 19.7194 9.31074 19.5143 9 19.4C8.69838 19.2669 8.36381 19.2272 8.03941 19.286C7.71502 19.3448 7.41568 19.4995 7.18 19.73L7.12 19.79C6.93425 19.976 6.71368 20.1235 6.47088 20.2241C6.22808 20.3248 5.96783 20.3766 5.705 20.3766C5.44217 20.3766 5.18192 20.3248 4.93912 20.2241C4.69632 20.1235 4.47575 19.976 4.29 19.79C4.10405 19.6043 3.95653 19.3837 3.85588 19.1409C3.75523 18.8981 3.70343 18.6378 3.70343 18.375C3.70343 18.1122 3.75523 17.8519 3.85588 17.6091C3.95653 17.3663 4.10405 17.1457 4.29 16.96L4.35 16.9C4.58054 16.6643 4.73519 16.365 4.794 16.0406C4.85282 15.7162 4.81312 15.3816 4.68 15.08C4.55324 14.7842 4.34276 14.532 4.07447 14.3543C3.80618 14.1766 3.49179 14.0813 3.17 14.08H3C2.46957 14.08 1.96086 13.8693 1.58579 13.4942C1.21071 13.1191 1 12.6104 1 12.08C1 11.5496 1.21071 11.0409 1.58579 10.6658C1.96086 10.2907 2.46957 10.08 3 10.08H3.09C3.42099 10.0723 3.742 9.96512 4.0113 9.77251C4.28059 9.5799 4.48572 9.31074 4.6 9C4.73312 8.69838 4.77282 8.36381 4.714 8.03941C4.65519 7.71502 4.50054 7.41568 4.27 7.18L4.21 7.12C4.02405 6.93425 3.87653 6.71368 3.77588 6.47088C3.67523 6.22808 3.62343 5.96783 3.62343 5.705C3.62343 5.44217 3.67523 5.18192 3.77588 4.93912C3.87653 4.69632 4.02405 4.47575 4.21 4.29C4.39575 4.10405 4.61632 3.95653 4.85912 3.85588C5.10192 3.75523 5.36217 3.70343 5.625 3.70343C5.88783 3.70343 6.14808 3.75523 6.39088 3.85588C6.63368 3.95653 6.85425 4.10405 7.04 4.29L7.1 4.35C7.33568 4.58054 7.63502 4.73519 7.95941 4.794C8.28381 4.85282 8.61838 4.81312 8.92 4.68H9C9.29577 4.55324 9.54802 4.34276 9.72569 4.07447C9.90337 3.80618 9.99872 3.49179 10 3.17V3C10 2.46957 10.2107 1.96086 10.5858 1.58579C10.9609 1.21071 11.4696 1 12 1C12.5304 1 13.0391 1.21071 13.4142 1.58579C13.7893 1.96086 14 2.46957 14 3V3.09C14.0013 3.41179 14.0966 3.72618 14.2743 3.99447C14.452 4.26276 14.7042 4.47324 15 4.6C15.3016 4.73312 15.6362 4.77282 15.9606 4.714C16.285 4.65519 16.5843 4.50054 16.82 4.27L16.88 4.21C17.0657 4.02405 17.2863 3.87653 17.5291 3.77588C17.7719 3.67523 18.0322 3.62343 18.295 3.62343C18.5578 3.62343 18.8181 3.67523 19.0609 3.77588C19.3037 3.87653 19.5243 4.02405 19.71 4.21C19.896 4.39575 20.0435 4.61632 20.1441 4.85912C20.2448 5.10192 20.2966 5.36217 20.2966 5.625C20.2966 5.88783 20.2448 6.14808 20.1441 6.39088C20.0435 6.63368 19.896 6.85425 19.71 7.04L19.65 7.1C19.4195 7.33568 19.2648 7.63502 19.206 7.95941C19.1472 8.28381 19.1869 8.61838 19.32 8.92V9C19.4468 9.29577 19.6572 9.54802 19.9255 9.72569C20.1938 9.90337 20.5082 9.99872 20.83 10H21C21.5304 10 22.0391 10.2107 22.4142 10.5858C22.7893 10.9609 23 11.4696 23 12C23 12.5304 22.7893 13.0391 22.4142 13.4142C22.0391 13.7893 21.5304 14 21 14H20.91C20.5882 14.0013 20.2738 14.0966 20.0055 14.2743C19.7372 14.452 19.5268 14.7042 19.4 15Z"
- stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
- />
- </g>
- <defs>
- <clipPath id="clip0_1027_7210">
- <rect width="24" height="24" fill="white" />
- </clipPath>
- </defs>
- </svg>
- </button>
- </template>
- </div>
- </div>
- </template>
- </draggable>
-
- <v-button
- class="w-full mt-3" color="light-gray"
- @click="openAddFieldSidebar"
- >
- <svg class="w-4 h-4 text-nt-blue inline mr-1 -mt-1" viewBox="0 0 14 14" fill="none"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path d="M7.00001 1.1665V12.8332M1.16667 6.99984H12.8333" stroke="currentColor" stroke-width="1.67"
- stroke-linecap="round" stroke-linejoin="round"
- />
- </svg>
- Add block
- </v-button>
- </div>
-</template>
-
-<script>
-import { computed } from 'vue'
-import { useWorkingFormStore } from '../../../../stores/working_form'
-import draggable from 'vuedraggable'
-import ProTag from '../../../common/ProTag.vue'
-import clonedeep from 'clone-deep'
-import EditableDiv from '../../../common/EditableDiv.vue'
-import VButton from '../../../common/Button.vue'
-
-draggable.compatConfig = { MODE: 3 }
-export default {
- name: 'FormFieldsEditor',
- components: {
- VButton,
- ProTag,
- draggable,
- EditableDiv
- },
-
- setup () {
- const workingFormStore = useWorkingFormStore()
- return {
- workingFormStore
- }
- },
-
- data () {
- return {
- formFields: [],
- removing: null
- }
- },
-
- computed: {
- form: {
- get () {
- return this.workingFormStore.content
- },
- /* We add a setter */
- set (value) {
- this.workingFormStore.set(value)
- }
- }
- },
-
- watch: {
- formFields: {
- deep: true,
- handler () {
- this.form.properties = this.formFields
- }
- },
-
- 'form.properties': {
- deep: true,
- handler () {
- // If different, then update
- if (this.form.properties.length !== this.formFields.length ||
- JSON.stringify(this.form.properties) !== JSON.stringify(this.formFields)) {
- this.formFields = clonedeep(this.form.properties)
- }
- }
- }
-
- },
-
- mounted () {
- this.init()
- },
-
- methods: {
- onChangeName (field, newName) {
- field.name = newName
- },
- toggleHidden (field) {
- field.hidden = !field.hidden
- if (field.hidden) {
- field.required = false
- } else {
- field.generates_uuid = false
- field.generates_auto_increment_id = false
- }
- },
- toggleRequired (field) {
- field.required = !field.required
- if (field.required) {
- field.hidden = false
- }
- },
- getDefaultFields () {
- return [
- {
- name: 'Name',
- type: 'text',
- hidden: false,
- required: true,
- id: this.generateUUID()
- },
- {
- name: 'Email',
- type: 'email',
- hidden: false,
- id: this.generateUUID()
- },
- {
- name: 'Message',
- type: 'text',
- hidden: false,
- multi_lines: true,
- id: this.generateUUID()
- }
- ]
- },
- init () {
- if (this.$route.name === 'forms.create' || this.$route.name === 'forms.create.guest') { // Set Default fields
- this.formFields = (this.form.properties.length > 0) ? clonedeep(this.form.properties) : this.getDefaultFields()
- } else {
- this.formFields = clonedeep(this.form.properties).map((field) => {
- // Add more field properties
- field.placeholder = field.placeholder || null
- field.prefill = field.prefill || null
- field.help = field.help || null
- field.help_position = field.help_position || 'below_input'
-
- return field
- })
- }
- this.form.properties = this.formFields
- },
- generateUUID () {
- let d = new Date().getTime()// Timestamp
- let d2 = ((typeof performance !== 'undefined') && performance.now && (performance.now() * 1000)) || 0// Time in microseconds since page-load or 0 if unsupported
- return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
- let r = Math.random() * 16// random number between 0 and 16
- if (d > 0) { // Use timestamp until depleted
- r = (d + r) % 16 | 0
- d = Math.floor(d / 16)
- } else { // Use microseconds since page-load if supported
- r = (d2 + r) % 16 | 0
- d2 = Math.floor(d2 / 16)
- }
- return (c === 'x' ? r : (r & 0x3 | 0x8)).toString(16)
- })
- },
- formatType (field) {
- let type = field.type.replace('_', ' ')
- if (!type.startsWith('nf')) {
- type = type + ' Input'
- } else {
- type = type.replace('nf-', '')
- }
- if (field.generates_uuid || field.generates_auto_increment_id) {
- type = type + ' - Auto ID'
- }
- return type
- },
- editOptions (index) {
- this.workingFormStore.openSettingsForField(index)
- },
- removeBlock (blockIndex) {
- const newFields = clonedeep(this.formFields)
- newFields.splice(blockIndex, 1)
- this.formFields = newFields
- this.closeSidebar()
- },
- closeSidebar () {
- this.workingFormStore.closeEditFieldSidebar()
- },
- openAddFieldSidebar () {
- this.workingFormStore.openAddFieldSidebar(null)
- }
- }
-}
-</script>
diff --git a/resources/js/components/open/forms/components/FormStats.vue b/resources/js/components/open/forms/components/FormStats.vue
deleted file mode 100644
index 0b167ee86..000000000
--- a/resources/js/components/open/forms/components/FormStats.vue
+++ /dev/null
@@ -1,119 +0,0 @@
-<template>
- <div class="border border-nt-blue-light bg-blue-50 dark:bg-notion-dark-light rounded-md p-4 mb-5 w-full mx-auto mt-4 select-all">
- <div v-if="false" class="relative">
- <div class="absolute inset-0 z-10">
- <div class="p-5 max-w-md mx-auto mt-5">
- <p class="text-center">
- You need a <pro-tag class="mx-1" /> subscription to access your form analytics.
- </p>
- <p class="mt-5 text-center">
- <v-button :to="{name:'pricing'}">
- Subscribe
- </v-button>
- </p>
- </div>
- </div>
- <img :src="asset('img/pages/forms/blurred_graph.png')"
- alt="Sample Graph"
- class="mx-auto filter blur-md z-0"
- >
- </div>
- <loader v-else-if="isLoading" class="h-6 w-6 text-nt-blue mx-auto" />
- <LineChart v-else
- :options="chartOptions"
- :data="chartData"
- />
- </div>
-</template>
-
-<script>
-import axios from 'axios'
-import { Line as LineChart } from 'vue-chartjs'
-import {
- Chart as ChartJS,
- Title,
- Tooltip,
- Legend,
- LineElement,
- LinearScale,
- CategoryScale,
- PointElement
-} from 'chart.js'
-import ProTag from '../../../common/ProTag.vue'
-
-ChartJS.register(
- Title,
- Tooltip,
- Legend,
- LineElement,
- LinearScale,
- CategoryScale,
- PointElement
-)
-
-export default {
- name: 'FormStats',
- components: {
- ProTag,
- LineChart
- },
- props: {
- form: {
- type: Object,
- required: true
- }
- },
- data () {
- return {
- isLoading: true,
- chartData: {
- labels: [],
- datasets: [
- {
- label: 'Form Views',
- backgroundColor: 'rgba(59, 130, 246, 1)',
- borderColor: 'rgba(59, 130, 246, 1)',
- data: []
- },
- {
- label: 'Form Submissions',
- backgroundColor: 'rgba(16, 185, 129, 1)',
- borderColor: 'rgba(16, 185, 129, 1)',
- data: []
- }
- ]
- },
- chartOptions: {
- scales: {
- y: {
- beginAtZero: true,
- ticks: {
- precision: 0
- }
- }
- },
- responsive: true,
- maintainAspectRatio: true
- }
- }
- },
- mounted () {
- this.getChartData()
- },
- methods: {
- getChartData () {
- if (!this.form) { return null }
- this.isLoading = true
- axios.get('/api/open/workspaces/' + this.form.workspace_id + '/form-stats/' + this.form.id).then((response) => {
- const statsData = response.data
- if (statsData && statsData.views !== undefined) {
- this.chartData.labels = Object.keys(statsData.views)
- this.chartData.datasets[0].data = statsData.views
- this.chartData.datasets[1].data = statsData.submissions
- this.isLoading = false
- }
- })
- }
- }
-}
-</script>
diff --git a/resources/js/components/open/forms/components/FormSubmissions.vue b/resources/js/components/open/forms/components/FormSubmissions.vue
deleted file mode 100644
index c2de8a20e..000000000
--- a/resources/js/components/open/forms/components/FormSubmissions.vue
+++ /dev/null
@@ -1,248 +0,0 @@
-<template>
- <div
- class="my-4 w-full mx-auto"
- >
- <h3 class="font-semibold mb-4 text-xl">
- Form Submissions
- </h3>
-
- <!-- Table columns modal -->
- <modal :show="showColumnsModal" @close="showColumnsModal=false">
- <template #icon>
- <svg class="w-8 h-8" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M16 5H8C4.13401 5 1 8.13401 1 12C1 15.866 4.13401 19 8 19H16C19.866 19 23 15.866 23 12C23 8.13401 19.866 5 16 5Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
- <path d="M8 15C9.65685 15 11 13.6569 11 12C11 10.3431 9.65685 9 8 9C6.34315 9 5 10.3431 5 12C5 13.6569 6.34315 15 8 15Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
- </svg>
- </template>
- <template #title>
- Display columns
- </template>
-
- <div class="px-4">
- <template v-if="properties.length > 0">
- <h4 class="font-bold mb-2">
- Form Fields
- </h4>
- <div v-for="field in properties" :key="field.id" class="p-2 border">
- {{ field.name }}
- <v-switch v-model="displayColumns[field.id]" class="float-right" @update:model-value="onChangeDisplayColumns" />
- </div>
- </template>
- <template v-if="removed_properties.length > 0">
- <h4 class="font-bold mb-2 mt-4">
- Removed Fields
- </h4>
- <div v-for="field in removed_properties" :key="field.id" class="p-2 border">
- {{ field.name }}
- <v-switch v-model="displayColumns[field.id]" class="float-right" @update:model-value="onChangeDisplayColumns" />
- </div>
- </template>
- </div>
- </modal>
-
- <loader v-if="!form || !formInitDone" class="h-6 w-6 text-nt-blue mx-auto" />
- <div v-else>
- <div v-if="form && tableData.length > 0" class="flex flex-wrap items-end">
- <div class="flex-grow">
- <text-input class="w-64" :form="searchForm" name="search" placeholder="Search..." />
- </div>
- <div class="font-semibold flex gap-4">
- <p class="float-right text-xs uppercase mb-2">
- <a
- href="javascript:void(0);" class="text-gray-500" @click="showColumnsModal=true"
- >Display columns</a>
- </p>
- <p class="text-right text-xs uppercase">
- <a
- :href="exportUrl" target="_blank"
- >Export as CSV</a>
- </p>
- </div>
- </div>
-
- <scroll-shadow
- ref="shadows"
- class="border max-h-full h-full notion-database-renderer"
- :shadow-top-offset="0"
- :hide-scrollbar="true"
- >
- <open-table
- ref="table"
- class="max-h-full"
- :data="filteredData"
- :loading="isLoading"
- @resize="dataChanged()"
- @deleted="onDeleteRecord()"
- />
- </scroll-shadow>
- </div>
- </div>
-</template>
-
-<script>
-import Fuse from 'fuse.js'
-import Form from 'vform'
-import { useWorkingFormStore } from '../../../../stores/working_form'
-import ScrollShadow from '../../../common/ScrollShadow.vue'
-import OpenTable from '../../tables/OpenTable.vue'
-import clonedeep from 'clone-deep'
-import VSwitch from '../../../forms/components/VSwitch.vue'
-import { opnFetch } from '~/composables/useOpnApi.js'
-
-export default {
- name: 'FormSubmissions',
- components: { ScrollShadow, OpenTable, VSwitch },
- props: {},
-
- setup () {
- const workingFormStore = useWorkingFormStore()
- return {
- workingFormStore
- }
- },
-
- data () {
- return {
- formInitDone: false,
- isLoading: false,
- tableData: [],
- currentPage: 1,
- fullyLoaded: false,
- showColumnsModal: false,
- properties: [],
- removed_properties: [],
- displayColumns: {},
- searchForm: new Form({
- search: ''
- })
- }
- },
- computed: {
- form: {
- get () {
- return this.workingFormStore.content
- },
- set (value) {
- this.workingFormStore.set(value)
- }
- },
- exportUrl () {
- if (!this.form) {
- return ''
- }
- return '/api/open/forms/' + this.form.id + '/submissions/export'
- },
- filteredData () {
- if (!this.tableData) return []
-
- const filteredData = clonedeep(this.tableData)
-
- if (this.searchForm.search === '' || this.searchForm.search === null) {
- return filteredData
- }
-
- // Fuze search
- const fuzeOptions = {
- keys: this.form.properties.map((field) => field.id)
- }
- const fuse = new Fuse(filteredData, fuzeOptions)
- return fuse.search(this.searchForm.search).map((res) => {
- return res.item
- })
- }
- },
- watch: {
- 'form.id' () {
- if (this.form === null) {
- return
- }
- this.initFormStructure()
- this.getSubmissionsData()
- }
- },
- mounted () {
- this.initFormStructure()
- this.getSubmissionsData()
- },
- methods: {
- initFormStructure () {
- if (!this.form || !this.form.properties || this.formInitDone) {
- return
- }
-
- // check if form properties already has a created_at column
- let hasCreatedAt = false
- this.form.properties.forEach((property) => {
- if (property.id === 'created_at') {
- hasCreatedAt = true
- }
- })
-
- if (!hasCreatedAt) {
- // Add a "created at" column
- const columns = clonedeep(this.form.properties)
- columns.push({
- name: 'Created at',
- id: 'created_at',
- type: 'date',
- width: 140
- })
- this.form.properties = columns
- }
- this.formInitDone = true
-
- this.properties = clonedeep(this.form.properties)
- this.removed_properties = (this.form.removed_properties) ? clonedeep(this.form.removed_properties) : []
-
- // Get display columns from local storage
- const tmpColumns = window.localStorage.getItem('display-columns-formid-' + this.form.id)
- if (tmpColumns !== null && tmpColumns) {
- this.displayColumns = JSON.parse(tmpColumns)
- this.onChangeDisplayColumns()
- } else {
- this.form.properties.forEach((field) => {
- this.displayColumns[field.id] = true
- })
- }
- },
- getSubmissionsData () {
- if (!this.form || this.fullyLoaded) {
- return
- }
- this.isLoading = true
- opnFetch('/open/forms/' + this.form.id + '/submissions?page=' + this.currentPage).then((resData) => {
- this.tableData = this.tableData.concat(resData.data.map((record) => record.data))
- this.dataChanged()
-
- if (this.currentPage < resData.meta.last_page) {
- this.currentPage += 1
- this.getSubmissionsData()
- } else {
- this.isLoading = false
- this.fullyLoaded = true
- }
- }).catch((error) => {
- console.error(error)
- this.isLoading = false
- })
- },
- dataChanged () {
- if (this.$refs.shadows) {
- this.$refs.shadows.toggleShadow()
- this.$refs.shadows.calcDimensions()
- }
- },
- onChangeDisplayColumns () {
- window.localStorage.setItem('display-columns-formid-' + this.form.id, JSON.stringify(this.displayColumns))
- this.form.properties = this.properties.concat(this.removed_properties).filter((field) => {
- return this.displayColumns[field.id] === true
- })
- },
- onDeleteRecord () {
- this.fullyLoaded = false
- this.tableData = []
- this.getSubmissionsData()
- }
- }
-}
-</script>
diff --git a/resources/js/components/open/forms/components/FormUrlPrefill.vue b/resources/js/components/open/forms/components/FormUrlPrefill.vue
deleted file mode 100644
index 27df5a02d..000000000
--- a/resources/js/components/open/forms/components/FormUrlPrefill.vue
+++ /dev/null
@@ -1,87 +0,0 @@
-<template>
- <div
- class="border border-nt-blue-light bg-blue-50 dark:bg-notion-dark-light shadow rounded-md p-4 mb-5 w-full mx-auto mt-4 select-all"
- >
- <div class="flex items-center">
- <p class="select-all flex-grow break-all" v-html="preFillUrl" />
- <div class="hover:bg-nt-blue-lighter rounded transition-colors cursor-pointer" @click="copyToClipboard">
- <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 text-nt-blue" fill="none" viewBox="0 0 24 24"
- stroke="currentColor"
- >
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
- d="M8 5H6a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2v-1M8 5a2 2 0 002 2h2a2 2 0 002-2M8 5a2 2 0 012-2h2a2 2 0 012 2m0 0h2a2 2 0 012 2v3m2 4H10m0 0l3-3m-3 3l3 3"
- />
- </svg>
- </div>
- </div>
- </div>
-</template>
-
-<script>
-export default {
- name: 'FormUrlPrefill',
- props: {
- form: {
- type: Object,
- required: true
- },
- formData: {
- type: Object,
- required: true
- },
- extraQueryParam: {
- type: String,
- default: ''
- }
- },
-
- data () {
- return {}
- },
-
- computed: {
- preFillUrl () {
- const url = this.form.share_url
- const uriComponents = new URLSearchParams()
- this.form.properties.filter((property) => {
- return this.formData.hasOwnProperty(property.id) && this.formData[property.id] !== null
- }).forEach((property) => {
- if (Array.isArray(this.formData[property.id])) {
- this.formData[property.id].forEach((value) => {
- uriComponents.append(property.id + '[]', value)
- })
- } else {
- uriComponents.append(property.id, this.formData[property.id])
- }
- })
-
- if(uriComponents.toString() !== ""){
- return (this.extraQueryParam) ? url + '?' + uriComponents + '&' + this.extraQueryParam : url + '?' + uriComponents
- }else{
- return (this.extraQueryParam) ? url + '?' + this.extraQueryParam : url
- }
- }
- },
-
- watch: {},
-
- mounted () {
- },
-
- methods: {
- getPropertyUriComponent (property) {
- const prefillValue = encodeURIComponent(this.formData[property.id])
- return encodeURIComponent(property.id) + '=' + prefillValue
- },
- copyToClipboard () {
- const str = this.preFillUrl
- const el = document.createElement('textarea')
- el.value = str
- document.body.appendChild(el)
- el.select()
- document.execCommand('copy')
- document.body.removeChild(el)
- }
- }
-}
-</script>
diff --git a/resources/js/components/open/forms/components/form-components/AddFormBlock.vue b/resources/js/components/open/forms/components/form-components/AddFormBlock.vue
deleted file mode 100644
index 96d2772af..000000000
--- a/resources/js/components/open/forms/components/form-components/AddFormBlock.vue
+++ /dev/null
@@ -1,275 +0,0 @@
-<template>
- <div>
- <div class="p-4 border-b sticky top-0 z-10 bg-white">
- <div class="flex">
- <button class="text-gray-500 hover:text-gray-900 cursor-pointer" @click.prevent="closeSidebar">
- <svg class="h-6 w-6" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M18 6L6 18M6 6L18 18" stroke="currentColor" stroke-width="2" stroke-linecap="round"
- stroke-linejoin="round"
- />
- </svg>
- </button>
- <div class="font-semibold inline ml-2 truncate flex-grow truncate">
- Add Block
- </div>
- </div>
- </div>
-
- <div class="py-2 px-4">
- <div>
- <p class="text-gray-500 uppercase text-xs font-semibold mb-2">
- Input Blocks
- </p>
- <div class="grid grid-cols-2 gap-2">
- <div v-for="(block, i) in inputBlocks" :key="block.name"
- class="bg-gray-50 border hover:bg-gray-100 dark:bg-gray-900 rounded-md dark:hover:bg-gray-800 py-2 flex flex-col"
- role="button" @click.prevent="addBlock(block.name)"
- >
- <div class="mx-auto">
- <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 text-gray-500" fill="none" viewBox="0 0 24 24"
- stroke="currentColor" stroke-width="2" v-html="block.icon"
- ></svg>
- </div>
- <p class="w-full text-xs text-gray-500 uppercase text-center font-semibold mt-1">
- {{ block.title }}
- </p>
- </div>
- </div>
- </div>
- <div class="border-t mt-6">
- <p class="text-gray-500 uppercase text-xs font-semibold mb-2 mt-6">
- Layout Blocks
- </p>
- <div class="grid grid-cols-2 gap-2">
- <div v-for="(block, i) in layoutBlocks" :key="block.name"
- class="bg-gray-50 border hover:bg-gray-100 dark:bg-gray-900 rounded-md dark:hover:bg-gray-800 py-2 flex flex-col"
- role="button" @click.prevent="addBlock(block.name)"
- >
- <div class="mx-auto">
- <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 text-gray-500" fill="none" viewBox="0 0 24 24"
- stroke="currentColor" stroke-width="2" v-html="block.icon"
- ></svg>
- </div>
- <p class="w-full text-xs text-gray-500 uppercase text-center font-semibold mt-1">
- {{ block.title }}
- </p>
- </div>
- </div>
- </div>
- </div>
- </div>
-</template>
-
-<script>
-import Form from 'vform'
-import clonedeep from 'clone-deep'
-import { computed } from 'vue'
-import { useWorkingFormStore } from '../../../../../stores/working_form'
-
-export default {
- name: 'AddFormBlock',
- components: {},
- props: {},
-
- setup () {
- const workingFormStore = useWorkingFormStore()
- return {
- workingFormStore,
- selectedFieldIndex : computed(() => workingFormStore.selectedFieldIndex)
- }
- },
-
-
- data () {
- return {
- blockForm: null,
- inputBlocks: [
- {
- name: 'text',
- title: 'Text Input',
- icon: '<path stroke-linecap="round" stroke-linejoin="round" d="M4 6h16M4 12h16M4 18h7"/>'
- },
- {
- name: 'date',
- title: 'Date Input',
- icon: '<path stroke-linecap="round" stroke-linejoin="round" d="M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"/>'
- },
- {
- name: 'url',
- title: 'URL Input',
- icon: '<path stroke-linecap="round" stroke-linejoin="round" d="M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1"/>'
- },
- {
- name: 'phone_number',
- title: 'Phone Input',
- icon: '<path stroke-linecap="round" stroke-linejoin="round" d="M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"/>'
- },
- {
- name: 'email',
- title: 'Email Input',
- icon: '<path stroke-linecap="round" stroke-linejoin="round" d="M16 12a4 4 0 10-8 0 4 4 0 008 0zm0 0v1.5a2.5 2.5 0 005 0V12a9 9 0 10-9 9m4.5-1.206a8.959 8.959 0 01-4.5 1.207"/>'
- },
- {
- name: 'checkbox',
- title: 'Checkbox Input',
- icon: '<path stroke-linecap="round" stroke-linejoin="round" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"/>'
- },
- {
- name: 'select',
- title: 'Select Input',
- icon: '<path stroke-linecap="round" stroke-linejoin="round" d="M8 9l4-4 4 4m0 6l-4 4-4-4"/>'
- },
- {
- name: 'multi_select',
- title: 'Multi-select Input',
- icon: '<path stroke-linecap="round" stroke-linejoin="round" d="M8 9l4-4 4 4m0 6l-4 4-4-4"/>'
- },
- {
- name: 'number',
- title: 'Number Input',
- icon: '<path stroke-linecap="round" stroke-linejoin="round" d="M7 20l4-16m2 16l4-16M6 9h14M4 15h14"/>'
- },
- {
- name: 'files',
- title: 'File Input',
- icon: '<path stroke-linecap="round" stroke-linejoin="round" d="M12 10v6m0 0l-3-3m3 3l3-3m2 8H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />'
- },
- {
- name: 'signature',
- title: 'Signature Input',
- icon: '<path stroke-linecap="round" stroke-linejoin="round" d="M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L6.832 19.82a4.5 4.5 0 01-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 011.13-1.897L16.863 4.487zm0 0L19.5 7.125" />'
- }
- ],
- layoutBlocks: [
- {
- name: 'nf-text',
- title: 'Text Block',
- icon: '<path stroke-linecap="round" stroke-linejoin="round" d="M4 6h16M4 12h8m-8 6h16" />'
- },
- {
- name: 'nf-page-break',
- title: 'Page-break Block',
- icon: '<path stroke-linecap="round" stroke-linejoin="round" d="M9 13h6m-3-3v6m5 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />'
- },
- {
- name: 'nf-divider',
- title: 'Divider Block',
- icon: '<path stroke-linecap="round" stroke-linejoin="round" d="M20 12H4" />'
- },
- {
- name: 'nf-image',
- title: 'Image Block',
- icon: '<path stroke-linecap="round" stroke-linejoin="round" d="M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z" />'
- },
- {
- name: 'nf-code',
- title: 'Code Block',
- icon: '<path stroke-linecap="round" stroke-linejoin="round" d="M17.25 6.75L22.5 12l-5.25 5.25m-10.5 0L1.5 12l5.25-5.25m7.5-3l-4.5 16.5" />'
- }
- ]
- }
- },
-
- computed: {
- form: {
- get () {
- return this.workingFormStore.content
- },
- /* We add a setter */
- set (value) {
- this.workingFormStore.set(value)
- }
- },
-
- defaultBlockNames () {
- return {
- text: 'Your name',
- date: 'Date',
- url: 'Link',
- phone_number: 'Phone Number',
- number: 'Number',
- email: 'Email',
- checkbox: 'Checkbox',
- select: 'Select',
- multi_select: 'Multi Select',
- files: 'Files',
- signature: 'Signature',
- 'nf-text': 'Text Block',
- 'nf-page-break': 'Page Break',
- 'nf-divider': 'Divider',
- 'nf-image': 'Image',
- 'nf-code': 'Code Block'
- }
- }
- },
-
- watch: {},
-
- mounted () {
- this.reset()
- },
-
- methods: {
- closeSidebar () {
- this.workingFormStore.closeAddFieldSidebar()
- },
- reset () {
- this.blockForm = new Form({
- type: null,
- name: null
- })
- },
- addBlock (type) {
- this.blockForm.type = type
- this.blockForm.name = this.defaultBlockNames[type]
- const newBlock = this.prefillDefault(this.blockForm.data())
- newBlock.id = this.generateUUID()
- newBlock.hidden = false
- if (['select', 'multi_select'].includes(this.blockForm.type)) {
- newBlock[this.blockForm.type] = { options: [] }
- }
- newBlock.help_position = 'below_input'
- if (this.selectedFieldIndex === null || this.selectedFieldIndex === undefined) {
- const newFields = clonedeep(this.form.properties)
- newFields.push(newBlock)
- this.form.properties = newFields
- this.workingFormStore.openSettingsForField(this.form.properties.length - 1)
- } else {
- const newFields = clonedeep(this.form.properties)
- newFields.splice(this.selectedFieldIndex + 1, 0, newBlock)
- this.form.properties = newFields
- this.workingFormStore.openSettingsForField(this.selectedFieldIndex + 1)
- }
- this.reset()
- },
- generateUUID () {
- let d = new Date().getTime()// Timestamp
- let d2 = ((typeof performance !== 'undefined') && performance.now && (performance.now() * 1000)) || 0// Time in microseconds since page-load or 0 if unsupported
- return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
- let r = Math.random() * 16// random number between 0 and 16
- if (d > 0) { // Use timestamp until depleted
- r = (d + r) % 16 | 0
- d = Math.floor(d / 16)
- } else { // Use microseconds since page-load if supported
- r = (d2 + r) % 16 | 0
- d2 = Math.floor(d2 / 16)
- }
- return (c === 'x' ? r : (r & 0x3 | 0x8)).toString(16)
- })
- },
- prefillDefault (data) {
- if (data.type === 'nf-text') {
- data.content = '<p>This is a text block.</p>'
- } else if (data.type === 'nf-page-break') {
- data.next_btn_text = 'Next'
- data.previous_btn_text = 'Previous'
- } else if (data.type === 'nf-code') {
- data.content = '<div class="text-blue-500 italic">This is a code block.</div>'
- } else if (data.type === 'signature') {
- data.help = 'Draw your signature above'
- }
- return data
- }
- }
-}
-</script>
diff --git a/resources/js/components/open/forms/components/form-components/FormAboutSubmission.vue b/resources/js/components/open/forms/components/form-components/FormAboutSubmission.vue
deleted file mode 100644
index 66440d1a4..000000000
--- a/resources/js/components/open/forms/components/form-components/FormAboutSubmission.vue
+++ /dev/null
@@ -1,205 +0,0 @@
-<template>
- <editor-options-panel name="About Submissions" :already-opened="true">
- <template #icon>
- <svg class="h-5 w-5" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path
- d="M4.83333 6.08333H9M4.83333 9H11.5M4.83333 14V15.9463C4.83333 16.3903 4.83333 16.6123 4.92436 16.7263C5.00352 16.8255 5.12356 16.8832 5.25045 16.8831C5.39636 16.8829 5.56973 16.7442 5.91646 16.4668L7.90434 14.8765C8.31043 14.5517 8.51347 14.3892 8.73957 14.2737C8.94017 14.1712 9.15369 14.0963 9.37435 14.051C9.62306 14 9.88308 14 10.4031 14H12.5C13.9001 14 14.6002 14 15.135 13.7275C15.6054 13.4878 15.9878 13.1054 16.2275 12.635C16.5 12.1002 16.5 11.4001 16.5 10V5.5C16.5 4.09987 16.5 3.3998 16.2275 2.86502C15.9878 2.39462 15.6054 2.01217 15.135 1.77248C14.6002 1.5 13.9001 1.5 12.5 1.5H5.5C4.09987 1.5 3.3998 1.5 2.86502 1.77248C2.39462 2.01217 2.01217 2.39462 1.77248 2.86502C1.5 3.3998 1.5 4.09987 1.5 5.5V10.6667C1.5 11.4416 1.5 11.8291 1.58519 12.147C1.81635 13.0098 2.49022 13.6836 3.35295 13.9148C3.67087 14 4.05836 14 4.83333 14Z"
- stroke="currentColor" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round"/>
- </svg>
- </template>
-
- <text-input name="submit_button_text" class="mt-4"
- :form="form"
- label="Text of Submit Button"
- :required="true"
- />
-
- <toggle-switch-input name="editable_submissions" :form="form" class="mt-4"
- help="Gives user a unique url to update their submission"
- >
- <template #label>
- Editable submissions
- <pro-tag class="ml-1" />
- </template>
- </toggle-switch-input>
- <text-input v-if="form.editable_submissions" name="editable_submissions_button_text"
- :form="form"
- label="Text of editable submissions button"
- :required="true"
- />
-
- <flat-select-input :form="submissionOptions" name="databaseAction" label="Database Submission Action"
- :options="[
- {name:'Create new record (default)', value:'create'},
- {name:'Update Record (or create if no match)', value:'update'}
- ]" :required="true" help="Create a new record or update an existing one"
- >
- <template #selected="{option,optionName}">
- <div class="flex items-center truncate mr-6">
- {{ optionName }}
- <pro-tag v-if="option === 'update'" class="ml-2" />
- </div>
- </template>
- <template #option="{option, selected}">
- <span class="flex hover:text-white">
- <p class="flex-grow hover:text-white">
- {{ option.name }} <template v-if="option.value === 'update'"><pro-tag /></template>
- </p>
- <span v-if="selected" class="absolute inset-y-0 right-0 flex items-center pr-4 dark:text-white">
- <svg class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
- <path fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
- </span>
- </span>
- </template>
- </flat-select-input>
-
- <v-transition>
- <div v-if="submissionOptions.databaseAction == 'update' && filterableFields.length">
- <select-input v-if="filterableFields.length" :form="form" name="database_fields_update"
- label="Properties to check on update" :options="filterableFields" :required="true"
- :multiple="true"
- />
- <div class="-mt-3 mb-3 text-gray-400 dark:text-gray-500">
- <small>If the submission has the same value(s) as a previous one for the selected
- column(s), we will update it, instead of creating a new one.
- <a href="#"
- @click.prevent="$crisp.push(['do', 'helpdesk:article:open', ['en', 'how-to-update-a-page-on-form-submission-1t1jwmn']])"
- >More
- info here.</a>
- </small>
- </div>
- </div>
- </v-transition>
-
- <select-input :form="submissionOptions" name="submissionMode" label="Post Submission Action"
- :options="[
- {name:'Show Success page', value:'default'},
- {name:'Redirect', value:'redirect'}
- ]" :required="true" help="Show a message, or redirect to a URL"
- >
- <template #selected="{option,optionName}">
- <div class="flex items-center truncate mr-6">
- {{ optionName }}
- <pro-tag v-if="option === 'redirect'" class="ml-2" />
- </div>
- </template>
- <template #option="{option, selected}">
- <span class="flex hover:text-white">
- <p class="flex-grow hover:text-white">
- {{ option.name }} <template v-if="option.value === 'redirect'"><pro-tag /></template>
- </p>
- <span v-if="selected" class="absolute inset-y-0 right-0 flex items-center pr-4">
- <svg class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
- <path fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
- </span>
- </span>
- </template>
- </select-input>
- <template v-if="submissionOptions.submissionMode === 'redirect'">
- <text-input name="redirect_url"
- :form="form"
- label="Redirect URL"
- :required="true" help="On submit, redirects to that URL"
- />
- </template>
- <template v-else>
- <toggle-switch-input name="re_fillable" :form="form" class="mt-4"
- label="Allow users to fill the form again"
- />
- <text-input v-if="form.re_fillable" name="re_fill_button_text"
- :form="form"
- label="Text of re-start button"
- :required="true"
- />
- <rich-text-area-input name="submitted_text"
- :form="form"
- label="Text After Submission"
- :required="false"
- />
- </template>
- </editor-options-panel>
-</template>
-
-<script>
-import { useWorkingFormStore } from '../../../../../stores/working_form'
-import EditorOptionsPanel from '../../../editors/EditorOptionsPanel.vue'
-import ProTag from '../../../../common/ProTag.vue'
-import VTransition from '../../../../common/transitions/VTransition.vue'
-
-export default {
- components: {EditorOptionsPanel, ProTag, VTransition},
- props: {},
- setup () {
- const workingFormStore = useWorkingFormStore()
- return {
- workingFormStore
- }
- },
- data () {
- return {
- submissionOptions: {}
- }
- },
-
- computed: {
- form: {
- get () {
- return this.workingFormStore.content
- },
- /* We add a setter */
- set (value) {
- this.workingFormStore.set(value)
- }
- },
- /**
- * Used for the update record on submission. Lists all visible fields on which you can filter records to update
- * on submission instead of creating
- */
- filterableFields () {
- if (this.submissionOptions.databaseAction !== 'update') return []
- return this.form.properties.filter((field) => {
- return !field.hidden && !['files', 'signature', 'multi_select'].includes(field.type)
- }).map((field) => {
- return {
- name: field.name,
- value: field.id
- }
- })
- }
- },
-
- watch: {
- form: {
- handler () {
- if (this.form) {
- this.submissionOptions = {
- submissionMode: this.form.redirect_url ? 'redirect' : 'default',
- databaseAction: this.form.database_fields_update ? 'update' : 'create'
- }
- }
- },
- deep: true
- },
- submissionOptions: {
- deep: true,
- handler: function (val) {
- if (val.submissionMode === 'default') {
- this.form.redirect_url = null
- }
-
- if (val.databaseAction === 'create') {
- this.form.database_fields_update = null
- }
- }
- }
- }
-}
-</script>
diff --git a/resources/js/components/open/forms/components/form-components/FormAccess.vue b/resources/js/components/open/forms/components/form-components/FormAccess.vue
deleted file mode 100644
index 356fd73c2..000000000
--- a/resources/js/components/open/forms/components/form-components/FormAccess.vue
+++ /dev/null
@@ -1,73 +0,0 @@
-<template>
- <editor-options-panel name="Form Access" :already-opened="false">
- <template #icon>
- <svg class="h-5 w-5" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round"
- d="M15.75 5.25a3 3 0 013 3m3 0a6 6 0 01-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1121.75 8.25z"
- />
- </svg>
- </template>
- <text-input name="password" :form="form" class="mt-4"
- label="Form Password" help="Leave empty to disable password"
- />
- <date-input :with-time="true" name="closes_at" class="mt-4"
- :form="form"
- label="Close form on a scheduled date"
- help="Leave empty to keep the form open"
- :required="false"
- />
- <rich-text-area-input v-if="form.closes_at || form.visibility=='closed'" name="closed_text"
- :form="form" class="mt-4"
- label="Closed form text"
- help="This message will be shown when the form will be closed"
- :required="false"
- />
- <text-input name="max_submissions_count" native-type="number" :min="1" :form="form"
- label="Limit number of submissions" placeholder="Max submissions" class="mt-4"
- help="Leave empty for unlimited submissions"
- :required="false"
- />
- <rich-text-area-input v-if="form.max_submissions_count && form.max_submissions_count > 0"
- name="max_submissions_reached_text" class="mt-4"
- :form="form"
- label="Max Submissions reached text"
- help="This message will be shown when the form will have the maximum number of submissions"
- :required="false"
- />
- </editor-options-panel>
-</template>
-
-<script>
-import { useWorkingFormStore } from '../../../../../stores/working_form'
-import EditorOptionsPanel from '../../../editors/EditorOptionsPanel.vue'
-
-export default {
- components: { EditorOptionsPanel },
- props: {},
- setup () {
- const workingFormStore = useWorkingFormStore()
- return {
- workingFormStore
- }
- },
- data () {
- return {
- }
- },
- computed: {
- form: {
- get () {
- return this.workingFormStore.content
- },
- /* We add a setter */
- set (value) {
- this.workingFormStore.set(value)
- }
- }
- },
- watch: {},
- mounted () {
- },
- methods: {}
-}
-</script>
diff --git a/resources/js/components/open/forms/components/form-components/FormCustomCode.vue b/resources/js/components/open/forms/components/form-components/FormCustomCode.vue
deleted file mode 100644
index 6ea69b3f9..000000000
--- a/resources/js/components/open/forms/components/form-components/FormCustomCode.vue
+++ /dev/null
@@ -1,50 +0,0 @@
-<template>
- <editor-options-panel name="Custom Code" :already-opened="false" :has-pro-tag="true">
- <template #icon>
- <svg class="h-5 w-5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M14 2.26953V6.40007C14 6.96012 14 7.24015 14.109 7.45406C14.2049 7.64222 14.3578 7.7952 14.546 7.89108C14.7599 8.00007 15.0399 8.00007 15.6 8.00007H19.7305M14 17.5L16.5 15L14 12.5M10 12.5L7.5 15L10 17.5M20 9.98822V17.2C20 18.8802 20 19.7202 19.673 20.362C19.3854 20.9265 18.9265 21.3854 18.362 21.673C17.7202 22 16.8802 22 15.2 22H8.8C7.11984 22 6.27976 22 5.63803 21.673C5.07354 21.3854 4.6146 20.9265 4.32698 20.362C4 19.7202 4 18.8802 4 17.2V6.8C4 5.11984 4 4.27976 4.32698 3.63803C4.6146 3.07354 5.07354 2.6146 5.63803 2.32698C6.27976 2 7.11984 2 8.8 2H12.0118C12.7455 2 13.1124 2 13.4577 2.08289C13.7638 2.15638 14.0564 2.27759 14.3249 2.44208C14.6276 2.6276 14.887 2.88703 15.4059 3.40589L18.5941 6.59411C19.113 7.11297 19.3724 7.3724 19.5579 7.67515C19.7224 7.94356 19.8436 8.2362 19.9171 8.5423C20 8.88757 20 9.25445 20 9.98822Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
- </svg>
- </template>
- <p class="mt-4">
- The code will be injected in the <span class="font-semibold">head</span> section of your form page.
- </p>
- <code-input name="custom_code" class="mt-4"
- :form="form" help="Custom code cannot be previewed in our editor. Please test your code using
- your actual form page (save changes beforehand)."
- label="Custom Code"
- />
- </editor-options-panel>
-</template>
-
-<script>
-import { useWorkingFormStore } from '../../../../../stores/working_form'
-import EditorOptionsPanel from '../../../editors/EditorOptionsPanel.vue'
-import CodeInput from '../../../../forms/CodeInput.vue'
-
-export default {
- components: { EditorOptionsPanel, CodeInput },
- props: {},
- setup () {
- const workingFormStore = useWorkingFormStore()
- return {
- workingFormStore
- }
- },
- data () {
- return {
- }
- },
-
- computed: {
- form: {
- get () {
- return this.workingFormStore.content
- },
- /* We add a setter */
- set (value) {
- this.workingFormStore.set(value)
- }
- }
- },
-}
-</script>
diff --git a/resources/js/components/open/forms/components/form-components/FormCustomSeo.vue b/resources/js/components/open/forms/components/form-components/FormCustomSeo.vue
deleted file mode 100644
index e68b4be1e..000000000
--- a/resources/js/components/open/forms/components/form-components/FormCustomSeo.vue
+++ /dev/null
@@ -1,83 +0,0 @@
-<template>
- <editor-options-panel name="Link Settings - SEO" :already-opened="false" :has-pro-tag="true">
- <template #icon>
- <svg class="h-5 w-5" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round"
- d="M2.25 15.75l5.159-5.159a2.25 2.25 0 013.182 0l5.159 5.159m-1.5-1.5l1.409-1.409a2.25 2.25 0 013.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 001.5-1.5V6a1.5 1.5 0 00-1.5-1.5H3.75A1.5 1.5 0 002.25 6v12a1.5 1.5 0 001.5 1.5zm10.5-11.25h.008v.008h-.008V8.25zm.375 0a.375.375 0 11-.75 0 .375.375 0 01.75 0z"
- />
- </svg>
- </template>
- <p class="mt-4 text-gray-500 text-sm">
- Customize the link, images and text that appear when you share your form on other sites (Open Graph).
- </p>
- <select-input v-if="customDomainAllowed" v-model="form.custom_domain" :disabled="customDomainOptions.length <= 0" :options="customDomainOptions" name="type"
- class="mt-4" label="Form Domain" placeholder="yourdomain.com"
- />
- <text-input v-model="form.seo_meta.page_title" name="page_title" class="mt-4"
- label="Page Title" help="Under or approximately 60 characters"
- />
- <text-area-input v-model="form.seo_meta.page_description" name="page_description" class="mt-4"
- label="Page Description" help="Between 150 and 160 characters"
- />
- <image-input v-model="form.seo_meta.page_thumbnail" name="page_thumbnail" class="mt-4"
- label="Page Thumbnail Image" help="Also know as og:image - 1200 X 630"
- />
- </editor-options-panel>
-</template>
-
-<script>
-import { useWorkingFormStore } from '../../../../../stores/working_form'
-import EditorOptionsPanel from '../../../editors/EditorOptionsPanel.vue'
-
-export default {
- components: { EditorOptionsPanel },
- props: {},
- setup () {
- const workingFormStore = useWorkingFormStore()
- return {
- workingFormStore
- }
- },
- data () {
- return {
- }
- },
- computed: {
- form: {
- get () {
- return this.workingFormStore.content
- },
- /* We add a setter */
- set (value) {
- this.workingFormStore.set(value)
- }
- },
- workspace () {
- return this.$store.getters['open/workspaces/getCurrent']()
- },
- customDomainOptions () {
- if (!this.workspace || !this.workspace.custom_domains) {
- return []
- }
- return this.workspace.custom_domains.map((domain) => {
- return {
- name: domain,
- value: domain
- }
- })
- },
- customDomainAllowed () {
- return window.config.custom_domains_enabled
- }
- },
- watch: {},
- mounted () {
- ['page_title', 'page_description', 'page_thumbnail'].forEach((keyname) => {
- if (this.form.seo_meta[keyname] === undefined) {
- this.form.seo_meta[keyname] = null
- }
- })
- },
- methods: {}
-}
-</script>
diff --git a/resources/js/components/open/forms/components/form-components/FormCustomization.vue b/resources/js/components/open/forms/components/form-components/FormCustomization.vue
deleted file mode 100644
index e29811e7b..000000000
--- a/resources/js/components/open/forms/components/form-components/FormCustomization.vue
+++ /dev/null
@@ -1,135 +0,0 @@
-<template>
- <editor-options-panel name="Customization" :already-opened="true">
- <template #icon>
- <svg class="h-5 w-5" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M1.66667 9.99984C1.66667 14.6022 5.39763 18.3332 10 18.3332C11.3807 18.3332 12.5 17.2139 12.5 15.8332V15.4165C12.5 15.0295 12.5 14.836 12.5214 14.6735C12.6691 13.5517 13.5519 12.6689 14.6737 12.5212C14.8361 12.4998 15.0297 12.4998 15.4167 12.4998H15.8333C17.214 12.4998 18.3333 11.3805 18.3333 9.99984C18.3333 5.39746 14.6024 1.6665 10 1.6665C5.39763 1.6665 1.66667 5.39746 1.66667 9.99984Z" stroke="currentColor" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round"/>
- <path d="M5.83333 10.8332C6.29357 10.8332 6.66667 10.4601 6.66667 9.99984C6.66667 9.5396 6.29357 9.1665 5.83333 9.1665C5.3731 9.1665 5 9.5396 5 9.99984C5 10.4601 5.3731 10.8332 5.83333 10.8332Z" stroke="currentColor" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round"/>
- <path d="M13.3333 7.49984C13.7936 7.49984 14.1667 7.12674 14.1667 6.6665C14.1667 6.20627 13.7936 5.83317 13.3333 5.83317C12.8731 5.83317 12.5 6.20627 12.5 6.6665C12.5 7.12674 12.8731 7.49984 13.3333 7.49984Z" stroke="currentColor" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round"/>
- <path d="M8.33333 6.6665C8.79357 6.6665 9.16667 6.29341 9.16667 5.83317C9.16667 5.37293 8.79357 4.99984 8.33333 4.99984C7.8731 4.99984 7.5 5.37293 7.5 5.83317C7.5 6.29341 7.8731 6.6665 8.33333 6.6665Z" stroke="currentColor" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round"/>
- </svg>
- </template>
-
- <select-input name="theme" class="mt-4"
- :options="[
- {name:'Default',value:'default'},
- {name:'Simple',value:'simple'},
- {name:'Notion',value:'notion'},
- ]"
- :form="form" label="Form Theme"
- />
- <div class="-mt-3 mb-3 text-gray-400 dark:text-gray-500">
- <small>
- Need another theme? <a href="#" @click.prevent="openChat">Send us some suggestions!</a>
- </small>
- </div>
-
- <select-input name="width" class="mt-4"
- :options="[
- {name:'Centered',value:'centered'},
- {name:'Full Width',value:'full'},
- ]"
- :form="form" label="Form Width" help="Useful when embedding your form"
- />
-
- <image-input name="cover_picture" class="mt-4"
- :form="form" label="Cover Picture" help="Not visible when form is embedded"
- :required="false"
- />
-
- <image-input name="logo_picture" class="mt-4"
- :form="form" label="Logo" help="Not visible when form is embedded"
- :required="false"
- />
-
- <select-input name="dark_mode" class="mt-4"
- help="To see changes, save your form and open it"
- :options="[
- {name:'Auto - use Device System Preferences',value:'auto'},
- {name:'Light Mode',value:'light'},
- {name:'Dark Mode',value:'dark'}
- ]"
- :form="form" label="Dark Mode"
- />
- <color-input name="color" class="mt-4"
- :form="form"
- label="Color (for buttons & inputs border)"
- />
- <toggle-switch-input name="hide_title" :form="form" class="mt-4"
- label="Hide Title"
- />
- <toggle-switch-input name="no_branding" :form="form" class="mt-4">
- <template #label>
- Remove OpnForm Branding
- <pro-tag class="ml-1" />
- </template>
- </toggle-switch-input>
- <toggle-switch-input name="uppercase_labels" :form="form" class="mt-4"
- label="Uppercase Input Labels"
- />
- <toggle-switch-input name="transparent_background" :form="form" class="mt-4"
- label="Transparent Background" help="Only applies when form is embedded"
- />
- <toggle-switch-input name="confetti_on_submission" :form="form" class="mt-4"
- label="Confetti on successful submission"
- @input="onChangeConfettiOnSubmission"
- />
- <toggle-switch-input name="auto_save" :form="form"
- label="Auto save form response"
- help="Will save data in browser, if user not submit the form then next time will auto prefill last entered data"
- />
- </editor-options-panel>
-</template>
-
-<script>
-import { useWorkingFormStore } from '../../../../../stores/working_form'
-import EditorOptionsPanel from '../../../editors/EditorOptionsPanel.vue'
-import ProTag from '../../../../common/ProTag.vue'
-
-export default {
- components: { EditorOptionsPanel, ProTag },
- props: {
- },
- setup () {
- const workingFormStore = useWorkingFormStore()
- return {
- workingFormStore
- }
- },
- data () {
- return {
- isMounted: false
- }
- },
-
- computed: {
- form: {
- get () {
- return this.workingFormStore.content
- },
- /* We add a setter */
- set (value) {
- this.workingFormStore.set(value)
- }
- }
- },
-
- watch: {},
-
- mounted () {
- this.isMounted = true
- },
-
- methods: {
- onChangeConfettiOnSubmission (val) {
- this.form.confetti_on_submission = val
- if (this.isMounted && val) {
- this.playConfetti()
- }
- },
- openChat () {
- window.$crisp.push(['do', 'chat:show'])
- window.$crisp.push(['do', 'chat:open'])
- }
- }
-}
-</script>
diff --git a/resources/js/components/open/forms/components/form-components/FormEditorPreview.vue b/resources/js/components/open/forms/components/form-components/FormEditorPreview.vue
deleted file mode 100644
index fd10eddb3..000000000
--- a/resources/js/components/open/forms/components/form-components/FormEditorPreview.vue
+++ /dev/null
@@ -1,114 +0,0 @@
-<template>
- <!-- Form Preview (desktop only) -->
- <div
- class="bg-gray-50 dark:bg-notion-dark-light hidden md:flex flex-grow p-5 flex-col items-center overflow-y-scroll"
- >
- <div class="border rounded-lg bg-white dark:bg-notion-dark w-full block transition-all max-w-5xl">
- <transition enter-active-class="linear duration-100 overflow-hidden"
- enter-from-class="max-h-0"
- enter-to-class="max-h-56"
- leave-active-class="linear duration-100 overflow-hidden"
- leave-from-class="max-h-56"
- leave-to-class="max-h-0"
- >
- <div v-if="(form.logo_picture || form.cover_picture)">
- <div v-if="form.cover_picture">
- <div id="cover-picture"
- class="max-h-56 rounded-t-lg w-full overflow-hidden flex items-center justify-center"
- >
- <img alt="Cover Picture" :src="coverPictureSrc(form.cover_picture)" class="w-full">
- </div>
- </div>
- <div v-if="form.logo_picture" class="w-full mx-auto p-5 relative"
- :class="{'pt-20':!form.cover_picture, 'max-w-lg': form && (form.width === 'centered')}"
- >
- <img alt="Logo Picture" :src="coverPictureSrc(form.logo_picture)"
- :class="{'top-5':!form.cover_picture, '-top-10':form.cover_picture}"
- class="w-20 h-20 object-contain absolute left-5 transition-all"
- >
- </div>
- </div>
- </transition>
- <open-complete-form ref="form-preview" class="w-full mx-auto py-5 px-3" :class="{'max-w-lg': form && (form.width === 'centered')}"
- :creating="creating"
- :form="form"
- :admin-preview="true"
- @restarted="previewFormSubmitted=false"
- @submitted="previewFormSubmitted=true"
- />
- </div>
- <p class="text-center text-xs text-gray-400 dark:text-gray-600 mt-1">
- Form Preview <span v-if="creating"
- class="font-normal text-gray-400 dark:text-gray-600 text-xs"
- >- Answers won't be saved</span>
- <br>
- <span v-if="previewFormSubmitted && !form.re_fillable">
- <a href="#" @click.prevent="$refs['form-preview'].restart()">Restart Form
- <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 text-nt-blue inline" viewBox="0 0 20 20"
- fill="currentColor"
- >
- <path fill-rule="evenodd"
- d="M4 2a1 1 0 011 1v2.101a7.002 7.002 0 0111.601 2.566 1 1 0 11-1.885.666A5.002 5.002 0 005.999 7H9a1 1 0 010 2H4a1 1 0 01-1-1V3a1 1 0 011-1zm.008 9.057a1 1 0 011.276.61A5.002 5.002 0 0014.001 13H11a1 1 0 110-2h5a1 1 0 011 1v5a1 1 0 11-2 0v-2.101a7.002 7.002 0 01-11.601-2.566 1 1 0 01.61-1.276z"
- clip-rule="evenodd"
- />
- </svg>
- </a>
- </span>
- </p>
- </div>
-</template>
-
-<script>
-import { useWorkingFormStore } from '../../../../../stores/working_form'
-import VSwitch from '../../../../forms/components/VSwitch.vue'
-import OpenCompleteForm from '../../OpenCompleteForm.vue'
-
-export default {
- components: { OpenCompleteForm, VSwitch },
- props: {},
- setup () {
- const workingFormStore = useWorkingFormStore()
- return {
- workingFormStore
- }
- },
- data () {
- return {
- previewFormSubmitted: false
- }
- },
-
- computed: {
- form: {
- get () {
- return this.workingFormStore.content
- },
- /* We add a setter */
- set (value) {
- this.workingFormStore.set(value)
- }
- },
- creating () { // returns true if we are creating a form
- return !this.form.hasOwnProperty('id')
- }
- },
-
- watch: {},
-
- mounted () {
- },
-
- methods: {
- coverPictureSrc (val) {
- try {
- // Is valid url
- new URL(val)
- } catch (_) {
- // Is file
- return URL.createObjectURL(val)
- }
- return val
- }
- }
-}
-</script>
diff --git a/resources/js/components/open/forms/components/form-components/FormEditorSidebar.vue b/resources/js/components/open/forms/components/form-components/FormEditorSidebar.vue
deleted file mode 100644
index dcd8d3481..000000000
--- a/resources/js/components/open/forms/components/form-components/FormEditorSidebar.vue
+++ /dev/null
@@ -1,49 +0,0 @@
-<template>
- <editor-right-sidebar :show="form && (showEditFieldSidebar || showAddFieldSidebar)">
- <transition mode="out-in">
- <form-field-edit v-if="showEditFieldSidebar" :key="editFieldIndex" v-motion-fade="'fade'" />
- <add-form-block v-else-if="showAddFieldSidebar" v-motion-fade="'fade'" />
- </transition>
- </editor-right-sidebar>
-</template>
-
-<script>
-import { computed } from 'vue'
-import { useWorkingFormStore } from '../../../../../stores/working_form'
-import EditorRightSidebar from '../../../editors/EditorRightSidebar.vue'
-import FormFieldEdit from '../../fields/FormFieldEdit.vue'
-import AddFormBlock from './AddFormBlock.vue'
-
-export default {
- name: 'FormEditorSidebar',
- components: { EditorRightSidebar, AddFormBlock, FormFieldEdit },
- props: {},
- setup () {
- const workingFormStore = useWorkingFormStore()
- return {
- workingFormStore,
- editFieldIndex: computed(() => workingFormStore.selectedFieldIndex),
- showEditFieldSidebar: computed(() => workingFormStore.showEditFieldSidebar),
- showAddFieldSidebar: computed(() => workingFormStore.showAddFieldSidebar)
- }
- },
- data () {
- return {}
- },
- computed: {
- form: {
- get () {
- return this.workingFormStore.content
- },
- /* We add a setter */
- set (value) {
- this.workingFormStore.set(value)
- }
- }
- },
- watch: {},
- mounted () {
- },
- methods: {}
-}
-</script>
diff --git a/resources/js/components/open/forms/components/form-components/FormErrorModal.vue b/resources/js/components/open/forms/components/form-components/FormErrorModal.vue
deleted file mode 100644
index ec946c4f1..000000000
--- a/resources/js/components/open/forms/components/form-components/FormErrorModal.vue
+++ /dev/null
@@ -1,40 +0,0 @@
-<template>
- <modal :show="show" @close="$emit('close')">
- <div class="-mx-5">
- <h2 class="text-red-400 text-2xl font-bold mb-4 px-4">
- Error saving your form
- </h2>
-
- <div v-if="validationErrorResponse" class="p-4 border-b border-t">
- <p v-if="validationErrorResponse.message" v-text="validationErrorResponse.message" />
- <ul class="list-disc list-inside">
- <li v-for="err, key in validationErrorResponse.errors" :key="key">
- {{ Array.isArray(err)?err[0]:err }}
- </li>
- </ul>
- </div>
-
- <div class="px-4 pt-4 text-right">
- <v-button color="gray" shade="light" @click="$emit('close')">
- Close
- </v-button>
- </div>
- </div>
- </modal>
-</template>
-
-<script>
-export default {
- name: 'FormErrorModal',
- components: {},
- props: {
- show: { type: Boolean, required: true },
- validationErrorResponse: { type: Object, required: false }
- },
- data: () => ({}),
-
- computed: {},
-
- methods: {}
-}
-</script>
diff --git a/resources/js/components/open/forms/components/form-components/FormInformation.vue b/resources/js/components/open/forms/components/form-components/FormInformation.vue
deleted file mode 100644
index 0f5e53d67..000000000
--- a/resources/js/components/open/forms/components/form-components/FormInformation.vue
+++ /dev/null
@@ -1,169 +0,0 @@
-<template>
- <editor-options-panel name="Information" :already-opened="true">
- <template #icon>
- <svg class="h-5 w-5" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M10 13.3332V9.99984M10 6.6665H10.0083M18.3333 9.99984C18.3333 14.6022 14.6024 18.3332 10 18.3332C5.39763 18.3332 1.66667 14.6022 1.66667 9.99984C1.66667 5.39746 5.39763 1.6665 10 1.6665C14.6024 1.6665 18.3333 5.39746 18.3333 9.99984Z" stroke="currentColor" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round"/>
- </svg>
- </template>
- <text-input name="title" class="mt-4"
- :form="form"
- label="Form Title"
- :required="true"
- />
- <rich-text-area-input name="description"
- :form="form"
- label="Description"
- :required="false"
- />
- <select-input name="tags" label="Tags" :form="form" class="mt-4"
- help="To organize your forms (hidden to respondents)"
- placeholder="Select Tag(s)" :multiple="true" :allow-creation="true"
- :options="allTagsOptions"
- />
- <select-input name="visibility" label="Visibility" :form="form" class="mt-4"
- help="Only public form will be accessible"
- placeholder="Select Visibility" :required="true"
- :options="visibilityOptions"
- />
- <v-button v-if="copyFormOptions.length > 0" color="light-gray" class="w-full mt-4" @click="showCopyFormSettingsModal=true">
- <svg class="h-5 w-5 -mt-1 text-nt-blue inline mr-2" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M4.16667 12.4998C3.3901 12.4998 3.00182 12.4998 2.69553 12.373C2.28715 12.2038 1.9627 11.8794 1.79354 11.471C1.66667 11.1647 1.66667 10.7764 1.66667 9.99984V4.33317C1.66667 3.39975 1.66667 2.93304 1.84833 2.57652C2.00812 2.26292 2.26308 2.00795 2.57669 1.84816C2.93321 1.6665 3.39992 1.6665 4.33334 1.6665H10C10.7766 1.6665 11.1649 1.6665 11.4711 1.79337C11.8795 1.96253 12.204 2.28698 12.3731 2.69536C12.5 3.00165 12.5 3.38993 12.5 4.1665M10.1667 18.3332H15.6667C16.6001 18.3332 17.0668 18.3332 17.4233 18.1515C17.7369 17.9917 17.9919 17.7368 18.1517 17.4232C18.3333 17.0666 18.3333 16.5999 18.3333 15.6665V10.1665C18.3333 9.23308 18.3333 8.76637 18.1517 8.40985C17.9919 8.09625 17.7369 7.84128 17.4233 7.68149C17.0668 7.49984 16.6001 7.49984 15.6667 7.49984H10.1667C9.23325 7.49984 8.76654 7.49984 8.41002 7.68149C8.09642 7.84128 7.84145 8.09625 7.68166 8.40985C7.50001 8.76637 7.50001 9.23308 7.50001 10.1665V15.6665C7.50001 16.5999 7.50001 17.0666 7.68166 17.4232C7.84145 17.7368 8.09642 17.9917 8.41002 18.1515C8.76654 18.3332 9.23325 18.3332 10.1667 18.3332Z" stroke="currentColor" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round" />
- </svg>
- Copy another form's settings
- </v-button>
-
- <modal :show="showCopyFormSettingsModal" max-width="md" @close="showCopyFormSettingsModal=false">
- <template #icon>
- <svg class="w-10 h-10 text-blue" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M17 27C16.0681 27 15.6022 27 15.2346 26.8478C14.7446 26.6448 14.3552 26.2554 14.1522 25.7654C14 25.3978 14 24.9319 14 24V17.2C14 16.0799 14 15.5198 14.218 15.092C14.4097 14.7157 14.7157 14.4097 15.092 14.218C15.5198 14 16.0799 14 17.2 14H24C24.9319 14 25.3978 14 25.7654 14.1522C26.2554 14.3552 26.6448 14.7446 26.8478 15.2346C27 15.6022 27 16.0681 27 17M24.2 34H30.8C31.9201 34 32.4802 34 32.908 33.782C33.2843 33.5903 33.5903 33.2843 33.782 32.908C34 32.4802 34 31.9201 34 30.8V24.2C34 23.0799 34 22.5198 33.782 22.092C33.5903 21.7157 33.2843 21.4097 32.908 21.218C32.4802 21 31.9201 21 30.8 21H24.2C23.0799 21 22.5198 21 22.092 21.218C21.7157 21.4097 21.4097 21.7157 21.218 22.092C21 22.5198 21 23.0799 21 24.2V30.8C21 31.9201 21 32.4802 21.218 32.908C21.4097 33.2843 21.7157 33.5903 22.092 33.782C22.5198 34 23.0799 34 24.2 34Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
- </svg>
- </template>
- <template #title>
- Copy Settings from another form
- </template>
- <div class="p-4 min-h-[450px]">
- <p class="text-gray-600">
- If you already have another form that you like to use as a base for this form, you can do that here.
- Select another form, confirm, and we will copy all of the other form settings (except the form structure)
- to this form.
- </p>
- <select-input v-model="copyFormId" name="copy_form_id"
- label="Copy Settings From" class="mt-3 mb-6"
- placeholder="Choose a form" :searchable="copyFormOptions.length > 5"
- :options="copyFormOptions"
- />
- <div class="flex">
- <v-button color="white" class="w-full mr-2" @click="showCopyFormSettingsModal=false">
- Cancel
- </v-button>
- <v-button color="blue" class="w-full" @click="copySettings">
- Confirm & Copy
- </v-button>
- </div>
- </div>
- </modal>
- </editor-options-panel>
-</template>
-
-<script>
-import { computed } from 'vue'
-import clonedeep from 'clone-deep'
-import { useFormsStore } from '../../../../../stores/forms'
-import { useWorkingFormStore } from '../../../../../stores/working_form'
-import EditorOptionsPanel from '../../../editors/EditorOptionsPanel.vue'
-import SelectInput from '../../../../forms/SelectInput.vue'
-
-export default {
- components: { SelectInput, EditorOptionsPanel },
- props: {},
-
- setup () {
- const formsStore = useFormsStore()
- const workingFormStore = useWorkingFormStore()
- return {
- formsStore,
- workingFormStore,
- forms : computed(() => formsStore.content)
- }
- },
-
- data () {
- return {
- showCopyFormSettingsModal: false,
- copyFormId: null,
- visibilityOptions: [
- {
- name: "Published",
- value: "public"
- },
- {
- name: "Draft - not publicly accessible",
- value: "draft"
- },
- {
- name: "Closed - won\'t accept new submissions",
- value: "closed"
- }
- ]
- }
- },
-
- computed: {
- copyFormOptions () {
- return this.forms.filter((form) => {
- return this.form.id !== form.id
- }).map((form) => {
- return {
- name: form.title,
- value: form.id
- }
- })
- },
- form: {
- get () {
- return this.workingFormStore.content
- },
- /* We add a setter */
- set (value) {
- this.workingFormStore.set(value)
- }
- },
- allTagsOptions () {
- return this.formsStore.getAllTags.map((tagname) => {
- return {
- name: tagname,
- value: tagname
- }
- })
- }
- },
-
- watch: {},
-
- mounted () {
- },
-
- methods: {
- copySettings () {
- if (this.copyFormId == null) return
- const copyForm = clonedeep(this.forms.find((form) => form.id === this.copyFormId))
- if (!copyForm) return
-
- // Clean copy from form
- ['title', 'description', 'properties', 'cleanings', 'views_count', 'submissions_count', 'workspace', 'workspace_id', 'updated_at',
- 'share_url', 'slug', 'notion_database_url', 'id', 'database_id', 'database_fields_update', 'creator',
- 'created_at', 'deleted_at', 'last_edited_human'].forEach((property) => {
- if (copyForm.hasOwnProperty(property)) {
- delete copyForm[property]
- }
- })
-
- // Apply changes
- Object.keys(copyForm).forEach((property) => {
- this.form[property] = copyForm[property]
- })
- this.showCopyFormSettingsModal = false
- }
- }
-}
-</script>
diff --git a/resources/js/components/open/forms/components/form-components/FormNotifications.vue b/resources/js/components/open/forms/components/form-components/FormNotifications.vue
deleted file mode 100644
index 5685cebe3..000000000
--- a/resources/js/components/open/forms/components/form-components/FormNotifications.vue
+++ /dev/null
@@ -1,75 +0,0 @@
-<template>
- <editor-options-panel name="Notifications & Integrations" :already-opened="true" :has-pro-tag="true">
- <template #icon>
- <svg class="h-5 w-5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M22 6C22 4.9 21.1 4 20 4H4C2.9 4 2 4.9 2 6M22 6V18C22 19.1 21.1 20 20 20H4C2.9 20 2 19.1 2 18V6M22 6L12 13L2 6" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
- </svg>
- </template>
-
- <form-notifications-option class="mt-2" />
- <form-notifications-submission-confirmation />
- <form-notifications-slack />
- <form-notifications-discord />
- <form-notifications-webhook />
- <v-button color="white"
- class="flex items-center mt-3 cursor-pointer relative w-full rounded-lg flex-1 appearance-none border border-gray-300 dark:border-gray-600 w-full py-2 px-4 bg-white text-gray-700 dark:bg-notion-dark-light dark:text-gray-300 dark:placeholder-gray-500 placeholder-gray-400 shadow-sm text-base focus:outline-none focus:ring-2 focus:border-transparent focus:ring-opacity-100"
- :href="zapierUrl" target="_blank"
- >
- <div class="flex-grow flex items-center">
- <svg class="w-5 h-5 inline text-yellow-500" fill="currentColor" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
- <path
- d="M318 256c0 19-4 36-10 52-16 7-34 10-52 10-19 0-36-3-52-9-7-17-10-34-10-53 0-18 3-36 10-52 16-6 33-10 52-10 18 0 36 4 52 10 6 16 10 34 10 52zm182-41H355l102-102c-8-11-17-22-26-32-10-9-21-18-32-26L297 157V12c-13-2-27-3-41-3s-28 1-41 3v145L113 55c-12 8-22 17-32 26-10 10-19 21-27 32l102 102H12s-3 27-3 41 1 28 3 41h144L54 399c16 23 36 43 59 59l102-102v144c13 2 27 3 41 3s28-1 41-3V356l102 102c11-8 22-17 32-27 9-10 18-20 26-32L355 297h145c2-13 3-27 3-41s-1-28-3-41z"
- />
- </svg>
- <p class="flex-grow text-center font-normal">
- Zapier Integration
- </p>
- </div>
- </v-button>
-
- </editor-options-panel>
-</template>
-
-<script>
-import { useWorkingFormStore } from '../../../../../stores/working_form'
-import EditorOptionsPanel from '../../../editors/EditorOptionsPanel.vue'
-import FormNotificationsOption from './components/FormNotificationsOption.vue'
-import FormNotificationsSlack from './components/FormNotificationsSlack.vue'
-import FormNotificationsDiscord from './components/FormNotificationsDiscord.vue'
-import FormNotificationsSubmissionConfirmation from './components/FormNotificationsSubmissionConfirmation.vue'
-import FormNotificationsWebhook from './components/FormNotificationsWebhook.vue'
-
-export default {
- components: { FormNotificationsSubmissionConfirmation, FormNotificationsSlack, FormNotificationsDiscord, FormNotificationsOption, EditorOptionsPanel, FormNotificationsWebhook },
- props: {},
- setup () {
- const workingFormStore = useWorkingFormStore()
- return {
- workingFormStore
- }
- },
- data () {
- return {
- }
- },
-
- computed: {
- form: {
- get () {
- return this.workingFormStore.content
- },
- /* We add a setter */
- set (value) {
- this.workingFormStore.set(value)
- }
- },
- zapierUrl: () => window.config.links.zapier_integration
- },
-
- watch: {
- },
-
- mounted () {
- },
-}
-</script>
diff --git a/resources/js/components/open/forms/components/form-components/FormSecurityPrivacy.vue b/resources/js/components/open/forms/components/form-components/FormSecurityPrivacy.vue
deleted file mode 100644
index 884f1be26..000000000
--- a/resources/js/components/open/forms/components/form-components/FormSecurityPrivacy.vue
+++ /dev/null
@@ -1,48 +0,0 @@
-<template>
- <editor-options-panel name="Security & Privacy" :already-opened="false">
- <template #icon>
- <svg class="h-5 w-5" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
- <path stroke-linecap="round" stroke-linejoin="round" d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z" />
- </svg>
- </template>
- <toggle-switch-input name="can_be_indexed" :form="form" class="mt-4"
- label="Indexable by Google"
- help="If enabled, your form can appear in the search results of Google"
- />
- <toggle-switch-input name="use_captcha" :form="form" class="mt-4"
- label="Protect your form with a Captcha"
- help="If enabled we will make sure respondant is a human"
- />
- </editor-options-panel>
-</template>
-
-<script>
-import { useWorkingFormStore } from '../../../../../stores/working_form'
-import EditorOptionsPanel from '../../../editors/EditorOptionsPanel.vue'
-
-export default {
- components: { EditorOptionsPanel },
- props: {},
- setup () {
- const workingFormStore = useWorkingFormStore()
- return {
- workingFormStore
- }
- },
- data () {
- return {
- }
- },
- computed: {
- form: {
- get () {
- return this.workingFormStore.content
- },
- /* We add a setter */
- set (value) {
- this.workingFormStore.set(value)
- }
- }
- },
-}
-</script>
diff --git a/resources/js/components/open/forms/components/form-components/FormStructure.vue b/resources/js/components/open/forms/components/form-components/FormStructure.vue
deleted file mode 100644
index 56e5dd602..000000000
--- a/resources/js/components/open/forms/components/form-components/FormStructure.vue
+++ /dev/null
@@ -1,44 +0,0 @@
-<template>
- <editor-options-panel name="Form Structure" :already-opened="true">
- <template #icon>
- <svg class="h-5 w-5" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M13.8333 7.33333C14.7668 7.33333 15.2335 7.33333 15.59 7.15168C15.9036 6.99189 16.1586 6.73692 16.3183 6.42332C16.5 6.0668 16.5 5.60009 16.5 4.66667V4.16667C16.5 3.23325 16.5 2.76654 16.3183 2.41002C16.1586 2.09641 15.9036 1.84145 15.59 1.68166C15.2335 1.5 14.7668 1.5 13.8333 1.5L4.16667 1.5C3.23325 1.5 2.76654 1.5 2.41002 1.68166C2.09641 1.84144 1.84144 2.09641 1.68166 2.41002C1.5 2.76654 1.5 3.23325 1.5 4.16667L1.5 4.66667C1.5 5.60009 1.5 6.0668 1.68166 6.42332C1.84144 6.73692 2.09641 6.99189 2.41002 7.15168C2.76654 7.33333 3.23325 7.33333 4.16667 7.33333L13.8333 7.33333Z" stroke="currentColor" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round"/>
- <path d="M13.8333 16.5C14.7668 16.5 15.2335 16.5 15.59 16.3183C15.9036 16.1586 16.1586 15.9036 16.3183 15.59C16.5 15.2335 16.5 14.7668 16.5 13.8333V13.3333C16.5 12.3999 16.5 11.9332 16.3183 11.5767C16.1586 11.2631 15.9036 11.0081 15.59 10.8483C15.2335 10.6667 14.7668 10.6667 13.8333 10.6667L4.16667 10.6667C3.23325 10.6667 2.76654 10.6667 2.41002 10.8483C2.09641 11.0081 1.84144 11.2631 1.68166 11.5767C1.5 11.9332 1.5 12.3999 1.5 13.3333L1.5 13.8333C1.5 14.7668 1.5 15.2335 1.68166 15.59C1.84144 15.9036 2.09641 16.1586 2.41002 16.3183C2.76654 16.5 3.23325 16.5 4.16667 16.5H13.8333Z" stroke="currentColor" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round"/>
- </svg>
- </template>
- <form-fields-editor class="mt-5" />
- </editor-options-panel>
-</template>
-
-<script>
-import { useWorkingFormStore } from '../../../../../stores/working_form'
-import EditorOptionsPanel from '../../../editors/EditorOptionsPanel.vue'
-import FormFieldsEditor from '../FormFieldsEditor.vue'
-
-export default {
- components: { EditorOptionsPanel, FormFieldsEditor },
- props: {},
- setup () {
- const workingFormStore = useWorkingFormStore()
- return {
- workingFormStore
- }
- },
- data () {
- return {
- }
- },
-
- computed: {
- form: {
- get () {
- return this.workingFormStore.content
- },
- /* We add a setter */
- set (value) {
- this.workingFormStore.set(value)
- }
- }
- }
-}
-</script>
diff --git a/resources/js/components/open/forms/components/form-components/components/FormNotificationsDiscord.vue b/resources/js/components/open/forms/components/form-components/components/FormNotificationsDiscord.vue
deleted file mode 100644
index 8d9e8a5e1..000000000
--- a/resources/js/components/open/forms/components/form-components/components/FormNotificationsDiscord.vue
+++ /dev/null
@@ -1,90 +0,0 @@
-<template>
- <div>
- <button
- class="flex items-center mt-3 cursor-pointer relative w-full rounded-lg flex-1 appearance-none border border-gray-300 dark:border-gray-600 w-full py-2 px-4 bg-white text-gray-700 dark:bg-notion-dark-light dark:text-gray-300 dark:placeholder-gray-500 placeholder-gray-400 shadow-sm text-base focus:outline-none focus:ring-2 focus:border-transparent focus:ring-opacity-100"
- @click.prevent="showModal=true"
- >
- <div class="flex-grow flex items-center">
- <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 inline" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M9 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"></path><path d="M15 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"></path><path d="M7.5 7.5c3.5 -1 5.5 -1 9 0"></path><path d="M7 16.5c3.5 1 6.5 1 10 0"></path><path d="M15.5 17c0 1 1.5 3 2 3c1.5 0 2.833 -1.667 3.5 -3c.667 -1.667 .5 -5.833 -1.5 -11.5c-1.457 -1.015 -3 -1.34 -4.5 -1.5l-1 2.5"></path><path d="M8.5 17c0 1 -1.356 3 -1.832 3c-1.429 0 -2.698 -1.667 -3.333 -3c-.635 -1.667 -.476 -5.833 1.428 -11.5c1.388 -1.015 2.782 -1.34 4.237 -1.5l1 2.5"></path></svg>
- <p class="flex-grow text-center">
- Discord Notifications
- </p>
- </div>
- <div v-if="form.notifies_discord">
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"
- class="w-5 h-5 text-nt-blue"
- >
- <path stroke-linecap="round" stroke-linejoin="round"
- d="M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
- />
- </svg>
- </div>
- </button>
- <modal :show="showModal" @close="showModal=false">
- <h2 class="text-2xl font-bold z-10 truncate mb-5 text-nt-blue">
- Discord Notifications
- <pro-tag />
- </h2>
- <toggle-switch-input name="notifies_discord" :form="form" class="mt-4"
- label="Receive a Discord notification on submission"
- />
- <template v-if="form.notifies_discord">
- <text-input name="discord_webhook_url" :form="form" class="mt-4"
- label="Discord webhook url" help="help"
- >
- <template #help>
- Receive a discord message on each form submission.
- <a href="https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks" target="_blank">Click
- here</a> to learn how to get a discord webhook url.
- </template>
- </text-input>
- <h4 class="font-bold mt-4">Discord message actions</h4>
- <form-notifications-message-actions v-model="form.notification_settings.discord" />
- </template>
- </modal>
- </div>
-</template>
-
-<script>
-import { useWorkingFormStore } from '../../../../../../stores/working_form'
-import ProTag from '../../../../../common/ProTag.vue'
-import FormNotificationsMessageActions from './FormNotificationsMessageActions.vue'
-
-export default {
- components: { ProTag, FormNotificationsMessageActions },
- props: {},
- setup () {
- const workingFormStore = useWorkingFormStore()
- return {
- workingFormStore
- }
- },
- data () {
- return {
- showModal: false
- }
- },
-
- computed: {
- form: {
- get () {
- return this.workingFormStore.content
- },
- /* We add a setter */
- set (value) {
- this.workingFormStore.set(value)
- }
- }
- },
-
- watch: {},
-
- mounted () {
- if(!this.form.notification_settings.discord || Array.isArray(this.form.notification_settings.discord)){
- this.form.notification_settings.discord = {}
- }
- },
-
- methods: {}
-}
-</script>
diff --git a/resources/js/components/open/forms/components/form-components/components/FormNotificationsMessageActions.vue b/resources/js/components/open/forms/components/form-components/components/FormNotificationsMessageActions.vue
deleted file mode 100644
index 1b9ac5c23..000000000
--- a/resources/js/components/open/forms/components/form-components/components/FormNotificationsMessageActions.vue
+++ /dev/null
@@ -1,64 +0,0 @@
-<template>
- <div>
- <toggle-switch-input name="include_submission_data" v-model="compVal.include_submission_data" class="mt-4"
- label="Include submission data"
- help="With form submission answers"
- />
- <toggle-switch-input name="link_open_form" v-model="compVal.link_open_form" class="mt-4"
- label="Open Form"
- help="Link to the form public page"
- />
- <toggle-switch-input name="link_edit_form" v-model="compVal.link_edit_form" class="mt-4"
- label="Edit Form"
- help="Link to the form admin page"
- />
- <toggle-switch-input name="views_submissions_count" v-model="compVal.views_submissions_count" class="mt-4"
- label="Analytics (views & submissions)"
- />
- <toggle-switch-input name="link_edit_submission" v-model="compVal.link_edit_submission" class="mt-4"
- label="Link to the Edit Submission Record"
- />
- </div>
-</template>
-
-<script>
-export default {
- name: 'FormNotificationsMessageActions',
- components: { },
- props: {
- value: { required: false }
- },
- data () {
- return {
- content: this.value ?? {}
- }
- },
-
- computed: {
- compVal: {
- set (val) {
- this.content = val
- this.$emit('input', this.compVal)
- },
- get () {
- return this.content
- }
- }
- },
-
- watch: {},
-
- created () {
- if(this.compVal === undefined || this.compVal === null){
- this.compVal = {}
- }
- ['include_submission_data', 'link_open_form', 'link_edit_form', 'views_submissions_count', 'link_edit_submission'].forEach((keyname) => {
- if (this.compVal[keyname] === undefined) {
- this.compVal[keyname] = true
- }
- })
- },
-
- methods: { }
-}
-</script>
diff --git a/resources/js/components/open/forms/components/form-components/components/FormNotificationsOption.vue b/resources/js/components/open/forms/components/form-components/components/FormNotificationsOption.vue
deleted file mode 100644
index d2d5628b5..000000000
--- a/resources/js/components/open/forms/components/form-components/components/FormNotificationsOption.vue
+++ /dev/null
@@ -1,103 +0,0 @@
-<template>
- <div>
- <button
- class="flex items-center mt-3 cursor-pointer relative w-full rounded-lg flex-1 appearance-none border border-gray-300 dark:border-gray-600 w-full py-2 px-4 bg-white text-gray-700 dark:bg-notion-dark-light dark:text-gray-300 dark:placeholder-gray-500 placeholder-gray-400 shadow-sm text-base focus:outline-none focus:ring-2 focus:border-transparent focus:ring-opacity-100"
- @click.prevent="showModal=true"
- >
- <div class="flex-grow flex items-center">
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"
- class="w-5 h-5 inline"
- >
- <path stroke-linecap="round" stroke-linejoin="round"
- d="M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75"
- />
- </svg>
- <p class="flex-grow text-center">
- Email Notifications
- </p>
- </div>
- <div v-if="form.notifies">
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"
- class="w-5 h-5 text-nt-blue"
- >
- <path stroke-linecap="round" stroke-linejoin="round"
- d="M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
- />
- </svg>
- </div>
- </button>
- <modal :show="showModal" @close="showModal=false">
- <h2 class="text-2xl font-bold z-10 truncate mb-5 text-nt-blue">
- Form Notifications
- <pro-tag />
- </h2>
- <toggle-switch-input name="notifies" :form="form" class="mt-4"
- label="Receive email notifications on submission"
-
- />
- <template v-if="form.notifies">
- <text-input name="notification_reply_to"
- v-model="form.notification_settings.notification_reply_to" class="mt-4"
- label="Notification Reply To"
- :help="notifiesHelp"
- />
- <text-area-input name="notification_emails" :form="form" class="mt-4"
- label="Notification Emails" help="Add one email per line"
- />
- </template>
- </modal>
- </div>
-</template>
-
-<script>
-import { useWorkingFormStore } from '../../../../../../stores/working_form'
-import ProTag from '../../../../../common/ProTag.vue'
-
-export default {
- components: { ProTag },
- props: {},
- setup () {
- const workingFormStore = useWorkingFormStore()
- return {
- workingFormStore
- }
- },
- data () {
- return {
- showModal: false
- }
- },
-
- computed: {
- form: {
- get () {
- return this.workingFormStore.content
- },
- /* We add a setter */
- set (value) {
- this.workingFormStore.set(value)
- }
- },
- replayToEmailField () {
- const emailFields = this.form.properties.filter((field) => {
- return field.type === 'email' && !field.hidden
- })
- if (emailFields.length === 1) return emailFields[0]
- return null
- },
- notifiesHelp () {
- if (this.replayToEmailField) {
- return 'If empty, Reply-to for this notification will be the email filled in the field "' + this.replayToEmailField.name + '".'
- }
- return 'If empty, Reply-to for this notification will be your own email. Add a single email field to your form, and it will automatically become the reply to value.'
- }
- },
-
- watch: {},
-
- mounted () {
- },
-
- methods: {}
-}
-</script>
diff --git a/resources/js/components/open/forms/components/form-components/components/FormNotificationsSlack.vue b/resources/js/components/open/forms/components/form-components/components/FormNotificationsSlack.vue
deleted file mode 100644
index a230c537d..000000000
--- a/resources/js/components/open/forms/components/form-components/components/FormNotificationsSlack.vue
+++ /dev/null
@@ -1,91 +0,0 @@
-<template>
- <div>
- <button
- class="flex items-center mt-3 cursor-pointer relative w-full rounded-lg flex-1 appearance-none border border-gray-300 dark:border-gray-600 w-full py-2 px-4 bg-white text-gray-700 dark:bg-notion-dark-light dark:text-gray-300 dark:placeholder-gray-500 placeholder-gray-400 shadow-sm text-base focus:outline-none focus:ring-2 focus:border-transparent focus:ring-opacity-100"
- @click.prevent="showModal=true"
- >
- <div class="flex-grow flex items-center">
- <svg xmlns="http://www.w3.org/2000/svg" class="w-5 h-5 inline" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14.5 10c-.83 0-1.5-.67-1.5-1.5v-5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5v5c0 .83-.67 1.5-1.5 1.5z" /><path d="M20.5 10H19V8.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5-.67 1.5-1.5 1.5z" /><path d="M9.5 14c.83 0 1.5.67 1.5 1.5v5c0 .83-.67 1.5-1.5 1.5S8 21.33 8 20.5v-5c0-.83.67-1.5 1.5-1.5z" /><path d="M3.5 14H5v1.5c0 .83-.67 1.5-1.5 1.5S2 16.33 2 15.5 2.67 14 3.5 14z" /><path d="M14 14.5c0-.83.67-1.5 1.5-1.5h5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-5c-.83 0-1.5-.67-1.5-1.5z" /><path d="M15.5 19H14v1.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5-.67-1.5-1.5-1.5z" /><path d="M10 9.5C10 8.67 9.33 8 8.5 8h-5C2.67 8 2 8.67 2 9.5S2.67 11 3.5 11h5c.83 0 1.5-.67 1.5-1.5z" /><path d="M8.5 5H10V3.5C10 2.67 9.33 2 8.5 2S7 2.67 7 3.5 7.67 5 8.5 5z" /></svg>
- <p class="flex-grow text-center">
- Slack Notifications
- </p>
- </div>
- <div v-if="form.notifies_slack">
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"
- class="w-5 h-5 text-nt-blue"
- >
- <path stroke-linecap="round" stroke-linejoin="round"
- d="M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
- />
- </svg>
- </div>
- </button>
- <modal :show="showModal" @close="showModal=false">
- <h2 class="text-2xl font-bold z-10 truncate mb-5 text-nt-blue">
- Slack Notifications
- <pro-tag />
- </h2>
- <toggle-switch-input name="notifies_slack" :form="form" class="mt-4"
- label="Receive a Slack notification on submission"
- />
- <template v-if="form.notifies_slack">
- <text-input name="slack_webhook_url" :form="form" class="mt-4"
- label="Slack webhook url" help="help"
- >
- <template #help>
- Receive slack message on each form submission. <a href="https://api.slack.com/messaging/webhooks"
- target="_blank"
- >Click here</a> to learn how to get a slack
- webhook url
- </template>
- </text-input>
- <h4 class="font-bold mt-4">Slack message actions</h4>
- <form-notifications-message-actions v-model="form.notification_settings.slack" />
- </template>
- </modal>
- </div>
-</template>
-
-<script>
-import { useWorkingFormStore } from '../../../../../../stores/working_form'
-import ProTag from '../../../../../common/ProTag.vue'
-import FormNotificationsMessageActions from './FormNotificationsMessageActions.vue'
-
-export default {
- components: { ProTag, FormNotificationsMessageActions },
- props: {},
- setup () {
- const workingFormStore = useWorkingFormStore()
- return {
- workingFormStore
- }
- },
- data () {
- return {
- showModal: false
- }
- },
-
- computed: {
- form: {
- get () {
- return this.workingFormStore.content
- },
- /* We add a setter */
- set (value) {
- this.workingFormStore.set(value)
- }
- }
- },
-
- watch: {},
-
- mounted () {
- if(!this.form.notification_settings.slack || Array.isArray(this.form.notification_settings.slack)){
- this.form.notification_settings.slack = {}
- }
- },
-
- methods: {}
-}
-</script>
diff --git a/resources/js/components/open/forms/components/form-components/components/FormNotificationsSubmissionConfirmation.vue b/resources/js/components/open/forms/components/form-components/components/FormNotificationsSubmissionConfirmation.vue
deleted file mode 100644
index 234c0bd66..000000000
--- a/resources/js/components/open/forms/components/form-components/components/FormNotificationsSubmissionConfirmation.vue
+++ /dev/null
@@ -1,122 +0,0 @@
-<template>
- <div>
- <button
- class="flex items-center mt-3 cursor-pointer relative w-full rounded-lg flex-1 appearance-none border border-gray-300 dark:border-gray-600 w-full py-2 px-4 bg-white text-gray-700 dark:bg-notion-dark-light dark:text-gray-300 dark:placeholder-gray-500 placeholder-gray-400 shadow-sm text-base focus:outline-none focus:ring-2 focus:border-transparent focus:ring-opacity-100"
- @click.prevent="showModal=true"
- >
- <div class="flex-grow flex items-center">
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-5 h-5">
- <path stroke-linecap="round" stroke-linejoin="round" d="M6 12L3.269 3.126A59.768 59.768 0 0121.485 12 59.77 59.77 0 013.27 20.876L5.999 12zm0 0h7.5" />
- </svg>
- <p class="flex-grow text-center">
- Send submission confirmation
- </p>
- </div>
- <div v-if="form.send_submission_confirmation">
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"
- class="w-5 h-5 text-nt-blue"
- >
- <path stroke-linecap="round" stroke-linejoin="round"
- d="M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
- />
- </svg>
- </div>
- </button>
- <modal :show="showModal" @close="showModal=false">
- <h2 class="text-2xl font-bold z-10 truncate mb-5 text-nt-blue">
- Submission confirmation
- <pro-tag />
- </h2>
- <toggle-switch-input :disabled="(emailSubmissionConfirmationField===null)?true:null" name="send_submission_confirmation"
- :form="form" class="mt-4"
- label="Send submission confirmation" :help="emailSubmissionConfirmationHelp"
- />
- <template v-if="form.send_submission_confirmation">
- <text-input v-model="form.notification_settings.confirmation_reply_to"
- name="confirmation_reply_to" class="mt-4"
- label="Confirmation Reply To" help="help"
- >
- <template #help>
- If empty, Reply-to will be your own email.
- </template>
- </text-input>
- <text-input name="notification_sender"
- :form="form" class="mt-4"
- label="Confirmation Email Sender Name" help="Emails will be sent from our email address but you can customize the name of the Sender"
- />
- <text-input name="notification_subject"
- :form="form" class="mt-4"
- label="Confirmation email subject" help="Subject of the confirmation email that will be sent"
- />
- <rich-text-area-input name="notification_body"
- :form="form" class="mt-4"
- label="Confirmation email content" help="Content of the confirmation email that will be sent"
- />
- <toggle-switch-input name="notifications_include_submission"
- :form="form" class="mt-4"
- label="Include submission data" help="If enabled the confirmation email will contain form submission answers"
- />
- </template>
- </modal>
- </div>
-</template>
-
-<script>
-import { useWorkingFormStore } from '../../../../../../stores/working_form'
-import ProTag from '../../../../../common/ProTag.vue'
-
-export default {
- components: { ProTag },
- props: {},
- setup () {
- const workingFormStore = useWorkingFormStore()
- return {
- workingFormStore
- }
- },
- data () {
- return {
- showModal: false
- }
- },
-
- computed: {
- form: {
- get () {
- return this.workingFormStore.content
- },
- /* We add a setter */
- set (value) {
- this.workingFormStore.set(value)
- }
- },
- emailSubmissionConfirmationField () {
- if (!this.form.properties || !Array.isArray(this.form.properties)) return null
- const emailFields = this.form.properties.filter((field) => {
- return field.type === 'email' && !field.hidden
- })
- if (emailFields.length === 1) return emailFields[0]
- return null
- },
- emailSubmissionConfirmationHelp () {
- if (this.emailSubmissionConfirmationField) {
- return 'Confirmation will be sent to the email in the "' + this.emailSubmissionConfirmationField.name + '" field.'
- }
- return 'Only available if your form contains 1 email field.'
- }
- },
-
- watch: {
- emailSubmissionConfirmationField (val) {
- if (val === null) {
- this.form.send_submission_confirmation = false
- }
- }
- },
-
- mounted () {
- },
-
- methods: {}
-}
-</script>
diff --git a/resources/js/components/open/forms/components/form-components/components/FormNotificationsWebhook.vue b/resources/js/components/open/forms/components/form-components/components/FormNotificationsWebhook.vue
deleted file mode 100644
index bcaca9fb4..000000000
--- a/resources/js/components/open/forms/components/form-components/components/FormNotificationsWebhook.vue
+++ /dev/null
@@ -1,89 +0,0 @@
-<template>
- <div>
- <button
- class="flex items-center mt-3 cursor-pointer relative w-full rounded-lg flex-1 appearance-none border border-gray-300 dark:border-gray-600 w-full py-2 px-4 bg-white text-gray-700 dark:bg-notion-dark-light dark:text-gray-300 dark:placeholder-gray-500 placeholder-gray-400 shadow-sm text-base focus:outline-none focus:ring-2 focus:border-transparent focus:ring-opacity-100"
- @click.prevent="showModal=true"
- >
- <div class="flex-grow flex items-center">
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"
- class="w-5 h-5 inline"
- >
- <path stroke-linecap="round" stroke-linejoin="round"
- d="M14.25 6.087c0-.355.186-.676.401-.959.221-.29.349-.634.349-1.003 0-1.036-1.007-1.875-2.25-1.875s-2.25.84-2.25 1.875c0 .369.128.713.349 1.003.215.283.401.604.401.959v0a.64.64 0 01-.657.643 48.39 48.39 0 01-4.163-.3c.186 1.613.293 3.25.315 4.907a.656.656 0 01-.658.663v0c-.355 0-.676-.186-.959-.401a1.647 1.647 0 00-1.003-.349c-1.036 0-1.875 1.007-1.875 2.25s.84 2.25 1.875 2.25c.369 0 .713-.128 1.003-.349.283-.215.604-.401.959-.401v0c.31 0 .555.26.532.57a48.039 48.039 0 01-.642 5.056c1.518.19 3.058.309 4.616.354a.64.64 0 00.657-.643v0c0-.355-.186-.676-.401-.959a1.647 1.647 0 01-.349-1.003c0-1.035 1.008-1.875 2.25-1.875 1.243 0 2.25.84 2.25 1.875 0 .369-.128.713-.349 1.003-.215.283-.4.604-.4.959v0c0 .333.277.599.61.58a48.1 48.1 0 005.427-.63 48.05 48.05 0 00.582-4.717.532.532 0 00-.533-.57v0c-.355 0-.676.186-.959.401-.29.221-.634.349-1.003.349-1.035 0-1.875-1.007-1.875-2.25s.84-2.25 1.875-2.25c.37 0 .713.128 1.003.349.283.215.604.401.96.401v0a.656.656 0 00.658-.663 48.422 48.422 0 00-.37-5.36c-1.886.342-3.81.574-5.766.689a.578.578 0 01-.61-.58v0z"
- />
- </svg>
- <p class="flex-grow text-center">
- Webhook Notifications
- </p>
- </div>
- <div v-if="form.notifies_webhook">
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"
- class="w-5 h-5 text-nt-blue"
- >
- <path stroke-linecap="round" stroke-linejoin="round"
- d="M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
- />
- </svg>
- </div>
- </button>
- <modal :show="showModal" @close="showModal=false">
- <h2 class="text-2xl font-bold z-10 truncate mb-5 text-nt-blue">
- Webhook Notifications
- <pro-tag />
- </h2>
- <toggle-switch-input name="notifies_webhook" :form="form" class="mt-4"
- label="Trigger a webhook notification on form submission"
- @change="onToggleChange"
- />
- <text-input v-if="form.notifies_webhook" name="webhook_url" :form="form" class="mt-4"
- label="Webhook url" help="We will post form submissions to this endpoint"
- />
- </modal>
- </div>
-</template>
-
-<script>
-import { useWorkingFormStore } from '../../../../../../stores/working_form'
-import ProTag from '../../../../../common/ProTag.vue'
-
-export default {
- components: { ProTag },
- props: {},
- setup () {
- const workingFormStore = useWorkingFormStore()
- return {
- workingFormStore
- }
- },
- data () {
- return {
- showModal: false
- }
- },
-
- computed: {
- form: {
- get () {
- return this.workingFormStore.content
- },
- /* We add a setter */
- set (value) {
- this.workingFormStore.set(value)
- }
- }
- },
-
- watch: {},
-
- mounted () {
- },
-
- methods: {
- onToggleChange () {
- if (!this.form.notifies_webhook) {
- this.form.webhook_url = ''
- }
- }
- }
-}
-</script>
diff --git a/resources/js/components/open/forms/components/form-logic-components/ColumnCondition.vue b/resources/js/components/open/forms/components/form-logic-components/ColumnCondition.vue
deleted file mode 100644
index 443b4336e..000000000
--- a/resources/js/components/open/forms/components/form-logic-components/ColumnCondition.vue
+++ /dev/null
@@ -1,174 +0,0 @@
-
-<template>
- <div v-if="isMounted" class="flex flex-wrap">
- <div class="w-full font-semibold text-gray-700 dark:text-gray-300 mb-2">
- {{ property.name }}
- </div>
- <SelectInput v-model="content.operator" class="w-full" :options="operators"
- :name="'operator_'+property.id" placeholder="Comparison operator"
- @update:modelValue="operatorChanged()"
- />
-
- <template v-if="hasInput">
- <component v-bind="inputComponentData" :is="inputComponentData.component" v-model="content.value" class="w-full"
- :name="'value_'+property.id" placeholder="Filter Value"
- @update:modelValue="emitInput()"
- />
- </template>
- </div>
-</template>
-
-<script>
-import OpenFilters from '../../../../../../data/open_filters.json'
-
-export default {
- components: { },
- props: {
- value: { required: true }
- },
-
- data () {
- return {
- content: { ...this.value },
- available_filters: OpenFilters,
- isMounted: false,
- hasInput: false,
- inputComponent: {
- text: 'TextInput',
- number: 'TextInput',
- select: 'SelectInput',
- multi_select: 'SelectInput',
- date: 'DateInput',
- files: 'FileInput',
- checkbox: 'CheckboxInput',
- url: 'TextInput',
- email: 'TextInput',
- phone_number: 'TextInput'
- }
- }
- },
-
- computed: {
- // Return type of input, and props for that input
- inputComponentData () {
- const componentData = {
- component: this.inputComponent[this.property.type],
- name: this.property.id,
- required: true
- }
-
- if (this.property.type === 'phone_number' && !this.property.use_simple_text_input) {
- componentData.component = 'PhoneInput'
- }
-
- if (['select', 'multi_select'].includes(this.property.type)) {
- componentData.multiple = false
- componentData.options = this.property[this.property.type].options.map(option => {
- return {
- name: option.name,
- value: option.name
- }
- })
- } else if (this.property.type === 'date') {
- // componentData.withTime = true
- } else if (this.property.type === 'checkbox') {
- componentData.label = this.property.name
- }
-
- return componentData
- },
- operators () {
- return Object.keys(this.available_filters[this.property.type].comparators).map(key => {
- return {
- value: key,
- name: this.optionFilterNames(key, this.property.type)
- }
- })
- }
- },
-
- mounted () {
- if (!this.content.operator) {
- this.content.operator = this.operators[0].value
- this.operatorChanged()
- } else {
- this.hasInput = this.needsInput()
- }
-
- this.content.property_meta = {
- id: this.property.id,
- type: this.property.type
- }
- this.isMounted = true
- },
-
- methods: {
- castContent (content) {
- if (this.property.type === 'number' && content.value) {
- content.value = Number(content.value)
- }
-
- const operator = this.selectedOperator()
- if (operator.expected_type === 'boolean') {
- content.value = Boolean(content.value)
- }
-
- return content
- },
- operatorChanged () {
- if (!this.content.operator) {
- return
- }
-
- const operator = this.selectedOperator()
- const operatorFormat = operator.format
- this.hasInput = this.needsInput()
-
- if (operator.expected_type === 'boolean' && operatorFormat.type === 'enum' && operatorFormat.values.length === 1) {
- this.content.value = operator.format.values[0]
- } else if (operator.expected_type === 'object' && operatorFormat.type === 'empty' && operatorFormat.values === '{}') {
- this.content.value = {}
- } else if (typeof this.content.value === 'boolean' || typeof this.content.value === 'object') {
- this.content.value = null
- }
- this.emitInput()
- },
- needsInput () {
- const operator = this.selectedOperator()
- if (!operator) {
- return false
- }
- const operatorFormat = operator.format
- if (!operatorFormat) return true
-
- if (operator.expected_type === 'boolean' && operatorFormat.type === 'enum' && operatorFormat.values.length === 1) {
- return false
- } else if (operator.expected_type === 'object' && operatorFormat.type === 'empty' && operatorFormat.values === '{}') {
- return false
- }
-
- return true
- },
- selectedOperator () {
- if (!this.content.operator) {
- return null
- }
- return this.available_filters[this.property.type].comparators[this.content.operator]
- },
- optionFilterNames (key, propertyType) {
- if (propertyType === 'checkbox') {
- return {
- equals: 'Is checked',
- does_not_equal: 'Is not checked'
- }[key]
- }
- return key.split('_').map(function (item) {
- return item.charAt(0).toUpperCase() + item.substring(1)
- }).join(' ')
- },
- emitInput () {
- this.$emit('update:modelValue', this.castContent(this.content))
- }
- }
-}
-</script>
diff --git a/resources/js/components/open/forms/components/form-logic-components/ConditionEditor.vue b/resources/js/components/open/forms/components/form-logic-components/ConditionEditor.vue
deleted file mode 100644
index b07f2c22f..000000000
--- a/resources/js/components/open/forms/components/form-logic-components/ConditionEditor.vue
+++ /dev/null
@@ -1,119 +0,0 @@
-<template>
- <query-builder v-model="query" :rules="rules" :config="config" @update:modelValue="onChange">
- <template #groupOperator="props">
- <div class="query-builder-group-slot__group-selection flex items-center px-5 border-b py-1 mb-1 flex">
- <p class="mr-2 font-semibold">
- Operator
- </p>
- <select-input
- wrapper-class="relative"
- :model-value="props.currentOperator"
- :options="props.operators"
- emit-key="identifier"
- option-key="identifier"
- name="operator-input"
- margin-bottom=""
- @update:modelValue="props.updateCurrentOperator($event)"
- />
- </div>
- </template>
- <template #groupControl="props">
- <group-control-slot :group-ctrl="props" />
- </template>
- <template #rule="ruleCtrl">
- <component
- :is="ruleCtrl.ruleComponent"
- :model-value="ruleCtrl.ruleData"
- @update:modelValue="ruleCtrl.updateRuleData"
- />
- </template>
- </query-builder>
-</template>
-
-<script>
-import { defineComponent } from 'vue'
-import QueryBuilder from 'query-builder-vue-3'
-import ColumnCondition from './ColumnCondition.vue'
-import GroupControlSlot from './GroupControlSlot.vue'
-
-export default {
-
- components: {
- GroupControlSlot,
- QueryBuilder,
- ColumnCondition
- },
-
- props: {
- form: { type: Object, required: true },
- value: { required: false }
- },
-
- data () {
- return {
- query: this.value
- }
- },
-
- computed: {
- rules () {
- return this.form.properties.filter((property) => {
- return !property.type.startsWith('nf-')
- }).map((property) => {
- const workspaceId = this.form.workspace_id
- const formSlug = this.form.slug
- return {
- identifier: property.id,
- name: property.name,
- component: (function () {
- return defineComponent({
- extends: ColumnCondition,
- computed: {
- property () {
- return property
- },
- viewContext () {
- return {
- form_slug: formSlug,
- workspace_id: workspaceId
- }
- }
- }
- })
- })()
- }
- })
- },
-
- config () {
- return {
- operators: [
- {
- name: 'And',
- identifier: 'and'
- },
- {
- name: 'Or',
- identifier: 'or'
- }
- ],
- rules: this.rules,
- colors: ['#ef4444', '#22c55e', '#f97316', '#0ea5e9', '#8b5cf6', '#ec4899']
- }
- }
-
- },
-
- watch: {
- value () {
- this.query = this.value
- }
- },
-
- methods: {
- onChange () {
- this.$emit('update:modelValue', this.query)
- }
- }
-}
-</script>
diff --git a/resources/js/components/open/forms/components/form-logic-components/FormBlockLogicEditor.vue b/resources/js/components/open/forms/components/form-logic-components/FormBlockLogicEditor.vue
deleted file mode 100644
index d24e08b9f..000000000
--- a/resources/js/components/open/forms/components/form-logic-components/FormBlockLogicEditor.vue
+++ /dev/null
@@ -1,213 +0,0 @@
-<template>
- <div v-if="logic" :key="resetKey">
- <h3 class="font-semibold block text-lg">
- Logic
- </h3>
- <p class="text-gray-400 text-xs mb-3">
- Add some logic to this block. Start by adding some conditions, and then add some actions.
- </p>
- <div class="relative flex">
- <div>
- <v-button color="light-gray" size="small" @click="showCopyFormModal=true">
- <svg class="h-4 w-4 text-blue-600 inline mr-1 -mt-1" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M5 15H4C3.46957 15 2.96086 14.7893 2.58579 14.4142C2.21071 14.0391 2 13.5304 2 13V4C2 3.46957 2.21071 2.96086 2.58579 2.58579C2.96086 2.21071 3.46957 2 4 2H13C13.5304 2 14.0391 2.21071 14.4142 2.58579C14.7893 2.96086 15 3.46957 15 4V5M11 9H20C21.1046 9 22 9.89543 22 11V20C22 21.1046 21.1046 22 20 22H11C9.89543 22 9 21.1046 9 20V11C9 9.89543 9.89543 9 11 9Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
- </svg>
- Copy from
- </v-button>
- </div>
- <div>
- <v-button color="light-gray" shade="light" size="small" class="ml-1" @click="clearAll">
- <svg class="text-red-600 h-4 w-4 inline -mt-1 mr-1" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M18 9L12 15M12 9L18 15M21 4H8L1 12L8 20H21C21.5304 20 22.0391 19.7893 22.4142 19.4142C22.7893 19.0391 23 18.5304 23 18V6C23 5.46957 22.7893 4.96086 22.4142 4.58579C22.0391 4.21071 21.5304 4 21 4Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
- </svg>
-
- Clear All
- </v-button>
- </div>
- </div>
-
- <h5 class="font-semibold mt-3">
- 1. Conditions
- </h5>
- <condition-editor ref="filter-editor" v-model="logic.conditions" class="mt-1 border-t border rounded-md" :form="form" />
-
- <h5 class="font-semibold mt-3">
- 2. Actions
- </h5>
- <select-input :key="resetKey" v-model="logic.actions" name="actions"
- :multiple="true" class="mt-1" placeholder="Actions..."
- help="Action(s) triggerred when above conditions are true"
- :options="actionOptions"
- @update:model-value="onActionInput"
- />
-
- <modal :show="showCopyFormModal" @close="showCopyFormModal = false">
- <div class="min-h-[450px]">
- <h3 class="font-semibold block text-lg">
- Copy logic from another field
- </h3>
- <p class="text-gray-400 text-xs mb-5">
- Select another field/block to copy its logic and apply it to "{{ field.name }}".
- </p>
- <select-input v-model="copyFrom" name="copy_from" emit-key="value"
- label="Copy logic from" placeholder="Choose a field/block..."
- :options="copyFromOptions" :searchable="copyFromOptions && copyFromOptions.options > 5"
- />
- <div class="flex justify-between mb-6">
- <v-button color="blue" shade="light" @click="copyLogic">
- Confirm & Copy
- </v-button>
- <v-button color="gray" shade="light" class="ml-1" @click="showCopyFormModal=false">
- Close
- </v-button>
- </div>
- </div>
- </modal>
- </div>
-</template>
-
-<script>
-import ConditionEditor from './ConditionEditor.vue'
-import Modal from '../../../../Modal.vue'
-import SelectInput from '../../../../forms/SelectInput.vue'
-import clonedeep from 'clone-deep'
-
-export default {
- name: 'FormBlockLogicEditor',
- components: { SelectInput, Modal, ConditionEditor },
- props: {
- field: {
- type: Object,
- required: false
- },
- form: {
- type: Object,
- required: false
- }
- },
-
- data () {
- return {
- resetKey: 0,
- logic: this.field.logic || {
- conditions: null,
- actions: []
- },
- showCopyFormModal: false,
- copyFrom: null
- }
- },
-
- computed: {
- copyFromOptions () {
- return this.form.properties.filter((field) => {
- return field.id !== this.field.id && field.hasOwnProperty('logic') && field.logic !== null && field.logic !== {}
- }).map((field) => {
- return { name: field.name, value: field.id }
- })
- },
- actionOptions () {
- if (['nf-text', 'nf-code', 'nf-page-break', 'nf-divider', 'nf-image'].includes(this.field.type)) {
- if (this.field.hidden) {
- return [{ name: 'Show Block', value: 'show-block' }]
- } else {
- return [{ name: 'Hide Block', value: 'hide-block' }]
- }
- }
-
- if (this.field.hidden) {
- return [
- { name: 'Show Block', value: 'show-block' },
- { name: 'Require answer', value: 'require-answer' }
- ]
- } else if (this.field.disabled) {
- return [
- { name: 'Enable Block', value: 'enable-block' },
- (this.field.required
- ? { name: 'Make it optional', value: 'make-it-optional' }
- : {
- name: 'Require answer',
- value: 'require-answer'
- })
- ]
- } else {
- return [
- { name: 'Hide Block', value: 'hide-block' },
- { name: 'Disable Block', value: 'disable-block' },
- (this.field.required
- ? { name: 'Make it optional', value: 'make-it-optional' }
- : {
- name: 'Require answer',
- value: 'require-answer'
- })
- ]
- }
- }
- },
-
- watch: {
- logic: {
- handler () {
- this.field.logic = this.logic
- },
- deep: true
- },
- 'field.id': {
- handler (field, oldField) {
- // On field change, reset logic
- this.logic = this.field.logic || {
- conditions: null,
- actions: []
- }
- }
- },
- 'field.required': 'cleanConditions',
- 'field.disabled': 'cleanConditions',
- 'field.hidden': 'cleanConditions'
- },
-
- mounted () {
- if (!this.field.hasOwnProperty('logic')) {
- this.field.logic = this.logic
- }
- },
-
- methods: {
- clearAll () {
- this.logic.conditions = null
- this.logic.actions = []
- this.refreshActions()
- },
- onActionInput () {
- if (this.logic.actions.length >= 2) {
- if (this.logic.actions[1] === 'require-answer' && this.logic.actions[0] === 'hide-block') {
- this.logic.actions = ['require-answer']
- } else if (this.logic.actions[1] === 'hide-block' && this.logic.actions[0] === 'require-answer') {
- this.logic.actions = ['hide-block']
- }
- this.refreshActions()
- }
- },
- cleanConditions () {
- const availableActions = this.actionOptions.map(function (op) { return op.value })
- this.logic.actions = availableActions.filter(value => this.logic.actions.includes(value))
- this.refreshActions()
- },
- refreshActions () {
- this.resetKey++
- },
- copyLogic () {
- if (this.copyFrom) {
- const property = this.form.properties.find((property) => {
- return property.id === this.copyFrom
- })
- if (property && property.logic) {
- this.logic = clonedeep(property.logic)
- this.cleanConditions()
- }
- }
- this.showCopyFormModal = false
- }
- }
-}
-</script>
diff --git a/resources/js/components/open/forms/components/form-logic-components/GroupControlSlot.vue b/resources/js/components/open/forms/components/form-logic-components/GroupControlSlot.vue
deleted file mode 100644
index 63817d0cd..000000000
--- a/resources/js/components/open/forms/components/form-logic-components/GroupControlSlot.vue
+++ /dev/null
@@ -1,39 +0,0 @@
-<template>
- <div class="flex flex-wrap px-4 py-1 -ml-1 -mt-1">
- <select-input ref="ruleSelect" v-model="selectedRule" class="flex-grow ml-1 mr-1 mt-1"
- wrapper-class="relative" placeholder="Add condition on input field"
- :options="groupCtrl.rules" margin-bottom="" :searchable="groupCtrl.rules.length > 5"
- emit-key="identifier"
- option-key="identifier"
- name="group-control-slot-rule"
- />
- <v-button class="ml-1 mt-1" color="blue" size="small" :disabled="(selectedRule === '')?true:null" @click="addRule">
- Add Condition
- </v-button>
- <v-button class="ml-1 mt-1" color="outline-blue" size="small" @click="groupCtrl.newGroup">
- Add Group
- </v-button>
- </div>
-</template>
-
-<script>
-export default {
- components: {},
- props: { groupCtrl: { type: Object, required: true } },
- data () {
- return {
- selectedRule: null
- }
- },
- methods: {
- addRule () {
- if (this.selectedRule) {
- this.groupCtrl.addRule(this.selectedRule)
- this.$refs.ruleSelect.content = null
- this.selectedRule = null
- }
- }
- }
-
-}
-</script>
diff --git a/resources/js/components/open/forms/components/templates/FormTemplateModal.vue b/resources/js/components/open/forms/components/templates/FormTemplateModal.vue
deleted file mode 100644
index 65a87a5f0..000000000
--- a/resources/js/components/open/forms/components/templates/FormTemplateModal.vue
+++ /dev/null
@@ -1,191 +0,0 @@
-<template>
- <modal :show="show" @close="$emit('close')">
- <template #icon>
- <svg class="w-10 h-10 text-blue" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path
- d="M17 27C16.0681 27 15.6022 27 15.2346 26.8478C14.7446 26.6448 14.3552 26.2554 14.1522 25.7654C14 25.3978 14 24.9319 14 24V17.2C14 16.0799 14 15.5198 14.218 15.092C14.4097 14.7157 14.7157 14.4097 15.092 14.218C15.5198 14 16.0799 14 17.2 14H24C24.9319 14 25.3978 14 25.7654 14.1522C26.2554 14.3552 26.6448 14.7446 26.8478 15.2346C27 15.6022 27 16.0681 27 17M24.2 34H30.8C31.9201 34 32.4802 34 32.908 33.782C33.2843 33.5903 33.5903 33.2843 33.782 32.908C34 32.4802 34 31.9201 34 30.8V24.2C34 23.0799 34 22.5198 33.782 22.092C33.5903 21.7157 33.2843 21.4097 32.908 21.218C32.4802 21 31.9201 21 30.8 21H24.2C23.0799 21 22.5198 21 22.092 21.218C21.7157 21.4097 21.4097 21.7157 21.218 22.092C21 22.5198 21 23.0799 21 24.2V30.8C21 31.9201 21 32.4802 21.218 32.908C21.4097 33.2843 21.7157 33.5903 22.092 33.782C22.5198 34 23.0799 34 24.2 34Z"
- stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
- />
- </svg>
- </template>
- <template #title>
- <template v-if="template">
- Edit Template
- </template>
- <template v-else>
- Create Template
- </template>
- </template>
- <div class="p-4">
- <p v-if="!template">
- New template will be create from your form: <span class="font-semibold">{{ form.title }}</span>.
- </p>
-
- <form v-if="templateForm" class="mt-6" @submit.prevent="onSubmit" @keydown="templateForm.onKeydown($event)">
- <div class="-m-6">
- <div class="border-t py-4 px-6">
- <toggle-switch-input v-if="user && (user.admin || user.template_editor)" name="publicly_listed" :form="templateForm" class="mt-4" label="Publicly Listed?" />
- <text-input name="name" :form="templateForm" class="mt-4" label="Title" :required="true" />
- <text-input name="slug" :form="templateForm" class="mt-4" label="Slug" :required="true" />
- <text-area-input name="short_description" :form="templateForm" class="mt-4" label="Short Description"
- :required="true"
- />
- <rich-text-area-input name="description" :form="templateForm" class="mt-4" label="Description"
- :required="true"
- />
- <text-input name="image_url" :form="templateForm" class="mt-4" label="Image" :required="true" />
- <select-input name="types" :form="templateForm" class="mt-4" label="Types" :options="typesOptions"
- :multiple="true" :searchable="true"
- />
- <select-input name="industries" :form="templateForm" class="mt-4" label="Industries"
- :options="industriesOptions" :multiple="true" :searchable="true"
- />
- <select-input name="related_templates" :form="templateForm" class="mt-4" label="Related Templates"
- :options="templatesOptions" :multiple="true" :searchable="true"
- />
- <questions-editor name="questions" :questions="templateForm.questions" class="mt-4"
- label="Frequently asked questions"
- />
- </div>
- <div class="flex justify-end mt-4 pb-5 px-6">
- <v-button class="mr-2" :loading="templateForm.busy">
- <template v-if="template">
- Update
- </template>
- <template v-else>
- Create
- </template>
- </v-button>
- <v-button v-if="template" color="red" class="mr-2"
- @click.prevent="alertConfirm('Do you really want to delete this template?', deleteFormTemplate)"
- >
- Delete
- </v-button>
- <v-button color="white" @click.prevent="$emit('close')">
- Close
- </v-button>
- </div>
- </div>
- </form>
- </div>
- </modal>
-</template>
-
-<script>
-import axios from 'axios'
-import Form from 'vform'
-import { computed } from 'vue'
-import { useAuthStore } from '../../../../../stores/auth'
-import { useTemplatesStore } from '../../../../../stores/templates'
-import QuestionsEditor from './QuestionsEditor.vue'
-
-export default {
- name: 'FormTemplateModal',
- components: { QuestionsEditor },
- props: {
- show: { type: Boolean, required: true },
- form: { type: Object, required: true },
- template: { type: Object, required: false, default: () => {} }
- },
-
- setup () {
- const authStore = useAuthStore()
- const templatesStore = useTemplatesStore()
- return {
- templatesStore,
- user : computed(() => authStore.user),
- templates : computed(() => templatesStore.content),
- industries : computed(() => templatesStore.industries),
- types : computed(() => templatesStore.types)
- }
- },
-
- data: () => ({
- templateForm: null
- }),
-
- mounted () {
- this.templateForm = new Form(this.template ?? {
- publicly_listed: false,
- name: '',
- slug: '',
- short_description: '',
- description: '',
- image_url: '',
- types: null,
- industries: null,
- related_templates: null,
- questions: []
- })
- this.templatesStore.loadIfEmpty()
- },
-
- computed: {
- typesOptions () {
- return Object.values(this.types).map((type) => {
- return {
- name: type.name,
- value: type.slug
- }
- })
- },
- industriesOptions () {
- return Object.values(this.industries).map((industry) => {
- return {
- name: industry.name,
- value: industry.slug
- }
- })
- },
- templatesOptions () {
- return this.templates.map((template) => {
- return {
- name: template.name,
- value: template.slug
- }
- })
- }
- },
-
- methods: {
- onSubmit () {
- if (this.template) {
- this.updateFormTemplate()
- } else {
- this.createFormTemplate()
- }
- },
- async createFormTemplate () {
- this.templateForm.form = this.form
- await this.templateForm.post('/api/templates').then((response) => {
- if (response.data.message) {
- this.alertSuccess(response.data.message)
- }
- this.templatesStore.addOrUpdate(response.data.data)
- this.$emit('close')
- })
- },
- async updateFormTemplate () {
- this.templateForm.form = this.form
- await this.templateForm.put('/api/templates/' + this.template.id).then((response) => {
- if (response.data.message) {
- this.alertSuccess(response.data.message)
- }
- this.templatesStore.addOrUpdate(response.data.data)
- this.$emit('close')
- })
- },
- async deleteFormTemplate () {
- if (!this.template) return
- axios.delete('/api/templates/' + this.template.id).then((response) => {
- if (response.data.message) {
- this.alertSuccess(response.data.message)
- }
- this.$router.push({ name: 'templates' })
- this.templatesStore.remove(this.template)
- this.$emit('close')
- })
- }
- }
-}
-</script>
diff --git a/resources/js/components/open/forms/components/templates/QuestionsEditor.vue b/resources/js/components/open/forms/components/templates/QuestionsEditor.vue
deleted file mode 100644
index dad4b0c2c..000000000
--- a/resources/js/components/open/forms/components/templates/QuestionsEditor.vue
+++ /dev/null
@@ -1,77 +0,0 @@
-<template>
- <div :class="wrapperClass">
- <label v-if="label" :for="id?id:name"
- :class="[theme.default.label,{'uppercase text-xs':uppercaseLabels, 'text-sm':!uppercaseLabels}]"
- >
- {{ label }}
- <span v-if="required" class="text-red-500 required-dot">*</span>
- </label>
-
- <loader v-if="loading" key="loader" class="h-6 w-6 text-nt-blue mx-auto" />
- <div v-else class="my-3">
- <div v-for="(questionForm, quesKey) in allQuestions" :key="quesKey" class="bg-gray-100 p-2 mb-4">
- <v-button color="red" size="small" class="mb-2" @click.prevent="onRemove(quesKey)">
- <svg class="h-4 w-4 text-white inline mr-1 -mt-1" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M3 6H5M5 6H21M5 6V20C5 20.5304 5.21071 21.0391 5.58579 21.4142C5.96086 21.7893 6.46957 22 7 22H17C17.5304 22 18.0391 21.7893 18.4142 21.4142C18.7893 21.0391 19 20.5304 19 20V6H5ZM8 6V4C8 3.46957 8.21071 2.96086 8.58579 2.58579C8.96086 2.21071 9.46957 2 10 2H14C14.5304 2 15.0391 2.21071 15.4142 2.58579C15.7893 2.96086 16 3.46957 16 4V6M10 11V17M14 11V17" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
- </svg>
- Remove
- </v-button>
- <text-input name="question" :form="questionForm" placeholder="Question title" />
- <rich-text-area-input name="answer" :form="questionForm" class="mt-4" placeholder="Question response" />
- </div>
- <v-button v-if="addNew" color="green" size="small" nativeType="button" class="mt-2 flex" @click.prevent="onAdd">
- <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 mr-1 inline" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v6m3-3H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z" />
- </svg>
- Add New
- </v-button>
- </div>
-
- <small v-if="help" :class="theme.SelectInput.help">
- <slot name="help">{{ help }}</slot>
- </small>
- <has-error v-if="hasValidation" :form="form" :field="name" />
- </div>
-</template>
-
-<script>
-import inputMixin from '~/mixins/forms/input.js'
-
-export default {
- name: 'QuestionsEditor',
- mixins: [inputMixin],
-
- props: {
- loading: { type: Boolean, default: false },
- addNew: { type: Boolean, default: true },
- questions: { type: Array, default: [] },
- },
-
- data () {
- return {
- allQuestions: null,
- newQuestion: {
- question: '',
- answer: '',
- }
- }
- },
-
- mounted () {
- this.allQuestions = (this.questions.length > 0) ? this.questions : [this.newQuestion]
- },
-
- watch: { },
-
- computed: { },
-
- methods: {
- onAdd() {
- this.allQuestions.push(this.newQuestion)
- },
- onRemove(key){
- this.allQuestions.splice(key, 1)
- }
- }
-}
-</script>
diff --git a/resources/js/components/open/forms/fields/FormFieldEdit.vue b/resources/js/components/open/forms/fields/FormFieldEdit.vue
deleted file mode 100644
index 9df22313b..000000000
--- a/resources/js/components/open/forms/fields/FormFieldEdit.vue
+++ /dev/null
@@ -1,166 +0,0 @@
-<template>
- <div>
- <div class="p-4 border-b sticky top-0 z-10 bg-white">
- <button v-if="!field" class="text-gray-500 hover:text-gray-900 cursor-pointer" @click.prevent="closeSidebar">
- <svg class="h-6 w-6" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M18 6L6 18M6 6L18 18" stroke="currentColor" stroke-width="2" stroke-linecap="round"
- stroke-linejoin="round"
- />
- </svg>
- </button>
- <template v-else>
- <div class="flex">
- <button class="text-gray-500 hover:text-gray-900 cursor-pointer" @click.prevent="closeSidebar">
- <svg class="h-6 w-6" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M18 6L6 18M6 6L18 18" stroke="currentColor" stroke-width="2" stroke-linecap="round"
- stroke-linejoin="round"
- />
- </svg>
- </button>
- <div class="font-semibold inline ml-2 truncate flex-grow truncate">
- Configure "<span class="truncate">{{ field.name }}</span>"
- </div>
- </div>
- <div class="flex mt-2">
- <v-button color="light-gray" class="border-r-0 rounded-r-none text-xs hover:bg-red-50" size="small"
- @click="removeBlock"
- >
- <svg class="h-4 w-4 text-red-600 inline mr-1 -mt-1" viewBox="0 0 24 24" fill="none"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- d="M3 6H5M5 6H21M5 6V20C5 20.5304 5.21071 21.0391 5.58579 21.4142C5.96086 21.7893 6.46957 22 7 22H17C17.5304 22 18.0391 21.7893 18.4142 21.4142C18.7893 21.0391 19 20.5304 19 20V6H5ZM8 6V4C8 3.46957 8.21071 2.96086 8.58579 2.58579C8.96086 2.21071 9.46957 2 10 2H14C14.5304 2 15.0391 2.21071 15.4142 2.58579C15.7893 2.96086 16 3.46957 16 4V6M10 11V17M14 11V17"
- stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
- />
- </svg>
- Remove
- </v-button>
- <v-button size="small" class="text-xs" :class="{
- 'rounded-none border-r-0':!isBlockField && typeCanBeChanged,
- 'rounded-l-none':isBlockField || !typeCanBeChanged
- }" color="light-gray" @click="duplicateBlock"
- >
- <svg class="h-4 w-4 text-blue-600 inline mr-1 -mt-1" viewBox="0 0 24 24" fill="none"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- d="M5 15H4C3.46957 15 2.96086 14.7893 2.58579 14.4142C2.21071 14.0391 2 13.5304 2 13V4C2 3.46957 2.21071 2.96086 2.58579 2.58579C2.96086 2.21071 3.46957 2 4 2H13C13.5304 2 14.0391 2.21071 14.4142 2.58579C14.7893 2.96086 15 3.46957 15 4V5M11 9H20C21.1046 9 22 9.89543 22 11V20C22 21.1046 21.1046 22 20 22H11C9.89543 22 9 21.1046 9 20V11C9 9.89543 9.89543 9 11 9Z"
- stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
- />
- </svg>
- Duplicate
- </v-button>
- <change-field-type v-if="!isBlockField" btn-classes="rounded-l-none text-xs" :field="field"
- @changeType="onChangeType"
- />
- </div>
- </template>
- </div>
-
- <template v-if="field">
- <field-options v-if="!isBlockField" :form="form" :field="field" />
- <block-options v-if="isBlockField" :form="form" :field="field" />
- </template>
- <div v-else class="text-center p-10">
- Click on field's setting icon in your form to modify it
- </div>
- </div>
-</template>
-
-<script>
-import { computed } from 'vue'
-import clonedeep from 'clone-deep'
-import { useWorkingFormStore } from '../../../../stores/working_form'
-import ChangeFieldType from './components/ChangeFieldType.vue'
-import FieldOptions from './components/FieldOptions.vue'
-import BlockOptions from './components/BlockOptions.vue'
-
-export default {
- name: 'FormFieldEdit',
- components: { ChangeFieldType, FieldOptions, BlockOptions },
- props: {},
- setup () {
- const workingFormStore = useWorkingFormStore()
- return {
- workingFormStore,
- selectedFieldIndex : computed(() => workingFormStore.selectedFieldIndex)
- }
- },
- data () {
- return {
-
- }
- },
-
- computed: {
- form: {
- get () {
- return this.workingFormStore.content
- },
- /* We add a setter */
- set (value) {
- this.workingFormStore.set(value)
- }
- },
- field () {
- return (this.form && this.selectedFieldIndex !== null) ? this.form.properties[this.selectedFieldIndex] : null
- },
- isBlockField () {
- return this.field && this.field.type.startsWith('nf')
- },
- typeCanBeChanged () {
- return ['text', 'email', 'phone', 'number', 'select', 'multi_select'].includes(this.field.type)
- }
- },
-
- watch: {},
-
- created () {
- },
-
- mounted () {
- },
-
- methods: {
- onChangeType (newType) {
- if (['select', 'multi_select'].includes(this.field.type)) {
- this.field[newType] = this.field[this.field.type] // Set new options with new type
- delete this.field[this.field.type] // remove old type options
- }
- this.field.type = newType
- },
- removeBlock () {
- const newFields = clonedeep(this.form.properties)
- newFields.splice(this.selectedFieldIndex, 1)
- this.form.properties = newFields
- this.closeSidebar()
- },
- duplicateBlock () {
- const newFields = clonedeep(this.form.properties)
- const newField = clonedeep(this.form.properties[this.selectedFieldIndex])
- newField.id = this.generateUUID()
- newFields.push(newField)
- this.form.properties = newFields
- this.closeSidebar()
- },
- closeSidebar () {
- this.workingFormStore.closeEditFieldSidebar()
- },
- generateUUID () {
- let d = new Date().getTime()// Timestamp
- let d2 = ((typeof performance !== 'undefined') && performance.now && (performance.now() * 1000)) || 0// Time in microseconds since page-load or 0 if unsupported
- return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
- let r = Math.random() * 16// random number between 0 and 16
- if (d > 0) { // Use timestamp until depleted
- r = (d + r) % 16 | 0
- d = Math.floor(d / 16)
- } else { // Use microseconds since page-load if supported
- r = (d2 + r) % 16 | 0
- d2 = Math.floor(d2 / 16)
- }
- return (c === 'x' ? r : (r & 0x3 | 0x8)).toString(16)
- })
- }
- }
-}
-</script>
diff --git a/resources/js/components/open/forms/fields/components/BlockOptions.vue b/resources/js/components/open/forms/fields/components/BlockOptions.vue
deleted file mode 100644
index 697bfed20..000000000
--- a/resources/js/components/open/forms/fields/components/BlockOptions.vue
+++ /dev/null
@@ -1,160 +0,0 @@
-<template>
- <div v-if="field">
- <!-- General -->
- <div class="border-b py-2 px-4">
- <h3 class="font-semibold block text-lg">
- General
- </h3>
- <p class="text-gray-400 mb-3 text-xs">
- Exclude this field or make it required.
- </p>
- <v-checkbox v-model="field.hidden" class="mb-3"
- :name="field.id+'_hidden'"
- @update:model-value="onFieldHiddenChange"
- >
- Hidden
- </v-checkbox>
- <select-input name="width" class="mt-3"
- :options="[
- {name:'Full',value:'full'},
- {name:'1/2 (half width)',value:'1/2'},
- {name:'1/3 (a third of the width)',value:'1/3'},
- {name:'2/3 (two thirds of the width)',value:'2/3'},
- {name:'1/4 (a quarter of the width)',value:'1/4'},
- {name:'3/4 (three quarters of the width)',value:'3/4'}
- ]"
- :form="field" label="Field Width"
- />
- <select-input v-if="['nf-text','nf-image'].includes(field.type)" name="align" class="mt-3"
- :options="[
- {name:'Left',value:'left'},
- {name:'Center',value:'center'},
- {name:'Right',value:'right'},
- {name:'Justify',value:'justify'}
- ]"
- :form="field" label="Field Alignment"
- />
- </div>
-
- <div v-if="field.type == 'nf-text'" class="border-b py-2 px-4">
- <rich-text-area-input name="content"
- :form="field"
- label="Content"
- :required="false"
- />
- </div>
-
- <div v-else-if="field.type == 'nf-page-break'" class="border-b py-2 px-4">
- <text-input name="next_btn_text"
- :form="field"
- label="Text of next button"
- :required="true"
- />
- <text-input name="previous_btn_text"
- :form="field"
- label="Text of previous button"
- help="Shown on the next page"
- :required="true"
- />
- </div>
-
- <div v-else-if="field.type == 'nf-divider'" class="border-b py-2 px-4">
- <text-input name="name"
- :form="field" :required="true"
- label="Field Name"
- />
- </div>
-
- <div v-else-if="field.type == 'nf-image'" class="border-b py-2 px-4">
- <text-input name="name"
- :form="field" :required="true"
- label="Field Name"
- />
- <image-input name="image_block" class="mt-3"
- :form="field" label="Upload Image" :required="false"
- />
- </div>
-
- <div v-else-if="field.type == 'nf-code'" class="border-b py-2 px-4">
- <code-input name="content" :form="field" label="Content"
- help="You can add any html code, including iframes"
- />
- </div>
-
- <div v-else class="border-b py-2 px-4">
- <p>No settings found.</p>
- </div>
-
- <!-- Logic Block -->
- <!-- <form-block-logic-editor class="py-2 px-4 border-b" :form="form" :field="field" />-->
- </div>
-</template>
-
-<script>
-import CodeInput from '../../../../forms/CodeInput.vue'
-
-export default {
- name: 'BlockOptions',
- components: { CodeInput },
- props: {
- field: {
- type: Object,
- required: false
- },
- form: {
- type: Object,
- required: false
- }
- },
- data () {
- return {
- editorToolbarCustom: [
- ['bold', 'italic', 'underline', 'link']
- ]
- }
- },
-
- computed: {},
-
- watch: {
- 'field.width': {
- handler (val) {
- if (val === undefined || val === null) {
- this.field.width = 'full'
- }
- },
- immediate: true
- },
- 'field.align': {
- handler (val) {
- if (val === undefined || val === null) {
- this.field.align = 'left'
- }
- },
- immediate: true
- }
- },
-
- created () {
- if (this.field?.width === undefined || this.field?.width === null) {
- this.field.width = 'full'
- }
- },
-
- mounted () {},
-
- methods: {
- onFieldHiddenChange (val) {
- this.field.hidden = val
- if (this.field.hidden) {
- this.field.required = false
- }
- },
- onFieldHelpPositionChange (val) {
- if (!val) {
- this.field.help_position = 'below_input'
- }
- }
- }
-}
-</script>
diff --git a/resources/js/components/open/forms/fields/components/ChangeFieldType.vue b/resources/js/components/open/forms/fields/components/ChangeFieldType.vue
deleted file mode 100644
index 18c36cfd4..000000000
--- a/resources/js/components/open/forms/fields/components/ChangeFieldType.vue
+++ /dev/null
@@ -1,82 +0,0 @@
-<template>
- <dropdown v-if="changeTypeOptions.length > 0" dusk="nav-dropdown">
- <template #trigger="{toggle}">
- <v-button class="relative" :class="btnClasses" size="small" color="light-gray" @click.stop="toggle">
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" class="h-4 w-4 text-blue-600 inline mr-1 -mt-1">
- <path stroke-linecap="round" stroke-linejoin="round" d="M7.5 21L3 16.5m0 0L7.5 12M3 16.5h13.5m0-13.5L21 7.5m0 0L16.5 12M21 7.5H7.5" />
- </svg>
- <span class="whitespace-nowrap">Change Type</span>
- </v-button>
- </template>
-
- <a v-for="(op, index) in changeTypeOptions" :key="index" href="#"
- class="block px-4 py-2 text-md text-gray-700 dark:text-white hover:bg-gray-100 hover:text-gray-900 dark:text-gray-100 dark:hover:text-white dark:hover:bg-gray-600 flex items-center"
- @click.prevent="changeType(op.value)"
- >
- {{ op.name }}
- </a>
- </dropdown>
-</template>
-
-<script>
-import Dropdown from '../../../../common/Dropdown.vue'
-
-export default {
- name: 'ChangeFieldType',
- components: { Dropdown },
- props: {
- field: {
- type: Object,
- required: true
- },
- btnClasses: {
- type: String,
- required: true
- }
- },
- data () {
- return {}
- },
-
- computed: {
- changeTypeOptions () {
- let newTypes = []
- if (['text', 'email', 'phone', 'number'].includes(this.field.type)) {
- newTypes = [
- { name: 'Text Input', value: 'text' },
- { name: 'Email Input', value: 'email' },
- { name: 'Phone Input', value: 'phone' },
- { name: 'Number Input', value: 'number' }
- ]
- }
- if (['select', 'multi_select'].includes(this.field.type)) {
- newTypes = [
- { name: 'Select Input', value: 'select' },
- { name: 'Multi-Select Input', value: 'multi_select' }
- ]
- }
- return newTypes.filter((item) => {
- return item.value !== this.field.type
- }).map((item) => {
- return {
- name: item.name,
- value: item.value
- }
- })
- }
- },
-
- watch: {},
-
- mounted () {
- },
-
- methods: {
- changeType (newType) {
- if (newType) {
- this.$emit('changeType', newType)
- }
- }
- }
-}
-</script>
diff --git a/resources/js/components/open/forms/fields/components/FieldOptions.vue b/resources/js/components/open/forms/fields/components/FieldOptions.vue
deleted file mode 100644
index 52280aef3..000000000
--- a/resources/js/components/open/forms/fields/components/FieldOptions.vue
+++ /dev/null
@@ -1,616 +0,0 @@
-<template>
- <div v-if="field" class="py-2">
- <!-- General -->
- <div class="border-b px-4">
- <h3 class="font-semibold block text-lg">
- General
- </h3>
- <p class="text-gray-400 mb-2 text-xs">
- Exclude this field or make it required.
- </p>
- <v-checkbox v-model="field.hidden" class="mb-3"
- :name="field.id+'_hidden'"
- @update:model-value="onFieldHiddenChange"
- >
- Hidden
- </v-checkbox>
- <v-checkbox v-model="field.required" class="mb-3"
- :name="field.id+'_required'"
- @update:model-value="onFieldRequiredChange"
- >
- Required
- </v-checkbox>
- <v-checkbox v-model="field.disabled" class="mb-3"
- :name="field.id+'_disabled'"
- @update:model-value="onFieldDisabledChange"
- >
- Disabled
- </v-checkbox>
- </div>
-
- <!-- Checkbox -->
- <div v-if="field.type === 'checkbox'" class="border-b py-2 px-4">
- <h3 class="font-semibold block text-lg">
- Checkbox
- </h3>
- <p class="text-gray-400 mb-3 text-xs">
- Advanced options for checkbox.
- </p>
- <v-checkbox v-model="field.use_toggle_switch" class="mt-3"
- name="use_toggle_switch" help=""
- >
- Use toggle switch
- </v-checkbox>
- <p class="text-gray-400 mb-3 text-xs">
- If enabled, checkbox will be replaced with a toggle switch
- </p>
- </div>
-
- <!-- File Uploads -->
- <div v-if="field.type === 'files'" class="border-b py-2 px-4">
- <h3 class="font-semibold block text-lg">
- File uploads
- </h3>
- <v-checkbox v-model="field.multiple" class="mt-3"
- :name="field.id+'_multiple'"
- >
- Allow multiple files
- </v-checkbox>
- <text-input name="allowed_file_types" class="mt-3" :form="field"
- label="Allowed file types" placeholder="jpg,jpeg,png,gif"
- help="Comma separated values, leave blank to allow all file types"
- />
- </div>
-
- <!-- Number Options -->
- <div v-if="field.type === 'number'" class="border-b py-2 px-4">
- <h3 class="font-semibold block text-lg">
- Number Options
- </h3>
- <v-checkbox v-model="field.is_rating" class="mt-3"
- :name="field.id+'_is_rating'" @update:model-value="initRating"
- >
- Rating
- </v-checkbox>
- <p class="text-gray-400 mb-3 text-xs">
- Transform this field into a star rating input.
- </p>
-
- <text-input v-if="field.is_rating" name="rating_max_value" native-type="number" :min="1" class="mt-3"
- :form="field" required
- label="Max rating value"
- />
-
- <v-checkbox v-model="field.is_scale" class="mt-4"
- :name="field.id+'_is_scale'" @input="initScale"
- >
- Scale
- </v-checkbox>
- <p class="text-gray-400 text-xs mb-5">
- Transform this field into a scale/score input.
- </p>
- <template v-if="field.is_scale">
- <text-input name="scale_min_value" native-type="number" class="mt-4"
- :form="field" required
- label="Min scale value"
- />
- <text-input name="scale_max_value" native-type="number" :min="1" class="mt-4"
- :form="field" required
- label="Max scale value"
- />
- <text-input name="scale_step_value" native-type="number" :min="1" class="mt-4"
- :form="field" required
- label="Scale step svalue"
- />
- </template>
- </div>
-
- <!-- Text Options -->
- <div v-if="field.type === 'text' && displayBasedOnAdvanced" class="border-b py-2 px-4">
- <h3 class="font-semibold block text-lg">
- Text Options
- </h3>
- <p class="text-gray-400 mb-3 text-xs">
- Keep it simple or make it a multi-lines input.
- </p>
- <v-checkbox v-model="field.multi_lines" class="mb-2"
- :name="field.id+'_multi_lines'"
- @update:model-value="field.multi_lines = $event"
- >
- Multi-lines input
- </v-checkbox>
- </div>
-
- <!-- Date Options -->
- <div v-if="field.type === 'date'" class="border-b py-2 px-4">
- <h3 class="font-semibold block text-lg">
- Date Options
- </h3>
- <v-checkbox v-model="field.date_range" class="mt-3"
- :name="field.id+'_date_range'"
- @update:model-value="onFieldDateRangeChange"
- >
- Date Range
- </v-checkbox>
- <p class="text-gray-400 mb-3 text-xs">
- Adds an end date. This cannot be used with the time option yet.
- </p>
- <v-checkbox v-model="field.with_time"
- :name="field.id+'_with_time'"
- @update:model-value="onFieldWithTimeChange"
- >
- Date with time
- </v-checkbox>
- <p class="text-gray-400 mb-3 text-xs">
- Include time. Or not. This cannot be used with the date range option yet.
- </p>
-
- <select-input v-if="field.with_time" name="timezone" class="mt-3"
- :form="field" :options="timezonesOptions"
- label="Timezone" :searchable="true"
- help="Make sure to select correct timezone. Leave blank otherwise."
- />
- <v-checkbox v-model="field.prefill_today"
- name="prefill_today"
- @update:model-value="onFieldPrefillTodayChange"
- >
- Prefill with 'today'
- </v-checkbox>
- <p class="text-gray-400 mb-3 text-xs">
- if enabled we will pre-fill this field with the current date
- </p>
-
- <v-checkbox v-model="field.disable_past_dates"
- name="disable_past_dates" class="mb-3"
- @update:model-value="onFieldDisablePastDatesChange"
- >
- Disable past dates
- </v-checkbox>
-
- <v-checkbox v-model="field.disable_future_dates"
- name="disable_future_dates" class="mb-3"
- @update:model-value="onFieldDisableFutureDatesChange"
- >
- Disable future dates
- </v-checkbox>
- </div>
-
- <!-- select/multiselect Options -->
- <div v-if="['select','multi_select'].includes(field.type)" class="border-b py-2 px-4">
- <h3 class="font-semibold block text-lg">
- Select Options
- </h3>
- <p class="text-gray-400 mb-3 text-xs">
- Advanced options for your select/multiselect fields.
- </p>
- <text-area-input v-model="optionsText" :name="field.id+'_options_text'" class="mt-3"
- label="Set selection options"
- help="Add one option per line"
- @update:model-value="onFieldOptionsChange"
- />
- <v-checkbox v-model="field.allow_creation"
- name="allow_creation" help="" @update:model-value="onFieldAllowCreationChange"
- >
- Allow respondent to create new options
- </v-checkbox>
- <v-checkbox v-model="field.without_dropdown" class="mt-3"
- name="without_dropdown" help="" @update:model-value="onFieldWithoutDropdownChange"
- >
- Always show all select options
- </v-checkbox>
- <p class="text-gray-400 mb-3 text-xs">
- Options won't be in a dropdown anymore, but will all be visible
- </p>
- </div>
-
- <!-- Customization - Placeholder, Prefill, Relabel, Field Help -->
- <div v-if="displayBasedOnAdvanced" class="border-b py-2 px-4">
- <h3 class="font-semibold block text-lg">
- Customization
- </h3>
-
- <p class="text-gray-400 mb-3 text-xs">
- Change your form field name, pre-fill a value, add hints, etc.
- </p>
-
- <text-input name="name" class="mt-3"
- :form="field" :required="true"
- label="Field Name"
- />
-
- <v-checkbox v-model="field.hide_field_name" class="mt-3"
- :name="field.id+'_hide_field_name'"
- >
- Hide field name
- </v-checkbox>
-
- <v-checkbox v-if="field.type === 'phone_number'" v-model="field.use_simple_text_input" class="mt-3"
- :name="field.id+'_use_simple_text_input'"
- >
- Use simple text input
- </v-checkbox>
- <template v-if="field.type === 'phone_number' && !field.use_simple_text_input">
- <select-input v-model="field.unavailable_countries" class="mt-4" wrapper-class="relative"
- :options="allCountries" :multiple="true"
- :searchable="true" :search-keys="['name']" :option-key="'code'" :emit-key="'code'"
- label="Disabled countries" :placeholder="'Select a country'"
- help="Remove countries from the phone input"
- >
- <template #selected="{option, selected}">
- <div class="flex items-center space-x-2 justify-center overflow-hidden">
- {{ option.length }} selected
- </div>
- </template>
- <template #option="{option, selected}">
- <div class="flex items-center space-x-2 hover:text-white">
- <country-flag size="normal" class="!-mt-[9px]" :country="option.code" />
- <span class="grow">{{ option.name }}</span>
- <span>{{ option.dial_code }}</span>
- </div>
- <span v-if="selected" class="absolute inset-y-0 right-0 flex items-center pr-2 dark:text-white">
- <svg class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
- <path fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd"
- />
- </svg>
- </span>
- </template>
- </select-input>
- <small class="flex -mt-2">
- <a href="#" class="grow" @click.prevent="selectAllCountries">Select All</a>
- <a href="#" @click.prevent="field.unavailable_countries=null">Un-select All</a>
- </small>
- </template>
-
- <!-- Pre-fill depends on type -->
- <v-checkbox v-if="field.type=='checkbox'" v-model="field.prefill" class="mt-3"
- :name="field.id+'_prefill'"
- @update:model-value="field.prefill = $event"
- >
- Pre-filled value
- </v-checkbox>
- <select-input v-else-if="['select','multi_select'].includes(field.type)" name="prefill" class="mt-3"
- :form="field" :options="prefillSelectsOptions"
- label="Pre-filled value"
- :multiple="field.type==='multi_select'"
- />
- <date-input v-else-if="field.type==='date' && field.prefill_today!==true" name="prefill" class="mt-3"
- :form="field" :with-time="field.with_time===true"
- :date-range="field.date_range===true"
- label="Pre-filled value"
- />
- <phone-input v-else-if="field.type === 'phone_number' && !field.use_simple_text_input"
- name="prefill" class="mt-3"
- :form="field" :can-only-country="true" :unavailable-countries="field.unavailable_countries ?? []"
- label="Pre-filled value"
- />
- <text-area-input v-else-if="field.type === 'text' && field.multi_lines"
- name="prefill" class="mt-3"
- :form="field"
- label="Pre-filled value"
- />
- <file-input v-else-if="field.type==='files'" name="prefill" class="mt-4"
- :form="field"
- label="Pre-filled file"
- :multiple="field.multiple===true" :move-to-form-assets="true"
- />
- <text-input v-else-if="!['files', 'signature'].includes(field.type)" name="prefill" class="mt-3"
- :form="field"
- label="Pre-filled value"
- />
- <div v-if="['select','multi_select'].includes(field.type)" class="-mt-3 mb-3 text-gray-400 dark:text-gray-500">
- <small>
- A problem? <a href="#" @click.prevent="field.prefill=null">Click here to clear your pre-fill</a>
- </small>
- </div>
-
- <!-- Placeholder -->
- <text-input v-if="hasPlaceholder" name="placeholder" class="mt-3"
- :form="field"
- label="Empty Input Text (Placeholder)"
- />
-
- <select-input name="width" class="mt-3"
- :options="[
- {name:'Full',value:'full'},
- {name:'1/2 (half width)',value:'1/2'},
- {name:'1/3 (a third of the width)',value:'1/3'},
- {name:'2/3 (two thirds of the width)',value:'2/3'},
- {name:'1/4 (a quarter of the width)',value:'1/4'},
- {name:'3/4 (three quarters of the width)',value:'3/4'},
- ]"
- :form="field" label="Field Width"
- />
-
- <!-- Help -->
- <rich-text-area-input name="help" class="mt-3"
- :form="field"
- :editor-toolbar="editorToolbarCustom"
- label="Field Help"
- help="Your field help will be shown below/above the field, just like this message."
- :help-position="field.help_position"
- />
- <select-input name="help_position" class="mt-3"
- :options="[
- {name:'Below input',value:'below_input'},
- {name:'Above input',value:'above_input'},
- ]"
- :form="field" label="Field Help Position"
- @input="onFieldHelpPositionChange"
- />
-
- <template v-if="['text','number','url','email'].includes(field.type)">
- <text-input name="max_char_limit" native-type="number" :min="1" :max="2000"
- :form="field"
- label="Max character limit"
- help="Maximum character limit of 2000"
- :required="false"
- />
- <checkbox-input name="show_char_limit" :form="field" class="mt-3"
- label="Always show character limit"
- />
- </template>
- </div>
-
- <!-- Advanced Options -->
- <div v-if="field.type === 'text'" class="border-b py-2 px-4">
- <h3 class="font-semibold block text-lg mb-3">
- Advanced Options
- </h3>
-
- <v-checkbox v-model="field.generates_uuid"
- :name="field.id+'_generates_uuid'"
- @update:model-value="onFieldGenUIdChange"
- >
- Generates a unique id
- </v-checkbox>
- <p class="text-gray-400 mb-3 text-xs">
- If you enable this, we will hide this field and fill it with a unique id (UUID format) on each new form
- submission
- </p>
-
- <v-checkbox v-model="field.generates_auto_increment_id"
- :name="field.id+'_generates_auto_increment_id'"
- @update:model-value="onFieldGenAutoIdChange"
- >
- Generates an auto-incremented id
- </v-checkbox>
- <p class="text-gray-400 mb-3 text-xs">
- If you enable this, we will hide this field and fill it a unique incrementing number on each new form submission
- </p>
- </div>
-
- <!-- Logic Block -->
- <!-- <form-block-logic-editor class="py-2 px-4 border-b" :form="form" :field="field" />-->
- </div>
-</template>
-
-<script>
-import timezones
-import timezones from '../../../../../../data/timezones.json'
-import countryCodes from '../../../../../../data/country_codes.json'
-import CountryFlag from 'vue-country-flag-next'
-
-export default {
- name: 'FieldOptions',
- components: { CountryFlag },
- props: {
- field: {
- type: Object,
- required: false
- },
- form: {
- type: Object,
- required: false
- }
- },
- data () {
- return {
- typesWithoutPlaceholder: ['date', 'checkbox', 'files'],
- editorToolbarCustom: [
- ['bold', 'italic', 'underline', 'link']
- ],
- allCountries: countryCodes
- }
- },
-
- computed: {
- hasPlaceholder () {
- return !this.typesWithoutPlaceholder.includes(this.field.type)
- },
- prefillSelectsOptions () {
- if (!['select', 'multi_select'].includes(this.field.type)) return {}
-
- return this.field[this.field.type].options.map(option => {
- return {
- name: option.name,
- value: option.id
- }
- })
- },
- timezonesOptions () {
- if (this.field.type !== 'date') return []
- return timezones.map((timezone) => {
- return {
- name: timezone.text,
- value: timezone.utc[0]
- }
- })
- },
- displayBasedOnAdvanced () {
- if (this.field.generates_uuid || this.field.generates_auto_increment_id) {
- return false
- }
- return true
- },
- optionsText () {
- return this.field[this.field.type].options.map(option => {
- return option.name
- }).join('\n')
- }
- },
-
- watch: {
- 'field.width': {
- handler (val) {
- if (val === undefined || val === null) {
- this.field.width = 'full'
- }
- },
- immediate: true
- },
- 'field.align': {
- handler (val) {
- if (val === undefined || val === null) {
- this.field.align = 'left'
- }
- },
- immediate: true
- }
- },
-
- created () {
- if (this.field?.width === undefined || this.field?.width === null) {
- this.field.width = 'full'
- }
- },
-
- mounted () {
- if (['text', 'number', 'url', 'email'].includes(this.field?.type) && !this.field?.max_char_limit) {
- this.field.max_char_limit = 2000
- }
- },
-
- methods: {
- onFieldDisabledChange (val) {
- this.field.disabled = val
- if (this.field.disabled) {
- this.field.hidden = false
- }
- },
- onFieldRequiredChange (val) {
- this.field.required = val
- if (this.field.required) {
- this.field.hidden = false
- }
- },
- onFieldHiddenChange (val) {
- this.field.hidden = val
- if (this.field.hidden) {
- this.field.required = false
- this.field.disabled = false
- } else {
- this.field.generates_uuid = false
- this.field.generates_auto_increment_id = false
- }
- },
- onFieldDateRangeChange (val) {
- this.field.date_range = val
- if (this.field.date_range) {
- this.field.with_time = false
- this.field.prefill_today = false
- }
- },
- onFieldWithTimeChange (val) {
- this.field.with_time = val
- if (this.field.with_time) {
- this.field.date_range = false
- }
- },
- onFieldGenUIdChange (val) {
- this.field.generates_uuid = val
- if (this.field.generates_uuid) {
- this.field.generates_auto_increment_id = false
- this.field.hidden = true
- }
- },
- onFieldGenAutoIdChange (val) {
- this.field.generates_auto_increment_id = val
- if (this.field.generates_auto_increment_id) {
- this.field.generates_uuid = false
- this.field.hidden = true
- }
- },
- initRating () {
- if (this.field.is_rating) {
- this.$set(this.field, 'is_scale', false)
- if (!this.field.rating_max_value) {
- this.$set(this.field, 'rating_max_value', 5)
- }
- }
- },
- initScale () {
- if (this.field.is_scale) {
- this.$set(this.field, 'is_rating', false)
- if (!this.field.scale_min_value) {
- this.$set(this.field, 'scale_min_value', 1)
- }
- if (!this.field.scale_max_value) {
- this.$set(this.field, 'scale_max_value', 5)
- }
- if (!this.field.scale_step_value) {
- this.$set(this.field, 'scale_step_value', 1)
- }
- }
- },
- onFieldOptionsChange (val) {
- const vals = (val) ? val.trim().split('\n') : []
- const tmpOpts = vals.map(name => {
- return {
- name: name,
- id: name
- }
- })
- this.field[this.field.type] = { options: tmpOpts }
- },
- onFieldPrefillTodayChange (val) {
- this.field.prefill_today = val
- if (this.field.prefill_today) {
- this.field.prefill = 'Pre-filled with current date'
- this.field.date_range = false
- this.field.disable_future_dates = false
- this.field.disable_past_dates = false
- } else {
- this.field.prefill = null
- }
- },
- onFieldAllowCreationChange (val) {
- this.field.allow_creation = val
- if (this.field.allow_creation) {
- this.field.without_dropdown = false
- }
- },
- onFieldWithoutDropdownChange (val) {
- this.field.without_dropdown = val
- if (this.field.without_dropdown) {
- this.field.allow_creation = false
- }
- },
- onFieldDisablePastDatesChange (val) {
- this.field.disable_past_dates = val
- if (this.field.disable_past_dates) {
- this.field.disable_future_dates = false
- this.field.prefill_today = false
- }
- },
- onFieldDisableFutureDatesChange (val) {
- this.field.disable_future_dates = val
- if (this.field.disable_future_dates) {
- this.field.disable_past_dates = false
- this.field.prefill_today = false
- }
- },
- onFieldHelpPositionChange (val) {
- if (!val) {
- this.field.help_position = 'below_input'
- }
- },
- selectAllCountries () {
- this.field.unavailable_countries = this.allCountries.map(item => {
- return item.code
- })
- }
- }
-}
-</script>
diff --git a/resources/js/components/open/tables/OpenTable.vue b/resources/js/components/open/tables/OpenTable.vue
deleted file mode 100644
index 61887eb39..000000000
--- a/resources/js/components/open/tables/OpenTable.vue
+++ /dev/null
@@ -1,391 +0,0 @@
-<template>
- <table :id="'table-'+tableHash" ref="table"
- class="notion-table n-table whitespace-no-wrap bg-white dark:bg-notion-dark-light relative"
- >
- <thead :id="'table-header-'+tableHash" ref="header"
- class="n-table-head top-0"
- :class="{'absolute': data.length !== 0}"
- style="will-change: transform; transform: translate3d(0px, 0px, 0px)"
- >
- <tr class="n-table-row overflow-x-hidden">
- <resizable-th v-for="col, index in form.properties" :id="'table-head-cell-' + col.id" :key="col.id"
- scope="col" :allow-resize="allowResize" :width="(col.cell_width ? col.cell_width + 'px':'auto')"
- class="n-table-cell p-0 relative"
- @resize-width="resizeCol(col, $event)"
- >
- <p
- :class="{'border-r': index < form.properties.length - 1 || hasActions}"
- class="bg-gray-50 dark:bg-notion-dark truncate sticky top-0 border-b border-gray-200 dark:border-gray-800 px-4 py-2 text-gray-500 font-semibold tracking-wider uppercase text-xs"
- >
- {{ col.name }}
- </p>
- </resizable-th>
- <th v-if="hasActions" class="n-table-cell p-0 relative" style="width: 100px">
- <p
- class="bg-gray-50 dark:bg-notion-dark truncate sticky top-0 border-b border-gray-200 dark:border-gray-800 px-4 py-2 text-gray-500 font-semibold tracking-wider uppercase text-xs"
- >
- Actions
- </p>
- </th>
- </tr>
- </thead>
- <tbody v-if="data.length > 0" class="n-table-body bg-white dark:bg-notion-dark-light">
- <tr v-if="$slots.hasOwnProperty('actions')"
- :id="'table-actions-'+tableHash"
- ref="actions-row"
- class="action-row absolute w-full"
- style="will-change: transform; transform: translate3d(0px, 32px, 0px)"
- >
- <td :colspan="form.properties.length" class="p-1">
- <slot name="actions" />
- </td>
- </tr>
- <tr v-for="row, index in data" :key="index" class="n-table-row" :class="{'first':index===0}">
- <td v-for="col, colIndex in form.properties"
- :key="col.id"
- :style="{width: col.cell_width + 'px'}"
- class="n-table-cell border-gray-100 dark:border-gray-900 text-sm p-2 overflow-hidden"
- :class="[{'border-b': index !== data.length - 1, 'border-r': colIndex !== form.properties.length - 1 || hasActions},
- colClasses(col)]"
- >
- <component :is="fieldComponents[col.type]" class="border-gray-100 dark:border-gray-900"
- :property="col" :value="row[col.id]"
- />
- </td>
- <td v-if="hasActions" class="n-table-cell border-gray-100 dark:border-gray-900 text-sm p-2 border-b"
- style="width: 100px"
- >
- <record-operations :form="form" :structure="form.properties" :rowid="row.id" @deleted="$emit('deleted')" />
- </td>
- </tr>
- <tr v-if="loading" class="n-table-row border-t bg-gray-50 dark:bg-gray-900">
- <td :colspan="form.properties.length" class="p-8 w-full">
- <loader class="w-4 h-4 mx-auto" />
- </td>
- </tr>
- </tbody>
- <tbody v-else key="body-content" class="n-table-body">
- <tr class="n-table-row loader w-full">
- <td :colspan="form.properties.length" class="n-table-cell w-full p-8">
- <loader v-if="loading" class="w-4 h-4 mx-auto" />
- <p v-else class="text-gray-500 text-center">
- No data found.
- </p>
- </td>
- </tr>
- </tbody>
- </table>
-</template>
-
-<script>
-import { useWorkingFormStore } from '../../../stores/working_form'
-import OpenText from './components/OpenText.vue'
-import OpenUrl from './components/OpenUrl.vue'
-import OpenSelect from './components/OpenSelect.vue'
-import OpenDate from './components/OpenDate.vue'
-import OpenFile from './components/OpenFile.vue'
-import OpenCheckbox from './components/OpenCheckbox.vue'
-import ResizableTh from './components/ResizableTh.vue'
-import RecordOperations from '../components/RecordOperations.vue'
-import clonedeep from 'clone-deep'
-
-const cyrb53 = function (str, seed = 0) {
- let h1 = 0xdeadbeef ^ seed
- let h2 = 0x41c6ce57 ^ seed
- for (let i = 0, ch; i < str.length; i++) {
- ch = str.charCodeAt(i)
- h1 = Math.imul(h1 ^ ch, 2654435761)
- h2 = Math.imul(h2 ^ ch, 1597334677)
- }
- h1 = Math.imul(h1 ^ (h1 >>> 16), 2246822507) ^ Math.imul(h2 ^ (h2 >>> 13), 3266489909)
- h2 = Math.imul(h2 ^ (h2 >>> 16), 2246822507) ^ Math.imul(h1 ^ (h1 >>> 13), 3266489909)
- return 4294967296 * (2097151 & h2) + (h1 >>> 0)
-}
-
-export default {
- components: { ResizableTh, RecordOperations },
- props: {
- data: {
- type: Array,
- default: () => []
- },
- loading: {
- type: Boolean,
- default: false
- },
- allowResize: {
- required: false,
- default: true,
- type: Boolean
- }
- },
-
- setup () {
- const workingFormStore = useWorkingFormStore()
- return {
- workingFormStore
- }
- },
-
- data () {
- return {
- tableHash: null,
- skip: false
- }
- },
-
- computed: {
- form: {
- get () {
- return this.workingFormStore.content
- },
- /* We add a setter */
- set (value) {
- this.workingFormStore.set(value)
- }
- },
- hasActions () {
- // In future if want to hide based on condition
- return true
- },
- fieldComponents () {
- return {
- text: OpenText,
- number: OpenText,
- select: OpenSelect,
- multi_select: OpenSelect,
- date: OpenDate,
- files: OpenFile,
- checkbox: OpenCheckbox,
- url: OpenUrl,
- email: OpenText,
- phone_number: OpenText,
- signature: OpenFile
- }
- }
- },
-
- watch: {
- 'form.properties': {
- handler () {
- this.onStructureChange()
- },
- deep: true
- },
- data () {
- this.$nextTick(() => {
- this.handleScroll()
- })
- }
- },
-
- mounted () {
- const parent = document.getElementById('table-page')
- this.tableHash = cyrb53(JSON.stringify(this.form.properties))
- if (parent) {
- parent.addEventListener('scroll', this.handleScroll, { passive: true })
- }
- window.addEventListener('resize', this.handleScroll)
- this.onStructureChange()
- this.handleScroll()
- },
-
- beforeUnmount () {
- const parent = document.getElementById('table-page')
- if (parent) {
- parent.removeEventListener('scroll', this.handleScroll)
- }
- window.removeEventListener('resize', this.handleScroll)
- },
-
- methods: {
- colClasses (col) {
- let colAlign, colColor, colFontWeight, colWrap
-
- // Column align
- colAlign = `text-${col.alignment ? col.alignment : 'left'}`
-
- // Column color
- colColor = null
- if (!col.hasOwnProperty('color') || col.color === 'default') {
- colColor = 'text-gray-700 dark:text-gray-300'
- }
- colColor = `text-${col.color}`
-
- // Column font weight
- if (col.hasOwnProperty('bold') && col.bold) {
- colFontWeight = 'font-semibold'
- }
-
- // Column wrapping
- if (!col.hasOwnProperty('wrap_text') || !col.wrap_text) {
- colWrap = 'truncate'
- }
-
- return [colAlign, colColor, colWrap, colFontWeight]
- },
- onStructureChange () {
- if (this.form && this.form.properties) {
- this.$nextTick(() => {
- this.form.properties.forEach(col => {
- if (!col.hasOwnProperty('cell_width')) {
- if (this.allowResize && this.form !== null && document.getElementById('table-head-cell-' + col.id)) {
- // Within editor
- this.resizeCol(col, document.getElementById('table-head-cell-' + col.id).offsetWidth)
- }
- }
- })
- })
- }
- },
- resizeCol (col, width) {
- if (!this.form) return
- const columns = clonedeep(this.form.properties)
- const index = this.form.properties.findIndex(c => c.id === col.id)
- columns[index].cell_width = width
- this.form.properties = columns
- this.$nextTick(() => {
- this.$emit('resize')
- })
- },
- handleScroll () {
- const parent = document.getElementById('table-page')
- const posTop = parent.getBoundingClientRect().top
- const tablePosition = Math.max(0, posTop - this.$refs.table.getBoundingClientRect().top)
- const tableHeader = document.getElementById('table-header-' + this.tableHash)
-
- // Set position of table header
- if (tableHeader) {
- tableHeader.style.transform = `translate3d(0px, ${tablePosition}px, 0px)`
- if (tablePosition > 0) {
- tableHeader.classList.add('border-t')
- } else {
- tableHeader.classList.remove('border-t')
- }
- }
-
- // Set position of actions row
- if (this.$slots.hasOwnProperty('actions')) {
- const tableActionsRow = document.getElementById('table-actions-' + this.tableHash)
- if (tableActionsRow) {
- if (tablePosition > 100) {
- tableActionsRow.style.transform = `translate3d(0px, ${tablePosition + 33}px, 0px)`
- } else {
- const parentContainer = document.getElementById('table-page')
- tableActionsRow.style.transform = `translate3d(0px, ${parentContainer.offsetHeight + (posTop - this.$refs.table.getBoundingClientRect().top) - 35}px, 0px)`
- }
- }
- }
- }
- }
-}
-</script>
-
-<style lang="scss">
-.n-table {
- .n-table-head {
- height: 33px;
-
- .resize-handler {
- height: 33px;
- width: 5px;
- margin-left: -3px;
- }
- }
-
- .n-table-row {
- display: flex;
-
- &.first, &.loader {
- margin-top: 33px;
- }
- }
-
- .n-table-cell {
- min-width: 80px;
- }
-}
-
-.notion-table {
-
- td {
- &.text-gray {
- color: #787774;
- }
-
- &.text-brown {
- color: #9f6b53;
- }
-
- &.text-orange {
- color: #d9730d;
- }
-
- &.text-yellow {
- color: #cb912f;
- }
-
- &.text-green {
- color: #448361;
- }
-
- &.text-blue {
- color: #337ea9;
- }
-
- &.text-purple {
- color: #9065b0;
- }
-
- &.text-pink {
- color: #c14c8a;
- }
-
- &.text-red {
- color: #d44c47;
- }
- }
-}
-
-.dark {
- .notion-table {
- td {
- &.text-gray {
- color: #9b9b9b;
- }
-
- &.text-brown {
- color: #ba856f;
- }
-
- &.text-orange {
- color: #c77d48;
- }
-
- &.text-yellow {
- color: #ca9849;
- }
-
- &.text-green {
- color: #529e72;
- }
-
- &.text-blue {
- color: #5e87c9;
- }
-
- &.text-purple {
- color: #9d68d3;
- }
-
- &.text-pink {
- color: #d15796;
- }
-
- &.text-red {
- color: #df5452;
- }
- }
- }
-}
-</style>
diff --git a/resources/js/components/open/tables/components/OpenCheckbox.vue b/resources/js/components/open/tables/components/OpenCheckbox.vue
deleted file mode 100644
index 21b2c1ebd..000000000
--- a/resources/js/components/open/tables/components/OpenCheckbox.vue
+++ /dev/null
@@ -1,33 +0,0 @@
-<template>
- <svg v-if="value===true" xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 mx-auto" fill="none"
- viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
- <path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7"/>
- </svg>
- <svg v-else-if="value===false" xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 mx-auto" fill="none"
- viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
- <path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12"/>
- </svg>
-</template>
-
-<script>
-export default {
- components: {},
- props: {
- value: {
- required: true
- },
-
- },
- mounted() {
- },
-
- data() {
- return {}
- },
-
- computed: {
- },
-
- methods: {},
-}
-</script>
diff --git a/resources/js/components/open/tables/components/OpenDate.vue b/resources/js/components/open/tables/components/OpenDate.vue
deleted file mode 100644
index 18f9f103d..000000000
--- a/resources/js/components/open/tables/components/OpenDate.vue
+++ /dev/null
@@ -1,35 +0,0 @@
-<template>
- <span v-if="valueIsObject">
- <template v-if="value[0]">{{ value[0] }}</template>
- <template v-if="value[1]"><b>to</b> {{ value[1] }}</template>
- </span>
- <span v-else>
- {{ value }}
- </span>
-</template>
-
-<script>
-export default {
- components: {},
- props: {
- value: {
- required: true
- }
- },
- data () {
- return {}
- },
- computed: {
- valueIsObject () {
- if (typeof this.value === 'object' && this.value !== null) {
- return true
- }
- return false
- }
- },
- mounted () {
- },
- methods: {
- }
-}
-</script>
diff --git a/resources/js/components/open/tables/components/OpenFile.vue b/resources/js/components/open/tables/components/OpenFile.vue
deleted file mode 100644
index 2a4e51742..000000000
--- a/resources/js/components/open/tables/components/OpenFile.vue
+++ /dev/null
@@ -1,71 +0,0 @@
-<template>
- <p class="text-xs">
- <span v-for="file in value" :key="file.file_url"
- class="whitespace-nowrap rounded-md transition-colors hover:decoration-none"
- :class="{'open-file text-gray-700 dark:text-gray-300 truncate':!isImage(file.file_url), 'open-file-img':isImage(file.file_url)}"
- >
- <a class="text-gray-700 dark:text-gray-300" :href="file.file_url" target="_blank"
- rel="nofollow"
- >
- <div v-if="isImage(file.file_url)" class="w-8 h-8">
- <img class="object-cover h-full w-full rounded" :src="file.file_url">
- </div>
- <span v-else
- class="py-1 px-2"
- >
- <a :href="file.file_url" target="_blank" download>{{ displayedFileName(file.file_name) }}</a>
- </span>
- </a>
- </span>
- </p>
-</template>
-
-<script>
-export default {
- components: {},
- props: {
- value: {
- type: Array,
- required: false
- }
- },
-
- data() {
- return {}
- },
-
- computed: {},
- mounted() {
- },
-
- methods: {
- isImage(url) {
- return ['png', 'gif', 'jpg', 'jpeg', 'tif'].some((suffix) => {
- return url && url.endsWith(suffix)
- })
- },
- displayedFileName(fileName) {
- const extension = fileName.substr(fileName.lastIndexOf(".") + 1)
- const filename = fileName.substr(0, fileName.lastIndexOf("."))
-
- if (filename.length > 12) {
- return filename.substr(0, 12) + '(...).' + extension
- }
- return filename + '.' + extension
- }
- }
-}
-</script>
-
-<style lang="scss">
-.open-file {
- max-width: 120px;
- background-color: #e3e2e0;
-}
-
-.dark {
- .open-file {
- background-color: #5a5a5a;
- }
-}
-</style>
diff --git a/resources/js/components/open/tables/components/OpenSelect.vue b/resources/js/components/open/tables/components/OpenSelect.vue
deleted file mode 100644
index 315845e15..000000000
--- a/resources/js/components/open/tables/components/OpenSelect.vue
+++ /dev/null
@@ -1,39 +0,0 @@
-<template>
- <span v-if="value" class="-mb-2">
- <template v-if="valueIsObject">
- <open-tag v-for="(val,index) in value" :key="index+val" :opt="val" />
- </template>
- <open-tag v-else :opt="value" />
- </span>
-</template>
-
-<script>
-import OpenTag from './OpenTag.vue'
-
-export default {
- components: { OpenTag },
- props: {
- value: {
- type: Object | null,
- required: true
- }
-
- },
-
- data () {
- return {}
- },
-
- computed: {
- valueIsObject () {
- if (typeof this.value === 'object' && this.value !== null) {
- return true
- }
- return false
- }
- },
- mounted () {
- },
- methods: {}
-}
-</script>
diff --git a/resources/js/components/open/tables/components/OpenTag.vue b/resources/js/components/open/tables/components/OpenTag.vue
deleted file mode 100644
index 800a5a7f2..000000000
--- a/resources/js/components/open/tables/components/OpenTag.vue
+++ /dev/null
@@ -1,101 +0,0 @@
-<template>
- <span :id="opt"
- class="py-1 px-2 mb-1 open-tag default mr-2 text-gray-700 dark:text-gray-300 text-xs whitespace-nowrap rounded-md transition-colors"
- >
- {{ opt }}
- </span>
-</template>
-
-<script>
-export default {
- components: {},
- props: {
- opt: {
- type: String,
- required: true
- }
- },
-
- data () {
- return {}
- },
-
- computed: {
- },
- mounted () {
- },
-
- methods: {}
-}
-</script>
-
-<style lang="scss">
-.open-tag {
- display: inline-block;
- &.gray {
- background-color: #e3e2e0;
- }
- &.light-gray,&.default {
- background-color: #e3e2e080;
- }
- &.brown {
- background-color: #eee0da;
- }
- &.orange {
- background-color: #fadec9;
- }
- &.yellow {
- background-color: #fdecc8;
- }
- &.green {
- background-color: #dbeddb;
- }
- &.blue {
- background-color: #d3e5ef;
- }
- &.purple {
- background-color: #e8deee;
- }
- &.pink {
- background-color: #f5e0e9;
- }
- &.red {
- background-color: #ffe2dd;
- }
-}
-
-.dark {
- .open-tag {
- &.gray {
- background-color: #5a5a5a;
- }
- &.light-gray,&.default {
- background-color: #ffffff21;
- }
- &.brown {
- background-color: #603b2c;
- }
- &.orange {
- background-color: #854c1d;
- }
- &.yellow {
- background-color: #89632a;
- }
- &.green {
- background-color: #2b593f;
- }
- &.blue {
- background-color: #28456c;
- }
- &.purple {
- background-color: #492f64;
- }
- &.pink {
- background-color: #69314c;
- }
- &.red {
- background-color: #6e3630;
- }
- }
-}
-</style>
\ No newline at end of file
diff --git a/resources/js/components/open/tables/components/OpenText.vue b/resources/js/components/open/tables/components/OpenText.vue
deleted file mode 100644
index 547c572cc..000000000
--- a/resources/js/components/open/tables/components/OpenText.vue
+++ /dev/null
@@ -1,99 +0,0 @@
-<template>
- <span v-if="!valueIsObject">
- {{ value }}
- </span>
- <span v-else>
- <span
- v-for="(item, i) in value.responseData"
- :key="i"
- :class="{
- 'font-semibold': item.annotations.bold && !item.annotations.code,
- italic: item.annotations.italic,
- 'line-through': item.annotations.strikethrough,
- underline: item.annotations.underline,
- 'bg-pink-100 py-1 px-2 rounded-lg text-pink-500': item.annotations.code,
- 'font-serif': item.type == 'equation',
- }"
- :style="{
- color:
- item.annotations.color != 'default'
- ? getColor(item.annotations.color)
- : null,
- 'background-color':
- item.annotations.color != 'default' &&
- item.annotations.color.split('_')[1]
- ? getBgColor(item.annotations.color.split('_')[0])
- : 'none',
- }"
- >
- <a
- v-if="item.href"
- :href="item.href"
- rel="noopener noreferrer"
- target="_blank"
- class="text-blue-600 underline"
- >{{ item.plain_text }}</a>
- <span v-else-if="!item.href">{{ item.plain_text }}</span>
- </span>
- </span>
-</template>
-
-<script>
-export default {
- components: {},
- props: {
- value: {
- required: true
- }
-
- },
-
- data () {
- return {}
- },
-
- computed: {
- valueIsObject () {
- if (
- typeof this.value === 'object' &&
- !Array.isArray(this.value) &&
- this.value !== null
- ) {
- return true
- }
- return false
- }
- },
- mounted () {
- },
-
- methods: {
- getColor (color) {
- return {
- red: '#e03e3e',
- gray: '#9b9a97',
- brown: '#64473a',
- orange: '#d9730d',
- yellow: '#dfab01',
- teal: '#0f7b6c',
- blue: '#0b6e99',
- purple: '#6940a5',
- pink: '#ad1a72'
- }[color]
- },
- getBgColor (color) {
- return {
- red: '#fbe4e4',
- gray: '#ebeced',
- brown: '#e9e5e3',
- orange: '#faebdd',
- yellow: '#fbf3db',
- teal: '#ddedea',
- blue: '#ddebf1',
- purple: '#eae4f2',
- pink: '#f4dfeb'
- }[color]
- }
- }
-}
-</script>
diff --git a/resources/js/components/open/tables/components/OpenUrl.vue b/resources/js/components/open/tables/components/OpenUrl.vue
deleted file mode 100644
index 5f488df86..000000000
--- a/resources/js/components/open/tables/components/OpenUrl.vue
+++ /dev/null
@@ -1,26 +0,0 @@
-<template>
- <a class="text-gray-700 dark:text-gray-300 hover:underline" :href="value" target="_blank" rel="nofollow">{{ value }}</a>
-</template>
-
-<script>
-export default {
- components: {},
- props: {
- value: {
- required: true
- },
-
- },
- mounted() {
- },
-
- data() {
- return {}
- },
-
- computed: {
- },
-
- methods: {},
-}
-</script>
diff --git a/resources/js/components/open/tables/components/ResizableTh.vue b/resources/js/components/open/tables/components/ResizableTh.vue
deleted file mode 100644
index 3e9f1f633..000000000
--- a/resources/js/components/open/tables/components/ResizableTh.vue
+++ /dev/null
@@ -1,63 +0,0 @@
-<template>
- <th ref="th" :style="{width: width}">
- <slot />
- <div v-if="allowResize" class="absolute right-0 top-0 w-0 z-10">
- <div class="resize-handler bg-transparent cursor-move hover:bg-blue-500 opacity-80 transition-colors"
- @mousedown="mouseDownHandler"
- />
- </div>
- </th>
-</template>
-
-<script>
-export default {
- components: {},
- props: {
- allowResize: {
- required: true
- },
- width: {
- required: true
- }
- },
-
- data () {
- return {
- x: 0,
- w: 0
- }
- },
-
- computed: {
- },
- mounted () {
- },
-
- methods: {
- mouseDownHandler (e) {
- // Get the current mouse position
- this.x = e.clientX
-
- // Calculate the dimension of element
- const styles = window.getComputedStyle(this.$refs.th)
- this.w = parseInt(styles.width, 10)
-
- // Attach the listeners to `document`
- document.addEventListener('mousemove', this.mouseMoveHandler)
- document.addEventListener('mouseup', this.mouseUpHandler)
- },
- mouseMoveHandler (e) {
- // How far the mouse has been moved
- const dx = e.clientX - this.x
-
- // Adjust the dimension of element
- this.$emit('resize-width', this.w + dx)
- },
- mouseUpHandler () {
- // Remove the handlers of `mousemove` and `mouseup`
- document.removeEventListener('mousemove', this.mouseMoveHandler)
- document.removeEventListener('mouseup', this.mouseUpHandler)
- }
- }
-}
-</script>
diff --git a/resources/js/components/pages/OpenFormFooter.vue b/resources/js/components/pages/OpenFormFooter.vue
deleted file mode 100644
index 384f59714..000000000
--- a/resources/js/components/pages/OpenFormFooter.vue
+++ /dev/null
@@ -1,78 +0,0 @@
-<template>
- <div class="w-full">
- <div class="grid md:grid-cols-3 my-8">
- <div class="flex mt-2 items-center">
- <p class="text-sm text-gray-600 dark:text-gray-400 text-center w-full">
- © Copyright {{ currYear }}. All Rights Reserved
- </p>
- </div>
- <div class="flex justify-center mt-5 md:mt-0">
- <router-link :to="{ name: user ? 'home' : 'welcome' }" class="flex-shrink-0 font-semibold flex items-center">
- <img :src="asset('img/logo.svg')" alt="notion tools logo" class="w-10 h-10">
- <span class="ml-2 text-xl text-black dark:text-white">
- {{ appName }}
- </span>
- </router-link>
- </div>
- <div class="flex justify-center mt-5 md:mt-0">
- <div class="grid grid-cols-1 lg:grid-cols-2 gap-x-4 gap-y-2">
- <a href="https://opnform.featurebase.app/" target="_blank"
- class="text-gray-600 dark:text-gray-400 transition-colors duration-300 hover:text-nt-blue">
- Feature Requests
- </a>
- <a href="https://opnform.featurebase.app/roadmap" target="_blank"
- class="text-gray-600 dark:text-gray-400 transition-colors duration-300 hover:text-nt-blue">
- Roadmap
- </a>
- <a href="www.facebook.com/groups/opnform" target="_blank"
- class="text-gray-600 dark:text-gray-400 transition-colors duration-300 hover:text-nt-blue">
- Facebook Group
- </a>
- <router-link :to="{name:'privacy-policy'}"
- class="text-gray-600 dark:text-gray-400 transition-colors duration-300 hover:text-nt-blue">
- Privacy Policy
- </router-link>
-
- <router-link :to="{name:'terms-conditions'}"
- class="text-gray-600 dark:text-gray-400 transition-colors duration-300 hover:text-nt-blue">
- Terms & Conditions
- </router-link>
- </div>
- </div>
- </div>
- </div>
-</template>
-
-<script>
-import { computed } from 'vue'
-import { useAuthStore } from '../../stores/auth'
-
-export default {
- setup () {
- const authStore = useAuthStore()
- return {
- user : computed(() => authStore.user)
- }
- },
-
- data: () => ({
- appName: window.config.appName,
- currYear: new Date().getFullYear(),
- }),
-
- computed: {
- helpUrl: () => window.config.links.help_url,
- githubUrl: () => window.config.links.github_url,
- forumUrl: () => window.config.links.github_forum_url,
- changelogUrl: () => window.config.links.changelog_url,
- facebookGroupUrl: () => window.config.links.facebook_group,
- twitterUrl: () => window.config.links.twitter,
- featureRequestsUrl: () => window.config.links.feature_requests
- },
-
- mounted() {
- },
-
- methods: {}
-}
-</script>
diff --git a/resources/js/components/pages/StopImpersonation.vue b/resources/js/components/pages/StopImpersonation.vue
deleted file mode 100644
index d336c0a88..000000000
--- a/resources/js/components/pages/StopImpersonation.vue
+++ /dev/null
@@ -1,61 +0,0 @@
-<template>
- <transition name="fade">
- <button v-if="isImpersonating"
- class="cursor-pointer group hover:bg-blue-50 text-gray-600 py-2 px-5 fixed bottom-0 left-0 rounded-tr-md bg-white border-t border-r"
- @click="reverseImpersonation"
- >
- <template v-if="!loading">
- <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 -mt-1 group-hover:text-blue-500 inline text-gray-400"
- fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"
- >
- <path stroke-linecap="round" stroke-linejoin="round"
- d="M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1"
- />
- </svg>
- Stop Impersonation
- </template>
- <template v-else>
- <div class="px-6">
- <loader class="h-4 w-4 inline" />
- </div>
- </template>
- </button>
- </transition>
-</template>
-
-<script>
-import { computed } from 'vue'
-import { useAuthStore } from '../../stores/auth';
-import { useWorkspacesStore } from '../../stores/workspaces';
-
-export default {
- setup () {
- const authStore = useAuthStore()
- const workspacesStore = useWorkspacesStore()
- return {
- authStore,
- workspacesStore,
- isImpersonating : computed(() => authStore.isImpersonating),
- }
- },
-
- data: () => ({
- loading: false
- }),
-
- computed: {},
-
- mounted () {},
-
- methods: {
- reverseImpersonation () {
- this.loading = true
- this.authStore.stopImpersonating().then(() => {
- this.workspacesStore.set([])
- this.$router.push({ name: 'settings.admin' })
- this.loading = false
- })
- }
- }
-}
-</script>
diff --git a/resources/js/components/pages/forms/NewFeatures.vue b/resources/js/components/pages/forms/NewFeatures.vue
deleted file mode 100644
index 13408145e..000000000
--- a/resources/js/components/pages/forms/NewFeatures.vue
+++ /dev/null
@@ -1,107 +0,0 @@
-<template>
- <div id="new-features"
- class="w-full bg-gray-50 dark:bg-gray-800 border rounded-lg mt-4"
- >
- <div class="border-b">
- <div v-track.new_in_notionforms_click
- class="relative flex items-center cursor-pointer hover:bg-gray-100 p-4" role="button"
- @click.prevent="showNewFeatures=!showNewFeatures"
- >
- <div class="text-gray-700 dark:text-gray-300 pr-4">
- <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24"
- stroke="currentColor" stroke-width="2"
- >
- <path stroke-linecap="round" stroke-linejoin="round"
- d="M19 20H5a2 2 0 01-2-2V6a2 2 0 012-2h10a2 2 0 012 2v1m2 13a2 2 0 01-2-2V7m2 13a2 2 0 002-2V9a2 2 0 00-2-2h-2m-4-3H9M7 16h6M7 8h6v4H7V8z"
- />
- </svg>
- </div>
- <div>
- <p class="text-gray-700 dark:text-gray-300 font-semibold">
- New in OpnForm
- </p>
- <p class="text-sm text-gray-700 dark:text-gray-300">
- Click here to see our new features
- </p>
- </div>
- </div>
- <v-transition>
- <ul v-if="showNewFeatures" class="list-disc list-inside border-t pt-2 p-4">
- <li v-for="changelog in changelogEntries" :key="changelog.id" v-track.new_feature_click class="text-sm">
- <a :href="changelog.url" target="_blank" class="text-gray-700 dark:text-gray-300">{{ changelog.title }}</a>
- </li>
- <li v-track.new_feature_read_more_click class="text-sm">
- <a class="text-gray-700 dark:text-gray-300" :href="changelogLink" target="_blank">Read more</a>
- </li>
- </ul>
- </v-transition>
- </div>
- <div class="relative flex items-center cursor-pointer hover:bg-gray-100 p-4">
- <a v-track.feature_request_click="{user_has_forms:user.has_forms}" :href="requestFeatureLink"
- class="absolute inset-0" target="_blank"
- />
- <div class="text-gray-700 dark:text-gray-300 pr-4">
- <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor"
- stroke-width="2"
- >
- <path stroke-linecap="round" stroke-linejoin="round"
- d="M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z"
- />
- </svg>
- </div>
- <div>
- <p class="text-gray-700 dark:text-gray-300 font-semibold">
- An idea for a new feature?
- </p>
- <p class="text-sm text-gray-700 dark:text-gray-300">
- Click here to request a new feature
- </p>
- </div>
- </div>
- </div>
-</template>
-
-<script>
-import { computed } from 'vue'
-import axios from 'axios'
-import { useAuthStore } from '../../../stores/auth';
-import VTransition from '../../common/transitions/VTransition.vue'
-
-export default {
- components: { VTransition },
- props: {},
-
- setup () {
- const authStore = useAuthStore()
- return {
- user : computed(() => authStore.user)
- }
- },
-
- data: () => ({
- changelogEntries: [],
- showNewFeatures: false
- }),
-
- mounted () {
- this.loadChangelogEntries()
- },
-
- computed: {
- requestFeatureLink () {
- return window.config.links.feature_requests
- },
- changelogLink () {
- return window.config.links.changelog_url
- }
- },
-
- methods: {
- loadChangelogEntries () {
- axios.get('/api/content/changelog/entries').then(response => {
- this.changelogEntries = response.data.splice(0, 3)
- })
- }
- }
-}
-</script>
diff --git a/resources/js/components/pages/forms/create/CreateFormBaseModal.vue b/resources/js/components/pages/forms/create/CreateFormBaseModal.vue
deleted file mode 100644
index c83e63c6a..000000000
--- a/resources/js/components/pages/forms/create/CreateFormBaseModal.vue
+++ /dev/null
@@ -1,153 +0,0 @@
-<template>
- <modal :show="show" :closeable="!aiForm.busy" @close="$emit('close')">
- <template #icon>
- <template v-if="state=='default'">
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="w-10 h-10 text-blue">
- <path fill-rule="evenodd"
- d="M12 3.75a.75.75 0 01.75.75v6.75h6.75a.75.75 0 010 1.5h-6.75v6.75a.75.75 0 01-1.5 0v-6.75H4.5a.75.75 0 010-1.5h6.75V4.5a.75.75 0 01.75-.75z"
- clip-rule="evenodd"
- />
- </svg>
- </template>
- <template v-else-if="state=='ai'">
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="w-8 h-8 text-blue-500">
- <path fill-rule="evenodd"
- d="M14.615 1.595a.75.75 0 01.359.852L12.982 9.75h7.268a.75.75 0 01.548 1.262l-10.5 11.25a.75.75 0 01-1.272-.71l1.992-7.302H3.75a.75.75 0 01-.548-1.262l10.5-11.25a.75.75 0 01.913-.143z"
- clip-rule="evenodd"
- />
- </svg>
- </template>
- </template>
- <template #title>
- <template v-if="state=='default'">
- Choose a base for your form
- </template>
- <template v-else-if="state=='ai'">
- AI-powered form generator
- </template>
- </template>
- <div v-if="state=='default'" class="grid grid-cols-1 sm:grid-cols-2 gap-4 mt-8">
- <div v-track.select_form_base="{base:'contact-form'}"
- class="rounded-md border p-4 flex flex-col items-center cursor-pointer hover:bg-gray-50" @click="$emit('close')"
- >
- <div class="p-4">
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="w-8 h-8 text-blue-500">
- <path d="M1.5 8.67v8.58a3 3 0 003 3h15a3 3 0 003-3V8.67l-8.928 5.493a3 3 0 01-3.144 0L1.5 8.67z" />
- <path d="M22.5 6.908V6.75a3 3 0 00-3-3h-15a3 3 0 00-3 3v.158l9.714 5.978a1.5 1.5 0 001.572 0L22.5 6.908z" />
- </svg>
- </div>
- <p class="font-medium">
- Start from a simple contact form
- </p>
- </div>
- <div v-if="aiFeaturesEnabled" v-track.select_form_base="{base:'ai'}"
- class="rounded-md border p-4 flex flex-col items-center cursor-pointer hover:bg-gray-50" @click="state='ai'"
- >
- <div class="p-4 relative">
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="w-8 h-8 text-blue-500">
- <path fill-rule="evenodd"
- d="M14.615 1.595a.75.75 0 01.359.852L12.982 9.75h7.268a.75.75 0 01.548 1.262l-10.5 11.25a.75.75 0 01-1.272-.71l1.992-7.302H3.75a.75.75 0 01-.548-1.262l10.5-11.25a.75.75 0 01.913-.143z"
- clip-rule="evenodd"
- />
- </svg>
- </div>
- <p class="font-medium text-blue-700">
- Use our AI to create the form
- </p>
- <span class="text-xs text-gray-500">(1 min)</span>
- </div>
- <div class="rounded-md border p-4 flex flex-col items-center cursor-pointer hover:bg-gray-50 relative">
- <div class="p-4 relative">
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="w-8 h-8 text-blue-500">
- <path
- d="M11.25 5.337c0-.355-.186-.676-.401-.959a1.647 1.647 0 01-.349-1.003c0-1.036 1.007-1.875 2.25-1.875S15 2.34 15 3.375c0 .369-.128.713-.349 1.003-.215.283-.401.604-.401.959 0 .332.278.598.61.578 1.91-.114 3.79-.342 5.632-.676a.75.75 0 01.878.645 49.17 49.17 0 01.376 5.452.657.657 0 01-.66.664c-.354 0-.675-.186-.958-.401a1.647 1.647 0 00-1.003-.349c-1.035 0-1.875 1.007-1.875 2.25s.84 2.25 1.875 2.25c.369 0 .713-.128 1.003-.349.283-.215.604-.401.959-.401.31 0 .557.262.534.571a48.774 48.774 0 01-.595 4.845.75.75 0 01-.61.61c-1.82.317-3.673.533-5.555.642a.58.58 0 01-.611-.581c0-.355.186-.676.401-.959.221-.29.349-.634.349-1.003 0-1.035-1.007-1.875-2.25-1.875s-2.25.84-2.25 1.875c0 .369.128.713.349 1.003.215.283.401.604.401.959a.641.641 0 01-.658.643 49.118 49.118 0 01-4.708-.36.75.75 0 01-.645-.878c.293-1.614.504-3.257.629-4.924A.53.53 0 005.337 15c-.355 0-.676.186-.959.401-.29.221-.634.349-1.003.349-1.036 0-1.875-1.007-1.875-2.25s.84-2.25 1.875-2.25c.369 0 .713.128 1.003.349.283.215.604.401.959.401a.656.656 0 00.659-.663 47.703 47.703 0 00-.31-4.82.75.75 0 01.83-.832c1.343.155 2.703.254 4.077.294a.64.64 0 00.657-.642z"
- />
- </svg>
- </div>
- <p class="font-medium">
- Start from a template
- </p>
- <router-link v-track.select_form_base="{base:'template'}" :to="{name:'templates'}" class="absolute inset-0" />
- </div>
- </div>
- <div v-else-if="state=='ai'">
- <a class="absolute top-4 left-4" href="#" @click.prevent="state='default'">
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="w-4 h-4 inline -mt-1">
- <path fill-rule="evenodd" d="M7.72 12.53a.75.75 0 010-1.06l7.5-7.5a.75.75 0 111.06 1.06L9.31 12l6.97 6.97a.75.75 0 11-1.06 1.06l-7.5-7.5z" clip-rule="evenodd" />
- </svg>
- Back
- </a>
- <text-area-input label="Form Description" :disabled="loading?true:null" :form="aiForm" name="form_prompt" help="Give us a description of the form you want to build (the more details the better)"
- placeholder="A simple contact form, with a name, email and message field"
- />
- <v-button class="w-full" :loading="loading" @click.prevent="generateForm">
- Generate a form
- </v-button>
- <p class="text-gray-500 text-xs text-center mt-1">
- ~60 sec
- </p>
- </div>
- </modal>
-</template>
-
-<script>
-export default {
- name: 'CreateFormBaseModal',
- components: { },
- props: {
- show: { type: Boolean, required: true }
- },
-
- data: () => ({
- state: 'default',
- aiForm: useForm({
- form_prompt: ''
- }),
- loading: false
- }),
-
- computed: {
- aiFeaturesEnabled () {
- return window.config.ai_features_enabled
- }
- },
-
- methods: {
- generateForm () {
- if (this.loading) return
-
- this.loading = true
- this.aiForm.post('/api/forms/ai/generate').then(response => {
- this.alertSuccess(response.data.message)
- this.fetchGeneratedForm(response.data.ai_form_completion_id)
- }).catch(error => {
- this.alertError(error.response.data.message)
- this.loading = false
- this.state = 'default'
- })
- },
- fetchGeneratedForm (generationId) {
- // check every 4 seconds if form is generated
- setTimeout(() => {
- axios.get('/api/forms/ai/' + generationId).then(response => {
- if (response.data.ai_form_completion.status === 'completed') {
- this.alertSuccess(response.data.message)
- this.$emit('form-generated', JSON.parse(response.data.ai_form_completion.result))
- this.$emit('close')
- } else if (response.data.ai_form_completion.status === 'failed') {
- this.alertError('Something went wrong, please try again.')
- this.state = 'default'
- this.loading = false
- } else {
- this.fetchGeneratedForm(generationId)
- }
- }).catch(error => {
- this.alertError(error.response.data.message)
- this.state = 'default'
- this.loading = false
- })
- }, 4000)
- }
- }
-}
-</script>
diff --git a/resources/js/components/pages/forms/show/EmbedCode.vue b/resources/js/components/pages/forms/show/EmbedCode.vue
deleted file mode 100644
index 11c843b2d..000000000
--- a/resources/js/components/pages/forms/show/EmbedCode.vue
+++ /dev/null
@@ -1,55 +0,0 @@
-<template>
- <div>
- <h3 class="font-semibold text-xl">Embed</h3>
- <p>Embed your form on your website by copying the HTML code below.</p>
- <copy-content :content="embedCode" buttonText="Copy Code">
- <template #icon>
- <svg class="h-4 w-4 -mt-1 text-blue-600 inline mr-1" viewBox="0 0 18 18" fill="none"
- xmlns="http://www.w3.org/2000/svg">
- <path
- d="M11.0833 11.5L13.5833 9L11.0833 6.5M6.91667 6.5L4.41667 9L6.91667 11.5M5.5 16.5H12.5C13.9001 16.5 14.6002 16.5 15.135 16.2275C15.6054 15.9878 15.9878 15.6054 16.2275 15.135C16.5 14.6002 16.5 13.9001 16.5 12.5V5.5C16.5 4.09987 16.5 3.3998 16.2275 2.86502C15.9878 2.39462 15.6054 2.01217 15.135 1.77248C14.6002 1.5 13.9001 1.5 12.5 1.5H5.5C4.09987 1.5 3.3998 1.5 2.86502 1.77248C2.39462 2.01217 2.01217 2.39462 1.77248 2.86502C1.5 3.3998 1.5 4.09987 1.5 5.5V12.5C1.5 13.9001 1.5 14.6002 1.77248 15.135C2.01217 15.6054 2.39462 15.9878 2.86502 16.2275C3.3998 16.5 4.09987 16.5 5.5 16.5Z"
- stroke="currentColor" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
- </svg>
- </template>
- Copy Code
- </copy-content>
- </div>
-</template>
-
-<script>
-import CopyContent from '../../../open/forms/components/CopyContent.vue'
-
-export default {
- name: 'EmbedCode',
- components: { CopyContent },
- props: {
- form: { type: Object, required: true },
- extraQueryParam: { type: String, default: '' }
- },
-
- data: () => ({
-
- }),
-
- computed: {
- embedCode() {
- const share_url = (this.extraQueryParam) ? this.form.share_url + "?" + this.extraQueryParam : this.form.share_url + this.extraQueryParam
- return '<iframe style="border:none;width:100%;" height="' + this.formHeight + 'px" src="' + share_url + '"></iframe>'
- },
- formHeight() {
- let height = 200
- if (!this.form.hide_title && !this.extraQueryParam) {
- height += 60
- }
- height += this.form.properties.filter((property) => {
- return !property.hidden
- }).length * 70
-
- return height
- }
- },
-
- methods: {}
-}
-</script>
-
\ No newline at end of file
diff --git a/resources/js/components/pages/forms/show/EmbedFormAsPopupModal.vue b/resources/js/components/pages/forms/show/EmbedFormAsPopupModal.vue
deleted file mode 100644
index ee77284e5..000000000
--- a/resources/js/components/pages/forms/show/EmbedFormAsPopupModal.vue
+++ /dev/null
@@ -1,196 +0,0 @@
-<template>
- <div>
- <v-button
- v-track.share_embed_form_popup_click="{form_id:form.id, form_slug:form.slug}"
- class="w-full"
- color="light-gray"
- @click="showEmbedFormAsPopupModal=true"
- >
- <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 mr-4 text-blue-600 inline" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round"
- d="M2.25 12.76c0 1.6 1.123 2.994 2.707 3.227 1.068.157 2.148.279 3.238.364.466.037.893.281 1.153.671L12 21l2.652-3.978c.26-.39.687-.634 1.153-.67 1.09-.086 2.17-.208 3.238-.365 1.584-.233 2.707-1.626 2.707-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0012 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018z"
- />
- </svg>
- Embed form as popup
- </v-button>
-
- <modal :show="showEmbedFormAsPopupModal" @close="onClose">
- <template #icon>
- <svg xmlns="http://www.w3.org/2000/svg" class="w-10 h-10 text-blue" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round"
- d="M2.25 12.76c0 1.6 1.123 2.994 2.707 3.227 1.068.157 2.148.279 3.238.364.466.037.893.281 1.153.671L12 21l2.652-3.978c.26-.39.687-.634 1.153-.67 1.09-.086 2.17-.208 3.238-.365 1.584-.233 2.707-1.626 2.707-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0012 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018z"
- />
- </svg>
- </template>
- <template #title>
- <span>Add the popup to your website</span>
- </template>
-
- <div class="p-4">
- <h3 class="border-t text-xl font-semibold mb-2 pt-6">
- Demo
- </h3>
- <p class="pb-6">
- A live preview of your form popup was just added to this page. <span class="font-semibold text-blue-800">Click on the button on the bottom
- {{ advancedOptions.position }} corner to try it</span>.
- </p>
-
- <h3 class="border-t text-xl font-semibold mb-2 pt-6">
- How does it work?
- </h3>
- <p>Paste the following code snippet in the <b>&lt;head&gt;</b> section of your website.</p>
-
- <div
- class="border border-nt-blue-light bg-blue-50 dark:bg-notion-dark-light rounded-md p-4 mb-5 w-full mx-auto mt-4 select-all"
- >
- <div class="flex items-center">
- <p class="select-all text-nt-blue flex-grow break-all">
- {{ embedPopupCode }}
- </p>
- <div class="hover:bg-nt-blue-lighter rounded transition-colors cursor-pointer" @click="copyToClipboard">
- <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 text-nt-blue" fill="none" viewBox="0 0 24 24"
- stroke="currentColor"
- >
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
- d="M8 5H6a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2v-1M8 5a2 2 0 002 2h2a2 2 0 002-2M8 5a2 2 0 012-2h2a2 2 0 012 2m0 0h2a2 2 0 012 2v3m2 4H10m0 0l3-3m-3 3l3 3"
- />
- </svg>
- </div>
- </div>
- </div>
-
- <collapse class="py-5 w-full border rounded-md px-4" :model-value="false">
- <template #title>
- <div class="flex">
- <h3 class="font-semibold block text-lg">
- Advanced options
- </h3>
- </div>
- </template>
- <div class="border-t mt-4 -mx-4" />
- <toggle-switch-input v-model="advancedOptions.hide_title" name="hide_title" class="mt-4"
- label="Hide Form Title"
- :disabled="(form.hide_title===true)?true:null"
- :help="hideTitleHelp"
- />
- <color-input v-model="advancedOptions.bgcolor" name="bgcolor" class="mt-4"
- label="Circle Background Color"
- />
- <text-input v-model="advancedOptions.emoji" name="emoji" class="mt-4"
- label="Emoji" :max-char-limit="2"
- />
- <flat-select-input v-model="advancedOptions.position" name="position" class="mt-4"
- label="Position"
- :options="[
- {name:'Bottom Right',value:'right'},
- {name:'Bottom Left',value:'left'},
- ]"
- />
- <text-input v-model="advancedOptions.width" name="width" class="mt-4"
- label="Form pop max width (px)" native-type="number"
- />
- </collapse>
-
- <div class="flex justify-end mt-4">
- <v-button color="gray" shade="light" @click="onClose">
- Close
- </v-button>
- </div>
- </div>
- </modal>
- </div>
-</template>
-
-<script>
-import Collapse from '../../../common/Collapse.vue'
-
-export default {
- name: 'EmbedFormAsPopupModal',
- components: { Collapse },
- props: {
- form: { type: Object, required: true }
- },
-
- data: () => ({
- showEmbedFormAsPopupModal: false,
- embedScriptUrl: 'widgets/embed-min.js',
- advancedOptions: {
- hide_title: false,
- emoji: '💬',
- position: 'right',
- bgcolor: '#3B82F6',
- width: '500'
- }
- }),
-
- computed: {
- hideTitleHelp () {
- return this.form.hide_title ? 'This option is disabled because the form title is already hidden' : null
- },
- shareUrl () {
- return (this.advancedOptions.hide_title) ? this.form.share_url + '?hide_title=true' : this.form.share_url
- },
- embedPopupCode () {
- const nfData = {
- formurl: this.shareUrl,
- emoji: this.advancedOptions.emoji,
- position: this.advancedOptions.position,
- bgcolor: this.advancedOptions.bgcolor,
- width: this.advancedOptions.width
- }
- this.previewPopup(nfData)
- return '<script async data-nf=\'' + JSON.stringify(nfData) + '\' src=\'' + this.asset(this.embedScriptUrl) + '\'></scrip' + 't>'
- }
- },
-
- mounted () {
- this.advancedOptions.bgcolor = this.form.color
- },
-
- methods: {
- onClose () {
- this.removePreview()
- this.$crisp.push(['do', 'chat:show'])
- this.showEmbedFormAsPopupModal = false
- },
- copyToClipboard () {
- const str = this.embedPopupCode
- const el = document.createElement('textarea')
- el.value = str
- document.body.appendChild(el)
- el.select()
- document.execCommand('copy')
- document.body.removeChild(el)
- },
- removePreview () {
- const oldP = document.head.querySelector('#nf-popup-preview')
- if (oldP) {
- oldP.remove()
- }
- const oldM = document.body.querySelector('.nf-main')
- if (oldM) {
- oldM.remove()
- }
- },
- previewPopup (nfData) {
- if (!this.showEmbedFormAsPopupModal) {
- return
- }
-
- // Remove old preview, if there
- this.removePreview()
-
- // Hide crisp
- this.$crisp.push(['do', 'chat:hide'])
-
- // Add new preview
- const el = document.createElement('script')
- el.id = 'nf-popup-preview'
- el.async = true
- el.src = this.asset(this.embedScriptUrl)
- el.setAttribute('data-nf', JSON.stringify(nfData))
- document.head.appendChild(el)
- }
- }
-}
-</script>
diff --git a/resources/js/components/pages/forms/show/ExtraMenu.vue b/resources/js/components/pages/forms/show/ExtraMenu.vue
deleted file mode 100644
index 28ac3fb99..000000000
--- a/resources/js/components/pages/forms/show/ExtraMenu.vue
+++ /dev/null
@@ -1,221 +0,0 @@
-<template>
- <div>
- <div v-if="loadingDuplicate || loadingDelete" class="pr-4 pt-2">
- <loader class="h-6 w-6 mx-auto" />
- </div>
- <dropdown v-else class="inline" dusk="nav-dropdown">
- <template #trigger="actions">
- <v-button color="white" class="mr-2" @click.native="onClick(actions)">
- <svg class="w-4 h-4 inline -mt-1" viewBox="0 0 16 4" fill="none"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- d="M8.00016 2.83366C8.4604 2.83366 8.8335 2.46056 8.8335 2.00033C8.8335 1.54009 8.4604 1.16699 8.00016 1.16699C7.53993 1.16699 7.16683 1.54009 7.16683 2.00033C7.16683 2.46056 7.53993 2.83366 8.00016 2.83366Z"
- stroke="#344054" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"
- />
- <path
- d="M13.8335 2.83366C14.2937 2.83366 14.6668 2.46056 14.6668 2.00033C14.6668 1.54009 14.2937 1.16699 13.8335 1.16699C13.3733 1.16699 13.0002 1.54009 13.0002 2.00033C13.0002 2.46056 13.3733 2.83366 13.8335 2.83366Z"
- stroke="#344054" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"
- />
- <path
- d="M2.16683 2.83366C2.62707 2.83366 3.00016 2.46056 3.00016 2.00033C3.00016 1.54009 2.62707 1.16699 2.16683 1.16699C1.70659 1.16699 1.3335 1.54009 1.3335 2.00033C1.3335 2.46056 1.70659 2.83366 2.16683 2.83366Z"
- stroke="#344054" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"
- />
- </svg>
- </v-button>
- </template>
- <a v-if="isMainPage && user" v-track.view_form_click="{form_id:form.id, form_slug:form.slug}"
- :href="form.share_url"
- target="_blank"
- class="block px-4 py-2 text-md text-gray-700 dark:text-white hover:bg-gray-100 hover:text-gray-900 dark:text-gray-100 dark:hover:text-white dark:hover:bg-gray-600 flex items-center"
- >
- <svg class="w-4 h-4 mr-2" viewBox="0 0 24 24" fill="none"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path d="M1 12C1 12 5 4 12 4C19 4 23 12 23 12C23 12 19 20 12 20C5 20 1 12 1 12Z"
- stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
- />
- <path
- d="M12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z"
- stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
- />
- </svg>
- View form
- </a>
- <router-link v-if="isMainPage" v-track.edit_form_click="{form_id:form.id, form_slug:form.slug}"
- :to="{name:'forms.edit', params: {slug: form.slug}}"
- class="block block px-4 py-2 text-md text-gray-700 dark:text-white hover:bg-gray-100 hover:text-gray-900 dark:text-gray-100 dark:hover:text-white dark:hover:bg-gray-600 flex items-center"
- >
- <svg class="w-4 h-4 mr-2" width="18" height="17" viewBox="0 0 18 17" fill="none"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- d="M8.99998 15.6662H16.5M1.5 15.6662H2.89545C3.3031 15.6662 3.50693 15.6662 3.69874 15.6202C3.8688 15.5793 4.03138 15.512 4.1805 15.4206C4.34869 15.3175 4.49282 15.1734 4.78107 14.8852L15.25 4.4162C15.9404 3.72585 15.9404 2.60656 15.25 1.9162C14.5597 1.22585 13.4404 1.22585 12.75 1.9162L2.28105 12.3852C1.9928 12.6734 1.84867 12.8175 1.7456 12.9857C1.65422 13.1348 1.58688 13.2974 1.54605 13.4675C1.5 13.6593 1.5 13.8631 1.5 14.2708V15.6662Z"
- stroke="currentColor" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round"
- />
- </svg>
- Edit
- </router-link>
- <a v-if="isMainPage" href="#"
- class="block block px-4 py-2 text-md text-gray-700 dark:text-white hover:bg-gray-100 hover:text-gray-900 dark:text-gray-100 dark:hover:text-white dark:hover:bg-gray-600 flex items-center"
- @click.prevent="copyLink"
- >
- <svg class="w-4 h-4 mr-2" viewBox="0 0 16 10" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path
- d="M6.00016 8.33317H4.66683C2.82588 8.33317 1.3335 6.84079 1.3335 4.99984C1.3335 3.15889 2.82588 1.6665 4.66683 1.6665H6.00016M10.0002 8.33317H11.3335C13.1744 8.33317 14.6668 6.84079 14.6668 4.99984C14.6668 3.15889 13.1744 1.6665 11.3335 1.6665H10.0002M4.66683 4.99984L11.3335 4.99984"
- stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"
- />
- </svg>
- Copy link to share
- </a>
- <a v-track.duplicate_form_click="{form_id:form.id, form_slug:form.slug}"
- href="#"
- class="block block px-4 py-2 text-md text-gray-700 dark:text-white hover:bg-gray-100 hover:text-gray-900 dark:text-gray-100 dark:hover:text-white dark:hover:bg-gray-600 flex items-center"
- @click.prevent="duplicateForm"
- >
- <svg class="w-4 h-4 mr-2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
- stroke="currentColor"
- >
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
- d="M8 7v8a2 2 0 002 2h6M8 7V5a2 2 0 012-2h4.586a1 1 0 01.707.293l4.414 4.414a1 1 0 01.293.707V15a2 2 0 01-2 2h-2M8 7H6a2 2 0 00-2 2v10a2 2 0 002 2h8a2 2 0 002-2v-2"
- />
- </svg>
- Duplicate form
- </a>
- <a v-if="!isMainPage" v-track.create_template_click="{form_id:form.id, form_slug:form.slug}" href="#"
- class="block block px-4 py-2 text-md text-gray-700 dark:text-white hover:bg-gray-100 hover:text-gray-900 dark:text-gray-100 dark:hover:text-white dark:hover:bg-gray-600 flex items-center"
- @click.prevent="showFormTemplateModal=true"
- >
- <svg class="w-4 h-4 mr-2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
- stroke="currentColor" stroke-width="2"
- >
- <path stroke-linecap="round" stroke-linejoin="round"
- d="M17 14v6m-3-3h6M6 10h2a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v2a2 2 0 002 2zm10 0h2a2 2 0 002-2V6a2 2 0 00-2-2h-2a2 2 0 00-2 2v2a2 2 0 002 2zM6 20h2a2 2 0 002-2v-2a2 2 0 00-2-2H6a2 2 0 00-2 2v2a2 2 0 002 2z"
- />
- </svg>
- Create Template
- </a>
- <a v-track.delete_form_click="{form_id:form.id, form_slug:form.slug}"
- href="#"
- class="block block px-4 py-2 text-md text-red-600 hover:bg-red-50 flex items-center"
- @click.prevent="showDeleteFormModal=true"
- >
- <svg class="w-4 h-4 mr-2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
- stroke="currentColor"
- >
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
- d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"
- />
- </svg>
- Delete form
- </a>
- </dropdown>
-
- <!-- Delete Form Modal -->
- <modal :show="showDeleteFormModal" icon-color="red" max-width="sm" @close="showDeleteFormModal=false">
- <template #icon>
- <svg class="w-10 h-10" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
- stroke="currentColor"
- >
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
- d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"
- />
- </svg>
- </template>
- <template #title>
- Delete form
- </template>
- <div class="p-3">
- <p>
- If you want to permanently delete this form and all of its data, you can do so below.
- </p>
- <div class="flex mt-4">
- <v-button class="sm:w-1/2 mr-4" color="white" @click.prevent="showDeleteFormModal=false">
- Cancel
- </v-button>
- <v-button class="sm:w-1/2" color="red" :loading="loadingDelete" @click.prevent="deleteForm">
- Yes, delete it
- </v-button>
- </div>
- </div>
- </modal>
-
- <form-template-modal v-if="!isMainPage && user" :form="form" :show="showFormTemplateModal"
- @close="showFormTemplateModal=false"
- />
- </div>
-</template>
-
-<script>
-import axios from 'axios'
-import { computed } from 'vue'
-import { useAuthStore } from '../../../../stores/auth'
-import { useFormsStore } from '../../../../stores/forms'
-import Dropdown from '../../../common/Dropdown.vue'
-import FormTemplateModal from '../../../open/forms/components/templates/FormTemplateModal.vue'
-
-export default {
- name: 'ExtraMenu',
- components: { Dropdown, FormTemplateModal },
- props: {
- form: { type: Object, required: true },
- isMainPage: { type: Boolean, required: false, default: false }
- },
-
- setup () {
- const authStore = useAuthStore()
- const formsStore = useFormsStore()
- return {
- formsStore,
- router: useRouter(),
- user: computed(() => authStore.user)
- }
- },
-
- data: () => ({
- loadingDuplicate: false,
- loadingDelete: false,
- showDeleteFormModal: false,
- showFormTemplateModal: false
- }),
-
- computed: {
- formEndpoint: () => '/api/open/forms/{id}'
- },
-
- methods: {
- onClick (actions) {
- console.log('click', actions)
- },
- copyLink () {
- const el = document.createElement('textarea')
- el.value = this.form.share_url
- document.body.appendChild(el)
- el.select()
- document.execCommand('copy')
- document.body.removeChild(el)
- this.alertSuccess('Copied!')
- },
- duplicateForm () {
- if (this.loadingDuplicate) return
- this.loadingDuplicate = true
- opnFetch(this.formEndpoint.replace('{id}', this.form.id) + '/duplicate', { method: 'POST' }).then((response) => {
- this.formsStore.save(response.data.new_form)
- this.router.push({ name: 'forms.show', params: { slug: response.data.new_form.slug } })
- this.alertSuccess('Form was successfully duplicated.')
- this.loadingDuplicate = false
- })
- },
- deleteForm () {
- if (this.loadingDelete) return
- this.loadingDelete = true
- axios.delete(this.formEndpoint.replace('{id}', this.form.id)).then(() => {
- this.formsStore.remove(this.form.id)
- this.router.push({ name: 'home' })
- this.alertSuccess('Form was deleted.')
- this.loadingDelete = false
- })
- }
- }
-}
-</script>
diff --git a/resources/js/components/pages/forms/show/FormCleanings.vue b/resources/js/components/pages/forms/show/FormCleanings.vue
deleted file mode 100644
index 1d76c0e33..000000000
--- a/resources/js/components/pages/forms/show/FormCleanings.vue
+++ /dev/null
@@ -1,107 +0,0 @@
-<template>
- <v-transition>
- <div v-if="hasCleanings && !hideWarning" class="border border-gray-300 dark:border-gray-600 rounded-md bg-white p-2"
- :class="{'hover:bg-yellow-50 dark:hover:bg-yellow-900':!collapseOpened}"
- >
- <collapse v-model="collapseOpened">
- <template #title>
- <p class="text-yellow-500 dark:text-yellow-400 font-semibold text-sm p-1 pr-4">
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
- stroke="currentColor" class="w-6 h-6 inline"
- >
- <path stroke-linecap="round" stroke-linejoin="round"
- d="M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z"
- />
- </svg>
- Some features that are included in our {{ form.is_pro ? 'Enterprise' : 'Pro' }} plan are disabled when
- publicly sharing this form<span v-if="specifyFormOwner"> (only owners of this form can see this)</span>.
- </p>
- </template>
-
- <div class="border-t mt-1 p-4 pb-2 -mx-2">
- <p class="text-gray-500 text-sm" v-html="cleaningContent" />
- <p class="text-gray-500 text-sm mb-4 font-semibold">
- <router-link :to="{name:'pricing'}">
- {{ form.is_pro ? 'Upgrade your OpnForms plan today' : 'Start your free OpnForms trial' }}
- </router-link>
- to unlock all of our features and build powerful forms.
- </p>
- <div class="flex flex-wrap items-end w-full">
- <div class="flex-grow flex pr-2">
- <v-button v-track.upgrade_from_form_cleanings_click size="small" class="inline-block" :to="{name:'pricing'}">
- {{ form.is_pro ? 'Upgrade plan' : 'Start free trial' }}
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
- stroke="currentColor" class="w-4 h-4 inline -mt-[2px]"
- >
- <path stroke-linecap="round" stroke-linejoin="round" d="M13.5 4.5L21 12m0 0l-7.5 7.5M21 12H3" />
- </svg>
- </v-button>
- <v-button color="white" size="small" class="ml-2" @click.prevent="openCrisp">
- Contact us
- </v-button>
- </div>
- <v-button v-if="hideable" color="white" size="small" class="mt-2" @click.prevent="hideWarning=true">
- Hide warning
- </v-button>
- </div>
- </div>
- </collapse>
- </div>
- </v-transition>
-</template>
-<script>
-
-import Collapse from '../../../common/Collapse.vue'
-import VButton from '../../../common/Button.vue'
-import VTransition from '../../../common/transitions/VTransition.vue'
-
-export default {
- name: 'FormCleanings',
- components: { VTransition, VButton, Collapse },
- props: {
- form: { type: Object, required: true },
- specifyFormOwner: { type: Boolean, default: false },
- hideable: { type: Boolean, default: false }
- },
- data () {
- return {
- collapseOpened: false,
- hideWarning: false
- }
- },
- computed: {
- hasCleanings () {
- return this.form.cleanings && Object.keys(this.form.cleanings).length > 0
- },
- cleanings () {
- return this.form.cleanings
- },
- cleaningContent () {
- let message = ''
- Object.keys(this.cleanings).forEach((key) => {
- let fieldName = key.charAt(0).toUpperCase() + key.slice(1)
- if (fieldName !== 'Form') {
- fieldName = '"' + fieldName + '" field'
- }
- let fieldInfo = '<span class="font-semibold">' + fieldName + '</span><br/><ul class=\'list-disc list-inside\'>'
- this.cleanings[key].forEach((msg) => {
- fieldInfo = fieldInfo + '<li>' + msg + '</li>'
- })
- if (fieldInfo) {
- message = message + fieldInfo + '<ul/><br/>'
- }
- })
- return message
- }
- },
- watch: {},
- mounted () {
- },
- methods: {
- openCrisp () {
- this.$crisp.push(['do', 'chat:show'])
- this.$crisp.push(['do', 'chat:open'])
- }
- }
-}
-</script>
diff --git a/resources/js/components/pages/forms/show/FormQrCode.vue b/resources/js/components/pages/forms/show/FormQrCode.vue
deleted file mode 100644
index d01b25a65..000000000
--- a/resources/js/components/pages/forms/show/FormQrCode.vue
+++ /dev/null
@@ -1,50 +0,0 @@
-<template>
- <div>
- <h3 class="font-semibold text-xl">QR Code</h3>
- <p>Scan the QR code to open the form (Right click to copy the image)</p>
- <div class="flex items-center">
- <img v-if="QrUrl" :src="QrUrl" class="m-auto" />
- </div>
- </div>
-</template>
-
-<script>
-import QRCode from 'qrcode'
-export default {
- name: 'FormQrCode',
- props: {
- form: { type: Object, required: true },
- extraQueryParam: { type: String, default: '' }
- },
-
- data () {
- return {
- QrUrl: null
- }
- },
-
- computed: {
- shareUrl () {
- return (this.extraQueryParam) ? this.form.share_url + "?" + this.extraQueryParam : this.form.share_url + this.extraQueryParam
- }
- },
-
- watch: {
- shareUrl () {
- this.generateQR()
- }
- },
-
- mounted () {
- this.generateQR()
- },
-
- methods: {
- generateQR () {
- QRCode.toDataURL(this.shareUrl).then(url => {
- this.QrUrl = url
- })
- }
- }
-}
-</script>
diff --git a/resources/js/components/pages/forms/show/RegenerateFormLink.vue b/resources/js/components/pages/forms/show/RegenerateFormLink.vue
deleted file mode 100644
index 3d35ef1ed..000000000
--- a/resources/js/components/pages/forms/show/RegenerateFormLink.vue
+++ /dev/null
@@ -1,117 +0,0 @@
-<template>
- <div>
- <v-button
- class="w-full"
- color="light-gray"
- v-track.regenerate_form_link_click="{form_id:form.id, form_slug:form.slug}"
- @click="showGenerateFormLinkModal=true"
- >
- <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 mr-4 text-blue-600 inline" fill="none"
- viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
- d="M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1"
- />
- </svg>
- Regenerate form link
- </v-button>
-
- <!-- Regenerate form link modal -->
- <modal :show="showGenerateFormLinkModal" @close="showGenerateFormLinkModal=false">
- <template #icon>
- <svg xmlns="http://www.w3.org/2000/svg" class="w-10 h-10 text-blue-600" fill="none" viewBox="0 0 24 24"
- stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
- d="M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1"
- />
- </svg>
- </template>
- <template #title>
- Generate new form link
- </template>
- <div class="p-4">
- <p>
- You can choose between two different URL formats for your form.
- <span class="font-semibold">Be careful, changing your form URL is not a reversible operation</span>.
- Make sure to udpate your form URL everywhere where it's used.
- </p>
- <div class="border-t py-4 mt-4">
- <h3 class="text-xl text-gray-700 font-semibold">
- Human Readable URL
- </h3>
- <p>If your users are going to see this url, you might want to make nice and readable. Example:</p>
- <p class="text-gray-600 border p-4 bg-gray-50 rounded-md mt-4">
- https://opnform.com/forms/contact
- </p>
- <div class="text-center mt-4">
- <v-button :loading="loadingNewLink" color="outline-blue" @click="regenerateLink('slug')">
- Generate a Human Readable URL
- </v-button>
- </div>
- </div>
- <div class="border-t pt-4 mt-4">
- <h3 class="text-xl text-gray-700 font-semibold">
- Random ID URL
- </h3>
- <p>
- If your user are not going to see your form url (if it's embedded), and if you prefer to have a random
- non-guessable URL. Example:
- </p>
- <p class="text-gray-600 p-4 border bg-gray-50 rounded-md mt-4">
- https://opnform.com/forms/b4417f9c-34ae-4421-8006-832ee47786e7
- </p>
- <div class="text-center mt-4">
- <v-button :loading="loadingNewLink" color="outline-blue" @click="regenerateLink('uuid')">
- Generate a Random ID URL
- </v-button>
- </div>
- </div>
- </div>
- </modal>
-
- </div>
-</template>
-
-<script>
-import { computed } from 'vue'
-import axios from 'axios'
-import { useFormsStore } from '../../../../stores/forms'
-
-export default {
- name: 'RegenerateFormLink',
- components: {},
- props: {
- form: { type: Object, required: true }
- },
-
- setup () {
- const formsStore = useFormsStore()
- return {
- formsStore
- }
- },
-
- data: () => ({
- loadingNewLink: false,
- showGenerateFormLinkModal: false,
- }),
-
- computed: {
- formEndpoint: () => '/api/open/forms/{id}',
- },
-
- methods: {
- regenerateLink(option) {
- if (this.loadingNewLink) return
- this.loadingNewLink = true
- axios.put(this.formEndpoint.replace('{id}', this.form.id) + '/regenerate-link/' + option).then((response) => {
- this.formsStore.addOrUpdate(response.data.form)
- this.$router.push({name: 'forms.show', params: {slug: response.data.form.slug}})
- this.alertSuccess(response.data.message)
- this.loadingNewLink = false
- }).finally(() => {
- this.showGenerateFormLinkModal = false
- })
- },
- }
-}
-</script>
diff --git a/resources/js/components/pages/forms/show/ShareLink.vue b/resources/js/components/pages/forms/show/ShareLink.vue
deleted file mode 100644
index b9e0f88a9..000000000
--- a/resources/js/components/pages/forms/show/ShareLink.vue
+++ /dev/null
@@ -1,44 +0,0 @@
-<template>
- <div>
- <h3 class="font-semibold text-xl">Share Link</h3>
- <p>Your form is now published and ready to be shared with the world! Copy this link to share your form
- on social media, messaging apps or via email.</p>
- <copy-content :content="share_url" :is-draft="form.visibility=='draft'">
- <template #icon>
- <svg class="h-4 w-4 -mt-1 text-blue-600 inline mr-1" viewBox="0 0 20 10" fill="none"
- xmlns="http://www.w3.org/2000/svg">
- <path
- d="M7.49984 9.16634H5.83317C3.53198 9.16634 1.6665 7.30086 1.6665 4.99967C1.6665 2.69849 3.53198 0.833008 5.83317 0.833008H7.49984M12.4998 9.16634H14.1665C16.4677 9.16634 18.3332 7.30086 18.3332 4.99967C18.3332 2.69849 16.4677 0.833008 14.1665 0.833008H12.4998M5.83317 4.99967L14.1665 4.99968"
- stroke="currentColor" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
- </svg>
- </template>
- Copy Link
- </copy-content>
- </div>
-</template>
-
-<script>
-import CopyContent from '../../../open/forms/components/CopyContent.vue'
-
-export default {
- name: 'ShareLink',
- components: { CopyContent },
- props: {
- form: { type: Object, required: true },
- extraQueryParam: { type: String, default: '' }
- },
-
- data: () => ({
-
- }),
-
- computed: {
- share_url () {
- return (this.extraQueryParam) ? this.form.share_url + '?' + this.extraQueryParam : this.form.share_url + this.extraQueryParam
- }
- },
-
- methods: {}
-}
-</script>
-
\ No newline at end of file
diff --git a/resources/js/components/pages/forms/show/UrlFormPrefill.vue b/resources/js/components/pages/forms/show/UrlFormPrefill.vue
deleted file mode 100644
index e0240c654..000000000
--- a/resources/js/components/pages/forms/show/UrlFormPrefill.vue
+++ /dev/null
@@ -1,99 +0,0 @@
-<template>
- <div class="flex">
- <v-button
- class="w-full"
- color="light-gray"
- v-track.url_form_prefill_click="{form_id:form.id, form_slug:form.slug}"
- @click="showUrlFormPrefillModal=true"
- >
- <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 mr-4 text-blue-600 inline" fill="none"
- viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
- d="M17 16v2a2 2 0 01-2 2H5a2 2 0 01-2-2v-7a2 2 0 012-2h2m3-4H9a2 2 0 00-2 2v7a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-1m-1 4l-3 3m0 0l-3-3m3 3V3"
- />
- </svg>
- Url form pre-fill
- </v-button>
-
- <modal :show="showUrlFormPrefillModal" @close="showUrlFormPrefillModal=false">
- <template #icon>
- <svg xmlns="http://www.w3.org/2000/svg" class="w-10 h-10 text-blue" fill="none" viewBox="0 0 24 24" stroke="currentColor">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
- d="M17 16v2a2 2 0 01-2 2H5a2 2 0 01-2-2v-7a2 2 0 012-2h2m3-4H9a2 2 0 00-2 2v7a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-1m-1 4l-3 3m0 0l-3-3m3 3V3"
- />
- </svg>
- </template>
- <template #title>
- <span>Url Form Prefill</span>
- </template>
-
- <div class="p-4" ref="content">
- <p>
- Create dynamic links when sharing your form (whether it's embedded or not), that allows you to prefill
- your form fields. You can use this to personalize the form when sending it to multiple contacts for instance.
- </p>
-
- <h3 class="mt-6 border-t text-xl font-semibold mb-4 pt-6">
- How does it work?
- </h3>
-
- <p>
- Complete your form below and fill only the fields you want to prefill. You can even leave the required fields empty.
- </p>
-
- <div class="rounded-lg p-5 bg-gray-100 dark:bg-gray-900 mt-4">
- <open-form v-if="form" :theme="theme" :loading="false" :show-hidden="true" :form="form" :fields="form.properties" @submit="generateUrl">
- <template #submit-btn="{submitForm}">
- <v-button class="mt-2 px-8 mx-1" @click.prevent="submitForm">
- Generate Pre-filled URL
- </v-button>
- </template>
- </open-form>
- </div>
-
- <template v-if="prefillFormData">
- <h3 class="mt-6 text-xl font-semibold mb-4 pt-6">
- Your Prefill url
- </h3>
- <form-url-prefill :form="form" :form-data="prefillFormData" :extra-query-param="extraQueryParam" />
- </template>
-
- </div>
- </modal>
- </div>
-</template>
-
-<script>
-import FormUrlPrefill from '../../../open/forms/components/FormUrlPrefill.vue'
-import ProTag from '../../../common/ProTag.vue'
-import OpenForm from '../../../open/forms/OpenForm.vue'
-import { themes } from '~/config/form-themes.js'
-
-export default {
- name: 'UrlFormPrefill',
- components: { FormUrlPrefill, ProTag, OpenForm },
- props: {
- form: { type: Object, required: true },
- extraQueryParam: { type: String, default: '' }
- },
-
- data: () => ({
- prefillFormData: null,
- theme: themes.default,
- showUrlFormPrefillModal: false,
- }),
-
- computed: {},
-
- methods: {
- generateUrl (formData, onFailure) {
- this.prefillFormData = formData
- this.$nextTick().then(() => {
- if (this.$refs.content) {
- this.$refs.content.parentElement.parentElement.parentElement.scrollTop = this.$refs.content.offsetHeight
- }
- })
- }
- }
-}
-</script>
diff --git a/resources/js/components/pages/pricing/CheckoutDetailsModal.vue b/resources/js/components/pages/pricing/CheckoutDetailsModal.vue
deleted file mode 100644
index a0051f553..000000000
--- a/resources/js/components/pages/pricing/CheckoutDetailsModal.vue
+++ /dev/null
@@ -1,101 +0,0 @@
-<template>
- <modal :show="show" max-width="lg" @close="close">
- <text-input ref="companyName" label="Company Name" name="name" :required="true" :form="form" help="Name that will appear on invoices" />
- <text-input label="Email" name="email" native-type="email" :required="true" :form="form" help="Where invoices will be sent" />
- <v-button :loading="form.busy || loading" :disabled="(form.busy || loading)?true:null" class="mt-6 block mx-auto"
- :arrow="true" @click="saveDetails"
- >
- Go to checkout
- </v-button>
- </modal>
-</template>
-
-<script>
-import { computed } from 'vue'
-import axios from 'axios'
-import Form from 'vform'
-import { useAuthStore } from '../../../stores/auth'
-import TextInput from '../../forms/TextInput.vue'
-import VButton from '../../common/Button.vue'
-
-export default {
- components: { VButton, TextInput },
- props: {
- show: {
- type: Boolean,
- default: false
- },
- plan: {
- type: String,
- default: 'pro'
- },
- yearly: {
- type: Boolean,
- default: true
- }
- },
-
- setup () {
- const authStore = useAuthStore()
- return {
- user: computed(() => authStore.user)
- }
- },
-
- data: () => ({
- form: new Form({
- name: '',
- email: ''
- }),
- loading: false
- }),
-
- computed: {},
-
- watch: {
- user () {
- this.updateUser()
- },
- show () {
- // Wait for modal to open and focus on first field
- setTimeout(() => {
- if (this.$refs.companyName) {
- this.$refs.companyName.$el.querySelector('input').focus()
- }
- }, 300)
-
- this.loading = false
- }
- },
-
- mounted () {
- this.updateUser()
- },
-
- methods: {
- updateUser () {
- if (this.user) {
- this.form.name = this.user.name
- this.form.email = this.user.email
- }
- },
- saveDetails () {
- if (this.form.busy) return
- this.form.put('api/subscription/update-customer-details').then(() => {
- this.loading = true
- axios.get('/api/subscription/new/' + this.plan + '/' + (!this.yearly ? 'monthly' : 'yearly') + '/checkout/with-trial').then((response) => {
- window.location = response.data.checkout_url
- }).catch((error) => {
- this.alertError(error.response.data.message)
- }).finally(() => {
- this.loading = false
- this.close()
- })
- })
- },
- close () {
- this.$emit('close')
- }
- }
-}
-</script>
diff --git a/resources/js/components/pages/pricing/CustomPlan.vue b/resources/js/components/pages/pricing/CustomPlan.vue
deleted file mode 100644
index c4f170424..000000000
--- a/resources/js/components/pages/pricing/CustomPlan.vue
+++ /dev/null
@@ -1,41 +0,0 @@
-<template>
- <div class="border relative max-w-5xl mx-auto mt-4 lg:mt-10">
- <div class="w-full">
- <div class="rounded-lg bg-gray-50 dark:bg-gray-800 px-6 py-8 sm:p-10 lg:flex lg:items-center">
- <div class="flex-1">
- <h3 class="inline-flex px-4 py-1 rounded-full text-md font-bold tracking-wide uppercase bg-white text-gray-800">
- Custom plan
- </h3>
- <div class="mt-4 text-md text-gray-600 dark:text-gray-400">
- Get a custom file upload limit, enterprise-level support, custom contract, dedicated application instance in a specific region, payment via invoice/PO etc.
- </div>
- </div>
- <div class="mt-6 rounded-md lg:mt-0 lg:ml-10 lg:flex-shrink-0">
- <v-button color="white" class="w-full mt-4" @click.prevent="customPlanClick">
- Contact us
- </v-button>
- </div>
- </div>
- </div>
- </div>
-</template>
-
-<script>
-export default {
- name: 'CustomPlan',
- components: {},
- props: {},
-
- data: () => ({}),
-
- computed: {},
-
- methods: {
- customPlanClick () {
- window.$crisp.push(['do', 'chat:show'])
- window.$crisp.push(['do', 'chat:open'])
- window.$crisp.push(['do', 'message:send', ['text', 'Hi, I would like to discuss about a custom plan']])
- }
- }
-}
-</script>
diff --git a/resources/js/components/pages/pricing/MonthlyYearlySelector.vue b/resources/js/components/pages/pricing/MonthlyYearlySelector.vue
deleted file mode 100644
index fdf5be7b1..000000000
--- a/resources/js/components/pages/pricing/MonthlyYearlySelector.vue
+++ /dev/null
@@ -1,37 +0,0 @@
-<template>
- <div class="border border-gray-300 rounded-xl flex p-1 relative">
- <button class="font-semibold block flex-grow cursor-pointer">
- <div
- class="p-2 px-3 rounded-lg transition-colors"
- :class="{'bg-blue-500 text-white': !modelValue}"
- @click="set(false)"
- >
- Monthly
- </div>
- </button>
- <button class="font-semibold block flex-grow cursor-pointer" @click="set(true)">
- <div
- class="p-2 px-4 rounded-lg transition-colors"
- :class="{'bg-blue-500 text-white': modelValue}"
- >
- Yearly
- </div>
- </button>
- <div class="absolute hidden sm:block text-gray-500 text-xs mt-12">
- Save 20% with annual plans
- </div>
- </div>
-</template>
-
-<script setup>
-import { defineEmits, defineProps } from 'vue'
-
-defineProps({
- modelValue: { type: Boolean, required: true }
-})
-const emit = defineEmits()
-
-const set = (value) => {
- emit('update:modelValue', value)
-}
-</script>
diff --git a/resources/js/components/pages/pricing/PricingTable.vue b/resources/js/components/pages/pricing/PricingTable.vue
deleted file mode 100644
index 32dbaeb84..000000000
--- a/resources/js/components/pages/pricing/PricingTable.vue
+++ /dev/null
@@ -1,173 +0,0 @@
-<template>
- <div class="w-full">
- <section class="relative">
- <div v-if="!homePage" class="absolute inset-0 grid" aria-hidden="true">
- <div class="bg-gray-100" />
- <div class="bg-white" />
- </div>
-
- <div class="px-4 mx-auto max-w-7xl sm:px-6 lg:px-8">
- <div class="max-w-5xl mx-auto bg-white shadow-xl rounded-3xl ring-1 ring-gray-200 lg:flex isolate">
- <div class="p-8 sm:p-8 lg:flex-auto">
- <h3 v-if="homePage" class="text-3xl font-semibold tracking-tight text-gray-950">
- Check out our
- <span class="ml-2 text-nt-blue">
- <svg class="inline w-10 h-10" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
- <g opacity="0.12">
- <path d="M15.9998 27.3333L10.6665 12H21.3332L15.9998 27.3333Z" fill="currentColor" />
- <path d="M13.3332 4H9.33317L2.6665 12L10.6665 12L13.3332 4Z" fill="currentColor" />
- <path d="M18.6665 4H22.6665L29.3332 12L21.3332 12L18.6665 4Z" fill="currentColor" />
- </g>
- <path
- d="M3.33345 12H28.6668M13.3334 4L10.6668 12L16.0001 27.3333L21.3334 12L18.6668 4M16.8195 27.0167L28.7644 12.6829C28.9668 12.4399 29.0681 12.3185 29.1067 12.1829C29.1408 12.0633 29.1408 11.9367 29.1067 11.8171C29.0681 11.6815 28.9668 11.5601 28.7644 11.3171L22.9866 4.3838C22.8691 4.24273 22.8103 4.17219 22.7382 4.12148C22.6744 4.07654 22.6031 4.04318 22.5277 4.02289C22.4426 4 22.3508 4 22.1672 4H9.83305C9.64941 4 9.55758 4 9.4725 4.02289C9.39711 4.04318 9.32586 4.07654 9.26202 4.12148C9.18996 4.17219 9.13118 4.24273 9.01361 4.3838L3.23583 11.3171C3.0334 11.5601 2.93218 11.6815 2.8935 11.8171C2.85939 11.9366 2.85939 12.0633 2.8935 12.1829C2.93218 12.3185 3.0334 12.4399 3.23583 12.6829L15.1807 27.0167C15.4621 27.3544 15.6028 27.5232 15.7713 27.5848C15.919 27.6388 16.0812 27.6388 16.229 27.5848C16.3974 27.5232 16.5381 27.3544 16.8195 27.0167Z"
- stroke="currentColor" stroke-width="2.66667" stroke-linecap="round" stroke-linejoin="round"
- />
- </svg>
- Pro Features
- </span>
- </h3>
- <h3 v-else class="text-3xl font-semibold tracking-tight text-gray-950">
- Pro Plan
- </h3>
- <p class="mt-2 text-base font-medium leading-7 text-gray-600">
- OpnForm Pro offers empowering features tailored to the advanced needs of teams and creators. Enjoy our
- free 3-day trial!
- </p>
-
- <div class="flex items-center mt-6 gap-x-4">
- <h4 class="flex-none text-sm font-semibold leading-6 tracking-widest text-gray-400 uppercase">
- What's included
- </h4>
- <div class="flex-auto h-px bg-gray-200" />
- </div>
-
- <ul role="list"
- class="grid grid-cols-1 gap-4 mt-4 text-sm font-medium leading-6 text-gray-900 sm:grid-cols-2 sm:gap-x-6 sm:gap-y-2"
- >
- <li v-for="(title, i) in pricingInfo" :key="i" class="flex gap-x-3">
- <svg aria-hidden="true" class="w-5 h-5 shrink-0 stroke-blue-600" viewBox="0 0 24 24" fill="none"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path d="M20 6L9 17L4 12" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
- </svg>
- {{ title }}
- </li>
- <slot name="pricing-table" />
- </ul>
- </div>
-
- <div class="p-2 -mt-2 flex-col lg:mt-0 lg:w-full lg:max-w-md lg:flex-shrink-0">
- <div
- class="grow h-full py-10 text-center rounded-2xl bg-gray-50 ring-1 ring-inset ring-gray-900/5 lg:flex lg:flex-col lg:justify-center lg:py-12"
- >
- <div class="max-w-xs px-8 mx-auto space-y-6">
- <div class="flex items-center justify-center mb-10">
- <monthly-yearly-selector v-model="isYearly" />
- </div><!-- lg+ -->
-
- <p class="flex flex-col items-center">
- <span class="text-6xl font-semibold tracking-tight text-gray-950">
- <template v-if="isYearly">$16</template>
- <template v-else>$19</template>
- </span>
- <span class="text-sm font-medium leading-6 text-gray-600">
- per month
- </span>
- </p>
-
- <div class="flex justify-center">
- <v-button v-if="!authenticated" class="mr-1" :to="{ name: 'register' }" :arrow="true">
- Start free trial
- </v-button>
- <v-button v-else-if="authenticated && user.is_subscribed" class="mr-1" :arrow="true"
- @click.prevent="openBilling"
- >
- View Billing
- </v-button>
- <v-button v-else class="mr-1" :arrow="true" @click.prevent="openCustomerCheckout('default')">
- Start free trial
- </v-button>
- </div>
- <p v-if="!homePage" class="text-xs font-medium leading-5 text-gray-600">
- Invoices and receipts available for easy company reimbursement.
- </p>
- </div>
- </div>
- </div>
- </div>
- </div>
- </section>
-
- <custom-plan v-if="!homePage" />
-
- <checkout-details-modal :show="showDetailsModal" :yearly="isYearly" :plan="selectedPlan"
- @close="showDetailsModal=false"
- />
- </div>
-</template>
-
-<script>
-import { computed } from 'vue'
-import { useAuthStore } from '../../../stores/auth'
-import axios from 'axios'
-import MonthlyYearlySelector from './MonthlyYearlySelector.vue'
-import CheckoutDetailsModal from './CheckoutDetailsModal.vue'
-import CustomPlan from './CustomPlan.vue'
-
-MonthlyYearlySelector.compatConfig = { MODE: 3 }
-
-export default {
- components: {
- MonthlyYearlySelector,
- CheckoutDetailsModal,
- CustomPlan
- },
- props: {
- homePage: {
- type: Boolean,
- default: false
- }
- },
- setup () {
- const authStore = useAuthStore()
- return {
- authenticated : computed(() => authStore.check),
- user : computed(() => authStore.user)
- }
- },
- data: () => ({
- isYearly: true,
- selectedPlan: 'pro',
- showDetailsModal: false,
-
- pricingInfo: [
- 'Form confirmation emails',
- 'Slack notifications',
- 'Discord notifications',
- 'Editable submissions',
- '1 Custom domain',
- 'Custom code',
- 'Larger file uploads (50mb)',
- 'Remove OpnForm branding',
- 'Priority support'
- ]
- }),
-
- methods: {
- openCustomerCheckout (plan) {
- this.selectedPlan = plan
- this.showDetailsModal = true
- },
- openBilling () {
- this.billingLoading = true
- axios.get('/api/subscription/billing-portal').then((response) => {
- this.billingLoading = false
- const url = response.data.portal_url
- window.location = url
- })
- }
- },
-
- computed: {}
-}
-</script>
diff --git a/resources/js/components/pages/templates/SingleTemplate.vue b/resources/js/components/pages/templates/SingleTemplate.vue
deleted file mode 100644
index 306a4e192..000000000
--- a/resources/js/components/pages/templates/SingleTemplate.vue
+++ /dev/null
@@ -1,87 +0,0 @@
-<template>
- <div v-if="template" class="relative group">
- <div v-if="template.is_new" class="absolute top-0 right-0 p-3 z-10">
- <span
- class="inline-flex items-center gap-1 rounded-full bg-blue-500 px-2 py-1 text-xs font-medium text-white"
- >
- <svg aria-hidden="true" class="h-3 w-3" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"
- fill="currentColor"
- >
- <path fill-rule="evenodd"
- d="M5 2a1 1 0 011 1v1h1a1 1 0 010 2H6v1a1 1 0 01-2 0V6H3a1 1 0 010-2h1V3a1 1 0 011-1zm0 10a1 1 0 011 1v1h1a1 1 0 110 2H6v1a1 1 0 11-2 0v-1H3a1 1 0 110-2h1v-1a1 1 0 011-1zM12 2a1 1 0 01.967.744L14.146 7.2 17.5 9.134a1 1 0 010 1.732l-3.354 1.935-1.18 4.455a1 1 0 01-1.933 0L9.854 12.8 6.5 10.866a1 1 0 010-1.732l3.354-1.935 1.18-4.455A1 1 0 0112 2z"
- clip-rule="evenodd"
- />
- </svg>
- New
- </span>
- </div>
-
- <div class="aspect-[4/3] rounded-lg shadow-sm overflow-hidden">
- <img class="group-hover:scale-110 transition-all duration-200 h-full object-cover w-full"
- :src="template.image_url" alt=""
- >
- </div>
- <p
- class="text-lg font-semibold leading-tight tracking-tight text-gray-900 mt-4 group-hover:text-blue-500 transition-all duration-150"
- >
- {{ template.name }}
- </p>
- <p class="line-clamp-2 mt-2 text-sm font-normal text-gray-600">
- {{ cleanQuotes(template.short_description) }}
- </p>
- <template-tags :slug="template.slug"
- class="flex mt-4 items-center flex-wrap gap-3"
- />
- <router-link :to="{params:{slug:template.slug},name:'templates.show'}" title="">
- <span class="absolute inset-0" aria-hidden="true" />
- </router-link>
- </div>
-</template>
-
-<script>
-import { useTemplatesStore } from '../../../stores/templates'
-import TemplateTags from './TemplateTags.vue'
-
-export default {
- components: { TemplateTags },
-
- props: {
- slug: {
- type: String,
- required: true
- }
- },
-
- setup () {
- const templatesStore = useTemplatesStore()
- return {
- templatesStore
- }
- },
-
- data: () => ({}),
-
- computed: {
- template () {
- return this.templatesStore.getBySlug(this.slug)
- }
- },
-
- watch: {
- slug () {
- this.templatesStore.loadTemplate(this.slug)
- }
- },
-
- mounted () {
- this.templatesStore.loadTemplate(this.slug)
- },
-
- methods: {
- cleanQuotes (str) {
- // Remove starting and ending quotes if any
- return (str) ? str.replace(/^"/, '').replace(/"$/, '') : ''
- }
- }
-}
-</script>
diff --git a/resources/js/components/pages/templates/TemplateTags.vue b/resources/js/components/pages/templates/TemplateTags.vue
deleted file mode 100644
index b84cf7b1a..000000000
--- a/resources/js/components/pages/templates/TemplateTags.vue
+++ /dev/null
@@ -1,84 +0,0 @@
-<template>
- <div v-if="template">
- <template v-if="displayAll">
- <span v-if="template.is_new"
- class="inline-flex items-center gap-1 px-2 py-1 text-xs font-medium text-white bg-blue-500 rounded-full"
- >
- <svg aria-hidden="true" class="w-3 h-3" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"
- fill="currentColor"
- >
- <path fill-rule="evenodd"
- d="M5 2a1 1 0 011 1v1h1a1 1 0 010 2H6v1a1 1 0 01-2 0V6H3a1 1 0 010-2h1V3a1 1 0 011-1zm0 10a1 1 0 011 1v1h1a1 1 0 110 2H6v1a1 1 0 11-2 0v-1H3a1 1 0 110-2h1v-1a1 1 0 011-1zM12 2a1 1 0 01.967.744L14.146 7.2 17.5 9.134a1 1 0 010 1.732l-3.354 1.935-1.18 4.455a1 1 0 01-1.933 0L9.854 12.8 6.5 10.866a1 1 0 010-1.732l3.354-1.935 1.18-4.455A1 1 0 0112 2z"
- clip-rule="evenodd"
- />
- </svg>
- New
- </span>
- <span v-for="item in types"
- class="inline-flex items-center rounded-full bg-gray-50 dark:bg-gray-800 dark:text-gray-400 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10"
- >
- {{ item }}
- </span>
- <span v-for="item in industries"
- class="inline-flex items-center rounded-full bg-blue-50 dark:bg-blue-900 dark:text-gray-400 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-700/10"
- >
- {{ item }}
- </span>
- </template>
- <template v-else>
- <span v-if="types.length > 0"
- class="inline-flex items-center rounded-full bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10"
- >
- {{ types[0] }} <template v-if="types.length > 1">+{{ types.length - 1 }}</template>
- </span>
- <span v-if="industries.length > 0"
- class="inline-flex items-center rounded-full bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-700/10"
- >
- {{ industries[0] }} <template v-if="industries.length > 1">+{{ industries.length - 1 }}</template>
- </span>
- </template>
- </div>
-</template>
-
-<script>
-import { computed } from 'vue'
-import { useTemplatesStore } from '../../../stores/templates'
-
-export default {
- props: {
- slug: {
- type: String,
- required: true
- },
- displayAll: {
- type: Boolean,
- default: false
- }
- },
-
- setup () {
- const templatesStore = useTemplatesStore()
- return {
- templatesStore
- }
- },
-
- data: () => ({}),
-
- computed: {
- template () {
- return this.templatesStore.getBySlug(this.slug)
- },
- types () {
- if (!this.template) return null
- return this.templatesStore.getTemplateTypes(this.template.types)
- },
- industries () {
- if (!this.template) return null
- return this.templatesStore.getTemplateIndustries(this.template.industries)
- }
- },
-
- methods: {}
-}
-</script>
diff --git a/resources/js/components/pages/templates/TemplatesList.vue b/resources/js/components/pages/templates/TemplatesList.vue
deleted file mode 100644
index d2e34f186..000000000
--- a/resources/js/components/pages/templates/TemplatesList.vue
+++ /dev/null
@@ -1,190 +0,0 @@
-<template>
- <div>
- <section class="bg-white py-12">
- <div class="px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto">
- <div class="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4 sm:gap-6 relative z-20">
- <div class="flex items-center gap-4">
- <div class="flex-1 sm:flex-none">
- <select-input v-model="selectedType" name="type"
- :options="typesOptions" class="w-full sm:w-auto md:w-56"
- />
- </div>
- <div class="flex-1 sm:flex-none">
- <select-input v-model="selectedIndustry" name="industry"
- :options="industriesOptions" class="w-full sm:w-auto md:w-56"
- />
- </div>
- </div>
- <div class="flex-1 w-full md:max-w-xs">
- <text-input name="search" :form="searchTemplate" placeholder="Search..." />
- </div>
- </div>
-
- <div v-if="templatesLoading" class="text-center mt-4">
- <loader class="h-6 w-6 text-nt-blue mx-auto" />
- </div>
- <p v-else-if="enrichedTemplates.length === 0" class="text-center mt-4">
- No templates found.
- </p>
- <div v-else class="relative z-10">
- <div class="grid grid-cols-1 mt-8 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-8 sm:gap-y-12">
- <single-template v-for="template in enrichedTemplates" :key="template.id" :slug="template.slug" />
- </div>
- </div>
- </div>
- </section>
-
- <template v-if="!onlyMy">
- <section class="py-12 bg-white border-t border-gray-200 sm:py-16">
- <div class="px-4 mx-auto sm:px-6 lg:px-8 max-w-7xl">
- <div class="flex items-center justify-between">
- <h4 class="text-xl font-bold tracking-tight text-gray-900 sm:text-2xl">
- All Types
- </h4>
- </div>
-
- <div class="grid grid-cols-1 gap-8 mt-8 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4">
- <router-link v-for="row in types" :key="row.slug"
- :to="{params:{slug:row.slug}, name:'templates.types.show'}"
- :title="row.name"
- class="text-gray-600 dark:text-gray-400 transition-colors duration-300 hover:text-nt-blue"
- >
- {{ row.name }}
- </router-link>
- </div>
- </div>
- </section>
-
- <section class="py-12 bg-white border-t border-gray-200 sm:py-16">
- <div class="px-4 mx-auto sm:px-6 lg:px-8 max-w-7xl">
- <div class="flex items-center justify-between">
- <h4 class="text-xl font-bold tracking-tight text-gray-900 sm:text-2xl">
- All Industries
- </h4>
- </div>
-
- <div class="grid grid-cols-1 gap-8 mt-8 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4">
- <router-link v-for="row in industries" :key="row.slug"
- :to="{params:{slug:row.slug}, name:'templates.industries.show'}"
- :title="row.name"
- class="text-gray-600 dark:text-gray-400 transition-colors duration-300 hover:text-nt-blue"
- >
- {{ row.name }}
- </router-link>
- </div>
- </div>
- </section>
- </template>
- </div>
-</template>
-
-<script>
-import { computed } from 'vue'
-import { useAuthStore } from '../../../stores/auth'
-import { useTemplatesStore } from '../../../stores/templates'
-import Form from 'vform'
-import Fuse from 'fuse.js'
-import SingleTemplate from './SingleTemplate.vue'
-
-const loadTemplates = function (onlyMy) {
- const templatesStore = useTemplatesStore()
- if(onlyMy){
- templatesStore.loadAll({'onlymy':true})
- } else {
- templatesStore.loadIfEmpty()
- }
-}
-
-export default {
- name: 'TemplatesList',
- components: { SingleTemplate },
- props: {
- onlyMy: {
- type: Boolean,
- required: false
- }
- },
-
- setup () {
- const authStore = useAuthStore()
- const templatesStore = useTemplatesStore()
- return {
- user : computed(() => authStore.user),
- templates : computed(() => templatesStore.content),
- templatesLoading : computed(() => templatesStore.loading),
- industries : computed(() => templatesStore.industries),
- types : computed(() => templatesStore.types)
- }
- },
-
- data: () => ({
- selectedType: 'all',
- selectedIndustry: 'all',
- searchTemplate: new Form({
- search: ''
- })
- }),
-
- watch: {},
-
- mounted () {
- loadTemplates(this.onlyMy)
- },
-
- computed: {
- industriesOptions () {
- return [{ name: 'All Industries', value: 'all' }].concat(Object.values(this.industries).map((industry) => {
- return {
- name: industry.name,
- value: industry.slug
- }
- }))
- },
- typesOptions () {
- return [{ name: 'All Types', value: 'all' }].concat(Object.values(this.types).map((type) => {
- return {
- name: type.name,
- value: type.slug
- }
- }))
- },
- enrichedTemplates () {
- let enrichedTemplates = (this.onlyMy && this.user) ? this.templates.filter((item) => { return item.creator_id === this.user.id}) : this.templates
-
- // Filter by Selected Type
- if (this.selectedType && this.selectedType !== 'all') {
- enrichedTemplates = enrichedTemplates.filter((item) => {
- return (item.types && item.types.length > 0) ? item.types.includes(this.selectedType) : false
- })
- }
-
- // Filter by Selected Industry
- if (this.selectedIndustry && this.selectedIndustry !== 'all') {
- enrichedTemplates = enrichedTemplates.filter((item) => {
- return (item.industries && item.industries.length > 0) ? item.industries.includes(this.selectedIndustry) : false
- })
- }
-
- if (this.searchTemplate.search === '' || this.searchTemplate.search === null) {
- return enrichedTemplates
- }
-
- // Fuze search
- const fuzeOptions = {
- keys: [
- 'name',
- 'slug',
- 'description',
- 'short_description'
- ]
- }
- const fuse = new Fuse(enrichedTemplates, fuzeOptions)
- return fuse.search(this.searchTemplate.search).map((res) => {
- return res.item
- })
- }
- },
-
- methods: {}
-}
-</script>
diff --git a/resources/js/components/pages/welcome/AiFeature.vue b/resources/js/components/pages/welcome/AiFeature.vue
deleted file mode 100644
index ca599490a..000000000
--- a/resources/js/components/pages/welcome/AiFeature.vue
+++ /dev/null
@@ -1,105 +0,0 @@
-<template>
- <div class="py-8">
- <section>
- <div class="mx-auto max-w-7xl isolate sm:px-6 lg:px-8">
- <div
- class="relative px-4 pt-16 overflow-hidden bg-blue-100 ring-blue-100 ring-1 sm:shadow-lg isolate sm:rounded-2xl sm:px-16 md:pt-20 lg:flex lg:gap-x-20 lg:px-16 lg:pt-0 sm:shadow-gray-600/10">
- <div class="absolute inset-0">
- <img class="object-cover object-top w-full h-full" :src="asset('img/pages/ai_form_builder/background-pattern-ai.svg')" alt="">
- </div>
-
- <div class="relative max-w-md mx-auto text-center xl:max-w-lg lg:mx-0 lg:flex-auto lg:py-16 lg:text-left">
- <span
- class="bg-white text-xs font-semibold inline-flex items-center shadow-sm ring-blue-200 ring-1 text-blue-600 px-2.5 py-1.5 rounded-full">
- <svg aria-hidden="true" class="w-4 h-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"
- fill="currentColor">
- <path fill-rule="evenodd"
- d="M5 2a1 1 0 011 1v1h1a1 1 0 010 2H6v1a1 1 0 01-2 0V6H3a1 1 0 010-2h1V3a1 1 0 011-1zm0 10a1 1 0 011 1v1h1a1 1 0 110 2H6v1a1 1 0 11-2 0v-1H3a1 1 0 110-2h1v-1a1 1 0 011-1zM12 2a1 1 0 01.967.744L14.146 7.2 17.5 9.134a1 1 0 010 1.732l-3.354 1.935-1.18 4.455a1 1 0 01-1.933 0L9.854 12.8 6.5 10.866a1 1 0 010-1.732l3.354-1.935 1.18-4.455A1 1 0 0112 2z"
- clip-rule="evenodd" />
- </svg>
- Introducing OpnForm AI
- </span>
-
- <h2 class="mt-6 text-2xl font-semibold tracking-tight text-gray-900 sm:text-3xl lg:text-4xl">
- Say goodbye to tedious form building with OpnForm's new <span
- class="text-transparent bg-clip-text bg-gradient-to-r lg:block from-blue-600 to-blue-300">AI-powered
- feature!</span>
- </h2>
- <p class="mt-4 text-base font-medium leading-7 text-gray-500 sm:text-lg sm:leading-8">
- Easily generate a fully working form in seconds with just a simple description.
- </p>
-
- <ul
- class="flex flex-wrap items-center justify-center gap-4 mt-6 text-sm font-medium text-gray-900 lg:justify-start sm:mt-8">
- <li class="flex items-center gap-2">
- <svg aria-hidden="true" class="w-5 h-5 text-gray-400 shrink-0" xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20" fill="currentColor">
- <path fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd" />
- </svg>
- Create form in minutes
- </li>
-
- <li class="flex items-center gap-2">
- <svg aria-hidden="true" class="w-5 h-5 text-gray-400 shrink-0" xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20" fill="currentColor">
- <path fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd" />
- </svg>
- Customizations
- </li>
-
- <li class="flex items-center gap-2">
- <svg aria-hidden="true" class="w-5 h-5 text-gray-400 shrink-0" xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20" fill="currentColor">
- <path fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd" />
- </svg>
- No-coding required
- </li>
- </ul>
-
- <div class="mt-6 sm:mt-8 flex text-center justify-center lg:justify-start">
- <v-button v-if="!authenticated" class="mr-2 block" :to="{ name: 'forms.create.guest' }" :arrow="true">
- Get started for free
- </v-button>
- <v-button v-else class="mr-2 block" :to="{ name: 'forms.create' }" :arrow="true">
- Get started for free
- </v-button>
- <v-button color="light-gray" class="mr-1 block" :to="{ name: 'aiformbuilder' }">
- Learn more
- </v-button>
- </div>
- </div>
-
- <div
- class="relative px-6 mx-auto mt-8 lg:px-0 sm:mt-12 lg:bottom-0 lg:right-0 lg:absolute lg:max-w-md xl:max-w-none">
- <img class="rounded-t-2xl ring-1 ring-blue-100 lg:rounded-tr-none"
- :src="asset('img/pages/ai_form_builder/ai-feature-illustration.svg')" alt="App screenshot">
- </div>
- </div>
- </div>
- </section>
- </div>
-</template>
-
-<script>
-import { computed } from 'vue'
-import { useAuthStore } from '../../../stores/auth'
-
-export default {
- setup () {
- const authStore = useAuthStore()
- return {
- authenticated : computed(() => authStore.check)
- }
- },
- props: {},
- data: () => ({}),
- computed: {},
- methods: {}
-}
-</script>
diff --git a/resources/js/components/pages/welcome/Features.vue b/resources/js/components/pages/welcome/Features.vue
deleted file mode 100644
index 1251db8a3..000000000
--- a/resources/js/components/pages/welcome/Features.vue
+++ /dev/null
@@ -1,130 +0,0 @@
-<template>
- <div id="features" class="px-4 mx-auto sm:max-w-xl md:max-w-full lg:max-w-screen-xl md:px-24 lg:px-8">
-
- <div class="mb-16 max-w-xl md:mx-auto sm:text-center lg:max-w-2xl ">
- <h2
- class="mb-6 font-sans text-4xl font-semibold leading-none tracking-tight text-gray-900 dark:text-gray-100 sm:text-4xl md:mx-auto">
- The easiest way to create forms. <br/>
- Generous unlimited <span class="text-nt-blue">free plan.</span>
- </h2>
- <p class="text-base text-gray-700 dark:text-gray-300 md:text-lg">
- Need a contact form? Doing a survey? Create a form in 2 minutes and start receiving submissions.
- </p>
- </div>
-
- <div class="flex flex-wrap items-center mt-16" :class="{'md:flex-row-reverse':index%2==1}" v-for="(step,index) in [
- {
- title: 'Create',
- description: 'Create a form in 2 minutes. More than 10 input types, images, logic and much more.',
- features: [
- 'Build a simple form in minutes.',
- 'No coding needed.'
- ],
- img: '/img/pages/welcome/step-1.jpg'
- },
- {
- title: 'Share',
- description: 'Your form has a unique link that you can share everywhere. Send the link, or even embed the form on your website.',
- features: [
- 'Share the link to your form',
- 'Embed the form on your website'
- ],
- img: '/img/pages/welcome/step-2.jpg'
- },
- {
- title: 'Get Results',
- description: 'Receive your form submissions. Receive notifications, send confirmations. Export submissions and check your form analytics.',
- features: [
- 'Unlimited form submissions for free',
- 'Easily export submissions as CSV',
- 'Views & Submissions Analytics'
- ],
- img: '/img/pages/welcome/step-3.jpg'
- }
- ]" :key="step.title">
- <div class="w-full md:w-1/2 lg:w-5/12" :class="{'md:pl-4':index%2==1, 'md:pr-4':index%2==0}">
- <svg v-if="step.title=='Create'" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"
- stroke="currentColor" class="w-10 h-10 text-nt-blue">
- <path
- d="M22 7.99997H13.6C10.2397 7.99997 8.55953 7.99997 7.27606 8.65393C6.14708 9.22917 5.2292 10.1471 4.65396 11.276C4 12.5595 4 14.2397 4 17.6V34.4C4 37.7603 4 39.4404 4.65396 40.7239C5.2292 41.8529 6.14708 42.7708 7.27606 43.346C8.55953 44 10.2397 44 13.6 44H30.4C33.7603 44 35.4405 44 36.7239 43.346C37.8529 42.7708 38.7708 41.8529 39.346 40.7239C40 39.4404 40 37.7603 40 34.4V26M15.9999 32H19.349C20.3274 32 20.8166 32 21.2769 31.8894C21.6851 31.7915 22.0753 31.6298 22.4331 31.4105C22.8368 31.1632 23.1827 30.8173 23.8745 30.1255L43 11C44.6569 9.34311 44.6569 6.65682 43 4.99997C41.3431 3.34311 38.6569 3.34311 37 4.99996L17.8745 24.1255C17.1827 24.8173 16.8368 25.1632 16.5894 25.5668C16.3701 25.9247 16.2085 26.3149 16.1105 26.723C15.9999 27.1834 15.9999 27.6726 15.9999 28.6509V32Z"
- stroke="currentColor" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
- </svg>
- <svg v-else-if="step.title=='Share'" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"
- stroke="currentColor" class="w-10 h-10 text-nt-blue">
- <path
- d="M17.18 27.02L30.84 34.98M30.82 13.02L17.18 20.98M42 10C42 13.3137 39.3137 16 36 16C32.6863 16 30 13.3137 30 10C30 6.68629 32.6863 4 36 4C39.3137 4 42 6.68629 42 10ZM18 24C18 27.3137 15.3137 30 12 30C8.68629 30 6 27.3137 6 24C6 20.6863 8.68629 18 12 18C15.3137 18 18 20.6863 18 24ZM42 38C42 41.3137 39.3137 44 36 44C32.6863 44 30 41.3137 30 38C30 34.6863 32.6863 32 36 32C39.3137 32 42 34.6863 42 38Z"
- stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
- </svg>
- <svg v-else-if="step.title=='Share'" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
- stroke-width="1.5" stroke="currentColor" class="w-10 h-10 text-nt-blue">
- <path stroke-linecap="round" stroke-linejoin="round"
- d="M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L10.582 16.07a4.5 4.5 0 01-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 011.13-1.897l8.932-8.931zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0115.75 21H5.25A2.25 2.25 0 013 18.75V8.25A2.25 2.25 0 015.25 6H10"/>
- </svg>
- <svg v-else-if="step.title=='Get Results'" class="w-10 h-10 text-nt-blue" viewBox="0 0 48 48" fill="none"
- xmlns="http://www.w3.org/2000/svg">
- <path
- d="M42 42H9.2C8.07989 42 7.51984 42 7.09202 41.782C6.71569 41.5903 6.40973 41.2843 6.21799 40.908C6 40.4802 6 39.9201 6 38.8V6M40 16L32.1623 24.3653C31.8652 24.6823 31.7167 24.8409 31.5375 24.9228C31.3794 24.9951 31.2051 25.0249 31.0319 25.0093C30.8357 24.9916 30.6429 24.8915 30.2574 24.6913L23.7426 21.3087C23.3571 21.1085 23.1643 21.0084 22.9681 20.9907C22.7949 20.9751 22.6206 21.0049 22.4625 21.0772C22.2833 21.1591 22.1348 21.3177 21.8377 21.6347L14 30"
- stroke="currentColor" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
- </svg>
-
-
- <h4 class="my-5 text-2xl font-medium">{{ index + 1 }}. {{ step.title }}</h4>
- <p class="dark:text-white">
- {{ step.description }}
- </p>
- <div class="mb-8">
- <div class="flex mt-4" v-for="feature in step.features" :key="feature">
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
- stroke="currentColor" class="w-4 h-4 mt-1 mr-2 text-nt-blue">
- <path stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"/>
- </svg>
- {{ feature }}
- </div>
- </div>
- </div>
- <div class="w-full md:w-1/2 lg:w-7/12 flex items-center justify-center relative w-full"
- :class="{'md:pr-8':index%2==1, 'md:pl-8':index%2==0}">
- <img loading="lazy" class="block rounded-2xl w-full"
- :src="step.img" alt="cover-product">
- </div>
- </div>
-
- <div class="grid md:grid-cols-3 mt-20">
- <div class="mb-8 md:mr-10">
- <svg class="w-10 h-10 text-nt-blue" viewBox="0 0 44 42" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M26.0006 40H18.0006M2.58828 9.63978C2.55958 6.73709 4.12455 4.02649 6.6527 2.59999M41.405 9.6398C41.4337 6.7371 39.8687 4.0265 37.3406 2.60001M34.0006 14C34.0006 10.8174 32.7363 7.76516 30.4859 5.51472C28.2354 3.26428 25.1832 2 22.0006 2C18.818 2 15.7658 3.26428 13.5153 5.51472C11.2649 7.76516 10.0006 10.8174 10.0006 14C10.0006 20.1804 8.44154 24.4119 6.69993 27.2108C5.23085 29.5717 4.49631 30.7522 4.52325 31.0815C4.55307 31.4461 4.63032 31.5852 4.92415 31.8032C5.18951 32 6.38578 32 8.7783 32H35.2229C37.6154 32 38.8117 32 39.077 31.8032C39.3709 31.5852 39.4481 31.4461 39.4779 31.0815C39.5049 30.7522 38.7703 29.5718 37.3013 27.2108C35.5597 24.4119 34.0006 20.1804 34.0006 14Z" stroke="currentColor" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
- </svg>
- <h3 class="my-3 font-semibold">Notifications</h3>
- <p>Receive notifications directly in Slack or in your mailbox whenever your from has a new submission (if you
- want to).</p>
- </div>
- <div class="mb-8 md:mr-10">
- <svg class="w-10 h-10 text-nt-blue" viewBox="0 0 45 44" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M21.6666 2H27.0666C30.4269 2 32.1071 2 33.3906 2.65396C34.5195 3.2292 35.4374 4.14708 36.0127 5.27606C36.6666 6.55953 36.6666 8.23969 36.6666 11.6V32.4C36.6666 35.7603 36.6666 37.4405 36.0127 38.7239C35.4374 39.8529 34.5195 40.7708 33.3906 41.346C32.1071 42 30.4269 42 27.0666 42H14.2666C10.9063 42 9.22615 42 7.94268 41.346C6.81371 40.7708 5.89583 39.8529 5.32059 38.7239C4.66663 37.4405 4.66663 35.7603 4.66663 32.4V31M28.6666 24H19.6666M28.6666 16H21.6666M28.6666 32H12.6666M8.66663 18V7C8.66663 5.34315 10.0098 4 11.6666 4C13.3235 4 14.6666 5.34315 14.6666 7V18C14.6666 21.3137 11.9803 24 8.66663 24C5.35292 24 2.66663 21.3137 2.66663 18V10" stroke="currentColor" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
- </svg>
- <h3 class="my-3 font-semibold">File Uploads</h3>
- <p>Easily add file upload inputs to your forms. Uploaded files are securely stored for you. Up to 5mb!</p>
- </div>
- <div class="mb-8 md:mr-10">
- <svg class="w-10 h-10 text-nt-blue" viewBox="0 0 45 44" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M2.33331 22C2.33331 33.0457 11.2876 42 22.3333 42C25.647 42 28.3333 39.3137 28.3333 36V35C28.3333 34.0712 28.3333 33.6067 28.3846 33.2168C28.7391 30.5244 30.8578 28.4058 33.5502 28.0513C33.9401 28 34.4045 28 35.3333 28H36.3333C39.647 28 42.3333 25.3137 42.3333 22C42.3333 10.9543 33.379 2 22.3333 2C11.2876 2 2.33331 10.9543 2.33331 22Z" stroke="currentColor" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
- <path d="M12.3333 24C13.4379 24 14.3333 23.1046 14.3333 22C14.3333 20.8954 13.4379 20 12.3333 20C11.2287 20 10.3333 20.8954 10.3333 22C10.3333 23.1046 11.2287 24 12.3333 24Z" stroke="currentColor" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
- <path d="M30.3333 16C31.4379 16 32.3333 15.1046 32.3333 14C32.3333 12.8954 31.4379 12 30.3333 12C29.2287 12 28.3333 12.8954 28.3333 14C28.3333 15.1046 29.2287 16 30.3333 16Z" stroke="currentColor" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
- <path d="M18.3333 14C19.4379 14 20.3333 13.1046 20.3333 12C20.3333 10.8954 19.4379 10 18.3333 10C17.2287 10 16.3333 10.8954 16.3333 12C16.3333 13.1046 17.2287 14 18.3333 14Z" stroke="currentColor" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>
- </svg>
- <h3 class="my-3 font-semibold">Customize Everything</h3>
- <p>Change form themes, change texts, colors, add images, add custom thank you pages and much more.</p>
- </div>
- </div>
- </div>
-</template>
-
-<script>
-export default {
-
- props: {},
- data: () => ({}),
-
- methods: {}
-}
-</script>
diff --git a/resources/js/components/pages/welcome/MoreFeatures.vue b/resources/js/components/pages/welcome/MoreFeatures.vue
deleted file mode 100644
index da71f3a05..000000000
--- a/resources/js/components/pages/welcome/MoreFeatures.vue
+++ /dev/null
@@ -1,84 +0,0 @@
-<template>
- <div class="bg-gray-50 dark:bg-notion-dark py-8">
- <div class="md:max-w-5xl md:mx-auto w-full">
- <div class="my-5 text-center">
- <h3 class="font-semibold text-3xl">And many more features</h3>
- <p class="w-full mt-2 mb-8">
- OpnForm makes form building easy and comes with powerful features.
- </p>
- <div class="grid grid-cols-2 md:grid-cols-3 mt-10 mb-5 ml-5 md:ml-0 px-4">
- <div class="flex font-semibold my-3">
- <svg class="w-5 h-5 mr-2 text-nt-blue" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M10.5 3.5H17.8C18.9201 3.5 19.4802 3.5 19.908 3.71799C20.2843 3.90973 20.5903 4.21569 20.782 4.59202C21 5.01984 21 5.57989 21 6.7V8C21 8.93188 21 9.39783 20.8478 9.76537C20.6448 10.2554 20.2554 10.6448 19.7654 10.8478C19.3978 11 18.9319 11 18 11M12.5 18.5H5.2C4.0799 18.5 3.51984 18.5 3.09202 18.282C2.71569 18.0903 2.40973 17.7843 2.21799 17.408C2 16.9802 2 16.4201 2 15.3V14C2 13.0681 2 12.6022 2.15224 12.2346C2.35523 11.7446 2.74458 11.3552 3.23463 11.1522C3.60218 11 4.06812 11 5 11M9.8 13.5H13.2C13.48 13.5 13.62 13.5 13.727 13.4455C13.8211 13.3976 13.8976 13.3211 13.9455 13.227C14 13.12 14 12.98 14 12.7V9.3C14 9.01997 14 8.87996 13.9455 8.773C13.8976 8.67892 13.8211 8.60243 13.727 8.5545C13.62 8.5 13.48 8.5 13.2 8.5H9.8C9.51997 8.5 9.37996 8.5 9.273 8.5545C9.17892 8.60243 9.10243 8.67892 9.0545 8.773C9 8.87996 9 9.01997 9 9.3V12.7C9 12.98 9 13.12 9.0545 13.227C9.10243 13.3211 9.17892 13.3976 9.273 13.4455C9.37996 13.5 9.51997 13.5 9.8 13.5ZM17.3 21H20.7C20.98 21 21.12 21 21.227 20.9455C21.3211 20.8976 21.3976 20.8211 21.4455 20.727C21.5 20.62 21.5 20.48 21.5 20.2V16.8C21.5 16.52 21.5 16.38 21.4455 16.273C21.3976 16.1789 21.3211 16.1024 21.227 16.0545C21.12 16 20.98 16 20.7 16H17.3C17.02 16 16.88 16 16.773 16.0545C16.6789 16.1024 16.6024 16.1789 16.5545 16.273C16.5 16.38 16.5 16.52 16.5 16.8V20.2C16.5 20.48 16.5 20.62 16.5545 20.727C16.6024 20.8211 16.6789 20.8976 16.773 20.9455C16.88 21 17.02 21 17.3 21ZM2.3 6H5.7C5.98003 6 6.12004 6 6.227 5.9455C6.32108 5.89757 6.39757 5.82108 6.4455 5.727C6.5 5.62004 6.5 5.48003 6.5 5.2V1.8C6.5 1.51997 6.5 1.37996 6.4455 1.273C6.39757 1.17892 6.32108 1.10243 6.227 1.0545C6.12004 1 5.98003 1 5.7 1H2.3C2.01997 1 1.87996 1 1.773 1.0545C1.67892 1.10243 1.60243 1.17892 1.5545 1.273C1.5 1.37996 1.5 1.51997 1.5 1.8V5.2C1.5 5.48003 1.5 5.62004 1.5545 5.727C1.60243 5.82108 1.67892 5.89757 1.773 5.9455C1.87996 6 2.01997 6 2.3 6Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
- </svg>
- Form logic
- </div>
- <div class="flex font-semibold my-3">
- <svg class="w-5 h-5 mr-2 text-nt-blue" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M1.5 11H21.5M1.5 11C1.5 16.5228 5.97715 21 11.5 21M1.5 11C1.5 5.47715 5.97715 1 11.5 1M21.5 11C21.5 16.5228 17.0228 21 11.5 21M21.5 11C21.5 5.47715 17.0228 1 11.5 1M11.5 1C14.0013 3.73835 15.4228 7.29203 15.5 11C15.4228 14.708 14.0013 18.2616 11.5 21M11.5 1C8.99872 3.73835 7.57725 7.29203 7.5 11C7.57725 14.708 8.99872 18.2616 11.5 21" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
- </svg>
- URL pre-fill
- </div>
- <div class="flex font-semibold my-3">
- <svg class="w-5 h-5 mr-2 text-nt-blue" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M7.99999 1L4.99999 19M16 1L13 19M19 6H2M18 14H1" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
- </svg>
- Unique submission ID
- </div>
- <div class="flex font-semibold my-3">
- <svg class="w-5 h-5 mr-2 text-nt-blue" viewBox="0 0 23 20" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M10.2429 3.09232C10.6494 3.03223 11.0686 3 11.5004 3C16.6054 3 19.9553 7.50484 21.0807 9.28682C21.2169 9.5025 21.285 9.61034 21.3231 9.77667C21.3518 9.90159 21.3517 10.0987 21.3231 10.2236C21.2849 10.3899 21.2164 10.4985 21.0792 10.7156C20.7793 11.1901 20.3222 11.8571 19.7165 12.5805M6.22432 4.71504C4.06225 6.1817 2.59445 8.21938 1.92111 9.28528C1.78428 9.50187 1.71587 9.61016 1.67774 9.77648C1.6491 9.9014 1.64909 10.0984 1.67771 10.2234C1.71583 10.3897 1.78393 10.4975 1.92013 10.7132C3.04554 12.4952 6.39541 17 11.5004 17C13.5588 17 15.3319 16.2676 16.7888 15.2766M2.50042 1L20.5004 19M9.3791 7.87868C8.8362 8.42157 8.50042 9.17157 8.50042 10C8.50042 11.6569 9.84356 13 11.5004 13C12.3288 13 13.0788 12.6642 13.6217 12.1213" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
- </svg>
- Hidden fields
- </div>
- <div class="flex font-semibold my-3">
- <svg class="w-5 h-5 mr-2 text-nt-blue" viewBox="0 0 19 20" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M14.5 8V6C14.5 3.23858 12.2614 1 9.5 1C6.73858 1 4.5 3.23858 4.5 6V8M9.5 12.5V14.5M6.3 19H12.7C14.3802 19 15.2202 19 15.862 18.673C16.4265 18.3854 16.8854 17.9265 17.173 17.362C17.5 16.7202 17.5 15.8802 17.5 14.2V12.8C17.5 11.1198 17.5 10.2798 17.173 9.63803C16.8854 9.07354 16.4265 8.6146 15.862 8.32698C15.2202 8 14.3802 8 12.7 8H6.3C4.61984 8 3.77976 8 3.13803 8.32698C2.57354 8.6146 2.1146 9.07354 1.82698 9.63803C1.5 10.2798 1.5 11.1198 1.5 12.8V14.2C1.5 15.8802 1.5 16.7202 1.82698 17.362C2.1146 17.9265 2.57354 18.3854 3.13803 18.673C3.77976 19 4.61984 19 6.3 19Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
- </svg>
- Form password
- </div>
- <div class="flex font-semibold my-3">
- <svg class="w-5 h-5 mr-2 text-nt-blue" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M16.5 13C14.8431 13 13.5 14.3431 13.5 16C13.5 17.6569 14.8431 19 16.5 19C18.1569 19 19.5 17.6569 19.5 16C19.5 14.3431 18.1569 13 16.5 13ZM16.5 13V6C16.5 5.46957 16.2893 4.96086 15.9142 4.58579C15.5391 4.21071 15.0304 4 14.5 4H11.5M4.5 7C6.15685 7 7.5 5.65685 7.5 4C7.5 2.34315 6.15685 1 4.5 1C2.84315 1 1.5 2.34315 1.5 4C1.5 5.65685 2.84315 7 4.5 7ZM4.5 7V19" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
- </svg>
- Webhooks
- </div>
- <div class="flex font-semibold my-3">
- <svg class="w-5 h-5 mr-2 text-nt-blue" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M13 13L16 10L13 7M8 7L5 10L8 13M6.3 19H14.7C16.3802 19 17.2202 19 17.862 18.673C18.4265 18.3854 18.8854 17.9265 19.173 17.362C19.5 16.7202 19.5 15.8802 19.5 14.2V5.8C19.5 4.11984 19.5 3.27976 19.173 2.63803C18.8854 2.07354 18.4265 1.6146 17.862 1.32698C17.2202 1 16.3802 1 14.7 1H6.3C4.61984 1 3.77976 1 3.13803 1.32698C2.57354 1.6146 2.1146 2.07354 1.82698 2.63803C1.5 3.27976 1.5 4.11984 1.5 5.8V14.2C1.5 15.8802 1.5 16.7202 1.82698 17.362C2.1146 17.9265 2.57354 18.3854 3.13803 18.673C3.77976 19 4.61984 19 6.3 19Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
- </svg>
- Custom code
- </div>
- <div class="flex font-semibold my-3">
- <svg class="w-5 h-5 mr-2 text-nt-blue" viewBox="0 0 21 22" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M19.5 7H1.5M14.5 1V4M6.5 1V4M10.5 17V11M7.5 14H13.5M6.3 21H14.7C16.3802 21 17.2202 21 17.862 20.673C18.4265 20.3854 18.8854 19.9265 19.173 19.362C19.5 18.7202 19.5 17.8802 19.5 16.2V7.8C19.5 6.11984 19.5 5.27976 19.173 4.63803C18.8854 4.07354 18.4265 3.6146 17.862 3.32698C17.2202 3 16.3802 3 14.7 3H6.3C4.61984 3 3.77976 3 3.13803 3.32698C2.57354 3.6146 2.1146 4.07354 1.82698 4.63803C1.5 5.27976 1.5 6.11984 1.5 7.8V16.2C1.5 17.8802 1.5 18.7202 1.82698 19.362C2.1146 19.9265 2.57354 20.3854 3.13803 20.673C3.77976 21 4.61984 21 6.3 21Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
- </svg>
- Closing date
- </div>
- <div class="flex font-semibold my-3">
- <svg class="w-5 h-5 mr-2 text-nt-blue" viewBox="0 0 19 18" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M9.5 3C10.0523 3 10.5 2.55228 10.5 2C10.5 1.44772 10.0523 1 9.5 1C8.94772 1 8.5 1.44772 8.5 2C8.5 2.55228 8.94772 3 9.5 3Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
- <path d="M9.5 10C10.0523 10 10.5 9.55228 10.5 9C10.5 8.44772 10.0523 8 9.5 8C8.94772 8 8.5 8.44772 8.5 9C8.5 9.55228 8.94772 10 9.5 10Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
- <path d="M9.5 17C10.0523 17 10.5 16.5523 10.5 16C10.5 15.4477 10.0523 15 9.5 15C8.94772 15 8.5 15.4477 8.5 16C8.5 16.5523 8.94772 17 9.5 17Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
- <path d="M16.5 3C17.0523 3 17.5 2.55228 17.5 2C17.5 1.44772 17.0523 1 16.5 1C15.9477 1 15.5 1.44772 15.5 2C15.5 2.55228 15.9477 3 16.5 3Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
- <path d="M16.5 10C17.0523 10 17.5 9.55228 17.5 9C17.5 8.44772 17.0523 8 16.5 8C15.9477 8 15.5 8.44772 15.5 9C15.5 9.55228 15.9477 10 16.5 10Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
- <path d="M16.5 17C17.0523 17 17.5 16.5523 17.5 16C17.5 15.4477 17.0523 15 16.5 15C15.9477 15 15.5 15.4477 15.5 16C15.5 16.5523 15.9477 17 16.5 17Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
- <path d="M2.5 3C3.05228 3 3.5 2.55228 3.5 2C3.5 1.44772 3.05228 1 2.5 1C1.94772 1 1.5 1.44772 1.5 2C1.5 2.55228 1.94772 3 2.5 3Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
- <path d="M2.5 10C3.05228 10 3.5 9.55228 3.5 9C3.5 8.44772 3.05228 8 2.5 8C1.94772 8 1.5 8.44772 1.5 9C1.5 9.55228 1.94772 10 2.5 10Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
- <path d="M2.5 17C3.05228 17 3.5 16.5523 3.5 16C3.5 15.4477 3.05228 15 2.5 15C1.94772 15 1.5 15.4477 1.5 16C1.5 16.5523 1.94772 17 2.5 17Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
- </svg>
- And much more...
- </div>
- </div>
- </div>
- </div>
- </div>
-</template>
-
-<script>
-export default {
- props: {},
- data: () => ({}),
- methods: {}
-}
-</script>
diff --git a/resources/js/components/pages/welcome/TemplatesSlider.vue b/resources/js/components/pages/welcome/TemplatesSlider.vue
deleted file mode 100644
index eb6725ecf..000000000
--- a/resources/js/components/pages/welcome/TemplatesSlider.vue
+++ /dev/null
@@ -1,86 +0,0 @@
-<template>
- <div class="mx-auto mb-12 max-w-7xl px-6 lg:px-8">
- <div class="mx-auto max-w-2xl text-center">
- <h2 class="text-lg font-semibold leading-8 tracking-tight text-blue-500 ">
- Single or multi-page forms
- </h2>
- <p class="mt-2 text-3xl font-semibold tracking-tight text-gray-900 sm:text-4xl">
- Discover our beautiful templates
- </p>
- <p class="mt-3 px-8 text-center text-lg text-gray-400 ">
- If you need inspiration, checkout our templates.
- </p>
- </div>
- <div class="my-3 flex justify-center">
- <router-link :to="{name:'templates'}">
- See all templates
- <svg class="h-4 w-4 inline" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
- <path fill-rule="evenodd"
- d="M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z"
- clip-rule="evenodd"
- />
- </svg>
- </router-link>
- </div>
-
- <div v-if="templates.length > 0"
- class="w-full inline-flex flex-nowrap overflow-hidden [mask-image:_linear-gradient(to_right,transparent_0,_black_128px,_black_calc(100%-128px),transparent_100%)]"
- >
- <ul ref="templates-slider" class="flex justify-center md:justify-start animate-infinite-scroll">
- <li v-for="(template, i) in sliderTemplates" :key="template.id" class="mx-4 w-72 h-auto">
- <single-template :slug="template.slug" />
- </li>
- </ul>
- </div>
- </div>
-</template>
-
-<script>
-import { computed } from 'vue'
-import { useTemplatesStore } from '../../../stores/templates'
-import SingleTemplate from '../templates/SingleTemplate.vue'
-
-export default {
- components: { SingleTemplate },
- props: { },
- setup () {
- const templatesStore = useTemplatesStore()
- return {
- templatesStore,
- templates : computed(() => templatesStore.content)
- }
- },
- data: () => ({}),
-
- computed: {
- sliderTemplates () {
- return this.templates.slice(0, 20)
- }
- },
-
- watch: {
- templates: {
- deep: true,
- handler () {
- this.$nextTick(() => {
- this.setInfinite()
- })
- }
- }
- },
-
- mounted() {
- this.templatesStore.loadAll({ limit: 20 })
- },
-
- methods: {
- setInfinite () {
- const ul = this.$refs['templates-slider']
- if (ul) {
- ul.insertAdjacentHTML('afterend', ul.outerHTML)
- ul.nextSibling.setAttribute('aria-hidden', 'true')
- }
- }
- }
-}
-</script>
diff --git a/resources/js/components/pages/welcome/Testimonials.vue b/resources/js/components/pages/welcome/Testimonials.vue
deleted file mode 100644
index 2568d4fa0..000000000
--- a/resources/js/components/pages/welcome/Testimonials.vue
+++ /dev/null
@@ -1,45 +0,0 @@
-<template>
- <iframe v-if="!isDarkMode" id="testimonialto-carousel-all-notionforms"
- loading="lazy"
- src="https://embed.testimonial.to/carousel/all/notionforms?theme=light&autoplay=on&showmore=on&one-row=on&same-height=off"
- frameBorder="0" scrolling="no" width="100%"
- />
- <iframe v-else id="testimonialto-carousel-all-notionforms" src="https://embed.testimonial.to/carousel/all/notionforms?theme=dark&autoplay=on&showmore=on&one-row=on&same-height=off" frameborder="0" scrolling="no" width="100%" />
-</template>
-
-<script>
-export default {
-
- props: {
- featuresOnly: {
- type: Boolean,
- default: false
- }
- },
- data: () => ({}),
-
- computed: {
- isDarkMode () {
- return window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
- }
- },
-
- mounted () {
- this.loadScript()
- },
-
- methods: {
- loadScript () {
- const script = document.createElement('script')
- script.setAttribute('src', 'https://testimonial.to/js/iframeResizer.min.js')
- document.head.appendChild(script)
- script.addEventListener('load', function () {
- window.iFrameResize({
- log: false,
- checkOrigin: false
- }, '#testimonialto-carousel-all-notionforms')
- })
- }
- }
-}
-</script>
diff --git a/resources/js/components/service/Amplitude.vue b/resources/js/components/service/Amplitude.vue
deleted file mode 100644
index 12afcbedf..000000000
--- a/resources/js/components/service/Amplitude.vue
+++ /dev/null
@@ -1,101 +0,0 @@
-<template />
-
-<script>
-import { computed } from 'vue'
-import { useAuthStore } from '../../stores/auth'
-
-export default {
- name: 'Amplitude',
-
- setup () {
- const authStore = useAuthStore()
- return {
- authStore,
- authenticated : computed(() => authStore.check),
- user : computed(() => authStore.user)
- }
- },
-
- data: function () {
- return {
- loaded: false,
- amplitudeInstance: null
- }
- },
-
- computed: {},
-
- watch: {
- $route () {
- this.loadAmplitude()
- },
- authenticated () {
- this.authenticateUser()
- }
- },
-
- mounted () {},
-
- methods: {
- authenticateUser () {
- if (this.loaded && this.authenticated) {
- this.amplitudeInstance.setUserId(this.user.id)
- this.amplitudeInstance.setUserProperties({
- email: this.user.email,
- subscribed: this.user.is_subscribed,
- enterprise_subscription: this.user.has_enterprise_subscription
- })
- }
- },
- loadAmplitude () {
- if (this.loaded || !typeof window.amplitude === 'undefined' || !window.config.amplitude_code) return
-
- (function (e, t) {
- const n = e.amplitude || { _q: [], _iq: {} }; const r = t.createElement('script')
- r.type = 'text/javascript'
- r.integrity = 'sha384-+EO59vL/X7v6VE2s6/F4HxfHlK0nDUVWKVg8K9oUlvffAeeaShVBmbORTC2D3UF+'
- r.crossOrigin = 'anonymous'; r.async = true
- r.src = 'https://cdn.amplitude.com/libs/amplitude-8.17.0-min.gz.js'
- r.onload = function () {
- if (!e.amplitude.runQueuedFunctions) {
- console.log('[Amplitude] Error: could not load SDK')
- }
- }
- const i = t.getElementsByTagName('script')[0]; i.parentNode.insertBefore(r, i)
- function s (e, t) {
- e.prototype[t] = function () {
- this._q.push([t].concat(Array.prototype.slice.call(arguments, 0))); return this
- }
- }
- const o = function () { this._q = []; return this }
- const a = ['add', 'append', 'clearAll', 'prepend', 'set', 'setOnce', 'unset', 'preInsert', 'postInsert', 'remove']
- for (let c = 0; c < a.length; c++) { s(o, a[c]) }n.Identify = o; const u = function () {
- this._q = []
- return this
- }
- const l = ['setProductId', 'setQuantity', 'setPrice', 'setRevenueType', 'setEventProperties']
- for (let p = 0; p < l.length; p++) { s(u, l[p]) }n.Revenue = u
- const d = ['init', 'logEvent', 'logRevenue', 'setUserId', 'setUserProperties', 'setOptOut', 'setVersionName', 'setDomain', 'setDeviceId', 'enableTracking', 'setGlobalUserProperties', 'identify', 'clearUserProperties', 'setGroup', 'logRevenueV2', 'regenerateDeviceId', 'groupIdentify', 'onInit', 'logEventWithTimestamp', 'logEventWithGroups', 'setSessionId', 'resetSessionId']
- function v (e) {
- function t (t) {
- e[t] = function () {
- e._q.push([t].concat(Array.prototype.slice.call(arguments, 0)))
- }
- }
- for (let n = 0; n < d.length; n++) { t(d[n]) }
- }v(n); n.getInstance = function (e) {
- e = (!e || e.length === 0 ? '$default_instance' : e).toLowerCase()
- if (!Object.prototype.hasOwnProperty.call(n._iq, e)) {
- n._iq[e] = { _q: [] }; v(n._iq[e])
- } return n._iq[e]
- }; e.amplitude = n
- })(window, document)
-
- this.amplitudeInstance = window.amplitude.getInstance()
- this.amplitudeInstance.init(window.config.amplitude_code)
- this.loaded = true
- this.authenticateUser()
- }
- }
-}
-</script>
diff --git a/resources/js/components/service/Crisp.vue b/resources/js/components/service/Crisp.vue
deleted file mode 100644
index d6ead11c6..000000000
--- a/resources/js/components/service/Crisp.vue
+++ /dev/null
@@ -1,33 +0,0 @@
-<template />
-
-<script>
-export default {
- name: 'Crisp',
-
- computed: {
- isIframe () {
- return window.location !== window.parent.location || window.frameElement
- }
- },
-
- watch: {},
-
- mounted () {
- this.loadCrisp()
- },
-
- methods: {
- loadCrisp () {
- if (this.isIframe || !window.config.crisp_website_id) return
-
- window.CRISP_WEBSITE_ID = window.config.crisp_website_id
-
- const script = document.createElement('script')
- script.setAttribute('src', 'https://client.crisp.chat/l.js')
- script.setAttribute('id', 'crisp-widget')
- script.setAttribute('async', 1)
- document.head.appendChild(script)
- }
- }
-}
-</script>
diff --git a/resources/js/components/service/Hotjar.vue b/resources/js/components/service/Hotjar.vue
deleted file mode 100644
index 3c782bc31..000000000
--- a/resources/js/components/service/Hotjar.vue
+++ /dev/null
@@ -1,53 +0,0 @@
-<template />
-
-<script>
-import { computed } from 'vue'
-import { useAuthStore } from '../../stores/auth'
-
-export default {
- name: 'Hotjar',
-
- setup () {
- const authStore = useAuthStore()
- return {
- authenticated : computed(() => authStore.check),
- }
- },
-
- watch: {
- authenticated () {
- if (this.authenticated) {
- this.loadHotjar()
- }
- }
- },
-
- mounted () {
- this.loadHotjar()
- },
-
- methods: {
- loadHotjar () {
- if (!this.authenticated || this.isIframe) return
-
- (function (h, o, t, j, a, r) {
- h.hj = h.hj || function () {
- (h.hj.q = h.hj.q || []).push(arguments)
- }
- h._hjSettings = { hjid: 2449591, hjsv: 6 }
- a = o.getElementsByTagName('head')[0]
- r = o.createElement('script')
- r.async = 1
- r.src = t + h._hjSettings.hjid + j + h._hjSettings.hjsv
- a.appendChild(r)
- })(window, document, 'https://static.hotjar.com/c/hotjar-', '.js?sv=')
- }
- },
-
- computed: {
- isIframe () {
- return window.location !== window.parent.location || window.frameElement
- }
- }
-}
-</script>
diff --git a/resources/js/components/vendor/appsumo/AppSumoBilling.vue b/resources/js/components/vendor/appsumo/AppSumoBilling.vue
deleted file mode 100644
index 24c1aac2a..000000000
--- a/resources/js/components/vendor/appsumo/AppSumoBilling.vue
+++ /dev/null
@@ -1,80 +0,0 @@
-<template>
- <div v-if="user.active_license" class="border p-5 shadow-md rounded-md">
- <div class="w-auto flex flex-col items-center">
- <img :src="asset('img/appsumo/as-taco-white-bg.png')" class="max-w-[60px]" alt="AppSumo">
- <img :src="asset('img/appsumo/as-Select-dark.png')" class="max-w-[150px]" alt="AppSumo">
- </div>
- <p class="mt-6">
- Your AppSumo <span class="font-semibold">lifetime deal tier {{ licenseTier }}</span> license is active. Here's a reminder of your plan details:
- </p>
- <ul class="list-disc pl-5 mt-4">
- <li>Number of Forms: <span class="font-semibold">{{ tierFeatures.form_quantity }}</span></li>
- <li>Custom domains: <span class="font-semibold">{{ tierFeatures.domain_names }}</span></li>
- <li>File Size Uploads: <span class="font-semibold">{{ tierFeatures.file_upload_size }}</span></li>
- </ul>
- <div class="w-max">
- <v-button color="outline-gray" shade="lighter" class="mt-4 block" href="https://appsumo.com/account/products/" target="_blank">
- Mangage in AppSumo
- </v-button>
- </div>
- </div>
-</template>
-
-<script>
-import { computed } from 'vue'
-import { useAuthStore } from '../../../stores/auth'
-import VButton from '../../common/Button.vue'
-
-export default {
- name: 'AppSumoBilling',
- components: { VButton },
-
- setup () {
- const authStore = useAuthStore()
- return {
- user : computed(() => authStore.user),
- }
- },
-
- data () {
- return {
- }
- },
-
- computed: {
- licenseTier () {
- return this.user?.active_license?.meta?.tier
- },
- tierFeatures () {
- if (!this.licenseTier) return {}
- return {
- 1: {
- form_quantity: 'Unlimited',
- file_upload_size: '25mb',
- domain_names: '5'
- },
- 2: {
- form_quantity: 'Unlimited',
- file_upload_size: '50mb',
- domain_names: '25'
- },
- 3: {
- form_quantity: 'Unlimited',
- file_upload_size: '75mb',
- domain_names: 'Unlimited'
- }
- }[this.licenseTier]
- }
- },
-
- watch: {},
-
- mounted () {},
-
- created () {},
-
- destroyed () {},
-
- methods: {}
-}
-</script>
diff --git a/resources/js/components/vendor/appsumo/AppSumoRegister.vue b/resources/js/components/vendor/appsumo/AppSumoRegister.vue
deleted file mode 100644
index 71573cc3a..000000000
--- a/resources/js/components/vendor/appsumo/AppSumoRegister.vue
+++ /dev/null
@@ -1,50 +0,0 @@
-<template>
- <div v-if="hasValidLicense" class="p-6 bg-white border shadow-md rounded-md">
- <img :src="asset('img/appsumo/as-taco-white-bg.png')" class="max-w-[60px] mx-auto" alt="AppSumo">
- <img :src="asset('img/appsumo/as-Select-dark.png')" class="max-w-[300px] mx-auto" alt="AppSumo">
- <p class="mt-6">
- <span class="text-green-500">We found your AppSumo Lifetime deal license!</span> Just complete the registration form to finalize the activation of
- your license.
- </p>
- </div>
- <div v-else-if="hasLicenseError" class="p-6 bg-white border border-red-500 shadow-md rounded-md">
- <img :src="asset('img/appsumo/as-taco-white-bg.png')" class="max-w-[60px] mx-auto" alt="AppSumo">
- <img :src="asset('img/appsumo/as-Select-dark.png')" class="max-w-[300px] mx-auto" alt="AppSumo">
- <p class="mt-6">
- <span class="text-red-600">Invalid AppSumo license</span>. The license was probably already attached to an OpnForm account. Please contact support.
- </p>
- </div>
-</template>
-
-<script>
-export default {
-
- name: 'AppSumoRegister',
-
- data () {
- return {
- hasValidLicense: false,
- hasLicenseError: false
- }
- },
-
- computed: {},
-
- watch: {},
-
- mounted () {
- if (this.$route.query.appsumo_license !== undefined && this.$route.query.appsumo_license) {
- this.hasValidLicense = true
- } else if (this.$route.query.appsumo_error !== undefined && this.$route.query.appsumo_error) {
- this.hasLicenseError = true
- }
- },
-
- created () {
- },
- destroyed () {
- },
-
- methods: {}
-}
-</script>
diff --git a/resources/js/config/form-themes.js b/resources/js/config/form-themes.js
deleted file mode 100644
index 56c761e90..000000000
--- a/resources/js/config/form-themes.js
+++ /dev/null
@@ -1,123 +0,0 @@
-/**
- Input classes for each supported form themes
- */
-export const themes = {
- default: {
- default: {
- label: 'text-gray-700 dark:text-gray-300 font-semibold',
- input: 'rounded-lg border-gray-300 flex-1 appearance-none border border-gray-300 dark:border-gray-600 w-full py-2 px-4 bg-white text-gray-700 dark:bg-notion-dark-light dark:text-gray-300 dark:placeholder-gray-500 placeholder-gray-400 shadow-sm text-base focus:outline-none focus:ring-2 focus:border-transparent focus:ring-opacity-100',
- help: 'text-gray-400 dark:text-gray-500'
- },
- Button: {
- body: 'transition ease-in duration-200 text-center font-semibold shadow-md focus:outline-none focus:ring-2 focus:ring-offset-2 rounded-lg filter hover:brightness-110'
- },
- CodeInput: {
- label: 'text-gray-700 dark:text-gray-300 font-semibold',
- input: 'rounded-lg border border-gray-300 dark:border-gray-600 overflow-hidden',
- help: 'text-gray-400 dark:text-gray-500'
- },
- RichTextAreaInput: {
- label: 'text-gray-700 dark:text-gray-300 font-semibold',
- input: 'rounded-lg border-gray-300 flex-1 appearance-none border border-gray-300 dark:border-gray-600 w-full bg-white text-gray-700 dark:bg-notion-dark-light dark:text-gray-300 dark:placeholder-gray-500 placeholder-gray-400 shadow-sm text-base focus:outline-none focus:ring-1 focus:ring-opacity-100 focus:border-transparent focus:ring-2',
- help: 'text-gray-400 dark:text-gray-500'
- },
- SelectInput: {
- label: 'text-gray-700 dark:text-gray-300 font-semibold',
- input: 'relative w-full rounded-lg border-gray-300 flex-1 appearance-none border border-gray-300 dark:border-gray-600 w-full px-4 bg-white text-gray-700 placeholder-gray-400 dark:bg-notion-dark-light dark:text-gray-300 dark:placeholder-gray-600 shadow-sm text-base focus:outline-none focus:ring-2 focus:border-transparent',
- help: 'text-gray-400 dark:text-gray-500'
- },
- ScaleInput: {
- label: 'text-gray-700 dark:text-gray-300 font-semibold',
- button: 'cursor-pointer text-gray-700 inline-block rounded-lg border-gray-300 px-4 py-2 flex-grow dark:bg-notion-dark-light dark:text-gray-300 text-center',
- unselectedButton: 'bg-white hover:bg-gray-50 border',
- help: 'text-gray-400 dark:text-gray-500'
- },
- fileInput: {
- input: 'min-h-40 border border-dashed border-gray-300 p-4 rounded-lg',
- inputHover: {
- light: 'bg-neutral-50',
- dark: 'bg-notion-dark-light'
- },
- uploadedFile: 'border border-gray-300 dark:border-gray-600 bg-white dark:bg-notion-dark-light rounded-lg shadow-sm max-w-[10rem]'
- }
- },
- simple: {
- default: {
- label: 'text-gray-700 dark:text-gray-300 font-semibold',
- input: 'flex-1 appearance-none border border-gray-300 dark:border-gray-600 w-full py-2 px-2 bg-white text-gray-700 dark:bg-notion-dark-light dark:text-gray-300 dark:placeholder-gray-500 placeholder-gray-400 text-base focus:outline-none focus:ring-2 focus:border-transparent focus:ring-opacity-100',
- help: 'text-gray-400 dark:text-gray-500'
- },
- Button: {
- body: 'transition ease-in duration-200 text-center font-semibold focus:outline-none focus:ring-2 focus:ring-offset-2 filter hover:brightness-110'
- },
- SelectInput: {
- label: 'text-gray-700 dark:text-gray-300 font-semibold',
- input: 'relative w-full flex-1 appearance-none border border-gray-300 dark:border-gray-600 w-full px-2 bg-white text-gray-700 placeholder-gray-400 dark:bg-notion-dark-light dark:text-gray-300 dark:placeholder-gray-600 text-base focus:outline-none focus:ring-2 focus:border-transparent',
- help: 'text-gray-400 dark:text-gray-500'
- },
- CodeInput: {
- label: 'text-gray-700 dark:text-gray-300 font-semibold',
- input: 'border border-gray-300 dark:border-gray-600 overflow-hidden',
- help: 'text-gray-400 dark:text-gray-500'
- },
- RichTextAreaInput: {
- label: 'text-gray-700 dark:text-gray-300 font-semibold',
- input: 'border-transparent flex-1 appearance-none border border-gray-300 dark:border-gray-600 w-full bg-white text-gray-700 dark:bg-notion-dark-light dark:text-gray-300 dark:placeholder-gray-500 placeholder-gray-400 text-base focus:outline-none focus:ring-1 focus:ring-opacity-100 focus:border-transparent focus:ring-2',
- help: 'text-gray-400 dark:text-gray-500'
- },
- ScaleInput: {
- label: 'text-gray-700 dark:text-gray-300 font-semibold',
- button: 'flex-1 appearance-none border-gray-300 dark:border-gray-600 w-full py-2 px-2 bg-gray-50 text-gray-700 dark:bg-notion-dark-light dark:text-gray-300 text-center',
- unselectedButton: 'bg-white hover:bg-gray-50 border -mx-4',
- help: 'text-gray-400 dark:text-gray-500'
- },
- fileInput: {
- input: 'min-h-40 border border-dashed border-gray-300 p-4',
- inputHover: {
- light: 'bg-neutral-50',
- dark: 'bg-notion-dark-light'
- },
- uploadedFile: 'border border-gray-300 dark:border-gray-600 bg-white dark:bg-notion-dark-light shadow-sm max-w-[10rem]'
- }
- },
- notion: {
- default: {
- label: 'text-gray-900 dark:text-gray-100 mb-2 block mt-4',
- input: 'rounded border-transparent flex-1 appearance-none shadow-inner-notion w-full py-2 px-2 bg-notion-input-background dark:bg-notion-dark-light text-gray-900 dark:text-gray-100 dark:placeholder-gray-500 placeholder-gray-400 text-base focus:outline-none focus:ring-0 focus:border-transparent focus:shadow-focus-notion',
- help: 'text-notion-input-help dark:text-gray-500'
- },
- Button: {
- body: 'rounded-md transition ease-in duration-200 text-center font-semibold shadow shadow-inner-notion focus:outline-none focus:ring-2 focus:ring-offset-2 filter hover:brightness-110'
- },
- SelectInput: {
- label: 'text-gray-900 dark:text-gray-100 mb-2 block mt-4',
- input: 'rounded relative w-full border-transparent flex-1 appearance-none bg-notion-input-background shadow-inner-notion w-full px-2 text-gray-900 placeholder-gray-400 dark:bg-notion-dark-light dark:placeholder-gray-500 text-base focus:outline-none focus:ring-0 focus:border-transparent focus:shadow-focus-notion',
- help: 'text-notion-input-help dark:text-gray-500'
- },
- CodeInput: {
- label: 'text-gray-900 dark:text-gray-100 mb-2 block mt-4',
- input: 'rounded shadow-inner-notion border border-gray-300 dark:border-gray-600 overflow-hidden',
- help: 'text-notion-input-help dark:text-gray-500'
- },
- RichTextAreaInput: {
- label: 'text-gray-900 dark:text-gray-100 mb-2 block mt-4',
- input: 'rounded border-transparent flex-1 appearance-none shadow-inner-notion border border-gray-300 dark:border-gray-600 w-full text-gray-900 bg-notion-input-background dark:bg-notion-dark-light shadow-inner dark:placeholder-gray-500 placeholder-gray-400 text-base focus:outline-none focus:ring-0 focus:ring-opacity-100 focus:border-transparent focus:ring-0 focus:shadow-focus-notion',
- help: 'text-notion-input-help dark:text-gray-500'
- },
- ScaleInput: {
- label: 'text-gray-900 dark:text-gray-100 mb-2 block mt-4',
- button: 'rounded border-transparent flex-1 appearance-none shadow-inner-notion w-full py-2 px-2 bg-notion-input-background dark:bg-notion-dark-light text-gray-900 dark:text-gray-100 text-center',
- unselectedButton: 'bg-notion-input-background dark:bg-notion-dark-light hover:bg-gray-50 border',
- help: 'text-notion-input-help dark:text-gray-500'
- },
- fileInput: {
- input: 'min-h-40 border border-dashed border-gray-300 p-4 rounded bg-notion-input-background',
- inputHover: {
- light: 'bg-neutral-50',
- dark: 'bg-notion-dark-light'
- },
- uploadedFile: 'border border-gray-300 dark:border-gray-600 bg-white dark:bg-notion-dark-light rounded shadow-sm max-w-[10rem]'
- }
- }
-
-}
diff --git a/resources/js/forms/FormLogicConditionChecker.js b/resources/js/forms/FormLogicConditionChecker.js
deleted file mode 100644
index bfce0fc14..000000000
--- a/resources/js/forms/FormLogicConditionChecker.js
+++ /dev/null
@@ -1,325 +0,0 @@
-export function conditionsMet (conditions, formData) {
- if (conditions === undefined || conditions === null) {
- return false
- }
-
- // If it's not a group, just a single condition
- if (conditions.operatorIdentifier === undefined) {
- return propertyConditionMet(conditions.value, conditions.value ? formData[conditions.value.property_meta.id] : null)
- }
-
- if (conditions.operatorIdentifier === 'and') {
- let isvalid = true
- conditions.children.forEach(childrenCondition => {
- if (!conditionsMet(childrenCondition, formData)) {
- isvalid = false
- }
- })
- return isvalid
- } else if (conditions.operatorIdentifier === 'or') {
- let isvalid = false
- conditions.children.forEach(childrenCondition => {
- if (conditionsMet(childrenCondition, formData)) {
- isvalid = true
- }
- })
- return isvalid
- }
-
- throw new Error('Unexcepted operatorIdentifier:' + conditions.operatorIdentifier)
-}
-
-function propertyConditionMet (propertyCondition, value) {
- if (!propertyCondition) {
- return false
- }
- switch (propertyCondition.property_meta.type) {
- case 'text':
- case 'url':
- case 'email':
- case 'phone_number':
- return textConditionMet(propertyCondition, value)
- case 'number':
- return numberConditionMet(propertyCondition, value)
- case 'checkbox':
- return checkboxConditionMet(propertyCondition, value)
- case 'select':
- return selectConditionMet(propertyCondition, value)
- case 'date':
- return dateConditionMet(propertyCondition, value)
- case 'multi_select':
- return multiSelectConditionMet(propertyCondition, value)
- case 'files':
- return filesConditionMet(propertyCondition, value)
- }
- return false
-}
-
-function checkEquals (condition, fieldValue) {
- return condition.value === fieldValue
-}
-
-function checkContains (condition, fieldValue) {
- return (fieldValue) ? fieldValue.includes(condition.value) : false
-}
-
-function checkListContains (condition, fieldValue) {
- if (!fieldValue) return false
-
- if (Array.isArray(condition.value)) {
- return condition.value.every(r => fieldValue.includes(r))
- } else {
- return fieldValue.includes(condition.value)
- }
-}
-
-function checkStartsWith (condition, fieldValue) {
- return fieldValue.startsWith(condition.value)
-}
-
-function checkendsWith (condition, fieldValue) {
- return fieldValue && fieldValue.endsWith(condition.value)
-}
-
-function checkIsEmpty (condition, fieldValue) {
- return (!fieldValue || fieldValue.length === 0)
-}
-
-function checkGreaterThan (condition, fieldValue) {
- return (condition.value && fieldValue && parseFloat(fieldValue) > parseFloat(condition.value))
-}
-
-function checkGreaterThanEqual (condition, fieldValue) {
- return (condition.value && fieldValue && parseFloat(fieldValue) >= parseFloat(condition.value))
-}
-
-function checkLessThan (condition, fieldValue) {
- return (condition.value && fieldValue && parseFloat(fieldValue) < parseFloat(condition.value))
-}
-
-function checkLessThanEqual (condition, fieldValue) {
- return (condition.value && fieldValue && parseFloat(fieldValue) <= parseFloat(condition.value))
-}
-
-function checkBefore (condition, fieldValue) {
- return (condition.value && fieldValue && fieldValue > condition.value)
-}
-
-function checkAfter (condition, fieldValue) {
- return (condition.value && fieldValue && fieldValue < condition.value)
-}
-
-function checkOnOrBefore (condition, fieldValue) {
- return (condition.value && fieldValue && fieldValue >= condition.value)
-}
-
-function checkOnOrAfter (condition, fieldValue) {
- return (condition.value && fieldValue && fieldValue <= condition.value)
-}
-
-function checkPastWeek (condition, fieldValue) {
- if (!fieldValue) return false
- const fieldDate = new Date(fieldValue)
- const today = new Date()
- return (fieldDate <= today && fieldDate >= new Date(today.getFullYear(), today.getMonth(), today.getDate() - 7))
-}
-
-function checkPastMonth (condition, fieldValue) {
- if (!fieldValue) return false
- const fieldDate = new Date(fieldValue)
- const today = new Date()
- return (fieldDate <= today && fieldDate >= new Date(today.getFullYear(), today.getMonth() - 1, today.getDate()))
-}
-
-function checkPastYear (condition, fieldValue) {
- if (!fieldValue) return false
- const fieldDate = new Date(fieldValue)
- const today = new Date()
- return (fieldDate <= today && fieldDate >= new Date(today.getFullYear() - 1, today.getMonth(), today.getDate()))
-}
-
-function checkNextWeek (condition, fieldValue) {
- if (!fieldValue) return false
- const fieldDate = new Date(fieldValue)
- const today = new Date()
- return (fieldDate >= today && fieldDate <= new Date(today.getFullYear(), today.getMonth(), today.getDate() + 7))
-}
-
-function checkNextMonth (condition, fieldValue) {
- if (!fieldValue) return false
- const fieldDate = new Date(fieldValue)
- const today = new Date()
- return (fieldDate >= today && fieldDate <= new Date(today.getFullYear(), today.getMonth() + 1, today.getDate()))
-}
-
-function checkNextYear (condition, fieldValue) {
- if (!fieldValue) return false
- const fieldDate = new Date(fieldValue)
- const today = new Date()
- return (fieldDate >= today && fieldDate <= new Date(today.getFullYear() + 1, today.getMonth(), today.getDate()))
-}
-
-function checkLength (condition, fieldValue, operator = '===') {
- if(!fieldValue || fieldValue.length === 0) return false;
- switch (operator) {
- case '===':
- return fieldValue.length === parseInt(condition.value)
- case '!==':
- return fieldValue.length !== parseInt(condition.value)
- case '>':
- return fieldValue.length > parseInt(condition.value)
- case '>=':
- return fieldValue.length >= parseInt(condition.value)
- case '<':
- return fieldValue.length < parseInt(condition.value)
- case '<=':
- return fieldValue.length <= parseInt(condition.value)
- }
- return false
-}
-
-function textConditionMet (propertyCondition, value) {
- switch (propertyCondition.operator) {
- case 'equals':
- return checkEquals(propertyCondition, value)
- case 'does_not_equal':
- return !checkEquals(propertyCondition, value)
- case 'contains':
- return checkContains(propertyCondition, value)
- case 'does_not_contain':
- return !checkContains(propertyCondition, value)
- case 'starts_with':
- return checkStartsWith(propertyCondition, value)
- case 'ends_with':
- return checkendsWith(propertyCondition, value)
- case 'is_empty':
- return checkIsEmpty(propertyCondition, value)
- case 'is_not_empty':
- return !checkIsEmpty(propertyCondition, value)
- case 'content_length_equals':
- return checkLength(propertyCondition, value, '===')
- case 'content_length_does_not_equal':
- return checkLength(propertyCondition, value, '!==')
- case 'content_length_greater_than':
- return checkLength(propertyCondition, value, '>')
- case 'content_length_greater_than_or_equal_to':
- return checkLength(propertyCondition, value, '>=')
- case 'content_length_less_than':
- return checkLength(propertyCondition, value, '<')
- case 'content_length_less_than_or_equal_to':
- return checkLength(propertyCondition, value, '<=')
- }
- return false
-}
-
-function numberConditionMet (propertyCondition, value) {
- switch (propertyCondition.operator) {
- case 'equals':
- return checkEquals(propertyCondition, value)
- case 'does_not_equal':
- return !checkEquals(propertyCondition, value)
- case 'greater_than':
- return checkGreaterThan(propertyCondition, value)
- case 'less_than':
- return checkLessThan(propertyCondition, value)
- case 'greater_than_or_equal_to':
- return checkGreaterThanEqual(propertyCondition, value)
- case 'less_than_or_equal_to':
- return checkLessThanEqual(propertyCondition, value)
- case 'is_empty':
- return checkIsEmpty(propertyCondition, value)
- case 'is_not_empty':
- return checkIsEmpty(propertyCondition, value)
- case 'content_length_equals':
- return checkLength(propertyCondition, value, '===')
- case 'content_length_does_not_equal':
- return checkLength(propertyCondition, value, '!==')
- case 'content_length_greater_than':
- return checkLength(propertyCondition, value, '>')
- case 'content_length_greater_than_or_equal_to':
- return checkLength(propertyCondition, value, '>=')
- case 'content_length_less_than':
- return checkLength(propertyCondition, value, '<')
- case 'content_length_less_than_or_equal_to':
- return checkLength(propertyCondition, value, '<=')
- }
- return false
-}
-
-function checkboxConditionMet (propertyCondition, value) {
- switch (propertyCondition.operator) {
- case 'equals':
- return checkEquals(propertyCondition, value)
- case 'does_not_equal':
- return !checkEquals(propertyCondition, value)
- }
- return false
-}
-
-function selectConditionMet (propertyCondition, value) {
- switch (propertyCondition.operator) {
- case 'equals':
- return checkEquals(propertyCondition, value)
- case 'does_not_equal':
- return !checkEquals(propertyCondition, value)
- case 'is_empty':
- return checkIsEmpty(propertyCondition, value)
- case 'is_not_empty':
- return !checkIsEmpty(propertyCondition, value)
- }
- return false
-}
-
-function dateConditionMet (propertyCondition, value) {
- switch (propertyCondition.operator) {
- case 'equals':
- return checkEquals(propertyCondition, value)
- case 'before':
- return checkBefore(propertyCondition, value)
- case 'after':
- return checkAfter(propertyCondition, value)
- case 'on_or_before':
- return checkOnOrBefore(propertyCondition, value)
- case 'on_or_after':
- return checkOnOrAfter(propertyCondition, value)
- case 'is_empty':
- return checkIsEmpty(propertyCondition, value)
- case 'past_week':
- return checkPastWeek(propertyCondition, value)
- case 'past_month':
- return checkPastMonth(propertyCondition, value)
- case 'past_year':
- return checkPastYear(propertyCondition, value)
- case 'next_week':
- return checkNextWeek(propertyCondition, value)
- case 'next_month':
- return checkNextMonth(propertyCondition, value)
- case 'next_year':
- return checkNextYear(propertyCondition, value)
- }
- return false
-}
-
-function multiSelectConditionMet (propertyCondition, value) {
- switch (propertyCondition.operator) {
- case 'contains':
- return checkListContains(propertyCondition, value)
- case 'does_not_contain':
- return !checkListContains(propertyCondition, value)
- case 'is_empty':
- return checkIsEmpty(propertyCondition, value)
- case 'is_not_empty':
- return !checkIsEmpty(propertyCondition, value)
- }
- return false
-}
-
-function filesConditionMet (propertyCondition, value) {
- switch (propertyCondition.operator) {
- case 'is_empty':
- return checkIsEmpty(propertyCondition, value)
- case 'is_not_empty':
- return !checkIsEmpty(propertyCondition, value)
- }
- return false
-}
diff --git a/resources/js/forms/FormLogicPropertyResolver.js b/resources/js/forms/FormLogicPropertyResolver.js
deleted file mode 100644
index a2f128986..000000000
--- a/resources/js/forms/FormLogicPropertyResolver.js
+++ /dev/null
@@ -1,60 +0,0 @@
-import { conditionsMet } from './FormLogicConditionChecker'
-class FormLogicPropertyResolver {
- conditionsMet = conditionsMet;
- property = null;
- formData = null;
- logic = false;
-
- constructor (property, formData) {
- this.property = property
- this.formData = formData
- this.logic = (property.logic !== undefined) ? property.logic : false
- }
-
- isHidden () {
- if (!this.logic) {
- return this.property.hidden
- }
-
- const conditionsMet = this.conditionsMet(this.logic.conditions, this.formData)
- if (conditionsMet && this.property.hidden && this.logic.actions.length > 0 && this.logic.actions.includes('show-block')) {
- return false
- } else if (conditionsMet && !this.property.hidden && this.logic.actions.length > 0 && this.logic.actions.includes('hide-block')) {
- return true
- } else {
- return this.property.hidden
- }
- }
-
- isRequired () {
- if (!this.logic) {
- return this.property.required
- }
-
- const conditionsMet = this.conditionsMet(this.logic.conditions, this.formData)
- if (conditionsMet && this.property.required && this.logic.actions.length > 0 && this.logic.actions.includes('make-it-optional')) {
- return false
- } else if (conditionsMet && !this.property.required && this.logic.actions.length > 0 && this.logic.actions.includes('require-answer')) {
- return true
- } else {
- return this.property.required
- }
- }
-
- isDisabled () {
- if (!this.logic) {
- return this.property.disabled
- }
-
- const conditionsMet = this.conditionsMet(this.logic.conditions, this.formData)
- if (conditionsMet && this.property.disabled && this.logic.actions.length > 0 && this.logic.actions.includes('enable-block')) {
- return false
- } else if (conditionsMet && !this.property.disabled && this.logic.actions.length > 0 && this.logic.actions.includes('disable-block')) {
- return true
- } else {
- return this.property.disabled
- }
- }
-}
-
-export default FormLogicPropertyResolver
diff --git a/resources/js/forms/FormPropertyLogicRule.js b/resources/js/forms/FormPropertyLogicRule.js
deleted file mode 100644
index f7ce4b654..000000000
--- a/resources/js/forms/FormPropertyLogicRule.js
+++ /dev/null
@@ -1,123 +0,0 @@
-import OpenFilters from '../../data/open_filters.json'
-class FormPropertyLogicRule {
- property = null
- logic = null
- isConditionCorrect = true
- isActionCorrect = true
- ACTIONS_VALUES = [
- 'show-block',
- 'hide-block',
- 'make-it-optional',
- 'require-answer',
- 'enable-block',
- 'disable-block'
- ]
- CONDITION_MAPPING = OpenFilters
-
- constructor (property) {
- this.property = property
- this.logic = (property.logic !== undefined && property.logic) ? property.logic : null
- }
-
- isValid () {
- if (this.logic && this.logic['conditions']) {
- this.checkConditions(this.logic['conditions'])
- this.checkActions((this.logic && this.logic['actions']) ? this.logic['actions'] : null)
- }
-
- return this.isConditionCorrect && this.isActionCorrect
- }
-
- checkConditions (conditions) {
- if (conditions && conditions['operatorIdentifier']) {
- if ((conditions['operatorIdentifier'] !== 'and') && (conditions['operatorIdentifier'] !== 'or')) {
- this.isConditionCorrect = false
- return
- }
-
- if (conditions['operatorIdentifier']['children'] !== undefined || !Array.isArray(conditions['children'])) {
- this.isConditionCorrect = false
- return
- }
-
- conditions['children'].forEach(childrenCondition => {
- this.checkConditions(childrenCondition)
- })
- } else if (conditions && conditions['identifier']) {
- this.checkBaseCondition(conditions)
- }
- }
-
- checkBaseCondition (condition) {
- if (condition['value'] === undefined ||
- condition['value']['property_meta'] === undefined ||
- condition['value']['property_meta']['type'] === undefined ||
- condition['value']['operator'] === undefined ||
- condition['value']['value'] === undefined
- ) {
- this.isConditionCorrect = false
- return
- }
-
- const typeField = condition['value']['property_meta']['type']
- const operator = condition['value']['operator']
- const value = condition['value']['value']
-
- if (this.CONDITION_MAPPING[typeField] === undefined ||
- this.CONDITION_MAPPING[typeField]['comparators'][operator] === undefined
- ) {
- this.isConditionCorrect = false
- return
- }
-
- const type = this.CONDITION_MAPPING[typeField]['comparators'][operator]['expected_type']
- if (Array.isArray(type)) {
- let foundCorrectType = false
- type.forEach(subtype => {
- if (this.valueHasCorrectType(subtype, value)) {
- foundCorrectType = true
- }
- })
- if (!foundCorrectType) {
- this.isConditionCorrect = false
- }
- } else {
- if (!this.valueHasCorrectType(type, value)) {
- this.isConditionCorrect = false
- }
- }
- }
-
- valueHasCorrectType (type, value) {
- if (
- (type === 'string' && typeof value !== 'string') ||
- (type === 'boolean' && typeof value !== 'boolean') ||
- (type === 'number' && typeof value !== 'number') ||
- (type === 'object' && !Array.isArray(value))
- ) {
- return false
- }
- return true
- }
-
- checkActions (conditions) {
- if (Array.isArray(conditions) && conditions.length > 0) {
- conditions.forEach(val => {
- if (this.ACTIONS_VALUES.indexOf(val) === -1 ||
- (['nf-text', 'nf-code', 'nf-page-break', 'nf-divider', 'nf-image'].indexOf(this.property["type"]) > -1 && ['hide-block', 'show-block'].indexOf(val) === -1) ||
- (this.property["hidden"] !== undefined && this.property["hidden"] && ['show-block', 'require-answer'].indexOf(val) === -1) ||
- (this.property["required"] !== undefined && this.property["required"] && ['make-it-optional', 'hide-block', 'disable-block'].indexOf(val) === -1) ||
- (this.property["disabled"] !== undefined && this.property["disabled"] && ['enable-block', 'require-answer', 'make-it-optional'].indexOf(val) === -1)
- ) {
- this.isActionCorrect = false
- return
- }
- })
- } else {
- this.isActionCorrect = false
- }
- }
-
-}
-
-export default FormPropertyLogicRule
\ No newline at end of file
diff --git a/resources/js/lang/de-DE.json b/resources/js/lang/de-DE.json
deleted file mode 100644
index 2fb7c053f..000000000
--- a/resources/js/lang/de-DE.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "ok": "Ok",
- "cancel": "Abbrechen",
- "error_alert_title": "Oops...",
- "error_alert_text": "Etwas ist schief gelaufen! Bitte versuche es erneut.",
- "token_expired_alert_title": "Sitzung abgelaufen!",
- "token_expired_alert_text": "Bitte melde dich zum Fortfahren erneut an.",
- "login": "Anmelden",
- "register": "Registrieren",
- "page_not_found": "Seite nicht gefunden",
- "go_home": "Zum Start",
- "logout": "Abmelden",
- "email": "Email",
- "remember_me": "An mich erinnern",
- "password": "Passwort",
- "forgot_password": "Passwort vergessen?",
- "confirm_password": "Passwort bestätigen",
- "name": "Name",
- "toggle_navigation": "Navigation umschalten",
- "home": "Start",
- "you_are_logged_in": "Du bist angemeldet!",
- "reset_password": "Passwort zurücksetzen",
- "send_password_reset_link": "Link zum Passwort zurücksetzen senden",
- "settings": "Einstellungen",
- "profile": "Profil",
- "your_info": "Deine Infos",
- "info_updated": "Deine Info wurde aktualisiert!",
- "update": "Aktualisieren",
- "your_password": "Dein Passwort",
- "password_updated": "Dein Passwort wurde aktualsiert!",
- "new_password": "Neues Passwort",
- "login_with": "Anmelden mit",
- "register_with": "Registrieren mit",
- "verify_email": "Email verfizieren",
- "send_verification_link": "Link zum Verifizieren senden",
- "resend_verification_link": "Link zum Verifizeren erneut senden?",
- "failed_to_verify_email": "Email Verfizierung fehlgeschlagen.",
- "verify_email_address": "Wir haben dir eine Email mit einem Link zur Verifizierung gesendet."
-}
diff --git a/resources/js/lang/en.json b/resources/js/lang/en.json
deleted file mode 100644
index 3aa2e82e1..000000000
--- a/resources/js/lang/en.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "ok": "Ok",
- "cancel": "Cancel",
- "error_alert_title": "Oops...",
- "error_alert_text": "Something went wrong! Please try again.",
- "token_expired_alert_title": "Session Expired!",
- "token_expired_alert_text": "Please log in again to continue.",
- "login": "Log In",
- "register": "Register",
- "page_not_found": "Page Not Found",
- "go_home": "Go Home",
- "logout": "Logout",
- "email": "Email",
- "remember_me": "Remember Me",
- "password": "Password",
- "forgot_password": "Forgot Your Password?",
- "confirm_password": "Confirm Password",
- "name": "Name",
- "toggle_navigation": "Toggle navigation",
- "home": "Home",
- "you_are_logged_in": "You are logged in!",
- "reset_password": "Reset Password",
- "send_password_reset_link": "Send Password Reset Link",
- "settings": "Settings",
- "profile": "Profile",
- "your_info": "Your Info",
- "info_updated": "Your info has been updated!",
- "update": "Update",
- "your_password": "Your Password",
- "password_updated": "Your password has been updated!",
- "new_password": "New Password",
- "login_with": "Login with",
- "register_with": "Register with",
- "verify_email": "Verify Email",
- "send_verification_link": "Send Verification Link",
- "resend_verification_link": "Resend Verification Link ?",
- "failed_to_verify_email": "Failed to verify email.",
- "verify_email_address": "We sent you an email with an the verification link."
-}
diff --git a/resources/js/lang/es.json b/resources/js/lang/es.json
deleted file mode 100644
index 2e375c360..000000000
--- a/resources/js/lang/es.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "ok": "De Acuerdo",
- "cancel": "Cancelar",
- "error_alert_title": "Ha ocurrido un problema",
- "error_alert_text": "¡Algo salió mal! Inténtalo de nuevo.",
- "token_expired_alert_title": "!Sesión Expirada!",
- "token_expired_alert_text": "Por favor inicie sesión de nuevo para continuar.",
- "login": "Iniciar Sesión",
- "register": "Registro",
- "page_not_found": "Página No Encontrada",
- "go_home": "Ir a Inicio",
- "logout": "Cerrar Sesión",
- "email": "Correo Electrónico",
- "remember_me": "Recuérdame",
- "password": "Contraseña",
- "forgot_password": "¿Olvidaste tu contraseña?",
- "confirm_password": "Confirmar Contraseña",
- "name": "Nombre",
- "toggle_navigation": "Cambiar Navegación",
- "home": "Inicio",
- "you_are_logged_in": "¡Has iniciado sesión!",
- "reset_password": "Restablecer la contraseña",
- "send_password_reset_link": "Enviar Enlace de Restablecimiento de Contraseña",
- "settings": "Configuraciones",
- "profile": "Perfil",
- "your_info": "Tu Información",
- "info_updated": "¡Tu información ha sido actualizada!",
- "update": "Actualizar",
- "your_password": "Tu Contraseña",
- "password_updated": "¡Tu contraseña ha sido actualizada!",
- "new_password": "Nueva Contraseña",
- "login_with": "Iniciar Sesión con",
- "register_with": "Registro con"
-}
diff --git a/resources/js/lang/fr.json b/resources/js/lang/fr.json
deleted file mode 100644
index 80c0f0e60..000000000
--- a/resources/js/lang/fr.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "ok": "Ok",
- "cancel": "Annuler",
- "error_alert_title": "Oups...",
- "error_alert_text": "Quelque chose a mal tourné ! Veuillez réessayer.",
- "token_expired_alert_title": "Session expirée !",
- "token_expired_alert_text": "Veuillez vous reconnecter pour continuer.",
- "login": "Connexion",
- "register": "Inscription",
- "page_not_found": "Page non trouvée",
- "go_home": "Retour à l'accueil",
- "logout": "Déconnexion",
- "email": "Email",
- "remember_me": "Se souvenir de moi",
- "password": "Mot de passe",
- "forgot_password": "Vous avez oublié votre mot de passe ?",
- "confirm_password": "Confirmer le mot de passe",
- "name": "Nom",
- "toggle_navigation": "Basculer la navigation",
- "home": "Accueil",
- "you_are_logged_in": "Vous êtes connecté !",
- "reset_password": "Réinitialisation du mot de passe",
- "send_password_reset_link": "Envoyer le lien de réinitialisation du mot de passe",
- "settings": "Paramètres",
- "profile": "Profil",
- "your_info": "Vos informations",
- "info_updated": "Vos informations ont été mises à jour !",
- "update": "Mettre à jour",
- "your_password": "Votre mot de passe",
- "password_updated": "Votre mot de passe a été mis à jour !",
- "new_password": "Nouveau mot de passe",
- "login_with": "Connectez-vous avec",
- "register_with": "S'inscrire avec",
- "verify_email": "Vérifier l'e-mail",
- "send_verification_link": "Envoyer le lien de vérification",
- "resend_verification_link": "Renvoyer le lien de vérification ?",
- "failed_to_verify_email": "Nous n'avons pas réussi à vérifier votre email.",
- "verify_email_address": "Nous vous avons envoyé un e-mail avec un lien de vérification."
-}
diff --git a/resources/js/lang/nb-NO.json b/resources/js/lang/nb-NO.json
deleted file mode 100644
index 04332e927..000000000
--- a/resources/js/lang/nb-NO.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "ok": "Ok",
- "cancel": "Avbryt",
- "error_alert_title": "Oops...",
- "error_alert_text": "Noe gikk galt! Vennligst prøv igjen.",
- "token_expired_alert_title": "Økt utløpt!",
- "token_expired_alert_text": "Vennligst logg inn igjen for å fortsette.",
- "login": "Logg inn",
- "register": "Registrer",
- "page_not_found": "Side ikke funnet",
- "go_home": "Gå til startsiden",
- "logout": "Logg ut",
- "email": "E-post",
- "remember_me": "Husk meg",
- "password": "Passord",
- "forgot_password": "Glemt passordet ditt?",
- "confirm_password": "Bekreft passord",
- "name": "Navn",
- "toggle_navigation": "Navigering på/av",
- "home": "Hjem",
- "you_are_logged_in": "Du er logget inn!",
- "reset_password": "Tilbakestill passord",
- "send_password_reset_link": "Send lenke for tilbakestilling av passord",
- "settings": "Innstillinger",
- "profile": "Profil",
- "your_info": "Din informasjon",
- "info_updated": "Din informasjon er oppdatert!",
- "update": "Oppdater",
- "your_password": "Ditt passord",
- "password_updated": "Ditt passord er oppdatert!",
- "new_password": "Nytt passord",
- "login_with": "Logg inn med",
- "register_with": "Registrer med",
- "verify_email": "Bekreft e-post",
- "send_verification_link": "Send bekreftelseslenke",
- "resend_verification_link": "Sende bekreftelseslenken på nytt?",
- "failed_to_verify_email": "Kunne ikke bekrefte e-posten.",
- "verify_email_address": "Vi har sendt deg en e-post med en bekreftelseslenke."
-}
diff --git a/resources/js/lang/pt-BR.json b/resources/js/lang/pt-BR.json
deleted file mode 100644
index 600ae743c..000000000
--- a/resources/js/lang/pt-BR.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "ok": "Ok",
- "cancel": "Cancelar",
- "error_alert_title": "Oops...",
- "error_alert_text": "Algo deu errado! Por favor, tente novamente.",
- "token_expired_alert_title": "Sessão expirada!",
- "token_expired_alert_text": "Faça login novamente para continuar.",
- "login": "Entrar",
- "register": "Cadastrar",
- "page_not_found": "Página não encontrada",
- "go_home": "Inicio",
- "logout": "Sair",
- "email": "Email",
- "remember_me": "Lembre-me",
- "password": "Senha",
- "forgot_password": "Esqueceu sua senha?",
- "confirm_password": "Confirmar Senha",
- "name": "Nome",
- "toggle_navigation": "Alternar de navegação",
- "home": "Inicio",
- "you_are_logged_in": "Você está logado!",
- "reset_password": "Trocar Senha",
- "send_password_reset_link": "Enviar link de redefinição de senha",
- "settings": "Configurações",
- "profile": "Perfil",
- "your_info": "Suas informações",
- "info_updated": "Suas informações foram atualizadas!",
- "update": "Atualizar",
- "your_password": "Sua senha",
- "password_updated": "Sua senha foi atualizada!",
- "new_password": "Nova Senha",
- "login_with": "Entrar",
- "register_with": "Registre-se",
- "verify_email": "verificar email",
- "send_verification_link": "Enviar link de verificação",
- "resend_verification_link": "Reenviar link de verificação?",
- "failed_to_verify_email": "Falha ao verificar o email.",
- "verify_email_address": "Enviamos um e-mail com o link de verificação."
-}
diff --git a/resources/js/lang/zh-CN.json b/resources/js/lang/zh-CN.json
deleted file mode 100644
index c9f37d2a8..000000000
--- a/resources/js/lang/zh-CN.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "ok": "确定",
- "cancel": "取消",
- "error_alert_title": "错误...",
- "error_alert_text": "遇到一些错误,请稍后重试~",
- "token_expired_alert_title": "验证过期!",
- "token_expired_alert_text": "请稍后重新登录系统",
- "login": "登录",
- "register": "注册",
- "page_not_found": "页面不存在",
- "go_home": "返回首页",
- "logout": "退出",
- "email": "邮箱",
- "remember_me": "记住我",
- "password": "密码",
- "forgot_password": "忘记密码?",
- "confirm_password": "重复密码",
- "name": "用户名",
- "toggle_navigation": "切换导航",
- "home": "首页",
- "you_are_logged_in": "您已经登录!",
- "reset_password": "重置密码",
- "send_password_reset_link": "发送重置链接",
- "settings": "设置",
- "profile": "个人设置",
- "your_info": "您的个人信息",
- "info_updated": "您的个人信息已经更改!",
- "update": "更新",
- "your_password": "您的密码",
- "password_updated": "您的密码已经更新!",
- "new_password": "新密码",
- "login_with": "登录",
- "register_with": "注册"
-}
diff --git a/resources/js/layouts/basic.vue b/resources/js/layouts/basic.vue
deleted file mode 100644
index 81d9ff5cd..000000000
--- a/resources/js/layouts/basic.vue
+++ /dev/null
@@ -1,30 +0,0 @@
-<template>
- <div class="basic-layout flex items-center justify-center m-0">
- <child />
- </div>
-</template>
-
-<script>
-export default {
- name: 'BasicLayout'
-}
-</script>
-
-<style lang="scss">
-.basic-layout {
- color: #636b6f;
- height: 100vh;
- font-weight: 100;
- position: relative;
-
- .links > a {
- color: #636b6f;
- padding: 0 25px;
- font-size: 12px;
- font-weight: 600;
- letter-spacing: .1rem;
- text-decoration: none;
- text-transform: uppercase;
- }
-}
-</style>
diff --git a/resources/js/layouts/default.vue b/resources/js/layouts/default.vue
deleted file mode 100644
index bc00bf0f1..000000000
--- a/resources/js/layouts/default.vue
+++ /dev/null
@@ -1,21 +0,0 @@
-<template>
- <div class="main-layout min-h-screen flex flex-col">
- <navbar />
-
- <child class="flex-grow" />
- </div>
-</template>
-
-<script>
-import Navbar from '~/components/Navbar.vue'
-
-export default {
- name: 'MainLayout',
-
- components: {
- Navbar
- },
-
- computed: {}
-}
-</script>
diff --git a/resources/js/middleware/admin.js b/resources/js/middleware/admin.js
deleted file mode 100644
index 097608027..000000000
--- a/resources/js/middleware/admin.js
+++ /dev/null
@@ -1,10 +0,0 @@
-import { useAuthStore } from '../stores/auth';
-
-export default (to, from, next) => {
- const authStore = useAuthStore()
- if (!authStore.user?.admin) {
- next({ name: 'home' })
- } else {
- next()
- }
-}
diff --git a/resources/js/middleware/auth.js b/resources/js/middleware/auth.js
deleted file mode 100644
index d634d772e..000000000
--- a/resources/js/middleware/auth.js
+++ /dev/null
@@ -1,13 +0,0 @@
-import { useAuthStore } from '../stores/auth';
-import Cookies from 'js-cookie'
-
-export default async (to, from, next) => {
- const authStore = useAuthStore()
- if (!authStore.check) {
- Cookies.set('intended_url', to.path)
-
- next({ name: 'login' })
- } else {
- next()
- }
-}
diff --git a/resources/js/middleware/check-auth.js b/resources/js/middleware/check-auth.js
deleted file mode 100644
index 05c1de1dd..000000000
--- a/resources/js/middleware/check-auth.js
+++ /dev/null
@@ -1,56 +0,0 @@
-import { useAuthStore } from '../stores/auth'
-import { useWorkspacesStore } from '../stores/workspaces'
-import * as Sentry from '@sentry/vue'
-
-export function initCrisp (user) {
- return new Promise((resolve, reject) => {
- const intervalId = window.setInterval(function () {
- if (!user) {
- resolve()
- return
- }
- if (window.$crisp) {
- window.$crisp.push(['set', 'user:email', user.email])
- window.$crisp.push(['set', 'user:nickname', user.name])
- window.$crisp.push(['set', 'session:data', [[
- ['pro-subscription', user?.is_subscribed ?? false],
- ['id', user.id]
- ]]])
- window.clearInterval(intervalId)
- resolve()
- }
- }, 50000)
- })
-}
-
-export function initSentry (user) {
- if (!window.config.sentry_dsn || !user) {
- return
- }
- Sentry.configureScope((scope) => {
- scope.setUser({
- id: user.id,
- email: user.email,
- subscription: user?.is_subscribed
- })
- })
-}
-
-export default async (to, from, next) => {
- const authStore = useAuthStore()
- if (!authStore.check &&
- authStore.token !== null &&
- authStore.token !== undefined
- ) {
- try {
- authStore.fetchUser().then((user) => {
- initCrisp(user)
- initSentry(user)
- useWorkspacesStore().fetchWorkspaces()
- })
- } catch (e) {
- console.error(e)
- }
- }
- next()
-}
diff --git a/resources/js/middleware/custom-domains.js b/resources/js/middleware/custom-domains.js
deleted file mode 100644
index f33f37270..000000000
--- a/resources/js/middleware/custom-domains.js
+++ /dev/null
@@ -1,20 +0,0 @@
-export default async (to, from, next) => {
- if (!window.config.custom_domains_enabled) {
- next()
- }
- const isCustomDomain = getDomain(window.location.href) !== getDomain(window.config.app_url)
- if (isCustomDomain && !['forms.show_public'].includes(to.name)) {
- // If route isn't a public form, redirect
- window.location.href = 'https://opnform.com/?utm_source=failed_custom_domain_redirect'
- } else {
- next()
- }
-}
-
-function getDomain (url) {
- return (new URL(url)).hostname
-}
-
-function isCustomDomain (url) {
- return getDomain(url) !== getDomain(window.config.app_url)
-}
diff --git a/resources/js/middleware/guest.js b/resources/js/middleware/guest.js
deleted file mode 100644
index c6c78a7e4..000000000
--- a/resources/js/middleware/guest.js
+++ /dev/null
@@ -1,10 +0,0 @@
-import { useAuthStore } from '../stores/auth';
-
-export default (to, from, next) => {
- const authStore = useAuthStore()
- if (authStore.check) {
- next({ name: 'home' })
- } else {
- next()
- }
-}
diff --git a/resources/js/middleware/subscribed.js b/resources/js/middleware/subscribed.js
deleted file mode 100644
index 6b2f866e3..000000000
--- a/resources/js/middleware/subscribed.js
+++ /dev/null
@@ -1,10 +0,0 @@
-import { useAuthStore } from '../stores/auth';
-
-export default (to, from, next) => {
- const authStore = useAuthStore()
- if (!authStore.user?.is_subscribed) {
- next({ name: 'pricing' })
- } else {
- next()
- }
-}
diff --git a/resources/js/mixins/form_editor/initForm.js b/resources/js/mixins/form_editor/initForm.js
deleted file mode 100644
index ea4737ccf..000000000
--- a/resources/js/mixins/form_editor/initForm.js
+++ /dev/null
@@ -1,57 +0,0 @@
-import Form from "vform";
-
-export default {
- methods: {
- initForm() {
- this.form = new Form({
- title: 'My Form',
- description: null,
- visibility: 'public',
- workspace_id: this.workspace?.id,
- properties: [],
-
- notifies: false,
- slack_notifies: false,
- send_submission_confirmation: false,
- webhook_url: null,
- notification_settings: {},
-
- // Customization
- theme: 'default',
- width: 'centered',
- dark_mode: 'auto',
- color: '#3B82F6',
- hide_title: false,
- no_branding: false,
- uppercase_labels: true,
- transparent_background: false,
- closes_at: null,
- closed_text: 'This form has now been closed by its owner and does not accept submissions anymore.',
- auto_save: true,
-
- // Submission
- submit_button_text: 'Submit',
- re_fillable: false,
- re_fill_button_text: 'Fill Again',
- submitted_text: 'Amazing, we saved your answers. Thank you for your time and have a great day!',
- notification_sender: 'OpnForm',
- notification_subject: 'We saved your answers',
- notification_body: 'Hello there 👋 <br>This is a confirmation that your submission was successfully saved.',
- notifications_include_submission: true,
- use_captcha: false,
- is_rating: false,
- rating_max_value: 5,
- max_submissions_count: null,
- max_submissions_reached_text: 'This form has now reached the maximum number of allowed submissions and is now closed.',
- editable_submissions_button_text: 'Edit submission',
- confetti_on_submission: false,
-
- // Security & Privacy
- can_be_indexed: true,
-
- // Custom SEO
- seo_meta: {}
- })
- },
- }
-}
diff --git a/resources/js/mixins/forms/fieldsLogic.js b/resources/js/mixins/forms/fieldsLogic.js
deleted file mode 100644
index 014ee652e..000000000
--- a/resources/js/mixins/forms/fieldsLogic.js
+++ /dev/null
@@ -1,17 +0,0 @@
-import FormPropertyLogicRule from '../../forms/FormPropertyLogicRule.js'
-export default {
- methods: {
- validateFieldsLogic (properties) {
- properties.forEach((field) => {
- const isValid = (new FormPropertyLogicRule(field)).isValid()
- if(!isValid){
- field.logic = {
- conditions: null,
- actions: []
- }
- }
- })
- return properties
- }
- }
-}
diff --git a/resources/js/mixins/forms/form-pending-submission-key.js b/resources/js/mixins/forms/form-pending-submission-key.js
deleted file mode 100644
index 30c5acbc2..000000000
--- a/resources/js/mixins/forms/form-pending-submission-key.js
+++ /dev/null
@@ -1,22 +0,0 @@
-const cyrb53 = (str, seed = 0) => {
- let h1 = 0xdeadbeef ^ seed,
- h2 = 0x41c6ce57 ^ seed;
- for (let i = 0, ch; i < str.length; i++) {
- ch = str.charCodeAt(i);
- h1 = Math.imul(h1 ^ ch, 2654435761);
- h2 = Math.imul(h2 ^ ch, 1597334677);
- }
-
- h1 = Math.imul(h1 ^ (h1 >>> 16), 2246822507) ^ Math.imul(h2 ^ (h2 >>> 13), 3266489909);
- h2 = Math.imul(h2 ^ (h2 >>> 16), 2246822507) ^ Math.imul(h1 ^ (h1 >>> 13), 3266489909);
-
- return 4294967296 * (2097151 & h2) + (h1 >>> 0);
-};
-
-export default {
- computed: {
- formPendingSubmissionKey() {
- return (this.form) ? this.form.form_pending_submission_key + '-' + cyrb53(window.location.href) : ''
- }
- }
-}
diff --git a/resources/js/mixins/forms/input.js b/resources/js/mixins/forms/input.js
deleted file mode 100644
index b7a7d0282..000000000
--- a/resources/js/mixins/forms/input.js
+++ /dev/null
@@ -1,64 +0,0 @@
-import { themes } from '~/config/form-themes.js'
-
-export default {
- props: {
- id: { type: String, default: null },
- name: { type: String, required: true },
- label: { type: String, required: false },
- form: { type: Object, required: false },
- value: { required: false },
- required: { type: Boolean, default: false },
- disabled: { type: Boolean, default: false },
- placeholder: { type: String, default: null },
- uppercaseLabels: { type: Boolean, default: false },
- help: { type: String, default: null },
- helpPosition: { type: String, default: 'below_input' },
- theme: { type: Object, default: () => themes.default },
- color: { type: String, default: '#3B82F6' },
- wrapperClass: { type: String, default: 'relative mb-3' }
- },
-
- data () {
- return {
- content: this.value
- }
- },
-
- computed: {
- inputStyle () {
- return {
- '--tw-ring-color': this.color
- }
- },
- hasValidation () {
- return this.form !== null && this.form !== undefined && this.form.hasOwnProperty('errors')
- },
- compVal: {
- set (val) {
- if (this.form) {
- this.form[this.name] = val
- } else {
- this.content = val
- }
- if (this.hasValidation) {
- this.form.errors.clear(this.name)
- }
- this.$emit('input', this.compVal)
- },
- get () {
- if (this.form) {
- return this.form[this.name]
- }
- return this.content
- }
- }
- },
-
- watch: {
- value (val) {
- if (val !== this.compVal) {
- this.compVal = val
- }
- }
- }
-}
diff --git a/resources/js/mixins/forms/saveUpdateAlert.js b/resources/js/mixins/forms/saveUpdateAlert.js
deleted file mode 100644
index d53cb856e..000000000
--- a/resources/js/mixins/forms/saveUpdateAlert.js
+++ /dev/null
@@ -1,11 +0,0 @@
-export default {
- methods: {
- displayFormModificationAlert (responseData) {
- if (responseData.form && responseData.form.cleanings && Object.keys(responseData.form.cleanings).length > 0) {
- this.alertWarning(responseData.message)
- } else {
- this.alertSuccess(responseData.message)
- }
- }
- }
-}
diff --git a/resources/js/mixins/seo-meta.js b/resources/js/mixins/seo-meta.js
deleted file mode 100644
index 2d4044722..000000000
--- a/resources/js/mixins/seo-meta.js
+++ /dev/null
@@ -1,23 +0,0 @@
-export default {
- metaInfo () {
- const title = this.metaTitle ?? 'OpnForm'
- const description = this.metaDescription ?? "Create beautiful forms for free. Unlimited fields, unlimited submissions. It's free and it takes less than 1 minute to create your first form."
- const image = this.metaImage ?? this.asset('img/social-preview.jpg')
- const metaTemplate = this.metaTemplate ?? '%s · OpnForm'
-
- return {
- title: title,
- titleTemplate: metaTemplate,
- meta: [
- ...(this.metaTags ?? []),
- { vmid: 'og:title', property: 'og:title', content: title },
- { vmid: 'twitter:title', property: 'twitter:title', content: title },
- { vmid: 'description', name: 'description', content: description },
- { vmid: 'og:description', property: 'og:description', content: description },
- { vmid: 'twitter:description', property: 'twitter:description', content: description },
- { vmid: 'twitter:image', property: 'twitter:image', content: image },
- { vmid: 'og:image', property: 'og:image', content: image }
- ]
- }
- }
-}
diff --git a/resources/js/pages/ai-form-builder.vue b/resources/js/pages/ai-form-builder.vue
deleted file mode 100644
index e2d08a6c2..000000000
--- a/resources/js/pages/ai-form-builder.vue
+++ /dev/null
@@ -1,530 +0,0 @@
-<template>
- <div class="flex-1">
- <!-- START HERO -->
- <section class="bg-gradient-to-b relative from-white to-gray-100 py-12 sm:py-16 lg:py-20 xl:py-24">
- <div class="absolute inset-0">
- <img class="w-full h-full object-cover object-top" :src="asset('img/pages/ai_form_builder/background-pattern.svg')" alt="">
- </div>
-
- <div class="px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto relative">
- <div class="max-w-4xl mx-auto text-center">
- <h1 class="text-4xl sm:text-5xl lg:text-6xl font-semibold text-gray-900 tracking-tight">
- Say goodbye to tedious form building with OpnForm's new <span
- class="bg-clip-text text-transparent bg-gradient-to-r lg:block from-blue-600 to-blue-400">AI-powered
- feature!</span>
- </h1>
- <p class="mt-4 sm:mt-5 text-base leading-7 sm:text-xl sm:leading-9 font-medium text-gray-500">
- Easily generate a fully working form in seconds with just a simple description.
- </p>
-
- <div class="mt-8 flex justify-center">
- <v-button v-if="!authenticated" class="mr-1" :to="{ name: 'forms.create.guest' }" :arrow="true">
- Get started for free
- </v-button>
- <v-button v-else class="mr-1" :to="{ name: 'forms.create' }" :arrow="true">
- Get started for free
- </v-button>
- </div>
- </div>
-
- <div class="max-w-6xl mx-auto mt-12 sm:mt-16">
- <div
- class="-m-2 rounded-xl bg-blue-900/5 p-2 backdrop-blur-sm ring-1 ring-inset ring-blue-900/10 lg:-m-4 lg:rounded-2xl lg:p-4">
- <video class="rounded-md ring-1 ring-gray-200 shadow-xl shadow-blue-600/10 ring-blue-900/10" controls autoplay loop muted>
- <source :src="asset('video/opnform-ai.mp4')" type="video/mp4">
- This browser does not display the video tag.
- </video>
- </div>
- </div>
-
- <div
- class="grid lg:grid-cols-3 grid-cols-1 sm:max-w-lg lg:max-w-5xl sm:mx-auto gap-8 sm:gap-10 mt-12 sm:mt-16">
- <div class="flex items-start gap-4">
- <img class="w-12 h-12 shrink-0" :src="asset('img/pages/ai_form_builder/icon-fast.svg')" alt="">
- <div>
- <p class="text-md font-semibold text-gray-900">
- Faster than Ever
- </p>
- <p class="text-base font-medium text-gray-500 mt-2">
- Save time and effort by generating a form in seconds
- </p>
- </div>
- </div>
-
- <div class="flex items-start gap-4">
- <img class="w-12 h-12 shrink-0" :src="asset('img/pages/ai_form_builder/icon-customization.svg')" alt="">
- <div>
- <p class="text-md font-semibold text-gray-900">
- Customizations
- </p>
- <p class="text-base font-medium text-gray-500 mt-2">
- Customize your form to your exact specifications
- </p>
- </div>
- </div>
-
- <div class="flex items-start gap-4">
- <img class="w-12 h-12 shrink-0" :src="asset('img/pages/ai_form_builder/icon-browser.svg')" alt="">
- <div>
- <p class="text-md font-semibold text-gray-900">
- No Coding Knowledge Required
- </p>
- <p class="text-base font-medium text-gray-500 mt-2">
- No coding knowledge required and it's completely free to use
- </p>
- </div>
- </div>
- </div>
- </div>
- </section>
- <!-- END HERO -->
-
- <!-- START HOW IT WORKS -->
- <section class="bg-white py-12 sm:py-16 lg:py-20 xl:py-24">
- <div class="px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto">
- <div class="text-center max-w-3xl mx-auto">
- <h2 class="text-sm font-semibold text-blue-600">
- How Does It Work?
- </h2>
- <p
- class="text-3xl mt-4 sm:text-4xl lg:text-5xl font-semibold text-gray-900 tracking-tight lg:leading-tight">
- Save hours in just a few clicks
- </p>
- <p class="text-gray-500 text-base leading-7 sm:text-lg sm:leading-8 font-medium mt-4">
- Building forms has never been easier
- </p>
- </div>
-
- <div
- class="space-y-16 text-center lg:text-left sm:max-w-md sm:mx-auto lg:max-w-none lg:space-y-20 xl:space-y-24 mt-8 sm:mt-12 lg:mt-16">
- <div class="flex flex-col lg:flex-row lg:items-center lg:justify-between gap-8 lg:gap-12">
- <img class="w-full lg:flex-1 bg-gray-300 lg:shrink-0 rounded-2xl ring-1 ring-gray-200 shadow-sm"
- :src="asset('img/pages/ai_form_builder/step-1.svg')" alt="">
-
- <div
- class="w-16 h-16 rounded-full bg-blue-50 border-2 border-blue-200 hidden xl:inline-flex items-center justify-center text-blue-600 text-2xl font-semibold leading-none">
- 1
- </div>
-
- <div class="lg:flex-1 lg:shrink-0">
- <img class="w-auto h-16 hidden lg:block" :src="asset('img/pages/ai_form_builder/icon-create.svg')" alt="">
- <h3 class="text-2xl sm:text-3xl lg:text-4xl font-semibold text-gray-900 lg:mt-8">
- Building forms made easy
- </h3>
- <p class="text-base font-medium leading-7 sm:text-lg sm:leading-8 text-gray-500 mt-4">
- OpnForm's easy-to-use online form creator lets you create a beautiful web form in no time. Whether you
- need to create
- contact forms and registration forms for a landing page or an online order form for your business, you
- will no longer
- need to spend hours working on forms.
- </p>
- </div>
- </div>
-
- <div class="flex flex-col lg:flex-row lg:items-center lg:justify-between gap-8 lg:gap-12">
- <img
- class="w-full lg:flex-1 bg-gray-300 lg:shrink-0 rounded-2xl ring-1 ring-gray-200 shadow-sm lg:order-3"
- :src="asset('img/pages/ai_form_builder/step-2.svg')" alt="">
-
- <div
- class="w-16 h-16 lg:order-2 rounded-full bg-blue-50 border-2 border-blue-200 hidden xl:inline-flex items-center justify-center text-blue-600 text-2xl font-semibold leading-none">
- 2
- </div>
-
- <div class="lg:flex-1 lg:shrink-0 lg:order-1">
- <img class="w-auto h-16 hidden lg:block" :src="asset('img/pages/ai_form_builder/icon-customization.svg')" alt="">
- <h3 class="text-2xl sm:text-3xl lg:text-4xl font-semibold text-gray-900 lg:mt-8">
- Customized forms work wonders
- </h3>
- <p class="text-base font-medium leading-7 sm:text-lg sm:leading-8 text-gray-500 mt-4">
- Did you know that good-looking forms are more likely to convert more responses than ordinary ones? On
- OpnForm, you can
- customize your form design to the tiniest detail and match your brand image with your forms.
- </p>
- </div>
- </div>
-
- <div class="flex flex-col lg:flex-row lg:items-center lg:justify-between gap-8 lg:gap-12">
- <img class="w-full lg:flex-1 bg-gray-300 lg:shrink-0 rounded-2xl ring-1 ring-gray-200 shadow-sm"
- :src="asset('img/pages/ai_form_builder/step-3.svg')" alt="">
-
- <div
- class="w-16 h-16 rounded-full bg-blue-50 border-2 border-blue-200 hidden xl:inline-flex items-center justify-center text-blue-600 text-2xl font-semibold leading-none">
- 3
- </div>
-
- <div class="lg:flex-1 lg:shrink-0">
- <img class="w-auto h-16 hidden lg:block" :src="asset('img/pages/ai_form_builder/icon-share.svg')" alt="">
- <h3 class="text-2xl sm:text-3xl lg:text-4xl font-semibold text-gray-900 lg:mt-8">
- Share your forms anywhere
- </h3>
- <p class="text-base font-medium leading-7 sm:text-lg sm:leading-8 text-gray-500 mt-4">
- You can share your forms anywhere using their unique weblink or embed them on your landing pages
- seamlessly.
- Furthermore, you can adjust your form’s privacy settings in order to reach the targeted audience and
- prevent others from
- viewing your form.
- </p>
- </div>
- </div>
- </div>
- </div>
- </section>
- <!-- END HOW IT WORKS -->
-
- <!-- START EXAMPLES -->
-<!-- <section class="bg-gray-50 py-12 sm:py-16 lg:py-20 xl:py-24">-->
-<!-- <div class="px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto">-->
-<!-- <div class="text-center max-w-3xl mx-auto">-->
-<!-- <h2 class="text-sm font-semibold text-blue-600">-->
-<!-- Examples-->
-<!-- </h2>-->
-<!-- <p-->
-<!-- class="text-3xl mt-4 sm:text-4xl lg:text-5xl font-semibold text-gray-900 tracking-tight lg:leading-tight">-->
-<!-- What our user has created-->
-<!-- </p>-->
-<!-- <p class="text-gray-500 text-base leading-7 sm:text-lg sm:leading-8 font-medium mt-4">-->
-<!-- Amet minim mollit non deserunt ullamco est sit aliqua dolor do amet sint. Velit officia consequat duis-->
-<!-- enim velit-->
-<!-- mollit.-->
-<!-- </p>-->
-<!-- </div>-->
-
-<!-- <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6 mt-8 sm:mt-12 lg:mt-16">-->
-<!-- <div-->
-<!-- class="bg-white overflow-hidden rounded-2xl ring-1 ring-gray-200 shadow-sm hover:shadow-lg hover:-translate-y-2 transition-all duration-150">-->
-<!-- <img class="w-full" :src="asset('img/pages/ai_form_builder/examples-placeholder.png')" alt="">-->
-<!-- <div class="px-4 py-5 sm:p-6">-->
-<!-- <h3 class="text-lg font-semibold text-gray-900">-->
-<!-- Example 1-->
-<!-- </h3>-->
-<!-- <p class="text-base font-medium text-gray-500 mt-2 line-clamp-2">-->
-<!-- Nulla Lorem mollit cupidatat irure. Laborum magna nulla duis ullamco cillum dolor-->
-<!-- </p>-->
-<!-- </div>-->
-<!-- </div>-->
-
-<!-- <div-->
-<!-- class="bg-white overflow-hidden rounded-2xl ring-1 ring-gray-200 shadow-sm hover:shadow-lg hover:-translate-y-2 transition-all duration-150">-->
-<!-- <img class="w-full" :src="asset('img/pages/ai_form_builder/examples-placeholder.png')" alt="">-->
-<!-- <div class="px-4 py-5 sm:p-6">-->
-<!-- <h3 class="text-lg font-semibold text-gray-900">-->
-<!-- Example 2-->
-<!-- </h3>-->
-<!-- <p class="text-base font-medium text-gray-500 mt-2 line-clamp-2">-->
-<!-- Nulla Lorem mollit cupidatat irure. Laborum magna nulla duis ullamco cillum dolor-->
-<!-- </p>-->
-<!-- </div>-->
-<!-- </div>-->
-
-<!-- <div-->
-<!-- class="bg-white overflow-hidden rounded-2xl ring-1 ring-gray-200 shadow-sm hover:shadow-lg hover:-translate-y-2 transition-all duration-150">-->
-<!-- <img class="w-full" :src="asset('img/pages/ai_form_builder/examples-placeholder.png')" alt="">-->
-<!-- <div class="px-4 py-5 sm:p-6">-->
-<!-- <h3 class="text-lg font-semibold text-gray-900">-->
-<!-- Example 3-->
-<!-- </h3>-->
-<!-- <p class="text-base font-medium text-gray-500 mt-2 line-clamp-2">-->
-<!-- Nulla Lorem mollit cupidatat irure. Laborum magna nulla duis ullamco cillum dolor-->
-<!-- </p>-->
-<!-- </div>-->
-<!-- </div>-->
-
-<!-- <div-->
-<!-- class="bg-white overflow-hidden rounded-2xl ring-1 ring-gray-200 shadow-sm hover:shadow-lg hover:-translate-y-2 transition-all duration-150">-->
-<!-- <img class="w-full" :src="asset('img/pages/ai_form_builder/examples-placeholder.png')" alt="">-->
-<!-- <div class="px-4 py-5 sm:p-6">-->
-<!-- <h3 class="text-lg font-semibold text-gray-900">-->
-<!-- Example 4-->
-<!-- </h3>-->
-<!-- <p class="text-base font-medium text-gray-500 mt-2 line-clamp-2">-->
-<!-- Nulla Lorem mollit cupidatat irure. Laborum magna nulla duis ullamco cillum dolor-->
-<!-- </p>-->
-<!-- </div>-->
-<!-- </div>-->
-<!-- </div>-->
-
-<!--&lt;!&ndash; <hr class="mt-12 border-gray-200 sm:mt-16">&ndash;&gt;-->
-
-<!--&lt;!&ndash; <div class="max-w-2xl mx-auto mt-12 text-center sm:mt-16">&ndash;&gt;-->
-<!--&lt;!&ndash; <h4 class="text-2xl font-semibold tracking-tight text-gray-900 sm:text-3xl lg:text-4xl">&ndash;&gt;-->
-<!--&lt;!&ndash; Ready to level-up?&ndash;&gt;-->
-<!--&lt;!&ndash; </h4>&ndash;&gt;-->
-<!--&lt;!&ndash; <p class="mt-4 text-base leading-7 sm:text-xl sm:leading-9 font-medium text-gray-500">&ndash;&gt;-->
-<!--&lt;!&ndash; Save time and effortlessly create forms with OpnForm&ndash;&gt;-->
-<!--&lt;!&ndash; </p>&ndash;&gt;-->
-
-<!--&lt;!&ndash; <div class="mt-8 flex justify-center">&ndash;&gt;-->
-<!--&lt;!&ndash; <v-button v-if="!authenticated" class="mr-1" :to="{ name: 'forms.create.guest' }" :arrow="true">&ndash;&gt;-->
-<!--&lt;!&ndash; Get started for free&ndash;&gt;-->
-<!--&lt;!&ndash; </v-button>&ndash;&gt;-->
-<!--&lt;!&ndash; <v-button v-else class="mr-1" :to="{ name: 'forms.create' }" :arrow="true">&ndash;&gt;-->
-<!--&lt;!&ndash; Get started for free&ndash;&gt;-->
-<!--&lt;!&ndash; </v-button>&ndash;&gt;-->
-<!--&lt;!&ndash; </div>&ndash;&gt;-->
-
-<!--&lt;!&ndash; <ul&ndash;&gt;-->
-<!--&lt;!&ndash; class="flex mt-8 sm:mt-12 text-sm font-medium text-gray-900 items-center justify-center flex-wrap gap-x-6 gap-y-4">&ndash;&gt;-->
-<!--&lt;!&ndash; <li class="flex items-center gap-2">&ndash;&gt;-->
-<!--&lt;!&ndash; <svg aria-hidden="true" class="h-5 w-5 text-gray-400 shrink-0" xmlns="http://www.w3.org/2000/svg"&ndash;&gt;-->
-<!--&lt;!&ndash; viewBox="0 0 20 20" fill="currentColor">&ndash;&gt;-->
-<!--&lt;!&ndash; <path fill-rule="evenodd"&ndash;&gt;-->
-<!--&lt;!&ndash; d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"&ndash;&gt;-->
-<!--&lt;!&ndash; clip-rule="evenodd" />&ndash;&gt;-->
-<!--&lt;!&ndash; </svg>&ndash;&gt;-->
-<!--&lt;!&ndash; No design skills required&ndash;&gt;-->
-<!--&lt;!&ndash; </li>&ndash;&gt;-->
-
-<!--&lt;!&ndash; <li class="flex items-center gap-2">&ndash;&gt;-->
-<!--&lt;!&ndash; <svg aria-hidden="true" class="h-5 w-5 text-gray-400 shrink-0" xmlns="http://www.w3.org/2000/svg"&ndash;&gt;-->
-<!--&lt;!&ndash; viewBox="0 0 20 20" fill="currentColor">&ndash;&gt;-->
-<!--&lt;!&ndash; <path fill-rule="evenodd"&ndash;&gt;-->
-<!--&lt;!&ndash; d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"&ndash;&gt;-->
-<!--&lt;!&ndash; clip-rule="evenodd" />&ndash;&gt;-->
-<!--&lt;!&ndash; </svg>&ndash;&gt;-->
-<!--&lt;!&ndash; Setup in minutes&ndash;&gt;-->
-<!--&lt;!&ndash; </li>&ndash;&gt;-->
-
-<!--&lt;!&ndash; <li class="flex items-center gap-2">&ndash;&gt;-->
-<!--&lt;!&ndash; <svg aria-hidden="true" class="h-5 w-5 text-gray-400 shrink-0" xmlns="http://www.w3.org/2000/svg"&ndash;&gt;-->
-<!--&lt;!&ndash; viewBox="0 0 20 20" fill="currentColor">&ndash;&gt;-->
-<!--&lt;!&ndash; <path fill-rule="evenodd"&ndash;&gt;-->
-<!--&lt;!&ndash; d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"&ndash;&gt;-->
-<!--&lt;!&ndash; clip-rule="evenodd" />&ndash;&gt;-->
-<!--&lt;!&ndash; </svg>&ndash;&gt;-->
-<!--&lt;!&ndash; It's free&ndash;&gt;-->
-<!--&lt;!&ndash; </li>&ndash;&gt;-->
-<!--&lt;!&ndash; </ul>&ndash;&gt;-->
-<!--&lt;!&ndash; </div>&ndash;&gt;-->
-<!-- </div>-->
-<!-- </section>-->
- <!-- END EXAMPLES -->
-
- <!-- START TESTIMONIALS -->
-<!-- <section class="bg-white py-12 sm:py-16 lg:py-20 xl:py-24">-->
-<!-- <div class="px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto">-->
-<!-- <div class="text-center max-w-3xl mx-auto">-->
-<!-- <h2 class="text-sm font-semibold text-blue-600">-->
-<!-- Customer Testimonials-->
-<!-- </h2>-->
-<!-- <p-->
-<!-- class="text-3xl mt-4 sm:text-4xl lg:text-5xl font-semibold text-gray-900 tracking-tight lg:leading-tight">-->
-<!-- See what people are saying-->
-<!-- </p>-->
-<!-- <p class="text-gray-500 text-base leading-7 sm:text-lg sm:leading-8 font-medium mt-4">-->
-<!-- These are the stories of our customers who have joined us with great pleasure when using this crazy-->
-<!-- feature.-->
-<!-- </p>-->
-<!-- </div>-->
-<!-- </div>-->
-<!-- </section>-->
- <!-- END TESTIMONIALS -->
-
- <!-- START FAQS -->
-<!-- <section class="bg-white py-12 sm:py-16 lg:py-20 xl:py-24 border-t border-gray-200">-->
-<!-- <div class="px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto">-->
-<!-- <div class="text-center max-w-3xl mx-auto">-->
-<!-- <h2 class="text-3xl sm:text-4xl lg:text-5xl font-semibold text-gray-900 tracking-tight lg:leading-tight">-->
-<!-- Frequently Asked Questions-->
-<!-- </h2>-->
-<!-- <p class="text-gray-500 text-base leading-7 sm:text-lg sm:leading-8 font-medium mt-4">-->
-<!-- We've compiled a list of the most common questions we get asked.-->
-<!-- </p>-->
-<!-- </div>-->
-
-<!-- <div class="mt-12 sm:mt-16 lg:mt-20">-->
-<!-- <dl class="gap-y-12 grid grid-cols-1 sm:grid-cols-2 sm:gap-x-8 sm:gap-y-16 lg:gap-x-10">-->
-<!-- <div>-->
-<!-- <dt class="sm:text-lg text-base leading-7 font-medium sm:leading-8 text-gray-900">-->
-<!-- What's the best thing about Switzerland?-->
-<!-- </dt>-->
-<!-- <dd class="mt-2 text-base font-medium leading-7 text-gray-500">-->
-<!-- I don't know, but the flag is a big plus. Lorem ipsum dolor sit amet consectetur adipisicing elit.-->
-<!-- Quas cupiditate-->
-<!-- laboriosam fugiat.-->
-<!-- </dd>-->
-<!-- </div>-->
-
-<!-- <div>-->
-<!-- <dt class="sm:text-lg text-base leading-7 font-medium sm:leading-8 text-gray-900">-->
-<!-- How do you make holy water?-->
-<!-- </dt>-->
-<!-- <dd class="mt-2 text-base font-medium leading-7 text-gray-500">-->
-<!-- You boil the hell out of it. Lorem ipsum dolor sit amet consectetur adipisicing elit. Magnam aut-->
-<!-- tempora vitae odio-->
-<!-- inventore fuga aliquam nostrum quod porro. Delectus quia facere id sequi expedita natus.-->
-<!-- </dd>-->
-<!-- </div>-->
-
-<!-- <div>-->
-<!-- <dt class="sm:text-lg text-base leading-7 font-medium sm:leading-8 text-gray-900">-->
-<!-- What do you call someone with no body and no nose?-->
-<!-- </dt>-->
-<!-- <dd class="mt-2 text-base font-medium leading-7 text-gray-500">-->
-<!-- Nobody knows. Lorem ipsum dolor sit amet consectetur adipisicing elit. Culpa, voluptas ipsa quia-->
-<!-- excepturi, quibusdam-->
-<!-- natus exercitationem sapiente tempore labore voluptatem.-->
-<!-- </dd>-->
-<!-- </div>-->
-
-<!-- <div>-->
-<!-- <dt class="sm:text-lg text-base leading-7 font-medium sm:leading-8 text-gray-900">-->
-<!-- Why do you never see elephants hiding in trees?-->
-<!-- </dt>-->
-<!-- <dd class="mt-2 text-base font-medium leading-7 text-gray-500">-->
-<!-- Because they're so good at it. Lorem ipsum dolor sit amet consectetur adipisicing elit. Quas-->
-<!-- cupiditate laboriosam-->
-<!-- fugiat.-->
-<!-- </dd>-->
-<!-- </div>-->
-
-<!-- <div>-->
-<!-- <dt class="sm:text-lg text-base leading-7 font-medium sm:leading-8 text-gray-900">-->
-<!-- Why can't you hear a pterodactyl go to the bathroom?-->
-<!-- </dt>-->
-<!-- <dd class="mt-2 text-base font-medium leading-7 text-gray-500">-->
-<!-- Because the pee is silent. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsam, quas-->
-<!-- voluptatibus ex culpa-->
-<!-- ipsum, aspernatur blanditiis fugiat ullam magnam suscipit deserunt illum natus facilis atque vero-->
-<!-- consequatur! Quisquam,-->
-<!-- debitis error.-->
-<!-- </dd>-->
-<!-- </div>-->
-
-<!-- <div>-->
-<!-- <dt class="sm:text-lg text-base leading-7 font-medium sm:leading-8 text-gray-900">-->
-<!-- Why did the invisible man turn down the job offer?-->
-<!-- </dt>-->
-<!-- <dd class="mt-2 text-base font-medium leading-7 text-gray-500">-->
-<!-- He couldn't see himself doing it. Lorem ipsum dolor sit, amet consectetur adipisicing elit. Eveniet-->
-<!-- perspiciatis-->
-<!-- officiis corrupti tenetur. Temporibus ut voluptatibus, perferendis sed unde rerum deserunt eius.-->
-<!-- </dd>-->
-<!-- </div>-->
-<!-- </dl>-->
-<!-- </div>-->
-<!-- </div>-->
-<!-- </section>-->
- <!-- END FAQS -->
-
- <!-- START CTA -->
- <section class="bg-gradient-to-b from-gray-100 to-white py-12 sm:py-16 lg:pt-20 xl:pt-24">
- <div class="px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto">
- <div class="flex items-center justify-center gap-8">
- <img class="w-auto h-12" :src="asset('img/pages/ai_form_builder/icon-email-input.svg')" alt="">
- <img class="w-auto h-12" :src="asset('img/pages/ai_form_builder/icon-radio-buttons.svg')" alt="">
- <img class="w-auto h-12" :src="asset('img/pages/ai_form_builder/icon-textarea.svg')" alt="">
- </div>
-
- <div class="text-center max-w-3xl mx-auto mt-8 sm:mt-12">
- <h2 class="text-3xl sm:text-4xl lg:text-5xl font-semibold text-gray-900 tracking-tight lg:leading-tight">
- Create beautiful forms and share them anywhere
- </h2>
- <p class="mt-4 sm:mt-5 text-base leading-7 sm:text-xl sm:leading-9 font-medium text-gray-500">
- It takes seconds, you don't need to know how to code and <span class="text-blue-600">it's free</span>.
- </p>
-
- <div class="mt-8 flex justify-center">
- <v-button v-if="!authenticated" class="mr-1" :to="{ name: 'forms.create.guest' }" :arrow="true">
- Get started for free
- </v-button>
- <v-button v-else class="mr-1" :to="{ name: 'forms.create' }" :arrow="true">
- Get started for free
- </v-button>
- </div>
-
- <ul
- class="flex mt-8 sm:mt-12 text-sm font-medium text-gray-900 items-center justify-center flex-wrap gap-x-6 gap-y-4">
- <li class="flex items-center gap-2">
- <svg aria-hidden="true" class="h-5 w-5 text-gray-400 shrink-0" xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20" fill="currentColor">
- <path fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd" />
- </svg>
- No design skills required
- </li>
-
- <li class="flex items-center gap-2">
- <svg aria-hidden="true" class="h-5 w-5 text-gray-400 shrink-0" xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20" fill="currentColor">
- <path fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd" />
- </svg>
- Setup in minutes
- </li>
-
- <li class="flex items-center gap-2">
- <svg aria-hidden="true" class="h-5 w-5 text-gray-400 shrink-0" xmlns="http://www.w3.org/2000/svg"
- viewBox="0 0 20 20" fill="currentColor">
- <path fill-rule="evenodd"
- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
- clip-rule="evenodd" />
- </svg>
- Free plan available
- </li>
- </ul>
- </div>
- </div>
- </section>
- <!-- END CTA -->
-
- <open-form-footer class="dark:border-t border-t"/>
-
- </div>
-</template>
-
-<script>
-import { computed } from 'vue'
-import { useAuthStore } from '../stores/auth'
-import OpenFormFooter from '../components/pages/OpenFormFooter.vue'
-import SeoMeta from '../mixins/seo-meta.js'
-
-export default {
- components: {OpenFormFooter},
- layout: 'default',
- mixins: [SeoMeta],
-
- setup () {
- const authStore = useAuthStore()
- return {
- authenticated : computed(() => authStore.check),
- }
- },
-
- data: () => ({
- title: window.config.appName,
- metaTitle: 'AI form builder for free',
- }),
-
- mounted() {},
-
- methods: {},
-
- computed: {
- configLinks: () => window.config.links
- }
-}
-</script>
-
-<style lang="scss" scoped>
-
-.customer-logo-container {
- max-width: 130px;
- width: 100%;
-}
-
-.ticks {
- color:#2563eb;
-}
-
-@screen md {
- #macbook-video {
- position: absolute;
- max-width: 84.8% !important;
- right: 0px;
- top: 6.8%;
- }
-}
-</style>
diff --git a/resources/js/pages/auth/ForgotPasswordModal.vue b/resources/js/pages/auth/ForgotPasswordModal.vue
deleted file mode 100644
index 4d48849c7..000000000
--- a/resources/js/pages/auth/ForgotPasswordModal.vue
+++ /dev/null
@@ -1,78 +0,0 @@
-<template>
- <!-- Forgot password modal -->
- <modal :show="show" @close="close" max-width="lg">
- <template #icon>
- <template v-if="isMailSent">
- <svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
- <rect class="text-blue-50" width="56" height="56" rx="28" fill="currentColor"/>
- <path d="M16.3333 22.1666L25.859 28.8346C26.6304 29.3746 27.016 29.6446 27.4356 29.7492C27.8061 29.8415 28.1937 29.8415 28.5643 29.7492C28.9838 29.6446 29.3695 29.3746 30.1408 28.8346L39.6666 22.1666M21.9333 37.3333H34.0666C36.0268 37.3333 37.0069 37.3333 37.7556 36.9518C38.4141 36.6163 38.9496 36.0808 39.2851 35.4223C39.6666 34.6736 39.6666 33.6935 39.6666 31.7333V24.2666C39.6666 22.3064 39.6666 21.3264 39.2851 20.5777C38.9496 19.9191 38.4141 19.3837 37.7556 19.0481C37.0069 18.6666 36.0268 18.6666 34.0666 18.6666H21.9333C19.9731 18.6666 18.993 18.6666 18.2443 19.0481C17.5857 19.3837 17.0503 19.9191 16.7147 20.5777C16.3333 21.3264 16.3333 22.3064 16.3333 24.2666V31.7333C16.3333 33.6935 16.3333 34.6736 16.7147 35.4223C17.0503 36.0808 17.5857 36.6163 18.2443 36.9518C18.993 37.3333 19.9731 37.3333 21.9333 37.3333Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
- </svg>
- </template>
- <template v-else>
- <svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
- <rect class="text-blue-50" width="56" height="56" rx="28" fill="currentColor"/>
- <path d="M33.8333 24.4999C33.8333 23.9028 33.6055 23.3057 33.1499 22.8501C32.6943 22.3945 32.0972 22.1667 31.5 22.1667M31.5 31.5C35.366 31.5 38.5 28.366 38.5 24.5C38.5 20.634 35.366 17.5 31.5 17.5C27.634 17.5 24.5 20.634 24.5 24.5C24.5 24.8193 24.5214 25.1336 24.5628 25.4415C24.6309 25.948 24.6649 26.2013 24.642 26.3615C24.6181 26.5284 24.5877 26.6184 24.5055 26.7655C24.4265 26.9068 24.2873 27.046 24.009 27.3243L18.0467 33.2866C17.845 33.4884 17.7441 33.5893 17.6719 33.707C17.608 33.8114 17.5608 33.9252 17.5322 34.0442C17.5 34.1785 17.5 34.3212 17.5 34.6065V36.6333C17.5 37.2867 17.5 37.6134 17.6272 37.863C17.739 38.0825 17.9175 38.261 18.137 38.3728C18.3866 38.5 18.7133 38.5 19.3667 38.5H22.1667V36.1667H24.5V33.8333H26.8333L28.6757 31.991C28.954 31.7127 29.0932 31.5735 29.2345 31.4945C29.3816 31.4123 29.4716 31.3819 29.6385 31.358C29.7987 31.3351 30.052 31.3691 30.5585 31.4372C30.8664 31.4786 31.1807 31.5 31.5 31.5Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
- </svg>
- </template>
- </template>
- <template #title>
- <template v-if="isMailSent">Check your email</template>
- <template v-else>Forgot password?</template>
- </template>
- <template v-if="isMailSent">
- <div class="text-center">We sent a password reset link to <br/><span>{{form.email}}</span></div>
- <div class="w-full p-4 text-center">
- <span class="mt-4">Didn't receive the email? <a href="#" class="ml-1" @click.prevent="send">Click to resend</a></span>
- </div>
- </template>
- <template v-else>
- <div class="text-center">No worries, we'll send you reset instructions.</div>
- <form @submit.prevent="send" @keydown="form.onKeydown($event)" class="p-4">
- <text-input name="email" :form="form" label="Email" placeholder="Your email address" :required="true" />
-
- <div class="w-full mt-6">
- <v-button :loading="form.busy" class="w-full my-3">Reset password</v-button>
- </div>
- </form>
- </template>
- <div class="w-full text-center">
- <a href="#" @click.prevent="close" class="text-xs hover:underline text-gray-500 sm:text-sm hover:text-gray-700">
- <svg class="inline mr-1" width="15" height="14" viewBox="0 0 15 14" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M13.3334 6.99996H1.66669M1.66669 6.99996L7.50002 12.8333M1.66669 6.99996L7.50002 1.16663" stroke="#475467" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
- </svg>
- Back to log in
- </a>
- </div>
- </modal>
- </template>
-
- <script>
- import Form from 'vform'
-
- export default {
- name: 'ForgotPasswordModal',
- components: { },
- props: {
- show: {
- type: Boolean,
- required: true
- }
- },
- data: () => ({
- isMailSent: false,
- form: new Form({
- email: ''
- })
- }),
- methods: {
- async send () {
- const { data } = await this.form.post('/api/password/email')
- this.isMailSent = true
- },
- close () {
- this.$emit('close')
- this.isMailSent = false
- }
- }
- }
- </script>
diff --git a/resources/js/pages/auth/components/LoginForm.vue b/resources/js/pages/auth/components/LoginForm.vue
deleted file mode 100644
index 63c008fc9..000000000
--- a/resources/js/pages/auth/components/LoginForm.vue
+++ /dev/null
@@ -1,115 +0,0 @@
-<template>
- <div>
- <forgot-password-modal :show="showForgotModal" @close="showForgotModal=false" />
-
- <form class="mt-4" @submit.prevent="login" @keydown="form.onKeydown($event)">
- <!-- Email -->
- <text-input name="email" :form="form" label="Email" :required="true" placeholder="Your email address" />
-
- <!-- Password -->
- <text-input native-type="password" placeholder="Your password"
- name="password" :form="form" label="Password" :required="true"
- />
-
- <!-- Remember Me -->
- <div class="relative flex items-center my-5">
- <v-checkbox v-model="remember" class="w-full md:w-1/2" name="remember" size="small">
- Remember me
- </v-checkbox>
-
- <div class="w-full md:w-1/2 text-right">
- <a href="#" class="text-xs hover:underline text-gray-500 sm:text-sm hover:text-gray-700" @click.prevent="showForgotModal=true">
- Forgot your password?
- </a>
- </div>
- </div>
-
- <!-- Submit Button -->
- <v-button dusk="btn_login" :loading="form.busy">
- Log in to continue
- </v-button>
-
- <p class="text-gray-500 mt-4">
- Don't have an account?
- <a v-if="isQuick" href="#" class="font-semibold ml-1" @click.prevent="$emit('openRegister')">Sign Up</a>
- <router-link v-else :to="{name:'register'}" class="font-semibold ml-1">
- Sign Up
- </router-link>
- </p>
- </form>
- </div>
-</template>
-
-<script>
-import { computed } from 'vue'
-import Form from 'vform'
-import Cookies from 'js-cookie'
-import { useAuthStore } from '../../../stores/auth'
-import OpenFormFooter from '../../../components/pages/OpenFormFooter.vue'
-import Testimonials from '../../../components/pages/welcome/Testimonials.vue'
-import ForgotPasswordModal from '../ForgotPasswordModal.vue'
-
-export default {
- name: 'LoginForm',
- components: {
- OpenFormFooter,
- Testimonials,
- ForgotPasswordModal
- },
- props: {
- isQuick: {
- type: Boolean,
- required: false,
- default: false
- }
- },
-
- setup () {
- const authStore = useAuthStore()
- return {
- authStore
- }
- },
-
- data: () => ({
- form: new Form({
- email: '',
- password: ''
- }),
- remember: false,
- showForgotModal: false
- }),
-
- methods: {
- async login () {
- // Submit the form.
- const { data } = await this.form.post('/api/login')
-
- // Save the token.
- this.authStore.saveToken(data.token, this.remember)
-
- // Fetch the user.
- await this.authStore.fetchUser()
-
- // Redirect home.
- this.redirect()
- },
-
- redirect () {
- if (this.isQuick) {
- this.$emit('afterQuickLogin')
- return
- }
-
- const intendedUrl = Cookies.get('intended_url')
-
- if (intendedUrl) {
- Cookies.remove('intended_url')
- this.$router.push({ path: intendedUrl })
- } else {
- this.$router.push({ name: 'home' })
- }
- }
- }
-}
-</script>
diff --git a/resources/js/pages/auth/components/QuickRegister.vue b/resources/js/pages/auth/components/QuickRegister.vue
deleted file mode 100644
index 41a152fd0..000000000
--- a/resources/js/pages/auth/components/QuickRegister.vue
+++ /dev/null
@@ -1,76 +0,0 @@
-<template>
- <div>
- <!-- Login modal -->
- <modal :show="showLoginModal" @close="showLoginModal=false" max-width="lg">
- <template #icon>
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-8 h-8">
- <path stroke-linecap="round" stroke-linejoin="round" d="M17.982 18.725A7.488 7.488 0 0012 15.75a7.488 7.488 0 00-5.982 2.975m11.963 0a9 9 0 10-11.963 0m11.963 0A8.966 8.966 0 0112 21a8.966 8.966 0 01-5.982-2.275M15 9.75a3 3 0 11-6 0 3 3 0 016 0z" />
- </svg>
- </template>
- <template #title>
- Login to OpnForm
- </template>
- <div class="px-4">
- <login-form :isQuick="true" @openRegister="openRegister" @afterQuickLogin="afterQuickLogin" />
- </div>
- </modal>
-
-
- <!-- Register modal -->
- <modal :show="showRegisterModal" @close="$emit('close')" max-width="lg">
- <template #icon>
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-8 h-8">
- <path stroke-linecap="round" stroke-linejoin="round" d="M17.982 18.725A7.488 7.488 0 0012 15.75a7.488 7.488 0 00-5.982 2.975m11.963 0a9 9 0 10-11.963 0m11.963 0A8.966 8.966 0 0112 21a8.966 8.966 0 01-5.982-2.275M15 9.75a3 3 0 11-6 0 3 3 0 016 0z" />
- </svg>
- </template>
- <template #title>
- Create an account
- </template>
- <div class="px-4">
- <register-form :isQuick="true" @openLogin="openLogin" @afterQuickLogin="afterQuickLogin" />
- </div>
- </modal>
-
- </div>
-</template>
-
-<script>
-import LoginForm from './LoginForm.vue'
-import RegisterForm from './RegisterForm.vue'
-
-export default {
- name: 'QuickRegister',
- components: {
- LoginForm,
- RegisterForm
- },
- props: {
- showRegisterModal: {
- type: Boolean,
- required: true
- }
- },
-
- data: () => ({
- showLoginModal: false,
- }),
-
- mounted() {
- },
-
- methods: {
- openLogin(){
- this.showLoginModal = true
- this.$emit('close')
- },
- openRegister(){
- this.showLoginModal = false
- this.$emit('reopen')
- },
- afterQuickLogin(){
- this.showLoginModal = false
- this.$emit('afterLogin')
- }
- }
-}
-</script>
diff --git a/resources/js/pages/auth/components/RegisterForm.vue b/resources/js/pages/auth/components/RegisterForm.vue
deleted file mode 100644
index 9eaab50d5..000000000
--- a/resources/js/pages/auth/components/RegisterForm.vue
+++ /dev/null
@@ -1,154 +0,0 @@
-<template>
- <div>
- <form class="mt-4" @submit.prevent="register" @keydown="form.onKeydown($event)">
- <!-- Name -->
- <text-input name="name" :form="form" label="Name" placeholder="Your name" :required="true" />
-
- <!-- Email -->
- <text-input name="email" :form="form" label="Email" :required="true" placeholder="Your email address" />
-
- <select-input name="hear_about_us" :options="hearAboutUsOptions" :form="form" placeholder="Select option"
- label="How did you hear about us?" :required="true"
- />
-
- <!-- Password -->
- <text-input native-type="password" placeholder="Enter password"
- name="password" :form="form" label="Password" :required="true"
- />
-
- <!-- Password Confirmation-->
- <text-input native-type="password" :form="form" :required="true" placeholder="Enter confirm password"
- name="password_confirmation" label="Confirm Password"
- />
-
- <checkbox-input :form="form" name="agree_terms" :required="true">
- <template #label>
- I agree with the <router-link :to="{name:'terms-conditions'}" target="_blank">
- Terms and conditions
- </router-link> and <router-link :to="{name:'privacy-policy'}" target="_blank">
- Privacy policy
- </router-link> of the website and I accept them.
- </template>
- </checkbox-input>
-
- <!-- Submit Button -->
- <v-button :loading="form.busy">
- Create an account
- </v-button>
-
- <p class="text-gray-500 mt-4">
- Already have an account?
- <a v-if="isQuick" href="#" class="font-semibold ml-1" @click.prevent="$emit('openLogin')">Log In</a>
- <router-link v-else :to="{name:'login'}" class="font-semibold ml-1">
- Log In
- </router-link>
- </p>
- </form>
- </div>
-</template>
-
-<script>
-import { computed } from 'vue'
-import Form from 'vform'
-import { useAuthStore } from '../../../stores/auth'
-import { initCrisp } from '../../../middleware/check-auth.js'
-
-export default {
- name: 'RegisterForm',
- components: {},
- props: {
- isQuick: {
- type: Boolean,
- required: false,
- default: false
- }
- },
-
- setup () {
- const authStore = useAuthStore()
- return {
- authStore
- }
- },
-
- data: () => ({
- form: new Form({
- name: '',
- email: '',
- password: '',
- password_confirmation: '',
- agree_terms: false,
- appsumo_license: null
- }),
- mustVerifyEmail: false
- }),
-
- computed: {
- hearAboutUsOptions () {
- const options = [
- { name: 'Facebook', value: 'facebook' },
- { name: 'Twitter', value: 'twitter' },
- { name: 'Reddit', value: 'reddit' },
- { name: 'Github', value: 'github' },
- { name: 'Search Engine (Google, DuckDuckGo...)', value: 'search_engine' },
- { name: 'Friend or Colleague', value: 'friend_colleague' },
- { name: 'Blog/Article', value: 'blog_article' }
- ].map((value) => ({ value, sort: Math.random() }))
- .sort((a, b) => a.sort - b.sort)
- .map(({ value }) => value)
- options.push({ name: 'Other', value: 'other' })
- return options
- }
- },
-
- mounted () {
- // Set appsumo license
- if (this.$route.query.appsumo_license !== undefined && this.$route.query.appsumo_license) {
- this.form.appsumo_license = this.$route.query.appsumo_license
- }
- },
-
- methods: {
- async register () {
- // Register the user.
- const { data } = await this.form.post('/api/register')
-
- // Must verify email fist.
- if (data.status) {
- this.mustVerifyEmail = true
- } else {
- // Log in the user.
- const { data: { token } } = await this.form.post('/api/login')
-
- // Save the token.
- this.authStore.saveToken(token)
-
- // Update the user.
- await this.authStore.updateUser(data)
-
- // Track event
- this.$logEvent('register', { source: this.form.hear_about_us })
-
- initCrisp(data)
- this.$crisp.push(['set', 'session:event', [[['register', {}, 'blue']]]])
-
- // AppSumo License
- if (data.appsumo_license === false) {
- this.alertError('Invalid AppSumo license. This probably happened because this license was already' +
- ' attached to another OpnForm account. Please contact support.')
- } else if (data.appsumo_license === true) {
- this.alertSuccess('Your AppSumo license was successfully activated! You now have access to all the' +
- ' features of the AppSumo deal.')
- }
-
- // Redirect
- if (this.isQuick) {
- this.$emit('afterQuickLogin')
- } else {
- this.$router.push({ name: 'forms.create' })
- }
- }
- }
- }
-}
-</script>
diff --git a/resources/js/pages/auth/login.vue b/resources/js/pages/auth/login.vue
deleted file mode 100644
index 1506c12cd..000000000
--- a/resources/js/pages/auth/login.vue
+++ /dev/null
@@ -1,78 +0,0 @@
-<template>
- <div>
- <div class="flex mt-6 mb-10">
- <div class="w-full md:max-w-6xl mx-auto px-4 flex md:flex-row-reverse flex-wrap">
- <div class="w-full md:w-1/2 md:p-6">
- <div class="border rounded-md p-6 shadow-md sticky top-4">
- <h2 class="font-semibold text-2xl">
- Login to OpnForm
- </h2>
- <small>Welcome back! Please enter your details.</small>
-
- <login-form />
- </div>
- </div>
- <div class="w-full md:w-1/2 md:p-6 mt-8 md:mt-0 ">
- <h1 class="font-bold">
- Create beautiful forms and share them anywhere
- </h1>
- <p class="text-gray-900 my-4 text-lg">
- It takes seconds, you don't need to know how to code and it's free.
- </p>
- <div class="flex flex-wrap justify-center">
- <p class="px-3 pb-3 text-sm text-gray-500">
- <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 inline" fill="none" viewBox="0 0 24 24"
- stroke="currentColor" stroke-width="2"
- >
- <path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7" />
- </svg>
- Unlimited forms
- </p>
- <p class="px-3 pb-3 text-sm text-gray-500">
- <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 inline" fill="none" viewBox="0 0 24 24"
- stroke="currentColor" stroke-width="2"
- >
- <path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7" />
- </svg>
- Unlimited fields
- </p>
- <p class="px-3 pb-3 text-sm text-gray-500">
- <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 inline" fill="none" viewBox="0 0 24 24"
- stroke="currentColor" stroke-width="2"
- >
- <path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7" />
- </svg>
- Unlimited submissions
- </p>
- </div>
-<!-- <div class="mt-3 p-6">-->
-<!-- <testimonials />-->
-<!-- </div>-->
- </div>
- </div>
- </div>
- <open-form-footer />
- </div>
-</template>
-
-<script>
-import OpenFormFooter from '~/components/pages/OpenFormFooter.vue'
-import LoginForm from "./components/LoginForm.vue";
-
-export default {
- components: {
- OpenFormFooter,
- LoginForm
- },
-
- middleware: 'guest',
-
- data: () => ({
- metaTitle: 'Login',
- }),
-
- methods: {
-
- }
-}
-</script>
diff --git a/resources/js/pages/auth/password/email.vue b/resources/js/pages/auth/password/email.vue
deleted file mode 100644
index 7f049592e..000000000
--- a/resources/js/pages/auth/password/email.vue
+++ /dev/null
@@ -1,56 +0,0 @@
-<template>
- <div>
- <div class="flex mt-6 mb-10">
- <div class="w-full md:w-2/3 md:mx-auto md:max-w-md px-4">
- <h1 class="my-6">
- Reset password
- </h1>
- <form @submit.prevent="send" @keydown="form.onKeydown($event)">
- <alert-success :form="form" :message="status" class="mb-4" />
-
- <!-- Email -->
- <text-input name="email" :form="form" label="Email" :required="true" />
-
- <!-- Submit Button -->
- <v-button class="w-full" :loading="form.busy">
- Send Password Reset Link
- </v-button>
- </form>
- </div>
- </div>
- <open-form-footer />
- </div>
-</template>
-
-<script>
-import Form from 'vform'
-import OpenFormFooter from '../../../components/pages/OpenFormFooter.vue'
-import SeoMeta from '../../../mixins/seo-meta.js'
-
-export default {
- components: {
- OpenFormFooter
- },
-
- mixins: [SeoMeta],
- middleware: 'guest',
-
- data: () => ({
- metaTitle: 'Reset Password',
- status: '',
- form: new Form({
- email: ''
- })
- }),
-
- methods: {
- async send () {
- const { data } = await this.form.post('/api/password/email')
-
- this.status = data.status
-
- this.form.reset()
- }
- }
-}
-</script>
diff --git a/resources/js/pages/auth/password/reset.vue b/resources/js/pages/auth/password/reset.vue
deleted file mode 100644
index 10bfcf0cf..000000000
--- a/resources/js/pages/auth/password/reset.vue
+++ /dev/null
@@ -1,74 +0,0 @@
-<template>
- <div>
- <div class="flex mt-6 mb-10">
- <div class="w-full md:w-2/3 md:mx-auto md:max-w-md px-4">
- <h1 class="my-6">
- Reset Password
- </h1>
- <form @submit.prevent="reset" @keydown="form.onKeydown($event)">
- <alert-success class="mb-4" :form="form" :message="status" />
-
- <!-- Email -->
- <text-input name="email" :form="form" label="Email" :required="true" />
-
- <!-- Password -->
- <text-input class="mt-8" native-type="password"
- name="password" :form="form" label="Password" :required="true"
- />
-
- <!-- Password Confirmation-->
- <text-input class="mt-8" native-type="password"
- name="password_confirmation" :form="form" label="Confirm Password" :required="true"
- />
-
- <!-- Submit Button -->
- <v-button class="w-full" :loading="form.busy">
- Reset Password
- </v-button>
- </form>
- </div>
- </div>
- <open-form-footer />
- </div>
-</template>
-
-<script>
-import Form from 'vform'
-import OpenFormFooter from '../../../components/pages/OpenFormFooter.vue'
-import SeoMeta from '../../../mixins/seo-meta.js'
-
-export default {
- components: {
- OpenFormFooter
- },
-
- mixins: [SeoMeta],
- middleware: 'guest',
-
- data: () => ({
- metaTitle: 'Reset Password',
- status: '',
- form: new Form({
- token: '',
- email: '',
- password: '',
- password_confirmation: ''
- })
- }),
-
- created () {
- this.form.email = this.$route.query.email
- this.form.token = this.$route.params.token
- },
-
- methods: {
- async reset () {
- const { data } = await this.form.post('/api/password/reset')
-
- this.status = data.status
-
- this.form.reset()
- }
- }
-}
-</script>
diff --git a/resources/js/pages/auth/register.vue b/resources/js/pages/auth/register.vue
deleted file mode 100644
index e0ac9dca5..000000000
--- a/resources/js/pages/auth/register.vue
+++ /dev/null
@@ -1,84 +0,0 @@
-<template>
- <div>
- <div class="flex mt-6 mb-10">
- <div class="w-full md:max-w-6xl mx-auto px-4 flex items-center md:flex-row-reverse flex-wrap">
- <div class="w-full lg:w-1/2 md:p-6">
- <app-sumo-register class="mb-10 p-6 lg:hidden" />
- <div class="border rounded-md p-6 shadow-md sticky top-4">
- <h2 class="font-semibold text-2xl">
- Create an account
- </h2>
- <small>Sign up in less than 2 minutes.</small>
- <register-form />
- </div>
- </div>
- <div class="w-full hidden lg:block lg:w-1/2 md:p-6 mt-8 md:mt-0 ">
- <app-sumo-register class="mb-10" />
- <h1 class="font-bold">
- Create beautiful forms and share them anywhere
- </h1>
- <p class="text-gray-900 my-4 text-lg">
- It takes seconds, you don't need to know how to code and it's free.
- </p>
- <div class="flex flex-wrap justify-center">
- <p class="px-3 pb-3 text-sm text-gray-500">
- <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 inline" fill="none" viewBox="0 0 24 24"
- stroke="currentColor" stroke-width="2"
- >
- <path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7" />
- </svg>
- Unlimited forms
- </p>
- <p class="px-3 pb-3 text-sm text-gray-500">
- <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 inline" fill="none" viewBox="0 0 24 24"
- stroke="currentColor" stroke-width="2"
- >
- <path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7" />
- </svg>
- Unlimited fields
- </p>
- <p class="px-3 pb-3 text-sm text-gray-500">
- <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 inline" fill="none" viewBox="0 0 24 24"
- stroke="currentColor" stroke-width="2"
- >
- <path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7" />
- </svg>
- Unlimited submissions
- </p>
- </div>
- <!-- <div class="mt-3 p-6">-->
- <!-- <testimonials />-->
- <!-- </div>-->
- </div>
- </div>
- </div>
- <open-form-footer />
- </div>
-</template>
-
-<script>
-import OpenFormFooter from '../../components/pages/OpenFormFooter.vue'
-import RegisterForm from './components/RegisterForm.vue'
-import SeoMeta from '../../mixins/seo-meta.js'
-import AppSumoRegister from '../../components/vendor/appsumo/AppSumoRegister.vue'
-
-export default {
- components: {
- AppSumoRegister,
- OpenFormFooter,
- RegisterForm
- },
-
- mixins: [SeoMeta],
-
- middleware: 'guest',
-
- data: () => ({
- metaTitle: 'Register'
- }),
-
- computed: {},
-
- methods: {}
-}
-</script>
diff --git a/resources/js/pages/auth/verification/resend.vue b/resources/js/pages/auth/verification/resend.vue
deleted file mode 100644
index 1236b8ff0..000000000
--- a/resources/js/pages/auth/verification/resend.vue
+++ /dev/null
@@ -1,58 +0,0 @@
-<template>
- <div class="row">
- <div class="col-lg-8 m-auto px-4">
- <h1 class="my-6">
- Verify Email
- </h1>
- <form @submit.prevent="send" @keydown="form.onKeydown($event)">
- <alert-success :form="form" :message="status" />
-
- <!-- Email -->
- <text-input name="email" :form="form" label="Email" :required="true" />
-
- <!-- Submit Button -->
- <div class="form-group row">
- <div class="col-md-9 ml-md-auto">
- <v-button :loading="form.busy">
- Send Verification Link
- </v-button>
- </div>
- </div>
- </form>
- </div>
- </div>
-</template>
-
-<script>
-import Form from 'vform'
-import SeoMeta from '../../../mixins/seo-meta.js'
-
-export default {
- mixins: [SeoMeta],
- middleware: 'guest',
-
- data: () => ({
- metaTitle: 'Verify Email',
- status: '',
- form: new Form({
- email: ''
- })
- }),
-
- created () {
- if (this.$route.query.email) {
- this.form.email = this.$route.query.email
- }
- },
-
- methods: {
- async send () {
- const { data } = await this.form.post('/api/email/resend')
-
- this.status = data.status
-
- this.form.reset()
- }
- }
-}
-</script>
diff --git a/resources/js/pages/auth/verification/verify.vue b/resources/js/pages/auth/verification/verify.vue
deleted file mode 100644
index a32cc1300..000000000
--- a/resources/js/pages/auth/verification/verify.vue
+++ /dev/null
@@ -1,59 +0,0 @@
-<template>
- <div class="row">
- <div class="col-lg-8 m-auto px-4">
- <h1 class="my-6">
- Verify Email
- </h1>
- <template v-if="success">
- <div class="alert alert-success" role="alert">
- {{ success }}
- </div>
-
- <router-link :to="{ name: 'login' }" class="btn btn-primary">
- Login
- </router-link>
- </template>
- <template v-else>
- <div class="alert alert-danger" role="alert">
- {{ error || 'Failed to verify email.' }}
- </div>
-
- <router-link :to="{ name: 'verification.resend' }" class="small float-right">
- Resend Verification Link?
- </router-link>
- </template>
- </div>
- </div>
-</template>
-
-<script>
-import axios from 'axios'
-import SeoMeta from '../../../mixins/seo-meta.js'
-
-const qs = (params) => Object.keys(params).map(key => `${key}=${params[key]}`).join('&')
-
-export default {
- mixins: [SeoMeta],
- async beforeRouteEnter (to, from, next) {
- try {
- const { data } = await axios.post(`/api/email/verify/${to.params.id}?${qs(to.query)}`)
-
- next(vm => {
- vm.success = data.status
- })
- } catch (e) {
- next(vm => {
- vm.error = e.response.data.status
- })
- }
- },
-
- middleware: 'guest',
-
- data: () => ({
- metaTitle: 'Verify Email',
- error: '',
- success: ''
- })
-}
-</script>
diff --git a/resources/js/pages/community/students-academics-ngos.vue b/resources/js/pages/community/students-academics-ngos.vue
deleted file mode 100644
index 6cc997b7b..000000000
--- a/resources/js/pages/community/students-academics-ngos.vue
+++ /dev/null
@@ -1,35 +0,0 @@
-<template>
- <div>
- <div class="mt-6 flex flex-col">
- <div class="w-full md:max-w-3xl md:mx-auto px-4 md:pt-16 pb-10">
- <h1 class="sm:text-5xl mb-4">
- OpnForm Discount for Students, Academics and NGOs
- </h1>
- <notion-page page-id="c65a499d39834e0b8978556a8d7af867" />
- </div>
- </div>
- <open-form-footer />
- </div>
-</template>
-
-<script>
-import OpenFormFooter from '../../components/pages/OpenFormFooter.vue'
-
-export default {
- components: { OpenFormFooter },
- layout: 'default',
-
- props: {
- metaTitle: { type: String, default: 'OpnForm Discount for Students, Academics and NGOs' },
- metaDescription: { type: String, default: 'If you are a student, an academic of if you work for a NGO we are happy to offer you a 40% discount on your OpnForm Pro subscription.' }
- },
-
- data: () => ({
- }),
-
- computed: {},
-
- mounted () {
- }
-}
-</script>
diff --git a/resources/js/pages/errors/404.vue b/resources/js/pages/errors/404.vue
deleted file mode 100644
index fb7879eb7..000000000
--- a/resources/js/pages/errors/404.vue
+++ /dev/null
@@ -1,23 +0,0 @@
-<template>
- <div class="flex mt-6">
- <div class="w-full md:w-2/3 md:mx-auto md:max-w-md">
- <img alt="Nice plant as we have nothing else to show!" :src="asset('img/icons/plant.png')" class="w-56 mb-5">
-
- <h1 class="mb-4 font-semibold text-3xl text-gray-900">
- Page Not Found
- </h1>
-
- <div class="links">
- <router-link :to="{ name: 'welcome' }" class="hover:underline text-gray-700">
- Go Home
- </router-link>
- </div>
- </div>
- </div>
-</template>
-
-<script>
-export default {
- name: 'NotFound'
-}
-</script>
diff --git a/resources/js/pages/forms/create-guest.vue b/resources/js/pages/forms/create-guest.vue
deleted file mode 100644
index c7fa539de..000000000
--- a/resources/js/pages/forms/create-guest.vue
+++ /dev/null
@@ -1,153 +0,0 @@
-<template>
- <div class="flex flex-wrap flex-col">
- <transition v-if="stateReady" name="fade" mode="out-in">
- <div key="2">
- <create-form-base-modal :show="showInitialFormModal" @form-generated="formGenerated"
- @close="showInitialFormModal=false"
- />
- <form-editor v-if="!workspacesLoading" ref="editor"
- class="w-full flex flex-grow"
- :error="error"
- :is-guest="isGuest"
- @openRegister="openRegister"
- />
- <div v-else class="text-center mt-4 py-6">
- <loader class="h-6 w-6 text-nt-blue mx-auto" />
- </div>
- </div>
- </transition>
-
- <quick-register :show-register-modal="registerModal" @close="registerModal=false" @reopen="registerModal=true"
- @afterLogin="afterLogin"
- />
- </div>
-</template>
-
-<script>
-import { computed } from 'vue'
-import Form from 'vform'
-import { useTemplatesStore } from '../../stores/templates'
-import { useWorkingFormStore } from '../../stores/working_form'
-import { useWorkspacesStore } from '../../stores/workspaces'
-import QuickRegister from '../auth/components/QuickRegister.vue'
-import initForm from '../../mixins/form_editor/initForm.js'
-import SeoMeta from '../../mixins/seo-meta.js'
-import CreateFormBaseModal from '../../components/pages/forms/create/CreateFormBaseModal.vue'
-
-const loadTemplates = function () {
- const templatesStore = useTemplatesStore()
- templatesStore.startLoading()
- templatesStore.loadIfEmpty().then(() => {
- templatesStore.stopLoading()
- })
-}
-
-export default {
- name: 'CreateFormGuest',
- components: {
- QuickRegister, CreateFormBaseModal
- },
- mixins: [initForm, SeoMeta],
- middleware: 'guest',
-
- beforeRouteEnter (to, from, next) {
- loadTemplates()
- next()
- },
-
- setup () {
- const templatesStore = useTemplatesStore()
- const workingFormStore = useWorkingFormStore()
- const workspacesStore = useWorkspacesStore()
- return {
- templatesStore,
- workingFormStore,
- workspacesStore,
- workspaces : computed(() => workspacesStore.content),
- workspacesLoading : computed(() => workspacesStore.loading)
- }
- },
-
- data () {
- return {
- metaTitle: 'Create a new Form as Guest',
- stateReady: false,
- loading: false,
- error: '',
- registerModal: false,
- isGuest: true,
- showInitialFormModal: false
- }
- },
-
- computed: {
- form: {
- get () {
- return this.workingFormStore.content
- },
- /* We add a setter */
- set (value) {
- this.workingFormStore.set(value)
- }
- },
- workspace () {
- return this.workspacesStore.getCurrent()
- }
- },
-
- watch: {
- workspace () {
- if (this.workspace) {
- this.form.workspace_id = this.workspace.id
- }
- }
- },
-
- mounted () {
- // Set as guest user
- const guestWorkspace = {
- id: null,
- name: 'Guest Workspace',
- is_enterprise: false,
- is_pro: false
- }
- this.workspacesStore.set([guestWorkspace])
- this.workspacesStore.setCurrentId(guestWorkspace.id)
-
- this.initForm()
- if (this.$route.query.template !== undefined && this.$route.query.template) {
- const template = this.templatesStore.getBySlug(this.$route.query.template)
- if (template && template.structure) {
- this.form = new Form({ ...this.form.data(), ...template.structure })
- }
- } else {
- // No template loaded, ask how to start
- this.showInitialFormModal = true
- }
- this.closeAlert()
- this.stateReady = true
- },
-
- created () {},
- unmounted () {},
-
- methods: {
- openRegister () {
- this.registerModal = true
- },
- afterLogin () {
- this.registerModal = false
- this.isGuest = false
- this.workspacesStore.load()
- setTimeout(() => {
- if (this.$refs.editor) {
- this.$refs.editor.saveFormCreate()
- }
- }, 500)
- },
- formGenerated (form) {
- this.form = new Form({ ...this.form.data(), ...form })
- }
- }
-}
-</script>
diff --git a/resources/js/pages/forms/create.vue b/resources/js/pages/forms/create.vue
deleted file mode 100644
index 07510d9d6..000000000
--- a/resources/js/pages/forms/create.vue
+++ /dev/null
@@ -1,164 +0,0 @@
-<template>
- <div class="flex flex-wrap flex-col">
- <transition v-if="stateReady" name="fade" mode="out-in">
- <div key="2">
- <create-form-base-modal :show="showInitialFormModal" @form-generated="formGenerated"
- @close="showInitialFormModal=false"
- />
- <form-editor v-if="!workspacesLoading" ref="editor"
- class="w-full flex flex-grow"
- :error="error"
- @on-save="formInitialHash=null"
- />
- <div v-else class="text-center mt-4 py-6">
- <loader class="h-6 w-6 text-nt-blue mx-auto" />
- </div>
- </div>
- </transition>
- </div>
-</template>
-
-<script>
-import Form from 'vform'
-import { computed } from 'vue'
-import { useAuthStore } from '../../stores/auth'
-import { useTemplatesStore } from '../../stores/templates'
-import { useWorkingFormStore } from '../../stores/working_form'
-import { useWorkspacesStore } from '../../stores/workspaces'
-import initForm from '../../mixins/form_editor/initForm.js'
-import SeoMeta from '../../mixins/seo-meta.js'
-import CreateFormBaseModal from '../../components/pages/forms/create/CreateFormBaseModal.vue'
-
-const loadTemplates = function () {
- const templatesStore = useTemplatesStore()
- templatesStore.startLoading()
- templatesStore.loadIfEmpty().then(() => {
- templatesStore.stopLoading()
- })
-}
-
-export default {
- name: 'CreateForm',
- components: { CreateFormBaseModal },
-
- mixins: [initForm, SeoMeta],
- middleware: 'auth',
-
- beforeRouteEnter (to, from, next) {
- loadTemplates()
- next()
- },
-
- beforeRouteLeave (to, from, next) {
- if (this.isDirty()) {
- return this.alertConfirm('Changes you made may not be saved. Are you sure want to leave?', () => {
- window.onbeforeunload = null
- next()
- }, () => {})
- }
- next()
- },
-
- setup () {
- const authStore = useAuthStore()
- const templatesStore = useTemplatesStore()
- const workingFormStore = useWorkingFormStore()
- const workspacesStore = useWorkspacesStore()
- return {
- templatesStore,
- workingFormStore,
- workspacesStore,
- user: computed(() => authStore.user),
- workspaces : computed(() => workspacesStore.content),
- workspacesLoading : computed(() => workspacesStore.loading)
- }
- },
-
- data () {
- return {
- metaTitle: 'Create a new Form',
- stateReady: false,
- loading: false,
- error: '',
- showInitialFormModal: false,
- formInitialHash: null
- }
- },
-
- computed: {
- form: {
- get () {
- return this.workingFormStore.content
- },
- /* We add a setter */
- set (value) {
- this.workingFormStore.set(value)
- }
- },
- workspace () {
- return this.workspacesStore.getCurrent()
- }
- },
-
- watch: {
- workspace () {
- if (this.workspace) {
- this.form.workspace_id = this.workspace.id
- }
- },
- user () {
- this.stateReady = true
- }
- },
-
- mounted () {
- window.onbeforeunload = () => {
- if (this.isDirty()) {
- return false
- }
- }
-
- this.initForm()
- this.formInitialHash = this.hashString(JSON.stringify(this.form.data()))
- if (this.$route.query.template !== undefined && this.$route.query.template) {
- const template = this.templatesStore.getBySlug(this.$route.query.template)
- if (template && template.structure) {
- this.form = new Form({ ...this.form.data(), ...template.structure })
- }
- } else {
- // No template loaded, ask how to start
- this.showInitialFormModal = true
- }
- this.closeAlert()
- this.workspacesStore.loadIfEmpty()
-
- this.stateReady = this.user !== null
- },
-
- created () {},
- unmounted () {},
-
- methods: {
- formGenerated (form) {
- this.form = new Form({ ...this.form.data(), ...form })
- },
- isDirty () {
- return !this.loading && this.formInitialHash && this.formInitialHash !== this.hashString(JSON.stringify(this.form.data()))
- },
- hashString (str, seed = 0) {
- let h1 = 0xdeadbeef ^ seed
- let h2 = 0x41c6ce57 ^ seed
- for (let i = 0, ch; i < str.length; i++) {
- ch = str.charCodeAt(i)
- h1 = Math.imul(h1 ^ ch, 2654435761)
- h2 = Math.imul(h2 ^ ch, 1597334677)
- }
-
- h1 = Math.imul(h1 ^ (h1 >>> 16), 2246822507) ^ Math.imul(h2 ^ (h2 >>> 13), 3266489909)
- h2 = Math.imul(h2 ^ (h2 >>> 16), 2246822507) ^ Math.imul(h1 ^ (h1 >>> 13), 3266489909)
-
- return 4294967296 * (2097151 & h2) + (h1 >>> 0)
- }
- }
-}
-</script>
diff --git a/resources/js/pages/forms/edit.vue b/resources/js/pages/forms/edit.vue
deleted file mode 100644
index a55d5589e..000000000
--- a/resources/js/pages/forms/edit.vue
+++ /dev/null
@@ -1,148 +0,0 @@
-<template>
- <div class="w-full flex flex-col">
- <form-editor v-if="pageLoaded" ref="editor"
- :is-edit="true"
- @on-save="formInitialHash=null"
- />
- <div v-else-if="!loading && error" class="mt-4 rounded-lg max-w-xl mx-auto p-6 bg-red-100 text-red-500">
- {{ error }}
- </div>
- <div v-else class="text-center mt-4 py-6">
- <loader class="h-6 w-6 text-nt-blue mx-auto" />
- </div>
- </div>
-</template>
-
-<script>
-import { computed } from 'vue'
-import Form from 'vform'
-import { useFormsStore } from '../../stores/forms'
-import { useWorkingFormStore } from '../../stores/working_form'
-import { useWorkspacesStore } from '../../stores/workspaces'
-import Breadcrumb from '../../components/common/Breadcrumb.vue'
-import SeoMeta from '../../mixins/seo-meta.js'
-
-const loadForms = function () {
- const formsStore = useFormsStore()
- const workspacesStore = useWorkspacesStore()
- formsStore.startLoading()
- workspacesStore.loadIfEmpty().then(() => {
- formsStore.load(workspacesStore.currentId)
- })
-}
-
-export default {
- name: 'EditForm',
- components: { Breadcrumb },
- mixins: [SeoMeta],
- middleware: 'auth',
-
- beforeRouteEnter (to, from, next) {
- const formsStore = useFormsStore()
- const workingFormStore = useWorkingFormStore()
- if (!formsStore.getBySlug(to.params.slug)) {
- loadForms()
- }
- workingFormStore.set(null) // Reset old working form
- next()
- },
-
- beforeRouteLeave (to, from, next) {
- if (this.isDirty()) {
- return this.alertConfirm('Changes you made may not be saved. Are you sure want to leave?', () => {
- window.onbeforeunload = null
- next()
- }, () => {})
- }
- next()
- },
-
- setup () {
- const formsStore = useFormsStore()
- const workingFormStore = useWorkingFormStore()
- const workspacesStore = useWorkspacesStore()
- return {
- formsStore,
- workingFormStore,
- workspacesStore,
- formsLoading : computed(() => formsStore.loading)
- }
- },
-
- data () {
- return {
- loading: false,
- error: null,
- formInitialHash: null
- }
- },
-
- computed: {
- updatedForm: {
- get () {
- return this.workingFormStore.content
- },
- /* We add a setter */
- set (value) {
- this.workingFormStore.set(value)
- }
- },
- form () {
- return this.formsStore.getBySlug(this.$route.params.slug)
- },
- pageLoaded () {
- return !this.loading && this.updatedForm !== null
- },
- metaTitle () {
- return 'Edit ' + (this.form ? this.form.title : 'Your Form')
- }
- },
-
- watch: {
- form () {
- this.updatedForm = new Form(this.form)
- }
- },
-
- created () {},
- unmounted () {},
-
- mounted () {
- window.onbeforeunload = () => {
- if (this.isDirty()) {
- return false
- }
- }
-
- this.closeAlert()
- if (!this.form) {
- loadForms()
- } else {
- this.updatedForm = new Form(this.form)
- this.formInitialHash = this.hashString(JSON.stringify(this.updatedForm.data()))
- }
-
- if (this.updatedForm && (!this.updatedForm.notification_settings || Array.isArray(this.updatedForm.notification_settings))) {
- this.updatedForm.notification_settings = {}
- }
- },
-
- methods: {
- isDirty () {
- return !this.loading && this.formInitialHash && this.formInitialHash !== this.hashString(JSON.stringify(this.updatedForm.data()))
- },
- hashString (str, seed = 0) {
- let h1 = 0xdeadbeef ^ seed
- let h2 = 0x41c6ce57 ^ seed
- for (let i = 0, ch; i < str.length; i++) {
- ch = str.charCodeAt(i)
- h1 = Math.imul(h1 ^ ch, 2654435761)
- h2 = Math.imul(h2 ^ ch, 1597334677)
- }
- h1 = Math.imul(h1 ^ (h1 >>> 16), 2246822507) ^ Math.imul(h2 ^ (h2 >>> 13), 3266489909)
- h2 = Math.imul(h2 ^ (h2 >>> 16), 2246822507) ^ Math.imul(h1 ^ (h1 >>> 13), 3266489909)
- return 4294967296 * (2097151 & h2) + (h1 >>> 0)
- }
- }
-}
-</script>
diff --git a/resources/js/pages/forms/show-public.vue b/resources/js/pages/forms/show-public.vue
deleted file mode 100644
index 9c0c2fc41..000000000
--- a/resources/js/pages/forms/show-public.vue
+++ /dev/null
@@ -1,166 +0,0 @@
-<template>
- <div class="flex flex-col">
- <div v-if="form && !isIframe && (form.logo_picture || form.cover_picture)">
- <div v-if="form.cover_picture">
- <div id="cover-picture" class="max-h-56 w-full overflow-hidden flex items-center justify-center">
- <img alt="Form Cover Picture" :src="form.cover_picture" class="w-full">
- </div>
- </div>
- <div v-if="form.logo_picture" class="w-full p-5 relative mx-auto"
- :class="{'pt-20':!form.cover_picture, 'md:w-3/5 lg:w-1/2 md:max-w-2xl': form.width === 'centered', 'max-w-7xl': (form.width === 'full' && !isIframe) }"
- >
- <img alt="Logo Picture" :src="form.logo_picture"
- :class="{'top-5':!form.cover_picture, '-top-10':form.cover_picture}"
- class="w-20 h-20 object-contain absolute left-5 transition-all"
- >
- </div>
- </div>
- <div class="w-full mx-auto px-4"
- :class="{'mt-6':!isIframe, 'md:w-3/5 lg:w-1/2 md:max-w-2xl': form && (form.width === 'centered'), 'max-w-7xl': (form && form.width === 'full' && !isIframe)}"
- >
- <div v-if="!formLoading && !form">
- <h1 class="mt-6" v-text="'Whoops'" />
- <p class="mt-6">
- Unfortunately we could not find this form. It may have been deleted by it's author.
- </p>
- <p class="mb-10 mt-4">
- <router-link :to="{name:'welcome'}">
- Create your form for free with OpnForm
- </router-link>
- </p>
- </div>
- <div v-else-if="formLoading">
- <p class="text-center mt-6 p-4">
- <loader class="h-6 w-6 text-nt-blue mx-auto" />
- </p>
- </div>
- <template v-else>
- <div v-if="recordLoading">
- <p class="text-center mt-6 p-4">
- <loader class="h-6 w-6 text-nt-blue mx-auto" />
- </p>
- </div>
- <open-complete-form v-show="!recordLoading" ref="open-complete-form" :form="form" class="mb-10"
- @password-entered="passwordEntered"
- />
- </template>
- </div>
- </div>
-</template>
-
-<script>
-import axios from 'axios'
-import { computed } from 'vue'
-import { useFormsStore } from '../../stores/forms'
-import { useRecordsStore } from '../../stores/records'
-import OpenCompleteForm from '../../components/open/forms/OpenCompleteForm.vue'
-import sha256 from 'js-sha256'
-import { onBeforeRouteLeave } from 'vue-router'
-import { disableDarkMode, handleDarkMode, handleTransparentMode } from '~lib/forms/public-page'
-import { focusOnFirstFormElement } from '../../../../client/lib/forms/public-page'
-
-function loadForm (slug) {
- const formsStore = useFormsStore()
- if (formsStore.loading) return
- formsStore.startLoading()
- return axios.get('/api/forms/' + slug).then((response) => {
- const form = response.data
- formsStore.set([response.data])
-
- // Custom code injection
- if (form.custom_code) {
- const scriptEl = document.createRange().createContextualFragment(form.custom_code)
- document.head.append(scriptEl)
- }
-
- handleDarkMode(form)
- handleTransparentMode(form)
-
- formsStore.stopLoading()
- }).catch(() => {
- formsStore.stopLoading()
- })
-}
-
-export default {
- components: { OpenCompleteForm },
-
- setup () {
- const crisp = useCrisp()
- crisp.hideChat()
-
- onBeforeRouteLeave((to, from) => {
- crisp.showChat()
- disableDarkMode()
- })
-
- const formsStore = useFormsStore()
- const recordsStore = useRecordsStore()
-
- const passwordEntered = function (password) {
- useCookie('password-' + this.form.slug, { maxAge: { expires: 60 * 60 * 7 }, sameSite: false, secure: true }).value = sha256(password)
- loadForm(this.formSlug).then(() => {
- if (this.form.is_password_protected) {
- this.$refs['open-complete-form'].addPasswordError('Invalid password.')
- }
- })
- }
-
- const slug = useRoute()
-
- return {
- formsStore,
- passwordEntered,
- submitted: ref(false),
- isIframe: useIsIframe(),
- form: computed(() => formsStore.getByKey()),
- formLoading: computed(() => formsStore.loading),
- recordLoading: computed(() => recordsStore.loading)
- }
- },
-
- computed: {
- formSlug () {
- return this.$route.params.slug
- },
- form () {
- return this.formsStore.getBySlug(this.formSlug)
- }
- // metaTitle () {
- // if (this.form && this.form.is_pro && this.form.seo_meta.page_title) {
- // return this.form.seo_meta.page_title
- // }
- // return this.form ? this.form.title : 'Create beautiful forms'
- // },
- // metaTemplate () {
- // if (this.form && this.form.is_pro && this.form.seo_meta.page_title) {
- // // Disable template if custom SEO title
- // return '%s'
- // }
- // return null
- // },
- // metaDescription () {
- // if (this.form && this.form.is_pro && this.form.seo_meta.page_description) {
- // return this.form.seo_meta.page_description
- // }
- // return (this.form && this.form.description) ? this.form.description.substring(0, 160) : null
- // },
- // metaImage () {
- // if (this.form && this.form.is_pro && this.form.seo_meta.page_thumbnail) {
- // return this.form.seo_meta.page_thumbnail
- // }
- // return (this.form && this.form.cover_picture) ? this.form.cover_picture : null
- // },
- // metaTags () {
- // return (this.form && this.form.can_be_indexed) ? [] : [{ name: 'robots', content: 'noindex' }]
- // }
- },
-
- mounted () {
- loadForm(this.formSlug).then(() => {
- if (this.isIframe) return
- focusOnFirstFormElement()
- })
- }
-}
-</script>
diff --git a/resources/js/pages/forms/show/index.vue b/resources/js/pages/forms/show/index.vue
deleted file mode 100644
index 693d769e0..000000000
--- a/resources/js/pages/forms/show/index.vue
+++ /dev/null
@@ -1,270 +0,0 @@
-<template>
- <div class="bg-white">
- <template v-if="form">
- <div class="flex bg-gray-50">
- <div class="w-full md:w-4/5 lg:w-3/5 md:mx-auto md:max-w-4xl px-4">
- <div class="pt-4 pb-0">
- <a href="#" class="flex text-blue mb-2 font-semibold text-sm" @click.prevent="goBack">
- <svg class="w-3 h-3 text-blue mt-1 mr-1" viewBox="0 0 6 10" fill="none"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path d="M5 9L1 5L5 1" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"
- stroke-linejoin="round"
- />
- </svg>
- Go back
- </a>
-
- <div class="flex flex-wrap">
- <h2 class="flex-grow text-gray-900 truncate">
- {{ form.title }}
- </h2>
- <div class="flex">
- <extra-menu :form="form" />
-
- <v-button v-track.view_form_click="{form_id:form.id, form_slug:form.slug}" target="_blank"
- :href="form.share_url" color="white"
- class="mr-2 text-blue-600 hidden sm:block"
- >
- <svg class="w-6 h-6 inline -mt-1" viewBox="0 0 24 24" fill="none"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path d="M1 12C1 12 5 4 12 4C19 4 23 12 23 12C23 12 19 20 12 20C5 20 1 12 1 12Z"
- stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
- />
- <path
- d="M12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z"
- stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
- />
- </svg>
- </v-button>
- <v-button class="text-white" @click="openEdit">
- <svg class="inline mr-1 -mt-1" width="18" height="17" viewBox="0 0 18 17" fill="none"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- d="M8.99998 15.6662H16.5M1.5 15.6662H2.89545C3.3031 15.6662 3.50693 15.6662 3.69874 15.6202C3.8688 15.5793 4.03138 15.512 4.1805 15.4206C4.34869 15.3175 4.49282 15.1734 4.78107 14.8852L15.25 4.4162C15.9404 3.72585 15.9404 2.60656 15.25 1.9162C14.5597 1.22585 13.4404 1.22585 12.75 1.9162L2.28105 12.3852C1.9928 12.6734 1.84867 12.8175 1.7456 12.9857C1.65422 13.1348 1.58688 13.2974 1.54605 13.4675C1.5 13.6593 1.5 13.8631 1.5 14.2708V15.6662Z"
- stroke="currentColor" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round"
- />
- </svg>
- Edit form
- </v-button>
- </div>
- </div>
-
- <p class="text-gray-500 text-sm">
- <span class="pr-1">{{ form.views_count }} view{{ form.views_count > 0 ? 's' : '' }}</span>
- <span class="pr-1">- {{ form.submissions_count }}
- submission{{ form.submissions_count > 0 ? 's' : '' }}
- </span>
- <span>- Edited {{ form.last_edited_human }}</span>
- </p>
- <div v-if="['draft','closed'].includes(form.visibility) || (form.tags && form.tags.length > 0)"
- class="mt-2 flex items-center flex-wrap gap-3"
- >
- <span v-if="form.visibility=='draft'"
- class="inline-flex items-center rounded-full bg-yellow-100 px-2 py-1 text-xs font-medium text-yellow-600 ring-1 ring-inset ring-gray-500/10 dark:text-white dark:bg-gray-700"
- >
- Draft - not publicly accessible
- </span>
- <span v-else-if="form.visibility=='closed'"
- class="inline-flex items-center rounded-full bg-yellow-100 px-2 py-1 text-xs font-medium text-yellow-600 ring-1 ring-inset ring-gray-500/10 dark:text-white dark:bg-gray-700"
- >
- Closed - won't accept new submissions
- </span>
- <span v-for="(tag,i) in form.tags" :key="tag"
- class="inline-flex items-center rounded-full bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10 dark:text-white dark:bg-gray-700"
- >
- {{ tag }}
- </span>
- </div>
-
- <p v-if="form.closes_at" class="text-yellow-500">
- <span v-if="form.is_closed"> This form stopped accepting submissions on the {{
- displayClosesDate
- }} </span>
- <span v-else> This form will stop accepting submissions on the {{ displayClosesDate }} </span>
- </p>
- <p v-if="form.max_submissions_count > 0" class="text-yellow-500">
- <span v-if="form.max_number_of_submissions_reached"> The form is now closed because it reached its limit of {{
- form.max_submissions_count
- }} submissions. </span>
- <span v-else> This form will stop accepting submissions after {{ form.max_submissions_count }} submissions. </span>
- </p>
-
- <form-cleanings class="mt-4" :form="form" />
-
- <div class="border-b border-gray-200 dark:border-gray-700">
- <ul class="flex flex-wrap -mb-px text-sm font-medium text-center">
- <li v-for="(tab, i) in tabsList" :key="i+1" class="mr-6">
- <router-link :to="{ name: tab.route }"
- class="hover:no-underline inline-block py-4 rounded-t-lg border-b-2 text-gray-500 hover:text-gray-600"
- active-class="text-blue-600 hover:text-blue-900 dark:text-blue-500 dark:hover:text-blue-500 border-blue-600 dark:border-blue-500"
- >
- {{ tab.name }}
- </router-link>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
- <div class="flex bg-white">
- <div class="w-full md:w-4/5 lg:w-3/5 md:mx-auto md:max-w-4xl px-4">
- <div class="py-4">
- <router-view v-slot="{ Component }">
- <transition name="page" mode="out-in">
- <component :is="Component" :form="form" />
- </transition>
- </router-view>
- </div>
- </div>
- </div>
- </template>
- <div v-else-if="loading" class="text-center w-full p-5">
- <loader class="h-6 w-6 mx-auto" />
- </div>
- <div v-else class="text-center w-full p-5">
- Form not found.
- </div>
- </div>
-</template>
-
-<script>
-import { computed } from 'vue'
-import Form from 'vform'
-import { useAuthStore } from '../../../stores/auth'
-import { useFormsStore } from '../../../stores/forms'
-import { useWorkingFormStore } from '../../../stores/working_form'
-import { useWorkspacesStore } from '../../../stores/workspaces'
-import ProTag from '../../../components/common/ProTag.vue'
-import VButton from '../../../components/common/Button.vue'
-import ExtraMenu from '../../../components/pages/forms/show/ExtraMenu.vue'
-import SeoMeta from '../../../mixins/seo-meta.js'
-import FormCleanings from '../../../components/pages/forms/show/FormCleanings.vue'
-
-const loadForms = function () {
- const formsStore = useFormsStore()
- const workspacesStore = useWorkspacesStore()
- formsStore.startLoading()
- workspacesStore.loadIfEmpty().then(() => {
- formsStore.loadIfEmpty(workspacesStore.currentId)
- })
-}
-
-export default {
- name: 'ShowForm',
- components: {
- VButton,
- ProTag,
- ExtraMenu,
- FormCleanings
- },
- mixins: [SeoMeta],
-
- beforeRouteEnter (to, from, next) {
- loadForms()
- next()
- },
-
- beforeRouteLeave (to, from, next) {
- this.workingForm = null
- next()
- },
- middleware: 'auth',
-
- setup () {
- const authStore = useAuthStore()
- const formsStore = useFormsStore()
- const workingFormStore = useWorkingFormStore()
- const workspacesStore = useWorkspacesStore()
- return {
- formsStore,
- workingFormStore,
- workspacesStore,
- user: computed(() => authStore.user),
- formsLoading: computed(() => formsStore.loading),
- workspacesLoading: computed(() => workspacesStore.loading)
- }
- },
-
- data () {
- return {
- metaTitle: 'Home',
- tabsList: [
- {
- name: 'Submissions',
- route: 'forms.show'
- },
- {
- name: 'Analytics',
- route: 'forms.show.analytics'
- },
- {
- name: 'Share',
- route: 'forms.show.share'
- }
- ]
- }
- },
-
- computed: {
- workingForm: {
- get () {
- return this.workingFormStore.content
- },
- /* We add a setter */
- set (value) {
- this.workingFormStore.set(value)
- }
- },
- workspace () {
- if (!this.form) return null
- return this.workspacesStore.getById(this.form.workspace_id)
- },
- form () {
- return this.formsStore.getBySlug(this.$route.params.slug)
- },
- formEndpoint: () => '/api/open/forms/{id}',
- loading () {
- return this.formsLoading || this.workspacesLoading
- },
- displayClosesDate () {
- if (this.form.closes_at) {
- const dateObj = new Date(this.form.closes_at)
- return dateObj.getFullYear() + '-' +
- String(dateObj.getMonth() + 1).padStart(2, '0') + '-' +
- String(dateObj.getDate()).padStart(2, '0') + ' ' +
- String(dateObj.getHours()).padStart(2, '0') + ':' +
- String(dateObj.getMinutes()).padStart(2, '0')
- }
- return ''
- }
- },
-
- watch: {
- form () {
- this.workingForm = new Form(this.form)
- }
- },
-
- mounted () {
- if (this.form) {
- this.workingForm = new Form(this.form)
- }
- },
-
- methods: {
- openCrisp () {
- window.$crisp.push(['do', 'chat:show'])
- window.$crisp.push(['do', 'chat:open'])
- },
- goBack () {
- this.$router.push({ name: 'home' })
- },
- openEdit () {
- this.$router.push({ name: 'forms.edit', params: { slug: this.form.slug } })
- }
- }
-}
-</script>
diff --git a/resources/js/pages/forms/show/share.vue b/resources/js/pages/forms/show/share.vue
deleted file mode 100644
index f3781655a..000000000
--- a/resources/js/pages/forms/show/share.vue
+++ /dev/null
@@ -1,70 +0,0 @@
-<template>
- <div>
- <share-link class="mt-4" :form="form" :extra-query-param="shareUrlForQueryParams" />
-
- <embed-code class="mt-6" :form="form" :extra-query-param="shareUrlForQueryParams" />
-
- <form-qr-code class="mt-6" :form="form" :extra-query-param="shareUrlForQueryParams" />
-
- <advanced-form-url-settings :form="form" v-model="shareFormConfig" />
-
- <div class="mt-6 pt-6 border-t w-full flex">
- <regenerate-form-link class="sm:w-1/2 mr-4" :form="form" />
-
- <url-form-prefill class="sm:w-1/2 mr-4" :form="form" :extra-query-param="shareUrlForQueryParams" />
-
- <embed-form-as-popup-modal class="sm:w-1/2" :form="form" />
- </div>
- </div>
-</template>
-
-<script>
-import ShareLink from '../../../components/pages/forms/show/ShareLink.vue'
-import EmbedCode from '../../../components/pages/forms/show/EmbedCode.vue'
-import FormQrCode from '../../../components/pages/forms/show/FormQrCode.vue'
-import UrlFormPrefill from '../../../components/pages/forms/show/UrlFormPrefill.vue'
-import RegenerateFormLink from '../../../components/pages/forms/show/RegenerateFormLink.vue'
-import SeoMeta from '../../../mixins/seo-meta.js'
-import AdvancedFormUrlSettings from '../../../components/open/forms/components/AdvancedFormUrlSettings.vue'
-import EmbedFormAsPopupModal from '../../../components/pages/forms/show/EmbedFormAsPopupModal.vue'
-
-export default {
- components: {
- ShareLink,
- EmbedCode,
- FormQrCode,
- UrlFormPrefill,
- RegenerateFormLink,
- AdvancedFormUrlSettings,
- EmbedFormAsPopupModal
- },
- props: {
- form: { type: Object, required: true }
- },
- mixins: [SeoMeta],
-
- data: () => ({
- shareFormConfig: {
- hide_title: false,
- auto_submit: false
- }
- }),
-
- mounted() {},
-
- computed: {
- metaTitle() {
- return (this.form) ? 'Form Share - '+this.form.title : 'Form Share'
- },
- shareUrlForQueryParams () {
- let queryStr = ''
- for (const [key, value] of Object.entries(this.shareFormConfig)) {
- if(value && value !== 'false' && value !== false){
- queryStr += '&' + encodeURIComponent(key) + "=" + encodeURIComponent(value)
- }
- }
- return queryStr.slice(1)
- }
- },
-}
-</script>
diff --git a/resources/js/pages/forms/show/stats.vue b/resources/js/pages/forms/show/stats.vue
deleted file mode 100644
index 0a83fc39f..000000000
--- a/resources/js/pages/forms/show/stats.vue
+++ /dev/null
@@ -1,30 +0,0 @@
-<template>
- <div>
- <h3 class="font-semibold mt-4 text-xl">
- Form Analytics (last 30 days)
- </h3>
- <form-stats :form="form"/>
- </div>
-</template>
-
-<script>
-import FormStats from '../../../components/open/forms/components/FormStats.vue'
-import SeoMeta from '../../../mixins/seo-meta.js'
-
-export default {
- name: 'Stats',
- components: {FormStats},
- props: {
- form: {type: Object, required: true},
- },
- mixins: [SeoMeta],
-
- data: () => ({}),
-
- computed: {
- metaTitle() {
- return (this.form ? ('Form Analytics - ' + this.form.title) : 'Form Analytics')
- }
- }
-}
-</script>
diff --git a/resources/js/pages/forms/show/submissions.vue b/resources/js/pages/forms/show/submissions.vue
deleted file mode 100644
index 589ed15a6..000000000
--- a/resources/js/pages/forms/show/submissions.vue
+++ /dev/null
@@ -1,31 +0,0 @@
-<template>
- <div id="table-page">
- <form-submissions/>
- </div>
-</template>
-
-<script>
-import FormSubmissions from '../../../components/open/forms/components/FormSubmissions.vue'
-import SeoMeta from '../../../mixins/seo-meta.js'
-
-export default {
- components: {FormSubmissions},
- props: {
- form: {type: Object, required: true}
- },
- mixins: [SeoMeta],
-
- data: () => ({}),
-
- mounted() {
- },
-
- computed: {
- metaTitle() {
- return (this.form) ? 'Form Submissions - ' + this.form.title : 'Form Submissions'
- },
- },
-
- methods: {}
-}
-</script>
diff --git a/resources/js/pages/home.vue b/resources/js/pages/home.vue
deleted file mode 100644
index 8ce68218e..000000000
--- a/resources/js/pages/home.vue
+++ /dev/null
@@ -1,216 +0,0 @@
-<template>
- <div class="bg-white">
- <div class="flex bg-gray-50 pb-5 border-b">
- <div class="w-full md:w-4/5 lg:w-3/5 md:mx-auto md:max-w-4xl p-4">
- <div class="pt-4 pb-0">
- <div class="flex">
- <h2 class="flex-grow text-gray-900">
- Your Forms
- </h2>
- <v-button v-track.create_form_click :to="{name:'forms.create'}">
- <svg class="w-4 h-4 text-white inline mr-1 -mt-1" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M6.99996 1.1665V12.8332M1.16663 6.99984H12.8333" stroke="currentColor" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round" />
- </svg>
- Create a new form
- </v-button>
- </div>
- <small class="flex text-gray-500">Manage your forms and submissions.</small>
- </div>
- </div>
- </div>
- <div class="flex bg-white">
- <div class="w-full md:w-4/5 lg:w-3/5 md:mx-auto md:max-w-4xl px-4">
- <div class="mt-8 pb-0">
- <text-input v-if="forms.length > 0" class="mb-6" :form="searchForm" name="search" label="Search a form"
- placeholder="Name of form to search"
- />
- <div v-if="allTags.length > 0" class="mb-4">
- <div v-for="tag in allTags" :key="tag"
- :class="[
- 'inline-flex items-center rounded-full px-2 py-1 text-xs font-medium ring-1 ring-inset cursor-pointer mr-2',
- {'bg-blue-50 text-blue-600 ring-blue-500/10 dark:bg-blue-400':selectedTags.includes(tag),
- 'bg-gray-50 text-gray-600 ring-gray-500/10 dark:bg-gray-700 hover:bg-blue-50 hover:text-blue-600 hover:ring-blue-500/10 hover:dark:bg-blue-400':!selectedTags.includes(tag)}
- ]"
- title="Click for filter by tag(s)"
- @click="onTagClick(tag)"
- >
- {{ tag }}
- </div>
- </div>
- <div v-if="!formsLoading && enrichedForms.length === 0" class="flex flex-wrap justify-center max-w-4xl">
- <img loading="lazy" class="w-56"
- :src="asset('img/pages/forms/search_notfound.png')" alt="search-not-found"
- >
- <h3 class="w-full mt-4 text-center text-gray-900 font-semibold">
- No forms found
- </h3>
- <div v-if="isFilteringForms && enrichedForms.length === 0 && searchForm.search" class="mt-2 w-full text-center">
- Your search "{{ searchForm.search }}" did not match any forms. Please try again.
- </div>
- <v-button v-if="forms.length === 0" v-track.create_form_click class="mt-4" :to="{name:'forms.create'}">
- <svg class="w-4 h-4 text-white inline mr-1 -mt-1" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path d="M6.99996 1.1665V12.8332M1.16663 6.99984H12.8333" stroke="currentColor" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round" />
- </svg>
- Create a new form
- </v-button>
- </div>
- <div v-else-if="forms.length > 0" class="mb-10">
- <div v-if="enrichedForms && enrichedForms.length">
- <div v-for="(form) in enrichedForms" :key="form.id"
- class="mt-4 p-4 flex group bg-white hover:bg-gray-50 dark:bg-notion-dark items-center"
- >
- <div class="flex-grow items-center truncate cursor-pointer" role="button" @click.prevent="viewForm(form)">
- <span class="font-semibold text-gray-900 dark:text-white">{{ form.title }}</span>
- <ul class="flex text-gray-500">
- <li class="pr-1">
- {{ form.views_count }} view{{ form.views_count > 0 ? 's' : '' }}
- </li>
- <li class="list-disc ml-6 pr-1">
- {{ form.submissions_count }}
- submission{{ form.submissions_count > 0 ? 's' : '' }}
- </li>
- <li class="list-disc ml-6">
- Edited {{ form.last_edited_human }}
- </li>
- </ul>
- <div v-if="['draft','closed'].includes(form.visibility) || (form.tags && form.tags.length > 0)" class="mt-1 flex items-center flex-wrap gap-3">
- <span v-if="form.visibility=='draft'"
- class="inline-flex items-center rounded-full bg-yellow-100 px-2 py-1 text-xs font-medium text-yellow-600 ring-1 ring-inset ring-gray-500/10 dark:text-white dark:bg-gray-700"
- >
- Draft
- </span>
- <span v-else-if="form.visibility=='closed'"
- class="inline-flex items-center rounded-full bg-yellow-100 px-2 py-1 text-xs font-medium text-yellow-600 ring-1 ring-inset ring-gray-500/10 dark:text-white dark:bg-gray-700"
- >
- Closed
- </span>
- <span v-for="(tag,i) in form.tags" :key="tag"
- class="inline-flex items-center rounded-full bg-gray-50 px-2 py-1 text-xs font-medium text-gray-600 ring-1 ring-inset ring-gray-500/10 dark:text-white dark:bg-gray-700"
- >
- {{ tag }}
- </span>
- </div>
- </div>
- <extra-menu :form="form" :is-main-page="true" />
- </div>
- </div>
- </div>
- <div v-if="formsLoading" class="text-center">
- <loader class="h-6 w-6 text-nt-blue mx-auto" />
- </div>
- </div>
- </div>
- </div>
- <open-form-footer class="mt-8 border-t" />
- </div>
-</template>
-
-<script>
-import { computed } from 'vue'
-import { useAuthStore } from '../stores/auth'
-import { useFormsStore } from '../stores/forms'
-import { useWorkspacesStore } from '../stores/workspaces'
-import Fuse from 'fuse.js'
-import Form from 'vform'
-import TextInput from '../components/forms/TextInput.vue'
-import OpenFormFooter from '../components/pages/OpenFormFooter.vue'
-import ExtraMenu from '../components/pages/forms/show/ExtraMenu.vue
-
-export default {
- components: { OpenFormFooter, TextInput, ExtraMenu },
-
- middleware: 'auth',
-
- props: {
- metaTitle: { type: String, default: 'Your Forms' },
- metaDescription: { type: String, default: 'All of your OpnForm are here. Create new forms, or update your existing one!' }
- },
-
- setup () {
- const authStore = useAuthStore()
- const formsStore = useFormsStore()
- const workspacesStore = useWorkspacesStore()
-
- formsStore.startLoading()
- formsStore.loadIfEmpty(workspacesStore.currentId)
-
- return {
- formsStore,
- workspacesStore,
- user: computed(() => authStore.user),
- forms: computed(() => formsStore.content),
- formsLoading: computed(() => formsStore.loading)
- }
- },
-
- data () {
- return {
- showEditFormModal: false,
- selectedForm: null,
- searchForm: new Form({
- search: ''
- }),
- selectedTags: []
- }
- },
-
- computed: {
- isFilteringForms () {
- return (this.searchForm.search !== '' && this.searchForm.search !== null) || this.selectedTags.length > 0
- },
- enrichedForms () {
- let enrichedForms = this.forms.map((form) => {
- form.workspace = this.workspacesStore.getById(form.workspace_id)
- return form
- })
-
- // Filter by Selected Tags
- if (this.selectedTags.length > 0) {
- enrichedForms = enrichedForms.filter((item) => {
- return (item.tags && item.tags.length > 0) ? this.selectedTags.every(r => item.tags.includes(r)) : false
- })
- }
-
- if (!this.isFilteringForms || this.searchForm.search === '' || this.searchForm.search === null) {
- return enrichedForms
- }
-
- // Fuze search
- const fuzeOptions = {
- keys: [
- 'title',
- 'slug',
- 'tags'
- ]
- }
- const fuse = new Fuse(enrichedForms, fuzeOptions)
- return fuse.search(this.searchForm.search).map((res) => {
- return res.item
- })
- },
- allTags () {
- return this.formsStore.getAllTags
- }
- },
-
- mounted () {},
-
- methods: {
- editForm (form) {
- this.selectedForm = form
- this.showEditFormModal = true
- },
- onTagClick (tag) {
- const idx = this.selectedTags.indexOf(tag)
- if (idx === -1) {
- this.selectedTags.push(tag)
- } else {
- this.selectedTags.splice(idx, 1)
- }
- },
- viewForm (form) {
- this.$router.push({ name: 'forms.show', params: { slug: form.slug } })
- }
- }
-}
-</script>
diff --git a/resources/js/pages/integrations.vue b/resources/js/pages/integrations.vue
deleted file mode 100644
index b302d51ae..000000000
--- a/resources/js/pages/integrations.vue
+++ /dev/null
@@ -1,43 +0,0 @@
-<template>
- <div>
- <div class="mt-6 flex flex-col">
- <div class="w-full md:max-w-3xl md:mx-auto px-4 md:pt-16">
- <h1 class="sm:text-5xl mb-4">
- Integrations
- </h1>
- <notion-page class="mb-8 integration-page" page-id="492c2bbb31404481b9faaaf407e59640" />
- </div>
- </div>
- <open-form-footer />
- </div>
-</template>
-
-<script>
-import OpenFormFooter from '../components/pages/OpenFormFooter.vue'
-
-export default {
- components: { OpenFormFooter },
- layout: 'default',
-
- props: {
- metaTitle: { type: String, default: 'Integrations' },
- metaDescription: { type: String, default: 'You can connect your OpnForms to other services via our two integrations: Zapier and Webhooks. Use our integrations to automate your various workflows.' }
- },
-
- data: () => ({
- }),
-
- computed: {},
-
- mounted () {
- }
-}
-</script>
-
-<style lang="scss">
-.integration-page {
- .notion-asset-wrapper {
- max-width: 200px;
- }
-}
-</style>
diff --git a/resources/js/pages/legal-help/privacy-policy.vue b/resources/js/pages/legal-help/privacy-policy.vue
deleted file mode 100644
index 6030a9051..000000000
--- a/resources/js/pages/legal-help/privacy-policy.vue
+++ /dev/null
@@ -1,33 +0,0 @@
-<template>
- <div>
- <div class="mt-6 flex flex-col">
- <div class="w-full md:max-w-3xl md:mx-auto px-4 md:pt-16">
- <h1 class="sm:text-5xl">
- Privacy Policy
- </h1>
- <notion-page page-id="9c97349ceda7455aab9b341d1ff70f79" />
- </div>
- </div>
- <open-form-footer />
- </div>
-</template>
-
-<script>
-import OpenFormFooter from '../../components/pages/OpenFormFooter.vue'
-import SeoMeta from '../../mixins/seo-meta.js'
-
-export default {
- components: { OpenFormFooter},
- layout: 'default',
- mixins: [SeoMeta],
-
- data: () => ({
- metaTitle: 'Privacy Policy',
- }),
-
- computed: {},
-
- mounted () {
- }
-}
-</script>
diff --git a/resources/js/pages/legal-help/terms-conditions.vue b/resources/js/pages/legal-help/terms-conditions.vue
deleted file mode 100644
index ba65afca2..000000000
--- a/resources/js/pages/legal-help/terms-conditions.vue
+++ /dev/null
@@ -1,33 +0,0 @@
-<template>
- <div>
- <div class="mt-6 flex flex-col">
- <div class="w-full md:max-w-3xl md:mx-auto px-4 md:pt-16">
- <h1 class="sm:text-5xl">
- Terms & Conditions
- </h1>
- <notion-page page-id="246420da2834480ca04047b0c5a00929" />
- </div>
- </div>
- <open-form-footer />
- </div>
-</template>
-
-<script>
-import OpenFormFooter from '../../components/pages/OpenFormFooter.vue'
-import SeoMeta from '../../mixins/seo-meta.js'
-
-export default {
- components: { OpenFormFooter },
- layout: 'default',
- mixins: [SeoMeta],
-
- data: () => ({
- metaTitle: 'Terms & Conditions',
- }),
-
- computed: {},
-
- mounted () {
- }
-}
-</script>
diff --git a/resources/js/pages/pricing.vue b/resources/js/pages/pricing.vue
deleted file mode 100644
index 7c371d013..000000000
--- a/resources/js/pages/pricing.vue
+++ /dev/null
@@ -1,284 +0,0 @@
-<template>
- <div>
- <section class="relative py-12 bg-gradient-to-b from-white to-gray-100 sm:py-16 lg:py-20 xl:py-24">
- <div class="relative px-4 mx-auto sm:px-6 lg:px-8 max-w-7xl">
- <div class="max-w-4xl mx-auto text-center">
- <h1 class="text-4xl font-semibold tracking-tight text-gray-900 sm:text-5xl lg:text-6xl">
- Simple, transparent pricing. No surprises.
- </h1>
- <p
- class="max-w-2xl mx-auto mt-4 text-base font-medium leading-7 text-gray-500 sm:mt-5 sm:text-xl sm:leading-9">
- Just like our codebase, our pricing is 100% transparent. One flat price for all features. No hidden fees.
- </p>
- </div>
- </div>
- </section>
-
- <pricing-table/>
-
- <section class="py-12 bg-white sm:py-16 lg:py-24 xl:py-24">
- <div class="px-4 mx-auto sm:px-6 lg:px-8 max-w-7xl">
- <div class="max-w-2xl mx-auto text-center">
- <h2 class="text-3xl font-semibold tracking-tight text-gray-900 sm:text-4xl lg:leading-tight">
- <span class="text-blue-600">99%</span> of features are available to all users for free and without
- limits.
- </h2>
- </div>
-
- <div
- class="grid max-w-5xl grid-cols-2 mx-auto mt-12 text-center gap-y-8 gap-x-4 sm:grid-cols-3 md:gap-x-12 md:text-left sm:mt-16">
- <div class="flex flex-col items-center gap-3 md:flex-row">
- <svg aria-hidden="true" class="w-6 h-6 shrink-0 stroke-blue-600" viewBox="0 0 24 24" fill="none"
- xmlns="http://www.w3.org/2000/svg">
- <path
- d="M3 9H21M7.8 3H16.2C17.8802 3 18.7202 3 19.362 3.32698C19.9265 3.6146 20.3854 4.07354 20.673 4.63803C21 5.27976 21 6.11984 21 7.8V16.2C21 17.8802 21 18.7202 20.673 19.362C20.3854 19.9265 19.9265 20.3854 19.362 20.673C18.7202 21 17.8802 21 16.2 21H7.8C6.11984 21 5.27976 21 4.63803 20.673C4.07354 20.3854 3.6146 19.9265 3.32698 19.362C3 18.7202 3 17.8802 3 16.2V7.8C3 6.11984 3 5.27976 3.32698 4.63803C3.6146 4.07354 4.07354 3.6146 4.63803 3.32698C5.27976 3 6.11984 3 7.8 3Z"
- stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
- </svg>
- <p class="text-base font-semibold sm:text-lg lg:text-xl text-gray-950">
- Unlimited forms
- </p>
- </div>
-
- <div class="flex flex-col items-center gap-3 md:flex-row">
- <svg aria-hidden="true" class="w-6 h-6 shrink-0 stroke-blue-600" viewBox="0 0 24 24" fill="none"
- xmlns="http://www.w3.org/2000/svg">
- <path
- d="M9 3.5V2M5.06066 5.06066L4 4M5.06066 13L4 14.0607M13 5.06066L14.0607 4M3.5 9H2M8.5 8.5L12.6111 21.2778L15.5 18.3889L19.1111 22L22 19.1111L18.3889 15.5L21.2778 12.6111L8.5 8.5Z"
- stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
- </svg>
- <p class="text-base font-semibold sm:text-lg lg:text-xl text-gray-950">
- Unlimited submissions
- </p>
- </div>
-
- <div class="flex flex-col items-center gap-3 md:flex-row">
- <svg aria-hidden="true" class="w-6 h-6 shrink-0 stroke-blue-600" viewBox="0 0 24 24" fill="none"
- xmlns="http://www.w3.org/2000/svg">
- <path
- d="M17.8 10C18.9201 10 19.4802 10 19.908 9.78201C20.2843 9.59027 20.5903 9.28431 20.782 8.90798C21 8.48016 21 7.92011 21 6.8V6.2C21 5.0799 21 4.51984 20.782 4.09202C20.5903 3.7157 20.2843 3.40973 19.908 3.21799C19.4802 3 18.9201 3 17.8 3L6.2 3C5.0799 3 4.51984 3 4.09202 3.21799C3.71569 3.40973 3.40973 3.71569 3.21799 4.09202C3 4.51984 3 5.07989 3 6.2L3 6.8C3 7.9201 3 8.48016 3.21799 8.90798C3.40973 9.28431 3.71569 9.59027 4.09202 9.78201C4.51984 10 5.07989 10 6.2 10L17.8 10Z"
- stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
- <path
- d="M17.8 21C18.9201 21 19.4802 21 19.908 20.782C20.2843 20.5903 20.5903 20.2843 20.782 19.908C21 19.4802 21 18.9201 21 17.8V17.2C21 16.0799 21 15.5198 20.782 15.092C20.5903 14.7157 20.2843 14.4097 19.908 14.218C19.4802 14 18.9201 14 17.8 14L6.2 14C5.0799 14 4.51984 14 4.09202 14.218C3.71569 14.4097 3.40973 14.7157 3.21799 15.092C3 15.5198 3 16.0799 3 17.2L3 17.8C3 18.9201 3 19.4802 3.21799 19.908C3.40973 20.2843 3.71569 20.5903 4.09202 20.782C4.51984 21 5.07989 21 6.2 21H17.8Z"
- stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
- </svg>
- <p class="text-base font-semibold sm:text-lg lg:text-xl text-gray-950">
- Unlimited fields
- </p>
- </div>
-
- <div class="flex flex-col items-center gap-3 md:flex-row">
- <svg aria-hidden="true" class="w-6 h-6 shrink-0 stroke-blue-600" viewBox="0 0 24 24" fill="none"
- xmlns="http://www.w3.org/2000/svg">
- <path
- d="M9 11L12 14L22 4M16 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21H16.2C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2V12"
- stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
- </svg>
- <p class="text-base font-semibold sm:text-lg lg:text-xl text-gray-950">
- Multiple input types
- </p>
- </div>
-
- <div class="flex flex-col items-center gap-3 md:flex-row">
- <svg aria-hidden="true" class="w-6 h-6 shrink-0 stroke-blue-600" viewBox="0 0 24 24" fill="none"
- xmlns="http://www.w3.org/2000/svg">
- <path
- d="M22 11V8.2C22 7.0799 22 6.51984 21.782 6.09202C21.5903 5.71569 21.2843 5.40973 20.908 5.21799C20.4802 5 19.9201 5 18.8 5H5.2C4.0799 5 3.51984 5 3.09202 5.21799C2.71569 5.40973 2.40973 5.71569 2.21799 6.09202C2 6.51984 2 7.0799 2 8.2V11.8C2 12.9201 2 13.4802 2.21799 13.908C2.40973 14.2843 2.71569 14.5903 3.09202 14.782C3.51984 15 4.0799 15 5.2 15H11M12 10H12.005M17 10H17.005M7 10H7.005M19.25 17V15.25C19.25 14.2835 18.4665 13.5 17.5 13.5C16.5335 13.5 15.75 14.2835 15.75 15.25V17M12.25 10C12.25 10.1381 12.1381 10.25 12 10.25C11.8619 10.25 11.75 10.1381 11.75 10C11.75 9.86193 11.8619 9.75 12 9.75C12.1381 9.75 12.25 9.86193 12.25 10ZM17.25 10C17.25 10.1381 17.1381 10.25 17 10.25C16.8619 10.25 16.75 10.1381 16.75 10C16.75 9.86193 16.8619 9.75 17 9.75C17.1381 9.75 17.25 9.86193 17.25 10ZM7.25 10C7.25 10.1381 7.13807 10.25 7 10.25C6.86193 10.25 6.75 10.1381 6.75 10C6.75 9.86193 6.86193 9.75 7 9.75C7.13807 9.75 7.25 9.86193 7.25 10ZM15.6 21H19.4C19.9601 21 20.2401 21 20.454 20.891C20.6422 20.7951 20.7951 20.6422 20.891 20.454C21 20.2401 21 19.9601 21 19.4V18.6C21 18.0399 21 17.7599 20.891 17.546C20.7951 17.3578 20.6422 17.2049 20.454 17.109C20.2401 17 19.9601 17 19.4 17H15.6C15.0399 17 14.7599 17 14.546 17.109C14.3578 17.2049 14.2049 17.3578 14.109 17.546C14 17.7599 14 18.0399 14 18.6V19.4C14 19.9601 14 20.2401 14.109 20.454C14.2049 20.6422 14.3578 20.7951 14.546 20.891C14.7599 21 15.0399 21 15.6 21Z"
- stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
- </svg>
- <p class="text-base font-semibold sm:text-lg lg:text-xl text-gray-950">
- Form password
- </p>
- </div>
-
- <div class="flex flex-col items-center gap-3 md:flex-row">
- <svg aria-hidden="true" class="w-6 h-6 shrink-0 stroke-blue-600" viewBox="0 0 24 24" fill="none"
- xmlns="http://www.w3.org/2000/svg">
- <path
- d="M18 15C16.3431 15 15 16.3431 15 18C15 19.6569 16.3431 21 18 21C19.6569 21 21 19.6569 21 18C21 16.3431 19.6569 15 18 15ZM18 15V8C18 7.46957 17.7893 6.96086 17.4142 6.58579C17.0391 6.21071 16.5304 6 16 6H13M6 9C7.65685 9 9 7.65685 9 6C9 4.34315 7.65685 3 6 3C4.34315 3 3 4.34315 3 6C3 7.65685 4.34315 9 6 9ZM6 9V21"
- stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
- </svg>
- <p class="text-base font-semibold sm:text-lg lg:text-xl text-gray-950">
- Webhooks
- </p>
- </div>
-
- <div class="flex flex-col items-center gap-3 md:flex-row">
- <svg aria-hidden="true" class="w-6 h-6 shrink-0 stroke-blue-600" viewBox="0 0 24 24" fill="none"
- xmlns="http://www.w3.org/2000/svg">
- <path
- d="M21 8H3M16 2V5M8 2V5M12 18V12M9 15H15M7.8 22H16.2C17.8802 22 18.7202 22 19.362 21.673C19.9265 21.3854 20.3854 20.9265 20.673 20.362C21 19.7202 21 18.8802 21 17.2V8.8C21 7.11984 21 6.27976 20.673 5.63803C20.3854 5.07354 19.9265 4.6146 19.362 4.32698C18.7202 4 17.8802 4 16.2 4H7.8C6.11984 4 5.27976 4 4.63803 4.32698C4.07354 4.6146 3.6146 5.07354 3.32698 5.63803C3 6.27976 3 7.11984 3 8.8V17.2C3 18.8802 3 19.7202 3.32698 20.362C3.6146 20.9265 4.07354 21.3854 4.63803 21.673C5.27976 22 6.11984 22 7.8 22Z"
- stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
- </svg>
- <p class="text-base font-semibold sm:text-lg lg:text-xl text-gray-950">
- Closing date
- </p>
- </div>
-
- <div class="flex flex-col items-center col-span-2 gap-3 md:flex-row sm:col-span-1">
- <svg aria-hidden="true" class="w-6 h-6 shrink-0 stroke-blue-600" viewBox="0 0 24 24" fill="none"
- xmlns="http://www.w3.org/2000/svg">
- <path
- d="M12 6C12.5523 6 13 5.55228 13 5C13 4.44772 12.5523 4 12 4C11.4477 4 11 4.44772 11 5C11 5.55228 11.4477 6 12 6Z"
- stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
- <path
- d="M12 13C12.5523 13 13 12.5523 13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13Z"
- stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
- <path
- d="M12 20C12.5523 20 13 19.5523 13 19C13 18.4477 12.5523 18 12 18C11.4477 18 11 18.4477 11 19C11 19.5523 11.4477 20 12 20Z"
- stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
- <path
- d="M19 6C19.5523 6 20 5.55228 20 5C20 4.44772 19.5523 4 19 4C18.4477 4 18 4.44772 18 5C18 5.55228 18.4477 6 19 6Z"
- stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
- <path
- d="M19 13C19.5523 13 20 12.5523 20 12C20 11.4477 19.5523 11 19 11C18.4477 11 18 11.4477 18 12C18 12.5523 18.4477 13 19 13Z"
- stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
- <path
- d="M19 20C19.5523 20 20 19.5523 20 19C20 18.4477 19.5523 18 19 18C18.4477 18 18 18.4477 18 19C18 19.5523 18.4477 20 19 20Z"
- stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
- <path
- d="M5 6C5.55228 6 6 5.55228 6 5C6 4.44772 5.55228 4 5 4C4.44772 4 4 4.44772 4 5C4 5.55228 4.44772 6 5 6Z"
- stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
- <path
- d="M5 13C5.55228 13 6 12.5523 6 12C6 11.4477 5.55228 11 5 11C4.44772 11 4 11.4477 4 12C4 12.5523 4.44772 13 5 13Z"
- stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
- <path
- d="M5 20C5.55228 20 6 19.5523 6 19C6 18.4477 5.55228 18 5 18C4.44772 18 4 18.4477 4 19C4 19.5523 4.44772 20 5 20Z"
- stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
- </svg>
- <p class="text-base font-semibold sm:text-lg lg:text-xl text-gray-950">
- And much more...
- </p>
- </div>
- </div>
-
- <div class="max-w-3xl p-6 mx-auto mt-12 sm:mt-16 bg-yellow-50 ring-1 ring-inset ring-yellow-200 rounded-2xl">
- <div class="flex items-start gap-4">
- <svg aria-hidden="true" class="w-8 h-8 shrink-0 stroke-yellow-500" viewBox="0 0 24 24" fill="none"
- xmlns="http://www.w3.org/2000/svg">
- <path
- d="M12 21L11.8999 20.8499C11.2053 19.808 10.858 19.287 10.3991 18.9098C9.99286 18.5759 9.52476 18.3254 9.02161 18.1726C8.45325 18 7.82711 18 6.57482 18H5.2C4.07989 18 3.51984 18 3.09202 17.782C2.71569 17.5903 2.40973 17.2843 2.21799 16.908C2 16.4802 2 15.9201 2 14.8V6.2C2 5.07989 2 4.51984 2.21799 4.09202C2.40973 3.71569 2.71569 3.40973 3.09202 3.21799C3.51984 3 4.07989 3 5.2 3H5.6C7.84021 3 8.96031 3 9.81596 3.43597C10.5686 3.81947 11.1805 4.43139 11.564 5.18404C12 6.03968 12 7.15979 12 9.4M12 21V9.4M12 21L12.1001 20.8499C12.7947 19.808 13.142 19.287 13.6009 18.9098C14.0071 18.5759 14.4752 18.3254 14.9784 18.1726C15.5467 18 16.1729 18 17.4252 18H18.8C19.9201 18 20.4802 18 20.908 17.782C21.2843 17.5903 21.5903 17.2843 21.782 16.908C22 16.4802 22 15.9201 22 14.8V6.2C22 5.07989 22 4.51984 21.782 4.09202C21.5903 3.71569 21.2843 3.40973 20.908 3.21799C20.4802 3 19.9201 3 18.8 3H18.4C16.1598 3 15.0397 3 14.184 3.43597C13.4314 3.81947 12.8195 4.43139 12.436 5.18404C12 6.03968 12 7.15979 12 9.4"
- stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
- </svg>
- <div>
- <p class="text-lg font-semibold text-yellow-600">
- Nonprofit & Student Discount — 50%
- </p>
- <p class="mt-1 text-base font-medium leading-7 text-yellow-600">
- Whether your nonprofit is large or small, OpnForm’s online Form Builder helps your organization help
- others. It takes just a few minutes to create and publish your forms online. As an exclusive benefit,
- we offer nonprofits & students a 50-percent discount!
- </p>
- </div>
- </div>
- </div>
- </div>
- </section>
-
- <section class="py-12 bg-gray-50 border-t border-gray-200 sm:py-16 lg:py-20 xl:py-24">
- <div class="px-4 mx-auto sm:px-6 lg:px-8 max-w-7xl">
- <div class="max-w-3xl mx-auto text-center">
- <h2 class="text-3xl font-semibold tracking-tight text-gray-900 sm:text-4xl lg:leading-tight">
- Got any question?
- </h2>
- <p class="max-w-2xl mx-auto mt-4 text-base font-medium leading-7 text-gray-600 sm:text-lg sm:leading-8">
- We've compiled a list of the most common questions we get asked.
- </p>
- </div>
-
- <dl
- class="grid max-w-5xl grid-cols-1 mx-auto mt-12 gap-y-12 sm:grid-cols-2 sm:mt-16 sm:gap-x-8 sm:gap-y-12 lg:gap-x-10">
- <div v-for="q in [
- {
- 'question':'Is there a free version of OpnForm available?',
- 'answer':'Yes, OpnForm offers a free version with access to 99% of features, including unlimited forms, submissions, fields, and more. Our goal is to provide robust functionality for all users without limitations.',
- },
- {
- 'question':'What does the Pro Plan include?',
- 'answer':'The OpnForm Pro Plan is designed to meet the advanced needs of teams and creators. It includes features like form confirmation emails, Slack and Discord notifications, editable submissions, custom domain, custom code integration, larger file uploads, removal of OpnForm branding, priority support, and more.',
- },
- {
- 'question':'Can I try the Pro Plan before subscribing?',
- 'answer':'Absolutely! We offer a free 3-day trial of the OpnForm Pro Plan. This allows you to explore all the empowering features and experience the value it brings to your form-building process. The trial is automatically applied.',
- },
- {
- 'question':'Is there a discount for annual plans?',
- 'answer':'Yes, we offer a 20% discount for annual Pro Plan subscriptions. By choosing the yearly billing option, you can enjoy the same great features at a reduced cost.',
- },
- {
- 'question':'How does the nonprofit and student discount work?',
- 'answer':'OpnForm is committed to supporting nonprofits and students. We provide an exclusive 50% discount on the Pro Plan for nonprofit organizations and students. This discount helps you make the most of our form builder while staying within your budget.',
- },
- {
- 'question':'Can I cancel or change my plan at any time?',
- 'answer':'Yes, you have the flexibility to upgrade, downgrade, or cancel your OpnForm Pro Plan at any time. Changes will take effect immediately, and you\'ll only be billed based on the plan you\'re currently on.',
- },
- ]" :key="q.question">
- <dt class="text-base font-semibold leading-7 text-gray-950 sm:text-lg sm:leading-8">
- {{ q.question }}
- </dt>
- <dd class="mt-2 text-base font-medium leading-7 text-gray-600">
- {{ q.answer }}
- </dd>
- </div>
- </dl>
-
- <div class="mt-12 text-center sm:mt-16">
- <p class="text-base font-medium text-gray-950">
- Didn't find the answer? <a href="#" @click.prevent="contactUs"
- class="font-semibold text-blue-600 hover:underline">Contact us</a>
- </p>
- </div>
- </div>
- </section>
-
- <open-form-footer/>
- </div>
-</template>
-
-<script>
-import { computed } from 'vue'
-import { useAuthStore } from '../stores/auth';
-import OpenFormFooter from '../components/pages/OpenFormFooter.vue'
-import PricingTable from '../components/pages/pricing/PricingTable.vue'
-import SeoMeta from '../mixins/seo-meta.js'
-
-export default {
- components: {OpenFormFooter, PricingTable},
- mixins: [SeoMeta],
- layout: 'default',
-
- props: {},
-
- beforeRouteEnter(to, from, next) {
- if (!window.config.paid_plans_enabled) { // If no paid plan so no need this page
- next({name: 'home'})
- return
- }
- next()
- },
-
- setup () {
- const authStore = useAuthStore()
- return {
- user : computed(() => authStore.user),
- authenticated : computed(() => authStore.check)
- }
- },
-
- data: () => ({
- metaTitle: 'Pricing',
- metaDescription: 'All of our core features are free, and there is no quantity limit. You can also created more advanced and customized forms with OpnForms Pro.',
- }),
-
- mounted() {},
-
- computed: {},
-
- methods: {
- contactUs() {
- window.$crisp.push(['do', 'chat:show'])
- window.$crisp.push(['do', 'chat:open'])
- }
- }
-}
-</script>
diff --git a/resources/js/pages/settings/account.vue b/resources/js/pages/settings/account.vue
deleted file mode 100644
index 6cb4f690e..000000000
--- a/resources/js/pages/settings/account.vue
+++ /dev/null
@@ -1,61 +0,0 @@
-<template>
- <div>
- <h3 class="font-semibold text-2xl text-gray-900">Danger zone</h3>
- <p class="text-gray-600 text-sm mt-2">
- This will permanently delete your entire account. All your forms, submissions and workspaces will be deleted.
- <span class="text-red-500">
- This cannot be undone.
- </span>
- </p>
-
- <!-- Submit Button -->
- <v-button :loading="loading" class="mt-4" color="red" @click="alertConfirm('Do you really want to delete your account?',deleteAccount)">
- Delete account
- </v-button>
- </div>
-</template>
-
-<script>
-import Form from 'vform'
-import axios from 'axios'
-import { useAuthStore } from '../../stores/auth'
-import SeoMeta from '../../mixins/seo-meta.js'
-
-export default {
- scrollToTop: false,
- mixins: [SeoMeta],
-
- setup () {
- const authStore = useAuthStore()
- return {
- authStore
- }
- },
-
- data: () => ({
- metaTitle: 'Account',
- form: new Form({
- identifier: ''
- }),
- loading: false
- }),
-
- methods: {
- async deleteAccount () {
- this.loading = true
- axios.delete('/api/user').then(async (response) => {
- this.loading = false
- this.alertSuccess(response.data.message)
- // Log out the user.
- await this.authStore.logout()
-
- // Redirect to login.
- this.$router.push({ name: 'login' })
- }).catch((error) => {
- this.alertError(error.response.data.message)
- this.loading = false
- })
- }
- }
-}
-</script>
diff --git a/resources/js/pages/settings/admin.vue b/resources/js/pages/settings/admin.vue
deleted file mode 100644
index 0781f64db..000000000
--- a/resources/js/pages/settings/admin.vue
+++ /dev/null
@@ -1,92 +0,0 @@
-<template>
- <div>
- <h3 class="font-semibold text-2xl text-gray-900">Admin settings</h3>
- <small class="text-gray-600">Manage settings.</small>
-
-
- <h3 class="mt-3 text-lg font-semibold mb-4">
- Tools
- </h3>
- <div class="flex flex-wrap mb-5">
- <a href="/stats">
- <v-button class="mx-1" color="gray" shade="lighter">
- Stats
- </v-button>
- </a>
- <a href="/horizon">
- <v-button class="mx-1" color="gray" shade="lighter">
- Horizon
- </v-button>
- </a>
- </div>
- <h3 class="text-lg font-semibold mb-4">
- Impersonate User
- </h3>
- <form @submit.prevent="impersonate" @keydown="form.onKeydown($event)">
- <!-- Password -->
- <text-input name="identifier" :form="form" label="Identifier"
- :required="true" help="User Id, User Email or Form Slug"
- />
-
- <!-- Submit Button -->
- <v-button :loading="loading" class="mt-4">Impersonate User</v-button>
- </form>
- </div>
-</template>
-
-<script>
-import Form from 'vform'
-import axios from 'axios'
-import { useAuthStore } from '../../stores/auth'
-import { useWorkspacesStore } from '../../stores/workspaces'
-import SeoMeta from '../../mixins/seo-meta.js'
-
-export default {
- components: { },
- middleware: 'admin',
- scrollToTop: false,
- mixins: [SeoMeta],
-
- setup () {
- const authStore = useAuthStore()
- const workspacesStore = useWorkspacesStore()
- return {
- authStore,
- workspacesStore
- }
- },
-
- data: () => ({
- metaTitle: 'Admin',
- form: new Form({
- identifier: ''
- }),
- loading: false
- }),
-
- methods: {
- async impersonate () {
- this.loading = true
- this.authStore.startImpersonating()
- axios.get('/api/admin/impersonate/' + encodeURI(this.form.identifier)).then(async (response) => {
- this.loading = false
-
- // Save the token.
- this.authStore.saveToken(response.data.token, false)
-
- // Fetch the user.
- await this.authStore.fetchUser()
-
- // Redirect to the dashboard.
- this.workspacesStore.set([])
- this.$router.push({ name: 'home' })
- }).catch((error) => {
- this.alertError(error.response.data.message)
- this.loading = false
- })
-
- // this.form.reset()
- }
- }
-}
-</script>
diff --git a/resources/js/pages/settings/billing.vue b/resources/js/pages/settings/billing.vue
deleted file mode 100644
index 1ba8ef795..000000000
--- a/resources/js/pages/settings/billing.vue
+++ /dev/null
@@ -1,63 +0,0 @@
-<template>
- <div>
- <h3 class="font-semibold text-2xl text-gray-900">
- Billing details
- </h3>
-
- <template v-if="user.has_customer_id">
- <small class="text-gray-600">Manage your billing. Download invoices, update your plan, or cancel it at any
- time.</small>
-
- <div class="mt-4">
- <v-button color="gray" shade="light" :loading="billingLoading" @click.prevent="openBillingDashboard">
- Manage Subscription
- </v-button>
- </div>
- </template>
-
- <app-sumo-billing class="mt-4" />
- </div>
-</template>
-
-<script>
-import axios from 'axios'
-import { computed } from 'vue'
-import { useAuthStore } from '../../stores/auth'
-import VButton from '../../components/common/Button.vue'
-import SeoMeta from '../../mixins/seo-meta.js'
-import AppSumoBilling from '../../components/vendor/appsumo/AppSumoBilling.vue'
-
-export default {
- components: { AppSumoBilling, VButton },
- mixins: [SeoMeta],
- scrollToTop: false,
-
- setup () {
- const authStore = useAuthStore()
- return {
- user : computed(() => authStore.user)
- }
- },
-
- data: () => ({
- metaTitle: 'Billing',
- billingLoading: false
- }),
-
- methods: {
- openBillingDashboard () {
- this.billingLoading = true
- axios.get('/api/subscription/billing-portal').then((response) => {
- const url = response.data.portal_url
- window.location = url
- }).catch((error) => {
- this.alertError(error.response.data.message)
- }).finally(() => {
- this.billingLoading = false
- })
- }
- },
-
- computed: {}
-}
-</script>
diff --git a/resources/js/pages/settings/index.vue b/resources/js/pages/settings/index.vue
deleted file mode 100644
index 218d4ce12..000000000
--- a/resources/js/pages/settings/index.vue
+++ /dev/null
@@ -1,105 +0,0 @@
-<template>
- <div class="bg-white">
- <div class="flex bg-gray-50">
- <div class="w-full md:w-4/5 lg:w-3/5 md:mx-auto md:max-w-4xl px-4">
- <div class="pt-4 pb-0">
- <div class="flex">
- <h2 class="flex-grow text-gray-900">
- My Account
- </h2>
- </div>
- <ul class="flex text-gray-500">
- <li>{{ user.email }}</li>
- </ul>
-
- <div class="mt-4 border-b border-gray-200 dark:border-gray-700">
- <ul class="flex flex-wrap -mb-px text-sm font-medium text-center">
- <li v-for="(tab, i) in tabsList" :key="i+1" class="mr-6">
- <router-link :to="{ name: tab.route }"
- class="hover:no-underline inline-block py-4 rounded-t-lg border-b-2 text-gray-500 hover:text-gray-600"
- active-class="text-blue-600 hover:text-blue-900 dark:text-blue-500 dark:hover:text-blue-500 border-blue-600 dark:border-blue-500"
- >
- {{ tab.name }}
- </router-link>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
- <div class="flex bg-white">
- <div class="w-full md:w-4/5 lg:w-3/5 md:mx-auto md:max-w-4xl px-4">
- <div class="mt-8 pb-0">
- <router-view v-slot="{ Component }">
- <transition name="page" mode="out-in">
- <component :is="Component" />
- </transition>
- </router-view>
- </div>
- </div>
- </div>
- </div>
-</template>
-
-<script>
-import { computed } from 'vue'
-import { useAuthStore } from '../../stores/auth'
-
-export default {
- middleware: 'auth',
-
- setup () {
- const authStore = useAuthStore()
- return {
- user: computed(() => authStore.user)
- }
- },
-
- data () {
- return {
- }
- },
-
- computed: {
- tabsList () {
- const tabs = [
- {
- name: 'Profile',
- route: 'settings.profile'
- },
- {
- name: 'Workspace Settings',
- route: 'settings.workspaces'
- },
- {
- name: 'Password',
- route: 'settings.password'
- },
- {
- name: 'Delete Account',
- route: 'settings.account'
- }
- ]
-
- if (this.user.is_subscribed) {
- tabs.splice(1, 0, {
- name: 'Billing',
- route: 'settings.billing'
- })
- }
-
- if (this.user.admin) {
- tabs.push({
- name: 'Admin',
- route: 'settings.admin'
- })
- }
-
- return tabs
- }
- },
-
- methods: {
- }
-}
-</script>
diff --git a/resources/js/pages/settings/password.vue b/resources/js/pages/settings/password.vue
deleted file mode 100644
index 2e7405732..000000000
--- a/resources/js/pages/settings/password.vue
+++ /dev/null
@@ -1,53 +0,0 @@
-<template>
- <div>
- <h3 class="font-semibold text-2xl text-gray-900">
- Password
- </h3>
- <small class="text-gray-600">Manage your password.</small>
-
- <form class="mt-3" @submit.prevent="update" @keydown="form.onKeydown($event)">
- <alert-success class="mb-5" :form="form" message="Password updated." />
-
- <!-- Password -->
- <text-input native-type="password"
- name="password" :form="form" label="Password" :required="true"
- />
-
- <!-- Password Confirmation-->
- <text-input native-type="password"
- name="password_confirmation" :form="form" label="Confirm Password" :required="true"
- />
-
- <!-- Submit Button -->
- <v-button :loading="form.busy" class="mt-4">
- Update password
- </v-button>
- </form>
- </div>
-</template>
-
-<script>
-import Form from 'vform'
-import SeoMeta from '../../mixins/seo-meta.js'
-
-export default {
- mixins: [SeoMeta],
- scrollToTop: false,
-
- data: () => ({
- metaTitle: 'Password',
- form: new Form({
- password: '',
- password_confirmation: ''
- })
- }),
-
- methods: {
- async update () {
- await this.form.patch('/api/settings/password')
-
- this.form.reset()
- }
- }
-}
-</script>
diff --git a/resources/js/pages/settings/profile.vue b/resources/js/pages/settings/profile.vue
deleted file mode 100644
index efb114b6d..000000000
--- a/resources/js/pages/settings/profile.vue
+++ /dev/null
@@ -1,66 +0,0 @@
-<template>
- <div>
- <h3 class="font-semibold text-2xl text-gray-900">
- Profile details
- </h3>
- <small class="text-gray-600">Update your username and manage your account details.</small>
-
- <form class="mt-3" @submit.prevent="update" @keydown="form.onKeydown($event)">
- <alert-success class="mb-5" :form="form" message="Your info has been updated!" />
-
- <!-- Name -->
- <text-input name="name" :form="form" label="Name" :required="true" />
-
- <!-- Email -->
- <text-input name="email" :form="form" label="Email" :required="true" />
-
- <!-- Submit Button -->
- <v-button :loading="form.busy" class="mt-4">
- Save changes
- </v-button>
- </form>
- </div>
-</template>
-
-<script>
-import Form from 'vform'
-import { computed } from 'vue'
-import { useAuthStore } from '../../stores/auth'
-import SeoMeta from '../../mixins/seo-meta.js'
-
-export default {
- mixins: [SeoMeta],
- scrollToTop: false,
-
- setup () {
- const authStore = useAuthStore()
- return {
- authStore,
- user : computed(() => authStore.user)
- }
- },
-
- data: () => ({
- metaTitle: 'Profile',
- form: new Form({
- name: '',
- email: ''
- })
- }),
-
- created () {
- // Fill the form with user data.
- this.form.keys().forEach(key => {
- this.form[key] = this.user[key]
- })
- },
-
- methods: {
- async update () {
- const { data } = await this.form.patch('/api/settings/profile')
-
- this.authStore.updateUser(data)
- }
- }
-}
-</script>
diff --git a/resources/js/pages/settings/workspace.vue b/resources/js/pages/settings/workspace.vue
deleted file mode 100644
index e0456382e..000000000
--- a/resources/js/pages/settings/workspace.vue
+++ /dev/null
@@ -1,224 +0,0 @@
-<template>
- <div>
- <div class="flex flex-wrap items-center gap-y-4 flex-wrap-reverse">
- <div class="flex-grow">
- <h3 class="font-semibold text-2xl text-gray-900">
- Workspace settings
- </h3>
- <small class="text-gray-600">Manage your workspaces.</small>
- </div>
- <v-button color="outline-blue" :loading="loading" @click="workspaceModal=true">
- <svg class="inline -mt-1 mr-1 h-4 w-4" viewBox="0 0 14 14" fill="none"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path d="M6.99996 1.16699V12.8337M1.16663 7.00033H12.8333" stroke="currentColor" stroke-width="1.67"
- stroke-linecap="round" stroke-linejoin="round"
- />
- </svg>
- Create new workspace
- </v-button>
- </div>
-
- <div v-if="loading" class="w-full text-blue-500 text-center">
- <loader class="h-10 w-10 p-5" />
- </div>
- <div v-else-if="workspace">
- <div class="mt-4 flex group bg-white items-center">
- <div class="flex space-x-4 flex-grow items-center">
- <img v-if="isUrl(workspace.icon)" :src="workspace.icon" :alt="workspace.name + ' icon'"
- class="rounded-full h-12 w-12"
- >
- <div v-else class="rounded-2xl bg-gray-100 h-12 w-12 text-2xl pt-2 text-center overflow-hidden"
- v-text="workspace.icon"
- />
- <div class="space-y-4 py-1">
- <div class="font-bold truncate">
- {{ workspace.name }}
- </div>
- </div>
- </div>
- </div>
-
- <template v-if="customDomainsEnabled">
- <text-area-input v-model="customDomains" name="custom_domain" class="mt-4" :required="false"
- :disabled="!workspace.is_pro"
- label="Workspace Custom Domains" wrapper-class="" placeholder="yourdomain.com - 1 per line"
- />
- <p class="text-gray-500 text-sm">
- Read our <a href="#"
- @click.prevent="$crisp.push(['do', 'helpdesk:article:open', ['en', 'how-to-use-my-own-domain-9m77g7']])"
- >custom
- domain instructions</a> to learn how to use your own domain.
- </p>
- </template>
-
- <div class="flex flex-wrap justify-between gap-2 mt-4">
- <v-button v-if="customDomainsEnabled" class="w-full sm:w-auto" :loading="customDomainsLoading" @click="saveChanges">
- <svg class="w-4 h-4 text-white inline mr-1 -mt-1" viewBox="0 0 24 24" fill="none"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- d="M17 21V13H7V21M7 3V8H15M19 21H5C4.46957 21 3.96086 20.7893 3.58579 20.4142C3.21071 20.0391 3 19.5304 3 19V5C3 4.46957 3.21071 3.96086 3.58579 3.58579C3.96086 3.21071 4.46957 3 5 3H16L21 8V19C21 19.5304 20.7893 20.0391 20.4142 20.4142C20.0391 20.7893 19.5304 21 19 21Z"
- stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
- />
- </svg>
- Save Domains
- </v-button>
- <v-button v-if="workspaces.length > 1" color="white" class="group w-full sm:w-auto" :loading="loading"
- @click="deleteWorkspace(workspace)"
- >
- <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 -mt-1 inline group-hover:text-red-700" fill="none"
- viewBox="0 0 24 24" stroke="currentColor"
- >
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
- d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"
- />
- </svg>
- Remove workspace
- </v-button>
- </div>
- </div>
-
- <!-- Workspace modal -->
- <modal :show="workspaceModal" max-width="lg" @close="workspaceModal=false">
- <template #icon>
- <svg class="w-8 h-8" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path
- d="M12 8V16M8 12H16M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z"
- stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
- />
- </svg>
- </template>
- <template #title>
- Create Workspace
- </template>
- <div class="px-4">
- <form @submit.prevent="createWorkspace" @keydown="form.onKeydown($event)">
- <div>
- <text-input name="name" class="mt-4" :form="form" :required="true"
- label="Workspace Name"
- />
- <text-input name="emoji" class="mt-4" :form="form" :required="false"
- label="Emoji"
- />
- </div>
-
- <div class="w-full mt-6">
- <v-button :loading="form.busy" class="w-full my-3">
- Save
- </v-button>
- </div>
- </form>
- </div>
- </modal>
- </div>
-</template>
-
-<script>
-import { computed } from 'vue'
-import Form from 'vform'
-import { useFormsStore } from '../../stores/forms'
-import { useWorkspacesStore } from '../../stores/workspaces'
-import SeoMeta from '../../mixins/seo-meta.js'
-import TextAreaInput from '../../components/forms/TextAreaInput.vue'
-import axios from 'axios'
-import * as domain from 'domain'
-
-export default {
- components: { TextAreaInput },
- mixins: [SeoMeta],
- scrollToTop: false,
- mixins: [SeoMeta],
-
- setup () {
- const formsStore = useFormsStore()
- const workspacesStore = useWorkspacesStore()
- return {
- formsStore,
- workspacesStore,
- workspaces: computed(() => workspacesStore.content),
- loading: computed(() => workspacesStore.loading)
- }
- },
-
- data: () => ({
- metaTitle: 'Workspaces',
- form: new Form({
- name: '',
- emoji: ''
- }),
- workspaceModal: false,
- customDomains: '',
- customDomainsLoading: false
- }),
-
- mounted () {
- this.workspacesStore.loadIfEmpty()
- this.initCustomDomains()
- },
-
- computed: {
- workspace () {
- return this.workspacesStore.getCurrent()
- },
- customDomainsEnabled () {
- return window.config.custom_domains_enabled
- }
- },
-
- methods: {
- saveChanges () {
- if (this.customDomainsLoading) return
- this.customDomainsLoading = true
- // Update the workspace custom domain
- axios.put('/api/open/workspaces/' + this.workspace.id + '/custom-domains', {
- custom_domains: this.customDomains.split('\n')
- .map(domain => domain.trim())
- .filter(domain => domain && domain.length > 0)
- }).then((response) => {
- this.workspacesStore.addOrUpdate(response.data)
- this.alertSuccess('Custom domains saved.')
- }).catch((error) => {
- this.alertError('Failed to update custom domains: ' + error.response.data.message)
- }).finally(() => {
- this.customDomainsLoading = false
- })
- },
- initCustomDomains () {
- if (!this.workspace) return
- this.customDomains = this.workspace.custom_domains.join('\n')
- },
- deleteWorkspace (workspace) {
- if (this.workspaces.length <= 1) {
- this.alertError('You cannot delete your only workspace.')
- return
- }
- this.alertConfirm('Do you really want to delete this workspace? All forms created in this workspace will be removed.', () => {
- this.workspacesStore.delete(workspace.id).then(() => {
- this.alertSuccess('Workspace successfully removed.')
- })
- })
- },
- isUrl (str) {
- const pattern = new RegExp('^(https?:\\/\\/)?' + // protocol
- '((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|' + // domain name
- '((\\d{1,3}\\.){3}\\d{1,3}))' + // OR ip (v4) address
- '(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*' + // port and path
- '(\\?[;&a-z\\d%_.~+=-]*)?' + // query string
- '(\\#[-a-z\\d_]*)?$', 'i') // fragment locator
- return !!pattern.test(str)
- },
- async createWorkspace() {
- const {data} = await this.form.post('/api/open/workspaces/create')
- this.workspacesStore.load()
- this.workspaceModal = false
- }
- },
-
- watch: {
- workspace () {
- this.initCustomDomains()
- }
- }
-}
-</script>
diff --git a/resources/js/pages/subscriptions/error.vue b/resources/js/pages/subscriptions/error.vue
deleted file mode 100644
index fc33a4227..000000000
--- a/resources/js/pages/subscriptions/error.vue
+++ /dev/null
@@ -1,32 +0,0 @@
-<template />
-
-<script>
-import { computed } from 'vue'
-import { useAuthStore } from '../../stores/auth'
-import SeoMeta from '../../mixins/seo-meta.js'
-
-export default {
- components: { },
- layout: 'default',
- middleware: 'auth',
- mixins: [SeoMeta],
-
- setup () {
- const authStore = useAuthStore()
- return {
- authenticated : computed(() => authStore.check),
- }
- },
-
- data: () => ({
- metaTitle: 'Error',
- }),
-
- mounted () {
- this.$router.push({ name: 'pricing' })
- this.alertError('Unfortunately we could not confirm your subscription. Please try again and contact us if the issue persists.')
- },
-
- computed: {}
-}
-</script>
diff --git a/resources/js/pages/subscriptions/success.vue b/resources/js/pages/subscriptions/success.vue
deleted file mode 100644
index e8d976f64..000000000
--- a/resources/js/pages/subscriptions/success.vue
+++ /dev/null
@@ -1,78 +0,0 @@
-<template>
- <div class="flex flex-col min-h-screen">
- <div class="w-full md:max-w-3xl md:mx-auto px-4 mb-10 md:pb-20 md:pt-16 text-center flex-grow">
- <h1 class="text-4xl font-semibold">
- Thank you!
- </h1>
- <h4 class="text-xl mt-6">
- We're checking the status of your subscription please wait a moment...
- </h4>
- <div class="text-center">
- <loader class="h-6 w-6 text-nt-blue mx-auto mt-20" />
- </div>
- </div>
- <open-form-footer />
- </div>
-</template>
-
-<script>
-import { computed } from 'vue'
-import { useAuthStore } from '../../stores/auth'
-import OpenFormFooter from '../../components/pages/OpenFormFooter.vue'
-import SeoMeta from '../../mixins/seo-meta.js'
-
-export default {
- components: { OpenFormFooter },
- mixins: [SeoMeta],
- layout: 'default',
- middleware: 'auth',
-
- setup () {
- const authStore = useAuthStore()
- return {
- authStore,
- authenticated : computed(() => authStore.check),
- user : computed(() => authStore.user)
- }
- },
-
- data: () => ({
- metaTitle: 'Subscription Success',
- interval: null
- }),
-
- mounted () {
- this.redirectIfSubscribed()
- this.interval = setInterval(() => this.checkSubscription(), 5000)
- },
-
- beforeUnmount () {
- clearInterval(this.interval)
- },
-
- methods: {
- async checkSubscription () {
- // Fetch the user.
- await this.authStore.fetchUser()
- this.redirectIfSubscribed()
- },
- redirectIfSubscribed () {
- if (this.user.is_subscribed) {
- this.$logEvent('subscribed', { plan: this.user.has_enterprise_subscription ? 'enterprise' : 'pro' })
- this.$crisp.push(['set', 'session:event', [[['subscribed', { plan: this.user.has_enterprise_subscription ? 'enterprise' : 'pro' }, 'blue']]]])
- this.$router.push({ name: 'home' })
-
- if (this.user.has_enterprise_subscription) {
- this.alertSuccess('Awesome! Your subscription to OpnForm is now confirmed! You now have access to all Enterprise ' +
- 'features. No need to invite your teammates, just ask them to create a OpnForm account and to connect the same Notion workspace. Feel free to contact us if you have any question 🙌')
- } else {
- this.alertSuccess('Awesome! Your subscription to OpnForm is now confirmed! You now have access to all Pro ' +
- 'features. Feel free to contact us if you have any question 🙌')
- }
- }
- }
- },
-
- computed: {}
-}
-</script>
diff --git a/resources/js/pages/templates/industries.vue b/resources/js/pages/templates/industries.vue
deleted file mode 100644
index ecfff178e..000000000
--- a/resources/js/pages/templates/industries.vue
+++ /dev/null
@@ -1,238 +0,0 @@
-<template>
- <div class="flex flex-col min-h-full">
- <breadcrumb :path="breadcrumbs" />
-
- <div v-if="templatesLoading" class="text-center my-4">
- <loader class="h-6 w-6 text-nt-blue mx-auto" />
- </div>
- <p v-else-if="industry === null || !industry" class="text-center my-4">
- We could not find this industry.
- </p>
- <template v-else>
- <section class="py-12 sm:py-16 bg-gray-50 border-b border-gray-200">
- <div class="px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto">
- <div class="text-center mx-auto">
- <div class="font-semibold sm:w-full text-blue-500 mb-3">
- {{ industry.name }}
- </div>
- <h1 class="text-3xl sm:text-4xl lg:text-5xl font-bold tracking-tight text-gray-900">
- {{ industry.meta_title }}
- </h1>
- <p class="max-w-xl mx-auto text-gray-600 mt-4 text-lg font-normal">
- {{ industry.meta_description }}
- </p>
- </div>
- </div>
- </section>
-
- <section class="bg-white py-12 sm:py-16">
- <div class="px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto">
- <div class="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4 sm:gap-6 relative z-20">
- <div class="flex items-center gap-4">
- <div class="flex-1 sm:flex-none">
- <select-input v-model="selectedType" name="type"
- :options="typesOptions" class="w-full sm:w-auto md:w-56"
- />
- </div>
- </div>
- <div class="flex-1 w-full md:max-w-xs">
- <text-input name="search" :form="searchTemplate" placeholder="Search..." />
- </div>
- </div>
-
- <div v-if="templatesLoading" class="text-center mt-4">
- <loader class="h-6 w-6 text-nt-blue mx-auto" />
- </div>
- <p v-else-if="enrichedTemplates.length === 0" class="text-center mt-4">
- No templates found.
- </p>
- <div v-else class="relative z-10">
- <div class="grid grid-cols-1 mt-8 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-8 sm:gap-y-12">
- <single-template v-for="template in enrichedTemplates" :key="template.id" :slug="template.slug" />
- </div>
- </div>
- </div>
- </section>
-
- <section class="py-12 bg-white border-t border-gray-200 sm:py-16">
- <div class="px-4 mx-auto sm:px-6 lg:px-8 max-w-7xl">
- <p class="text-gray-600 font-normal">
- {{ industry.description }}
- </p>
- </div>
- </section>
-
- <section class="py-12 bg-white border-t border-gray-200 sm:py-16">
- <div class="px-4 mx-auto sm:px-6 lg:px-8 max-w-7xl">
- <div class="flex items-center justify-between">
- <h4 class="text-xl font-bold tracking-tight text-gray-900 sm:text-2xl">
- Other Industries
- </h4>
-
- <v-button :to="{name:'templates'}" color="white" size="small" :arrow="true">
- View All Templates
- </v-button>
- </div>
-
- <div class="grid grid-cols-1 gap-8 mt-8 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4">
- <router-link v-for="row in otherIndustries" :key="row.slug"
- :to="{params:{slug:row.slug}, name:'templates.industries.show'}"
- :title="row.name"
- class="text-gray-600 dark:text-gray-400 transition-colors duration-300 hover:text-nt-blue"
- >
- {{ row.name }}
- </router-link>
- </div>
- </div>
- </section>
-
- </template>
-
- <open-form-footer class="mt-8 border-t"/>
- </div>
-</template>
-
-<script>
-import Form from 'vform'
-import Fuse from 'fuse.js'
-import { computed } from 'vue'
-import { useAuthStore } from '../../stores/auth'
-import { useTemplatesStore } from '../../stores/templates'
-import SeoMeta from '../../mixins/seo-meta.js'
-import OpenFormFooter from '../../components/pages/OpenFormFooter.vue'
-import Breadcrumb from '../../components/common/Breadcrumb.vue'
-import SingleTemplate from '../../components/pages/templates/SingleTemplate.vue'
-
-const loadTemplates = function () {
- const templatesStore = useTemplatesStore()
- templatesStore.startLoading()
- templatesStore.loadIfEmpty().then(() => {
- templatesStore.stopLoading()
- })
-}
-
-export default {
- components: { Breadcrumb, OpenFormFooter, SingleTemplate },
- mixins: [SeoMeta],
-
- beforeRouteEnter (to, from, next) {
- loadTemplates()
- next()
- },
-
- setup () {
- const authStore = useAuthStore()
- const templatesStore = useTemplatesStore()
- return {
- authStore,
- authenticated : computed(() => authStore.check),
- user : computed(() => authStore.user),
- templates : computed(() => templatesStore.content),
- templatesLoading : computed(() => templatesStore.loading),
- industries : computed(() => templatesStore.industries),
- types : computed(() => templatesStore.types)
- }
- },
-
- data () {
- return {
- selectedType: 'all',
- searchTemplate: new Form({
- search: ''
- })
- }
- },
-
- mounted () {},
-
- computed: {
- breadcrumbs () {
- if (!this.industry) {
- return [{ route: { name: 'templates' }, label: 'Templates' }]
- }
- return [{ route: { name: 'templates' }, label: 'Templates' }, { label: this.industry.name }]
- },
- industry () {
- return Object.values(this.industries).find((industry) => {
- return industry.slug === this.$route.params.slug
- })
- },
- typesOptions () {
- return [{ name: 'All Types', value: 'all' }].concat(Object.values(this.types).map((type) => {
- return {
- name: type.name,
- value: type.slug
- }
- }))
- },
- otherIndustries() {
- return Object.values(this.industries).filter((industry) => {
- return industry.slug !== this.$route.params.slug
- })
- },
- enrichedTemplates () {
- let enrichedTemplates = this.templates
-
- // Filter by current Industry only
- enrichedTemplates = enrichedTemplates.filter((item) => {
- return (item.industries && item.industries.length > 0) ? item.industries.includes(this.$route.params.slug) : false
- })
-
- // Filter by Selected Type
- if (this.selectedType && this.selectedType !== 'all') {
- enrichedTemplates = enrichedTemplates.filter((item) => {
- return (item.types && item.types.length > 0) ? item.types.includes(this.selectedType) : false
- })
- }
-
- if (this.searchTemplate.search === '' || this.searchTemplate.search === null) {
- return enrichedTemplates
- }
-
- // Fuze search
- const fuzeOptions = {
- keys: [
- 'name',
- 'slug',
- 'description',
- 'short_description'
- ]
- }
- const fuse = new Fuse(enrichedTemplates, fuzeOptions)
- return fuse.search(this.searchTemplate.search).map((res) => {
- return res.item
- })
- },
- metaTitle () {
- return this.industry ? this.industry.meta_title : 'Form Template Industry'
- },
- metaDescription () {
- if (!this.industry) return null
- return this.industry.meta_description.substring(0, 140)
- }
- },
-
- methods: {}
-}
-</script>
-
-<style lang='scss'>
-.nf-text {
- @apply space-y-4;
- h2 {
- @apply text-sm font-normal tracking-widest text-gray-500 uppercase;
- }
-
- p {
- @apply font-normal leading-7 text-gray-900 dark:text-gray-100;
- }
-
- ol {
- @apply list-decimal list-inside;
- }
-
- ul {
- @apply list-disc list-inside;
- }
-}
-</style>
diff --git a/resources/js/pages/templates/my_templates.vue b/resources/js/pages/templates/my_templates.vue
deleted file mode 100644
index 78d4a2534..000000000
--- a/resources/js/pages/templates/my_templates.vue
+++ /dev/null
@@ -1,44 +0,0 @@
-<template>
- <div class="flex flex-col min-h-full border-t">
- <section class="py-12 sm:py-16 bg-gray-50 border-b border-gray-200">
- <div class="px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto">
- <div class="text-center max-w-xl mx-auto">
- <h1 class="text-3xl sm:text-4xl lg:text-5xl font-bold tracking-tight text-gray-900">
- My Form Templates
- </h1>
- <p class="text-gray-600 mt-4 text-lg font-normal">
- Share your best form as templates so that others can re-use them!
- </p>
- </div>
- </div>
- </section>
-
- <templates-list :only-my="true" />
- </div>
-</template>
-
-<script>
-import TemplatesList from '../../components/pages/templates/TemplatesList.vue'
-import SeoMeta from '../../mixins/seo-meta.js'
-
-export default {
- components: { TemplatesList },
- mixins: [SeoMeta],
- middleware: 'auth',
-
- props: {
- metaTitle: { type: String, default: 'My Templates' },
- metaDescription: { type: String, default: 'Our collection of beautiful templates to create your own forms!' }
- },
-
- data () {
- return {}
- },
-
- mounted () {},
-
- computed: {},
-
- methods: {}
-}
-</script>
diff --git a/resources/js/pages/templates/show.vue b/resources/js/pages/templates/show.vue
deleted file mode 100644
index c1fed685b..000000000
--- a/resources/js/pages/templates/show.vue
+++ /dev/null
@@ -1,328 +0,0 @@
-<template>
- <div class="flex flex-col min-h-full">
- <breadcrumb :path="breadcrumbs">
- <template #left>
- <div v-if="canEditTemplate" class="ml-5">
- <v-button color="gray" size="small" @click.prevent="showFormTemplateModal=true">
- Edit Template
- </v-button>
- <form-template-modal v-if="form" :form="form" :template="template" :show="showFormTemplateModal"
- @close="showFormTemplateModal=false"
- />
- </div>
- </template>
- <template #right>
- <v-button v-if="canEditTemplate" v-track.copy_template_button_clicked size="small" color="white" class="mr-5"
- @click.prevent="copyTemplateUrl"
- >
- Copy Template URL
- </v-button>
- <v-button v-track.use_template_button_clicked size="small" class="mr-5"
- :to="{path: createFormWithTemplateUrl}"
- >
- Use this template
- </v-button>
- </template>
- </breadcrumb>
-
- <div v-if="templatesLoading" class="text-center my-4">
- <loader class="h-6 w-6 text-nt-blue mx-auto" />
- </div>
- <p v-else-if="template === null || !template" class="text-center my-4">
- We could not find this template.
- </p>
- <template v-else>
- <section class="pt-12 bg-gray-50 sm:pt-16 border-b pb-[250px] relative">
- <div class="px-4 mx-auto sm:px-6 lg:px-8 max-w-7xl">
- <div class="flex flex-col items-center justify-center max-w-4xl gap-8 mx-auto md:gap-12 md:flex-row">
- <div class="aspect-[4/3] shrink-0 rounded-lg shadow-sm overflow-hidden group max-w-xs">
- <img class="object-cover w-full h-full transition-all duration-200 group-hover:scale-110"
- :src="template.image_url" alt="Template cover image"
- >
- </div>
-
- <div class="flex-1 text-center md:text-left relative">
- <h1 class="text-3xl font-bold tracking-tight text-gray-900 sm:text-4xl">
- {{ template.name }}
- </h1>
- <p class="mt-2 text-lg font-normal text-gray-600">
- {{ cleanQuotes(template.short_description) }}
- </p>
- <template-tags :slug="template.slug" :display-all="true"
- class="flex flex-wrap items-center justify-center gap-3 mt-4 md:justify-start"
- />
- </div>
- </div>
- </div>
- </section>
-
- <section class="relative px-4 mx-auto sm:px-6 lg:px-8 -mt-[210px]">
- <div class="max-w-7xl">
- <div
- class="max-w-2xl p-4 mx-auto bg-white shadow-lg sm:p-6 lg:p-8 rounded-xl ring-1 ring-inset ring-gray-200 isolate"
- >
- <p class="text-sm font-medium text-center text-gray-500 -mt-2 mb-2">
- Template Preview
- </p>
- <open-complete-form ref="open-complete-form" :form="form" :creating="true"
- class="mb-4 p-4 bg-gray-50 border border-gray-200 border-dashed rounded-lg"
- />
- </div>
- </div>
-
- <div class="absolute bottom-0 translate-y-full inset-x-0">
- <div class="px-4 mx-auto sm:px-6 lg:px-8 max-w-7xl -mt-[20px]">
- <div class="flex items-center justify-center">
- <v-button v-track.use_template_button_clicked class="mx-auto w-full max-w-[300px]" :to="{path: createFormWithTemplateUrl}">
- Use this template
- </v-button>
- </div>
- <div class="flex items-center justify-center">
- <div class="text-left mx-auto text-gray-500 text-xs mt-4">
- ✓ Core features 100% free<br>
- ✓ No credit card required<br>
- ✓ No submissions limit on Free plan
- </div>
- </div>
- </div>
- </div>
- </section>
-
- <section class="pt-20 pb-12 bg-white sm:pb-16">
- <div class="px-4 mx-auto sm:px-6 lg:px-8 max-w-7xl">
- <div class="max-w-2xl mx-auto mt-16 space-y-12 sm:mt-16 sm:space-y-16">
- <div class="nf-text" v-html="template.description" />
-
- <template v-if="template.questions.length > 0">
- <hr class="mt-12 border-gray-200">
- <div>
- <div class="text-center">
- <h3 class="text-xl font-bold tracking-tight text-gray-900 sm:text-2xl">
- Frequently asked questions
- </h3>
- <p class="mt-2 text-base font-normal text-gray-600">
- Everything you need to know about this template.
- </p>
- </div>
- <dl class="mt-12 space-y-10">
- <div v-for="(ques,ques_key) in template.questions" :key="ques_key" class="space-y-4">
- <dt class="font-semibold text-gray-900 dark:text-gray-100">
- {{ ques.question }}
- </dt>
- <dd class="mt-2 leading-6 text-gray-600 dark:text-gray-400" v-html="ques.answer" />
- </div>
- </dl>
- </div>
- </template>
- </div>
- </div>
- </section>
-
- <section v-if="template.related_templates.length > 0" class="py-12 bg-white border-t border-gray-200 sm:py-16">
- <div class="px-4 mx-auto sm:px-6 lg:px-8 max-w-7xl">
- <div class="flex items-center justify-between">
- <h4 class="text-xl font-bold tracking-tight text-gray-900 sm:text-2xl">
- Related templates
- </h4>
- <v-button :to="{name:'templates'}" color="white" size="small" :arrow="true">
- View All
- </v-button>
- </div>
-
- <div class="grid grid-cols-1 gap-8 mt-8 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 sm:gap-y-12">
- <single-template v-for="related in template.related_templates" :key="related" :slug="related" />
- </div>
- </div>
- </section>
-
- <section class="py-12 bg-white border-t border-gray-200 sm:py-16">
- <div class="px-4 mx-auto sm:px-6 lg:px-8 max-w-7xl">
- <div class="text-center">
- <h4 class="text-xl font-bold tracking-tight text-gray-900 sm:text-2xl">
- How OpnForm works
- </h4>
- </div>
-
- <div class="grid grid-cols-1 mt-12 md:grid-cols-2 gap-x-8 gap-y-12">
- <div
- class="flex flex-col items-center gap-4 text-center lg:items-start sm:text-left sm:items-start xl:flex-row"
- >
- <div
- class="inline-flex items-center justify-center w-10 h-10 text-base font-bold bg-white rounded-full shadow-sm ring-1 ring-inset ring-gray-200 text-blue-500 shrink-0"
- >
- 1
- </div>
- <div>
- <h5 class="text-base font-bold leading-tight text-gray-900">
- Copy the template and change it the way you like
- </h5>
- <p class="mt-2 text-sm font-normal text-gray-600">
- <router-link :to="{path:createFormWithTemplateUrl}">
- Click here to copy this template
- </router-link>
- and start customizing it. Change the questions, add new ones, choose colors and
- more.
- </p>
- </div>
- </div>
-
- <div
- class="flex flex-col items-center gap-4 text-center lg:items-start sm:text-left sm:items-start xl:flex-row"
- >
- <div
- class="inline-flex items-center justify-center w-10 h-10 text-base font-bold bg-white rounded-full shadow-sm ring-1 ring-inset ring-gray-200 text-blue-500 shrink-0"
- >
- 2
- </div>
- <div>
- <h5 class="text-base font-bold leading-tight text-gray-900">
- Embed the form or share it via a link
- </h5>
- <p class="mt-2 text-sm font-normal text-gray-600">
- You can directly share your form link, or embed the form on your website. It's magic! 🪄
- </p>
- </div>
- </div>
- </div>
-
- <!-- add video here -->
- <!-- <div class="max-w-5xl mx-auto mt-12 shadow-sm rounded-xl bg-blue-50 aspect-video" />-->
- </div>
- </section>
- </template>
-
- <open-form-footer class="mt-8 border-t"/>
- </div>
-</template>
-
-<script>
-import Form from 'vform'
-import { computed } from 'vue'
-import { useAuthStore } from '../../stores/auth'
-import { useTemplatesStore } from '../../stores/templates'
-import OpenFormFooter from '../../components/pages/OpenFormFooter.vue'
-import OpenCompleteForm from '../../components/open/forms/OpenCompleteForm.vue'
-import Breadcrumb from '../../components/common/Breadcrumb.vue'
-import SeoMeta from '../../mixins/seo-meta.js'
-import TemplateTags from '../../components/pages/templates/TemplateTags.vue'
-import SingleTemplate from '../../components/pages/templates/SingleTemplate.vue'
-import FormTemplateModal from '../../components/open/forms/components/templates/FormTemplateModal.vue'
-
-export default {
-
- components: { Breadcrumb, OpenFormFooter, OpenCompleteForm, TemplateTags, SingleTemplate, FormTemplateModal },
- mixins: [SeoMeta],
-
- beforeRouteEnter (to, from, next) {
- const templatesStore = useTemplatesStore()
- if (to.params?.slug) {
- templatesStore.loadTemplate(to.params?.slug)
- templatesStore.loadTypesAndIndustries()
- }
- next()
- },
-
- setup () {
- const authStore = useAuthStore()
- const templatesStore = useTemplatesStore()
- return {
- templatesStore,
- authenticated : computed(() => authStore.check),
- user : computed(() => authStore.user),
- templatesLoading : computed(() => templatesStore.loading)
- }
- },
-
- data () {
- return {
- showFormTemplateModal: false
- }
- },
-
- mounted () {},
-
- methods: {
- cleanQuotes (str) {
- // Remove starting and ending quotes if any
- return (str) ? str.replace(/^"/, '').replace(/"$/, '') : ''
- },
- copyTemplateUrl(){
- const str = this.template.share_url
- const el = document.createElement('textarea')
- el.value = str
- document.body.appendChild(el)
- el.select()
- document.execCommand('copy')
- document.body.removeChild(el)
- this.alertSuccess('Copied!')
- }
- },
-
- computed: {
- breadcrumbs () {
- if (!this.template) {
- return [{ route: { name: 'templates' }, label: 'Templates' }]
- }
- return [{ route: { name: 'templates' }, label: 'Templates' }, { label: this.template.name }]
- },
- template () {
- return this.templatesStore.getBySlug(this.$route.params.slug)
- },
- form () {
- return this.template ? new Form(this.template.structure) : null
- },
- canEditTemplate () {
- return this.user && this.template && (this.user.admin || this.user.template_editor || this.template.creator_id === this.user.id)
- },
- metaTitle () {
- return this.template ? this.template.name : 'Form Template'
- },
- metaDescription () {
- if (!this.template) return null
- // take the first 140 characters of the description
- return this.template.short_description?.substring(0, 140) + '... | Customize any template and create your own form in minutes.'
- },
- metaImage () {
- if (!this.template) return null
- return this.template.image_url
- },
- metaTags () {
- if (!this.template) {
- return [];
- }
- return this.template.publicly_listed ? [] : [{ name: 'robots', content: 'noindex' }]
- },
- createFormWithTemplateUrl () {
- if(this.authenticated) {
- return '/forms/create?template=' + this.template?.slug
- }
- return '/forms/create/guest?template=' + this.template?.slug
- }
- }
-}
-</script>
-
-<style lang='scss'>
-.nf-text {
- @apply space-y-4;
- h2 {
- @apply text-sm font-normal tracking-widest text-gray-500 uppercase;
- }
-
- p {
- @apply font-normal leading-7 text-gray-900 dark:text-gray-100;
- }
-
- ol {
- @apply list-decimal list-inside;
- }
-
- ul {
- @apply list-disc list-inside;
- }
-}
-
-.aspect-video {
- aspect-ratio: 16/9;
-}
-</style>
diff --git a/resources/js/pages/templates/templates.vue b/resources/js/pages/templates/templates.vue
deleted file mode 100644
index 095a545e2..000000000
--- a/resources/js/pages/templates/templates.vue
+++ /dev/null
@@ -1,47 +0,0 @@
-<template>
- <div class="flex flex-col min-h-full border-t">
- <section class="py-12 sm:py-16 bg-gray-50 border-b border-gray-200">
- <div class="px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto">
- <div class="text-center max-w-xl mx-auto">
- <h1 class="text-3xl sm:text-4xl lg:text-5xl font-bold tracking-tight text-gray-900">
- Form Templates
- </h1>
- <p class="text-gray-600 mt-4 text-lg font-normal">
- Our collection of beautiful templates to create your own forms!
- </p>
- </div>
- </div>
- </section>
-
- <templates-list />
-
- <open-form-footer class="mt-8 border-t"/>
- </div>
-</template>
-
-<script>
-import OpenFormFooter from '../../components/pages/OpenFormFooter.vue'
-import TemplatesList from '../../components/pages/templates/TemplatesList.vue'
-import SeoMeta from '../../mixins/seo-meta.js'
-
-export default {
-
- components: { OpenFormFooter, TemplatesList },
- mixins: [SeoMeta],
-
- props: {
- metaTitle: { type: String, default: 'Templates' },
- metaDescription: { type: String, default: 'Our collection of beautiful templates to create your own forms!' }
- },
-
- data () {
- return {}
- },
-
- mounted () {},
-
- computed: {},
-
- methods: {}
-}
-</script>
diff --git a/resources/js/pages/templates/types.vue b/resources/js/pages/templates/types.vue
deleted file mode 100644
index 805633c29..000000000
--- a/resources/js/pages/templates/types.vue
+++ /dev/null
@@ -1,238 +0,0 @@
-<template>
- <div class="flex flex-col min-h-full">
- <breadcrumb :path="breadcrumbs" />
-
- <div v-if="templatesLoading" class="text-center my-4">
- <loader class="h-6 w-6 text-nt-blue mx-auto" />
- </div>
- <p v-else-if="type === null || !type" class="text-center my-4">
- We could not find this type.
- </p>
- <template v-else>
- <section class="py-12 sm:py-16 bg-gray-50 border-b border-gray-200">
- <div class="px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto">
- <div class="text-center mx-auto">
- <div class="font-semibold sm:w-full text-blue-500 mb-3">
- {{ type.name }}
- </div>
- <h1 class="text-3xl sm:text-4xl lg:text-5xl font-bold tracking-tight text-gray-900">
- {{ type.meta_title }}
- </h1>
- <p class="max-w-xl mx-auto text-gray-600 mt-4 text-lg font-normal">
- {{ type.meta_description }}
- </p>
- </div>
- </div>
- </section>
-
- <section class="bg-white py-12 sm:py-16">
- <div class="px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto">
- <div class="flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4 sm:gap-6 relative z-20">
- <div class="flex items-center gap-4">
- <div class="flex-1 sm:flex-none">
- <select-input v-model="selectedIndustry" name="industry"
- :options="industriesOptions" class="w-full sm:w-auto md:w-56"
- />
- </div>
- </div>
- <div class="flex-1 w-full md:max-w-xs">
- <text-input name="search" :form="searchTemplate" placeholder="Search..." />
- </div>
- </div>
-
- <div v-if="templatesLoading" class="text-center mt-4">
- <loader class="h-6 w-6 text-nt-blue mx-auto" />
- </div>
- <p v-else-if="enrichedTemplates.length === 0" class="text-center mt-4">
- No templates found.
- </p>
- <div v-else class="relative z-10">
- <div class="grid grid-cols-1 mt-8 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-8 sm:gap-y-12">
- <single-template v-for="template in enrichedTemplates" :key="template.id" :slug="template.slug" />
- </div>
- </div>
- </div>
- </section>
-
- <section class="py-12 bg-white border-t border-gray-200 sm:py-16">
- <div class="px-4 mx-auto sm:px-6 lg:px-8 max-w-7xl">
- <p class="text-gray-600 font-normal">
- {{ type.description }}
- </p>
- </div>
- </section>
-
- <section class="py-12 bg-white border-t border-gray-200 sm:py-16">
- <div class="px-4 mx-auto sm:px-6 lg:px-8 max-w-7xl">
- <div class="flex items-center justify-between">
- <h4 class="text-xl font-bold tracking-tight text-gray-900 sm:text-2xl">
- Other Types
- </h4>
-
- <v-button :to="{name:'templates'}" color="white" size="small" :arrow="true">
- View All Templates
- </v-button>
- </div>
-
- <div class="grid grid-cols-1 gap-8 mt-8 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4">
- <router-link v-for="row in otherTypes" :key="row.slug"
- :to="{params:{slug:row.slug}, name:'templates.types.show'}"
- :title="row.name"
- class="text-gray-600 dark:text-gray-400 transition-colors duration-300 hover:text-nt-blue"
- >
- {{ row.name }}
- </router-link>
- </div>
- </div>
- </section>
-
- </template>
-
- <open-form-footer class="mt-8 border-t"/>
- </div>
-</template>
-
-<script>
-import Form from 'vform'
-import Fuse from 'fuse.js'
-import { computed } from 'vue'
-import { useAuthStore } from '../../stores/auth'
-import { useTemplatesStore } from '../../stores/templates'
-import SeoMeta from '../../mixins/seo-meta.js'
-import OpenFormFooter from '../../components/pages/OpenFormFooter.vue'
-import Breadcrumb from '../../components/common/Breadcrumb.vue'
-import SingleTemplate from '../../components/pages/templates/SingleTemplate.vue'
-
-const loadTemplates = function () {
- const templatesStore = useTemplatesStore()
- templatesStore.startLoading()
- templatesStore.loadIfEmpty().then(() => {
- templatesStore.stopLoading()
- })
-}
-
-export default {
- components: { Breadcrumb, OpenFormFooter, SingleTemplate },
- mixins: [SeoMeta],
-
- beforeRouteEnter (to, from, next) {
- loadTemplates()
- next()
- },
-
- setup () {
- const authStore = useAuthStore()
- const templatesStore = useTemplatesStore()
- return {
- authenticated : computed(() => authStore.check),
- user : computed(() => authStore.user),
- templates : computed(() => templatesStore.content),
- templatesLoading : computed(() => templatesStore.loading),
- industries : computed(() => templatesStore.industries),
- types : computed(() => templatesStore.types)
- }
- },
-
- data () {
- return {
- selectedIndustry: 'all',
- searchTemplate: new Form({
- search: ''
- })
- }
- },
-
- mounted () {},
-
- computed: {
- breadcrumbs () {
- if (!this.type) {
- return [{ route: { name: 'templates' }, label: 'Templates' }]
- }
- return [{ route: { name: 'templates' }, label: 'Templates' }, { label: this.type.name }]
- },
- type () {
- return Object.values(this.types).find((type) => {
- return type.slug === this.$route.params.slug
- })
- },
- industriesOptions () {
- return [{ name: 'All Industries', value: 'all' }].concat(Object.values(this.industries).map((industry) => {
- return {
- name: industry.name,
- value: industry.slug
- }
- }))
- },
- otherTypes() {
- return Object.values(this.types).filter((type) => {
- return type.slug !== this.$route.params.slug
- })
- },
- enrichedTemplates () {
- let enrichedTemplates = this.templates
-
- // Filter by current Type only
- enrichedTemplates = enrichedTemplates.filter((item) => {
- return (item.types && item.types.length > 0) ? item.types.includes(this.$route.params.slug) : false
- })
-
- // Filter by Selected Industry
- if (this.selectedIndustry && this.selectedIndustry !== 'all') {
- enrichedTemplates = enrichedTemplates.filter((item) => {
- return (item.industries && item.industries.length > 0) ? item.industries.includes(this.selectedIndustry) : false
- })
- }
-
- if (this.searchTemplate.search === '' || this.searchTemplate.search === null) {
- return enrichedTemplates
- }
-
- // Fuze search
- const fuzeOptions = {
- keys: [
- 'name',
- 'slug',
- 'description',
- 'short_description'
- ]
- }
- const fuse = new Fuse(enrichedTemplates, fuzeOptions)
- return fuse.search(this.searchTemplate.search).map((res) => {
- return res.item
- })
- },
- metaTitle () {
- return this.type ? this.type.meta_title : 'Form Template Type'
- },
- metaDescription () {
- if (!this.type) return null
- return this.type.meta_description.substring(0, 140)
- }
- },
-
- methods: {}
-}
-</script>
-
-<style lang='scss'>
-.nf-text {
- @apply space-y-4;
- h2 {
- @apply text-sm font-normal tracking-widest text-gray-500 uppercase;
- }
-
- p {
- @apply font-normal leading-7 text-gray-900 dark:text-gray-100;
- }
-
- ol {
- @apply list-decimal list-inside;
- }
-
- ul {
- @apply list-disc list-inside;
- }
-}
-</style>
-
diff --git a/resources/js/pages/welcome.vue b/resources/js/pages/welcome.vue
deleted file mode 100644
index fbc76f026..000000000
--- a/resources/js/pages/welcome.vue
+++ /dev/null
@@ -1,251 +0,0 @@
-<template>
- <div>
- <section class="bg-gradient-to-b relative from-white to-gray-100 py-8 sm:py-16 ">
- <div class="absolute inset-0">
- <img class="w-full h-full object-cover object-top"
- :src="asset('img/pages/ai_form_builder/background-pattern.svg')" alt=""
- >
- </div>
-
- <div class="px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto relative -mb-32 md:-mb-52 lg:-mb-72">
- <div class="flex justify-center mb-5">
- <div
- class="relative flex items-center shadow-sm bg-white gap-x-4 rounded-full px-4 py-1 text-sm leading-6 text-gray-600 ring-1 ring-gray-900/10 hover:ring-gray-900/20"
- >
- <span class="font-semibold text-gray-500">We're Open-Source</span><span class="h-4 w-px bg-gray-900/10"
- aria-hidden="true"
- />
- <a
- target="_blank" class="flex items-center gap-x-1 hover:no-underline" href="https://github.com/jhumanj/opnform"
- >
- <span class="absolute inset-0" aria-hidden="true" />
- Star us on GitHub
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
- stroke="currentColor" aria-hidden="true" class="-mr-2 h-5 w-5 text-gray-400"
- >
- <path stroke-linecap="round" stroke-linejoin="round" d="M8.25 4.5l7.5 7.5-7.5 7.5" />
- </svg>
- </a>
- </div>
- </div>
- <div class="max-w-4xl mx-auto text-center">
- <h1 class="text-4xl sm:text-5xl lg:text-6xl font-semibold text-gray-900 tracking-tight">
- Build
- <span class="bg-clip-text text-transparent bg-gradient-to-r from-blue-600 to-blue-400">beautiful forms</span>
- <br>
- in seconds
- </h1>
- <p class="mt-4 sm:mt-5 text-base leading-7 sm:text-xl sm:leading-9 font-medium text-gray-500">
- Create beautiful forms and share them anywhere. It super fast, you don't need to know how to code. Get
- started
- <span class="font-semibold">for free</span>!
- </p>
-
- <div class="mt-8 flex justify-center">
- <v-button v-if="!authenticated" class="mr-1" :to="{ name: 'forms.create.guest' }" :arrow="true">
- Create a form for FREE
- </v-button>
- <v-button v-else class="mr-1" :to="{ name: 'forms.create' }" :arrow="true">
- Create a form for FREE
- </v-button>
- </div>
-
- <div class="justify-center flex gap-2 mt-10">
- <div class="flex items-center text-gray-400 text-sm">
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2"
- stroke="currentColor" class="w-4 h-4 mr-1 ticks"
- >
- <path stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5" />
- </svg>
- <span>Unlimited forms</span>
- </div>
- <div class="flex items-center text-gray-400 text-sm">
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2"
- stroke="currentColor" class="w-4 h-4 mr-1 ticks"
- >
- <path stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5" />
- </svg>
- <span>
- Unlimited fields
- </span>
- </div>
- <div class="flex text-gray-400 text-sm">
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2"
- stroke="currentColor" class="w-4 h-4 mr-1 ticks"
- >
- <path stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5" />
- </svg>
- <span>Unlimited responses</span>
- </div>
- </div>
- </div>
-
- <div
- class="w-full mt-12 relative px-6 mx-auto max-w-4xl sm:px-10 lg:px-0 z-10 flex items-center justify-center"
- >
- <div
- class="-m-2 rounded-xl bg-blue-900/5 p-2 backdrop-blur-sm ring-1 ring-inset ring-blue-900/10 lg:-m-4 lg:rounded-2xl lg:p-4"
- >
- <img :src="asset('img/pages/welcome/product-cover.jpg')"
- alt="Product screenshot" loading="lazy" class="rounded-md shadow-2xl ring-1 ring-gray-900/10"
- >
- </div>
- </div>
- </div>
- </section>
-
- <div class="flex flex-col bg-gray-50 dark:bg-notion-dark">
- <div class="bg-white dark:bg-notion-dark-light pt-32 md:pt-52 lg:pt-72 pb-8">
- <div class="md:max-w-5xl md:mx-auto w-full">
- <features class="pb-8" />
- </div>
- </div>
-
- <ai-feature class="bg-white -mb-56" />
-
- <more-features class="pt-56" />
-
- <pricing-table v-if="paidPlansEnabled" class="pb-20" :home-page="true">
- <template #pricing-table>
- <li class="flex gap-x-3">
- <router-link :to="{name:'pricing'}" class="flex gap-3">
- <div class="w-5" />
- Read more about our pricing
- </router-link>
- </li>
- </template>
- </pricing-table>
-
- <!-- <div class="pt-20 pb-5 text-center bg-white dark:bg-notion-dark-light">-->
- <!-- <h3 class="font-semibold text-3xl">See what people are saying</h3>-->
- <!-- <p class="w-full mt-2 mb-8">-->
- <!-- These are the stories of our customers who have joined us with great pleasure when using this crazy feature.-->
- <!-- </p>-->
- <!-- <testimonials/>-->
- <!-- </div>-->
-
- <templates-slider class="max-w-full mb-12" />
-
- <div class="w-full bg-blue-900 p-12 md:p-24 text-center">
- <h4 class="font-semibold text-3xl text-white">
- Take your forms to the next level
- </h4>
- <p class="text-gray-300 my-8">
- Generous, unlimited free plan.
- </p>
- <div class="mt-6 flex justify-center">
- <v-button v-track.welcome_create_form_click :to="{ name: 'forms.create.guest' }" :arrow="true" color="blue">
- Create a form for FREE
- </v-button>
- </div>
- <div class="flex justify-center mt-6">
- <a target="_blank" :href="configLinks.twitter" class="mr-4">
- <svg class="w-6 h-6 text-white" viewBox="0 0 24 20" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path
- d="M7.55016 19.7502C16.6045 19.7502 21.5583 12.2469 21.5583 5.74211C21.5583 5.53117 21.5536 5.31554 21.5442 5.1046C22.5079 4.40771 23.3395 3.5445 24 2.55554C23.1025 2.95484 22.1496 3.21563 21.1739 3.32898C22.2013 2.71315 22.9705 1.74572 23.3391 0.606011C22.3726 1.1788 21.3156 1.58286 20.2134 1.80085C19.4708 1.01181 18.489 0.48936 17.4197 0.314295C16.3504 0.13923 15.2532 0.321295 14.2977 0.832341C13.3423 1.34339 12.5818 2.15495 12.1338 3.14156C11.6859 4.12816 11.5754 5.23486 11.8195 6.29054C9.86249 6.19233 7.94794 5.68395 6.19998 4.79834C4.45203 3.91274 2.90969 2.66968 1.67297 1.14976C1.0444 2.23349 0.852057 3.51589 1.13503 4.73634C1.418 5.95678 2.15506 7.02369 3.19641 7.72023C2.41463 7.69541 1.64998 7.48492 0.965625 7.10617V7.1671C0.964925 8.30439 1.3581 9.40683 2.07831 10.287C2.79852 11.1672 3.80132 11.7708 4.91625 11.9952C4.19206 12.1934 3.43198 12.2222 2.69484 12.0796C3.00945 13.0577 3.62157 13.9131 4.44577 14.5266C5.26997 15.14 6.26512 15.4808 7.29234 15.5015C5.54842 16.8714 3.39417 17.6144 1.17656 17.6109C0.783287 17.6103 0.390399 17.5861 0 17.5387C2.25286 18.984 4.87353 19.7516 7.55016 19.7502Z"
- fill="currentColor"
- />
- </svg>
- </a>
- <a target="_blank" :href="configLinks.facebook_group" class="mr-4">
- <svg class="w-6 h-6 text-white" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path
- d="M24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 17.9895 4.3882 22.954 10.125 23.8542V15.4688H7.07812V12H10.125V9.35625C10.125 6.34875 11.9166 4.6875 14.6576 4.6875C15.9701 4.6875 17.3438 4.92188 17.3438 4.92188V7.875H15.8306C14.34 7.875 13.875 8.80008 13.875 9.75V12H17.2031L16.6711 15.4688H13.875V23.8542C19.6118 22.954 24 17.9895 24 12Z"
- fill="currentColor"
- />
- </svg>
- </a>
- <a v-track.welcome_github_click target="_blank" :href="configLinks.github_url" class="mr-4">
- <svg class="w-6 h-6 text-white" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
- <path fill-rule="evenodd" clip-rule="evenodd"
- d="M12 0C5.3724 0 0 5.3808 0 12.0204C0 17.3304 3.438 21.8364 8.2068 23.4252C8.8068 23.5356 9.0252 23.1648 9.0252 22.8456C9.0252 22.5612 9.0156 21.804 9.0096 20.802C5.6712 21.528 4.9668 19.1904 4.9668 19.1904C4.422 17.8008 3.6348 17.4312 3.6348 17.4312C2.5452 16.6872 3.7176 16.7016 3.7176 16.7016C4.9212 16.7856 5.5548 17.94 5.5548 17.94C6.6252 19.776 8.364 19.2456 9.0468 18.9384C9.1572 18.162 9.4668 17.6328 9.81 17.3328C7.146 17.0292 4.344 15.9972 4.344 11.3916C4.344 10.08 4.812 9.006 5.5788 8.166C5.4552 7.8624 5.0436 6.6396 5.6964 4.986C5.6964 4.986 6.7044 4.662 8.9964 6.2172C9.97532 5.95022 10.9853 5.81423 12 5.8128C13.02 5.8176 14.046 5.9508 15.0048 6.2172C17.2956 4.662 18.3012 4.9848 18.3012 4.9848C18.9564 6.6396 18.5436 7.8624 18.4212 8.166C19.1892 9.006 19.6548 10.08 19.6548 11.3916C19.6548 16.0092 16.848 17.0256 14.1756 17.3232C14.6064 17.694 14.9892 18.4272 14.9892 19.5492C14.9892 21.1548 14.9748 22.452 14.9748 22.8456C14.9748 23.1672 15.1908 23.5416 15.8004 23.424C18.19 22.6225 20.2672 21.0904 21.7386 19.0441C23.2099 16.9977 24.001 14.5408 24 12.0204C24 5.3808 18.6264 0 12 0Z"
- fill="currentColor"
- />
- </svg>
- </a>
- </div>
-
- <p class="mt-12 text-white text-lg">
- The form below is an OpnForm, give it a try !
- </p>
- <div class="md:max-w-5xl md:mx-auto w-full bg-white rounded-md mt-6 p-4 shadow-lg">
- <iframe class="mt-4" style="border:none;width:100%;" height="470px"
- src="https://opnform.com/forms/opnform-contact"
- />
- </div>
- </div>
-
- <open-form-footer class="dark:border-t border-t" />
- </div>
- </div>
-</template>
-
-<script>
-import { computed } from 'vue'
-import { useAuthStore } from '../stores/auth'
-import Features from '~/components/pages/welcome/Features.vue'
-import MoreFeatures from '~/components/pages/welcome/MoreFeatures.vue'
-import PricingTable from '../components/pages/pricing/PricingTable.vue'
-import AiFeature from '~/components/pages/welcome/AiFeature.vue'
-import OpenFormFooter from '../components/pages/OpenFormFooter.vue'
-import Testimonials from '../components/pages/welcome/Testimonials.vue'
-import TemplatesSlider from '../components/pages/welcome/TemplatesSlider.vue'
-import SeoMeta from '../mixins/seo-meta.js'
-
-export default {
- components: { Testimonials, OpenFormFooter, Features, MoreFeatures, PricingTable, AiFeature, TemplatesSlider },
- mixins: [SeoMeta],
- layout: 'default',
-
- setup () {
- const authStore = useAuthStore()
- return {
- authenticated : computed(() => authStore.check)
- }
- },
-
- data: () => ({
- title: window.config.appName,
- metaTitle: 'Create beautiful & open-source forms for free'
- }),
-
- mounted () {
- },
-
- methods: {
- // openCrisp () {
- // window.$crisp.push(['do', 'chat:show'])
- // window.$crisp.push(['do', 'chat:open'])
- // window.$crisp.push(['do', 'message:send', ['text', "Hi! I'd like to learn more about OpnForm"]])
- // }
- },
-
- computed: {
- configLinks: () => window.config.links,
- paidPlansEnabled () {
- return window.config.paid_plans_enabled
- }
- }
-}
-</script>
-
-<style lang="scss" scoped>
-
-.customer-logo-container {
- max-width: 130px;
- width: 100%;
-}
-
-.ticks {
- color: #2563eb;
-}
-
-@screen md {
- #macbook-video {
- position: absolute;
- max-width: 84.8% !important;
- right: 0px;
- top: 6.8%;
- }
-}
-</style>
diff --git a/resources/js/plugins/amplitude.js b/resources/js/plugins/amplitude.js
deleted file mode 100644
index 8ffd15039..000000000
--- a/resources/js/plugins/amplitude.js
+++ /dev/null
@@ -1,41 +0,0 @@
-// Log event function used to log event. Can be used when not using the directive.
-const logEvent = function (eventName, eventData) {
- if (!window.amplitude) return
- if (eventData && typeof eventData !== 'object') {
- throw new Error('Amplitude event value must be an object.')
- }
-
- console.log('in', window.config.production)
- if (!window.config.production) {
- console.log('[DEBUG] Amplitude logged event:', eventName, eventData)
- } else {
- window.amplitude.getInstance().logEvent(eventName, eventData)
- }
-}
-
-// Hook function used by event listener
-function hookLogEvent (binding) {
- const modifiers = Object.keys(binding.modifiers)
- if (modifiers.length !== 1) {
- throw new Error('Amplitude directive takes only one modifier which is the event name.')
- }
- const eventName = modifiers[0]
-
- logEvent(eventName, binding.value)
-}
-
-// Used in vue-plugins.js
-export function registerLogEventOnApp (app) {
- app.config.globalProperties.$logEvent = logEvent
-
- // Register directive to log event
- const registeredListeners = {}
- app.directive('track', {
- beforeMount (el, binding, vnode) {
- registeredListeners[el] = () => {
- hookLogEvent(binding)
- }
- el.addEventListener('click', registeredListeners[el])
- }
- })
-}
diff --git a/resources/js/plugins/axios.js b/resources/js/plugins/axios.js
deleted file mode 100644
index f5f525fc2..000000000
--- a/resources/js/plugins/axios.js
+++ /dev/null
@@ -1,48 +0,0 @@
-import axios from 'axios'
-import { useAuthStore } from '../stores/auth';
-import router from '~/router'
-import Cookies from 'js-cookie'
-
-function addPasswordToFormRequest (request) {
- const url = request.url
- if (!url.startsWith('/api/forms/')) return request
-
- const slug = url.split('/')[3]
- if (slug !== undefined && slug !== '' && Cookies.get('password-' + slug) !== undefined) {
- request.headers['form-password'] = Cookies.get('password-' + slug)
- }
-
- return request
-}
-
-// Request interceptor
-axios.interceptors.request.use(request => {
- const authStore = useAuthStore()
- const token = authStore.token
- if (token) {
- request.headers.common.Authorization = `Bearer ${token}`
- }
-
- request.headers.common['Accept-Language'] = 'en-US'
- // request.headers['X-Socket-Id'] = Echo.socketId()
-
- request = addPasswordToFormRequest(request)
-
- return request
-})
-
-// Response interceptor
-axios.interceptors.response.use(response => response, error => {
- const authStore = useAuthStore()
- const { status } = error.response
- if (status >= 500) {
- console.log(status)
- }
-
- if (status === 401 && authStore.check) {
- authStore.logout()
- router.push({ name: 'login' })
- }
-
- return Promise.reject(error)
-})
diff --git a/resources/js/plugins/index.js b/resources/js/plugins/index.js
deleted file mode 100644
index b07cbc2c2..000000000
--- a/resources/js/plugins/index.js
+++ /dev/null
@@ -1,19 +0,0 @@
-import './axios'
-import { registerLogEventOnApp } from './amplitude'
-import { MotionPlugin } from '@vueuse/motion'
-import './vapor'
-import './sentry'
-
-import Notifications from 'vue3-vt-notifications'
-import { createMetaManager } from 'vue-meta'
-
-function registerPlugin (app) {
- const metaManager = createMetaManager()
-
- app.use(Notifications)
- app.use(metaManager)
- app.use(MotionPlugin)
- registerLogEventOnApp(app)
- return app
-}
-export default registerPlugin
diff --git a/resources/js/plugins/sentry.js b/resources/js/plugins/sentry.js
deleted file mode 100644
index c4bcd7afc..000000000
--- a/resources/js/plugins/sentry.js
+++ /dev/null
@@ -1,17 +0,0 @@
-import Vue from 'vue'
-import * as Sentry from '@sentry/vue'
-
-if (window.config.sentry_dsn) {
- Sentry.init({
- Vue,
- dsn: window.config.sentry_dsn,
- integrations: [],
- // Performance Monitoring
- tracesSampleRate: 0.01,
- logErrors: true,
- debug: false
- })
- if (!window.config.production) {
- console.info('== Sentry enabled ==')
- }
-}
diff --git a/resources/js/plugins/vapor.js b/resources/js/plugins/vapor.js
deleted file mode 100644
index ceb45f448..000000000
--- a/resources/js/plugins/vapor.js
+++ /dev/null
@@ -1,78 +0,0 @@
-import Vue from 'vue'
-import axios from "axios"
-
-const assetUrl = import.meta.env.VITE_VAPOR_ASSET_URL
- ? import.meta.env.VITE_VAPOR_ASSET_URL
- : ''
-
-Vue.mixin({
- methods: {
- asset (path) {
- return assetUrl + '/' + path
- },
-
- /**
- * Store a file in S3 and return its UUID, key, and other information.
- */
- async storeFile (file, options = {}) {
- if(!window.config.s3_enabled) { // If not s3 then upload to local temp
- if (typeof options.progress === 'undefined') {
- options.progress = () => {}
- }
- const cleanAxios = axios.create()
- let formData = new FormData();
- formData.append('file', file);
- const response = await cleanAxios.post('/upload-file', formData, {
- headers: {
- 'Content-Type': 'multipart/form-data'
- },
- onUploadProgress: (progressEvent) => {
- options.progress(progressEvent.loaded / progressEvent.total)
- }
- })
-
- response.data.extension = file.name.split('.').pop()
- return response.data
- }
-
- const response = await axios.post(options.signedStorageUrl ? options.signedStorageUrl : '/vapor/signed-storage-url', {
- bucket: options.bucket || '',
- content_type: options.contentType || file.type,
- expires: options.expires || '',
- visibility: options.visibility || '',
- ...options.data
- }, {
- baseURL: options.baseURL || null,
- headers: options.headers || {},
- ...options.options
- })
-
- const headers = response.data.headers
-
- if ('Host' in headers) {
- delete headers.Host
- }
-
- if (typeof options.progress === 'undefined') {
- options.progress = () => {}
- }
-
- const cancelToken = options.cancelToken || ''
-
- // Remove authorization headers
- const cleanAxios = axios.create()
- cleanAxios.defaults.headers.common = {}
- await cleanAxios.put(response.data.url, file, {
- cancelToken: cancelToken,
- headers: headers,
- onUploadProgress: (progressEvent) => {
- options.progress(progressEvent.loaded / progressEvent.total)
- }
- })
-
- response.data.extension = file.name.split('.').pop()
-
- return response.data
- }
- }
-})
diff --git a/resources/js/router/index.js b/resources/js/router/index.js
deleted file mode 100644
index 1e5eef532..000000000
--- a/resources/js/router/index.js
+++ /dev/null
@@ -1,243 +0,0 @@
-import routes from './routes'
-import { createWebHistory, createRouter } from 'vue-router'
-import * as Sentry from '@sentry/vue'
-import { useAppStore } from '../stores/app'
-import { defineComponent, nextTick } from 'vue'
-
-// The middleware for every page of the application.
-const globalMiddleware = ['check-auth', 'custom-domains']
-
-// Load middleware modules dynamically.
-const requireContext = import.meta.glob('../middleware/**/*.js', { eager: true })
-const routeMiddleware = resolveMiddleware(
- requireContext
-)
-
-const router = createCustomRouter()
-
-export default router
-
-function createCustomRouter () {
- const router = createRouter({
- scrollBehavior,
- history: createWebHistory(),
- routes
- })
-
- router.beforeEach(beforeEach)
- router.afterEach(afterEach)
-
- return router
-}
-
-async function getMatchedComponents (to) {
- return resolveComponents(to.matched.map((record) => {
- const component = record.components.default
- return typeof component === 'function' ? defineComponent(component) : component
- }))
-}
-
-/**
- * Global router guard.
- *
- * @param {Route} to
- * @param {Route} from
- * @param {Function} next
- */
-async function beforeEach (to, from, next) {
- const appStore = useAppStore()
-
- // Sentry tracking
- if (window.config.sentry_dsn) {
- Sentry.configureScope((scope) => scope.setTransactionName(to?.name || 'Unknown route name'))
- }
-
- let components = []
-
- // External redirect
- if (to.matched.some((record) => record.meta.externalUrl)) {
- const url = to.meta.externalUrl
- window.location.replace(url)
- return
- }
-
- try {
- // Get the matched components and resolve them.
- components = await getMatchedComponents(to)
- } catch (error) {
- if (/^Loading( CSS)? chunk (\d)+ failed\./.test(error.message)) {
- window.location.reload(true)
- return
- }
- }
-
- if (components.length === 0) {
- return next()
- }
-
- // Start the loading bar.
- if (components[components.length - 1].loading !== false) {
- nextTick(() => appStore.loaderStart())
- }
-
- // Get the middleware for all the matched components.
- const middleware = getMiddleware(components)
-
- // Call each middleware.
- callMiddleware(middleware, to, from, (...args) => {
- // Set the application layout only if "next()" was called with no args.
- if (args.length === 0) {
- if (components[0].layout) {
- appStore.setLayout(components[0].layout)
- } else if (components[0].default && components[0].default.layout) {
- appStore.setLayout(components[0].default.layout)
- } else {
- appStore.setLayout(null)
- }
- }
-
- next(...args)
- })
-}
-
-/**
- * Global after hook.
- *
- * @param {Route} to
- * @param {Route} from
- * @param {Function} next
- */
-async function afterEach (to, from, next) {
- const appStore = useAppStore()
- nextTick(() => appStore.loaderFinish())
-}
-
-/**
- * Call each middleware.
- *
- * @param {Array} middleware
- * @param {Route} to
- * @param {Route} from
- * @param {Function} next
- */
-function callMiddleware (middleware, to, from, next) {
- const appStore = useAppStore()
- const stack = middleware.reverse()
-
- const _next = (...args) => {
- // Stop if "_next" was called with an argument or the stack is empty.
- if (args.length > 0 || stack.length === 0) {
- if (args.length > 0) {
- appStore.loaderFinish()
- }
-
- return next(...args)
- }
-
- const {
- middleware,
- params
- } = parseMiddleware(stack.pop())
-
- if (typeof middleware === 'function') {
- middleware(to, from, _next, params)
- } else if (routeMiddleware[middleware]) {
- routeMiddleware[middleware](to, from, _next, params)
- } else {
- throw Error(`Undefined middleware [${middleware}]`)
- }
- }
-
- _next()
-}
-
-/**
- * @param {String|Function} middleware
- * @return {Object}
- */
-function parseMiddleware (middleware) {
- if (typeof middleware === 'function') {
- return { middleware }
- }
-
- const [name, params] = middleware.split(':')
-
- return { middleware: name, params }
-}
-
-/**
- * Merge the the global middleware with the components middleware.
- *
- * @param {Array} components
- * @return {Array}
- */
-function getMiddleware (components) {
- const middleware = [...globalMiddleware]
-
- components.forEach(component => {
- let compMiddleware
- if (component.middleware) {
- compMiddleware = component.middleware
- } else if (component.default && component.default.middleware) {
- compMiddleware = component.default.middleware
- }
-
- if (compMiddleware) {
- if (Array.isArray(compMiddleware)) {
- middleware.push(...compMiddleware)
- } else {
- middleware.push(compMiddleware)
- }
- }
- })
-
- return middleware
-}
-
-/**
- * Scroll Behavior
- *
- * @link https://router.vuejs.org/en/advanced/scroll-behavior.html
- *
- * @param {Route} to
- * @param {Route} from
- * @param {Object|undefined} savedPosition
- * @return {Object}
- */
-function scrollBehavior (to, from, savedPosition) {
- if (savedPosition) {
- return savedPosition
- }
-
- if (to.hash) {
- return { selector: to.hash }
- }
- return {}
-}
-
-/**
- * @param {Object} requireContext
- * @return {Object}
- */
-function resolveMiddleware (requireContext) {
- const middlewares = {}
- Object.keys(requireContext)
- .map(file =>
- [file.match(/[^/]*(?=\.[^.]*$)/)[0], requireContext[file]]
- ).forEach(([name, middleware]) => {
- middlewares[name] = middleware.default || middleware
- })
- return middlewares
-}
-
-/**
- * Resolve async components.
- *
- * @param {Array} components
- * @return {Array}
- */
-function resolveComponents (components) {
- return Promise.all(components.map(component => {
- return typeof component === 'function' ? component() : component
- }))
-}
diff --git a/resources/js/router/routes.js b/resources/js/router/routes.js
deleted file mode 100644
index 709616ffb..000000000
--- a/resources/js/router/routes.js
+++ /dev/null
@@ -1,77 +0,0 @@
-const pages = import.meta.glob('../pages/**')
-
-function page (path) {
- return pages[`../pages/${path}`]
-}
-
-export default [
- // Logged Users
- { path: '/home', name: 'home', component: page('home.vue') },
-
- // Forms
- { path: '/forms/create', name: 'forms.create', component: page('forms/create.vue') },
- { path: '/forms/create/guest', name: 'forms.create.guest', component: page('forms/create-guest.vue') },
- { path: '/forms/:slug/edit', name: 'forms.edit', component: page('forms/edit.vue') },
- {
- path: '/forms/:slug/show',
- component: page('forms/show/index.vue'),
- children: [
- { path: '', redirect: { name: 'forms.show' } },
- { path: 'submissions', name: 'forms.show', component: page('forms/show/submissions.vue') },
- { path: 'share', name: 'forms.show.share', component: page('forms/show/share.vue') },
- { path: 'analytics', name: 'forms.show.analytics', component: page('forms/show/stats.vue') }
- ]
- },
-
- // Subscription
- { path: '/subscriptions/success', name: 'subscriptions.success', component: page('subscriptions/success.vue') },
- { path: '/subscriptions/error', name: 'subscriptions.error', component: page('subscriptions/error.vue') },
-
- // Settings
- {
- path: '/settings',
- component: page('settings/index.vue'),
- children: [
- { path: '', redirect: { name: 'settings.workspaces' } },
- { path: 'workspaces', name: 'settings.workspaces', component: page('settings/workspace.vue') },
- { path: 'billing', name: 'settings.billing', component: page('settings/billing.vue') },
- { path: 'profile', name: 'settings.profile', component: page('settings/profile.vue') },
- { path: 'account', name: 'settings.account', component: page('settings/account.vue') },
- { path: 'password', name: 'settings.password', component: page('settings/password.vue') },
- { path: 'admin', name: 'settings.admin', component: page('settings/admin.vue') }
- ]
- },
-
- // Auth Routes
- { path: '/login', name: 'login', component: page('auth/login.vue') },
- { path: '/register', name: 'register', component: page('auth/register.vue') },
- { path: '/password/reset', name: 'password.request', component: page('auth/password/email.vue') },
- { path: '/password/reset/:token', name: 'password.reset', component: page('auth/password/reset.vue') },
- { path: '/email/verify/:id', name: 'verification.verify', component: page('auth/verification/verify.vue') },
- { path: '/email/resend', name: 'verification.resend', component: page('auth/verification/resend.vue') },
-
- // Public Content
-
- // Legal Routes
- { path: '/privacy-policy', name: 'privacy-policy', component: page('legal-help/privacy-policy.vue') },
- { path: '/terms-conditions', name: 'terms-conditions', component: page('legal-help/terms-conditions.vue') },
-
- // Community
- { path: '/discount-students-academics-ngos', name: 'discount-community', component: page('community/students-academics-ngos.vue') },
-
- // Guest Routes
- { path: '/', name: 'welcome', component: page('welcome.vue') },
- { path: '/pricing', name: 'pricing', component: page('pricing.vue') },
- { path: '/ai-form-builder', name: 'aiformbuilder', component: page('ai-form-builder.vue') },
- { path: '/integrations', name: 'integrations', component: page('integrations.vue') },
- { path: '/forms/:slug', name: 'forms.show_public', component: page('forms/show-public.vue') },
-
- // Templates
- { path: '/my-templates', name: 'my_templates', component: page('templates/my_templates.vue') },
- { path: '/form-templates', name: 'templates', component: page('templates/templates.vue') },
- { path: '/form-templates/:slug', name: 'templates.show', component: page('templates/show.vue') },
- { path: '/form-templates/types/:slug', name: 'templates.types.show', component: page('templates/types-show.vue') },
- { path: '/form-templates/industries/:slug', name: 'templates.industries.show', component: page('templates/industries-show.vue') },
-
- { path: '/:pathMatch(.*)*', component: page('errors/404.vue') }
-]
diff --git a/resources/js/stores/app.js b/resources/js/stores/app.js
deleted file mode 100644
index 4eb2af4ba..000000000
--- a/resources/js/stores/app.js
+++ /dev/null
@@ -1,71 +0,0 @@
-
-import { defineStore } from 'pinia'
-import { nextTick } from 'vue'
-
-export const useAppStore = defineStore('app', {
- state: () => ({
- layout: 'default',
-
- // App Loader
- loader: {
- percent: 0,
- show: false,
- canSuccess: true,
- duration: 3000,
- _timer: null,
- _cut: null
- }
- }),
- actions: {
- setLayout (layout) {
- this.layout = layout ?? 'default'
- },
- loaderIncrease (num) {
- this.loader.percent = this.loader.percent + Math.floor(num)
- },
- loaderDecrease (num) {
- this.loader.percent = this.loader.percent - Math.floor(num)
- },
- loaderFinish () {
- this.loader.percent = 100
- this.loaderHide()
- },
- loaderSetTimer (timerVal) {
- this.loader._timer = timerVal
- },
- loaderPause () {
- clearInterval(this.loader._timer)
- },
- loaderHide () {
- this.loaderPause()
- this.loader._timer = null
- setTimeout(() => {
- this.loader.show = false
- nextTick(() => {
- setTimeout(() => {
- this.loader.percent = 0
- }, 200)
- })
- }, 500)
- },
- loaderFail () {
- this.loader.canSuccess = false
- },
- loaderStart () {
- this.loader.show = true
- this.loader.canSuccess = true
- if (this.loader._timer) {
- clearInterval(this.loader._timer)
- this.loader.percent = 0
- }
- this.loader._cut = 10000 / Math.floor(this.loader.duration)
-
- this.loaderSetTimer(setInterval(() => {
- this.loaderIncrease(this.loader._cut * Math.random())
- if (this.loader.percent > 95) {
- this.loaderFinish()
- }
- }, 100))
- }
- }
-})
diff --git a/resources/js/stores/auth.js b/resources/js/stores/auth.js
deleted file mode 100644
index 48c16363c..000000000
--- a/resources/js/stores/auth.js
+++ /dev/null
@@ -1,67 +0,0 @@
-import { defineStore } from 'pinia'
-import axios from 'axios'
-import Cookies from 'js-cookie'
-
-export const useAuthStore = defineStore('auth', {
- state: () => ({
- user: null,
- token: Cookies.get('token'),
-
- // For admin impersonation
- admin_token: Cookies.get('admin_token') ?? null
- }),
- getters: {
- check: (state) => (state.user !== null && state.user !== undefined),
- isImpersonating: (state) => (state.admin_token !== null && state.admin_token !== undefined)
- },
- actions: {
- // Stores admin token temporarily for impersonation
- startImpersonating () {
- this.admin_token = this.token
- Cookies.set('admin_token', this.token, { expires: 365 })
- },
- // Stop admin impersonation
- stopImpersonating () {
- this.token = this.admin_token
- this.admin_token = null
- Cookies.set('token', this.token, { expires: 365 })
- Cookies.remove('admin_token')
- this.fetchUser()
- },
-
- saveToken (token, remember) {
- this.token = token
- Cookies.set('token', token, { expires: remember ? 365 : null })
- },
-
- async fetchUser () {
- try {
- const { data } = await axios.get('/api/user')
- this.user = data
- return data
- } catch (e) {
- this.token = null
- Cookies.remove('token')
- }
- },
-
- updateUser (payload) {
- this.user = payload
- },
-
- async logout () {
- try {
- await axios.post('/api/logout')
- } catch (e) { }
-
- this.user = null
- this.token = null
- Cookies.remove('token')
- },
-
- async fetchOauthUrl (provider) {
- const { data } = await axios.post(`/api/oauth/${provider}`)
- return data.url
- }
- }
-})
\ No newline at end of file
diff --git a/resources/js/stores/errors.js b/resources/js/stores/errors.js
deleted file mode 100644
index 6b22a90e1..000000000
--- a/resources/js/stores/errors.js
+++ /dev/null
@@ -1,17 +0,0 @@
-import { defineStore } from 'pinia'
-
-export const namespaced = true
-
-export const useErrorsStore = defineStore('errors', {
- state: () => ({
- content: null
- }),
- actions: {
- set (error) {
- this.content = error
- },
- clear () {
- this.content = null
- }
- }
-})
\ No newline at end of file
diff --git a/resources/js/stores/forms.js b/resources/js/stores/forms.js
deleted file mode 100644
index 391e6c709..000000000
--- a/resources/js/stores/forms.js
+++ /dev/null
@@ -1,83 +0,0 @@
-import { defineStore } from 'pinia'
-import axios from 'axios'
-
-export const formsEndpoint = '/api/open/workspaces/{workspaceId}/forms'
-export const namespaced = true
-export let currentPage = 1
-
-export const useFormsStore = defineStore('forms', {
- state: () => ({
- content: [],
- loading: false
- }),
- getters: {
- getById: (state) => (id) => {
- if (state.content.length === 0) return null
- return state.content.find(item => item.id === id)
- },
- getBySlug: (state) => (slug) => {
- if (state.content.length === 0) return null
- return state.content.find(item => item.slug === slug)
- },
- getAllTags: (state) => {
- if (state.content.length === 0) return []
- let allTags = []
- state.content.forEach(form => {
- if(form.tags && form.tags.length > 0){
- allTags = allTags.concat(form.tags)
- }
- })
- return allTags.filter((item, i, ar) => ar.indexOf(item) === i)
- }
- },
- actions: {
- set (items) {
- this.content = items
- },
- append (items) {
- this.content = this.content.concat(items)
- },
- addOrUpdate (item) {
- this.content = this.content.filter((val) => val.id !== item.id)
- this.content.push(item)
- },
- remove (item) {
- this.content = this.content.filter((val) => val.id !== item.id)
- },
- startLoading () {
- this.loading = true
- },
- stopLoading () {
- this.loading = false
- },
- resetState () {
- this.set([])
- this.stopLoading()
- currentPage = 1
- },
- load (workspaceId) {
- this.startLoading()
- return axios.get(formsEndpoint.replace('{workspaceId}', workspaceId)+'?page='+currentPage).then((response) => {
- if (currentPage == 1) {
- this.set(response.data.data)
- } else {
- this.append(response.data.data)
- }
- if (currentPage < response.data.meta.last_page) {
- currentPage += 1
- this.load(workspaceId)
- } else {
- this.stopLoading()
- currentPage = 1
- }
- })
- },
- loadIfEmpty (workspaceId) {
- if (this.content.length === 0) {
- return this.load(workspaceId)
- }
- this.stopLoading()
- return Promise.resolve()
- }
- }
-})
diff --git a/resources/js/stores/records.js b/resources/js/stores/records.js
deleted file mode 100644
index b5d7c1f93..000000000
--- a/resources/js/stores/records.js
+++ /dev/null
@@ -1,49 +0,0 @@
-import { defineStore } from 'pinia'
-
-export const namespaced = true
-
-/**
- * Loads records from database
- */
-export const useRecordsStore = defineStore('records', {
- state: () => ({
- content: [],
- loading: false
- }),
- getters: {
- getById: (state) => (id) => {
- if (state.content.length === 0) return null
- return state.content.find(item => item.submission_id === id)
- }
- },
- actions: {
- set (items) {
- this.content = items
- },
- addOrUpdate (item) {
- this.content = this.content.filter((val) => val.id !== item.id)
- this.content.push(item)
- },
- remove (itemId) {
- this.content = this.content.filter((val) => val.id !== itemId)
- },
- startLoading () {
- this.loading = true
- },
- stopLoading () {
- this.loading = false
- },
- resetState () {
- this.set([])
- this.stopLoading()
- },
- loadRecord (request) {
- this.set([])
- this.startLoading()
- return request.then((data) => {
- this.addOrUpdate(data)
- this.stopLoading()
- })
- }
- }
-})
\ No newline at end of file
diff --git a/resources/js/stores/templates.js b/resources/js/stores/templates.js
deleted file mode 100644
index 922f31f97..000000000
--- a/resources/js/stores/templates.js
+++ /dev/null
@@ -1,120 +0,0 @@
-import axios from 'axios'
-import { defineStore } from 'pinia'
-
-export const templatesEndpoint = '/api/templates'
-export const namespaced = true
-
-export const useTemplatesStore = defineStore('templates', {
- state: () => ({
- content: [],
- industries: {},
- types: {},
- allLoaded: false,
- loading: false
- }),
- getters: {
- getBySlug: (state) => (slug) => {
- if (state.content.length === 0) return null
- return state.content.find(item => item.slug === slug)
- },
- getTemplateTypes: (state) => (slugs) => {
- if (state.types.length === 0) return null
- return Object.values(state.types).filter((val) => slugs.includes(val.slug)).map((item) => { return item.name })
- },
- getTemplateIndustries: (state) => (slugs) => {
- if (state.industries.length === 0) return null
- return Object.values(state.industries).filter((val) => slugs.includes(val.slug)).map((item) => { return item.name })
- }
- },
- actions: {
- set (items) {
- this.content = items
- this.allLoaded = true
- },
- append (items) {
- const ids = items.map((item) => { return item.id })
- this.content = this.content.filter((val) => !ids.includes(val.id))
- this.content = this.content.concat(items)
- },
- addOrUpdate (item) {
- this.content = this.content.filter((val) => val.id !== item.id)
- this.content.push(item)
- },
- remove (item) {
- this.content = this.content.filter((val) => val.id !== item.id)
- },
- startLoading () {
- this.loading = true
- },
- stopLoading () {
- this.loading = false
- },
- setAllLoaded (val) {
- this.allLoaded = val
- },
- resetState () {
- this.set([])
- this.stopLoading()
- },
- loadTypesAndIndustries () {
- if (Object.keys(this.industries).length === 0) {
- import('@/data/forms/templates/industries.json').then((module) => {
- this.industries = module.default
- })
- }
- if (Object.keys(this.types).length === 0) {
- import('@/data/forms/templates/types.json').then((module) => {
- this.types = module.default
- })
- }
- },
- loadTemplate (slug) {
- this.startLoading()
- this.loadTypesAndIndustries()
-
- if (this.getBySlug(slug)) {
- this.stopLoading()
- return Promise.resolve()
- }
-
- return axios.get(templatesEndpoint + '/' + slug).then((response) => {
- this.addOrUpdate(response.data)
- this.stopLoading()
- }).catch((error) => {
- this.stopLoading()
- })
- },
- loadAll (options=null) {
- this.startLoading()
- this.loadTypesAndIndustries()
-
- // Prepare with options
- let queryStr = ''
- if(options !== null){
- for (const [key, value] of Object.entries(options)) {
- queryStr += '&' + encodeURIComponent(key) + '=' + encodeURIComponent(value)
- }
- queryStr = queryStr.slice(1)
- }
- return axios.get((queryStr) ? templatesEndpoint + '?' + queryStr : templatesEndpoint).then((response) => {
- if(options !== null){
- this.set(response.data)
- this.setAllLoaded(false)
- } else {
- this.append(response.data)
- this.setAllLoaded(true)
- }
- this.stopLoading()
- }).catch((error) => {
- this.stopLoading()
- })
- },
- loadIfEmpty () {
- if (!this.allLoaded) {
- return this.loadAll()
- }
- this.stopLoading()
- return Promise.resolve()
- }
- }
-})
diff --git a/resources/js/stores/working_form.js b/resources/js/stores/working_form.js
deleted file mode 100644
index 181180ce0..000000000
--- a/resources/js/stores/working_form.js
+++ /dev/null
@@ -1,50 +0,0 @@
-import { defineStore } from 'pinia'
-
-export const namespaced = true
-
-export const useWorkingFormStore = defineStore('working_form', {
- state: () => ({
- content: null,
-
- // Field being edited
- selectedFieldIndex: null,
- showEditFieldSidebar: null,
- showAddFieldSidebar: null
- }),
- actions: {
- set (form) {
- this.content = form
- },
- setProperties (properties) {
- this.content.properties = properties
- },
- openSettingsForField (index) {
- // If field is passed, compute index
- if (typeof index === 'object') {
- index = this.content.properties.findIndex(prop => prop.id === index.id)
- }
- this.selectedFieldIndex = index
- this.showEditFieldSidebar = true
- this.showAddFieldSidebar = false
- },
- closeEditFieldSidebar () {
- this.selectedFieldIndex = null
- this.showEditFieldSidebar = false
- this.showAddFieldSidebar = false
- },
- openAddFieldSidebar (index) {
- // If field is passed, compute index
- if (index !== null && typeof index === 'object') {
- index = this.content.properties.findIndex(prop => prop.id === index.id)
- }
- this.selectedFieldIndex = index
- this.showAddFieldSidebar = true
- this.showEditFieldSidebar = false
- },
- closeAddFieldSidebar () {
- this.selectedFieldIndex = null
- this.showAddFieldSidebar = false
- this.showEditFieldSidebar = false
- }
- }
-})
\ No newline at end of file
diff --git a/resources/js/stores/workspaces.js b/resources/js/stores/workspaces.js
deleted file mode 100644
index de71db97e..000000000
--- a/resources/js/stores/workspaces.js
+++ /dev/null
@@ -1,97 +0,0 @@
-import axios from 'axios'
-import { defineStore } from 'pinia'
-
-export const namespaced = true
-export const workspaceEndpoint = '/api/open/workspaces/'
-
-const localStorageCurrentWorkspaceKey = 'currentWorkspace'
-
-export const useWorkspacesStore = defineStore('workspaces', {
- state: () => ({
- content: [],
- currentId: null,
- loading: false
- }),
- getters: {
- getById: (state) => (id) => {
- if (state.content.length === 0) return null
- return state.content.find(item => item.id === id)
- },
- getCurrent: (state) => () => {
- if (state.content.length === 0 || state.currentId === null) return null
- return state.content.find(item => item.id === state.currentId)
- }
- },
- actions: {
- set (items) {
- this.content = items
- if (this.currentId == null && this.content.length > 0) {
- // If one only, set it
- if (this.content.length === 1) {
- this.currentId = items[0].id
- localStorage.setItem(localStorageCurrentWorkspaceKey, this.currentId)
- } else if (localStorage.getItem(localStorageCurrentWorkspaceKey) && this.content.find(item => item.id === parseInt(localStorage.getItem(localStorageCurrentWorkspaceKey)))) {
- // Check local storage for current workspace, or take first
- this.currentId = parseInt(localStorage.getItem(localStorageCurrentWorkspaceKey))
- localStorage.setItem(localStorageCurrentWorkspaceKey, this.currentId)
- } else {
- // Else, take first
- this.currentId = items[0].id
- localStorage.setItem(localStorageCurrentWorkspaceKey, this.currentId)
- }
- } else {
- localStorage.removeItem(localStorageCurrentWorkspaceKey)
- }
- },
- setCurrentId (id) {
- this.currentId = id
- localStorage.setItem(localStorageCurrentWorkspaceKey, id)
- },
- addOrUpdate (item) {
- this.content = this.content.filter((val) => val.id !== item.id)
- this.content.push(item)
- if (this.currentId == null) {
- this.currentId = item.id
- localStorage.setItem(localStorageCurrentWorkspaceKey, this.currentId)
- }
- },
- remove (itemId) {
- this.content = this.content.filter((val) => val.id !== itemId)
- if (this.currentId === itemId) {
- this.currentId = this.content.length > 0 ? this.content[0].id : null
- localStorage.setItem(localStorageCurrentWorkspaceKey, this.currentId)
- }
- },
- startLoading () {
- this.loading = true
- },
- stopLoading () {
- this.loading = false
- },
- resetState () {
- this.set([])
- this.stopLoading()
- },
- load () {
- this.set([])
- this.startLoading()
- return axios.get(workspaceEndpoint).then((response) => {
- this.set(response.data)
- this.stopLoading()
- })
- },
- loadIfEmpty () {
- if (this.content.length === 0) {
- return this.load()
- }
- return Promise.resolve()
- },
- delete (id) {
- this.startLoading()
- return axios.delete(workspaceEndpoint + id).then((response) => {
- this.remove(response.data.workspace_id)
- this.stopLoading()
- })
- }
- }
-})
\ No newline at end of file
diff --git a/resources/sass/app.scss b/resources/sass/app.scss
deleted file mode 100644
index e1dabfa6f..000000000
--- a/resources/sass/app.scss
+++ /dev/null
@@ -1,58 +0,0 @@
-@tailwind base;
-@tailwind components;
-@tailwind utilities;
-
-@import 'fonts';
-
-body.dark * {
- @apply border-gray-600
-}
-
-* {
- font-family: GeneralSans, sans-serif !important;
-}
-
-#app {
- @apply min-h-screen;
-}
-
-@layer base {
-
- :root {
- --bg-form-color: #2563eb;
- }
-
- p, div {
- @apply text-gray-900 dark:text-white;
- }
-
- h1, h2, h3, h4, h5, h6 {
- @apply text-gray-900 dark:text-white;
- }
-
- h1 {
- @apply text-3xl sm:text-4xl font-semibold;
- }
-
- h2 {
- @apply text-3xl font-semibold;
- }
-
- a {
- @apply text-blue-600 hover:underline;
- }
-}
-
-.bg-white {
- @apply dark:bg-notion-dark;
-}
-
-.bg-gray-50 {
- @apply dark:bg-notion-dark-light;
-}
-
-.field-help {
- p {
- @apply text-gray-400 dark:text-gray-500;
- }
-}
diff --git a/resources/sass/fonts.scss b/resources/sass/fonts.scss
deleted file mode 100644
index ca61bbefc..000000000
--- a/resources/sass/fonts.scss
+++ /dev/null
@@ -1,202 +0,0 @@
-/**
- * @license
- *
- * Font Family: General Sans
- * Designed by: Frode Helland
- * URL: https://www.fontshare.com/fonts/general-sans/general-sans
- * © 2022 Indian Type Foundry
- *
- * Font Styles:
- * General Sans Variable(Variable font)
- * General Sans Variable Italic(Variable font)
- * General Sans Extralight
- * General Sans Extralight Italic
- * General Sans Light
- * General Sans Light Italic
- * General Sans Regular
- * General Sans Italic
- * General Sans Medium
- * General Sans Medium Italic
- * General Sans Semibold
- * General Sans Semibold Italic
- * General Sans Bold
- * General Sans Bold Italic
- *
-*/
-
-
-/**
-* This is a variable font
-* You can controll variable axes as shown below:
-* font-variation-settings: 'wght' 700.0;
-*
-* available axes:
-
-* 'wght' (range from 200.0 to 700.0)
-
-*/
-
-@font-face {
- font-family: 'GeneralSans-Variable';
- src: url('/fonts/general-sans/GeneralSans-Variable.woff2') format('woff2'),
- url('/fonts/general-sans/GeneralSans-Variable.woff') format('woff'),
- url('/fonts/general-sans/GeneralSans-Variable.ttf') format('truetype');
- font-weight: 200 700;
- font-display: swap;
- font-style: normal;
-}
-
-
-/**
-* This is a variable font
-* You can controll variable axes as shown below:
-* font-variation-settings: 'wght' 700.0;
-*
-* available axes:
-
-* 'wght' (range from 200.0 to 700.0)
-
-*/
-
-@font-face {
- font-family: 'GeneralSans';
- src: url('/fonts/general-sans/GeneralSans-VariableItalic.woff2') format('woff2'),
- url('/fonts/general-sans/GeneralSans-VariableItalic.woff') format('woff'),
- url('/fonts/general-sans/GeneralSans-VariableItalic.ttf') format('truetype');
- font-weight: 200 700;
- font-display: swap;
- font-style: italic;
-}
-
-
-@font-face {
- font-family: 'GeneralSans';
- src: url('/fonts/general-sans/GeneralSans-Extralight.woff2') format('woff2'),
- url('/fonts/general-sans/GeneralSans-Extralight.woff') format('woff'),
- url('/fonts/general-sans/GeneralSans-Extralight.ttf') format('truetype');
- font-weight: 200;
- font-display: swap;
- font-style: normal;
-}
-
-
-@font-face {
- font-family: 'GeneralSans';
- src: url('/fonts/general-sans/GeneralSans-ExtralightItalic.woff2') format('woff2'),
- url('/fonts/general-sans/GeneralSans-ExtralightItalic.woff') format('woff'),
- url('/fonts/general-sans/GeneralSans-ExtralightItalic.ttf') format('truetype');
- font-weight: 200;
- font-display: swap;
- font-style: italic;
-}
-
-
-@font-face {
- font-family: 'GeneralSans';
- src: url('/fonts/general-sans/GeneralSans-Light.woff2') format('woff2'),
- url('/fonts/general-sans/GeneralSans-Light.woff') format('woff'),
- url('/fonts/general-sans/GeneralSans-Light.ttf') format('truetype');
- font-weight: 300;
- font-display: swap;
- font-style: normal;
-}
-
-
-@font-face {
- font-family: 'GeneralSans';
- src: url('/fonts/general-sans/GeneralSans-LightItalic.woff2') format('woff2'),
- url('/fonts/general-sans/GeneralSans-LightItalic.woff') format('woff'),
- url('/fonts/general-sans/GeneralSans-LightItalic.ttf') format('truetype');
- font-weight: 300;
- font-display: swap;
- font-style: italic;
-}
-
-
-@font-face {
- font-family: 'GeneralSans';
- src: url('/fonts/general-sans/GeneralSans-Regular.woff2') format('woff2'),
- url('/fonts/general-sans/GeneralSans-Regular.woff') format('woff'),
- url('/fonts/general-sans/GeneralSans-Regular.ttf') format('truetype');
- font-weight: 400;
- font-display: swap;
- font-style: normal;
-}
-
-
-@font-face {
- font-family: 'GeneralSans';
- src: url('/fonts/general-sans/GeneralSans-Italic.woff2') format('woff2'),
- url('/fonts/general-sans/GeneralSans-Italic.woff') format('woff'),
- url('/fonts/general-sans/GeneralSans-Italic.ttf') format('truetype');
- font-weight: 400;
- font-display: swap;
- font-style: italic;
-}
-
-
-@font-face {
- font-family: 'GeneralSans';
- src: url('/fonts/general-sans/GeneralSans-Medium.woff2') format('woff2'),
- url('/fonts/general-sans/GeneralSans-Medium.woff') format('woff'),
- url('/fonts/general-sans/GeneralSans-Medium.ttf') format('truetype');
- font-weight: 500;
- font-display: swap;
- font-style: normal;
-}
-
-
-@font-face {
- font-family: 'GeneralSans';
- src: url('/fonts/general-sans/GeneralSans-MediumItalic.woff2') format('woff2'),
- url('/fonts/general-sans/GeneralSans-MediumItalic.woff') format('woff'),
- url('/fonts/general-sans/GeneralSans-MediumItalic.ttf') format('truetype');
- font-weight: 500;
- font-display: swap;
- font-style: italic;
-}
-
-
-@font-face {
- font-family: 'GeneralSans';
- src: url('/fonts/general-sans/GeneralSans-Semibold.woff2') format('woff2'),
- url('/fonts/general-sans/GeneralSans-Semibold.woff') format('woff'),
- url('/fonts/general-sans/GeneralSans-Semibold.ttf') format('truetype');
- font-weight: 600;
- font-display: swap;
- font-style: normal;
-}
-
-
-@font-face {
- font-family: 'GeneralSans';
- src: url('/fonts/general-sans/GeneralSans-SemiboldItalic.woff2') format('woff2'),
- url('/fonts/general-sans/GeneralSans-SemiboldItalic.woff') format('woff'),
- url('/fonts/general-sans/GeneralSans-SemiboldItalic.ttf') format('truetype');
- font-weight: 600;
- font-display: swap;
- font-style: italic;
-}
-
-
-@font-face {
- font-family: 'GeneralSans';
- src: url('/fonts/general-sans/GeneralSans-Bold.woff2') format('woff2'),
- url('/fonts/general-sans/GeneralSans-Bold.woff') format('woff'),
- url('/fonts/general-sans/GeneralSans-Bold.ttf') format('truetype');
- font-weight: 700;
- font-display: swap;
- font-style: normal;
-}
-
-
-@font-face {
- font-family: 'GeneralSans';
- src: url('/fonts/general-sans/GeneralSans-BoldItalic.woff2') format('woff2'),
- url('/fonts/general-sans/GeneralSans-BoldItalic.woff') format('woff'),
- url('/fonts/general-sans/GeneralSans-BoldItalic.ttf') format('truetype');
- font-weight: 700;
- font-display: swap;
- font-style: italic;
-}
-
diff --git a/tailwind.config.js b/tailwind.config.js
deleted file mode 100644
index cfc0f1071..000000000
--- a/tailwind.config.js
+++ /dev/null
@@ -1,89 +0,0 @@
-const colors = require('tailwindcss/colors')
-const plugin = require('tailwindcss/plugin')
-
-module.exports = {
- content: [
- './resources/**/*.blade.php',
- './resources/**/*.js',
- './resources/**/*.vue'
- ],
- safelist: [
- {
- pattern: /.*bg-(blue|gray|red|yellow|green).*/,
- },
- ...['green', 'red', 'blue', 'yellow'].map((color) => ['bg-' + color + '-100', 'border-' + color + '-500']).flat() // Alerts
- ],
- darkMode: 'class', // or 'media' or 'class'
- theme: {
- extend: {
- keyframes: {
- 'bonce-slow': {
- '0%, 20%': {transform: 'translateY(0)'},
- '8%': {transform: 'translateY(-25%)'},
- '16%': {transform: 'translateY(+10%)'}
- },
- 'infinite-scroll': {
- from: { transform: 'translateX(0)' },
- to: { transform: 'translateX(-100%)' },
- }
- },
- animation: {
- 'bounce-slow': 'bonce-slow 3s ease-in-out infinite',
- 'infinite-scroll': 'infinite-scroll 50s linear infinite',
- },
- maxHeight: {
- 42: '10.5rem'
- },
- minHeight: {
- 6: '1.5rem',
- 8: '2rem'
- },
- maxWidth: {
- 15: '15rem',
- 10: '10rem',
- 8: '2rem'
- },
- translate: {
- 5.5: '1.4rem'
- },
- boxShadow: {
- 'inner-notion': '#0f0f0f1a 0px 0px 0px 1px inset',
- 'focus-notion': '#2eaadcb3 0px 0px 0px 1px inset, #2eaadc66 0px 0px 0px 2px !important'
- },
- colors: {
- gray: colors.slate,
- 'nt-blue': {
- lighter: colors.blue['100'],
- light: colors.blue['300'],
- default: colors.blue['600'],
- DEFAULT: colors.blue['600'],
- dark: colors.blue['800']
- },
- 'notion-dark': {
- DEFAULT: '#191919',
- light: '#2e2e2e'
- },
- 'notion-input': {
- background: '#F7F6F3',
- backgroundDark: '#272B2C',
- help: '#37352f99',
- helpDark: '#fff9'
- },
- 'form-color': 'var(--bg-form-color)'
- },
- transitionProperty: {
- height: 'height',
- width: 'width',
- maxWidth: 'max-width',
- spacing: 'margin, padding'
- }
- }
- },
- plugins: [
- require('@tailwindcss/aspect-ratio'),
- plugin(function({ addVariant }) {
- addVariant('between', '&:not(:first-child):not(:last-child)')
- addVariant('hocus', ['&:hover', '&:focus'])
- })
- ]
-}
diff --git a/vapor.yml b/vapor.yml
index 4b3d3ffcc..32aba7a46 100644
--- a/vapor.yml
+++ b/vapor.yml
@@ -18,7 +18,9 @@ environments:
- 'COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev'
- 'php artisan event:cache'
- 'php artisan disposable:update'
+ - 'cd client'
- 'npm ci && npm run build && rm -rf node_modules'
+ - 'cd ..'
deploy:
- 'php artisan migrate --force'
firewall:
@@ -36,6 +38,9 @@ environments:
- 'COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev'
- 'php artisan event:cache'
- 'php artisan disposable:update'
+ - 'cd client'
+ - 'npm ci && npm run build && rm -rf node_modules'
+ - 'cd ..'
deploy:
- 'php artisan migrate --force'
firewall:
diff --git a/vite.config.js b/vite.config.js
deleted file mode 100644
index 6e7acb956..000000000
--- a/vite.config.js
+++ /dev/null
@@ -1,63 +0,0 @@
-import { defineConfig } from 'vite'
-import laravel from 'laravel-vite-plugin'
-import vue from '@vitejs/plugin-vue'
-import { sentryVitePlugin } from '@sentry/vite-plugin'
-
-const plugins = [
- laravel({
- input: [
- 'resources/js/app.js'
- ],
- refresh: true
- }),
- vue({
- template: {
- transformAssetUrls: {
- base: null,
- includeAbsolute: false
- },
- compilerOptions: {
- compatConfig: {
- MODE: 2
- }
- }
- }
- })
-]
-
-if (false && process.env.SENTRY_AUTH_TOKEN) {
- plugins.push(sentryVitePlugin({
- org: 'opnform',
- project: 'opnform',
- authToken: process.env.SENTRY_AUTH_TOKEN
- }))
-}
-
-export default defineConfig({
- build: {
- sourcemap: process.env.SENTRY_AUTH_TOKEN ? true : 'inline'
- },
- esbuild: {
- minify: true,
- minifySyntax: true
- },
- plugins: plugins,
- optimizeDeps: {
- exclude: [
- 'vt-notifications'
- ]
- },
- resolve: {
- alias: {
- '~': '/resources/js',
- '@': '/resources',
- vue: '@vue/compat'
- }
- },
- server: {
- hmr: {
- host: 'localhost',
- protocol: 'ws'
- }
- }
-})