@strapi/admin 4.2.0-alpha.9 → 4.2.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/src/assets/images/icon_offline-cloud.svg +5 -0
- package/admin/src/components/AuthenticatedApp/utils/api.js +1 -1
- package/admin/src/components/AutoReloadOverlayBlockerProvider/Blocker.js +1 -1
- package/admin/src/components/LeftMenu/index.js +2 -2
- package/admin/src/content-manager/components/CollectionTypeFormWrapper/index.js +17 -3
- package/admin/src/content-manager/components/ComponentInitializer/index.js +9 -4
- package/admin/src/content-manager/components/DynamicTable/CellContent/RelationMultiple/index.js +135 -0
- package/admin/src/content-manager/components/DynamicTable/CellContent/RelationSingle/index.js +32 -0
- package/admin/src/content-manager/components/DynamicTable/CellContent/RepeatableComponent/index.js +62 -0
- package/admin/src/content-manager/components/DynamicTable/CellContent/SingleComponent/index.js +37 -0
- package/admin/src/content-manager/components/DynamicTable/CellContent/index.js +52 -27
- package/admin/src/content-manager/components/DynamicTable/CellContent/utils/hasContent.js +64 -0
- package/admin/src/content-manager/components/DynamicTable/CellContent/utils/isSingleRelation.js +3 -0
- package/admin/src/content-manager/components/DynamicTable/TableRows/index.js +1 -1
- package/admin/src/content-manager/components/EditViewDataManagerProvider/index.js +37 -37
- package/admin/src/content-manager/components/EditViewDataManagerProvider/utils/getAPIInnerError.js +18 -0
- package/admin/src/content-manager/components/EditViewDataManagerProvider/utils/handleAPIError.js +15 -0
- package/admin/src/content-manager/components/EditViewDataManagerProvider/utils/index.js +0 -1
- package/admin/src/content-manager/components/EditViewDataManagerProvider/utils/schema.js +9 -7
- package/admin/src/content-manager/components/FieldComponent/index.js +0 -1
- package/admin/src/content-manager/components/InputUID/index.js +1 -5
- package/admin/src/content-manager/components/Inputs/index.js +4 -6
- package/admin/src/content-manager/components/RepeatableComponent/AccordionGroupCustom/index.js +3 -1
- package/admin/src/content-manager/components/RepeatableComponent/index.js +3 -18
- package/admin/src/content-manager/components/RepeatableComponent/utils/getComponentErrorKeys.js +10 -0
- package/admin/src/content-manager/components/SelectMany/index.js +1 -1
- package/admin/src/content-manager/components/SelectOne/index.js +1 -1
- package/admin/src/content-manager/components/SingleTypeFormWrapper/index.js +15 -3
- package/admin/src/content-manager/components/Wysiwyg/index.js +3 -4
- package/admin/src/content-manager/hooks/useFetchContentTypeLayout/utils/formatLayouts.js +23 -2
- package/admin/src/content-manager/pages/EditSettingsView/components/FieldButtonContent.js +1 -1
- package/admin/src/content-manager/pages/EditSettingsView/components/FormModal.js +1 -1
- package/admin/src/content-manager/pages/EditSettingsView/components/ModalForm.js +6 -1
- package/admin/src/content-manager/pages/EditSettingsView/index.js +3 -3
- package/admin/src/content-manager/pages/EditSettingsView/utils/layout.js +7 -1
- package/admin/src/content-manager/pages/EditView/DeleteLink/index.js +1 -4
- package/admin/src/content-manager/pages/EditView/DraftAndPublishBadge/index.js +1 -4
- package/admin/src/content-manager/pages/EditView/Header/index.js +1 -1
- package/admin/src/content-manager/pages/ListSettingsView/components/EditFieldForm.js +1 -1
- package/admin/src/content-manager/pages/ListSettingsView/index.js +2 -2
- package/admin/src/content-manager/pages/ListView/actions.js +2 -1
- package/admin/src/content-manager/pages/ListView/index.js +2 -5
- package/admin/src/content-manager/pages/ListView/reducer.js +55 -21
- package/admin/src/content-manager/pages/ListView/selectors.js +3 -6
- package/admin/src/content-manager/pages/ListViewLayoutManager/index.js +1 -1
- package/admin/src/content-manager/testUtils/data.js +5 -1
- package/admin/src/content-manager/utils/checkIfAttributeIsDisplayable.js +1 -1
- package/admin/src/content-manager/utils/isFieldTypeNumber.js +3 -0
- package/admin/src/hooks/useMenu/reducer.js +3 -3
- package/admin/src/hooks/useNavigatorOnLine/index.js +31 -0
- package/admin/src/hooks/useReleaseNotification/index.js +1 -1
- package/admin/src/hooks/useSettingsMenu/init.js +2 -2
- package/admin/src/layouts/UnauthenticatedLayout/index.js +1 -1
- package/admin/src/pages/Admin/Onboarding/index.js +1 -1
- package/admin/src/pages/Admin/index.js +15 -5
- package/admin/src/pages/App/constants.js +1 -0
- package/admin/src/pages/App/index.js +17 -3
- package/admin/src/pages/App/reducer.js +22 -0
- package/admin/src/pages/AuthPage/components/Login/BaseLogin.js +1 -1
- package/admin/src/pages/AuthPage/components/Register/index.js +6 -6
- package/admin/src/pages/AuthPage/components/ResetPassword/index.js +3 -3
- package/admin/src/pages/HomePage/ContentBlocks.js +1 -1
- package/admin/src/pages/HomePage/SocialLinks.js +1 -4
- package/admin/src/pages/InstalledPluginsPage/Plugins.js +3 -3
- package/admin/src/pages/InstalledPluginsPage/index.js +1 -1
- package/admin/src/pages/MarketplacePage/components/MissingPluginBanner/index.js +40 -0
- package/admin/src/pages/MarketplacePage/components/PageHeader/index.js +46 -0
- package/admin/src/pages/MarketplacePage/components/PluginCard/InstallPluginButton.js +66 -0
- package/admin/src/pages/MarketplacePage/components/PluginCard/index.js +13 -36
- package/admin/src/pages/MarketplacePage/index.js +65 -27
- package/admin/src/pages/ProfilePage/index.js +5 -5
- package/admin/src/pages/SettingsPage/components/SettingsNav/index.js +1 -1
- package/admin/src/pages/SettingsPage/index.js +1 -1
- package/admin/src/pages/SettingsPage/pages/ApiTokens/EditView/components/LoadingView/index.js +1 -1
- package/admin/src/pages/SettingsPage/pages/ApiTokens/EditView/index.js +3 -3
- package/admin/src/pages/SettingsPage/pages/ApiTokens/ListView/DynamicTable/DeleteButton/index.js +1 -1
- package/admin/src/pages/SettingsPage/pages/ApplicationInfosPage/index.js +1 -1
- package/admin/src/pages/SettingsPage/pages/Roles/EditPage/components/ConditionsButton/index.js +1 -1
- package/admin/src/pages/SettingsPage/pages/Roles/EditPage/components/RoleForm/index.js +3 -3
- package/admin/src/pages/SettingsPage/pages/Roles/EditPage/index.js +2 -2
- package/admin/src/pages/SettingsPage/pages/Roles/ListPage/index.js +6 -6
- package/admin/src/pages/SettingsPage/pages/Users/EditPage/index.js +5 -5
- package/admin/src/pages/SettingsPage/pages/Users/EditPage/utils/layout.js +1 -1
- package/admin/src/pages/SettingsPage/pages/Users/ListPage/DynamicTable/TableRows/index.js +1 -1
- package/admin/src/pages/SettingsPage/pages/Users/ListPage/ModalForm/index.js +1 -1
- package/admin/src/pages/SettingsPage/pages/Users/ListPage/ModalForm/utils/stepper.js +1 -1
- package/admin/src/pages/SettingsPage/pages/Users/ListPage/index.js +1 -1
- package/admin/src/pages/SettingsPage/pages/Webhooks/EditView/components/WebhookForm/index.js +3 -3
- package/admin/src/pages/SettingsPage/pages/Webhooks/ListView/index.js +7 -7
- package/admin/src/pages/UseCasePage/index.js +2 -2
- package/admin/src/reducers.js +4 -2
- package/admin/src/translations/ar.json +0 -6
- package/admin/src/translations/cs.json +0 -8
- package/admin/src/translations/de.json +244 -49
- package/admin/src/translations/dk.json +0 -53
- package/admin/src/translations/en.json +87 -99
- package/admin/src/translations/es.json +0 -53
- package/admin/src/translations/fr.json +0 -56
- package/admin/src/translations/he.json +0 -24
- package/admin/src/translations/hu.json +0 -53
- package/admin/src/translations/id.json +0 -21
- package/admin/src/translations/it.json +0 -22
- package/admin/src/translations/ja.json +0 -53
- package/admin/src/translations/ko.json +0 -56
- package/admin/src/translations/ms.json +0 -12
- package/admin/src/translations/nl.json +0 -53
- package/admin/src/translations/no.json +0 -22
- package/admin/src/translations/pl.json +0 -26
- package/admin/src/translations/pt-BR.json +0 -53
- package/admin/src/translations/pt.json +0 -13
- package/admin/src/translations/ru.json +0 -25
- package/admin/src/translations/sk.json +0 -21
- package/admin/src/translations/sv.json +0 -6
- package/admin/src/translations/th.json +0 -21
- package/admin/src/translations/tr.json +0 -13
- package/admin/src/translations/uk.json +0 -12
- package/admin/src/translations/vi.json +1 -10
- package/admin/src/translations/zh-Hans.json +0 -53
- package/admin/src/translations/zh.json +0 -56
- package/admin/src/tsconfig.json +10 -0
- package/build/1856.e2bce2e8.chunk.js +171 -0
- package/build/2481.5fe150c7.chunk.js +184 -0
- package/build/272.d442e5ca.chunk.js +349 -0
- package/build/2912.5a7b0406.chunk.js +252 -0
- package/build/306.28d21ab8.chunk.js +896 -0
- package/build/4073.4765687b.chunk.js +1 -0
- package/build/4715.7f616cf6.chunk.js +387 -0
- package/build/4800.d3ebc81d.chunk.js +1 -0
- package/build/497.2ba35e90.chunk.js +284 -0
- package/build/4982.91235074.chunk.js +310 -0
- package/build/6229.f558fd19.chunk.js +194 -0
- package/build/6404.25d0f0d8.chunk.js +508 -0
- package/build/6925.fafef528.chunk.js +761 -0
- package/build/7841.0d73dde1.chunk.js +252 -0
- package/build/7863.996e70df.chunk.js +112 -0
- package/build/8469.3af1823d.chunk.js +1 -0
- package/build/9298.dab64a1b.chunk.js +345 -0
- package/build/948.d64fb515.chunk.js +2 -0
- package/build/9853.6cc1043a.chunk.js +354 -0
- package/build/9988.9b6e1d79.chunk.js +161 -0
- package/build/Admin-authenticatedApp.d26b3032.chunk.js +80 -0
- package/build/Admin_homePage.fc4a8408.chunk.js +71 -0
- package/build/Admin_marketplace.c406a140.chunk.js +11 -0
- package/build/Admin_pluginsPage.788fb2f6.chunk.js +1 -0
- package/build/Admin_profilePage.27191ed2.chunk.js +15 -0
- package/build/Admin_settingsPage.c40fdef1.chunk.js +170 -0
- package/build/a6b842e0b6d2b61135d1.svg +5 -0
- package/build/admin-edit-roles-page.c69fe8ab.chunk.js +1 -0
- package/build/admin-edit-users.be232f6b.chunk.js +10 -0
- package/build/admin-users.47d06d24.chunk.js +11 -0
- package/build/api-tokens-create-page.9774f0fe.chunk.js +1 -0
- package/build/api-tokens-edit-page.8f03c9a1.chunk.js +1 -0
- package/build/api-tokens-list-page.126fbca6.chunk.js +15 -0
- package/build/ar-json.d4cb26d9.chunk.js +1 -0
- package/build/codemirror-addon-closebrackets.c0f97916.chunk.js +2 -0
- package/build/codemirror-addon-lint-js.7c35dcb0.chunk.js +1 -0
- package/build/codemirror-addon-lint.505ff1d4.chunk.js +1 -0
- package/build/codemirror-addon-mark-selection.653e904d.chunk.js +1 -0
- package/build/codemirror-css.b467b1de.chunk.js +346 -0
- package/build/codemirror-javacript.41bdefda.chunk.js +1 -0
- package/build/codemirror-theme.cf9f9eb6.chunk.js +34 -0
- package/build/content-manager.ca66b566.chunk.js +1204 -0
- package/build/content-type-builder-translation-ar-json.142327af.chunk.js +1 -0
- package/build/content-type-builder-translation-cs-json.4aafb972.chunk.js +1 -0
- package/build/content-type-builder-translation-de-json.0d7696b9.chunk.js +1 -0
- package/build/content-type-builder-translation-dk-json.4729f055.chunk.js +1 -0
- package/build/content-type-builder-translation-en-json.e5110288.chunk.js +1 -0
- package/build/content-type-builder-translation-es-json.333cf47f.chunk.js +1 -0
- package/build/content-type-builder-translation-fr-json.aa6eeea8.chunk.js +1 -0
- package/build/content-type-builder-translation-id-json.7c00a32a.chunk.js +1 -0
- package/build/content-type-builder-translation-it-json.a906b389.chunk.js +1 -0
- package/build/content-type-builder-translation-ja-json.87f71930.chunk.js +1 -0
- package/build/content-type-builder-translation-ko-json.51201b12.chunk.js +1 -0
- package/build/content-type-builder-translation-ms-json.963a1a01.chunk.js +1 -0
- package/build/content-type-builder-translation-nl-json.c46c8f30.chunk.js +1 -0
- package/build/content-type-builder-translation-pl-json.a866acda.chunk.js +1 -0
- package/build/content-type-builder-translation-pt-BR-json.5739a2aa.chunk.js +1 -0
- package/build/content-type-builder-translation-pt-json.766bd747.chunk.js +1 -0
- package/build/content-type-builder-translation-ru-json.cf8d7c5c.chunk.js +1 -0
- package/build/content-type-builder-translation-sk-json.3a6defe0.chunk.js +1 -0
- package/build/content-type-builder-translation-th-json.c96a2d3f.chunk.js +1 -0
- package/build/content-type-builder-translation-tr-json.2e52bc60.chunk.js +1 -0
- package/build/content-type-builder-translation-uk-json.d8c0b6dd.chunk.js +1 -0
- package/build/content-type-builder-translation-zh-Hans-json.92a27f59.chunk.js +1 -0
- package/build/content-type-builder-translation-zh-json.2cc55621.chunk.js +1 -0
- package/build/content-type-builder.d12fd5cd.chunk.js +141 -0
- package/build/cropper-css.ecc0d670.chunk.js +306 -0
- package/build/cs-json.c8f28ba8.chunk.js +1 -0
- package/build/de-json.0b92acd2.chunk.js +1 -0
- package/build/dk-json.9f1bc016.chunk.js +1 -0
- package/build/email-settings-page.d807edfd.chunk.js +103 -0
- package/build/{email-translation-de-json.559a7d5f.chunk.js → email-translation-ar-json.c624512d.chunk.js} +1 -1
- package/build/{email-translation-ar-json.95d90eb4.chunk.js → email-translation-cs-json.cb18caab.chunk.js} +1 -1
- package/build/{email-translation-it-json.3de61cb6.chunk.js → email-translation-de-json.54743260.chunk.js} +1 -1
- package/build/{email-translation-dk-json.f8a595bf.chunk.js → email-translation-dk-json.f323fe4e.chunk.js} +1 -1
- package/build/{email-translation-en-json.fa0dc92b.chunk.js → email-translation-en-json.6da7e388.chunk.js} +1 -1
- package/build/{email-translation-es-json.eb303dea.chunk.js → email-translation-es-json.9021417d.chunk.js} +1 -1
- package/build/{email-translation-fr-json.49c3c888.chunk.js → email-translation-fr-json.9f125db0.chunk.js} +1 -1
- package/build/email-translation-id-json.3bcae5f5.chunk.js +1 -0
- package/build/{email-translation-cs-json.dfd1f3f2.chunk.js → email-translation-it-json.6ffd1774.chunk.js} +1 -1
- package/build/email-translation-ja-json.72b3f73c.chunk.js +1 -0
- package/build/email-translation-ko-json.e61d4e7a.chunk.js +1 -0
- package/build/email-translation-ms-json.b2b11e05.chunk.js +1 -0
- package/build/email-translation-nl-json.5349635f.chunk.js +1 -0
- package/build/email-translation-pl-json.6da50d0f.chunk.js +1 -0
- package/build/email-translation-pt-BR-json.2c98ab20.chunk.js +1 -0
- package/build/email-translation-pt-json.959ea070.chunk.js +1 -0
- package/build/email-translation-ru-json.d508cf3e.chunk.js +1 -0
- package/build/email-translation-sk-json.fa1fd4b3.chunk.js +1 -0
- package/build/email-translation-th-json.989cfecc.chunk.js +1 -0
- package/build/email-translation-tr-json.87f2feb3.chunk.js +1 -0
- package/build/email-translation-uk-json.0396a803.chunk.js +1 -0
- package/build/email-translation-vi-json.c0d8c414.chunk.js +1 -0
- package/build/email-translation-zh-Hans-json.b463cb25.chunk.js +1 -0
- package/build/email-translation-zh-json.3455468b.chunk.js +1 -0
- package/build/en-json.3e1a222e.chunk.js +1 -0
- package/build/es-json.2a5a9fc1.chunk.js +1 -0
- package/build/fontawesome-css-all.04f33619.chunk.js +4618 -0
- package/build/fontawesome-css.477ba714.chunk.js +6 -0
- package/build/fontawesome-js.252cc5f3.chunk.js +7 -0
- package/build/fr-json.84064a0b.chunk.js +1 -0
- package/build/he-json.d40da459.chunk.js +1 -0
- package/build/highlight.js.3381ffc3.chunk.js +86 -0
- package/build/hu-json.c81ce352.chunk.js +1 -0
- package/build/i18n-settings-page.c8f3b78b.chunk.js +101 -0
- package/build/i18n-translation-de-json.92534555.chunk.js +1 -0
- package/build/{i18n-translation-dk-json.ecf02d28.chunk.js → i18n-translation-dk-json.54f410ca.chunk.js} +1 -1
- package/build/{i18n-translation-en-json.4d823f62.chunk.js → i18n-translation-en-json.85bc892c.chunk.js} +1 -1
- package/build/i18n-translation-es-json.488206ae.chunk.js +1 -0
- package/build/i18n-translation-fr-json.0839d68d.chunk.js +1 -0
- package/build/i18n-translation-ko-json.d0bc1203.chunk.js +1 -0
- package/build/i18n-translation-zh-Hans-json.560a98e3.chunk.js +1 -0
- package/build/id-json.fad45d17.chunk.js +1 -0
- package/build/index.html +1 -1
- package/build/it-json.12df4cdf.chunk.js +1 -0
- package/build/ja-json.850237e9.chunk.js +1 -0
- package/build/ko-json.2f3d256e.chunk.js +1 -0
- package/build/main.36da7eeb.js +7918 -0
- package/build/ms-json.836ed013.chunk.js +1 -0
- package/build/nl-json.465b173f.chunk.js +1 -0
- package/build/no-json.e8749dd4.chunk.js +1 -0
- package/build/pl-json.94f05d2c.chunk.js +1 -0
- package/build/pt-BR-json.6301d49b.chunk.js +1 -0
- package/build/pt-json.c23020ab.chunk.js +1 -0
- package/build/ru-json.4560906c.chunk.js +1 -0
- package/build/runtime~main.251e9cca.js +2 -0
- package/build/sk-json.5b33afc2.chunk.js +1 -0
- package/build/sso-settings-page.dfb0b917.chunk.js +1 -0
- package/build/sv-json.cdcac02d.chunk.js +1 -0
- package/build/th-json.3aadaec6.chunk.js +1 -0
- package/build/tr-json.276e59fe.chunk.js +1 -0
- package/build/uk-json.5b5b9c27.chunk.js +1 -0
- package/build/upload-settings.17202e3b.chunk.js +101 -0
- package/build/upload-translation-de-json.b642da08.chunk.js +1 -0
- package/build/upload-translation-dk-json.fc61df13.chunk.js +1 -0
- package/build/upload-translation-en-json.59269508.chunk.js +1 -0
- package/build/upload-translation-es-json.8ec935ef.chunk.js +1 -0
- package/build/upload-translation-fr-json.eb9b4f84.chunk.js +1 -0
- package/build/upload-translation-he-json.c226f2dc.chunk.js +1 -0
- package/build/upload-translation-it-json.8e58456e.chunk.js +1 -0
- package/build/upload-translation-ja-json.1378a2e7.chunk.js +1 -0
- package/build/upload-translation-ko-json.5e06e112.chunk.js +1 -0
- package/build/upload-translation-ms-json.dc3bf0d7.chunk.js +1 -0
- package/build/upload-translation-pl-json.6071e38c.chunk.js +1 -0
- package/build/upload-translation-pt-BR-json.7e8d9550.chunk.js +1 -0
- package/build/upload-translation-ru-json.da2529f3.chunk.js +1 -0
- package/build/upload-translation-sk-json.bfdf4f09.chunk.js +1 -0
- package/build/upload-translation-th-json.6a48b826.chunk.js +1 -0
- package/build/upload-translation-uk-json.6fb09148.chunk.js +1 -0
- package/build/upload-translation-zh-Hans-json.c9622577.chunk.js +1 -0
- package/build/upload-translation-zh-json.711f804b.chunk.js +1 -0
- package/build/upload.d647d59d.chunk.js +105 -0
- package/build/users-advanced-settings-page.22690469.chunk.js +101 -0
- package/build/users-email-settings-page.0a096388.chunk.js +1 -0
- package/build/users-permissions-translation-ar-json.e8123ed2.chunk.js +1 -0
- package/build/users-permissions-translation-cs-json.e6649c5f.chunk.js +1 -0
- package/build/users-permissions-translation-de-json.c3628843.chunk.js +1 -0
- package/build/users-permissions-translation-dk-json.fe39c74b.chunk.js +1 -0
- package/build/users-permissions-translation-en-json.3fe86528.chunk.js +1 -0
- package/build/users-permissions-translation-es-json.1bb9cde2.chunk.js +1 -0
- package/build/users-permissions-translation-fr-json.172aa69f.chunk.js +1 -0
- package/build/users-permissions-translation-id-json.5aadd143.chunk.js +1 -0
- package/build/users-permissions-translation-it-json.7d377480.chunk.js +1 -0
- package/build/users-permissions-translation-ja-json.4967badf.chunk.js +1 -0
- package/build/users-permissions-translation-ko-json.3be77775.chunk.js +1 -0
- package/build/users-permissions-translation-ms-json.ea8a2baf.chunk.js +1 -0
- package/build/users-permissions-translation-nl-json.d638c4ce.chunk.js +1 -0
- package/build/users-permissions-translation-pl-json.3c4fe81c.chunk.js +1 -0
- package/build/users-permissions-translation-pt-BR-json.f6791a86.chunk.js +1 -0
- package/build/users-permissions-translation-pt-json.38afed04.chunk.js +1 -0
- package/build/users-permissions-translation-ru-json.319d51ef.chunk.js +1 -0
- package/build/users-permissions-translation-sk-json.ba1cd385.chunk.js +1 -0
- package/build/users-permissions-translation-sv-json.83c60841.chunk.js +1 -0
- package/build/users-permissions-translation-th-json.68873214.chunk.js +1 -0
- package/build/users-permissions-translation-tr-json.cdc49a3c.chunk.js +1 -0
- package/build/users-permissions-translation-uk-json.63eaa01c.chunk.js +1 -0
- package/build/users-permissions-translation-vi-json.dccc02fc.chunk.js +1 -0
- package/build/users-permissions-translation-zh-Hans-json.c3fd301b.chunk.js +1 -0
- package/build/users-permissions-translation-zh-json.e03ae2a4.chunk.js +1 -0
- package/build/users-providers-settings-page.bfe7755a.chunk.js +1 -0
- package/build/users-roles-settings-page.487f3346.chunk.js +30 -0
- package/build/vi-json.3d14e91e.chunk.js +1 -0
- package/build/webhook-edit-page.043fe03f.chunk.js +23 -0
- package/build/webhook-list-page.2d2d71a1.chunk.js +132 -0
- package/build/zh-Hans-json.c84ce330.chunk.js +1 -0
- package/build/zh-json.96bf6019.chunk.js +1 -0
- package/ee/admin/pages/AuthPage/components/Providers/SSOProviders.js +1 -1
- package/ee/admin/pages/SettingsPage/SingleSignOn/index.js +2 -2
- package/ee/admin/pages/SettingsPage/pages/Roles/CreatePage/index.js +5 -5
- package/ee/admin/pages/SettingsPage/pages/Roles/ListPage/index.js +6 -6
- package/index.js +32 -27
- package/package.json +10 -12
- package/scripts/build.js +32 -4
- package/server/bootstrap.js +9 -7
- package/server/config/index.js +0 -1
- package/server/controllers/admin.js +22 -1
- package/server/policies/index.js +1 -0
- package/server/policies/isTelemetryEnabled.js +16 -0
- package/server/routes/admin.js +9 -0
- package/server/services/api-token.js +15 -14
- package/server/services/token.js +13 -0
- package/server/validation/permission.js +5 -1
- package/utils/create-cache-dir.js +60 -15
- package/utils/get-custom-app-config-file.js +23 -0
- package/utils/get-plugins-path.js +26 -0
- package/utils/should-build-admin.js +7 -6
- package/utils/watch-admin-files.js +4 -1
- package/webpack.config.js +100 -91
- package/admin/src/content-manager/components/DynamicTable/CellContent/Relation/PopoverContent.js +0 -87
- package/admin/src/content-manager/components/DynamicTable/CellContent/Relation/index.js +0 -107
- package/admin/src/content-manager/components/EditViewDataManagerProvider/utils/getYupInnerErrors.js +0 -17
- package/build/1094.e1db3a1a.chunk.js +0 -1
- package/build/1454.f065d92a.chunk.js +0 -2
- package/build/1454.f065d92a.chunk.js.LICENSE.txt +0 -7
- package/build/1856.a30bd09b.chunk.js +0 -1
- package/build/2481.4eae9408.chunk.js +0 -1
- package/build/2912.c5f76e65.chunk.js +0 -1
- package/build/4362.b3d67035.chunk.js +0 -1
- package/build/4715.8a2db02a.chunk.js +0 -1
- package/build/4800.f4a1384a.chunk.js +0 -1
- package/build/497.3fcf6196.chunk.js +0 -1
- package/build/4982.601f6196.chunk.js +0 -1
- package/build/6404.3c2d0a81.chunk.js +0 -1
- package/build/6925.bd694b04.chunk.js +0 -2
- package/build/6925.bd694b04.chunk.js.LICENSE.txt +0 -5
- package/build/7841.490dbbf1.chunk.js +0 -1
- package/build/8042.1d66811a.chunk.js +0 -2
- package/build/8042.1d66811a.chunk.js.LICENSE.txt +0 -4
- package/build/8469.8d819a3c.chunk.js +0 -1
- package/build/849.17f011e8.chunk.js +0 -1
- package/build/9235.ced8aebf.chunk.js +0 -1
- package/build/9260.4233fae2.chunk.js +0 -2
- package/build/9260.4233fae2.chunk.js.LICENSE.txt +0 -15
- package/build/9853.6ff595fa.chunk.js +0 -1
- package/build/9988.fe838ba6.chunk.js +0 -2
- package/build/9988.fe838ba6.chunk.js.LICENSE.txt +0 -9
- package/build/Admin-authenticatedApp.0316660c.chunk.js +0 -1
- package/build/Admin_homePage.fd1fc572.chunk.js +0 -1
- package/build/Admin_marketplace.89a0a014.chunk.js +0 -1
- package/build/Admin_pluginsPage.97a514db.chunk.js +0 -1
- package/build/Admin_profilePage.d7192d06.chunk.js +0 -1
- package/build/Admin_settingsPage.a8c7ded5.chunk.js +0 -1
- package/build/admin-edit-roles-page.49b6f01d.chunk.js +0 -1
- package/build/admin-edit-users.381e4a0d.chunk.js +0 -1
- package/build/admin-users.2740c223.chunk.js +0 -1
- package/build/api-tokens-create-page.db17bb39.chunk.js +0 -1
- package/build/api-tokens-edit-page.c7299a77.chunk.js +0 -1
- package/build/api-tokens-list-page.26a05a21.chunk.js +0 -1
- package/build/ar-json.6a2565af.chunk.js +0 -1
- package/build/codemirror-addon-closebrackets.0cfe64d0.chunk.js +0 -1
- package/build/codemirror-addon-lint-js.a6eeef9c.chunk.js +0 -1
- package/build/codemirror-addon-lint.91580cda.chunk.js +0 -1
- package/build/codemirror-addon-mark-selection.4dca121f.chunk.js +0 -1
- package/build/codemirror-css.48b438c9.chunk.js +0 -1
- package/build/codemirror-javacript.8c7c015d.chunk.js +0 -1
- package/build/codemirror-theme.b5559efc.chunk.js +0 -1
- package/build/content-manager.f1c46a88.chunk.js +0 -1
- package/build/content-type-builder-translation-ar-json.f1fedc12.chunk.js +0 -1
- package/build/content-type-builder-translation-cs-json.89f7272e.chunk.js +0 -1
- package/build/content-type-builder-translation-de-json.0205697c.chunk.js +0 -1
- package/build/content-type-builder-translation-dk-json.235ff56e.chunk.js +0 -1
- package/build/content-type-builder-translation-en-json.8034dab6.chunk.js +0 -1
- package/build/content-type-builder-translation-es-json.13b2e2aa.chunk.js +0 -1
- package/build/content-type-builder-translation-fr-json.bee621f7.chunk.js +0 -1
- package/build/content-type-builder-translation-id-json.2fbf4f8c.chunk.js +0 -1
- package/build/content-type-builder-translation-it-json.a1afd7a9.chunk.js +0 -1
- package/build/content-type-builder-translation-ja-json.1459fb88.chunk.js +0 -1
- package/build/content-type-builder-translation-ko-json.d2080111.chunk.js +0 -1
- package/build/content-type-builder-translation-ms-json.048122eb.chunk.js +0 -1
- package/build/content-type-builder-translation-nl-json.8d59e86b.chunk.js +0 -1
- package/build/content-type-builder-translation-pl-json.01dc068c.chunk.js +0 -1
- package/build/content-type-builder-translation-pt-BR-json.d311d056.chunk.js +0 -1
- package/build/content-type-builder-translation-pt-json.4893266f.chunk.js +0 -1
- package/build/content-type-builder-translation-ru-json.1285874d.chunk.js +0 -1
- package/build/content-type-builder-translation-sk-json.0064156b.chunk.js +0 -1
- package/build/content-type-builder-translation-th-json.5f690524.chunk.js +0 -1
- package/build/content-type-builder-translation-tr-json.696283a5.chunk.js +0 -1
- package/build/content-type-builder-translation-uk-json.87496bf9.chunk.js +0 -1
- package/build/content-type-builder-translation-zh-Hans-json.283c640e.chunk.js +0 -1
- package/build/content-type-builder-translation-zh-json.77aa2275.chunk.js +0 -1
- package/build/content-type-builder.cda4ba3c.chunk.js +0 -1
- package/build/cropper-css.ace19575.chunk.js +0 -1
- package/build/cs-json.8df09876.chunk.js +0 -1
- package/build/de-json.6e14f607.chunk.js +0 -1
- package/build/dk-json.be388470.chunk.js +0 -1
- package/build/email-settings-page.40ee2bda.chunk.js +0 -1
- package/build/email-translation-id-json.e3c2101d.chunk.js +0 -1
- package/build/email-translation-ja-json.66337e44.chunk.js +0 -1
- package/build/email-translation-ko-json.52bbd7b4.chunk.js +0 -1
- package/build/email-translation-ms-json.e39256df.chunk.js +0 -1
- package/build/email-translation-nl-json.12d28adb.chunk.js +0 -1
- package/build/email-translation-pl-json.9585a84e.chunk.js +0 -1
- package/build/email-translation-pt-BR-json.6c04b3ef.chunk.js +0 -1
- package/build/email-translation-pt-json.0239be04.chunk.js +0 -1
- package/build/email-translation-ru-json.f3b4fecc.chunk.js +0 -1
- package/build/email-translation-sk-json.76dbaaa6.chunk.js +0 -1
- package/build/email-translation-th-json.25ad73e7.chunk.js +0 -1
- package/build/email-translation-tr-json.ae04a9f2.chunk.js +0 -1
- package/build/email-translation-uk-json.03b27b08.chunk.js +0 -1
- package/build/email-translation-vi-json.3e1dd5b3.chunk.js +0 -1
- package/build/email-translation-zh-Hans-json.0df4ca59.chunk.js +0 -1
- package/build/email-translation-zh-json.82978eb0.chunk.js +0 -1
- package/build/en-json.73a610d6.chunk.js +0 -1
- package/build/es-json.61553168.chunk.js +0 -1
- package/build/fontawesome-css-all.3b89f909.chunk.js +0 -1
- package/build/fontawesome-css.36cff9ae.chunk.js +0 -1
- package/build/fontawesome-js.2639263c.chunk.js +0 -2
- package/build/fontawesome-js.2639263c.chunk.js.LICENSE.txt +0 -4
- package/build/fr-json.a9ce0700.chunk.js +0 -1
- package/build/he-json.1742494e.chunk.js +0 -1
- package/build/highlight.js.6321cb45.chunk.js +0 -1
- package/build/hu-json.e667d285.chunk.js +0 -1
- package/build/i18n-settings-page.c4018651.chunk.js +0 -1
- package/build/i18n-translation-de-json.c5c9054f.chunk.js +0 -1
- package/build/i18n-translation-es-json.7049afa2.chunk.js +0 -1
- package/build/i18n-translation-fr-json.c6367bc9.chunk.js +0 -1
- package/build/i18n-translation-ko-json.aecb7e01.chunk.js +0 -1
- package/build/i18n-translation-zh-Hans-json.258b2e1a.chunk.js +0 -1
- package/build/id-json.d87ebb20.chunk.js +0 -1
- package/build/it-json.a2880b81.chunk.js +0 -1
- package/build/ja-json.e13f04e8.chunk.js +0 -1
- package/build/ko-json.2200c9c9.chunk.js +0 -1
- package/build/main.369fb10e.js +0 -2
- package/build/main.369fb10e.js.LICENSE.txt +0 -91
- package/build/ms-json.3a062984.chunk.js +0 -1
- package/build/nl-json.30ce02cb.chunk.js +0 -1
- package/build/no-json.9af40e9d.chunk.js +0 -1
- package/build/pl-json.fd373053.chunk.js +0 -1
- package/build/pt-BR-json.30e2d716.chunk.js +0 -1
- package/build/pt-json.3aaf9e05.chunk.js +0 -1
- package/build/ru-json.78c56e1c.chunk.js +0 -1
- package/build/runtime~main.9b28232a.js +0 -1
- package/build/sk-json.c0bf144c.chunk.js +0 -1
- package/build/sso-settings-page.121dd0a6.chunk.js +0 -1
- package/build/sv-json.aad187b9.chunk.js +0 -1
- package/build/th-json.e2b4a0fb.chunk.js +0 -1
- package/build/tr-json.0add11cd.chunk.js +0 -1
- package/build/uk-json.eb78e77e.chunk.js +0 -1
- package/build/upload-settings.4401f36d.chunk.js +0 -1
- package/build/upload-translation-de-json.1308dce5.chunk.js +0 -1
- package/build/upload-translation-dk-json.0d4e855f.chunk.js +0 -1
- package/build/upload-translation-en-json.c334dd82.chunk.js +0 -1
- package/build/upload-translation-es-json.81b13eac.chunk.js +0 -1
- package/build/upload-translation-fr-json.1bec79ec.chunk.js +0 -1
- package/build/upload-translation-he-json.1d28982f.chunk.js +0 -1
- package/build/upload-translation-it-json.7d4bdc5a.chunk.js +0 -1
- package/build/upload-translation-ja-json.97fcacd8.chunk.js +0 -1
- package/build/upload-translation-ko-json.d7345fe1.chunk.js +0 -1
- package/build/upload-translation-ms-json.081effd5.chunk.js +0 -1
- package/build/upload-translation-pl-json.2dfe78bb.chunk.js +0 -1
- package/build/upload-translation-pt-BR-json.65936d7b.chunk.js +0 -1
- package/build/upload-translation-ru-json.2d3b6f69.chunk.js +0 -1
- package/build/upload-translation-sk-json.f15c7fd6.chunk.js +0 -1
- package/build/upload-translation-th-json.6d3c2370.chunk.js +0 -1
- package/build/upload-translation-uk-json.a6c38449.chunk.js +0 -1
- package/build/upload-translation-zh-Hans-json.f6b26c45.chunk.js +0 -1
- package/build/upload-translation-zh-json.06052336.chunk.js +0 -1
- package/build/upload.5a2dded7.chunk.js +0 -1
- package/build/users-advanced-settings-page.8905d8d8.chunk.js +0 -1
- package/build/users-email-settings-page.5abb9575.chunk.js +0 -1
- package/build/users-permissions-translation-ar-json.bdddd0d7.chunk.js +0 -1
- package/build/users-permissions-translation-cs-json.7881d3ff.chunk.js +0 -1
- package/build/users-permissions-translation-de-json.8d53c619.chunk.js +0 -1
- package/build/users-permissions-translation-dk-json.89d41c4b.chunk.js +0 -1
- package/build/users-permissions-translation-en-json.21b0fd2f.chunk.js +0 -1
- package/build/users-permissions-translation-es-json.a4f81eaa.chunk.js +0 -1
- package/build/users-permissions-translation-fr-json.a2172545.chunk.js +0 -1
- package/build/users-permissions-translation-id-json.8f17982a.chunk.js +0 -1
- package/build/users-permissions-translation-it-json.87952a24.chunk.js +0 -1
- package/build/users-permissions-translation-ja-json.5915d9ef.chunk.js +0 -1
- package/build/users-permissions-translation-ko-json.f1ca6cc4.chunk.js +0 -1
- package/build/users-permissions-translation-ms-json.2268324c.chunk.js +0 -1
- package/build/users-permissions-translation-nl-json.4e1231dd.chunk.js +0 -1
- package/build/users-permissions-translation-pl-json.107638b5.chunk.js +0 -1
- package/build/users-permissions-translation-pt-BR-json.8dafc053.chunk.js +0 -1
- package/build/users-permissions-translation-pt-json.3322464f.chunk.js +0 -1
- package/build/users-permissions-translation-ru-json.5709c5a0.chunk.js +0 -1
- package/build/users-permissions-translation-sk-json.fe7cc044.chunk.js +0 -1
- package/build/users-permissions-translation-sv-json.e7e1684b.chunk.js +0 -1
- package/build/users-permissions-translation-th-json.bb544ee3.chunk.js +0 -1
- package/build/users-permissions-translation-tr-json.30f3ca90.chunk.js +0 -1
- package/build/users-permissions-translation-uk-json.634f2569.chunk.js +0 -1
- package/build/users-permissions-translation-vi-json.605d88bc.chunk.js +0 -1
- package/build/users-permissions-translation-zh-Hans-json.85480dab.chunk.js +0 -1
- package/build/users-permissions-translation-zh-json.99932731.chunk.js +0 -1
- package/build/users-providers-settings-page.368893ed.chunk.js +0 -1
- package/build/users-roles-settings-page.a2f6277a.chunk.js +0 -1
- package/build/vi-json.1e850069.chunk.js +0 -1
- package/build/webhook-edit-page.d170eda1.chunk.js +0 -1
- package/build/webhook-list-page.c21b5a9a.chunk.js +0 -1
- package/build/zh-Hans-json.55f6475b.chunk.js +0 -1
- package/build/zh-json.c3c2b225.chunk.js +0 -1
- package/server/config/api-token.js +0 -7
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
const path = require('path');
|
|
4
4
|
const fs = require('fs-extra');
|
|
5
|
+
const getCustomAppConfigFile = require('./get-custom-app-config-file');
|
|
5
6
|
|
|
6
7
|
const DEFAULT_PLUGINS = [
|
|
7
8
|
'content-type-builder',
|
|
@@ -29,20 +30,20 @@ const hasNonDefaultPlugins = plugins => {
|
|
|
29
30
|
return diff.length > 0;
|
|
30
31
|
};
|
|
31
32
|
|
|
32
|
-
const hasCustomAdminCode = async
|
|
33
|
+
const hasCustomAdminCode = async dir => {
|
|
33
34
|
const customAdminPath = path.join(dir, 'src', 'admin');
|
|
34
|
-
|
|
35
|
-
const
|
|
35
|
+
|
|
36
|
+
const customAdminAppConfigFile = await getCustomAppConfigFile(dir);
|
|
36
37
|
const customAdminWebpackFile = path.join(customAdminPath, 'webpack.config.js');
|
|
37
38
|
|
|
38
|
-
const hasCustomConfigFile =
|
|
39
|
+
const hasCustomConfigFile = !!customAdminAppConfigFile;
|
|
39
40
|
const hasCustomWebpackFile = await fs.pathExists(customAdminWebpackFile);
|
|
40
41
|
|
|
41
42
|
return hasCustomConfigFile || hasCustomWebpackFile;
|
|
42
43
|
};
|
|
43
44
|
|
|
44
|
-
const shouldBuildAdmin = async ({ appDir, plugins
|
|
45
|
-
const appHasCustomAdminCode = await hasCustomAdminCode(appDir
|
|
45
|
+
const shouldBuildAdmin = async ({ appDir, plugins }) => {
|
|
46
|
+
const appHasCustomAdminCode = await hasCustomAdminCode(appDir);
|
|
46
47
|
const appHasNonDefaultPlugins = hasNonDefaultPlugins(plugins);
|
|
47
48
|
|
|
48
49
|
return appHasCustomAdminCode || appHasNonDefaultPlugins;
|
|
@@ -3,13 +3,16 @@
|
|
|
3
3
|
const path = require('path');
|
|
4
4
|
const fs = require('fs-extra');
|
|
5
5
|
const chokidar = require('chokidar');
|
|
6
|
+
const { isUsingTypeScript } = require('@strapi/typescript-utils');
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* Listen to files change and copy the changed files in the .cache/admin folder
|
|
9
10
|
* when using the dev mode
|
|
10
11
|
* @param {string} dir
|
|
11
12
|
*/
|
|
12
|
-
async function watchAdminFiles(dir
|
|
13
|
+
async function watchAdminFiles(dir) {
|
|
14
|
+
const useTypeScript = await isUsingTypeScript(path.join(dir, 'src', 'admin'), 'tsconfig.json');
|
|
15
|
+
|
|
13
16
|
const cacheDir = path.join(dir, '.cache');
|
|
14
17
|
const targetExtensionFile = useTypeScript ? 'app.tsx' : 'app.js';
|
|
15
18
|
const appExtensionFile = path.join(dir, 'src', 'admin', targetExtensionFile);
|
package/webpack.config.js
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const path = require('path');
|
|
4
|
+
const fse = require('fs-extra');
|
|
4
5
|
const webpack = require('webpack');
|
|
5
6
|
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
|
6
7
|
const ForkTsCheckerPlugin = require('fork-ts-checker-webpack-plugin');
|
|
7
8
|
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
|
8
|
-
const
|
|
9
|
+
const { ESBuildMinifyPlugin } = require('esbuild-loader');
|
|
9
10
|
const WebpackBar = require('webpackbar');
|
|
10
11
|
const NodePolyfillPlugin = require('node-polyfill-webpack-plugin');
|
|
11
|
-
const isWsl = require('is-wsl');
|
|
12
12
|
const alias = require('./webpack.alias');
|
|
13
13
|
const getClientEnvironment = require('./env');
|
|
14
14
|
|
|
15
|
+
const EE_REGEX = /from.* ['"]ee_else_ce\//;
|
|
16
|
+
|
|
15
17
|
module.exports = ({
|
|
16
|
-
appDir,
|
|
17
18
|
cacheDir,
|
|
18
19
|
dest,
|
|
19
20
|
entry,
|
|
@@ -29,7 +30,7 @@ module.exports = ({
|
|
|
29
30
|
eeRoot: './ee/admin',
|
|
30
31
|
ceRoot: './admin/src',
|
|
31
32
|
},
|
|
32
|
-
|
|
33
|
+
tsConfigFilePath,
|
|
33
34
|
}) => {
|
|
34
35
|
const isProduction = env === 'production';
|
|
35
36
|
|
|
@@ -50,34 +51,10 @@ module.exports = ({
|
|
|
50
51
|
]
|
|
51
52
|
: [];
|
|
52
53
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
configFile: path.join(appDir, 'tsconfig-admin.json'),
|
|
58
|
-
},
|
|
59
|
-
});
|
|
60
|
-
|
|
61
|
-
webpackPlugins.push(tsChecker);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
const rules = [];
|
|
65
|
-
|
|
66
|
-
// webpack is quite slow to compile so it is best not to use the ts loader when
|
|
67
|
-
// it is not needed in javascript apps.
|
|
68
|
-
// Users can still add it by using the custom webpack config.
|
|
69
|
-
if (useTypeScript) {
|
|
70
|
-
rules.push({
|
|
71
|
-
test: /\.tsx?$/,
|
|
72
|
-
loader: require.resolve('esbuild-loader'),
|
|
73
|
-
include: [cacheDir, ...pluginsPath],
|
|
74
|
-
exclude: /node_modules/,
|
|
75
|
-
options: {
|
|
76
|
-
loader: 'tsx',
|
|
77
|
-
target: 'es2015',
|
|
78
|
-
},
|
|
79
|
-
});
|
|
80
|
-
}
|
|
54
|
+
// Directly inject a polyfill in the webpack entry point before the entry point
|
|
55
|
+
// FIXME: I have noticed a bug regarding the helper-plugin and esbuild-loader
|
|
56
|
+
// The only I could fix it was to inject the babel polyfill
|
|
57
|
+
const babelPolyfill = '@babel/polyfill/dist/polyfill.min.js';
|
|
81
58
|
|
|
82
59
|
return {
|
|
83
60
|
mode: isProduction ? 'production' : 'development',
|
|
@@ -86,7 +63,7 @@ module.exports = ({
|
|
|
86
63
|
experiments: {
|
|
87
64
|
topLevelAwait: true,
|
|
88
65
|
},
|
|
89
|
-
entry,
|
|
66
|
+
entry: [babelPolyfill, entry],
|
|
90
67
|
output: {
|
|
91
68
|
path: dest,
|
|
92
69
|
publicPath: options.adminPath,
|
|
@@ -98,28 +75,9 @@ module.exports = ({
|
|
|
98
75
|
optimization: {
|
|
99
76
|
minimize: optimize,
|
|
100
77
|
minimizer: [
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
parse: {
|
|
105
|
-
ecma: 8,
|
|
106
|
-
},
|
|
107
|
-
compress: {
|
|
108
|
-
ecma: 5,
|
|
109
|
-
warnings: false,
|
|
110
|
-
comparisons: false,
|
|
111
|
-
inline: 2,
|
|
112
|
-
},
|
|
113
|
-
mangle: {
|
|
114
|
-
safari10: true,
|
|
115
|
-
},
|
|
116
|
-
output: {
|
|
117
|
-
ecma: 5,
|
|
118
|
-
comments: false,
|
|
119
|
-
ascii_only: true,
|
|
120
|
-
},
|
|
121
|
-
},
|
|
122
|
-
parallel: !isWsl,
|
|
78
|
+
new ESBuildMinifyPlugin({
|
|
79
|
+
target: 'es2015',
|
|
80
|
+
css: true, // Apply minification to CSS assets
|
|
123
81
|
}),
|
|
124
82
|
],
|
|
125
83
|
runtimeChunk: true,
|
|
@@ -127,42 +85,90 @@ module.exports = ({
|
|
|
127
85
|
module: {
|
|
128
86
|
rules: [
|
|
129
87
|
{
|
|
130
|
-
test: /\.
|
|
131
|
-
|
|
88
|
+
test: /\.tsx?$/,
|
|
89
|
+
loader: require.resolve('esbuild-loader'),
|
|
132
90
|
include: [cacheDir, ...pluginsPath],
|
|
91
|
+
exclude: /node_modules/,
|
|
92
|
+
options: {
|
|
93
|
+
loader: 'tsx',
|
|
94
|
+
target: 'es2015',
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
test: /\.m?js$/,
|
|
99
|
+
include: cacheDir,
|
|
100
|
+
oneOf: [
|
|
101
|
+
// Use babel-loader for files that distinct the ee and ce code
|
|
102
|
+
// These files have an import Something from 'ee_else_ce/
|
|
103
|
+
{
|
|
104
|
+
test(filePath) {
|
|
105
|
+
if (!filePath) {
|
|
106
|
+
return false;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
try {
|
|
110
|
+
const fileContent = fse.readFileSync(filePath).toString();
|
|
111
|
+
|
|
112
|
+
if (fileContent.match(/from.* ['"]ee_else_ce\//)) {
|
|
113
|
+
return true;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
return EE_REGEX.test(fileContent);
|
|
117
|
+
} catch (e) {
|
|
118
|
+
return false;
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
use: {
|
|
122
|
+
loader: require.resolve('babel-loader'),
|
|
123
|
+
options: {
|
|
124
|
+
cacheDirectory: true,
|
|
125
|
+
cacheCompression: isProduction,
|
|
126
|
+
compact: isProduction,
|
|
127
|
+
presets: [
|
|
128
|
+
require.resolve('@babel/preset-env'),
|
|
129
|
+
require.resolve('@babel/preset-react'),
|
|
130
|
+
],
|
|
131
|
+
plugins: [
|
|
132
|
+
[
|
|
133
|
+
require.resolve('@strapi/babel-plugin-switch-ee-ce'),
|
|
134
|
+
{
|
|
135
|
+
// Imported this tells the custom plugin where to look for the ee folder
|
|
136
|
+
roots,
|
|
137
|
+
},
|
|
138
|
+
],
|
|
139
|
+
|
|
140
|
+
[
|
|
141
|
+
require.resolve('@babel/plugin-transform-runtime'),
|
|
142
|
+
{
|
|
143
|
+
helpers: true,
|
|
144
|
+
regenerator: true,
|
|
145
|
+
},
|
|
146
|
+
],
|
|
147
|
+
[require.resolve('babel-plugin-styled-components'), { pure: true }],
|
|
148
|
+
],
|
|
149
|
+
},
|
|
150
|
+
},
|
|
151
|
+
},
|
|
152
|
+
// Use esbuild-loader for the other files
|
|
153
|
+
{
|
|
154
|
+
use: {
|
|
155
|
+
loader: require.resolve('esbuild-loader'),
|
|
156
|
+
options: {
|
|
157
|
+
loader: 'jsx',
|
|
158
|
+
target: 'es2015',
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
},
|
|
162
|
+
],
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
test: /\.m?js$/,
|
|
166
|
+
include: pluginsPath,
|
|
133
167
|
use: {
|
|
134
|
-
loader: require.resolve('
|
|
168
|
+
loader: require.resolve('esbuild-loader'),
|
|
135
169
|
options: {
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
compact: isProduction,
|
|
139
|
-
presets: [
|
|
140
|
-
require.resolve('@babel/preset-env'),
|
|
141
|
-
require.resolve('@babel/preset-react'),
|
|
142
|
-
],
|
|
143
|
-
plugins: [
|
|
144
|
-
[
|
|
145
|
-
require.resolve('@strapi/babel-plugin-switch-ee-ce'),
|
|
146
|
-
{
|
|
147
|
-
// Imported this tells the custom plugin where to look for the ee folder
|
|
148
|
-
roots,
|
|
149
|
-
},
|
|
150
|
-
],
|
|
151
|
-
require.resolve('@babel/plugin-proposal-class-properties'),
|
|
152
|
-
require.resolve('@babel/plugin-syntax-dynamic-import'),
|
|
153
|
-
require.resolve('@babel/plugin-transform-modules-commonjs'),
|
|
154
|
-
require.resolve('@babel/plugin-proposal-async-generator-functions'),
|
|
155
|
-
|
|
156
|
-
[
|
|
157
|
-
require.resolve('@babel/plugin-transform-runtime'),
|
|
158
|
-
{
|
|
159
|
-
// absoluteRuntime: true,s
|
|
160
|
-
helpers: true,
|
|
161
|
-
regenerator: true,
|
|
162
|
-
},
|
|
163
|
-
],
|
|
164
|
-
[require.resolve('babel-plugin-styled-components'), { pure: true }],
|
|
165
|
-
],
|
|
170
|
+
loader: 'jsx',
|
|
171
|
+
target: 'es2015',
|
|
166
172
|
},
|
|
167
173
|
},
|
|
168
174
|
},
|
|
@@ -198,7 +204,6 @@ module.exports = ({
|
|
|
198
204
|
},
|
|
199
205
|
},
|
|
200
206
|
},
|
|
201
|
-
...rules,
|
|
202
207
|
],
|
|
203
208
|
},
|
|
204
209
|
resolve: {
|
|
@@ -212,12 +217,16 @@ module.exports = ({
|
|
|
212
217
|
new HtmlWebpackPlugin({
|
|
213
218
|
inject: true,
|
|
214
219
|
template: path.resolve(__dirname, 'index.html'),
|
|
215
|
-
// FIXME
|
|
216
|
-
// favicon: path.resolve(__dirname, 'admin/src/favicon.ico'),
|
|
217
220
|
}),
|
|
218
221
|
new webpack.DefinePlugin(envVariables),
|
|
219
222
|
|
|
220
223
|
new NodePolyfillPlugin(),
|
|
224
|
+
|
|
225
|
+
new ForkTsCheckerPlugin({
|
|
226
|
+
typescript: {
|
|
227
|
+
configFile: tsConfigFilePath,
|
|
228
|
+
},
|
|
229
|
+
}),
|
|
221
230
|
...webpackPlugins,
|
|
222
231
|
],
|
|
223
232
|
};
|
package/admin/src/content-manager/components/DynamicTable/CellContent/Relation/PopoverContent.js
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { useQuery } from 'react-query';
|
|
3
|
-
import PropTypes from 'prop-types';
|
|
4
|
-
import { useIntl } from 'react-intl';
|
|
5
|
-
import { Box } from '@strapi/design-system/Box';
|
|
6
|
-
import { Typography } from '@strapi/design-system/Typography';
|
|
7
|
-
import { Loader } from '@strapi/design-system/Loader';
|
|
8
|
-
import { useNotifyAT } from '@strapi/design-system/LiveRegions';
|
|
9
|
-
import { axiosInstance } from '../../../../../core/utils';
|
|
10
|
-
import { getRequestUrl, getTrad } from '../../../../utils';
|
|
11
|
-
import CellValue from '../CellValue';
|
|
12
|
-
|
|
13
|
-
const fetchRelation = async (endPoint, notifyStatus) => {
|
|
14
|
-
const {
|
|
15
|
-
data: { results, pagination },
|
|
16
|
-
} = await axiosInstance.get(endPoint);
|
|
17
|
-
|
|
18
|
-
notifyStatus();
|
|
19
|
-
|
|
20
|
-
return { results, pagination };
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
const PopoverContent = ({ fieldSchema, name, rowId, targetModel, queryInfos }) => {
|
|
24
|
-
const requestURL = getRequestUrl(`${queryInfos.endPoint}/${rowId}/${name.split('.')[0]}`);
|
|
25
|
-
const { notifyStatus } = useNotifyAT();
|
|
26
|
-
const { formatMessage } = useIntl();
|
|
27
|
-
|
|
28
|
-
const notify = () => {
|
|
29
|
-
const message = formatMessage({
|
|
30
|
-
id: getTrad('DynamicTable.relation-loaded'),
|
|
31
|
-
defaultMessage: 'The relations have been loaded',
|
|
32
|
-
});
|
|
33
|
-
notifyStatus(message);
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
const { data, status } = useQuery([targetModel, rowId], () => fetchRelation(requestURL, notify), {
|
|
37
|
-
staleTime: 0,
|
|
38
|
-
});
|
|
39
|
-
|
|
40
|
-
if (status !== 'success') {
|
|
41
|
-
return (
|
|
42
|
-
<Box>
|
|
43
|
-
<Loader>Loading content</Loader>
|
|
44
|
-
</Box>
|
|
45
|
-
);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
return (
|
|
49
|
-
<ul>
|
|
50
|
-
{data?.results.map(entry => {
|
|
51
|
-
const value = entry[fieldSchema.name];
|
|
52
|
-
|
|
53
|
-
return (
|
|
54
|
-
<Box as="li" key={entry.id} padding={3}>
|
|
55
|
-
<Typography>
|
|
56
|
-
{value ? (
|
|
57
|
-
<CellValue type={fieldSchema.schema.type} value={entry[fieldSchema.name]} />
|
|
58
|
-
) : (
|
|
59
|
-
'-'
|
|
60
|
-
)}
|
|
61
|
-
</Typography>
|
|
62
|
-
</Box>
|
|
63
|
-
);
|
|
64
|
-
})}
|
|
65
|
-
{data?.pagination.total > 10 && (
|
|
66
|
-
<Box as="li" padding={3}>
|
|
67
|
-
<Typography>[...]</Typography>
|
|
68
|
-
</Box>
|
|
69
|
-
)}
|
|
70
|
-
</ul>
|
|
71
|
-
);
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
PopoverContent.propTypes = {
|
|
75
|
-
fieldSchema: PropTypes.shape({
|
|
76
|
-
name: PropTypes.string,
|
|
77
|
-
schema: PropTypes.shape({ type: PropTypes.string }).isRequired,
|
|
78
|
-
}).isRequired,
|
|
79
|
-
name: PropTypes.string.isRequired,
|
|
80
|
-
rowId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,
|
|
81
|
-
targetModel: PropTypes.string.isRequired,
|
|
82
|
-
queryInfos: PropTypes.shape({
|
|
83
|
-
endPoint: PropTypes.string,
|
|
84
|
-
}).isRequired,
|
|
85
|
-
};
|
|
86
|
-
|
|
87
|
-
export default PopoverContent;
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import React, { useState, useRef } from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
import { useIntl } from 'react-intl';
|
|
4
|
-
import { IconButton } from '@strapi/design-system/IconButton';
|
|
5
|
-
import { Typography } from '@strapi/design-system/Typography';
|
|
6
|
-
import { Box } from '@strapi/design-system/Box';
|
|
7
|
-
import { Badge } from '@strapi/design-system/Badge';
|
|
8
|
-
import { Flex } from '@strapi/design-system/Flex';
|
|
9
|
-
import { Popover } from '@strapi/design-system/Popover';
|
|
10
|
-
import { SortIcon, stopPropagation } from '@strapi/helper-plugin';
|
|
11
|
-
import styled from 'styled-components';
|
|
12
|
-
import PopoverContent from './PopoverContent';
|
|
13
|
-
import CellValue from '../CellValue';
|
|
14
|
-
|
|
15
|
-
const SINGLE_RELATIONS = ['oneToOne', 'manyToOne'];
|
|
16
|
-
|
|
17
|
-
const ActionWrapper = styled.span`
|
|
18
|
-
svg {
|
|
19
|
-
height: ${4 / 16}rem;
|
|
20
|
-
}
|
|
21
|
-
`;
|
|
22
|
-
|
|
23
|
-
const RelationCountBadge = styled(Badge)`
|
|
24
|
-
display: flex;
|
|
25
|
-
align-items: center;
|
|
26
|
-
height: ${20 / 16}rem;
|
|
27
|
-
width: ${16 / 16}rem;
|
|
28
|
-
`;
|
|
29
|
-
|
|
30
|
-
const Relation = ({ fieldSchema, metadatas, queryInfos, name, rowId, value }) => {
|
|
31
|
-
const { formatMessage } = useIntl();
|
|
32
|
-
const [visible, setVisible] = useState(false);
|
|
33
|
-
const buttonRef = useRef();
|
|
34
|
-
|
|
35
|
-
if (SINGLE_RELATIONS.includes(fieldSchema.relation)) {
|
|
36
|
-
return (
|
|
37
|
-
<Typography textColor="neutral800">
|
|
38
|
-
<CellValue type={metadatas.mainField.schema.type} value={value[metadatas.mainField.name]} />
|
|
39
|
-
</Typography>
|
|
40
|
-
);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
const handleTogglePopover = () => setVisible(prev => !prev);
|
|
44
|
-
|
|
45
|
-
return (
|
|
46
|
-
<Flex {...stopPropagation}>
|
|
47
|
-
<RelationCountBadge>{value.count}</RelationCountBadge>
|
|
48
|
-
<Box paddingLeft={2}>
|
|
49
|
-
<Typography textColor="neutral800">
|
|
50
|
-
{formatMessage(
|
|
51
|
-
{
|
|
52
|
-
id: 'content-manager.containers.ListPage.items',
|
|
53
|
-
defaultMessage: '{number, plural, =0 {items} one {item} other {items}}',
|
|
54
|
-
},
|
|
55
|
-
{ number: value.count }
|
|
56
|
-
)}
|
|
57
|
-
</Typography>
|
|
58
|
-
</Box>
|
|
59
|
-
{value.count > 0 && (
|
|
60
|
-
<ActionWrapper>
|
|
61
|
-
<IconButton
|
|
62
|
-
onClick={handleTogglePopover}
|
|
63
|
-
ref={buttonRef}
|
|
64
|
-
noBorder
|
|
65
|
-
label={formatMessage({
|
|
66
|
-
id: 'content-manager.popover.display-relations.label',
|
|
67
|
-
defaultMessage: 'Display relations',
|
|
68
|
-
})}
|
|
69
|
-
icon={<SortIcon isUp={visible} />}
|
|
70
|
-
/>
|
|
71
|
-
{visible && (
|
|
72
|
-
<Popover source={buttonRef} spacing={16} centered>
|
|
73
|
-
<PopoverContent
|
|
74
|
-
queryInfos={queryInfos}
|
|
75
|
-
name={name}
|
|
76
|
-
fieldSchema={metadatas.mainField}
|
|
77
|
-
targetModel={fieldSchema.targetModel}
|
|
78
|
-
rowId={rowId}
|
|
79
|
-
count={value.count}
|
|
80
|
-
/>
|
|
81
|
-
</Popover>
|
|
82
|
-
)}
|
|
83
|
-
</ActionWrapper>
|
|
84
|
-
)}
|
|
85
|
-
</Flex>
|
|
86
|
-
);
|
|
87
|
-
};
|
|
88
|
-
|
|
89
|
-
Relation.propTypes = {
|
|
90
|
-
fieldSchema: PropTypes.shape({
|
|
91
|
-
relation: PropTypes.string,
|
|
92
|
-
targetModel: PropTypes.string,
|
|
93
|
-
type: PropTypes.string.isRequired,
|
|
94
|
-
}).isRequired,
|
|
95
|
-
metadatas: PropTypes.shape({
|
|
96
|
-
mainField: PropTypes.shape({
|
|
97
|
-
name: PropTypes.string.isRequired,
|
|
98
|
-
schema: PropTypes.shape({ type: PropTypes.string.isRequired }).isRequired,
|
|
99
|
-
}),
|
|
100
|
-
}).isRequired,
|
|
101
|
-
name: PropTypes.string.isRequired,
|
|
102
|
-
rowId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,
|
|
103
|
-
queryInfos: PropTypes.shape({ endPoint: PropTypes.string.isRequired }).isRequired,
|
|
104
|
-
value: PropTypes.object.isRequired,
|
|
105
|
-
};
|
|
106
|
-
|
|
107
|
-
export default Relation;
|
package/admin/src/content-manager/components/EditViewDataManagerProvider/utils/getYupInnerErrors.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { get } from 'lodash';
|
|
2
|
-
|
|
3
|
-
const getYupInnerErrors = error => {
|
|
4
|
-
return get(error, 'inner', []).reduce((acc, curr) => {
|
|
5
|
-
acc[
|
|
6
|
-
curr.path
|
|
7
|
-
.split('[')
|
|
8
|
-
.join('.')
|
|
9
|
-
.split(']')
|
|
10
|
-
.join('')
|
|
11
|
-
] = { id: curr.message };
|
|
12
|
-
|
|
13
|
-
return acc;
|
|
14
|
-
}, {});
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
export default getYupInnerErrors;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[1094],{4988:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},19590:e=>{function t(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.exports=function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},4546:(e,t,r)=>{var n=r(40990);e.exports=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},9895:function(e,t,r){var n;e.exports=(n=r(32735),function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=12)}({0:function(e,t){e.exports=n},12:function(e,t,r){"use strict";r.r(t);var n=r(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.default=function(e){return n.createElement("svg",o({width:"1em",height:"1em",viewBox:"0 0 32 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("rect",{x:.5,y:.5,width:31,height:23,rx:2.5,fill:"#EAFBE7",stroke:"#C6F0C2"}),n.createElement("path",{d:"M19.5 7h-7A4.505 4.505 0 008 11.5c0 2.481 2.019 4.5 4.5 4.5h7c2.481 0 4.5-2.019 4.5-4.5S21.981 7 19.5 7zm0 8a3.5 3.5 0 110-7 3.5 3.5 0 010 7z",fill:"#328048"}))}}}))},10822:function(e,t,r){var n;e.exports=(n=r(32735),function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=38)}({0:function(e,t){e.exports=n},38:function(e,t,r){"use strict";r.r(t);var n=r(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.default=function(e){return n.createElement("svg",o({width:"1em",height:"1em",viewBox:"0 0 32 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("rect",{x:.5,y:.5,width:31,height:23,rx:2.5,fill:"#F6F6F9",stroke:"#DCDCE4"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.535 8.768c0 .116-.011.229-.032.339l3.013 1.776 2.985-1.76a1.768 1.768 0 11.519.93l-2.982 1.757v2.477a1.768 1.768 0 11-1.048-.044v-2.435l-2.997-1.767a1.768 1.768 0 11.542-1.274z",fill:"#666687"}),n.createElement("path",{d:"M13.503 9.107l-.05-.01-.006.035.03.018.026-.043zm3.013 1.776l-.025.043.025.014.025-.014-.025-.043zm2.985-1.76l.025.044.031-.018-.007-.035-.05.01zm.518.93l.035-.036-.027-.026-.033.02.026.042zm-2.98 1.757l-.026-.043-.025.014v.029h.05zm0 2.477h-.05v.035l.032.012.017-.047zm-1.049-.044l.013.048.037-.01v-.038h-.05zm0-2.435h.05v-.029l-.024-.014-.026.043zm-2.997-1.767l.025-.043-.033-.019-.027.027.035.035zm.559-.925c.022-.113.033-.23.033-.348h-.1c0 .112-.01.223-.031.33l.098.018zm2.99 1.723l-3.014-1.775-.05.086 3.013 1.775.05-.086zm2.933-1.758l-2.984 1.758.05.086 2.985-1.758-.05-.086zm-.06-.313c0 .125.013.247.037.366l.098-.02a1.723 1.723 0 01-.035-.346h-.1zm1.818-1.818a1.818 1.818 0 00-1.818 1.818h.1c0-.949.769-1.718 1.718-1.718v-.1zm1.817 1.818a1.818 1.818 0 00-1.817-1.818v.1c.948 0 1.717.769 1.717 1.718h.1zm-1.817 1.817a1.818 1.818 0 001.817-1.817h-.1c0 .948-.769 1.717-1.717 1.717v.1zm-1.248-.495c.326.307.765.495 1.248.495v-.1c-.457 0-.872-.178-1.18-.468l-.068.073zm-2.921 1.763l2.98-1.757-.05-.086-2.981 1.757.05.086zm.024 2.434V11.81h-.1v2.477h.1zm-.067.047a1.718 1.718 0 011.14 1.618h.1c0-.79-.503-1.46-1.206-1.712l-.034.094zm1.14 1.618c0 .948-.77 1.717-1.718 1.717v.1a1.817 1.817 0 001.817-1.817h-.1zm-1.718 1.717a1.718 1.718 0 01-1.718-1.717h-.1c0 1.004.814 1.817 1.818 1.817v-.1zm-1.718-1.717c0-.797.543-1.467 1.278-1.66l-.026-.098a1.818 1.818 0 00-1.352 1.758h.1zm1.215-4.144v2.435h.1v-2.435h-.1zm-2.973-1.723l2.998 1.766.05-.086-2.997-1.767-.05.087zm-1.2.5c.49 0 .934-.193 1.26-.507l-.069-.072c-.309.296-.728.48-1.19.48v.1zM9.95 8.768c0 1.003.814 1.817 1.818 1.817v-.1a1.718 1.718 0 01-1.718-1.717h-.1zm1.818-1.818A1.818 1.818 0 009.95 8.768h.1c0-.949.769-1.718 1.717-1.718v-.1zm1.817 1.818a1.818 1.818 0 00-1.818-1.818v.1c.95 0 1.718.769 1.718 1.718h.1z",fill:"#666687"}))}}}))},61714:function(e,t,r){var n;e.exports=(n=r(32735),function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=48)}({0:function(e,t){e.exports=n},48:function(e,t,r){"use strict";r.r(t);var n=r(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.default=function(e){return n.createElement("svg",o({width:"1em",height:"1em",viewBox:"0 0 32 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{d:"M.5 3A2.5 2.5 0 013 .5h26A2.5 2.5 0 0131.5 3v18a2.5 2.5 0 01-2.5 2.5H3A2.5 2.5 0 01.5 21V3z",fill:"#FDF4DC",stroke:"#FAE7B9"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.934 7.495V6h1.45v1.495h5.232V6h1.45v1.495h.314c1.385 0 1.602.249 1.62 1.463V16.5c0 1.062-.096 1.5-1.4 1.5h-9.19c-1.306 0-1.41-.318-1.41-1.607V9.105c.018-1.025.117-1.61 1.5-1.61h.434zm-.774 8.687c0 .406.123.433.388.433h8.953c.265 0 .34-.007.34-.413v-6.087c-.008-.314-.11-.369-.316-.369h-9.072c-.206 0-.296.045-.293.287v6.15z",fill:"#D9822F"}))}}}))},80466:function(e,t,r){var n;e.exports=(n=r(32735),function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=57)}({0:function(e,t){e.exports=n},57:function(e,t,r){"use strict";r.r(t);var n=r(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.default=function(e){return n.createElement("svg",o({width:"1em",height:"1em",viewBox:"0 0 32 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("rect",{x:.5,y:.5,width:31,height:23,rx:2.5,fill:"#F6F6F9",stroke:"#DCDCE4"}),n.createElement("path",{d:"M20.573 8c-1.484 0-2.666.745-3.397 1.37l-.026.023-.416.452.919 1.51.68-.682c.711-.6 1.506-.93 2.24-.93 1.48 0 2.685 1.171 2.685 2.612 0 1.44-1.205 2.613-2.685 2.613-2.25 0-3.78-2.974-3.795-3.004C16.69 11.784 14.75 8 11.428 8 8.985 8 7 9.954 7 12.355c0 2.401 1.986 4.355 4.427 4.355 1.196 0 2.373-.476 3.404-1.376l.022-.02.413-.45-.919-1.51-.683.686c-.712.616-1.465.928-2.237.928-1.48 0-2.685-1.172-2.685-2.613 0-1.44 1.205-2.613 2.685-2.613 2.25 0 3.78 2.974 3.795 3.004.088.18 2.028 3.964 5.35 3.964 2.442 0 4.428-1.954 4.428-4.355C25 9.954 23.014 8 20.573 8z",fill:"#666687"}))}}}))},34103:function(e,t,r){var n;e.exports=(n=r(32735),function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=60)}({0:function(e,t){e.exports=n},60:function(e,t,r){"use strict";r.r(t);var n=r(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.default=function(e){return n.createElement("svg",o({width:"1em",height:"1em",viewBox:"0 0 32 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("rect",{x:.5,y:.5,width:31,height:23,rx:2.5,fill:"#FCECEA",stroke:"#F5C0B8"}),n.createElement("path",{d:"M16.767 17.49c.724 0 1.428-.089 1.962-.253v-1.093c-.383.143-1.128.239-1.86.239-2.905 0-4.744-1.764-4.744-4.546v-.014c0-2.734 1.839-4.641 4.484-4.641 2.598 0 4.307 1.62 4.307 4.088v.013c0 1.402-.444 2.304-1.135 2.304-.417 0-.656-.287-.656-.772V9.157h-1.38v.82h-.124c-.273-.608-.868-.97-1.6-.97-1.367 0-2.296 1.135-2.296 2.789v.014c0 1.73.943 2.884 2.365 2.884.793 0 1.353-.362 1.64-1.052h.123l.007.04c.158.636.78 1.033 1.62 1.033 1.655 0 2.687-1.367 2.687-3.534v-.014c0-3.008-2.242-5.072-5.517-5.072-3.418 0-5.776 2.324-5.776 5.694v.014c0 3.431 2.331 5.687 5.893 5.687zm-.342-4.053c-.718 0-1.149-.602-1.149-1.586v-.014c0-.991.431-1.586 1.156-1.586.724 0 1.182.608 1.182 1.586v.014c0 .977-.458 1.585-1.19 1.585z",fill:"#D02B20"}))}}}))},57290:function(e,t,r){var n;e.exports=(n=r(32735),function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=66)}({0:function(e,t){e.exports=n},66:function(e,t,r){"use strict";r.r(t);var n=r(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.default=function(e){return n.createElement("svg",o({width:"1em",height:"1em",viewBox:"0 0 32 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("rect",{x:.5,y:.5,width:31,height:23,rx:2.5,fill:"#F6ECFC",stroke:"#E0C1F4"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.167 7a1.167 1.167 0 100 2.333 1.167 1.167 0 000-2.333zm0 4.03a1.167 1.167 0 100 2.334 1.167 1.167 0 000-2.334zM9 16.23a1.167 1.167 0 112.333 0 1.167 1.167 0 01-2.333 0zm4.005-9.02a.4.4 0 00-.4.4v1.11c0 .22.18.4.4.4H22.6a.4.4 0 00.4-.4V7.61a.4.4 0 00-.4-.4h-9.594zm-.399 4.432a.4.4 0 01.4-.4H22.6c.22 0 .4.18.4.4v1.11a.4.4 0 01-.4.4h-9.594a.4.4 0 01-.4-.4v-1.11zm.4 3.63a.4.4 0 00-.4.4v1.11c0 .22.18.4.4.4H22.6a.4.4 0 00.4-.4v-1.11a.4.4 0 00-.4-.4h-9.594z",fill:"#9736E8"}))}}}))},57955:function(e,t,r){var n;e.exports=(n=r(32735),function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=99)}({0:function(e,t){e.exports=n},99:function(e,t,r){"use strict";r.r(t);var n=r(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.default=function(e){return n.createElement("svg",o({width:"1em",height:"1em",viewBox:"0 0 32 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("rect",{x:.5,y:.5,width:31,height:23,rx:2.5,fill:"#EAF5FF",stroke:"#B8E1FF"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.243 11.907v.157c.835.093 1.287.516 1.287 1.223V14.5c0 .693.236.959.855.959h.216V16.5h-.364c-1.459 0-2.078-.56-2.078-1.857v-.973c0-.722-.314-.992-1.159-1.002v-1.366c.84-.005 1.16-.275 1.16-1.002v-.968c0-1.282.618-1.832 2.077-1.832h.364v1.041h-.216c-.624 0-.855.266-.855.958v1.184c0 .713-.452 1.135-1.287 1.224zm15.804.181v-.157c-.835-.088-1.287-.51-1.287-1.223V9.495c0-.693-.236-.954-.855-.954h-.216V7.5h.363c1.454 0 2.073.56 2.073 1.852v.973c0 .722.32.997 1.165 1.002v1.366c-.845.005-1.165.28-1.165 1.002v.973c0 1.282-.613 1.832-2.073 1.832h-.363v-1.046h.216c.619 0 .855-.26.855-.954v-1.188c0-.708.452-1.13 1.287-1.224zM13.15 13a1 1 0 100-2 1 1 0 000 2zm4-1a1 1 0 11-2 0 1 1 0 012 0zm2 1a1 1 0 100-2 1 1 0 000 2z",fill:"#0C75AF"}))}}}))},55788:function(e,t,r){var n;e.exports=(n=r(32735),function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=115)}({0:function(e,t){e.exports=n},115:function(e,t,r){"use strict";r.r(t);var n=r(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.default=function(e){return n.createElement("svg",o({width:"1em",height:"1em",viewBox:"0 0 32 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("rect",{x:.5,y:.5,width:31,height:23,rx:2.5,fill:"#F6ECFC",stroke:"#E0C1F4"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 8.759a2 2 0 00-2-2h-8c-1.105 0-2 .902-2 2.006v6.068a2 2 0 00.985 1.724l3.66-3.74 3.31 3.381 1.471-1.502 1.731 1.769c.51-.363.843-.958.843-1.632V8.76zM18.5 9c-.84 0-1.5.66-1.5 1.5s.66 1.5 1.5 1.5 1.5-.66 1.5-1.5S19.34 9 18.5 9z",fill:"#9736E8"}))}}}))},42122:function(e,t,r){var n;e.exports=(n=r(32735),function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=127)}({0:function(e,t){e.exports=n},127:function(e,t,r){"use strict";r.r(t);var n=r(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.default=function(e){return n.createElement("svg",o({width:"1em",height:"1em",viewBox:"0 0 32 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("rect",{x:.5,y:.5,width:31,height:23,rx:2.5,fill:"#FCECEA",stroke:"#F5C0B8"}),n.createElement("path",{d:"M9.815 16h1.475V8.954H9.82L8 10.22v1.328l1.729-1.201h.087V16zm3.394 0h5.083v-1.187h-3.106v-.112l1.304-1.216c1.284-1.186 1.7-1.85 1.7-2.651v-.015c0-1.215-1.016-2.046-2.466-2.046-1.543 0-2.598.928-2.598 2.28l.005.02h1.362v-.024c0-.67.474-1.128 1.162-1.128.674 0 1.084.42 1.084 1.02v.015c0 .493-.268.85-1.26 1.812l-2.27 2.24V16zm9.067.156c1.646 0 2.744-.864 2.744-2.143v-.01c0-.957-.683-1.563-1.733-1.66v-.03c.825-.17 1.47-.742 1.47-1.62v-.01c0-1.123-.977-1.885-2.49-1.885-1.48 0-2.471.82-2.574 2.08l-.005.059h1.358l.005-.044c.058-.586.522-.962 1.216-.962.693 0 1.098.361 1.098.947v.01c0 .571-.478.962-1.22.962h-.787v1.05h.806c.855 0 1.357.37 1.357 1.044v.01c0 .596-.493 1.016-1.245 1.016-.761 0-1.264-.39-1.328-.938l-.005-.053h-1.41l.004.063c.098 1.26 1.148 2.114 2.74 2.114z",fill:"#D02B20"}))}}}))},81208:function(e,t,r){var n;e.exports=(n=r(32735),function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=155)}({0:function(e,t){e.exports=n},155:function(e,t,r){"use strict";r.r(t);var n=r(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.default=function(e){return n.createElement("svg",o({width:"1em",height:"1em",viewBox:"0 0 32 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{d:"M.5 3A2.5 2.5 0 013 .5h26A2.5 2.5 0 0131.5 3v18a2.5 2.5 0 01-2.5 2.5H3A2.5 2.5 0 01.5 21V3z",fill:"#F0F0FF",stroke:"#D9D8FF"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.375 16.316c.417-.407.625-.904.625-1.492 0-.589-.206-1.089-.618-1.5l-1.53-1.53a2.042 2.042 0 00-1.5-.617 2.06 2.06 0 00-1.529.646l-.646-.646c.43-.422.646-.934.646-1.537a2.03 2.03 0 00-.61-1.493l-1.515-1.522a2.014 2.014 0 00-1.5-.625 2.03 2.03 0 00-1.492.61l-1.081 1.074A2.006 2.006 0 0010 9.176c0 .589.206 1.089.618 1.5l1.53 1.53c.41.412.91.617 1.5.617a2.06 2.06 0 001.529-.646l.646.646a2.069 2.069 0 00-.646 1.537c0 .588.203 1.086.61 1.493l1.514 1.522c.407.417.907.625 1.5.625a2.03 2.03 0 001.493-.61l1.081-1.074zm-5.956-6.678a.68.68 0 00-.205-.5l-1.515-1.522a.68.68 0 00-.5-.206.71.71 0 00-.5.199l-1.081 1.073a.672.672 0 00-.206.493.68.68 0 00.206.5l1.53 1.53a.678.678 0 00.5.198.71.71 0 00.529-.228l-.14-.136a4.46 4.46 0 01-.158-.158 1.756 1.756 0 01-.11-.14.593.593 0 01-.122-.39.68.68 0 01.206-.5.68.68 0 01.5-.206.59.59 0 01.39.121c.064.047.11.084.14.111.03.027.082.08.158.158l.136.14a.713.713 0 00.242-.537zm5.168 5.187a.68.68 0 00-.206-.5l-1.529-1.53a.68.68 0 00-.5-.205.7.7 0 00-.53.235l.14.136c.079.076.132.129.159.158.027.03.063.076.11.14a.591.591 0 01.121.39.681.681 0 01-.206.5.681.681 0 01-.5.206.591.591 0 01-.39-.121 1.746 1.746 0 01-.14-.111 4.395 4.395 0 01-.157-.158 20.642 20.642 0 00-.136-.14.714.714 0 00-.037 1.037l1.515 1.522a.678.678 0 00.5.198.708.708 0 00.5-.19l1.08-1.074a.672.672 0 00.206-.493z",fill:"#4945FF"}))}}}))},65232:function(e,t,r){var n;e.exports=(n=r(32735),function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=178)}({0:function(e,t){e.exports=n},178:function(e,t,r){"use strict";r.r(t);var n=r(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.default=function(e){return n.createElement("svg",o({width:"1em",height:"1em",viewBox:"0 0 32 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("rect",{x:.5,y:.5,width:31,height:23,rx:2.5,fill:"#EAFBE7",stroke:"#C6F0C2"}),n.createElement("path",{d:"M8.62 16h1.857l.627-2.05h2.982l.627 2.05h1.863l-2.941-8.455h-2.08L8.619 16zm3.925-6.768h.105l1.032 3.393h-2.174l1.037-3.393zM21.65 16.1c1.612 0 2.62-1.26 2.62-3.323v-.011c0-2.075-.985-3.323-2.62-3.323-.884 0-1.605.434-1.933 1.137h-.106V7.082h-1.71V16h1.71v-1.002h.106c.334.697 1.02 1.102 1.933 1.102zm-.585-1.418c-.903 0-1.471-.715-1.471-1.899v-.011c0-1.184.574-1.91 1.47-1.91.903 0 1.465.726 1.465 1.904v.011c0 1.19-.556 1.905-1.465 1.905z",fill:"#328048"}))}}}))},80268:function(e,t,r){var n;e.exports=(n=r(32735),function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=185)}({0:function(e,t){e.exports=n},185:function(e,t,r){"use strict";r.r(t);var n=r(0);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.default=function(e){return n.createElement("svg",o({width:"1em",height:"1em",viewBox:"0 0 32 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{d:"M.5 3A2.5 2.5 0 013 .5h26A2.5 2.5 0 0131.5 3v18a2.5 2.5 0 01-2.5 2.5H3A2.5 2.5 0 01.5 21V3z",fill:"#F0F0FF",stroke:"#D9D8FF"}),n.createElement("path",{d:"M14.907 9.438c0 .375 0 .738.118 1.078-1.243 1.46-4.526 5.317-4.832 5.611a.582.582 0 00-.193.433c0 .245.15.481.277.614.19.2 1.004.952 1.154.808.444-.433.533-.548.715-.727.274-.268-.029-.816.066-1.039.096-.222.197-.265.361-.3.165-.034.456.084.684.087.24.003.369-.098.548-.265.144-.133.248-.257.25-.45.007-.26-.368-.603-.089-.877.28-.274.684.178.981.144.297-.035.658-.447.695-.623.038-.176-.337-.629-.28-.886.02-.086.197-.288.33-.317.132-.029.72.199.853.17.162-.034.35-.205.502-.3.447.193.854.271 1.376.271C20.4 12.87 22 11.33 22 9.432 22 7.534 20.399 6 18.423 6s-3.516 1.54-3.516 3.438zm5.247-.669a.923.923 0 11-1.847 0 .923.923 0 011.847 0z",fill:"#4945FF"}))}}}))},23089:(e,t,r)=>{var n=r(61712)("length");e.exports=n},38788:(e,t,r)=>{var n=r(23089),o=r(34327),u=r(71286);e.exports=function(e){return o(e)?u(e):n(e)}},71286:e=>{var t="[\\ud800-\\udfff]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",n="\\ud83c[\\udffb-\\udfff]",o="[^\\ud800-\\udfff]",u="(?:\\ud83c[\\udde6-\\uddff]){2}",l="[\\ud800-\\udbff][\\udc00-\\udfff]",i="(?:"+r+"|"+n+")"+"?",c="[\\ufe0e\\ufe0f]?",a=c+i+("(?:\\u200d(?:"+[o,u,l].join("|")+")"+c+i+")*"),f="(?:"+[o+r+"?",r,u,l,t].join("|")+")",p=RegExp(n+"(?="+n+")|"+f+a,"g");e.exports=function(e){for(var t=p.lastIndex=0;p.test(e);)++t;return t}},59578:(e,t,r)=>{var n=r(41119);e.exports=function(e){return n(e).toLowerCase()}},93148:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCacheKeyComparator=o,t.defaultEqualityCheck=void 0,t.defaultMemoize=function(e,t){var u="object"===typeof t?t:{equalityCheck:t},l=u.equalityCheck,i=void 0===l?n:l,c=u.maxSize,a=void 0===c?1:c,f=u.resultEqualityCheck,p=o(i),s=1===a?function(e){var t;return{get:function(n){return t&&e(t.key,n)?t.value:r},put:function(e,r){t={key:e,value:r}},getEntries:function(){return t?[t]:[]},clear:function(){t=void 0}}}(p):function(e,t){var n=[];function o(e){var o=n.findIndex((function(r){return t(e,r.key)}));if(o>-1){var u=n[o];return o>0&&(n.splice(o,1),n.unshift(u)),u.value}return r}function u(t,u){o(t)===r&&(n.unshift({key:t,value:u}),n.length>e&&n.pop())}function l(){return n}function i(){n=[]}return{get:o,put:u,getEntries:l,clear:i}}(a,p);function d(){var t=s.get(arguments);if(t===r){if(t=e.apply(null,arguments),f){var n=s.getEntries(),o=n.find((function(e){return f(e.value,t)}));o&&(t=o.value)}s.put(arguments,t)}return t}return d.clearCache=function(){return s.clear()},d};var r="NOT_FOUND";var n=function(e,t){return e===t};function o(e){return function(t,r){if(null===t||null===r||t.length!==r.length)return!1;for(var n=t.length,o=0;o<n;o++)if(!e(t[o],r[o]))return!1;return!0}}t.defaultEqualityCheck=n},12463:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSelector=void 0,t.createSelectorCreator=u,t.createStructuredSelector=void 0,Object.defineProperty(t,"defaultEqualityCheck",{enumerable:!0,get:function(){return n.defaultEqualityCheck}}),Object.defineProperty(t,"defaultMemoize",{enumerable:!0,get:function(){return n.defaultMemoize}});var n=r(93148);function o(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"===typeof e}))){var r=t.map((function(e){return"function"===typeof e?"function "+(e.name||"unnamed")+"()":typeof e})).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+r+"]")}return t}function u(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var u=function(){for(var t=arguments.length,n=new Array(t),u=0;u<t;u++)n[u]=arguments[u];var l,i=0,c={memoizeOptions:void 0},a=n.pop();if("object"===typeof a&&(c=a,a=n.pop()),"function"!==typeof a)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof a+"]");var f=c,p=f.memoizeOptions,s=void 0===p?r:p,d=Array.isArray(s)?s:[s],v=o(n),y=e.apply(void 0,[function(){return i++,a.apply(null,arguments)}].concat(d)),h=e((function(){for(var e=[],t=v.length,r=0;r<t;r++)e.push(v[r].apply(null,arguments));return l=y.apply(null,e)}));return Object.assign(h,{resultFunc:a,memoizedResultFunc:y,dependencies:v,lastResult:function(){return l},recomputations:function(){return i},resetRecomputations:function(){return i=0}}),h};return u}var l=u(n.defaultMemoize);t.createSelector=l;t.createStructuredSelector=function(e,t){if(void 0===t&&(t=l),"object"!==typeof e)throw new Error("createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e);var r=Object.keys(e),n=t(r.map((function(t){return e[t]})),(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t,n){return e[r[n]]=t,e}),{})}));return n}}}]);
|