index.js

import { Visualizer, CustomProduct } from "./visualizer";
import { LAYOUTS, POSITIONS, PRODUCT_TYPES, MIME_TYPES, PLACEMENTS, TOOLTIP_DIRECTIONS, VISUALIZER_EVENTS } from "./constants";
import { EventBus, WizartEvent } from "./event-bus";
import { createButton, addTooltip } from "./buttons";
import { formatBase64ImageSrc } from "./utils";
import './index.css';
import {Panorama} from "./interactive-panorama";

/**
 * @namespace WizartDeploymentKit
 */
const WizartDeploymentKit = {
    Visualizer,
    Panorama,
    CustomProduct,
    WizartEvent,
    EventBus,
    createButton,
    addTooltip,
    formatBase64ImageSrc,
    LAYOUTS,
    POSITIONS,
    PRODUCT_TYPES,
    MIME_TYPES,
    PLACEMENTS,
    TOOLTIP_DIRECTIONS,
    VISUALIZER_EVENTS
};

(function (root, factory) {
    if (typeof module === "object" && module.exports) {
        module.exports = factory();
    } else if (typeof define === "function" && define.amd) {
        define([], factory);
    } else {
        root.WizartDeploymentKit = factory();
    }
})(typeof self !== "undefined" ? self : this, function () {
    return WizartDeploymentKit;
});