File tree Expand file tree Collapse file tree 6 files changed +10
-10
lines changed Expand file tree Collapse file tree 6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
- import { useToast } from "bootstrap-vue-next" ;
1
+ import { useToastController } from "bootstrap-vue-next" ;
2
2
import { watch } from "vue" ;
3
3
import { useRoute } from "vue-router" ;
4
4
@@ -9,7 +9,7 @@ export default () =>
9
9
( ) => route . hash ,
10
10
( newValue ) => {
11
11
const toastError = ( message : string ) =>
12
- useToast ( ) . show ! ( {
12
+ useToastController ( ) . show ! ( {
13
13
props : {
14
14
body : message ,
15
15
title : "Error" ,
Original file line number Diff line number Diff line change 1
- import { useToast } from "bootstrap-vue-next" ;
1
+ import { useToastController } from "bootstrap-vue-next" ;
2
2
import interact from "interactjs" ;
3
3
import { useI18n } from "vue-i18n" ;
4
4
@@ -15,7 +15,7 @@ const shownTips: string[] = [];
15
15
16
16
export const useStepOptions = ( props : BaseProps , attributeKeys : string [ ] ) => {
17
17
const stepStore = step ( ) ;
18
- const toast = useToast ( ) ;
18
+ const toast = useToastController ( ) ;
19
19
const { t } = useI18n ( ) ;
20
20
const { zoom } = storeToRefs ( ui ( ) ) ;
21
21
const width = computed (
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ meta:
161
161
import " cropperjs/dist/cropper.css" ;
162
162
163
163
import { useCookies } from " @vueuse/integrations/useCookies" ;
164
- import { useToast } from " bootstrap-vue-next" ;
164
+ import { useToastController } from " bootstrap-vue-next" ;
165
165
import type Cropper from " cropperjs" ;
166
166
import { nextTick } from " vue" ;
167
167
import type { CropperData } from " vue-cropperjs" ;
@@ -205,7 +205,7 @@ const initialContributors = computed(
205
205
const addCrop = () => {
206
206
const data = cropper .value ! .getData () as CropperData ;
207
207
if (data .height < data .width ) {
208
- useToast ().show !({
208
+ useToastController ().show !({
209
209
props: {
210
210
body: i18n
211
211
.t (
Original file line number Diff line number Diff line change 11
11
"strict" : true ,
12
12
"esModuleInterop" : true ,
13
13
"skipLibCheck" : true ,
14
- "moduleResolution" : " node " ,
14
+ "moduleResolution" : " bundler " ,
15
15
"resolveJsonModule" : true ,
16
16
"noUnusedLocals" : true ,
17
17
"strictNullChecks" : true ,
Original file line number Diff line number Diff line change 96
96
</template >
97
97
98
98
<script setup lang="ts">
99
- import { useToast } from " bootstrap-vue-next" ;
99
+ import { useToastController } from " bootstrap-vue-next" ;
100
100
import type { PageFlip } from " page-flip" ;
101
101
102
102
const { issuecode } = defineProps <{
@@ -111,7 +111,7 @@ const cloudinaryBaseUrl =
111
111
const { fetchIssueUrls } = coa ();
112
112
const { getImagePath } = images ();
113
113
114
- const toast = useToast ();
114
+ const toast = useToastController ();
115
115
const edgeWidth = ref <number | null >(null );
116
116
const coverHeight = ref <number | undefined >(undefined );
117
117
const coverRatio = ref <number | undefined >(undefined );
Original file line number Diff line number Diff line change 11
11
"strict" : true ,
12
12
"esModuleInterop" : true ,
13
13
"skipLibCheck" : true ,
14
- "moduleResolution" : " node " ,
14
+ "moduleResolution" : " bundler " ,
15
15
"resolveJsonModule" : true ,
16
16
"noUnusedLocals" : true ,
17
17
"strictNullChecks" : true ,
You can’t perform that action at this time.
0 commit comments