From ab62460b3de0c5f3750968849ab9d3de0bd739fc Mon Sep 17 00:00:00 2001 From: Ayush8923 Date: Sat, 1 Jul 2023 13:08:54 +0530 Subject: [PATCH 1/6] :art: create the campaign page --- package-lock.json | 1375 +++++++++++++++++++++++ package.json | 1 + src/apis/campaign.ts | 11 + src/app/(auth)/campaign/create/page.tsx | 131 +++ src/app/(auth)/campaign/page.tsx | 10 +- src/components/Select.tsx | 12 +- src/utils/types.ts | 2 + 7 files changed, 1535 insertions(+), 7 deletions(-) create mode 100644 src/app/(auth)/campaign/create/page.tsx diff --git a/package-lock.json b/package-lock.json index 7cb7d19..1a63b5f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -257,6 +257,50 @@ "@floating-ui/core": "^1.3.1" } }, + "@formatjs/ecma402-abstract": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/@formatjs/ecma402-abstract/-/ecma402-abstract-1.17.0.tgz", + "integrity": "sha512-6ueQTeJZtwKjmh23bdkq/DMqH4l4bmfvtQH98blOSbiXv/OUiyijSW6jU22IT8BNM1ujCaEvJfTtyCYVH38EMQ==", + "requires": { + "@formatjs/intl-localematcher": "0.4.0", + "tslib": "^2.4.0" + } + }, + "@formatjs/fast-memoize": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@formatjs/fast-memoize/-/fast-memoize-2.2.0.tgz", + "integrity": "sha512-hnk/nY8FyrL5YxwP9e4r9dqeM6cAbo8PeU9UjyXojZMNvVad2Z06FAVHyR3Ecw6fza+0GH7vdJgiKIVXTMbSBA==", + "requires": { + "tslib": "^2.4.0" + } + }, + "@formatjs/icu-messageformat-parser": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@formatjs/icu-messageformat-parser/-/icu-messageformat-parser-2.6.0.tgz", + "integrity": "sha512-yT6at0qc0DANw9qM/TU8RZaCtfDXtj4pZM/IC2WnVU80yAcliS3KVDiuUt4jSQAeFL9JS5bc2hARnFmjPdA6qw==", + "requires": { + "@formatjs/ecma402-abstract": "1.17.0", + "@formatjs/icu-skeleton-parser": "1.6.0", + "tslib": "^2.4.0" + } + }, + "@formatjs/icu-skeleton-parser": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@formatjs/icu-skeleton-parser/-/icu-skeleton-parser-1.6.0.tgz", + "integrity": "sha512-eMmxNpoX/J1IPUjPGSZwo0Wh+7CEvdEMddP2Jxg1gQJXfGfht/FdW2D5XDFj3VMbOTUQlDIdZJY7uC6O6gjPoA==", + "requires": { + "@formatjs/ecma402-abstract": "1.17.0", + "tslib": "^2.4.0" + } + }, + "@formatjs/intl-localematcher": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/@formatjs/intl-localematcher/-/intl-localematcher-0.4.0.tgz", + "integrity": "sha512-bRTd+rKomvfdS4QDlVJ6TA/Jx1F2h/TBVO5LjvhQ7QPPHp19oPNMIum7W2CMEReq/zPxpmCeB31F9+5gl/qtvw==", + "requires": { + "tslib": "^2.4.0" + } + }, "@headlessui/react": { "version": "1.7.15", "resolved": "https://registry.npmjs.org/@headlessui/react/-/react-1.7.15.tgz", @@ -293,6 +337,39 @@ "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", "dev": true }, + "@internationalized/date": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/@internationalized/date/-/date-3.3.0.tgz", + "integrity": "sha512-qfRd7jCIgUjabI8RxeAsxhLDRS1u8eUPX96GB5uBp1Tpm6YY6dVveE7YwsTEV6L4QOp5LKFirFHHGsL/XQwJIA==", + "requires": { + "@swc/helpers": "^0.5.0" + } + }, + "@internationalized/message": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@internationalized/message/-/message-3.1.1.tgz", + "integrity": "sha512-ZgHxf5HAPIaR0th+w0RUD62yF6vxitjlprSxmLJ1tam7FOekqRSDELMg4Cr/DdszG5YLsp5BG3FgHgqquQZbqw==", + "requires": { + "@swc/helpers": "^0.5.0", + "intl-messageformat": "^10.1.0" + } + }, + "@internationalized/number": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/@internationalized/number/-/number-3.2.1.tgz", + "integrity": "sha512-hK30sfBlmB1aIe3/OwAPg9Ey0DjjXvHEiGVhNaOiBJl31G0B6wMaX8BN3ibzdlpyRNE9p7X+3EBONmxtJO9Yfg==", + "requires": { + "@swc/helpers": "^0.5.0" + } + }, + "@internationalized/string": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@internationalized/string/-/string-3.1.1.tgz", + "integrity": "sha512-fvSr6YRoVPgONiVIUhgCmIAlifMVCeej/snPZVzbzRPxGpHl3o1GRe+d/qh92D8KhgOciruDUH8I5mjdfdjzfA==", + "requires": { + "@swc/helpers": "^0.5.0" + } + }, "@jridgewell/gen-mapping": { "version": "0.3.3", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", @@ -401,6 +478,45 @@ "integrity": "sha512-OrZs94AuO3ZS5tnqlyPRNgfWvboXaDQCi5aXGve3o3C+Sj0ctMUV9+Do+0zMvvLRumR8E0PTWKvtz9n5vzIsWw==", "optional": true }, + "@nextui-org/react": { + "version": "1.0.0-beta.13", + "resolved": "https://registry.npmjs.org/@nextui-org/react/-/react-1.0.0-beta.13.tgz", + "integrity": "sha512-KrQZplcSyfRc95bHlvrNeu8FgGrTm4CncpdH9gFk5bNSELICbLplIyyy2e6C8ZmRD+0CAjjXLdbTx1yvmefqDg==", + "requires": { + "@babel/runtime": "^7.20.1", + "@react-aria/button": "3.6.2", + "@react-aria/checkbox": "3.6.0", + "@react-aria/dialog": "3.4.0", + "@react-aria/focus": "3.7.0", + "@react-aria/i18n": "3.6.1", + "@react-aria/interactions": "3.12.0", + "@react-aria/label": "3.4.2", + "@react-aria/link": "3.3.4", + "@react-aria/menu": "3.6.2", + "@react-aria/overlays": "3.11.0", + "@react-aria/radio": "3.4.0", + "@react-aria/ssr": "3.3.0", + "@react-aria/table": "3.5.0", + "@react-aria/utils": "3.14.0", + "@react-aria/visually-hidden": "3.5.0", + "@react-stately/checkbox": "3.3.0", + "@react-stately/collections": "3.4.4", + "@react-stately/data": "3.7.0", + "@react-stately/menu": "3.4.2", + "@react-stately/overlays": "3.4.2", + "@react-stately/radio": "3.6.0", + "@react-stately/table": "3.5.0", + "@react-stately/toggle": "3.4.2", + "@react-stately/tree": "3.3.4", + "@react-types/button": "^3.6.2", + "@react-types/checkbox": "3.4.0", + "@react-types/grid": "3.1.4", + "@react-types/menu": "3.7.2", + "@react-types/overlays": "3.6.4", + "@react-types/shared": "3.15.0", + "@stitches/react": "1.2.8" + } + }, "@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -437,11 +553,1259 @@ "tslib": "^2.5.0" } }, + "@react-aria/button": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/@react-aria/button/-/button-3.6.2.tgz", + "integrity": "sha512-8XRcPR5qXKNmnBO6u9FSY8vYa7P1FIgVix07EHBCTZiJYHYxcUsFYRWG9qf2aShGotJs4957unqGH1L1ncRYKQ==", + "requires": { + "@babel/runtime": "^7.6.2", + "@react-aria/focus": "^3.9.0", + "@react-aria/interactions": "^3.12.0", + "@react-aria/utils": "^3.14.0", + "@react-stately/toggle": "^3.4.2", + "@react-types/button": "^3.6.2", + "@react-types/shared": "^3.15.0" + }, + "dependencies": { + "@react-aria/focus": { + "version": "3.13.0", + "resolved": "https://registry.npmjs.org/@react-aria/focus/-/focus-3.13.0.tgz", + "integrity": "sha512-9DW7RqgbFWiImZmkmTIJGe9LrQBqEeLYwlKY+F1FTVXerIPiCCQ3JO3ESEa4lFMmkaHoueFLUrq2jkYjRNqoTw==", + "requires": { + "@react-aria/interactions": "^3.16.0", + "@react-aria/utils": "^3.18.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0", + "clsx": "^1.1.1" + }, + "dependencies": { + "@react-aria/interactions": { + "version": "3.16.0", + "resolved": "https://registry.npmjs.org/@react-aria/interactions/-/interactions-3.16.0.tgz", + "integrity": "sha512-vXANFKVd6ONqNw8U+ZWbSA8lrduCOXw7cWsYosTa5dZ24ZJfRfbhlvRe8CaAKMhB/rOOmvTLaAwdIPia6JtLDg==", + "requires": { + "@react-aria/ssr": "^3.7.0", + "@react-aria/utils": "^3.18.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0" + } + }, + "@react-aria/utils": { + "version": "3.18.0", + "resolved": "https://registry.npmjs.org/@react-aria/utils/-/utils-3.18.0.tgz", + "integrity": "sha512-eLs0ExzXx/D3P9qe6ophJ87ZFcI1oRTyRa51M59pCad7grrpk0gWcYrBjMwcR457YWOQQWCeLuq8QJl2QxCW6Q==", + "requires": { + "@react-aria/ssr": "^3.7.0", + "@react-stately/utils": "^3.7.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0", + "clsx": "^1.1.1" + } + }, + "@react-types/shared": { + "version": "3.18.1", + "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.18.1.tgz", + "integrity": "sha512-OpTYRFS607Ctfd6Tmhyk6t6cbFyDhO5K+etU35X50pMzpypo1b7vF0mkngEeTc0Xwl0e749ONZNPZskMyu5k8w==" + } + } + }, + "@react-aria/ssr": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@react-aria/ssr/-/ssr-3.7.0.tgz", + "integrity": "sha512-bfufjg4ESE5giN+Fxj1XIzS5f/YIhqcGc+Ve+vUUKU8xZ8t/Xtjlv8F3kjqDBQdk//n3mluFY7xG1wQVB9rMLQ==", + "requires": { + "@swc/helpers": "^0.5.0" + } + } + } + }, + "@react-aria/checkbox": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/@react-aria/checkbox/-/checkbox-3.6.0.tgz", + "integrity": "sha512-E2MZoMZhtHtlS1mYjxTI29JRq4s3Y6d92KHj7tzvcC308d4Bzz0IHJd0bMz/8whoNteU02pQyZ3rDAcGf92bHQ==", + "requires": { + "@babel/runtime": "^7.6.2", + "@react-aria/label": "^3.4.2", + "@react-aria/toggle": "^3.4.0", + "@react-aria/utils": "^3.14.0", + "@react-stately/checkbox": "^3.3.0", + "@react-stately/toggle": "^3.4.2", + "@react-types/checkbox": "^3.4.0", + "@react-types/shared": "^3.15.0" + } + }, + "@react-aria/dialog": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/@react-aria/dialog/-/dialog-3.4.0.tgz", + "integrity": "sha512-h1D7OOe20PhSb4DD40ABVgHMbSA2Y9rSU5lrGf9zuNSYkQIwDz6pTSXp/9roy7SEvf5KAN6zPa1inSVBOTzf3w==", + "requires": { + "@babel/runtime": "^7.6.2", + "@react-aria/focus": "^3.9.0", + "@react-aria/overlays": "^3.11.0", + "@react-aria/utils": "^3.14.0", + "@react-stately/overlays": "^3.4.2", + "@react-types/dialog": "^3.4.4", + "@react-types/shared": "^3.15.0" + }, + "dependencies": { + "@react-aria/focus": { + "version": "3.13.0", + "resolved": "https://registry.npmjs.org/@react-aria/focus/-/focus-3.13.0.tgz", + "integrity": "sha512-9DW7RqgbFWiImZmkmTIJGe9LrQBqEeLYwlKY+F1FTVXerIPiCCQ3JO3ESEa4lFMmkaHoueFLUrq2jkYjRNqoTw==", + "requires": { + "@react-aria/interactions": "^3.16.0", + "@react-aria/utils": "^3.18.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0", + "clsx": "^1.1.1" + }, + "dependencies": { + "@react-aria/utils": { + "version": "3.18.0", + "resolved": "https://registry.npmjs.org/@react-aria/utils/-/utils-3.18.0.tgz", + "integrity": "sha512-eLs0ExzXx/D3P9qe6ophJ87ZFcI1oRTyRa51M59pCad7grrpk0gWcYrBjMwcR457YWOQQWCeLuq8QJl2QxCW6Q==", + "requires": { + "@react-aria/ssr": "^3.7.0", + "@react-stately/utils": "^3.7.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0", + "clsx": "^1.1.1" + } + }, + "@react-types/shared": { + "version": "3.18.1", + "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.18.1.tgz", + "integrity": "sha512-OpTYRFS607Ctfd6Tmhyk6t6cbFyDhO5K+etU35X50pMzpypo1b7vF0mkngEeTc0Xwl0e749ONZNPZskMyu5k8w==" + } + } + }, + "@react-aria/interactions": { + "version": "3.16.0", + "resolved": "https://registry.npmjs.org/@react-aria/interactions/-/interactions-3.16.0.tgz", + "integrity": "sha512-vXANFKVd6ONqNw8U+ZWbSA8lrduCOXw7cWsYosTa5dZ24ZJfRfbhlvRe8CaAKMhB/rOOmvTLaAwdIPia6JtLDg==", + "requires": { + "@react-aria/ssr": "^3.7.0", + "@react-aria/utils": "^3.18.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0" + }, + "dependencies": { + "@react-aria/utils": { + "version": "3.18.0", + "resolved": "https://registry.npmjs.org/@react-aria/utils/-/utils-3.18.0.tgz", + "integrity": "sha512-eLs0ExzXx/D3P9qe6ophJ87ZFcI1oRTyRa51M59pCad7grrpk0gWcYrBjMwcR457YWOQQWCeLuq8QJl2QxCW6Q==", + "requires": { + "@react-aria/ssr": "^3.7.0", + "@react-stately/utils": "^3.7.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0", + "clsx": "^1.1.1" + } + }, + "@react-types/shared": { + "version": "3.18.1", + "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.18.1.tgz", + "integrity": "sha512-OpTYRFS607Ctfd6Tmhyk6t6cbFyDhO5K+etU35X50pMzpypo1b7vF0mkngEeTc0Xwl0e749ONZNPZskMyu5k8w==" + } + } + }, + "@react-aria/ssr": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@react-aria/ssr/-/ssr-3.7.0.tgz", + "integrity": "sha512-bfufjg4ESE5giN+Fxj1XIzS5f/YIhqcGc+Ve+vUUKU8xZ8t/Xtjlv8F3kjqDBQdk//n3mluFY7xG1wQVB9rMLQ==", + "requires": { + "@swc/helpers": "^0.5.0" + } + } + } + }, + "@react-aria/focus": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@react-aria/focus/-/focus-3.7.0.tgz", + "integrity": "sha512-LydZSLBLEUklakM0Ogdk17F3f/Uwaj5Nl1mfcK8HhrroGT8A8XH0KjA9D6gM6JGHgxZemx0ufOgxhQZeBGQMQw==", + "requires": { + "@babel/runtime": "^7.6.2", + "@react-aria/interactions": "^3.10.0", + "@react-aria/utils": "^3.13.2", + "@react-types/shared": "^3.14.0", + "clsx": "^1.1.1" + } + }, + "@react-aria/grid": { + "version": "3.8.0", + "resolved": "https://registry.npmjs.org/@react-aria/grid/-/grid-3.8.0.tgz", + "integrity": "sha512-7z1xFAbLPgUPROrXwuJk94STQPQ/K8rCLshhwTAg70uFVCPNnrm3jxQ6vE/lddPB+yss9Ee33GwSCrEXdzJkTw==", + "requires": { + "@react-aria/focus": "^3.13.0", + "@react-aria/i18n": "^3.8.0", + "@react-aria/interactions": "^3.16.0", + "@react-aria/live-announcer": "^3.3.1", + "@react-aria/selection": "^3.16.0", + "@react-aria/utils": "^3.18.0", + "@react-stately/collections": "^3.9.0", + "@react-stately/grid": "^3.7.0", + "@react-stately/selection": "^3.13.2", + "@react-stately/virtualizer": "^3.6.0", + "@react-types/checkbox": "^3.4.4", + "@react-types/grid": "^3.1.8", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0" + }, + "dependencies": { + "@react-aria/focus": { + "version": "3.13.0", + "resolved": "https://registry.npmjs.org/@react-aria/focus/-/focus-3.13.0.tgz", + "integrity": "sha512-9DW7RqgbFWiImZmkmTIJGe9LrQBqEeLYwlKY+F1FTVXerIPiCCQ3JO3ESEa4lFMmkaHoueFLUrq2jkYjRNqoTw==", + "requires": { + "@react-aria/interactions": "^3.16.0", + "@react-aria/utils": "^3.18.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0", + "clsx": "^1.1.1" + } + }, + "@react-aria/i18n": { + "version": "3.8.0", + "resolved": "https://registry.npmjs.org/@react-aria/i18n/-/i18n-3.8.0.tgz", + "integrity": "sha512-zeohg7d66zPLnGQl1rJuVJJ/gP7GmUMxEKIFRwE+rg2u02ldKxJMSb8QKGo605QpFWqo7CuuWYvKJP5Mj+Em/w==", + "requires": { + "@internationalized/date": "^3.3.0", + "@internationalized/message": "^3.1.1", + "@internationalized/number": "^3.2.1", + "@internationalized/string": "^3.1.1", + "@react-aria/ssr": "^3.7.0", + "@react-aria/utils": "^3.18.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0" + } + }, + "@react-aria/interactions": { + "version": "3.16.0", + "resolved": "https://registry.npmjs.org/@react-aria/interactions/-/interactions-3.16.0.tgz", + "integrity": "sha512-vXANFKVd6ONqNw8U+ZWbSA8lrduCOXw7cWsYosTa5dZ24ZJfRfbhlvRe8CaAKMhB/rOOmvTLaAwdIPia6JtLDg==", + "requires": { + "@react-aria/ssr": "^3.7.0", + "@react-aria/utils": "^3.18.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0" + } + }, + "@react-aria/ssr": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@react-aria/ssr/-/ssr-3.7.0.tgz", + "integrity": "sha512-bfufjg4ESE5giN+Fxj1XIzS5f/YIhqcGc+Ve+vUUKU8xZ8t/Xtjlv8F3kjqDBQdk//n3mluFY7xG1wQVB9rMLQ==", + "requires": { + "@swc/helpers": "^0.5.0" + } + }, + "@react-aria/utils": { + "version": "3.18.0", + "resolved": "https://registry.npmjs.org/@react-aria/utils/-/utils-3.18.0.tgz", + "integrity": "sha512-eLs0ExzXx/D3P9qe6ophJ87ZFcI1oRTyRa51M59pCad7grrpk0gWcYrBjMwcR457YWOQQWCeLuq8QJl2QxCW6Q==", + "requires": { + "@react-aria/ssr": "^3.7.0", + "@react-stately/utils": "^3.7.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0", + "clsx": "^1.1.1" + } + }, + "@react-stately/collections": { + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/@react-stately/collections/-/collections-3.9.0.tgz", + "integrity": "sha512-CBpXSKmCpbIFpIToVFlzo2R1/Cj+dcU8gWw2KfPyyJX+2wHKkDIvtK01EAytDLX/vkE8O+fD5a7qMZ3pf8gpeA==", + "requires": { + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0" + } + }, + "@react-types/checkbox": { + "version": "3.4.4", + "resolved": "https://registry.npmjs.org/@react-types/checkbox/-/checkbox-3.4.4.tgz", + "integrity": "sha512-rJNhbW4R9HTvdbF2oTZmqGiZ/WVP3/XsU4gae7tfdhSYjG+5T5h9zau1vRhz++zwKn57wfcyNn6a83GDhhgkVw==", + "requires": { + "@react-types/shared": "^3.18.1" + } + }, + "@react-types/grid": { + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/@react-types/grid/-/grid-3.1.8.tgz", + "integrity": "sha512-NKk4pDbW2QXJOYnDSAYhta81CGwXOc/9tVw2WFs+1wacvxeKmh1Q+n36uAFcIdQOvVRqeGTJaYiqLFmF3fC3tA==", + "requires": { + "@react-types/shared": "^3.18.1" + } + }, + "@react-types/shared": { + "version": "3.18.1", + "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.18.1.tgz", + "integrity": "sha512-OpTYRFS607Ctfd6Tmhyk6t6cbFyDhO5K+etU35X50pMzpypo1b7vF0mkngEeTc0Xwl0e749ONZNPZskMyu5k8w==" + } + } + }, + "@react-aria/i18n": { + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/@react-aria/i18n/-/i18n-3.6.1.tgz", + "integrity": "sha512-kAetWsj9HOqwaqLhmFU2udhZ+4QGGYkQOgGBJYdrB7GfLZQ1GPBlZjv3QFdkX4oSf/k9cFqgftxvVQQDYZLOew==", + "requires": { + "@babel/runtime": "^7.6.2", + "@internationalized/date": "^3.0.1", + "@internationalized/message": "^3.0.9", + "@internationalized/number": "^3.1.1", + "@internationalized/string": "^3.0.0", + "@react-aria/ssr": "^3.3.0", + "@react-aria/utils": "^3.14.0", + "@react-types/shared": "^3.15.0" + } + }, + "@react-aria/interactions": { + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/@react-aria/interactions/-/interactions-3.12.0.tgz", + "integrity": "sha512-KcKurjPZwme9ggvGQjbjqZtZtuyXipTBVMHUah9a3+Dz7vXxhRg5vFaEdM79oQnNsrGFW5xS6SKBehl/JG6BMw==", + "requires": { + "@babel/runtime": "^7.6.2", + "@react-aria/utils": "^3.14.0", + "@react-types/shared": "^3.15.0" + } + }, + "@react-aria/label": { + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/@react-aria/label/-/label-3.4.2.tgz", + "integrity": "sha512-ctygLrA4yY31440UMZdw21Iz4ogXupLJB5xpTU1KFXcvybSu+H3gvVCOJu1jFwR12bTKnkVogTWT6wwVYH2nFw==", + "requires": { + "@babel/runtime": "^7.6.2", + "@react-aria/utils": "^3.14.0", + "@react-types/label": "^3.7.0", + "@react-types/shared": "^3.15.0" + } + }, + "@react-aria/link": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/@react-aria/link/-/link-3.3.4.tgz", + "integrity": "sha512-Op0usCd5SAg5OHkCl1+TYbsvT/wWhqadd/3Pi0VD0kKmaSy4GhUNJkTo8n0hS2k3vIq+qRq7zwnON2h5eLVkHA==", + "requires": { + "@babel/runtime": "^7.6.2", + "@react-aria/focus": "^3.9.0", + "@react-aria/interactions": "^3.12.0", + "@react-aria/utils": "^3.14.0", + "@react-types/link": "^3.3.4", + "@react-types/shared": "^3.15.0" + }, + "dependencies": { + "@react-aria/focus": { + "version": "3.13.0", + "resolved": "https://registry.npmjs.org/@react-aria/focus/-/focus-3.13.0.tgz", + "integrity": "sha512-9DW7RqgbFWiImZmkmTIJGe9LrQBqEeLYwlKY+F1FTVXerIPiCCQ3JO3ESEa4lFMmkaHoueFLUrq2jkYjRNqoTw==", + "requires": { + "@react-aria/interactions": "^3.16.0", + "@react-aria/utils": "^3.18.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0", + "clsx": "^1.1.1" + }, + "dependencies": { + "@react-aria/interactions": { + "version": "3.16.0", + "resolved": "https://registry.npmjs.org/@react-aria/interactions/-/interactions-3.16.0.tgz", + "integrity": "sha512-vXANFKVd6ONqNw8U+ZWbSA8lrduCOXw7cWsYosTa5dZ24ZJfRfbhlvRe8CaAKMhB/rOOmvTLaAwdIPia6JtLDg==", + "requires": { + "@react-aria/ssr": "^3.7.0", + "@react-aria/utils": "^3.18.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0" + } + }, + "@react-aria/utils": { + "version": "3.18.0", + "resolved": "https://registry.npmjs.org/@react-aria/utils/-/utils-3.18.0.tgz", + "integrity": "sha512-eLs0ExzXx/D3P9qe6ophJ87ZFcI1oRTyRa51M59pCad7grrpk0gWcYrBjMwcR457YWOQQWCeLuq8QJl2QxCW6Q==", + "requires": { + "@react-aria/ssr": "^3.7.0", + "@react-stately/utils": "^3.7.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0", + "clsx": "^1.1.1" + } + }, + "@react-types/shared": { + "version": "3.18.1", + "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.18.1.tgz", + "integrity": "sha512-OpTYRFS607Ctfd6Tmhyk6t6cbFyDhO5K+etU35X50pMzpypo1b7vF0mkngEeTc0Xwl0e749ONZNPZskMyu5k8w==" + } + } + }, + "@react-aria/ssr": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@react-aria/ssr/-/ssr-3.7.0.tgz", + "integrity": "sha512-bfufjg4ESE5giN+Fxj1XIzS5f/YIhqcGc+Ve+vUUKU8xZ8t/Xtjlv8F3kjqDBQdk//n3mluFY7xG1wQVB9rMLQ==", + "requires": { + "@swc/helpers": "^0.5.0" + } + } + } + }, + "@react-aria/live-announcer": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/@react-aria/live-announcer/-/live-announcer-3.3.1.tgz", + "integrity": "sha512-hsc77U7S16trM86d+peqJCOCQ7/smO1cybgdpOuzXyiwcHQw8RQ4GrXrS37P4Ux/44E9nMZkOwATQRT2aK8+Ew==", + "requires": { + "@swc/helpers": "^0.5.0" + } + }, + "@react-aria/menu": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/@react-aria/menu/-/menu-3.6.2.tgz", + "integrity": "sha512-uBZHGuFAtOdoocBVZzoBpZQFJmkt5axlEUKjBgh2BuR5JX8aZiSxyKnfgAeb3aDEi9PZpOp6RWxHzOMBRg4TsA==", + "requires": { + "@babel/runtime": "^7.6.2", + "@react-aria/i18n": "^3.6.1", + "@react-aria/interactions": "^3.12.0", + "@react-aria/overlays": "^3.11.0", + "@react-aria/selection": "^3.11.0", + "@react-aria/utils": "^3.14.0", + "@react-stately/collections": "^3.4.4", + "@react-stately/menu": "^3.4.2", + "@react-stately/tree": "^3.3.4", + "@react-types/button": "^3.6.2", + "@react-types/menu": "^3.7.2", + "@react-types/shared": "^3.15.0" + } + }, + "@react-aria/overlays": { + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/@react-aria/overlays/-/overlays-3.11.0.tgz", + "integrity": "sha512-NqLqxSiEW9AuUPcEHCIp2lHH1moNxlkP0CkuUMkT2/T5MCPm/Iq+uD53VSR+NyeCWU/aGH3ykj2kq9NSITJkOA==", + "requires": { + "@babel/runtime": "^7.6.2", + "@react-aria/focus": "^3.9.0", + "@react-aria/i18n": "^3.6.1", + "@react-aria/interactions": "^3.12.0", + "@react-aria/ssr": "^3.3.0", + "@react-aria/utils": "^3.14.0", + "@react-aria/visually-hidden": "^3.5.0", + "@react-stately/overlays": "^3.4.2", + "@react-types/button": "^3.6.2", + "@react-types/overlays": "^3.6.4", + "@react-types/shared": "^3.15.0" + }, + "dependencies": { + "@react-aria/focus": { + "version": "3.13.0", + "resolved": "https://registry.npmjs.org/@react-aria/focus/-/focus-3.13.0.tgz", + "integrity": "sha512-9DW7RqgbFWiImZmkmTIJGe9LrQBqEeLYwlKY+F1FTVXerIPiCCQ3JO3ESEa4lFMmkaHoueFLUrq2jkYjRNqoTw==", + "requires": { + "@react-aria/interactions": "^3.16.0", + "@react-aria/utils": "^3.18.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0", + "clsx": "^1.1.1" + }, + "dependencies": { + "@react-aria/interactions": { + "version": "3.16.0", + "resolved": "https://registry.npmjs.org/@react-aria/interactions/-/interactions-3.16.0.tgz", + "integrity": "sha512-vXANFKVd6ONqNw8U+ZWbSA8lrduCOXw7cWsYosTa5dZ24ZJfRfbhlvRe8CaAKMhB/rOOmvTLaAwdIPia6JtLDg==", + "requires": { + "@react-aria/ssr": "^3.7.0", + "@react-aria/utils": "^3.18.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0" + } + }, + "@react-aria/ssr": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@react-aria/ssr/-/ssr-3.7.0.tgz", + "integrity": "sha512-bfufjg4ESE5giN+Fxj1XIzS5f/YIhqcGc+Ve+vUUKU8xZ8t/Xtjlv8F3kjqDBQdk//n3mluFY7xG1wQVB9rMLQ==", + "requires": { + "@swc/helpers": "^0.5.0" + } + }, + "@react-aria/utils": { + "version": "3.18.0", + "resolved": "https://registry.npmjs.org/@react-aria/utils/-/utils-3.18.0.tgz", + "integrity": "sha512-eLs0ExzXx/D3P9qe6ophJ87ZFcI1oRTyRa51M59pCad7grrpk0gWcYrBjMwcR457YWOQQWCeLuq8QJl2QxCW6Q==", + "requires": { + "@react-aria/ssr": "^3.7.0", + "@react-stately/utils": "^3.7.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0", + "clsx": "^1.1.1" + } + }, + "@react-types/shared": { + "version": "3.18.1", + "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.18.1.tgz", + "integrity": "sha512-OpTYRFS607Ctfd6Tmhyk6t6cbFyDhO5K+etU35X50pMzpypo1b7vF0mkngEeTc0Xwl0e749ONZNPZskMyu5k8w==" + } + } + } + } + }, + "@react-aria/radio": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/@react-aria/radio/-/radio-3.4.0.tgz", + "integrity": "sha512-DUccHQxfI0PikXXQKarh/hLS/G+ZzfdQ00/sd57jzWsuRyukb+WywQhud29p5uO3wT33/MH9LZgSmb9dlvfabQ==", + "requires": { + "@babel/runtime": "^7.6.2", + "@react-aria/focus": "^3.9.0", + "@react-aria/i18n": "^3.6.1", + "@react-aria/interactions": "^3.12.0", + "@react-aria/label": "^3.4.2", + "@react-aria/utils": "^3.14.0", + "@react-stately/radio": "^3.6.0", + "@react-types/radio": "^3.3.0", + "@react-types/shared": "^3.15.0" + }, + "dependencies": { + "@react-aria/focus": { + "version": "3.13.0", + "resolved": "https://registry.npmjs.org/@react-aria/focus/-/focus-3.13.0.tgz", + "integrity": "sha512-9DW7RqgbFWiImZmkmTIJGe9LrQBqEeLYwlKY+F1FTVXerIPiCCQ3JO3ESEa4lFMmkaHoueFLUrq2jkYjRNqoTw==", + "requires": { + "@react-aria/interactions": "^3.16.0", + "@react-aria/utils": "^3.18.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0", + "clsx": "^1.1.1" + }, + "dependencies": { + "@react-aria/interactions": { + "version": "3.16.0", + "resolved": "https://registry.npmjs.org/@react-aria/interactions/-/interactions-3.16.0.tgz", + "integrity": "sha512-vXANFKVd6ONqNw8U+ZWbSA8lrduCOXw7cWsYosTa5dZ24ZJfRfbhlvRe8CaAKMhB/rOOmvTLaAwdIPia6JtLDg==", + "requires": { + "@react-aria/ssr": "^3.7.0", + "@react-aria/utils": "^3.18.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0" + } + }, + "@react-aria/utils": { + "version": "3.18.0", + "resolved": "https://registry.npmjs.org/@react-aria/utils/-/utils-3.18.0.tgz", + "integrity": "sha512-eLs0ExzXx/D3P9qe6ophJ87ZFcI1oRTyRa51M59pCad7grrpk0gWcYrBjMwcR457YWOQQWCeLuq8QJl2QxCW6Q==", + "requires": { + "@react-aria/ssr": "^3.7.0", + "@react-stately/utils": "^3.7.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0", + "clsx": "^1.1.1" + } + }, + "@react-types/shared": { + "version": "3.18.1", + "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.18.1.tgz", + "integrity": "sha512-OpTYRFS607Ctfd6Tmhyk6t6cbFyDhO5K+etU35X50pMzpypo1b7vF0mkngEeTc0Xwl0e749ONZNPZskMyu5k8w==" + } + } + }, + "@react-aria/ssr": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@react-aria/ssr/-/ssr-3.7.0.tgz", + "integrity": "sha512-bfufjg4ESE5giN+Fxj1XIzS5f/YIhqcGc+Ve+vUUKU8xZ8t/Xtjlv8F3kjqDBQdk//n3mluFY7xG1wQVB9rMLQ==", + "requires": { + "@swc/helpers": "^0.5.0" + } + } + } + }, + "@react-aria/selection": { + "version": "3.16.0", + "resolved": "https://registry.npmjs.org/@react-aria/selection/-/selection-3.16.0.tgz", + "integrity": "sha512-qQ4X0+wtLz0+qjsoj1T0hVehA0CbZdu0Ax+lCzWmj+ZDivtdeNpVQl+K0yj9p95MnzLgIbnY7zU2zDQrYqKDOQ==", + "requires": { + "@react-aria/focus": "^3.13.0", + "@react-aria/i18n": "^3.8.0", + "@react-aria/interactions": "^3.16.0", + "@react-aria/utils": "^3.18.0", + "@react-stately/collections": "^3.9.0", + "@react-stately/selection": "^3.13.2", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0" + }, + "dependencies": { + "@react-aria/focus": { + "version": "3.13.0", + "resolved": "https://registry.npmjs.org/@react-aria/focus/-/focus-3.13.0.tgz", + "integrity": "sha512-9DW7RqgbFWiImZmkmTIJGe9LrQBqEeLYwlKY+F1FTVXerIPiCCQ3JO3ESEa4lFMmkaHoueFLUrq2jkYjRNqoTw==", + "requires": { + "@react-aria/interactions": "^3.16.0", + "@react-aria/utils": "^3.18.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0", + "clsx": "^1.1.1" + } + }, + "@react-aria/i18n": { + "version": "3.8.0", + "resolved": "https://registry.npmjs.org/@react-aria/i18n/-/i18n-3.8.0.tgz", + "integrity": "sha512-zeohg7d66zPLnGQl1rJuVJJ/gP7GmUMxEKIFRwE+rg2u02ldKxJMSb8QKGo605QpFWqo7CuuWYvKJP5Mj+Em/w==", + "requires": { + "@internationalized/date": "^3.3.0", + "@internationalized/message": "^3.1.1", + "@internationalized/number": "^3.2.1", + "@internationalized/string": "^3.1.1", + "@react-aria/ssr": "^3.7.0", + "@react-aria/utils": "^3.18.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0" + } + }, + "@react-aria/interactions": { + "version": "3.16.0", + "resolved": "https://registry.npmjs.org/@react-aria/interactions/-/interactions-3.16.0.tgz", + "integrity": "sha512-vXANFKVd6ONqNw8U+ZWbSA8lrduCOXw7cWsYosTa5dZ24ZJfRfbhlvRe8CaAKMhB/rOOmvTLaAwdIPia6JtLDg==", + "requires": { + "@react-aria/ssr": "^3.7.0", + "@react-aria/utils": "^3.18.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0" + } + }, + "@react-aria/ssr": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@react-aria/ssr/-/ssr-3.7.0.tgz", + "integrity": "sha512-bfufjg4ESE5giN+Fxj1XIzS5f/YIhqcGc+Ve+vUUKU8xZ8t/Xtjlv8F3kjqDBQdk//n3mluFY7xG1wQVB9rMLQ==", + "requires": { + "@swc/helpers": "^0.5.0" + } + }, + "@react-aria/utils": { + "version": "3.18.0", + "resolved": "https://registry.npmjs.org/@react-aria/utils/-/utils-3.18.0.tgz", + "integrity": "sha512-eLs0ExzXx/D3P9qe6ophJ87ZFcI1oRTyRa51M59pCad7grrpk0gWcYrBjMwcR457YWOQQWCeLuq8QJl2QxCW6Q==", + "requires": { + "@react-aria/ssr": "^3.7.0", + "@react-stately/utils": "^3.7.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0", + "clsx": "^1.1.1" + } + }, + "@react-stately/collections": { + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/@react-stately/collections/-/collections-3.9.0.tgz", + "integrity": "sha512-CBpXSKmCpbIFpIToVFlzo2R1/Cj+dcU8gWw2KfPyyJX+2wHKkDIvtK01EAytDLX/vkE8O+fD5a7qMZ3pf8gpeA==", + "requires": { + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0" + } + }, + "@react-types/shared": { + "version": "3.18.1", + "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.18.1.tgz", + "integrity": "sha512-OpTYRFS607Ctfd6Tmhyk6t6cbFyDhO5K+etU35X50pMzpypo1b7vF0mkngEeTc0Xwl0e749ONZNPZskMyu5k8w==" + } + } + }, + "@react-aria/ssr": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/@react-aria/ssr/-/ssr-3.3.0.tgz", + "integrity": "sha512-yNqUDuOVZIUGP81R87BJVi/ZUZp/nYOBXbPsRe7oltJOfErQZD+UezMpw4vM2KRz18cURffvmC8tJ6JTeyDtaQ==", + "requires": { + "@babel/runtime": "^7.6.2" + } + }, + "@react-aria/table": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/@react-aria/table/-/table-3.5.0.tgz", + "integrity": "sha512-oYcsIEYbbjAzojRWUsAdtfxPzlEKBmk6o4svDHnGqC9HSj8/yExn8b8RB0veDP7E+5IdO62pUwUy48jBwWu2uw==", + "requires": { + "@babel/runtime": "^7.6.2", + "@react-aria/focus": "^3.9.0", + "@react-aria/grid": "^3.5.0", + "@react-aria/i18n": "^3.6.1", + "@react-aria/interactions": "^3.12.0", + "@react-aria/live-announcer": "^3.1.1", + "@react-aria/selection": "^3.11.0", + "@react-aria/utils": "^3.14.0", + "@react-stately/table": "^3.5.0", + "@react-stately/virtualizer": "^3.3.1", + "@react-types/checkbox": "^3.4.0", + "@react-types/grid": "^3.1.4", + "@react-types/shared": "^3.15.0", + "@react-types/table": "^3.3.2" + }, + "dependencies": { + "@react-aria/focus": { + "version": "3.13.0", + "resolved": "https://registry.npmjs.org/@react-aria/focus/-/focus-3.13.0.tgz", + "integrity": "sha512-9DW7RqgbFWiImZmkmTIJGe9LrQBqEeLYwlKY+F1FTVXerIPiCCQ3JO3ESEa4lFMmkaHoueFLUrq2jkYjRNqoTw==", + "requires": { + "@react-aria/interactions": "^3.16.0", + "@react-aria/utils": "^3.18.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0", + "clsx": "^1.1.1" + }, + "dependencies": { + "@react-aria/interactions": { + "version": "3.16.0", + "resolved": "https://registry.npmjs.org/@react-aria/interactions/-/interactions-3.16.0.tgz", + "integrity": "sha512-vXANFKVd6ONqNw8U+ZWbSA8lrduCOXw7cWsYosTa5dZ24ZJfRfbhlvRe8CaAKMhB/rOOmvTLaAwdIPia6JtLDg==", + "requires": { + "@react-aria/ssr": "^3.7.0", + "@react-aria/utils": "^3.18.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0" + } + }, + "@react-aria/utils": { + "version": "3.18.0", + "resolved": "https://registry.npmjs.org/@react-aria/utils/-/utils-3.18.0.tgz", + "integrity": "sha512-eLs0ExzXx/D3P9qe6ophJ87ZFcI1oRTyRa51M59pCad7grrpk0gWcYrBjMwcR457YWOQQWCeLuq8QJl2QxCW6Q==", + "requires": { + "@react-aria/ssr": "^3.7.0", + "@react-stately/utils": "^3.7.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0", + "clsx": "^1.1.1" + } + }, + "@react-types/shared": { + "version": "3.18.1", + "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.18.1.tgz", + "integrity": "sha512-OpTYRFS607Ctfd6Tmhyk6t6cbFyDhO5K+etU35X50pMzpypo1b7vF0mkngEeTc0Xwl0e749ONZNPZskMyu5k8w==" + } + } + }, + "@react-aria/ssr": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@react-aria/ssr/-/ssr-3.7.0.tgz", + "integrity": "sha512-bfufjg4ESE5giN+Fxj1XIzS5f/YIhqcGc+Ve+vUUKU8xZ8t/Xtjlv8F3kjqDBQdk//n3mluFY7xG1wQVB9rMLQ==", + "requires": { + "@swc/helpers": "^0.5.0" + } + } + } + }, + "@react-aria/toggle": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/@react-aria/toggle/-/toggle-3.6.2.tgz", + "integrity": "sha512-bRz/ybajeLEsJLt1ARRL7CtWs6bwvkNLWy/wpJnH2TJ3+lMpH+EKbWBVJoAP7wQ5jIVVpxKJLhpf6w6x8ZLtdw==", + "requires": { + "@react-aria/focus": "^3.13.0", + "@react-aria/interactions": "^3.16.0", + "@react-aria/utils": "^3.18.0", + "@react-stately/toggle": "^3.6.0", + "@react-types/checkbox": "^3.4.4", + "@react-types/shared": "^3.18.1", + "@react-types/switch": "^3.3.2", + "@swc/helpers": "^0.5.0" + }, + "dependencies": { + "@react-aria/focus": { + "version": "3.13.0", + "resolved": "https://registry.npmjs.org/@react-aria/focus/-/focus-3.13.0.tgz", + "integrity": "sha512-9DW7RqgbFWiImZmkmTIJGe9LrQBqEeLYwlKY+F1FTVXerIPiCCQ3JO3ESEa4lFMmkaHoueFLUrq2jkYjRNqoTw==", + "requires": { + "@react-aria/interactions": "^3.16.0", + "@react-aria/utils": "^3.18.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0", + "clsx": "^1.1.1" + } + }, + "@react-aria/interactions": { + "version": "3.16.0", + "resolved": "https://registry.npmjs.org/@react-aria/interactions/-/interactions-3.16.0.tgz", + "integrity": "sha512-vXANFKVd6ONqNw8U+ZWbSA8lrduCOXw7cWsYosTa5dZ24ZJfRfbhlvRe8CaAKMhB/rOOmvTLaAwdIPia6JtLDg==", + "requires": { + "@react-aria/ssr": "^3.7.0", + "@react-aria/utils": "^3.18.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0" + } + }, + "@react-aria/ssr": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@react-aria/ssr/-/ssr-3.7.0.tgz", + "integrity": "sha512-bfufjg4ESE5giN+Fxj1XIzS5f/YIhqcGc+Ve+vUUKU8xZ8t/Xtjlv8F3kjqDBQdk//n3mluFY7xG1wQVB9rMLQ==", + "requires": { + "@swc/helpers": "^0.5.0" + } + }, + "@react-aria/utils": { + "version": "3.18.0", + "resolved": "https://registry.npmjs.org/@react-aria/utils/-/utils-3.18.0.tgz", + "integrity": "sha512-eLs0ExzXx/D3P9qe6ophJ87ZFcI1oRTyRa51M59pCad7grrpk0gWcYrBjMwcR457YWOQQWCeLuq8QJl2QxCW6Q==", + "requires": { + "@react-aria/ssr": "^3.7.0", + "@react-stately/utils": "^3.7.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0", + "clsx": "^1.1.1" + } + }, + "@react-stately/toggle": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/@react-stately/toggle/-/toggle-3.6.0.tgz", + "integrity": "sha512-w+Aqh78H9MLs0FDUYTjAzYhrHQWaDJ2zWjyg2oYcSvERES0+D0obmPvtJLWsFrJ8fHJrTmxd7ezVFBY9BbPeFQ==", + "requires": { + "@react-stately/utils": "^3.7.0", + "@react-types/checkbox": "^3.4.4", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0" + } + }, + "@react-types/checkbox": { + "version": "3.4.4", + "resolved": "https://registry.npmjs.org/@react-types/checkbox/-/checkbox-3.4.4.tgz", + "integrity": "sha512-rJNhbW4R9HTvdbF2oTZmqGiZ/WVP3/XsU4gae7tfdhSYjG+5T5h9zau1vRhz++zwKn57wfcyNn6a83GDhhgkVw==", + "requires": { + "@react-types/shared": "^3.18.1" + } + }, + "@react-types/shared": { + "version": "3.18.1", + "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.18.1.tgz", + "integrity": "sha512-OpTYRFS607Ctfd6Tmhyk6t6cbFyDhO5K+etU35X50pMzpypo1b7vF0mkngEeTc0Xwl0e749ONZNPZskMyu5k8w==" + } + } + }, + "@react-aria/utils": { + "version": "3.14.0", + "resolved": "https://registry.npmjs.org/@react-aria/utils/-/utils-3.14.0.tgz", + "integrity": "sha512-DHgmwNBNEhnb6DEYYAfbt99wprBqJJOBBeIpQ2g3+pxwlw4BZ+v4Qr+rDD0ZibWV0mYzt8zOhZ9StpId7iTF0Q==", + "requires": { + "@babel/runtime": "^7.6.2", + "@react-aria/ssr": "^3.3.0", + "@react-stately/utils": "^3.5.1", + "@react-types/shared": "^3.15.0", + "clsx": "^1.1.1" + } + }, + "@react-aria/visually-hidden": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/@react-aria/visually-hidden/-/visually-hidden-3.5.0.tgz", + "integrity": "sha512-tF/kCZCGv1yebwgH21cKbhjSV5CmB5/SAHOUM5YkO5V/lIFjaPtywcamIPI8F0JSfrwGF/Z9EqvqBxvIYGRlCA==", + "requires": { + "@babel/runtime": "^7.6.2", + "@react-aria/interactions": "^3.12.0", + "@react-aria/utils": "^3.14.0", + "@react-types/shared": "^3.15.0", + "clsx": "^1.1.1" + } + }, + "@react-stately/checkbox": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/@react-stately/checkbox/-/checkbox-3.3.0.tgz", + "integrity": "sha512-hYFJzEoreAmUKkcgd3ErDXtEqp65pfawfcygOr/3pe7MUGzl+MaauVUOg6Dh02Bxt+mdSX4mQXbJSfvm+8bmfA==", + "requires": { + "@babel/runtime": "^7.6.2", + "@react-stately/toggle": "^3.4.2", + "@react-stately/utils": "^3.5.1", + "@react-types/checkbox": "^3.4.0", + "@react-types/shared": "^3.15.0" + } + }, + "@react-stately/collections": { + "version": "3.4.4", + "resolved": "https://registry.npmjs.org/@react-stately/collections/-/collections-3.4.4.tgz", + "integrity": "sha512-gryUYCe6uzqE0ea5frTwOxOPpx/6Z42PRk7KetOh3ddN3Ts0j8XQP08jP1IB/7BC1QidrkHWvDCqGHxRiEjiIg==", + "requires": { + "@babel/runtime": "^7.6.2", + "@react-types/shared": "^3.15.0" + } + }, + "@react-stately/data": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@react-stately/data/-/data-3.7.0.tgz", + "integrity": "sha512-+u5rKjraR7R6aMMXSDwH61jRRELnGGWr6xMFlk6G9fr8uAmil+AWrv8Dh8nZlJfy5I2hT1d8lbS9j5TRp/QFKg==", + "requires": { + "@babel/runtime": "^7.6.2", + "@react-types/shared": "^3.15.0" + } + }, + "@react-stately/grid": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@react-stately/grid/-/grid-3.7.0.tgz", + "integrity": "sha512-3eb7+7p9Xh/+luUOyieY2bM4CsARA8WnRB7c2++gh4dh9AEpZV4VGICGTe35+dJYr+9pbYQqVMEcEFUOaJJzZw==", + "requires": { + "@react-stately/collections": "^3.9.0", + "@react-stately/selection": "^3.13.2", + "@react-types/grid": "^3.1.8", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0" + }, + "dependencies": { + "@react-stately/collections": { + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/@react-stately/collections/-/collections-3.9.0.tgz", + "integrity": "sha512-CBpXSKmCpbIFpIToVFlzo2R1/Cj+dcU8gWw2KfPyyJX+2wHKkDIvtK01EAytDLX/vkE8O+fD5a7qMZ3pf8gpeA==", + "requires": { + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0" + } + }, + "@react-types/grid": { + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/@react-types/grid/-/grid-3.1.8.tgz", + "integrity": "sha512-NKk4pDbW2QXJOYnDSAYhta81CGwXOc/9tVw2WFs+1wacvxeKmh1Q+n36uAFcIdQOvVRqeGTJaYiqLFmF3fC3tA==", + "requires": { + "@react-types/shared": "^3.18.1" + } + }, + "@react-types/shared": { + "version": "3.18.1", + "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.18.1.tgz", + "integrity": "sha512-OpTYRFS607Ctfd6Tmhyk6t6cbFyDhO5K+etU35X50pMzpypo1b7vF0mkngEeTc0Xwl0e749ONZNPZskMyu5k8w==" + } + } + }, + "@react-stately/menu": { + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/@react-stately/menu/-/menu-3.4.2.tgz", + "integrity": "sha512-vFC8EloVEcqf6sgiP6ABIkC41ytjoJiGtj7Ws5OS7PvZNyxxDgJr4V0O3Pxd1T0AjlHCloBbojnvoTRwZiSr/A==", + "requires": { + "@babel/runtime": "^7.6.2", + "@react-stately/overlays": "^3.4.2", + "@react-stately/utils": "^3.5.1", + "@react-types/menu": "^3.7.2", + "@react-types/shared": "^3.15.0" + } + }, + "@react-stately/overlays": { + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/@react-stately/overlays/-/overlays-3.4.2.tgz", + "integrity": "sha512-UTCnn0aT+JL4ZhYPQYUWHwhmuR2T3vKTFUEZeZN9sTuDCctg08VfGoASJx8qofqkLwYJXeb8D5PMhhTDPiUQPw==", + "requires": { + "@babel/runtime": "^7.6.2", + "@react-stately/utils": "^3.5.1", + "@react-types/overlays": "^3.6.4" + } + }, + "@react-stately/radio": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/@react-stately/radio/-/radio-3.6.0.tgz", + "integrity": "sha512-hzNwIapDSnbk5mCim/AgHQTtHRgy2QiW95okfVnGflzO7nnws8WH/s2Va4f7UupWObPv8XTqHADUEng86mVBJA==", + "requires": { + "@babel/runtime": "^7.6.2", + "@react-stately/utils": "^3.5.1", + "@react-types/radio": "^3.3.0", + "@react-types/shared": "^3.15.0" + } + }, + "@react-stately/selection": { + "version": "3.13.2", + "resolved": "https://registry.npmjs.org/@react-stately/selection/-/selection-3.13.2.tgz", + "integrity": "sha512-rVnseneG9XWuS0+JEsa0EhRfTZsupm9JiEuZHZ19YeLewjVdFpjgBMDZb8ZYoyilNXVjyUwaoq94FsOXotsg9w==", + "requires": { + "@react-stately/collections": "^3.9.0", + "@react-stately/utils": "^3.7.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0" + }, + "dependencies": { + "@react-stately/collections": { + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/@react-stately/collections/-/collections-3.9.0.tgz", + "integrity": "sha512-CBpXSKmCpbIFpIToVFlzo2R1/Cj+dcU8gWw2KfPyyJX+2wHKkDIvtK01EAytDLX/vkE8O+fD5a7qMZ3pf8gpeA==", + "requires": { + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0" + } + }, + "@react-types/shared": { + "version": "3.18.1", + "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.18.1.tgz", + "integrity": "sha512-OpTYRFS607Ctfd6Tmhyk6t6cbFyDhO5K+etU35X50pMzpypo1b7vF0mkngEeTc0Xwl0e749ONZNPZskMyu5k8w==" + } + } + }, + "@react-stately/table": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/@react-stately/table/-/table-3.5.0.tgz", + "integrity": "sha512-C0HFfKMCOomqPtRCPs85AtoJGPnGu9mzFfwksFxAssdIatw3t66h5SJS0vSSql7Ku9h70scmvJR+nIOckx0IeA==", + "requires": { + "@babel/runtime": "^7.6.2", + "@react-stately/collections": "^3.4.4", + "@react-stately/grid": "^3.4.0", + "@react-stately/selection": "^3.11.0", + "@react-types/grid": "^3.1.4", + "@react-types/shared": "^3.15.0", + "@react-types/table": "^3.3.2" + } + }, + "@react-stately/toggle": { + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/@react-stately/toggle/-/toggle-3.4.2.tgz", + "integrity": "sha512-+pO13Ap/tj4optu6VjQrEAaAoZvJAEwarMUaZvrkc0kdvMTNPdiT/2vhN32yvsSW0ssuFqToa3jMrTylCbpo8w==", + "requires": { + "@babel/runtime": "^7.6.2", + "@react-stately/utils": "^3.5.1", + "@react-types/checkbox": "^3.4.0", + "@react-types/shared": "^3.15.0" + } + }, + "@react-stately/tree": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/@react-stately/tree/-/tree-3.3.4.tgz", + "integrity": "sha512-CBgXvwa9qYBsJuxrAiVgGnm48eSxLe/6OjPMwH1pWf4s383Mx73MbbN4fS0oWDeXBVgdqz5/Xg/p8nvPIvl3WQ==", + "requires": { + "@babel/runtime": "^7.6.2", + "@react-stately/collections": "^3.4.4", + "@react-stately/selection": "^3.11.0", + "@react-stately/utils": "^3.5.1", + "@react-types/shared": "^3.15.0" + } + }, + "@react-stately/utils": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@react-stately/utils/-/utils-3.7.0.tgz", + "integrity": "sha512-VbApRiUV2rhozOfk0Qj9xt0qjVbQfLTgAzXLdrfeZSBnyIgo1bFRnjDpnDZKZUUCeGQcJJI03I9niaUtY+kwJQ==", + "requires": { + "@swc/helpers": "^0.5.0" + } + }, + "@react-stately/virtualizer": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/@react-stately/virtualizer/-/virtualizer-3.6.0.tgz", + "integrity": "sha512-f78BQT9ZSD5Hpqf6axRoNQJFqV+JjMSV2VixMfhIAcqi/fn8rEN2j3g4SPdFzTtFf2FR3+AKdBFu5tsgtk1Tgw==", + "requires": { + "@react-aria/utils": "^3.18.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0" + }, + "dependencies": { + "@react-aria/ssr": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@react-aria/ssr/-/ssr-3.7.0.tgz", + "integrity": "sha512-bfufjg4ESE5giN+Fxj1XIzS5f/YIhqcGc+Ve+vUUKU8xZ8t/Xtjlv8F3kjqDBQdk//n3mluFY7xG1wQVB9rMLQ==", + "requires": { + "@swc/helpers": "^0.5.0" + } + }, + "@react-aria/utils": { + "version": "3.18.0", + "resolved": "https://registry.npmjs.org/@react-aria/utils/-/utils-3.18.0.tgz", + "integrity": "sha512-eLs0ExzXx/D3P9qe6ophJ87ZFcI1oRTyRa51M59pCad7grrpk0gWcYrBjMwcR457YWOQQWCeLuq8QJl2QxCW6Q==", + "requires": { + "@react-aria/ssr": "^3.7.0", + "@react-stately/utils": "^3.7.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0", + "clsx": "^1.1.1" + } + }, + "@react-types/shared": { + "version": "3.18.1", + "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.18.1.tgz", + "integrity": "sha512-OpTYRFS607Ctfd6Tmhyk6t6cbFyDhO5K+etU35X50pMzpypo1b7vF0mkngEeTc0Xwl0e749ONZNPZskMyu5k8w==" + } + } + }, + "@react-types/button": { + "version": "3.7.3", + "resolved": "https://registry.npmjs.org/@react-types/button/-/button-3.7.3.tgz", + "integrity": "sha512-Fz1t/kYinHDunmct3tADD2h3UDBPZUfRE+zCzYiymz0g+v/zYHTAqnkWToTF9ptf8HIB5L2Z2VFYpeUHFfpWzg==", + "requires": { + "@react-types/shared": "^3.18.1" + }, + "dependencies": { + "@react-types/shared": { + "version": "3.18.1", + "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.18.1.tgz", + "integrity": "sha512-OpTYRFS607Ctfd6Tmhyk6t6cbFyDhO5K+etU35X50pMzpypo1b7vF0mkngEeTc0Xwl0e749ONZNPZskMyu5k8w==" + } + } + }, + "@react-types/checkbox": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/@react-types/checkbox/-/checkbox-3.4.0.tgz", + "integrity": "sha512-ZDqbtAYWWSGPjL4ydinaWHrD65Qft9yEGA6BCKQTxdJCgxiXxgGkA3pI7Sxwk+OulR+O0CYJ1JROExM9cSJyyQ==", + "requires": { + "@react-types/shared": "^3.15.0" + } + }, + "@react-types/dialog": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/@react-types/dialog/-/dialog-3.5.3.tgz", + "integrity": "sha512-iTdg+UZiJpJe7Rnu9eILf8Hcd9li0Kg2eg8ba8dIc1O++ymqPmrdPWj9wj1JB9cl94E2Yg4w3W5YINiLXkdoeA==", + "requires": { + "@react-types/overlays": "^3.8.0", + "@react-types/shared": "^3.18.1" + }, + "dependencies": { + "@react-types/overlays": { + "version": "3.8.0", + "resolved": "https://registry.npmjs.org/@react-types/overlays/-/overlays-3.8.0.tgz", + "integrity": "sha512-0JxwUW3xwXjsT+nVI5dVE1KUm8QKxnQj9vjqgsazX213+klRd/QdeuFJgcbxzCVFOS/mLkP4o/ATjxt4+1eQsA==", + "requires": { + "@react-types/shared": "^3.18.1" + } + }, + "@react-types/shared": { + "version": "3.18.1", + "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.18.1.tgz", + "integrity": "sha512-OpTYRFS607Ctfd6Tmhyk6t6cbFyDhO5K+etU35X50pMzpypo1b7vF0mkngEeTc0Xwl0e749ONZNPZskMyu5k8w==" + } + } + }, + "@react-types/grid": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/@react-types/grid/-/grid-3.1.4.tgz", + "integrity": "sha512-i9f2VEnlex5BFV/AdSUGg71xoukn2i/XT2VLxUXUagy23gFxKJk9Xr3BT9bw+pRRLPwm/Ib+h9ELUdgi8lUAKA==", + "requires": { + "@react-types/shared": "^3.15.0" + } + }, + "@react-types/label": { + "version": "3.7.4", + "resolved": "https://registry.npmjs.org/@react-types/label/-/label-3.7.4.tgz", + "integrity": "sha512-SfTqPRI39GE3GFD5ZGYEeX9jXQrNqDeaaI36PJhnbgGVFz96oVVkhy9t9c2bMHcbhLLENYIHMzxrvVqXS07e7A==", + "requires": { + "@react-types/shared": "^3.18.1" + }, + "dependencies": { + "@react-types/shared": { + "version": "3.18.1", + "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.18.1.tgz", + "integrity": "sha512-OpTYRFS607Ctfd6Tmhyk6t6cbFyDhO5K+etU35X50pMzpypo1b7vF0mkngEeTc0Xwl0e749ONZNPZskMyu5k8w==" + } + } + }, + "@react-types/link": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/@react-types/link/-/link-3.4.3.tgz", + "integrity": "sha512-opKfkcaeV0cir64jPcy7DS0BrmdfuWMjua+MSeNv7FfT/b65rFgPfAOKZcvLWDsaxT5HYb7pivYPBfjKqHsQKw==", + "requires": { + "@react-aria/interactions": "^3.16.0", + "@react-types/shared": "^3.18.1" + }, + "dependencies": { + "@react-aria/interactions": { + "version": "3.16.0", + "resolved": "https://registry.npmjs.org/@react-aria/interactions/-/interactions-3.16.0.tgz", + "integrity": "sha512-vXANFKVd6ONqNw8U+ZWbSA8lrduCOXw7cWsYosTa5dZ24ZJfRfbhlvRe8CaAKMhB/rOOmvTLaAwdIPia6JtLDg==", + "requires": { + "@react-aria/ssr": "^3.7.0", + "@react-aria/utils": "^3.18.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0" + } + }, + "@react-aria/ssr": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@react-aria/ssr/-/ssr-3.7.0.tgz", + "integrity": "sha512-bfufjg4ESE5giN+Fxj1XIzS5f/YIhqcGc+Ve+vUUKU8xZ8t/Xtjlv8F3kjqDBQdk//n3mluFY7xG1wQVB9rMLQ==", + "requires": { + "@swc/helpers": "^0.5.0" + } + }, + "@react-aria/utils": { + "version": "3.18.0", + "resolved": "https://registry.npmjs.org/@react-aria/utils/-/utils-3.18.0.tgz", + "integrity": "sha512-eLs0ExzXx/D3P9qe6ophJ87ZFcI1oRTyRa51M59pCad7grrpk0gWcYrBjMwcR457YWOQQWCeLuq8QJl2QxCW6Q==", + "requires": { + "@react-aria/ssr": "^3.7.0", + "@react-stately/utils": "^3.7.0", + "@react-types/shared": "^3.18.1", + "@swc/helpers": "^0.5.0", + "clsx": "^1.1.1" + } + }, + "@react-types/shared": { + "version": "3.18.1", + "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.18.1.tgz", + "integrity": "sha512-OpTYRFS607Ctfd6Tmhyk6t6cbFyDhO5K+etU35X50pMzpypo1b7vF0mkngEeTc0Xwl0e749ONZNPZskMyu5k8w==" + } + } + }, + "@react-types/menu": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/@react-types/menu/-/menu-3.7.2.tgz", + "integrity": "sha512-BXMWrT3VCP6NTf0y7v1YYqRJNXkUKLzGXI+n7Qv9+aiZZfd3NNMyk20byHczhFoT2yuCcU5xhyOXzkxSo6ew3A==", + "requires": { + "@react-types/overlays": "^3.6.4", + "@react-types/shared": "^3.15.0" + } + }, + "@react-types/overlays": { + "version": "3.6.4", + "resolved": "https://registry.npmjs.org/@react-types/overlays/-/overlays-3.6.4.tgz", + "integrity": "sha512-REC4IyDUHS5WhwxMxcvTo+LdrvlSYpJKjyYkPFtJoDBpM3gmXfakTY3KW6K5eZkFv3TnmXjDF9Q2yboEk2u6WQ==", + "requires": { + "@react-types/shared": "^3.15.0" + } + }, + "@react-types/radio": { + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/@react-types/radio/-/radio-3.4.2.tgz", + "integrity": "sha512-SE6sjZjZbyuJMJNNdlhoutVr+QFRt1Vz7DZj4UaOswW5SD/Xb+xFdW8i6ETKdRN17am/5SC89ltWe0R3q0pVkA==", + "requires": { + "@react-types/shared": "^3.18.1" + }, + "dependencies": { + "@react-types/shared": { + "version": "3.18.1", + "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.18.1.tgz", + "integrity": "sha512-OpTYRFS607Ctfd6Tmhyk6t6cbFyDhO5K+etU35X50pMzpypo1b7vF0mkngEeTc0Xwl0e749ONZNPZskMyu5k8w==" + } + } + }, + "@react-types/shared": { + "version": "3.15.0", + "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.15.0.tgz", + "integrity": "sha512-hwuE4BmgswqP+HRDSLMj7DcnYOCCK+ZRuKnc9AVhXS4LBrwRSkdUkNvXhgvqF5tav7IqTpG9pBYMR9wedehuhA==" + }, + "@react-types/switch": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/@react-types/switch/-/switch-3.3.2.tgz", + "integrity": "sha512-L0XF4J43Q7HCAJXqseAk6RMteK6k1jQ0zrG05r6lSCkxaS9fGUlgLTCiFUsf07x0ADH1Xyc7PwpfJjyEr5A4tA==", + "requires": { + "@react-types/checkbox": "^3.4.4", + "@react-types/shared": "^3.18.1" + }, + "dependencies": { + "@react-types/checkbox": { + "version": "3.4.4", + "resolved": "https://registry.npmjs.org/@react-types/checkbox/-/checkbox-3.4.4.tgz", + "integrity": "sha512-rJNhbW4R9HTvdbF2oTZmqGiZ/WVP3/XsU4gae7tfdhSYjG+5T5h9zau1vRhz++zwKn57wfcyNn6a83GDhhgkVw==", + "requires": { + "@react-types/shared": "^3.18.1" + } + }, + "@react-types/shared": { + "version": "3.18.1", + "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.18.1.tgz", + "integrity": "sha512-OpTYRFS607Ctfd6Tmhyk6t6cbFyDhO5K+etU35X50pMzpypo1b7vF0mkngEeTc0Xwl0e749ONZNPZskMyu5k8w==" + } + } + }, + "@react-types/table": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/@react-types/table/-/table-3.7.0.tgz", + "integrity": "sha512-tUSJPdU2eNjH/CRHs5pOCKDyQxzq8b1rJZHldvRK/GCW+B98debFOueYgw4+YGQ1E33IyzAwid+FXgY3wlZlHg==", + "requires": { + "@react-types/grid": "^3.1.8", + "@react-types/shared": "^3.18.1" + }, + "dependencies": { + "@react-types/grid": { + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/@react-types/grid/-/grid-3.1.8.tgz", + "integrity": "sha512-NKk4pDbW2QXJOYnDSAYhta81CGwXOc/9tVw2WFs+1wacvxeKmh1Q+n36uAFcIdQOvVRqeGTJaYiqLFmF3fC3tA==", + "requires": { + "@react-types/shared": "^3.18.1" + } + }, + "@react-types/shared": { + "version": "3.18.1", + "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.18.1.tgz", + "integrity": "sha512-OpTYRFS607Ctfd6Tmhyk6t6cbFyDhO5K+etU35X50pMzpypo1b7vF0mkngEeTc0Xwl0e749ONZNPZskMyu5k8w==" + } + } + }, "@rushstack/eslint-patch": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.3.2.tgz", "integrity": "sha512-V+MvGwaHH03hYhY+k6Ef/xKd6RYlc4q8WBx+2ANmipHJcKuktNcI/NgEsJgdSUF6Lw32njT6OnrRsKYCdgHjYw==" }, + "@stitches/react": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@stitches/react/-/react-1.2.8.tgz", + "integrity": "sha512-9g9dWI4gsSVe8bNLlb+lMkBYsnIKCZTmvqvDG+Avnn69XfmHZKiaMrx7cgTaddq7aTPPmXiTsbFcUy0xgI4+wA==" + }, "@swc/helpers": { "version": "0.5.1", "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.1.tgz", @@ -2077,6 +3441,17 @@ "side-channel": "^1.0.4" } }, + "intl-messageformat": { + "version": "10.5.0", + "resolved": "https://registry.npmjs.org/intl-messageformat/-/intl-messageformat-10.5.0.tgz", + "integrity": "sha512-AvojYuOaRb6r2veOKfTVpxH9TrmjSdc5iR9R5RgBwrDZYSmAAFVT+QLbW3C4V7Qsg0OguMp67Q/EoUkxZzXRGw==", + "requires": { + "@formatjs/ecma402-abstract": "1.17.0", + "@formatjs/fast-memoize": "2.2.0", + "@formatjs/icu-messageformat-parser": "2.6.0", + "tslib": "^2.4.0" + } + }, "is-array-buffer": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz", diff --git a/package.json b/package.json index 6cae04e..33ef034 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "dependencies": { "@headlessui/react": "^1.7.15", "@heroicons/react": "^2.0.18", + "@nextui-org/react": "^1.0.0-beta.13", "@types/node": "20.3.1", "@types/react": "18.2.12", "@types/react-dom": "18.2.5", diff --git a/src/apis/campaign.ts b/src/apis/campaign.ts index b2d306a..b0b886e 100644 --- a/src/apis/campaign.ts +++ b/src/apis/campaign.ts @@ -1,7 +1,18 @@ import api from '@/utils/api'; +import { toast } from 'react-toastify'; export const getCampaigns = async () => { const response = await api.get('/api/campaign'); const data = await response.data; return data; }; + +export const createCampaign = async (data: any) => { + try { + const response = await api.post('/api/campaign', data); + const responseData = await response.data; + return responseData; + } catch (error: any) { + toast.error(error.response.data.message); + } +}; diff --git a/src/app/(auth)/campaign/create/page.tsx b/src/app/(auth)/campaign/create/page.tsx new file mode 100644 index 0000000..6dff69c --- /dev/null +++ b/src/app/(auth)/campaign/create/page.tsx @@ -0,0 +1,131 @@ +'use client'; + +import Button from '@/components/Button'; +import { + AtSymbolIcon, + InformationCircleIcon, +} from '@heroicons/react/24/outline'; +import Input from '@/components/Input'; +import { useFormik } from 'formik'; +import { createCampaign } from '@/apis/campaign'; +import { getSenderIdentities } from '@/apis/SenderIdentity'; +import { getTags } from '@/apis/tag'; +import * as yup from 'yup'; +import { Tooltip, Grid } from '@nextui-org/react'; +import Select from '@/components/Select'; +import { useEffect, useState } from 'react'; +import { toast } from 'react-toastify'; +import { useRouter } from 'next/navigation'; + +const Page = () => { + const router = useRouter(); + const [tags, setTags] = useState(''); + const [senderIdentity, setSenderIdentity] = useState(''); + const onSubmit = async (values: any) => { + try { + await createCampaign(values); + toast.success('Sender Identity created successfully'); + router.back(); + } catch (error: any) { + toast.error(error.response.data.message); + } + }; + + useEffect(() => { + const fetchTags = async () => { + setTags(await getTags()); + }; + const fetchSenderIdentities = async () => { + setSenderIdentity(await getSenderIdentities()); + }; + fetchTags(); + fetchSenderIdentities(); + }, []); + + const formik = useFormik({ + initialValues: { + email_subject: '', + sender_identity_id: '', + subscription_list_id: '', + email_body: 'Email Body', // We need ot add this field in the form when we are implementing the wisywig editor + }, + onSubmit: onSubmit, + validationSchema: yup.object({ + sender_identity_id: yup.string().required('Sender Identity is required'), + subscription_list_id: yup.string().required('Subscription is required'), + email_subject: yup.string().required('Email Subject is required'), + }), + }); + + return ( +
+
+

