@griddo/ax 12.5.1 → 12.6.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__/webpack5-migration.test.js +2 -2
- 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
|
@@ -148,7 +148,12 @@ const Item = (props: IItemProps): JSX.Element => {
|
|
|
148
148
|
)}
|
|
149
149
|
{isOpen("config") && <ConfigPanel isOpen={isOpen("config")} toggleModal={() => toggleModal("config")} />}
|
|
150
150
|
</S.Container>
|
|
151
|
-
<RemoveModal
|
|
151
|
+
<RemoveModal
|
|
152
|
+
isOpen={isOpen("remove")}
|
|
153
|
+
toggleModal={() => toggleModal("remove")}
|
|
154
|
+
deleteItem={deleteItem}
|
|
155
|
+
item={item}
|
|
156
|
+
/>
|
|
152
157
|
<ContextMenu position={contextMenu} options={actionMenuOptions} onClose={closeContextMenu} />
|
|
153
158
|
</>
|
|
154
159
|
);
|
|
@@ -38,13 +38,7 @@ const PublicPreview = () => {
|
|
|
38
38
|
setShareEndDate(shareResponse.data.endDate);
|
|
39
39
|
}
|
|
40
40
|
} else {
|
|
41
|
-
setTokenError(
|
|
42
|
-
response.status === 404
|
|
43
|
-
? "404"
|
|
44
|
-
: response.status === 410
|
|
45
|
-
? "linkExpired"
|
|
46
|
-
: "wrong",
|
|
47
|
-
);
|
|
41
|
+
setTokenError(response.status === 404 ? "404" : response.status === 410 ? "linkExpired" : "wrong");
|
|
48
42
|
}
|
|
49
43
|
|
|
50
44
|
setIsLoading(false);
|
|
@@ -64,12 +58,10 @@ const PublicPreview = () => {
|
|
|
64
58
|
const globalTheme = getDefaultTheme();
|
|
65
59
|
const theme = state?.site ? state.siteInfo.theme : globalTheme;
|
|
66
60
|
const socials = state?.site ? state.siteInfo.socials : [];
|
|
67
|
-
const derivedLangs = (state?.pageLanguages ?? []).map(
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
}),
|
|
72
|
-
);
|
|
61
|
+
const derivedLangs = (state?.pageLanguages ?? []).map((pl: { languageId: number; locale: string }) => ({
|
|
62
|
+
id: pl.languageId,
|
|
63
|
+
locale: pl.locale,
|
|
64
|
+
}));
|
|
73
65
|
const langs = state?.site ? state.siteInfo.siteLanguages : derivedLangs;
|
|
74
66
|
const siteID = state?.siteInfo ? state.siteInfo.siteId : undefined;
|
|
75
67
|
|
|
@@ -2,7 +2,7 @@ import { BulkSelectionOptions } from "@ax/components";
|
|
|
2
2
|
import { itemLabel } from "@ax/constants";
|
|
3
3
|
import type { IQueryValue } from "@ax/types";
|
|
4
4
|
|
|
5
|
-
import type { IBulkSelectedItems } from "
|
|
5
|
+
import type { IBulkSelectedItems } from "@ax/hooks";
|
|
6
6
|
|
|
7
7
|
import TableHeader from "./TableHeader";
|
|
8
8
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { connect } from "react-redux";
|
|
3
3
|
|
|
4
|
-
import { IRedirect } from "@ax/types";
|
|
4
|
+
import type { IRedirect } from "@ax/types";
|
|
5
5
|
import { Button, FieldsBehavior, FloatingPanel } from "@ax/components";
|
|
6
6
|
import { redirectsActions } from "@ax/containers/Redirects";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useEffect, useState } from "react";
|
|
2
2
|
import { connect } from "react-redux";
|
|
3
3
|
|
|
4
|
-
import { IDataPack, IDataPackCategory, IRootState, ISite } from "@ax/types";
|
|
4
|
+
import type { IDataPack, IDataPackCategory, IRootState, ISite } from "@ax/types";
|
|
5
5
|
import { getDataPackSchema, sortBy } from "@ax/helpers";
|
|
6
6
|
import { Icon, Loader } from "@ax/components";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { connect } from "react-redux";
|
|
3
3
|
|
|
4
|
-
import { IRootState } from "@ax/types";
|
|
4
|
+
import type { IRootState } from "@ax/types";
|
|
5
5
|
import { Loading } from "@ax/components";
|
|
6
6
|
import { pageEditorActions } from "@ax/containers/PageEditor";
|
|
7
7
|
import { dataPacksActions } from "@ax/containers/Settings";
|
|
@@ -2,7 +2,7 @@ import React from "react";
|
|
|
2
2
|
import { connect } from "react-redux";
|
|
3
3
|
|
|
4
4
|
import { Browser } from "@ax/components";
|
|
5
|
-
import { ILanguage, IRootState, ISite, ISocialState } from "@ax/types";
|
|
5
|
+
import type { ILanguage, IRootState, ISite, ISocialState } from "@ax/types";
|
|
6
6
|
|
|
7
7
|
const TemplateBrowser = (props: IProps) => {
|
|
8
8
|
const { socials, cloudinaryName, content, currentSiteInfo, siteLangs } = props;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useEffect } from "react";
|
|
2
2
|
import { connect } from "react-redux";
|
|
3
3
|
|
|
4
|
-
import { IRootState } from "@ax/types";
|
|
4
|
+
import type { IRootState } from "@ax/types";
|
|
5
5
|
import { useIsDirty } from "@ax/hooks";
|
|
6
6
|
import { RouteLeavingGuard } from "@ax/guards";
|
|
7
7
|
import { ErrorToast, Loading, MainWrapper } from "@ax/components";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from "react";
|
|
1
|
+
import type React from "react";
|
|
2
2
|
import { connect } from "react-redux";
|
|
3
3
|
|
|
4
|
-
import { ITemplate } from "@ax/types";
|
|
4
|
+
import type { ITemplate } from "@ax/types";
|
|
5
5
|
import { appActions } from "@ax/containers/App";
|
|
6
6
|
import { pageEditorActions } from "@ax/containers/PageEditor";
|
|
7
7
|
import { getTemplateThumbnails } from "@ax/helpers";
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import type { Dispatch, SetStateAction } from "react";
|
|
2
3
|
import { connect } from "react-redux";
|
|
3
4
|
|
|
4
5
|
import { useModal } from "@ax/hooks";
|
|
5
6
|
import { getDataPackSchema } from "@ax/helpers";
|
|
6
7
|
import { dataPacksActions } from "@ax/containers/Settings";
|
|
7
|
-
import { IRootState, ISite } from "@ax/types";
|
|
8
|
+
import type { IRootState, ISite } from "@ax/types";
|
|
8
9
|
import { IconAction, InformativeMenu, Modal } from "@ax/components";
|
|
9
10
|
|
|
10
11
|
import * as S from "./style";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React, { Dispatch, SetStateAction } from "react";
|
|
1
|
+
import React, { type Dispatch, type SetStateAction } from "react";
|
|
2
2
|
import { connect } from "react-redux";
|
|
3
3
|
|
|
4
|
-
import { IRootState } from "@ax/types";
|
|
4
|
+
import type { IRootState } from "@ax/types";
|
|
5
5
|
import Item from "./../Item";
|
|
6
6
|
|
|
7
7
|
import * as S from "./style";
|
|
@@ -2,7 +2,7 @@ import React, { useState } from "react";
|
|
|
2
2
|
import { connect } from "react-redux";
|
|
3
3
|
import { NavLink } from "react-router-dom";
|
|
4
4
|
|
|
5
|
-
import { IRootState } from "@ax/types";
|
|
5
|
+
import type { IRootState } from "@ax/types";
|
|
6
6
|
import { useModal } from "@ax/hooks";
|
|
7
7
|
import { dataPacksActions } from "@ax/containers/Settings";
|
|
8
8
|
import { MenuItem, SubNav, InformativeMenu, GuardModal } from "@ax/components";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { Dispatch, SetStateAction, useEffect, useRef, useState } from "react";
|
|
1
|
+
import React, { type Dispatch, type SetStateAction, useEffect, useRef, useState } from "react";
|
|
2
2
|
import { createPortal } from "react-dom";
|
|
3
3
|
|
|
4
4
|
import { useHandleClickOutside } from "@ax/hooks";
|
|
@@ -2,7 +2,7 @@ import React from "react";
|
|
|
2
2
|
|
|
3
3
|
import { useModal, useContextMenu } from "@ax/hooks";
|
|
4
4
|
import { Modal, Tooltip, ContextMenu } from "@ax/components";
|
|
5
|
-
import { IIntegrationVariable, ILanguage, IVariableLang } from "@ax/types";
|
|
5
|
+
import type { IIntegrationVariable, ILanguage, IVariableLang } from "@ax/types";
|
|
6
6
|
import { trimText } from "@ax/helpers";
|
|
7
7
|
import VariablePanel from "../VariablePanel";
|
|
8
8
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useState } from "react";
|
|
2
2
|
import { Button, FieldsBehavior, FloatingPanel, NoteField } from "@ax/components";
|
|
3
|
-
import { IIntegrationVariable, ILanguage, IVariableLang } from "@ax/types";
|
|
3
|
+
import type { IIntegrationVariable, ILanguage, IVariableLang } from "@ax/types";
|
|
4
4
|
|
|
5
5
|
import * as S from "./style";
|
|
6
6
|
|
|
@@ -4,8 +4,8 @@ import { connect } from "react-redux";
|
|
|
4
4
|
import { appActions } from "@ax/containers/App";
|
|
5
5
|
import { integrationsActions } from "@ax/containers/Integrations";
|
|
6
6
|
import { ErrorToast, FieldsBehavior, MainWrapper, Button, FloatingPanel, PageFinder, Toast } from "@ax/components";
|
|
7
|
-
import { IIntegration, IIntegrationVariable, ILanguage, IPage, IRootState } from "@ax/types";
|
|
8
|
-
import { IError } from "@ax/containers/App/reducer";
|
|
7
|
+
import type { IIntegration, IIntegrationVariable, ILanguage, IPage, IRootState } from "@ax/types";
|
|
8
|
+
import type { IError } from "@ax/containers/App/reducer";
|
|
9
9
|
import { RouteLeavingGuard } from "@ax/guards";
|
|
10
10
|
import { useIsDirty, useModal, useToast } from "@ax/hooks";
|
|
11
11
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import styled from "styled-components";
|
|
2
|
-
import { CSS, Transform } from "@dnd-kit/utilities";
|
|
2
|
+
import { CSS, type Transform } from "@dnd-kit/utilities";
|
|
3
3
|
|
|
4
4
|
import { Cell, Row } from "@ax/components/TableList/TableItem/style";
|
|
5
5
|
import { ActionMenu } from "@ax/components";
|
|
@@ -205,7 +205,6 @@ const Integrations = (props: IIntegrationsProps): JSX.Element => {
|
|
|
205
205
|
}
|
|
206
206
|
};
|
|
207
207
|
|
|
208
|
-
|
|
209
208
|
const deletedToastProps = {
|
|
210
209
|
setIsVisible: setIsVisibleDelete,
|
|
211
210
|
message: stateToastDelete?.total > 1 ? `${stateToastDelete?.total} add-ons deleted` : "Add-on deleted",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { connect } from "react-redux";
|
|
3
3
|
|
|
4
|
-
import { IRootState } from "@ax/types";
|
|
4
|
+
import type { IRootState } from "@ax/types";
|
|
5
5
|
import { languagesActions } from "@ax/containers/Settings";
|
|
6
6
|
import { FieldsBehavior } from "@ax/components";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { connect } from "react-redux";
|
|
3
3
|
|
|
4
|
-
import { ILanguage, IRootState } from "@ax/types";
|
|
4
|
+
import type { ILanguage, IRootState } from "@ax/types";
|
|
5
5
|
import { Flag } from "@ax/components";
|
|
6
6
|
import ConnectedField from "./ConnectedField";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { connect } from "react-redux";
|
|
3
3
|
|
|
4
|
-
import { ILanguage, IRootState, ISiteLanguage } from "@ax/types";
|
|
4
|
+
import type { ILanguage, IRootState, ISiteLanguage } from "@ax/types";
|
|
5
5
|
import { languagesActions } from "@ax/containers/Settings";
|
|
6
6
|
import { FloatingPanel, Button } from "@ax/components";
|
|
7
7
|
|
|
@@ -3,7 +3,7 @@ import { connect } from "react-redux";
|
|
|
3
3
|
|
|
4
4
|
import { useModal } from "@ax/hooks";
|
|
5
5
|
import { languagesActions } from "@ax/containers/Settings";
|
|
6
|
-
import { ILanguage } from "@ax/types";
|
|
6
|
+
import type { ILanguage } from "@ax/types";
|
|
7
7
|
import { IconAction } from "@ax/components";
|
|
8
8
|
import { Restricted } from "@ax/guards";
|
|
9
9
|
import LanguagePanel from "../../LanguagePanel";
|
|
@@ -3,7 +3,7 @@ import { connect } from "react-redux";
|
|
|
3
3
|
|
|
4
4
|
import { ContextMenu, Flag } from "@ax/components";
|
|
5
5
|
import { useContextMenu, useModal, usePermission } from "@ax/hooks";
|
|
6
|
-
import { ILanguage, ISiteLanguage, IRootState, ISite } from "@ax/types";
|
|
6
|
+
import type { ILanguage, ISiteLanguage, IRootState, ISite } from "@ax/types";
|
|
7
7
|
import { languagesActions } from "@ax/containers/Settings";
|
|
8
8
|
import LanguagePanel from "../../LanguagePanel";
|
|
9
9
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useEffect } from "react";
|
|
2
2
|
import { connect } from "react-redux";
|
|
3
3
|
|
|
4
|
-
import { INavItem, IRootState, ISite } from "@ax/types";
|
|
4
|
+
import type { INavItem, IRootState, ISite } from "@ax/types";
|
|
5
5
|
import { sitesActions } from "@ax/containers/Sites";
|
|
6
6
|
import { appActions } from "@ax/containers/App";
|
|
7
7
|
import { MainWrapper, Loading, ErrorToast, Nav } from "@ax/components";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from "react";
|
|
1
|
+
import type React from "react";
|
|
2
2
|
import { Link } from "react-router-dom";
|
|
3
3
|
|
|
4
4
|
import { Button, Modal } from "@ax/components";
|
|
5
5
|
import { FieldsBehavior } from "@ax/components";
|
|
6
|
-
import { IDimension, IDimensionsGroup, IModal } from "@ax/types";
|
|
6
|
+
import type { IDimension, IDimensionsGroup, IModal } from "@ax/types";
|
|
7
7
|
import { splitAndTrim, splitAndJoin } from "@ax/helpers";
|
|
8
8
|
|
|
9
9
|
import * as S from "./style";
|
|
@@ -65,7 +65,13 @@ const ListSiteItem = (props: IListSiteItemProps): JSX.Element => {
|
|
|
65
65
|
|
|
66
66
|
return (
|
|
67
67
|
<>
|
|
68
|
-
<S.SiteItemRow
|
|
68
|
+
<S.SiteItemRow
|
|
69
|
+
key={site.id}
|
|
70
|
+
role="rowgroup"
|
|
71
|
+
selected={isSelected}
|
|
72
|
+
onContextMenu={handleContextMenu}
|
|
73
|
+
data-testid="list-site-item"
|
|
74
|
+
>
|
|
69
75
|
<S.CheckCell role="cell">
|
|
70
76
|
<CheckField name="check" value={site.id} checked={isSelected || hoverCheck} onChange={handleOnChange} />
|
|
71
77
|
</S.CheckCell>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { IContentFilter, IDynamicFilter, IStructuredData } from "@ax/types";
|
|
2
|
+
import type { IContentFilter, IDynamicFilter, IStructuredData } from "@ax/types";
|
|
3
3
|
|
|
4
4
|
const getDynamicFilters = (values: IStructuredData[]): IDynamicFilter[] =>
|
|
5
5
|
values &&
|
|
@@ -388,7 +388,12 @@ const GlobalPageItem = (props: IGlobalPageItemProps): JSX.Element => {
|
|
|
388
388
|
|
|
389
389
|
return (
|
|
390
390
|
<>
|
|
391
|
-
<S.StructuredDataRow
|
|
391
|
+
<S.StructuredDataRow
|
|
392
|
+
role="rowgroup"
|
|
393
|
+
selected={isSelected}
|
|
394
|
+
disabled={!isEditable}
|
|
395
|
+
onContextMenu={handleContextMenu}
|
|
396
|
+
>
|
|
392
397
|
<S.CheckCell role="cell">
|
|
393
398
|
<CheckField name="check" value={globalPage.id} checked={isSelected || hoverCheck} onChange={handleOnChange} />
|
|
394
399
|
</S.CheckCell>
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
import { useState } from "react";
|
|
2
2
|
import { connect } from "react-redux";
|
|
3
3
|
|
|
4
|
-
import {
|
|
4
|
+
import {
|
|
5
|
+
CheckField,
|
|
6
|
+
ContextMenu,
|
|
7
|
+
Flag,
|
|
8
|
+
FloatingMenu,
|
|
9
|
+
Icon,
|
|
10
|
+
LanguageMenu,
|
|
11
|
+
Tooltip,
|
|
12
|
+
TruncatedTooltip,
|
|
13
|
+
} from "@ax/components";
|
|
5
14
|
import { appActions } from "@ax/containers/App";
|
|
6
15
|
import { structuredDataActions } from "@ax/containers/StructuredData";
|
|
7
16
|
import {
|
|
@@ -238,7 +247,12 @@ const StructuredDataItem = (props: IStructuredDataItemProps): JSX.Element => {
|
|
|
238
247
|
|
|
239
248
|
return (
|
|
240
249
|
<>
|
|
241
|
-
<S.StructuredDataRow
|
|
250
|
+
<S.StructuredDataRow
|
|
251
|
+
role="rowgroup"
|
|
252
|
+
selected={isSelected}
|
|
253
|
+
disabled={!isEditable}
|
|
254
|
+
onContextMenu={handleContextMenu}
|
|
255
|
+
>
|
|
242
256
|
<S.CheckCell role="cell">
|
|
243
257
|
<CheckField
|
|
244
258
|
name="check"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useEffect, useState } from "react";
|
|
2
|
-
import { IQueryValue, IStructuredData, IStructuredDataSortedInitialState } from "@ax/types";
|
|
2
|
+
import type { IQueryValue, IStructuredData, IStructuredDataSortedInitialState } from "@ax/types";
|
|
3
3
|
|
|
4
4
|
const useSortedListStatus = (): IUseSortedListStatus => {
|
|
5
5
|
const sortedInitialState: IStructuredDataSortedInitialState = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
|
|
3
3
|
import { CheckField, TableCounter, NameFilter, PermissionsFilter, UsersFilter, Tooltip } from "@ax/components";
|
|
4
|
-
import { IQueryValue } from "@ax/types";
|
|
4
|
+
import type { IQueryValue } from "@ax/types";
|
|
5
5
|
|
|
6
6
|
import * as S from "./style";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useState, useEffect } from "react";
|
|
2
2
|
|
|
3
3
|
import { Button, Modal, NoteField, Icon } from "@ax/components";
|
|
4
|
-
import { ICheck, IRole } from "@ax/types";
|
|
4
|
+
import type { ICheck, IRole } from "@ax/types";
|
|
5
5
|
import { useModal } from "@ax/hooks";
|
|
6
6
|
|
|
7
7
|
import RoleItem from "./RoleItem";
|
|
@@ -102,4 +102,16 @@ const Actions = styled.div<{ hasTags: boolean }>`
|
|
|
102
102
|
}
|
|
103
103
|
`;
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export {
|
|
106
|
+
CheckCell,
|
|
107
|
+
NameCell,
|
|
108
|
+
NameTitle,
|
|
109
|
+
RolesCell,
|
|
110
|
+
ActionCell,
|
|
111
|
+
SiteItem,
|
|
112
|
+
WrapperCell,
|
|
113
|
+
Name,
|
|
114
|
+
Title,
|
|
115
|
+
Description,
|
|
116
|
+
Actions,
|
|
117
|
+
};
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import { connect } from "react-redux";
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
Avatar,
|
|
5
|
+
CheckField,
|
|
6
|
+
ContextMenu,
|
|
7
|
+
ElementsTooltip,
|
|
8
|
+
Tag,
|
|
9
|
+
Toast,
|
|
10
|
+
Tooltip,
|
|
11
|
+
TruncatedTooltip,
|
|
12
|
+
} from "@ax/components";
|
|
4
13
|
import { usersActions } from "@ax/containers/Users";
|
|
5
14
|
import { getDaysAgo } from "@ax/helpers";
|
|
6
15
|
import { useContextMenu, useModal, usePermission, useToast } from "@ax/hooks";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useState } from "react";
|
|
2
|
-
import { IQueryValue, IUsersQueryValues } from "@ax/types";
|
|
2
|
+
import type { IQueryValue, IUsersQueryValues } from "@ax/types";
|
|
3
3
|
|
|
4
4
|
const useSortedListStatus = () => {
|
|
5
5
|
const sortedInitialState: { isAscending: boolean; sortedByName: boolean; sortedByDateCreated: boolean } = {
|
package/tsconfig.json
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
|
-
"target": "
|
|
4
|
-
"downlevelIteration": true,
|
|
3
|
+
"target": "es2017",
|
|
5
4
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
6
5
|
"allowJs": true,
|
|
7
6
|
"skipLibCheck": true,
|
|
@@ -10,13 +9,21 @@
|
|
|
10
9
|
"strict": true,
|
|
11
10
|
"forceConsistentCasingInFileNames": true,
|
|
12
11
|
"module": "esnext",
|
|
13
|
-
"moduleResolution": "
|
|
12
|
+
"moduleResolution": "bundler",
|
|
14
13
|
"resolveJsonModule": true,
|
|
15
14
|
"isolatedModules": true,
|
|
16
15
|
"useUnknownInCatchVariables": false,
|
|
17
16
|
"noEmit": true,
|
|
18
17
|
"jsx": "react-jsx",
|
|
19
|
-
"types": [
|
|
18
|
+
"types": [
|
|
19
|
+
"vitest/globals",
|
|
20
|
+
"react",
|
|
21
|
+
"reflect-metadata",
|
|
22
|
+
"node",
|
|
23
|
+
"webpack-env",
|
|
24
|
+
"react-dom",
|
|
25
|
+
"@testing-library/jest-dom"
|
|
26
|
+
]
|
|
20
27
|
},
|
|
21
28
|
"include": ["src"],
|
|
22
29
|
"extends": "./tsconfig.paths.json"
|