@griddo/ax 12.5.0 → 12.5.2-rc.0
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/README.md +1 -2
- package/config/__tests__/ModulePathInMessagesPlugin.test.js +93 -0
- package/config/__tests__/webpack5-migration.test.js +2 -2
- package/config/webpack/ModulePathInMessagesPlugin.js +47 -0
- package/config/webpack.config.js +5 -0
- package/package.json +21 -19
- package/src/GlobalStore.tsx +3 -3
- package/src/__mocks__/reducers/structuredData.tsx +1 -1
- package/src/__tests__/components/ActionMenu/ActionMenu.test.tsx +1 -1
- package/src/__tests__/components/Breadcrumb/Breadcrumb.test.tsx +1 -1
- package/src/__tests__/components/Browser/Browser.test.tsx +4 -0
- package/src/__tests__/components/CategoryCell/CategoryCell.test.tsx +1 -1
- package/src/__tests__/components/ConfigPanel/Form/Form.test.tsx +5 -5
- package/src/__tests__/components/ConfigPanel/Header/Header.test.tsx +2 -2
- package/src/__tests__/components/ConfigPanel/NavigationForm/Field/Field.test.tsx +5 -1
- package/src/__tests__/components/ConfigPanel/NavigationForm/NavigationForm.test.tsx +1 -1
- package/src/__tests__/components/ConfigPanel/PreviewForm/PreviewForm.test.tsx +1 -1
- package/src/__tests__/components/DragAndDrop/DragAndDrop.test.tsx +1 -1
- package/src/__tests__/components/ElementsTooltip/ElementsTooltip.test.tsx +1 -1
- package/src/__tests__/components/EmptyState/EmptyState.test.tsx +1 -1
- package/src/__tests__/components/ErrorCenter/ErrorCenter.test.tsx +2 -2
- package/src/__tests__/components/ErrorToast/ErrorToast.test.tsx +1 -1
- package/src/__tests__/components/FieldContainer/FieldContainer.test.tsx +1 -1
- package/src/__tests__/components/Fields/AsyncSelect/AsyncSelect.test.tsx +2 -2
- package/src/__tests__/components/Fields/ColorPicker/ColorPicker.test.tsx +1 -1
- package/src/__tests__/components/Fields/ComponentArray/ComponentArray.test.tsx +3 -3
- package/src/__tests__/components/Fields/ComponentArray/MixableComponentArray/MixableComponentArray.test.tsx +2 -2
- package/src/__tests__/components/Fields/ComponentArray/MixableComponentArray/PasteModuleButton/PasteModuleButton.test.tsx +2 -2
- package/src/__tests__/components/Fields/ComponentArray/SameComponentArray/SameComponentArray.test.tsx +4 -2
- package/src/__tests__/components/Fields/ComponentContainer/ComponentContainer.test.tsx +1 -1
- package/src/__tests__/components/Fields/DateField/DateField.test.tsx +1 -1
- package/src/__tests__/components/Fields/FileField/FileField.test.tsx +1 -1
- package/src/__tests__/components/Fields/HiddenField/HiddenField.test.tsx +1 -1
- package/src/__tests__/components/Fields/ImageField/ImageField.test.tsx +1 -1
- package/src/__tests__/components/Fields/IntegrationsField/IntegrationsField.test.tsx +1 -1
- package/src/__tests__/components/Fields/MultiCheckSelect/MultiCheckSelect.test.tsx +1 -1
- package/src/__tests__/components/Fields/MultiCheckSelectGroup/MultiCheckSelectGroup.test.tsx +1 -1
- package/src/__tests__/components/Fields/NoteField/NoteField.test.tsx +1 -1
- package/src/__tests__/components/Fields/NumberField/NumberField.test.tsx +1 -1
- package/src/__tests__/components/Fields/RadioField/RadioField.test.tsx +1 -1
- package/src/__tests__/components/Fields/ReferenceField/ReferenceField.test.tsx +1 -1
- package/src/__tests__/components/Fields/RichText/RichText.test.tsx +1 -1
- package/src/__tests__/components/Fields/Select/Select.test.tsx +1 -1
- package/src/__tests__/components/Fields/SliderField/SliderField.test.tsx +1 -1
- package/src/__tests__/components/Fields/SummaryButton/SummaryButton.test.tsx +1 -1
- package/src/__tests__/components/Fields/ToggleField/ToggleField.test.tsx +1 -1
- package/src/__tests__/components/Fields/Tooltip/Tooltip.test.tsx +1 -1
- package/src/__tests__/components/Fields/TranslateButton/TranslateButton.test.tsx +1 -1
- package/src/__tests__/components/Fields/UrlField/UrlField.test.tsx +1 -1
- package/src/__tests__/components/Fields/VisualUniqueSelection/ImageSelection/ImageSelection.test.tsx +1 -1
- package/src/__tests__/components/Fields/VisualUniqueSelection/ScrollableSelection/ScrollableSelection.test.tsx +1 -1
- package/src/__tests__/components/Fields/VisualUniqueSelection/VisualUniqueSelection.test.tsx +2 -2
- package/src/__tests__/components/Fields/Wysiwyg/Wysiwyg.atoms.test.tsx +1 -5
- package/src/__tests__/components/Fields/Wysiwyg/Wysiwyg.test.tsx +7 -31
- package/src/__tests__/components/Flag/Flag.test.tsx +1 -1
- package/src/__tests__/components/FloatingPanel/FloatingPanel.test.tsx +1 -1
- package/src/__tests__/components/GuardModal/GuardModal.test.tsx +1 -1
- package/src/__tests__/components/HeadingsPreviewModal/HeadingsPreviewModal.test.tsx +1 -1
- package/src/__tests__/components/HeadingsPreviewModal/HeadingsPreviewModal.utils.test.tsx +5 -1
- package/src/__tests__/components/Icon/Icon.test.tsx +1 -1
- package/src/__tests__/components/IconAction/IconAction.test.tsx +1 -1
- package/src/__tests__/components/InformativeMenu/InformativeMenu.test.tsx +1 -1
- package/src/__tests__/components/KeywordsPreviewModal/KeywordsPreviewModal.test.tsx +1 -1
- package/src/__tests__/components/KeywordsPreviewModal/atoms.test.tsx +1 -1
- package/src/__tests__/components/Lists/Lists.test.tsx +1 -1
- package/src/__tests__/components/Loader/Loader.test.tsx +1 -1
- package/src/__tests__/components/Login/Login.test.tsx +1 -1
- package/src/__tests__/components/Login/RecoveryModal/RecoveryModal.test.tsx +1 -1
- package/src/__tests__/components/MainWrapper/AppBar/AppBar.test.tsx +1 -1
- package/src/__tests__/components/MainWrapper/MainWrapper.test.tsx +1 -1
- package/src/__tests__/components/MenuItem/MenuItem.test.tsx +1 -1
- package/src/__tests__/components/Modal/Modal.test.tsx +1 -1
- package/src/__tests__/components/Nav/Nav.test.tsx +1 -1
- package/src/__tests__/components/Notification/Notification.test.tsx +1 -1
- package/src/__tests__/components/Notification/SubNotification/Subnotification.test.tsx +1 -1
- package/src/__tests__/components/Pagination/Pagination.test.tsx +0 -1
- package/src/__tests__/components/ProgressBar/ProgressBar.test.tsx +1 -1
- package/src/__tests__/components/ReorderArrows/ReorderArrows.test.tsx +1 -1
- package/src/__tests__/components/ResizePanel/ResizePanel.test.tsx +1 -0
- package/src/__tests__/components/RestrictionsModal/UsersList/UsersList.test.tsx +96 -9
- package/src/__tests__/components/SearchField/SearchField.test.tsx +1 -1
- package/src/__tests__/components/SubNav/SubNav.test.tsx +1 -1
- package/src/__tests__/components/TableCounter/TableCounter.test.tsx +1 -1
- package/src/__tests__/components/TableFilters/CategoryFilter/CategoryFilter.test.tsx +3 -3
- package/src/__tests__/components/TableFilters/CustomizeFilters/CustomizeFilters.test.tsx +2 -2
- package/src/__tests__/components/TableFilters/DateFilter/DateFilter.test.tsx +3 -3
- package/src/__tests__/components/TableFilters/LiveFilter/LiveFilter.test.tsx +3 -3
- package/src/__tests__/components/TableFilters/NameFilter/NameFilter.test.tsx +3 -3
- package/src/__tests__/components/TableFilters/RoleFilter/RoleFilter.test.tsx +3 -3
- package/src/__tests__/components/TableFilters/SiteFilter/SiteFilter.test.tsx +3 -3
- package/src/__tests__/components/TableFilters/StatusFilter/StatusFilter.test.tsx +3 -3
- package/src/__tests__/components/TableFilters/TranslationsFilter/TranslationsFilter.test.tsx +3 -3
- package/src/__tests__/components/TableFilters/TypeFilter/TypeFilter.test.tsx +3 -3
- package/src/__tests__/components/TableFilters/UsersFilter/UsersFilter.test.tsx +3 -3
- package/src/__tests__/components/TableList/TableList.test.tsx +1 -1
- package/src/__tests__/components/Tabs/Tabs.test.tsx +1 -1
- package/src/__tests__/components/Tag/Tag.test.tsx +1 -1
- package/src/__tests__/components/Toast/Toast.test.tsx +1 -1
- package/src/__tests__/hooks/users.test.tsx +12 -4
- package/src/__tests__/modules/Settings/Integrations/Integrations.test.tsx +1 -1
- package/src/__tests__/modules/Sites/SitesList/WelcomeModal/FinalStep/FinalStep.test.tsx +9 -1
- package/src/__tests__/modules/Sites/SitesList/WelcomeModal/ImageStep/ImageStep.test.tsx +2 -0
- package/src/__tests__/modules/Sites/SitesList/WelcomeModal/ImageStep/UploadView/UploadView.test.tsx +1 -0
- package/src/__tests__/modules/Users/Roles/BulkHeader/BulkHeader.test.tsx +2 -2
- package/src/__tests__/modules/Users/Roles/Roles.test.tsx +3 -3
- package/src/__tests__/modules/Users/UserCreate/SiteItem/RolesModal/RoleItem/RoleItem.test.tsx +3 -1
- package/src/__tests__/modules/Users/UserCreate/SiteItem/RolesModal/RolesModal.test.tsx +1 -1
- package/src/__tests__/modules/Users/UserCreate/SiteItem/SiteItem.test.tsx +1 -1
- package/src/__tests__/modules/Users/UserCreate/UserCreate.test.tsx +2 -2
- package/src/api/analytics.tsx +3 -3
- package/src/api/dataPack.tsx +1 -1
- package/src/api/domains.tsx +2 -2
- package/src/api/files.tsx +2 -2
- package/src/api/folders.tsx +1 -1
- package/src/api/forms.tsx +2 -2
- package/src/api/global.tsx +2 -2
- package/src/api/images.tsx +2 -2
- package/src/api/integrations.tsx +3 -3
- package/src/api/languages.tsx +1 -1
- package/src/api/logs.tsx +3 -3
- package/src/api/menus.tsx +1 -1
- package/src/api/navigation.tsx +1 -1
- package/src/api/redirects.tsx +1 -1
- package/src/api/roles.tsx +3 -3
- package/src/api/social.tsx +1 -1
- package/src/api/users.tsx +1 -1
- package/src/api/utils.tsx +1 -1
- package/src/components/Avatar/index.tsx +1 -1
- package/src/components/Breadcrumb/index.tsx +1 -1
- package/src/components/Button/index.tsx +1 -1
- package/src/components/ConfigPanel/Form/ConnectedField/PageConnectedField/TemplateManager/index.tsx +1 -1
- package/src/components/ConfigPanel/NavigationForm/Field/index.tsx +1 -1
- package/src/components/ConfigPanel/NavigationForm/index.tsx +1 -1
- package/src/components/ConfigPanel/PreviewForm/index.tsx +1 -1
- package/src/components/DragAndDrop/index.tsx +2 -1
- package/src/components/EmptyState/index.tsx +1 -1
- package/src/components/ErrorCenter/index.tsx +1 -1
- package/src/components/FieldContainer/index.tsx +1 -1
- package/src/components/Fields/AIReferenceField/AIConfigPanel/index.tsx +1 -1
- package/src/components/Fields/AIReferenceField/index.tsx +1 -1
- package/src/components/Fields/ArrayFieldGroup/helpers.ts +1 -7
- package/src/components/Fields/CheckGroup/index.tsx +2 -2
- package/src/components/Fields/ColorPicker/Picker/index.tsx +2 -1
- package/src/components/Fields/ColorPicker/index.tsx +2 -1
- package/src/components/Fields/ComponentContainer/style.tsx +1 -1
- package/src/components/Fields/ConditionalField/index.tsx +1 -3
- package/src/components/Fields/FormCategorySelect/index.tsx +2 -2
- package/src/components/Fields/FormContainer/FormModal/index.tsx +2 -2
- package/src/components/Fields/FormContainer/index.tsx +1 -1
- package/src/components/Fields/FormFieldArray/index.tsx +1 -1
- package/src/components/Fields/IntegrationsField/IntegrationItem/CustomPanel/index.tsx +1 -1
- package/src/components/Fields/IntegrationsField/IntegrationItem/VariablesPanel/helpers.ts +1 -1
- package/src/components/Fields/IntegrationsField/IntegrationItem/VariablesPanel/index.tsx +1 -1
- package/src/components/Fields/IntegrationsField/SideModal/SideModalOption/index.tsx +1 -1
- package/src/components/Fields/LinkField/index.tsx +1 -1
- package/src/components/Fields/RadioGroup/index.tsx +2 -2
- package/src/components/Fields/SliderField/index.tsx +2 -1
- package/src/components/Fields/TimeField/HourInput/index.tsx +2 -1
- package/src/components/Fields/UrlField/utils.tsx +1 -1
- package/src/components/Fields/VisualOption/index.tsx +1 -1
- package/src/components/Fields/Wysiwyg/atoms.tsx +13 -2
- package/src/components/Fields/Wysiwyg/helpers.tsx +10 -2
- package/src/components/FileGallery/FolderItem/index.tsx +1 -1
- package/src/components/FileGallery/GridItem/index.tsx +1 -1
- package/src/components/FloatingButton/index.tsx +1 -1
- package/src/components/Gallery/FolderItem/index.tsx +1 -1
- package/src/components/HeadingsPreviewModal/index.tsx +11 -2
- package/src/components/HeadingsPreviewModal/utils.tsx +8 -1
- package/src/components/Icon/components/Party.jsx +6 -12
- package/src/components/Icon/components/Republish.jsx +12 -18
- package/src/components/Icon/components/Sync.jsx +6 -12
- package/src/components/KeywordsPreviewModal/index.tsx +7 -1
- package/src/components/Lists/index.tsx +1 -1
- package/src/components/Nav/index.tsx +1 -1
- package/src/components/TableFilters/CustomizeFilters/index.tsx +1 -1
- package/src/components/TableFilters/DateFilter/index.tsx +1 -1
- package/src/components/TableFilters/LastAccessFilter/index.tsx +1 -1
- package/src/components/TableFilters/NameFilter/index.tsx +1 -1
- package/src/components/TableFilters/PermissionsFilter/index.tsx +1 -1
- package/src/components/TableFilters/StateFilter/index.tsx +1 -1
- package/src/components/TableFilters/StatusFilter/index.tsx +1 -1
- package/src/components/TableFilters/TypeFilter/index.tsx +1 -1
- package/src/components/TableFilters/UsersFilter/index.tsx +1 -1
- package/src/components/Tag/index.tsx +15 -2
- package/src/containers/ActivityLog/actions.tsx +4 -5
- package/src/containers/ActivityLog/interfaces.tsx +2 -2
- package/src/containers/ActivityLog/reducer.tsx +1 -2
- package/src/containers/Analytics/actions.tsx +3 -3
- package/src/containers/Analytics/interfaces.tsx +2 -2
- package/src/containers/Analytics/reducer.tsx +2 -2
- package/src/containers/Domains/actions.tsx +2 -2
- package/src/containers/Domains/interfaces.tsx +2 -2
- package/src/containers/Domains/reducer.tsx +2 -2
- package/src/containers/FileDrive/actions.tsx +3 -3
- package/src/containers/FileDrive/interfaces.tsx +2 -2
- package/src/containers/FileDrive/reducer.tsx +1 -1
- package/src/containers/Gallery/interfaces.tsx +3 -3
- package/src/containers/Gallery/reducer.tsx +2 -2
- package/src/containers/Integrations/actions.tsx +3 -3
- package/src/containers/Integrations/interfaces.tsx +2 -2
- package/src/containers/Integrations/reducer.tsx +2 -2
- package/src/containers/Navigation/Defaults/actions.tsx +3 -3
- package/src/containers/Navigation/Defaults/interfaces.tsx +2 -2
- package/src/containers/Navigation/Menu/actions.tsx +3 -3
- package/src/containers/Navigation/Menu/interfaces.tsx +3 -3
- package/src/containers/Navigation/Menu/reducer.tsx +2 -2
- package/src/containers/PageEditor/utils.tsx +2 -2
- package/src/containers/Redirects/actions.tsx +1 -1
- package/src/containers/Redirects/interfaces.tsx +1 -1
- package/src/containers/Redirects/reducer.tsx +2 -2
- package/src/containers/Settings/DataPacks/interfaces.tsx +1 -1
- package/src/containers/Settings/DataPacks/reducer.tsx +1 -1
- package/src/containers/Settings/Languages/actions.tsx +2 -2
- package/src/containers/Settings/Social/actions.tsx +2 -2
- package/src/containers/Settings/Social/interfaces.tsx +2 -2
- package/src/containers/Settings/Social/reducer.tsx +2 -2
- package/src/containers/Sites/interfaces.tsx +2 -2
- package/src/containers/Users/interfaces.tsx +2 -2
- package/src/forms/validators.tsx +1 -1
- package/src/guards/error/index.tsx +1 -1
- package/src/helpers/customColumns.tsx +1 -1
- package/src/helpers/dates.tsx +3 -3
- package/src/helpers/files.tsx +1 -1
- package/src/helpers/parseTheme.js +2 -2
- package/src/helpers/strings.tsx +1 -1
- package/src/hooks/content.tsx +1 -1
- package/src/hooks/index.tsx +7 -1
- package/src/hooks/users.tsx +1 -3
- package/src/modules/ActivityLog/DetailModal/index.tsx +3 -3
- package/src/modules/ActivityLog/DownloadModal/index.tsx +3 -3
- package/src/modules/ActivityLog/ItemLog/index.tsx +1 -1
- package/src/modules/ActivityLog/LogFilters/ContentFilter/index.tsx +1 -1
- package/src/modules/ActivityLog/LogFilters/EventFilter/index.tsx +1 -1
- package/src/modules/ActivityLog/TableHeader/index.tsx +1 -1
- package/src/modules/ActivityLog/hooks.tsx +1 -1
- package/src/modules/ActivityLog/index.tsx +2 -2
- package/src/modules/ActivityLog/utils.tsx +1 -1
- package/src/modules/Analytics/DimensionPanel/index.tsx +1 -1
- package/src/modules/Analytics/index.tsx +1 -1
- package/src/modules/App/Routing/NavMenu/NavItem/NavSubItem/index.tsx +1 -1
- package/src/modules/App/Routing/PrivateRoute/index.tsx +1 -1
- package/src/modules/App/index.tsx +1 -1
- package/src/modules/Categories/CategoriesList/CategoryNav/NavItem/index.tsx +1 -1
- package/src/modules/Categories/CategoriesList/CategoryNav/index.tsx +1 -1
- package/src/modules/Categories/CategoriesList/CategoryPanel/Form/index.tsx +1 -1
- package/src/modules/Categories/CategoriesList/atoms.tsx +1 -8
- package/src/modules/Categories/CategoriesList/helpers.tsx +1 -1
- package/src/modules/Categories/CategoriesList/hooks.tsx +1 -1
- package/src/modules/Content/BulkHeader/TableHeader/index.tsx +1 -1
- package/src/modules/Content/ContentFilters/utils.tsx +1 -1
- package/src/modules/Content/hooks.tsx +1 -1
- package/src/modules/FileDrive/Breadcrumb/index.tsx +1 -1
- package/src/modules/FileDrive/FileFilters/SortBy/index.tsx +1 -1
- package/src/modules/FileDrive/FileFilters/Type/index.tsx +1 -1
- package/src/modules/FileDrive/FileModal/DetailPanel/UsageContent/ItemGroup/index.tsx +3 -2
- package/src/modules/FileDrive/FileModal/DetailPanel/UsageContent/index.tsx +2 -2
- package/src/modules/FileDrive/FolderTree/MenuItem/index.tsx +3 -2
- package/src/modules/FileDrive/FolderTree/MenuList/index.tsx +1 -1
- package/src/modules/FileDrive/FolderTree/index.tsx +1 -1
- package/src/modules/FileDrive/hooks.tsx +1 -1
- package/src/modules/Forms/FormCategoriesList/CategoryItem/style.tsx +1 -1
- package/src/modules/Forms/FormCategoriesList/CategoryPanel/Form/index.tsx +1 -1
- package/src/modules/Forms/FormCategoriesList/CategoryPanel/index.tsx +1 -1
- package/src/modules/Forms/FormCategoriesList/hooks.tsx +1 -1
- package/src/modules/Forms/FormEditor/Editor/FormConfigPanel/Form/ConnectedField/Field/index.tsx +1 -1
- package/src/modules/Forms/FormEditor/Editor/FormConfigPanel/Form/ConnectedField/TemplateManager/index.tsx +1 -1
- package/src/modules/Forms/FormEditor/Editor/FormConfigPanel/Header/index.tsx +3 -2
- package/src/modules/Forms/FormEditor/Editor/FormConfigPanel/index.tsx +1 -1
- package/src/modules/Forms/FormEditor/Editor/index.tsx +3 -2
- package/src/modules/Forms/FormList/BulkHeader/TableHeader/index.tsx +1 -1
- package/src/modules/Forms/FormList/FormItem/index.tsx +7 -1
- package/src/modules/Forms/FormList/Summary/index.tsx +1 -1
- package/src/modules/Forms/FormList/TemplateModal/index.tsx +3 -2
- package/src/modules/Forms/FormList/hooks.tsx +1 -1
- package/src/modules/Forms/FormUseModal/utils.tsx +1 -1
- package/src/modules/Forms/FormsMenu/index.tsx +1 -1
- package/src/modules/Forms/atoms.tsx +5 -1
- package/src/modules/Forms/utils.tsx +1 -1
- package/src/modules/FramePreview/HeadingsOverlay/index.tsx +3 -4
- package/src/modules/GlobalSettings/Robots/Item/index.tsx +1 -1
- package/src/modules/MediaGallery/Breadcrumb/index.tsx +1 -1
- package/src/modules/MediaGallery/FolderTree/MenuItem/index.tsx +3 -2
- package/src/modules/MediaGallery/FolderTree/MenuList/index.tsx +1 -1
- package/src/modules/MediaGallery/FolderTree/index.tsx +1 -1
- package/src/modules/MediaGallery/GridItem/index.tsx +6 -1
- package/src/modules/MediaGallery/ImageFilters/Orientation/index.tsx +1 -1
- package/src/modules/MediaGallery/ImageFilters/SortBy/index.tsx +1 -1
- package/src/modules/MediaGallery/ImageFilters/Type/index.tsx +1 -1
- package/src/modules/MediaGallery/ImageFilters/Usage/index.tsx +1 -1
- package/src/modules/MediaGallery/ImageModal/DetailPanel/UsageContent/ItemGroup/index.tsx +3 -2
- package/src/modules/MediaGallery/ImageModal/DetailPanel/UsageContent/index.tsx +2 -2
- package/src/modules/MediaGallery/hooks.tsx +1 -1
- package/src/modules/Navigation/Defaults/DefaultsEditor/Editor/DefaultsBrowser/index.tsx +2 -2
- package/src/modules/Navigation/Defaults/DefaultsEditor/Editor/index.tsx +2 -2
- package/src/modules/Navigation/Defaults/ReplaceNavModal/index.tsx +1 -1
- package/src/modules/Navigation/Menus/List/Nav/index.tsx +1 -1
- package/src/modules/Navigation/Menus/List/Table/Header/index.tsx +1 -1
- package/src/modules/Navigation/Menus/List/Table/Item/index.tsx +6 -1
- package/src/modules/Navigation/Menus/List/Table/Item/style.tsx +1 -1
- package/src/modules/Navigation/Menus/List/Table/helpers.tsx +1 -1
- package/src/modules/PublicPreview/index.tsx +5 -13
- package/src/modules/Redirects/BulkHeader/TableHeader/index.tsx +1 -1
- package/src/modules/Redirects/BulkHeader/index.tsx +1 -1
- package/src/modules/Redirects/RedirectPanel/index.tsx +1 -1
- package/src/modules/Redirects/hooks.tsx +1 -1
- package/src/modules/Settings/ContentTypes/DataPacks/AddModal/Filter/index.tsx +1 -1
- package/src/modules/Settings/ContentTypes/DataPacks/AddModal/SidePanel/DetailPanel/index.tsx +1 -1
- package/src/modules/Settings/ContentTypes/DataPacks/AddModal/SidePanel/index.tsx +1 -1
- package/src/modules/Settings/ContentTypes/DataPacks/AddModal/index.tsx +1 -1
- package/src/modules/Settings/ContentTypes/DataPacks/Config/Form/TemplateConfig/TemplateEditor/Editor/ConfigPanel/IntegrationsField/index.tsx +1 -1
- package/src/modules/Settings/ContentTypes/DataPacks/Config/Form/TemplateConfig/TemplateEditor/Editor/ConfigPanel/index.tsx +1 -1
- package/src/modules/Settings/ContentTypes/DataPacks/Config/Form/TemplateConfig/TemplateEditor/Editor/TemplateBrowser/index.tsx +1 -1
- package/src/modules/Settings/ContentTypes/DataPacks/Config/Form/TemplateConfig/TemplateEditor/index.tsx +1 -1
- package/src/modules/Settings/ContentTypes/DataPacks/Config/Form/TemplateConfig/index.tsx +2 -2
- package/src/modules/Settings/ContentTypes/DataPacks/Item/index.tsx +3 -2
- package/src/modules/Settings/ContentTypes/DataPacks/List/index.tsx +2 -2
- package/src/modules/Settings/ContentTypes/DataPacks/Nav/index.tsx +1 -1
- package/src/modules/Settings/Globals/NavigationModules/SideModal/index.tsx +1 -1
- package/src/modules/Settings/Globals/NavigationModules/index.tsx +1 -1
- package/src/modules/Settings/Globals/constants.tsx +1 -1
- package/src/modules/Settings/Integrations/BulkHeader/TableHeader/index.tsx +1 -1
- package/src/modules/Settings/Integrations/IntegrationForm/VariableItem/index.tsx +1 -1
- package/src/modules/Settings/Integrations/IntegrationForm/VariablePanel/index.tsx +1 -1
- package/src/modules/Settings/Integrations/IntegrationForm/index.tsx +2 -2
- package/src/modules/Settings/Integrations/IntegrationItem/style.tsx +1 -1
- package/src/modules/Settings/Integrations/hooks.tsx +1 -1
- package/src/modules/Settings/Integrations/index.tsx +0 -1
- package/src/modules/Settings/Integrations/utils.tsx +1 -1
- package/src/modules/Settings/Languages/LanguagePanel/Form/ConnectedField/index.tsx +1 -1
- package/src/modules/Settings/Languages/LanguagePanel/Form/index.tsx +1 -1
- package/src/modules/Settings/Languages/LanguagePanel/index.tsx +1 -1
- package/src/modules/Settings/Languages/Table/Header/index.tsx +1 -1
- package/src/modules/Settings/Languages/Table/Item/index.tsx +1 -1
- package/src/modules/Settings/Languages/Table/index.tsx +1 -1
- package/src/modules/Settings/Languages/index.tsx +1 -1
- package/src/modules/Settings/SeoAnalyticsSettings/Analytics/atoms.tsx +2 -2
- package/src/modules/Settings/index.tsx +1 -1
- package/src/modules/Sites/SitesList/ListView/ListSiteItem/index.tsx +7 -1
- package/src/modules/StructuredData/StructuredDataList/ContentFilters/utils.tsx +1 -1
- package/src/modules/StructuredData/StructuredDataList/GlobalPageItem/index.tsx +6 -1
- package/src/modules/StructuredData/StructuredDataList/GlobalPageItem/utils.tsx +1 -1
- package/src/modules/StructuredData/StructuredDataList/StructuredDataItem/index.tsx +16 -2
- package/src/modules/StructuredData/StructuredDataList/hooks.tsx +1 -1
- package/src/modules/Users/Roles/BulkHeader/TableHeader/index.tsx +1 -1
- package/src/modules/Users/Roles/SideModal/index.tsx +1 -1
- package/src/modules/Users/Roles/hooks.tsx +1 -1
- package/src/modules/Users/UserCreate/OptionItem/index.tsx +1 -1
- package/src/modules/Users/UserCreate/SiteItem/RolesModal/index.tsx +1 -1
- package/src/modules/Users/UserCreate/SiteItem/style.tsx +13 -1
- package/src/modules/Users/UserList/UserItem/index.tsx +10 -1
- package/src/modules/Users/UserList/hooks.tsx +1 -1
- package/tsconfig.json +11 -4
- package/tsconfig.paths.json +19 -20
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
const SvgRepublish = (props) => (
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
fill="#AFC628"
|
|
16
|
-
stroke="#AFC628"
|
|
17
|
-
strokeWidth={0.25}
|
|
18
|
-
d="M15.784 12.895a4.125 4.125 0 0 1-4.104 3.713 4.092 4.092 0 0 1-2.92-1.228l-.791.791-.214.213v-2.826h2.827l-.214.213-.864.865a3.046 3.046 0 0 0 2.176.922 3.078 3.078 0 0 0 3.048-2.69l.014-.11h1.056l-.014.137Zm-8.222-.688.014-.137a4.124 4.124 0 0 1 4.104-3.712c1.145 0 2.177.472 2.921 1.226l.79-.79.214-.213v2.826h-2.827l.214-.213.865-.866a3.05 3.05 0 0 0-2.177-.92 3.077 3.077 0 0 0-3.048 2.69l-.014.11H7.562Z"
|
|
19
|
-
/>
|
|
20
|
-
</svg>
|
|
3
|
+
<svg xmlns="http://www.w3.org/2000/svg" width={24} height={24} fill="none" {...props}>
|
|
4
|
+
<path
|
|
5
|
+
fill="#AFC628"
|
|
6
|
+
d="M19.35 10.04A7.49 7.49 0 0 0 12 4C9.11 4 6.6 5.64 5.35 8.04A5.994 5.994 0 0 0 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96ZM19 18H6c-2.21 0-4-1.79-4-4 0-2.05 1.53-3.76 3.56-3.97l1.07-.11.5-.95A5.469 5.469 0 0 1 12 6c2.62 0 4.88 1.86 5.39 4.43l.3 1.5 1.53.11A2.98 2.98 0 0 1 22 15c0 1.65-1.35 3-3 3Z"
|
|
7
|
+
/>
|
|
8
|
+
<path
|
|
9
|
+
fill="#AFC628"
|
|
10
|
+
stroke="#AFC628"
|
|
11
|
+
strokeWidth={0.25}
|
|
12
|
+
d="M15.784 12.895a4.125 4.125 0 0 1-4.104 3.713 4.092 4.092 0 0 1-2.92-1.228l-.791.791-.214.213v-2.826h2.827l-.214.213-.864.865a3.046 3.046 0 0 0 2.176.922 3.078 3.078 0 0 0 3.048-2.69l.014-.11h1.056l-.014.137Zm-8.222-.688.014-.137a4.124 4.124 0 0 1 4.104-3.712c1.145 0 2.177.472 2.921 1.226l.79-.79.214-.213v2.826h-2.827l.214-.213.865-.866a3.05 3.05 0 0 0-2.177-.92 3.077 3.077 0 0 0-3.048 2.69l-.014.11H7.562Z"
|
|
13
|
+
/>
|
|
14
|
+
</svg>
|
|
21
15
|
);
|
|
22
16
|
export default SvgRepublish;
|
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
const SvgSync = (props) => (
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
>
|
|
10
|
-
<path
|
|
11
|
-
fill="#5057FF"
|
|
12
|
-
d="M4 12H1l4 4 4-4H6c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46A7.93 7.93 0 0 0 12 4c-4.42 0-8 3.58-8 8Zm14 0c0 3.31-2.69 6-6 6a5.87 5.87 0 0 1-2.8-.7l-1.46 1.46A7.93 7.93 0 0 0 12 20c4.42 0 8-3.58 8-8h3l-4-4-4 4h3Z"
|
|
13
|
-
/>
|
|
14
|
-
</svg>
|
|
3
|
+
<svg xmlns="http://www.w3.org/2000/svg" width={24} height={24} fill="none" {...props}>
|
|
4
|
+
<path
|
|
5
|
+
fill="#5057FF"
|
|
6
|
+
d="M4 12H1l4 4 4-4H6c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46A7.93 7.93 0 0 0 12 4c-4.42 0-8 3.58-8 8Zm14 0c0 3.31-2.69 6-6 6a5.87 5.87 0 0 1-2.8-.7l-1.46 1.46A7.93 7.93 0 0 0 12 20c4.42 0 8-3.58 8-8h3l-4-4-4 4h3Z"
|
|
7
|
+
/>
|
|
8
|
+
</svg>
|
|
15
9
|
);
|
|
16
10
|
export default SvgSync;
|
|
@@ -54,7 +54,13 @@ const KeywordsPreviewModal = (props: IKeywordsPreviewProps) => {
|
|
|
54
54
|
|
|
55
55
|
return (
|
|
56
56
|
<S.Wrapper>
|
|
57
|
-
<FloatingPanel
|
|
57
|
+
<FloatingPanel
|
|
58
|
+
title="Keywords"
|
|
59
|
+
toggleModal={handleCloseModal}
|
|
60
|
+
closeOnOutsideClick={false}
|
|
61
|
+
isOpen={isOpen}
|
|
62
|
+
width={358}
|
|
63
|
+
>
|
|
58
64
|
{isOpen && (
|
|
59
65
|
<S.KeywordsWrapper>
|
|
60
66
|
{keywordsFilter.length > 0 && (
|
|
@@ -2,7 +2,7 @@ import React from "react";
|
|
|
2
2
|
import { NavLink } from "react-router-dom";
|
|
3
3
|
|
|
4
4
|
import { SubNav, MenuItem } from "@ax/components";
|
|
5
|
-
import { INavItem } from "@ax/types";
|
|
5
|
+
import type { INavItem } from "@ax/types";
|
|
6
6
|
import { Restricted } from "@ax/guards";
|
|
7
7
|
|
|
8
8
|
import * as S from "./style";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useEffect, useState } from "react";
|
|
2
2
|
import { CheckGroup, FloatingMenu, Icon, ListTitle } from "@ax/components";
|
|
3
3
|
import { areEquals } from "@ax/helpers";
|
|
4
|
-
import { IQueryValue } from "@ax/types";
|
|
4
|
+
import type { IQueryValue } from "@ax/types";
|
|
5
5
|
|
|
6
6
|
import * as S from "./style";
|
|
7
7
|
|
|
@@ -36,7 +36,13 @@ const Tag = (props: ITagProps): JSX.Element => {
|
|
|
36
36
|
);
|
|
37
37
|
case "square":
|
|
38
38
|
return (
|
|
39
|
-
<S.TagSquare
|
|
39
|
+
<S.TagSquare
|
|
40
|
+
color={color}
|
|
41
|
+
textColor={textColor}
|
|
42
|
+
className={className}
|
|
43
|
+
data-testid="tag-square"
|
|
44
|
+
title={text || ""}
|
|
45
|
+
>
|
|
40
46
|
{icon && (
|
|
41
47
|
<S.IconTag>
|
|
42
48
|
<Icon name={icon} size="16" />
|
|
@@ -47,7 +53,14 @@ const Tag = (props: ITagProps): JSX.Element => {
|
|
|
47
53
|
);
|
|
48
54
|
default:
|
|
49
55
|
return (
|
|
50
|
-
<S.TagFixed
|
|
56
|
+
<S.TagFixed
|
|
57
|
+
color={color}
|
|
58
|
+
rounded={rounded}
|
|
59
|
+
small={small}
|
|
60
|
+
className={className}
|
|
61
|
+
data-testid="tag-fixed"
|
|
62
|
+
title={text || ""}
|
|
63
|
+
>
|
|
51
64
|
<S.TagText>
|
|
52
65
|
<S.Title data-testid="tag-fixed-title">{displayText}</S.Title>
|
|
53
66
|
{deleteIcon}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Dispatch } from "redux";
|
|
1
|
+
import type { Dispatch } from "redux";
|
|
2
2
|
import { format } from "date-fns";
|
|
3
3
|
|
|
4
|
-
import {
|
|
4
|
+
import type {
|
|
5
5
|
LogActivityExportRequest,
|
|
6
6
|
LogActivityGroupedDayDTO,
|
|
7
7
|
LogActivityGroupedUserDTO,
|
|
@@ -20,11 +20,10 @@ import { formsActions } from "@ax/containers/Forms";
|
|
|
20
20
|
import { navigationActions } from "@ax/containers/Navigation";
|
|
21
21
|
import { structuredDataActions } from "@ax/containers/StructuredData";
|
|
22
22
|
import { handleRequest } from "@ax/helpers";
|
|
23
|
-
import { ILogItemsByUser, IRootState } from "@ax/types";
|
|
23
|
+
import type { ILogItemsByDay, ILogItemsByUser, IRootState } from "@ax/types";
|
|
24
24
|
|
|
25
25
|
import { SET_ACTIVITY_LOG, SET_LIST_MODE } from "./constants";
|
|
26
|
-
import { ISetActivityLog, ISetListMode } from "./interfaces";
|
|
27
|
-
import { ILogItemsByDay } from "src/types/logs";
|
|
26
|
+
import type { ISetActivityLog, ISetListMode } from "./interfaces";
|
|
28
27
|
|
|
29
28
|
function setActivityLog(activityLog: ILogItemsByDay | ILogItemsByUser): ISetActivityLog {
|
|
30
29
|
return { type: SET_ACTIVITY_LOG, payload: { activityLog } };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ILogItemsByDay, ILogItemsByUser } from "@ax/types";
|
|
2
|
-
import { SET_ACTIVITY_LOG, SET_LIST_MODE } from "./constants";
|
|
1
|
+
import type { ILogItemsByDay, ILogItemsByUser } from "@ax/types";
|
|
2
|
+
import type { SET_ACTIVITY_LOG, SET_LIST_MODE } from "./constants";
|
|
3
3
|
|
|
4
4
|
export interface ISetActivityLog {
|
|
5
5
|
type: typeof SET_ACTIVITY_LOG;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { ILogItemsByUser } from "@ax/types";
|
|
1
|
+
import type { ILogItemsByDay, ILogItemsByUser } from "@ax/types";
|
|
2
2
|
import { SET_ACTIVITY_LOG, SET_LIST_MODE } from "./constants";
|
|
3
|
-
import { ILogItemsByDay } from "src/types/logs";
|
|
4
3
|
|
|
5
4
|
export interface IActivityLogState {
|
|
6
5
|
activityLog: ILogItemsByDay | ILogItemsByUser;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { analytics } from "@ax/api";
|
|
2
2
|
import { appActions } from "@ax/containers/App";
|
|
3
3
|
import { handleRequest } from "@ax/helpers";
|
|
4
|
-
import { IAnalytics } from "@ax/types";
|
|
5
|
-
import { Dispatch } from "redux";
|
|
4
|
+
import type { IAnalytics } from "@ax/types";
|
|
5
|
+
import type { Dispatch } from "redux";
|
|
6
6
|
import { SET_ANALYTICS } from "./constants";
|
|
7
|
-
import { ISetAnalytics } from "./interfaces";
|
|
7
|
+
import type { ISetAnalytics } from "./interfaces";
|
|
8
8
|
|
|
9
9
|
function setAnalytics(analytics: IAnalytics): ISetAnalytics {
|
|
10
10
|
return { type: SET_ANALYTICS, payload: analytics };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IDimension, IDimensionsGroup } from "@ax/types";
|
|
1
|
+
import type { IDimension, IDimensionsGroup } from "@ax/types";
|
|
2
2
|
import { SET_ANALYTICS } from "./constants";
|
|
3
|
-
import { AnalyticsActionsCreators } from "./interfaces";
|
|
3
|
+
import type { AnalyticsActionsCreators } from "./interfaces";
|
|
4
4
|
|
|
5
5
|
export interface IAnalyticsState {
|
|
6
6
|
scriptCode: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { domains } from "@ax/api";
|
|
2
2
|
import { appActions } from "@ax/containers/App";
|
|
3
3
|
import { handleRequest } from "@ax/helpers";
|
|
4
|
-
import { IDomainRobot } from "@ax/types";
|
|
4
|
+
import type { IDomainRobot } from "@ax/types";
|
|
5
5
|
import { SET_DOMAINS_ROBOTS } from "./constants";
|
|
6
|
-
import { ISetDomainsRobots } from "./interfaces";
|
|
6
|
+
import type { ISetDomainsRobots } from "./interfaces";
|
|
7
7
|
|
|
8
8
|
function setDomainsRobots(robots: IDomainRobot[]): ISetDomainsRobots {
|
|
9
9
|
return { type: SET_DOMAINS_ROBOTS, payload: { robots } };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IDomainRobot } from "@ax/types";
|
|
2
|
-
import { SET_DOMAINS_ROBOTS } from "./constants";
|
|
1
|
+
import type { IDomainRobot } from "@ax/types";
|
|
2
|
+
import type { SET_DOMAINS_ROBOTS } from "./constants";
|
|
3
3
|
|
|
4
4
|
export interface ISetDomainsRobots {
|
|
5
5
|
type: typeof SET_DOMAINS_ROBOTS;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IDomainRobot } from "@ax/types";
|
|
1
|
+
import type { IDomainRobot } from "@ax/types";
|
|
2
2
|
import { SET_DOMAINS_ROBOTS } from "./constants";
|
|
3
|
-
import { DomainsActionsCreators } from "./interfaces";
|
|
3
|
+
import type { DomainsActionsCreators } from "./interfaces";
|
|
4
4
|
|
|
5
5
|
export interface IDomainsState {
|
|
6
6
|
robots: IDomainRobot[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Dispatch } from "redux";
|
|
2
|
-
import { IFile, IFilesFolder, IFolder, IFolderTree, IGetFolderParams } from "@ax/types";
|
|
1
|
+
import type { Dispatch } from "redux";
|
|
2
|
+
import type { IFile, IFilesFolder, IFolder, IFolderTree, IGetFolderParams } from "@ax/types";
|
|
3
3
|
import { files } from "@ax/api";
|
|
4
4
|
import { handleRequest, isReqOk, getNewBreadcrumb } from "@ax/helpers";
|
|
5
5
|
import { appActions } from "@ax/containers/App";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
SET_UPLOAD_ERROR,
|
|
15
15
|
SET_UPLOAD_SUCCESS,
|
|
16
16
|
} from "./constants";
|
|
17
|
-
import {
|
|
17
|
+
import type {
|
|
18
18
|
ISetBreadcrumb,
|
|
19
19
|
ISetCurrentFolder,
|
|
20
20
|
ISetCurrentFolderContent,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IData, IIsLoading, IIsSaving } from "./reducer";
|
|
2
|
-
import {
|
|
1
|
+
import type { IData, IIsLoading, IIsSaving } from "./reducer";
|
|
2
|
+
import type {
|
|
3
3
|
SET_DATA,
|
|
4
4
|
SET_IS_LOADING,
|
|
5
5
|
SET_IS_SAVING,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
SET_BREADCRUMB,
|
|
14
14
|
SET_FOLDERS_TREE,
|
|
15
15
|
} from "./constants";
|
|
16
|
-
import { IFolderTree, IImageFolder } from "@ax/types";
|
|
16
|
+
import type { IFolderTree, IImageFolder } from "@ax/types";
|
|
17
17
|
|
|
18
18
|
export interface ISetData {
|
|
19
19
|
type: typeof SET_DATA;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IFolderTree, IImage, IImageFolder } from "@ax/types";
|
|
1
|
+
import type { IFolderTree, IImage, IImageFolder } from "@ax/types";
|
|
2
2
|
import {
|
|
3
3
|
SET_DATA,
|
|
4
4
|
SET_IS_LOADING,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
SET_BREADCRUMB,
|
|
14
14
|
SET_FOLDERS_TREE,
|
|
15
15
|
} from "./constants";
|
|
16
|
-
import { GalleryActionsCreators } from "./interfaces";
|
|
16
|
+
import type { GalleryActionsCreators } from "./interfaces";
|
|
17
17
|
|
|
18
18
|
export interface IData {
|
|
19
19
|
items: IImage[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { integrations } from "@ax/api";
|
|
2
2
|
import { appActions } from "@ax/containers/App";
|
|
3
3
|
import { handleRequest } from "@ax/helpers";
|
|
4
|
-
import { IIntegration } from "@ax/types";
|
|
5
|
-
import { Dispatch } from "redux";
|
|
4
|
+
import type { IIntegration } from "@ax/types";
|
|
5
|
+
import type { Dispatch } from "redux";
|
|
6
6
|
|
|
7
7
|
import {
|
|
8
8
|
DEFAULT_PARAMS,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
SET_INTEGRATIONS,
|
|
12
12
|
SET_TOTAL_ITEMS,
|
|
13
13
|
} from "./constants";
|
|
14
|
-
import { ISetCopyIntegration, ISetCurrentIntegration, ISetIntegrations, ISetTotalItems } from "./interfaces";
|
|
14
|
+
import type { ISetCopyIntegration, ISetCurrentIntegration, ISetIntegrations, ISetTotalItems } from "./interfaces";
|
|
15
15
|
|
|
16
16
|
function setIntegrations(integrations: IIntegration[]): ISetIntegrations {
|
|
17
17
|
return { type: SET_INTEGRATIONS, payload: { integrations } };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IIntegration } from "@ax/types";
|
|
2
|
-
import { SET_CURRENT_INTEGRATION, SET_INTEGRATIONS, SET_TOTAL_ITEMS, SET_COPY_INTEGRATION } from "./constants";
|
|
1
|
+
import type { IIntegration } from "@ax/types";
|
|
2
|
+
import type { SET_CURRENT_INTEGRATION, SET_INTEGRATIONS, SET_TOTAL_ITEMS, SET_COPY_INTEGRATION } from "./constants";
|
|
3
3
|
|
|
4
4
|
export interface ISetIntegrations {
|
|
5
5
|
type: typeof SET_INTEGRATIONS;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IIntegration } from "@ax/types";
|
|
1
|
+
import type { IIntegration } from "@ax/types";
|
|
2
2
|
import { SET_CURRENT_INTEGRATION, SET_INTEGRATIONS, SET_TOTAL_ITEMS, SET_COPY_INTEGRATION } from "./constants";
|
|
3
|
-
import { IntegrationsActionsCreators } from "./interfaces";
|
|
3
|
+
import type { IntegrationsActionsCreators } from "./interfaces";
|
|
4
4
|
|
|
5
5
|
export interface IIntegrationsState {
|
|
6
6
|
integrations: IIntegration[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Dispatch } from "redux";
|
|
1
|
+
import type { Dispatch } from "redux";
|
|
2
2
|
|
|
3
3
|
import { navigation } from "@ax/api";
|
|
4
|
-
import {
|
|
4
|
+
import type {
|
|
5
5
|
IBreadcrumbItem,
|
|
6
6
|
IModule,
|
|
7
7
|
INavigation,
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
SET_NAV_PAGES,
|
|
58
58
|
} from "./constants";
|
|
59
59
|
|
|
60
|
-
import {
|
|
60
|
+
import type {
|
|
61
61
|
ISetBreadcrumb,
|
|
62
62
|
ISetSchema,
|
|
63
63
|
ISetTab,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Dispatch } from "redux";
|
|
1
|
+
import type { Dispatch } from "redux";
|
|
2
2
|
|
|
3
3
|
import { handleRequest } from "@ax/helpers";
|
|
4
4
|
import { menus } from "@ax/api";
|
|
5
5
|
import { appActions } from "@ax/containers/App";
|
|
6
|
-
import { IMenuItem, IMenu, IRootState, IMenuForm } from "@ax/types";
|
|
6
|
+
import type { IMenuItem, IMenu, IRootState, IMenuForm } from "@ax/types";
|
|
7
7
|
import {
|
|
8
8
|
SET_ORIGINAL_MENUS,
|
|
9
9
|
SET_EDITOR_MENU,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
SET_TOTAL_ITEMS,
|
|
14
14
|
SET_CURRENT_TYPE,
|
|
15
15
|
} from "./constants";
|
|
16
|
-
import {
|
|
16
|
+
import type {
|
|
17
17
|
ISetSavedMenus,
|
|
18
18
|
ISetEditorMenu,
|
|
19
19
|
ISetItem,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IMenu, IMenuForm, IMenuItem } from "@ax/types";
|
|
1
|
+
import type { IMenu, IMenuForm, IMenuItem } from "@ax/types";
|
|
2
2
|
|
|
3
|
-
import { SET_TOTAL_ITEMS } from "@ax/containers/Sites/constants";
|
|
4
|
-
import {
|
|
3
|
+
import type { SET_TOTAL_ITEMS } from "@ax/containers/Sites/constants";
|
|
4
|
+
import type {
|
|
5
5
|
SET_ORIGINAL_MENUS,
|
|
6
6
|
SET_ORIGINAL_MENU,
|
|
7
7
|
SET_EDITOR_MENU,
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
SET_CURRENT_TYPE,
|
|
9
9
|
} from "./constants";
|
|
10
10
|
|
|
11
|
-
import { MenuActionsCreators } from "./interfaces";
|
|
12
|
-
import { IMenuItem, IMenuForm, IMenu } from "@ax/types";
|
|
11
|
+
import type { MenuActionsCreators } from "./interfaces";
|
|
12
|
+
import type { IMenuItem, IMenuForm, IMenu } from "@ax/types";
|
|
13
13
|
|
|
14
14
|
export interface IMenuState {
|
|
15
15
|
savedMenus: IMenu[] | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IComponent, IIntegration, IRootState, ISavePageParams } from "@ax/types";
|
|
1
|
+
import type { IComponent, IIntegration, IRootState, ISavePageParams } from "@ax/types";
|
|
2
2
|
import { addElement, cleanContent, updateElementCollection } from "@ax/forms";
|
|
3
|
-
import { Dispatch } from "redux";
|
|
3
|
+
import type { Dispatch } from "redux";
|
|
4
4
|
import { generatePageContent, setSelectedContent } from "./actions";
|
|
5
5
|
|
|
6
6
|
const getPageParams = (getState: any): ISavePageParams => {
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
SET_TOTAL_IMPORTS,
|
|
10
10
|
SET_TOTAL_ITEMS,
|
|
11
11
|
} from "./constants";
|
|
12
|
-
import { ISetImports, ISetRedirects, ISetTotalImports, ISetTotalItems } from "./interfaces";
|
|
12
|
+
import type { ISetImports, ISetRedirects, ISetTotalImports, ISetTotalItems } from "./interfaces";
|
|
13
13
|
|
|
14
14
|
function setRedirects(redirects: any[]): ISetRedirects {
|
|
15
15
|
return { type: SET_REDIRECTS, payload: { redirects } };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IRedirect } from "@ax/types";
|
|
1
|
+
import type { IRedirect } from "@ax/types";
|
|
2
2
|
import { SET_IMPORTS, SET_REDIRECTS, SET_TOTAL_IMPORTS, SET_TOTAL_ITEMS } from "./constants";
|
|
3
|
-
import { RedirectsActionsCreators } from "./interfaces";
|
|
3
|
+
import type { RedirectsActionsCreators } from "./interfaces";
|
|
4
4
|
|
|
5
5
|
export interface IRedirectsState {
|
|
6
6
|
redirects: any[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Dispatch } from "redux";
|
|
2
|
-
import { ISiteLanguage } from "@ax/types";
|
|
1
|
+
import type { Dispatch } from "redux";
|
|
2
|
+
import type { ISiteLanguage } from "@ax/types";
|
|
3
3
|
import { handleRequest } from "@ax/helpers";
|
|
4
4
|
import { languages } from "@ax/api";
|
|
5
5
|
import { appActions } from "@ax/containers/App";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Dispatch } from "redux";
|
|
1
|
+
import type { Dispatch } from "redux";
|
|
2
2
|
|
|
3
3
|
import { SET_SOCIAL } from "./constants";
|
|
4
4
|
|
|
5
|
-
import { ISetSocialAction } from "./interfaces";
|
|
5
|
+
import type { ISetSocialAction } from "./interfaces";
|
|
6
6
|
|
|
7
7
|
import { appActions } from "@ax/containers/App";
|
|
8
8
|
import { handleRequest } from "@ax/helpers";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SET_SOCIAL } from "./constants";
|
|
2
2
|
|
|
3
|
-
import { ISocialState } from "@ax/types";
|
|
3
|
+
import type { ISocialState } from "@ax/types";
|
|
4
4
|
|
|
5
|
-
import { SocialActionsCreators } from "./interfaces";
|
|
5
|
+
import type { SocialActionsCreators } from "./interfaces";
|
|
6
6
|
|
|
7
7
|
export const initialState = {};
|
|
8
8
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type {
|
|
2
2
|
SET_SITES,
|
|
3
3
|
SET_RECENT_SITES,
|
|
4
4
|
SET_SITES_BY_LANG,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
SET_IS_SITES_LOADING,
|
|
20
20
|
SET_ALL_SITES,
|
|
21
21
|
} from "./constants";
|
|
22
|
-
import { IQueryValue, ISite, ISiteListConfig, IThemeElements } from "@ax/types";
|
|
22
|
+
import type { IQueryValue, ISite, ISiteListConfig, IThemeElements } from "@ax/types";
|
|
23
23
|
|
|
24
24
|
export interface ISetFilter {
|
|
25
25
|
type: typeof SET_FILTER;
|