import { createApp } from 'vue'; import App from './App.vue'; import VueDatePicker from '@vuepic/vue-datepicker'; import '@vuepic/vue-datepicker/dist/main.css'; import ConfirmationModal from '@/components/ConfirmationModal.vue'; import NavBar from '@/components/NavBar.vue'; import MainForm from '@/components/MainForm.vue'; import OrdersSelector from '@/components/OrdersSelector.vue' const app = createApp(App) app.component('VueDatePicker', VueDatePicker); app.component('ConfirmationModal', ConfirmationModal); app.component('NavBar', NavBar); app.component('MainForm', MainForm); app.component('OrdersSelector', OrdersSelector); app.mount('#app'); export interface Category { GIDNumer: number, GrONumer: number, Kod: string, Nazwa: string, Poziom: number, Sciezka: string, Towary: Array } export interface Product { Twr_Cena: string, Twr_CenaZ: string, Twr_JM: string, Twr_JMPrzelicznikL: string, Twr_JMPrzelicznikM: string, Twr_JMZ: string, Twr_Kod: string, Twr_Nazwa: string, Twr_NieAktywny: number, Twr_Stawka: string, Twr_TwGGIDNumer: number, Twr_TwrId: number, Options: Array, ChosenOption: string, Quantity: number } export interface Contractor { Knt_Email: string, Knt_KntId: number, Knt_KodPocztowy: string, Knt_Miasto: string, Knt_Nazwa1: string, Knt_Nazwa2: string, Knt_Nazwa3: string, Knt_Niekatywny: number, Knt_NipE: string, Knt_NrDomu: string, Knt_OpiekunId: number, Knt_OpiekunTyp: number, Knt_Ulica: string, Knt_Wojewodztwo: string } export interface Order { MZN_Bufor: number, MZN_DataDos: string, MZN_DataZam: string, MZN_MZNID: number, MZN_OpeID: number, MZN_PodID: number, MZN_PodKodPocztowy: string, MZN_PodMiasto: string, MZN_PodNazwa1: string, MZN_PodNazwa2: string, MZN_PodNazwa3: string, MZN_PodNipE: string, MZN_PodNrDomu: string, MZN_PodUlica: string, MZN_PodWojewodztwo: string, MZN_TypDokumentu: number, MZN_UUID: string, MZamElem: Array } export interface OrderProduct { MZE_MZEID: number | undefined, MZE_MZNID: number | undefined, MZE_TwrCena: string, MZE_TwrId: number, MZE_TwrIlosc: string, MZE_TwrJm: string, MZE_TwrNazwa: string, MZE_TwrStawka: string | undefined }