"use strict";
var __webpack_require__ = {};
(()=>{
    __webpack_require__.d = function(exports1, definition) {
        for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
            enumerable: true,
            get: definition[key]
        });
    };
})();
(()=>{
    __webpack_require__.o = function(obj, prop) {
        return Object.prototype.hasOwnProperty.call(obj, prop);
    };
})();
(()=>{
    __webpack_require__.r = function(exports1) {
        if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
            value: 'Module'
        });
        Object.defineProperty(exports1, '__esModule', {
            value: true
        });
    };
})();
var __webpack_exports__ = {};
__webpack_require__.r(__webpack_exports__);
__webpack_require__.d(__webpack_exports__, {
    PluginContextMenu: ()=>PluginContextMenu,
    useContextMenu: ()=>external_useContextMenu_js_namespaceObject.useContextMenu,
    ContextMenuContext: ()=>external_useContextMenu_js_namespaceObject.ContextMenuContext
});
const Plugin_js_namespaceObject = require("../../application/Plugin.js");
const ScrollAssistantStatus_provider_js_namespaceObject = require("../scroll-assistant/ScrollAssistantStatus.provider.js");
const external_ContextMenu_provider_js_namespaceObject = require("./ContextMenu.provider.js");
const external_ContextMenuItemsProps_js_namespaceObject = require("./ContextMenuItemsProps.js");
const external_useContextMenu_js_namespaceObject = require("./useContextMenu.js");
class PluginContextMenu extends Plugin_js_namespaceObject.Plugin {
    async load() {
        this.app.use(ScrollAssistantStatus_provider_js_namespaceObject.ScrollAssistantStatusProvider);
        this.app.use(external_ContextMenu_provider_js_namespaceObject.ContextMenuProvider);
        this.app.use(external_ContextMenu_provider_js_namespaceObject.ContextMenuButtonProvider);
        this.app.pluginContextMenu.add(external_ContextMenuItemsProps_js_namespaceObject.designerMode.name, external_ContextMenuItemsProps_js_namespaceObject.designerMode);
        this.app.pluginContextMenu.add(external_ContextMenuItemsProps_js_namespaceObject.fullScreen.name, external_ContextMenuItemsProps_js_namespaceObject.fullScreen);
        this.app.pluginContextMenu.add(external_ContextMenuItemsProps_js_namespaceObject.disableRightMenu.name, external_ContextMenuItemsProps_js_namespaceObject.disableRightMenu);
        this.app.pluginContextMenu.add(external_ContextMenuItemsProps_js_namespaceObject.showScrollArea.name, external_ContextMenuItemsProps_js_namespaceObject.showScrollArea);
    }
}
var __webpack_export_target__ = exports;
for(var __webpack_i__ in __webpack_exports__)__webpack_export_target__[__webpack_i__] = __webpack_exports__[__webpack_i__];
if (__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, '__esModule', {
    value: true
});
