UNPKG

ory-editor-plugins-image

Version:

47 lines 1.96 kB
"use strict"; /* * This file is part of ORY Editor. * * ORY Editor is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * ORY Editor is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with ORY Editor. If not, see <http://www.gnu.org/licenses/>. * * @license LGPL-3.0 * @copyright 2016-2018 Aeneas Rekkas * @author Aeneas Rekkas <aeneas+oss@aeneas.io> * */ var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; } return t; }; return __assign.apply(this, arguments); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var createPlugin_1 = __importDefault(require("./createPlugin")); var ImageHtmlRenderer_1 = __importDefault(require("./Renderer/ImageHtmlRenderer")); var ImageDefaultControls_1 = __importDefault(require("./Controls/ImageDefaultControls")); var imagePlugin = function (settings) { return createPlugin_1.default(__assign({ Renderer: ImageHtmlRenderer_1.default, Controls: ImageDefaultControls_1.default }, settings)); }; exports.imagePlugin = imagePlugin; var image = imagePlugin(); exports.default = image; //# sourceMappingURL=index.js.map