@onlyoffice/docspace-plugin-sdk
Version:
Simple plugin system for onlyoffice docspace
45 lines (44 loc) • 1.46 kB
JavaScript
;
/**
* (c) Copyright Ascensio System SIA 2026
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @license
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.LinkTarget = exports.LinkType = void 0;
/**
* Defines the link type.
*/
var LinkType;
(function (LinkType) {
/** Regular page link */
LinkType["page"] = "page";
/** Action link (clickable but not navigating) */
LinkType["action"] = "action";
})(LinkType || (exports.LinkType = LinkType = {}));
/**
* Defines the link target attribute.
*/
var LinkTarget;
(function (LinkTarget) {
/** Opens in a new tab */
LinkTarget["blank"] = "_blank";
/** Opens in the same frame */
LinkTarget["self"] = "_self";
/** Opens in the parent frame */
LinkTarget["parent"] = "_parent";
/** Opens in the full body of the window */
LinkTarget["top"] = "_top";
})(LinkTarget || (exports.LinkTarget = LinkTarget = {}));