Convert all store files from JavaScript to TypeScript
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -115,8 +115,8 @@
|
||||
<script>
|
||||
import { ref, computed, onMounted, watch, } from 'vue';
|
||||
import { mapState, mapActions, } from 'pinia';
|
||||
import { useLoadingStore } from '@/stores/loading.js';
|
||||
import { useModalStore } from '@/stores/modal.js';
|
||||
import { useLoadingStore } from '@/stores/loading';
|
||||
import { useModalStore } from '@/stores/modal';
|
||||
import { useAcctMgmtStore } from '@/stores/acctMgmt';
|
||||
import { useLoginStore } from '@/stores/login';
|
||||
import SearchBar from '../../../components/AccountMenu/SearchBar.vue';
|
||||
|
||||
@@ -185,7 +185,7 @@
|
||||
import { defineComponent, computed, ref, watch, onMounted, } from 'vue';
|
||||
import i18next from "@/i18n/i18n.js";
|
||||
import { mapActions, } from 'pinia';
|
||||
import { useModalStore } from '@/stores/modal.js';
|
||||
import { useModalStore } from '@/stores/modal';
|
||||
import { useRouter } from 'vue-router';
|
||||
import { useToast } from 'vue-toast-notification';
|
||||
import { useAcctMgmtStore } from '@/stores/acctMgmt';
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
<script>
|
||||
import { computed, } from 'vue';
|
||||
import { useModalStore } from '@/stores/modal.js';
|
||||
import { useModalStore } from '@/stores/modal';
|
||||
import ModalAccountEditCreate from './ModalAccountEditCreate.vue';
|
||||
import ModalAccountInfo from './ModalAccountInfo.vue';
|
||||
import ModalDeleteAlert from './ModalDeleteAlert.vue';
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
<script>
|
||||
import { defineComponent, } from 'vue';
|
||||
import { useModalStore } from '@/stores/modal.js';
|
||||
import { useModalStore } from '@/stores/modal';
|
||||
import { useRouter } from 'vue-router';
|
||||
import { useAcctMgmtStore } from '@/stores/acctMgmt';
|
||||
import i18next from '@/i18n/i18n.js';
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { useModalStore } from '@/stores/modal.js';
|
||||
import { useModalStore } from '@/stores/modal';
|
||||
export default {
|
||||
props: {
|
||||
headerText: {
|
||||
|
||||
@@ -120,7 +120,7 @@ import i18next from '@/i18n/i18n.js';
|
||||
import { useLoginStore } from '@/stores/login';
|
||||
import { useAcctMgmtStore } from '@/stores/acctMgmt';
|
||||
import Badge from '../../components/Badge.vue';
|
||||
import { useLoadingStore } from '@/stores/loading.js';
|
||||
import { useLoadingStore } from '@/stores/loading';
|
||||
import Button from '@/components/Button.vue';
|
||||
import ButtonFilled from '@/components/ButtonFilled.vue';
|
||||
import { useToast } from 'vue-toast-notification';
|
||||
|
||||
@@ -152,8 +152,8 @@
|
||||
<script>
|
||||
import { storeToRefs } from 'pinia';
|
||||
import moment from 'moment';
|
||||
import { useLoadingStore } from '@/stores/loading.js';
|
||||
import { useCompareStore } from '@/stores/compare.js';
|
||||
import { useLoadingStore } from '@/stores/loading';
|
||||
import { useCompareStore } from '@/stores/compare';
|
||||
import SidebarStates from '@/components/Compare/SidebarStates.vue';
|
||||
import { setLineChartData } from '@/module/setChartData.js';
|
||||
import { simpleTimeLabel, followTimeLabel,
|
||||
|
||||
@@ -56,9 +56,9 @@
|
||||
import { onBeforeMount, computed, } from 'vue';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { useRoute } from 'vue-router';
|
||||
import { useLoadingStore } from '@/stores/loading.js';
|
||||
import { useAllMapDataStore } from '@/stores/allMapData.js';
|
||||
import { useConformanceStore } from '@/stores/conformance.js';
|
||||
import { useLoadingStore } from '@/stores/loading';
|
||||
import { useAllMapDataStore } from '@/stores/allMapData';
|
||||
import { useConformanceStore } from '@/stores/conformance';
|
||||
import cytoscapeMap from '@/module/cytoscapeMap.js';
|
||||
import { useCytoscapeStore } from '@/stores/cytoscapeStore';
|
||||
import { useMapPathStore } from '@/stores/mapPathStore';
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
</template>
|
||||
<script>
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { useLoadingStore } from '@/stores/loading.js';
|
||||
import { useConformanceStore } from '@/stores/conformance.js';
|
||||
import { useLoadingStore } from '@/stores/loading';
|
||||
import { useConformanceStore } from '@/stores/conformance';
|
||||
import StatusBar from '@/components/Discover/StatusBar.vue';
|
||||
import ConformanceResults from '@/components/Discover/Conformance/ConformanceResults.vue';
|
||||
import ConformanceSidebar from '@/components/Discover/Conformance/ConformanceSidebar.vue';
|
||||
|
||||
@@ -64,9 +64,9 @@
|
||||
import { onBeforeMount, computed, } from 'vue';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { useRoute } from 'vue-router';
|
||||
import { useLoadingStore } from '@/stores/loading.js';
|
||||
import { useAllMapDataStore } from '@/stores/allMapData.js';
|
||||
import { useConformanceStore } from '@/stores/conformance.js';
|
||||
import { useLoadingStore } from '@/stores/loading';
|
||||
import { useAllMapDataStore } from '@/stores/allMapData';
|
||||
import { useConformanceStore } from '@/stores/conformance';
|
||||
import cytoscapeMap from '@/module/cytoscapeMap.js';
|
||||
import { useCytoscapeStore } from '@/stores/cytoscapeStore';
|
||||
import { useMapPathStore } from '@/stores/mapPathStore';
|
||||
|
||||
@@ -138,9 +138,9 @@
|
||||
<script>
|
||||
import { storeToRefs, mapActions, } from 'pinia';
|
||||
import moment from 'moment';
|
||||
import { useLoadingStore } from '@/stores/loading.js';
|
||||
import { usePerformanceStore } from '@/stores/performance.js';
|
||||
import { useConformanceStore } from '@/stores/conformance.js';
|
||||
import { useLoadingStore } from '@/stores/loading';
|
||||
import { usePerformanceStore } from '@/stores/performance';
|
||||
import { useConformanceStore } from '@/stores/conformance';
|
||||
import StatusBar from '@/components/Discover/StatusBar.vue';
|
||||
import { setLineChartData } from '@/module/setChartData.js';
|
||||
import { simpleTimeLabel, followTimeLabel,
|
||||
|
||||
@@ -224,10 +224,10 @@
|
||||
import { storeToRefs, mapActions, } from 'pinia';
|
||||
import { useMapCompareStore } from '@/stores/mapCompareStore';
|
||||
import { useLoginStore } from '@/stores/login';
|
||||
import { useFilesStore } from '@/stores/files.js';
|
||||
import { useAllMapDataStore } from '@/stores/allMapData.js';
|
||||
import { usePageAdminStore } from '@/stores/pageAdmin.js';
|
||||
import { useLoadingStore } from '@/stores/loading.js';
|
||||
import { useFilesStore } from '@/stores/files';
|
||||
import { useAllMapDataStore } from '@/stores/allMapData';
|
||||
import { usePageAdminStore } from '@/stores/pageAdmin';
|
||||
import { useLoadingStore } from '@/stores/loading';
|
||||
import IconDataFormat from '@/components/icons/IconDataFormat.vue';
|
||||
import IconRule from '@/components/icons/IconRule.vue';
|
||||
import IconsFilter from '@/components/icons/IconsFilter.vue';
|
||||
|
||||
@@ -14,14 +14,14 @@
|
||||
import { onBeforeMount, } from 'vue';
|
||||
import { useRouter } from 'vue-router';
|
||||
import { storeToRefs, mapActions, mapState, } from 'pinia';
|
||||
import { useLoadingStore } from '@/stores/loading.js';
|
||||
import { useAllMapDataStore } from '@/stores/allMapData.js';
|
||||
import { useConformanceStore } from '@/stores/conformance.js';
|
||||
import { useLoadingStore } from '@/stores/loading';
|
||||
import { useAllMapDataStore } from '@/stores/allMapData';
|
||||
import { useConformanceStore } from '@/stores/conformance';
|
||||
import Header from "@/components/Header.vue";
|
||||
import Navbar from "@/components/Navbar.vue";
|
||||
import Loading from '@/components/Loading.vue';
|
||||
import { leaveFilter, leaveConformance } from '@/module/alertModal.js';
|
||||
import { usePageAdminStore } from '@/stores/pageAdmin.js';
|
||||
import { usePageAdminStore } from '@/stores/pageAdmin';
|
||||
import { useLoginStore } from "@/stores/login";
|
||||
import { getCookie, setCookie } from "@/utils/cookieUtil.js";
|
||||
import ModalContainer from './AccountManagement/ModalContainer.vue';
|
||||
|
||||
@@ -79,8 +79,8 @@
|
||||
</template>
|
||||
<script>
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { useLoadingStore } from '@/stores/loading.js';
|
||||
import { useFilesStore } from '@/stores/files.js';
|
||||
import { useLoadingStore } from '@/stores/loading';
|
||||
import { useFilesStore } from '@/stores/files';
|
||||
import { uploadFailedFirst, uploadSuccess, uploadConfirm } from '@/module/alertModal.js'
|
||||
|
||||
export default {
|
||||
|
||||
Reference in New Issue
Block a user