mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
Update: Vue 2 to Vue 3 with Typescript, node 14 to node 22, Jenkinsfile, Dockerfile, vapor.yml (Post PROD Deployment)
This commit is contained in:
@@ -162,6 +162,7 @@ import { useAuthStore } from '@/stores/auth';
|
|||||||
import { useUiStore } from '@/stores/ui';
|
import { useUiStore } from '@/stores/ui';
|
||||||
import { track } from '@/utils/tracking';
|
import { track } from '@/utils/tracking';
|
||||||
import { useFormHandler } from '@/composables/useFormHandler';
|
import { useFormHandler } from '@/composables/useFormHandler';
|
||||||
|
import route from '@/general/functions/router';
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
section: string;
|
section: string;
|
||||||
|
|||||||
+2
@@ -62,6 +62,8 @@ const props = defineProps<{
|
|||||||
section: string;
|
section: string;
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
|
const asset = window.Vapor.asset;
|
||||||
|
|
||||||
const returnData = ref<any>(null);
|
const returnData = ref<any>(null);
|
||||||
const parameters = ref({
|
const parameters = ref({
|
||||||
startDate: '',
|
startDate: '',
|
||||||
|
|||||||
@@ -54,6 +54,8 @@ const props = withDefaults(defineProps<{
|
|||||||
employee: null,
|
employee: null,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const asset = window.Vapor.asset;
|
||||||
|
|
||||||
const emit = defineEmits(['selected-voucher']);
|
const emit = defineEmits(['selected-voucher']);
|
||||||
|
|
||||||
const vouchers = ref<any[]>([]);
|
const vouchers = ref<any[]>([]);
|
||||||
|
|||||||
@@ -68,6 +68,8 @@ const props = withDefaults(defineProps<{
|
|||||||
emptyListSection: true
|
emptyListSection: true
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const asset = window.Vapor.asset;
|
||||||
|
|
||||||
const queueStore = useQueueStore();
|
const queueStore = useQueueStore();
|
||||||
const uiStore = useUiStore();
|
const uiStore = useUiStore();
|
||||||
const jobPollingStore = useJobPollingStore();
|
const jobPollingStore = useJobPollingStore();
|
||||||
|
|||||||
@@ -102,6 +102,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { computed, ref } from 'vue';
|
import { computed, ref } from 'vue';
|
||||||
import { useUiStore } from '@/stores/ui';
|
import { useUiStore } from '@/stores/ui';
|
||||||
|
import route from '@/general/functions/router';
|
||||||
|
|
||||||
const uiStore = useUiStore();
|
const uiStore = useUiStore();
|
||||||
|
|
||||||
|
|||||||
@@ -80,6 +80,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref } from 'vue';
|
import { ref } from 'vue';
|
||||||
import { useComponentHandler } from '@/composables/useComponentHandler';
|
import { useComponentHandler } from '@/composables/useComponentHandler';
|
||||||
|
import route from '@/general/functions/router';
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
data: any;
|
data: any;
|
||||||
|
|||||||
+5
-5
@@ -3,10 +3,10 @@ import '@vue/runtime-dom';
|
|||||||
|
|
||||||
declare module 'vue' {
|
declare module 'vue' {
|
||||||
interface ComponentCustomProperties {
|
interface ComponentCustomProperties {
|
||||||
asset: (path: string) => string;
|
// asset: (path: string) => string;
|
||||||
route: (...args: any[]) => string;
|
// route: (...args: any[]) => string;
|
||||||
$store: any;
|
// $store: any;
|
||||||
authStore: any;
|
// authStore: any;
|
||||||
uiStore: any;
|
// uiStore: any;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user