import { default as nsOrderPreview } from '@/popups/ns-orders-preview-popup.vue';
import { default as nsProductPreview } from '@/popups/ns-products-preview.vue';
import { default as nsAlertPopup } from '@/popups/ns-alert-popup.vue';
import { default as nsConfirmPopup } from '@/popups/ns-pos-confirm-popup.vue';
import { default as nsPromptPopup } from '@/popups/ns-prompt-popup.vue';
import { default as nsMediaPopup } from '@/pages/dashboard/ns-media.vue';
import { default as nsProcurementQuantity } from '@/popups/ns-procurement-quantity.vue';
import { default as nsOrdersRefund } from '@/popups/ns-orders-refund-popup.vue';
import { default as nsSelectPopup } from '@/popups/ns-select-popup.vue';
import { default as nsPOSLoadingPopup } from '@/popups/ns-pos-loading-popup.vue';

const popups    =   { 
    nsOrderPreview,
    nsProductPreview,
    nsAlertPopup,
    nsConfirmPopup,
    nsPromptPopup,
    nsMediaPopup,
    nsProcurementQuantity,
    nsOrdersRefund,
    nsSelectPopup,
    nsPOSLoadingPopup,
};

for( let index in popups ) {
    window[ index ]     =   popups[ index ];
}