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 { track } from '@/utils/tracking';
|
||||
import { useFormHandler } from '@/composables/useFormHandler';
|
||||
import route from '@/general/functions/router';
|
||||
|
||||
interface Props {
|
||||
section: string;
|
||||
|
||||
+2
@@ -62,6 +62,8 @@ const props = defineProps<{
|
||||
section: string;
|
||||
}>();
|
||||
|
||||
const asset = window.Vapor.asset;
|
||||
|
||||
const returnData = ref<any>(null);
|
||||
const parameters = ref({
|
||||
startDate: '',
|
||||
|
||||
@@ -54,6 +54,8 @@ const props = withDefaults(defineProps<{
|
||||
employee: null,
|
||||
});
|
||||
|
||||
const asset = window.Vapor.asset;
|
||||
|
||||
const emit = defineEmits(['selected-voucher']);
|
||||
|
||||
const vouchers = ref<any[]>([]);
|
||||
|
||||
@@ -68,6 +68,8 @@ const props = withDefaults(defineProps<{
|
||||
emptyListSection: true
|
||||
});
|
||||
|
||||
const asset = window.Vapor.asset;
|
||||
|
||||
const queueStore = useQueueStore();
|
||||
const uiStore = useUiStore();
|
||||
const jobPollingStore = useJobPollingStore();
|
||||
|
||||
@@ -102,6 +102,7 @@
|
||||
<script setup lang="ts">
|
||||
import { computed, ref } from 'vue';
|
||||
import { useUiStore } from '@/stores/ui';
|
||||
import route from '@/general/functions/router';
|
||||
|
||||
const uiStore = useUiStore();
|
||||
|
||||
|
||||
@@ -80,6 +80,7 @@
|
||||
<script setup lang="ts">
|
||||
import { ref } from 'vue';
|
||||
import { useComponentHandler } from '@/composables/useComponentHandler';
|
||||
import route from '@/general/functions/router';
|
||||
|
||||
interface Props {
|
||||
data: any;
|
||||
|
||||
+5
-5
@@ -3,10 +3,10 @@ import '@vue/runtime-dom';
|
||||
|
||||
declare module 'vue' {
|
||||
interface ComponentCustomProperties {
|
||||
asset: (path: string) => string;
|
||||
route: (...args: any[]) => string;
|
||||
$store: any;
|
||||
authStore: any;
|
||||
uiStore: any;
|
||||
// asset: (path: string) => string;
|
||||
// route: (...args: any[]) => string;
|
||||
// $store: any;
|
||||
// authStore: any;
|
||||
// uiStore: any;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user