+ + Create Campaign + + + Campaigns only go to the valid and subscribed users in the + selected list.

+ Use following snippets to create dynamic email template:{' '} +

+
    +
  • User Name: |*USERNAME*|
  • +
{' '} +
+ For example: Dear |*USERNAME*| + + } + placement="rightStart" + > + +
+
+

+
+
+
+ +
+ + +
+
+ ); +}; + +export default Page; diff --git a/src/app/(auth)/campaign/page.tsx b/src/app/(auth)/campaign/page.tsx index 2e3e2fd..a4b1e9a 100644 --- a/src/app/(auth)/campaign/page.tsx +++ b/src/app/(auth)/campaign/page.tsx @@ -1,13 +1,13 @@ 'use client'; import { getCampaigns } from '@/apis/campaign'; -import Button from '@/components/Button'; import Table from '@/components/Table'; import { Campaign, CampaignResource, TableData } from '@/utils/types'; import { EnvelopeIcon } from '@heroicons/react/24/outline'; import { PencilSquareIcon, TrashIcon } from '@heroicons/react/24/solid'; import moment from 'moment'; import { useEffect, useState } from 'react'; +import Link from 'next/link'; // import Input from '@/components/Input'; const Page = () => { @@ -41,7 +41,6 @@ const Page = () => { , <> - {console.log(campaign, '-->campaign')} {/*
{campaign.sender_identity.name}
*/}
{/* {campaign.sender_identity.email} */} @@ -79,9 +78,12 @@ const Page = () => { )}
- +
diff --git a/src/components/Select.tsx b/src/components/Select.tsx index 78d5e9e..96ca832 100644 --- a/src/components/Select.tsx +++ b/src/components/Select.tsx @@ -5,6 +5,8 @@ const Select = ({ className, name, label, + mandatoryField, + errorMessage, }: { options: []; value: any; @@ -12,10 +14,9 @@ const Select = ({ className?: string; name: string; label: string; + mandatoryField?: boolean; + errorMessage?: string; }) => { - { - console.log(options, 'options'); - } return (
); }; diff --git a/src/utils/types.ts b/src/utils/types.ts index 9326c48..f4c102a 100644 --- a/src/utils/types.ts +++ b/src/utils/types.ts @@ -48,6 +48,8 @@ export interface Users { } export interface Tag { + data: any; + total: ReactNode; name: string; } From ddd8d8369aebd52b740633700467c3a7900b67e9 Mon Sep 17 00:00:00 2001 From: Ayush8923 Date: Sat, 1 Jul 2023 15:09:37 +0530 Subject: [PATCH 2/6] :art: fix the password type --- src/app/(auth)/user/create/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/(auth)/user/create/page.tsx b/src/app/(auth)/user/create/page.tsx index e6e5caf..d566945 100644 --- a/src/app/(auth)/user/create/page.tsx +++ b/src/app/(auth)/user/create/page.tsx @@ -72,7 +72,7 @@ const Page = () => { errorMessage={formik.errors.email} /> { errorMessage={formik.errors.password} /> Date: Sun, 2 Jul 2023 00:17:28 +0530 Subject: [PATCH 3/6] :art: fix the user api url according to the backend --- src/apis/user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apis/user.ts b/src/apis/user.ts index 017073a..f86932e 100644 --- a/src/apis/user.ts +++ b/src/apis/user.ts @@ -1,7 +1,7 @@ import api from '@/utils/api'; export const getUsers = async () => { - const response = await api.get('/api/users'); + const response = await api.get('/api/user/user'); const data = await response.data; return data; }; From ea1e0432e9b7da7dd51ec2b0fa212ebd91ee6781 Mon Sep 17 00:00:00 2001 From: Ayush8923 Date: Sun, 2 Jul 2023 00:18:23 +0530 Subject: [PATCH 4/6] :art: fix the when we go another page in the same tab then the active tab is not highlight --- src/components/Sidebar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index f9fd99d..cb25fed 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -53,7 +53,7 @@ const Sidebar = () => { return (