@onlyoffice/docspace-plugin-sdk
Version:
Simple plugin system for onlyoffice docspace
55 lines (54 loc) • 1.96 kB
JavaScript
"use strict";
/**
* (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.Components = void 0;
/**
* Defines the available UI component.
*/
var Components;
(function (Components) {
/** Container component for grouping other elements */
Components["box"] = "box";
/** Interactive button element */
Components["button"] = "button";
/** Selectable checkbox input */
Components["checkbox"] = "checkbox";
/** Text input field */
Components["input"] = "input";
/** Text label for form elements */
Components["label"] = "label";
/** Static text display */
Components["text"] = "text";
/** Multi-line text input */
Components["textArea"] = "textArea";
/** Switch-like button with two states */
Components["toggleButton"] = "toggleButton";
/** Image display component */
Components["img"] = "img";
/** Embedded frame component */
Components["iFrame"] = "iFrame";
/** Dropdown selection input */
Components["comboBox"] = "comboBox";
/** Loading placeholder component */
Components["skeleton"] = "skeleton";
/** Icon button component with hover and click states */
Components["iconButton"] = "iconButton";
/** Hyperlink component */
Components["link"] = "link";
})(Components || (exports.Components = Components = {}));