From d3a86248ba87b265ca4e7a2dfc08f44a3f6c86d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=8D=C3=B1igo=20Marqu=C3=ADnez=20Prado?=
<25435858+inigomarquinez@users.noreply.github.com>
Date: Tue, 27 Feb 2024 12:36:23 +0100
Subject: [PATCH 01/12] chore: update dependencies
---
package-lock.json | 1594 +++++++++++++++++++++------------------------
package.json | 31 +-
2 files changed, 767 insertions(+), 858 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 6765db68..06e47333 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -12,7 +12,7 @@
"debounce-promise": "^3.1.2",
"install": "^0.13.0",
"react-datepicker": "^4.23.0",
- "react-hook-form": "^7.49.3",
+ "react-hook-form": "^7.50.1",
"react-markdown": "^5.0.3",
"react-phone-number-input": "^3.3.9",
"react-select": "^5.8.0",
@@ -22,26 +22,27 @@
},
"devDependencies": {
"@babel/core": "^7.23.9",
- "@babel/eslint-parser": "^7.23.9",
+ "@babel/eslint-parser": "^7.23.10",
+ "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@babel/preset-react": "^7.23.3",
- "@commitlint/cli": "^18.6.0",
- "@commitlint/config-conventional": "^18.6.0",
+ "@commitlint/cli": "^19.0.0",
+ "@commitlint/config-conventional": "^19.0.0",
"@hookform/devtools": "^4.3.1",
"@rollup/plugin-babel": "^5.2.2",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^11.1.0",
"@sheerun/mutationobserver-shim": "^0.3.3",
- "@storybook/addon-actions": "^7.6.10",
- "@storybook/addon-essentials": "^7.6.10",
- "@storybook/addon-links": "^7.6.10",
+ "@storybook/addon-actions": "^7.6.17",
+ "@storybook/addon-essentials": "^7.6.17",
+ "@storybook/addon-links": "^7.6.17",
"@storybook/preset-create-react-app": "^3.1.5",
- "@storybook/react": "^7.6.10",
+ "@storybook/react": "^7.6.17",
"@testing-library/jest-dom": "^5.16.5",
- "@testing-library/react": "^14.1.2",
+ "@testing-library/react": "^14.2.1",
"cross-env": "^7.0.3",
"date-fns": "^2.30.0",
- "eslint": "^8.56.0",
+ "eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard": "^17.1.0",
"eslint-config-standard-react": "^13.0.0",
@@ -55,12 +56,12 @@
"eslint-plugin-standard": "^4.1.0",
"generate-changelog": "^1.8.0",
"gh-pages": "^2.2.0",
- "husky": "^9.0.7",
- "joi": "^17.12.1",
- "npm-check-updates": "^16.14.14",
+ "husky": "^9.0.11",
+ "joi": "^17.12.2",
+ "npm-check-updates": "^16.14.15",
"npm-run-all": "^4.1.5",
- "postcss": "^8.4.33",
- "prettier": "^3.2.4",
+ "postcss": "^8.4.35",
+ "prettier": "^3.2.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "^5.0.1",
@@ -713,10 +714,17 @@
}
},
"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==",
+ "version": "7.21.11",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.11.tgz",
+ "integrity": "sha512-0QZ8qP/3RLDVBwBFoWAwCtgcDZJVwA5LUJRZU8x2YFfKNuFq161wK3cuGrALu5yiPu+vzwTAg/sMWVNeWeNyaw==",
+ "deprecated": "This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-property-in-object instead.",
"dev": true,
+ "dependencies": {
+ "@babel/helper-annotate-as-pure": "^7.18.6",
+ "@babel/helper-create-class-features-plugin": "^7.21.0",
+ "@babel/helper-plugin-utils": "^7.20.2",
+ "@babel/plugin-syntax-private-property-in-object": "^7.14.5"
+ },
"engines": {
"node": ">=6.9.0"
},
@@ -2031,6 +2039,18 @@
"@babel/core": "^7.0.0-0"
}
},
+ "node_modules/@babel/preset-env/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/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",
@@ -2172,20 +2192,19 @@
}
},
"node_modules/@commitlint/cli": {
- "version": "18.6.0",
- "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-18.6.0.tgz",
- "integrity": "sha512-FiH23cr9QG8VdfbmvJJZmdfHGVMCouOOAzoXZ3Cd7czGC52RbycwNt8YCI7SA69pAl+t30vh8LMaO/N+kcel6w==",
+ "version": "19.0.0",
+ "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-19.0.0.tgz",
+ "integrity": "sha512-SVBQG6k+eOOmlejYTtxnqJGmhrzy/m0qH3bVeoHY3gtlJBK3Kb32RjJioteBYk8Vuo58x5ehAjXwsQFX58X+xw==",
"dev": true,
"dependencies": {
- "@commitlint/format": "^18.6.0",
- "@commitlint/lint": "^18.6.0",
- "@commitlint/load": "^18.6.0",
- "@commitlint/read": "^18.6.0",
- "@commitlint/types": "^18.6.0",
- "execa": "^5.0.0",
- "lodash.isfunction": "^3.0.9",
- "resolve-from": "5.0.0",
- "resolve-global": "1.0.0",
+ "@commitlint/format": "^19.0.0",
+ "@commitlint/lint": "^19.0.0",
+ "@commitlint/load": "^19.0.0",
+ "@commitlint/read": "^19.0.0",
+ "@commitlint/types": "^19.0.0",
+ "execa": "^8.0.1",
+ "resolve-from": "^5.0.0",
+ "resolve-global": "^2.0.0",
"yargs": "^17.0.0"
},
"bin": {
@@ -2195,12 +2214,147 @@
"node": ">=v18"
}
},
+ "node_modules/@commitlint/cli/node_modules/execa": {
+ "version": "8.0.1",
+ "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz",
+ "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==",
+ "dev": true,
+ "dependencies": {
+ "cross-spawn": "^7.0.3",
+ "get-stream": "^8.0.1",
+ "human-signals": "^5.0.0",
+ "is-stream": "^3.0.0",
+ "merge-stream": "^2.0.0",
+ "npm-run-path": "^5.1.0",
+ "onetime": "^6.0.0",
+ "signal-exit": "^4.1.0",
+ "strip-final-newline": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=16.17"
+ },
+ "funding": {
+ "url": "https://github.com/sindresorhus/execa?sponsor=1"
+ }
+ },
+ "node_modules/@commitlint/cli/node_modules/get-stream": {
+ "version": "8.0.1",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz",
+ "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==",
+ "dev": true,
+ "engines": {
+ "node": ">=16"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@commitlint/cli/node_modules/human-signals": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz",
+ "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=16.17.0"
+ }
+ },
+ "node_modules/@commitlint/cli/node_modules/is-stream": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz",
+ "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==",
+ "dev": true,
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@commitlint/cli/node_modules/mimic-fn": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz",
+ "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@commitlint/cli/node_modules/npm-run-path": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.3.0.tgz",
+ "integrity": "sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==",
+ "dev": true,
+ "dependencies": {
+ "path-key": "^4.0.0"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@commitlint/cli/node_modules/onetime": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz",
+ "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==",
+ "dev": true,
+ "dependencies": {
+ "mimic-fn": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@commitlint/cli/node_modules/path-key": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz",
+ "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@commitlint/cli/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/@commitlint/cli/node_modules/strip-final-newline": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz",
+ "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/@commitlint/config-conventional": {
- "version": "18.6.0",
- "resolved": "https://registry.npmjs.org/@commitlint/config-conventional/-/config-conventional-18.6.0.tgz",
- "integrity": "sha512-CDCOf2eJz9D/TL44IBks0stM9TmdLCNE2B48owIU3YCadwzts/bobXPScagIgPQF6hhKYMEdj5zpUDlmbwuqwQ==",
+ "version": "19.0.0",
+ "resolved": "https://registry.npmjs.org/@commitlint/config-conventional/-/config-conventional-19.0.0.tgz",
+ "integrity": "sha512-d8lPm+slPUdA8Zof2Y36RqAm/MmAYx/QQIEd2gKbpfLThQK1oYLs+0C3sMPD+4LIq2kh4cnbV9WnPA0P5sN8Ig==",
"dev": true,
"dependencies": {
+ "@commitlint/types": "^19.0.0",
"conventional-changelog-conventionalcommits": "^7.0.2"
},
"engines": {
@@ -2208,12 +2362,12 @@
}
},
"node_modules/@commitlint/config-validator": {
- "version": "18.6.0",
- "resolved": "https://registry.npmjs.org/@commitlint/config-validator/-/config-validator-18.6.0.tgz",
- "integrity": "sha512-Ptfa865arNozlkjxrYG3qt6wT9AlhNUHeuDyKEZiTL/l0ftncFhK/KN0t/EAMV2tec+0Mwxo0FmhbESj/bI+1g==",
+ "version": "19.0.0",
+ "resolved": "https://registry.npmjs.org/@commitlint/config-validator/-/config-validator-19.0.0.tgz",
+ "integrity": "sha512-oxJ2k+jBPRyWzv1ixfxwGZO5DJ1S+v3D8u/QESMwuPh3kQmeOYBRxGI+5FDWMwiVSHpztlhvvxDAU9SFXeMqUA==",
"dev": true,
"dependencies": {
- "@commitlint/types": "^18.6.0",
+ "@commitlint/types": "^19.0.0",
"ajv": "^8.11.0"
},
"engines": {
@@ -2221,12 +2375,12 @@
}
},
"node_modules/@commitlint/ensure": {
- "version": "18.6.0",
- "resolved": "https://registry.npmjs.org/@commitlint/ensure/-/ensure-18.6.0.tgz",
- "integrity": "sha512-xY07NmOBJ7JuhX3tic021PaeLepZARIQyqpAQoNQZoml1keBFfB6MbA7XlWZv0ebbarUFE4yhKxOPw+WFv7/qw==",
+ "version": "19.0.0",
+ "resolved": "https://registry.npmjs.org/@commitlint/ensure/-/ensure-19.0.0.tgz",
+ "integrity": "sha512-G0avCIwjKplTP1Oc9MlDhsYqi1yOWORtJSBpyMbQEnalQAW1tuRxG4LOLRZVKfFqlDWs2SfVQPN0Uw51Ge0f6w==",
"dev": true,
"dependencies": {
- "@commitlint/types": "^18.6.0",
+ "@commitlint/types": "^19.0.0",
"lodash.camelcase": "^4.3.0",
"lodash.kebabcase": "^4.1.1",
"lodash.snakecase": "^4.1.1",
@@ -2238,87 +2392,47 @@
}
},
"node_modules/@commitlint/execute-rule": {
- "version": "18.4.4",
- "resolved": "https://registry.npmjs.org/@commitlint/execute-rule/-/execute-rule-18.4.4.tgz",
- "integrity": "sha512-a37Nd3bDQydtg9PCLLWM9ZC+GO7X5i4zJvrggJv5jBhaHsXeQ9ZWdO6ODYR+f0LxBXXNYK3geYXJrCWUCP8JEg==",
+ "version": "19.0.0",
+ "resolved": "https://registry.npmjs.org/@commitlint/execute-rule/-/execute-rule-19.0.0.tgz",
+ "integrity": "sha512-mtsdpY1qyWgAO/iOK0L6gSGeR7GFcdW7tIjcNFxcWkfLDF5qVbPHKuGATFqRMsxcO8OUKNj0+3WOHB7EHm4Jdw==",
"dev": true,
"engines": {
"node": ">=v18"
}
},
"node_modules/@commitlint/format": {
- "version": "18.6.0",
- "resolved": "https://registry.npmjs.org/@commitlint/format/-/format-18.6.0.tgz",
- "integrity": "sha512-8UNWfs2slPPSQiiVpLGJTnPHv7Jkd5KYxfbNXbmLL583bjom4RrylvyrCVnmZReA8nNad7pPXq6mDH4FNVj6xg==",
+ "version": "19.0.0",
+ "resolved": "https://registry.npmjs.org/@commitlint/format/-/format-19.0.0.tgz",
+ "integrity": "sha512-36P4/2tpGSGQsYoSZEso5fTSTaMSArIK9fszy+5B8hwwAvOfnD4kQtrwfMhiXnf7PCgeX2lx5Jma+pY3Bq326A==",
"dev": true,
"dependencies": {
- "@commitlint/types": "^18.6.0",
- "chalk": "^4.1.0"
+ "@commitlint/types": "^19.0.0",
+ "chalk": "^5.3.0"
},
"engines": {
"node": ">=v18"
}
},
- "node_modules/@commitlint/format/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/@commitlint/format/node_modules/chalk": {
- "version": "4.1.2",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
- "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz",
+ "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==",
"dev": true,
- "dependencies": {
- "ansi-styles": "^4.1.0",
- "supports-color": "^7.1.0"
- },
"engines": {
- "node": ">=10"
+ "node": "^12.17.0 || ^14.13 || >=16.0.0"
},
"funding": {
"url": "https://github.com/chalk/chalk?sponsor=1"
}
},
- "node_modules/@commitlint/format/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/@commitlint/format/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/@commitlint/is-ignored": {
- "version": "18.6.0",
- "resolved": "https://registry.npmjs.org/@commitlint/is-ignored/-/is-ignored-18.6.0.tgz",
- "integrity": "sha512-Xjx/ZyyJ4FdLuz0FcOvqiqSFgiO2yYj3QN9XlvyrxqbXTxPVC7QFEXJYBVPulUSN/gR7WXH1Udw+HYYfD17xog==",
+ "version": "19.0.0",
+ "resolved": "https://registry.npmjs.org/@commitlint/is-ignored/-/is-ignored-19.0.0.tgz",
+ "integrity": "sha512-5b2nIrl8GEjzYAnOK2ZAUxBXvUonYrp3+8kJkUMl8QOtjt2O1gsd71jar7UtoDEqTWJhc+n7lG6lQYMXtcQJAw==",
"dev": true,
"dependencies": {
- "@commitlint/types": "^18.6.0",
- "semver": "7.5.4"
+ "@commitlint/types": "^19.0.0",
+ "semver": "^7.6.0"
},
"engines": {
"node": ">=v18"
@@ -2337,9 +2451,9 @@
}
},
"node_modules/@commitlint/is-ignored/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -2358,110 +2472,69 @@
"dev": true
},
"node_modules/@commitlint/lint": {
- "version": "18.6.0",
- "resolved": "https://registry.npmjs.org/@commitlint/lint/-/lint-18.6.0.tgz",
- "integrity": "sha512-ycbuDWfyykPmslgiHzhz8dL6F0BJYltXLVfc+M49z0c+FNITM0v+r0Vd2+Tdtq06VTc894p2+YSmZhulY8Jn3Q==",
+ "version": "19.0.0",
+ "resolved": "https://registry.npmjs.org/@commitlint/lint/-/lint-19.0.0.tgz",
+ "integrity": "sha512-rAAisSpxhA+z4uhsveSt1CuTB+Jld5d7zyNSEK2UWjQaOxicwDP+LFiOdM32n/vwsLlOJqhrInA50UcbRSVaGg==",
"dev": true,
"dependencies": {
- "@commitlint/is-ignored": "^18.6.0",
- "@commitlint/parse": "^18.6.0",
- "@commitlint/rules": "^18.6.0",
- "@commitlint/types": "^18.6.0"
+ "@commitlint/is-ignored": "^19.0.0",
+ "@commitlint/parse": "^19.0.0",
+ "@commitlint/rules": "^19.0.0",
+ "@commitlint/types": "^19.0.0"
},
"engines": {
"node": ">=v18"
}
},
"node_modules/@commitlint/load": {
- "version": "18.6.0",
- "resolved": "https://registry.npmjs.org/@commitlint/load/-/load-18.6.0.tgz",
- "integrity": "sha512-RRssj7TmzT0bowoEKlgwg8uQ7ORXWkw7lYLsZZBMi9aInsJuGNLNWcMxJxRZbwxG3jkCidGUg85WmqJvRjsaDA==",
+ "version": "19.0.0",
+ "resolved": "https://registry.npmjs.org/@commitlint/load/-/load-19.0.0.tgz",
+ "integrity": "sha512-pC/6xDjkWPWgqfILY0KMMpxz0dTZqC7fUpxyWMLRrlbZCC9S54/gsg/8UltFrUH+C+F1zz4Ip8CQgzKonpH6rg==",
"dev": true,
"dependencies": {
- "@commitlint/config-validator": "^18.6.0",
- "@commitlint/execute-rule": "^18.4.4",
- "@commitlint/resolve-extends": "^18.6.0",
- "@commitlint/types": "^18.6.0",
- "chalk": "^4.1.0",
+ "@commitlint/config-validator": "^19.0.0",
+ "@commitlint/execute-rule": "^19.0.0",
+ "@commitlint/resolve-extends": "^19.0.0",
+ "@commitlint/types": "^19.0.0",
+ "chalk": "^5.3.0",
"cosmiconfig": "^8.3.6",
"cosmiconfig-typescript-loader": "^5.0.0",
"lodash.isplainobject": "^4.0.6",
"lodash.merge": "^4.6.2",
- "lodash.uniq": "^4.5.0",
- "resolve-from": "^5.0.0"
+ "lodash.uniq": "^4.5.0"
},
"engines": {
"node": ">=v18"
}
},
- "node_modules/@commitlint/load/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/@commitlint/load/node_modules/chalk": {
- "version": "4.1.2",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
- "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz",
+ "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==",
"dev": true,
- "dependencies": {
- "ansi-styles": "^4.1.0",
- "supports-color": "^7.1.0"
- },
"engines": {
- "node": ">=10"
+ "node": "^12.17.0 || ^14.13 || >=16.0.0"
},
"funding": {
"url": "https://github.com/chalk/chalk?sponsor=1"
}
},
- "node_modules/@commitlint/load/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/@commitlint/load/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/@commitlint/message": {
- "version": "18.4.4",
- "resolved": "https://registry.npmjs.org/@commitlint/message/-/message-18.4.4.tgz",
- "integrity": "sha512-lHF95mMDYgAI1LBXveJUyg4eLaMXyOqJccCK3v55ZOEUsMPrDi8upqDjd/NmzWmESYihaOMBTAnxm+6oD1WoDQ==",
+ "version": "19.0.0",
+ "resolved": "https://registry.npmjs.org/@commitlint/message/-/message-19.0.0.tgz",
+ "integrity": "sha512-c9czf6lU+9oF9gVVa2lmKaOARJvt4soRsVmbR7Njwp9FpbBgste5i7l/2l5o8MmbwGh4yE1snfnsy2qyA2r/Fw==",
"dev": true,
"engines": {
"node": ">=v18"
}
},
"node_modules/@commitlint/parse": {
- "version": "18.6.0",
- "resolved": "https://registry.npmjs.org/@commitlint/parse/-/parse-18.6.0.tgz",
- "integrity": "sha512-Y/G++GJpATFw54O0jikc/h2ibyGHgghtPnwsOk3O/aU092ydJ5XEHYcd7xGNQYuLweLzQis2uEwRNk9AVIPbQQ==",
+ "version": "19.0.0",
+ "resolved": "https://registry.npmjs.org/@commitlint/parse/-/parse-19.0.0.tgz",
+ "integrity": "sha512-/2hT08V/2Lh+aQ5cSAw5vO74FlA3LJGYzLfsNMcx6aW8Kmrsa9W7chNNY5hMWbucCF92s/JE3eVIHnzoEBKTTA==",
"dev": true,
"dependencies": {
- "@commitlint/types": "^18.6.0",
+ "@commitlint/types": "^19.0.0",
"conventional-changelog-angular": "^7.0.0",
"conventional-commits-parser": "^5.0.0"
},
@@ -2470,136 +2543,313 @@
}
},
"node_modules/@commitlint/read": {
- "version": "18.6.0",
- "resolved": "https://registry.npmjs.org/@commitlint/read/-/read-18.6.0.tgz",
- "integrity": "sha512-w39ji8VfWhPKRquPhRHB3Yd8XIHwaNHgOh28YI1QEmZ59qVpuVUQo6h/NsVb+uoC6LbXZiofTZv2iFR084jKEA==",
+ "version": "19.0.0",
+ "resolved": "https://registry.npmjs.org/@commitlint/read/-/read-19.0.0.tgz",
+ "integrity": "sha512-AbK/fQjWrXGAAHl+KeOtZtWJryhzkTnynhkABF4IUFZqK71JSviSIPHYuUQjdwNrD0PJGs5f19ORjY8LOXP08w==",
"dev": true,
"dependencies": {
- "@commitlint/top-level": "^18.4.4",
- "@commitlint/types": "^18.6.0",
- "git-raw-commits": "^2.0.11",
- "minimist": "^1.2.6"
+ "@commitlint/top-level": "^19.0.0",
+ "@commitlint/types": "^19.0.0",
+ "git-raw-commits": "^4.0.0",
+ "minimist": "^1.2.8"
},
"engines": {
"node": ">=v18"
}
},
"node_modules/@commitlint/resolve-extends": {
- "version": "18.6.0",
- "resolved": "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-18.6.0.tgz",
- "integrity": "sha512-k2Xp+Fxeggki2i90vGrbiLDMefPius3zGSTFFlRAPKce/SWLbZtI+uqE9Mne23mHO5lmcSV8z5m6ziiJwGpOcg==",
+ "version": "19.0.0",
+ "resolved": "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-19.0.0.tgz",
+ "integrity": "sha512-ej0fALn5yZQOYKH8wPZnzw5LGvD0n5gJBPvV6DnMiSYudqgwYwhdNJ//MukZCXNpLIM1yMA8KUyrCP6D4WnUbg==",
"dev": true,
"dependencies": {
- "@commitlint/config-validator": "^18.6.0",
- "@commitlint/types": "^18.6.0",
+ "@commitlint/config-validator": "^19.0.0",
+ "@commitlint/types": "^19.0.0",
"import-fresh": "^3.0.0",
+ "import-meta-resolve": "^4.0.0",
"lodash.mergewith": "^4.6.2",
- "resolve-from": "^5.0.0",
- "resolve-global": "^1.0.0"
+ "resolve-global": "^2.0.0"
},
"engines": {
"node": ">=v18"
}
},
"node_modules/@commitlint/rules": {
- "version": "18.6.0",
- "resolved": "https://registry.npmjs.org/@commitlint/rules/-/rules-18.6.0.tgz",
- "integrity": "sha512-pTalvCEvuCWrBWZA/YqO/3B3nZnY3Ncc+TmQsRajBdC1tkQIm5Iovdo4Ec7f2Dw1tVvpYMUUNAgcWqsY0WckWg==",
+ "version": "19.0.0",
+ "resolved": "https://registry.npmjs.org/@commitlint/rules/-/rules-19.0.0.tgz",
+ "integrity": "sha512-uwb5Ro5vvJlEjnWPezL3AcdlbLdJz24SD5VembgA6IXqqunphZr5LFsQL1z5efP7p3MUdJEXFynIx8o62+j2lA==",
"dev": true,
"dependencies": {
- "@commitlint/ensure": "^18.6.0",
- "@commitlint/message": "^18.4.4",
- "@commitlint/to-lines": "^18.4.4",
- "@commitlint/types": "^18.6.0",
- "execa": "^5.0.0"
+ "@commitlint/ensure": "^19.0.0",
+ "@commitlint/message": "^19.0.0",
+ "@commitlint/to-lines": "^19.0.0",
+ "@commitlint/types": "^19.0.0",
+ "execa": "^8.0.1"
},
"engines": {
"node": ">=v18"
}
},
+ "node_modules/@commitlint/rules/node_modules/execa": {
+ "version": "8.0.1",
+ "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz",
+ "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==",
+ "dev": true,
+ "dependencies": {
+ "cross-spawn": "^7.0.3",
+ "get-stream": "^8.0.1",
+ "human-signals": "^5.0.0",
+ "is-stream": "^3.0.0",
+ "merge-stream": "^2.0.0",
+ "npm-run-path": "^5.1.0",
+ "onetime": "^6.0.0",
+ "signal-exit": "^4.1.0",
+ "strip-final-newline": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=16.17"
+ },
+ "funding": {
+ "url": "https://github.com/sindresorhus/execa?sponsor=1"
+ }
+ },
+ "node_modules/@commitlint/rules/node_modules/get-stream": {
+ "version": "8.0.1",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz",
+ "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==",
+ "dev": true,
+ "engines": {
+ "node": ">=16"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@commitlint/rules/node_modules/human-signals": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz",
+ "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=16.17.0"
+ }
+ },
+ "node_modules/@commitlint/rules/node_modules/is-stream": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz",
+ "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==",
+ "dev": true,
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@commitlint/rules/node_modules/mimic-fn": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz",
+ "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@commitlint/rules/node_modules/npm-run-path": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.3.0.tgz",
+ "integrity": "sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==",
+ "dev": true,
+ "dependencies": {
+ "path-key": "^4.0.0"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@commitlint/rules/node_modules/onetime": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz",
+ "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==",
+ "dev": true,
+ "dependencies": {
+ "mimic-fn": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@commitlint/rules/node_modules/path-key": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz",
+ "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@commitlint/rules/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/@commitlint/rules/node_modules/strip-final-newline": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz",
+ "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/@commitlint/to-lines": {
- "version": "18.4.4",
- "resolved": "https://registry.npmjs.org/@commitlint/to-lines/-/to-lines-18.4.4.tgz",
- "integrity": "sha512-mwe2Roa59NCz/krniAdCygFabg7+fQCkIhXqBHw00XQ8Y7lw4poZLLxeGI3p3bLpcEOXdqIDrEGLwHmG5lBdwQ==",
+ "version": "19.0.0",
+ "resolved": "https://registry.npmjs.org/@commitlint/to-lines/-/to-lines-19.0.0.tgz",
+ "integrity": "sha512-vkxWo+VQU5wFhiP9Ub9Sre0FYe019JxFikrALVoD5UGa8/t3yOJEpEhxC5xKiENKKhUkTpEItMTRAjHw2SCpZw==",
"dev": true,
"engines": {
"node": ">=v18"
}
},
"node_modules/@commitlint/top-level": {
- "version": "18.4.4",
- "resolved": "https://registry.npmjs.org/@commitlint/top-level/-/top-level-18.4.4.tgz",
- "integrity": "sha512-PBwW1drgeavl9CadB7IPRUk6rkUP/O8jEkxjlC+ofuh3pw0bzJdAT+Kw7M1Yc9KtTb9xTaqUB8uvRtaybHa/tQ==",
+ "version": "19.0.0",
+ "resolved": "https://registry.npmjs.org/@commitlint/top-level/-/top-level-19.0.0.tgz",
+ "integrity": "sha512-KKjShd6u1aMGNkCkaX4aG1jOGdn7f8ZI8TR1VEuNqUOjWTOdcDSsmglinglJ18JTjuBX5I1PtjrhQCRcixRVFQ==",
"dev": true,
"dependencies": {
- "find-up": "^5.0.0"
+ "find-up": "^7.0.0"
},
"engines": {
"node": ">=v18"
}
},
- "node_modules/@commitlint/types": {
- "version": "18.6.0",
- "resolved": "https://registry.npmjs.org/@commitlint/types/-/types-18.6.0.tgz",
- "integrity": "sha512-oavoKLML/eJa2rJeyYSbyGAYzTxQ6voG5oeX3OrxpfrkRWhJfm4ACnhoRf5tgiybx2MZ+EVFqC1Lw3W8/uwpZA==",
+ "node_modules/@commitlint/top-level/node_modules/find-up": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-7.0.0.tgz",
+ "integrity": "sha512-YyZM99iHrqLKjmt4LJDj58KI+fYyufRLBSYcqycxf//KpBk9FoewoGX0450m9nB44qrZnovzC2oeP5hUibxc/g==",
"dev": true,
"dependencies": {
- "chalk": "^4.1.0"
+ "locate-path": "^7.2.0",
+ "path-exists": "^5.0.0",
+ "unicorn-magic": "^0.1.0"
},
"engines": {
- "node": ">=v18"
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/@commitlint/types/node_modules/ansi-styles": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
- "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "node_modules/@commitlint/top-level/node_modules/locate-path": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-7.2.0.tgz",
+ "integrity": "sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA==",
"dev": true,
"dependencies": {
- "color-convert": "^2.0.1"
+ "p-locate": "^6.0.0"
},
"engines": {
- "node": ">=8"
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/@commitlint/types/node_modules/chalk": {
- "version": "4.1.2",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
- "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
+ "node_modules/@commitlint/top-level/node_modules/p-limit": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-4.0.0.tgz",
+ "integrity": "sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==",
"dev": true,
"dependencies": {
- "ansi-styles": "^4.1.0",
- "supports-color": "^7.1.0"
+ "yocto-queue": "^1.0.0"
},
"engines": {
- "node": ">=10"
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"funding": {
- "url": "https://github.com/chalk/chalk?sponsor=1"
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/@commitlint/types/node_modules/has-flag": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
- "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
+ "node_modules/@commitlint/top-level/node_modules/p-locate": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-6.0.0.tgz",
+ "integrity": "sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw==",
"dev": true,
+ "dependencies": {
+ "p-limit": "^4.0.0"
+ },
"engines": {
- "node": ">=8"
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/@commitlint/types/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==",
+ "node_modules/@commitlint/top-level/node_modules/path-exists": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-5.0.0.tgz",
+ "integrity": "sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==",
+ "dev": true,
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ }
+ },
+ "node_modules/@commitlint/top-level/node_modules/yocto-queue": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.0.0.tgz",
+ "integrity": "sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==",
+ "dev": true,
+ "engines": {
+ "node": ">=12.20"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@commitlint/types": {
+ "version": "19.0.0",
+ "resolved": "https://registry.npmjs.org/@commitlint/types/-/types-19.0.0.tgz",
+ "integrity": "sha512-qLjLUdYXKi0TIavONrjBkxrElp7KguqDbvzIRbqTdJBV/cAAr8QEhHe1qUq8OcCM3gFWTlUrDz3ISZbkRoGsAg==",
"dev": true,
"dependencies": {
- "has-flag": "^4.0.0"
+ "chalk": "^5.3.0"
},
"engines": {
- "node": ">=8"
+ "node": ">=v18"
+ }
+ },
+ "node_modules/@commitlint/types/node_modules/chalk": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz",
+ "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==",
+ "dev": true,
+ "engines": {
+ "node": "^12.17.0 || ^14.13 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/chalk?sponsor=1"
}
},
"node_modules/@csstools/normalize.css": {
@@ -3507,9 +3757,9 @@
}
},
"node_modules/@eslint/js": {
- "version": "8.56.0",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.56.0.tgz",
- "integrity": "sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==",
+ "version": "8.57.0",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz",
+ "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -6702,12 +6952,12 @@
}
},
"node_modules/@storybook/addon-actions": {
- "version": "7.6.12",
- "resolved": "https://registry.npmjs.org/@storybook/addon-actions/-/addon-actions-7.6.12.tgz",
- "integrity": "sha512-vK/H6K+AJ4ZSsCu/+MapYYI/xrynB6JoCOejt//flTigZOhwTWv7WXbmEeqGIIToXy0LA2IUZ1/kCjFXR0lEdQ==",
+ "version": "7.6.17",
+ "resolved": "https://registry.npmjs.org/@storybook/addon-actions/-/addon-actions-7.6.17.tgz",
+ "integrity": "sha512-TBphs4v6LRfyTpFo/WINF0TkMaE3rrNog7wW5mbz6n0j8o53kDN4o9ZEcygSL5zQX43CAaghQTeDCss7ueG7ZQ==",
"dev": true,
"dependencies": {
- "@storybook/core-events": "7.6.12",
+ "@storybook/core-events": "7.6.17",
"@storybook/global": "^5.0.0",
"@types/uuid": "^9.0.1",
"dequal": "^2.0.2",
@@ -6720,9 +6970,9 @@
}
},
"node_modules/@storybook/addon-backgrounds": {
- "version": "7.6.12",
- "resolved": "https://registry.npmjs.org/@storybook/addon-backgrounds/-/addon-backgrounds-7.6.12.tgz",
- "integrity": "sha512-G14uN5lDXUtXw+dmEPaB6lpDpR9K25ssYuWWn8yYR44B1WMuD4kDgw0QGb0g+xYQj9R1TsalKEJHA4AuSYkVGQ==",
+ "version": "7.6.17",
+ "resolved": "https://registry.npmjs.org/@storybook/addon-backgrounds/-/addon-backgrounds-7.6.17.tgz",
+ "integrity": "sha512-7dize7x8+37PH77kmt69b0xSaeDqOcZ4fpzW6+hk53hIaCVU26eGs4+j+743Xva31eOgZWNLupUhOpUDc6SqZw==",
"dev": true,
"dependencies": {
"@storybook/global": "^5.0.0",
@@ -6735,12 +6985,12 @@
}
},
"node_modules/@storybook/addon-controls": {
- "version": "7.6.12",
- "resolved": "https://registry.npmjs.org/@storybook/addon-controls/-/addon-controls-7.6.12.tgz",
- "integrity": "sha512-NX4KajscOsuXyYE3hhniF+y0E59E6rM0FgIaZ48P9c0DD+wDo8bAISHjZvmKXtDVajLk4/JySvByx1eN6V3hmA==",
+ "version": "7.6.17",
+ "resolved": "https://registry.npmjs.org/@storybook/addon-controls/-/addon-controls-7.6.17.tgz",
+ "integrity": "sha512-zR0aLaUF7FtV/nMRyfniFbCls/e0DAAoXACuOAUAwNAv0lbIS8AyZZiHSmKucCvziUQ6WceeCC7+du3C+9y0rQ==",
"dev": true,
"dependencies": {
- "@storybook/blocks": "7.6.12",
+ "@storybook/blocks": "7.6.17",
"lodash": "^4.17.21",
"ts-dedent": "^2.0.0"
},
@@ -6750,26 +7000,26 @@
}
},
"node_modules/@storybook/addon-docs": {
- "version": "7.6.12",
- "resolved": "https://registry.npmjs.org/@storybook/addon-docs/-/addon-docs-7.6.12.tgz",
- "integrity": "sha512-AzMgnGYfEg+Z1ycJh8MEp44x1DfjRijKCVYNaPFT6o+TjN/9GBaAkV4ydxmQzMEMnnnh/0E9YeHO+ivBVSkNog==",
+ "version": "7.6.17",
+ "resolved": "https://registry.npmjs.org/@storybook/addon-docs/-/addon-docs-7.6.17.tgz",
+ "integrity": "sha512-FKa4Mdy7nhgvEVZJHpMkHriDzpVHbohn87zv9NCL+Ctjs1iAmzGwxEm0culszyDS1HN2ToVoY0h8CSi2RSSZqA==",
"dev": true,
"dependencies": {
"@jest/transform": "^29.3.1",
"@mdx-js/react": "^2.1.5",
- "@storybook/blocks": "7.6.12",
- "@storybook/client-logger": "7.6.12",
- "@storybook/components": "7.6.12",
- "@storybook/csf-plugin": "7.6.12",
- "@storybook/csf-tools": "7.6.12",
+ "@storybook/blocks": "7.6.17",
+ "@storybook/client-logger": "7.6.17",
+ "@storybook/components": "7.6.17",
+ "@storybook/csf-plugin": "7.6.17",
+ "@storybook/csf-tools": "7.6.17",
"@storybook/global": "^5.0.0",
"@storybook/mdx2-csf": "^1.0.0",
- "@storybook/node-logger": "7.6.12",
- "@storybook/postinstall": "7.6.12",
- "@storybook/preview-api": "7.6.12",
- "@storybook/react-dom-shim": "7.6.12",
- "@storybook/theming": "7.6.12",
- "@storybook/types": "7.6.12",
+ "@storybook/node-logger": "7.6.17",
+ "@storybook/postinstall": "7.6.17",
+ "@storybook/preview-api": "7.6.17",
+ "@storybook/react-dom-shim": "7.6.17",
+ "@storybook/theming": "7.6.17",
+ "@storybook/types": "7.6.17",
"fs-extra": "^11.1.0",
"remark-external-links": "^8.0.0",
"remark-slug": "^6.0.0",
@@ -6785,24 +7035,24 @@
}
},
"node_modules/@storybook/addon-essentials": {
- "version": "7.6.12",
- "resolved": "https://registry.npmjs.org/@storybook/addon-essentials/-/addon-essentials-7.6.12.tgz",
- "integrity": "sha512-Pl6n+19QC/T+cuU8DZjCwILXVxrdRTivNxPOiy8SEX+jjR4H0uAfXC9+RXCPjRFn64t4j1K7oIyoNokEn39cNw==",
- "dev": true,
- "dependencies": {
- "@storybook/addon-actions": "7.6.12",
- "@storybook/addon-backgrounds": "7.6.12",
- "@storybook/addon-controls": "7.6.12",
- "@storybook/addon-docs": "7.6.12",
- "@storybook/addon-highlight": "7.6.12",
- "@storybook/addon-measure": "7.6.12",
- "@storybook/addon-outline": "7.6.12",
- "@storybook/addon-toolbars": "7.6.12",
- "@storybook/addon-viewport": "7.6.12",
- "@storybook/core-common": "7.6.12",
- "@storybook/manager-api": "7.6.12",
- "@storybook/node-logger": "7.6.12",
- "@storybook/preview-api": "7.6.12",
+ "version": "7.6.17",
+ "resolved": "https://registry.npmjs.org/@storybook/addon-essentials/-/addon-essentials-7.6.17.tgz",
+ "integrity": "sha512-qlSpamxuYfT2taF953nC9QijGF2pSbg1ewMNpdwLTj16PTZvR/d8NCDMTJujI1bDwM2m18u8Yc43ibh5LEmxCw==",
+ "dev": true,
+ "dependencies": {
+ "@storybook/addon-actions": "7.6.17",
+ "@storybook/addon-backgrounds": "7.6.17",
+ "@storybook/addon-controls": "7.6.17",
+ "@storybook/addon-docs": "7.6.17",
+ "@storybook/addon-highlight": "7.6.17",
+ "@storybook/addon-measure": "7.6.17",
+ "@storybook/addon-outline": "7.6.17",
+ "@storybook/addon-toolbars": "7.6.17",
+ "@storybook/addon-viewport": "7.6.17",
+ "@storybook/core-common": "7.6.17",
+ "@storybook/manager-api": "7.6.17",
+ "@storybook/node-logger": "7.6.17",
+ "@storybook/preview-api": "7.6.17",
"ts-dedent": "^2.0.0"
},
"funding": {
@@ -6815,9 +7065,9 @@
}
},
"node_modules/@storybook/addon-highlight": {
- "version": "7.6.12",
- "resolved": "https://registry.npmjs.org/@storybook/addon-highlight/-/addon-highlight-7.6.12.tgz",
- "integrity": "sha512-rWNEyBhwncXEDd9z7l67BLBIPqn0SRI/CJpZvCSF5KLWrVaoSEDF8INavmbikd1JBMcajJ28Ur6NsGj+eJjJiw==",
+ "version": "7.6.17",
+ "resolved": "https://registry.npmjs.org/@storybook/addon-highlight/-/addon-highlight-7.6.17.tgz",
+ "integrity": "sha512-R1yBPUUqGn+60aJakn8q+5Zt34E/gU3n3VmgPdryP0LJUdZ5q1/RZShoVDV+yYQ40htMH6oaCv3OyyPzFAGJ6A==",
"dev": true,
"dependencies": {
"@storybook/global": "^5.0.0"
@@ -6828,9 +7078,9 @@
}
},
"node_modules/@storybook/addon-links": {
- "version": "7.6.12",
- "resolved": "https://registry.npmjs.org/@storybook/addon-links/-/addon-links-7.6.12.tgz",
- "integrity": "sha512-rGwPYpZAANPrf2GaNi5t9zAjLF8PgzKizyBPltIXUtplxDg88ziXlDA1dhsuGDs4Kf0oXECyAHPw79JjkJQziA==",
+ "version": "7.6.17",
+ "resolved": "https://registry.npmjs.org/@storybook/addon-links/-/addon-links-7.6.17.tgz",
+ "integrity": "sha512-iFUwKObRn0EKI0zMETsil2p9a/81rCuSMEWECsi+khkCAs1FUnD2cT6Ag5ydcNcBXsdtdfDJdtXQrkw+TSoStQ==",
"dev": true,
"dependencies": {
"@storybook/csf": "^0.1.2",
@@ -6851,9 +7101,9 @@
}
},
"node_modules/@storybook/addon-measure": {
- "version": "7.6.12",
- "resolved": "https://registry.npmjs.org/@storybook/addon-measure/-/addon-measure-7.6.12.tgz",
- "integrity": "sha512-K3aKErr84V0eVK7t+wco5cSYDdeotwoXi4e7VLSa2cdUz0wanOb4R7v3kf6vxucUyp05Lv+yHkz9zsbwuezepA==",
+ "version": "7.6.17",
+ "resolved": "https://registry.npmjs.org/@storybook/addon-measure/-/addon-measure-7.6.17.tgz",
+ "integrity": "sha512-O5vnHZNkduvZ95jf1UssbOl6ivIxzl5tv+4EpScPYId7w700bxWsJH+QX7ip6KlrCf2o3iUhmPe8bm05ghG2KA==",
"dev": true,
"dependencies": {
"@storybook/global": "^5.0.0",
@@ -6865,9 +7115,9 @@
}
},
"node_modules/@storybook/addon-outline": {
- "version": "7.6.12",
- "resolved": "https://registry.npmjs.org/@storybook/addon-outline/-/addon-outline-7.6.12.tgz",
- "integrity": "sha512-r6eO4EKh+zwGUNjxe8v/44BhyV+JD3Dl9GYMutsFqbwYsoWHJaZmzHuyqeFBXwx2MEoixdWdIzNMP71+srQqvw==",
+ "version": "7.6.17",
+ "resolved": "https://registry.npmjs.org/@storybook/addon-outline/-/addon-outline-7.6.17.tgz",
+ "integrity": "sha512-9o9JXDsYjNaDgz/cY5+jv694+aik/1aiRGGvsCv68e1p/ob0glkGKav4lnJe2VJqD+gCmaARoD8GOJlhoQl8JQ==",
"dev": true,
"dependencies": {
"@storybook/global": "^5.0.0",
@@ -6879,9 +7129,9 @@
}
},
"node_modules/@storybook/addon-toolbars": {
- "version": "7.6.12",
- "resolved": "https://registry.npmjs.org/@storybook/addon-toolbars/-/addon-toolbars-7.6.12.tgz",
- "integrity": "sha512-TSwq8xO7fmS6GRTgJJa31OBzm+5zlgDYK2Q42jxFo/Vm10uMzCpjYJE6mIHpUDyjyBVQk6xxMMEcvo6no2eAWg==",
+ "version": "7.6.17",
+ "resolved": "https://registry.npmjs.org/@storybook/addon-toolbars/-/addon-toolbars-7.6.17.tgz",
+ "integrity": "sha512-UMrchbUHiyWrh6WuGnpy34Jqzkx/63B+MSgb3CW7YsQaXz64kE0Rol0TNSznnB+mYXplcqH+ndI4r4kFsmgwDg==",
"dev": true,
"funding": {
"type": "opencollective",
@@ -6889,9 +7139,9 @@
}
},
"node_modules/@storybook/addon-viewport": {
- "version": "7.6.12",
- "resolved": "https://registry.npmjs.org/@storybook/addon-viewport/-/addon-viewport-7.6.12.tgz",
- "integrity": "sha512-51zsBeoaEzq699SKDCe+GG/2PDAJKKJtpjqxIc4lDskogaCJSb3Ie8LyookHAKYgbi2qealVgK8zaP27KUj3Pg==",
+ "version": "7.6.17",
+ "resolved": "https://registry.npmjs.org/@storybook/addon-viewport/-/addon-viewport-7.6.17.tgz",
+ "integrity": "sha512-sA0QCcf4QAMixWvn8uvRYPfkKCSl6JajJaAspoPqXSxHEpK7uwOlpg3kqFU5XJJPXD0X957M+ONgNvBzYqSpEw==",
"dev": true,
"dependencies": {
"memoizerific": "^1.11.3"
@@ -6902,22 +7152,22 @@
}
},
"node_modules/@storybook/blocks": {
- "version": "7.6.12",
- "resolved": "https://registry.npmjs.org/@storybook/blocks/-/blocks-7.6.12.tgz",
- "integrity": "sha512-T47KOAjgZmhV+Ov59A70inE5edInh1Jh5w/5J5cjpk9a2p4uhd337SnK4B8J5YLhcM2lbKRWJjzIJ0nDZQTdnQ==",
+ "version": "7.6.17",
+ "resolved": "https://registry.npmjs.org/@storybook/blocks/-/blocks-7.6.17.tgz",
+ "integrity": "sha512-PsNVoe0bX1mMn4Kk3nbKZ0ItDZZ0YJnYAFJ6toAbsyBAbgzg1sce88sQinzvbn58/RT9MPKeWMPB45ZS7ggiNg==",
"dev": true,
"dependencies": {
- "@storybook/channels": "7.6.12",
- "@storybook/client-logger": "7.6.12",
- "@storybook/components": "7.6.12",
- "@storybook/core-events": "7.6.12",
+ "@storybook/channels": "7.6.17",
+ "@storybook/client-logger": "7.6.17",
+ "@storybook/components": "7.6.17",
+ "@storybook/core-events": "7.6.17",
"@storybook/csf": "^0.1.2",
- "@storybook/docs-tools": "7.6.12",
+ "@storybook/docs-tools": "7.6.17",
"@storybook/global": "^5.0.0",
- "@storybook/manager-api": "7.6.12",
- "@storybook/preview-api": "7.6.12",
- "@storybook/theming": "7.6.12",
- "@storybook/types": "7.6.12",
+ "@storybook/manager-api": "7.6.17",
+ "@storybook/preview-api": "7.6.17",
+ "@storybook/theming": "7.6.17",
+ "@storybook/types": "7.6.17",
"@types/lodash": "^4.14.167",
"color-convert": "^2.0.1",
"dequal": "^2.0.2",
@@ -6941,13 +7191,13 @@
}
},
"node_modules/@storybook/channels": {
- "version": "7.6.12",
- "resolved": "https://registry.npmjs.org/@storybook/channels/-/channels-7.6.12.tgz",
- "integrity": "sha512-TaPl5Y3lOoVi5kTLgKNRX8xh2sUPekH0Id1l4Ymw+lpgriEY6r60bmkZLysLG1GhlskpQ/da2+S2ap2ht8P2TQ==",
+ "version": "7.6.17",
+ "resolved": "https://registry.npmjs.org/@storybook/channels/-/channels-7.6.17.tgz",
+ "integrity": "sha512-GFG40pzaSxk1hUr/J/TMqW5AFDDPUSu+HkeE/oqSWJbOodBOLJzHN6CReJS6y1DjYSZLNFt1jftPWZZInG/XUA==",
"dev": true,
"dependencies": {
- "@storybook/client-logger": "7.6.12",
- "@storybook/core-events": "7.6.12",
+ "@storybook/client-logger": "7.6.17",
+ "@storybook/core-events": "7.6.17",
"@storybook/global": "^5.0.0",
"qs": "^6.10.0",
"telejson": "^7.2.0",
@@ -6959,9 +7209,9 @@
}
},
"node_modules/@storybook/client-logger": {
- "version": "7.6.12",
- "resolved": "https://registry.npmjs.org/@storybook/client-logger/-/client-logger-7.6.12.tgz",
- "integrity": "sha512-hiRv6dXsOttMPqm9SxEuFoAtDe9rs7TUS8XcO5rmJ9BgfwBJsYlHzAxXkazxmvlyZtKL7gMx6m8OYbCdZgUqtA==",
+ "version": "7.6.17",
+ "resolved": "https://registry.npmjs.org/@storybook/client-logger/-/client-logger-7.6.17.tgz",
+ "integrity": "sha512-6WBYqixAXNAXlSaBWwgljWpAu10tPRBJrcFvx2gPUne58EeMM20Gi/iHYBz2kMCY+JLAgeIH7ZxInqwO8vDwiQ==",
"dev": true,
"dependencies": {
"@storybook/global": "^5.0.0"
@@ -6972,18 +7222,18 @@
}
},
"node_modules/@storybook/components": {
- "version": "7.6.12",
- "resolved": "https://registry.npmjs.org/@storybook/components/-/components-7.6.12.tgz",
- "integrity": "sha512-PCijPqmlZd7qyTzNr+vD0Kf8sAI9vWJIaxbSjXwn/De3e63m4fsEcIf8FaUT8cMZ46AWZvaxaxX5km2u0UISJQ==",
+ "version": "7.6.17",
+ "resolved": "https://registry.npmjs.org/@storybook/components/-/components-7.6.17.tgz",
+ "integrity": "sha512-lbh7GynMidA+CZcJnstVku6Nhs+YkqjYaZ+mKPugvlVhGVWv0DaaeQFVuZ8cJtUGJ/5FFU4Y+n+gylYUHkGBMA==",
"dev": true,
"dependencies": {
"@radix-ui/react-select": "^1.2.2",
"@radix-ui/react-toolbar": "^1.0.4",
- "@storybook/client-logger": "7.6.12",
+ "@storybook/client-logger": "7.6.17",
"@storybook/csf": "^0.1.2",
"@storybook/global": "^5.0.0",
- "@storybook/theming": "7.6.12",
- "@storybook/types": "7.6.12",
+ "@storybook/theming": "7.6.17",
+ "@storybook/types": "7.6.17",
"memoizerific": "^1.11.3",
"use-resize-observer": "^9.1.0",
"util-deprecate": "^1.0.2"
@@ -6998,13 +7248,13 @@
}
},
"node_modules/@storybook/core-client": {
- "version": "7.6.12",
- "resolved": "https://registry.npmjs.org/@storybook/core-client/-/core-client-7.6.12.tgz",
- "integrity": "sha512-VzVp32tMZsCzM4UIqfvCoJF7N9mBf6dsAxh1/ZgViy75Fht78pGo3JwZXW8osMbFSRpmWD7fxlUM5S7TQOYQug==",
+ "version": "7.6.17",
+ "resolved": "https://registry.npmjs.org/@storybook/core-client/-/core-client-7.6.17.tgz",
+ "integrity": "sha512-LuDbADK+DPNAOOCXOlvY09hdGVueXlDetsdOJ/DgYnSa9QSWv9Uv+F8QcEgR3QckZJbPlztKJIVLgP2n/Xkijw==",
"dev": true,
"dependencies": {
- "@storybook/client-logger": "7.6.12",
- "@storybook/preview-api": "7.6.12"
+ "@storybook/client-logger": "7.6.17",
+ "@storybook/preview-api": "7.6.17"
},
"funding": {
"type": "opencollective",
@@ -7012,14 +7262,14 @@
}
},
"node_modules/@storybook/core-common": {
- "version": "7.6.12",
- "resolved": "https://registry.npmjs.org/@storybook/core-common/-/core-common-7.6.12.tgz",
- "integrity": "sha512-kM9YiBBMM2x5v/oylL7gdO1PS4oehgJC21MivS9p5QZ8uuXKtCQ6UQvI3rzaV+1ZzUA4n+I8MyaMrNIQk8KDbw==",
+ "version": "7.6.17",
+ "resolved": "https://registry.npmjs.org/@storybook/core-common/-/core-common-7.6.17.tgz",
+ "integrity": "sha512-me2TP3Q9/qzqCLoDHUSsUF+VS1MHxfHbTVF6vAz0D/COTxzsxLpu9TxTbzJoBCxse6XRb6wWI1RgF1mIcjic7g==",
"dev": true,
"dependencies": {
- "@storybook/core-events": "7.6.12",
- "@storybook/node-logger": "7.6.12",
- "@storybook/types": "7.6.12",
+ "@storybook/core-events": "7.6.17",
+ "@storybook/node-logger": "7.6.17",
+ "@storybook/types": "7.6.17",
"@types/find-cache-dir": "^3.2.1",
"@types/node": "^18.0.0",
"@types/node-fetch": "^2.6.4",
@@ -7047,9 +7297,9 @@
}
},
"node_modules/@storybook/core-common/node_modules/@types/node": {
- "version": "18.19.11",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.11.tgz",
- "integrity": "sha512-hzdHPKpDdp5bEcRq1XTlZ2ntVjLcHCTV73dEcGg02eSY/+9AZ+jlfz6i00+zOrunMWenjHuI49J8J7Y9uz50JQ==",
+ "version": "18.19.18",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.18.tgz",
+ "integrity": "sha512-80CP7B8y4PzZF0GWx15/gVWRrB5y/bIjNI84NK3cmQJu0WZwvmj2WMA5LcofQFVfLqqCSp545+U2LsrVzX36Zg==",
"dev": true,
"dependencies": {
"undici-types": "~5.26.4"
@@ -7182,9 +7432,9 @@
}
},
"node_modules/@storybook/core-events": {
- "version": "7.6.12",
- "resolved": "https://registry.npmjs.org/@storybook/core-events/-/core-events-7.6.12.tgz",
- "integrity": "sha512-IO4cwk7bBCKH6lLnnIlHO9FwQXt/9CzLUAoZSY9msWsdPppCdKlw8ynJI5YarSNKDBUn8ArIfnRf0Mve0KQr9Q==",
+ "version": "7.6.17",
+ "resolved": "https://registry.npmjs.org/@storybook/core-events/-/core-events-7.6.17.tgz",
+ "integrity": "sha512-AriWMCm/k1cxlv10f+jZ1wavThTRpLaN3kY019kHWbYT9XgaSuLU67G7GPr3cGnJ6HuA6uhbzu8qtqVCd6OfXA==",
"dev": true,
"dependencies": {
"ts-dedent": "^2.0.0"
@@ -7204,12 +7454,12 @@
}
},
"node_modules/@storybook/csf-plugin": {
- "version": "7.6.12",
- "resolved": "https://registry.npmjs.org/@storybook/csf-plugin/-/csf-plugin-7.6.12.tgz",
- "integrity": "sha512-fe/84AyctJcrpH1F/tTBxKrbjv0ilmG3ZTwVcufEiAzupZuYjQ/0P+Pxs8m8VxiGJZZ1pWofFFDbYi+wERjamQ==",
+ "version": "7.6.17",
+ "resolved": "https://registry.npmjs.org/@storybook/csf-plugin/-/csf-plugin-7.6.17.tgz",
+ "integrity": "sha512-xTHv9BUh3bkDVCvcbmdfVF0/e96BdrEgqPJ3G3RmKbSzWLOkQ2U9yiPfHzT0KJWPhVwj12fjfZp0zunu+pcS6Q==",
"dev": true,
"dependencies": {
- "@storybook/csf-tools": "7.6.12",
+ "@storybook/csf-tools": "7.6.17",
"unplugin": "^1.3.1"
},
"funding": {
@@ -7218,9 +7468,9 @@
}
},
"node_modules/@storybook/csf-tools": {
- "version": "7.6.12",
- "resolved": "https://registry.npmjs.org/@storybook/csf-tools/-/csf-tools-7.6.12.tgz",
- "integrity": "sha512-MdhkYYxSW5I6Jpk34gTkAZsuj9sxe0xdyeUQpNa8CgJxG43F+ehZ6scW/IPjoSG9gCXBUJMekq26UrmbVfsLCQ==",
+ "version": "7.6.17",
+ "resolved": "https://registry.npmjs.org/@storybook/csf-tools/-/csf-tools-7.6.17.tgz",
+ "integrity": "sha512-dAQtam0EBPeTJYcQPLxXgz4L9JFqD+HWbLFG9CmNIhMMjticrB0mpk1EFIS6vPXk/VsVWpBgMLD7dZlD6YMKcQ==",
"dev": true,
"dependencies": {
"@babel/generator": "^7.23.0",
@@ -7228,7 +7478,7 @@
"@babel/traverse": "^7.23.2",
"@babel/types": "^7.23.0",
"@storybook/csf": "^0.1.2",
- "@storybook/types": "7.6.12",
+ "@storybook/types": "7.6.17",
"fs-extra": "^11.1.0",
"recast": "^0.23.1",
"ts-dedent": "^2.0.0"
@@ -7239,14 +7489,14 @@
}
},
"node_modules/@storybook/docs-tools": {
- "version": "7.6.12",
- "resolved": "https://registry.npmjs.org/@storybook/docs-tools/-/docs-tools-7.6.12.tgz",
- "integrity": "sha512-nY2lqEDTd/fR/D91ZLlIp+boSuJtkb8DqHW7pECy61rJqzGq4QpepRaWjQDKnGTgPItrsPfTPOu6iXvXNK07Ow==",
+ "version": "7.6.17",
+ "resolved": "https://registry.npmjs.org/@storybook/docs-tools/-/docs-tools-7.6.17.tgz",
+ "integrity": "sha512-bYrLoj06adqklyLkEwD32C0Ww6t+9ZVvrJHiVT42bIhTRpFiFPAetl1a9KPHtFLnfduh4n2IxIr1jv32ThPDTA==",
"dev": true,
"dependencies": {
- "@storybook/core-common": "7.6.12",
- "@storybook/preview-api": "7.6.12",
- "@storybook/types": "7.6.12",
+ "@storybook/core-common": "7.6.17",
+ "@storybook/preview-api": "7.6.17",
+ "@storybook/types": "7.6.17",
"@types/doctrine": "^0.0.3",
"assert": "^2.1.0",
"doctrine": "^3.0.0",
@@ -7264,19 +7514,19 @@
"dev": true
},
"node_modules/@storybook/manager-api": {
- "version": "7.6.12",
- "resolved": "https://registry.npmjs.org/@storybook/manager-api/-/manager-api-7.6.12.tgz",
- "integrity": "sha512-XA5KQpY44d6mlqt0AlesZ7fsPpm1PCpoV+nRGFBR0YtF6RdPFvrPyHhlGgLkJC4xSyb2YJmLKn8cERSluAcEgQ==",
+ "version": "7.6.17",
+ "resolved": "https://registry.npmjs.org/@storybook/manager-api/-/manager-api-7.6.17.tgz",
+ "integrity": "sha512-IJIV1Yc6yw1dhCY4tReHCfBnUKDqEBnMyHp3mbXpsaHxnxJZrXO45WjRAZIKlQKhl/Ge1CrnznmHRCmYgqmrWg==",
"dev": true,
"dependencies": {
- "@storybook/channels": "7.6.12",
- "@storybook/client-logger": "7.6.12",
- "@storybook/core-events": "7.6.12",
+ "@storybook/channels": "7.6.17",
+ "@storybook/client-logger": "7.6.17",
+ "@storybook/core-events": "7.6.17",
"@storybook/csf": "^0.1.2",
"@storybook/global": "^5.0.0",
- "@storybook/router": "7.6.12",
- "@storybook/theming": "7.6.12",
- "@storybook/types": "7.6.12",
+ "@storybook/router": "7.6.17",
+ "@storybook/theming": "7.6.17",
+ "@storybook/types": "7.6.17",
"dequal": "^2.0.2",
"lodash": "^4.17.21",
"memoizerific": "^1.11.3",
@@ -7296,9 +7546,9 @@
"dev": true
},
"node_modules/@storybook/node-logger": {
- "version": "7.6.12",
- "resolved": "https://registry.npmjs.org/@storybook/node-logger/-/node-logger-7.6.12.tgz",
- "integrity": "sha512-iS44/EjfF6hLecKzICmcpQoB9bmVi4tXx5gVXnbI5ZyziBibRQcg/U191Njl7wY2ScN/RCQOr8lh5k57rI3Prg==",
+ "version": "7.6.17",
+ "resolved": "https://registry.npmjs.org/@storybook/node-logger/-/node-logger-7.6.17.tgz",
+ "integrity": "sha512-w59MQuXhhUNrUVmVkXhMwIg2nvFWjdDczLTwYLorhfsE36CWeUOY5QCZWQy0Qf/h+jz8Uo7Evy64qn18v9C4wA==",
"dev": true,
"funding": {
"type": "opencollective",
@@ -7306,9 +7556,9 @@
}
},
"node_modules/@storybook/postinstall": {
- "version": "7.6.12",
- "resolved": "https://registry.npmjs.org/@storybook/postinstall/-/postinstall-7.6.12.tgz",
- "integrity": "sha512-uR0mDPxLzPaouCNrLp8vID8lATVTOtG7HB6lfjjzMdE3sN6MLmK9n2z2nXjb5DRRxOFWMeE1/4Age1/Ml2tnmA==",
+ "version": "7.6.17",
+ "resolved": "https://registry.npmjs.org/@storybook/postinstall/-/postinstall-7.6.17.tgz",
+ "integrity": "sha512-WaWqB8o9vUc9aaVls+povQSVirf1Xd1LZcVhUKfAocAF3mzYUsnJsVqvnbjRj/F96UFVihOyDt9Zjl/9OvrCvQ==",
"dev": true,
"funding": {
"type": "opencollective",
@@ -8395,17 +8645,17 @@
}
},
"node_modules/@storybook/preview-api": {
- "version": "7.6.12",
- "resolved": "https://registry.npmjs.org/@storybook/preview-api/-/preview-api-7.6.12.tgz",
- "integrity": "sha512-uSzeMSLnCRROjiofJP0F0niLWL+sboQ5ktHW6BAYoPwprumXduPxKBUVEZNxMbVYoAz9v/kEZmaLauh8LRP2Hg==",
+ "version": "7.6.17",
+ "resolved": "https://registry.npmjs.org/@storybook/preview-api/-/preview-api-7.6.17.tgz",
+ "integrity": "sha512-wLfDdI9RWo1f2zzFe54yRhg+2YWyxLZvqdZnSQ45mTs4/7xXV5Wfbv3QNTtcdw8tT3U5KRTrN1mTfTCiRJc0Kw==",
"dev": true,
"dependencies": {
- "@storybook/channels": "7.6.12",
- "@storybook/client-logger": "7.6.12",
- "@storybook/core-events": "7.6.12",
+ "@storybook/channels": "7.6.17",
+ "@storybook/client-logger": "7.6.17",
+ "@storybook/core-events": "7.6.17",
"@storybook/csf": "^0.1.2",
"@storybook/global": "^5.0.0",
- "@storybook/types": "7.6.12",
+ "@storybook/types": "7.6.17",
"@types/qs": "^6.9.5",
"dequal": "^2.0.2",
"lodash": "^4.17.21",
@@ -8421,18 +8671,18 @@
}
},
"node_modules/@storybook/react": {
- "version": "7.6.12",
- "resolved": "https://registry.npmjs.org/@storybook/react/-/react-7.6.12.tgz",
- "integrity": "sha512-ITDRGi79Qg+z1kGYv+yyJESz/5AsJVdBTMO7tr1qV7gmHElkASt6UR8SBSqKgePOnYgy3k/1PLfbzOs6G4OgYQ==",
+ "version": "7.6.17",
+ "resolved": "https://registry.npmjs.org/@storybook/react/-/react-7.6.17.tgz",
+ "integrity": "sha512-lVqzQSU03rRJWYW+gK2gq6mSo3/qtnVICY8B8oP7gc36jVu4ksDIu45bTfukM618ODkUZy0vZe6T4engK3azjA==",
"dev": true,
"dependencies": {
- "@storybook/client-logger": "7.6.12",
- "@storybook/core-client": "7.6.12",
- "@storybook/docs-tools": "7.6.12",
+ "@storybook/client-logger": "7.6.17",
+ "@storybook/core-client": "7.6.17",
+ "@storybook/docs-tools": "7.6.17",
"@storybook/global": "^5.0.0",
- "@storybook/preview-api": "7.6.12",
- "@storybook/react-dom-shim": "7.6.12",
- "@storybook/types": "7.6.12",
+ "@storybook/preview-api": "7.6.17",
+ "@storybook/react-dom-shim": "7.6.17",
+ "@storybook/types": "7.6.17",
"@types/escodegen": "^0.0.6",
"@types/estree": "^0.0.51",
"@types/node": "^18.0.0",
@@ -8467,9 +8717,9 @@
}
},
"node_modules/@storybook/react-dom-shim": {
- "version": "7.6.12",
- "resolved": "https://registry.npmjs.org/@storybook/react-dom-shim/-/react-dom-shim-7.6.12.tgz",
- "integrity": "sha512-P8eu/s/RQlc/7Yvr260lqNa6rttxIYiPUuHQBu9oCacwkpB3Xep2R/PUY2CifRHqlDhaOINO/Z79oGZl4EBQRQ==",
+ "version": "7.6.17",
+ "resolved": "https://registry.npmjs.org/@storybook/react-dom-shim/-/react-dom-shim-7.6.17.tgz",
+ "integrity": "sha512-32Sa/G+WnvaPiQ1Wvjjw5UM9rr2c4GDohwCcWVv3/LJuiFPqNS6zglAtmnsrlIBnUwRBMLMh/ekCTdqMiUmfDw==",
"dev": true,
"funding": {
"type": "opencollective",
@@ -8496,12 +8746,12 @@
}
},
"node_modules/@storybook/router": {
- "version": "7.6.12",
- "resolved": "https://registry.npmjs.org/@storybook/router/-/router-7.6.12.tgz",
- "integrity": "sha512-1fqscJbePFJXhapqiv7fAIIqAvouSsdPnqWjJGJrUMR6JBtRYMcrb3MnDeqi9OYnU73r65BrQBPtSzWM8nP0LQ==",
+ "version": "7.6.17",
+ "resolved": "https://registry.npmjs.org/@storybook/router/-/router-7.6.17.tgz",
+ "integrity": "sha512-GnyC0j6Wi5hT4qRhSyT8NPtJfGmf82uZw97LQRWeyYu5gWEshUdM7aj40XlNiScd5cZDp0owO1idduVF2k2l2A==",
"dev": true,
"dependencies": {
- "@storybook/client-logger": "7.6.12",
+ "@storybook/client-logger": "7.6.17",
"memoizerific": "^1.11.3",
"qs": "^6.10.0"
},
@@ -8511,13 +8761,13 @@
}
},
"node_modules/@storybook/theming": {
- "version": "7.6.12",
- "resolved": "https://registry.npmjs.org/@storybook/theming/-/theming-7.6.12.tgz",
- "integrity": "sha512-P4zoMKlSYbNrWJjQROuz+DZSDEpdf3TUvk203EqBRdElqw2EMHcqZ8+0HGPFfVHpqEj05+B9Mr6R/Z/BURj0lw==",
+ "version": "7.6.17",
+ "resolved": "https://registry.npmjs.org/@storybook/theming/-/theming-7.6.17.tgz",
+ "integrity": "sha512-ZbaBt3KAbmBtfjNqgMY7wPMBshhSJlhodyMNQypv+95xLD/R+Az6aBYbpVAOygLaUQaQk4ar7H/Ww6lFIoiFbA==",
"dev": true,
"dependencies": {
"@emotion/use-insertion-effect-with-fallbacks": "^1.0.0",
- "@storybook/client-logger": "7.6.12",
+ "@storybook/client-logger": "7.6.17",
"@storybook/global": "^5.0.0",
"memoizerific": "^1.11.3"
},
@@ -8531,12 +8781,12 @@
}
},
"node_modules/@storybook/types": {
- "version": "7.6.12",
- "resolved": "https://registry.npmjs.org/@storybook/types/-/types-7.6.12.tgz",
- "integrity": "sha512-Wsbd+NS10/2yMHQ/26rXHflXam0hm2qufTFiHOX6VXZWxij3slRU88Fnwzp+1QSyjXb0qkEr8dOx7aG00+ItVw==",
+ "version": "7.6.17",
+ "resolved": "https://registry.npmjs.org/@storybook/types/-/types-7.6.17.tgz",
+ "integrity": "sha512-GRY0xEJQ0PrL7DY2qCNUdIfUOE0Gsue6N+GBJw9ku1IUDFLJRDOF+4Dx2BvYcVCPI5XPqdWKlEyZdMdKjiQN7Q==",
"dev": true,
"dependencies": {
- "@storybook/channels": "7.6.12",
+ "@storybook/channels": "7.6.17",
"@types/babel__core": "^7.0.0",
"@types/express": "^4.7.0",
"file-system-cache": "2.3.0"
@@ -9149,9 +9399,9 @@
}
},
"node_modules/@testing-library/react": {
- "version": "14.2.0",
- "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-14.2.0.tgz",
- "integrity": "sha512-7uBnPHyOG6nDGCzv8SLeJbSa33ZoYw7swYpSLIgJvBALdq7l9zPNk33om4USrxy1lKTxXaVfufzLmq83WNfWIw==",
+ "version": "14.2.1",
+ "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-14.2.1.tgz",
+ "integrity": "sha512-sGdjws32ai5TLerhvzThYFbpnF9XtL65Cjf+gB0Dhr29BGqK+mAeN7SURSdu+eqgET4ANcWoC7FQpkaiGvBr+A==",
"dev": true,
"dependencies": {
"@babel/runtime": "^7.12.5",
@@ -9624,12 +9874,6 @@
"optional": true,
"peer": true
},
- "node_modules/@types/minimist": {
- "version": "1.2.5",
- "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.5.tgz",
- "integrity": "sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag==",
- "dev": true
- },
"node_modules/@types/node": {
"version": "20.11.13",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.13.tgz",
@@ -9658,12 +9902,6 @@
"@types/node": "*"
}
},
- "node_modules/@types/normalize-package-data": {
- "version": "2.4.4",
- "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz",
- "integrity": "sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==",
- "dev": true
- },
"node_modules/@types/parse-json": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.2.tgz",
@@ -11026,15 +11264,6 @@
"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/asap": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz",
@@ -12471,32 +12700,6 @@
"node": ">= 6"
}
},
- "node_modules/camelcase-keys": {
- "version": "6.2.2",
- "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz",
- "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==",
- "dev": true,
- "dependencies": {
- "camelcase": "^5.3.1",
- "map-obj": "^4.0.0",
- "quick-lru": "^4.0.1"
- },
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/camelcase-keys/node_modules/quick-lru": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz",
- "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==",
- "dev": true,
- "engines": {
- "node": ">=8"
- }
- },
"node_modules/caniuse-api": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/caniuse-api/-/caniuse-api-3.0.0.tgz",
@@ -13896,12 +14099,15 @@
"dev": true
},
"node_modules/dargs": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/dargs/-/dargs-7.0.0.tgz",
- "integrity": "sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg==",
+ "version": "8.1.0",
+ "resolved": "https://registry.npmjs.org/dargs/-/dargs-8.1.0.tgz",
+ "integrity": "sha512-wAV9QHOsNbwnWdNW2FYvE1P56wtgSbM+3SZcdGiWQILwVjACCXDCI3Ai8QlCjMDB8YK5zySiXZYBiwGmNY3lnw==",
"dev": true,
"engines": {
- "node": ">=8"
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/data-urls": {
@@ -13985,31 +14191,8 @@
"resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz",
"integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==",
"dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/decamelize-keys": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.1.tgz",
- "integrity": "sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg==",
- "dev": true,
- "dependencies": {
- "decamelize": "^1.1.0",
- "map-obj": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/decamelize-keys/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,
+ "optional": true,
+ "peer": true,
"engines": {
"node": ">=0.10.0"
}
@@ -14532,15 +14715,15 @@
}
},
"node_modules/dotenv": {
- "version": "16.4.1",
- "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.1.tgz",
- "integrity": "sha512-CjA3y+Dr3FyFDOAMnxZEGtnW9KBR2M0JvvUtXNW+dYJL5ROWxP9DUHCwgFqpMk0OXCc0ljhaNTr2w/kutYIcHQ==",
+ "version": "16.4.5",
+ "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.5.tgz",
+ "integrity": "sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==",
"dev": true,
"engines": {
"node": ">=12"
},
"funding": {
- "url": "https://github.com/motdotla/dotenv?sponsor=1"
+ "url": "https://dotenvx.com"
}
},
"node_modules/dotenv-expand": {
@@ -15001,16 +15184,16 @@
}
},
"node_modules/eslint": {
- "version": "8.56.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.56.0.tgz",
- "integrity": "sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==",
+ "version": "8.57.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz",
+ "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==",
"dev": true,
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1",
"@eslint/eslintrc": "^2.1.4",
- "@eslint/js": "8.56.0",
- "@humanwhocodes/config-array": "^0.11.13",
+ "@eslint/js": "8.57.0",
+ "@humanwhocodes/config-array": "^0.11.14",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
"@ungap/structured-clone": "^1.2.0",
@@ -17412,130 +17595,22 @@
}
},
"node_modules/git-raw-commits": {
- "version": "2.0.11",
- "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-2.0.11.tgz",
- "integrity": "sha512-VnctFhw+xfj8Va1xtfEqCUD2XDrbAPSJx+hSrE5K7fGdjZruW7XV+QOrN7LF/RJyvspRiD2I0asWsxFp0ya26A==",
- "dev": true,
- "dependencies": {
- "dargs": "^7.0.0",
- "lodash": "^4.17.15",
- "meow": "^8.0.0",
- "split2": "^3.0.0",
- "through2": "^4.0.0"
- },
- "bin": {
- "git-raw-commits": "cli.js"
- },
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/git-raw-commits/node_modules/hosted-git-info": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz",
- "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==",
- "dev": true,
- "dependencies": {
- "lru-cache": "^6.0.0"
- },
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/git-raw-commits/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/git-raw-commits/node_modules/meow": {
- "version": "8.1.2",
- "resolved": "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz",
- "integrity": "sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==",
- "dev": true,
- "dependencies": {
- "@types/minimist": "^1.2.0",
- "camelcase-keys": "^6.2.2",
- "decamelize-keys": "^1.1.0",
- "hard-rejection": "^2.1.0",
- "minimist-options": "4.1.0",
- "normalize-package-data": "^3.0.0",
- "read-pkg-up": "^7.0.1",
- "redent": "^3.0.0",
- "trim-newlines": "^3.0.0",
- "type-fest": "^0.18.0",
- "yargs-parser": "^20.2.3"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/git-raw-commits/node_modules/normalize-package-data": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz",
- "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==",
- "dev": true,
- "dependencies": {
- "hosted-git-info": "^4.0.1",
- "is-core-module": "^2.5.0",
- "semver": "^7.3.4",
- "validate-npm-package-license": "^3.0.1"
- },
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/git-raw-commits/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==",
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-4.0.0.tgz",
+ "integrity": "sha512-ICsMM1Wk8xSGMowkOmPrzo2Fgmfo4bMHLNX6ytHjajRJUqvHOw/TFapQ+QG75c3X/tTDDhOSRPGC52dDbNM8FQ==",
"dev": true,
"dependencies": {
- "lru-cache": "^6.0.0"
+ "dargs": "^8.0.0",
+ "meow": "^12.0.1",
+ "split2": "^4.0.0"
},
"bin": {
- "semver": "bin/semver.js"
+ "git-raw-commits": "cli.mjs"
},
"engines": {
- "node": ">=10"
- }
- },
- "node_modules/git-raw-commits/node_modules/split2": {
- "version": "3.2.2",
- "resolved": "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz",
- "integrity": "sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==",
- "dev": true,
- "dependencies": {
- "readable-stream": "^3.0.0"
- }
- },
- "node_modules/git-raw-commits/node_modules/type-fest": {
- "version": "0.18.1",
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz",
- "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==",
- "dev": true,
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "node": ">=16"
}
},
- "node_modules/git-raw-commits/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/github-slugger": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/github-slugger/-/github-slugger-1.5.0.tgz",
@@ -17586,24 +17661,21 @@
"integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==",
"dev": true
},
- "node_modules/global-dirs": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-0.1.1.tgz",
- "integrity": "sha512-NknMLn7F2J7aflwFOlGdNIuCDpN3VGoSoB+aap3KABFWbHVn1TCgFC+np23J8W2BiZbjfEw3BFBycSMv1AFblg==",
+ "node_modules/global-directory": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/global-directory/-/global-directory-4.0.1.tgz",
+ "integrity": "sha512-wHTUcDUoZ1H5/0iVqEudYW4/kAlN5cZ3j/bXn0Dpbizl9iaUVeWSHqiOjsgk6OW2bkLclbBjzewBz6weQ1zA2Q==",
"dev": true,
"dependencies": {
- "ini": "^1.3.4"
+ "ini": "4.1.1"
},
"engines": {
- "node": ">=4"
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/global-dirs/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/global-modules": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/global-modules/-/global-modules-2.0.0.tgz",
@@ -17788,15 +17860,6 @@
"node": ">=0.10.0"
}
},
- "node_modules/hard-rejection": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz",
- "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==",
- "dev": true,
- "engines": {
- "node": ">=6"
- }
- },
"node_modules/harmony-reflect": {
"version": "1.6.2",
"resolved": "https://registry.npmjs.org/harmony-reflect/-/harmony-reflect-1.6.2.tgz",
@@ -18371,12 +18434,12 @@
}
},
"node_modules/husky": {
- "version": "9.0.7",
- "resolved": "https://registry.npmjs.org/husky/-/husky-9.0.7.tgz",
- "integrity": "sha512-vWdusw+y12DUEeoZqW1kplOFqk3tedGV8qlga8/SF6a3lOiWLqGZZQvfWvY0fQYdfiRi/u1DFNpudTSV9l1aCg==",
+ "version": "9.0.11",
+ "resolved": "https://registry.npmjs.org/husky/-/husky-9.0.11.tgz",
+ "integrity": "sha512-AB6lFlbwwyIqMdHYhwPe+kjOC3Oc5P3nThEoW/AaO2BX3vJDjWPFxYLxokUZOo6RNX20He3AaT8sESs9NJcmEw==",
"dev": true,
"bin": {
- "husky": "bin.js"
+ "husky": "bin.mjs"
},
"engines": {
"node": ">=18"
@@ -18627,6 +18690,16 @@
"node": ">=8"
}
},
+ "node_modules/import-meta-resolve": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.0.0.tgz",
+ "integrity": "sha512-okYUR7ZQPH+efeuMJGlq4f8ubUgO50kByRPyt/Cy1Io4PSRsPjxME+YlVaCOx+NIToW7hCsZNFJyTPFFKepRSA==",
+ "dev": true,
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
"node_modules/imurmurhash": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
@@ -18895,9 +18968,9 @@
}
},
"node_modules/ip": {
- "version": "1.1.8",
- "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.8.tgz",
- "integrity": "sha512-PuExPYUiu6qMBQb4l06ecm6T6ujzhmh+MeJcW9wa89PoAz5pvd4zPgN5WJV104mb6S2T1AwNIAaB70JNrLQWhg==",
+ "version": "1.1.9",
+ "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.9.tgz",
+ "integrity": "sha512-cyRxvOEpNHNtchU3Ln9KC/auJgup87llfQpQ+t5ghoC/UhL16SWzbueiCsdTnWmqAWl7LadfuwhlqmtOaqMHdQ==",
"dev": true,
"optional": true,
"peer": true
@@ -23559,9 +23632,9 @@
"dev": true
},
"node_modules/joi": {
- "version": "17.12.1",
- "resolved": "https://registry.npmjs.org/joi/-/joi-17.12.1.tgz",
- "integrity": "sha512-vtxmq+Lsc5SlfqotnfVjlViWfOL9nt/avKNbKYizwf6gsCfq9NYY/ceYRMFD8XDdrjJ9abJyScWmhmIiy+XRtQ==",
+ "version": "17.12.2",
+ "resolved": "https://registry.npmjs.org/joi/-/joi-17.12.2.tgz",
+ "integrity": "sha512-RonXAIzCiHLc8ss3Ibuz45u28GOsWE1UpfDXLbN/9NKbL4tCJf8TWYVKsoYuuh+sAUt7fsSNpA+r2+TBA6Wjmw==",
"dev": true,
"dependencies": {
"@hapi/hoek": "^9.3.0",
@@ -24127,12 +24200,6 @@
"integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==",
"dev": true
},
- "node_modules/lodash.isfunction": {
- "version": "3.0.9",
- "resolved": "https://registry.npmjs.org/lodash.isfunction/-/lodash.isfunction-3.0.9.tgz",
- "integrity": "sha512-AirXNj15uRIMMPihnkInB4i3NHeb4iBtNg9WRWuK2o31S+ePwwNmDPaTL3o7dTJ+VXNZim7rFs4rxN4YU1oUJw==",
- "dev": true
- },
"node_modules/lodash.isplainobject": {
"version": "4.0.6",
"resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz",
@@ -24337,18 +24404,6 @@
"node": ">=0.10.0"
}
},
- "node_modules/map-obj": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz",
- "integrity": "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==",
- "dev": true,
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
"node_modules/map-or-similar": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/map-or-similar/-/map-or-similar-1.5.0.tgz",
@@ -24735,20 +24790,6 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/minimist-options": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz",
- "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==",
- "dev": true,
- "dependencies": {
- "arrify": "^1.0.1",
- "is-plain-obj": "^1.1.0",
- "kind-of": "^6.0.3"
- },
- "engines": {
- "node": ">= 6"
- }
- },
"node_modules/minipass": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz",
@@ -25678,9 +25719,9 @@
}
},
"node_modules/npm-check-updates": {
- "version": "16.14.14",
- "resolved": "https://registry.npmjs.org/npm-check-updates/-/npm-check-updates-16.14.14.tgz",
- "integrity": "sha512-Y3ajS/Ep40jM489rLBdz9jehn/BMil5s9fA4PSr2ZJxxSmtLWCSmRqsI2IEZ9Nb3MTMu8a3s7kBs0l+JbjdkTA==",
+ "version": "16.14.15",
+ "resolved": "https://registry.npmjs.org/npm-check-updates/-/npm-check-updates-16.14.15.tgz",
+ "integrity": "sha512-WH0wJ9j6CP7Azl+LLCxWAYqroT2IX02kRIzgK/fg0rPpMbETgHITWBdOPtrv521xmA3JMgeNsQ62zvVtS/nCmQ==",
"dev": true,
"dependencies": {
"chalk": "^5.3.0",
@@ -27255,9 +27296,9 @@
}
},
"node_modules/postcss": {
- "version": "8.4.33",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.33.tgz",
- "integrity": "sha512-Kkpbhhdjw2qQs2O2DGX+8m5OVqEcbB9HRBvuYM9pgrjEFUg30A9LmXNlTAUj4S9kgtGyrMbTzVjH7E+s5Re2yg==",
+ "version": "8.4.35",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.35.tgz",
+ "integrity": "sha512-u5U8qYpBCpN13BsiEB0CbR1Hhh4Gc0zLFuedrHJKMctHCHAGrMdG0PRM/KErzAL3CU6/eckEtmHNB3x6e3c0vA==",
"dev": true,
"funding": [
{
@@ -28600,9 +28641,9 @@
}
},
"node_modules/prettier": {
- "version": "3.2.4",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.4.tgz",
- "integrity": "sha512-FWu1oLHKCrtpO1ypU6J0SbK2d9Ckwysq6bHj/uaCP26DxrPpppCLQRGVuqAxSTvhF00AcvDRyYrLNW7ocBhFFQ==",
+ "version": "3.2.5",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.5.tgz",
+ "integrity": "sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==",
"dev": true,
"bin": {
"prettier": "bin/prettier.cjs"
@@ -29375,12 +29416,11 @@
"integrity": "sha512-nsO+KSNgo1SbJqJEYRE9ERzo7YtYbou/OqjSQKxV7jcKox7+usiUVZOAC+XnDOABXggQTno0Y1CpVnuWEc1boQ=="
},
"node_modules/react-hook-form": {
- "version": "7.49.3",
- "resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.49.3.tgz",
- "integrity": "sha512-foD6r3juidAT1cOZzpmD/gOKt7fRsDhXXZ0y28+Al1CHgX+AY1qIN9VSIIItXRq1dN68QrRwl1ORFlwjBaAqeQ==",
+ "version": "7.50.1",
+ "resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.50.1.tgz",
+ "integrity": "sha512-3PCY82oE0WgeOgUtIr3nYNNtNvqtJ7BZjsbxh6TnYNbXButaD5WpjOmTjdxZfheuHKR68qfeFnEDVYoSSFPMTQ==",
"engines": {
- "node": ">=18",
- "pnpm": "8"
+ "node": ">=12.22.0"
},
"funding": {
"type": "opencollective",
@@ -29499,9 +29539,9 @@
}
},
"node_modules/react-remove-scroll-bar": {
- "version": "2.3.4",
- "resolved": "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.4.tgz",
- "integrity": "sha512-63C4YQBUt0m6ALadE9XV56hV8BgJWDmmTPY758iIJjfQKt2nYwoUrPk0LXRXcB/yIj82T1/Ixfdpdk68LwIB0A==",
+ "version": "2.3.5",
+ "resolved": "https://registry.npmjs.org/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.5.tgz",
+ "integrity": "sha512-3cqjOqg6s0XbOjWvmasmqHch+RLxIEk2r/70rzGXuz3iIGQsQheEQyqYCBb5EECoD01Vo2SIbDqW4paLeLTASw==",
"dev": true,
"dependencies": {
"react-style-singleton": "^2.2.1",
@@ -30015,135 +30055,6 @@
"node": ">=4"
}
},
- "node_modules/read-pkg-up": {
- "version": "7.0.1",
- "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz",
- "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==",
- "dev": true,
- "dependencies": {
- "find-up": "^4.1.0",
- "read-pkg": "^5.2.0",
- "type-fest": "^0.8.1"
- },
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/read-pkg-up/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==",
- "dev": true,
- "dependencies": {
- "locate-path": "^5.0.0",
- "path-exists": "^4.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/read-pkg-up/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/read-pkg-up/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==",
- "dev": true,
- "dependencies": {
- "p-locate": "^4.1.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/read-pkg-up/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/read-pkg-up/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==",
- "dev": true,
- "dependencies": {
- "p-try": "^2.0.0"
- },
- "engines": {
- "node": ">=6"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/read-pkg-up/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==",
- "dev": true,
- "dependencies": {
- "p-limit": "^2.2.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/read-pkg-up/node_modules/read-pkg": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz",
- "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==",
- "dev": true,
- "dependencies": {
- "@types/normalize-package-data": "^2.4.0",
- "normalize-package-data": "^2.5.0",
- "parse-json": "^5.0.0",
- "type-fest": "^0.6.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/read-pkg-up/node_modules/read-pkg/node_modules/type-fest": {
- "version": "0.6.0",
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz",
- "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==",
- "dev": true,
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/read-pkg-up/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/read-pkg-up/node_modules/type-fest": {
- "version": "0.8.1",
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz",
- "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==",
- "dev": true,
- "engines": {
- "node": ">=8"
- }
- },
"node_modules/read-pkg/node_modules/hosted-git-info": {
"version": "2.8.9",
"resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz",
@@ -30752,15 +30663,18 @@
}
},
"node_modules/resolve-global": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/resolve-global/-/resolve-global-1.0.0.tgz",
- "integrity": "sha512-zFa12V4OLtT5XUX/Q4VLvTfBf+Ok0SPc1FNGM/z9ctUdiU618qwKpWnd0CHs3+RqROfyEg/DhuHbMWYqcgljEw==",
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-global/-/resolve-global-2.0.0.tgz",
+ "integrity": "sha512-gnAQ0Q/KkupGkuiMyX4L0GaBV8iFwlmoXsMtOz+DFTaKmHhOO/dSlP1RMKhpvHv/dh6K/IQkowGJBqUG0NfBUw==",
"dev": true,
"dependencies": {
- "global-dirs": "^0.1.1"
+ "global-directory": "^4.0.1"
},
"engines": {
- "node": ">=8"
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/resolve-pkg-maps": {
@@ -32402,9 +32316,9 @@
}
},
"node_modules/store2": {
- "version": "2.14.2",
- "resolved": "https://registry.npmjs.org/store2/-/store2-2.14.2.tgz",
- "integrity": "sha512-siT1RiqlfQnGqgT/YzXVUNsom9S0H1OX+dpdGN1xkyYATo4I6sep5NmsRD/40s3IIOvlCq6akxkqG82urIZW1w==",
+ "version": "2.14.3",
+ "resolved": "https://registry.npmjs.org/store2/-/store2-2.14.3.tgz",
+ "integrity": "sha512-4QcZ+yx7nzEFiV4BMLnr/pRa5HYzNITX2ri0Zh6sT9EyQHbBHacC6YigllUPU9X3D0f/22QCgfokpKs52YRrUg==",
"dev": true
},
"node_modules/strict-uri-encode": {
@@ -33542,15 +33456,6 @@
"integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==",
"dev": true
},
- "node_modules/through2": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/through2/-/through2-4.0.2.tgz",
- "integrity": "sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==",
- "dev": true,
- "dependencies": {
- "readable-stream": "3"
- }
- },
"node_modules/thunky": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/thunky/-/thunky-1.1.0.tgz",
@@ -33558,9 +33463,9 @@
"dev": true
},
"node_modules/tiny-invariant": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.1.tgz",
- "integrity": "sha512-AD5ih2NlSssTCwsMznbvwMZpJ1cbhkGd2uueNxzv2jDlEeZdU04JQfRnggJQ8DrcVBGjAsCKwFBbDlVNtEMlzw==",
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.3.tgz",
+ "integrity": "sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==",
"dev": true
},
"node_modules/tmpl": {
@@ -33760,15 +33665,6 @@
"integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==",
"dev": true
},
- "node_modules/trim-newlines": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz",
- "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==",
- "dev": true,
- "engines": {
- "node": ">=8"
- }
- },
"node_modules/trim-repeated": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/trim-repeated/-/trim-repeated-1.0.0.tgz",
@@ -34122,6 +34018,18 @@
"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==",
+ "dev": true,
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/unified": {
"version": "9.2.2",
"resolved": "https://registry.npmjs.org/unified/-/unified-9.2.2.tgz",
@@ -34275,12 +34183,12 @@
}
},
"node_modules/unplugin": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/unplugin/-/unplugin-1.6.0.tgz",
- "integrity": "sha512-BfJEpWBu3aE/AyHx8VaNE/WgouoQxgH9baAiH82JjX8cqVyi3uJQstqwD5J+SZxIK326SZIhsSZlALXVBCknTQ==",
+ "version": "1.7.1",
+ "resolved": "https://registry.npmjs.org/unplugin/-/unplugin-1.7.1.tgz",
+ "integrity": "sha512-JqzORDAPxxs8ErLV4x+LL7bk5pk3YlcWqpSNsIkAZj972KzFZLClc/ekppahKkOczGkwIG6ElFgdOgOlK4tXZw==",
"dev": true,
"dependencies": {
- "acorn": "^8.11.2",
+ "acorn": "^8.11.3",
"chokidar": "^3.5.3",
"webpack-sources": "^3.2.3",
"webpack-virtual-modules": "^0.6.1"
diff --git a/package.json b/package.json
index ce3f6f7d..54866c61 100644
--- a/package.json
+++ b/package.json
@@ -42,26 +42,27 @@
},
"devDependencies": {
"@babel/core": "^7.23.9",
- "@babel/eslint-parser": "^7.23.9",
+ "@babel/eslint-parser": "^7.23.10",
+ "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@babel/preset-react": "^7.23.3",
- "@commitlint/cli": "^18.6.0",
- "@commitlint/config-conventional": "^18.6.0",
+ "@commitlint/cli": "^19.0.0",
+ "@commitlint/config-conventional": "^19.0.0",
"@hookform/devtools": "^4.3.1",
"@rollup/plugin-babel": "^5.2.2",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^11.1.0",
"@sheerun/mutationobserver-shim": "^0.3.3",
- "@storybook/addon-actions": "^7.6.10",
- "@storybook/addon-essentials": "^7.6.10",
- "@storybook/addon-links": "^7.6.10",
+ "@storybook/addon-actions": "^7.6.17",
+ "@storybook/addon-essentials": "^7.6.17",
+ "@storybook/addon-links": "^7.6.17",
"@storybook/preset-create-react-app": "^3.1.5",
- "@storybook/react": "^7.6.10",
+ "@storybook/react": "^7.6.17",
"@testing-library/jest-dom": "^5.16.5",
- "@testing-library/react": "^14.1.2",
+ "@testing-library/react": "^14.2.1",
"cross-env": "^7.0.3",
"date-fns": "^2.30.0",
- "eslint": "^8.56.0",
+ "eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard": "^17.1.0",
"eslint-config-standard-react": "^13.0.0",
@@ -75,12 +76,12 @@
"eslint-plugin-standard": "^4.1.0",
"generate-changelog": "^1.8.0",
"gh-pages": "^2.2.0",
- "husky": "^9.0.7",
- "joi": "^17.12.1",
- "npm-check-updates": "^16.14.14",
+ "husky": "^9.0.11",
+ "joi": "^17.12.2",
+ "npm-check-updates": "^16.14.15",
"npm-run-all": "^4.1.5",
- "postcss": "^8.4.33",
- "prettier": "^3.2.4",
+ "postcss": "^8.4.35",
+ "prettier": "^3.2.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "^5.0.1",
@@ -98,7 +99,7 @@
"debounce-promise": "^3.1.2",
"install": "^0.13.0",
"react-datepicker": "^4.23.0",
- "react-hook-form": "^7.49.3",
+ "react-hook-form": "^7.50.1",
"react-markdown": "^5.0.3",
"react-phone-number-input": "^3.3.9",
"react-select": "^5.8.0",
From 2ad934871c657d4182868755aa3206e4f9b2d496 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=8D=C3=B1igo=20Marqu=C3=ADnez=20Prado?=
<25435858+inigomarquinez@users.noreply.github.com>
Date: Tue, 27 Feb 2024 15:18:03 +0100
Subject: [PATCH 02/12] refactor: improve example app to support multiple forms
---
example/.eslintrc.js | 6 +-
example/package-lock.json | 74 ++++++++---
example/package.json | 1 +
example/src/App.jsx | 27 ++++
example/src/error-page.jsx | 17 +++
.../Contact/Contact.test.js} | 7 +-
example/src/{ => forms/Contact}/forms.json | 0
.../src/{App.js => forms/Contact/index.jsx} | 7 +-
example/src/forms/Contact/styles.js | 5 +
example/src/forms/Countries/form-new.json | 27 ++++
example/src/forms/Countries/form-old.json | 27 ++++
example/src/forms/Countries/index.jsx | 92 +++++++++++++
example/src/forms/Countries/styles.js | 9 ++
example/src/index.js | 121 ++++--------------
example/src/styles.js | 20 ---
example/src/theme.js | 94 ++++++++++++++
package-lock.json | 23 ++++
package.json | 2 +
src/Questions/Country/index.js | 1 +
19 files changed, 420 insertions(+), 140 deletions(-)
create mode 100644 example/src/App.jsx
create mode 100644 example/src/error-page.jsx
rename example/src/{App.test.js => forms/Contact/Contact.test.js} (57%)
rename example/src/{ => forms/Contact}/forms.json (100%)
rename example/src/{App.js => forms/Contact/index.jsx} (92%)
create mode 100644 example/src/forms/Contact/styles.js
create mode 100644 example/src/forms/Countries/form-new.json
create mode 100644 example/src/forms/Countries/form-old.json
create mode 100644 example/src/forms/Countries/index.jsx
create mode 100644 example/src/forms/Countries/styles.js
delete mode 100644 example/src/styles.js
create mode 100644 example/src/theme.js
diff --git a/example/.eslintrc.js b/example/.eslintrc.js
index 5848cfd1..d82bc4cc 100644
--- a/example/.eslintrc.js
+++ b/example/.eslintrc.js
@@ -1,4 +1,4 @@
-var OFF = 0,
+const OFF = 0,
WARN = 1,
ERROR = 2
@@ -223,6 +223,8 @@ module.exports = exports = {
'spaced-comment': [WARN, 'always'],
'import/no-duplicates': WARN,
'react/jsx-no-bind': WARN,
- 'wrap-regex': WARN
+ 'wrap-regex': WARN,
+
+ 'no-console': WARN,
}
}
diff --git a/example/package-lock.json b/example/package-lock.json
index 2ab9dd81..687b9aa4 100644
--- a/example/package-lock.json
+++ b/example/package-lock.json
@@ -11,6 +11,7 @@
"react": "file:../node_modules/react",
"react-dom": "file:../node_modules/react-dom",
"react-form-builder": "file:..",
+ "react-router-dom": "^6.22.1",
"react-scripts": "file:../node_modules/react-scripts"
},
"devDependencies": {
@@ -20,13 +21,15 @@
},
"..": {
"name": "@onebeyond/react-form-builder",
- "version": "1.0.1",
+ "version": "1.1.1",
"license": "MIT",
"dependencies": {
+ "countries-list": "^3.0.6",
"debounce-promise": "^3.1.2",
+ "i18n-iso-countries": "^7.10.0",
"install": "^0.13.0",
"react-datepicker": "^4.23.0",
- "react-hook-form": "^7.49.3",
+ "react-hook-form": "^7.50.1",
"react-markdown": "^5.0.3",
"react-phone-number-input": "^3.3.9",
"react-select": "^5.8.0",
@@ -36,26 +39,27 @@
},
"devDependencies": {
"@babel/core": "^7.23.9",
- "@babel/eslint-parser": "^7.23.9",
+ "@babel/eslint-parser": "^7.23.10",
+ "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@babel/preset-react": "^7.23.3",
- "@commitlint/cli": "^18.6.0",
- "@commitlint/config-conventional": "^18.6.0",
+ "@commitlint/cli": "^19.0.0",
+ "@commitlint/config-conventional": "^19.0.0",
"@hookform/devtools": "^4.3.1",
"@rollup/plugin-babel": "^5.2.2",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^11.1.0",
"@sheerun/mutationobserver-shim": "^0.3.3",
- "@storybook/addon-actions": "^7.6.10",
- "@storybook/addon-essentials": "^7.6.10",
- "@storybook/addon-links": "^7.6.10",
+ "@storybook/addon-actions": "^7.6.17",
+ "@storybook/addon-essentials": "^7.6.17",
+ "@storybook/addon-links": "^7.6.17",
"@storybook/preset-create-react-app": "^3.1.5",
- "@storybook/react": "^7.6.10",
+ "@storybook/react": "^7.6.17",
"@testing-library/jest-dom": "^5.16.5",
- "@testing-library/react": "^14.1.2",
+ "@testing-library/react": "^14.2.1",
"cross-env": "^7.0.3",
"date-fns": "^2.30.0",
- "eslint": "^8.56.0",
+ "eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard": "^17.1.0",
"eslint-config-standard-react": "^13.0.0",
@@ -69,12 +73,12 @@
"eslint-plugin-standard": "^4.1.0",
"generate-changelog": "^1.8.0",
"gh-pages": "^2.2.0",
- "husky": "^9.0.7",
- "joi": "^17.12.1",
- "npm-check-updates": "^16.14.14",
+ "husky": "^9.0.11",
+ "joi": "^17.12.2",
+ "npm-check-updates": "^16.14.15",
"npm-run-all": "^4.1.5",
- "postcss": "^8.4.33",
- "prettier": "^3.2.4",
+ "postcss": "^8.4.35",
+ "prettier": "^3.2.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "^5.0.1",
@@ -999,6 +1003,14 @@
"node": ">=12"
}
},
+ "node_modules/@remix-run/router": {
+ "version": "1.15.1",
+ "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.15.1.tgz",
+ "integrity": "sha512-zcU0gM3z+3iqj8UX45AmWY810l3oUmXM7uH4dt5xtzvMhRtYVhKGOmgOd1877dOPPepfCjUv57w+syamWIYe7w==",
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
"node_modules/@sigstore/bundle": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@sigstore/bundle/-/bundle-1.1.0.tgz",
@@ -4190,6 +4202,36 @@
"resolved": "..",
"link": true
},
+ "node_modules/react-router": {
+ "version": "6.22.1",
+ "resolved": "https://registry.npmjs.org/react-router/-/react-router-6.22.1.tgz",
+ "integrity": "sha512-0pdoRGwLtemnJqn1K0XHUbnKiX0S4X8CgvVVmHGOWmofESj31msHo/1YiqcJWK7Wxfq2a4uvvtS01KAQyWK/CQ==",
+ "dependencies": {
+ "@remix-run/router": "1.15.1"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ },
+ "peerDependencies": {
+ "react": ">=16.8"
+ }
+ },
+ "node_modules/react-router-dom": {
+ "version": "6.22.1",
+ "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.22.1.tgz",
+ "integrity": "sha512-iwMyyyrbL7zkKY7MRjOVRy+TMnS/OPusaFVxM2P11x9dzSzGmLsebkCvYirGq0DWB9K9hOspHYYtDz33gE5Duw==",
+ "dependencies": {
+ "@remix-run/router": "1.15.1",
+ "react-router": "6.22.1"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ },
+ "peerDependencies": {
+ "react": ">=16.8",
+ "react-dom": ">=16.8"
+ }
+ },
"node_modules/react-scripts": {
"resolved": "../node_modules/react-scripts",
"link": true
diff --git a/example/package.json b/example/package.json
index 3caeafef..3a9b2135 100644
--- a/example/package.json
+++ b/example/package.json
@@ -14,6 +14,7 @@
"react": "file:../node_modules/react",
"react-dom": "file:../node_modules/react-dom",
"react-form-builder": "file:..",
+ "react-router-dom": "^6.22.1",
"react-scripts": "file:../node_modules/react-scripts"
},
"devDependencies": {
diff --git a/example/src/App.jsx b/example/src/App.jsx
new file mode 100644
index 00000000..a338d81f
--- /dev/null
+++ b/example/src/App.jsx
@@ -0,0 +1,27 @@
+import React from 'react'
+import { Link, Outlet } from 'react-router-dom'
+
+import 'react-datepicker/dist/react-datepicker.css'
+import 'react-phone-number-input/style.css'
+
+const App = () => {
+ return (
+
+
+
+
+ Contact form
+
+
+ Countries form
+
+
+
+
+
+
+
+ )
+}
+
+export default App
diff --git a/example/src/error-page.jsx b/example/src/error-page.jsx
new file mode 100644
index 00000000..935bb597
--- /dev/null
+++ b/example/src/error-page.jsx
@@ -0,0 +1,17 @@
+import React from 'react'
+import { useRouteError } from 'react-router-dom'
+
+export default function ErrorPage() {
+ const error = useRouteError();
+ // console.error(error);
+
+ return (
+
+
Oops!
+
Sorry, an unexpected error has occurred.
+
+ {error.statusText || error.message}
+
+
+ );
+}
\ No newline at end of file
diff --git a/example/src/App.test.js b/example/src/forms/Contact/Contact.test.js
similarity index 57%
rename from example/src/App.test.js
rename to example/src/forms/Contact/Contact.test.js
index 5120ebb5..f25dcc49 100644
--- a/example/src/App.test.js
+++ b/example/src/forms/Contact/Contact.test.js
@@ -1,9 +1,10 @@
import React from 'react'
import ReactDOM from 'react-dom/client'
-import App from './App'
-it('renders without crashing', () => {
+import Contact from './index'
+
+it.skip('renders without crashing', () => {
const div = document.createElement('div')
- ReactDOM.createRoot( , div)
+ ReactDOM.createRoot( , div)
ReactDOM.unmountComponentAtNode(div)
})
diff --git a/example/src/forms.json b/example/src/forms/Contact/forms.json
similarity index 100%
rename from example/src/forms.json
rename to example/src/forms/Contact/forms.json
diff --git a/example/src/App.js b/example/src/forms/Contact/index.jsx
similarity index 92%
rename from example/src/App.js
rename to example/src/forms/Contact/index.jsx
index ecb96c05..cc93d51d 100644
--- a/example/src/App.js
+++ b/example/src/forms/Contact/index.jsx
@@ -12,12 +12,9 @@ import {
import forms from './forms.json'
import styles from './styles.js'
-import 'react-datepicker/dist/react-datepicker.css'
-import 'react-phone-number-input/style.css'
-
const sleep = ms => new Promise(resolve => setTimeout(resolve, ms));
-const App = () => {
+const Contact = () => {
const [modalText, setModalText] = useState('')
const [show, setShow] = useState(false)
const [isLoading, setLoading] = useState(false)
@@ -71,4 +68,4 @@ const App = () => {
)
}
-export default App
+export default Contact
diff --git a/example/src/forms/Contact/styles.js b/example/src/forms/Contact/styles.js
new file mode 100644
index 00000000..0ef595e3
--- /dev/null
+++ b/example/src/forms/Contact/styles.js
@@ -0,0 +1,5 @@
+export default {
+ container: {
+ padding: '30px 30px'
+ }
+}
diff --git a/example/src/forms/Countries/form-new.json b/example/src/forms/Countries/form-new.json
new file mode 100644
index 00000000..aa03c6dc
--- /dev/null
+++ b/example/src/forms/Countries/form-new.json
@@ -0,0 +1,27 @@
+{
+ "name": "Form with new Country question format",
+ "title": "Form with new Country question format",
+ "questions": [
+ {
+ "name": "Country",
+ "placeholder": "Select your country",
+ "priorityOptions": [
+ "GB"
+ ],
+ "type": "country",
+ "label": "Current country question",
+ "errorMessages": {
+ "required": "This field is required"
+ },
+ "registerConfig": {
+ "required": true
+ }
+ }
+ ],
+ "callForAction": [
+ {
+ "caption": "Enter",
+ "type": "submit"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/example/src/forms/Countries/form-old.json b/example/src/forms/Countries/form-old.json
new file mode 100644
index 00000000..d8868e39
--- /dev/null
+++ b/example/src/forms/Countries/form-old.json
@@ -0,0 +1,27 @@
+{
+ "name": "Form with old Country question format",
+ "title": "Form with old Country question format",
+ "questions": [
+ {
+ "name": "Country",
+ "placeholder": "Select your country",
+ "priorityOptions": [
+ "GB"
+ ],
+ "type": "country",
+ "label": "Current country question",
+ "errorMessages": {
+ "required": "This field is required"
+ },
+ "registerConfig": {
+ "required": true
+ }
+ }
+ ],
+ "callForAction": [
+ {
+ "caption": "Enter",
+ "type": "submit"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/example/src/forms/Countries/index.jsx b/example/src/forms/Countries/index.jsx
new file mode 100644
index 00000000..7e5a797e
--- /dev/null
+++ b/example/src/forms/Countries/index.jsx
@@ -0,0 +1,92 @@
+/* eslint-disable */
+/** @jsxRuntime classic */
+/** @jsx jsx */
+import { jsx } from 'theme-ui'
+import React, { useState } from 'react'
+import {
+ Label,
+ Modal,
+ FormBuilder
+} from 'react-form-builder'
+
+import oldForm from './form-old.json'
+import newForm from './form-new.json'
+import styles from './styles.js'
+
+const sleep = ms => new Promise(resolve => setTimeout(resolve, ms));
+
+const CountriesForm = () => {
+ const [modalText, setModalText] = useState('')
+ const [show, setShow] = useState(false)
+ const [isLoading, setLoading] = useState(false)
+ const [formErrors, setFormErrors] = useState()
+
+ function onLinkOpen(name) {
+ setModalText(forms.contact.textToShow[name])
+ setShow(true)
+ }
+
+ const onSubmitForm = async (data) => {
+ console.log('Submitting the form...')
+
+ // Simulate loading
+ setLoading(true)
+ await sleep(5000);
+ setLoading(false)
+
+ alert(
+ `You have submitted your form correctly: ${'\n'} ${JSON.stringify(
+ data,
+ null,
+ 2
+ )}`
+ )
+ }
+
+ return (
+
+
+
+ {oldForm.title}
+
+ setShow(false)}
+ show={show}
+ modalText={modalText}
+ />
+
+
+
+
+ {newForm.title}
+
+ setShow(false)}
+ show={show}
+ modalText={modalText}
+ />
+
+
+
+ )
+}
+
+export default CountriesForm
diff --git a/example/src/forms/Countries/styles.js b/example/src/forms/Countries/styles.js
new file mode 100644
index 00000000..c92c5231
--- /dev/null
+++ b/example/src/forms/Countries/styles.js
@@ -0,0 +1,9 @@
+export default {
+ container: {
+ padding: '30px 30px',
+ display: 'flex',
+ },
+ formContainer: {
+ padding: '30px 30px',
+ }
+}
diff --git a/example/src/index.js b/example/src/index.js
index 2660d421..52d7df0f 100644
--- a/example/src/index.js
+++ b/example/src/index.js
@@ -2,107 +2,40 @@
/** @jsx jsx */
import React from 'react'
import ReactDOM from 'react-dom/client'
-import App from './App'
import { jsx, ThemeProvider, merge } from 'theme-ui'
import { ExampleTheme } from 'react-form-builder'
+import {
+ createBrowserRouter,
+ RouterProvider,
+} from "react-router-dom"
-const theme = {
- buttons: {
- primary: {
- color: 'red'
- },
- customButton: {
- color: 'green'
- }
- },
- select: {
- backgroundColor: 'red',
- option: {
- color: 'purple',
- fontSize: '30px'
- },
- control: {
- backgroundColor: 'gray',
- borderRadius: '20px'
- }
- },
- forms: {
- container: {
- contact: {
- display: 'grid',
- backgroundColor: 'green',
- gridTemplateColumns: '1fr 1fr'
- }
- },
- multipleImageCheckboxes: {
- contact: {
- display: 'grid',
- gridTemplateColumns: '1fr 1fr',
- label: {
- div: {
- backgroundColor: '#fff',
- border: '1px solid #ccc',
- borderRadius: '50%',
- cursor: 'pointer',
- height: '28px',
- left: '0',
- width: '28px',
- svg: {
- visibility: 'hidden'
- }
- }
- }
- }
- },
- selectContainer: {
- gridColumnStart: '1',
- gridColumnEnd: '3'
- },
- countryContainer: {
- gridColumnStart: '1',
- gridColumnEnd: '3'
- },
- inputContainer: {
- gridColumnStart: '1',
- gridColumnEnd: '3'
- },
- autoCompleteContainer: {
- gridColumnStart: '1',
- gridColumnEnd: '3'
- },
- selectImagesContainer: {
- '>div': {
- display: 'flex',
- maxWidth: '100%',
- flexWrap: 'wrap',
- gap: ['2px', '10px'],
- justifyContent: 'center',
- alignItems: 'center'
- }
- },
- selectImagesInput: {
- svg: {
- width: '10px',
- ':nth-of-type(2)': {
- color: 'transparent'
- },
- ':nth-of-type(1)': {
- color: 'transparent'
- }
+import App from './App'
+import Contact from './forms/Contact'
+import Countries from './forms/Countries'
+import ErrorPage from './error-page'
+import theme from './theme'
+
+const router = createBrowserRouter([
+ {
+ path: '/',
+ element: ,
+ errorElement: ,
+ children: [
+ {
+ path: 'contact',
+ element: ,
+ },
+ {
+ path: 'countries',
+ element: ,
},
- 'input:focus ~ svg': {
- color: 'transparent',
- backgroundColor: 'transparent'
- }
- }
+ ],
},
- label: {
- color: 'brown'
- }
-}
+]);
+
const root = ReactDOM.createRoot(document.getElementById('root'))
root.render(
-
+
)
diff --git a/example/src/styles.js b/example/src/styles.js
deleted file mode 100644
index fe472f48..00000000
--- a/example/src/styles.js
+++ /dev/null
@@ -1,20 +0,0 @@
-export default {
- container: {
- padding: '30px 30px'
- },
- fullWidth: {
- gridColumnStart: '1',
- gridColumnEnd: '3'
- },
- selectOption: {
- background: 'bg',
- color: 'black'
- },
- markDown: {
- fontFamily: 'regular',
- width: ['90%', '95%', '95%'],
- p: {
- margin: 0
- }
- }
-}
diff --git a/example/src/theme.js b/example/src/theme.js
new file mode 100644
index 00000000..5d1ddc58
--- /dev/null
+++ b/example/src/theme.js
@@ -0,0 +1,94 @@
+export default {
+ buttons: {
+ primary: {
+ color: 'red'
+ },
+ customButton: {
+ color: 'green'
+ }
+ },
+ select: {
+ backgroundColor: 'red',
+ option: {
+ color: 'purple',
+ fontSize: '30px'
+ },
+ control: {
+ backgroundColor: 'gray',
+ borderRadius: '20px'
+ }
+ },
+ forms: {
+ container: {
+ contact: {
+ display: 'grid',
+ backgroundColor: 'green',
+ gridTemplateColumns: '1fr 1fr'
+ }
+ },
+ multipleImageCheckboxes: {
+ contact: {
+ display: 'grid',
+ gridTemplateColumns: '1fr 1fr',
+ label: {
+ div: {
+ backgroundColor: '#fff',
+ border: '1px solid #ccc',
+ borderRadius: '50%',
+ cursor: 'pointer',
+ height: '28px',
+ left: '0',
+ width: '28px',
+ svg: {
+ visibility: 'hidden'
+ }
+ }
+ }
+ }
+ },
+ selectContainer: {
+ gridColumnStart: '1',
+ gridColumnEnd: '3'
+ },
+ countryContainer: {
+ gridColumnStart: '1',
+ gridColumnEnd: '3'
+ },
+ inputContainer: {
+ gridColumnStart: '1',
+ gridColumnEnd: '3'
+ },
+ autoCompleteContainer: {
+ gridColumnStart: '1',
+ gridColumnEnd: '3'
+ },
+ selectImagesContainer: {
+ '>div': {
+ display: 'flex',
+ maxWidth: '100%',
+ flexWrap: 'wrap',
+ gap: ['2px', '10px'],
+ justifyContent: 'center',
+ alignItems: 'center'
+ }
+ },
+ selectImagesInput: {
+ svg: {
+ width: '10px',
+ ':nth-of-type(2)': {
+ color: 'transparent'
+ },
+ ':nth-of-type(1)': {
+ color: 'transparent'
+ }
+ },
+ 'input:focus ~ svg': {
+ color: 'transparent',
+ backgroundColor: 'transparent'
+ }
+ }
+ },
+ label: {
+ color: 'brown'
+ }
+}
\ No newline at end of file
diff --git a/package-lock.json b/package-lock.json
index 06e47333..74e87fcd 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -9,7 +9,9 @@
"version": "1.1.1",
"license": "MIT",
"dependencies": {
+ "countries-list": "^3.0.6",
"debounce-promise": "^3.1.2",
+ "i18n-iso-countries": "^7.10.0",
"install": "^0.13.0",
"react-datepicker": "^4.23.0",
"react-hook-form": "^7.50.1",
@@ -13506,6 +13508,11 @@
"js-yaml": "bin/js-yaml.js"
}
},
+ "node_modules/countries-list": {
+ "version": "3.0.6",
+ "resolved": "https://registry.npmjs.org/countries-list/-/countries-list-3.0.6.tgz",
+ "integrity": "sha512-BCJODHTSRMIxS0W80NZw8bC7x6/WS8Tf4FdtFrEbW0FONBbqTAzOrKNG06UEMgLGxOZpOJddiVEdCztKLpmPxA=="
+ },
"node_modules/country-flag-icons": {
"version": "1.5.9",
"resolved": "https://registry.npmjs.org/country-flag-icons/-/country-flag-icons-1.5.9.tgz",
@@ -14519,6 +14526,11 @@
"integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
"dev": true
},
+ "node_modules/diacritics": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/diacritics/-/diacritics-1.3.0.tgz",
+ "integrity": "sha512-wlwEkqcsaxvPJML+rDh/2iS824jbREk6DUMUKkEaSlxdYHeS43cClJtsWglvw2RfeXGm6ohKDqsXteJ5sP5enA=="
+ },
"node_modules/didyoumean": {
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz",
@@ -18448,6 +18460,17 @@
"url": "https://github.com/sponsors/typicode"
}
},
+ "node_modules/i18n-iso-countries": {
+ "version": "7.10.0",
+ "resolved": "https://registry.npmjs.org/i18n-iso-countries/-/i18n-iso-countries-7.10.0.tgz",
+ "integrity": "sha512-Y4wkIS2MzYk7cvaV665qcHpBUK4FaMcAhSfsggu9SPV9VpWvmH8NklofWvPPFWG1ZXmxqZ0Ubgr+ZtqddxG4ag==",
+ "dependencies": {
+ "diacritics": "1.3.0"
+ },
+ "engines": {
+ "node": ">= 12"
+ }
+ },
"node_modules/iconv-lite": {
"version": "0.6.3",
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",
diff --git a/package.json b/package.json
index 54866c61..8bdbb65e 100644
--- a/package.json
+++ b/package.json
@@ -96,7 +96,9 @@
"dist"
],
"dependencies": {
+ "countries-list": "^3.0.6",
"debounce-promise": "^3.1.2",
+ "i18n-iso-countries": "^7.10.0",
"install": "^0.13.0",
"react-datepicker": "^4.23.0",
"react-hook-form": "^7.50.1",
diff --git a/src/Questions/Country/index.js b/src/Questions/Country/index.js
index d7be8e5f..c9ca66c5 100644
--- a/src/Questions/Country/index.js
+++ b/src/Questions/Country/index.js
@@ -87,6 +87,7 @@ const QuestionCountry = ({
))
}
+
const options = question.region
? getRegionOptions(watch('Country').label)
: getCountriesOptions(question.placeholder, countryAndRegions)
From 77293f88f6244d6fb50c63fced4a9cd24665253c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=8D=C3=B1igo=20Marqu=C3=ADnez=20Prado?=
<25435858+inigomarquinez@users.noreply.github.com>
Date: Tue, 27 Feb 2024 20:22:55 +0100
Subject: [PATCH 03/12] feat(wip): new country question with countries enriched
data
---
example/src/forms/Countries/form-new.json | 4 +-
example/src/forms/Countries/form-old.json | 2 +-
.../CountryNew/__tests__/country.test.js | 312 +++++
src/Questions/CountryNew/country.stories.js | 224 +++
.../CountryNew/data/countryAndRegion.js | 1247 +++++++++++++++++
src/Questions/CountryNew/data/de.js | 319 +++++
src/Questions/CountryNew/data/es.js | 315 +++++
src/Questions/CountryNew/data/fr.js | 331 +++++
src/Questions/CountryNew/index.js | 149 ++
src/builder.js | 19 +-
10 files changed, 2918 insertions(+), 4 deletions(-)
create mode 100644 src/Questions/CountryNew/__tests__/country.test.js
create mode 100644 src/Questions/CountryNew/country.stories.js
create mode 100644 src/Questions/CountryNew/data/countryAndRegion.js
create mode 100644 src/Questions/CountryNew/data/de.js
create mode 100644 src/Questions/CountryNew/data/es.js
create mode 100644 src/Questions/CountryNew/data/fr.js
create mode 100644 src/Questions/CountryNew/index.js
diff --git a/example/src/forms/Countries/form-new.json b/example/src/forms/Countries/form-new.json
index aa03c6dc..14281c53 100644
--- a/example/src/forms/Countries/form-new.json
+++ b/example/src/forms/Countries/form-new.json
@@ -3,12 +3,12 @@
"title": "Form with new Country question format",
"questions": [
{
- "name": "Country",
+ "name": "country",
"placeholder": "Select your country",
"priorityOptions": [
"GB"
],
- "type": "country",
+ "type": "country_new",
"label": "Current country question",
"errorMessages": {
"required": "This field is required"
diff --git a/example/src/forms/Countries/form-old.json b/example/src/forms/Countries/form-old.json
index d8868e39..89299b37 100644
--- a/example/src/forms/Countries/form-old.json
+++ b/example/src/forms/Countries/form-old.json
@@ -3,7 +3,7 @@
"title": "Form with old Country question format",
"questions": [
{
- "name": "Country",
+ "name": "country",
"placeholder": "Select your country",
"priorityOptions": [
"GB"
diff --git a/src/Questions/CountryNew/__tests__/country.test.js b/src/Questions/CountryNew/__tests__/country.test.js
new file mode 100644
index 00000000..0916f4cc
--- /dev/null
+++ b/src/Questions/CountryNew/__tests__/country.test.js
@@ -0,0 +1,312 @@
+import React from 'react'
+import {
+ cleanup,
+ getByText,
+ screen,
+ render,
+ fireEvent,
+ renderHook
+} from '@testing-library/react'
+import QuestionCountry from '../'
+import selectEvent from 'react-select-event'
+import { useForm } from 'react-hook-form'
+
+import MutationObserver from '@sheerun/mutationobserver-shim'
+window.MutationObserver = MutationObserver
+
+afterEach(cleanup)
+
+const question = {
+ name: 'country_of_residence',
+ type: 'country',
+ label: 'This is the label of the country select',
+ placeholder: 'Please select an option ^^',
+ priorityOptions: ['GB', 'ES'],
+ errorMessages: {
+ required: 'This field is required'
+ }
+}
+
+const customListCountries = [
+ { cn: 'MyOwnCountry1', cs: 'MC1' },
+ { cn: 'MyOwnCountry2', cs: 'MC2' },
+ { cn: 'MyOwnCountry3', cs: 'MC3' },
+ { cn: 'MyOwnCountry4', cs: 'MC4' }
+]
+
+const { result } = renderHook(() => useForm())
+const formMethods = result.current
+
+const setup = (customListCountries) => {
+ const renderComponent = render(
+
+ )
+
+ const countryComponent = renderComponent.getByTestId('question-country')
+ const placeholderComponent = renderComponent.getByText(
+ 'Please select an option ^^'
+ )
+
+ return { countryComponent, placeholderComponent }
+}
+
+test('check the placeholder text', () => {
+ const { countryComponent } = setup()
+ getByText(countryComponent, 'Please select an option ^^')
+})
+
+test('Country label', () => {
+ const { countryComponent } = setup()
+ getByText(countryComponent, 'This is the label of the country select')
+})
+
+test('change value of select', async () => {
+ const question = {
+ name: 'country_of_residence',
+ type: 'country',
+ label: 'This is the label of the country select',
+ placeholder: 'Please select an option ^^',
+ priorityOptions: ['ES'],
+ errorMessages: {
+ required: 'This field is required'
+ }
+ }
+ const { getByText } = render(
+
+ )
+ const select = getByText('Please select an option ^^')
+
+ await selectEvent.openMenu(select)
+ fireEvent.keyDown(select, { key: 'Enter', code: 13 })
+ expect(screen.getByText('Spain'))
+})
+
+test('sort country list by default', async () => {
+ const question = {
+ name: 'country_of_residence',
+ type: 'country',
+ label: 'This is the label of the country select',
+ placeholder: 'Please select an option ^^',
+ errorMessages: {
+ required: 'This field is required'
+ }
+ }
+
+ const { getByText } = render(
+
+ )
+
+ const select = getByText('Please select an option ^^')
+
+ await selectEvent.openMenu(select)
+ fireEvent.keyDown(select, { key: 'Enter', code: 13 })
+ expect(screen.getByText('Afghanistan'))
+})
+
+test('handle country priority order', async () => {
+ const question = {
+ name: 'country_of_residence',
+ type: 'country',
+ label: 'This is the label of the country select',
+ placeholder: 'Please select an option ^^',
+ priorityOptions: ['GB', 'ES'],
+ errorMessages: {
+ required: 'This field is required'
+ }
+ }
+
+ const { getByText } = render(
+
+ )
+
+ const select = getByText('Please select an option ^^')
+
+ await selectEvent.openMenu(select)
+ fireEvent.keyDown(select, { key: 'Enter', code: 13 })
+ expect(screen.getByText('United Kingdom'))
+})
+
+test('check all the countries are rendered', async () => {
+ const { placeholderComponent } = setup(customListCountries)
+
+ await selectEvent.openMenu(placeholderComponent)
+ for (let i = 0; i < customListCountries.length; i++) {
+ expect(screen.getByText('MyOwnCountry' + (i + 1)))
+ }
+})
+
+test('label tag is not displayed when label value is null', () => {
+ const questionNoLabel = { ...question }
+ delete questionNoLabel.label
+ render( )
+
+ expect(!screen.queryByTestId('country-label'))
+})
+
+test('renders a country list in spanish', async () => {
+ const data = {
+ language: 'es',
+ select: 'España'
+ }
+ const question = {
+ name: 'country_of_residence',
+ type: 'country',
+ label: 'This is the label of the country select',
+ placeholder: 'Please select an option ^^',
+ priorityOptions: ['ES'],
+ errorMessages: {
+ required: 'This field is required'
+ }
+ }
+
+ const { getByText } = render(
+
+ )
+
+ const select = getByText('Please select an option ^^')
+
+ await selectEvent.openMenu(select)
+ fireEvent.keyDown(select, { key: 'Enter', code: 13 })
+ expect(screen.getByText(data.select))
+})
+
+test('renders a country list in french', async () => {
+ const data = {
+ language: 'fr',
+ select: 'Espagne'
+ }
+
+ const question = {
+ name: 'country_of_residence',
+ type: 'country',
+ label: 'This is the label of the country select',
+ placeholder: 'Please select an option ^^',
+ priorityOptions: ['ES'],
+ errorMessages: {
+ required: 'This field is required'
+ }
+ }
+
+ const { getByText } = render(
+
+ )
+
+ const select = getByText('Please select an option ^^')
+
+ await selectEvent.openMenu(select)
+ fireEvent.keyDown(select, { key: 'Enter', code: 13 })
+ expect(screen.getByText(data.select))
+})
+
+test('renders a country list in deusche', async () => {
+ const data = {
+ language: 'de',
+ select: 'Spanien'
+ }
+ const question = {
+ name: 'country_of_residence',
+ type: 'country',
+ label: 'This is the label of the country select',
+ placeholder: 'Please select an option ^^',
+ priorityOptions: ['ES'],
+ errorMessages: {
+ required: 'This field is required'
+ }
+ }
+
+ const { getByText } = render(
+
+ )
+
+ const select = getByText('Please select an option ^^')
+
+ await selectEvent.openMenu(select)
+ fireEvent.keyDown(select, { key: 'Enter', code: 13 })
+ expect(screen.getByText(data.select))
+})
+
+test('renders a fallback country list when the language is not supported', async () => {
+ const data = {
+ language: 'qwerty',
+ select: 'Spain'
+ }
+ const question = {
+ name: 'country_of_residence',
+ type: 'country',
+ label: 'This is the label of the country select',
+ placeholder: 'Please select an option ^^',
+ priorityOptions: ['ES'],
+ errorMessages: {
+ required: 'This field is required'
+ }
+ }
+
+ const { getByText } = render(
+
+ )
+
+ const select = getByText('Please select an option ^^')
+
+ await selectEvent.openMenu(select)
+ fireEvent.keyDown(select, { key: 'Enter', code: 13 })
+ expect(screen.getByText(data.select))
+})
+
+test('show an error message', () => {
+ const { getByText } = render(
+
+ )
+ expect(getByText(question.errorMessages.required)).toBeTruthy()
+})
+
+test('Option values are country names (instead of country codes) if "returnCountryCode" is true', async () => {
+ const question = {
+ name: 'country_of_residence',
+ type: 'country',
+ label: 'This is the label of the country select',
+ placeholder: 'Please select an option ^^',
+ priorityOptions: ['ES'],
+ errorMessages: {
+ required: 'This field is required'
+ },
+ returnCountryCode: true
+ }
+ const { getByText } = render(
+
+ )
+ const select = getByText('Please select an option ^^')
+ await selectEvent.select(select, 'Spain')
+ expect(screen.getByText('Spain'))
+})
diff --git a/src/Questions/CountryNew/country.stories.js b/src/Questions/CountryNew/country.stories.js
new file mode 100644
index 00000000..0a80395e
--- /dev/null
+++ b/src/Questions/CountryNew/country.stories.js
@@ -0,0 +1,224 @@
+import React from 'react'
+import Country from '.'
+
+export default {
+ title: 'Question/Country',
+ component: Country,
+ argTypes: {
+ name: {
+ type: { name: 'string', required: true },
+ description: 'Name of the country component',
+ table: {
+ type: { summary: 'string' }
+ }
+ },
+ isFullWidth: {
+ type: { name: 'boolean' },
+ description:
+ 'Define if the field takes all the available width in the grid or not',
+ table: {
+ type: { summary: 'boolean' },
+ defaultValue: { summary: false }
+ }
+ },
+ label: {
+ type: { name: 'string' },
+ description:
+ 'Text shown with the select. This text can be written in markdown style',
+ table: {
+ type: { summary: 'string' }
+ }
+ },
+ placeholder: {
+ type: { name: 'string' },
+ description: 'The text that will be shown as placeholder in the select',
+ table: {
+ type: { summary: 'string' }
+ }
+ },
+ priorityOptions: {
+ type: { name: 'Array' },
+ description:
+ 'An array of Strings with the name(s) of the countries that you want to be shown the first in the country list',
+ table: {
+ type: { summary: 'Array' }
+ }
+ },
+ language: {
+ type: { name: 'string' },
+ description:
+ 'An string with the language shortcode in which you want to display the country names opt: es,en,fr,de',
+ table: {
+ type: { summary: 'string' },
+ defaultValue: { summary: 'en' }
+ }
+ },
+ countryAndRegionsData: {
+ type: { name: 'object' },
+ description:
+ 'An object or array of objects with the acronym(s) and the names of the countries that you want to be shown in the select.',
+ table: {
+ type: {
+ summary: 'json'
+ },
+ defaultValue: { summary: '[]' },
+ category: 'countryAndRegionsData'
+ }
+ },
+ countryName: {
+ type: { name: 'string' },
+ description: 'The name of the country',
+ table: {
+ type: { summary: 'string' },
+ category: 'countryAndRegionsData'
+ }
+ },
+ countryShortCode: {
+ type: { name: 'string' },
+ description: 'The code/shortcut for the country',
+ table: {
+ type: { summary: 'string' },
+ category: 'countryAndRegionsData'
+ }
+ },
+ component: {
+ description: 'Customization of the country select',
+ table: {
+ type: { summary: 'func component' },
+ defaultValue: { summary: '() => {}' }
+ }
+ },
+ errorMessages: {
+ description: '',
+ table: {
+ type: { summary: 'json' },
+ category: 'errorMessages'
+ }
+ },
+ requiredError: {
+ name: 'required',
+ description:
+ 'error message to display on submit if the country is not selected',
+ table: {
+ type: { summary: 'string' },
+ category: 'errorMessages'
+ }
+ },
+ registerConfig: {
+ description: '',
+ table: {
+ type: { summary: 'json' },
+ category: 'registerConfig'
+ }
+ },
+ required: {
+ description: 'Define if the country select is required or not',
+ table: {
+ type: { summary: 'boolean' },
+ category: 'registerConfig',
+ defaultValue: { summary: false }
+ }
+ }
+ }
+}
+
+const question = {
+ name: 'country_of_residence',
+ label: 'This is the label of the country select',
+ placeholder: 'Please select an option ^^',
+ errorMessages: {
+ required: 'This field is required'
+ },
+ registerConfig: {
+ required: false
+ }
+}
+
+const customListCountries = [
+ { countryName: 'MyOwnCountry1', countryShortCode: 'MC1' },
+ { countryName: 'MyOwnCountry2', countryShortCode: 'MC2' },
+ { countryName: 'MyOwnCountry3', countryShortCode: 'MC3' },
+ { countryName: 'MyOwnCountry4', countryShortCode: 'MC4' }
+]
+
+const customListCountryQst = { ...question }
+customListCountryQst.priorityOptions = ['GB', 'ES']
+
+const Template = (args) => (
+ ({}),
+ formState: { errors: {} },
+ register: () => {},
+ setValue: () => {}
+ }}
+ />
+)
+
+const errorTemplate = (args) => (
+ ({}),
+ formState: {
+ errors: {
+ [question.name]: {
+ type: 'required'
+ }
+ }
+ },
+ register: () => {},
+ setValue: () => {}
+ }}
+ />
+)
+
+const customOrderTemplate = (args) => (
+ ({}),
+ formState: { errors: {} },
+ register: () => {},
+ setValue: () => {}
+ }}
+ />
+)
+
+const customListCountriesTemplate = (args) => (
+ ({}),
+ formState: { errors: {} },
+ register: () => {},
+ setValue: () => {}
+ }}
+ />
+)
+
+const idiomChangedTemplate = (args) => (
+ ({}),
+ formState: { errors: {} },
+ register: () => {},
+ setValue: () => {}
+ }}
+ />
+)
+export const defaultCountry = Template.bind({})
+export const errorCountry = errorTemplate.bind({})
+export const customOrderCountries = customOrderTemplate.bind({})
+export const customListCountry = customListCountriesTemplate.bind({})
+export const idiomEsCountry = idiomChangedTemplate.bind({})
+
+defaultCountry.args = question
+errorCountry.args = question
+customOrderCountries.args = customListCountryQst
+customListCountry.args = question
+idiomEsCountry.args = question
diff --git a/src/Questions/CountryNew/data/countryAndRegion.js b/src/Questions/CountryNew/data/countryAndRegion.js
new file mode 100644
index 00000000..67041267
--- /dev/null
+++ b/src/Questions/CountryNew/data/countryAndRegion.js
@@ -0,0 +1,1247 @@
+export default [
+ {
+ cn: 'Afghanistan',
+ cs: 'AF',
+ value: 'afghanistan'
+ },
+ {
+ cn: 'Åland Islands',
+ cs: 'AX',
+ value: 'åland islands'
+ },
+ {
+ cn: 'Albania',
+ cs: 'AL',
+ value: 'albania'
+ },
+ {
+ cn: 'Algeria',
+ cs: 'DZ',
+ value: 'algeria'
+ },
+ {
+ cn: 'American Samoa',
+ cs: 'AS',
+ value: 'american samoa'
+ },
+ {
+ cn: 'Andorra',
+ cs: 'AD',
+ value: 'andorra'
+ },
+ {
+ cn: 'Angola',
+ cs: 'AO',
+ value: 'angola'
+ },
+ {
+ cn: 'Anguilla',
+ cs: 'AI',
+ value: 'anguilla'
+ },
+ {
+ cn: 'Antarctica',
+ cs: 'AQ',
+ value: 'antarctica'
+ },
+ {
+ cn: 'Antigua and Barbuda',
+ cs: 'AG',
+ value: 'antigua and barbuda'
+ },
+ {
+ cn: 'Argentina',
+ cs: 'AR',
+ value: 'argentina'
+ },
+ {
+ cn: 'Armenia',
+ cs: 'AM',
+ value: 'armenia'
+ },
+ {
+ cn: 'Aruba',
+ cs: 'AW',
+ value: 'aruba'
+ },
+ {
+ cn: 'Australia',
+ cs: 'AU',
+ value: 'australia'
+ },
+ {
+ cn: 'Austria',
+ cs: 'AT',
+ value: 'austria'
+ },
+ {
+ cn: 'Azerbaijan',
+ cs: 'AZ',
+ value: 'azerbaijan'
+ },
+ {
+ cn: 'Bahamas',
+ cs: 'BS',
+ value: 'bahamas'
+ },
+ {
+ cn: 'Bahrain',
+ cs: 'BH',
+ value: 'bahrain'
+ },
+ {
+ cn: 'Bangladesh',
+ cs: 'BD',
+ value: 'bangladesh'
+ },
+ {
+ cn: 'Barbados',
+ cs: 'BB',
+ value: 'barbados'
+ },
+ {
+ cn: 'Belarus',
+ cs: 'BY',
+ value: 'belarus'
+ },
+ {
+ cn: 'Belgium',
+ cs: 'BE',
+ value: 'belgium'
+ },
+ {
+ cn: 'Belize',
+ cs: 'BZ',
+ value: 'belize'
+ },
+ {
+ cn: 'Benin',
+ cs: 'BJ',
+ value: 'benin'
+ },
+ {
+ cn: 'Bermuda',
+ cs: 'BM',
+ value: 'bermuda'
+ },
+ {
+ cn: 'Bhutan',
+ cs: 'BT',
+ value: 'bhutan'
+ },
+ {
+ cn: 'Bolivia',
+ cs: 'BO',
+ value: 'bolivia'
+ },
+ {
+ cn: 'Bonaire, Sint Eustatius and Saba',
+ cs: 'BQ',
+ value: 'bonaire, sint eustatius and saba'
+ },
+ {
+ cn: 'Bosnia and Herzegovina',
+ cs: 'BA',
+ value: 'bosnia and herzegovina'
+ },
+ {
+ cn: 'Botswana',
+ cs: 'BW',
+ value: 'botswana'
+ },
+ {
+ cn: 'Bouvet Island',
+ cs: 'BV',
+ value: 'bouvet island'
+ },
+ {
+ cn: 'Brazil',
+ cs: 'BR',
+ value: 'brazil'
+ },
+ {
+ cn: 'British Indian Ocean Territory',
+ cs: 'IO',
+ value: 'british indian ocean territory'
+ },
+ {
+ cn: 'Brunei Darussalam',
+ cs: 'BN',
+ value: 'brunei darussalam'
+ },
+ {
+ cn: 'Bulgaria',
+ cs: 'BG',
+ value: 'bulgaria'
+ },
+ {
+ cn: 'Burkina Faso',
+ cs: 'BF',
+ value: 'burkina faso'
+ },
+ {
+ cn: 'Burundi',
+ cs: 'BI',
+ value: 'burundi'
+ },
+ {
+ cn: 'Cambodia',
+ cs: 'KH',
+ value: 'cambodia'
+ },
+ {
+ cn: 'Cameroon',
+ cs: 'CM',
+ value: 'cameroon'
+ },
+ {
+ cn: 'Canada',
+ cs: 'CA',
+ value: 'canada'
+ },
+ {
+ cn: 'Cape Verde',
+ cs: 'CV',
+ value: 'cape verde'
+ },
+ {
+ cn: 'Cayman Islands',
+ cs: 'KY',
+ value: 'cayman islands'
+ },
+ {
+ cn: 'Central African Republic',
+ cs: 'CF',
+ value: 'central african republic'
+ },
+ {
+ cn: 'Chad',
+ cs: 'TD',
+ value: 'chad'
+ },
+ {
+ cn: 'Chile',
+ cs: 'CL',
+ value: 'chile'
+ },
+ {
+ cn: 'China',
+ cs: 'CN',
+ value: 'china'
+ },
+ {
+ cn: 'Christmas Island',
+ cs: 'CX',
+ value: 'christmas island'
+ },
+ {
+ cn: 'Cocos (Keeling) Islands',
+ cs: 'CC',
+ value: 'cocos (keeling) islands'
+ },
+ {
+ cn: 'Colombia',
+ cs: 'CO',
+ value: 'colombia'
+ },
+ {
+ cn: 'Comoros',
+ cs: 'KM',
+ value: 'comoros'
+ },
+ {
+ cn: 'Congo',
+ cs: 'CG',
+ value: 'congo'
+ },
+ {
+ cn: 'Cook Islands',
+ cs: 'CK',
+ value: 'cook islands'
+ },
+ {
+ cn: 'Costa Rica',
+ cs: 'CR',
+ value: 'costa rica'
+ },
+ {
+ cn: "Côte d'Ivoire",
+ cs: 'CI',
+ value: "côte d'ivoire"
+ },
+ {
+ cn: 'Croatia',
+ cs: 'HR',
+ value: 'croatia'
+ },
+ {
+ cn: 'Cuba',
+ cs: 'CU',
+ value: 'cuba'
+ },
+ {
+ cn: 'Curaçao',
+ cs: 'CW',
+ value: 'curaçao'
+ },
+ {
+ cn: 'Cyprus',
+ cs: 'CY',
+ value: 'cyprus'
+ },
+ {
+ cn: 'Czech Republic',
+ cs: 'CZ',
+ value: 'czech republic'
+ },
+ {
+ cn: 'Denmark',
+ cs: 'DK',
+ value: 'denmark'
+ },
+ {
+ cn: 'Djibouti',
+ cs: 'DJ',
+ value: 'djibouti'
+ },
+ {
+ cn: 'Dominica',
+ cs: 'DM',
+ value: 'dominica'
+ },
+ {
+ cn: 'Dominican Republic',
+ cs: 'DO',
+ value: 'dominican republic'
+ },
+ {
+ cn: 'Ecuador',
+ cs: 'EC',
+ value: 'ecuador'
+ },
+ {
+ cn: 'Egypt',
+ cs: 'EG',
+ value: 'egypt'
+ },
+ {
+ cn: 'El Salvador',
+ cs: 'SV',
+ value: 'el salvador'
+ },
+ {
+ cn: 'Equatorial Guinea',
+ cs: 'GQ',
+ value: 'equatorial guinea'
+ },
+ {
+ cn: 'Eritrea',
+ cs: 'ER',
+ value: 'eritrea'
+ },
+ {
+ cn: 'Estonia',
+ cs: 'EE',
+ value: 'estonia'
+ },
+ {
+ cn: 'Ethiopia',
+ cs: 'ET',
+ value: 'ethiopia'
+ },
+ {
+ cn: 'Falkland Islands (Malvinas)',
+ cs: 'FK',
+ value: 'falkland islands (malvinas)'
+ },
+ {
+ cn: 'Faroe Islands',
+ cs: 'FO',
+ value: 'faroe islands'
+ },
+ {
+ cn: 'Fiji',
+ cs: 'FJ',
+ value: 'fiji'
+ },
+ {
+ cn: 'Finland',
+ cs: 'FI',
+ value: 'finland'
+ },
+ {
+ cn: 'France',
+ cs: 'FR',
+ value: 'france'
+ },
+ {
+ cn: 'French Guiana',
+ cs: 'GF',
+ value: 'french guiana'
+ },
+ {
+ cn: 'French Polynesia',
+ cs: 'PF',
+ value: 'french polynesia'
+ },
+ {
+ cn: 'French Southern Territories',
+ cs: 'TF',
+ value: 'french southern territories'
+ },
+ {
+ cn: 'Gabon',
+ cs: 'GA',
+ value: 'gabon'
+ },
+ {
+ cn: 'Gambia',
+ cs: 'GM',
+ value: 'gambia'
+ },
+ {
+ cn: 'Georgia',
+ cs: 'GE',
+ value: 'georgia'
+ },
+ {
+ cn: 'Germany',
+ cs: 'DE',
+ value: 'germany'
+ },
+ {
+ cn: 'Ghana',
+ cs: 'GH',
+ value: 'ghana'
+ },
+ {
+ cn: 'Gibraltar',
+ cs: 'GI',
+ value: 'gibraltar'
+ },
+ {
+ cn: 'Greece',
+ cs: 'GR',
+ value: 'greece'
+ },
+ {
+ cn: 'Greenland',
+ cs: 'GL',
+ value: 'greenland'
+ },
+ {
+ cn: 'Grenada',
+ cs: 'GD',
+ value: 'grenada'
+ },
+ {
+ cn: 'Guadeloupe',
+ cs: 'GP',
+ value: 'guadeloupe'
+ },
+ {
+ cn: 'Guam',
+ cs: 'GU',
+ value: 'guam'
+ },
+ {
+ cn: 'Guatemala',
+ cs: 'GT',
+ value: 'guatemala'
+ },
+ {
+ cn: 'Guernsey',
+ cs: 'GG',
+ value: 'guernsey'
+ },
+ {
+ cn: 'Guinea',
+ cs: 'GN',
+ value: 'guinea'
+ },
+ {
+ cn: 'Guinea-Bissau',
+ cs: 'GW',
+ value: 'guinea-bissau'
+ },
+ {
+ cn: 'Guyana',
+ cs: 'GY',
+ value: 'guyana'
+ },
+ {
+ cn: 'Haiti',
+ cs: 'HT',
+ value: 'haiti'
+ },
+ {
+ cn: 'Heard Island and Mcdonald Islands',
+ cs: 'HM',
+ value: 'heard island and mcdonald islands'
+ },
+ {
+ cn: 'Holy See (Vatican City State)',
+ cs: 'VA',
+ value: 'holy see (vatican city state)'
+ },
+ {
+ cn: 'Honduras',
+ cs: 'HN',
+ value: 'honduras'
+ },
+ {
+ cn: 'Hong Kong',
+ cs: 'HK',
+ value: 'hong kong'
+ },
+ {
+ cn: 'Hungary',
+ cs: 'HU',
+ value: 'hungary'
+ },
+ {
+ cn: 'Iceland',
+ cs: 'IS',
+ value: 'iceland'
+ },
+ {
+ cn: 'India',
+ cs: 'IN',
+ value: 'india'
+ },
+ {
+ cn: 'Indonesia',
+ cs: 'ID',
+ value: 'indonesia'
+ },
+ {
+ cn: 'Iran, Islamic Republic Of',
+ cs: 'IR',
+ value: 'iran, islamic republic of'
+ },
+ {
+ cn: 'Iraq',
+ cs: 'IQ',
+ value: 'iraq'
+ },
+ {
+ cn: 'Isle of Man',
+ cs: 'IM',
+ value: 'isle of man'
+ },
+ {
+ cn: 'Israel',
+ cs: 'IL',
+ value: 'israel'
+ },
+ {
+ cn: 'Italy',
+ cs: 'IT',
+ value: 'italy'
+ },
+ {
+ cn: 'Jamaica',
+ cs: 'JM',
+ value: 'jamaica'
+ },
+ {
+ cn: 'Japan',
+ cs: 'JP',
+ value: 'japan'
+ },
+ {
+ cn: 'Jersey',
+ cs: 'JE',
+ value: 'jersey'
+ },
+ {
+ cn: 'Jordan',
+ cs: 'JO',
+ value: 'jordan'
+ },
+ {
+ cn: 'Kazakhstan',
+ cs: 'KZ',
+ value: 'kazakhstan'
+ },
+ {
+ cn: 'Kenya',
+ cs: 'KE',
+ value: 'kenya'
+ },
+ {
+ cn: 'Kiribati',
+ cs: 'KI',
+ value: 'kiribati'
+ },
+ {
+ cn: "Korea, Democratic People's Republic of",
+ cs: 'KP',
+ value: "korea, democratic people's republic of"
+ },
+ {
+ cn: 'Korea, Republic of',
+ cs: 'KR',
+ value: 'korea, republic of'
+ },
+ {
+ cn: 'Kuwait',
+ cs: 'KW',
+ value: 'kuwait'
+ },
+ {
+ cn: 'Kyrgyzstan',
+ cs: 'KG',
+ value: 'kyrgyzstan'
+ },
+ {
+ cn: 'Laos',
+ cs: 'LA',
+ value: 'laos'
+ },
+ {
+ cn: 'Latvia',
+ cs: 'LV',
+ value: 'latvia'
+ },
+ {
+ cn: 'Lebanon',
+ cs: 'LB',
+ value: 'lebanon'
+ },
+ {
+ cn: 'Lesotho',
+ cs: 'LS',
+ value: 'lesotho'
+ },
+ {
+ cn: 'Liberia',
+ cs: 'LR',
+ value: 'liberia'
+ },
+ {
+ cn: 'Libyan Arab Jamahiriya',
+ cs: 'LY',
+ value: 'libyan arab jamahiriya'
+ },
+ {
+ cn: 'Liechtenstein',
+ cs: 'LI',
+ value: 'liechtenstein'
+ },
+ {
+ cn: 'Lithuania',
+ cs: 'LT',
+ value: 'lithuania'
+ },
+ {
+ cn: 'Luxembourg',
+ cs: 'LU',
+ value: 'luxembourg'
+ },
+ {
+ cn: 'Macao',
+ cs: 'MO',
+ value: 'macao'
+ },
+ {
+ cn: 'Madagascar',
+ cs: 'MG',
+ value: 'madagascar'
+ },
+ {
+ cn: 'Malawi',
+ cs: 'MW',
+ value: 'malawi'
+ },
+ {
+ cn: 'Malaysia',
+ cs: 'MY',
+ value: 'malaysia'
+ },
+ {
+ cn: 'Maldives',
+ cs: 'MV',
+ value: 'maldives'
+ },
+ {
+ cn: 'Mali',
+ cs: 'ML',
+ value: 'mali'
+ },
+ {
+ cn: 'Malta',
+ cs: 'MT',
+ value: 'malta'
+ },
+ {
+ cn: 'Marshall Islands',
+ cs: 'MH',
+ value: 'marshall islands'
+ },
+ {
+ cn: 'Martinique',
+ cs: 'MQ',
+ value: 'martinique'
+ },
+ {
+ cn: 'Mauritania',
+ cs: 'MR',
+ value: 'mauritania'
+ },
+ {
+ cn: 'Mauritius',
+ cs: 'MU',
+ value: 'mauritius'
+ },
+ {
+ cn: 'Mayotte',
+ cs: 'YT',
+ value: 'mayotte'
+ },
+ {
+ cn: 'Mexico',
+ cs: 'MX',
+ value: 'mexico'
+ },
+ {
+ cn: 'Micronesia, Federated States of',
+ cs: 'FM',
+ value: 'micronesia, federated states of'
+ },
+ {
+ cn: 'Moldova, Republic of',
+ cs: 'MD',
+ value: 'moldova, republic of'
+ },
+ {
+ cn: 'Monaco',
+ cs: 'MC',
+ value: 'monaco'
+ },
+ {
+ cn: 'Mongolia',
+ cs: 'MN',
+ value: 'mongolia'
+ },
+ {
+ cn: 'Montenegro',
+ cs: 'ME',
+ value: 'montenegro'
+ },
+ {
+ cn: 'Montserrat',
+ cs: 'MS',
+ value: 'montserrat'
+ },
+ {
+ cn: 'Morocco',
+ cs: 'MA',
+ value: 'morocco'
+ },
+ {
+ cn: 'Mozambique',
+ cs: 'MZ',
+ value: 'mozambique'
+ },
+ {
+ cn: 'Myanmar',
+ cs: 'MM',
+ value: 'myanmar'
+ },
+ {
+ cn: 'Namibia',
+ cs: 'NA',
+ value: 'namibia'
+ },
+ {
+ cn: 'Nauru',
+ cs: 'NR',
+ value: 'nauru'
+ },
+ {
+ cn: 'Nepal',
+ cs: 'NP',
+ value: 'nepal'
+ },
+ {
+ cn: 'Netherlands',
+ cs: 'NL',
+ value: 'netherlands'
+ },
+ {
+ cn: 'Netherlands Antilles',
+ cs: 'AN',
+ value: 'netherlands antilles'
+ },
+ {
+ cn: 'New Caledonia',
+ cs: 'NC',
+ value: 'new caledonia'
+ },
+ {
+ cn: 'New Zealand',
+ cs: 'NZ',
+ value: 'new zealand'
+ },
+ {
+ cn: 'Nicaragua',
+ cs: 'NI',
+ value: 'nicaragua'
+ },
+ {
+ cn: 'Niger',
+ cs: 'NE',
+ value: 'niger'
+ },
+ {
+ cn: 'Nigeria',
+ cs: 'NG',
+ value: 'nigeria'
+ },
+ {
+ cn: 'Niue',
+ cs: 'NU',
+ value: 'niue'
+ },
+ {
+ cn: 'Norfolk Island',
+ cs: 'NF',
+ value: 'norfolk island'
+ },
+ {
+ cn: 'North Macedonia',
+ cs: 'MK',
+ value: 'north macedonia'
+ },
+ {
+ cn: 'Northern Mariana Islands',
+ cs: 'MP',
+ value: 'northern mariana islands'
+ },
+ {
+ cn: 'Norway',
+ cs: 'NO',
+ value: 'norway'
+ },
+ {
+ cn: 'Oman',
+ cs: 'OM',
+ value: 'oman'
+ },
+ {
+ cn: 'Pakistan',
+ cs: 'PK',
+ value: 'pakistan'
+ },
+ {
+ cn: 'Palau',
+ cs: 'PW',
+ value: 'palau'
+ },
+ {
+ cn: 'Palestinian Territory, Occupied',
+ cs: 'PS',
+ value: 'palestinian territory, occupied'
+ },
+ {
+ cn: 'Panama',
+ cs: 'PA',
+ value: 'panama'
+ },
+ {
+ cn: 'Papua New Guinea',
+ cs: 'PG',
+ value: 'papua new guinea'
+ },
+ {
+ cn: 'Paraguay',
+ cs: 'PY',
+ value: 'paraguay'
+ },
+ {
+ cn: 'Peru',
+ cs: 'PE',
+ value: 'peru'
+ },
+ {
+ cn: 'Philippines',
+ cs: 'PH',
+ value: 'philippines'
+ },
+ {
+ cn: 'Pitcairn',
+ cs: 'PN',
+ value: 'pitcairn'
+ },
+ {
+ cn: 'Poland',
+ cs: 'PL',
+ value: 'poland'
+ },
+ {
+ cn: 'Portugal',
+ cs: 'PT',
+ value: 'portugal'
+ },
+ {
+ cn: 'Puerto Rico',
+ cs: 'PR',
+ value: 'puerto rico'
+ },
+ {
+ cn: 'Qatar',
+ cs: 'QA',
+ value: 'qatar'
+ },
+ {
+ cn: 'Republic of Ireland',
+ cs: 'IE',
+ value: 'ireland'
+ },
+ {
+ cn: 'Reunion',
+ cs: 'RE',
+ value: 'reunion'
+ },
+ {
+ cn: 'Romania',
+ cs: 'RO',
+ value: 'romania'
+ },
+ {
+ cn: 'Russian Federation',
+ cs: 'RU',
+ value: 'russian federation'
+ },
+ {
+ cn: 'Rwanda',
+ cs: 'RW',
+ value: 'rwanda'
+ },
+ {
+ cn: 'Saint Barthélemy',
+ cs: 'BL',
+ value: 'saint barthélemy'
+ },
+ {
+ cn: 'Saint Helena, Ascension and Tristan de Cunha',
+ cs: 'SH',
+ value: 'saint helena, ascension and tristan de cunha'
+ },
+ {
+ cn: 'Saint Kitts and Nevis',
+ cs: 'KN',
+ value: 'saint kitts and nevis'
+ },
+ {
+ cn: 'Saint Lucia',
+ cs: 'LC',
+ value: 'saint lucia'
+ },
+ {
+ cn: 'Saint Martin',
+ cs: 'MF',
+ value: 'saint martin'
+ },
+ {
+ cn: 'Saint Pierre and Miquelon',
+ cs: 'PM',
+ value: 'saint pierre and miquelon'
+ },
+ {
+ cn: 'Saint Vincent and the Grenadines',
+ cs: 'VC',
+ value: 'saint vincent and the grenadines'
+ },
+ {
+ cn: 'Samoa',
+ cs: 'WS',
+ value: 'samoa'
+ },
+ {
+ cn: 'San Marino',
+ cs: 'SM',
+ value: 'san marino'
+ },
+ {
+ cn: 'Sao Tome and Principe',
+ cs: 'ST',
+ value: 'sao tome and principe'
+ },
+ {
+ cn: 'Saudi Arabia',
+ cs: 'SA',
+ value: 'saudi arabia'
+ },
+ {
+ cn: 'Senegal',
+ cs: 'SN',
+ value: 'senegal'
+ },
+ {
+ cn: 'Serbia and Montenegro',
+ cs: 'CS',
+ value: 'serbia and montenegro'
+ },
+ {
+ cn: 'Seychelles',
+ cs: 'SC',
+ value: 'seychelles'
+ },
+ {
+ cn: 'Sierra Leone',
+ cs: 'SL',
+ value: 'sierra leone'
+ },
+ {
+ cn: 'Singapore',
+ cs: 'SG',
+ value: 'singapore'
+ },
+ {
+ cn: 'Sint Maarten (Dutch part)',
+ cs: 'SX',
+ value: 'sint maarten (dutch part)'
+ },
+ {
+ cn: 'Slovakia',
+ cs: 'SK',
+ value: 'slovakia'
+ },
+ {
+ cn: 'Slovenia',
+ cs: 'SI',
+ value: 'slovenia'
+ },
+ {
+ cn: 'Solomon Islands',
+ cs: 'SB',
+ value: 'solomon islands'
+ },
+ {
+ cn: 'Somalia',
+ cs: 'SO',
+ value: 'somalia'
+ },
+ {
+ cn: 'South Africa',
+ cs: 'ZA',
+ value: 'south africa'
+ },
+ {
+ cn: 'South Georgia and the South Sandwich Islands',
+ cs: 'GS',
+ value: 'south georgia and the south sandwich islands'
+ },
+ {
+ cn: 'South Sudan',
+ cs: 'SS',
+ value: 'south sudan'
+ },
+ {
+ cn: 'Spain',
+ cs: 'ES',
+ value: 'spain'
+ },
+ {
+ cn: 'Sri Lanka',
+ cs: 'LK',
+ value: 'sri lanka'
+ },
+ {
+ cn: 'Sudan',
+ cs: 'SD',
+ value: 'sudan'
+ },
+ {
+ cn: 'Suricn',
+ cs: 'SR',
+ value: 'suricn'
+ },
+ {
+ cn: 'Svalbard and Jan Mayen',
+ cs: 'SJ',
+ value: 'svalbard and jan mayen'
+ },
+ {
+ cn: 'Swaziland',
+ cs: 'SZ',
+ value: 'swaziland'
+ },
+ {
+ cn: 'Sweden',
+ cs: 'SE',
+ value: 'sweden'
+ },
+ {
+ cn: 'Switzerland',
+ cs: 'CH',
+ value: 'switzerland'
+ },
+ {
+ cn: 'Syrian Arab Republic',
+ cs: 'SY',
+ value: 'syrian arab republic'
+ },
+ {
+ cn: 'Taiwan, Province of China',
+ cs: 'TW',
+ value: 'taiwan, province of china'
+ },
+ {
+ cn: 'Tajikistan',
+ cs: 'TJ',
+ value: 'tajikistan'
+ },
+ {
+ cn: 'Tanzania, United Republic of',
+ cs: 'TZ',
+ value: 'tanzania, united republic of'
+ },
+ {
+ cn: 'Thailand',
+ cs: 'TH',
+ value: 'thailand'
+ },
+ {
+ cn: 'Timor-Leste',
+ cs: 'TL',
+ value: 'timor-leste'
+ },
+ {
+ cn: 'Togo',
+ cs: 'TG',
+ value: 'togo'
+ },
+ {
+ cn: 'Tokelau',
+ cs: 'TK',
+ value: 'tokelau'
+ },
+ {
+ cn: 'Tonga',
+ cs: 'TO',
+ value: 'tonga'
+ },
+ {
+ cn: 'Trinidad and Tobago',
+ cs: 'TT',
+ value: 'trinidad and tobago'
+ },
+ {
+ cn: 'Tunisia',
+ cs: 'TN',
+ value: 'tunisia'
+ },
+ {
+ cn: 'Turkey',
+ cs: 'TR',
+ value: 'turkey'
+ },
+ {
+ cn: 'Turkmenistan',
+ cs: 'TM',
+ value: 'turkmenistan'
+ },
+ {
+ cn: 'Turks and Caicos Islands',
+ cs: 'TC',
+ value: 'turks and caicos islands'
+ },
+ {
+ cn: 'Tuvalu',
+ cs: 'TV',
+ value: 'tuvalu'
+ },
+ {
+ cn: 'Uganda',
+ cs: 'UG',
+ value: 'uganda'
+ },
+ {
+ cn: 'Ukraine',
+ cs: 'UA',
+ value: 'ukraine'
+ },
+ {
+ cn: 'United Arab Emirates',
+ cs: 'AE',
+ value: 'united arab emirates'
+ },
+ {
+ cn: 'United Kingdom',
+ cs: 'GB',
+ value: 'united kingdom'
+ },
+ {
+ cn: 'United States',
+ cs: 'US',
+ value: 'united states'
+ },
+ {
+ cn: 'United States Minor Outlying Islands',
+ cs: 'UM',
+ value: 'united states minor outlying islands'
+ },
+ {
+ cn: 'Uruguay',
+ cs: 'UY',
+ value: 'uruguay'
+ },
+ {
+ cn: 'Uzbekistan',
+ cs: 'UZ',
+ value: 'uzbekistan'
+ },
+ {
+ cn: 'Vanuatu',
+ cs: 'VU',
+ value: 'vanuatu'
+ },
+ {
+ cn: 'Venezuela',
+ cs: 'VE',
+ value: 'venezuela'
+ },
+ {
+ cn: 'Vietnam',
+ cs: 'VN',
+ value: 'vietnam'
+ },
+ {
+ cn: 'Virgin Islands, British',
+ cs: 'VG',
+ value: 'virgin islands, british'
+ },
+ {
+ cn: 'Virgin Islands, U.S.',
+ cs: 'VI',
+ value: 'virgin islands, u.s.'
+ },
+ {
+ cn: 'Wallis and Futuna',
+ cs: 'WF',
+ value: 'wallis and futuna'
+ },
+ {
+ cn: 'Western Sahara',
+ cs: 'EH',
+ value: 'western sahara'
+ },
+ {
+ cn: 'Yemen',
+ cs: 'YE',
+ value: 'yemen'
+ },
+ {
+ cn: 'Zambia',
+ cs: 'ZM',
+ value: 'zambia'
+ },
+ {
+ cn: 'Zimbabwe',
+ cs: 'ZW',
+ value: 'zimbabwe'
+ }
+]
diff --git a/src/Questions/CountryNew/data/de.js b/src/Questions/CountryNew/data/de.js
new file mode 100644
index 00000000..4e835491
--- /dev/null
+++ b/src/Questions/CountryNew/data/de.js
@@ -0,0 +1,319 @@
+export default [
+ { cn: 'Afghanistan', cs: 'AF', value: 'afghanistan' },
+ { cn: 'Ägypten', cs: 'EG', value: 'egypt' },
+ { cn: 'Åland', cs: 'AX', value: 'åland islands' },
+ { cn: 'Albanien', cs: 'AL', value: 'albania' },
+ { cn: 'Algerien', cs: 'DZ', value: 'algeria' },
+ { cn: 'Amerikanisch-Samoa', cs: 'AS', value: 'american samoa' },
+ {
+ cn: 'Amerikanische Jungferninseln',
+ cs: 'VI',
+ value: 'virgin islands, u.s.'
+ },
+ { cn: 'Andorra', cs: 'AD', value: 'andorra' },
+ { cn: 'Angola', cs: 'AO', value: 'angola' },
+ { cn: 'Anguilla', cs: 'AI', value: 'anguilla' },
+ {
+ cn: 'Antarktis (Sonderstatus durch Antarktisvertrag)',
+ cs: 'AQ',
+ value: 'antarctica'
+ },
+ { cn: 'Antigua und Barbuda', cs: 'AG', value: 'antigua and barbuda' },
+ { cn: 'Äquatorialguinea', cs: 'GQ', value: 'equatorial guinea' },
+ { cn: 'Argentinien', cs: 'AR', value: 'argentina' },
+ { cn: 'Armenien', cs: 'AM', value: 'armenia' },
+ { cn: 'Aruba', cs: 'AW', value: 'aruba' },
+ { cn: 'Aserbaidschan', cs: 'AZ', value: 'azerbaijan' },
+ { cn: 'Äthiopien', cs: 'ET', value: 'ethiopia' },
+ { cn: 'Australien', cs: 'AU', value: 'australia' },
+ { cn: 'Bahamas', cs: 'BS', value: 'bahamas' },
+ { cn: 'Bahrain', cs: 'BH', value: 'bahrain' },
+ { cn: 'Bangladesch', cs: 'BD', value: 'bangladesh' },
+ { cn: 'Barbados', cs: 'BB', value: 'barbados' },
+ { cn: 'Belarus', cs: 'BY', value: 'belarus' },
+ { cn: 'Belgien', cs: 'BE', value: 'belgium' },
+ { cn: 'Belize', cs: 'BZ', value: 'belize' },
+ { cn: 'Benin', cs: 'BJ', value: 'benin' },
+ { cn: 'Bermuda', cs: 'BM', value: 'bermuda' },
+ { cn: 'Bhutan', cs: 'BT', value: 'bhutan' },
+ { cn: 'Bolivien', cs: 'BO', value: 'bolivia' },
+ {
+ cn: 'Bonaire, Saba, Sint Eustatius',
+ cs: 'BQ',
+ value: 'bonaire, sint eustatius and saba'
+ },
+ { cn: 'Bosnien und Herzegowina', cs: 'BA', value: 'bosnia and herzegovina' },
+ { cn: 'Botswana', cs: 'BW', value: 'botswana' },
+ { cn: 'Bouvetinsel', cs: 'BV', value: 'bouvet island' },
+ { cn: 'Brasilien', cs: 'BR', value: 'brazil' },
+ {
+ cn: 'Britische Jungferninseln',
+ cs: 'VG',
+ value: 'virgin islands, british'
+ },
+ {
+ cn: 'Britisches Territorium im Indischen Ozean',
+ cs: 'IO',
+ value: 'british indian ocean territory'
+ },
+ { cn: 'Brunei', cs: 'BN', value: 'brunei darussalam' },
+ { cn: 'Bulgarien', cs: 'BG', value: 'bulgaria' },
+ { cn: 'Burkina Faso', cs: 'BF', value: 'burkina faso' },
+ { cn: 'Burundi', cs: 'BI', value: 'burundi' },
+ { cn: 'Chile', cs: 'CL', value: 'chile' },
+ { cn: 'Cookinseln', cs: 'CK', value: 'cook islands' },
+ { cn: 'Costa Rica', cs: 'CR', value: 'costa rica' },
+ { cn: 'Curaçao', cs: 'CW', value: 'curaçao' },
+ { cn: 'Dänemark', cs: 'DK', value: 'denmark' },
+ { cn: 'Deutschland', cs: 'DE', value: 'germany' },
+ { cn: 'Dominica', cs: 'DM', value: 'dominica' },
+ { cn: 'Dominikanische Republik', cs: 'DO', value: 'dominican republic' },
+ { cn: 'Dschibuti', cs: 'DJ', value: 'djibouti' },
+ { cn: 'Ecuador', cs: 'EC', value: 'ecuador' },
+ { cn: 'El Salvador', cs: 'SV', value: 'el salvador' },
+ { cn: 'Elfenbeinküste', cs: 'CI', value: "côte d'ivoire" },
+ { cn: 'Eritrea', cs: 'ER', value: 'eritrea' },
+ { cn: 'Estland', cs: 'EE', value: 'estonia' },
+ { cn: 'Eswatini', cs: 'SZ', value: 'swaziland' },
+ { cn: 'Falklandinseln', cs: 'FK', value: 'falkland islands (malvinas)' },
+ { cn: 'Färöer', cs: 'FO', value: 'faroe islands' },
+ { cn: 'Fidschi', cs: 'FJ', value: 'fiji' },
+ { cn: 'Finnland', cs: 'FI', value: 'finland' },
+ { cn: 'Frankreich', cs: 'FR', value: 'france' },
+ { cn: 'Französisch-Guayana', cs: 'GF', value: 'french guiana' },
+ { cn: 'Französisch-Polynesien', cs: 'PF', value: 'french polynesia' },
+ {
+ cn: 'Französische Süd- und Antarktisgebiete',
+ cs: 'TF',
+ value: 'french southern territories'
+ },
+ { cn: 'Gabun', cs: 'GA', value: 'gabon' },
+ { cn: 'Gambia', cs: 'GM', value: 'gambia' },
+ { cn: 'Georgien', cs: 'GE', value: 'georgia' },
+ { cn: 'Ghana', cs: 'GH', value: 'ghana' },
+ { cn: 'Gibraltar', cs: 'GI', value: 'gibraltar' },
+ { cn: 'Grenada', cs: 'GD', value: 'grenada' },
+ { cn: 'Griechenland', cs: 'GR', value: 'greece' },
+ { cn: 'Grönland', cs: 'GL', value: 'greenland' },
+ { cn: 'Guadeloupe', cs: 'GP', value: 'guadeloupe' },
+ { cn: 'Guam', cs: 'GU', value: 'guam' },
+ { cn: 'Guatemala', cs: 'GT', value: 'guatemala' },
+ { cn: 'Guernsey (Kanalinsel)', cs: 'GG', value: 'guernsey' },
+ { cn: 'Guinea', cs: 'GN', value: 'guinea' },
+ { cn: 'Guinea-Bissau', cs: 'GW', value: 'guinea-bissau' },
+ { cn: 'Guyana', cs: 'GY', value: 'guyana' },
+ { cn: 'Haiti', cs: 'HT', value: 'haiti' },
+ {
+ cn: 'Heard und McDonaldinseln',
+ cs: 'HM',
+ value: 'heard island and mcdonald islands'
+ },
+ { cn: 'Honduras', cs: 'HN', value: 'honduras' },
+ { cn: 'Hongkong', cs: 'HK', value: 'hong kong' },
+ { cn: 'Indien', cs: 'IN', value: 'india' },
+ { cn: 'Indonesien', cs: 'ID', value: 'indonesia' },
+ { cn: 'Insel Man', cs: 'IM', value: 'isle of man' },
+ { cn: 'Irak', cs: 'IQ', value: 'iraq' },
+ { cn: 'Iran', cs: 'IR', value: 'iran, islamic republic of' },
+ { cn: 'Irland', cs: 'IE', value: 'ireland' },
+ { cn: 'Island', cs: 'IS', value: 'iceland' },
+ { cn: 'Israel', cs: 'IL', value: 'israel' },
+ { cn: 'Italien', cs: 'IT', value: 'italy' },
+ { cn: 'Jamaika', cs: 'JM', value: 'jamaica' },
+ { cn: 'Japan', cs: 'JP', value: 'japan' },
+ { cn: 'Jemen', cs: 'YE', value: 'yemen' },
+ { cn: 'Jersey (Kanalinsel)', cs: 'JE', value: 'jersey' },
+ { cn: 'Jordanien', cs: 'JO', value: 'jordan' },
+ { cn: 'Kaimaninseln', cs: 'KY', value: 'cayman islands' },
+ { cn: 'Kambodscha', cs: 'KH', value: 'cambodia' },
+ { cn: 'Kamerun', cs: 'CM', value: 'cameroon' },
+ { cn: 'Kanada', cs: 'CA', value: 'canada' },
+ { cn: 'Kap Verde', cs: 'CV', value: 'cape verde' },
+ { cn: 'Kasachstan', cs: 'KZ', value: 'kazakhstan' },
+ { cn: 'Katar', cs: 'QA', value: 'qatar' },
+ { cn: 'Kenia', cs: 'KE', value: 'kenya' },
+ { cn: 'Kirgisistan', cs: 'KG', value: 'kyrgyzstan' },
+ { cn: 'Kiribati', cs: 'KI', value: 'kiribati' },
+ { cn: 'Kokosinseln', cs: 'CC', value: 'cocos (keeling) islands' },
+ { cn: 'Kolumbien', cs: 'CO', value: 'colombia' },
+ { cn: 'Komoren', cs: 'KM', value: 'comoros' },
+ { cn: 'Kongo, Demokratische Republik', cs: 'CD', value: 'congo' },
+ { cn: 'Kongo, Republik', cs: 'CG', value: 'congo' },
+ {
+ cn: 'Korea, Nord',
+ cs: 'KP',
+ value: "korea, democratic people's republic of"
+ },
+ { cn: 'Korea, Süd', cs: 'KR', value: 'korea, republic of' },
+ { cn: 'Kroatien', cs: 'HR', value: 'croatia' },
+ { cn: 'Kuba', cs: 'CU', value: 'cuba' },
+ { cn: 'Kuwait', cs: 'KW', value: 'kuwait' },
+ { cn: 'Laos', cs: 'LA', value: 'laos' },
+ { cn: 'Lesotho', cs: 'LS', value: 'lesotho' },
+ { cn: 'Lettland', cs: 'LV', value: 'latvia' },
+ { cn: 'Libanon', cs: 'LB', value: 'lebanon' },
+ { cn: 'Liberia', cs: 'LR', value: 'liberia' },
+ { cn: 'Libyen', cs: 'LY', value: 'libyan arab jamahiriya' },
+ { cn: 'Liechtenstein', cs: 'LI', value: 'liechtenstein' },
+ { cn: 'Litauen', cs: 'LT', value: 'lithuania' },
+ { cn: 'Luxemburg', cs: 'LU', value: 'luxembourg' },
+ { cn: 'Macau', cs: 'MO', value: 'macao' },
+ { cn: 'Madagaskar', cs: 'MG', value: 'madagascar' },
+ { cn: 'Malawi', cs: 'MW', value: 'malawi' },
+ { cn: 'Malaysia', cs: 'MY', value: 'malaysia' },
+ { cn: 'Malediven', cs: 'MV', value: 'maldives' },
+ { cn: 'Mali', cs: 'ML', value: 'mali' },
+ { cn: 'Malta', cs: 'MT', value: 'malta' },
+ { cn: 'Marokko', cs: 'MA', value: 'morocco' },
+ { cn: 'Marshallinseln', cs: 'MH', value: 'marshall islands' },
+ { cn: 'Martinique', cs: 'MQ', value: 'martinique' },
+ { cn: 'Mauretanien', cs: 'MR', value: 'mauritania' },
+ { cn: 'Mauritius', cs: 'MU', value: 'mauritius' },
+ { cn: 'Mayotte', cs: 'YT', value: 'mayotte' },
+ { cn: 'Mexiko', cs: 'MX', value: 'mexico' },
+ { cn: 'Mikronesien', cs: 'FM', value: 'micronesia, federated states of' },
+ { cn: 'Moldau', cs: 'MD', value: 'moldova, republic of' },
+ { cn: 'Monaco', cs: 'MC', value: 'monaco' },
+ { cn: 'Mongolei', cs: 'MN', value: 'mongolia' },
+ { cn: 'Montenegro', cs: 'ME', value: 'montenegro' },
+ { cn: 'Montserrat', cs: 'MS', value: 'montserrat' },
+ { cn: 'Mosambik', cs: 'MZ', value: 'mozambique' },
+ { cn: 'Myanmar', cs: 'MM', value: 'myanmar' },
+ { cn: 'Namibia', cs: 'NA', value: 'namibia' },
+ { cn: 'Nauru', cs: 'NR', value: 'nauru' },
+ { cn: 'Nepal', cs: 'NP', value: 'nepal' },
+ { cn: 'Neukaledonien', cs: 'NC', value: 'new caledonia' },
+ { cn: 'Neuseeland', cs: 'NZ', value: 'new zealand' },
+ { cn: 'Nicaragua', cs: 'NI', value: 'nicaragua' },
+ { cn: 'Niederlande', cs: 'NL', value: 'netherlands' },
+ { cn: 'Niger', cs: 'NE', value: 'niger' },
+ { cn: 'Nigeria', cs: 'NG', value: 'nigeria' },
+ { cn: 'Niue', cs: 'NU', value: 'niue' },
+ { cn: 'Nördliche Marianen', cs: 'MP', value: 'northern mariana islands' },
+ { cn: 'Nordmazedonien', cs: 'MK', value: 'north macedonia' },
+ { cn: 'Norfolkinsel', cs: 'NF', value: 'norfolk island' },
+ { cn: 'Norwegen', cs: 'NO', value: 'norway' },
+ { cn: 'Oman', cs: 'OM', value: 'oman' },
+ { cn: 'Österreich', cs: 'AT', value: 'austria' },
+ { cn: 'Osttimor', cs: 'TL', value: 'timor-leste' },
+ { cn: 'Pakistan', cs: 'PK', value: 'pakistan' },
+ { cn: 'Palästina', cs: 'PS', value: 'palestinian territory, occupied' },
+ { cn: 'Palau', cs: 'PW', value: 'palau' },
+ { cn: 'Panama', cs: 'PA', value: 'panama' },
+ { cn: 'Papua-Neuguinea', cs: 'PG', value: 'papua new guinea' },
+ { cn: 'Paraguay', cs: 'PY', value: 'paraguay' },
+ { cn: 'Peru', cs: 'PE', value: 'peru' },
+ { cn: 'Philippinen', cs: 'PH', value: 'philippines' },
+ { cn: 'Pitcairninseln', cs: 'PN', value: 'pitcairn' },
+ { cn: 'Polen', cs: 'PL', value: 'poland' },
+ { cn: 'Portugal', cs: 'PT', value: 'portugal' },
+ { cn: 'Puerto Rico', cs: 'PR', value: 'puerto rico' },
+ { cn: 'Republik China', cs: 'TW', value: 'taiwan, province of china' },
+ { cn: 'Réunion', cs: 'RE', value: 'reunion' },
+ { cn: 'Ruanda', cs: 'RW', value: 'rwanda' },
+ { cn: 'Rumänien', cs: 'RO', value: 'romania' },
+ { cn: 'Russland', cs: 'RU', value: 'russian federation' },
+ { cn: 'Saint-Barthélemy', cs: 'BL', value: 'saint barthélemy' },
+ { cn: 'Saint-Martin (französischer Teil)', cs: 'MF', value: 'saint martin' },
+ {
+ cn: 'Saint-Pierre und Miquelon',
+ cs: 'PM',
+ value: 'saint pierre and miquelon'
+ },
+ { cn: 'Salomonen', cs: 'SB', value: 'solomon islands' },
+ { cn: 'Sambia', cs: 'ZM', value: 'zambia' },
+ { cn: 'Samoa', cs: 'WS', value: 'samoa' },
+ { cn: 'San Marino', cs: 'SM', value: 'san marino' },
+ { cn: 'São Tomé und Príncipe', cs: 'ST', value: 'sao tome and principe' },
+ { cn: 'Saudi-Arabien', cs: 'SA', value: 'saudi arabia' },
+ { cn: 'Schweden', cs: 'SE', value: 'sweden' },
+ { cn: 'Schweiz', cs: 'CH', value: 'switzerland' },
+ { cn: 'Senegal', cs: 'SN', value: 'senegal' },
+ { cn: 'Serbien', cs: 'RS', value: 'serbia' },
+ { cn: 'Seychellen', cs: 'SC', value: 'seychelles' },
+ { cn: 'Sierra Leone', cs: 'SL', value: 'sierra leone' },
+ { cn: 'Simbabwe', cs: 'ZW', value: 'zimbabwe' },
+ { cn: 'Singapur', cs: 'SG', value: 'singapore' },
+ { cn: 'Sint Maarten', cs: 'SX', value: 'sint maarten (dutch part)' },
+ { cn: 'Slowakei', cs: 'SK', value: 'slovakia' },
+ { cn: 'Slowenien', cs: 'SI', value: 'slovenia' },
+ { cn: 'Somalia', cs: 'SO', value: 'somalia' },
+ { cn: 'Spanien', cs: 'ES', value: 'spain' },
+ {
+ cn: 'Spitzbergen und Jan Mayen',
+ cs: 'SJ',
+ value: 'svalbard and jan mayen'
+ },
+ { cn: 'Sri Lanka', cs: 'LK', value: 'sri lanka' },
+ {
+ cn: 'St. Helena, Ascension und Tristan da Cunha',
+ cs: 'SH',
+ value: 'saint helena, ascension and tristan de cunha'
+ },
+ { cn: 'St. Kitts und Nevis', cs: 'KN', value: 'saint kitts and nevis' },
+ { cn: 'St. Lucia', cs: 'LC', value: 'saint lucia' },
+ {
+ cn: 'St. Vincent und die Grenadinen',
+ cs: 'VC',
+ value: 'saint vincent and the grenadines'
+ },
+ { cn: 'Südafrika', cs: 'ZA', value: 'south africa' },
+ { cn: 'Sudan', cs: 'SD', value: 'sudan' },
+ {
+ cn: 'Südgeorgien und die Südlichen Sandwichinseln',
+ cs: 'GS',
+ value: 'south georgia and the south sandwich islands'
+ },
+ { cn: 'Südsudan', cs: 'SS', value: 'south sudan' },
+ { cn: 'Suricn', cs: 'SR', value: 'suricn' },
+ { cn: 'Syrien', cs: 'SY', value: 'syrian arab republic' },
+ { cn: 'Tadschikistan', cs: 'TJ', value: 'tajikistan' },
+ { cn: 'Tansania', cs: 'TZ', value: 'tanzania, united republic of' },
+ { cn: 'Thailand', cs: 'TH', value: 'thailand' },
+ { cn: 'Togo', cs: 'TG', value: 'togo' },
+ { cn: 'Tokelau', cs: 'TK', value: 'tokelau' },
+ { cn: 'Tonga', cs: 'TO', value: 'tonga' },
+ { cn: 'Trinidad und Tobago', cs: 'TT', value: 'trinidad and tobago' },
+ { cn: 'Tschad', cs: 'TD', value: 'chad' },
+ { cn: 'Tschechien', cs: 'CZ', value: 'czech republic' },
+ { cn: 'Tunesien', cs: 'TN', value: 'tunisia' },
+ { cn: 'Türkei', cs: 'TR', value: 'turkey' },
+ { cn: 'Turkmenistan', cs: 'TM', value: 'turkmenistan' },
+ {
+ cn: 'Turks- und Caicosinseln',
+ cs: 'TC',
+ value: 'turks and caicos islands'
+ },
+ { cn: 'Tuvalu', cs: 'TV', value: 'tuvalu' },
+ { cn: 'Uganda', cs: 'UG', value: 'uganda' },
+ { cn: 'Ukraine', cs: 'UA', value: 'ukraine' },
+ { cn: 'Ungarn', cs: 'HU', value: 'hungary' },
+ {
+ cn: 'United States Minor Outlying Islands',
+ cs: 'UM',
+ value: 'united states minor outlying islands'
+ },
+ { cn: 'Uruguay', cs: 'UY', value: 'uruguay' },
+ { cn: 'Usbekistan', cs: 'UZ', value: 'uzbekistan' },
+ { cn: 'Vanuatu', cs: 'VU', value: 'vanuatu' },
+ { cn: 'Vatikanstadt', cs: 'VA', value: 'holy see (vatican city state)' },
+ { cn: 'Venezuela', cs: 'VE', value: 'venezuela' },
+ {
+ cn: 'Vereinigte Arabische Emirate',
+ cs: 'AE',
+ value: 'united arab emirates'
+ },
+ { cn: 'Vereinigte Staaten', cs: 'US', value: 'united states' },
+ { cn: 'Vereinigtes Königreich', cs: 'GB', value: 'united kingdom' },
+ { cn: 'Vietnam', cs: 'VN', value: 'vietnam' },
+ { cn: 'Volksrepublik China', cs: 'CN', value: 'china' },
+ { cn: 'Wallis und Futuna', cs: 'WF', value: 'wallis and futuna' },
+ { cn: 'Weihnachtsinsel', cs: 'CX', value: 'christmas island' },
+ { cn: 'Westsahara', cs: 'EH', value: 'western sahara' },
+ {
+ cn: 'Zentralafrikanische Republik',
+ cs: 'CF',
+ value: 'central african republic'
+ },
+ { cn: 'Zypern', cs: 'CY', value: 'cyprus' }
+]
diff --git a/src/Questions/CountryNew/data/es.js b/src/Questions/CountryNew/data/es.js
new file mode 100644
index 00000000..4e1ac7e0
--- /dev/null
+++ b/src/Questions/CountryNew/data/es.js
@@ -0,0 +1,315 @@
+export default [
+ { cn: 'Afganistán', cs: 'AF', value: 'afghanistan' },
+ { cn: 'Åland', cs: 'AX', value: 'åland islands' },
+ { cn: 'Albania', cs: 'AL', value: 'albania' },
+ { cn: 'Alemania', cs: 'DE', value: 'germany' },
+ { cn: 'Andorra', cs: 'AD', value: 'andorra' },
+ { cn: 'Angola', cs: 'AO', value: 'angola' },
+ { cn: 'Anguila', cs: 'AI', value: 'anguilla' },
+ { cn: 'Antártida', cs: 'AQ', value: 'antarctica' },
+ { cn: 'Antigua y Barbuda', cs: 'AG', value: 'antigua and barbuda' },
+ { cn: 'Arabia Saudita', cs: 'SA', value: 'saudi arabia' },
+ { cn: 'Argelia', cs: 'DZ', value: 'algeria' },
+ { cn: 'Argentina', cs: 'AR', value: 'argentina' },
+ { cn: 'Armenia', cs: 'AM', value: 'armenia' },
+ { cn: 'Aruba', cs: 'AW', value: 'aruba' },
+ { cn: 'Australia', cs: 'AU', value: 'australia' },
+ { cn: 'Austria', cs: 'AT', value: 'austria' },
+ { cn: 'Azerbaiyán', cs: 'AZ', value: 'azerbaijan' },
+ { cn: 'Bahamas', cs: 'BS', value: 'bahamas' },
+ { cn: 'Bangladés', cs: 'BD', value: 'bangladesh' },
+ { cn: 'Barbados', cs: 'BB', value: 'barbados' },
+ { cn: 'Baréin', cs: 'BH', value: 'bahrain' },
+ { cn: 'Bélgica', cs: 'BE', value: 'belgium' },
+ { cn: 'Belice', cs: 'BZ', value: 'belize' },
+ { cn: 'Benín', cs: 'BJ', value: 'benin' },
+ { cn: 'Bermudas', cs: 'BM', value: 'bermuda' },
+ { cn: 'Bielorrusia', cs: 'BY', value: 'belarus' },
+ { cn: 'Birmania', cs: 'MM', value: 'myanmar' },
+ { cn: 'Bolivia', cs: 'BO', value: 'bolivia' },
+ {
+ cn: 'Bonaire, San Eustaquio y Saba',
+ cs: 'BQ',
+ value: 'bonaire, sint eustatius and saba'
+ },
+ { cn: 'Bosnia y Herzegovina', cs: 'BA', value: 'bosnia and herzegovina' },
+ { cn: 'Botsuana', cs: 'BW', value: 'botswana' },
+ { cn: 'Brasil', cs: 'BR', value: 'brazil' },
+ { cn: 'Brunéi', cs: 'BN', value: 'brunei darussalam' },
+ { cn: 'Bulgaria', cs: 'BG', value: 'bulgaria' },
+ { cn: 'Burkina Faso', cs: 'BF', value: 'burkina faso' },
+ { cn: 'Burundi', cs: 'BI', value: 'burundi' },
+ { cn: 'Bután', cs: 'BT', value: 'bhutan' },
+ { cn: 'Cabo Verde', cs: 'CV', value: 'cape verde' },
+ { cn: 'Camboya', cs: 'KH', value: 'cambodia' },
+ { cn: 'Camerún', cs: 'CM', value: 'cameroon' },
+ { cn: 'Canadá', cs: 'CA', value: 'canada' },
+ { cn: 'Catar', cs: 'QA', value: 'qatar' },
+ { cn: 'Chad', cs: 'TD', value: 'chad' },
+ { cn: 'Chile', cs: 'CL', value: 'chile' },
+ { cn: 'China', cs: 'CN', value: 'china' },
+ { cn: 'Chipre', cs: 'CY', value: 'cyprus' },
+ { cn: 'Colombia', cs: 'CO', value: 'colombia' },
+ { cn: 'Comoras', cs: 'KM', value: 'comoros' },
+ {
+ cn: 'Corea del Norte',
+ cs: 'KP',
+ value: "korea, democratic people's republic of"
+ },
+ { cn: 'Corea del Sur', cs: 'KR', value: 'korea, republic of' },
+ { cn: 'Costa de Marfil', cs: 'CI', value: "côte d'ivoire" },
+ { cn: 'Costa Rica', cs: 'CR', value: 'costa rica' },
+ { cn: 'Croacia', cs: 'HR', value: 'croatia' },
+ { cn: 'Cuba', cs: 'CU', value: 'cuba' },
+ { cn: 'Curazao', cs: 'CW', value: 'curaçao' },
+ { cn: 'Dinamarca', cs: 'DK', value: 'denmark' },
+ { cn: 'Dominica', cs: 'DM', value: 'dominica' },
+ { cn: 'Ecuador', cs: 'EC', value: 'ecuador' },
+ { cn: 'Egipto', cs: 'EG', value: 'egypt' },
+ { cn: 'El Salvador', cs: 'SV', value: 'el salvador' },
+ { cn: 'Emiratos Árabes Unidos', cs: 'AE', value: 'united arab emirates' },
+ { cn: 'Eritrea', cs: 'ER', value: 'eritrea' },
+ { cn: 'Eslovaquia', cs: 'SK', value: 'slovakia' },
+ { cn: 'Eslovenia', cs: 'SI', value: 'slovenia' },
+ { cn: 'España', cs: 'ES', value: 'spain' },
+ { cn: 'Estados Unidos', cs: 'US', value: 'united states' },
+ { cn: 'Estonia', cs: 'EE', value: 'estonia' },
+ { cn: 'Etiopía', cs: 'ET', value: 'ethiopia' },
+ { cn: 'Filipinas', cs: 'PH', value: 'philippines' },
+ { cn: 'Finlandia', cs: 'FI', value: 'finland' },
+ { cn: 'Fiyi', cs: 'FJ', value: 'fiji' },
+ { cn: 'Francia', cs: 'FR', value: 'france' },
+ { cn: 'Gabón', cs: 'GA', value: 'gabon' },
+ { cn: 'Gambia', cs: 'GM', value: 'gambia' },
+ { cn: 'Georgia', cs: 'GE', value: 'georgia' },
+ { cn: 'Ghana', cs: 'GH', value: 'ghana' },
+ { cn: 'Gibraltar', cs: 'GI', value: 'gibraltar' },
+ { cn: 'Granada', cs: 'GD', value: 'grenada' },
+ { cn: 'Grecia', cs: 'GR', value: 'greece' },
+ { cn: 'Groenlandia', cs: 'GL', value: 'greenland' },
+ { cn: 'Guadalupe', cs: 'GP', value: 'guadeloupe' },
+ { cn: 'Guam', cs: 'GU', value: 'guam' },
+ { cn: 'Guatemala', cs: 'GT', value: 'guatemala' },
+ { cn: 'Guayana Francesa', cs: 'GF', value: 'french guiana' },
+ { cn: 'Guernsey', cs: 'GG', value: 'guernsey' },
+ { cn: 'Guinea', cs: 'GN', value: 'guinea' },
+ { cn: 'Guinea Ecuatorial', cs: 'GQ', value: 'equatorial guinea' },
+ { cn: 'Guinea-Bisáu', cs: 'GW', value: 'guinea-bissau' },
+ { cn: 'Guyana', cs: 'GY', value: 'guyana' },
+ { cn: 'Haití', cs: 'HT', value: 'haiti' },
+ { cn: 'Honduras', cs: 'HN', value: 'honduras' },
+ { cn: 'Hong Kong', cs: 'HK', value: 'hong kong' },
+ { cn: 'Hungría', cs: 'HU', value: 'hungary' },
+ { cn: 'India', cs: 'IN', value: 'india' },
+ { cn: 'Indonesia', cs: 'ID', value: 'indonesia' },
+ { cn: 'Irak', cs: 'IQ', value: 'iraq' },
+ { cn: 'Irán', cs: 'IR', value: 'iran, islamic republic of' },
+ { cn: 'Irlanda', cs: 'IE', value: 'ireland' },
+ { cn: 'Isla Bouvet', cs: 'BV', value: 'bouvet island' },
+ { cn: 'Isla de Man', cs: 'IM', value: 'isle of man' },
+ { cn: 'Isla de Navidad', cs: 'CX', value: 'christmas island' },
+ { cn: 'Isla Norfolk', cs: 'NF', value: 'norfolk island' },
+ { cn: 'Islandia', cs: 'IS', value: 'iceland' },
+ { cn: 'Islas Caimán', cs: 'KY', value: 'cayman islands' },
+ { cn: 'Islas Cocos', cs: 'CC', value: 'cocos (keeling) islands' },
+ { cn: 'Islas Cook', cs: 'CK', value: 'cook islands' },
+ { cn: 'Islas Feroe', cs: 'FO', value: 'faroe islands' },
+ {
+ cn: 'Islas Georgias del Sur y Sandwich del Sur',
+ cs: 'GS',
+ value: 'south georgia and the south sandwich islands'
+ },
+ {
+ cn: 'Islas Heard y McDonald',
+ cs: 'HM',
+ value: 'heard island and mcdonald islands'
+ },
+ { cn: 'Islas Malvinas', cs: 'FK', value: 'falkland islands (malvinas)' },
+ {
+ cn: 'Islas Marianas del Norte',
+ cs: 'MP',
+ value: 'northern mariana islands'
+ },
+ { cn: 'Islas Marshall', cs: 'MH', value: 'marshall islands' },
+ { cn: 'Islas Pitcairn', cs: 'PN', value: 'pitcairn' },
+ { cn: 'Islas Salomón', cs: 'SB', value: 'solomon islands' },
+ { cn: 'Islas Turcas y Caicos', cs: 'TC', value: 'turks and caicos islands' },
+ {
+ cn: 'Islas Ultramarinas Menores de los Estados Unidos',
+ cs: 'UM',
+ value: 'united states minor outlying islands'
+ },
+ {
+ cn: 'Islas Vírgenes Británicas',
+ cs: 'VG',
+ value: 'virgin islands, british'
+ },
+ {
+ cn: 'Islas Vírgenes de los Estados Unidos',
+ cs: 'VI',
+ value: 'virgin islands, u.s.'
+ },
+ { cn: 'Israel', cs: 'IL', value: 'israel' },
+ { cn: 'Italia', cs: 'IT', value: 'italy' },
+ { cn: 'Jamaica', cs: 'JM', value: 'jamaica' },
+ { cn: 'Japón', cs: 'JP', value: 'japan' },
+ { cn: 'Jersey', cs: 'JE', value: 'jersey' },
+ { cn: 'Jordania', cs: 'JO', value: 'jordan' },
+ { cn: 'Kazajistán', cs: 'KZ', value: 'kazakhstan' },
+ { cn: 'Kenia', cs: 'KE', value: 'kenya' },
+ { cn: 'Kirguistán', cs: 'KG', value: 'kyrgyzstan' },
+ { cn: 'Kiribati', cs: 'KI', value: 'kiribati' },
+ { cn: 'Kuwait', cs: 'KW', value: 'kuwait' },
+ { cn: 'Laos', cs: 'LA', value: 'laos' },
+ { cn: 'Lesoto', cs: 'LS', value: 'lesotho' },
+ { cn: 'Letonia', cs: 'LV', value: 'latvia' },
+ { cn: 'Líbano', cs: 'LB', value: 'lebanon' },
+ { cn: 'Liberia', cs: 'LR', value: 'liberia' },
+ { cn: 'Libia', cs: 'LY', value: 'libyan arab jamahiriya' },
+ { cn: 'Liechtenstein', cs: 'LI', value: 'liechtenstein' },
+ { cn: 'Lituania', cs: 'LT', value: 'lithuania' },
+ { cn: 'Luxemburgo', cs: 'LU', value: 'luxembourg' },
+ { cn: 'Macao', cs: 'MO', value: 'macao' },
+ { cn: 'Macedonia del Norte', cs: 'MK', value: 'north macedonia' },
+ { cn: 'Madagascar', cs: 'MG', value: 'madagascar' },
+ { cn: 'Malasia', cs: 'MY', value: 'malaysia' },
+ { cn: 'Malaui', cs: 'MW', value: 'malawi' },
+ { cn: 'Maldivas', cs: 'MV', value: 'maldives' },
+ { cn: 'Malí', cs: 'ML', value: 'mali' },
+ { cn: 'Malta', cs: 'MT', value: 'malta' },
+ { cn: 'Marruecos', cs: 'MA', value: 'morocco' },
+ { cn: 'Martinica', cs: 'MQ', value: 'martinique' },
+ { cn: 'Mauricio', cs: 'MU', value: 'mauritius' },
+ { cn: 'Mauritania', cs: 'MR', value: 'mauritania' },
+ { cn: 'Mayotte', cs: 'YT', value: 'mayotte' },
+ { cn: 'México', cs: 'MX', value: 'mexico' },
+ { cn: 'Micronesia', cs: 'FM', value: 'micronesia, federated states of' },
+ { cn: 'Moldavia', cs: 'MD', value: 'moldova, republic of' },
+ { cn: 'Mónaco', cs: 'MC', value: 'monaco' },
+ { cn: 'Mongolia', cs: 'MN', value: 'mongolia' },
+ { cn: 'Montenegro', cs: 'ME', value: 'montenegro' },
+ { cn: 'Montserrat', cs: 'MS', value: 'montserrat' },
+ { cn: 'Mozambique', cs: 'MZ', value: 'mozambique' },
+ { cn: 'Namibia', cs: 'NA', value: 'namibia' },
+ { cn: 'Nauru', cs: 'NR', value: 'nauru' },
+ { cn: 'Nepal', cs: 'NP', value: 'nepal' },
+ { cn: 'Nicaragua', cs: 'NI', value: 'nicaragua' },
+ { cn: 'Níger', cs: 'NE', value: 'niger' },
+ { cn: 'Nigeria', cs: 'NG', value: 'nigeria' },
+ { cn: 'Niue', cs: 'NU', value: 'niue' },
+ { cn: 'Noruega', cs: 'NO', value: 'norway' },
+ { cn: 'Nueva Caledonia', cs: 'NC', value: 'new caledonia' },
+ { cn: 'Nueva Zelanda', cs: 'NZ', value: 'new zealand' },
+ { cn: 'Omán', cs: 'OM', value: 'oman' },
+ { cn: 'Países Bajos', cs: 'NL', value: 'netherlands' },
+ { cn: 'Pakistán', cs: 'PK', value: 'pakistan' },
+ { cn: 'Palaos', cs: 'PW', value: 'palau' },
+ { cn: 'Palestina', cs: 'PS', value: 'palestinian territory, occupied' },
+ { cn: 'Panamá', cs: 'PA', value: 'panama' },
+ { cn: 'Papúa Nueva Guinea', cs: 'PG', value: 'papua new guinea' },
+ { cn: 'Paraguay', cs: 'PY', value: 'paraguay' },
+ { cn: 'Perú', cs: 'PE', value: 'peru' },
+ { cn: 'Polinesia Francesa', cs: 'PF', value: 'french polynesia' },
+ { cn: 'Polonia', cs: 'PL', value: 'poland' },
+ { cn: 'Portugal', cs: 'PT', value: 'portugal' },
+ { cn: 'Puerto Rico', cs: 'PR', value: 'puerto rico' },
+ { cn: 'Reino Unido', cs: 'GB', value: 'united kingdom' },
+ {
+ cn: 'República Árabe Saharaui Democrática',
+ cs: 'EH',
+ value: 'western sahara'
+ },
+ {
+ cn: 'República Centroafricana',
+ cs: 'CF',
+ value: 'central african republic'
+ },
+ { cn: 'República Checa', cs: 'CZ', value: 'czech republic' },
+ { cn: 'República del Congo', cs: 'CG', value: 'congo' },
+ { cn: 'República Democrática del Congo', cs: 'CD', value: 'congo' },
+ { cn: 'República Dominicana', cs: 'DO', value: 'dominican republic' },
+ { cn: 'Reunión', cs: 'RE', value: 'reunion' },
+ { cn: 'Ruanda', cs: 'RW', value: 'rwanda' },
+ { cn: 'Rumania', cs: 'RO', value: 'romania' },
+ { cn: 'Rusia', cs: 'RU', value: 'russian federation' },
+ { cn: 'Samoa', cs: 'WS', value: 'samoa' },
+ { cn: 'Samoa Americana', cs: 'AS', value: 'american samoa' },
+ { cn: 'San Bartolomé', cs: 'BL', value: 'saint barthélemy' },
+ { cn: 'San Cristóbal y Nieves', cs: 'KN', value: 'saint kitts and nevis' },
+ { cn: 'San Marino', cs: 'SM', value: 'san marino' },
+ { cn: 'San Martín', cs: 'MF', value: 'saint martin' },
+ { cn: 'San Martín', cs: 'MF', value: 'sint maarten (dutch part)' },
+ { cn: 'San Pedro y Miquelón', cs: 'PM', value: 'saint pierre and miquelon' },
+ {
+ cn: 'San Vicente y las Granadinas',
+ cs: 'VC',
+ value: 'saint vincent and the grenadines'
+ },
+ {
+ cn: 'Santa Elena, Ascensión y Tristán de Acuña',
+ cs: 'SH',
+ value: 'saint helena, ascension and tristan de cunha'
+ },
+ { cn: 'Santa Lucía', cs: 'LC', value: 'saint lucia' },
+ { cn: 'Santo Tomé y Príncipe', cs: 'ST', value: 'sao tome and principe' },
+ { cn: 'Senegal', cs: 'SN', value: 'senegal' },
+ { cn: 'Serbia', cs: 'RS', value: 'serbia' },
+ { cn: 'Seychelles', cs: 'SC', value: 'seychelles' },
+ { cn: 'Sierra Leona', cs: 'SL', value: 'sierra leone' },
+ { cn: 'Singapur', cs: 'SG', value: 'singapore' },
+ { cn: 'Siria', cs: 'SY', value: 'syrian arab republic' },
+ { cn: 'Somalia', cs: 'SO', value: 'somalia' },
+ { cn: 'Sri Lanka', cs: 'LK', value: 'sri lanka' },
+ { cn: 'Suazilandia', cs: 'SZ', value: 'swaziland' },
+ { cn: 'Sudáfrica', cs: 'ZA', value: 'south africa' },
+ { cn: 'Sudán', cs: 'SD', value: 'sudan' },
+ { cn: 'Sudán del Sur', cs: 'SS', value: 'south sudan' },
+ { cn: 'Suecia', cs: 'SE', value: 'sweden' },
+ { cn: 'Suiza', cs: 'CH', value: 'switzerland' },
+ { cn: 'Surinam', cs: 'SR', value: 'suricn' },
+ { cn: 'Svalbard y Jan Mayen', cs: 'SJ', value: 'svalbard and jan mayen' },
+ { cn: 'Tailandia', cs: 'TH', value: 'thailand' },
+ {
+ cn: 'Taiwán (República de China)',
+ cs: 'TW',
+ value: 'taiwan, province of china'
+ },
+ { cn: 'Tanzania', cs: 'TZ', value: 'tanzania, united republic of' },
+ { cn: 'Tayikistán', cs: 'TJ', value: 'tajikistan' },
+ {
+ cn: 'Territorio Británico del Océano Índico',
+ cs: 'IO',
+ value: 'british indian ocean territory'
+ },
+ {
+ cn: 'Tierras Australes y Antárticas Francesas',
+ cs: 'TF',
+ value: 'french southern territories'
+ },
+ { cn: 'Timor Oriental', cs: 'TL', value: 'timor-leste' },
+ { cn: 'Togo', cs: 'TG', value: 'togo' },
+ { cn: 'Tokelau', cs: 'TK', value: 'tokelau' },
+ { cn: 'Tonga', cs: 'TO', value: 'tonga' },
+ { cn: 'Trinidad y Tobago', cs: 'TT', value: 'trinidad and tobago' },
+ { cn: 'Túnez', cs: 'TN', value: 'tunisia' },
+ { cn: 'Turkmenistán', cs: 'TM', value: 'turkmenistan' },
+ { cn: 'Turquía', cs: 'TR', value: 'turkey' },
+ { cn: 'Tuvalu', cs: 'TV', value: 'tuvalu' },
+ { cn: 'Ucrania', cs: 'UA', value: 'ukraine' },
+ { cn: 'Uganda', cs: 'UG', value: 'uganda' },
+ { cn: 'Uruguay', cs: 'UY', value: 'uruguay' },
+ { cn: 'Uzbekistán', cs: 'UZ', value: 'uzbekistan' },
+ { cn: 'Vanuatu', cs: 'VU', value: 'vanuatu' },
+ {
+ cn: 'Vaticano, Ciudad del',
+ cs: 'VA',
+ value: 'holy see (vatican city state)'
+ },
+ { cn: 'Venezuela', cs: 'VE', value: 'venezuela' },
+ { cn: 'Vietnam', cs: 'VN', value: 'vietnam' },
+ { cn: 'Wallis y Futuna', cs: 'WF', value: 'wallis and futuna' },
+ { cn: 'Yemen', cs: 'YE', value: 'yemen' },
+ { cn: 'Yibuti', cs: 'DJ', value: 'djibouti' },
+ { cn: 'Zambia', cs: 'ZM', value: 'zambia' },
+ { cn: 'Zimbabue', cs: 'ZW', value: 'zimbabwe' }
+]
diff --git a/src/Questions/CountryNew/data/fr.js b/src/Questions/CountryNew/data/fr.js
new file mode 100644
index 00000000..a6f6d36b
--- /dev/null
+++ b/src/Questions/CountryNew/data/fr.js
@@ -0,0 +1,331 @@
+export default [
+ { cn: 'Afghanistan', cs: 'AF', value: 'afghanistan' },
+ { cn: 'Afrique du Sud', cs: 'ZA', value: 'south africa' },
+ { cn: 'Albanie', cs: 'AL', value: 'albania' },
+ { cn: 'Algérie', cs: 'DZ', value: 'algeria' },
+ { cn: 'Allemagne', cs: 'DE', value: 'germany' },
+ { cn: 'Andorre', cs: 'AD', value: 'andorra' },
+ { cn: 'Angola', cs: 'AO', value: 'angola' },
+ { cn: 'Anguilla', cs: 'AI', value: 'anguilla' },
+ { cn: 'Antarctique', cs: 'AQ', value: 'antarctica' },
+ { cn: 'Antigua-et-Barbuda', cs: 'AG', value: 'antigua and barbuda' },
+ { cn: 'Arabie saoudite', cs: 'SA', value: 'saudi arabia' },
+ { cn: 'Argentine', cs: 'AR', value: 'argentina' },
+ { cn: 'Arménie', cs: 'AM', value: 'armenia' },
+ { cn: 'Aruba', cs: 'AW', value: 'aruba' },
+ { cn: 'Australie', cs: 'AU', value: 'australia' },
+ { cn: 'Autriche', cs: 'AT', value: 'austria' },
+ { cn: 'Azerbaïdjan', cs: 'AZ', value: 'azerbaijan' },
+ { cn: 'Bahamas', cs: 'BS', value: 'bahamas' },
+ { cn: 'Bahreïn', cs: 'BH', value: 'bahrain' },
+ { cn: 'Bangladesh', cs: 'BD', value: 'bangladesh' },
+ { cn: 'Barbade', cs: 'BB', value: 'barbados' },
+ { cn: 'Belgique', cs: 'BE', value: 'belgium' },
+ { cn: 'Belize', cs: 'BZ', value: 'belize' },
+ { cn: 'Bénin', cs: 'BJ', value: 'benin' },
+ { cn: 'Bermudes', cs: 'BM', value: 'bermuda' },
+ { cn: 'Bhoutan', cs: 'BT', value: 'bhutan' },
+ { cn: 'Biélorussie', cs: 'BY', value: 'belarus' },
+ { cn: 'Birmanie', cs: 'MM', value: 'myanmar' },
+ { cn: 'Bolivie', cs: 'BO', value: 'bolivia' },
+ { cn: 'Bosnie-Herzégovine', cs: 'BA', value: 'bosnia and herzegovina' },
+ { cn: 'Botswana', cs: 'BW', value: 'botswana' },
+ { cn: 'Brésil', cs: 'BR', value: 'brazil' },
+ { cn: 'Brunei', cs: 'BN', value: 'brunei darussalam' },
+ { cn: 'Bulgarie', cs: 'BG', value: 'bulgaria' },
+ { cn: 'Burkina Faso', cs: 'BF', value: 'burkina faso' },
+ { cn: 'Burundi', cs: 'BI', value: 'burundi' },
+ { cn: 'Cambodge', cs: 'KH', value: 'cambodia' },
+ { cn: 'Cameroun', cs: 'CM', value: 'cameroon' },
+ { cn: 'Canada', cs: 'CA', value: 'canada' },
+ { cn: 'Cap-Vert', cs: 'CV', value: 'cape verde' },
+ { cn: 'Chili', cs: 'CL', value: 'chile' },
+ { cn: 'Chine', cs: 'CN', value: 'china' },
+ { cn: 'Chypre (pays)', cs: 'CY', value: 'cyprus' },
+ { cn: 'Colombie', cs: 'CO', value: 'colombia' },
+ { cn: 'Comores (pays)', cs: 'KM', value: 'comoros' },
+ {
+ cn: 'Corée du Nord',
+ cs: 'KP',
+ value: "korea, democratic people's republic of"
+ },
+ { cn: 'Corée du Sud', cs: 'KR', value: 'korea, republic of' },
+ { cn: 'Costa Rica', cs: 'CR', value: 'costa rica' },
+ { cn: "Côte d'Ivoire", cs: 'CI', value: "côte d'ivoire" },
+ { cn: 'Croatie', cs: 'HR', value: 'croatia' },
+ { cn: 'Cuba', cs: 'CU', value: 'cuba' },
+ { cn: 'Curaçao', cs: 'CW', value: 'curaçao' },
+ { cn: 'Danemark', cs: 'DK', value: 'denmark' },
+ { cn: 'Djibouti', cs: 'DJ', value: 'djibouti' },
+ { cn: 'Dominique', cs: 'DM', value: 'dominica' },
+ { cn: 'Égypte', cs: 'EG', value: 'egypt' },
+ { cn: 'Émirats arabes unis', cs: 'AE', value: 'united arab emirates' },
+ { cn: 'Équateur (pays)', cs: 'EC', value: 'ecuador' },
+ { cn: 'Érythrée', cs: 'ER', value: 'eritrea' },
+ { cn: 'Espagne', cs: 'ES', value: 'spain' },
+ { cn: 'Estonie', cs: 'EE', value: 'estonia' },
+ { cn: 'Eswatini', cs: 'SZ', value: 'swaziland' },
+ {
+ cn: 'États fédérés de Micronésie (pays)',
+ cs: 'FM',
+ value: 'micronesia, federated states of'
+ },
+ { cn: 'États-Unis', cs: 'US', value: 'united states' },
+ { cn: 'Éthiopie', cs: 'ET', value: 'ethiopia' },
+ { cn: 'Fidji', cs: 'FJ', value: 'fiji' },
+ { cn: 'Finlande', cs: 'FI', value: 'finland' },
+ { cn: 'France', cs: 'FR', value: 'france' },
+ { cn: 'Gabon', cs: 'GA', value: 'gabon' },
+ { cn: 'Gambie', cs: 'GM', value: 'gambia' },
+ { cn: 'Géorgie (pays)', cs: 'GE', value: 'georgia' },
+ {
+ cn: 'Géorgie du Sud-et-les îles Sandwich du Sud',
+ cs: 'GS',
+ value: 'south georgia and the south sandwich islands'
+ },
+ { cn: 'Ghana', cs: 'GH', value: 'ghana' },
+ { cn: 'Gibraltar', cs: 'GI', value: 'gibraltar' },
+ { cn: 'Grèce', cs: 'GR', value: 'greece' },
+ { cn: 'Grenade (pays)', cs: 'GD', value: 'grenada' },
+ { cn: 'Groenland', cs: 'GL', value: 'greenland' },
+ { cn: 'Guadeloupe', cs: 'GP', value: 'guadeloupe' },
+ { cn: 'Guam', cs: 'GU', value: 'guam' },
+ { cn: 'Guatemala', cs: 'GT', value: 'guatemala' },
+ { cn: 'Guernesey', cs: 'GG', value: 'guernsey' },
+ { cn: 'Guinée', cs: 'GN', value: 'guinea' },
+ { cn: 'Guinée équatoriale', cs: 'GQ', value: 'equatorial guinea' },
+ { cn: 'Guinée-Bissau', cs: 'GW', value: 'guinea-bissau' },
+ { cn: 'Guyana', cs: 'GY', value: 'guyana' },
+ { cn: 'Guyane', cs: 'GF', value: 'french guiana' },
+ { cn: 'Haïti', cs: 'HT', value: 'haiti' },
+ { cn: 'Honduras', cs: 'HN', value: 'honduras' },
+ { cn: 'Hong Kong', cs: 'HK', value: 'hong kong' },
+ { cn: 'Hongrie', cs: 'HU', value: 'hungary' },
+ { cn: 'Île Bouvet', cs: 'BV', value: 'bouvet island' },
+ { cn: 'Île Christmas', cs: 'CX', value: 'christmas island' },
+ { cn: 'Île de Man', cs: 'IM', value: 'isle of man' },
+ { cn: 'Île Norfolk', cs: 'NF', value: 'norfolk island' },
+ { cn: 'Îles Åland', cs: 'AX', value: 'åland islands' },
+ { cn: 'Îles Caïmans', cs: 'KY', value: 'cayman islands' },
+ { cn: 'Îles Cocos', cs: 'CC', value: 'cocos (keeling) islands' },
+ { cn: 'Îles Cook', cs: 'CK', value: 'cook islands' },
+ { cn: 'Îles Féroé', cs: 'FO', value: 'faroe islands' },
+ {
+ cn: 'Îles Heard-et-MacDonald',
+ cs: 'HM',
+ value: 'heard island and mcdonald islands'
+ },
+ { cn: 'Îles Mariannes du Nord', cs: 'MP', value: 'northern mariana islands' },
+ { cn: 'Îles Marshall (pays)', cs: 'MH', value: 'marshall islands' },
+ {
+ cn: 'Îles mineures éloignées des États-Unis',
+ cs: 'UM',
+ value: 'united states minor outlying islands'
+ },
+ { cn: 'Îles Pitcairn', cs: 'PN', value: 'pitcairn' },
+ {
+ cn: 'Îles Turques-et-Caïques',
+ cs: 'TC',
+ value: 'turks and caicos islands'
+ },
+ {
+ cn: 'Îles Vierges britanniques',
+ cs: 'VG',
+ value: 'virgin islands, british'
+ },
+ {
+ cn: 'Îles Vierges des États-Unis',
+ cs: 'VI',
+ value: 'virgin islands, u.s.'
+ },
+ { cn: 'Inde', cs: 'IN', value: 'india' },
+ { cn: 'Indonésie', cs: 'ID', value: 'indonesia' },
+ { cn: 'Irak', cs: 'IQ', value: 'iraq' },
+ { cn: 'Iran', cs: 'IR', value: 'iran, islamic republic of' },
+ { cn: 'Irlande (pays)', cs: 'IE', value: 'ireland' },
+ { cn: 'Islande', cs: 'IS', value: 'iceland' },
+ { cn: 'Israël', cs: 'IL', value: 'israel' },
+ { cn: 'Italie', cs: 'IT', value: 'italy' },
+ { cn: 'Jamaïque', cs: 'JM', value: 'jamaica' },
+ { cn: 'Japon', cs: 'JP', value: 'japan' },
+ { cn: 'Jersey', cs: 'JE', value: 'jersey' },
+ { cn: 'Jordanie', cs: 'JO', value: 'jordan' },
+ { cn: 'Kazakhstan', cs: 'KZ', value: 'kazakhstan' },
+ { cn: 'Kenya', cs: 'KE', value: 'kenya' },
+ { cn: 'Kirghizistan', cs: 'KG', value: 'kyrgyzstan' },
+ { cn: 'Kiribati', cs: 'KI', value: 'kiribati' },
+ { cn: 'Koweït', cs: 'KW', value: 'kuwait' },
+ { cn: 'La Réunion', cs: 'RE', value: 'reunion' },
+ { cn: 'Laos', cs: 'LA', value: 'laos' },
+ { cn: 'Lesotho', cs: 'LS', value: 'lesotho' },
+ { cn: 'Lettonie', cs: 'LV', value: 'latvia' },
+ { cn: 'Liban', cs: 'LB', value: 'lebanon' },
+ { cn: 'Liberia', cs: 'LR', value: 'liberia' },
+ { cn: 'Libye', cs: 'LY', value: 'libyan arab jamahiriya' },
+ { cn: 'Liechtenstein', cs: 'LI', value: 'liechtenstein' },
+ { cn: 'Lituanie', cs: 'LT', value: 'lithuania' },
+ { cn: 'Luxembourg (pays)', cs: 'LU', value: 'luxembourg' },
+ { cn: 'Macao', cs: 'MO', value: 'macao' },
+ { cn: 'Macédoine du Nord', cs: 'MK', value: 'north macedonia' },
+ { cn: 'Madagascar', cs: 'MG', value: 'madagascar' },
+ { cn: 'Malaisie', cs: 'MY', value: 'malaysia' },
+ { cn: 'Malawi', cs: 'MW', value: 'malawi' },
+ { cn: 'Maldives', cs: 'MV', value: 'maldives' },
+ { cn: 'Mali', cs: 'ML', value: 'mali' },
+ { cn: 'Malouines', cs: 'FK', value: 'falkland islands (malvinas)' },
+ { cn: 'Malte', cs: 'MT', value: 'malta' },
+ { cn: 'Maroc', cs: 'MA', value: 'morocco' },
+ { cn: 'Martinique', cs: 'MQ', value: 'martinique' },
+ { cn: 'Maurice (pays)', cs: 'MU', value: 'mauritius' },
+ { cn: 'Mauritanie', cs: 'MR', value: 'mauritania' },
+ { cn: 'Mayotte', cs: 'YT', value: 'mayotte' },
+ { cn: 'Mexique', cs: 'MX', value: 'mexico' },
+ { cn: 'Moldavie', cs: 'MD', value: 'moldova, republic of' },
+ { cn: 'Monaco', cs: 'MC', value: 'monaco' },
+ { cn: 'Mongolie', cs: 'MN', value: 'mongolia' },
+ { cn: 'Monténégro', cs: 'ME', value: 'montenegro' },
+ { cn: 'Montserrat', cs: 'MS', value: 'montserrat' },
+ { cn: 'Mozambique', cs: 'MZ', value: 'mozambique' },
+ { cn: 'Namibie', cs: 'NA', value: 'namibia' },
+ { cn: 'Nauru', cs: 'NR', value: 'nauru' },
+ { cn: 'Népal', cs: 'NP', value: 'nepal' },
+ { cn: 'Nicaragua', cs: 'NI', value: 'nicaragua' },
+ { cn: 'Niger', cs: 'NE', value: 'niger' },
+ { cn: 'Nigeria', cs: 'NG', value: 'nigeria' },
+ { cn: 'Niue', cs: 'NU', value: 'niue' },
+ { cn: 'Norvège', cs: 'NO', value: 'norway' },
+ { cn: 'Nouvelle-Calédonie', cs: 'NC', value: 'new caledonia' },
+ { cn: 'Nouvelle-Zélande', cs: 'NZ', value: 'new zealand' },
+ { cn: 'Oman', cs: 'OM', value: 'oman' },
+ { cn: 'Ouganda', cs: 'UG', value: 'uganda' },
+ { cn: 'Ouzbékistan', cs: 'UZ', value: 'uzbekistan' },
+ { cn: 'Pakistan', cs: 'PK', value: 'pakistan' },
+ { cn: 'Palaos', cs: 'PW', value: 'palau' },
+ { cn: 'Palestine', cs: 'PS', value: 'palestinian territory, occupied' },
+ { cn: 'Panama', cs: 'PA', value: 'panama' },
+ { cn: 'Papouasie-Nouvelle-Guinée', cs: 'PG', value: 'papua new guinea' },
+ { cn: 'Paraguay', cs: 'PY', value: 'paraguay' },
+ { cn: 'Pays-Bas', cs: 'NL', value: 'netherlands' },
+ {
+ cn: 'Pays-Bas caribéens',
+ cs: 'BQ',
+ value: 'bonaire, sint eustatius and saba'
+ },
+ { cn: 'Pérou', cs: 'PE', value: 'peru' },
+ { cn: 'Philippines', cs: 'PH', value: 'philippines' },
+ { cn: 'Pologne', cs: 'PL', value: 'poland' },
+ { cn: 'Polynésie française', cs: 'PF', value: 'french polynesia' },
+ { cn: 'Porto Rico', cs: 'PR', value: 'puerto rico' },
+ { cn: 'Portugal', cs: 'PT', value: 'portugal' },
+ { cn: 'Qatar', cs: 'QA', value: 'qatar' },
+ {
+ cn: 'République arabe sahraouie démocratique',
+ cs: 'EH',
+ value: 'western sahara'
+ },
+ {
+ cn: 'République centrafricaine',
+ cs: 'CF',
+ value: 'central african republic'
+ },
+ { cn: 'République démocratique du Congo', cs: 'CD', value: 'congo' },
+ { cn: 'République dominicaine', cs: 'DO', value: 'dominican republic' },
+ { cn: 'République du Congo', cs: 'CG', value: 'congo' },
+ { cn: 'Roumanie', cs: 'RO', value: 'romania' },
+ { cn: 'Royaume-Uni', cs: 'GB', value: 'united kingdom' },
+ { cn: 'Russie', cs: 'RU', value: 'russian federation' },
+ { cn: 'Rwanda', cs: 'RW', value: 'rwanda' },
+ { cn: 'Saint-Barthélemy', cs: 'BL', value: 'saint barthélemy' },
+ {
+ cn: 'Saint-Christophe-et-Niévès',
+ cs: 'KN',
+ value: 'saint kitts and nevis'
+ },
+ { cn: 'Saint-Marin', cs: 'SM', value: 'san marino' },
+ { cn: 'Saint-Martin', cs: 'MF', value: 'saint martin' },
+ { cn: 'Saint-Martin', cs: 'MF', value: 'sint maarten (dutch part)' },
+ {
+ cn: 'Saint-Pierre-et-Miquelon',
+ cs: 'PM',
+ value: 'saint pierre and miquelon'
+ },
+ {
+ cn: 'Saint-Siège (État de la Cité du Vatican)',
+ cs: 'VA',
+ value: 'holy see (vatican city state)'
+ },
+ {
+ cn: 'Saint-Vincent-et-les-Grenadines',
+ cs: 'VC',
+ value: 'saint vincent and the grenadines'
+ },
+ {
+ cn: 'Sainte-Hélène, Ascension et Tristan da Cunha',
+ cs: 'SH',
+ value: 'saint helena, ascension and tristan de cunha'
+ },
+ { cn: 'Sainte-Lucie', cs: 'LC', value: 'saint lucia' },
+ { cn: 'Salomon', cs: 'SB', value: 'solomon islands' },
+ { cn: 'Salvador', cs: 'SV', value: 'el salvador' },
+ { cn: 'Samoa', cs: 'WS', value: 'samoa' },
+ { cn: 'Samoa américaines', cs: 'AS', value: 'american samoa' },
+ { cn: 'Sao Tomé-et-Principe', cs: 'ST', value: 'sao tome and principe' },
+ { cn: 'Sénégal', cs: 'SN', value: 'senegal' },
+ { cn: 'Serbie', cs: 'RS', value: 'serbia' },
+ { cn: 'Seychelles', cs: 'SC', value: 'seychelles' },
+ { cn: 'Sierra Leone', cs: 'SL', value: 'sierra leone' },
+ { cn: 'Singapour', cs: 'SG', value: 'singapore' },
+ { cn: 'Slovaquie', cs: 'SK', value: 'slovakia' },
+ { cn: 'Slovénie', cs: 'SI', value: 'slovenia' },
+ { cn: 'Somalie', cs: 'SO', value: 'somalia' },
+ { cn: 'Soudan', cs: 'SD', value: 'sudan' },
+ { cn: 'Soudan du Sud', cs: 'SS', value: 'south sudan' },
+ { cn: 'Sri Lanka', cs: 'LK', value: 'sri lanka' },
+ { cn: 'Suède', cs: 'SE', value: 'sweden' },
+ { cn: 'Suisse', cs: 'CH', value: 'switzerland' },
+ { cn: 'Suricn', cs: 'SR', value: 'suricn' },
+ {
+ cn: 'Svalbard et ile Jan Mayen',
+ cs: 'SJ',
+ value: 'svalbard and jan mayen'
+ },
+ { cn: 'Syrie', cs: 'SY', value: 'syrian arab republic' },
+ { cn: 'Tadjikistan', cs: 'TJ', value: 'tajikistan' },
+ {
+ cn: 'Taïwan / (République de Chine (Taïwan))',
+ cs: 'TW',
+ value: 'taiwan, province of china'
+ },
+ { cn: 'Tanzanie', cs: 'TZ', value: 'tanzania, united republic of' },
+ { cn: 'Tchad', cs: 'TD', value: 'chad' },
+ { cn: 'Tchéquie', cs: 'CZ', value: 'czech republic' },
+ {
+ cn: 'Terres australes et antarctiques françaises',
+ cs: 'TF',
+ value: 'french southern territories'
+ },
+ {
+ cn: "Territoire britannique de l'océan Indien",
+ cs: 'IO',
+ value: 'british indian ocean territory'
+ },
+ { cn: 'Thaïlande', cs: 'TH', value: 'thailand' },
+ { cn: 'Timor oriental', cs: 'TL', value: 'timor-leste' },
+ { cn: 'Togo', cs: 'TG', value: 'togo' },
+ { cn: 'Tokelau', cs: 'TK', value: 'tokelau' },
+ { cn: 'Tonga', cs: 'TO', value: 'tonga' },
+ { cn: 'Trinité-et-Tobago', cs: 'TT', value: 'trinidad and tobago' },
+ { cn: 'Tunisie', cs: 'TN', value: 'tunisia' },
+ { cn: 'Turkménistan', cs: 'TM', value: 'turkmenistan' },
+ { cn: 'Turquie', cs: 'TR', value: 'turkey' },
+ { cn: 'Tuvalu', cs: 'TV', value: 'tuvalu' },
+ { cn: 'Ukraine', cs: 'UA', value: 'ukraine' },
+ { cn: 'Uruguay', cs: 'UY', value: 'uruguay' },
+ { cn: 'Vanuatu', cs: 'VU', value: 'vanuatu' },
+ { cn: 'Venezuela', cs: 'VE', value: 'venezuela' },
+ { cn: 'Viêt Nam', cs: 'VN', value: 'vietnam' },
+ { cn: 'Wallis-et-Futuna', cs: 'WF', value: 'wallis and futuna' },
+ { cn: 'Yémen', cs: 'YE', value: 'yemen' },
+ { cn: 'Zambie', cs: 'ZM', value: 'zambia' },
+ { cn: 'Zimbabwe', cs: 'ZW', value: 'zimbabwe' }
+]
diff --git a/src/Questions/CountryNew/index.js b/src/Questions/CountryNew/index.js
new file mode 100644
index 00000000..28975e7c
--- /dev/null
+++ b/src/Questions/CountryNew/index.js
@@ -0,0 +1,149 @@
+/** @jsxRuntime classic */
+/** @jsx jsx */
+import { jsx } from 'theme-ui'
+import { getCountryDataList } from 'countries-list'
+// import countriesTools from 'i18n-iso-countries'
+
+// import CountryAndRegionsData from './data/countryAndRegion'
+// import DeuschCountryData from './data/de'
+// import SpanishCountryData from './data/es'
+// import FrenchCountryData from './data/fr'
+import ErrorMessage from '../../Fields/Error'
+import Select from '../../Fields/Select'
+import Label from '../../Fields/Label'
+
+// const prioritySort = (countries, order) => {
+// const countryOrder = []
+
+// order.forEach((isoCountryCode) => {
+// const found = countries.find((country) => isoCountryCode.toString().toLowerCase() === country.cs.toLowerCase())
+// if (found) countryOrder.push(found)
+// })
+
+// const origin = countries.filter((item) => !order.includes(item.cs))
+
+// return [...countryOrder, ...origin]
+// }
+
+// const countriesMapData = {
+// es: SpanishCountryData,
+// fr: FrenchCountryData,
+// de: DeuschCountryData
+// }
+
+const QuestionCountryNew = ({
+ component,
+ question,
+ useForm,
+ countryAndRegionsData,
+ language,
+ ...props
+}) => {
+ const {
+ formState: { errors },
+ trigger,
+ control,
+ defaultValue,
+ // watch,
+ unregister
+ } = useForm
+
+ // const countryAndRegions =
+ // language && countriesMapData[language]
+ // ? countriesMapData[language]
+ // : countryAndRegionsData || CountryAndRegionsData
+
+ // const getCountriesOptions = (countries) => {
+ // const filteredCountries = prioritySort(
+ // countries,
+ // question.priorityOptions || []
+ // )
+
+ // return [].concat(
+ // filteredCountries.map((country) => ({
+ // value: (question.returnCountryName && country.value) || country.cs,
+ // label: country.cn
+ // }))
+ // )
+ // }
+
+ // const getRegionOptions = (country) => {
+ // const list =
+ // countryAndRegionsData.find((item) => item.cn === country) &&
+ // countryAndRegionsData
+ // .find((item) => item.cn === country)
+ // .regions.map((option) => {
+ // return {
+ // value: option.cn,
+ // label: option.cn
+ // }
+ // })
+
+ // return list
+ // }
+
+ // const renderCountryOptions = (items) => {
+ // return items.map((item) => (
+ //
+ // {item.label}
+ //
+ // ))
+ // }
+
+ // const options = question.region
+ // ? getRegionOptions(watch('Country').label)
+ // : getCountriesOptions(countryAndRegions)
+
+ const options = getCountryDataList().map((country) => {
+ return {
+ value: country.iso2,
+ label: country.native
+ }
+ })
+
+ return (
+
+ {question.label && (
+
+ {question.label}
+
+ )}
+ {
+ trigger(question.name)
+ }}
+ id={question.name}
+ key={question.name}
+ name={question.name}
+ options={options}
+ isSearchable={false}
+ registerConfig={question.registerConfig}
+ placeholder={question.placeholder}
+ label={question.label}
+ data-haserrors={!!errors[question.name]}
+ {...props}
+ />
+
+ {errors[question.name] &&
+ (errors[question.name].type === 'required' ||
+ errors[question.name].type === 'noEmpty') && (
+
+ )}
+
+ )
+}
+
+export default QuestionCountryNew
diff --git a/src/builder.js b/src/builder.js
index 704e811e..90763963 100644
--- a/src/builder.js
+++ b/src/builder.js
@@ -11,6 +11,7 @@ import QuestionCheckbox from './Questions/Checkbox'
import QuestionRadio from './Questions/Radio'
import QuestionSelect from './Questions/Select'
import QuestionCountry from './Questions/Country'
+import QuestionCountryNew from './Questions/CountryNew'
import QuestionInput from './Questions/Input'
import QuestionTextarea from './Questions/Textarea'
import QuestionDate from './Questions/Date'
@@ -117,7 +118,23 @@ const FormBuilder = ({
)}
>
),
- county: ,
+ country_new: (
+ <>
+
+ {question.dependentQuestions &&
+ question.dependentQuestions.map(
+ ConditionalQuestion(question.dependentQuestions, question.name)
+ )}
+ >
+ ),
+ county: (
+
+ ),
gender: (
<>
Date: Wed, 28 Feb 2024 09:25:51 +0100
Subject: [PATCH 04/12] refactor: one single rollup config file
---
package-lock.json | 2603 +++++++++++++++++++++++++++---------------
package.json | 4 +-
rollup.config.js | 56 +-
rollup.dev-config.js | 54 -
4 files changed, 1717 insertions(+), 1000 deletions(-)
delete mode 100644 rollup.dev-config.js
diff --git a/package-lock.json b/package-lock.json
index 74e87fcd..a43f6079 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -2194,19 +2194,17 @@
}
},
"node_modules/@commitlint/cli": {
- "version": "19.0.0",
- "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-19.0.0.tgz",
- "integrity": "sha512-SVBQG6k+eOOmlejYTtxnqJGmhrzy/m0qH3bVeoHY3gtlJBK3Kb32RjJioteBYk8Vuo58x5ehAjXwsQFX58X+xw==",
+ "version": "19.0.1",
+ "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-19.0.1.tgz",
+ "integrity": "sha512-6D+KT/RasFPF92M549I3lABSBWXAdmKvBfxtYWlWO5JdYFSK+B6jY6XyE/hN/DNSYvwwcuNk+CzbqQcy+EbrCw==",
"dev": true,
"dependencies": {
"@commitlint/format": "^19.0.0",
"@commitlint/lint": "^19.0.0",
- "@commitlint/load": "^19.0.0",
+ "@commitlint/load": "^19.0.1",
"@commitlint/read": "^19.0.0",
"@commitlint/types": "^19.0.0",
"execa": "^8.0.1",
- "resolve-from": "^5.0.0",
- "resolve-global": "^2.0.0",
"yargs": "^17.0.0"
},
"bin": {
@@ -2216,140 +2214,6 @@
"node": ">=v18"
}
},
- "node_modules/@commitlint/cli/node_modules/execa": {
- "version": "8.0.1",
- "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz",
- "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==",
- "dev": true,
- "dependencies": {
- "cross-spawn": "^7.0.3",
- "get-stream": "^8.0.1",
- "human-signals": "^5.0.0",
- "is-stream": "^3.0.0",
- "merge-stream": "^2.0.0",
- "npm-run-path": "^5.1.0",
- "onetime": "^6.0.0",
- "signal-exit": "^4.1.0",
- "strip-final-newline": "^3.0.0"
- },
- "engines": {
- "node": ">=16.17"
- },
- "funding": {
- "url": "https://github.com/sindresorhus/execa?sponsor=1"
- }
- },
- "node_modules/@commitlint/cli/node_modules/get-stream": {
- "version": "8.0.1",
- "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz",
- "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==",
- "dev": true,
- "engines": {
- "node": ">=16"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/@commitlint/cli/node_modules/human-signals": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz",
- "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==",
- "dev": true,
- "engines": {
- "node": ">=16.17.0"
- }
- },
- "node_modules/@commitlint/cli/node_modules/is-stream": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz",
- "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==",
- "dev": true,
- "engines": {
- "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/@commitlint/cli/node_modules/mimic-fn": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz",
- "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==",
- "dev": true,
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/@commitlint/cli/node_modules/npm-run-path": {
- "version": "5.3.0",
- "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.3.0.tgz",
- "integrity": "sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==",
- "dev": true,
- "dependencies": {
- "path-key": "^4.0.0"
- },
- "engines": {
- "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/@commitlint/cli/node_modules/onetime": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz",
- "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==",
- "dev": true,
- "dependencies": {
- "mimic-fn": "^4.0.0"
- },
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/@commitlint/cli/node_modules/path-key": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz",
- "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==",
- "dev": true,
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/@commitlint/cli/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/@commitlint/cli/node_modules/strip-final-newline": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz",
- "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==",
- "dev": true,
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
"node_modules/@commitlint/config-conventional": {
"version": "19.0.0",
"resolved": "https://registry.npmjs.org/@commitlint/config-conventional/-/config-conventional-19.0.0.tgz",
@@ -2489,14 +2353,14 @@
}
},
"node_modules/@commitlint/load": {
- "version": "19.0.0",
- "resolved": "https://registry.npmjs.org/@commitlint/load/-/load-19.0.0.tgz",
- "integrity": "sha512-pC/6xDjkWPWgqfILY0KMMpxz0dTZqC7fUpxyWMLRrlbZCC9S54/gsg/8UltFrUH+C+F1zz4Ip8CQgzKonpH6rg==",
+ "version": "19.0.1",
+ "resolved": "https://registry.npmjs.org/@commitlint/load/-/load-19.0.1.tgz",
+ "integrity": "sha512-5w5RHhtidRPMRm8ktph+NKypt1Wu5Z2jbU1Lc+1IS9Azy83JWRBQ9xKBbW9gF66R/TwHF0v6Jy8KOqRS8I/GgA==",
"dev": true,
"dependencies": {
"@commitlint/config-validator": "^19.0.0",
"@commitlint/execute-rule": "^19.0.0",
- "@commitlint/resolve-extends": "^19.0.0",
+ "@commitlint/resolve-extends": "^19.0.1",
"@commitlint/types": "^19.0.0",
"chalk": "^5.3.0",
"cosmiconfig": "^8.3.6",
@@ -2560,17 +2424,16 @@
}
},
"node_modules/@commitlint/resolve-extends": {
- "version": "19.0.0",
- "resolved": "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-19.0.0.tgz",
- "integrity": "sha512-ej0fALn5yZQOYKH8wPZnzw5LGvD0n5gJBPvV6DnMiSYudqgwYwhdNJ//MukZCXNpLIM1yMA8KUyrCP6D4WnUbg==",
+ "version": "19.0.1",
+ "resolved": "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-19.0.1.tgz",
+ "integrity": "sha512-U5BRCNEiib0I06e6utNzBXZRu/t/bzlqVljS5kaNwggPN1VS+Kvuks8fY97j85B8sifHXU5dhUICPRKP8Oj31A==",
"dev": true,
"dependencies": {
"@commitlint/config-validator": "^19.0.0",
"@commitlint/types": "^19.0.0",
- "import-fresh": "^3.0.0",
+ "global-directory": "^4.0.1",
"import-meta-resolve": "^4.0.0",
- "lodash.mergewith": "^4.6.2",
- "resolve-global": "^2.0.0"
+ "lodash.mergewith": "^4.6.2"
},
"engines": {
"node": ">=v18"
@@ -2592,140 +2455,6 @@
"node": ">=v18"
}
},
- "node_modules/@commitlint/rules/node_modules/execa": {
- "version": "8.0.1",
- "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz",
- "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==",
- "dev": true,
- "dependencies": {
- "cross-spawn": "^7.0.3",
- "get-stream": "^8.0.1",
- "human-signals": "^5.0.0",
- "is-stream": "^3.0.0",
- "merge-stream": "^2.0.0",
- "npm-run-path": "^5.1.0",
- "onetime": "^6.0.0",
- "signal-exit": "^4.1.0",
- "strip-final-newline": "^3.0.0"
- },
- "engines": {
- "node": ">=16.17"
- },
- "funding": {
- "url": "https://github.com/sindresorhus/execa?sponsor=1"
- }
- },
- "node_modules/@commitlint/rules/node_modules/get-stream": {
- "version": "8.0.1",
- "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz",
- "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==",
- "dev": true,
- "engines": {
- "node": ">=16"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/@commitlint/rules/node_modules/human-signals": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz",
- "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==",
- "dev": true,
- "engines": {
- "node": ">=16.17.0"
- }
- },
- "node_modules/@commitlint/rules/node_modules/is-stream": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz",
- "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==",
- "dev": true,
- "engines": {
- "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/@commitlint/rules/node_modules/mimic-fn": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz",
- "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==",
- "dev": true,
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/@commitlint/rules/node_modules/npm-run-path": {
- "version": "5.3.0",
- "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.3.0.tgz",
- "integrity": "sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==",
- "dev": true,
- "dependencies": {
- "path-key": "^4.0.0"
- },
- "engines": {
- "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/@commitlint/rules/node_modules/onetime": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz",
- "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==",
- "dev": true,
- "dependencies": {
- "mimic-fn": "^4.0.0"
- },
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/@commitlint/rules/node_modules/path-key": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz",
- "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==",
- "dev": true,
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/@commitlint/rules/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/@commitlint/rules/node_modules/strip-final-newline": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz",
- "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==",
- "dev": true,
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
"node_modules/@commitlint/to-lines": {
"version": "19.0.0",
"resolved": "https://registry.npmjs.org/@commitlint/to-lines/-/to-lines-19.0.0.tgz",
@@ -2747,89 +2476,6 @@
"node": ">=v18"
}
},
- "node_modules/@commitlint/top-level/node_modules/find-up": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-7.0.0.tgz",
- "integrity": "sha512-YyZM99iHrqLKjmt4LJDj58KI+fYyufRLBSYcqycxf//KpBk9FoewoGX0450m9nB44qrZnovzC2oeP5hUibxc/g==",
- "dev": true,
- "dependencies": {
- "locate-path": "^7.2.0",
- "path-exists": "^5.0.0",
- "unicorn-magic": "^0.1.0"
- },
- "engines": {
- "node": ">=18"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/@commitlint/top-level/node_modules/locate-path": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-7.2.0.tgz",
- "integrity": "sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA==",
- "dev": true,
- "dependencies": {
- "p-locate": "^6.0.0"
- },
- "engines": {
- "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/@commitlint/top-level/node_modules/p-limit": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-4.0.0.tgz",
- "integrity": "sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==",
- "dev": true,
- "dependencies": {
- "yocto-queue": "^1.0.0"
- },
- "engines": {
- "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/@commitlint/top-level/node_modules/p-locate": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-6.0.0.tgz",
- "integrity": "sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw==",
- "dev": true,
- "dependencies": {
- "p-limit": "^4.0.0"
- },
- "engines": {
- "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/@commitlint/top-level/node_modules/path-exists": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-5.0.0.tgz",
- "integrity": "sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==",
- "dev": true,
- "engines": {
- "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
- }
- },
- "node_modules/@commitlint/top-level/node_modules/yocto-queue": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.0.0.tgz",
- "integrity": "sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==",
- "dev": true,
- "engines": {
- "node": ">=12.20"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
"node_modules/@commitlint/types": {
"version": "19.0.0",
"resolved": "https://registry.npmjs.org/@commitlint/types/-/types-19.0.0.tgz",
@@ -3181,9 +2827,9 @@
"integrity": "sha512-gJB6HLm5rYwSLI6PQa+X1t5CFGrv1J1TWG+sOyMCeKz2ojaj6Fnl/rZEspogG+cvqbt4AE/2eIyD2QfLKTBNlQ=="
},
"node_modules/@emotion/is-prop-valid": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.1.tgz",
- "integrity": "sha512-61Mf7Ufx4aDxx1xlDeOm8aFFigGHE4z+0sKCa+IHCeZKiyP9RLD0Mmx7m8b9/Cf37f7NAvQOOJAbQQGVr5uERw==",
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.2.tgz",
+ "integrity": "sha512-uNsoYd37AFmaCdXlg6EYD1KaPOaRWRByMCYzbKUX4+hhMfrxdVSelShywL4JVaAeM/eHUOSprYBQls+/neX3pw==",
"dev": true,
"dependencies": {
"@emotion/memoize": "^0.8.1"
@@ -3195,9 +2841,9 @@
"integrity": "sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA=="
},
"node_modules/@emotion/react": {
- "version": "11.11.3",
- "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.11.3.tgz",
- "integrity": "sha512-Cnn0kuq4DoONOMcnoVsTOR8E+AdnKFf//6kUWc4LCdnxj31pZWn7rIULd6Y7/Js1PiPHzn7SKCM9vB/jBni8eA==",
+ "version": "11.11.4",
+ "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.11.4.tgz",
+ "integrity": "sha512-t8AjMlF0gHpvvxk5mAtCqR4vmxiGHCeJBaQO6gncUSdklELOgtwjerNY2yuJNfwnc6vi16U/+uMF+afIawJ9iw==",
"dependencies": {
"@babel/runtime": "^7.18.3",
"@emotion/babel-plugin": "^11.11.0",
@@ -3776,12 +3422,12 @@
}
},
"node_modules/@floating-ui/dom": {
- "version": "1.6.1",
- "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.1.tgz",
- "integrity": "sha512-iA8qE43/H5iGozC3W0YSnVSW42Vh522yyM1gj+BqRwVsTNOyr231PsXDaV04yT39PsO0QL2QpbI/M0ZaLUQgRQ==",
+ "version": "1.6.3",
+ "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.3.tgz",
+ "integrity": "sha512-RnDthu3mzPlQ31Ss/BTwQ1zjzIhr3lk1gZB1OC56h/1vEtaXkESrOqL5fQVMfXpwGtRwX+YsZBdyHtJMQnkArw==",
"dependencies": {
- "@floating-ui/core": "^1.6.0",
- "@floating-ui/utils": "^0.2.1"
+ "@floating-ui/core": "^1.0.0",
+ "@floating-ui/utils": "^0.2.0"
}
},
"node_modules/@floating-ui/react-dom": {
@@ -4014,6 +3660,15 @@
"node": ">=8"
}
},
+ "node_modules/@istanbuljs/load-nyc-config/node_modules/path-exists": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/@istanbuljs/schema": {
"version": "0.1.3",
"resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz",
@@ -4399,6 +4054,12 @@
"url": "https://github.com/chalk/supports-color?sponsor=1"
}
},
+ "node_modules/@jest/core/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/@jest/core/node_modules/source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
@@ -5063,6 +4724,12 @@
"url": "https://github.com/chalk/supports-color?sponsor=1"
}
},
+ "node_modules/@jest/reporters/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/@jest/reporters/node_modules/source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
@@ -5567,9 +5234,9 @@
}
},
"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==",
+ "version": "0.3.4",
+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.4.tgz",
+ "integrity": "sha512-Oud2QPM5dHviZNn4y/WhhYKSXksv+1xLEIsNrAbGcFzUN3ubqWRFT5gwPchNc5NuzILOU4tPBDTZ4VwhL8Y7cw==",
"dev": true,
"dependencies": {
"@jridgewell/set-array": "^1.0.1",
@@ -5581,9 +5248,9 @@
}
},
"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==",
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
+ "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
"dev": true,
"engines": {
"node": ">=6.0.0"
@@ -5615,9 +5282,9 @@
"dev": true
},
"node_modules/@jridgewell/trace-mapping": {
- "version": "0.3.22",
- "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.22.tgz",
- "integrity": "sha512-Wf963MzWtA2sjrNt+g18IAln9lKnlRp+K2eH4jjIoF1wYeq3aMREpG09xhlhdzS0EjwU7qmUJYangWa+151vZw==",
+ "version": "0.3.23",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.23.tgz",
+ "integrity": "sha512-9/4foRoUKp8s96tSkh8DlAAc5A0Ty8vLXld+l9gjKKY6ckwI8G15f0hskGmuLZu78ZlGa1vtsfOa+lnB4vG6Jg==",
"dev": true,
"dependencies": {
"@jridgewell/resolve-uri": "^3.1.0",
@@ -5722,9 +5389,9 @@
}
},
"node_modules/@npmcli/fs/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -5771,9 +5438,9 @@
}
},
"node_modules/@npmcli/git/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -6757,9 +6424,9 @@
"dev": true
},
"node_modules/@rollup/plugin-inject/node_modules/magic-string": {
- "version": "0.30.6",
- "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.6.tgz",
- "integrity": "sha512-n62qCLbPjNjyo+owKtveQxZFZTBm+Ms6YoGD23Wew6Vw337PElFNifQpknPruVRQV57kVShPnLGo9vWxVhpPvA==",
+ "version": "0.30.7",
+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.7.tgz",
+ "integrity": "sha512-8vBuFF/I/+OSLRmdf2wwFCJCz+nSn0m6DPvGH1fS/KiQoSaR+sETbov0eIk9KhEKy8CYqIkIAnbohxT/4H0kuA==",
"dev": true,
"dependencies": {
"@jridgewell/sourcemap-codec": "^1.4.15"
@@ -7299,9 +6966,9 @@
}
},
"node_modules/@storybook/core-common/node_modules/@types/node": {
- "version": "18.19.18",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.18.tgz",
- "integrity": "sha512-80CP7B8y4PzZF0GWx15/gVWRrB5y/bIjNI84NK3cmQJu0WZwvmj2WMA5LcofQFVfLqqCSp545+U2LsrVzX36Zg==",
+ "version": "18.19.19",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.19.tgz",
+ "integrity": "sha512-qqV6hSy9zACEhQUy5CEGeuXAZN0fNjqLWRIvOXOwdFYhFoKBiY08VKR5kgchr90+TitLVhpUEb54hk4bYaArUw==",
"dev": true,
"dependencies": {
"undici-types": "~5.26.4"
@@ -7347,6 +7014,22 @@
"url": "https://github.com/chalk/chalk?sponsor=1"
}
},
+ "node_modules/@storybook/core-common/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/@storybook/core-common/node_modules/foreground-child": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz",
@@ -7394,6 +7077,21 @@
"node": ">=8"
}
},
+ "node_modules/@storybook/core-common/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/@storybook/core-common/node_modules/minimatch": {
"version": "9.0.3",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz",
@@ -7409,16 +7107,43 @@
"url": "https://github.com/sponsors/isaacs"
}
},
- "node_modules/@storybook/core-common/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==",
+ "node_modules/@storybook/core-common/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": ">=14"
+ "node": ">=10"
},
"funding": {
- "url": "https://github.com/sponsors/isaacs"
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@storybook/core-common/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/@storybook/core-common/node_modules/path-exists": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
}
},
"node_modules/@storybook/core-common/node_modules/supports-color": {
@@ -7433,6 +7158,18 @@
"node": ">=8"
}
},
+ "node_modules/@storybook/core-common/node_modules/yocto-queue": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
+ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/@storybook/core-events": {
"version": "7.6.17",
"resolved": "https://registry.npmjs.org/@storybook/core-events/-/core-events-7.6.17.tgz",
@@ -8311,9 +8048,9 @@
}
},
"node_modules/@storybook/preset-create-react-app/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -8739,9 +8476,9 @@
"dev": true
},
"node_modules/@storybook/react/node_modules/@types/node": {
- "version": "18.19.11",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.11.tgz",
- "integrity": "sha512-hzdHPKpDdp5bEcRq1XTlZ2ntVjLcHCTV73dEcGg02eSY/+9AZ+jlfz6i00+zOrunMWenjHuI49J8J7Y9uz50JQ==",
+ "version": "18.19.19",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.19.tgz",
+ "integrity": "sha512-qqV6hSy9zACEhQUy5CEGeuXAZN0fNjqLWRIvOXOwdFYhFoKBiY08VKR5kgchr90+TitLVhpUEb54hk4bYaArUw==",
"dev": true,
"dependencies": {
"undici-types": "~5.26.4"
@@ -9661,9 +9398,9 @@
"dev": true
},
"node_modules/@types/eslint": {
- "version": "8.56.2",
- "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.56.2.tgz",
- "integrity": "sha512-uQDwm1wFHmbBbCZCqAlq6Do9LYwByNZHWzXppSnay9SuwJ+VRbjkbLABer54kcPnMSlG6Fdiy2yaFXm/z9Z5gw==",
+ "version": "8.56.4",
+ "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.56.4.tgz",
+ "integrity": "sha512-lG1GLUnL5vuRBGb3MgWUWLdGMH2Hps+pERuyQXCfWozuGKdnhf9Pbg4pkcrVUHjKrU7Rl+GCZ/299ObBXZFAxg==",
"dev": true,
"dependencies": {
"@types/estree": "*",
@@ -9699,9 +9436,9 @@
}
},
"node_modules/@types/express-serve-static-core": {
- "version": "4.17.42",
- "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.42.tgz",
- "integrity": "sha512-ckM3jm2bf/MfB3+spLPWYPUH573plBFwpOhqQ2WottxYV85j1HQFlxmnTq57X1yHY9awZPig06hL/cLMgNWHIQ==",
+ "version": "4.17.43",
+ "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.43.tgz",
+ "integrity": "sha512-oaYtiBirUOPQGSWNGPWnzyAFJ0BP3cwvN4oWZQY+zUBwpVIGsKUkpBpSztp74drYcjavs7SKFZ4DX1V2QeN8rg==",
"dev": true,
"dependencies": {
"@types/node": "*",
@@ -9789,9 +9526,9 @@
}
},
"node_modules/@types/jest": {
- "version": "29.5.11",
- "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.11.tgz",
- "integrity": "sha512-S2mHmYIVe13vrm6q4kN6fLYYAka15ALQki/vgDC3mIukEOx8WJlv0kQPM+d4w8Gp6u0uSdKND04IlTXBv0rwnQ==",
+ "version": "29.5.12",
+ "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.12.tgz",
+ "integrity": "sha512-eDC8bTvT/QhYdxJAulQikueigY5AsdBRH2yDKW3yveW7svY3+DzN84/2NUgkw10RTiJbWqZrTtoGVdYlvFJdLw==",
"dev": true,
"dependencies": {
"expect": "^29.0.0",
@@ -9877,9 +9614,9 @@
"peer": true
},
"node_modules/@types/node": {
- "version": "20.11.13",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.13.tgz",
- "integrity": "sha512-5G4zQwdiQBSWYTDAH1ctw2eidqdhMJaNsiIDKHFr55ihz5Trl2qqR8fdrT732yPBho5gkNxXm67OxWFBqX9aPg==",
+ "version": "20.11.21",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.21.tgz",
+ "integrity": "sha512-/ySDLGscFPNasfqStUuWWPfL78jompfIoVzLJPVVAHBh6rpG68+pI2Gk+fNLeI8/f1yPYL4s46EleVIc20F1Ow==",
"dev": true,
"dependencies": {
"undici-types": "~5.26.4"
@@ -9933,9 +9670,9 @@
"dev": true
},
"node_modules/@types/qs": {
- "version": "6.9.11",
- "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.11.tgz",
- "integrity": "sha512-oGk0gmhnEJK4Yyk+oI7EfXsLayXatCWPHary1MtcmbAifkobT9cM9yutG/hZKIseOU0MqbIwQ/u2nn/Gb+ltuQ==",
+ "version": "6.9.12",
+ "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.12.tgz",
+ "integrity": "sha512-bZcOkJ6uWrL0Qb2NAWKa7TBU+mJHPzhx9jjLL1KHF+XpzEcR7EXHvjbHlGtR/IsP1vyPrehuS6XqkmaePy//mg==",
"dev": true
},
"node_modules/@types/range-parser": {
@@ -9945,9 +9682,9 @@
"dev": true
},
"node_modules/@types/react": {
- "version": "18.2.48",
- "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.48.tgz",
- "integrity": "sha512-qboRCl6Ie70DQQG9hhNREz81jqC1cs9EVNcjQ1AU+jH6NFfSAhVVbrrY/+nSF+Bsk4AOwm9Qa61InvMCyV+H3w==",
+ "version": "18.2.60",
+ "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.60.tgz",
+ "integrity": "sha512-dfiPj9+k20jJrLGOu9Nf6eqxm2EyJRrq2NvwOFsfbb7sFExZ9WELPs67UImHj3Ayxg8ruTtKtNnbjaF8olPq0A==",
"dependencies": {
"@types/prop-types": "*",
"@types/scheduler": "*",
@@ -9955,9 +9692,9 @@
}
},
"node_modules/@types/react-dom": {
- "version": "18.2.18",
- "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.18.tgz",
- "integrity": "sha512-TJxDm6OfAX2KJWJdMEVTwWke5Sc/E/RlnPGvGfS0W7+6ocy2xhDVQVh/KvC2Uf7kACs+gDytdusDSdWfWkaNzw==",
+ "version": "18.2.19",
+ "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.19.tgz",
+ "integrity": "sha512-aZvQL6uUbIJpjZk4U8JZGbau9KDeAwMfmhyWorxgBkqDIEf6ROjRozcmPIicqsUwPUjbkDfHKgGee1Lq65APcA==",
"dev": true,
"dependencies": {
"@types/react": "*"
@@ -9992,9 +9729,9 @@
"integrity": "sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A=="
},
"node_modules/@types/semver": {
- "version": "7.5.6",
- "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.6.tgz",
- "integrity": "sha512-dn1l8LaMea/IjDoHNd9J52uBbInB796CDffS6VdIxvqYCPSG0V0DzHp76GpaWnlhg88uYyPbXCDIowa86ybd5A==",
+ "version": "7.5.8",
+ "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz",
+ "integrity": "sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==",
"dev": true
},
"node_modules/@types/send": {
@@ -10220,9 +9957,9 @@
}
},
"node_modules/@typescript-eslint/eslint-plugin/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -10412,9 +10149,9 @@
}
},
"node_modules/@typescript-eslint/typescript-estree/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -10471,9 +10208,9 @@
}
},
"node_modules/@typescript-eslint/utils/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -11083,13 +10820,16 @@
}
},
"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==",
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz",
+ "integrity": "sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==",
"dev": true,
"dependencies": {
- "call-bind": "^1.0.2",
- "is-array-buffer": "^3.0.1"
+ "call-bind": "^1.0.5",
+ "is-array-buffer": "^3.0.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
},
"funding": {
"url": "https://github.com/sponsors/ljharb"
@@ -11158,17 +10898,36 @@
"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==",
+ "node_modules/array.prototype.filter": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/array.prototype.filter/-/array.prototype.filter-1.0.3.tgz",
+ "integrity": "sha512-VizNcj/RGJiUyQBgzwxzE5oHdeuXY5hSbbmKMlphj1cy1Vl7Pn2asCGbSrru6hSQjmCzqTBPVWAF/whmEOVHbw==",
"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"
+ "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/array.prototype.findlastindex": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.4.tgz",
+ "integrity": "sha512-hzvSHUshSpCflDR1QMUBLHGHP1VIEBegT4pix9H/Z92Xw3ySoy6c2qh7lJWTJnRJ8JCZ9bJNCgTyYaJGcJu6xQ==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.5",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.22.3",
+ "es-errors": "^1.3.0",
+ "es-shim-unscopables": "^1.0.2"
},
"engines": {
"node": ">= 0.4"
@@ -11233,30 +10992,31 @@
}
},
"node_modules/array.prototype.tosorted": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/array.prototype.tosorted/-/array.prototype.tosorted-1.1.2.tgz",
- "integrity": "sha512-HuQCHOlk1Weat5jzStICBCd83NxiIMwqDg/dHEsoefabn/hJRj5pVdWcPUSpRrwhwxZOsQassMpgN/xRYFBMIg==",
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/array.prototype.tosorted/-/array.prototype.tosorted-1.1.3.tgz",
+ "integrity": "sha512-/DdH4TiTmOKzyQbp/eadcCVexiCb36xJg7HshYOYJnNZFDj33GEv0P7GxsynpShhq4OLYJzbGcBDkLsDt7MnNg==",
"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"
+ "call-bind": "^1.0.5",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.22.3",
+ "es-errors": "^1.1.0",
+ "es-shim-unscopables": "^1.0.2"
}
},
"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==",
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.3.tgz",
+ "integrity": "sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==",
"dev": true,
"dependencies": {
- "array-buffer-byte-length": "^1.0.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",
+ "array-buffer-byte-length": "^1.0.1",
+ "call-bind": "^1.0.5",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.22.3",
+ "es-errors": "^1.2.1",
+ "get-intrinsic": "^1.2.3",
+ "is-array-buffer": "^3.0.4",
"is-shared-array-buffer": "^1.0.2"
},
"engines": {
@@ -11421,10 +11181,13 @@
}
},
"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==",
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz",
+ "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==",
"dev": true,
+ "dependencies": {
+ "possible-typed-array-names": "^1.0.0"
+ },
"engines": {
"node": ">= 0.4"
},
@@ -11650,6 +11413,12 @@
"url": "https://github.com/chalk/supports-color?sponsor=1"
}
},
+ "node_modules/babel-jest/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/babel-jest/node_modules/source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
@@ -12272,9 +12041,9 @@
"dev": true
},
"node_modules/browserslist": {
- "version": "4.22.3",
- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.22.3.tgz",
- "integrity": "sha512-UAp55yfwNv0klWNapjs/ktHoguxuQNGnOzxYmfnXIS+8AsRDZkSDxg7R1AX3GKzn078SBI5dzwzj/Yx0Or0e3A==",
+ "version": "4.23.0",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.0.tgz",
+ "integrity": "sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ==",
"dev": true,
"funding": [
{
@@ -12291,8 +12060,8 @@
}
],
"dependencies": {
- "caniuse-lite": "^1.0.30001580",
- "electron-to-chromium": "^1.4.648",
+ "caniuse-lite": "^1.0.30001587",
+ "electron-to-chromium": "^1.4.668",
"node-releases": "^2.0.14",
"update-browserslist-db": "^1.0.13"
},
@@ -12360,9 +12129,9 @@
}
},
"node_modules/builtins/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -12441,6 +12210,76 @@
"wrap-ansi": "^7.0.0"
}
},
+ "node_modules/c8/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/c8/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/c8/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/c8/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/c8/node_modules/path-exists": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/c8/node_modules/wrap-ansi": {
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
@@ -12476,6 +12315,18 @@
"node": ">=10"
}
},
+ "node_modules/c8/node_modules/yocto-queue": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
+ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/cacache": {
"version": "17.1.4",
"resolved": "https://registry.npmjs.org/cacache/-/cacache-17.1.4.tgz",
@@ -12579,18 +12430,6 @@
"node": ">=16 || 14 >=14.17"
}
},
- "node_modules/cacache/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/cache-base": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz",
@@ -12640,6 +12479,18 @@
"node": ">=14.16"
}
},
+ "node_modules/cacheable-request/node_modules/get-stream": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz",
+ "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/cacheable-request/node_modules/normalize-url": {
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-8.0.0.tgz",
@@ -12653,14 +12504,19 @@
}
},
"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==",
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz",
+ "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==",
"dev": true,
"dependencies": {
+ "es-define-property": "^1.0.0",
+ "es-errors": "^1.3.0",
"function-bind": "^1.1.2",
- "get-intrinsic": "^1.2.1",
- "set-function-length": "^1.1.1"
+ "get-intrinsic": "^1.2.4",
+ "set-function-length": "^1.2.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
},
"funding": {
"url": "https://github.com/sponsors/ljharb"
@@ -12715,9 +12571,9 @@
}
},
"node_modules/caniuse-lite": {
- "version": "1.0.30001581",
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001581.tgz",
- "integrity": "sha512-whlTkwhqV2tUmP3oYhtNfaWGYHDdS3JYFQBKXxcUR9qqPWsRhFHhoISO2Xnl/g0xyKzht9mI1LZpiNWfMzHixQ==",
+ "version": "1.0.30001591",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001591.tgz",
+ "integrity": "sha512-PCzRMei/vXjJyL5mJtzNiUCKP59dm8Apqc3PH8gJkMnMXZGox93RbE76jHsmLwmIo6/3nsYIpJtx0O7u5PqFuQ==",
"dev": true,
"funding": [
{
@@ -12807,16 +12663,10 @@
"dev": true
},
"node_modules/chokidar": {
- "version": "3.5.3",
- "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz",
- "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==",
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz",
+ "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==",
"dev": true,
- "funding": [
- {
- "type": "individual",
- "url": "https://paulmillr.com/funding/"
- }
- ],
"dependencies": {
"anymatch": "~3.1.2",
"braces": "~3.0.2",
@@ -12829,6 +12679,9 @@
"engines": {
"node": ">= 8.10.0"
},
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ },
"optionalDependencies": {
"fsevents": "~2.3.2"
}
@@ -13278,6 +13131,12 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/configstore/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/configstore/node_modules/write-file-atomic": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz",
@@ -13407,9 +13266,9 @@
}
},
"node_modules/core-js": {
- "version": "3.35.1",
- "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.35.1.tgz",
- "integrity": "sha512-IgdsbxNyMskrTFxa9lWHyMwAJU5gXOPP+1yO+K59d50VLVAIDAbs7gIv705KzALModfK3ZrSZTPNpC0PQgIZuw==",
+ "version": "3.36.0",
+ "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.36.0.tgz",
+ "integrity": "sha512-mt7+TUBbTFg5+GngsAxeKBTl5/VS0guFeJacYge9OmHb+m058UwwIm41SE9T4Den7ClatV57B6TYTuJ0CX1MAw==",
"dev": true,
"hasInstallScript": true,
"funding": {
@@ -13418,12 +13277,12 @@
}
},
"node_modules/core-js-compat": {
- "version": "3.35.1",
- "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.35.1.tgz",
- "integrity": "sha512-sftHa5qUJY3rs9Zht1WEnmkvXputCyDBczPnr7QDgL8n3qrF3CMXY4VPSYtOLLiOUJcah2WNXREd48iOl6mQIw==",
+ "version": "3.36.0",
+ "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.36.0.tgz",
+ "integrity": "sha512-iV9Pd/PsgjNWBXeq8XRtWVSgz2tKAfhfvBs7qxYty+RlRd+OCksaWmOnc4JKrTc1cToXL1N0s3l/vwlxPtdElw==",
"dev": true,
"dependencies": {
- "browserslist": "^4.22.2"
+ "browserslist": "^4.22.3"
},
"funding": {
"type": "opencollective",
@@ -13431,9 +13290,9 @@
}
},
"node_modules/core-js-pure": {
- "version": "3.35.1",
- "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.35.1.tgz",
- "integrity": "sha512-zcIdi/CL3MWbBJYo5YCeVAAx+Sy9yJE9I3/u9LkFABwbeaPhTMRWraM8mYFp9jW5Z50hOy7FVzCc8dCrpZqtIQ==",
+ "version": "3.36.0",
+ "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.36.0.tgz",
+ "integrity": "sha512-cN28qmhRNgbMZZMc/RFu5w8pK9VJzpb2rJVR/lHuZJKwmXnoWOpXmMkxqBB514igkp1Hu8WGROsiOAzUcKdHOQ==",
"dev": true,
"hasInstallScript": true,
"funding": {
@@ -13673,9 +13532,9 @@
}
},
"node_modules/css-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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -13927,9 +13786,9 @@
"dev": true
},
"node_modules/cssdb": {
- "version": "7.10.0",
- "resolved": "https://registry.npmjs.org/cssdb/-/cssdb-7.10.0.tgz",
- "integrity": "sha512-yGZ5tmA57gWh/uvdQBHs45wwFY0IBh3ypABk5sEubPBPSzXzkNgsWReqx7gdx6uhC+QoFBe+V8JwBB9/hQ6cIA==",
+ "version": "7.11.1",
+ "resolved": "https://registry.npmjs.org/cssdb/-/cssdb-7.11.1.tgz",
+ "integrity": "sha512-F0nEoX/Rv8ENTHsjMPGHd9opdjGfXkgRBafSUGnQKPzGZFB7Lm0BbT10x21TMOCrKLbVsJ0NoCDMk6AfKqw8/A==",
"dev": true,
"funding": [
{
@@ -14311,6 +14170,113 @@
"node": ">= 10"
}
},
+ "node_modules/default-gateway/node_modules/execa": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz",
+ "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==",
+ "dev": true,
+ "dependencies": {
+ "cross-spawn": "^7.0.3",
+ "get-stream": "^6.0.0",
+ "human-signals": "^2.1.0",
+ "is-stream": "^2.0.0",
+ "merge-stream": "^2.0.0",
+ "npm-run-path": "^4.0.1",
+ "onetime": "^5.1.2",
+ "signal-exit": "^3.0.3",
+ "strip-final-newline": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sindresorhus/execa?sponsor=1"
+ }
+ },
+ "node_modules/default-gateway/node_modules/get-stream": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz",
+ "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/default-gateway/node_modules/human-signals": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz",
+ "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==",
+ "dev": true,
+ "engines": {
+ "node": ">=10.17.0"
+ }
+ },
+ "node_modules/default-gateway/node_modules/is-stream": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz",
+ "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/default-gateway/node_modules/mimic-fn": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
+ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
+ "dev": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/default-gateway/node_modules/npm-run-path": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz",
+ "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==",
+ "dev": true,
+ "dependencies": {
+ "path-key": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/default-gateway/node_modules/onetime": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
+ "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
+ "dev": true,
+ "dependencies": {
+ "mimic-fn": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/default-gateway/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/default-gateway/node_modules/strip-final-newline": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz",
+ "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==",
+ "dev": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
"node_modules/defer-to-connect": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-2.0.1.tgz",
@@ -14321,17 +14287,20 @@
}
},
"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==",
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz",
+ "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==",
"dev": true,
"dependencies": {
- "get-intrinsic": "^1.2.1",
- "gopd": "^1.0.1",
- "has-property-descriptors": "^1.0.0"
+ "es-define-property": "^1.0.0",
+ "es-errors": "^1.3.0",
+ "gopd": "^1.0.1"
},
"engines": {
"node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/define-lazy-prop": {
@@ -14781,9 +14750,9 @@
}
},
"node_modules/electron-to-chromium": {
- "version": "1.4.652",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.652.tgz",
- "integrity": "sha512-XvQaa8hVUAuEJtLw6VKQqvdOxTOfBLWfI10t2xWpezx4XXD3k8bdLweEKeItqaa0+OkJX5l0mP1W+JWobyIDrg==",
+ "version": "1.4.685",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.685.tgz",
+ "integrity": "sha512-yDYeobbTEe4TNooEzOQO6xFqg9XnAkVy2Lod1C1B2it8u47JNLYvl9nLDWBamqUakWB8Jc1hhS1uHUNYTNQdfw==",
"dev": true
},
"node_modules/email-addresses": {
@@ -14861,9 +14830,9 @@
}
},
"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==",
+ "version": "5.15.1",
+ "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.15.1.tgz",
+ "integrity": "sha512-3d3JRbwsCLJsYgvb6NuWEG44jjPSOMuS73L/6+7BZuoKm3W+qXnSoIYVHi8dG7Qcg4inAY4jbzkZ7MnskePeDg==",
"dev": true,
"dependencies": {
"graceful-fs": "^4.2.4",
@@ -14931,50 +14900,52 @@
}
},
"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",
+ "version": "1.22.4",
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.22.4.tgz",
+ "integrity": "sha512-vZYJlk2u6qHYxBOTjAeg7qUxHdNfih64Uu2J8QqWgXZ2cri0ZpJAkzDUK/q593+mvKwlxyaxr6F1Q+3LKoQRgg==",
+ "dev": true,
+ "dependencies": {
+ "array-buffer-byte-length": "^1.0.1",
+ "arraybuffer.prototype.slice": "^1.0.3",
+ "available-typed-arrays": "^1.0.6",
+ "call-bind": "^1.0.7",
+ "es-define-property": "^1.0.0",
+ "es-errors": "^1.3.0",
+ "es-set-tostringtag": "^2.0.2",
"es-to-primitive": "^1.2.1",
"function.prototype.name": "^1.1.6",
- "get-intrinsic": "^1.2.2",
- "get-symbol-description": "^1.0.0",
+ "get-intrinsic": "^1.2.4",
+ "get-symbol-description": "^1.0.2",
"globalthis": "^1.0.3",
"gopd": "^1.0.1",
- "has-property-descriptors": "^1.0.0",
+ "has-property-descriptors": "^1.0.2",
"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",
+ "hasown": "^2.0.1",
+ "internal-slot": "^1.0.7",
+ "is-array-buffer": "^3.0.4",
"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-typed-array": "^1.1.13",
"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",
+ "object.assign": "^4.1.5",
+ "regexp.prototype.flags": "^1.5.2",
+ "safe-array-concat": "^1.1.0",
+ "safe-regex-test": "^1.0.3",
"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-buffer": "^1.0.1",
"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"
+ "which-typed-array": "^1.1.14"
},
"engines": {
"node": ">= 0.4"
@@ -14989,6 +14960,27 @@
"integrity": "sha512-wd6JXUmyHmt8T5a2xreUwKcGPq6f1f+WwIJkijUqiGcJz1qqnZgP6XIK+QyIWU5lT7imeNxUll48bziG+TSYcA==",
"dev": true
},
+ "node_modules/es-define-property": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz",
+ "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==",
+ "dev": true,
+ "dependencies": {
+ "get-intrinsic": "^1.2.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-errors": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
+ "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
+ "dev": true,
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
"node_modules/es-get-iterator": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/es-get-iterator/-/es-get-iterator-1.1.3.tgz",
@@ -15010,25 +15002,29 @@
}
},
"node_modules/es-iterator-helpers": {
- "version": "1.0.15",
- "resolved": "https://registry.npmjs.org/es-iterator-helpers/-/es-iterator-helpers-1.0.15.tgz",
- "integrity": "sha512-GhoY8uYqd6iwUl2kgjTm4CZAf6oo5mHK7BPqx3rKgx893YSsy0LGHV6gfqqQvZt/8xM8xeOnfXBCfqclMKkJ5g==",
+ "version": "1.0.17",
+ "resolved": "https://registry.npmjs.org/es-iterator-helpers/-/es-iterator-helpers-1.0.17.tgz",
+ "integrity": "sha512-lh7BsUqelv4KUbR5a/ZTaGGIMLCjPGPqJ6q+Oq24YP0RdyptX1uzm4vvaqzk7Zx3bpl/76YLTTDj9L7uYQ92oQ==",
"dev": true,
"dependencies": {
"asynciterator.prototype": "^1.0.0",
- "call-bind": "^1.0.2",
+ "call-bind": "^1.0.7",
"define-properties": "^1.2.1",
- "es-abstract": "^1.22.1",
- "es-set-tostringtag": "^2.0.1",
- "function-bind": "^1.1.1",
- "get-intrinsic": "^1.2.1",
+ "es-abstract": "^1.22.4",
+ "es-errors": "^1.3.0",
+ "es-set-tostringtag": "^2.0.2",
+ "function-bind": "^1.1.2",
+ "get-intrinsic": "^1.2.4",
"globalthis": "^1.0.3",
- "has-property-descriptors": "^1.0.0",
+ "has-property-descriptors": "^1.0.2",
"has-proto": "^1.0.1",
"has-symbols": "^1.0.3",
- "internal-slot": "^1.0.5",
+ "internal-slot": "^1.0.7",
"iterator.prototype": "^1.1.2",
- "safe-array-concat": "^1.0.1"
+ "safe-array-concat": "^1.1.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
}
},
"node_modules/es-module-lexer": {
@@ -15038,14 +15034,14 @@
"dev": 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==",
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.3.tgz",
+ "integrity": "sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ==",
"dev": true,
"dependencies": {
- "get-intrinsic": "^1.2.2",
- "has-tostringtag": "^1.0.0",
- "hasown": "^2.0.0"
+ "get-intrinsic": "^1.2.4",
+ "has-tostringtag": "^1.0.2",
+ "hasown": "^2.0.1"
},
"engines": {
"node": ">= 0.4"
@@ -15127,9 +15123,9 @@
}
},
"node_modules/escalade": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
- "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==",
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz",
+ "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==",
"dev": true,
"engines": {
"node": ">=6"
@@ -15377,9 +15373,9 @@
}
},
"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==",
+ "version": "2.8.1",
+ "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.8.1.tgz",
+ "integrity": "sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q==",
"dev": true,
"dependencies": {
"debug": "^3.2.7"
@@ -15621,9 +15617,9 @@
}
},
"node_modules/eslint-plugin-n/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -16042,6 +16038,22 @@
"url": "https://opencollective.com/eslint"
}
},
+ "node_modules/eslint/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/eslint/node_modules/globals": {
"version": "13.24.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz",
@@ -16084,6 +16096,60 @@
"integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
"dev": true
},
+ "node_modules/eslint/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/eslint/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/eslint/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/eslint/node_modules/path-exists": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/eslint/node_modules/supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
@@ -16108,6 +16174,18 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/eslint/node_modules/yocto-queue": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
+ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/espree": {
"version": "9.6.1",
"resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz",
@@ -16260,23 +16338,23 @@
}
},
"node_modules/execa": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz",
- "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==",
+ "version": "8.0.1",
+ "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz",
+ "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==",
"dev": true,
"dependencies": {
"cross-spawn": "^7.0.3",
- "get-stream": "^6.0.0",
- "human-signals": "^2.1.0",
- "is-stream": "^2.0.0",
+ "get-stream": "^8.0.1",
+ "human-signals": "^5.0.0",
+ "is-stream": "^3.0.0",
"merge-stream": "^2.0.0",
- "npm-run-path": "^4.0.1",
- "onetime": "^5.1.2",
- "signal-exit": "^3.0.3",
- "strip-final-newline": "^2.0.0"
+ "npm-run-path": "^5.1.0",
+ "onetime": "^6.0.0",
+ "signal-exit": "^4.1.0",
+ "strip-final-newline": "^3.0.0"
},
"engines": {
- "node": ">=10"
+ "node": ">=16.17"
},
"funding": {
"url": "https://github.com/sindresorhus/execa?sponsor=1"
@@ -16558,9 +16636,9 @@
"dev": true
},
"node_modules/fastq": {
- "version": "1.17.0",
- "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.0.tgz",
- "integrity": "sha512-zGygtijUMT7jnk3h26kUms3BkSDp4IfIKjmnqI2tvx6nuBfiF1UqOxbnLfzdv+apBy+53oaImsKtMw/xYbW+1w==",
+ "version": "1.17.1",
+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz",
+ "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==",
"dev": true,
"dependencies": {
"reusify": "^1.0.4"
@@ -16889,6 +16967,15 @@
"node": ">=8"
}
},
+ "node_modules/find-cache-dir/node_modules/path-exists": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/find-cache-dir/node_modules/pkg-dir": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz",
@@ -16907,16 +16994,17 @@
"integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng=="
},
"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==",
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-7.0.0.tgz",
+ "integrity": "sha512-YyZM99iHrqLKjmt4LJDj58KI+fYyufRLBSYcqycxf//KpBk9FoewoGX0450m9nB44qrZnovzC2oeP5hUibxc/g==",
"dev": true,
"dependencies": {
- "locate-path": "^6.0.0",
- "path-exists": "^4.0.0"
+ "locate-path": "^7.2.0",
+ "path-exists": "^5.0.0",
+ "unicorn-magic": "^0.1.0"
},
"engines": {
- "node": ">=10"
+ "node": ">=18"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
@@ -16937,9 +17025,9 @@
}
},
"node_modules/flatted": {
- "version": "3.2.9",
- "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz",
- "integrity": "sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==",
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz",
+ "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==",
"dev": true
},
"node_modules/follow-redirects": {
@@ -16995,6 +17083,12 @@
"node": ">=8.0.0"
}
},
+ "node_modules/foreground-child/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/fork-ts-checker-webpack-plugin": {
"version": "6.5.3",
"resolved": "https://registry.npmjs.org/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-6.5.3.tgz",
@@ -17167,9 +17261,9 @@
}
},
"node_modules/fork-ts-checker-webpack-plugin/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -17400,6 +17494,12 @@
"node": "^12.13.0 || ^14.15.0 || >=16.0.0"
}
},
+ "node_modules/gauge/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/generate-changelog": {
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/generate-changelog/-/generate-changelog-1.8.0.tgz",
@@ -17452,16 +17552,20 @@
}
},
"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==",
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz",
+ "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==",
"dev": true,
"dependencies": {
+ "es-errors": "^1.3.0",
"function-bind": "^1.1.2",
"has-proto": "^1.0.1",
"has-symbols": "^1.0.3",
"hasown": "^2.0.0"
},
+ "engines": {
+ "node": ">= 0.4"
+ },
"funding": {
"url": "https://github.com/sponsors/ljharb"
}
@@ -17503,25 +17607,26 @@
}
},
"node_modules/get-stream": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz",
- "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==",
+ "version": "8.0.1",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz",
+ "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==",
"dev": true,
"engines": {
- "node": ">=10"
+ "node": ">=16"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
"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==",
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.2.tgz",
+ "integrity": "sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==",
"dev": true,
"dependencies": {
- "call-bind": "^1.0.2",
- "get-intrinsic": "^1.1.1"
+ "call-bind": "^1.0.5",
+ "es-errors": "^1.3.0",
+ "get-intrinsic": "^1.2.4"
},
"engines": {
"node": ">= 0.4"
@@ -17688,6 +17793,30 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/global-dirs": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-3.0.1.tgz",
+ "integrity": "sha512-NBcGGFbBA9s1VzD41QXDG+3++t9Mn5t1FpLdhESY6oKY4gYTFpX4wO3sqGUa0Srjtbfj3szX0RnemmrVRUdULA==",
+ "dev": true,
+ "dependencies": {
+ "ini": "2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/global-dirs/node_modules/ini": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ini/-/ini-2.0.0.tgz",
+ "integrity": "sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ }
+ },
"node_modules/global-modules": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/global-modules/-/global-modules-2.0.0.tgz",
@@ -17809,6 +17938,18 @@
"url": "https://github.com/sindresorhus/got?sponsor=1"
}
},
+ "node_modules/got/node_modules/get-stream": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz",
+ "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/graceful-fs": {
"version": "4.2.11",
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
@@ -17896,21 +18037,21 @@
}
},
"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==",
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz",
+ "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==",
"dev": true,
"dependencies": {
- "get-intrinsic": "^1.2.2"
+ "es-define-property": "^1.0.0"
},
"funding": {
"url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/has-proto": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz",
- "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==",
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz",
+ "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==",
"dev": true,
"engines": {
"node": ">= 0.4"
@@ -17932,12 +18073,12 @@
}
},
"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==",
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz",
+ "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==",
"dev": true,
"dependencies": {
- "has-symbols": "^1.0.2"
+ "has-symbols": "^1.0.3"
},
"engines": {
"node": ">= 0.4"
@@ -18046,9 +18187,9 @@
}
},
"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==",
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.1.tgz",
+ "integrity": "sha512-1/th4MHjnwncwXsIW6QMzlvYL9kG5e/CpVvLRZe4XPa8TOUNbCELqmvhDmnkNsAjwaG4+I8gJJL0JBvTTLO9qA==",
"dependencies": {
"function-bind": "^1.1.2"
},
@@ -18415,12 +18556,12 @@
}
},
"node_modules/human-signals": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz",
- "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==",
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz",
+ "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==",
"dev": true,
"engines": {
- "node": ">=10.17.0"
+ "node": ">=16.17.0"
}
},
"node_modules/humanize-ms": {
@@ -18520,9 +18661,9 @@
}
},
"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==",
+ "version": "5.3.1",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz",
+ "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==",
"dev": true,
"engines": {
"node": ">= 4"
@@ -18701,6 +18842,15 @@
"node": ">=8"
}
},
+ "node_modules/import-local/node_modules/path-exists": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/import-local/node_modules/pkg-dir": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz",
@@ -18953,6 +19103,14 @@
"node": ">=0.10.0"
}
},
+ "node_modules/internal-ip/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,
+ "optional": true,
+ "peer": true
+ },
"node_modules/internal-ip/node_modules/which": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
@@ -18968,12 +19126,12 @@
}
},
"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==",
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.7.tgz",
+ "integrity": "sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==",
"dev": true,
"dependencies": {
- "get-intrinsic": "^1.2.2",
+ "es-errors": "^1.3.0",
"hasown": "^2.0.0",
"side-channel": "^1.0.4"
},
@@ -19099,14 +19257,16 @@
}
},
"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==",
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.4.tgz",
+ "integrity": "sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==",
"dev": true,
"dependencies": {
"call-bind": "^1.0.2",
- "get-intrinsic": "^1.2.0",
- "is-typed-array": "^1.1.10"
+ "get-intrinsic": "^1.2.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
},
"funding": {
"url": "https://github.com/sponsors/ljharb"
@@ -19414,30 +19574,6 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/is-installed-globally/node_modules/global-dirs": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-3.0.1.tgz",
- "integrity": "sha512-NBcGGFbBA9s1VzD41QXDG+3++t9Mn5t1FpLdhESY6oKY4gYTFpX4wO3sqGUa0Srjtbfj3szX0RnemmrVRUdULA==",
- "dev": true,
- "dependencies": {
- "ini": "2.0.0"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/is-installed-globally/node_modules/ini": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/ini/-/ini-2.0.0.tgz",
- "integrity": "sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==",
- "dev": true,
- "engines": {
- "node": ">=10"
- }
- },
"node_modules/is-lambda": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz",
@@ -19476,9 +19612,9 @@
}
},
"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==",
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz",
+ "integrity": "sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==",
"dev": true,
"engines": {
"node": ">= 0.4"
@@ -19657,24 +19793,27 @@
}
},
"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==",
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.3.tgz",
+ "integrity": "sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg==",
"dev": true,
"dependencies": {
- "call-bind": "^1.0.2"
+ "call-bind": "^1.0.7"
+ },
+ "engines": {
+ "node": ">= 0.4"
},
"funding": {
"url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/is-stream": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz",
- "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==",
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz",
+ "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==",
"dev": true,
"engines": {
- "node": ">=8"
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
@@ -19723,12 +19862,12 @@
}
},
"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==",
+ "version": "1.1.13",
+ "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz",
+ "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==",
"dev": true,
"dependencies": {
- "which-typed-array": "^1.1.11"
+ "which-typed-array": "^1.1.14"
},
"engines": {
"node": ">= 0.4"
@@ -19908,9 +20047,9 @@
}
},
"node_modules/istanbul-lib-report/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -19964,9 +20103,9 @@
}
},
"node_modules/istanbul-reports": {
- "version": "3.1.6",
- "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.6.tgz",
- "integrity": "sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg==",
+ "version": "3.1.7",
+ "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.7.tgz",
+ "integrity": "sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g==",
"dev": true,
"dependencies": {
"html-escaper": "^2.0.0",
@@ -20178,6 +20317,41 @@
"url": "https://github.com/chalk/chalk?sponsor=1"
}
},
+ "node_modules/jest-changed-files/node_modules/execa": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz",
+ "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==",
+ "dev": true,
+ "dependencies": {
+ "cross-spawn": "^7.0.3",
+ "get-stream": "^6.0.0",
+ "human-signals": "^2.1.0",
+ "is-stream": "^2.0.0",
+ "merge-stream": "^2.0.0",
+ "npm-run-path": "^4.0.1",
+ "onetime": "^5.1.2",
+ "signal-exit": "^3.0.3",
+ "strip-final-newline": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sindresorhus/execa?sponsor=1"
+ }
+ },
+ "node_modules/jest-changed-files/node_modules/get-stream": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz",
+ "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/jest-changed-files/node_modules/has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
@@ -20187,6 +20361,78 @@
"node": ">=8"
}
},
+ "node_modules/jest-changed-files/node_modules/human-signals": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz",
+ "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==",
+ "dev": true,
+ "engines": {
+ "node": ">=10.17.0"
+ }
+ },
+ "node_modules/jest-changed-files/node_modules/is-stream": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz",
+ "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/jest-changed-files/node_modules/mimic-fn": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
+ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
+ "dev": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/jest-changed-files/node_modules/npm-run-path": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz",
+ "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==",
+ "dev": true,
+ "dependencies": {
+ "path-key": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/jest-changed-files/node_modules/onetime": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
+ "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
+ "dev": true,
+ "dependencies": {
+ "mimic-fn": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/jest-changed-files/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/jest-changed-files/node_modules/strip-final-newline": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz",
+ "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==",
+ "dev": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
"node_modules/jest-changed-files/node_modules/supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
@@ -22277,6 +22523,12 @@
"url": "https://github.com/chalk/supports-color?sponsor=1"
}
},
+ "node_modules/jest-runner/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/jest-runner/node_modules/source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
@@ -22431,6 +22683,41 @@
"integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==",
"dev": true
},
+ "node_modules/jest-runtime/node_modules/execa": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz",
+ "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==",
+ "dev": true,
+ "dependencies": {
+ "cross-spawn": "^7.0.3",
+ "get-stream": "^6.0.0",
+ "human-signals": "^2.1.0",
+ "is-stream": "^2.0.0",
+ "merge-stream": "^2.0.0",
+ "npm-run-path": "^4.0.1",
+ "onetime": "^5.1.2",
+ "signal-exit": "^3.0.3",
+ "strip-final-newline": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sindresorhus/execa?sponsor=1"
+ }
+ },
+ "node_modules/jest-runtime/node_modules/get-stream": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz",
+ "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/jest-runtime/node_modules/has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
@@ -22440,6 +22727,27 @@
"node": ">=8"
}
},
+ "node_modules/jest-runtime/node_modules/human-signals": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz",
+ "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==",
+ "dev": true,
+ "engines": {
+ "node": ">=10.17.0"
+ }
+ },
+ "node_modules/jest-runtime/node_modules/is-stream": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz",
+ "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/jest-runtime/node_modules/jest-haste-map": {
"version": "27.5.1",
"resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-27.5.1.tgz",
@@ -22541,6 +22849,48 @@
"url": "https://github.com/chalk/supports-color?sponsor=1"
}
},
+ "node_modules/jest-runtime/node_modules/mimic-fn": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
+ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
+ "dev": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/jest-runtime/node_modules/npm-run-path": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz",
+ "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==",
+ "dev": true,
+ "dependencies": {
+ "path-key": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/jest-runtime/node_modules/onetime": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
+ "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
+ "dev": true,
+ "dependencies": {
+ "mimic-fn": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/jest-runtime/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/jest-runtime/node_modules/source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
@@ -22550,6 +22900,15 @@
"node": ">=0.10.0"
}
},
+ "node_modules/jest-runtime/node_modules/strip-final-newline": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz",
+ "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==",
+ "dev": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
"node_modules/jest-runtime/node_modules/supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
@@ -22894,9 +23253,9 @@
}
},
"node_modules/jest-snapshot/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -22908,6 +23267,12 @@
"node": ">=10"
}
},
+ "node_modules/jest-snapshot/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/jest-snapshot/node_modules/source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
@@ -24095,9 +24460,9 @@
}
},
"node_modules/libphonenumber-js": {
- "version": "1.10.54",
- "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.10.54.tgz",
- "integrity": "sha512-P+38dUgJsmh0gzoRDoM4F5jLbyfztkU6PY6eSK6S5HwTi/LPvnwXqVCQZlAy1FxZ5c48q25QhxGQ0pq+WQcSlQ=="
+ "version": "1.10.57",
+ "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.10.57.tgz",
+ "integrity": "sha512-OjsEd9y4LgcX+Ig09SbxWqcGESxliDDFNVepFhB9KEsQZTrnk3UdEU+cO0sW1APvLprHstQpS23OQpZ3bwxy6Q=="
},
"node_modules/lilconfig": {
"version": "2.1.0",
@@ -24192,15 +24557,15 @@
}
},
"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==",
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-7.2.0.tgz",
+ "integrity": "sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA==",
"dev": true,
"dependencies": {
- "p-locate": "^5.0.0"
+ "p-locate": "^6.0.0"
},
"engines": {
- "node": ">=10"
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
@@ -24719,12 +25084,15 @@
}
},
"node_modules/mimic-fn": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
- "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz",
+ "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==",
"dev": true,
"engines": {
- "node": ">=6"
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/mimic-response": {
@@ -24749,12 +25117,13 @@
}
},
"node_modules/mini-css-extract-plugin": {
- "version": "2.7.7",
- "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.7.7.tgz",
- "integrity": "sha512-+0n11YGyRavUR3IlaOzJ0/4Il1avMvJ1VJfhWfCn24ITQXhRr1gghbhhrda6tgtNcpZaWKdSuwKq20Jb7fnlyw==",
+ "version": "2.8.1",
+ "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.8.1.tgz",
+ "integrity": "sha512-/1HDlyFRxWIZPI1ZpgqlZ8jMw/1Dp/dl3P0L1jtZ+zVcHqwPhGwaJwKL00WVgfnBy6PWCde9W65or7IIETImuA==",
"dev": true,
"dependencies": {
- "schema-utils": "^4.0.0"
+ "schema-utils": "^4.0.0",
+ "tapable": "^2.2.1"
},
"engines": {
"node": ">= 12.13.0"
@@ -25532,9 +25901,9 @@
}
},
"node_modules/node-gyp/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -25664,9 +26033,9 @@
}
},
"node_modules/normalize-package-data/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -25845,6 +26214,22 @@
"node": ">=14"
}
},
+ "node_modules/npm-check-updates/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/npm-check-updates/node_modules/foreground-child": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz",
@@ -25915,6 +26300,21 @@
"js-yaml": "bin/js-yaml.js"
}
},
+ "node_modules/npm-check-updates/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/npm-check-updates/node_modules/lru-cache": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
@@ -25942,6 +26342,45 @@
"url": "https://github.com/sponsors/isaacs"
}
},
+ "node_modules/npm-check-updates/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/npm-check-updates/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/npm-check-updates/node_modules/path-exists": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/npm-check-updates/node_modules/rimraf": {
"version": "5.0.5",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.5.tgz",
@@ -25961,9 +26400,9 @@
}
},
"node_modules/npm-check-updates/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -25975,18 +26414,6 @@
"node": ">=10"
}
},
- "node_modules/npm-check-updates/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/npm-check-updates/node_modules/strip-ansi": {
"version": "7.1.0",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",
@@ -26020,6 +26447,18 @@
"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
"dev": true
},
+ "node_modules/npm-check-updates/node_modules/yocto-queue": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
+ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/npm-install-checks": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-6.3.0.tgz",
@@ -26045,9 +26484,9 @@
}
},
"node_modules/npm-install-checks/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -26111,9 +26550,9 @@
}
},
"node_modules/npm-package-arg/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -26183,9 +26622,9 @@
}
},
"node_modules/npm-pick-manifest/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -26314,15 +26753,30 @@
}
},
"node_modules/npm-run-path": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz",
- "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==",
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.3.0.tgz",
+ "integrity": "sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==",
"dev": true,
"dependencies": {
- "path-key": "^3.0.0"
+ "path-key": "^4.0.0"
},
"engines": {
- "node": ">=8"
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/npm-run-path/node_modules/path-key": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz",
+ "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/npmlog": {
@@ -26423,13 +26877,13 @@
}
},
"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==",
+ "version": "1.1.6",
+ "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.6.tgz",
+ "integrity": "sha512-F8cZ+KfGlSGi09lJT7/Nd6KJZ9ygtvYC0/UYYLI9nmQKLMnydpB9yvbv9K1uSkEu7FU9vYPmVwLg328tX+ot3Q==",
"dev": true,
"dependencies": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.1.3"
+ "call-bind": "^1.0.7",
+ "define-properties": "^1.2.1"
},
"engines": {
"node": ">= 0.4"
@@ -26530,15 +26984,16 @@
}
},
"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==",
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.2.tgz",
+ "integrity": "sha512-bzBq58S+x+uo0VjurFT0UktpKHOZmv4/xePiOA1nbB9pMqpGK7rUPNgf+1YC+7mE+0HzhTMqNUuCqvKhj6FnBw==",
"dev": true,
"dependencies": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.2.0",
- "es-abstract": "^1.22.1",
- "get-intrinsic": "^1.2.1"
+ "array.prototype.filter": "^1.0.3",
+ "call-bind": "^1.0.5",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.22.3",
+ "es-errors": "^1.0.0"
}
},
"node_modules/object.hasown": {
@@ -26628,15 +27083,15 @@
}
},
"node_modules/onetime": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
- "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz",
+ "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==",
"dev": true,
"dependencies": {
- "mimic-fn": "^2.1.0"
+ "mimic-fn": "^4.0.0"
},
"engines": {
- "node": ">=6"
+ "node": ">=12"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
@@ -26720,30 +27175,30 @@
}
},
"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==",
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-4.0.0.tgz",
+ "integrity": "sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==",
"dev": true,
"dependencies": {
- "yocto-queue": "^0.1.0"
+ "yocto-queue": "^1.0.0"
},
"engines": {
- "node": ">=10"
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"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==",
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-6.0.0.tgz",
+ "integrity": "sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw==",
"dev": true,
"dependencies": {
- "p-limit": "^3.0.2"
+ "p-limit": "^4.0.0"
},
"engines": {
- "node": ">=10"
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
@@ -26854,9 +27309,9 @@
}
},
"node_modules/package-json/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -27018,12 +27473,12 @@
"peer": 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==",
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-5.0.0.tgz",
+ "integrity": "sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==",
"dev": true,
"engines": {
- "node": ">=8"
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
}
},
"node_modules/path-is-absolute": {
@@ -27183,6 +27638,88 @@
"node": ">=10"
}
},
+ "node_modules/pkg-dir/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/pkg-dir/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/pkg-dir/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/pkg-dir/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/pkg-dir/node_modules/path-exists": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/pkg-dir/node_modules/yocto-queue": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
+ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/pkg-up": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/pkg-up/-/pkg-up-3.1.0.tgz",
@@ -27269,9 +27806,9 @@
}
},
"node_modules/polished": {
- "version": "4.2.2",
- "resolved": "https://registry.npmjs.org/polished/-/polished-4.2.2.tgz",
- "integrity": "sha512-Sz2Lkdxz6F2Pgnpi9U5Ng/WdWAUZxmHrNPoVlm3aAemxoy2Qy7LGjQg4uf8qKelDAUW94F4np3iH2YPf2qefcQ==",
+ "version": "4.3.1",
+ "resolved": "https://registry.npmjs.org/polished/-/polished-4.3.1.tgz",
+ "integrity": "sha512-OBatVyC/N7SCW/FaDHrSd+vn0o5cS855TOmYi4OkdWUMSJCET/xip//ch8xGUvtr3i44X9LVyWwQlRMTN3pwSA==",
"dev": true,
"dependencies": {
"@babel/runtime": "^7.17.8"
@@ -27318,6 +27855,15 @@
"node": ">=0.10.0"
}
},
+ "node_modules/possible-typed-array-names": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz",
+ "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==",
+ "dev": true,
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
"node_modules/postcss": {
"version": "8.4.35",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.35.tgz",
@@ -27884,9 +28430,9 @@
}
},
"node_modules/postcss-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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -29292,6 +29838,22 @@
"url": "https://github.com/chalk/chalk?sponsor=1"
}
},
+ "node_modules/react-dev-utils/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/react-dev-utils/node_modules/globby": {
"version": "11.1.0",
"resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz",
@@ -29330,6 +29892,60 @@
"node": ">= 12.13.0"
}
},
+ "node_modules/react-dev-utils/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/react-dev-utils/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/react-dev-utils/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/react-dev-utils/node_modules/path-exists": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/react-dev-utils/node_modules/supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
@@ -29342,6 +29958,18 @@
"node": ">=8"
}
},
+ "node_modules/react-dev-utils/node_modules/yocto-queue": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
+ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/react-docgen": {
"version": "5.4.3",
"resolved": "https://registry.npmjs.org/react-docgen/-/react-docgen-5.4.3.tgz",
@@ -29758,6 +30386,22 @@
"integrity": "sha512-YXQl1DSa4/PQyRfgrv6aoNjhasp/p4qs9FjJ4q4cQk+8m4r6k4ZSiEyytKG8f8W9gi8WsQtIObNmKd+tMzNTmA==",
"dev": true
},
+ "node_modules/react-scripts/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/react-scripts/node_modules/fs-extra": {
"version": "10.1.0",
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz",
@@ -29778,6 +30422,21 @@
"integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
"dev": true
},
+ "node_modules/react-scripts/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/react-scripts/node_modules/lru-cache": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
@@ -29790,6 +30449,45 @@
"node": ">=10"
}
},
+ "node_modules/react-scripts/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/react-scripts/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/react-scripts/node_modules/path-exists": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/react-scripts/node_modules/react-refresh": {
"version": "0.11.0",
"resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.11.0.tgz",
@@ -29818,9 +30516,9 @@
}
},
"node_modules/react-scripts/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -29847,6 +30545,18 @@
"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
"dev": true
},
+ "node_modules/react-scripts/node_modules/yocto-queue": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
+ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/react-select": {
"version": "5.8.0",
"resolved": "https://registry.npmjs.org/react-select/-/react-select-5.8.0.tgz",
@@ -30052,18 +30762,6 @@
"url": "https://github.com/sponsors/isaacs"
}
},
- "node_modules/read-package-json/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/read-pkg": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz",
@@ -30215,15 +30913,16 @@
}
},
"node_modules/reflect.getprototypeof": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.4.tgz",
- "integrity": "sha512-ECkTw8TmJwW60lOTR+ZkODISW6RQ8+2CL3COqtiJKLd6MmB45hN51HprHFziKLGkAuTGQhBb91V8cy+KHlaCjw==",
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.5.tgz",
+ "integrity": "sha512-62wgfC8dJWrmxv44CA36pLDnP6KKl3Vhxb7PL+8+qrrFMMoJij4vgiMP8zV4O8+CBMXY1mHxI5fITGHXFHVmQQ==",
"dev": true,
"dependencies": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.2.0",
- "es-abstract": "^1.22.1",
- "get-intrinsic": "^1.2.1",
+ "call-bind": "^1.0.5",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.22.3",
+ "es-errors": "^1.0.0",
+ "get-intrinsic": "^1.2.3",
"globalthis": "^1.0.3",
"which-builtin-type": "^1.1.3"
},
@@ -30331,14 +31030,15 @@
"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==",
+ "version": "1.5.2",
+ "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.2.tgz",
+ "integrity": "sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==",
"dev": true,
"dependencies": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.2.0",
- "set-function-name": "^2.0.0"
+ "call-bind": "^1.0.6",
+ "define-properties": "^1.2.1",
+ "es-errors": "^1.3.0",
+ "set-function-name": "^2.0.1"
},
"engines": {
"node": ">= 0.4"
@@ -30685,21 +31385,6 @@
"node": ">=8"
}
},
- "node_modules/resolve-global": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/resolve-global/-/resolve-global-2.0.0.tgz",
- "integrity": "sha512-gnAQ0Q/KkupGkuiMyX4L0GaBV8iFwlmoXsMtOz+DFTaKmHhOO/dSlP1RMKhpvHv/dh6K/IQkowGJBqUG0NfBUw==",
- "dev": true,
- "dependencies": {
- "global-directory": "^4.0.1"
- },
- "engines": {
- "node": ">=18"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
"node_modules/resolve-pkg-maps": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz",
@@ -31145,13 +31830,13 @@
}
},
"node_modules/safe-regex-test": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.2.tgz",
- "integrity": "sha512-83S9w6eFq12BBIJYvjMux6/dkirb8+4zJRA9cxNBVb7Wq5fJBW+Xze48WqR8pxua7bDuAaaAxtVVd4Idjp1dBQ==",
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.3.tgz",
+ "integrity": "sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==",
"dev": true,
"dependencies": {
- "call-bind": "^1.0.5",
- "get-intrinsic": "^1.2.2",
+ "call-bind": "^1.0.6",
+ "es-errors": "^1.3.0",
"is-regex": "^1.1.4"
},
"engines": {
@@ -31342,9 +32027,9 @@
}
},
"node_modules/semver-diff/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -31522,14 +32207,15 @@
"dev": true
},
"node_modules/set-function-length": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.0.tgz",
- "integrity": "sha512-4DBHDoyHlM1IRPGYcoxexgh67y4ueR53FKV1yyxwFMY7aCqcN/38M1+SwZ/qJQ8iLv7+ck385ot4CcisOAPT9w==",
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.1.tgz",
+ "integrity": "sha512-j4t6ccc+VsKwYHso+kElc5neZpjtq9EnRICFZtWyBsLojhmeF/ZBd/elqm22WJh/BziDe/SBiOeAt0m2mfLD0g==",
"dev": true,
"dependencies": {
- "define-data-property": "^1.1.1",
+ "define-data-property": "^1.1.2",
+ "es-errors": "^1.3.0",
"function-bind": "^1.1.2",
- "get-intrinsic": "^1.2.2",
+ "get-intrinsic": "^1.2.3",
"gopd": "^1.0.1",
"has-property-descriptors": "^1.0.1"
},
@@ -31538,14 +32224,15 @@
}
},
"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==",
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz",
+ "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==",
"dev": true,
"dependencies": {
- "define-data-property": "^1.0.1",
+ "define-data-property": "^1.1.4",
+ "es-errors": "^1.3.0",
"functions-have-names": "^1.2.3",
- "has-property-descriptors": "^1.0.0"
+ "has-property-descriptors": "^1.0.2"
},
"engines": {
"node": ">= 0.4"
@@ -31619,24 +32306,34 @@
}
},
"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==",
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.5.tgz",
+ "integrity": "sha512-QcgiIWV4WV7qWExbN5llt6frQB/lBven9pqliLXfGPB+K9ZYXxDozp0wLkHS24kWCm+6YXH/f0HhnObZnZOBnQ==",
"dev": true,
"dependencies": {
- "call-bind": "^1.0.0",
- "get-intrinsic": "^1.0.2",
- "object-inspect": "^1.9.0"
+ "call-bind": "^1.0.6",
+ "es-errors": "^1.3.0",
+ "get-intrinsic": "^1.2.4",
+ "object-inspect": "^1.13.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
},
"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
+ "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/sigstore": {
"version": "1.9.0",
@@ -31856,9 +32553,9 @@
}
},
"node_modules/socks": {
- "version": "2.7.3",
- "resolved": "https://registry.npmjs.org/socks/-/socks-2.7.3.tgz",
- "integrity": "sha512-vfuYK48HXCTFD03G/1/zkIls3Ebr2YNa4qU9gHDZdblHLiqhJrJGkY3+0Nx0JpN9qBhJbVObc1CNciT1bIZJxw==",
+ "version": "2.8.1",
+ "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.1.tgz",
+ "integrity": "sha512-B6w7tkwNid7ToxjZ08rQMT8M9BJAf8DKx8Ft4NivzH0zBUfd6jldGcisJn/RLgxcX3FPNDdNQCUEMMT79b+oCQ==",
"dev": true,
"dependencies": {
"ip-address": "^9.0.5",
@@ -32023,9 +32720,9 @@
}
},
"node_modules/spdx-exceptions": {
- "version": "2.4.0",
- "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.4.0.tgz",
- "integrity": "sha512-hcjppoJ68fhxA/cjbN4T8N6uCUejN8yFw69ttpqtBeCbF3u13n7mb31NB9jKwGTTWWnt9IbRA/mf1FprYS8wfw==",
+ "version": "2.5.0",
+ "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz",
+ "integrity": "sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==",
"dev": true
},
"node_modules/spdx-expression-parse": {
@@ -32039,9 +32736,9 @@
}
},
"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==",
+ "version": "3.0.17",
+ "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.17.tgz",
+ "integrity": "sha512-sh8PWc/ftMqAAdFiBu6Fy6JUOYjqDJBJvIhpfDMyHrr0Rbp5liZqd4TjtQ/RgfLjKFZb+LMx5hpml5qOWy0qvg==",
"dev": true
},
"node_modules/spdy": {
@@ -32588,12 +33285,15 @@
}
},
"node_modules/strip-final-newline": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz",
- "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==",
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz",
+ "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==",
"dev": true,
"engines": {
- "node": ">=6"
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/strip-indent": {
@@ -32806,18 +33506,6 @@
"url": "https://github.com/sponsors/isaacs"
}
},
- "node_modules/sucrase/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/supports-color": {
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
@@ -33077,19 +33765,25 @@
}
},
"node_modules/tailwindcss/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==",
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.1.tgz",
+ "integrity": "sha512-O18pf7nyvHTckunPWCV1XUNXU1piu01y2b7ATJ0ppkUkk8ocqVWBrYjJBCwHDjD/ZWcfyrA0P4gKhzWGi5EINQ==",
"dev": true,
"engines": {
"node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antonk52"
}
},
"node_modules/tailwindcss/node_modules/yaml": {
- "version": "2.3.4",
- "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.4.tgz",
- "integrity": "sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==",
+ "version": "2.4.0",
+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.4.0.tgz",
+ "integrity": "sha512-j9iR8g+/t0lArF4V6NE/QCfT+CO7iLqrXAHZbJdo+LfjqP1vR8Fg5bSiaq6Q2lOD1AUEVrEVIgABvBFYojJVYQ==",
"dev": true,
+ "bin": {
+ "yaml": "bin.mjs"
+ },
"engines": {
"node": ">= 14"
}
@@ -33207,6 +33901,18 @@
"node": ">=8"
}
},
+ "node_modules/tempy/node_modules/is-stream": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz",
+ "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/tempy/node_modules/type-fest": {
"version": "0.16.0",
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.16.0.tgz",
@@ -33248,9 +33954,9 @@
}
},
"node_modules/terser": {
- "version": "5.27.0",
- "resolved": "https://registry.npmjs.org/terser/-/terser-5.27.0.tgz",
- "integrity": "sha512-bi1HRwVRskAjheeYl291n3JC4GgO/Ty4z1nVs5AAsmonJulGxpSektecnNedrwK9C7vpvVtcX3cw00VSLt7U2A==",
+ "version": "5.28.1",
+ "resolved": "https://registry.npmjs.org/terser/-/terser-5.28.1.tgz",
+ "integrity": "sha512-wM+bZp54v/E9eRRGXb5ZFDvinrJIOaTapx3WUokyVGZu5ucVCK55zEgGd5Dl2fSr3jUo5sDiERErUWLY6QPFyA==",
"dev": true,
"dependencies": {
"@jridgewell/source-map": "^0.3.3",
@@ -33874,29 +34580,30 @@
}
},
"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==",
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.2.tgz",
+ "integrity": "sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==",
"dev": true,
"dependencies": {
- "call-bind": "^1.0.2",
- "get-intrinsic": "^1.2.1",
- "is-typed-array": "^1.1.10"
+ "call-bind": "^1.0.7",
+ "es-errors": "^1.3.0",
+ "is-typed-array": "^1.1.13"
},
"engines": {
"node": ">= 0.4"
}
},
"node_modules/typed-array-byte-length": {
- "version": "1.0.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==",
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.1.tgz",
+ "integrity": "sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw==",
"dev": true,
"dependencies": {
- "call-bind": "^1.0.2",
+ "call-bind": "^1.0.7",
"for-each": "^0.3.3",
- "has-proto": "^1.0.1",
- "is-typed-array": "^1.1.10"
+ "gopd": "^1.0.1",
+ "has-proto": "^1.0.3",
+ "is-typed-array": "^1.1.13"
},
"engines": {
"node": ">= 0.4"
@@ -33906,16 +34613,17 @@
}
},
"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==",
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.2.tgz",
+ "integrity": "sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA==",
"dev": true,
"dependencies": {
- "available-typed-arrays": "^1.0.5",
- "call-bind": "^1.0.2",
+ "available-typed-arrays": "^1.0.7",
+ "call-bind": "^1.0.7",
"for-each": "^0.3.3",
- "has-proto": "^1.0.1",
- "is-typed-array": "^1.1.10"
+ "gopd": "^1.0.1",
+ "has-proto": "^1.0.3",
+ "is-typed-array": "^1.1.13"
},
"engines": {
"node": ">= 0.4"
@@ -33925,14 +34633,20 @@
}
},
"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==",
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.5.tgz",
+ "integrity": "sha512-yMi0PlwuznKHxKmcpoOdeLwxBoVPkqZxd7q2FgMkmD3bNwvF5VW0+UlUQ1k1vmktTu4Yu13Q0RIxEP8+B+wloA==",
"dev": true,
"dependencies": {
- "call-bind": "^1.0.2",
+ "call-bind": "^1.0.7",
"for-each": "^0.3.3",
- "is-typed-array": "^1.1.9"
+ "gopd": "^1.0.1",
+ "has-proto": "^1.0.3",
+ "is-typed-array": "^1.1.13",
+ "possible-typed-array-names": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
},
"funding": {
"url": "https://github.com/sponsors/ljharb"
@@ -34401,9 +35115,9 @@
}
},
"node_modules/update-notifier/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -34771,9 +35485,9 @@
}
},
"node_modules/webpack": {
- "version": "5.90.0",
- "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.90.0.tgz",
- "integrity": "sha512-bdmyXRCXeeNIePv6R6tGPyy20aUobw4Zy8r0LUS2EWO+U+Ke/gYDgsCh7bl5rB6jPpr4r0SZa6dPxBxLooDT3w==",
+ "version": "5.90.3",
+ "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.90.3.tgz",
+ "integrity": "sha512-h6uDYlWCctQRuXBs1oYpVe6sFcWedl0dpcVaTf/YF67J9bKvwJajFulMVSYKHrksMB3I/pIagRzDxwxkebuzKA==",
"dev": true,
"dependencies": {
"@types/eslint-scope": "^3.7.3",
@@ -35267,16 +35981,16 @@
"peer": true
},
"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==",
+ "version": "1.1.14",
+ "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.14.tgz",
+ "integrity": "sha512-VnXFiIW8yNn9kIHN88xvZ4yOWchftKDsRJ8fEPacX/wl1lOvBrhsJ/OeJCXq7B0AaijRuqgzSKalJoPk+D8MPg==",
"dev": true,
"dependencies": {
- "available-typed-arrays": "^1.0.5",
- "call-bind": "^1.0.4",
+ "available-typed-arrays": "^1.0.6",
+ "call-bind": "^1.0.5",
"for-each": "^0.3.3",
"gopd": "^1.0.1",
- "has-tostringtag": "^1.0.0"
+ "has-tostringtag": "^1.0.1"
},
"engines": {
"node": ">= 0.4"
@@ -35518,6 +36232,7 @@
"version": "6.6.0",
"resolved": "https://registry.npmjs.org/workbox-google-analytics/-/workbox-google-analytics-6.6.0.tgz",
"integrity": "sha512-p4DJa6OldXWd6M9zRl0H6vB9lkrmqYFkRQ2xEiNdBFp9U0LhsGO7hsBscVEyH9H2/3eZZt8c97NB2FD9U2NJ+Q==",
+ "deprecated": "It is not compatible with newer versions of GA starting with v4, as long as you are using GAv3 it should be ok, but the package is not longer being maintained",
"dev": true,
"dependencies": {
"workbox-background-sync": "6.6.0",
@@ -35776,6 +36491,12 @@
"node": "^12.13.0 || ^14.15.0 || >=16.0.0"
}
},
+ "node_modules/write-file-atomic/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/ws": {
"version": "7.5.9",
"resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz",
@@ -35889,12 +36610,12 @@
}
},
"node_modules/yocto-queue": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
- "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.0.0.tgz",
+ "integrity": "sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==",
"dev": true,
"engines": {
- "node": ">=10"
+ "node": ">=12.20"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
diff --git a/package.json b/package.json
index 8bdbb65e..e23bd3c1 100644
--- a/package.json
+++ b/package.json
@@ -16,8 +16,8 @@
"npm": ">=9"
},
"scripts": {
- "start": "NODE_ENV=development rollup --config rollup.dev-config.js -w",
- "build": "rollup -c",
+ "start": "NODE_ENV=development rollup --config --configDebug -w",
+ "build": "rollup --config",
"prepare": "run-s build && husky install",
"test": "npx @onebeyond/license-checker --failOn AGPL-1.0-or-later --disableReport --errorReportFileName license-error | run-s test:unit test:lint test:build",
"test:ci": "run-s test:unit test:lint test:build",
diff --git a/rollup.config.js b/rollup.config.js
index 5ffb7806..938db023 100644
--- a/rollup.config.js
+++ b/rollup.config.js
@@ -6,7 +6,7 @@ import json from '@rollup/plugin-json'
import replace from 'rollup-plugin-replace'
import postcss from 'rollup-plugin-postcss'
-export default {
+export default commandLineArgs => ({
input: 'src/index.js',
output: {
name: 'ReactFormBuilder',
@@ -37,7 +37,9 @@ export default {
postcss({
extensions: ['.css']
}),
- replace({ 'process.env.NODE_ENV': JSON.stringify('production') }),
+ ...(commandLineArgs.configDebug === true
+ ? []
+ : [replace({ 'process.env.NODE_ENV': JSON.stringify('production') })]),
],
external: [
@@ -52,4 +54,52 @@ export default {
'react-dom',
'react-ymd-date-select'
]
-}
+});
+
+// export default {
+// input: 'src/index.js',
+// output: {
+// name: 'ReactFormBuilder',
+// file: 'dist/index.js',
+// format: 'umd',
+// sourcemap: true,
+
+// globals: {
+// react: 'React',
+// 'theme-ui': 'theme-ui',
+// 'react-markdown': 'react-markdown',
+// 'react-phone-number-input': 'react-phone-number-input',
+// 'react-hook-form': 'react-hook-form',
+// 'react-datepicker': 'react-datepicker',
+// 'react-select': 'react-select',
+// 'react-scripts': 'react-scripts',
+// 'react-dom': 'ReactDOM',
+// 'react-ymd-date-select': 'react-ymd-date-select'
+// }
+// },
+
+// plugins: [
+// nodeResolve(),
+// peerDepsExternal(),
+// babel({ babelHelpers: 'bundled', exclude: 'node_modules/**' }),
+// commonjs(),
+// json(),
+// postcss({
+// extensions: ['.css']
+// }),
+// replace({ 'process.env.NODE_ENV': JSON.stringify('production') }),
+// ],
+
+// external: [
+// 'react',
+// 'theme-ui',
+// 'react-markdown',
+// 'react-hook-form',
+// 'react-phone-number-input',
+// 'react-datepicker',
+// 'react-scripts',
+// 'react-select',
+// 'react-dom',
+// 'react-ymd-date-select'
+// ]
+// }
diff --git a/rollup.dev-config.js b/rollup.dev-config.js
deleted file mode 100644
index 73eb70c4..00000000
--- a/rollup.dev-config.js
+++ /dev/null
@@ -1,54 +0,0 @@
-import babel from '@rollup/plugin-babel'
-import peerDepsExternal from 'rollup-plugin-peer-deps-external'
-import { nodeResolve } from '@rollup/plugin-node-resolve'
-import commonjs from '@rollup/plugin-commonjs'
-import json from '@rollup/plugin-json'
-import replace from 'rollup-plugin-replace'
-import postcss from 'rollup-plugin-postcss'
-
-export default {
- input: 'src/index.js',
- output: {
- name: 'ReactFormBuilder',
- file: 'dist/index.js',
- format: 'umd',
- sourcemap: true,
-
- globals: {
- react: 'React',
- 'theme-ui': 'theme-ui',
- 'react-markdown': 'react-markdown',
- 'react-phone-number-input': 'react-phone-number-input',
- 'react-hook-form': 'react-hook-form',
- 'react-datepicker': 'react-datepicker',
- 'react-select': 'react-select',
- 'react-scripts': 'react-scripts',
- 'react-dom': 'ReactDOM',
- 'react-ymd-date-select': 'react-ymd-date-select'
- }
- },
-
- plugins: [
- nodeResolve(),
- peerDepsExternal(),
- babel({ babelHelpers: 'bundled', exclude: 'node_modules/**' }),
- commonjs(),
- json(),
- postcss({
- extensions: ['.css']
- })
- ],
-
- external: [
- 'react',
- 'theme-ui',
- 'react-markdown',
- 'react-hook-form',
- 'react-phone-number-input',
- 'react-datepicker',
- 'react-scripts',
- 'react-select',
- 'react-dom',
- 'react-ymd-date-select'
- ]
-}
From 246aa4ab61704d7699edd6df1ba0298331593625 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=8D=C3=B1igo=20Marqu=C3=ADnez=20Prado?=
<25435858+inigomarquinez@users.noreply.github.com>
Date: Wed, 28 Feb 2024 17:36:16 +0100
Subject: [PATCH 05/12] feat: new country question
---
README.md | 64 +-
example/package-lock.json | 193 +--
example/src/forms/Countries/form-new.json | 88 +-
example/src/forms/Countries/form-old.json | 16 +-
example/src/forms/Countries/index.jsx | 4 +-
package-lock.json | 25 +-
rollup.config.js | 114 +-
.../CountryNew/__tests__/country.test.js | 312 -----
src/Questions/CountryNew/country.stories.js | 224 ---
.../CountryNew/data/countryAndRegion.js | 1247 -----------------
src/Questions/CountryNew/data/de.js | 319 -----
src/Questions/CountryNew/data/es.js | 315 -----
src/Questions/CountryNew/data/fr.js | 331 -----
src/Questions/CountryNew/index.js | 149 --
src/Questions/CountryV2/index.js | 110 ++
src/builder.js | 6 +-
16 files changed, 431 insertions(+), 3086 deletions(-)
delete mode 100644 src/Questions/CountryNew/__tests__/country.test.js
delete mode 100644 src/Questions/CountryNew/country.stories.js
delete mode 100644 src/Questions/CountryNew/data/countryAndRegion.js
delete mode 100644 src/Questions/CountryNew/data/de.js
delete mode 100644 src/Questions/CountryNew/data/es.js
delete mode 100644 src/Questions/CountryNew/data/fr.js
delete mode 100644 src/Questions/CountryNew/index.js
create mode 100644 src/Questions/CountryV2/index.js
diff --git a/README.md b/README.md
index 8ab07a7e..acd4bc71 100644
--- a/README.md
+++ b/README.md
@@ -133,7 +133,6 @@ Reminder: A custom link it will be indicated by the start of a '#' in the markdo
https://user-images.githubusercontent.com/79102959/134894112-e4f38ced-0992-428c-95c3-bcdce20cd858.mp4
-
## Country
| Option | Description | Type | Default |
|--- |--- |:---: |:---: |
@@ -172,7 +171,7 @@ Reminder: the 'countryAndRegions' prop that can be sent in the ReactFormBuilder
```
### Custom list country example:
-```yaml
+```json
{
{
countryName: 'MyOwnCountry1',
@@ -212,6 +211,67 @@ https://user-images.githubusercontent.com/79102959/134897712-95e4391c-cfbb-42cd-
+
+
+
+
+## Country v2
+
+| Option | Description | Type | Default |
+| ------ | ----------- | :---: | :---: |
+| name* | Country component name | string | |
+| type* | Must be `country_v2` | string | |
+| label | Text shown over the country question | string | '' |
+| placeholder | Placeholder displayed in the select | string | '' |
+| **config** | See table below | json | {} |
+| **errorMessages** | Validation errors | json | {} |
+| **registerConfig** | Validation rules | json | {} |
+
+### **config** options
+
+| Option | Description | Type | Default |
+| ------ | ----------- | :---: | :---: |
+| whitelist | List of ISO 3166-1 alpha-2 codes of the countries allowed in the list. This is mutually exclusive with `blacklist` and `whitelist`takes precedence. | string[] | [] |
+| blacklist | List of ISO 3166-1 alpha-2 codes of the countries not allowed in the list. This is mutually exclusive with `whitelist` and `whitelist`takes precedence. | string[] | [] |
+| priorityOptions | List of ISO 3166-1 alpha-2 codes of the countries to be displayed first in the list. Ex: ['GB', 'ES'] | string[] | [] |
+| language | ISO 639-1 code of the language to display countries names. [Available laguages](https://github.com/michaelwittig/node-i18n-iso-countries?tab=readme-ov-file#supported-languages-iso-639-1) | string | en |
+
+### Country v2 example:
+
+```json
+{
+ "name": "country_of_residence",
+ "placeholder": "Select your country of residence",
+ "type": "country_v2",
+ "label": "Country of residence",
+ "errorMessages": {
+ "required": "This field is required"
+ },
+ "registerConfig": {
+ "required": true
+ },
+ "config": {
+ "whitelist": [
+ "DE",
+ "ES",
+ "FR",
+ "IT",
+ "PT"
+ ],
+ "priorityOptions": [
+ "ES",
+ "PT"
+ ]
+ }
+}
+```
+
+
+
+
+
+
+
## Date
| Option | Description | Type | Default |
|--- |--- |:---: |:---: |
diff --git a/example/package-lock.json b/example/package-lock.json
index 687b9aa4..32c8e047 100644
--- a/example/package-lock.json
+++ b/example/package-lock.json
@@ -590,9 +590,9 @@
}
},
"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==",
+ "version": "0.3.4",
+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.4.tgz",
+ "integrity": "sha512-Oud2QPM5dHviZNn4y/WhhYKSXksv+1xLEIsNrAbGcFzUN3ubqWRFT5gwPchNc5NuzILOU4tPBDTZ4VwhL8Y7cw==",
"dev": true,
"peer": true,
"dependencies": {
@@ -605,9 +605,9 @@
}
},
"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==",
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
+ "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
"dev": true,
"peer": true,
"engines": {
@@ -632,9 +632,9 @@
"peer": true
},
"node_modules/@jridgewell/trace-mapping": {
- "version": "0.3.22",
- "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.22.tgz",
- "integrity": "sha512-Wf963MzWtA2sjrNt+g18IAln9lKnlRp+K2eH4jjIoF1wYeq3aMREpG09xhlhdzS0EjwU7qmUJYangWa+151vZw==",
+ "version": "0.3.23",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.23.tgz",
+ "integrity": "sha512-9/4foRoUKp8s96tSkh8DlAAc5A0Ty8vLXld+l9gjKKY6ckwI8G15f0hskGmuLZu78ZlGa1vtsfOa+lnB4vG6Jg==",
"dev": true,
"peer": true,
"dependencies": {
@@ -702,9 +702,9 @@
}
},
"node_modules/@npmcli/fs/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -751,9 +751,9 @@
}
},
"node_modules/@npmcli/git/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -1316,9 +1316,9 @@
}
},
"node_modules/browserslist": {
- "version": "4.22.3",
- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.22.3.tgz",
- "integrity": "sha512-UAp55yfwNv0klWNapjs/ktHoguxuQNGnOzxYmfnXIS+8AsRDZkSDxg7R1AX3GKzn078SBI5dzwzj/Yx0Or0e3A==",
+ "version": "4.23.0",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.0.tgz",
+ "integrity": "sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ==",
"dev": true,
"funding": [
{
@@ -1336,8 +1336,8 @@
],
"peer": true,
"dependencies": {
- "caniuse-lite": "^1.0.30001580",
- "electron-to-chromium": "^1.4.648",
+ "caniuse-lite": "^1.0.30001587",
+ "electron-to-chromium": "^1.4.668",
"node-releases": "^2.0.14",
"update-browserslist-db": "^1.0.13"
},
@@ -1376,9 +1376,9 @@
}
},
"node_modules/builtins/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -1477,9 +1477,9 @@
}
},
"node_modules/caniuse-lite": {
- "version": "1.0.30001581",
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001581.tgz",
- "integrity": "sha512-whlTkwhqV2tUmP3oYhtNfaWGYHDdS3JYFQBKXxcUR9qqPWsRhFHhoISO2Xnl/g0xyKzht9mI1LZpiNWfMzHixQ==",
+ "version": "1.0.30001591",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001591.tgz",
+ "integrity": "sha512-PCzRMei/vXjJyL5mJtzNiUCKP59dm8Apqc3PH8gJkMnMXZGox93RbE76jHsmLwmIo6/3nsYIpJtx0O7u5PqFuQ==",
"dev": true,
"funding": [
{
@@ -1804,9 +1804,9 @@
"dev": true
},
"node_modules/electron-to-chromium": {
- "version": "1.4.652",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.652.tgz",
- "integrity": "sha512-XvQaa8hVUAuEJtLw6VKQqvdOxTOfBLWfI10t2xWpezx4XXD3k8bdLweEKeItqaa0+OkJX5l0mP1W+JWobyIDrg==",
+ "version": "1.4.685",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.685.tgz",
+ "integrity": "sha512-yDYeobbTEe4TNooEzOQO6xFqg9XnAkVy2Lod1C1B2it8u47JNLYvl9nLDWBamqUakWB8Jc1hhS1uHUNYTNQdfw==",
"dev": true,
"peer": true
},
@@ -1842,9 +1842,9 @@
"dev": true
},
"node_modules/escalade": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
- "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==",
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz",
+ "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==",
"dev": true,
"peer": true,
"engines": {
@@ -1902,9 +1902,9 @@
"dev": true
},
"node_modules/fastq": {
- "version": "1.17.0",
- "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.0.tgz",
- "integrity": "sha512-zGygtijUMT7jnk3h26kUms3BkSDp4IfIKjmnqI2tvx6nuBfiF1UqOxbnLfzdv+apBy+53oaImsKtMw/xYbW+1w==",
+ "version": "1.17.1",
+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz",
+ "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==",
"dev": true,
"dependencies": {
"reusify": "^1.0.4"
@@ -2236,9 +2236,9 @@
}
},
"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==",
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.1.tgz",
+ "integrity": "sha512-1/th4MHjnwncwXsIW6QMzlvYL9kG5e/CpVvLRZe4XPa8TOUNbCELqmvhDmnkNsAjwaG4+I8gJJL0JBvTTLO9qA==",
"dev": true,
"dependencies": {
"function-bind": "^1.1.2"
@@ -2337,9 +2337,9 @@
}
},
"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==",
+ "version": "5.3.1",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz",
+ "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==",
"dev": true,
"engines": {
"node": ">= 4"
@@ -2415,11 +2415,18 @@
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
}
},
- "node_modules/ip": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz",
- "integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==",
- "dev": true
+ "node_modules/ip-address": {
+ "version": "9.0.5",
+ "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-9.0.5.tgz",
+ "integrity": "sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g==",
+ "dev": true,
+ "dependencies": {
+ "jsbn": "1.1.0",
+ "sprintf-js": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 12"
+ }
},
"node_modules/is-ci": {
"version": "3.0.1",
@@ -2600,6 +2607,12 @@
"js-yaml": "bin/js-yaml.js"
}
},
+ "node_modules/jsbn": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz",
+ "integrity": "sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==",
+ "dev": true
+ },
"node_modules/jsesc": {
"version": "2.5.2",
"resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",
@@ -3316,9 +3329,9 @@
}
},
"node_modules/node-gyp/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -3443,9 +3456,9 @@
}
},
"node_modules/normalize-package-data/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -3500,9 +3513,9 @@
}
},
"node_modules/npm-check-updates": {
- "version": "16.14.14",
- "resolved": "https://registry.npmjs.org/npm-check-updates/-/npm-check-updates-16.14.14.tgz",
- "integrity": "sha512-Y3ajS/Ep40jM489rLBdz9jehn/BMil5s9fA4PSr2ZJxxSmtLWCSmRqsI2IEZ9Nb3MTMu8a3s7kBs0l+JbjdkTA==",
+ "version": "16.14.15",
+ "resolved": "https://registry.npmjs.org/npm-check-updates/-/npm-check-updates-16.14.15.tgz",
+ "integrity": "sha512-WH0wJ9j6CP7Azl+LLCxWAYqroT2IX02kRIzgK/fg0rPpMbETgHITWBdOPtrv521xmA3JMgeNsQ62zvVtS/nCmQ==",
"dev": true,
"dependencies": {
"chalk": "^5.3.0",
@@ -3571,9 +3584,9 @@
}
},
"node_modules/npm-check-updates/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -3616,9 +3629,9 @@
}
},
"node_modules/npm-install-checks/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -3682,9 +3695,9 @@
}
},
"node_modules/npm-package-arg/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -3754,9 +3767,9 @@
}
},
"node_modules/npm-pick-manifest/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -3901,9 +3914,9 @@
}
},
"node_modules/package-json/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -4469,9 +4482,9 @@
}
},
"node_modules/semver-diff/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -4579,16 +4592,16 @@
}
},
"node_modules/socks": {
- "version": "2.7.1",
- "resolved": "https://registry.npmjs.org/socks/-/socks-2.7.1.tgz",
- "integrity": "sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ==",
+ "version": "2.8.1",
+ "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.1.tgz",
+ "integrity": "sha512-B6w7tkwNid7ToxjZ08rQMT8M9BJAf8DKx8Ft4NivzH0zBUfd6jldGcisJn/RLgxcX3FPNDdNQCUEMMT79b+oCQ==",
"dev": true,
"dependencies": {
- "ip": "^2.0.0",
+ "ip-address": "^9.0.5",
"smart-buffer": "^4.2.0"
},
"engines": {
- "node": ">= 10.13.0",
+ "node": ">= 10.0.0",
"npm": ">= 3.0.0"
}
},
@@ -4648,9 +4661,9 @@
}
},
"node_modules/spdx-exceptions": {
- "version": "2.4.0",
- "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.4.0.tgz",
- "integrity": "sha512-hcjppoJ68fhxA/cjbN4T8N6uCUejN8yFw69ttpqtBeCbF3u13n7mb31NB9jKwGTTWWnt9IbRA/mf1FprYS8wfw==",
+ "version": "2.5.0",
+ "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz",
+ "integrity": "sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==",
"dev": true
},
"node_modules/spdx-expression-parse": {
@@ -4664,9 +4677,15 @@
}
},
"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==",
+ "version": "3.0.17",
+ "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.17.tgz",
+ "integrity": "sha512-sh8PWc/ftMqAAdFiBu6Fy6JUOYjqDJBJvIhpfDMyHrr0Rbp5liZqd4TjtQ/RgfLjKFZb+LMx5hpml5qOWy0qvg==",
+ "dev": true
+ },
+ "node_modules/sprintf-js": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz",
+ "integrity": "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==",
"dev": true
},
"node_modules/ssri": {
@@ -5068,9 +5087,9 @@
}
},
"node_modules/update-notifier/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==",
+ "version": "7.6.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz",
+ "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
diff --git a/example/src/forms/Countries/form-new.json b/example/src/forms/Countries/form-new.json
index 14281c53..5bfe4a2e 100644
--- a/example/src/forms/Countries/form-new.json
+++ b/example/src/forms/Countries/form-new.json
@@ -3,19 +3,95 @@
"title": "Form with new Country question format",
"questions": [
{
- "name": "country",
+ "name": "country_all",
"placeholder": "Select your country",
- "priorityOptions": [
- "GB"
- ],
- "type": "country_new",
- "label": "Current country question",
+ "type": "country_v2",
+ "label": "List of original countries",
"errorMessages": {
"required": "This field is required"
},
"registerConfig": {
"required": true
}
+ },
+ {
+ "name": "country_all",
+ "placeholder": "Select your country",
+ "type": "country_v2",
+ "label": "List of original countries with search option",
+ "errorMessages": {
+ "required": "This field is required"
+ },
+ "registerConfig": {
+ "required": true
+ },
+ "config": {
+ "search": true
+ }
+ },
+ {
+ "name": "country_all_priority",
+ "placeholder": "Select your country",
+ "type": "country_v2",
+ "label": "List of original countries with priority",
+ "errorMessages": {
+ "required": "This field is required"
+ },
+ "registerConfig": {
+ "required": true
+ },
+ "config": {
+ "priorityOptions": [
+ "ES",
+ "PT"
+ ]
+ }
+ },
+ {
+ "name": "country_whitelist",
+ "placeholder": "Select your country",
+ "type": "country_v2",
+ "label": "List of whitelisted countries only",
+ "errorMessages": {
+ "required": "This field is required"
+ },
+ "registerConfig": {
+ "required": true
+ },
+ "config": {
+ "whitelist": [
+ "DE",
+ "ES",
+ "FR",
+ "IT",
+ "PT"
+ ]
+ }
+ },
+ {
+ "name": "country_whitelist_priority",
+ "placeholder": "Select your country",
+ "type": "country_v2",
+ "label": "List of whitelisted countries with priority",
+ "errorMessages": {
+ "required": "This field is required"
+ },
+ "registerConfig": {
+ "required": true
+ },
+ "config": {
+ "whitelist": [
+ "DE",
+ "ES",
+ "FR",
+ "IT",
+ "PT"
+ ],
+ "priorityOptions": [
+ "ES",
+ "PT"
+ ]
+ }
}
],
"callForAction": [
diff --git a/example/src/forms/Countries/form-old.json b/example/src/forms/Countries/form-old.json
index 89299b37..995d42b7 100644
--- a/example/src/forms/Countries/form-old.json
+++ b/example/src/forms/Countries/form-old.json
@@ -3,13 +3,25 @@
"title": "Form with old Country question format",
"questions": [
{
- "name": "country",
+ "name": "country_all",
+ "placeholder": "Select your country",
+ "type": "country",
+ "label": "List of original countries",
+ "errorMessages": {
+ "required": "This field is required"
+ },
+ "registerConfig": {
+ "required": true
+ }
+ },
+ {
+ "name": "country_all_priority",
"placeholder": "Select your country",
"priorityOptions": [
"GB"
],
"type": "country",
- "label": "Current country question",
+ "label": "List of original countries with priority",
"errorMessages": {
"required": "This field is required"
},
diff --git a/example/src/forms/Countries/index.jsx b/example/src/forms/Countries/index.jsx
index 7e5a797e..25435300 100644
--- a/example/src/forms/Countries/index.jsx
+++ b/example/src/forms/Countries/index.jsx
@@ -59,7 +59,7 @@ const CountriesForm = () => {
form={oldForm}
onSubmit={onSubmitForm}
isoCode='ES'
- language='en'
+ language='es'
onLinkOpen={onLinkOpen}
isLoading={isLoading}
formErrors={formErrors}
@@ -79,7 +79,7 @@ const CountriesForm = () => {
form={newForm}
onSubmit={onSubmitForm}
isoCode='ES'
- language='en'
+ language='es'
onLinkOpen={onLinkOpen}
isLoading={isLoading}
formErrors={formErrors}
diff --git a/package-lock.json b/package-lock.json
index a43f6079..9606013f 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -2194,14 +2194,14 @@
}
},
"node_modules/@commitlint/cli": {
- "version": "19.0.1",
- "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-19.0.1.tgz",
- "integrity": "sha512-6D+KT/RasFPF92M549I3lABSBWXAdmKvBfxtYWlWO5JdYFSK+B6jY6XyE/hN/DNSYvwwcuNk+CzbqQcy+EbrCw==",
+ "version": "19.0.2",
+ "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-19.0.2.tgz",
+ "integrity": "sha512-oaFHcjOASFFdtei/EF0lPg9ubnqVJsAjEmiDPeBQqk8wO7qppO7vp595SP7vOjTyDJlPVc2jUxCJSKxdq5temQ==",
"dev": true,
"dependencies": {
"@commitlint/format": "^19.0.0",
"@commitlint/lint": "^19.0.0",
- "@commitlint/load": "^19.0.1",
+ "@commitlint/load": "^19.0.2",
"@commitlint/read": "^19.0.0",
"@commitlint/types": "^19.0.0",
"execa": "^8.0.1",
@@ -2353,14 +2353,14 @@
}
},
"node_modules/@commitlint/load": {
- "version": "19.0.1",
- "resolved": "https://registry.npmjs.org/@commitlint/load/-/load-19.0.1.tgz",
- "integrity": "sha512-5w5RHhtidRPMRm8ktph+NKypt1Wu5Z2jbU1Lc+1IS9Azy83JWRBQ9xKBbW9gF66R/TwHF0v6Jy8KOqRS8I/GgA==",
+ "version": "19.0.2",
+ "resolved": "https://registry.npmjs.org/@commitlint/load/-/load-19.0.2.tgz",
+ "integrity": "sha512-ZbSQ8+vMsGHuZ/YxyDBz3i5zacQuAvON37xQGshGew/KwBmPfrF/sGEHNsD/znm3j2H6+iF5xslfkH1D382gbg==",
"dev": true,
"dependencies": {
"@commitlint/config-validator": "^19.0.0",
"@commitlint/execute-rule": "^19.0.0",
- "@commitlint/resolve-extends": "^19.0.1",
+ "@commitlint/resolve-extends": "^19.0.2",
"@commitlint/types": "^19.0.0",
"chalk": "^5.3.0",
"cosmiconfig": "^8.3.6",
@@ -2424,16 +2424,17 @@
}
},
"node_modules/@commitlint/resolve-extends": {
- "version": "19.0.1",
- "resolved": "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-19.0.1.tgz",
- "integrity": "sha512-U5BRCNEiib0I06e6utNzBXZRu/t/bzlqVljS5kaNwggPN1VS+Kvuks8fY97j85B8sifHXU5dhUICPRKP8Oj31A==",
+ "version": "19.0.2",
+ "resolved": "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-19.0.2.tgz",
+ "integrity": "sha512-yCdY4+JZpKPwnR6/YZAs9Ukpr3oqHbjYmwszEH2djYjprczg8j2okIeZyNM4dzD6+BqlSu/y0Eou2vE+wP+KnA==",
"dev": true,
"dependencies": {
"@commitlint/config-validator": "^19.0.0",
"@commitlint/types": "^19.0.0",
"global-directory": "^4.0.1",
"import-meta-resolve": "^4.0.0",
- "lodash.mergewith": "^4.6.2"
+ "lodash.mergewith": "^4.6.2",
+ "resolve-from": "^5.0.0"
},
"engines": {
"node": ">=v18"
diff --git a/rollup.config.js b/rollup.config.js
index 938db023..07e3399e 100644
--- a/rollup.config.js
+++ b/rollup.config.js
@@ -6,26 +6,45 @@ import json from '@rollup/plugin-json'
import replace from 'rollup-plugin-replace'
import postcss from 'rollup-plugin-postcss'
+import pkg from './package.json'
+
+/**
+ * Used for generating external dependencies
+ * Credit: Mateusz Burzyński (https://github.com/Andarist)
+ * Source: https://github.com/rollup/rollup-plugin-babel/issues/148#issuecomment-399696316
+ */
+const makeExternalPredicate = (externalArr) => {
+ if (externalArr.length === 0) {
+ return () => false;
+ }
+ const pattern = new RegExp(`^(${externalArr.join('|')})($|/)`);
+ return (id) => pattern.test(id);
+};
+
+const makeGlobalsPredicate = (externalArr) => {
+ if (externalArr.length === 0) {
+ return {};
+ }
+
+ return externalArr.reduce((acc, name) => {
+ acc[name] = name;
+ return acc;
+ }, {});
+}
+
export default commandLineArgs => ({
- input: 'src/index.js',
+ input: pkg.source,
output: {
name: 'ReactFormBuilder',
- file: 'dist/index.js',
+ file: pkg.main,
format: 'umd',
sourcemap: true,
-
- globals: {
- react: 'React',
- 'theme-ui': 'theme-ui',
- 'react-markdown': 'react-markdown',
- 'react-phone-number-input': 'react-phone-number-input',
- 'react-hook-form': 'react-hook-form',
- 'react-datepicker': 'react-datepicker',
- 'react-select': 'react-select',
- 'react-scripts': 'react-scripts',
- 'react-dom': 'ReactDOM',
- 'react-ymd-date-select': 'react-ymd-date-select'
- }
+ globals: makeGlobalsPredicate([
+ // Handles both dependencies and peer dependencies so we don't have to manually maintain a list
+ ...Object.keys(pkg.dependencies || {}),
+ ...Object.keys(pkg.peerDependencies || {}),
+ 'react-select/async'
+ ]),
},
plugins: [
@@ -42,64 +61,9 @@ export default commandLineArgs => ({
: [replace({ 'process.env.NODE_ENV': JSON.stringify('production') })]),
],
- external: [
- 'react',
- 'theme-ui',
- 'react-markdown',
- 'react-hook-form',
- 'react-phone-number-input',
- 'react-datepicker',
- 'react-scripts',
- 'react-select',
- 'react-dom',
- 'react-ymd-date-select'
- ]
+ external: makeExternalPredicate([
+ // Handles both dependencies and peer dependencies so we don't have to manually maintain a list
+ ...Object.keys(pkg.dependencies || {}),
+ ...Object.keys(pkg.peerDependencies || {}),
+ ]),
});
-
-// export default {
-// input: 'src/index.js',
-// output: {
-// name: 'ReactFormBuilder',
-// file: 'dist/index.js',
-// format: 'umd',
-// sourcemap: true,
-
-// globals: {
-// react: 'React',
-// 'theme-ui': 'theme-ui',
-// 'react-markdown': 'react-markdown',
-// 'react-phone-number-input': 'react-phone-number-input',
-// 'react-hook-form': 'react-hook-form',
-// 'react-datepicker': 'react-datepicker',
-// 'react-select': 'react-select',
-// 'react-scripts': 'react-scripts',
-// 'react-dom': 'ReactDOM',
-// 'react-ymd-date-select': 'react-ymd-date-select'
-// }
-// },
-
-// plugins: [
-// nodeResolve(),
-// peerDepsExternal(),
-// babel({ babelHelpers: 'bundled', exclude: 'node_modules/**' }),
-// commonjs(),
-// json(),
-// postcss({
-// extensions: ['.css']
-// }),
-// replace({ 'process.env.NODE_ENV': JSON.stringify('production') }),
-// ],
-
-// external: [
-// 'react',
-// 'theme-ui',
-// 'react-markdown',
-// 'react-hook-form',
-// 'react-phone-number-input',
-// 'react-datepicker',
-// 'react-scripts',
-// 'react-select',
-// 'react-dom',
-// 'react-ymd-date-select'
-// ]
-// }
diff --git a/src/Questions/CountryNew/__tests__/country.test.js b/src/Questions/CountryNew/__tests__/country.test.js
deleted file mode 100644
index 0916f4cc..00000000
--- a/src/Questions/CountryNew/__tests__/country.test.js
+++ /dev/null
@@ -1,312 +0,0 @@
-import React from 'react'
-import {
- cleanup,
- getByText,
- screen,
- render,
- fireEvent,
- renderHook
-} from '@testing-library/react'
-import QuestionCountry from '../'
-import selectEvent from 'react-select-event'
-import { useForm } from 'react-hook-form'
-
-import MutationObserver from '@sheerun/mutationobserver-shim'
-window.MutationObserver = MutationObserver
-
-afterEach(cleanup)
-
-const question = {
- name: 'country_of_residence',
- type: 'country',
- label: 'This is the label of the country select',
- placeholder: 'Please select an option ^^',
- priorityOptions: ['GB', 'ES'],
- errorMessages: {
- required: 'This field is required'
- }
-}
-
-const customListCountries = [
- { cn: 'MyOwnCountry1', cs: 'MC1' },
- { cn: 'MyOwnCountry2', cs: 'MC2' },
- { cn: 'MyOwnCountry3', cs: 'MC3' },
- { cn: 'MyOwnCountry4', cs: 'MC4' }
-]
-
-const { result } = renderHook(() => useForm())
-const formMethods = result.current
-
-const setup = (customListCountries) => {
- const renderComponent = render(
-
- )
-
- const countryComponent = renderComponent.getByTestId('question-country')
- const placeholderComponent = renderComponent.getByText(
- 'Please select an option ^^'
- )
-
- return { countryComponent, placeholderComponent }
-}
-
-test('check the placeholder text', () => {
- const { countryComponent } = setup()
- getByText(countryComponent, 'Please select an option ^^')
-})
-
-test('Country label', () => {
- const { countryComponent } = setup()
- getByText(countryComponent, 'This is the label of the country select')
-})
-
-test('change value of select', async () => {
- const question = {
- name: 'country_of_residence',
- type: 'country',
- label: 'This is the label of the country select',
- placeholder: 'Please select an option ^^',
- priorityOptions: ['ES'],
- errorMessages: {
- required: 'This field is required'
- }
- }
- const { getByText } = render(
-
- )
- const select = getByText('Please select an option ^^')
-
- await selectEvent.openMenu(select)
- fireEvent.keyDown(select, { key: 'Enter', code: 13 })
- expect(screen.getByText('Spain'))
-})
-
-test('sort country list by default', async () => {
- const question = {
- name: 'country_of_residence',
- type: 'country',
- label: 'This is the label of the country select',
- placeholder: 'Please select an option ^^',
- errorMessages: {
- required: 'This field is required'
- }
- }
-
- const { getByText } = render(
-
- )
-
- const select = getByText('Please select an option ^^')
-
- await selectEvent.openMenu(select)
- fireEvent.keyDown(select, { key: 'Enter', code: 13 })
- expect(screen.getByText('Afghanistan'))
-})
-
-test('handle country priority order', async () => {
- const question = {
- name: 'country_of_residence',
- type: 'country',
- label: 'This is the label of the country select',
- placeholder: 'Please select an option ^^',
- priorityOptions: ['GB', 'ES'],
- errorMessages: {
- required: 'This field is required'
- }
- }
-
- const { getByText } = render(
-
- )
-
- const select = getByText('Please select an option ^^')
-
- await selectEvent.openMenu(select)
- fireEvent.keyDown(select, { key: 'Enter', code: 13 })
- expect(screen.getByText('United Kingdom'))
-})
-
-test('check all the countries are rendered', async () => {
- const { placeholderComponent } = setup(customListCountries)
-
- await selectEvent.openMenu(placeholderComponent)
- for (let i = 0; i < customListCountries.length; i++) {
- expect(screen.getByText('MyOwnCountry' + (i + 1)))
- }
-})
-
-test('label tag is not displayed when label value is null', () => {
- const questionNoLabel = { ...question }
- delete questionNoLabel.label
- render( )
-
- expect(!screen.queryByTestId('country-label'))
-})
-
-test('renders a country list in spanish', async () => {
- const data = {
- language: 'es',
- select: 'España'
- }
- const question = {
- name: 'country_of_residence',
- type: 'country',
- label: 'This is the label of the country select',
- placeholder: 'Please select an option ^^',
- priorityOptions: ['ES'],
- errorMessages: {
- required: 'This field is required'
- }
- }
-
- const { getByText } = render(
-
- )
-
- const select = getByText('Please select an option ^^')
-
- await selectEvent.openMenu(select)
- fireEvent.keyDown(select, { key: 'Enter', code: 13 })
- expect(screen.getByText(data.select))
-})
-
-test('renders a country list in french', async () => {
- const data = {
- language: 'fr',
- select: 'Espagne'
- }
-
- const question = {
- name: 'country_of_residence',
- type: 'country',
- label: 'This is the label of the country select',
- placeholder: 'Please select an option ^^',
- priorityOptions: ['ES'],
- errorMessages: {
- required: 'This field is required'
- }
- }
-
- const { getByText } = render(
-
- )
-
- const select = getByText('Please select an option ^^')
-
- await selectEvent.openMenu(select)
- fireEvent.keyDown(select, { key: 'Enter', code: 13 })
- expect(screen.getByText(data.select))
-})
-
-test('renders a country list in deusche', async () => {
- const data = {
- language: 'de',
- select: 'Spanien'
- }
- const question = {
- name: 'country_of_residence',
- type: 'country',
- label: 'This is the label of the country select',
- placeholder: 'Please select an option ^^',
- priorityOptions: ['ES'],
- errorMessages: {
- required: 'This field is required'
- }
- }
-
- const { getByText } = render(
-
- )
-
- const select = getByText('Please select an option ^^')
-
- await selectEvent.openMenu(select)
- fireEvent.keyDown(select, { key: 'Enter', code: 13 })
- expect(screen.getByText(data.select))
-})
-
-test('renders a fallback country list when the language is not supported', async () => {
- const data = {
- language: 'qwerty',
- select: 'Spain'
- }
- const question = {
- name: 'country_of_residence',
- type: 'country',
- label: 'This is the label of the country select',
- placeholder: 'Please select an option ^^',
- priorityOptions: ['ES'],
- errorMessages: {
- required: 'This field is required'
- }
- }
-
- const { getByText } = render(
-
- )
-
- const select = getByText('Please select an option ^^')
-
- await selectEvent.openMenu(select)
- fireEvent.keyDown(select, { key: 'Enter', code: 13 })
- expect(screen.getByText(data.select))
-})
-
-test('show an error message', () => {
- const { getByText } = render(
-
- )
- expect(getByText(question.errorMessages.required)).toBeTruthy()
-})
-
-test('Option values are country names (instead of country codes) if "returnCountryCode" is true', async () => {
- const question = {
- name: 'country_of_residence',
- type: 'country',
- label: 'This is the label of the country select',
- placeholder: 'Please select an option ^^',
- priorityOptions: ['ES'],
- errorMessages: {
- required: 'This field is required'
- },
- returnCountryCode: true
- }
- const { getByText } = render(
-
- )
- const select = getByText('Please select an option ^^')
- await selectEvent.select(select, 'Spain')
- expect(screen.getByText('Spain'))
-})
diff --git a/src/Questions/CountryNew/country.stories.js b/src/Questions/CountryNew/country.stories.js
deleted file mode 100644
index 0a80395e..00000000
--- a/src/Questions/CountryNew/country.stories.js
+++ /dev/null
@@ -1,224 +0,0 @@
-import React from 'react'
-import Country from '.'
-
-export default {
- title: 'Question/Country',
- component: Country,
- argTypes: {
- name: {
- type: { name: 'string', required: true },
- description: 'Name of the country component',
- table: {
- type: { summary: 'string' }
- }
- },
- isFullWidth: {
- type: { name: 'boolean' },
- description:
- 'Define if the field takes all the available width in the grid or not',
- table: {
- type: { summary: 'boolean' },
- defaultValue: { summary: false }
- }
- },
- label: {
- type: { name: 'string' },
- description:
- 'Text shown with the select. This text can be written in markdown style',
- table: {
- type: { summary: 'string' }
- }
- },
- placeholder: {
- type: { name: 'string' },
- description: 'The text that will be shown as placeholder in the select',
- table: {
- type: { summary: 'string' }
- }
- },
- priorityOptions: {
- type: { name: 'Array' },
- description:
- 'An array of Strings with the name(s) of the countries that you want to be shown the first in the country list',
- table: {
- type: { summary: 'Array' }
- }
- },
- language: {
- type: { name: 'string' },
- description:
- 'An string with the language shortcode in which you want to display the country names opt: es,en,fr,de',
- table: {
- type: { summary: 'string' },
- defaultValue: { summary: 'en' }
- }
- },
- countryAndRegionsData: {
- type: { name: 'object' },
- description:
- 'An object or array of objects with the acronym(s) and the names of the countries that you want to be shown in the select.',
- table: {
- type: {
- summary: 'json'
- },
- defaultValue: { summary: '[]' },
- category: 'countryAndRegionsData'
- }
- },
- countryName: {
- type: { name: 'string' },
- description: 'The name of the country',
- table: {
- type: { summary: 'string' },
- category: 'countryAndRegionsData'
- }
- },
- countryShortCode: {
- type: { name: 'string' },
- description: 'The code/shortcut for the country',
- table: {
- type: { summary: 'string' },
- category: 'countryAndRegionsData'
- }
- },
- component: {
- description: 'Customization of the country select',
- table: {
- type: { summary: 'func component' },
- defaultValue: { summary: '() => {}' }
- }
- },
- errorMessages: {
- description: '',
- table: {
- type: { summary: 'json' },
- category: 'errorMessages'
- }
- },
- requiredError: {
- name: 'required',
- description:
- 'error message to display on submit if the country is not selected',
- table: {
- type: { summary: 'string' },
- category: 'errorMessages'
- }
- },
- registerConfig: {
- description: '',
- table: {
- type: { summary: 'json' },
- category: 'registerConfig'
- }
- },
- required: {
- description: 'Define if the country select is required or not',
- table: {
- type: { summary: 'boolean' },
- category: 'registerConfig',
- defaultValue: { summary: false }
- }
- }
- }
-}
-
-const question = {
- name: 'country_of_residence',
- label: 'This is the label of the country select',
- placeholder: 'Please select an option ^^',
- errorMessages: {
- required: 'This field is required'
- },
- registerConfig: {
- required: false
- }
-}
-
-const customListCountries = [
- { countryName: 'MyOwnCountry1', countryShortCode: 'MC1' },
- { countryName: 'MyOwnCountry2', countryShortCode: 'MC2' },
- { countryName: 'MyOwnCountry3', countryShortCode: 'MC3' },
- { countryName: 'MyOwnCountry4', countryShortCode: 'MC4' }
-]
-
-const customListCountryQst = { ...question }
-customListCountryQst.priorityOptions = ['GB', 'ES']
-
-const Template = (args) => (
- ({}),
- formState: { errors: {} },
- register: () => {},
- setValue: () => {}
- }}
- />
-)
-
-const errorTemplate = (args) => (
- ({}),
- formState: {
- errors: {
- [question.name]: {
- type: 'required'
- }
- }
- },
- register: () => {},
- setValue: () => {}
- }}
- />
-)
-
-const customOrderTemplate = (args) => (
- ({}),
- formState: { errors: {} },
- register: () => {},
- setValue: () => {}
- }}
- />
-)
-
-const customListCountriesTemplate = (args) => (
- ({}),
- formState: { errors: {} },
- register: () => {},
- setValue: () => {}
- }}
- />
-)
-
-const idiomChangedTemplate = (args) => (
- ({}),
- formState: { errors: {} },
- register: () => {},
- setValue: () => {}
- }}
- />
-)
-export const defaultCountry = Template.bind({})
-export const errorCountry = errorTemplate.bind({})
-export const customOrderCountries = customOrderTemplate.bind({})
-export const customListCountry = customListCountriesTemplate.bind({})
-export const idiomEsCountry = idiomChangedTemplate.bind({})
-
-defaultCountry.args = question
-errorCountry.args = question
-customOrderCountries.args = customListCountryQst
-customListCountry.args = question
-idiomEsCountry.args = question
diff --git a/src/Questions/CountryNew/data/countryAndRegion.js b/src/Questions/CountryNew/data/countryAndRegion.js
deleted file mode 100644
index 67041267..00000000
--- a/src/Questions/CountryNew/data/countryAndRegion.js
+++ /dev/null
@@ -1,1247 +0,0 @@
-export default [
- {
- cn: 'Afghanistan',
- cs: 'AF',
- value: 'afghanistan'
- },
- {
- cn: 'Åland Islands',
- cs: 'AX',
- value: 'åland islands'
- },
- {
- cn: 'Albania',
- cs: 'AL',
- value: 'albania'
- },
- {
- cn: 'Algeria',
- cs: 'DZ',
- value: 'algeria'
- },
- {
- cn: 'American Samoa',
- cs: 'AS',
- value: 'american samoa'
- },
- {
- cn: 'Andorra',
- cs: 'AD',
- value: 'andorra'
- },
- {
- cn: 'Angola',
- cs: 'AO',
- value: 'angola'
- },
- {
- cn: 'Anguilla',
- cs: 'AI',
- value: 'anguilla'
- },
- {
- cn: 'Antarctica',
- cs: 'AQ',
- value: 'antarctica'
- },
- {
- cn: 'Antigua and Barbuda',
- cs: 'AG',
- value: 'antigua and barbuda'
- },
- {
- cn: 'Argentina',
- cs: 'AR',
- value: 'argentina'
- },
- {
- cn: 'Armenia',
- cs: 'AM',
- value: 'armenia'
- },
- {
- cn: 'Aruba',
- cs: 'AW',
- value: 'aruba'
- },
- {
- cn: 'Australia',
- cs: 'AU',
- value: 'australia'
- },
- {
- cn: 'Austria',
- cs: 'AT',
- value: 'austria'
- },
- {
- cn: 'Azerbaijan',
- cs: 'AZ',
- value: 'azerbaijan'
- },
- {
- cn: 'Bahamas',
- cs: 'BS',
- value: 'bahamas'
- },
- {
- cn: 'Bahrain',
- cs: 'BH',
- value: 'bahrain'
- },
- {
- cn: 'Bangladesh',
- cs: 'BD',
- value: 'bangladesh'
- },
- {
- cn: 'Barbados',
- cs: 'BB',
- value: 'barbados'
- },
- {
- cn: 'Belarus',
- cs: 'BY',
- value: 'belarus'
- },
- {
- cn: 'Belgium',
- cs: 'BE',
- value: 'belgium'
- },
- {
- cn: 'Belize',
- cs: 'BZ',
- value: 'belize'
- },
- {
- cn: 'Benin',
- cs: 'BJ',
- value: 'benin'
- },
- {
- cn: 'Bermuda',
- cs: 'BM',
- value: 'bermuda'
- },
- {
- cn: 'Bhutan',
- cs: 'BT',
- value: 'bhutan'
- },
- {
- cn: 'Bolivia',
- cs: 'BO',
- value: 'bolivia'
- },
- {
- cn: 'Bonaire, Sint Eustatius and Saba',
- cs: 'BQ',
- value: 'bonaire, sint eustatius and saba'
- },
- {
- cn: 'Bosnia and Herzegovina',
- cs: 'BA',
- value: 'bosnia and herzegovina'
- },
- {
- cn: 'Botswana',
- cs: 'BW',
- value: 'botswana'
- },
- {
- cn: 'Bouvet Island',
- cs: 'BV',
- value: 'bouvet island'
- },
- {
- cn: 'Brazil',
- cs: 'BR',
- value: 'brazil'
- },
- {
- cn: 'British Indian Ocean Territory',
- cs: 'IO',
- value: 'british indian ocean territory'
- },
- {
- cn: 'Brunei Darussalam',
- cs: 'BN',
- value: 'brunei darussalam'
- },
- {
- cn: 'Bulgaria',
- cs: 'BG',
- value: 'bulgaria'
- },
- {
- cn: 'Burkina Faso',
- cs: 'BF',
- value: 'burkina faso'
- },
- {
- cn: 'Burundi',
- cs: 'BI',
- value: 'burundi'
- },
- {
- cn: 'Cambodia',
- cs: 'KH',
- value: 'cambodia'
- },
- {
- cn: 'Cameroon',
- cs: 'CM',
- value: 'cameroon'
- },
- {
- cn: 'Canada',
- cs: 'CA',
- value: 'canada'
- },
- {
- cn: 'Cape Verde',
- cs: 'CV',
- value: 'cape verde'
- },
- {
- cn: 'Cayman Islands',
- cs: 'KY',
- value: 'cayman islands'
- },
- {
- cn: 'Central African Republic',
- cs: 'CF',
- value: 'central african republic'
- },
- {
- cn: 'Chad',
- cs: 'TD',
- value: 'chad'
- },
- {
- cn: 'Chile',
- cs: 'CL',
- value: 'chile'
- },
- {
- cn: 'China',
- cs: 'CN',
- value: 'china'
- },
- {
- cn: 'Christmas Island',
- cs: 'CX',
- value: 'christmas island'
- },
- {
- cn: 'Cocos (Keeling) Islands',
- cs: 'CC',
- value: 'cocos (keeling) islands'
- },
- {
- cn: 'Colombia',
- cs: 'CO',
- value: 'colombia'
- },
- {
- cn: 'Comoros',
- cs: 'KM',
- value: 'comoros'
- },
- {
- cn: 'Congo',
- cs: 'CG',
- value: 'congo'
- },
- {
- cn: 'Cook Islands',
- cs: 'CK',
- value: 'cook islands'
- },
- {
- cn: 'Costa Rica',
- cs: 'CR',
- value: 'costa rica'
- },
- {
- cn: "Côte d'Ivoire",
- cs: 'CI',
- value: "côte d'ivoire"
- },
- {
- cn: 'Croatia',
- cs: 'HR',
- value: 'croatia'
- },
- {
- cn: 'Cuba',
- cs: 'CU',
- value: 'cuba'
- },
- {
- cn: 'Curaçao',
- cs: 'CW',
- value: 'curaçao'
- },
- {
- cn: 'Cyprus',
- cs: 'CY',
- value: 'cyprus'
- },
- {
- cn: 'Czech Republic',
- cs: 'CZ',
- value: 'czech republic'
- },
- {
- cn: 'Denmark',
- cs: 'DK',
- value: 'denmark'
- },
- {
- cn: 'Djibouti',
- cs: 'DJ',
- value: 'djibouti'
- },
- {
- cn: 'Dominica',
- cs: 'DM',
- value: 'dominica'
- },
- {
- cn: 'Dominican Republic',
- cs: 'DO',
- value: 'dominican republic'
- },
- {
- cn: 'Ecuador',
- cs: 'EC',
- value: 'ecuador'
- },
- {
- cn: 'Egypt',
- cs: 'EG',
- value: 'egypt'
- },
- {
- cn: 'El Salvador',
- cs: 'SV',
- value: 'el salvador'
- },
- {
- cn: 'Equatorial Guinea',
- cs: 'GQ',
- value: 'equatorial guinea'
- },
- {
- cn: 'Eritrea',
- cs: 'ER',
- value: 'eritrea'
- },
- {
- cn: 'Estonia',
- cs: 'EE',
- value: 'estonia'
- },
- {
- cn: 'Ethiopia',
- cs: 'ET',
- value: 'ethiopia'
- },
- {
- cn: 'Falkland Islands (Malvinas)',
- cs: 'FK',
- value: 'falkland islands (malvinas)'
- },
- {
- cn: 'Faroe Islands',
- cs: 'FO',
- value: 'faroe islands'
- },
- {
- cn: 'Fiji',
- cs: 'FJ',
- value: 'fiji'
- },
- {
- cn: 'Finland',
- cs: 'FI',
- value: 'finland'
- },
- {
- cn: 'France',
- cs: 'FR',
- value: 'france'
- },
- {
- cn: 'French Guiana',
- cs: 'GF',
- value: 'french guiana'
- },
- {
- cn: 'French Polynesia',
- cs: 'PF',
- value: 'french polynesia'
- },
- {
- cn: 'French Southern Territories',
- cs: 'TF',
- value: 'french southern territories'
- },
- {
- cn: 'Gabon',
- cs: 'GA',
- value: 'gabon'
- },
- {
- cn: 'Gambia',
- cs: 'GM',
- value: 'gambia'
- },
- {
- cn: 'Georgia',
- cs: 'GE',
- value: 'georgia'
- },
- {
- cn: 'Germany',
- cs: 'DE',
- value: 'germany'
- },
- {
- cn: 'Ghana',
- cs: 'GH',
- value: 'ghana'
- },
- {
- cn: 'Gibraltar',
- cs: 'GI',
- value: 'gibraltar'
- },
- {
- cn: 'Greece',
- cs: 'GR',
- value: 'greece'
- },
- {
- cn: 'Greenland',
- cs: 'GL',
- value: 'greenland'
- },
- {
- cn: 'Grenada',
- cs: 'GD',
- value: 'grenada'
- },
- {
- cn: 'Guadeloupe',
- cs: 'GP',
- value: 'guadeloupe'
- },
- {
- cn: 'Guam',
- cs: 'GU',
- value: 'guam'
- },
- {
- cn: 'Guatemala',
- cs: 'GT',
- value: 'guatemala'
- },
- {
- cn: 'Guernsey',
- cs: 'GG',
- value: 'guernsey'
- },
- {
- cn: 'Guinea',
- cs: 'GN',
- value: 'guinea'
- },
- {
- cn: 'Guinea-Bissau',
- cs: 'GW',
- value: 'guinea-bissau'
- },
- {
- cn: 'Guyana',
- cs: 'GY',
- value: 'guyana'
- },
- {
- cn: 'Haiti',
- cs: 'HT',
- value: 'haiti'
- },
- {
- cn: 'Heard Island and Mcdonald Islands',
- cs: 'HM',
- value: 'heard island and mcdonald islands'
- },
- {
- cn: 'Holy See (Vatican City State)',
- cs: 'VA',
- value: 'holy see (vatican city state)'
- },
- {
- cn: 'Honduras',
- cs: 'HN',
- value: 'honduras'
- },
- {
- cn: 'Hong Kong',
- cs: 'HK',
- value: 'hong kong'
- },
- {
- cn: 'Hungary',
- cs: 'HU',
- value: 'hungary'
- },
- {
- cn: 'Iceland',
- cs: 'IS',
- value: 'iceland'
- },
- {
- cn: 'India',
- cs: 'IN',
- value: 'india'
- },
- {
- cn: 'Indonesia',
- cs: 'ID',
- value: 'indonesia'
- },
- {
- cn: 'Iran, Islamic Republic Of',
- cs: 'IR',
- value: 'iran, islamic republic of'
- },
- {
- cn: 'Iraq',
- cs: 'IQ',
- value: 'iraq'
- },
- {
- cn: 'Isle of Man',
- cs: 'IM',
- value: 'isle of man'
- },
- {
- cn: 'Israel',
- cs: 'IL',
- value: 'israel'
- },
- {
- cn: 'Italy',
- cs: 'IT',
- value: 'italy'
- },
- {
- cn: 'Jamaica',
- cs: 'JM',
- value: 'jamaica'
- },
- {
- cn: 'Japan',
- cs: 'JP',
- value: 'japan'
- },
- {
- cn: 'Jersey',
- cs: 'JE',
- value: 'jersey'
- },
- {
- cn: 'Jordan',
- cs: 'JO',
- value: 'jordan'
- },
- {
- cn: 'Kazakhstan',
- cs: 'KZ',
- value: 'kazakhstan'
- },
- {
- cn: 'Kenya',
- cs: 'KE',
- value: 'kenya'
- },
- {
- cn: 'Kiribati',
- cs: 'KI',
- value: 'kiribati'
- },
- {
- cn: "Korea, Democratic People's Republic of",
- cs: 'KP',
- value: "korea, democratic people's republic of"
- },
- {
- cn: 'Korea, Republic of',
- cs: 'KR',
- value: 'korea, republic of'
- },
- {
- cn: 'Kuwait',
- cs: 'KW',
- value: 'kuwait'
- },
- {
- cn: 'Kyrgyzstan',
- cs: 'KG',
- value: 'kyrgyzstan'
- },
- {
- cn: 'Laos',
- cs: 'LA',
- value: 'laos'
- },
- {
- cn: 'Latvia',
- cs: 'LV',
- value: 'latvia'
- },
- {
- cn: 'Lebanon',
- cs: 'LB',
- value: 'lebanon'
- },
- {
- cn: 'Lesotho',
- cs: 'LS',
- value: 'lesotho'
- },
- {
- cn: 'Liberia',
- cs: 'LR',
- value: 'liberia'
- },
- {
- cn: 'Libyan Arab Jamahiriya',
- cs: 'LY',
- value: 'libyan arab jamahiriya'
- },
- {
- cn: 'Liechtenstein',
- cs: 'LI',
- value: 'liechtenstein'
- },
- {
- cn: 'Lithuania',
- cs: 'LT',
- value: 'lithuania'
- },
- {
- cn: 'Luxembourg',
- cs: 'LU',
- value: 'luxembourg'
- },
- {
- cn: 'Macao',
- cs: 'MO',
- value: 'macao'
- },
- {
- cn: 'Madagascar',
- cs: 'MG',
- value: 'madagascar'
- },
- {
- cn: 'Malawi',
- cs: 'MW',
- value: 'malawi'
- },
- {
- cn: 'Malaysia',
- cs: 'MY',
- value: 'malaysia'
- },
- {
- cn: 'Maldives',
- cs: 'MV',
- value: 'maldives'
- },
- {
- cn: 'Mali',
- cs: 'ML',
- value: 'mali'
- },
- {
- cn: 'Malta',
- cs: 'MT',
- value: 'malta'
- },
- {
- cn: 'Marshall Islands',
- cs: 'MH',
- value: 'marshall islands'
- },
- {
- cn: 'Martinique',
- cs: 'MQ',
- value: 'martinique'
- },
- {
- cn: 'Mauritania',
- cs: 'MR',
- value: 'mauritania'
- },
- {
- cn: 'Mauritius',
- cs: 'MU',
- value: 'mauritius'
- },
- {
- cn: 'Mayotte',
- cs: 'YT',
- value: 'mayotte'
- },
- {
- cn: 'Mexico',
- cs: 'MX',
- value: 'mexico'
- },
- {
- cn: 'Micronesia, Federated States of',
- cs: 'FM',
- value: 'micronesia, federated states of'
- },
- {
- cn: 'Moldova, Republic of',
- cs: 'MD',
- value: 'moldova, republic of'
- },
- {
- cn: 'Monaco',
- cs: 'MC',
- value: 'monaco'
- },
- {
- cn: 'Mongolia',
- cs: 'MN',
- value: 'mongolia'
- },
- {
- cn: 'Montenegro',
- cs: 'ME',
- value: 'montenegro'
- },
- {
- cn: 'Montserrat',
- cs: 'MS',
- value: 'montserrat'
- },
- {
- cn: 'Morocco',
- cs: 'MA',
- value: 'morocco'
- },
- {
- cn: 'Mozambique',
- cs: 'MZ',
- value: 'mozambique'
- },
- {
- cn: 'Myanmar',
- cs: 'MM',
- value: 'myanmar'
- },
- {
- cn: 'Namibia',
- cs: 'NA',
- value: 'namibia'
- },
- {
- cn: 'Nauru',
- cs: 'NR',
- value: 'nauru'
- },
- {
- cn: 'Nepal',
- cs: 'NP',
- value: 'nepal'
- },
- {
- cn: 'Netherlands',
- cs: 'NL',
- value: 'netherlands'
- },
- {
- cn: 'Netherlands Antilles',
- cs: 'AN',
- value: 'netherlands antilles'
- },
- {
- cn: 'New Caledonia',
- cs: 'NC',
- value: 'new caledonia'
- },
- {
- cn: 'New Zealand',
- cs: 'NZ',
- value: 'new zealand'
- },
- {
- cn: 'Nicaragua',
- cs: 'NI',
- value: 'nicaragua'
- },
- {
- cn: 'Niger',
- cs: 'NE',
- value: 'niger'
- },
- {
- cn: 'Nigeria',
- cs: 'NG',
- value: 'nigeria'
- },
- {
- cn: 'Niue',
- cs: 'NU',
- value: 'niue'
- },
- {
- cn: 'Norfolk Island',
- cs: 'NF',
- value: 'norfolk island'
- },
- {
- cn: 'North Macedonia',
- cs: 'MK',
- value: 'north macedonia'
- },
- {
- cn: 'Northern Mariana Islands',
- cs: 'MP',
- value: 'northern mariana islands'
- },
- {
- cn: 'Norway',
- cs: 'NO',
- value: 'norway'
- },
- {
- cn: 'Oman',
- cs: 'OM',
- value: 'oman'
- },
- {
- cn: 'Pakistan',
- cs: 'PK',
- value: 'pakistan'
- },
- {
- cn: 'Palau',
- cs: 'PW',
- value: 'palau'
- },
- {
- cn: 'Palestinian Territory, Occupied',
- cs: 'PS',
- value: 'palestinian territory, occupied'
- },
- {
- cn: 'Panama',
- cs: 'PA',
- value: 'panama'
- },
- {
- cn: 'Papua New Guinea',
- cs: 'PG',
- value: 'papua new guinea'
- },
- {
- cn: 'Paraguay',
- cs: 'PY',
- value: 'paraguay'
- },
- {
- cn: 'Peru',
- cs: 'PE',
- value: 'peru'
- },
- {
- cn: 'Philippines',
- cs: 'PH',
- value: 'philippines'
- },
- {
- cn: 'Pitcairn',
- cs: 'PN',
- value: 'pitcairn'
- },
- {
- cn: 'Poland',
- cs: 'PL',
- value: 'poland'
- },
- {
- cn: 'Portugal',
- cs: 'PT',
- value: 'portugal'
- },
- {
- cn: 'Puerto Rico',
- cs: 'PR',
- value: 'puerto rico'
- },
- {
- cn: 'Qatar',
- cs: 'QA',
- value: 'qatar'
- },
- {
- cn: 'Republic of Ireland',
- cs: 'IE',
- value: 'ireland'
- },
- {
- cn: 'Reunion',
- cs: 'RE',
- value: 'reunion'
- },
- {
- cn: 'Romania',
- cs: 'RO',
- value: 'romania'
- },
- {
- cn: 'Russian Federation',
- cs: 'RU',
- value: 'russian federation'
- },
- {
- cn: 'Rwanda',
- cs: 'RW',
- value: 'rwanda'
- },
- {
- cn: 'Saint Barthélemy',
- cs: 'BL',
- value: 'saint barthélemy'
- },
- {
- cn: 'Saint Helena, Ascension and Tristan de Cunha',
- cs: 'SH',
- value: 'saint helena, ascension and tristan de cunha'
- },
- {
- cn: 'Saint Kitts and Nevis',
- cs: 'KN',
- value: 'saint kitts and nevis'
- },
- {
- cn: 'Saint Lucia',
- cs: 'LC',
- value: 'saint lucia'
- },
- {
- cn: 'Saint Martin',
- cs: 'MF',
- value: 'saint martin'
- },
- {
- cn: 'Saint Pierre and Miquelon',
- cs: 'PM',
- value: 'saint pierre and miquelon'
- },
- {
- cn: 'Saint Vincent and the Grenadines',
- cs: 'VC',
- value: 'saint vincent and the grenadines'
- },
- {
- cn: 'Samoa',
- cs: 'WS',
- value: 'samoa'
- },
- {
- cn: 'San Marino',
- cs: 'SM',
- value: 'san marino'
- },
- {
- cn: 'Sao Tome and Principe',
- cs: 'ST',
- value: 'sao tome and principe'
- },
- {
- cn: 'Saudi Arabia',
- cs: 'SA',
- value: 'saudi arabia'
- },
- {
- cn: 'Senegal',
- cs: 'SN',
- value: 'senegal'
- },
- {
- cn: 'Serbia and Montenegro',
- cs: 'CS',
- value: 'serbia and montenegro'
- },
- {
- cn: 'Seychelles',
- cs: 'SC',
- value: 'seychelles'
- },
- {
- cn: 'Sierra Leone',
- cs: 'SL',
- value: 'sierra leone'
- },
- {
- cn: 'Singapore',
- cs: 'SG',
- value: 'singapore'
- },
- {
- cn: 'Sint Maarten (Dutch part)',
- cs: 'SX',
- value: 'sint maarten (dutch part)'
- },
- {
- cn: 'Slovakia',
- cs: 'SK',
- value: 'slovakia'
- },
- {
- cn: 'Slovenia',
- cs: 'SI',
- value: 'slovenia'
- },
- {
- cn: 'Solomon Islands',
- cs: 'SB',
- value: 'solomon islands'
- },
- {
- cn: 'Somalia',
- cs: 'SO',
- value: 'somalia'
- },
- {
- cn: 'South Africa',
- cs: 'ZA',
- value: 'south africa'
- },
- {
- cn: 'South Georgia and the South Sandwich Islands',
- cs: 'GS',
- value: 'south georgia and the south sandwich islands'
- },
- {
- cn: 'South Sudan',
- cs: 'SS',
- value: 'south sudan'
- },
- {
- cn: 'Spain',
- cs: 'ES',
- value: 'spain'
- },
- {
- cn: 'Sri Lanka',
- cs: 'LK',
- value: 'sri lanka'
- },
- {
- cn: 'Sudan',
- cs: 'SD',
- value: 'sudan'
- },
- {
- cn: 'Suricn',
- cs: 'SR',
- value: 'suricn'
- },
- {
- cn: 'Svalbard and Jan Mayen',
- cs: 'SJ',
- value: 'svalbard and jan mayen'
- },
- {
- cn: 'Swaziland',
- cs: 'SZ',
- value: 'swaziland'
- },
- {
- cn: 'Sweden',
- cs: 'SE',
- value: 'sweden'
- },
- {
- cn: 'Switzerland',
- cs: 'CH',
- value: 'switzerland'
- },
- {
- cn: 'Syrian Arab Republic',
- cs: 'SY',
- value: 'syrian arab republic'
- },
- {
- cn: 'Taiwan, Province of China',
- cs: 'TW',
- value: 'taiwan, province of china'
- },
- {
- cn: 'Tajikistan',
- cs: 'TJ',
- value: 'tajikistan'
- },
- {
- cn: 'Tanzania, United Republic of',
- cs: 'TZ',
- value: 'tanzania, united republic of'
- },
- {
- cn: 'Thailand',
- cs: 'TH',
- value: 'thailand'
- },
- {
- cn: 'Timor-Leste',
- cs: 'TL',
- value: 'timor-leste'
- },
- {
- cn: 'Togo',
- cs: 'TG',
- value: 'togo'
- },
- {
- cn: 'Tokelau',
- cs: 'TK',
- value: 'tokelau'
- },
- {
- cn: 'Tonga',
- cs: 'TO',
- value: 'tonga'
- },
- {
- cn: 'Trinidad and Tobago',
- cs: 'TT',
- value: 'trinidad and tobago'
- },
- {
- cn: 'Tunisia',
- cs: 'TN',
- value: 'tunisia'
- },
- {
- cn: 'Turkey',
- cs: 'TR',
- value: 'turkey'
- },
- {
- cn: 'Turkmenistan',
- cs: 'TM',
- value: 'turkmenistan'
- },
- {
- cn: 'Turks and Caicos Islands',
- cs: 'TC',
- value: 'turks and caicos islands'
- },
- {
- cn: 'Tuvalu',
- cs: 'TV',
- value: 'tuvalu'
- },
- {
- cn: 'Uganda',
- cs: 'UG',
- value: 'uganda'
- },
- {
- cn: 'Ukraine',
- cs: 'UA',
- value: 'ukraine'
- },
- {
- cn: 'United Arab Emirates',
- cs: 'AE',
- value: 'united arab emirates'
- },
- {
- cn: 'United Kingdom',
- cs: 'GB',
- value: 'united kingdom'
- },
- {
- cn: 'United States',
- cs: 'US',
- value: 'united states'
- },
- {
- cn: 'United States Minor Outlying Islands',
- cs: 'UM',
- value: 'united states minor outlying islands'
- },
- {
- cn: 'Uruguay',
- cs: 'UY',
- value: 'uruguay'
- },
- {
- cn: 'Uzbekistan',
- cs: 'UZ',
- value: 'uzbekistan'
- },
- {
- cn: 'Vanuatu',
- cs: 'VU',
- value: 'vanuatu'
- },
- {
- cn: 'Venezuela',
- cs: 'VE',
- value: 'venezuela'
- },
- {
- cn: 'Vietnam',
- cs: 'VN',
- value: 'vietnam'
- },
- {
- cn: 'Virgin Islands, British',
- cs: 'VG',
- value: 'virgin islands, british'
- },
- {
- cn: 'Virgin Islands, U.S.',
- cs: 'VI',
- value: 'virgin islands, u.s.'
- },
- {
- cn: 'Wallis and Futuna',
- cs: 'WF',
- value: 'wallis and futuna'
- },
- {
- cn: 'Western Sahara',
- cs: 'EH',
- value: 'western sahara'
- },
- {
- cn: 'Yemen',
- cs: 'YE',
- value: 'yemen'
- },
- {
- cn: 'Zambia',
- cs: 'ZM',
- value: 'zambia'
- },
- {
- cn: 'Zimbabwe',
- cs: 'ZW',
- value: 'zimbabwe'
- }
-]
diff --git a/src/Questions/CountryNew/data/de.js b/src/Questions/CountryNew/data/de.js
deleted file mode 100644
index 4e835491..00000000
--- a/src/Questions/CountryNew/data/de.js
+++ /dev/null
@@ -1,319 +0,0 @@
-export default [
- { cn: 'Afghanistan', cs: 'AF', value: 'afghanistan' },
- { cn: 'Ägypten', cs: 'EG', value: 'egypt' },
- { cn: 'Åland', cs: 'AX', value: 'åland islands' },
- { cn: 'Albanien', cs: 'AL', value: 'albania' },
- { cn: 'Algerien', cs: 'DZ', value: 'algeria' },
- { cn: 'Amerikanisch-Samoa', cs: 'AS', value: 'american samoa' },
- {
- cn: 'Amerikanische Jungferninseln',
- cs: 'VI',
- value: 'virgin islands, u.s.'
- },
- { cn: 'Andorra', cs: 'AD', value: 'andorra' },
- { cn: 'Angola', cs: 'AO', value: 'angola' },
- { cn: 'Anguilla', cs: 'AI', value: 'anguilla' },
- {
- cn: 'Antarktis (Sonderstatus durch Antarktisvertrag)',
- cs: 'AQ',
- value: 'antarctica'
- },
- { cn: 'Antigua und Barbuda', cs: 'AG', value: 'antigua and barbuda' },
- { cn: 'Äquatorialguinea', cs: 'GQ', value: 'equatorial guinea' },
- { cn: 'Argentinien', cs: 'AR', value: 'argentina' },
- { cn: 'Armenien', cs: 'AM', value: 'armenia' },
- { cn: 'Aruba', cs: 'AW', value: 'aruba' },
- { cn: 'Aserbaidschan', cs: 'AZ', value: 'azerbaijan' },
- { cn: 'Äthiopien', cs: 'ET', value: 'ethiopia' },
- { cn: 'Australien', cs: 'AU', value: 'australia' },
- { cn: 'Bahamas', cs: 'BS', value: 'bahamas' },
- { cn: 'Bahrain', cs: 'BH', value: 'bahrain' },
- { cn: 'Bangladesch', cs: 'BD', value: 'bangladesh' },
- { cn: 'Barbados', cs: 'BB', value: 'barbados' },
- { cn: 'Belarus', cs: 'BY', value: 'belarus' },
- { cn: 'Belgien', cs: 'BE', value: 'belgium' },
- { cn: 'Belize', cs: 'BZ', value: 'belize' },
- { cn: 'Benin', cs: 'BJ', value: 'benin' },
- { cn: 'Bermuda', cs: 'BM', value: 'bermuda' },
- { cn: 'Bhutan', cs: 'BT', value: 'bhutan' },
- { cn: 'Bolivien', cs: 'BO', value: 'bolivia' },
- {
- cn: 'Bonaire, Saba, Sint Eustatius',
- cs: 'BQ',
- value: 'bonaire, sint eustatius and saba'
- },
- { cn: 'Bosnien und Herzegowina', cs: 'BA', value: 'bosnia and herzegovina' },
- { cn: 'Botswana', cs: 'BW', value: 'botswana' },
- { cn: 'Bouvetinsel', cs: 'BV', value: 'bouvet island' },
- { cn: 'Brasilien', cs: 'BR', value: 'brazil' },
- {
- cn: 'Britische Jungferninseln',
- cs: 'VG',
- value: 'virgin islands, british'
- },
- {
- cn: 'Britisches Territorium im Indischen Ozean',
- cs: 'IO',
- value: 'british indian ocean territory'
- },
- { cn: 'Brunei', cs: 'BN', value: 'brunei darussalam' },
- { cn: 'Bulgarien', cs: 'BG', value: 'bulgaria' },
- { cn: 'Burkina Faso', cs: 'BF', value: 'burkina faso' },
- { cn: 'Burundi', cs: 'BI', value: 'burundi' },
- { cn: 'Chile', cs: 'CL', value: 'chile' },
- { cn: 'Cookinseln', cs: 'CK', value: 'cook islands' },
- { cn: 'Costa Rica', cs: 'CR', value: 'costa rica' },
- { cn: 'Curaçao', cs: 'CW', value: 'curaçao' },
- { cn: 'Dänemark', cs: 'DK', value: 'denmark' },
- { cn: 'Deutschland', cs: 'DE', value: 'germany' },
- { cn: 'Dominica', cs: 'DM', value: 'dominica' },
- { cn: 'Dominikanische Republik', cs: 'DO', value: 'dominican republic' },
- { cn: 'Dschibuti', cs: 'DJ', value: 'djibouti' },
- { cn: 'Ecuador', cs: 'EC', value: 'ecuador' },
- { cn: 'El Salvador', cs: 'SV', value: 'el salvador' },
- { cn: 'Elfenbeinküste', cs: 'CI', value: "côte d'ivoire" },
- { cn: 'Eritrea', cs: 'ER', value: 'eritrea' },
- { cn: 'Estland', cs: 'EE', value: 'estonia' },
- { cn: 'Eswatini', cs: 'SZ', value: 'swaziland' },
- { cn: 'Falklandinseln', cs: 'FK', value: 'falkland islands (malvinas)' },
- { cn: 'Färöer', cs: 'FO', value: 'faroe islands' },
- { cn: 'Fidschi', cs: 'FJ', value: 'fiji' },
- { cn: 'Finnland', cs: 'FI', value: 'finland' },
- { cn: 'Frankreich', cs: 'FR', value: 'france' },
- { cn: 'Französisch-Guayana', cs: 'GF', value: 'french guiana' },
- { cn: 'Französisch-Polynesien', cs: 'PF', value: 'french polynesia' },
- {
- cn: 'Französische Süd- und Antarktisgebiete',
- cs: 'TF',
- value: 'french southern territories'
- },
- { cn: 'Gabun', cs: 'GA', value: 'gabon' },
- { cn: 'Gambia', cs: 'GM', value: 'gambia' },
- { cn: 'Georgien', cs: 'GE', value: 'georgia' },
- { cn: 'Ghana', cs: 'GH', value: 'ghana' },
- { cn: 'Gibraltar', cs: 'GI', value: 'gibraltar' },
- { cn: 'Grenada', cs: 'GD', value: 'grenada' },
- { cn: 'Griechenland', cs: 'GR', value: 'greece' },
- { cn: 'Grönland', cs: 'GL', value: 'greenland' },
- { cn: 'Guadeloupe', cs: 'GP', value: 'guadeloupe' },
- { cn: 'Guam', cs: 'GU', value: 'guam' },
- { cn: 'Guatemala', cs: 'GT', value: 'guatemala' },
- { cn: 'Guernsey (Kanalinsel)', cs: 'GG', value: 'guernsey' },
- { cn: 'Guinea', cs: 'GN', value: 'guinea' },
- { cn: 'Guinea-Bissau', cs: 'GW', value: 'guinea-bissau' },
- { cn: 'Guyana', cs: 'GY', value: 'guyana' },
- { cn: 'Haiti', cs: 'HT', value: 'haiti' },
- {
- cn: 'Heard und McDonaldinseln',
- cs: 'HM',
- value: 'heard island and mcdonald islands'
- },
- { cn: 'Honduras', cs: 'HN', value: 'honduras' },
- { cn: 'Hongkong', cs: 'HK', value: 'hong kong' },
- { cn: 'Indien', cs: 'IN', value: 'india' },
- { cn: 'Indonesien', cs: 'ID', value: 'indonesia' },
- { cn: 'Insel Man', cs: 'IM', value: 'isle of man' },
- { cn: 'Irak', cs: 'IQ', value: 'iraq' },
- { cn: 'Iran', cs: 'IR', value: 'iran, islamic republic of' },
- { cn: 'Irland', cs: 'IE', value: 'ireland' },
- { cn: 'Island', cs: 'IS', value: 'iceland' },
- { cn: 'Israel', cs: 'IL', value: 'israel' },
- { cn: 'Italien', cs: 'IT', value: 'italy' },
- { cn: 'Jamaika', cs: 'JM', value: 'jamaica' },
- { cn: 'Japan', cs: 'JP', value: 'japan' },
- { cn: 'Jemen', cs: 'YE', value: 'yemen' },
- { cn: 'Jersey (Kanalinsel)', cs: 'JE', value: 'jersey' },
- { cn: 'Jordanien', cs: 'JO', value: 'jordan' },
- { cn: 'Kaimaninseln', cs: 'KY', value: 'cayman islands' },
- { cn: 'Kambodscha', cs: 'KH', value: 'cambodia' },
- { cn: 'Kamerun', cs: 'CM', value: 'cameroon' },
- { cn: 'Kanada', cs: 'CA', value: 'canada' },
- { cn: 'Kap Verde', cs: 'CV', value: 'cape verde' },
- { cn: 'Kasachstan', cs: 'KZ', value: 'kazakhstan' },
- { cn: 'Katar', cs: 'QA', value: 'qatar' },
- { cn: 'Kenia', cs: 'KE', value: 'kenya' },
- { cn: 'Kirgisistan', cs: 'KG', value: 'kyrgyzstan' },
- { cn: 'Kiribati', cs: 'KI', value: 'kiribati' },
- { cn: 'Kokosinseln', cs: 'CC', value: 'cocos (keeling) islands' },
- { cn: 'Kolumbien', cs: 'CO', value: 'colombia' },
- { cn: 'Komoren', cs: 'KM', value: 'comoros' },
- { cn: 'Kongo, Demokratische Republik', cs: 'CD', value: 'congo' },
- { cn: 'Kongo, Republik', cs: 'CG', value: 'congo' },
- {
- cn: 'Korea, Nord',
- cs: 'KP',
- value: "korea, democratic people's republic of"
- },
- { cn: 'Korea, Süd', cs: 'KR', value: 'korea, republic of' },
- { cn: 'Kroatien', cs: 'HR', value: 'croatia' },
- { cn: 'Kuba', cs: 'CU', value: 'cuba' },
- { cn: 'Kuwait', cs: 'KW', value: 'kuwait' },
- { cn: 'Laos', cs: 'LA', value: 'laos' },
- { cn: 'Lesotho', cs: 'LS', value: 'lesotho' },
- { cn: 'Lettland', cs: 'LV', value: 'latvia' },
- { cn: 'Libanon', cs: 'LB', value: 'lebanon' },
- { cn: 'Liberia', cs: 'LR', value: 'liberia' },
- { cn: 'Libyen', cs: 'LY', value: 'libyan arab jamahiriya' },
- { cn: 'Liechtenstein', cs: 'LI', value: 'liechtenstein' },
- { cn: 'Litauen', cs: 'LT', value: 'lithuania' },
- { cn: 'Luxemburg', cs: 'LU', value: 'luxembourg' },
- { cn: 'Macau', cs: 'MO', value: 'macao' },
- { cn: 'Madagaskar', cs: 'MG', value: 'madagascar' },
- { cn: 'Malawi', cs: 'MW', value: 'malawi' },
- { cn: 'Malaysia', cs: 'MY', value: 'malaysia' },
- { cn: 'Malediven', cs: 'MV', value: 'maldives' },
- { cn: 'Mali', cs: 'ML', value: 'mali' },
- { cn: 'Malta', cs: 'MT', value: 'malta' },
- { cn: 'Marokko', cs: 'MA', value: 'morocco' },
- { cn: 'Marshallinseln', cs: 'MH', value: 'marshall islands' },
- { cn: 'Martinique', cs: 'MQ', value: 'martinique' },
- { cn: 'Mauretanien', cs: 'MR', value: 'mauritania' },
- { cn: 'Mauritius', cs: 'MU', value: 'mauritius' },
- { cn: 'Mayotte', cs: 'YT', value: 'mayotte' },
- { cn: 'Mexiko', cs: 'MX', value: 'mexico' },
- { cn: 'Mikronesien', cs: 'FM', value: 'micronesia, federated states of' },
- { cn: 'Moldau', cs: 'MD', value: 'moldova, republic of' },
- { cn: 'Monaco', cs: 'MC', value: 'monaco' },
- { cn: 'Mongolei', cs: 'MN', value: 'mongolia' },
- { cn: 'Montenegro', cs: 'ME', value: 'montenegro' },
- { cn: 'Montserrat', cs: 'MS', value: 'montserrat' },
- { cn: 'Mosambik', cs: 'MZ', value: 'mozambique' },
- { cn: 'Myanmar', cs: 'MM', value: 'myanmar' },
- { cn: 'Namibia', cs: 'NA', value: 'namibia' },
- { cn: 'Nauru', cs: 'NR', value: 'nauru' },
- { cn: 'Nepal', cs: 'NP', value: 'nepal' },
- { cn: 'Neukaledonien', cs: 'NC', value: 'new caledonia' },
- { cn: 'Neuseeland', cs: 'NZ', value: 'new zealand' },
- { cn: 'Nicaragua', cs: 'NI', value: 'nicaragua' },
- { cn: 'Niederlande', cs: 'NL', value: 'netherlands' },
- { cn: 'Niger', cs: 'NE', value: 'niger' },
- { cn: 'Nigeria', cs: 'NG', value: 'nigeria' },
- { cn: 'Niue', cs: 'NU', value: 'niue' },
- { cn: 'Nördliche Marianen', cs: 'MP', value: 'northern mariana islands' },
- { cn: 'Nordmazedonien', cs: 'MK', value: 'north macedonia' },
- { cn: 'Norfolkinsel', cs: 'NF', value: 'norfolk island' },
- { cn: 'Norwegen', cs: 'NO', value: 'norway' },
- { cn: 'Oman', cs: 'OM', value: 'oman' },
- { cn: 'Österreich', cs: 'AT', value: 'austria' },
- { cn: 'Osttimor', cs: 'TL', value: 'timor-leste' },
- { cn: 'Pakistan', cs: 'PK', value: 'pakistan' },
- { cn: 'Palästina', cs: 'PS', value: 'palestinian territory, occupied' },
- { cn: 'Palau', cs: 'PW', value: 'palau' },
- { cn: 'Panama', cs: 'PA', value: 'panama' },
- { cn: 'Papua-Neuguinea', cs: 'PG', value: 'papua new guinea' },
- { cn: 'Paraguay', cs: 'PY', value: 'paraguay' },
- { cn: 'Peru', cs: 'PE', value: 'peru' },
- { cn: 'Philippinen', cs: 'PH', value: 'philippines' },
- { cn: 'Pitcairninseln', cs: 'PN', value: 'pitcairn' },
- { cn: 'Polen', cs: 'PL', value: 'poland' },
- { cn: 'Portugal', cs: 'PT', value: 'portugal' },
- { cn: 'Puerto Rico', cs: 'PR', value: 'puerto rico' },
- { cn: 'Republik China', cs: 'TW', value: 'taiwan, province of china' },
- { cn: 'Réunion', cs: 'RE', value: 'reunion' },
- { cn: 'Ruanda', cs: 'RW', value: 'rwanda' },
- { cn: 'Rumänien', cs: 'RO', value: 'romania' },
- { cn: 'Russland', cs: 'RU', value: 'russian federation' },
- { cn: 'Saint-Barthélemy', cs: 'BL', value: 'saint barthélemy' },
- { cn: 'Saint-Martin (französischer Teil)', cs: 'MF', value: 'saint martin' },
- {
- cn: 'Saint-Pierre und Miquelon',
- cs: 'PM',
- value: 'saint pierre and miquelon'
- },
- { cn: 'Salomonen', cs: 'SB', value: 'solomon islands' },
- { cn: 'Sambia', cs: 'ZM', value: 'zambia' },
- { cn: 'Samoa', cs: 'WS', value: 'samoa' },
- { cn: 'San Marino', cs: 'SM', value: 'san marino' },
- { cn: 'São Tomé und Príncipe', cs: 'ST', value: 'sao tome and principe' },
- { cn: 'Saudi-Arabien', cs: 'SA', value: 'saudi arabia' },
- { cn: 'Schweden', cs: 'SE', value: 'sweden' },
- { cn: 'Schweiz', cs: 'CH', value: 'switzerland' },
- { cn: 'Senegal', cs: 'SN', value: 'senegal' },
- { cn: 'Serbien', cs: 'RS', value: 'serbia' },
- { cn: 'Seychellen', cs: 'SC', value: 'seychelles' },
- { cn: 'Sierra Leone', cs: 'SL', value: 'sierra leone' },
- { cn: 'Simbabwe', cs: 'ZW', value: 'zimbabwe' },
- { cn: 'Singapur', cs: 'SG', value: 'singapore' },
- { cn: 'Sint Maarten', cs: 'SX', value: 'sint maarten (dutch part)' },
- { cn: 'Slowakei', cs: 'SK', value: 'slovakia' },
- { cn: 'Slowenien', cs: 'SI', value: 'slovenia' },
- { cn: 'Somalia', cs: 'SO', value: 'somalia' },
- { cn: 'Spanien', cs: 'ES', value: 'spain' },
- {
- cn: 'Spitzbergen und Jan Mayen',
- cs: 'SJ',
- value: 'svalbard and jan mayen'
- },
- { cn: 'Sri Lanka', cs: 'LK', value: 'sri lanka' },
- {
- cn: 'St. Helena, Ascension und Tristan da Cunha',
- cs: 'SH',
- value: 'saint helena, ascension and tristan de cunha'
- },
- { cn: 'St. Kitts und Nevis', cs: 'KN', value: 'saint kitts and nevis' },
- { cn: 'St. Lucia', cs: 'LC', value: 'saint lucia' },
- {
- cn: 'St. Vincent und die Grenadinen',
- cs: 'VC',
- value: 'saint vincent and the grenadines'
- },
- { cn: 'Südafrika', cs: 'ZA', value: 'south africa' },
- { cn: 'Sudan', cs: 'SD', value: 'sudan' },
- {
- cn: 'Südgeorgien und die Südlichen Sandwichinseln',
- cs: 'GS',
- value: 'south georgia and the south sandwich islands'
- },
- { cn: 'Südsudan', cs: 'SS', value: 'south sudan' },
- { cn: 'Suricn', cs: 'SR', value: 'suricn' },
- { cn: 'Syrien', cs: 'SY', value: 'syrian arab republic' },
- { cn: 'Tadschikistan', cs: 'TJ', value: 'tajikistan' },
- { cn: 'Tansania', cs: 'TZ', value: 'tanzania, united republic of' },
- { cn: 'Thailand', cs: 'TH', value: 'thailand' },
- { cn: 'Togo', cs: 'TG', value: 'togo' },
- { cn: 'Tokelau', cs: 'TK', value: 'tokelau' },
- { cn: 'Tonga', cs: 'TO', value: 'tonga' },
- { cn: 'Trinidad und Tobago', cs: 'TT', value: 'trinidad and tobago' },
- { cn: 'Tschad', cs: 'TD', value: 'chad' },
- { cn: 'Tschechien', cs: 'CZ', value: 'czech republic' },
- { cn: 'Tunesien', cs: 'TN', value: 'tunisia' },
- { cn: 'Türkei', cs: 'TR', value: 'turkey' },
- { cn: 'Turkmenistan', cs: 'TM', value: 'turkmenistan' },
- {
- cn: 'Turks- und Caicosinseln',
- cs: 'TC',
- value: 'turks and caicos islands'
- },
- { cn: 'Tuvalu', cs: 'TV', value: 'tuvalu' },
- { cn: 'Uganda', cs: 'UG', value: 'uganda' },
- { cn: 'Ukraine', cs: 'UA', value: 'ukraine' },
- { cn: 'Ungarn', cs: 'HU', value: 'hungary' },
- {
- cn: 'United States Minor Outlying Islands',
- cs: 'UM',
- value: 'united states minor outlying islands'
- },
- { cn: 'Uruguay', cs: 'UY', value: 'uruguay' },
- { cn: 'Usbekistan', cs: 'UZ', value: 'uzbekistan' },
- { cn: 'Vanuatu', cs: 'VU', value: 'vanuatu' },
- { cn: 'Vatikanstadt', cs: 'VA', value: 'holy see (vatican city state)' },
- { cn: 'Venezuela', cs: 'VE', value: 'venezuela' },
- {
- cn: 'Vereinigte Arabische Emirate',
- cs: 'AE',
- value: 'united arab emirates'
- },
- { cn: 'Vereinigte Staaten', cs: 'US', value: 'united states' },
- { cn: 'Vereinigtes Königreich', cs: 'GB', value: 'united kingdom' },
- { cn: 'Vietnam', cs: 'VN', value: 'vietnam' },
- { cn: 'Volksrepublik China', cs: 'CN', value: 'china' },
- { cn: 'Wallis und Futuna', cs: 'WF', value: 'wallis and futuna' },
- { cn: 'Weihnachtsinsel', cs: 'CX', value: 'christmas island' },
- { cn: 'Westsahara', cs: 'EH', value: 'western sahara' },
- {
- cn: 'Zentralafrikanische Republik',
- cs: 'CF',
- value: 'central african republic'
- },
- { cn: 'Zypern', cs: 'CY', value: 'cyprus' }
-]
diff --git a/src/Questions/CountryNew/data/es.js b/src/Questions/CountryNew/data/es.js
deleted file mode 100644
index 4e1ac7e0..00000000
--- a/src/Questions/CountryNew/data/es.js
+++ /dev/null
@@ -1,315 +0,0 @@
-export default [
- { cn: 'Afganistán', cs: 'AF', value: 'afghanistan' },
- { cn: 'Åland', cs: 'AX', value: 'åland islands' },
- { cn: 'Albania', cs: 'AL', value: 'albania' },
- { cn: 'Alemania', cs: 'DE', value: 'germany' },
- { cn: 'Andorra', cs: 'AD', value: 'andorra' },
- { cn: 'Angola', cs: 'AO', value: 'angola' },
- { cn: 'Anguila', cs: 'AI', value: 'anguilla' },
- { cn: 'Antártida', cs: 'AQ', value: 'antarctica' },
- { cn: 'Antigua y Barbuda', cs: 'AG', value: 'antigua and barbuda' },
- { cn: 'Arabia Saudita', cs: 'SA', value: 'saudi arabia' },
- { cn: 'Argelia', cs: 'DZ', value: 'algeria' },
- { cn: 'Argentina', cs: 'AR', value: 'argentina' },
- { cn: 'Armenia', cs: 'AM', value: 'armenia' },
- { cn: 'Aruba', cs: 'AW', value: 'aruba' },
- { cn: 'Australia', cs: 'AU', value: 'australia' },
- { cn: 'Austria', cs: 'AT', value: 'austria' },
- { cn: 'Azerbaiyán', cs: 'AZ', value: 'azerbaijan' },
- { cn: 'Bahamas', cs: 'BS', value: 'bahamas' },
- { cn: 'Bangladés', cs: 'BD', value: 'bangladesh' },
- { cn: 'Barbados', cs: 'BB', value: 'barbados' },
- { cn: 'Baréin', cs: 'BH', value: 'bahrain' },
- { cn: 'Bélgica', cs: 'BE', value: 'belgium' },
- { cn: 'Belice', cs: 'BZ', value: 'belize' },
- { cn: 'Benín', cs: 'BJ', value: 'benin' },
- { cn: 'Bermudas', cs: 'BM', value: 'bermuda' },
- { cn: 'Bielorrusia', cs: 'BY', value: 'belarus' },
- { cn: 'Birmania', cs: 'MM', value: 'myanmar' },
- { cn: 'Bolivia', cs: 'BO', value: 'bolivia' },
- {
- cn: 'Bonaire, San Eustaquio y Saba',
- cs: 'BQ',
- value: 'bonaire, sint eustatius and saba'
- },
- { cn: 'Bosnia y Herzegovina', cs: 'BA', value: 'bosnia and herzegovina' },
- { cn: 'Botsuana', cs: 'BW', value: 'botswana' },
- { cn: 'Brasil', cs: 'BR', value: 'brazil' },
- { cn: 'Brunéi', cs: 'BN', value: 'brunei darussalam' },
- { cn: 'Bulgaria', cs: 'BG', value: 'bulgaria' },
- { cn: 'Burkina Faso', cs: 'BF', value: 'burkina faso' },
- { cn: 'Burundi', cs: 'BI', value: 'burundi' },
- { cn: 'Bután', cs: 'BT', value: 'bhutan' },
- { cn: 'Cabo Verde', cs: 'CV', value: 'cape verde' },
- { cn: 'Camboya', cs: 'KH', value: 'cambodia' },
- { cn: 'Camerún', cs: 'CM', value: 'cameroon' },
- { cn: 'Canadá', cs: 'CA', value: 'canada' },
- { cn: 'Catar', cs: 'QA', value: 'qatar' },
- { cn: 'Chad', cs: 'TD', value: 'chad' },
- { cn: 'Chile', cs: 'CL', value: 'chile' },
- { cn: 'China', cs: 'CN', value: 'china' },
- { cn: 'Chipre', cs: 'CY', value: 'cyprus' },
- { cn: 'Colombia', cs: 'CO', value: 'colombia' },
- { cn: 'Comoras', cs: 'KM', value: 'comoros' },
- {
- cn: 'Corea del Norte',
- cs: 'KP',
- value: "korea, democratic people's republic of"
- },
- { cn: 'Corea del Sur', cs: 'KR', value: 'korea, republic of' },
- { cn: 'Costa de Marfil', cs: 'CI', value: "côte d'ivoire" },
- { cn: 'Costa Rica', cs: 'CR', value: 'costa rica' },
- { cn: 'Croacia', cs: 'HR', value: 'croatia' },
- { cn: 'Cuba', cs: 'CU', value: 'cuba' },
- { cn: 'Curazao', cs: 'CW', value: 'curaçao' },
- { cn: 'Dinamarca', cs: 'DK', value: 'denmark' },
- { cn: 'Dominica', cs: 'DM', value: 'dominica' },
- { cn: 'Ecuador', cs: 'EC', value: 'ecuador' },
- { cn: 'Egipto', cs: 'EG', value: 'egypt' },
- { cn: 'El Salvador', cs: 'SV', value: 'el salvador' },
- { cn: 'Emiratos Árabes Unidos', cs: 'AE', value: 'united arab emirates' },
- { cn: 'Eritrea', cs: 'ER', value: 'eritrea' },
- { cn: 'Eslovaquia', cs: 'SK', value: 'slovakia' },
- { cn: 'Eslovenia', cs: 'SI', value: 'slovenia' },
- { cn: 'España', cs: 'ES', value: 'spain' },
- { cn: 'Estados Unidos', cs: 'US', value: 'united states' },
- { cn: 'Estonia', cs: 'EE', value: 'estonia' },
- { cn: 'Etiopía', cs: 'ET', value: 'ethiopia' },
- { cn: 'Filipinas', cs: 'PH', value: 'philippines' },
- { cn: 'Finlandia', cs: 'FI', value: 'finland' },
- { cn: 'Fiyi', cs: 'FJ', value: 'fiji' },
- { cn: 'Francia', cs: 'FR', value: 'france' },
- { cn: 'Gabón', cs: 'GA', value: 'gabon' },
- { cn: 'Gambia', cs: 'GM', value: 'gambia' },
- { cn: 'Georgia', cs: 'GE', value: 'georgia' },
- { cn: 'Ghana', cs: 'GH', value: 'ghana' },
- { cn: 'Gibraltar', cs: 'GI', value: 'gibraltar' },
- { cn: 'Granada', cs: 'GD', value: 'grenada' },
- { cn: 'Grecia', cs: 'GR', value: 'greece' },
- { cn: 'Groenlandia', cs: 'GL', value: 'greenland' },
- { cn: 'Guadalupe', cs: 'GP', value: 'guadeloupe' },
- { cn: 'Guam', cs: 'GU', value: 'guam' },
- { cn: 'Guatemala', cs: 'GT', value: 'guatemala' },
- { cn: 'Guayana Francesa', cs: 'GF', value: 'french guiana' },
- { cn: 'Guernsey', cs: 'GG', value: 'guernsey' },
- { cn: 'Guinea', cs: 'GN', value: 'guinea' },
- { cn: 'Guinea Ecuatorial', cs: 'GQ', value: 'equatorial guinea' },
- { cn: 'Guinea-Bisáu', cs: 'GW', value: 'guinea-bissau' },
- { cn: 'Guyana', cs: 'GY', value: 'guyana' },
- { cn: 'Haití', cs: 'HT', value: 'haiti' },
- { cn: 'Honduras', cs: 'HN', value: 'honduras' },
- { cn: 'Hong Kong', cs: 'HK', value: 'hong kong' },
- { cn: 'Hungría', cs: 'HU', value: 'hungary' },
- { cn: 'India', cs: 'IN', value: 'india' },
- { cn: 'Indonesia', cs: 'ID', value: 'indonesia' },
- { cn: 'Irak', cs: 'IQ', value: 'iraq' },
- { cn: 'Irán', cs: 'IR', value: 'iran, islamic republic of' },
- { cn: 'Irlanda', cs: 'IE', value: 'ireland' },
- { cn: 'Isla Bouvet', cs: 'BV', value: 'bouvet island' },
- { cn: 'Isla de Man', cs: 'IM', value: 'isle of man' },
- { cn: 'Isla de Navidad', cs: 'CX', value: 'christmas island' },
- { cn: 'Isla Norfolk', cs: 'NF', value: 'norfolk island' },
- { cn: 'Islandia', cs: 'IS', value: 'iceland' },
- { cn: 'Islas Caimán', cs: 'KY', value: 'cayman islands' },
- { cn: 'Islas Cocos', cs: 'CC', value: 'cocos (keeling) islands' },
- { cn: 'Islas Cook', cs: 'CK', value: 'cook islands' },
- { cn: 'Islas Feroe', cs: 'FO', value: 'faroe islands' },
- {
- cn: 'Islas Georgias del Sur y Sandwich del Sur',
- cs: 'GS',
- value: 'south georgia and the south sandwich islands'
- },
- {
- cn: 'Islas Heard y McDonald',
- cs: 'HM',
- value: 'heard island and mcdonald islands'
- },
- { cn: 'Islas Malvinas', cs: 'FK', value: 'falkland islands (malvinas)' },
- {
- cn: 'Islas Marianas del Norte',
- cs: 'MP',
- value: 'northern mariana islands'
- },
- { cn: 'Islas Marshall', cs: 'MH', value: 'marshall islands' },
- { cn: 'Islas Pitcairn', cs: 'PN', value: 'pitcairn' },
- { cn: 'Islas Salomón', cs: 'SB', value: 'solomon islands' },
- { cn: 'Islas Turcas y Caicos', cs: 'TC', value: 'turks and caicos islands' },
- {
- cn: 'Islas Ultramarinas Menores de los Estados Unidos',
- cs: 'UM',
- value: 'united states minor outlying islands'
- },
- {
- cn: 'Islas Vírgenes Británicas',
- cs: 'VG',
- value: 'virgin islands, british'
- },
- {
- cn: 'Islas Vírgenes de los Estados Unidos',
- cs: 'VI',
- value: 'virgin islands, u.s.'
- },
- { cn: 'Israel', cs: 'IL', value: 'israel' },
- { cn: 'Italia', cs: 'IT', value: 'italy' },
- { cn: 'Jamaica', cs: 'JM', value: 'jamaica' },
- { cn: 'Japón', cs: 'JP', value: 'japan' },
- { cn: 'Jersey', cs: 'JE', value: 'jersey' },
- { cn: 'Jordania', cs: 'JO', value: 'jordan' },
- { cn: 'Kazajistán', cs: 'KZ', value: 'kazakhstan' },
- { cn: 'Kenia', cs: 'KE', value: 'kenya' },
- { cn: 'Kirguistán', cs: 'KG', value: 'kyrgyzstan' },
- { cn: 'Kiribati', cs: 'KI', value: 'kiribati' },
- { cn: 'Kuwait', cs: 'KW', value: 'kuwait' },
- { cn: 'Laos', cs: 'LA', value: 'laos' },
- { cn: 'Lesoto', cs: 'LS', value: 'lesotho' },
- { cn: 'Letonia', cs: 'LV', value: 'latvia' },
- { cn: 'Líbano', cs: 'LB', value: 'lebanon' },
- { cn: 'Liberia', cs: 'LR', value: 'liberia' },
- { cn: 'Libia', cs: 'LY', value: 'libyan arab jamahiriya' },
- { cn: 'Liechtenstein', cs: 'LI', value: 'liechtenstein' },
- { cn: 'Lituania', cs: 'LT', value: 'lithuania' },
- { cn: 'Luxemburgo', cs: 'LU', value: 'luxembourg' },
- { cn: 'Macao', cs: 'MO', value: 'macao' },
- { cn: 'Macedonia del Norte', cs: 'MK', value: 'north macedonia' },
- { cn: 'Madagascar', cs: 'MG', value: 'madagascar' },
- { cn: 'Malasia', cs: 'MY', value: 'malaysia' },
- { cn: 'Malaui', cs: 'MW', value: 'malawi' },
- { cn: 'Maldivas', cs: 'MV', value: 'maldives' },
- { cn: 'Malí', cs: 'ML', value: 'mali' },
- { cn: 'Malta', cs: 'MT', value: 'malta' },
- { cn: 'Marruecos', cs: 'MA', value: 'morocco' },
- { cn: 'Martinica', cs: 'MQ', value: 'martinique' },
- { cn: 'Mauricio', cs: 'MU', value: 'mauritius' },
- { cn: 'Mauritania', cs: 'MR', value: 'mauritania' },
- { cn: 'Mayotte', cs: 'YT', value: 'mayotte' },
- { cn: 'México', cs: 'MX', value: 'mexico' },
- { cn: 'Micronesia', cs: 'FM', value: 'micronesia, federated states of' },
- { cn: 'Moldavia', cs: 'MD', value: 'moldova, republic of' },
- { cn: 'Mónaco', cs: 'MC', value: 'monaco' },
- { cn: 'Mongolia', cs: 'MN', value: 'mongolia' },
- { cn: 'Montenegro', cs: 'ME', value: 'montenegro' },
- { cn: 'Montserrat', cs: 'MS', value: 'montserrat' },
- { cn: 'Mozambique', cs: 'MZ', value: 'mozambique' },
- { cn: 'Namibia', cs: 'NA', value: 'namibia' },
- { cn: 'Nauru', cs: 'NR', value: 'nauru' },
- { cn: 'Nepal', cs: 'NP', value: 'nepal' },
- { cn: 'Nicaragua', cs: 'NI', value: 'nicaragua' },
- { cn: 'Níger', cs: 'NE', value: 'niger' },
- { cn: 'Nigeria', cs: 'NG', value: 'nigeria' },
- { cn: 'Niue', cs: 'NU', value: 'niue' },
- { cn: 'Noruega', cs: 'NO', value: 'norway' },
- { cn: 'Nueva Caledonia', cs: 'NC', value: 'new caledonia' },
- { cn: 'Nueva Zelanda', cs: 'NZ', value: 'new zealand' },
- { cn: 'Omán', cs: 'OM', value: 'oman' },
- { cn: 'Países Bajos', cs: 'NL', value: 'netherlands' },
- { cn: 'Pakistán', cs: 'PK', value: 'pakistan' },
- { cn: 'Palaos', cs: 'PW', value: 'palau' },
- { cn: 'Palestina', cs: 'PS', value: 'palestinian territory, occupied' },
- { cn: 'Panamá', cs: 'PA', value: 'panama' },
- { cn: 'Papúa Nueva Guinea', cs: 'PG', value: 'papua new guinea' },
- { cn: 'Paraguay', cs: 'PY', value: 'paraguay' },
- { cn: 'Perú', cs: 'PE', value: 'peru' },
- { cn: 'Polinesia Francesa', cs: 'PF', value: 'french polynesia' },
- { cn: 'Polonia', cs: 'PL', value: 'poland' },
- { cn: 'Portugal', cs: 'PT', value: 'portugal' },
- { cn: 'Puerto Rico', cs: 'PR', value: 'puerto rico' },
- { cn: 'Reino Unido', cs: 'GB', value: 'united kingdom' },
- {
- cn: 'República Árabe Saharaui Democrática',
- cs: 'EH',
- value: 'western sahara'
- },
- {
- cn: 'República Centroafricana',
- cs: 'CF',
- value: 'central african republic'
- },
- { cn: 'República Checa', cs: 'CZ', value: 'czech republic' },
- { cn: 'República del Congo', cs: 'CG', value: 'congo' },
- { cn: 'República Democrática del Congo', cs: 'CD', value: 'congo' },
- { cn: 'República Dominicana', cs: 'DO', value: 'dominican republic' },
- { cn: 'Reunión', cs: 'RE', value: 'reunion' },
- { cn: 'Ruanda', cs: 'RW', value: 'rwanda' },
- { cn: 'Rumania', cs: 'RO', value: 'romania' },
- { cn: 'Rusia', cs: 'RU', value: 'russian federation' },
- { cn: 'Samoa', cs: 'WS', value: 'samoa' },
- { cn: 'Samoa Americana', cs: 'AS', value: 'american samoa' },
- { cn: 'San Bartolomé', cs: 'BL', value: 'saint barthélemy' },
- { cn: 'San Cristóbal y Nieves', cs: 'KN', value: 'saint kitts and nevis' },
- { cn: 'San Marino', cs: 'SM', value: 'san marino' },
- { cn: 'San Martín', cs: 'MF', value: 'saint martin' },
- { cn: 'San Martín', cs: 'MF', value: 'sint maarten (dutch part)' },
- { cn: 'San Pedro y Miquelón', cs: 'PM', value: 'saint pierre and miquelon' },
- {
- cn: 'San Vicente y las Granadinas',
- cs: 'VC',
- value: 'saint vincent and the grenadines'
- },
- {
- cn: 'Santa Elena, Ascensión y Tristán de Acuña',
- cs: 'SH',
- value: 'saint helena, ascension and tristan de cunha'
- },
- { cn: 'Santa Lucía', cs: 'LC', value: 'saint lucia' },
- { cn: 'Santo Tomé y Príncipe', cs: 'ST', value: 'sao tome and principe' },
- { cn: 'Senegal', cs: 'SN', value: 'senegal' },
- { cn: 'Serbia', cs: 'RS', value: 'serbia' },
- { cn: 'Seychelles', cs: 'SC', value: 'seychelles' },
- { cn: 'Sierra Leona', cs: 'SL', value: 'sierra leone' },
- { cn: 'Singapur', cs: 'SG', value: 'singapore' },
- { cn: 'Siria', cs: 'SY', value: 'syrian arab republic' },
- { cn: 'Somalia', cs: 'SO', value: 'somalia' },
- { cn: 'Sri Lanka', cs: 'LK', value: 'sri lanka' },
- { cn: 'Suazilandia', cs: 'SZ', value: 'swaziland' },
- { cn: 'Sudáfrica', cs: 'ZA', value: 'south africa' },
- { cn: 'Sudán', cs: 'SD', value: 'sudan' },
- { cn: 'Sudán del Sur', cs: 'SS', value: 'south sudan' },
- { cn: 'Suecia', cs: 'SE', value: 'sweden' },
- { cn: 'Suiza', cs: 'CH', value: 'switzerland' },
- { cn: 'Surinam', cs: 'SR', value: 'suricn' },
- { cn: 'Svalbard y Jan Mayen', cs: 'SJ', value: 'svalbard and jan mayen' },
- { cn: 'Tailandia', cs: 'TH', value: 'thailand' },
- {
- cn: 'Taiwán (República de China)',
- cs: 'TW',
- value: 'taiwan, province of china'
- },
- { cn: 'Tanzania', cs: 'TZ', value: 'tanzania, united republic of' },
- { cn: 'Tayikistán', cs: 'TJ', value: 'tajikistan' },
- {
- cn: 'Territorio Británico del Océano Índico',
- cs: 'IO',
- value: 'british indian ocean territory'
- },
- {
- cn: 'Tierras Australes y Antárticas Francesas',
- cs: 'TF',
- value: 'french southern territories'
- },
- { cn: 'Timor Oriental', cs: 'TL', value: 'timor-leste' },
- { cn: 'Togo', cs: 'TG', value: 'togo' },
- { cn: 'Tokelau', cs: 'TK', value: 'tokelau' },
- { cn: 'Tonga', cs: 'TO', value: 'tonga' },
- { cn: 'Trinidad y Tobago', cs: 'TT', value: 'trinidad and tobago' },
- { cn: 'Túnez', cs: 'TN', value: 'tunisia' },
- { cn: 'Turkmenistán', cs: 'TM', value: 'turkmenistan' },
- { cn: 'Turquía', cs: 'TR', value: 'turkey' },
- { cn: 'Tuvalu', cs: 'TV', value: 'tuvalu' },
- { cn: 'Ucrania', cs: 'UA', value: 'ukraine' },
- { cn: 'Uganda', cs: 'UG', value: 'uganda' },
- { cn: 'Uruguay', cs: 'UY', value: 'uruguay' },
- { cn: 'Uzbekistán', cs: 'UZ', value: 'uzbekistan' },
- { cn: 'Vanuatu', cs: 'VU', value: 'vanuatu' },
- {
- cn: 'Vaticano, Ciudad del',
- cs: 'VA',
- value: 'holy see (vatican city state)'
- },
- { cn: 'Venezuela', cs: 'VE', value: 'venezuela' },
- { cn: 'Vietnam', cs: 'VN', value: 'vietnam' },
- { cn: 'Wallis y Futuna', cs: 'WF', value: 'wallis and futuna' },
- { cn: 'Yemen', cs: 'YE', value: 'yemen' },
- { cn: 'Yibuti', cs: 'DJ', value: 'djibouti' },
- { cn: 'Zambia', cs: 'ZM', value: 'zambia' },
- { cn: 'Zimbabue', cs: 'ZW', value: 'zimbabwe' }
-]
diff --git a/src/Questions/CountryNew/data/fr.js b/src/Questions/CountryNew/data/fr.js
deleted file mode 100644
index a6f6d36b..00000000
--- a/src/Questions/CountryNew/data/fr.js
+++ /dev/null
@@ -1,331 +0,0 @@
-export default [
- { cn: 'Afghanistan', cs: 'AF', value: 'afghanistan' },
- { cn: 'Afrique du Sud', cs: 'ZA', value: 'south africa' },
- { cn: 'Albanie', cs: 'AL', value: 'albania' },
- { cn: 'Algérie', cs: 'DZ', value: 'algeria' },
- { cn: 'Allemagne', cs: 'DE', value: 'germany' },
- { cn: 'Andorre', cs: 'AD', value: 'andorra' },
- { cn: 'Angola', cs: 'AO', value: 'angola' },
- { cn: 'Anguilla', cs: 'AI', value: 'anguilla' },
- { cn: 'Antarctique', cs: 'AQ', value: 'antarctica' },
- { cn: 'Antigua-et-Barbuda', cs: 'AG', value: 'antigua and barbuda' },
- { cn: 'Arabie saoudite', cs: 'SA', value: 'saudi arabia' },
- { cn: 'Argentine', cs: 'AR', value: 'argentina' },
- { cn: 'Arménie', cs: 'AM', value: 'armenia' },
- { cn: 'Aruba', cs: 'AW', value: 'aruba' },
- { cn: 'Australie', cs: 'AU', value: 'australia' },
- { cn: 'Autriche', cs: 'AT', value: 'austria' },
- { cn: 'Azerbaïdjan', cs: 'AZ', value: 'azerbaijan' },
- { cn: 'Bahamas', cs: 'BS', value: 'bahamas' },
- { cn: 'Bahreïn', cs: 'BH', value: 'bahrain' },
- { cn: 'Bangladesh', cs: 'BD', value: 'bangladesh' },
- { cn: 'Barbade', cs: 'BB', value: 'barbados' },
- { cn: 'Belgique', cs: 'BE', value: 'belgium' },
- { cn: 'Belize', cs: 'BZ', value: 'belize' },
- { cn: 'Bénin', cs: 'BJ', value: 'benin' },
- { cn: 'Bermudes', cs: 'BM', value: 'bermuda' },
- { cn: 'Bhoutan', cs: 'BT', value: 'bhutan' },
- { cn: 'Biélorussie', cs: 'BY', value: 'belarus' },
- { cn: 'Birmanie', cs: 'MM', value: 'myanmar' },
- { cn: 'Bolivie', cs: 'BO', value: 'bolivia' },
- { cn: 'Bosnie-Herzégovine', cs: 'BA', value: 'bosnia and herzegovina' },
- { cn: 'Botswana', cs: 'BW', value: 'botswana' },
- { cn: 'Brésil', cs: 'BR', value: 'brazil' },
- { cn: 'Brunei', cs: 'BN', value: 'brunei darussalam' },
- { cn: 'Bulgarie', cs: 'BG', value: 'bulgaria' },
- { cn: 'Burkina Faso', cs: 'BF', value: 'burkina faso' },
- { cn: 'Burundi', cs: 'BI', value: 'burundi' },
- { cn: 'Cambodge', cs: 'KH', value: 'cambodia' },
- { cn: 'Cameroun', cs: 'CM', value: 'cameroon' },
- { cn: 'Canada', cs: 'CA', value: 'canada' },
- { cn: 'Cap-Vert', cs: 'CV', value: 'cape verde' },
- { cn: 'Chili', cs: 'CL', value: 'chile' },
- { cn: 'Chine', cs: 'CN', value: 'china' },
- { cn: 'Chypre (pays)', cs: 'CY', value: 'cyprus' },
- { cn: 'Colombie', cs: 'CO', value: 'colombia' },
- { cn: 'Comores (pays)', cs: 'KM', value: 'comoros' },
- {
- cn: 'Corée du Nord',
- cs: 'KP',
- value: "korea, democratic people's republic of"
- },
- { cn: 'Corée du Sud', cs: 'KR', value: 'korea, republic of' },
- { cn: 'Costa Rica', cs: 'CR', value: 'costa rica' },
- { cn: "Côte d'Ivoire", cs: 'CI', value: "côte d'ivoire" },
- { cn: 'Croatie', cs: 'HR', value: 'croatia' },
- { cn: 'Cuba', cs: 'CU', value: 'cuba' },
- { cn: 'Curaçao', cs: 'CW', value: 'curaçao' },
- { cn: 'Danemark', cs: 'DK', value: 'denmark' },
- { cn: 'Djibouti', cs: 'DJ', value: 'djibouti' },
- { cn: 'Dominique', cs: 'DM', value: 'dominica' },
- { cn: 'Égypte', cs: 'EG', value: 'egypt' },
- { cn: 'Émirats arabes unis', cs: 'AE', value: 'united arab emirates' },
- { cn: 'Équateur (pays)', cs: 'EC', value: 'ecuador' },
- { cn: 'Érythrée', cs: 'ER', value: 'eritrea' },
- { cn: 'Espagne', cs: 'ES', value: 'spain' },
- { cn: 'Estonie', cs: 'EE', value: 'estonia' },
- { cn: 'Eswatini', cs: 'SZ', value: 'swaziland' },
- {
- cn: 'États fédérés de Micronésie (pays)',
- cs: 'FM',
- value: 'micronesia, federated states of'
- },
- { cn: 'États-Unis', cs: 'US', value: 'united states' },
- { cn: 'Éthiopie', cs: 'ET', value: 'ethiopia' },
- { cn: 'Fidji', cs: 'FJ', value: 'fiji' },
- { cn: 'Finlande', cs: 'FI', value: 'finland' },
- { cn: 'France', cs: 'FR', value: 'france' },
- { cn: 'Gabon', cs: 'GA', value: 'gabon' },
- { cn: 'Gambie', cs: 'GM', value: 'gambia' },
- { cn: 'Géorgie (pays)', cs: 'GE', value: 'georgia' },
- {
- cn: 'Géorgie du Sud-et-les îles Sandwich du Sud',
- cs: 'GS',
- value: 'south georgia and the south sandwich islands'
- },
- { cn: 'Ghana', cs: 'GH', value: 'ghana' },
- { cn: 'Gibraltar', cs: 'GI', value: 'gibraltar' },
- { cn: 'Grèce', cs: 'GR', value: 'greece' },
- { cn: 'Grenade (pays)', cs: 'GD', value: 'grenada' },
- { cn: 'Groenland', cs: 'GL', value: 'greenland' },
- { cn: 'Guadeloupe', cs: 'GP', value: 'guadeloupe' },
- { cn: 'Guam', cs: 'GU', value: 'guam' },
- { cn: 'Guatemala', cs: 'GT', value: 'guatemala' },
- { cn: 'Guernesey', cs: 'GG', value: 'guernsey' },
- { cn: 'Guinée', cs: 'GN', value: 'guinea' },
- { cn: 'Guinée équatoriale', cs: 'GQ', value: 'equatorial guinea' },
- { cn: 'Guinée-Bissau', cs: 'GW', value: 'guinea-bissau' },
- { cn: 'Guyana', cs: 'GY', value: 'guyana' },
- { cn: 'Guyane', cs: 'GF', value: 'french guiana' },
- { cn: 'Haïti', cs: 'HT', value: 'haiti' },
- { cn: 'Honduras', cs: 'HN', value: 'honduras' },
- { cn: 'Hong Kong', cs: 'HK', value: 'hong kong' },
- { cn: 'Hongrie', cs: 'HU', value: 'hungary' },
- { cn: 'Île Bouvet', cs: 'BV', value: 'bouvet island' },
- { cn: 'Île Christmas', cs: 'CX', value: 'christmas island' },
- { cn: 'Île de Man', cs: 'IM', value: 'isle of man' },
- { cn: 'Île Norfolk', cs: 'NF', value: 'norfolk island' },
- { cn: 'Îles Åland', cs: 'AX', value: 'åland islands' },
- { cn: 'Îles Caïmans', cs: 'KY', value: 'cayman islands' },
- { cn: 'Îles Cocos', cs: 'CC', value: 'cocos (keeling) islands' },
- { cn: 'Îles Cook', cs: 'CK', value: 'cook islands' },
- { cn: 'Îles Féroé', cs: 'FO', value: 'faroe islands' },
- {
- cn: 'Îles Heard-et-MacDonald',
- cs: 'HM',
- value: 'heard island and mcdonald islands'
- },
- { cn: 'Îles Mariannes du Nord', cs: 'MP', value: 'northern mariana islands' },
- { cn: 'Îles Marshall (pays)', cs: 'MH', value: 'marshall islands' },
- {
- cn: 'Îles mineures éloignées des États-Unis',
- cs: 'UM',
- value: 'united states minor outlying islands'
- },
- { cn: 'Îles Pitcairn', cs: 'PN', value: 'pitcairn' },
- {
- cn: 'Îles Turques-et-Caïques',
- cs: 'TC',
- value: 'turks and caicos islands'
- },
- {
- cn: 'Îles Vierges britanniques',
- cs: 'VG',
- value: 'virgin islands, british'
- },
- {
- cn: 'Îles Vierges des États-Unis',
- cs: 'VI',
- value: 'virgin islands, u.s.'
- },
- { cn: 'Inde', cs: 'IN', value: 'india' },
- { cn: 'Indonésie', cs: 'ID', value: 'indonesia' },
- { cn: 'Irak', cs: 'IQ', value: 'iraq' },
- { cn: 'Iran', cs: 'IR', value: 'iran, islamic republic of' },
- { cn: 'Irlande (pays)', cs: 'IE', value: 'ireland' },
- { cn: 'Islande', cs: 'IS', value: 'iceland' },
- { cn: 'Israël', cs: 'IL', value: 'israel' },
- { cn: 'Italie', cs: 'IT', value: 'italy' },
- { cn: 'Jamaïque', cs: 'JM', value: 'jamaica' },
- { cn: 'Japon', cs: 'JP', value: 'japan' },
- { cn: 'Jersey', cs: 'JE', value: 'jersey' },
- { cn: 'Jordanie', cs: 'JO', value: 'jordan' },
- { cn: 'Kazakhstan', cs: 'KZ', value: 'kazakhstan' },
- { cn: 'Kenya', cs: 'KE', value: 'kenya' },
- { cn: 'Kirghizistan', cs: 'KG', value: 'kyrgyzstan' },
- { cn: 'Kiribati', cs: 'KI', value: 'kiribati' },
- { cn: 'Koweït', cs: 'KW', value: 'kuwait' },
- { cn: 'La Réunion', cs: 'RE', value: 'reunion' },
- { cn: 'Laos', cs: 'LA', value: 'laos' },
- { cn: 'Lesotho', cs: 'LS', value: 'lesotho' },
- { cn: 'Lettonie', cs: 'LV', value: 'latvia' },
- { cn: 'Liban', cs: 'LB', value: 'lebanon' },
- { cn: 'Liberia', cs: 'LR', value: 'liberia' },
- { cn: 'Libye', cs: 'LY', value: 'libyan arab jamahiriya' },
- { cn: 'Liechtenstein', cs: 'LI', value: 'liechtenstein' },
- { cn: 'Lituanie', cs: 'LT', value: 'lithuania' },
- { cn: 'Luxembourg (pays)', cs: 'LU', value: 'luxembourg' },
- { cn: 'Macao', cs: 'MO', value: 'macao' },
- { cn: 'Macédoine du Nord', cs: 'MK', value: 'north macedonia' },
- { cn: 'Madagascar', cs: 'MG', value: 'madagascar' },
- { cn: 'Malaisie', cs: 'MY', value: 'malaysia' },
- { cn: 'Malawi', cs: 'MW', value: 'malawi' },
- { cn: 'Maldives', cs: 'MV', value: 'maldives' },
- { cn: 'Mali', cs: 'ML', value: 'mali' },
- { cn: 'Malouines', cs: 'FK', value: 'falkland islands (malvinas)' },
- { cn: 'Malte', cs: 'MT', value: 'malta' },
- { cn: 'Maroc', cs: 'MA', value: 'morocco' },
- { cn: 'Martinique', cs: 'MQ', value: 'martinique' },
- { cn: 'Maurice (pays)', cs: 'MU', value: 'mauritius' },
- { cn: 'Mauritanie', cs: 'MR', value: 'mauritania' },
- { cn: 'Mayotte', cs: 'YT', value: 'mayotte' },
- { cn: 'Mexique', cs: 'MX', value: 'mexico' },
- { cn: 'Moldavie', cs: 'MD', value: 'moldova, republic of' },
- { cn: 'Monaco', cs: 'MC', value: 'monaco' },
- { cn: 'Mongolie', cs: 'MN', value: 'mongolia' },
- { cn: 'Monténégro', cs: 'ME', value: 'montenegro' },
- { cn: 'Montserrat', cs: 'MS', value: 'montserrat' },
- { cn: 'Mozambique', cs: 'MZ', value: 'mozambique' },
- { cn: 'Namibie', cs: 'NA', value: 'namibia' },
- { cn: 'Nauru', cs: 'NR', value: 'nauru' },
- { cn: 'Népal', cs: 'NP', value: 'nepal' },
- { cn: 'Nicaragua', cs: 'NI', value: 'nicaragua' },
- { cn: 'Niger', cs: 'NE', value: 'niger' },
- { cn: 'Nigeria', cs: 'NG', value: 'nigeria' },
- { cn: 'Niue', cs: 'NU', value: 'niue' },
- { cn: 'Norvège', cs: 'NO', value: 'norway' },
- { cn: 'Nouvelle-Calédonie', cs: 'NC', value: 'new caledonia' },
- { cn: 'Nouvelle-Zélande', cs: 'NZ', value: 'new zealand' },
- { cn: 'Oman', cs: 'OM', value: 'oman' },
- { cn: 'Ouganda', cs: 'UG', value: 'uganda' },
- { cn: 'Ouzbékistan', cs: 'UZ', value: 'uzbekistan' },
- { cn: 'Pakistan', cs: 'PK', value: 'pakistan' },
- { cn: 'Palaos', cs: 'PW', value: 'palau' },
- { cn: 'Palestine', cs: 'PS', value: 'palestinian territory, occupied' },
- { cn: 'Panama', cs: 'PA', value: 'panama' },
- { cn: 'Papouasie-Nouvelle-Guinée', cs: 'PG', value: 'papua new guinea' },
- { cn: 'Paraguay', cs: 'PY', value: 'paraguay' },
- { cn: 'Pays-Bas', cs: 'NL', value: 'netherlands' },
- {
- cn: 'Pays-Bas caribéens',
- cs: 'BQ',
- value: 'bonaire, sint eustatius and saba'
- },
- { cn: 'Pérou', cs: 'PE', value: 'peru' },
- { cn: 'Philippines', cs: 'PH', value: 'philippines' },
- { cn: 'Pologne', cs: 'PL', value: 'poland' },
- { cn: 'Polynésie française', cs: 'PF', value: 'french polynesia' },
- { cn: 'Porto Rico', cs: 'PR', value: 'puerto rico' },
- { cn: 'Portugal', cs: 'PT', value: 'portugal' },
- { cn: 'Qatar', cs: 'QA', value: 'qatar' },
- {
- cn: 'République arabe sahraouie démocratique',
- cs: 'EH',
- value: 'western sahara'
- },
- {
- cn: 'République centrafricaine',
- cs: 'CF',
- value: 'central african republic'
- },
- { cn: 'République démocratique du Congo', cs: 'CD', value: 'congo' },
- { cn: 'République dominicaine', cs: 'DO', value: 'dominican republic' },
- { cn: 'République du Congo', cs: 'CG', value: 'congo' },
- { cn: 'Roumanie', cs: 'RO', value: 'romania' },
- { cn: 'Royaume-Uni', cs: 'GB', value: 'united kingdom' },
- { cn: 'Russie', cs: 'RU', value: 'russian federation' },
- { cn: 'Rwanda', cs: 'RW', value: 'rwanda' },
- { cn: 'Saint-Barthélemy', cs: 'BL', value: 'saint barthélemy' },
- {
- cn: 'Saint-Christophe-et-Niévès',
- cs: 'KN',
- value: 'saint kitts and nevis'
- },
- { cn: 'Saint-Marin', cs: 'SM', value: 'san marino' },
- { cn: 'Saint-Martin', cs: 'MF', value: 'saint martin' },
- { cn: 'Saint-Martin', cs: 'MF', value: 'sint maarten (dutch part)' },
- {
- cn: 'Saint-Pierre-et-Miquelon',
- cs: 'PM',
- value: 'saint pierre and miquelon'
- },
- {
- cn: 'Saint-Siège (État de la Cité du Vatican)',
- cs: 'VA',
- value: 'holy see (vatican city state)'
- },
- {
- cn: 'Saint-Vincent-et-les-Grenadines',
- cs: 'VC',
- value: 'saint vincent and the grenadines'
- },
- {
- cn: 'Sainte-Hélène, Ascension et Tristan da Cunha',
- cs: 'SH',
- value: 'saint helena, ascension and tristan de cunha'
- },
- { cn: 'Sainte-Lucie', cs: 'LC', value: 'saint lucia' },
- { cn: 'Salomon', cs: 'SB', value: 'solomon islands' },
- { cn: 'Salvador', cs: 'SV', value: 'el salvador' },
- { cn: 'Samoa', cs: 'WS', value: 'samoa' },
- { cn: 'Samoa américaines', cs: 'AS', value: 'american samoa' },
- { cn: 'Sao Tomé-et-Principe', cs: 'ST', value: 'sao tome and principe' },
- { cn: 'Sénégal', cs: 'SN', value: 'senegal' },
- { cn: 'Serbie', cs: 'RS', value: 'serbia' },
- { cn: 'Seychelles', cs: 'SC', value: 'seychelles' },
- { cn: 'Sierra Leone', cs: 'SL', value: 'sierra leone' },
- { cn: 'Singapour', cs: 'SG', value: 'singapore' },
- { cn: 'Slovaquie', cs: 'SK', value: 'slovakia' },
- { cn: 'Slovénie', cs: 'SI', value: 'slovenia' },
- { cn: 'Somalie', cs: 'SO', value: 'somalia' },
- { cn: 'Soudan', cs: 'SD', value: 'sudan' },
- { cn: 'Soudan du Sud', cs: 'SS', value: 'south sudan' },
- { cn: 'Sri Lanka', cs: 'LK', value: 'sri lanka' },
- { cn: 'Suède', cs: 'SE', value: 'sweden' },
- { cn: 'Suisse', cs: 'CH', value: 'switzerland' },
- { cn: 'Suricn', cs: 'SR', value: 'suricn' },
- {
- cn: 'Svalbard et ile Jan Mayen',
- cs: 'SJ',
- value: 'svalbard and jan mayen'
- },
- { cn: 'Syrie', cs: 'SY', value: 'syrian arab republic' },
- { cn: 'Tadjikistan', cs: 'TJ', value: 'tajikistan' },
- {
- cn: 'Taïwan / (République de Chine (Taïwan))',
- cs: 'TW',
- value: 'taiwan, province of china'
- },
- { cn: 'Tanzanie', cs: 'TZ', value: 'tanzania, united republic of' },
- { cn: 'Tchad', cs: 'TD', value: 'chad' },
- { cn: 'Tchéquie', cs: 'CZ', value: 'czech republic' },
- {
- cn: 'Terres australes et antarctiques françaises',
- cs: 'TF',
- value: 'french southern territories'
- },
- {
- cn: "Territoire britannique de l'océan Indien",
- cs: 'IO',
- value: 'british indian ocean territory'
- },
- { cn: 'Thaïlande', cs: 'TH', value: 'thailand' },
- { cn: 'Timor oriental', cs: 'TL', value: 'timor-leste' },
- { cn: 'Togo', cs: 'TG', value: 'togo' },
- { cn: 'Tokelau', cs: 'TK', value: 'tokelau' },
- { cn: 'Tonga', cs: 'TO', value: 'tonga' },
- { cn: 'Trinité-et-Tobago', cs: 'TT', value: 'trinidad and tobago' },
- { cn: 'Tunisie', cs: 'TN', value: 'tunisia' },
- { cn: 'Turkménistan', cs: 'TM', value: 'turkmenistan' },
- { cn: 'Turquie', cs: 'TR', value: 'turkey' },
- { cn: 'Tuvalu', cs: 'TV', value: 'tuvalu' },
- { cn: 'Ukraine', cs: 'UA', value: 'ukraine' },
- { cn: 'Uruguay', cs: 'UY', value: 'uruguay' },
- { cn: 'Vanuatu', cs: 'VU', value: 'vanuatu' },
- { cn: 'Venezuela', cs: 'VE', value: 'venezuela' },
- { cn: 'Viêt Nam', cs: 'VN', value: 'vietnam' },
- { cn: 'Wallis-et-Futuna', cs: 'WF', value: 'wallis and futuna' },
- { cn: 'Yémen', cs: 'YE', value: 'yemen' },
- { cn: 'Zambie', cs: 'ZM', value: 'zambia' },
- { cn: 'Zimbabwe', cs: 'ZW', value: 'zimbabwe' }
-]
diff --git a/src/Questions/CountryNew/index.js b/src/Questions/CountryNew/index.js
deleted file mode 100644
index 28975e7c..00000000
--- a/src/Questions/CountryNew/index.js
+++ /dev/null
@@ -1,149 +0,0 @@
-/** @jsxRuntime classic */
-/** @jsx jsx */
-import { jsx } from 'theme-ui'
-import { getCountryDataList } from 'countries-list'
-// import countriesTools from 'i18n-iso-countries'
-
-// import CountryAndRegionsData from './data/countryAndRegion'
-// import DeuschCountryData from './data/de'
-// import SpanishCountryData from './data/es'
-// import FrenchCountryData from './data/fr'
-import ErrorMessage from '../../Fields/Error'
-import Select from '../../Fields/Select'
-import Label from '../../Fields/Label'
-
-// const prioritySort = (countries, order) => {
-// const countryOrder = []
-
-// order.forEach((isoCountryCode) => {
-// const found = countries.find((country) => isoCountryCode.toString().toLowerCase() === country.cs.toLowerCase())
-// if (found) countryOrder.push(found)
-// })
-
-// const origin = countries.filter((item) => !order.includes(item.cs))
-
-// return [...countryOrder, ...origin]
-// }
-
-// const countriesMapData = {
-// es: SpanishCountryData,
-// fr: FrenchCountryData,
-// de: DeuschCountryData
-// }
-
-const QuestionCountryNew = ({
- component,
- question,
- useForm,
- countryAndRegionsData,
- language,
- ...props
-}) => {
- const {
- formState: { errors },
- trigger,
- control,
- defaultValue,
- // watch,
- unregister
- } = useForm
-
- // const countryAndRegions =
- // language && countriesMapData[language]
- // ? countriesMapData[language]
- // : countryAndRegionsData || CountryAndRegionsData
-
- // const getCountriesOptions = (countries) => {
- // const filteredCountries = prioritySort(
- // countries,
- // question.priorityOptions || []
- // )
-
- // return [].concat(
- // filteredCountries.map((country) => ({
- // value: (question.returnCountryName && country.value) || country.cs,
- // label: country.cn
- // }))
- // )
- // }
-
- // const getRegionOptions = (country) => {
- // const list =
- // countryAndRegionsData.find((item) => item.cn === country) &&
- // countryAndRegionsData
- // .find((item) => item.cn === country)
- // .regions.map((option) => {
- // return {
- // value: option.cn,
- // label: option.cn
- // }
- // })
-
- // return list
- // }
-
- // const renderCountryOptions = (items) => {
- // return items.map((item) => (
- //
- // {item.label}
- //
- // ))
- // }
-
- // const options = question.region
- // ? getRegionOptions(watch('Country').label)
- // : getCountriesOptions(countryAndRegions)
-
- const options = getCountryDataList().map((country) => {
- return {
- value: country.iso2,
- label: country.native
- }
- })
-
- return (
-
- {question.label && (
-
- {question.label}
-
- )}
- {
- trigger(question.name)
- }}
- id={question.name}
- key={question.name}
- name={question.name}
- options={options}
- isSearchable={false}
- registerConfig={question.registerConfig}
- placeholder={question.placeholder}
- label={question.label}
- data-haserrors={!!errors[question.name]}
- {...props}
- />
-
- {errors[question.name] &&
- (errors[question.name].type === 'required' ||
- errors[question.name].type === 'noEmpty') && (
-
- )}
-
- )
-}
-
-export default QuestionCountryNew
diff --git a/src/Questions/CountryV2/index.js b/src/Questions/CountryV2/index.js
new file mode 100644
index 00000000..9b001650
--- /dev/null
+++ b/src/Questions/CountryV2/index.js
@@ -0,0 +1,110 @@
+/** @jsxRuntime classic */
+/** @jsx jsx */
+import { jsx } from 'theme-ui'
+import { getCountryDataList } from 'countries-list'
+import countriesTools from 'i18n-iso-countries'
+
+import ErrorMessage from '../../Fields/Error'
+import Select from '../../Fields/Select'
+import Label from '../../Fields/Label'
+
+// TODO: import all languages
+countriesTools.registerLocale(require('i18n-iso-countries/langs/en.json'))
+countriesTools.registerLocale(require('i18n-iso-countries/langs/es.json'))
+countriesTools.registerLocale(require('i18n-iso-countries/langs/fr.json'))
+
+const QuestionCountryV2 = ({
+ component,
+ question,
+ useForm,
+ countryAndRegionsData,
+ language,
+ ...props
+}) => {
+ const {
+ formState: { errors },
+ trigger,
+ control,
+ defaultValue,
+ unregister
+ } = useForm
+
+ const buildCountryOptions = (config) => {
+ const priorityOptions = config?.priorityOptions || []
+ const whitelist = config?.whitelist || []
+ const blacklist = config?.blacklist || []
+
+ let finalListOfCountries = getCountryDataList()
+
+ // whitelist and blacklist are mutually exclusive
+ if (whitelist.length > 0) {
+ finalListOfCountries = finalListOfCountries.filter((country) => whitelist.includes(country.iso2))
+ } else if (blacklist.length > 0) {
+ finalListOfCountries = finalListOfCountries.filter((country) => !blacklist.includes(country.iso2))
+ }
+
+ // translate the country names and sort them by translated name
+ finalListOfCountries = finalListOfCountries.map((country) => ({
+ value: country.iso2,
+ label: countriesTools.getName(country.iso2, language) || country.name
+ })).sort((a, b) => a.label.localeCompare(b.label))
+
+ // sort the countries by priority
+ if (priorityOptions.length > 0) {
+ priorityOptions.toReversed().forEach((isoCountryCode) => {
+ const foundIndex = finalListOfCountries.findIndex((country) => country.value.toLowerCase() === isoCountryCode.toLowerCase())
+ if (foundIndex !== -1) {
+ const foundCountry = finalListOfCountries[foundIndex]
+ finalListOfCountries.splice(foundIndex, 1);
+ finalListOfCountries.unshift(foundCountry)
+ }
+ })
+ }
+
+ return finalListOfCountries
+ }
+
+ return (
+
+ {question.label && (
+
+ {question.label}
+
+ )}
+ trigger(question.name)}
+ id={question.name}
+ key={question.name}
+ name={question.name}
+ options={buildCountryOptions(question.config || {})}
+ isSearchable={question.config?.search === true}
+ registerConfig={question.registerConfig}
+ placeholder={question.placeholder}
+ label={question.label}
+ data-haserrors={!!errors[question.name]}
+ {...props}
+ />
+
+ {errors[question.name] &&
+ (errors[question.name].type === 'required' ||
+ errors[question.name].type === 'noEmpty') && (
+
+ )}
+
+ )
+}
+
+export default QuestionCountryV2
diff --git a/src/builder.js b/src/builder.js
index 90763963..b3c7d854 100644
--- a/src/builder.js
+++ b/src/builder.js
@@ -11,7 +11,7 @@ import QuestionCheckbox from './Questions/Checkbox'
import QuestionRadio from './Questions/Radio'
import QuestionSelect from './Questions/Select'
import QuestionCountry from './Questions/Country'
-import QuestionCountryNew from './Questions/CountryNew'
+import QuestionCountryV2 from './Questions/CountryV2/index.js'
import QuestionInput from './Questions/Input'
import QuestionTextarea from './Questions/Textarea'
import QuestionDate from './Questions/Date'
@@ -118,9 +118,9 @@ const FormBuilder = ({
)}
>
),
- country_new: (
+ country_v2: (
<>
-
Date: Wed, 28 Feb 2024 20:56:51 +0100
Subject: [PATCH 06/12] feat: add option to prepend the flag to the country
name
---
README.md | 3 +
example/src/forms/Countries/form-new.json | 22 ++++-
example/src/forms/Countries/form-old.json | 4 +-
example/src/forms/Countries/styles.js | 4 +-
src/Questions/CountryV2/index.js | 98 ++++++++++++++---------
src/builder.js | 2 +-
6 files changed, 85 insertions(+), 48 deletions(-)
diff --git a/README.md b/README.md
index acd4bc71..fe96a3e3 100644
--- a/README.md
+++ b/README.md
@@ -235,6 +235,9 @@ https://user-images.githubusercontent.com/79102959/134897712-95e4391c-cfbb-42cd-
| blacklist | List of ISO 3166-1 alpha-2 codes of the countries not allowed in the list. This is mutually exclusive with `whitelist` and `whitelist`takes precedence. | string[] | [] |
| priorityOptions | List of ISO 3166-1 alpha-2 codes of the countries to be displayed first in the list. Ex: ['GB', 'ES'] | string[] | [] |
| language | ISO 639-1 code of the language to display countries names. [Available laguages](https://github.com/michaelwittig/node-i18n-iso-countries?tab=readme-ov-file#supported-languages-iso-639-1) | string | en |
+| search | Allows the user to search typing in the select control | boolean | false |
+| flag | Shows the flag of the country before the name | boolean | false |
+
### Country v2 example:
diff --git a/example/src/forms/Countries/form-new.json b/example/src/forms/Countries/form-new.json
index 5bfe4a2e..4c181a70 100644
--- a/example/src/forms/Countries/form-new.json
+++ b/example/src/forms/Countries/form-new.json
@@ -1,6 +1,6 @@
{
- "name": "Form with new Country question format",
- "title": "Form with new Country question format",
+ "name": "Form with Country v2 question format",
+ "title": "Form with Country v2 question format",
"questions": [
{
"name": "country_all",
@@ -18,7 +18,7 @@
"name": "country_all",
"placeholder": "Select your country",
"type": "country_v2",
- "label": "List of original countries with search option",
+ "label": "List of original countries with flags",
"errorMessages": {
"required": "This field is required"
},
@@ -26,6 +26,22 @@
"required": true
},
"config": {
+ "flag": true
+ }
+ },
+ {
+ "name": "country_all",
+ "placeholder": "Select your country",
+ "type": "country_v2",
+ "label": "List of original countries with flags and search option",
+ "errorMessages": {
+ "required": "This field is required"
+ },
+ "registerConfig": {
+ "required": true
+ },
+ "config": {
+ "flag": true,
"search": true
}
},
diff --git a/example/src/forms/Countries/form-old.json b/example/src/forms/Countries/form-old.json
index 995d42b7..2570abe2 100644
--- a/example/src/forms/Countries/form-old.json
+++ b/example/src/forms/Countries/form-old.json
@@ -1,6 +1,6 @@
{
- "name": "Form with old Country question format",
- "title": "Form with old Country question format",
+ "name": "Form with Country question format",
+ "title": "Form with Country question format",
"questions": [
{
"name": "country_all",
diff --git a/example/src/forms/Countries/styles.js b/example/src/forms/Countries/styles.js
index c92c5231..34941690 100644
--- a/example/src/forms/Countries/styles.js
+++ b/example/src/forms/Countries/styles.js
@@ -1,9 +1,9 @@
export default {
container: {
- padding: '30px 30px',
+ padding: '10px 10px',
display: 'flex',
},
formContainer: {
- padding: '30px 30px',
+ padding: '10px 10px',
}
}
diff --git a/src/Questions/CountryV2/index.js b/src/Questions/CountryV2/index.js
index 9b001650..20ae1393 100644
--- a/src/Questions/CountryV2/index.js
+++ b/src/Questions/CountryV2/index.js
@@ -1,17 +1,61 @@
/** @jsxRuntime classic */
/** @jsx jsx */
import { jsx } from 'theme-ui'
-import { getCountryDataList } from 'countries-list'
+import { getCountryDataList, getEmojiFlag } from 'countries-list'
import countriesTools from 'i18n-iso-countries'
import ErrorMessage from '../../Fields/Error'
import Select from '../../Fields/Select'
import Label from '../../Fields/Label'
+import { useState } from 'react'
-// TODO: import all languages
countriesTools.registerLocale(require('i18n-iso-countries/langs/en.json'))
-countriesTools.registerLocale(require('i18n-iso-countries/langs/es.json'))
-countriesTools.registerLocale(require('i18n-iso-countries/langs/fr.json'))
+
+const buildCountryOptions = (config, language) => {
+ const priorityOptions = config?.priorityOptions || []
+ const whitelist = config?.whitelist || []
+ const blacklist = config?.blacklist || []
+ const flag = config?.flag || false
+
+ let finalListOfCountries = getCountryDataList()
+
+ // whitelist and blacklist are mutually exclusive
+ if (whitelist.length > 0) {
+ finalListOfCountries = finalListOfCountries.filter((country) => whitelist.includes(country.iso2))
+ } else if (blacklist.length > 0) {
+ finalListOfCountries = finalListOfCountries.filter((country) => !blacklist.includes(country.iso2))
+ }
+
+ // translate the country names and sort them by translated name
+ finalListOfCountries = finalListOfCountries.map((country) => ({
+ value: country.iso2,
+ label: countriesTools.getName(country.iso2, language) || country.name
+ })).sort((a, b) => a.label.localeCompare(b.label))
+
+ // sort the countries by priority
+ if (priorityOptions.length > 0) {
+ priorityOptions.toReversed().forEach((isoCountryCode) => {
+ const foundIndex = finalListOfCountries.findIndex((country) => country.value.toLowerCase() === isoCountryCode.toLowerCase())
+ if (foundIndex !== -1) {
+ const foundCountry = finalListOfCountries[foundIndex]
+ finalListOfCountries.splice(foundIndex, 1);
+ finalListOfCountries.unshift(foundCountry)
+ }
+ })
+ }
+
+ if (flag) {
+ finalListOfCountries = finalListOfCountries.map((country) => {
+ const emoji = getEmojiFlag(country.value)
+ return {
+ ...country,
+ label: emoji + ' ' + country.label
+ }
+ })
+ }
+
+ return finalListOfCountries
+}
const QuestionCountryV2 = ({
component,
@@ -21,6 +65,15 @@ const QuestionCountryV2 = ({
language,
...props
}) => {
+ useState(() => {
+ try {
+ countriesTools.registerLocale(require(`i18n-iso-countries/langs/${language}.json`))
+ } catch (e) {
+ // eslint-disable-next-line no-console
+ console.error('@onebeyond/react-form-builder: language not supported for country names. Using English.')
+ }
+ }, [language])
+
const {
formState: { errors },
trigger,
@@ -29,41 +82,6 @@ const QuestionCountryV2 = ({
unregister
} = useForm
- const buildCountryOptions = (config) => {
- const priorityOptions = config?.priorityOptions || []
- const whitelist = config?.whitelist || []
- const blacklist = config?.blacklist || []
-
- let finalListOfCountries = getCountryDataList()
-
- // whitelist and blacklist are mutually exclusive
- if (whitelist.length > 0) {
- finalListOfCountries = finalListOfCountries.filter((country) => whitelist.includes(country.iso2))
- } else if (blacklist.length > 0) {
- finalListOfCountries = finalListOfCountries.filter((country) => !blacklist.includes(country.iso2))
- }
-
- // translate the country names and sort them by translated name
- finalListOfCountries = finalListOfCountries.map((country) => ({
- value: country.iso2,
- label: countriesTools.getName(country.iso2, language) || country.name
- })).sort((a, b) => a.label.localeCompare(b.label))
-
- // sort the countries by priority
- if (priorityOptions.length > 0) {
- priorityOptions.toReversed().forEach((isoCountryCode) => {
- const foundIndex = finalListOfCountries.findIndex((country) => country.value.toLowerCase() === isoCountryCode.toLowerCase())
- if (foundIndex !== -1) {
- const foundCountry = finalListOfCountries[foundIndex]
- finalListOfCountries.splice(foundIndex, 1);
- finalListOfCountries.unshift(foundCountry)
- }
- })
- }
-
- return finalListOfCountries
- }
-
return (
{
- const useFormObj = useForm({ defaultValues: { formatDate: '' } })
+ const useFormObj = useForm()
useEffect(() => {
if (formErrors && formErrors.length > 0) {
From 47e8e615ccd8d676ba04efcbfaf0ec7da56cdcdc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=8D=C3=B1igo=20Marqu=C3=ADnez=20Prado?=
<25435858+inigomarquinez@users.noreply.github.com>
Date: Thu, 29 Feb 2024 09:20:05 +0100
Subject: [PATCH 07/12] docs: improve readme file
---
README.md | 16 ++--------------
1 file changed, 2 insertions(+), 14 deletions(-)
diff --git a/README.md b/README.md
index fe96a3e3..49db17fd 100644
--- a/README.md
+++ b/README.md
@@ -206,15 +206,8 @@ Reminder: the 'countryAndRegions' prop that can be sent in the ReactFormBuilder
}
```
-
https://user-images.githubusercontent.com/79102959/134897712-95e4391c-cfbb-42cd-b813-06596d9b7096.mov
-
-
-
-
-
-
## Country v2
| Option | Description | Type | Default |
@@ -264,17 +257,12 @@ https://user-images.githubusercontent.com/79102959/134897712-95e4391c-cfbb-42cd-
"priorityOptions": [
"ES",
"PT"
- ]
+ ],
+ "flag": true
}
}
```
-
-
-
-
-
-
## Date
| Option | Description | Type | Default |
|--- |--- |:---: |:---: |
From 340ee7cb6bfeb029e5e813e9d66410f940efb2fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=8D=C3=B1igo=20Marqu=C3=ADnez=20Prado?=
<25435858+inigomarquinez@users.noreply.github.com>
Date: Thu, 29 Feb 2024 09:27:40 +0100
Subject: [PATCH 08/12] refactor: use form context to avoid passing it to
children
---
src/Questions/CountryV2/index.js | 26 +++++++++++++++-----------
src/builder.js | 8 +++-----
2 files changed, 18 insertions(+), 16 deletions(-)
diff --git a/src/Questions/CountryV2/index.js b/src/Questions/CountryV2/index.js
index 20ae1393..1fa0834a 100644
--- a/src/Questions/CountryV2/index.js
+++ b/src/Questions/CountryV2/index.js
@@ -1,6 +1,7 @@
/** @jsxRuntime classic */
/** @jsx jsx */
import { jsx } from 'theme-ui'
+import { useFormContext } from 'react-hook-form'
import { getCountryDataList, getEmojiFlag } from 'countries-list'
import countriesTools from 'i18n-iso-countries'
@@ -57,14 +58,25 @@ const buildCountryOptions = (config, language) => {
return finalListOfCountries
}
+/**
+ * Question of type CountryV2
+ * @param {props} question Question metadata
+ * @param {props} language Language to display the country names
+ * @returns React component of a country select
+ */
const QuestionCountryV2 = ({
- component,
question,
- useForm,
- countryAndRegionsData,
language,
...props
}) => {
+ const {
+ formState: { errors },
+ trigger,
+ control,
+ defaultValue,
+ unregister
+ } = useFormContext()
+
useState(() => {
try {
countriesTools.registerLocale(require(`i18n-iso-countries/langs/${language}.json`))
@@ -74,14 +86,6 @@ const QuestionCountryV2 = ({
}
}, [language])
- const {
- formState: { errors },
- trigger,
- control,
- defaultValue,
- unregister
- } = useForm
-
return (
{question.dependentQuestions &&
@@ -320,7 +318,7 @@ const FormBuilder = ({
}
return (
- <>
+
)
}
From 4dae7f8b04fd7345f48ba2f66eda1a529f8e7465 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=8D=C3=B1igo=20Marqu=C3=ADnez=20Prado?=
<25435858+inigomarquinez@users.noreply.github.com>
Date: Thu, 29 Feb 2024 10:27:54 +0100
Subject: [PATCH 09/12] docs: minor fix
---
README.md | 4 +++-
package.json | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 49db17fd..7904dee8 100644
--- a/README.md
+++ b/README.md
@@ -961,9 +961,11 @@ Next, we can see different attributes and tags to adjust the accessibility of th
I confirm I am aged 18 years or older, a resident of the United Kingdom and have read and agree to the competition terms and condition and privacy policy
-
```
+# Storybook
+
+TODO: npx storybook@next automigrate
# To contribute
diff --git a/package.json b/package.json
index e23bd3c1..f106fda8 100644
--- a/package.json
+++ b/package.json
@@ -24,7 +24,7 @@
"coverage": "npm run test:unit -- --coverage",
"test:build": "run-s build",
"test:lint": "eslint src --ext .js,.jsx --config .eslintrc --ignore-path .eslintignore --cache",
- "test:unit": "cross-env CI=1 react-scripts test --env=jsdom --passWithNoTests",
+ "test:unit": "cross-env CI=1 react-scripts test --env=jsdom --passWithNoTests",
"test:watch": "react-scripts test --env=jsdom",
"eslint:fix": "eslint . --ext .js,.jsx --fix",
"lint": "npm run test:lint",
From 7fbf2e257f73c46d437b41f82255c82e14d5ddff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=8D=C3=B1igo=20Marqu=C3=ADnez=20Prado?=
<25435858+inigomarquinez@users.noreply.github.com>
Date: Thu, 29 Feb 2024 12:13:18 +0100
Subject: [PATCH 10/12] chore: upate package-lock
---
package-lock.json | 322 ++++++++++++++++++++++++----------------------
1 file changed, 166 insertions(+), 156 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 9606013f..22b6b028 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -161,9 +161,9 @@
}
},
"node_modules/@babel/core": {
- "version": "7.23.9",
- "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.9.tgz",
- "integrity": "sha512-5q0175NOjddqpvvzU+kDiSOAk4PfdO6FvwCWoQ6RO7rTzEe8vlo+4HVfcnAREhD4npMs0e9uZypjTwzZPCf/cw==",
+ "version": "7.24.0",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.0.tgz",
+ "integrity": "sha512-fQfkg0Gjkza3nf0c7/w6Xf34BW4YvzNfACRLmmb7XRLa6XHdR+K9AlJlxneFfWYf6uhOzuzZVTjF/8KfndZANw==",
"dev": true,
"dependencies": {
"@ampproject/remapping": "^2.2.0",
@@ -171,11 +171,11 @@
"@babel/generator": "^7.23.6",
"@babel/helper-compilation-targets": "^7.23.6",
"@babel/helper-module-transforms": "^7.23.3",
- "@babel/helpers": "^7.23.9",
- "@babel/parser": "^7.23.9",
- "@babel/template": "^7.23.9",
- "@babel/traverse": "^7.23.9",
- "@babel/types": "^7.23.9",
+ "@babel/helpers": "^7.24.0",
+ "@babel/parser": "^7.24.0",
+ "@babel/template": "^7.24.0",
+ "@babel/traverse": "^7.24.0",
+ "@babel/types": "^7.24.0",
"convert-source-map": "^2.0.0",
"debug": "^4.1.0",
"gensync": "^1.0.0-beta.2",
@@ -264,9 +264,9 @@
}
},
"node_modules/@babel/helper-create-class-features-plugin": {
- "version": "7.23.10",
- "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.23.10.tgz",
- "integrity": "sha512-2XpP2XhkXzgxecPNEEK8Vz8Asj9aRxt08oKOqtiZoqV2UGZ5T+EkyP9sXQ9nwMxBIG34a7jmasVqoMop7VdPUw==",
+ "version": "7.24.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.24.0.tgz",
+ "integrity": "sha512-QAH+vfvts51BCsNZ2PhY6HAggnlS6omLLFTsIpeqZk/MmJ6cW7tgz5yRv0fMJThcr6FmbMrENh1RgrWPTYA76g==",
"dev": true,
"dependencies": {
"@babel/helper-annotate-as-pure": "^7.22.5",
@@ -408,9 +408,9 @@
}
},
"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==",
+ "version": "7.24.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.0.tgz",
+ "integrity": "sha512-9cUznXMG0+FxRuJfvL82QlTqIzhVW9sL0KjMPHhAOOvpQGL8QtdxnBKILjBqxlHyliz0yCa1G903ZXI/FuHy2w==",
"dev": true,
"engines": {
"node": ">=6.9.0"
@@ -526,14 +526,14 @@
}
},
"node_modules/@babel/helpers": {
- "version": "7.23.9",
- "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.9.tgz",
- "integrity": "sha512-87ICKgU5t5SzOT7sBMfCOZQ2rHjRU+Pcb9BoILMYz600W6DkVRLFBPwQ18gwUVvggqXivaUakpnxWQGbpywbBQ==",
+ "version": "7.24.0",
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.0.tgz",
+ "integrity": "sha512-ulDZdc0Aj5uLc5nETsa7EPx2L7rM0YJM8r7ck7U73AXi7qOV44IHHRAYZHY6iU1rr3C5N4NtTmMRUJP6kwCWeA==",
"dev": true,
"dependencies": {
- "@babel/template": "^7.23.9",
- "@babel/traverse": "^7.23.9",
- "@babel/types": "^7.23.9"
+ "@babel/template": "^7.24.0",
+ "@babel/traverse": "^7.24.0",
+ "@babel/types": "^7.24.0"
},
"engines": {
"node": ">=6.9.0"
@@ -553,9 +553,9 @@
}
},
"node_modules/@babel/parser": {
- "version": "7.23.9",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.9.tgz",
- "integrity": "sha512-9tcKgqKbs3xGJ+NtKF2ndOBBLVwPjl1SHxPQkd36r3Dlirw3xWUeGaTbqr7uGZcTaxkVNwc+03SVP7aCdWrTlA==",
+ "version": "7.24.0",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.0.tgz",
+ "integrity": "sha512-QuP/FxEAzMSjXygs8v4N9dvdXzEHN4W1oF3PxuWAtPo08UdM17u89RDMgjLn/mlc56iM0HlLmVkO/wgR+rDgHg==",
"dev": true,
"bin": {
"parser": "bin/babel-parser.js"
@@ -630,14 +630,14 @@
}
},
"node_modules/@babel/plugin-proposal-decorators": {
- "version": "7.23.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.23.9.tgz",
- "integrity": "sha512-hJhBCb0+NnTWybvWq2WpbCYDOcflSbx0t+BYP65e5R9GVnukiDTi+on5bFkk4p7QGuv190H6KfNiV9Knf/3cZA==",
+ "version": "7.24.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.24.0.tgz",
+ "integrity": "sha512-LiT1RqZWeij7X+wGxCoYh3/3b8nVOX6/7BZ9wiQgAIyjoeQWdROaodJCgT+dwtbjHaz0r7bEbHJzjSbVfcOyjQ==",
"dev": true,
"dependencies": {
- "@babel/helper-create-class-features-plugin": "^7.23.9",
- "@babel/helper-plugin-utils": "^7.22.5",
- "@babel/plugin-syntax-decorators": "^7.23.3"
+ "@babel/helper-create-class-features-plugin": "^7.24.0",
+ "@babel/helper-plugin-utils": "^7.24.0",
+ "@babel/plugin-syntax-decorators": "^7.24.0"
},
"engines": {
"node": ">=6.9.0"
@@ -786,12 +786,12 @@
}
},
"node_modules/@babel/plugin-syntax-decorators": {
- "version": "7.23.3",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.23.3.tgz",
- "integrity": "sha512-cf7Niq4/+/juY67E0PbgH0TDhLQ5J7zS8C/Q5FFx+DWyrRa9sUQdTXkjqKu8zGvuqr7vw1muKiukseihU+PJDA==",
+ "version": "7.24.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.24.0.tgz",
+ "integrity": "sha512-MXW3pQCu9gUiVGzqkGqsgiINDVYXoAnrY8FYF/rmb+OfufNF0zHMpHPN4ulRrinxYT8Vk/aZJxYqOKsDECjKAw==",
"dev": true,
"dependencies": {
- "@babel/helper-plugin-utils": "^7.22.5"
+ "@babel/helper-plugin-utils": "^7.24.0"
},
"engines": {
"node": ">=6.9.0"
@@ -1528,14 +1528,14 @@
}
},
"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==",
+ "version": "7.24.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.24.0.tgz",
+ "integrity": "sha512-y/yKMm7buHpFFXfxVFS4Vk1ToRJDilIa6fKRioB9Vjichv58TDGXTvqV0dN7plobAmTW5eSEGXDngE+Mm+uO+w==",
"dev": true,
"dependencies": {
- "@babel/compat-data": "^7.23.3",
- "@babel/helper-compilation-targets": "^7.22.15",
- "@babel/helper-plugin-utils": "^7.22.5",
+ "@babel/compat-data": "^7.23.5",
+ "@babel/helper-compilation-targets": "^7.23.6",
+ "@babel/helper-plugin-utils": "^7.24.0",
"@babel/plugin-syntax-object-rest-spread": "^7.8.3",
"@babel/plugin-transform-parameters": "^7.23.3"
},
@@ -1771,13 +1771,13 @@
}
},
"node_modules/@babel/plugin-transform-runtime": {
- "version": "7.23.9",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.23.9.tgz",
- "integrity": "sha512-A7clW3a0aSjm3ONU9o2HAILSegJCYlEZmOhmBRReVtIpY/Z/p7yIZ+wR41Z+UipwdGuqwtID/V/dOdZXjwi9gQ==",
+ "version": "7.24.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.24.0.tgz",
+ "integrity": "sha512-zc0GA5IitLKJrSfXlXmp8KDqLrnGECK7YRfQBmEKg1NmBOQ7e+KuclBEKJgzifQeUYLdNiAw4B4bjyvzWVLiSA==",
"dev": true,
"dependencies": {
"@babel/helper-module-imports": "^7.22.15",
- "@babel/helper-plugin-utils": "^7.22.5",
+ "@babel/helper-plugin-utils": "^7.24.0",
"babel-plugin-polyfill-corejs2": "^0.4.8",
"babel-plugin-polyfill-corejs3": "^0.9.0",
"babel-plugin-polyfill-regenerator": "^0.5.5",
@@ -1948,14 +1948,14 @@
}
},
"node_modules/@babel/preset-env": {
- "version": "7.23.9",
- "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.23.9.tgz",
- "integrity": "sha512-3kBGTNBBk9DQiPoXYS0g0BYlwTQYUTifqgKTjxUwEUkduRT2QOa0FPGBJ+NROQhGyYO5BuTJwGvBnqKDykac6A==",
+ "version": "7.24.0",
+ "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.24.0.tgz",
+ "integrity": "sha512-ZxPEzV9IgvGn73iK0E6VB9/95Nd7aMFpbE0l8KQFDG70cOV9IxRP7Y2FUPmlK0v6ImlLqYX50iuZ3ZTVhOF2lA==",
"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-plugin-utils": "^7.24.0",
"@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",
@@ -2008,7 +2008,7 @@
"@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-rest-spread": "^7.24.0",
"@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",
@@ -2113,9 +2113,9 @@
"dev": true
},
"node_modules/@babel/runtime": {
- "version": "7.23.9",
- "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.23.9.tgz",
- "integrity": "sha512-0CX6F+BI2s9dkUqr08KFrAIZgNFj75rdBU/DjCyYLIaV/quFjkk6T+EJ2LkZHyZTbEV4L5p97mNkUsHl2wLFAw==",
+ "version": "7.24.0",
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.0.tgz",
+ "integrity": "sha512-Chk32uHMg6TnQdvw2e9IlqPpFX/6NLuK0Ys2PqLb7/gL5uFn9mXvK715FGLlOLQrcO4qIkNHkvPGktzzXexsFw==",
"dependencies": {
"regenerator-runtime": "^0.14.0"
},
@@ -2124,23 +2124,23 @@
}
},
"node_modules/@babel/template": {
- "version": "7.23.9",
- "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.23.9.tgz",
- "integrity": "sha512-+xrD2BWLpvHKNmX2QbpdpsBaWnRxahMwJjO+KZk2JOElj5nSmKezyS1B4u+QbHMTX69t4ukm6hh9lsYQ7GHCKA==",
+ "version": "7.24.0",
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.24.0.tgz",
+ "integrity": "sha512-Bkf2q8lMB0AFpX0NFEqSbx1OkTHf0f+0j82mkw+ZpzBnkk7e9Ql0891vlfgi+kHwOk8tQjiQHpqh4LaSa0fKEA==",
"dev": true,
"dependencies": {
"@babel/code-frame": "^7.23.5",
- "@babel/parser": "^7.23.9",
- "@babel/types": "^7.23.9"
+ "@babel/parser": "^7.24.0",
+ "@babel/types": "^7.24.0"
},
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/traverse": {
- "version": "7.23.9",
- "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.9.tgz",
- "integrity": "sha512-I/4UJ9vs90OkBtY6iiiTORVMyIhJ4kAVmsKo9KFc8UOxMeUfi2hvtIBsET5u9GizXE6/GFSuKCTNfgCswuEjRg==",
+ "version": "7.24.0",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.24.0.tgz",
+ "integrity": "sha512-HfuJlI8qq3dEDmNU5ChzzpZRWq+oxCZQyMzIMEqLho+AQnhMnKQUzH6ydo3RBl/YjPCuk68Y6s0Gx0AeyULiWw==",
"dev": true,
"dependencies": {
"@babel/code-frame": "^7.23.5",
@@ -2149,8 +2149,8 @@
"@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.9",
- "@babel/types": "^7.23.9",
+ "@babel/parser": "^7.24.0",
+ "@babel/types": "^7.24.0",
"debug": "^4.3.1",
"globals": "^11.1.0"
},
@@ -2159,9 +2159,9 @@
}
},
"node_modules/@babel/types": {
- "version": "7.23.9",
- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.9.tgz",
- "integrity": "sha512-dQjSq/7HaSjRM43FFGnv5keM2HsxpmyV1PfaSVm0nzzjwwTmjOe6J4bC8e3+pTEIgHaHj+1ZlLThRJ2auc/w1Q==",
+ "version": "7.24.0",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.24.0.tgz",
+ "integrity": "sha512-+j7a5c253RfKh8iABBhywc8NSfP5LURe7Uh4qpsh6jc+aLJguvmIUBdjSdEMQv2bENrCR5MfRdjGo7vzS/ob7w==",
"dependencies": {
"@babel/helper-string-parser": "^7.23.4",
"@babel/helper-validator-identifier": "^7.22.20",
@@ -2194,16 +2194,16 @@
}
},
"node_modules/@commitlint/cli": {
- "version": "19.0.2",
- "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-19.0.2.tgz",
- "integrity": "sha512-oaFHcjOASFFdtei/EF0lPg9ubnqVJsAjEmiDPeBQqk8wO7qppO7vp595SP7vOjTyDJlPVc2jUxCJSKxdq5temQ==",
+ "version": "19.0.3",
+ "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-19.0.3.tgz",
+ "integrity": "sha512-mGhh/aYPib4Vy4h+AGRloMY+CqkmtdeKPV9poMcZeImF5e3knQ5VYaSeAM0mEzps1dbKsHvABwaDpafLUuM96g==",
"dev": true,
"dependencies": {
- "@commitlint/format": "^19.0.0",
- "@commitlint/lint": "^19.0.0",
- "@commitlint/load": "^19.0.2",
- "@commitlint/read": "^19.0.0",
- "@commitlint/types": "^19.0.0",
+ "@commitlint/format": "^19.0.3",
+ "@commitlint/lint": "^19.0.3",
+ "@commitlint/load": "^19.0.3",
+ "@commitlint/read": "^19.0.3",
+ "@commitlint/types": "^19.0.3",
"execa": "^8.0.1",
"yargs": "^17.0.0"
},
@@ -2215,12 +2215,12 @@
}
},
"node_modules/@commitlint/config-conventional": {
- "version": "19.0.0",
- "resolved": "https://registry.npmjs.org/@commitlint/config-conventional/-/config-conventional-19.0.0.tgz",
- "integrity": "sha512-d8lPm+slPUdA8Zof2Y36RqAm/MmAYx/QQIEd2gKbpfLThQK1oYLs+0C3sMPD+4LIq2kh4cnbV9WnPA0P5sN8Ig==",
+ "version": "19.0.3",
+ "resolved": "https://registry.npmjs.org/@commitlint/config-conventional/-/config-conventional-19.0.3.tgz",
+ "integrity": "sha512-vh0L8XeLaEzTe8VCxSd0gAFvfTK0RFolrzw4o431bIuWJfi/yRCHJlsDwus7wW2eJaFFDR0VFXJyjGyDQhi4vA==",
"dev": true,
"dependencies": {
- "@commitlint/types": "^19.0.0",
+ "@commitlint/types": "^19.0.3",
"conventional-changelog-conventionalcommits": "^7.0.2"
},
"engines": {
@@ -2228,12 +2228,12 @@
}
},
"node_modules/@commitlint/config-validator": {
- "version": "19.0.0",
- "resolved": "https://registry.npmjs.org/@commitlint/config-validator/-/config-validator-19.0.0.tgz",
- "integrity": "sha512-oxJ2k+jBPRyWzv1ixfxwGZO5DJ1S+v3D8u/QESMwuPh3kQmeOYBRxGI+5FDWMwiVSHpztlhvvxDAU9SFXeMqUA==",
+ "version": "19.0.3",
+ "resolved": "https://registry.npmjs.org/@commitlint/config-validator/-/config-validator-19.0.3.tgz",
+ "integrity": "sha512-2D3r4PKjoo59zBc2auodrSCaUnCSALCx54yveOFwwP/i2kfEAQrygwOleFWswLqK0UL/F9r07MFi5ev2ohyM4Q==",
"dev": true,
"dependencies": {
- "@commitlint/types": "^19.0.0",
+ "@commitlint/types": "^19.0.3",
"ajv": "^8.11.0"
},
"engines": {
@@ -2241,12 +2241,12 @@
}
},
"node_modules/@commitlint/ensure": {
- "version": "19.0.0",
- "resolved": "https://registry.npmjs.org/@commitlint/ensure/-/ensure-19.0.0.tgz",
- "integrity": "sha512-G0avCIwjKplTP1Oc9MlDhsYqi1yOWORtJSBpyMbQEnalQAW1tuRxG4LOLRZVKfFqlDWs2SfVQPN0Uw51Ge0f6w==",
+ "version": "19.0.3",
+ "resolved": "https://registry.npmjs.org/@commitlint/ensure/-/ensure-19.0.3.tgz",
+ "integrity": "sha512-SZEpa/VvBLoT+EFZVb91YWbmaZ/9rPH3ESrINOl0HD2kMYsjvl0tF7nMHh0EpTcv4+gTtZBAe1y/SS6/OhfZzQ==",
"dev": true,
"dependencies": {
- "@commitlint/types": "^19.0.0",
+ "@commitlint/types": "^19.0.3",
"lodash.camelcase": "^4.3.0",
"lodash.kebabcase": "^4.1.1",
"lodash.snakecase": "^4.1.1",
@@ -2267,12 +2267,12 @@
}
},
"node_modules/@commitlint/format": {
- "version": "19.0.0",
- "resolved": "https://registry.npmjs.org/@commitlint/format/-/format-19.0.0.tgz",
- "integrity": "sha512-36P4/2tpGSGQsYoSZEso5fTSTaMSArIK9fszy+5B8hwwAvOfnD4kQtrwfMhiXnf7PCgeX2lx5Jma+pY3Bq326A==",
+ "version": "19.0.3",
+ "resolved": "https://registry.npmjs.org/@commitlint/format/-/format-19.0.3.tgz",
+ "integrity": "sha512-QjjyGyoiVWzx1f5xOteKHNLFyhyweVifMgopozSgx1fGNrGV8+wp7k6n1t6StHdJ6maQJ+UUtO2TcEiBFRyR6Q==",
"dev": true,
"dependencies": {
- "@commitlint/types": "^19.0.0",
+ "@commitlint/types": "^19.0.3",
"chalk": "^5.3.0"
},
"engines": {
@@ -2292,12 +2292,12 @@
}
},
"node_modules/@commitlint/is-ignored": {
- "version": "19.0.0",
- "resolved": "https://registry.npmjs.org/@commitlint/is-ignored/-/is-ignored-19.0.0.tgz",
- "integrity": "sha512-5b2nIrl8GEjzYAnOK2ZAUxBXvUonYrp3+8kJkUMl8QOtjt2O1gsd71jar7UtoDEqTWJhc+n7lG6lQYMXtcQJAw==",
+ "version": "19.0.3",
+ "resolved": "https://registry.npmjs.org/@commitlint/is-ignored/-/is-ignored-19.0.3.tgz",
+ "integrity": "sha512-MqDrxJaRSVSzCbPsV6iOKG/Lt52Y+PVwFVexqImmYYFhe51iVJjK2hRhOG2jUAGiUHk4jpdFr0cZPzcBkSzXDQ==",
"dev": true,
"dependencies": {
- "@commitlint/types": "^19.0.0",
+ "@commitlint/types": "^19.0.3",
"semver": "^7.6.0"
},
"engines": {
@@ -2338,30 +2338,30 @@
"dev": true
},
"node_modules/@commitlint/lint": {
- "version": "19.0.0",
- "resolved": "https://registry.npmjs.org/@commitlint/lint/-/lint-19.0.0.tgz",
- "integrity": "sha512-rAAisSpxhA+z4uhsveSt1CuTB+Jld5d7zyNSEK2UWjQaOxicwDP+LFiOdM32n/vwsLlOJqhrInA50UcbRSVaGg==",
+ "version": "19.0.3",
+ "resolved": "https://registry.npmjs.org/@commitlint/lint/-/lint-19.0.3.tgz",
+ "integrity": "sha512-uHPyRqIn57iIplYa5xBr6oNu5aPXKGC4WLeuHfqQHclwIqbJ33g3yA5fIA+/NYnp5ZM2EFiujqHFaVUYj6HlKA==",
"dev": true,
"dependencies": {
- "@commitlint/is-ignored": "^19.0.0",
- "@commitlint/parse": "^19.0.0",
- "@commitlint/rules": "^19.0.0",
- "@commitlint/types": "^19.0.0"
+ "@commitlint/is-ignored": "^19.0.3",
+ "@commitlint/parse": "^19.0.3",
+ "@commitlint/rules": "^19.0.3",
+ "@commitlint/types": "^19.0.3"
},
"engines": {
"node": ">=v18"
}
},
"node_modules/@commitlint/load": {
- "version": "19.0.2",
- "resolved": "https://registry.npmjs.org/@commitlint/load/-/load-19.0.2.tgz",
- "integrity": "sha512-ZbSQ8+vMsGHuZ/YxyDBz3i5zacQuAvON37xQGshGew/KwBmPfrF/sGEHNsD/znm3j2H6+iF5xslfkH1D382gbg==",
+ "version": "19.0.3",
+ "resolved": "https://registry.npmjs.org/@commitlint/load/-/load-19.0.3.tgz",
+ "integrity": "sha512-18Tk/ZcDFRKIoKfEcl7kC+bYkEQ055iyKmGsYDoYWpKf6FUvBrP9bIWapuy/MB+kYiltmP9ITiUx6UXtqC9IRw==",
"dev": true,
"dependencies": {
- "@commitlint/config-validator": "^19.0.0",
+ "@commitlint/config-validator": "^19.0.3",
"@commitlint/execute-rule": "^19.0.0",
- "@commitlint/resolve-extends": "^19.0.2",
- "@commitlint/types": "^19.0.0",
+ "@commitlint/resolve-extends": "^19.0.3",
+ "@commitlint/types": "^19.0.3",
"chalk": "^5.3.0",
"cosmiconfig": "^8.3.6",
"cosmiconfig-typescript-loader": "^5.0.0",
@@ -2395,12 +2395,12 @@
}
},
"node_modules/@commitlint/parse": {
- "version": "19.0.0",
- "resolved": "https://registry.npmjs.org/@commitlint/parse/-/parse-19.0.0.tgz",
- "integrity": "sha512-/2hT08V/2Lh+aQ5cSAw5vO74FlA3LJGYzLfsNMcx6aW8Kmrsa9W7chNNY5hMWbucCF92s/JE3eVIHnzoEBKTTA==",
+ "version": "19.0.3",
+ "resolved": "https://registry.npmjs.org/@commitlint/parse/-/parse-19.0.3.tgz",
+ "integrity": "sha512-Il+tNyOb8VDxN3P6XoBBwWJtKKGzHlitEuXA5BP6ir/3loWlsSqDr5aecl6hZcC/spjq4pHqNh0qPlfeWu38QA==",
"dev": true,
"dependencies": {
- "@commitlint/types": "^19.0.0",
+ "@commitlint/types": "^19.0.3",
"conventional-changelog-angular": "^7.0.0",
"conventional-commits-parser": "^5.0.0"
},
@@ -2409,13 +2409,13 @@
}
},
"node_modules/@commitlint/read": {
- "version": "19.0.0",
- "resolved": "https://registry.npmjs.org/@commitlint/read/-/read-19.0.0.tgz",
- "integrity": "sha512-AbK/fQjWrXGAAHl+KeOtZtWJryhzkTnynhkABF4IUFZqK71JSviSIPHYuUQjdwNrD0PJGs5f19ORjY8LOXP08w==",
+ "version": "19.0.3",
+ "resolved": "https://registry.npmjs.org/@commitlint/read/-/read-19.0.3.tgz",
+ "integrity": "sha512-b5AflTyAXkUx5qKw4TkjjcOccXZHql3JqMi522knTQktq2AubKXFz60Sws+K4FsefwPws6fGz9mqiI/NvsvxFA==",
"dev": true,
"dependencies": {
"@commitlint/top-level": "^19.0.0",
- "@commitlint/types": "^19.0.0",
+ "@commitlint/types": "^19.0.3",
"git-raw-commits": "^4.0.0",
"minimist": "^1.2.8"
},
@@ -2424,13 +2424,13 @@
}
},
"node_modules/@commitlint/resolve-extends": {
- "version": "19.0.2",
- "resolved": "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-19.0.2.tgz",
- "integrity": "sha512-yCdY4+JZpKPwnR6/YZAs9Ukpr3oqHbjYmwszEH2djYjprczg8j2okIeZyNM4dzD6+BqlSu/y0Eou2vE+wP+KnA==",
+ "version": "19.0.3",
+ "resolved": "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-19.0.3.tgz",
+ "integrity": "sha512-18BKmta8OC8+Ub+Q3QGM9l27VjQaXobloVXOrMvu8CpEwJYv62vC/t7Ka5kJnsW0tU9q1eMqJFZ/nN9T/cOaIA==",
"dev": true,
"dependencies": {
- "@commitlint/config-validator": "^19.0.0",
- "@commitlint/types": "^19.0.0",
+ "@commitlint/config-validator": "^19.0.3",
+ "@commitlint/types": "^19.0.3",
"global-directory": "^4.0.1",
"import-meta-resolve": "^4.0.0",
"lodash.mergewith": "^4.6.2",
@@ -2441,15 +2441,15 @@
}
},
"node_modules/@commitlint/rules": {
- "version": "19.0.0",
- "resolved": "https://registry.npmjs.org/@commitlint/rules/-/rules-19.0.0.tgz",
- "integrity": "sha512-uwb5Ro5vvJlEjnWPezL3AcdlbLdJz24SD5VembgA6IXqqunphZr5LFsQL1z5efP7p3MUdJEXFynIx8o62+j2lA==",
+ "version": "19.0.3",
+ "resolved": "https://registry.npmjs.org/@commitlint/rules/-/rules-19.0.3.tgz",
+ "integrity": "sha512-TspKb9VB6svklxNCKKwxhELn7qhtY1rFF8ls58DcFd0F97XoG07xugPjjbVnLqmMkRjZDbDIwBKt9bddOfLaPw==",
"dev": true,
"dependencies": {
- "@commitlint/ensure": "^19.0.0",
+ "@commitlint/ensure": "^19.0.3",
"@commitlint/message": "^19.0.0",
"@commitlint/to-lines": "^19.0.0",
- "@commitlint/types": "^19.0.0",
+ "@commitlint/types": "^19.0.3",
"execa": "^8.0.1"
},
"engines": {
@@ -2478,11 +2478,12 @@
}
},
"node_modules/@commitlint/types": {
- "version": "19.0.0",
- "resolved": "https://registry.npmjs.org/@commitlint/types/-/types-19.0.0.tgz",
- "integrity": "sha512-qLjLUdYXKi0TIavONrjBkxrElp7KguqDbvzIRbqTdJBV/cAAr8QEhHe1qUq8OcCM3gFWTlUrDz3ISZbkRoGsAg==",
+ "version": "19.0.3",
+ "resolved": "https://registry.npmjs.org/@commitlint/types/-/types-19.0.3.tgz",
+ "integrity": "sha512-tpyc+7i6bPG9mvaBbtKUeghfyZSDgWquIDfMgqYtTbmZ9Y9VzEm2je9EYcQ0aoz5o7NvGS+rcDec93yO08MHYA==",
"dev": true,
"dependencies": {
+ "@types/conventional-commits-parser": "^5.0.0",
"chalk": "^5.3.0"
},
"engines": {
@@ -5258,9 +5259,9 @@
}
},
"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==",
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz",
+ "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==",
"dev": true,
"engines": {
"node": ">=6.0.0"
@@ -6967,9 +6968,9 @@
}
},
"node_modules/@storybook/core-common/node_modules/@types/node": {
- "version": "18.19.19",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.19.tgz",
- "integrity": "sha512-qqV6hSy9zACEhQUy5CEGeuXAZN0fNjqLWRIvOXOwdFYhFoKBiY08VKR5kgchr90+TitLVhpUEb54hk4bYaArUw==",
+ "version": "18.19.20",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.20.tgz",
+ "integrity": "sha512-SKXZvI375jkpvAj8o+5U2518XQv76mAsixqfXiVyWyXZbVWQK25RurFovYpVIxVzul0rZoH58V/3SkEnm7s3qA==",
"dev": true,
"dependencies": {
"undici-types": "~5.26.4"
@@ -8477,9 +8478,9 @@
"dev": true
},
"node_modules/@storybook/react/node_modules/@types/node": {
- "version": "18.19.19",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.19.tgz",
- "integrity": "sha512-qqV6hSy9zACEhQUy5CEGeuXAZN0fNjqLWRIvOXOwdFYhFoKBiY08VKR5kgchr90+TitLVhpUEb54hk4bYaArUw==",
+ "version": "18.19.20",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.20.tgz",
+ "integrity": "sha512-SKXZvI375jkpvAj8o+5U2518XQv76mAsixqfXiVyWyXZbVWQK25RurFovYpVIxVzul0rZoH58V/3SkEnm7s3qA==",
"dev": true,
"dependencies": {
"undici-types": "~5.26.4"
@@ -9386,6 +9387,15 @@
"@types/node": "*"
}
},
+ "node_modules/@types/conventional-commits-parser": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/@types/conventional-commits-parser/-/conventional-commits-parser-5.0.0.tgz",
+ "integrity": "sha512-loB369iXNmAZglwWATL+WRe+CRMmmBPtpolYzIebFaX4YA3x+BEfLqhUAV9WanycKI3TG1IMr5bMJDajDKLlUQ==",
+ "dev": true,
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
"node_modules/@types/doctrine": {
"version": "0.0.3",
"resolved": "https://registry.npmjs.org/@types/doctrine/-/doctrine-0.0.3.tgz",
@@ -9399,9 +9409,9 @@
"dev": true
},
"node_modules/@types/eslint": {
- "version": "8.56.4",
- "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.56.4.tgz",
- "integrity": "sha512-lG1GLUnL5vuRBGb3MgWUWLdGMH2Hps+pERuyQXCfWozuGKdnhf9Pbg4pkcrVUHjKrU7Rl+GCZ/299ObBXZFAxg==",
+ "version": "8.56.5",
+ "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.56.5.tgz",
+ "integrity": "sha512-u5/YPJHo1tvkSF2CE0USEkxon82Z5DBy2xR+qfyYNszpX9qcs4sT6uq2kBbj4BXY1+DBGDPnrhMZV3pKWGNukw==",
"dev": true,
"dependencies": {
"@types/estree": "*",
@@ -9615,9 +9625,9 @@
"peer": true
},
"node_modules/@types/node": {
- "version": "20.11.21",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.21.tgz",
- "integrity": "sha512-/ySDLGscFPNasfqStUuWWPfL78jompfIoVzLJPVVAHBh6rpG68+pI2Gk+fNLeI8/f1yPYL4s46EleVIc20F1Ow==",
+ "version": "20.11.22",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.22.tgz",
+ "integrity": "sha512-/G+IxWxma6V3E+pqK1tSl2Fo1kl41pK1yeCyDsgkF9WlVAme4j5ISYM2zR11bgLFJGLN5sVK40T4RJNuiZbEjA==",
"dev": true,
"dependencies": {
"undici-types": "~5.26.4"
@@ -14751,9 +14761,9 @@
}
},
"node_modules/electron-to-chromium": {
- "version": "1.4.685",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.685.tgz",
- "integrity": "sha512-yDYeobbTEe4TNooEzOQO6xFqg9XnAkVy2Lod1C1B2it8u47JNLYvl9nLDWBamqUakWB8Jc1hhS1uHUNYTNQdfw==",
+ "version": "1.4.687",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.687.tgz",
+ "integrity": "sha512-Ic85cOuXSP6h7KM0AIJ2hpJ98Bo4hyTUjc4yjMbkvD+8yTxEhfK9+8exT2KKYsSjnCn2tGsKVSZwE7ZgTORQCw==",
"dev": true
},
"node_modules/email-addresses": {
@@ -14901,18 +14911,18 @@
}
},
"node_modules/es-abstract": {
- "version": "1.22.4",
- "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.22.4.tgz",
- "integrity": "sha512-vZYJlk2u6qHYxBOTjAeg7qUxHdNfih64Uu2J8QqWgXZ2cri0ZpJAkzDUK/q593+mvKwlxyaxr6F1Q+3LKoQRgg==",
+ "version": "1.22.5",
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.22.5.tgz",
+ "integrity": "sha512-oW69R+4q2wG+Hc3KZePPZxOiisRIqfKBVo/HLx94QcJeWGU/8sZhCvc829rd1kS366vlJbzBfXf9yWwf0+Ko7w==",
"dev": true,
"dependencies": {
"array-buffer-byte-length": "^1.0.1",
"arraybuffer.prototype.slice": "^1.0.3",
- "available-typed-arrays": "^1.0.6",
+ "available-typed-arrays": "^1.0.7",
"call-bind": "^1.0.7",
"es-define-property": "^1.0.0",
"es-errors": "^1.3.0",
- "es-set-tostringtag": "^2.0.2",
+ "es-set-tostringtag": "^2.0.3",
"es-to-primitive": "^1.2.1",
"function.prototype.name": "^1.1.6",
"get-intrinsic": "^1.2.4",
@@ -14920,15 +14930,15 @@
"globalthis": "^1.0.3",
"gopd": "^1.0.1",
"has-property-descriptors": "^1.0.2",
- "has-proto": "^1.0.1",
+ "has-proto": "^1.0.3",
"has-symbols": "^1.0.3",
"hasown": "^2.0.1",
"internal-slot": "^1.0.7",
"is-array-buffer": "^3.0.4",
"is-callable": "^1.2.7",
- "is-negative-zero": "^2.0.2",
+ "is-negative-zero": "^2.0.3",
"is-regex": "^1.1.4",
- "is-shared-array-buffer": "^1.0.2",
+ "is-shared-array-buffer": "^1.0.3",
"is-string": "^1.0.7",
"is-typed-array": "^1.1.13",
"is-weakref": "^1.0.2",
@@ -14941,10 +14951,10 @@
"string.prototype.trim": "^1.2.8",
"string.prototype.trimend": "^1.0.7",
"string.prototype.trimstart": "^1.0.7",
- "typed-array-buffer": "^1.0.1",
- "typed-array-byte-length": "^1.0.0",
- "typed-array-byte-offset": "^1.0.0",
- "typed-array-length": "^1.0.4",
+ "typed-array-buffer": "^1.0.2",
+ "typed-array-byte-length": "^1.0.1",
+ "typed-array-byte-offset": "^1.0.2",
+ "typed-array-length": "^1.0.5",
"unbox-primitive": "^1.0.2",
"which-typed-array": "^1.1.14"
},
From 1ef1a959e77e5fbb0cd3154b5fbc571d655c51ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=8D=C3=B1igo=20Marqu=C3=ADnez=20Prado?=
<25435858+inigomarquinez@users.noreply.github.com>
Date: Thu, 29 Feb 2024 12:59:45 +0100
Subject: [PATCH 11/12] docs: minor fix in readme file
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 00410656..72a2639b 100644
--- a/README.md
+++ b/README.md
@@ -227,10 +227,10 @@ https://user-images.githubusercontent.com/79102959/134897712-95e4391c-cfbb-42cd-
| whitelist | List of ISO 3166-1 alpha-2 codes of the countries allowed in the list. This is mutually exclusive with `blacklist` and `whitelist`takes precedence. | string[] | [] |
| blacklist | List of ISO 3166-1 alpha-2 codes of the countries not allowed in the list. This is mutually exclusive with `whitelist` and `whitelist`takes precedence. | string[] | [] |
| priorityOptions | List of ISO 3166-1 alpha-2 codes of the countries to be displayed first in the list. Ex: ['GB', 'ES'] | string[] | [] |
-| language | ISO 639-1 code of the language to display countries names. [Available laguages](https://github.com/michaelwittig/node-i18n-iso-countries?tab=readme-ov-file#supported-languages-iso-639-1) | string | en |
| search | Allows the user to search typing in the select control | boolean | false |
| flag | Shows the flag of the country before the name | boolean | false |
+The countires will be displayed in the language according to the `language` attribute of the FormBuilder. It should use the ISO 639-1 code of the language to display countries names. [Available laguages](https://github.com/michaelwittig/node-i18n-iso-countries?tab=readme-ov-file#supported-languages-iso-639-1).
### Country v2 example:
From bddcea462988cfa28833df9e2df7f7599be6e8d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=8D=C3=B1igo=20Marqu=C3=ADnez=20Prado?=
<25435858+inigomarquinez@users.noreply.github.com>
Date: Thu, 29 Feb 2024 14:58:18 +0100
Subject: [PATCH 12/12] fix: minor changes according to pr review
---
README.md | 17 +++++++++--------
example/.eslintrc.js | 1 -
example/src/error-page.jsx | 1 -
3 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/README.md b/README.md
index 72a2639b..3ca34118 100644
--- a/README.md
+++ b/README.md
@@ -171,23 +171,24 @@ Reminder: the 'countryAndRegions' prop that can be sent in the ReactFormBuilder
```
### Custom list country example:
+
```json
{
{
- countryName: 'MyOwnCountry1',
- countryShortCode: 'MC1'
+ "countryName": "MyOwnCountry1",
+ "countryShortCode": "MC1"
},
{
- countryName: 'MyOwnCountry2',
- countryShortCode: 'MC2'
+ "countryName": "MyOwnCountry2",
+ "countryShortCode": "MC2"
},
{
- countryName: 'MyOwnCountry3',
- countryShortCode: 'MC3'
+ "countryName": "MyOwnCountry3",
+ "countryShortCode": "MC3"
},
{
- countryName: 'MyOwnCountry4',
- countryShortCode: 'MC4'
+ "countryName": "MyOwnCountry4",
+ "countryShortCode": "MC4"
}
}
diff --git a/example/.eslintrc.js b/example/.eslintrc.js
index d82bc4cc..365fc95d 100644
--- a/example/.eslintrc.js
+++ b/example/.eslintrc.js
@@ -224,7 +224,6 @@ module.exports = exports = {
'import/no-duplicates': WARN,
'react/jsx-no-bind': WARN,
'wrap-regex': WARN,
-
'no-console': WARN,
}
}
diff --git a/example/src/error-page.jsx b/example/src/error-page.jsx
index 935bb597..ee28f21a 100644
--- a/example/src/error-page.jsx
+++ b/example/src/error-page.jsx
@@ -3,7 +3,6 @@ import { useRouteError } from 'react-router-dom'
export default function ErrorPage() {
const error = useRouteError();
- // console.error(error);
return (