From 871441aa7b1ade10c69930f2f8ef165b009038dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jarda=20Kot=C4=9B=C5=A1ovec?= Date: Mon, 5 Feb 2024 15:13:16 +0100 Subject: [PATCH] pkp/pkp-lib#9527 fix some incorrect paths which still used previous docs folder --- src/components/Container/SubmissionWizardPage.stories.js | 2 +- src/components/Filter/FilterAutosuggest.stories.js | 4 ++-- src/components/Form/mocks/field-options-categories.js | 2 +- src/components/Modal/Modal.stories.js | 2 +- src/components/Modal/SideModal.stories.js | 2 +- src/mocks/fileAttachers.js | 2 +- src/mocks/publication.js | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/Container/SubmissionWizardPage.stories.js b/src/components/Container/SubmissionWizardPage.stories.js index ecad4d142..ce037086f 100644 --- a/src/components/Container/SubmissionWizardPage.stories.js +++ b/src/components/Container/SubmissionWizardPage.stories.js @@ -7,7 +7,7 @@ import SubmissionFilesListPanel from '@/components/ListPanel/submissionFiles/Sub import categories from '@/mocks/categories'; import confirmForm from '@/components/Form/mocks/form-confirm'; import dropzoneOptions from '@/mocks/dropzoneOptions'; -import forTheEditorsForm from '@/docs/components/Form/helpers/form-for-the-editors'; +import forTheEditorsForm from '@/components/Form/mocks/form-for-the-editors'; import fieldKeywords from '@/components/Form/mocks/field-controlled-vocab-keywords'; import formChangeSubmission from '@/components/Form/mocks/form-change-submission'; import genres from '@/mocks/genres'; diff --git a/src/components/Filter/FilterAutosuggest.stories.js b/src/components/Filter/FilterAutosuggest.stories.js index 9797af269..9e0054dbc 100644 --- a/src/components/Filter/FilterAutosuggest.stories.js +++ b/src/components/Filter/FilterAutosuggest.stories.js @@ -1,8 +1,8 @@ import {ref} from 'vue'; import {http, HttpResponse} from 'msw'; import FilterAutosuggest from './FilterAutosuggest.vue'; -import fieldBase from '@/docs/components/Form/helpers/field-base'; -import fieldBaseAutosuggest from '@/docs/components/Form/helpers/field-autosuggest'; +import fieldBase from '@/components/Form/mocks/field-base'; +import fieldBaseAutosuggest from '@/components/Form/mocks/field-autosuggest'; import UsernamesMock from '@/mocks/usernames.json'; import IssuesMock from '@/mocks/issues.json'; diff --git a/src/components/Form/mocks/field-options-categories.js b/src/components/Form/mocks/field-options-categories.js index 5d34cff09..684535dc3 100644 --- a/src/components/Form/mocks/field-options-categories.js +++ b/src/components/Form/mocks/field-options-categories.js @@ -1,4 +1,4 @@ -import categories from '../../../data/categories'; +import categories from '@/mocks/categories'; export default { name: 'categories', diff --git a/src/components/Modal/Modal.stories.js b/src/components/Modal/Modal.stories.js index 83a31096f..b8ab4e941 100644 --- a/src/components/Modal/Modal.stories.js +++ b/src/components/Modal/Modal.stories.js @@ -2,7 +2,7 @@ import {ref} from 'vue'; import Modal from './Modal.vue'; import PkpForm from '@/components/Form/Form.vue'; import cloneDeep from 'clone-deep'; -import FormMock from '@/docs/components/Form/helpers/form-announcement'; +import FormMock from '@/components/Form/mocks/form-announcement'; import List from '@/components/List/List.vue'; import ListItem from '@/components/List/ListItem.vue'; import {allModes} from '../../../.storybook/modes.js'; diff --git a/src/components/Modal/SideModal.stories.js b/src/components/Modal/SideModal.stories.js index 7632bcbf1..c746df2a1 100644 --- a/src/components/Modal/SideModal.stories.js +++ b/src/components/Modal/SideModal.stories.js @@ -5,7 +5,7 @@ import SideModalBody from './SideModalBody.vue'; import SideModalLayout2Columns from './SideModalLayout2Columns.vue'; import PkpForm from '@/components/Form/Form.vue'; import cloneDeep from 'clone-deep'; -import FormMock from '@/docs/components/Form/helpers/form-announcement'; +import FormMock from '@/components/Form/mocks/form-announcement'; import Tabs from '@/components/Tabs/Tabs.vue'; import Tab from '@/components/Tabs/Tab.vue'; diff --git a/src/mocks/fileAttachers.js b/src/mocks/fileAttachers.js index ca6daba7b..9a213500b 100644 --- a/src/mocks/fileAttachers.js +++ b/src/mocks/fileAttachers.js @@ -1,7 +1,7 @@ /** * Sample props for FileAttacher components */ -import dropzoneOptions from '@/docs/data/dropzoneOptions'; +import dropzoneOptions from '@/mocks/dropzoneOptions'; export default [ { diff --git a/src/mocks/publication.js b/src/mocks/publication.js index ff05c85e1..7f6452e3b 100644 --- a/src/mocks/publication.js +++ b/src/mocks/publication.js @@ -1,5 +1,5 @@ import authors from './authors'; -import doi from '@/docs/data/doi'; +import doi from '@/mocks/doi'; export default { _href: