"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"prettier": "^2.3.2",
- "typescript": "^4.1.3"
+ "typescript": "^4.4.2"
}
},
"node_modules/@babel/code-frame": {
}
},
"node_modules/typescript": {
- "version": "4.1.3",
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.1.3.tgz",
- "integrity": "sha512-B3ZIOf1IKeH2ixgHhj6la6xdwR9QrLC5d1VKeCSY4tvkqhF2eqd9O7txNlS0PO3GrBAFIdr3L1ndNwteUbZLYg==",
+ "version": "4.4.2",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.2.tgz",
+ "integrity": "sha512-gzP+t5W4hdy4c+68bfcv0t400HVJMMd2+H9B7gae1nQlBzCqvrXX+6GL/b3GAgyTH966pzrZ70/fRjwAtZksSQ==",
"dev": true,
"bin": {
"tsc": "bin/tsc",
"dev": true
},
"typescript": {
- "version": "4.1.3",
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.1.3.tgz",
- "integrity": "sha512-B3ZIOf1IKeH2ixgHhj6la6xdwR9QrLC5d1VKeCSY4tvkqhF2eqd9O7txNlS0PO3GrBAFIdr3L1ndNwteUbZLYg==",
+ "version": "4.4.2",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.2.tgz",
+ "integrity": "sha512-gzP+t5W4hdy4c+68bfcv0t400HVJMMd2+H9B7gae1nQlBzCqvrXX+6GL/b3GAgyTH966pzrZ70/fRjwAtZksSQ==",
"dev": true
},
"uri-js": {
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"prettier": "^2.3.2",
- "typescript": "^4.1.3"
+ "typescript": "^4.4.2"
},
"dependencies": {
"@types/facebook-js-sdk": "^3.3.4",
_editor = "redactor";
_touch =
"ontouchstart" in window ||
- ("msMaxTouchPoints" in window.navigator && window.navigator.msMaxTouchPoints > 0) ||
+ ("msMaxTouchPoints" in window.navigator && (window.navigator as any).msMaxTouchPoints > 0) ||
((window as any).DocumentTouch && document instanceof (window as any).DocumentTouch);
// The iPad Pro 12.9" masquerades as a desktop browser.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.setup = void 0;
- Core = tslib_1.__importStar(Core);
- UiPageMenu = tslib_1.__importStar(UiPageMenu);
+ Core = (0, tslib_1.__importStar)(Core);
+ UiPageMenu = (0, tslib_1.__importStar)(UiPageMenu);
/**
* Bootstraps general modules and frontend exclusive ones.
*
enableMobileMenu: true,
},
}, options);
- Bootstrap_1.setup(options.bootstrap);
+ (0, Bootstrap_1.setup)(options.bootstrap);
UiPageMenu.init();
}
exports.setup = setup;
*/
define(["require", "exports", "tslib", "../../../../../../Core", "../../../../../../Language", "../../../../../../Dom/Traverse", "../../../../../../Dom/Change/Listener", "../../../../../../Dom/Util"], function (require, exports, tslib_1, Core, Language, DomTraverse, Listener_1, Util_1) {
"use strict";
- Core = tslib_1.__importStar(Core);
- Language = tslib_1.__importStar(Language);
- DomTraverse = tslib_1.__importStar(DomTraverse);
- Listener_1 = tslib_1.__importDefault(Listener_1);
- Util_1 = tslib_1.__importDefault(Util_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ Language = (0, tslib_1.__importStar)(Language);
+ DomTraverse = (0, tslib_1.__importStar)(DomTraverse);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
class AbstractPackageList {
constructor(formFieldId, existingPackages) {
this.formFieldId = formFieldId;
*/
define(["require", "exports", "tslib", "./AbstractPackageList", "../../../../../../Core", "../../../../../../Language", "../../../../../../Dom/Util"], function (require, exports, tslib_1, AbstractPackageList_1, Core, Language, Util_1) {
"use strict";
- AbstractPackageList_1 = tslib_1.__importDefault(AbstractPackageList_1);
- Core = tslib_1.__importStar(Core);
- Language = tslib_1.__importStar(Language);
- Util_1 = tslib_1.__importDefault(Util_1);
+ AbstractPackageList_1 = (0, tslib_1.__importDefault)(AbstractPackageList_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ Language = (0, tslib_1.__importStar)(Language);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
class ExcludedPackages extends AbstractPackageList_1.default {
constructor(formFieldId, existingPackages) {
super(formFieldId, existingPackages);
*/
define(["require", "exports", "tslib", "../../../../../../Core", "../../../../../../Language", "../../../../../../Dom/Traverse", "../../../../../../Dom/Change/Listener", "../../../../../../Dom/Util", "../../../../../../Ui/Sortable/List", "../../../../../../Ui/Dialog", "../../../../../../Ui/Confirmation"], function (require, exports, tslib_1, Core, Language, DomTraverse, Listener_1, Util_1, List_1, Dialog_1, UiConfirmation) {
"use strict";
- Core = tslib_1.__importStar(Core);
- Language = tslib_1.__importStar(Language);
- DomTraverse = tslib_1.__importStar(DomTraverse);
- Listener_1 = tslib_1.__importDefault(Listener_1);
- Util_1 = tslib_1.__importDefault(Util_1);
- List_1 = tslib_1.__importDefault(List_1);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
- UiConfirmation = tslib_1.__importStar(UiConfirmation);
+ Core = (0, tslib_1.__importStar)(Core);
+ Language = (0, tslib_1.__importStar)(Language);
+ DomTraverse = (0, tslib_1.__importStar)(DomTraverse);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ List_1 = (0, tslib_1.__importDefault)(List_1);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
+ UiConfirmation = (0, tslib_1.__importStar)(UiConfirmation);
class Instructions {
constructor(formFieldId, instructionsTemplate, instructionsEditDialogTemplate, instructionEditDialogTemplate, pipDefaultFilenames, existingInstructions) {
this.instructionCounter = 0;
*/
define(["require", "exports", "tslib", "./AbstractPackageList", "../../../../../../Core", "../../../../../../Language"], function (require, exports, tslib_1, AbstractPackageList_1, Core, Language) {
"use strict";
- AbstractPackageList_1 = tslib_1.__importDefault(AbstractPackageList_1);
- Core = tslib_1.__importStar(Core);
- Language = tslib_1.__importStar(Language);
+ AbstractPackageList_1 = (0, tslib_1.__importDefault)(AbstractPackageList_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ Language = (0, tslib_1.__importStar)(Language);
class OptionalPackages extends AbstractPackageList_1.default {
populateListItem(listItem, packageData) {
super.populateListItem(listItem, packageData);
*/
define(["require", "exports", "tslib", "./AbstractPackageList", "../../../../../../Core", "../../../../../../Language"], function (require, exports, tslib_1, AbstractPackageList_1, Core, Language) {
"use strict";
- AbstractPackageList_1 = tslib_1.__importDefault(AbstractPackageList_1);
- Core = tslib_1.__importStar(Core);
- Language = tslib_1.__importStar(Language);
+ AbstractPackageList_1 = (0, tslib_1.__importDefault)(AbstractPackageList_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ Language = (0, tslib_1.__importStar)(Language);
class RequiredPackages extends AbstractPackageList_1.default {
constructor(formFieldId, existingPackages) {
super(formFieldId, existingPackages);
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.openDialog = exports.init = void 0;
- Language = tslib_1.__importStar(Language);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
class ArticleAdd {
constructor(link) {
this.link = link;
*/
define(["require", "exports", "tslib", "../../../Ajax", "../../../Controller/Clipboard", "../../../Core", "../../../Dom/Util", "../../../Event/Handler", "../../../Language", "../../../Ui/Confirmation", "../../../Ui/Dialog", "../../../Ui/Notification"], function (require, exports, tslib_1, Ajax, ControllerClipboard, Core, Util_1, EventHandler, Language, UiConfirmation, Dialog_1, UiNotification) {
"use strict";
- Ajax = tslib_1.__importStar(Ajax);
- ControllerClipboard = tslib_1.__importStar(ControllerClipboard);
- Core = tslib_1.__importStar(Core);
- Util_1 = tslib_1.__importDefault(Util_1);
- EventHandler = tslib_1.__importStar(EventHandler);
- Language = tslib_1.__importStar(Language);
- UiConfirmation = tslib_1.__importStar(UiConfirmation);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
- UiNotification = tslib_1.__importStar(UiNotification);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ ControllerClipboard = (0, tslib_1.__importStar)(ControllerClipboard);
+ Core = (0, tslib_1.__importStar)(Core);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ Language = (0, tslib_1.__importStar)(Language);
+ UiConfirmation = (0, tslib_1.__importStar)(UiConfirmation);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
+ UiNotification = (0, tslib_1.__importStar)(UiNotification);
const articles = new Map();
class AcpUiArticleInlineEditor {
/**
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.openDialog = exports.init = void 0;
- Language = tslib_1.__importStar(Language);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
class AcpUiBoxAdd {
constructor() {
this.supportsI18n = false;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.init = void 0;
- Ajax = tslib_1.__importStar(Ajax);
- Util_1 = tslib_1.__importDefault(Util_1);
- EventHandler = tslib_1.__importStar(EventHandler);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
class AcpUiBoxControllerHandler {
constructor(initialObjectTypeId) {
this.boxControllerContainer = document.getElementById("boxControllerContainer");
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.init = void 0;
- Language = tslib_1.__importStar(Language);
- UiDialog = tslib_1.__importStar(UiDialog);
+ Language = (0, tslib_1.__importStar)(Language);
+ UiDialog = (0, tslib_1.__importStar)(UiDialog);
class AcpUiBoxCopy {
constructor() {
document.querySelectorAll(".jsButtonCopyBox").forEach((button) => {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.init = void 0;
- Util_1 = tslib_1.__importDefault(Util_1);
- Language = tslib_1.__importStar(Language);
- UiPageSearchHandler = tslib_1.__importStar(UiPageSearchHandler);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ UiPageSearchHandler = (0, tslib_1.__importStar)(UiPageSearchHandler);
class AcpUiBoxHandler {
/**
* Initializes the interface logic.
define(["require", "exports", "tslib", "../../../Media/Manager/Editor", "../../../Core"], function (require, exports, tslib_1, Editor_1, Core) {
"use strict";
- Editor_1 = tslib_1.__importDefault(Editor_1);
- Core = tslib_1.__importStar(Core);
+ Editor_1 = (0, tslib_1.__importDefault)(Editor_1);
+ Core = (0, tslib_1.__importStar)(Core);
class AcpUiCodeMirrorMedia {
constructor(elementId) {
this.element = document.getElementById(elementId);
define(["require", "exports", "tslib", "../../../Core", "../../../Ui/Page/Search"], function (require, exports, tslib_1, Core, UiPageSearch) {
"use strict";
- Core = tslib_1.__importStar(Core);
- UiPageSearch = tslib_1.__importStar(UiPageSearch);
+ Core = (0, tslib_1.__importStar)(Core);
+ UiPageSearch = (0, tslib_1.__importStar)(UiPageSearch);
class AcpUiCodeMirrorPage {
constructor(elementId) {
this.element = document.getElementById(elementId);
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.List = void 0;
- UiConfirmation = tslib_1.__importStar(UiConfirmation);
- Ajax = tslib_1.__importStar(Ajax);
- Language = tslib_1.__importStar(Language);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
+ UiConfirmation = (0, tslib_1.__importStar)(UiConfirmation);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Language = (0, tslib_1.__importStar)(Language);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
class List {
constructor() {
this.clearLogButton = document.getElementById("clearMissingLanguageItemLog");
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.init = void 0;
- Ajax = tslib_1.__importStar(Ajax);
- Language = tslib_1.__importStar(Language);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
- Util_1 = tslib_1.__importDefault(Util_1);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Language = (0, tslib_1.__importStar)(Language);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
class AcpUiDevtoolsNotificationTest {
/**
* Initializes the user notification test handler.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.init = void 0;
- Ajax = tslib_1.__importStar(Ajax);
- Language = tslib_1.__importStar(Language);
- UiConfirmation = tslib_1.__importStar(UiConfirmation);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Language = (0, tslib_1.__importStar)(Language);
+ UiConfirmation = (0, tslib_1.__importStar)(UiConfirmation);
let _projectId;
let _projectName;
/**
*/
define(["require", "exports", "tslib", "../../../../../../Ajax", "../../../../../../Core", "../../../../../../Language", "../../../../../../Ui/Confirmation", "../../../../../../Ui/Notification"], function (require, exports, tslib_1, Ajax, Core, Language, Confirmation_1, UiNotification) {
"use strict";
- Ajax = tslib_1.__importStar(Ajax);
- Core = tslib_1.__importStar(Core);
- Language = tslib_1.__importStar(Language);
- UiNotification = tslib_1.__importStar(UiNotification);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Core = (0, tslib_1.__importStar)(Core);
+ Language = (0, tslib_1.__importStar)(Language);
+ UiNotification = (0, tslib_1.__importStar)(UiNotification);
class DevtoolsProjectPipEntryList {
/**
* Initializes the devtools project pip entry list handler.
</dd>
</dl>`;
}
- Confirmation_1.show({
+ (0, Confirmation_1.show)({
confirm: (parameters, content) => this.deletePipEntry(parameters, content),
message: Language.get("wcf.acp.devtools.project.pip.entry.delete.confirmMessage"),
template,
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.init = void 0;
- Ajax = tslib_1.__importStar(Ajax);
- Util_1 = tslib_1.__importDefault(Util_1);
- Language = tslib_1.__importStar(Language);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
- UiNotification = tslib_1.__importStar(UiNotification);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
+ UiNotification = (0, tslib_1.__importStar)(UiNotification);
class AcpUiDevtoolsProjectQuickSetup {
/**
* Initializes the project quick setup handler.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.init = void 0;
- Ajax = tslib_1.__importStar(Ajax);
- Language = tslib_1.__importStar(Language);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
- UiNotification = tslib_1.__importStar(UiNotification);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Language = (0, tslib_1.__importStar)(Language);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
+ UiNotification = (0, tslib_1.__importStar)(UiNotification);
class AcpUiDevtoolsProjectSync {
constructor(projectId) {
this.buttons = new Map();
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.runAllWorkers = exports.register = void 0;
- Worker_1 = tslib_1.__importDefault(Worker_1);
- Language = tslib_1.__importStar(Language);
+ Worker_1 = (0, tslib_1.__importDefault)(Worker_1);
+ Language = (0, tslib_1.__importStar)(Language);
const workers = new Map();
function register(button) {
if (!button.dataset.className) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.init = void 0;
- Util_1 = tslib_1.__importDefault(Util_1);
- Language = tslib_1.__importStar(Language);
- UiPageSearchHandler = tslib_1.__importStar(UiPageSearchHandler);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ UiPageSearchHandler = (0, tslib_1.__importStar)(UiPageSearchHandler);
class AcpUiMenuItemHandler {
/**
* Initializes the interface logic.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.init = void 0;
- Ajax = tslib_1.__importStar(Ajax);
- Util_1 = tslib_1.__importDefault(Util_1);
- Language = tslib_1.__importStar(Language);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ Language = (0, tslib_1.__importStar)(Language);
class EmailSmtpTest {
constructor() {
let smtpCheckbox = null;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.init = void 0;
- Ajax = tslib_1.__importStar(Ajax);
- Language = tslib_1.__importStar(Language);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Language = (0, tslib_1.__importStar)(Language);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
class RewriteGenerator {
/**
* Initializes the generator for rewrite rules
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.init = void 0;
- Request_1 = tslib_1.__importDefault(Request_1);
- Language = tslib_1.__importStar(Language);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
- Util_1 = tslib_1.__importDefault(Util_1);
+ Request_1 = (0, tslib_1.__importDefault)(Request_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
class RewriteTest {
/**
* Initializes the rewrite test, but aborts early if URL rewriting was
*/
define(["require", "exports", "tslib", "../../../Ajax", "../../../Core", "../../../Language", "../../../Ui/Dialog", "../../../Dom/Util"], function (require, exports, tslib_1, Ajax, Core, Language, Dialog_1, Util_1) {
"use strict";
- Ajax = tslib_1.__importStar(Ajax);
- Core = tslib_1.__importStar(Core);
- Language = tslib_1.__importStar(Language);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
- Util_1 = tslib_1.__importDefault(Util_1);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Core = (0, tslib_1.__importStar)(Core);
+ Language = (0, tslib_1.__importStar)(Language);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
class AcpUiPackagePrepareInstallation {
constructor() {
this.identifier = "";
*/
define(["require", "exports", "tslib", "./PrepareInstallation", "../../../Ajax", "../../../Core"], function (require, exports, tslib_1, PrepareInstallation_1, Ajax, Core) {
"use strict";
- PrepareInstallation_1 = tslib_1.__importDefault(PrepareInstallation_1);
- Ajax = tslib_1.__importStar(Ajax);
- Core = tslib_1.__importStar(Core);
+ PrepareInstallation_1 = (0, tslib_1.__importDefault)(PrepareInstallation_1);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Core = (0, tslib_1.__importStar)(Core);
class AcpUiPackageSearch {
constructor() {
this.isBusy = false;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.openDialog = exports.init = void 0;
- Language = tslib_1.__importStar(Language);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
class AcpUiPageAdd {
constructor(link, isI18n) {
this.link = link;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.init = void 0;
- Ajax = tslib_1.__importStar(Ajax);
- Listener_1 = tslib_1.__importDefault(Listener_1);
- Language = tslib_1.__importStar(Language);
- UiConfirmation = tslib_1.__importStar(UiConfirmation);
- UiNotification = tslib_1.__importStar(UiNotification);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ UiConfirmation = (0, tslib_1.__importStar)(UiConfirmation);
+ UiNotification = (0, tslib_1.__importStar)(UiNotification);
class AcpUiPageBoxOrder {
/**
* Initializes the sorting capabilities.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.init = void 0;
- Language = tslib_1.__importStar(Language);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
class AcpUiPageCopy {
constructor() {
document.querySelectorAll(".jsButtonCopyPage").forEach((button) => {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.init = void 0;
- perfect_scrollbar_1 = tslib_1.__importDefault(perfect_scrollbar_1);
- EventHandler = tslib_1.__importStar(EventHandler);
- UiScreen = tslib_1.__importStar(UiScreen);
+ perfect_scrollbar_1 = (0, tslib_1.__importDefault)(perfect_scrollbar_1);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ UiScreen = (0, tslib_1.__importStar)(UiScreen);
const _acpPageMenu = document.getElementById("acpPageMenu");
const _acpPageSubMenu = document.getElementById("acpPageSubMenu");
let _activeMenuItem = "";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.showVisualEditor = exports.hideVisualEditor = exports.setup = void 0;
- Ajax = tslib_1.__importStar(Ajax);
- Core = tslib_1.__importStar(Core);
- Util_1 = tslib_1.__importDefault(Util_1);
- EventHandler = tslib_1.__importStar(EventHandler);
- UiScreen = tslib_1.__importStar(UiScreen);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Core = (0, tslib_1.__importStar)(Core);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ UiScreen = (0, tslib_1.__importStar)(UiScreen);
const _stylePreviewRegions = new Map();
let _stylePreviewRegionMarker;
const _stylePreviewWindow = document.getElementById("spWindow");
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.init = void 0;
- Ajax = tslib_1.__importStar(Ajax);
- Language = tslib_1.__importStar(Language);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
- UiNotification = tslib_1.__importStar(UiNotification);
- Util_1 = tslib_1.__importDefault(Util_1);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Language = (0, tslib_1.__importStar)(Language);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
+ UiNotification = (0, tslib_1.__importStar)(UiNotification);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
class AcpUiTemplateGroupCopy {
constructor(templateGroupId) {
this.folderName = undefined;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.init = void 0;
- Language = tslib_1.__importStar(Language);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
- UiStyleFontAwesome = tslib_1.__importStar(UiStyleFontAwesome);
+ Language = (0, tslib_1.__importStar)(Language);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
+ UiStyleFontAwesome = (0, tslib_1.__importStar)(UiStyleFontAwesome);
/**
* @exports WoltLabSuite/Core/Acp/Ui/Trophy/Badge
*/
*/
define(["require", "exports", "tslib", "../../../Core", "../../../Dom/Util", "../../../Language", "../../../Ui/Notification", "../../../Upload"], function (require, exports, tslib_1, Core, Util_1, Language, UiNotification, Upload_1) {
"use strict";
- Core = tslib_1.__importStar(Core);
- Util_1 = tslib_1.__importDefault(Util_1);
- Language = tslib_1.__importStar(Language);
- UiNotification = tslib_1.__importStar(UiNotification);
- Upload_1 = tslib_1.__importDefault(Upload_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ UiNotification = (0, tslib_1.__importStar)(UiNotification);
+ Upload_1 = (0, tslib_1.__importDefault)(Upload_1);
class TrophyUpload extends Upload_1.default {
constructor(trophyId, tmpHash, options) {
super("uploadIconFileButton", "uploadIconFileContent", Core.extend({
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AcpUserContentRemoveClipboard = void 0;
- Worker_1 = tslib_1.__importDefault(Worker_1);
- Ajax = tslib_1.__importStar(Ajax);
- Language = tslib_1.__importStar(Language);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
- EventHandler = tslib_1.__importStar(EventHandler);
+ Worker_1 = (0, tslib_1.__importDefault)(Worker_1);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Language = (0, tslib_1.__importStar)(Language);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
class AcpUserContentRemoveClipboard {
/**
* Initializes the content remove handler.
*/
define(["require", "exports", "tslib", "../../../Worker", "../../../../../Ajax", "../../../../../Language", "../../../../../Ui/Dialog"], function (require, exports, tslib_1, Worker_1, Ajax, Language, Dialog_1) {
"use strict";
- Worker_1 = tslib_1.__importDefault(Worker_1);
- Ajax = tslib_1.__importStar(Ajax);
- Language = tslib_1.__importStar(Language);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
+ Worker_1 = (0, tslib_1.__importDefault)(Worker_1);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Language = (0, tslib_1.__importStar)(Language);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
class AcpUserContentRemoveHandler {
/**
* Initializes the content remove handler.
*/
define(["require", "exports", "tslib", "./Content/Remove/Handler", "../../../Ajax", "../../../Core", "../../../Event/Handler", "../../../Language", "../../../Ui/Notification", "../../../Ui/Dropdown/Simple", "../../../Dom/Util"], function (require, exports, tslib_1, Handler_1, Ajax, Core, EventHandler, Language, UiNotification, Simple_1, Util_1) {
"use strict";
- Handler_1 = tslib_1.__importDefault(Handler_1);
- Ajax = tslib_1.__importStar(Ajax);
- Core = tslib_1.__importStar(Core);
- EventHandler = tslib_1.__importStar(EventHandler);
- Language = tslib_1.__importStar(Language);
- UiNotification = tslib_1.__importStar(UiNotification);
- Simple_1 = tslib_1.__importDefault(Simple_1);
- Util_1 = tslib_1.__importDefault(Util_1);
+ Handler_1 = (0, tslib_1.__importDefault)(Handler_1);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Core = (0, tslib_1.__importStar)(Core);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ Language = (0, tslib_1.__importStar)(Language);
+ UiNotification = (0, tslib_1.__importStar)(UiNotification);
+ Simple_1 = (0, tslib_1.__importDefault)(Simple_1);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
class AcpUiUserEditor {
/**
* Initializes the edit dropdown for each user.
*/
define(["require", "exports", "tslib", "../../Ajax", "../../Core", "../../Language", "../../Ui/Dialog"], function (require, exports, tslib_1, Ajax, Core, Language, Dialog_1) {
"use strict";
- Ajax = tslib_1.__importStar(Ajax);
- Core = tslib_1.__importStar(Core);
- Language = tslib_1.__importStar(Language);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Core = (0, tslib_1.__importStar)(Core);
+ Language = (0, tslib_1.__importStar)(Language);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
class AcpUiWorker {
/**
* Creates a new worker instance.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getRequestObject = exports.apiOnce = exports.api = void 0;
- Request_1 = tslib_1.__importDefault(Request_1);
+ Request_1 = (0, tslib_1.__importDefault)(Request_1);
const _cache = new WeakMap();
/**
* Shorthand function to perform a request against the WCF-API with overrides
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.send = void 0;
- Core = tslib_1.__importStar(Core);
+ Core = (0, tslib_1.__importStar)(Core);
/**
* Dispatch a JSONP request, the `url` must not contain a callback parameter.
*/
*/
define(["require", "exports", "tslib", "./Status", "../Core", "../Dom/Change/Listener", "../Dom/Util", "../Language"], function (require, exports, tslib_1, AjaxStatus, Core, Listener_1, Util_1, Language) {
"use strict";
- AjaxStatus = tslib_1.__importStar(AjaxStatus);
- Core = tslib_1.__importStar(Core);
- Listener_1 = tslib_1.__importDefault(Listener_1);
- Util_1 = tslib_1.__importDefault(Util_1);
- Language = tslib_1.__importStar(Language);
+ AjaxStatus = (0, tslib_1.__importStar)(AjaxStatus);
+ Core = (0, tslib_1.__importStar)(Core);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ Language = (0, tslib_1.__importStar)(Language);
let _didInit = false;
let _ignoreAllErrors = false;
/**
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.hide = exports.show = void 0;
- Language = tslib_1.__importStar(Language);
+ Language = (0, tslib_1.__importStar)(Language);
class AjaxStatus {
constructor() {
this._activeRequests = 0;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.invoke = exports.setUrl = void 0;
- Ajax = tslib_1.__importStar(Ajax);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
class BackgroundQueue {
constructor(url) {
this._invocations = 0;
*/
define(["require", "exports", "tslib", "../Language", "../Clipboard", "../Ui/Notification", "../Prism", "../Prism/Helper", "../prism-meta"], function (require, exports, tslib_1, Language, Clipboard, UiNotification, Prism_1, PrismHelper, prism_meta_1) {
"use strict";
- Language = tslib_1.__importStar(Language);
- Clipboard = tslib_1.__importStar(Clipboard);
- UiNotification = tslib_1.__importStar(UiNotification);
- Prism_1 = tslib_1.__importDefault(Prism_1);
- PrismHelper = tslib_1.__importStar(PrismHelper);
- prism_meta_1 = tslib_1.__importDefault(prism_meta_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ Clipboard = (0, tslib_1.__importStar)(Clipboard);
+ UiNotification = (0, tslib_1.__importStar)(UiNotification);
+ Prism_1 = (0, tslib_1.__importDefault)(Prism_1);
+ PrismHelper = (0, tslib_1.__importStar)(PrismHelper);
+ prism_meta_1 = (0, tslib_1.__importDefault)(prism_meta_1);
async function waitForIdle() {
return new Promise((resolve, _reject) => {
if (window.requestIdleCallback) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.observe = void 0;
- Core = tslib_1.__importStar(Core);
- Language = tslib_1.__importStar(Language);
- Util_1 = tslib_1.__importDefault(Util_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ Language = (0, tslib_1.__importStar)(Language);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
function onClick(event, content, toggleButton) {
event.preventDefault();
toggleButton.classList.toggle("active");
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.setup = void 0;
- Core = tslib_1.__importStar(Core);
- Picker_1 = tslib_1.__importDefault(Picker_1);
- DateTimeRelative = tslib_1.__importStar(DateTimeRelative);
- Devtools_1 = tslib_1.__importDefault(Devtools_1);
- Listener_1 = tslib_1.__importDefault(Listener_1);
- Environment = tslib_1.__importStar(Environment);
- EventHandler = tslib_1.__importStar(EventHandler);
- Language = tslib_1.__importStar(Language);
- StringUtil = tslib_1.__importStar(StringUtil);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
- Simple_1 = tslib_1.__importDefault(Simple_1);
- UiMobile = tslib_1.__importStar(UiMobile);
- UiPageAction = tslib_1.__importStar(UiPageAction);
- UiTabMenu = tslib_1.__importStar(UiTabMenu);
- UiTooltip = tslib_1.__importStar(UiTooltip);
- UiPageJumpTo = tslib_1.__importStar(UiPageJumpTo);
- UiPassword = tslib_1.__importStar(UiPassword);
- UiEmpty = tslib_1.__importStar(UiEmpty);
- UiObjectAction = tslib_1.__importStar(UiObjectAction);
- UiObjectActionDelete = tslib_1.__importStar(UiObjectActionDelete);
- UiObjectActionToggle = tslib_1.__importStar(UiObjectActionToggle);
+ Core = (0, tslib_1.__importStar)(Core);
+ Picker_1 = (0, tslib_1.__importDefault)(Picker_1);
+ DateTimeRelative = (0, tslib_1.__importStar)(DateTimeRelative);
+ Devtools_1 = (0, tslib_1.__importDefault)(Devtools_1);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ Environment = (0, tslib_1.__importStar)(Environment);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ Language = (0, tslib_1.__importStar)(Language);
+ StringUtil = (0, tslib_1.__importStar)(StringUtil);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
+ Simple_1 = (0, tslib_1.__importDefault)(Simple_1);
+ UiMobile = (0, tslib_1.__importStar)(UiMobile);
+ UiPageAction = (0, tslib_1.__importStar)(UiPageAction);
+ UiTabMenu = (0, tslib_1.__importStar)(UiTabMenu);
+ UiTooltip = (0, tslib_1.__importStar)(UiTooltip);
+ UiPageJumpTo = (0, tslib_1.__importStar)(UiPageJumpTo);
+ UiPassword = (0, tslib_1.__importStar)(UiPassword);
+ UiEmpty = (0, tslib_1.__importStar)(UiEmpty);
+ UiObjectAction = (0, tslib_1.__importStar)(UiObjectAction);
+ UiObjectActionDelete = (0, tslib_1.__importStar)(UiObjectActionDelete);
+ UiObjectActionToggle = (0, tslib_1.__importStar)(UiObjectActionToggle);
// non strict equals by intent
if (window.WCF == null) {
window.WCF = {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.setup = void 0;
- BackgroundQueue = tslib_1.__importStar(BackgroundQueue);
- Bootstrap = tslib_1.__importStar(Bootstrap);
- ControllerStyleChanger = tslib_1.__importStar(ControllerStyleChanger);
- ControllerPopover = tslib_1.__importStar(ControllerPopover);
- UiUserIgnore = tslib_1.__importStar(UiUserIgnore);
- UiPageHeaderMenu = tslib_1.__importStar(UiPageHeaderMenu);
- UiMessageUserConsent = tslib_1.__importStar(UiMessageUserConsent);
- Ajax = tslib_1.__importStar(Ajax);
- UiMessageShareDialog = tslib_1.__importStar(UiMessageShareDialog);
- UiMessageShareProviders = tslib_1.__importStar(UiMessageShareProviders);
- UiFeedDialog = tslib_1.__importStar(UiFeedDialog);
- User_1 = tslib_1.__importDefault(User_1);
+ BackgroundQueue = (0, tslib_1.__importStar)(BackgroundQueue);
+ Bootstrap = (0, tslib_1.__importStar)(Bootstrap);
+ ControllerStyleChanger = (0, tslib_1.__importStar)(ControllerStyleChanger);
+ ControllerPopover = (0, tslib_1.__importStar)(ControllerPopover);
+ UiUserIgnore = (0, tslib_1.__importStar)(UiUserIgnore);
+ UiPageHeaderMenu = (0, tslib_1.__importStar)(UiPageHeaderMenu);
+ UiMessageUserConsent = (0, tslib_1.__importStar)(UiMessageUserConsent);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ UiMessageShareDialog = (0, tslib_1.__importStar)(UiMessageShareDialog);
+ UiMessageShareProviders = (0, tslib_1.__importStar)(UiMessageShareProviders);
+ UiFeedDialog = (0, tslib_1.__importStar)(UiFeedDialog);
+ User_1 = (0, tslib_1.__importDefault)(User_1);
/**
* Initializes user profile popover.
*/
*/
define(["require", "exports", "tslib", "./Core"], function (require, exports, tslib_1, Core) {
"use strict";
- Core = tslib_1.__importStar(Core);
+ Core = (0, tslib_1.__importStar)(Core);
class CallbackList {
constructor() {
this._callbacks = new Map();
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.unmark = exports.showEditor = exports.hideEditor = exports.reload = exports.setup = void 0;
- Ajax = tslib_1.__importStar(Ajax);
- Core = tslib_1.__importStar(Core);
- Listener_1 = tslib_1.__importDefault(Listener_1);
- Util_1 = tslib_1.__importDefault(Util_1);
- EventHandler = tslib_1.__importStar(EventHandler);
- Language = tslib_1.__importStar(Language);
- UiConfirmation = tslib_1.__importStar(UiConfirmation);
- Simple_1 = tslib_1.__importDefault(Simple_1);
- UiPageAction = tslib_1.__importStar(UiPageAction);
- UiScreen = tslib_1.__importStar(UiScreen);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Core = (0, tslib_1.__importStar)(Core);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ Language = (0, tslib_1.__importStar)(Language);
+ UiConfirmation = (0, tslib_1.__importStar)(UiConfirmation);
+ Simple_1 = (0, tslib_1.__importDefault)(Simple_1);
+ UiPageAction = (0, tslib_1.__importStar)(UiPageAction);
+ UiScreen = (0, tslib_1.__importStar)(UiScreen);
const _specialCheckboxSelector = '.messageCheckboxLabel > input[type="checkbox"], .message .messageClipboardCheckbox > input[type="checkbox"], .messageGroupList .columnMark > label > input[type="checkbox"]';
class ControllerClipboard {
constructor() {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.register = void 0;
- Util_1 = tslib_1.__importDefault(Util_1);
- EventHandler = tslib_1.__importStar(EventHandler);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
const _pages = Array.from(document.querySelectorAll('input[name="pageIDs[]"]'));
const _dependentElements = [];
const _pageIds = new WeakMap();
*/
define(["require", "exports", "tslib", "../../../Ajax/Status", "../../../Core", "../../../Dom/Util", "../../../Language", "../../../Ui/Dialog"], function (require, exports, tslib_1, AjaxStatus, Core, Util_1, Language, Dialog_1) {
"use strict";
- AjaxStatus = tslib_1.__importStar(AjaxStatus);
- Core = tslib_1.__importStar(Core);
- Util_1 = tslib_1.__importDefault(Util_1);
- Language = tslib_1.__importStar(Language);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
+ AjaxStatus = (0, tslib_1.__importStar)(AjaxStatus);
+ Core = (0, tslib_1.__importStar)(Core);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
class ControllerMapRoutePlanner {
constructor(buttonId, destination) {
this.didInitDialog = false;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.init = void 0;
- Upload_1 = tslib_1.__importDefault(Upload_1);
- MediaClipboard = tslib_1.__importStar(MediaClipboard);
- EventHandler = tslib_1.__importStar(EventHandler);
- Editor_1 = tslib_1.__importDefault(Editor_1);
- DomChangeListener = tslib_1.__importStar(DomChangeListener);
+ Upload_1 = (0, tslib_1.__importDefault)(Upload_1);
+ MediaClipboard = (0, tslib_1.__importStar)(MediaClipboard);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ Editor_1 = (0, tslib_1.__importDefault)(Editor_1);
+ DomChangeListener = (0, tslib_1.__importStar)(DomChangeListener);
const _mediaEditor = new Editor_1.default({
_editorSuccess: (media, oldCategoryId, closedEditorDialog = true) => {
if (media.categoryID != oldCategoryId || closedEditorDialog) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.setup = void 0;
- Ajax = tslib_1.__importStar(Ajax);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
/**
* Initializes dismiss buttons.
*/
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ajaxApi = exports.setContent = exports.init = void 0;
- Ajax = tslib_1.__importStar(Ajax);
- Listener_1 = tslib_1.__importDefault(Listener_1);
- Util_1 = tslib_1.__importDefault(Util_1);
- Environment = tslib_1.__importStar(Environment);
- UiAlignment = tslib_1.__importStar(UiAlignment);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ Environment = (0, tslib_1.__importStar)(Environment);
+ UiAlignment = (0, tslib_1.__importStar)(UiAlignment);
class ControllerPopover {
/**
* Builds popover DOM elements and binds event listeners.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.showDialog = exports.setup = void 0;
- Ajax = tslib_1.__importStar(Ajax);
- Language = tslib_1.__importStar(Language);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Language = (0, tslib_1.__importStar)(Language);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
class ControllerStyleChanger {
/**
* Adds the style changer to the bottom navigation.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.init = void 0;
- Language = tslib_1.__importStar(Language);
- UiDropdownReusable = tslib_1.__importStar(UiDropdownReusable);
+ Language = (0, tslib_1.__importStar)(Language);
+ UiDropdownReusable = (0, tslib_1.__importStar)(UiDropdownReusable);
let _dropDownMenu;
let _objectId = 0;
function stateChange(event) {
*/
define(["require", "exports", "tslib", "../Core", "./Util", "../Dom/Change/Listener", "../Event/Handler", "../Language", "../Ui/Alignment", "../Ui/CloseOverlay", "../Dom/Util"], function (require, exports, tslib_1, Core, DateUtil, Listener_1, EventHandler, Language, UiAlignment, CloseOverlay_1, Util_1) {
"use strict";
- Core = tslib_1.__importStar(Core);
- DateUtil = tslib_1.__importStar(DateUtil);
- Listener_1 = tslib_1.__importDefault(Listener_1);
- EventHandler = tslib_1.__importStar(EventHandler);
- Language = tslib_1.__importStar(Language);
- UiAlignment = tslib_1.__importStar(UiAlignment);
- CloseOverlay_1 = tslib_1.__importDefault(CloseOverlay_1);
- Util_1 = tslib_1.__importDefault(Util_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ DateUtil = (0, tslib_1.__importStar)(DateUtil);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ Language = (0, tslib_1.__importStar)(Language);
+ UiAlignment = (0, tslib_1.__importStar)(UiAlignment);
+ CloseOverlay_1 = (0, tslib_1.__importDefault)(CloseOverlay_1);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
let _didInit = false;
let _firstDayOfWeek = 0;
let _wasInsidePicker = false;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.setup = void 0;
- Core = tslib_1.__importStar(Core);
- DateUtil = tslib_1.__importStar(DateUtil);
- Listener_1 = tslib_1.__importDefault(Listener_1);
- Language = tslib_1.__importStar(Language);
- Repeating_1 = tslib_1.__importDefault(Repeating_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ DateUtil = (0, tslib_1.__importStar)(DateUtil);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ Repeating_1 = (0, tslib_1.__importDefault)(Repeating_1);
let _isActive = true;
let _isPending = false;
let _offset;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getTimezoneDate = exports.getTimeElement = exports.gmdate = exports.format = exports.formatDateTime = exports.formatTime = exports.formatDate = void 0;
- Language = tslib_1.__importStar(Language);
+ Language = (0, tslib_1.__importStar)(Language);
/**
* Returns the formatted date.
*/
*/
define(["require", "exports", "tslib", "./Core"], function (require, exports, tslib_1, Core) {
"use strict";
- Core = tslib_1.__importStar(Core);
+ Core = (0, tslib_1.__importStar)(Core);
/** @deprecated 5.4 Use a `Map` instead. */
class Dictionary {
constructor() {
*/
define(["require", "exports", "tslib", "../../CallbackList"], function (require, exports, tslib_1, CallbackList_1) {
"use strict";
- CallbackList_1 = tslib_1.__importDefault(CallbackList_1);
+ CallbackList_1 = (0, tslib_1.__importDefault)(CallbackList_1);
const _callbackList = new CallbackList_1.default();
let _hot = false;
const DomChangeListener = {
*/
define(["require", "exports", "tslib", "../StringUtil"], function (require, exports, tslib_1, StringUtil) {
"use strict";
- StringUtil = tslib_1.__importStar(StringUtil);
+ StringUtil = (0, tslib_1.__importStar)(StringUtil);
function _isBoundaryNode(element, ancestor, position) {
if (!ancestor.contains(element)) {
throw new Error("Ancestor element does not contain target element.");
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.removeAllBySuffix = exports.removeAll = exports.remove = exports.fire = exports.add = void 0;
- Core = tslib_1.__importStar(Core);
- Devtools_1 = tslib_1.__importDefault(Devtools_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ Devtools_1 = (0, tslib_1.__importDefault)(Devtools_1);
const _listeners = new Map();
/**
* Registers an event listener.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.blobToFile = exports.getExtensionByMimeType = exports.getIconNameByFilename = exports.formatFilesize = void 0;
- StringUtil = tslib_1.__importStar(StringUtil);
+ StringUtil = (0, tslib_1.__importStar)(StringUtil);
const _fileExtensionIconMapping = new Map(Object.entries({
// archive
zip: "archive",
*/
define(["require", "exports", "tslib", "../../../Ui/Dropdown/Simple", "../../../Event/Handler", "../../../Core"], function (require, exports, tslib_1, Simple_1, EventHandler, Core) {
"use strict";
- Simple_1 = tslib_1.__importDefault(Simple_1);
- EventHandler = tslib_1.__importStar(EventHandler);
- Core = tslib_1.__importStar(Core);
+ Simple_1 = (0, tslib_1.__importDefault)(Simple_1);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ Core = (0, tslib_1.__importStar)(Core);
class SuffixFormField {
constructor(formId, suffixFieldId) {
this._formId = formId;
*/
define(["require", "exports", "tslib", "../../Core", "../../Ui/Dialog", "../../Ajax", "./Manager"], function (require, exports, tslib_1, Core, Dialog_1, Ajax, FormBuilderManager) {
"use strict";
- Core = tslib_1.__importStar(Core);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
- Ajax = tslib_1.__importStar(Ajax);
- FormBuilderManager = tslib_1.__importStar(FormBuilderManager);
+ Core = (0, tslib_1.__importStar)(Core);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ FormBuilderManager = (0, tslib_1.__importStar)(FormBuilderManager);
function isDialogResponse(val) {
return val.dialog !== undefined && val.formId !== undefined;
}
*/
define(["require", "exports", "tslib", "./Field", "../../../Core"], function (require, exports, tslib_1, Field_1, Core) {
"use strict";
- Field_1 = tslib_1.__importDefault(Field_1);
- Core = tslib_1.__importStar(Core);
+ Field_1 = (0, tslib_1.__importDefault)(Field_1);
+ Core = (0, tslib_1.__importStar)(Core);
class Acl extends Field_1.default {
_getData() {
return {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Button = void 0;
- Field_1 = tslib_1.__importDefault(Field_1);
+ Field_1 = (0, tslib_1.__importDefault)(Field_1);
class Button extends Field_1.default {
_getData() {
const data = {};
*/
define(["require", "exports", "tslib", "./Field", "../../../Controller/Captcha", "../../../Core"], function (require, exports, tslib_1, Field_1, Captcha_1, Core) {
"use strict";
- Field_1 = tslib_1.__importDefault(Field_1);
- Captcha_1 = tslib_1.__importDefault(Captcha_1);
- Core = tslib_1.__importStar(Core);
+ Field_1 = (0, tslib_1.__importDefault)(Field_1);
+ Captcha_1 = (0, tslib_1.__importDefault)(Captcha_1);
+ Core = (0, tslib_1.__importStar)(Core);
class Captcha extends Field_1.default {
_getData() {
if (Captcha_1.default.has(this._fieldId)) {
*/
define(["require", "exports", "tslib", "./Field", "../../../Core"], function (require, exports, tslib_1, Field_1, Core) {
"use strict";
- Field_1 = tslib_1.__importDefault(Field_1);
- Core = tslib_1.__importStar(Core);
+ Field_1 = (0, tslib_1.__importDefault)(Field_1);
+ Core = (0, tslib_1.__importStar)(Core);
class Checkboxes extends Field_1.default {
_getData() {
const values = this._fields
*/
define(["require", "exports", "tslib", "./Field", "../../../Core"], function (require, exports, tslib_1, Field_1, Core) {
"use strict";
- Field_1 = tslib_1.__importDefault(Field_1);
- Core = tslib_1.__importStar(Core);
+ Field_1 = (0, tslib_1.__importDefault)(Field_1);
+ Core = (0, tslib_1.__importStar)(Core);
class Checked extends Field_1.default {
_getData() {
return {
*/
define(["require", "exports", "tslib", "../../../../Core", "../../../../Dom/Util", "../../../../Language", "../../../../Ui/Dropdown/Simple"], function (require, exports, tslib_1, Core, DomUtil, Language, Simple_1) {
"use strict";
- Core = tslib_1.__importStar(Core);
- DomUtil = tslib_1.__importStar(DomUtil);
- Language = tslib_1.__importStar(Language);
- Simple_1 = tslib_1.__importDefault(Simple_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ DomUtil = (0, tslib_1.__importStar)(DomUtil);
+ Language = (0, tslib_1.__importStar)(Language);
+ Simple_1 = (0, tslib_1.__importDefault)(Simple_1);
class Label {
constructor(fieldId, labelId, options) {
this._formFieldContainer = document.getElementById(fieldId + "Container");
*/
define(["require", "exports", "tslib", "../../../../Core", "../../../../Environment"], function (require, exports, tslib_1, Core, Environment) {
"use strict";
- Core = tslib_1.__importStar(Core);
- Environment = tslib_1.__importStar(Environment);
+ Core = (0, tslib_1.__importStar)(Core);
+ Environment = (0, tslib_1.__importStar)(Environment);
class Rating {
constructor(fieldId, value, activeCssClasses, defaultCssClasses) {
this._field = document.getElementById(fieldId + "Container");
define(["require", "exports", "tslib", "./Field", "../../../Date/Picker", "../../../Core"], function (require, exports, tslib_1, Field_1, Picker_1, Core) {
"use strict";
- Field_1 = tslib_1.__importDefault(Field_1);
- Picker_1 = tslib_1.__importDefault(Picker_1);
- Core = tslib_1.__importStar(Core);
+ Field_1 = (0, tslib_1.__importDefault)(Field_1);
+ Picker_1 = (0, tslib_1.__importDefault)(Picker_1);
+ Core = (0, tslib_1.__importStar)(Core);
class Date extends Field_1.default {
_getData() {
return {
*/
define(["require", "exports", "tslib", "./Manager", "../../../../Core"], function (require, exports, tslib_1, DependencyManager, Core) {
"use strict";
- DependencyManager = tslib_1.__importStar(DependencyManager);
- Core = tslib_1.__importStar(Core);
+ DependencyManager = (0, tslib_1.__importStar)(DependencyManager);
+ Core = (0, tslib_1.__importStar)(Core);
class FormBuilderFormFieldDependency {
constructor(dependentElementId, fieldId) {
this.init(dependentElementId, fieldId);
*/
define(["require", "exports", "tslib", "../Manager", "../../../../../Core"], function (require, exports, tslib_1, DependencyManager, Core) {
"use strict";
- DependencyManager = tslib_1.__importStar(DependencyManager);
- Core = tslib_1.__importStar(Core);
+ DependencyManager = (0, tslib_1.__importStar)(DependencyManager);
+ Core = (0, tslib_1.__importStar)(Core);
class Abstract {
constructor(containerId) {
this.init(containerId);
*/
define(["require", "exports", "tslib", "./Abstract", "../../../../../Core", "../Manager", "../../../../../Dom/Util"], function (require, exports, tslib_1, Abstract_1, Core, DependencyManager, Util_1) {
"use strict";
- Abstract_1 = tslib_1.__importDefault(Abstract_1);
- Core = tslib_1.__importStar(Core);
- DependencyManager = tslib_1.__importStar(DependencyManager);
- Util_1 = tslib_1.__importDefault(Util_1);
+ Abstract_1 = (0, tslib_1.__importDefault)(Abstract_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ DependencyManager = (0, tslib_1.__importStar)(DependencyManager);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
class Default extends Abstract_1.default {
checkContainer() {
if (Core.stringToBool(this._container.dataset.ignoreDependencies || "")) {
*/
define(["require", "exports", "tslib", "./Abstract", "../Manager", "../../../../../Dom/Util", "../../../../../Ui/TabMenu", "../../../../../Core"], function (require, exports, tslib_1, Abstract_1, DependencyManager, DomUtil, UiTabMenu, Core) {
"use strict";
- Abstract_1 = tslib_1.__importDefault(Abstract_1);
- DependencyManager = tslib_1.__importStar(DependencyManager);
- DomUtil = tslib_1.__importStar(DomUtil);
- UiTabMenu = tslib_1.__importStar(UiTabMenu);
- Core = tslib_1.__importStar(Core);
+ Abstract_1 = (0, tslib_1.__importDefault)(Abstract_1);
+ DependencyManager = (0, tslib_1.__importStar)(DependencyManager);
+ DomUtil = (0, tslib_1.__importStar)(DomUtil);
+ UiTabMenu = (0, tslib_1.__importStar)(UiTabMenu);
+ Core = (0, tslib_1.__importStar)(Core);
class Tab extends Abstract_1.default {
checkContainer() {
// only consider containers that have not been hidden by their own dependencies
*/
define(["require", "exports", "tslib", "./Abstract", "../Manager", "../../../../../Dom/Util", "../../../../../Ui/TabMenu", "../../../../../Core"], function (require, exports, tslib_1, Abstract_1, DependencyManager, DomUtil, UiTabMenu, Core) {
"use strict";
- Abstract_1 = tslib_1.__importDefault(Abstract_1);
- DependencyManager = tslib_1.__importStar(DependencyManager);
- DomUtil = tslib_1.__importStar(DomUtil);
- UiTabMenu = tslib_1.__importStar(UiTabMenu);
- Core = tslib_1.__importStar(Core);
+ Abstract_1 = (0, tslib_1.__importDefault)(Abstract_1);
+ DependencyManager = (0, tslib_1.__importStar)(DependencyManager);
+ DomUtil = (0, tslib_1.__importStar)(DomUtil);
+ UiTabMenu = (0, tslib_1.__importStar)(UiTabMenu);
+ Core = (0, tslib_1.__importStar)(Core);
class TabMenu extends Abstract_1.default {
checkContainer() {
// only consider containers that have not been hidden by their own dependencies
*/
define(["require", "exports", "tslib", "./Abstract", "../../../../Core"], function (require, exports, tslib_1, Abstract_1, Core) {
"use strict";
- Abstract_1 = tslib_1.__importDefault(Abstract_1);
- Core = tslib_1.__importStar(Core);
+ Abstract_1 = (0, tslib_1.__importDefault)(Abstract_1);
+ Core = (0, tslib_1.__importStar)(Core);
class Empty extends Abstract_1.default {
checkDependency() {
if (this._field !== null) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.IsNotClicked = void 0;
- Abstract_1 = tslib_1.__importDefault(Abstract_1);
- DependencyManager = tslib_1.__importStar(DependencyManager);
+ Abstract_1 = (0, tslib_1.__importDefault)(Abstract_1);
+ DependencyManager = (0, tslib_1.__importStar)(DependencyManager);
class IsNotClicked extends Abstract_1.default {
constructor(dependentElementId, fieldId) {
super(dependentElementId, fieldId);
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.unregister = exports.register = exports.isHiddenByDependencies = exports.checkDependencies = exports.checkContainers = exports.addDependency = exports.addContainerCheckCallback = void 0;
- Util_1 = tslib_1.__importDefault(Util_1);
- EventHandler = tslib_1.__importStar(EventHandler);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
const _dependencyHiddenNodes = new Set();
const _fields = new Map();
const _forms = new WeakSet();
*/
define(["require", "exports", "tslib", "./Abstract", "../../../../Core"], function (require, exports, tslib_1, Abstract_1, Core) {
"use strict";
- Abstract_1 = tslib_1.__importDefault(Abstract_1);
- Core = tslib_1.__importStar(Core);
+ Abstract_1 = (0, tslib_1.__importDefault)(Abstract_1);
+ Core = (0, tslib_1.__importStar)(Core);
class NonEmpty extends Abstract_1.default {
checkDependency() {
if (this._field !== null) {
*/
define(["require", "exports", "tslib", "./Abstract", "./Manager", "../../../../Core"], function (require, exports, tslib_1, Abstract_1, DependencyManager, Core) {
"use strict";
- Abstract_1 = tslib_1.__importDefault(Abstract_1);
- DependencyManager = tslib_1.__importStar(DependencyManager);
- Core = tslib_1.__importStar(Core);
+ Abstract_1 = (0, tslib_1.__importDefault)(Abstract_1);
+ DependencyManager = (0, tslib_1.__importStar)(DependencyManager);
+ Core = (0, tslib_1.__importStar)(Core);
class Value extends Abstract_1.default {
constructor() {
super(...arguments);
*/
define(["require", "exports", "tslib", "../../../Core"], function (require, exports, tslib_1, Core) {
"use strict";
- Core = tslib_1.__importStar(Core);
+ Core = (0, tslib_1.__importStar)(Core);
class Field {
constructor(fieldId) {
this.init(fieldId);
*/
define(["require", "exports", "tslib", "./Field", "../../../Ui/ItemList/Static", "../../../Core"], function (require, exports, tslib_1, Field_1, UiItemListStatic, Core) {
"use strict";
- Field_1 = tslib_1.__importDefault(Field_1);
- UiItemListStatic = tslib_1.__importStar(UiItemListStatic);
- Core = tslib_1.__importStar(Core);
+ Field_1 = (0, tslib_1.__importDefault)(Field_1);
+ UiItemListStatic = (0, tslib_1.__importStar)(UiItemListStatic);
+ Core = (0, tslib_1.__importStar)(Core);
class ItemList extends Field_1.default {
_getData() {
const values = [];
*/
define(["require", "exports", "tslib", "../Value", "../../../../Language/Chooser", "../../../../Core"], function (require, exports, tslib_1, Value_1, LanguageChooser, Core) {
"use strict";
- Value_1 = tslib_1.__importDefault(Value_1);
- LanguageChooser = tslib_1.__importStar(LanguageChooser);
- Core = tslib_1.__importStar(Core);
+ Value_1 = (0, tslib_1.__importDefault)(Value_1);
+ LanguageChooser = (0, tslib_1.__importStar)(LanguageChooser);
+ Core = (0, tslib_1.__importStar)(Core);
class ContentLanguage extends Value_1.default {
destroy() {
LanguageChooser.removeChooser(this._fieldId);
*/
define(["require", "exports", "tslib", "./Field", "../../../Core"], function (require, exports, tslib_1, Field_1, Core) {
"use strict";
- Field_1 = tslib_1.__importDefault(Field_1);
- Core = tslib_1.__importStar(Core);
+ Field_1 = (0, tslib_1.__importDefault)(Field_1);
+ Core = (0, tslib_1.__importStar)(Core);
class RadioButton extends Field_1.default {
_getData() {
const data = {};
define(["require", "exports", "tslib", "./Field", "../../../Core"], function (require, exports, tslib_1, Field_1, Core) {
"use strict";
- Field_1 = tslib_1.__importDefault(Field_1);
- Core = tslib_1.__importStar(Core);
+ Field_1 = (0, tslib_1.__importDefault)(Field_1);
+ Core = (0, tslib_1.__importStar)(Core);
class SimpleAcl extends Field_1.default {
_getData() {
const groupIds = Array.from(document.querySelectorAll('input[name="' + this._fieldId + '[group][]"]')).map((input) => input.value);
*/
define(["require", "exports", "tslib", "./Field", "../../../Ui/ItemList", "../../../Core"], function (require, exports, tslib_1, Field_1, UiItemList, Core) {
"use strict";
- Field_1 = tslib_1.__importDefault(Field_1);
- UiItemList = tslib_1.__importStar(UiItemList);
- Core = tslib_1.__importStar(Core);
+ Field_1 = (0, tslib_1.__importDefault)(Field_1);
+ UiItemList = (0, tslib_1.__importStar)(UiItemList);
+ Core = (0, tslib_1.__importStar)(Core);
class Tag extends Field_1.default {
_getData() {
const values = UiItemList.getValues(this._fieldId).map((item) => item.value);
*/
define(["require", "exports", "tslib", "./Field", "../../../Core", "../../../Ui/ItemList"], function (require, exports, tslib_1, Field_1, Core, UiItemList) {
"use strict";
- Field_1 = tslib_1.__importDefault(Field_1);
- Core = tslib_1.__importStar(Core);
- UiItemList = tslib_1.__importStar(UiItemList);
+ Field_1 = (0, tslib_1.__importDefault)(Field_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ UiItemList = (0, tslib_1.__importStar)(UiItemList);
class User extends Field_1.default {
_getData() {
const usernames = UiItemList.getValues(this._fieldId).map((item) => item.value);
*/
define(["require", "exports", "tslib", "./Field", "../../../Core"], function (require, exports, tslib_1, Field_1, Core) {
"use strict";
- Field_1 = tslib_1.__importDefault(Field_1);
- Core = tslib_1.__importStar(Core);
+ Field_1 = (0, tslib_1.__importDefault)(Field_1);
+ Core = (0, tslib_1.__importStar)(Core);
class Value extends Field_1.default {
_getData() {
return {
*/
define(["require", "exports", "tslib", "./Field", "../../../Language/Input", "../../../Core"], function (require, exports, tslib_1, Field_1, LanguageInput, Core) {
"use strict";
- Field_1 = tslib_1.__importDefault(Field_1);
- LanguageInput = tslib_1.__importStar(LanguageInput);
- Core = tslib_1.__importStar(Core);
+ Field_1 = (0, tslib_1.__importDefault)(Field_1);
+ LanguageInput = (0, tslib_1.__importStar)(LanguageInput);
+ Core = (0, tslib_1.__importStar)(Core);
class ValueI18n extends Field_1.default {
_getData() {
const data = {};
*/
define(["require", "exports", "tslib", "../Value", "../../../../Core"], function (require, exports, tslib_1, Value_1, Core) {
"use strict";
- Value_1 = tslib_1.__importDefault(Value_1);
- Core = tslib_1.__importStar(Core);
+ Value_1 = (0, tslib_1.__importDefault)(Value_1);
+ Core = (0, tslib_1.__importStar)(Core);
class Attachment extends Value_1.default {
constructor(fieldId) {
super(fieldId + "_tmpHash");
*/
define(["require", "exports", "tslib", "../Field", "../../../../Core"], function (require, exports, tslib_1, Field_1, Core) {
"use strict";
- Field_1 = tslib_1.__importDefault(Field_1);
- Core = tslib_1.__importStar(Core);
+ Field_1 = (0, tslib_1.__importDefault)(Field_1);
+ Core = (0, tslib_1.__importStar)(Core);
class Poll extends Field_1.default {
_getData() {
return this._pollEditor.getData();
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.unregisterForm = exports.registerForm = exports.registerField = exports.hasForm = exports.hasField = exports.getForm = exports.getField = exports.getData = void 0;
- Core = tslib_1.__importStar(Core);
- EventHandler = tslib_1.__importStar(EventHandler);
- Field_1 = tslib_1.__importDefault(Field_1);
- DependencyManager = tslib_1.__importStar(DependencyManager);
+ Core = (0, tslib_1.__importStar)(Core);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ Field_1 = (0, tslib_1.__importDefault)(Field_1);
+ DependencyManager = (0, tslib_1.__importStar)(DependencyManager);
const _fields = new Map();
const _forms = new Map();
/**
*/
define(["require", "exports", "tslib", "../StringUtil"], function (require, exports, tslib_1, StringUtil) {
"use strict";
- StringUtil = tslib_1.__importStar(StringUtil);
+ StringUtil = (0, tslib_1.__importStar)(StringUtil);
const Languages = {
// Afrikaans
af(n) {
*/
define(["require", "exports", "tslib", "../Core", "../FileUtil", "./ExifUtil", "pica"], function (require, exports, tslib_1, Core, FileUtil, ExifUtil, pica_1) {
"use strict";
- Core = tslib_1.__importStar(Core);
- FileUtil = tslib_1.__importStar(FileUtil);
- ExifUtil = tslib_1.__importStar(ExifUtil);
- pica_1 = tslib_1.__importDefault(pica_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ FileUtil = (0, tslib_1.__importStar)(FileUtil);
+ ExifUtil = (0, tslib_1.__importStar)(ExifUtil);
+ pica_1 = (0, tslib_1.__importDefault)(pica_1);
const pica = new pica_1.default({ features: ["js", "wasm", "ww"] });
const DEFAULT_WIDTH = 800;
const DEFAULT_HEIGHT = 600;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.add = exports.addObject = exports.get = void 0;
- Template_1 = tslib_1.__importDefault(Template_1);
+ Template_1 = (0, tslib_1.__importDefault)(Template_1);
Object.defineProperty(exports, "get", { enumerable: true, get: function () { return Store_2.get; } });
/**
* Adds all the language items in the given object to the store.
*/
function add(key, value) {
if (typeof value === "string") {
- Store_1.add(key, compile(value));
+ (0, Store_1.add)(key, compile(value));
}
else {
// Historically a few items that are added to the language store do not represent actual phrases, but
//
// Despite this method technically only taking `string`s as the `value` we need to correctly handle
// them which we do by simply storing a function that returns the value as-is.
- Store_1.add(key, function () {
+ (0, Store_1.add)(key, function () {
return value;
});
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.setLanguageId = exports.removeChooser = exports.getLanguageId = exports.getChooser = exports.init = void 0;
- Core = tslib_1.__importStar(Core);
- Language = tslib_1.__importStar(Language);
- Util_1 = tslib_1.__importDefault(Util_1);
- Simple_1 = tslib_1.__importDefault(Simple_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ Language = (0, tslib_1.__importStar)(Language);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ Simple_1 = (0, tslib_1.__importDefault)(Simple_1);
const _choosers = new Map();
const _forms = new WeakMap();
/**
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.validate = exports.isEnabled = exports.enable = exports.disable = exports.setValues = exports.getValues = exports.unregister = exports.registerCallback = exports.init = void 0;
- Util_1 = tslib_1.__importDefault(Util_1);
- Language = tslib_1.__importStar(Language);
- Simple_1 = tslib_1.__importDefault(Simple_1);
- StringUtil = tslib_1.__importStar(StringUtil);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ Simple_1 = (0, tslib_1.__importDefault)(Simple_1);
+ StringUtil = (0, tslib_1.__importStar)(StringUtil);
const _elements = new Map();
const _forms = new WeakMap();
const _values = new Map();
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.init = void 0;
- LanguageInput = tslib_1.__importStar(LanguageInput);
+ LanguageInput = (0, tslib_1.__importStar)(LanguageInput);
/**
* Refreshes the editor content on language switch.
*/
*/
define(["require", "exports", "tslib", "./Core"], function (require, exports, tslib_1, Core) {
"use strict";
- Core = tslib_1.__importStar(Core);
+ Core = (0, tslib_1.__importStar)(Core);
/** @deprecated 5.4 Use a `Set` instead. */
class List {
constructor() {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.setMediaManager = exports.init = void 0;
- Clipboard = tslib_1.__importStar(Clipboard);
- UiNotification = tslib_1.__importStar(UiNotification);
- UiDialog = tslib_1.__importStar(UiDialog);
- EventHandler = tslib_1.__importStar(EventHandler);
- Language = tslib_1.__importStar(Language);
- Ajax = tslib_1.__importStar(Ajax);
+ Clipboard = (0, tslib_1.__importStar)(Clipboard);
+ UiNotification = (0, tslib_1.__importStar)(UiNotification);
+ UiDialog = (0, tslib_1.__importStar)(UiDialog);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ Language = (0, tslib_1.__importStar)(Language);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
let _mediaManager;
const _didInit = false;
class MediaClipboard {
*/
define(["require", "exports", "tslib", "../Core", "../Ui/Notification", "../Ui/Dialog", "../Language/Chooser", "../Language/Input", "../Dom/Util", "../Dom/Traverse", "../Dom/Change/Listener", "../Language", "../Ajax", "./Replace"], function (require, exports, tslib_1, Core, UiNotification, UiDialog, LanguageChooser, LanguageInput, DomUtil, DomTraverse, Listener_1, Language, Ajax, Replace_1) {
"use strict";
- Core = tslib_1.__importStar(Core);
- UiNotification = tslib_1.__importStar(UiNotification);
- UiDialog = tslib_1.__importStar(UiDialog);
- LanguageChooser = tslib_1.__importStar(LanguageChooser);
- LanguageInput = tslib_1.__importStar(LanguageInput);
- DomUtil = tslib_1.__importStar(DomUtil);
- DomTraverse = tslib_1.__importStar(DomTraverse);
- Listener_1 = tslib_1.__importDefault(Listener_1);
- Language = tslib_1.__importStar(Language);
- Ajax = tslib_1.__importStar(Ajax);
- Replace_1 = tslib_1.__importDefault(Replace_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ UiNotification = (0, tslib_1.__importStar)(UiNotification);
+ UiDialog = (0, tslib_1.__importStar)(UiDialog);
+ LanguageChooser = (0, tslib_1.__importStar)(LanguageChooser);
+ LanguageInput = (0, tslib_1.__importStar)(LanguageInput);
+ DomUtil = (0, tslib_1.__importStar)(DomUtil);
+ DomTraverse = (0, tslib_1.__importStar)(DomTraverse);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Replace_1 = (0, tslib_1.__importDefault)(Replace_1);
class MediaEditor {
constructor(callbackObject) {
this._availableLanguageCount = 1;
*/
define(["require", "exports", "tslib", "../Upload", "../../Core"], function (require, exports, tslib_1, Upload_1, Core) {
"use strict";
- Upload_1 = tslib_1.__importDefault(Upload_1);
- Core = tslib_1.__importStar(Core);
+ Upload_1 = (0, tslib_1.__importDefault)(Upload_1);
+ Core = (0, tslib_1.__importStar)(Core);
class MediaListUpload extends Upload_1.default {
_createButton() {
super._createButton();
*/
define(["require", "exports", "tslib", "../../Core", "../../Language", "../../Permission", "../../Dom/Change/Listener", "../../Event/Handler", "../../Dom/Traverse", "../../Dom/Util", "../../Ui/Dialog", "../../Controller/Clipboard", "../../Ui/Pagination", "../../Ui/Notification", "../../StringUtil", "./Search", "../Upload", "../Editor", "../Clipboard"], function (require, exports, tslib_1, Core, Language, Permission, DomChangeListener, EventHandler, DomTraverse, DomUtil, UiDialog, Clipboard, Pagination_1, UiNotification, StringUtil, Search_1, Upload_1, Editor_1, MediaClipboard) {
"use strict";
- Core = tslib_1.__importStar(Core);
- Language = tslib_1.__importStar(Language);
- Permission = tslib_1.__importStar(Permission);
- DomChangeListener = tslib_1.__importStar(DomChangeListener);
- EventHandler = tslib_1.__importStar(EventHandler);
- DomTraverse = tslib_1.__importStar(DomTraverse);
- DomUtil = tslib_1.__importStar(DomUtil);
- UiDialog = tslib_1.__importStar(UiDialog);
- Clipboard = tslib_1.__importStar(Clipboard);
- Pagination_1 = tslib_1.__importDefault(Pagination_1);
- UiNotification = tslib_1.__importStar(UiNotification);
- StringUtil = tslib_1.__importStar(StringUtil);
- Search_1 = tslib_1.__importDefault(Search_1);
- Upload_1 = tslib_1.__importDefault(Upload_1);
- Editor_1 = tslib_1.__importDefault(Editor_1);
- MediaClipboard = tslib_1.__importStar(MediaClipboard);
+ Core = (0, tslib_1.__importStar)(Core);
+ Language = (0, tslib_1.__importStar)(Language);
+ Permission = (0, tslib_1.__importStar)(Permission);
+ DomChangeListener = (0, tslib_1.__importStar)(DomChangeListener);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ DomTraverse = (0, tslib_1.__importStar)(DomTraverse);
+ DomUtil = (0, tslib_1.__importStar)(DomUtil);
+ UiDialog = (0, tslib_1.__importStar)(UiDialog);
+ Clipboard = (0, tslib_1.__importStar)(Clipboard);
+ Pagination_1 = (0, tslib_1.__importDefault)(Pagination_1);
+ UiNotification = (0, tslib_1.__importStar)(UiNotification);
+ StringUtil = (0, tslib_1.__importStar)(StringUtil);
+ Search_1 = (0, tslib_1.__importDefault)(Search_1);
+ Upload_1 = (0, tslib_1.__importDefault)(Upload_1);
+ Editor_1 = (0, tslib_1.__importDefault)(Editor_1);
+ MediaClipboard = (0, tslib_1.__importStar)(MediaClipboard);
let mediaManagerCounter = 0;
class MediaManager {
constructor(options) {
*/
define(["require", "exports", "tslib", "./Base", "../../Core", "../../Event/Handler", "../../Dom/Traverse", "../../Language", "../../Ui/Dialog", "../../Controller/Clipboard", "../../Dom/Util"], function (require, exports, tslib_1, Base_1, Core, EventHandler, DomTraverse, Language, UiDialog, Clipboard, Util_1) {
"use strict";
- Base_1 = tslib_1.__importDefault(Base_1);
- Core = tslib_1.__importStar(Core);
- EventHandler = tslib_1.__importStar(EventHandler);
- DomTraverse = tslib_1.__importStar(DomTraverse);
- Language = tslib_1.__importStar(Language);
- UiDialog = tslib_1.__importStar(UiDialog);
- Clipboard = tslib_1.__importStar(Clipboard);
- Util_1 = tslib_1.__importDefault(Util_1);
+ Base_1 = (0, tslib_1.__importDefault)(Base_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ DomTraverse = (0, tslib_1.__importStar)(DomTraverse);
+ Language = (0, tslib_1.__importStar)(Language);
+ UiDialog = (0, tslib_1.__importStar)(UiDialog);
+ Clipboard = (0, tslib_1.__importStar)(Clipboard);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
class MediaManagerEditor extends Base_1.default {
constructor(options) {
options = Core.extend({
*/
define(["require", "exports", "tslib", "../../Dom/Traverse", "../../Language", "../../Ajax", "../../Core", "../../Dom/Util"], function (require, exports, tslib_1, DomTraverse, Language, Ajax, Core, Util_1) {
"use strict";
- DomTraverse = tslib_1.__importStar(DomTraverse);
- Language = tslib_1.__importStar(Language);
- Ajax = tslib_1.__importStar(Ajax);
- Core = tslib_1.__importStar(Core);
- Util_1 = tslib_1.__importDefault(Util_1);
+ DomTraverse = (0, tslib_1.__importStar)(DomTraverse);
+ Language = (0, tslib_1.__importStar)(Language);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Core = (0, tslib_1.__importStar)(Core);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
class MediaManagerSearch {
constructor(mediaManager) {
this._searchMode = false;
*/
define(["require", "exports", "tslib", "./Base", "../../Core", "../../Dom/Traverse", "../../FileUtil", "../../Language", "../../Ui/Dialog", "../../Dom/Util"], function (require, exports, tslib_1, Base_1, Core, DomTraverse, FileUtil, Language, UiDialog, Util_1) {
"use strict";
- Base_1 = tslib_1.__importDefault(Base_1);
- Core = tslib_1.__importStar(Core);
- DomTraverse = tslib_1.__importStar(DomTraverse);
- FileUtil = tslib_1.__importStar(FileUtil);
- Language = tslib_1.__importStar(Language);
- UiDialog = tslib_1.__importStar(UiDialog);
- Util_1 = tslib_1.__importDefault(Util_1);
+ Base_1 = (0, tslib_1.__importDefault)(Base_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ DomTraverse = (0, tslib_1.__importStar)(DomTraverse);
+ FileUtil = (0, tslib_1.__importStar)(FileUtil);
+ Language = (0, tslib_1.__importStar)(Language);
+ UiDialog = (0, tslib_1.__importStar)(UiDialog);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
class MediaManagerSelect extends Base_1.default {
constructor(options) {
super(options);
*/
define(["require", "exports", "tslib", "../Core", "./Upload", "../Language", "../Dom/Util", "../Ui/Notification", "../Dom/Change/Listener"], function (require, exports, tslib_1, Core, Upload_1, Language, Util_1, UiNotification, DomChangeListener) {
"use strict";
- Core = tslib_1.__importStar(Core);
- Upload_1 = tslib_1.__importDefault(Upload_1);
- Language = tslib_1.__importStar(Language);
- Util_1 = tslib_1.__importDefault(Util_1);
- UiNotification = tslib_1.__importStar(UiNotification);
- DomChangeListener = tslib_1.__importStar(DomChangeListener);
+ Core = (0, tslib_1.__importStar)(Core);
+ Upload_1 = (0, tslib_1.__importDefault)(Upload_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ UiNotification = (0, tslib_1.__importStar)(UiNotification);
+ DomChangeListener = (0, tslib_1.__importStar)(DomChangeListener);
class MediaReplace extends Upload_1.default {
constructor(mediaID, buttonContainerId, targetId, options) {
super(buttonContainerId, targetId, Core.extend(options, {
*/
define(["require", "exports", "tslib", "../Upload", "../Core", "../Dom/Util", "../Dom/Traverse", "../Language", "../User", "../Date/Util", "../FileUtil", "../Dom/Change/Listener", "../Event/Handler"], function (require, exports, tslib_1, Upload_1, Core, DomUtil, DomTraverse, Language, User_1, DateUtil, FileUtil, DomChangeListener, EventHandler) {
"use strict";
- Upload_1 = tslib_1.__importDefault(Upload_1);
- Core = tslib_1.__importStar(Core);
- DomUtil = tslib_1.__importStar(DomUtil);
- DomTraverse = tslib_1.__importStar(DomTraverse);
- Language = tslib_1.__importStar(Language);
- User_1 = tslib_1.__importDefault(User_1);
- DateUtil = tslib_1.__importStar(DateUtil);
- FileUtil = tslib_1.__importStar(FileUtil);
- DomChangeListener = tslib_1.__importStar(DomChangeListener);
- EventHandler = tslib_1.__importStar(EventHandler);
+ Upload_1 = (0, tslib_1.__importDefault)(Upload_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ DomUtil = (0, tslib_1.__importStar)(DomUtil);
+ DomTraverse = (0, tslib_1.__importStar)(DomTraverse);
+ Language = (0, tslib_1.__importStar)(Language);
+ User_1 = (0, tslib_1.__importDefault)(User_1);
+ DateUtil = (0, tslib_1.__importStar)(DateUtil);
+ FileUtil = (0, tslib_1.__importStar)(FileUtil);
+ DomChangeListener = (0, tslib_1.__importStar)(DomChangeListener);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
class MediaUpload extends Upload_1.default {
constructor(buttonContainerId, targetId, options) {
super(buttonContainerId, targetId, Core.extend({
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.setup = void 0;
- Ajax = tslib_1.__importStar(Ajax);
- Core = tslib_1.__importStar(Core);
- EventHandler = tslib_1.__importStar(EventHandler);
- StringUtil = tslib_1.__importStar(StringUtil);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Core = (0, tslib_1.__importStar)(Core);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ StringUtil = (0, tslib_1.__importStar)(StringUtil);
class NotificationHandler {
/**
* Initializes the desktop notification system.
*/
define(["require", "exports", "tslib", "./Core"], function (require, exports, tslib_1, Core) {
"use strict";
- Core = tslib_1.__importStar(Core);
+ Core = (0, tslib_1.__importStar)(Core);
/** @deprecated 5.4 Use a `WeakMap` instead. */
class ObjectMap {
constructor() {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.setupI18n = exports.toCamelCase = exports.shortUnit = exports.unescapeHTML = exports.ucfirst = exports.lcfirst = exports.formatNumeric = exports.escapeRegExp = exports.escapeHTML = exports.addThousandsSeparator = void 0;
- NumberUtil = tslib_1.__importStar(NumberUtil);
+ NumberUtil = (0, tslib_1.__importStar)(NumberUtil);
let _decimalPoint = ".";
let _thousandsSeparator = ",";
/**
*/
define(["require", "exports", "tslib", "./Core", "./I18n/Plural", "./Language/Store", "./StringUtil", "./Template/Compiler"], function (require, exports, tslib_1, Core, I18nPlural, LanguageStore, StringUtil, Compiler_1) {
"use strict";
- Core = tslib_1.__importStar(Core);
- I18nPlural = tslib_1.__importStar(I18nPlural);
- LanguageStore = tslib_1.__importStar(LanguageStore);
- StringUtil = tslib_1.__importStar(StringUtil);
+ Core = (0, tslib_1.__importStar)(Core);
+ I18nPlural = (0, tslib_1.__importStar)(I18nPlural);
+ LanguageStore = (0, tslib_1.__importStar)(LanguageStore);
+ StringUtil = (0, tslib_1.__importStar)(StringUtil);
// @todo: still required?
// work around bug in AMD module generation of Jison
/*function Parser() {
class Template {
constructor(template) {
try {
- this.compiled = Compiler_1.compile(template);
+ this.compiled = (0, Compiler_1.compile)(template);
}
catch (e) {
console.debug(e.message);
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.compile = void 0;
- parser = tslib_1.__importStar(parser);
+ parser = (0, tslib_1.__importStar)(parser);
/**
* Compiles the given template.
*/
*/
define(["require", "exports", "tslib", "../Core"], function (require, exports, tslib_1, Core) {
"use strict";
- Core = tslib_1.__importStar(Core);
+ Core = (0, tslib_1.__importStar)(Core);
class RepeatingTimer {
/**
* Creates a new timer that executes the given `callback` every `delta` milliseconds.
*/
define(["require", "exports", "tslib", "../../Core", "../../Language", "../../StringUtil", "../../Dom/Change/Listener", "../../Dom/Util", "../User/Search/Input"], function (require, exports, tslib_1, Core, Language, StringUtil, Listener_1, Util_1, Input_1) {
"use strict";
- Core = tslib_1.__importStar(Core);
- Language = tslib_1.__importStar(Language);
- StringUtil = tslib_1.__importStar(StringUtil);
- Listener_1 = tslib_1.__importDefault(Listener_1);
- Util_1 = tslib_1.__importDefault(Util_1);
- Input_1 = tslib_1.__importDefault(Input_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ Language = (0, tslib_1.__importStar)(Language);
+ StringUtil = (0, tslib_1.__importStar)(StringUtil);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ Input_1 = (0, tslib_1.__importDefault)(Input_1);
class UiAclSimple {
constructor(prefix, inputName) {
this.prefix = prefix || "";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.set = void 0;
- Core = tslib_1.__importStar(Core);
- DomTraverse = tslib_1.__importStar(DomTraverse);
- Util_1 = tslib_1.__importDefault(Util_1);
- Language = tslib_1.__importStar(Language);
+ Core = (0, tslib_1.__importStar)(Core);
+ DomTraverse = (0, tslib_1.__importStar)(DomTraverse);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ Language = (0, tslib_1.__importStar)(Language);
/**
* Calculates top/bottom position and verifies if the element would be still within the page's boundaries.
*/
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.init = void 0;
- Ajax = tslib_1.__importStar(Ajax);
- EventHandler = tslib_1.__importStar(EventHandler);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
class UiArticleMarkAllAsRead {
constructor() {
document.querySelectorAll(".markAllAsReadButton").forEach((button) => {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.open = void 0;
- Ajax = tslib_1.__importStar(Ajax);
- Util_1 = tslib_1.__importDefault(Util_1);
- Language = tslib_1.__importStar(Language);
- StringUtil = tslib_1.__importStar(StringUtil);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ StringUtil = (0, tslib_1.__importStar)(StringUtil);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
class UiArticleSearch {
constructor() {
this.callbackSelect = undefined;
*/
define(["require", "exports", "tslib", "../CallbackList"], function (require, exports, tslib_1, CallbackList_1) {
"use strict";
- CallbackList_1 = tslib_1.__importDefault(CallbackList_1);
+ CallbackList_1 = (0, tslib_1.__importDefault)(CallbackList_1);
const _callbackList = new CallbackList_1.default();
const UiCloseOverlay = {
/**
*/
define(["require", "exports", "tslib", "../../Core"], function (require, exports, tslib_1, Core) {
"use strict";
- Core = tslib_1.__importStar(Core);
+ Core = (0, tslib_1.__importStar)(Core);
let _marshal = (element, options) => {
if (typeof window.WCF === "object" && typeof window.WCF.ColorPicker === "function") {
_marshal = (element, options) => {
*/
define(["require", "exports", "tslib", "../../Ajax", "../../Controller/Captcha", "../../Core", "../../Dom/Change/Listener", "../../Dom/Util", "../../Event/Handler", "../../Language", "../Dialog", "../Scroll", "../../User", "../Notification"], function (require, exports, tslib_1, Ajax, Captcha_1, Core, Listener_1, Util_1, EventHandler, Language, Dialog_1, UiScroll, User_1, UiNotification) {
"use strict";
- Ajax = tslib_1.__importStar(Ajax);
- Captcha_1 = tslib_1.__importDefault(Captcha_1);
- Core = tslib_1.__importStar(Core);
- Listener_1 = tslib_1.__importDefault(Listener_1);
- Util_1 = tslib_1.__importDefault(Util_1);
- EventHandler = tslib_1.__importStar(EventHandler);
- Language = tslib_1.__importStar(Language);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
- UiScroll = tslib_1.__importStar(UiScroll);
- User_1 = tslib_1.__importDefault(User_1);
- UiNotification = tslib_1.__importStar(UiNotification);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Captcha_1 = (0, tslib_1.__importDefault)(Captcha_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ Language = (0, tslib_1.__importStar)(Language);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
+ UiScroll = (0, tslib_1.__importStar)(UiScroll);
+ User_1 = (0, tslib_1.__importDefault)(User_1);
+ UiNotification = (0, tslib_1.__importStar)(UiNotification);
class UiCommentAdd {
/**
* Initializes a new quick reply field.
*/
define(["require", "exports", "tslib", "../../Ajax", "../../Core", "../../Dom/Change/Listener", "../../Dom/Util", "../../Environment", "../../Event/Handler", "../../Language", "../Scroll", "../Notification"], function (require, exports, tslib_1, Ajax, Core, Listener_1, Util_1, Environment, EventHandler, Language, UiScroll, UiNotification) {
"use strict";
- Ajax = tslib_1.__importStar(Ajax);
- Core = tslib_1.__importStar(Core);
- Listener_1 = tslib_1.__importDefault(Listener_1);
- Util_1 = tslib_1.__importDefault(Util_1);
- Environment = tslib_1.__importStar(Environment);
- EventHandler = tslib_1.__importStar(EventHandler);
- Language = tslib_1.__importStar(Language);
- UiScroll = tslib_1.__importStar(UiScroll);
- UiNotification = tslib_1.__importStar(UiNotification);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Core = (0, tslib_1.__importStar)(Core);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ Environment = (0, tslib_1.__importStar)(Environment);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ Language = (0, tslib_1.__importStar)(Language);
+ UiScroll = (0, tslib_1.__importStar)(UiScroll);
+ UiNotification = (0, tslib_1.__importStar)(UiNotification);
class UiCommentEdit {
/**
* Initializes the comment edit manager.
*/
define(["require", "exports", "tslib", "../../../Core", "../../../Dom/Change/Listener", "../../../Dom/Util", "../../../Language", "../Add", "../../Notification"], function (require, exports, tslib_1, Core, Listener_1, Util_1, Language, Add_1, UiNotification) {
"use strict";
- Core = tslib_1.__importStar(Core);
- Listener_1 = tslib_1.__importDefault(Listener_1);
- Util_1 = tslib_1.__importDefault(Util_1);
- Language = tslib_1.__importStar(Language);
- Add_1 = tslib_1.__importDefault(Add_1);
- UiNotification = tslib_1.__importStar(UiNotification);
+ Core = (0, tslib_1.__importStar)(Core);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ Add_1 = (0, tslib_1.__importDefault)(Add_1);
+ UiNotification = (0, tslib_1.__importStar)(UiNotification);
class UiCommentResponseAdd extends Add_1.default {
constructor(container, options) {
super(container);
*/
define(["require", "exports", "tslib", "../../../Ajax", "../../../Core", "../../../Dom/Change/Listener", "../../../Dom/Util", "../Edit", "../../Notification"], function (require, exports, tslib_1, Ajax, Core, Listener_1, Util_1, Edit_1, UiNotification) {
"use strict";
- Ajax = tslib_1.__importStar(Ajax);
- Core = tslib_1.__importStar(Core);
- Listener_1 = tslib_1.__importDefault(Listener_1);
- Util_1 = tslib_1.__importDefault(Util_1);
- Edit_1 = tslib_1.__importDefault(Edit_1);
- UiNotification = tslib_1.__importStar(UiNotification);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Core = (0, tslib_1.__importStar)(Core);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ Edit_1 = (0, tslib_1.__importDefault)(Edit_1);
+ UiNotification = (0, tslib_1.__importStar)(UiNotification);
class UiCommentResponseEdit extends Edit_1.default {
/**
* Initializes the comment edit manager.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getContentElement = exports.show = void 0;
- Core = tslib_1.__importStar(Core);
- Language = tslib_1.__importStar(Language);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ Language = (0, tslib_1.__importStar)(Language);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
class UiConfirmation {
constructor() {
this._active = false;
*/
define(["require", "exports", "tslib", "../Core", "../Dom/Change/Listener", "./Screen", "../Dom/Util", "../Language", "../Environment", "../Event/Handler", "./Dropdown/Simple"], function (require, exports, tslib_1, Core, Listener_1, UiScreen, Util_1, Language, Environment, EventHandler, Simple_1) {
"use strict";
- Core = tslib_1.__importStar(Core);
- Listener_1 = tslib_1.__importDefault(Listener_1);
- UiScreen = tslib_1.__importStar(UiScreen);
- Util_1 = tslib_1.__importDefault(Util_1);
- Language = tslib_1.__importStar(Language);
- Environment = tslib_1.__importStar(Environment);
- EventHandler = tslib_1.__importStar(EventHandler);
- Simple_1 = tslib_1.__importDefault(Simple_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ UiScreen = (0, tslib_1.__importStar)(UiScreen);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ Environment = (0, tslib_1.__importStar)(Environment);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ Simple_1 = (0, tslib_1.__importDefault)(Simple_1);
let _activeDialog = null;
let _callbackFocus;
let _container;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.register = void 0;
- Core = tslib_1.__importStar(Core);
- EventHandler = tslib_1.__importStar(EventHandler);
+ Core = (0, tslib_1.__importStar)(Core);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
function register(options) {
const uuid = Core.getUuid();
options = Core.extend({
});
EventHandler.add("com.woltlab.wcf.redactor2", `dragAndDrop_${options.elementId}`, options.onDrop);
EventHandler.add("com.woltlab.wcf.redactor2", `dragAndDrop_globalDrop_${options.elementId}`, options.onGlobalDrop);
- DragAndDrop_1.init({
+ (0, DragAndDrop_1.init)({
uuid: uuid,
$editor: [options.element],
$element: [{ id: options.elementId }],
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.divider = exports.attach = exports.setItems = exports.appendItems = exports.appendItem = exports.buildItem = exports.create = void 0;
- Core = tslib_1.__importStar(Core);
- Simple_1 = tslib_1.__importDefault(Simple_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ Simple_1 = (0, tslib_1.__importDefault)(Simple_1);
const _validIconSizes = [16, 24, 32, 48, 64, 96, 144];
function validateList(list) {
if (!(list instanceof HTMLUListElement)) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.toggleDropdown = exports.registerCallback = exports.getDropdownMenu = exports.init = void 0;
- Simple_1 = tslib_1.__importDefault(Simple_1);
+ Simple_1 = (0, tslib_1.__importDefault)(Simple_1);
const _dropdowns = new Map();
let _ghostElementId = 0;
/**
*/
define(["require", "exports", "tslib", "../../CallbackList", "../../Core", "../../Dom/Change/Listener", "../../Dom/Traverse", "../../Dom/Util", "../Alignment", "../CloseOverlay"], function (require, exports, tslib_1, CallbackList_1, Core, Listener_1, DomTraverse, Util_1, UiAlignment, CloseOverlay_1) {
"use strict";
- CallbackList_1 = tslib_1.__importDefault(CallbackList_1);
- Core = tslib_1.__importStar(Core);
- Listener_1 = tslib_1.__importDefault(Listener_1);
- DomTraverse = tslib_1.__importStar(DomTraverse);
- Util_1 = tslib_1.__importDefault(Util_1);
- UiAlignment = tslib_1.__importStar(UiAlignment);
- CloseOverlay_1 = tslib_1.__importDefault(CloseOverlay_1);
+ CallbackList_1 = (0, tslib_1.__importDefault)(CallbackList_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ DomTraverse = (0, tslib_1.__importStar)(DomTraverse);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ UiAlignment = (0, tslib_1.__importStar)(UiAlignment);
+ CloseOverlay_1 = (0, tslib_1.__importDefault)(CloseOverlay_1);
let _availableDropdowns;
const _callbacks = new CallbackList_1.default();
let _didInit = false;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.setup = void 0;
- Listener_1 = tslib_1.__importDefault(Listener_1);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
const observer = new MutationObserver((mutations) => {
mutations.forEach((mutation) => {
const target = mutation.target;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.setup = void 0;
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
- StringUtil = tslib_1.__importStar(StringUtil);
- Language = tslib_1.__importStar(Language);
- Clipboard = tslib_1.__importStar(Clipboard);
- UiNotification = tslib_1.__importStar(UiNotification);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
+ StringUtil = (0, tslib_1.__importStar)(StringUtil);
+ Language = (0, tslib_1.__importStar)(Language);
+ Clipboard = (0, tslib_1.__importStar)(Clipboard);
+ UiNotification = (0, tslib_1.__importStar)(UiNotification);
/**
* Copies one of links to the clipboard.
*/
*/
define(["require", "exports", "tslib", "../../Ajax", "../../Core", "../../Dom/Change/Listener", "../../Language"], function (require, exports, tslib_1, Ajax, Core, Listener_1, Language) {
"use strict";
- Ajax = tslib_1.__importStar(Ajax);
- Core = tslib_1.__importStar(Core);
- Listener_1 = tslib_1.__importDefault(Listener_1);
- Language = tslib_1.__importStar(Language);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Core = (0, tslib_1.__importStar)(Core);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ Language = (0, tslib_1.__importStar)(Language);
class UiFileDelete {
constructor(buttonContainerId, targetId, isSingleImagePreview, uploadHandler) {
this.containers = new Map();
*/
define(["require", "exports", "tslib", "../../Core", "./Delete", "../../Dom/Util", "../../Language", "../../Upload"], function (require, exports, tslib_1, Core, Delete_1, Util_1, Language, Upload_1) {
"use strict";
- Core = tslib_1.__importStar(Core);
- Delete_1 = tslib_1.__importDefault(Delete_1);
- Util_1 = tslib_1.__importDefault(Util_1);
- Language = tslib_1.__importStar(Language);
- Upload_1 = tslib_1.__importDefault(Upload_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ Delete_1 = (0, tslib_1.__importDefault)(Delete_1);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ Upload_1 = (0, tslib_1.__importDefault)(Upload_1);
class FileUpload extends Upload_1.default {
constructor(buttonContainerId, targetId, options) {
options = options || {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.rebuild = exports.rebuildAll = exports.registerTabMenus = exports.register = exports.setup = void 0;
- Listener_1 = tslib_1.__importDefault(Listener_1);
- Util_1 = tslib_1.__importDefault(Util_1);
- DomTraverse = tslib_1.__importStar(DomTraverse);
- Simple_1 = tslib_1.__importDefault(Simple_1);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ DomTraverse = (0, tslib_1.__importStar)(DomTraverse);
+ Simple_1 = (0, tslib_1.__importDefault)(Simple_1);
const _containers = new Map();
const _dropdowns = new Map();
const _dropdownMenus = new Map();
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.setValues = exports.getValues = exports.init = void 0;
- Core = tslib_1.__importStar(Core);
- DomTraverse = tslib_1.__importStar(DomTraverse);
- Language = tslib_1.__importStar(Language);
- Suggestion_1 = tslib_1.__importDefault(Suggestion_1);
- Simple_1 = tslib_1.__importDefault(Simple_1);
- Util_1 = tslib_1.__importDefault(Util_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ DomTraverse = (0, tslib_1.__importStar)(DomTraverse);
+ Language = (0, tslib_1.__importStar)(Language);
+ Suggestion_1 = (0, tslib_1.__importDefault)(Suggestion_1);
+ Simple_1 = (0, tslib_1.__importDefault)(Simple_1);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
const _data = new Map();
/**
* Creates the DOM structure for target element. If `element` is a `<textarea>`
*/
define(["require", "exports", "tslib", "../../Core", "../../Dom/Util", "../../Language", "../../StringUtil", "../Dropdown/Simple"], function (require, exports, tslib_1, Core, Util_1, Language, StringUtil, Simple_1) {
"use strict";
- Core = tslib_1.__importStar(Core);
- Util_1 = tslib_1.__importDefault(Util_1);
- Language = tslib_1.__importStar(Language);
- StringUtil = tslib_1.__importStar(StringUtil);
- Simple_1 = tslib_1.__importDefault(Simple_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ StringUtil = (0, tslib_1.__importStar)(StringUtil);
+ Simple_1 = (0, tslib_1.__importDefault)(Simple_1);
class UiItemListFilter {
/**
* Creates a new filter input.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UiItemListLineBreakSeparatedText = void 0;
- UiConfirmation = tslib_1.__importStar(UiConfirmation);
- Language = tslib_1.__importStar(Language);
- Util_1 = tslib_1.__importDefault(Util_1);
+ UiConfirmation = (0, tslib_1.__importStar)(UiConfirmation);
+ Language = (0, tslib_1.__importStar)(Language);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
class UiItemListLineBreakSeparatedText {
constructor(itemList, options = {}) {
this.addButton = undefined;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.setValues = exports.getValues = exports.init = void 0;
- Core = tslib_1.__importStar(Core);
- DomTraverse = tslib_1.__importStar(DomTraverse);
- Language = tslib_1.__importStar(Language);
- Simple_1 = tslib_1.__importDefault(Simple_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ DomTraverse = (0, tslib_1.__importStar)(DomTraverse);
+ Language = (0, tslib_1.__importStar)(Language);
+ Simple_1 = (0, tslib_1.__importDefault)(Simple_1);
const _data = new Map();
/**
* Creates the DOM structure for target element. If `element` is a `<textarea>`
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getValues = exports.init = void 0;
- UiItemList = tslib_1.__importStar(UiItemList);
+ UiItemList = (0, tslib_1.__importStar)(UiItemList);
function syncShadow(data) {
const values = getValues(data.element.id);
const users = [];
*/
define(["require", "exports", "tslib", "../../Core", "../../Dom/Change/Listener", "../../Language", "../../StringUtil", "../Reaction/Handler", "../../User"], function (require, exports, tslib_1, Core, Listener_1, Language, StringUtil, Handler_1, User_1) {
"use strict";
- Core = tslib_1.__importStar(Core);
- Listener_1 = tslib_1.__importDefault(Listener_1);
- Language = tslib_1.__importStar(Language);
- StringUtil = tslib_1.__importStar(StringUtil);
- Handler_1 = tslib_1.__importDefault(Handler_1);
- User_1 = tslib_1.__importDefault(User_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ StringUtil = (0, tslib_1.__importStar)(StringUtil);
+ Handler_1 = (0, tslib_1.__importDefault)(Handler_1);
+ User_1 = (0, tslib_1.__importDefault)(User_1);
const availableReactions = new Map(Object.entries(window.REACTION_TYPES));
class UiLikeHandler {
/**
*/
define(["require", "exports", "tslib", "../../Ajax", "../../Core", "../../Dom/Change/Listener", "../../Dom/Util", "../../Environment", "../../Event/Handler", "../../Language", "../Dropdown/Reusable", "../Notification", "../Scroll"], function (require, exports, tslib_1, Ajax, Core, Listener_1, Util_1, Environment, EventHandler, Language, UiDropdownReusable, UiNotification, UiScroll) {
"use strict";
- Ajax = tslib_1.__importStar(Ajax);
- Core = tslib_1.__importStar(Core);
- Listener_1 = tslib_1.__importDefault(Listener_1);
- Util_1 = tslib_1.__importDefault(Util_1);
- Environment = tslib_1.__importStar(Environment);
- EventHandler = tslib_1.__importStar(EventHandler);
- Language = tslib_1.__importStar(Language);
- UiDropdownReusable = tslib_1.__importStar(UiDropdownReusable);
- UiNotification = tslib_1.__importStar(UiNotification);
- UiScroll = tslib_1.__importStar(UiScroll);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Core = (0, tslib_1.__importStar)(Core);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ Environment = (0, tslib_1.__importStar)(Environment);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ Language = (0, tslib_1.__importStar)(Language);
+ UiDropdownReusable = (0, tslib_1.__importStar)(UiDropdownReusable);
+ UiNotification = (0, tslib_1.__importStar)(UiNotification);
+ UiScroll = (0, tslib_1.__importStar)(UiScroll);
class UiMessageInlineEditor {
/**
* Initializes the message inline editor.
*/
define(["require", "exports", "tslib", "../../Ajax", "../../Core", "../../Dom/Change/Listener", "../../Language", "../../StringUtil"], function (require, exports, tslib_1, Ajax, Core, Listener_1, Language, StringUtil) {
"use strict";
- Ajax = tslib_1.__importStar(Ajax);
- Core = tslib_1.__importStar(Core);
- Listener_1 = tslib_1.__importDefault(Listener_1);
- Language = tslib_1.__importStar(Language);
- StringUtil = tslib_1.__importStar(StringUtil);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Core = (0, tslib_1.__importStar)(Core);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ StringUtil = (0, tslib_1.__importStar)(StringUtil);
class UiMessageManager {
/**
* Initializes a new manager instance.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UiMessageQuote = void 0;
- Ajax = tslib_1.__importStar(Ajax);
- Core = tslib_1.__importStar(Core);
- EventHandler = tslib_1.__importStar(EventHandler);
- Language = tslib_1.__importStar(Language);
- Listener_1 = tslib_1.__importDefault(Listener_1);
- Util_1 = tslib_1.__importDefault(Util_1);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Core = (0, tslib_1.__importStar)(Core);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ Language = (0, tslib_1.__importStar)(Language);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
class UiMessageQuote {
/**
* Initializes the quote handler for given object type.
*/
define(["require", "exports", "tslib", "../../Ajax", "../../Core", "../../Event/Handler", "../../Language", "../../Dom/Change/Listener", "../../Dom/Util", "../Dialog", "../Notification", "../../User", "../../Controller/Captcha", "../Scroll"], function (require, exports, tslib_1, Ajax, Core, EventHandler, Language, Listener_1, Util_1, Dialog_1, UiNotification, User_1, Captcha_1, UiScroll) {
"use strict";
- Ajax = tslib_1.__importStar(Ajax);
- Core = tslib_1.__importStar(Core);
- EventHandler = tslib_1.__importStar(EventHandler);
- Language = tslib_1.__importStar(Language);
- Listener_1 = tslib_1.__importDefault(Listener_1);
- Util_1 = tslib_1.__importDefault(Util_1);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
- UiNotification = tslib_1.__importStar(UiNotification);
- User_1 = tslib_1.__importDefault(User_1);
- Captcha_1 = tslib_1.__importDefault(Captcha_1);
- UiScroll = tslib_1.__importStar(UiScroll);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Core = (0, tslib_1.__importStar)(Core);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ Language = (0, tslib_1.__importStar)(Language);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
+ UiNotification = (0, tslib_1.__importStar)(UiNotification);
+ User_1 = (0, tslib_1.__importDefault)(User_1);
+ Captcha_1 = (0, tslib_1.__importDefault)(Captcha_1);
+ UiScroll = (0, tslib_1.__importStar)(UiScroll);
class UiMessageReply {
/**
* Initializes a new quick reply field.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.init = void 0;
- EventHandler = tslib_1.__importStar(EventHandler);
- StringUtil = tslib_1.__importStar(StringUtil);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ StringUtil = (0, tslib_1.__importStar)(StringUtil);
let _pageDescription = "";
let _pageUrl = "";
function share(objectName, url, appendUrl, pageUrl) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.setup = void 0;
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
- Util_1 = tslib_1.__importDefault(Util_1);
- DomTraverse = tslib_1.__importStar(DomTraverse);
- Language = tslib_1.__importStar(Language);
- Clipboard = tslib_1.__importStar(Clipboard);
- UiNotification = tslib_1.__importStar(UiNotification);
- StringUtil = tslib_1.__importStar(StringUtil);
- Listener_1 = tslib_1.__importDefault(Listener_1);
- UiMessageShare = tslib_1.__importStar(UiMessageShare);
- UiMessageShareProviders = tslib_1.__importStar(UiMessageShareProviders);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ DomTraverse = (0, tslib_1.__importStar)(DomTraverse);
+ Language = (0, tslib_1.__importStar)(Language);
+ Clipboard = (0, tslib_1.__importStar)(Clipboard);
+ UiNotification = (0, tslib_1.__importStar)(UiNotification);
+ StringUtil = (0, tslib_1.__importStar)(StringUtil);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ UiMessageShare = (0, tslib_1.__importStar)(UiMessageShare);
+ UiMessageShareProviders = (0, tslib_1.__importStar)(UiMessageShareProviders);
const shareButtons = new WeakSet();
const offerNativeSharing = window.navigator.share !== undefined;
/**
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.init = void 0;
- Ajax = tslib_1.__importStar(Ajax);
- Core = tslib_1.__importStar(Core);
- Listener_1 = tslib_1.__importDefault(Listener_1);
- Util_1 = tslib_1.__importDefault(Util_1);
- User_1 = tslib_1.__importDefault(User_1);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Core = (0, tslib_1.__importStar)(Core);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ User_1 = (0, tslib_1.__importDefault)(User_1);
class UserConsent {
constructor() {
this.enableAll = false;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.removeShadow = exports.rebuildShadow = exports.disableShadow = exports.disable = exports.enableShadow = exports.enable = exports.setup = void 0;
- Core = tslib_1.__importStar(Core);
- Listener_1 = tslib_1.__importDefault(Listener_1);
- Environment = tslib_1.__importStar(Environment);
- EventHandler = tslib_1.__importStar(EventHandler);
- UiAlignment = tslib_1.__importStar(UiAlignment);
- CloseOverlay_1 = tslib_1.__importDefault(CloseOverlay_1);
- UiDropdownReusable = tslib_1.__importStar(UiDropdownReusable);
- Main_1 = tslib_1.__importDefault(Main_1);
- User_1 = tslib_1.__importDefault(User_1);
- UiScreen = tslib_1.__importStar(UiScreen);
+ Core = (0, tslib_1.__importStar)(Core);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ Environment = (0, tslib_1.__importStar)(Environment);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ UiAlignment = (0, tslib_1.__importStar)(UiAlignment);
+ CloseOverlay_1 = (0, tslib_1.__importDefault)(CloseOverlay_1);
+ UiDropdownReusable = (0, tslib_1.__importStar)(UiDropdownReusable);
+ Main_1 = (0, tslib_1.__importDefault)(Main_1);
+ User_1 = (0, tslib_1.__importDefault)(User_1);
+ UiScreen = (0, tslib_1.__importStar)(UiScreen);
let _dropdownMenu = null;
let _dropdownMenuMessage = null;
let _enabled = false;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.setup = void 0;
- EventHandler = tslib_1.__importStar(EventHandler);
- UiNotification = tslib_1.__importStar(UiNotification);
- User_1 = tslib_1.__importDefault(User_1);
- StringUtil = tslib_1.__importStar(StringUtil);
- Language = tslib_1.__importStar(Language);
- Input_1 = tslib_1.__importDefault(Input_1);
- DomTraverse = tslib_1.__importStar(DomTraverse);
- Ajax = tslib_1.__importStar(Ajax);
- Util_1 = tslib_1.__importDefault(Util_1);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ UiNotification = (0, tslib_1.__importStar)(UiNotification);
+ User_1 = (0, tslib_1.__importDefault)(User_1);
+ StringUtil = (0, tslib_1.__importStar)(StringUtil);
+ Language = (0, tslib_1.__importStar)(Language);
+ Input_1 = (0, tslib_1.__importDefault)(Input_1);
+ DomTraverse = (0, tslib_1.__importStar)(DomTraverse);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
class UiModerationClipboardAssignUser {
constructor() {
/**
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.show = void 0;
- Language = tslib_1.__importStar(Language);
+ Language = (0, tslib_1.__importStar)(Language);
let _busy = false;
let _callback = null;
let _didInit = false;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.setup = void 0;
- Ajax = tslib_1.__importStar(Ajax);
- EventHandler = tslib_1.__importStar(EventHandler);
- UiConfirmation = tslib_1.__importStar(UiConfirmation);
- Language = tslib_1.__importStar(Language);
- StringUtil = tslib_1.__importStar(StringUtil);
- Listener_1 = tslib_1.__importDefault(Listener_1);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ UiConfirmation = (0, tslib_1.__importStar)(UiConfirmation);
+ Language = (0, tslib_1.__importStar)(Language);
+ StringUtil = (0, tslib_1.__importStar)(StringUtil);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
const containerSelector = ".jsObjectActionContainer[data-object-action-class-name]";
const objectSelector = ".jsObjectActionObject[data-object-id]";
const actionSelector = ".jsObjectAction[data-object-action]";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.setup = void 0;
- Handler_1 = tslib_1.__importDefault(Handler_1);
+ Handler_1 = (0, tslib_1.__importDefault)(Handler_1);
function deleteObject(data) {
const actionElement = data.objectElement.querySelector('.jsObjectAction[data-object-action="delete"]');
if (!actionElement || actionElement.dataset.objectActionHandler) {
define(["require", "exports", "tslib", "../../../Event/Handler", "../../../Controller/Clipboard"], function (require, exports, tslib_1, EventHandler, ControllerClipboard) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
- EventHandler = tslib_1.__importStar(EventHandler);
- ControllerClipboard = tslib_1.__importStar(ControllerClipboard);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ ControllerClipboard = (0, tslib_1.__importStar)(ControllerClipboard);
class UiObjectActionHandler {
constructor(actionName, clipboardActionNames, objectAction) {
this.objectAction = objectAction;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.setup = void 0;
- Language = tslib_1.__importStar(Language);
- Handler_1 = tslib_1.__importDefault(Handler_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ Handler_1 = (0, tslib_1.__importDefault)(Handler_1);
function toggleObject(data) {
const actionElement = data.objectElement.querySelector('.jsObjectAction[data-object-action="toggle"]');
if (!actionElement || actionElement.dataset.objectActionHandler) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.show = exports.hide = exports.remove = exports.get = exports.has = exports.add = exports.setup = void 0;
- Core = tslib_1.__importStar(Core);
- Language = tslib_1.__importStar(Language);
- UiScreen = tslib_1.__importStar(UiScreen);
+ Core = (0, tslib_1.__importStar)(Core);
+ Language = (0, tslib_1.__importStar)(Language);
+ UiScreen = (0, tslib_1.__importStar)(UiScreen);
const _buttons = new Map();
let _container;
let _didInit = false;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.init = void 0;
- EventHandler = tslib_1.__importStar(EventHandler);
- UiAlignment = tslib_1.__importStar(UiAlignment);
- CloseOverlay_1 = tslib_1.__importDefault(CloseOverlay_1);
- Simple_1 = tslib_1.__importDefault(Simple_1);
- UiScreen = tslib_1.__importStar(UiScreen);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ UiAlignment = (0, tslib_1.__importStar)(UiAlignment);
+ CloseOverlay_1 = (0, tslib_1.__importDefault)(CloseOverlay_1);
+ Simple_1 = (0, tslib_1.__importDefault)(Simple_1);
+ UiScreen = (0, tslib_1.__importStar)(UiScreen);
let _isMobile = false;
let _pageHeader;
let _pageHeaderPanel;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.init = void 0;
- Environment = tslib_1.__importStar(Environment);
- Language = tslib_1.__importStar(Language);
- UiScreen = tslib_1.__importStar(UiScreen);
+ Environment = (0, tslib_1.__importStar)(Environment);
+ Language = (0, tslib_1.__importStar)(Language);
+ UiScreen = (0, tslib_1.__importStar)(UiScreen);
let _enabled = false;
let _buttonShowNext;
let _buttonShowPrevious;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.init = void 0;
- Language = tslib_1.__importStar(Language);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
class UiPageJumpTo {
constructor() {
this.elements = new Map();
*/
define(["require", "exports", "tslib", "../../../Core", "../../../Environment", "../../../Event/Handler", "../../../Language", "../../../Dom/Traverse", "../../Screen"], function (require, exports, tslib_1, Core, Environment, EventHandler, Language, DomTraverse, UiScreen) {
"use strict";
- Core = tslib_1.__importStar(Core);
- Environment = tslib_1.__importStar(Environment);
- EventHandler = tslib_1.__importStar(EventHandler);
- Language = tslib_1.__importStar(Language);
- DomTraverse = tslib_1.__importStar(DomTraverse);
- UiScreen = tslib_1.__importStar(UiScreen);
+ Core = (0, tslib_1.__importStar)(Core);
+ Environment = (0, tslib_1.__importStar)(Environment);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ Language = (0, tslib_1.__importStar)(Language);
+ DomTraverse = (0, tslib_1.__importStar)(DomTraverse);
+ UiScreen = (0, tslib_1.__importStar)(UiScreen);
const _pageContainer = document.getElementById("pageContainer");
/**
* Which edge of the menu is touched? Empty string
*/
define(["require", "exports", "tslib", "../../../Core", "../../../Dom/Util", "../../../Language", "./Abstract"], function (require, exports, tslib_1, Core, Util_1, Language, Abstract_1) {
"use strict";
- Core = tslib_1.__importStar(Core);
- Util_1 = tslib_1.__importDefault(Util_1);
- Language = tslib_1.__importStar(Language);
- Abstract_1 = tslib_1.__importDefault(Abstract_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ Abstract_1 = (0, tslib_1.__importDefault)(Abstract_1);
class UiPageMenuMain extends Abstract_1.default {
/**
* Initializes the touch-friendly fullscreen main menu.
*/
define(["require", "exports", "tslib", "../../../Core", "../../../Event/Handler", "../../../Language", "./Abstract"], function (require, exports, tslib_1, Core, EventHandler, Language, Abstract_1) {
"use strict";
- Core = tslib_1.__importStar(Core);
- EventHandler = tslib_1.__importStar(EventHandler);
- Language = tslib_1.__importStar(Language);
- Abstract_1 = tslib_1.__importDefault(Abstract_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ Language = (0, tslib_1.__importStar)(Language);
+ Abstract_1 = (0, tslib_1.__importDefault)(Abstract_1);
class UiPageMenuUser extends Abstract_1.default {
/**
* Initializes the touch-friendly fullscreen user menu.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.open = void 0;
- Ajax = tslib_1.__importStar(Ajax);
- Util_1 = tslib_1.__importDefault(Util_1);
- Language = tslib_1.__importStar(Language);
- StringUtil = tslib_1.__importStar(StringUtil);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ StringUtil = (0, tslib_1.__importStar)(StringUtil);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
class UiPageSearch {
constructor() {
this.callbackSelect = undefined;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.open = void 0;
- Language = tslib_1.__importStar(Language);
- StringUtil = tslib_1.__importStar(StringUtil);
- Util_1 = tslib_1.__importDefault(Util_1);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
- Input_1 = tslib_1.__importDefault(Input_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ StringUtil = (0, tslib_1.__importStar)(StringUtil);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
+ Input_1 = (0, tslib_1.__importDefault)(Input_1);
class UiPageSearchHandler {
constructor() {
this.callbackSuccess = undefined;
*/
define(["require", "exports", "tslib", "../../../Core", "../../Search/Input"], function (require, exports, tslib_1, Core, Input_1) {
"use strict";
- Core = tslib_1.__importStar(Core);
- Input_1 = tslib_1.__importDefault(Input_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ Input_1 = (0, tslib_1.__importDefault)(Input_1);
class UiPageSearchInput extends Input_1.default {
constructor(element, options) {
if (typeof options.callbackSuccess !== "function") {
*/
define(["require", "exports", "tslib", "../Core", "../Language", "../StringUtil", "./Page/JumpTo"], function (require, exports, tslib_1, Core, Language, StringUtil, UiPageJumpTo) {
"use strict";
- Core = tslib_1.__importStar(Core);
- Language = tslib_1.__importStar(Language);
- StringUtil = tslib_1.__importStar(StringUtil);
- UiPageJumpTo = tslib_1.__importStar(UiPageJumpTo);
+ Core = (0, tslib_1.__importStar)(Core);
+ Language = (0, tslib_1.__importStar)(Language);
+ StringUtil = (0, tslib_1.__importStar)(StringUtil);
+ UiPageJumpTo = (0, tslib_1.__importStar)(UiPageJumpTo);
class UiPagination {
/**
* Initializes the pagination.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.setup = void 0;
- Listener_1 = tslib_1.__importDefault(Listener_1);
- Language = tslib_1.__importStar(Language);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ Language = (0, tslib_1.__importStar)(Language);
const _knownElements = new WeakSet();
function setup() {
initElements();
*/
define(["require", "exports", "tslib", "../../Core", "../../Language", "../Sortable/List", "../../Event/Handler", "../../Date/Picker"], function (require, exports, tslib_1, Core, Language, List_1, EventHandler, DatePicker) {
"use strict";
- Core = tslib_1.__importStar(Core);
- Language = tslib_1.__importStar(Language);
- List_1 = tslib_1.__importDefault(List_1);
- EventHandler = tslib_1.__importStar(EventHandler);
- DatePicker = tslib_1.__importStar(DatePicker);
+ Core = (0, tslib_1.__importStar)(Core);
+ Language = (0, tslib_1.__importStar)(Language);
+ List_1 = (0, tslib_1.__importDefault)(List_1);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ DatePicker = (0, tslib_1.__importStar)(DatePicker);
class UiPollEditor {
constructor(containerId, pollOptions, wysiwygId, options) {
const container = document.getElementById(containerId);
*/
define(["require", "exports", "tslib", "../../Ajax", "../../Core", "../../Dom/Change/Listener", "../../Dom/Util", "../../Event/Handler", "../../StringUtil", "../Dialog"], function (require, exports, tslib_1, Ajax, Core, Listener_1, Util_1, EventHandler, StringUtil, Dialog_1) {
"use strict";
- Ajax = tslib_1.__importStar(Ajax);
- Core = tslib_1.__importStar(Core);
- Listener_1 = tslib_1.__importDefault(Listener_1);
- Util_1 = tslib_1.__importDefault(Util_1);
- EventHandler = tslib_1.__importStar(EventHandler);
- StringUtil = tslib_1.__importStar(StringUtil);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Core = (0, tslib_1.__importStar)(Core);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ StringUtil = (0, tslib_1.__importStar)(StringUtil);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
const availableReactions = new Map(Object.entries(window.REACTION_TYPES));
class CountButtons {
/**
*/
define(["require", "exports", "tslib", "../../Ajax", "../../Core", "../../Dom/Change/Listener", "../../Dom/Util", "../Alignment", "../CloseOverlay", "../Screen", "./CountButtons"], function (require, exports, tslib_1, Ajax, Core, Listener_1, Util_1, UiAlignment, CloseOverlay_1, UiScreen, CountButtons_1) {
"use strict";
- Ajax = tslib_1.__importStar(Ajax);
- Core = tslib_1.__importStar(Core);
- Listener_1 = tslib_1.__importDefault(Listener_1);
- Util_1 = tslib_1.__importDefault(Util_1);
- UiAlignment = tslib_1.__importStar(UiAlignment);
- CloseOverlay_1 = tslib_1.__importDefault(CloseOverlay_1);
- UiScreen = tslib_1.__importStar(UiScreen);
- CountButtons_1 = tslib_1.__importDefault(CountButtons_1);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Core = (0, tslib_1.__importStar)(Core);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ UiAlignment = (0, tslib_1.__importStar)(UiAlignment);
+ CloseOverlay_1 = (0, tslib_1.__importDefault)(CloseOverlay_1);
+ UiScreen = (0, tslib_1.__importStar)(UiScreen);
+ CountButtons_1 = (0, tslib_1.__importDefault)(CountButtons_1);
const availableReactions = Object.values(window.REACTION_TYPES);
class UiReactionHandler {
/**
*/
define(["require", "exports", "tslib", "../../../Ajax", "../../../Core", "../../../Dom/Util", "../../../Language"], function (require, exports, tslib_1, Ajax, Core, Util_1, Language) {
"use strict";
- Ajax = tslib_1.__importStar(Ajax);
- Core = tslib_1.__importStar(Core);
- Util_1 = tslib_1.__importDefault(Util_1);
- Language = tslib_1.__importStar(Language);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Core = (0, tslib_1.__importStar)(Core);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ Language = (0, tslib_1.__importStar)(Language);
class UiReactionProfileLoader {
/**
* Initializes a new ReactionListLoader object.
*/
define(["require", "exports", "tslib", "../../Core", "../Article/Search"], function (require, exports, tslib_1, Core, UiArticleSearch) {
"use strict";
- Core = tslib_1.__importStar(Core);
- UiArticleSearch = tslib_1.__importStar(UiArticleSearch);
+ Core = (0, tslib_1.__importStar)(Core);
+ UiArticleSearch = (0, tslib_1.__importStar)(UiArticleSearch);
class UiRedactorArticle {
constructor(editor, button) {
this._editor = editor;
*/
define(["require", "exports", "tslib", "../../Core", "../../Devtools", "../../Event/Handler", "../../Language", "./Metacode"], function (require, exports, tslib_1, Core, Devtools_1, EventHandler, Language, UiRedactorMetacode) {
"use strict";
- Core = tslib_1.__importStar(Core);
- Devtools_1 = tslib_1.__importDefault(Devtools_1);
- EventHandler = tslib_1.__importStar(EventHandler);
- Language = tslib_1.__importStar(Language);
- UiRedactorMetacode = tslib_1.__importStar(UiRedactorMetacode);
+ Core = (0, tslib_1.__importStar)(Core);
+ Devtools_1 = (0, tslib_1.__importDefault)(Devtools_1);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ Language = (0, tslib_1.__importStar)(Language);
+ UiRedactorMetacode = (0, tslib_1.__importStar)(UiRedactorMetacode);
// time between save requests in seconds
const _frequency = 15;
class UiRedactorAutosave {
*/
define(["require", "exports", "tslib", "../../Core", "../../Dom/Util", "../../Event/Handler", "../../Language", "../../StringUtil", "../Dialog", "./PseudoHeader", "../../prism-meta"], function (require, exports, tslib_1, Core, Util_1, EventHandler, Language, StringUtil, Dialog_1, UiRedactorPseudoHeader, prism_meta_1) {
"use strict";
- Core = tslib_1.__importStar(Core);
- Util_1 = tslib_1.__importDefault(Util_1);
- EventHandler = tslib_1.__importStar(EventHandler);
- Language = tslib_1.__importStar(Language);
- StringUtil = tslib_1.__importStar(StringUtil);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
- UiRedactorPseudoHeader = tslib_1.__importStar(UiRedactorPseudoHeader);
- prism_meta_1 = tslib_1.__importDefault(prism_meta_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ Language = (0, tslib_1.__importStar)(Language);
+ StringUtil = (0, tslib_1.__importStar)(StringUtil);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
+ UiRedactorPseudoHeader = (0, tslib_1.__importStar)(UiRedactorPseudoHeader);
+ prism_meta_1 = (0, tslib_1.__importDefault)(prism_meta_1);
let _headerHeight = 0;
class UiRedactorCode {
/**
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.init = void 0;
- EventHandler = tslib_1.__importStar(EventHandler);
- Language = tslib_1.__importStar(Language);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ Language = (0, tslib_1.__importStar)(Language);
let _didInit = false;
const _dragArea = new Map();
let _isDragging = false;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.removeFormat = exports.format = void 0;
- Util_1 = tslib_1.__importDefault(Util_1);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
function isValidSelection(editorElement) {
let element = window.getSelection().anchorNode;
while (element) {
*/
define(["require", "exports", "tslib", "../../Core", "../../Event/Handler", "../../Language"], function (require, exports, tslib_1, Core, EventHandler, Language) {
"use strict";
- Core = tslib_1.__importStar(Core);
- EventHandler = tslib_1.__importStar(EventHandler);
- Language = tslib_1.__importStar(Language);
+ Core = (0, tslib_1.__importStar)(Core);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ Language = (0, tslib_1.__importStar)(Language);
class UiRedactorHtml {
/**
* Initializes the source code management.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.showDialog = void 0;
- Util_1 = tslib_1.__importDefault(Util_1);
- Language = tslib_1.__importStar(Language);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
class UiRedactorLink {
constructor() {
this.boundListener = false;
*/
define(["require", "exports", "tslib", "../../Ajax", "../../Core", "../../StringUtil", "../CloseOverlay"], function (require, exports, tslib_1, Ajax, Core, StringUtil, CloseOverlay_1) {
"use strict";
- Ajax = tslib_1.__importStar(Ajax);
- Core = tslib_1.__importStar(Core);
- StringUtil = tslib_1.__importStar(StringUtil);
- CloseOverlay_1 = tslib_1.__importDefault(CloseOverlay_1);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Core = (0, tslib_1.__importStar)(Core);
+ StringUtil = (0, tslib_1.__importStar)(StringUtil);
+ CloseOverlay_1 = (0, tslib_1.__importDefault)(CloseOverlay_1);
let _dropdownContainer = null;
const DropDownPixelOffset = 7;
class UiRedactorMention {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.convertFromHtml = void 0;
- EventHandler = tslib_1.__importStar(EventHandler);
- Util_1 = tslib_1.__importDefault(Util_1);
- StringUtil = tslib_1.__importStar(StringUtil);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ StringUtil = (0, tslib_1.__importStar)(StringUtil);
/**
* Returns a text node representing the opening bbcode tag.
*/
*/
define(["require", "exports", "tslib", "../../Core", "../Page/Search"], function (require, exports, tslib_1, Core, UiPageSearch) {
"use strict";
- Core = tslib_1.__importStar(Core);
- UiPageSearch = tslib_1.__importStar(UiPageSearch);
+ Core = (0, tslib_1.__importStar)(Core);
+ UiPageSearch = (0, tslib_1.__importStar)(UiPageSearch);
class UiRedactorPage {
constructor(editor, button) {
this._editor = editor;
*/
define(["require", "exports", "tslib", "../../Core", "../../Dom/Util", "../../Event/Handler", "../../Language", "../../StringUtil", "../Dialog", "./Metacode", "./PseudoHeader"], function (require, exports, tslib_1, Core, Util_1, EventHandler, Language, StringUtil, Dialog_1, UiRedactorMetacode, UiRedactorPseudoHeader) {
"use strict";
- Core = tslib_1.__importStar(Core);
- Util_1 = tslib_1.__importDefault(Util_1);
- EventHandler = tslib_1.__importStar(EventHandler);
- Language = tslib_1.__importStar(Language);
- StringUtil = tslib_1.__importStar(StringUtil);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
- UiRedactorMetacode = tslib_1.__importStar(UiRedactorMetacode);
- UiRedactorPseudoHeader = tslib_1.__importStar(UiRedactorPseudoHeader);
+ Core = (0, tslib_1.__importStar)(Core);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ Language = (0, tslib_1.__importStar)(Language);
+ StringUtil = (0, tslib_1.__importStar)(StringUtil);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
+ UiRedactorMetacode = (0, tslib_1.__importStar)(UiRedactorMetacode);
+ UiRedactorPseudoHeader = (0, tslib_1.__importStar)(UiRedactorPseudoHeader);
let _headerHeight = 0;
class UiRedactorQuote {
/**
*/
define(["require", "exports", "tslib", "../../Core", "../../Dom/Util", "../../Event/Handler", "../../Language", "../Dialog", "./PseudoHeader"], function (require, exports, tslib_1, Core, Util_1, EventHandler, Language, Dialog_1, UiRedactorPseudoHeader) {
"use strict";
- Core = tslib_1.__importStar(Core);
- Util_1 = tslib_1.__importDefault(Util_1);
- EventHandler = tslib_1.__importStar(EventHandler);
- Language = tslib_1.__importStar(Language);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
- UiRedactorPseudoHeader = tslib_1.__importStar(UiRedactorPseudoHeader);
+ Core = (0, tslib_1.__importStar)(Core);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ Language = (0, tslib_1.__importStar)(Language);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
+ UiRedactorPseudoHeader = (0, tslib_1.__importStar)(UiRedactorPseudoHeader);
let _headerHeight = 0;
class UiRedactorSpoiler {
/**
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.showDialog = void 0;
- Language = tslib_1.__importStar(Language);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
class UiRedactorTable {
open(options) {
Dialog_1.default.open(this);
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.setDialogContainer = exports.pageOverlayIsActive = exports.pageOverlayClose = exports.pageOverlayOpen = exports.scrollEnable = exports.scrollDisable = exports.is = exports.remove = exports.on = void 0;
- Core = tslib_1.__importStar(Core);
- Environment = tslib_1.__importStar(Environment);
+ Core = (0, tslib_1.__importStar)(Core);
+ Environment = (0, tslib_1.__importStar)(Environment);
const _mql = new Map();
let _scrollDisableCounter = 0;
let _scrollOffsetFrom;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.element = void 0;
- Util_1 = tslib_1.__importDefault(Util_1);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
let _callback = null;
let _offset = null;
let _timeoutScroll = null;
*/
define(["require", "exports", "tslib", "../../Ajax", "../../Core", "../../Dom/Util", "../Dropdown/Simple"], function (require, exports, tslib_1, Ajax, Core, Util_1, Simple_1) {
"use strict";
- Ajax = tslib_1.__importStar(Ajax);
- Core = tslib_1.__importStar(Core);
- Util_1 = tslib_1.__importDefault(Util_1);
- Simple_1 = tslib_1.__importDefault(Simple_1);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Core = (0, tslib_1.__importStar)(Core);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ Simple_1 = (0, tslib_1.__importDefault)(Simple_1);
class UiSearchInput {
/**
* Initializes the search input field.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.init = void 0;
- Core = tslib_1.__importStar(Core);
- DomTraverse = tslib_1.__importStar(DomTraverse);
- Util_1 = tslib_1.__importDefault(Util_1);
- Simple_1 = tslib_1.__importDefault(Simple_1);
- UiScreen = tslib_1.__importStar(UiScreen);
- Input_1 = tslib_1.__importDefault(Input_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ DomTraverse = (0, tslib_1.__importStar)(DomTraverse);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ Simple_1 = (0, tslib_1.__importDefault)(Simple_1);
+ UiScreen = (0, tslib_1.__importStar)(UiScreen);
+ Input_1 = (0, tslib_1.__importDefault)(Input_1);
function click(event) {
event.preventDefault();
const pageHeader = document.getElementById("pageHeader");
*/
define(["require", "exports", "tslib", "../../Core", "../../Event/Handler"], function (require, exports, tslib_1, Core, EventHandler) {
"use strict";
- Core = tslib_1.__importStar(Core);
- EventHandler = tslib_1.__importStar(EventHandler);
+ Core = (0, tslib_1.__importStar)(Core);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
class UiSmileyInsert {
constructor(editorId) {
this.editorId = editorId;
*/
define(["require", "exports", "tslib", "../../Core", "../Screen"], function (require, exports, tslib_1, Core, UiScreen) {
"use strict";
- Core = tslib_1.__importStar(Core);
- UiScreen = tslib_1.__importStar(UiScreen);
+ Core = (0, tslib_1.__importStar)(Core);
+ UiScreen = (0, tslib_1.__importStar)(UiScreen);
class UiSortableList {
/**
* Initializes the sortable list controller.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.open = exports.setup = void 0;
- Language = tslib_1.__importStar(Language);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
- Filter_1 = tslib_1.__importDefault(Filter_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
+ Filter_1 = (0, tslib_1.__importDefault)(Filter_1);
class UiStyleFontAwesome {
constructor(icons) {
this.callback = undefined;
*/
define(["require", "exports", "tslib", "../Ajax", "../Core", "./Dropdown/Simple"], function (require, exports, tslib_1, Ajax, Core, Simple_1) {
"use strict";
- Ajax = tslib_1.__importStar(Ajax);
- Core = tslib_1.__importStar(Core);
- Simple_1 = tslib_1.__importDefault(Simple_1);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Core = (0, tslib_1.__importStar)(Core);
+ Simple_1 = (0, tslib_1.__importDefault)(Simple_1);
class UiSuggestion {
/**
* Initializes a new suggestion input.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.scrollToTab = exports.getTabMenu = exports.setup = void 0;
- Listener_1 = tslib_1.__importDefault(Listener_1);
- Util_1 = tslib_1.__importDefault(Util_1);
- Simple_1 = tslib_1.__importDefault(Simple_1);
- CloseOverlay_1 = tslib_1.__importDefault(CloseOverlay_1);
- UiScreen = tslib_1.__importStar(UiScreen);
- UiScroll = tslib_1.__importStar(UiScroll);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ Simple_1 = (0, tslib_1.__importDefault)(Simple_1);
+ CloseOverlay_1 = (0, tslib_1.__importDefault)(CloseOverlay_1);
+ UiScreen = (0, tslib_1.__importStar)(UiScreen);
+ UiScroll = (0, tslib_1.__importStar)(UiScroll);
let _activeList = null;
let _enableTabScroll = false;
const _tabMenus = new Map();
*/
define(["require", "exports", "tslib", "../../Core", "../../Dom/Traverse", "../../Dom/Util", "../../Environment", "../../Event/Handler"], function (require, exports, tslib_1, Core, DomTraverse, Util_1, Environment, EventHandler) {
"use strict";
- Core = tslib_1.__importStar(Core);
- DomTraverse = tslib_1.__importStar(DomTraverse);
- Util_1 = tslib_1.__importDefault(Util_1);
- Environment = tslib_1.__importStar(Environment);
- EventHandler = tslib_1.__importStar(EventHandler);
+ Core = (0, tslib_1.__importStar)(Core);
+ DomTraverse = (0, tslib_1.__importStar)(DomTraverse);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ Environment = (0, tslib_1.__importStar)(Environment);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
class TabMenuSimple {
constructor(container) {
this.containers = new Map();
*/
define(["require", "exports", "tslib", "../../Core", "../../Dom/Util"], function (require, exports, tslib_1, Core, Util_1) {
"use strict";
- Core = tslib_1.__importStar(Core);
- Util_1 = tslib_1.__importDefault(Util_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
class UiToggleInput {
/**
* Initializes a new input toggle.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.init = exports.setup = void 0;
- Listener_1 = tslib_1.__importDefault(Listener_1);
- Environment = tslib_1.__importStar(Environment);
- UiAlignment = tslib_1.__importStar(UiAlignment);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ Environment = (0, tslib_1.__importStar)(Environment);
+ UiAlignment = (0, tslib_1.__importStar)(UiAlignment);
let _pointer;
let _text;
let _tooltip;
define(["require", "exports", "tslib", "../../../Ajax", "../../../Core", "../../../Language", "../../../Dom/Util"], function (require, exports, tslib_1, Ajax, Core, Language, Util_1) {
"use strict";
- Ajax = tslib_1.__importStar(Ajax);
- Core = tslib_1.__importStar(Core);
- Language = tslib_1.__importStar(Language);
- Util_1 = tslib_1.__importDefault(Util_1);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Core = (0, tslib_1.__importStar)(Core);
+ Language = (0, tslib_1.__importStar)(Language);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
class UiUserActivityRecent {
constructor(containerId) {
this.containerId = containerId;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.init = void 0;
- Ajax = tslib_1.__importStar(Ajax);
- Util_1 = tslib_1.__importDefault(Util_1);
- EventHandler = tslib_1.__importStar(EventHandler);
- Language = tslib_1.__importStar(Language);
- UiConfirmation = tslib_1.__importStar(UiConfirmation);
- UiNotification = tslib_1.__importStar(UiNotification);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ Language = (0, tslib_1.__importStar)(Language);
+ UiConfirmation = (0, tslib_1.__importStar)(UiConfirmation);
+ UiNotification = (0, tslib_1.__importStar)(UiNotification);
class UiUserCoverPhotoDelete {
/**
* Initializes the delete handler and enables the delete button on upload.
*/
define(["require", "exports", "tslib", "../../../Core", "../../../Dom/Util", "../../../Event/Handler", "../../Dialog", "../../Notification", "../../../Upload"], function (require, exports, tslib_1, Core, Util_1, EventHandler, UiDialog, UiNotification, Upload_1) {
"use strict";
- Core = tslib_1.__importStar(Core);
- Util_1 = tslib_1.__importDefault(Util_1);
- EventHandler = tslib_1.__importStar(EventHandler);
- UiDialog = tslib_1.__importStar(UiDialog);
- UiNotification = tslib_1.__importStar(UiNotification);
- Upload_1 = tslib_1.__importDefault(Upload_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ EventHandler = (0, tslib_1.__importStar)(EventHandler);
+ UiDialog = (0, tslib_1.__importStar)(UiDialog);
+ UiNotification = (0, tslib_1.__importStar)(UiNotification);
+ Upload_1 = (0, tslib_1.__importDefault)(Upload_1);
/**
* @constructor
*/
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.init = void 0;
- Ajax = tslib_1.__importStar(Ajax);
- Core = tslib_1.__importStar(Core);
- Util_1 = tslib_1.__importDefault(Util_1);
- Language = tslib_1.__importStar(Language);
- StringUtil = tslib_1.__importStar(StringUtil);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
- UiNotification = tslib_1.__importStar(UiNotification);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Core = (0, tslib_1.__importStar)(Core);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ StringUtil = (0, tslib_1.__importStar)(StringUtil);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
+ UiNotification = (0, tslib_1.__importStar)(UiNotification);
class UserEditor {
constructor() {
this.actionName = "";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.init = void 0;
- Listener_1 = tslib_1.__importDefault(Listener_1);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
const _availableMessages = document.getElementsByClassName("ignoredUserMessage");
const _knownMessages = new Set();
/**
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UiUserIgnoreList = void 0;
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
- Language = tslib_1.__importStar(Language);
- UiNotification = tslib_1.__importStar(UiNotification);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ UiNotification = (0, tslib_1.__importStar)(UiNotification);
class UiUserIgnoreList {
constructor() {
this.dialogs = new Map();
*/
define(["require", "exports", "tslib", "../../Ajax", "../../Core", "../../Dom/Util", "../Dialog", "../Pagination"], function (require, exports, tslib_1, Ajax, Core, Util_1, Dialog_1, Pagination_1) {
"use strict";
- Ajax = tslib_1.__importStar(Ajax);
- Core = tslib_1.__importStar(Core);
- Util_1 = tslib_1.__importDefault(Util_1);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
- Pagination_1 = tslib_1.__importDefault(Pagination_1);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Core = (0, tslib_1.__importStar)(Core);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
+ Pagination_1 = (0, tslib_1.__importDefault)(Pagination_1);
/**
* @constructor
*/
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.renderAll = exports.render = void 0;
- qr_creator_1 = tslib_1.__importDefault(qr_creator_1);
+ qr_creator_1 = (0, tslib_1.__importDefault)(qr_creator_1);
function render(container) {
const secret = container.querySelector(".totpSecret");
if (!secret) {
define(["require", "exports", "tslib", "../../Language", "../../Dom/Util"], function (require, exports, tslib_1, Language, Util_1) {
"use strict";
var _a;
- Language = tslib_1.__importStar(Language);
- Util_1 = tslib_1.__importDefault(Util_1);
+ Language = (0, tslib_1.__importStar)(Language);
+ Util_1 = (0, tslib_1.__importDefault)(Util_1);
const STATIC_DICTIONARY = [];
const siteName = (_a = document.querySelector('meta[property="og:site_name"]')) === null || _a === void 0 ? void 0 : _a.getAttribute("content");
if (siteName) {
*/
define(["require", "exports", "tslib", "../../../../../Ajax", "../../../../../Core"], function (require, exports, tslib_1, Ajax, Core) {
"use strict";
- Ajax = tslib_1.__importStar(Ajax);
- Core = tslib_1.__importStar(Core);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Core = (0, tslib_1.__importStar)(Core);
class UiUserProfileMenuItemAbstract {
/**
* Creates a new user profile menu item.
*/
define(["require", "exports", "tslib", "../../../../../Core", "../../../../../Language", "../../../../Notification", "./Abstract"], function (require, exports, tslib_1, Core, Language, UiNotification, Abstract_1) {
"use strict";
- Core = tslib_1.__importStar(Core);
- Language = tslib_1.__importStar(Language);
- UiNotification = tslib_1.__importStar(UiNotification);
- Abstract_1 = tslib_1.__importDefault(Abstract_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ Language = (0, tslib_1.__importStar)(Language);
+ UiNotification = (0, tslib_1.__importStar)(UiNotification);
+ Abstract_1 = (0, tslib_1.__importDefault)(Abstract_1);
class UiUserProfileMenuItemFollow extends Abstract_1.default {
constructor(userId, isActive) {
super(userId, isActive);
*/
define(["require", "exports", "tslib", "../../../../../Core", "../../../../../Language", "../../../../Notification", "./Abstract", "../../../../../Form/Builder/Dialog"], function (require, exports, tslib_1, Core, Language, UiNotification, Abstract_1, Dialog_1) {
"use strict";
- Core = tslib_1.__importStar(Core);
- Language = tslib_1.__importStar(Language);
- UiNotification = tslib_1.__importStar(UiNotification);
- Abstract_1 = tslib_1.__importDefault(Abstract_1);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ Language = (0, tslib_1.__importStar)(Language);
+ UiNotification = (0, tslib_1.__importStar)(UiNotification);
+ Abstract_1 = (0, tslib_1.__importDefault)(Abstract_1);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
class UiUserProfileMenuItemIgnore extends Abstract_1.default {
constructor(userId, isActive) {
super(userId, isActive);
*/
define(["require", "exports", "tslib", "../../../Core", "../../Search/Input"], function (require, exports, tslib_1, Core, Input_1) {
"use strict";
- Core = tslib_1.__importStar(Core);
- Input_1 = tslib_1.__importDefault(Input_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ Input_1 = (0, tslib_1.__importDefault)(Input_1);
class UiUserSearchInput extends Input_1.default {
constructor(element, options) {
const includeUserGroups = Core.isPlainObject(options) && options.includeUserGroups === true;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UiUserSessionDelete = void 0;
- Ajax = tslib_1.__importStar(Ajax);
- UiNotification = tslib_1.__importStar(UiNotification);
- UiConfirmation = tslib_1.__importStar(UiConfirmation);
- Language = tslib_1.__importStar(Language);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ UiNotification = (0, tslib_1.__importStar)(UiNotification);
+ UiConfirmation = (0, tslib_1.__importStar)(UiConfirmation);
+ Language = (0, tslib_1.__importStar)(Language);
class UiUserSessionDelete {
/**
* Initializes the session delete buttons.
*/
define(["require", "exports", "tslib", "../../../Ajax", "../../../Core", "../../../Dom/Change/Listener", "../../Dialog", "../../Pagination"], function (require, exports, tslib_1, Ajax, Core, Listener_1, Dialog_1, Pagination_1) {
"use strict";
- Ajax = tslib_1.__importStar(Ajax);
- Core = tslib_1.__importStar(Core);
- Listener_1 = tslib_1.__importDefault(Listener_1);
- Dialog_1 = tslib_1.__importDefault(Dialog_1);
- Pagination_1 = tslib_1.__importDefault(Pagination_1);
+ Ajax = (0, tslib_1.__importStar)(Ajax);
+ Core = (0, tslib_1.__importStar)(Core);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ Dialog_1 = (0, tslib_1.__importDefault)(Dialog_1);
+ Pagination_1 = (0, tslib_1.__importDefault)(Pagination_1);
class CacheData {
constructor(pageCount, title) {
this.pageCount = pageCount;
*/
define(["require", "exports", "tslib", "./Ajax/Request", "./Core", "./Dom/Change/Listener", "./Language"], function (require, exports, tslib_1, Request_1, Core, Listener_1, Language) {
"use strict";
- Request_1 = tslib_1.__importDefault(Request_1);
- Core = tslib_1.__importStar(Core);
- Listener_1 = tslib_1.__importDefault(Listener_1);
- Language = tslib_1.__importStar(Language);
+ Request_1 = (0, tslib_1.__importDefault)(Request_1);
+ Core = (0, tslib_1.__importStar)(Core);
+ Listener_1 = (0, tslib_1.__importDefault)(Listener_1);
+ Language = (0, tslib_1.__importStar)(Language);
class Upload {
constructor(buttonContainerId, targetId, options) {
this._button = document.createElement("p");