@onlyoffice/docspace-plugin-sdk
Version:
Simple plugin system for onlyoffice docspace
70 lines (69 loc) • 2.39 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.PluginLocale = exports.PluginStatus = void 0;
/**
* Defines the supported plugin statuses.
*/
var PluginStatus;
(function (PluginStatus) {
/** Plugin is enabled and visible to users */
PluginStatus["active"] = "active";
/** Plugin is disabled and hidden from the user interface */
PluginStatus["hide"] = "hide";
})(PluginStatus || (exports.PluginStatus = PluginStatus = {}));
/**
* Defines the supported plugin languages.
*/
var PluginLocale;
(function (PluginLocale) {
PluginLocale["AZ"] = "az";
PluginLocale["CS"] = "cs";
PluginLocale["DE"] = "de";
PluginLocale["EN_GB"] = "en-GB";
PluginLocale["EN_US"] = "en-US";
PluginLocale["ES"] = "es";
PluginLocale["FR"] = "fr";
PluginLocale["IT"] = "it";
PluginLocale["LV"] = "lv";
PluginLocale["NL"] = "nl";
PluginLocale["PL"] = "pl";
PluginLocale["PT_BR"] = "pt-BR";
PluginLocale["PT"] = "pt";
PluginLocale["RO"] = "ro";
PluginLocale["SK"] = "sk";
PluginLocale["SL"] = "sl";
PluginLocale["SQ_AL"] = "sq-AL";
PluginLocale["FI"] = "fi";
PluginLocale["VI"] = "vi";
PluginLocale["TR"] = "tr";
PluginLocale["EL_GR"] = "el-GR";
PluginLocale["BG"] = "bg";
PluginLocale["RU"] = "ru";
PluginLocale["SR_CYRL_RS"] = "sr-Cyrl-RS";
PluginLocale["SR_LATN_RS"] = "sr-Latn-RS";
PluginLocale["UK_UA"] = "uk-UA";
PluginLocale["HY_AM"] = "hy-AM";
PluginLocale["AR_SA"] = "ar-SA";
PluginLocale["SI"] = "si";
PluginLocale["LO_LA"] = "lo-LA";
PluginLocale["ZH_CN"] = "zh-CN";
PluginLocale["JA_JP"] = "ja-JP";
PluginLocale["KO_KR"] = "ko-KR";
})(PluginLocale || (exports.PluginLocale = PluginLocale = {}));