"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__, {
    QuickAccessPlugin: ()=>QuickAccessPlugin
});
const Plugin_js_namespaceObject = require("../../application/Plugin.js");
const external_Action_js_namespaceObject = require("./Action.js");
const external_Block_js_namespaceObject = require("./Block.js");
const external_blockInitializerItem_js_namespaceObject = require("./blockInitializerItem.js");
const external_blockSettings_js_namespaceObject = require("./blockSettings.js");
const external_configureActions_js_namespaceObject = require("./configureActions.js");
const external_CustomRequestActionSchemaInitializerItem_js_namespaceObject = require("./CustomRequestActionSchemaInitializerItem.js");
const external_LinkActionSchemaInitializerItem_js_namespaceObject = require("./LinkActionSchemaInitializerItem.js");
const external_PopupActionSchemaInitializerItem_js_namespaceObject = require("./PopupActionSchemaInitializerItem.js");
class QuickAccessPlugin extends Plugin_js_namespaceObject.Plugin {
    async load() {
        this.app.addComponents({
            QuickAccessBlock: external_Block_js_namespaceObject.QuickAccessBlock,
            QuickAccessAction: external_Action_js_namespaceObject.QuickAccessAction
        });
        this.app.schemaSettingsManager.add(external_blockSettings_js_namespaceObject.quickAccessBlockSettings);
        this.app.schemaInitializerManager.add(external_configureActions_js_namespaceObject.quickAccessConfigureActions);
        this.app.schemaInitializerManager.addItem('page:addBlock', "otherBlocks.".concat(external_blockInitializerItem_js_namespaceObject.quickAccessBlockInitializerItem.name), external_blockInitializerItem_js_namespaceObject.quickAccessBlockInitializerItem);
        this.app.schemaInitializerManager.addItem('popup:common:addBlock', "otherBlocks.".concat(external_blockInitializerItem_js_namespaceObject.quickAccessBlockInitializerItem.name), external_blockInitializerItem_js_namespaceObject.quickAccessBlockInitializerItem);
        this.app.schemaSettingsManager.add(external_LinkActionSchemaInitializerItem_js_namespaceObject.quickAccessActionSettingsLink);
        this.app.schemaSettingsManager.add(external_PopupActionSchemaInitializerItem_js_namespaceObject.quickAccessActionSettingsPopup);
        this.app.schemaInitializerManager.addItem('quickAccess:configureActions', "popup", {
            Component: external_PopupActionSchemaInitializerItem_js_namespaceObject.QuickAccessPopupActionSchemaInitializerItem
        });
        this.app.schemaSettingsManager.add(external_CustomRequestActionSchemaInitializerItem_js_namespaceObject.quickAccessActionSettingsCustomRequest);
        this.app.schemaInitializerManager.addItem('quickAccess:configureActions', "customRequest", {
            Component: external_CustomRequestActionSchemaInitializerItem_js_namespaceObject.QuickAccessCustomRequestActionSchemaInitializerItem
        });
    }
}
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
});
