From d0c5f3c09be5bf9c907dcf5d975f52b0c58ac6d3 Mon Sep 17 00:00:00 2001 From: nathangray Date: Mon, 22 Mar 2021 11:42:50 -0600 Subject: [PATCH] Commit changes from update to TypeScript 3.9.9 so we don't keep reverting them. --- api/js/etemplate/et2_core_DOMWidget.js | 1 + api/js/etemplate/et2_core_arrayMgr.js | 1 + api/js/etemplate/et2_core_baseWidget.js | 1 + api/js/etemplate/et2_core_common.js | 3 +-- api/js/etemplate/et2_core_editableWidget.js | 1 + api/js/etemplate/et2_core_inheritance.js | 1 + api/js/etemplate/et2_core_inputWidget.js | 1 + api/js/etemplate/et2_core_valueWidget.js | 1 + api/js/etemplate/et2_core_widget.js | 1 + api/js/etemplate/et2_dataview.js | 1 + api/js/etemplate/et2_dataview_controller.js | 1 + api/js/etemplate/et2_dataview_model_columns.js | 5 +++-- api/js/etemplate/et2_dataview_view_container.js | 1 + api/js/etemplate/et2_dataview_view_grid.js | 1 + api/js/etemplate/et2_dataview_view_resizeable.js | 1 + api/js/etemplate/et2_dataview_view_row.js | 1 + api/js/etemplate/et2_dataview_view_rowProvider.js | 1 + api/js/etemplate/et2_dataview_view_spacer.js | 1 + api/js/etemplate/et2_dataview_view_tile.js | 1 + api/js/etemplate/et2_extension_customfields.js | 1 + api/js/etemplate/et2_extension_nextmatch_controller.js | 1 + api/js/etemplate/et2_extension_nextmatch_rowProvider.js | 1 + api/js/etemplate/et2_widget_barcode.js | 1 + api/js/etemplate/et2_widget_box.js | 1 + api/js/etemplate/et2_widget_button.js | 1 + api/js/etemplate/et2_widget_checkbox.js | 1 + api/js/etemplate/et2_widget_color.js | 1 + api/js/etemplate/et2_widget_description.js | 1 + api/js/etemplate/et2_widget_diff.js | 1 + api/js/etemplate/et2_widget_dropdown_button.js | 1 + api/js/etemplate/et2_widget_dynheight.js | 1 + api/js/etemplate/et2_widget_file.js | 1 + api/js/etemplate/et2_widget_grid.js | 1 + api/js/etemplate/et2_widget_historylog.js | 1 + api/js/etemplate/et2_widget_html.js | 1 + api/js/etemplate/et2_widget_htmlarea.js | 1 + api/js/etemplate/et2_widget_itempicker.js | 3 +-- api/js/etemplate/et2_widget_number.js | 1 + api/js/etemplate/et2_widget_password.js | 1 + api/js/etemplate/et2_widget_radiobox.js | 1 + api/js/etemplate/et2_widget_selectAccount.js | 1 + api/js/etemplate/et2_widget_styles.js | 1 + api/js/etemplate/et2_widget_taglist.js | 1 + api/js/etemplate/et2_widget_template.js | 1 + api/js/etemplate/et2_widget_textbox.js | 1 + api/js/etemplate/et2_widget_timestamper.js | 3 +-- api/js/etemplate/et2_widget_vfs.js | 1 + api/js/etemplate/etemplate2.js | 7 ++++--- api/js/etemplate/vfsSelectUI.js | 1 + 49 files changed, 54 insertions(+), 11 deletions(-) diff --git a/api/js/etemplate/et2_core_DOMWidget.js b/api/js/etemplate/et2_core_DOMWidget.js index bf6376ca33..77b42102b2 100644 --- a/api/js/etemplate/et2_core_DOMWidget.js +++ b/api/js/etemplate/et2_core_DOMWidget.js @@ -22,6 +22,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_action_object_impl = exports.et2_DOMWidget = void 0; /*egw:uses et2_core_interfaces; et2_core_widget; diff --git a/api/js/etemplate/et2_core_arrayMgr.js b/api/js/etemplate/et2_core_arrayMgr.js index eb9a684bb0..5d34a003f3 100644 --- a/api/js/etemplate/et2_core_arrayMgr.js +++ b/api/js/etemplate/et2_core_arrayMgr.js @@ -28,6 +28,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_arrayMgrs_expand = exports.et2_readonlysArrayMgr = exports.et2_arrayMgr = void 0; /** * Manage access to various template customisation arrays passed to etemplate->exec(). * diff --git a/api/js/etemplate/et2_core_baseWidget.js b/api/js/etemplate/et2_core_baseWidget.js index c328c50eef..5297e923e1 100644 --- a/api/js/etemplate/et2_core_baseWidget.js +++ b/api/js/etemplate/et2_core_baseWidget.js @@ -22,6 +22,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_container = exports.et2_baseWidget = void 0; /*egw:uses /vendor/bower-asset/jquery/dist/jquery.js; lib/tooltip; diff --git a/api/js/etemplate/et2_core_common.js b/api/js/etemplate/et2_core_common.js index 445c9d2cba..857b961bb3 100644 --- a/api/js/etemplate/et2_core_common.js +++ b/api/js/etemplate/et2_core_common.js @@ -428,7 +428,6 @@ function et2_activateLinks(_content) { * Inserts the structure generated by et2_activateLinks into the given DOM-Node */ function et2_insertLinkText(_text, _node, _target) { - var _a; if (!_node) { egw.debug("warn", "et2_insertLinkText called without node", _text, _node, _target); return; @@ -450,7 +449,7 @@ function et2_insertLinkText(_text, _node, _target) { } } } - else if ((_a = s) === null || _a === void 0 ? void 0 : _a.text) { + else if (s === null || s === void 0 ? void 0 : s.text) { if (!s.href) { egw.debug("warn", "et2_activateLinks gave bad data", s, _node, _target); s.href = ""; diff --git a/api/js/etemplate/et2_core_editableWidget.js b/api/js/etemplate/et2_core_editableWidget.js index 221c758995..2d355b44e9 100644 --- a/api/js/etemplate/et2_core_editableWidget.js +++ b/api/js/etemplate/et2_core_editableWidget.js @@ -22,6 +22,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_editableWidget = void 0; /*egw:uses et2_core_inputWidget; */ diff --git a/api/js/etemplate/et2_core_inheritance.js b/api/js/etemplate/et2_core_inheritance.js index 93d0bb3033..b4179168e6 100644 --- a/api/js/etemplate/et2_core_inheritance.js +++ b/api/js/etemplate/et2_core_inheritance.js @@ -9,6 +9,7 @@ * @author Andreas Stöckel */ Object.defineProperty(exports, "__esModule", { value: true }); +exports.ClassWithAttributes = void 0; /*egw:uses et2_core_common; */ diff --git a/api/js/etemplate/et2_core_inputWidget.js b/api/js/etemplate/et2_core_inputWidget.js index 6632c3b532..04d8d9ac20 100644 --- a/api/js/etemplate/et2_core_inputWidget.js +++ b/api/js/etemplate/et2_core_inputWidget.js @@ -22,6 +22,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_inputWidget = void 0; /*egw:uses /vendor/bower-asset/jquery/dist/jquery.js; et2_core_interfaces; diff --git a/api/js/etemplate/et2_core_valueWidget.js b/api/js/etemplate/et2_core_valueWidget.js index 246562d3e2..db9cb16eb1 100644 --- a/api/js/etemplate/et2_core_valueWidget.js +++ b/api/js/etemplate/et2_core_valueWidget.js @@ -24,6 +24,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_valueWidget = void 0; /*egw:uses /vendor/bower-asset/jquery/dist/jquery.js; et2_core_baseWidget; diff --git a/api/js/etemplate/et2_core_widget.js b/api/js/etemplate/et2_core_widget.js index be07d5a2ae..64f69d3056 100644 --- a/api/js/etemplate/et2_core_widget.js +++ b/api/js/etemplate/et2_core_widget.js @@ -22,6 +22,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_widget = exports.et2_createWidget = exports.et2_register_widget = void 0; /*egw:uses jsapi.egw; et2_core_xml; diff --git a/api/js/etemplate/et2_dataview.js b/api/js/etemplate/et2_dataview.js index 946fe0b971..7c4395983c 100644 --- a/api/js/etemplate/et2_dataview.js +++ b/api/js/etemplate/et2_dataview.js @@ -21,6 +21,7 @@ et2_dataview_view_resizeable; */ Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_dataview = void 0; var et2_dataview_model_columns_1 = require("./et2_dataview_model_columns"); var et2_dataview_view_resizeable_1 = require("./et2_dataview_view_resizeable"); var et2_dataview_view_grid_1 = require("./et2_dataview_view_grid"); diff --git a/api/js/etemplate/et2_dataview_controller.js b/api/js/etemplate/et2_dataview_controller.js index 3d02e0ab54..642c731960 100644 --- a/api/js/etemplate/et2_dataview_controller.js +++ b/api/js/etemplate/et2_dataview_controller.js @@ -21,6 +21,7 @@ egw_action.egw_action; */ Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_dataview_controller = void 0; var et2_dataview_controller_selection_1 = require("./et2_dataview_controller_selection"); var et2_dataview_view_row_1 = require("./et2_dataview_view_row"); /** diff --git a/api/js/etemplate/et2_dataview_model_columns.js b/api/js/etemplate/et2_dataview_model_columns.js index 83a7c10757..e31baf9cce 100755 --- a/api/js/etemplate/et2_dataview_model_columns.js +++ b/api/js/etemplate/et2_dataview_model_columns.js @@ -11,6 +11,7 @@ * @version $Id$ */ Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_dataview_columns = exports.et2_dataview_column = void 0; /*egw:uses et2_core_inheritance; et2_inheritance; @@ -204,14 +205,14 @@ var et2_dataview_columns = /** @class */ (function () { get: function () { return this._totalWidth; }, - enumerable: true, + enumerable: false, configurable: true }); Object.defineProperty(et2_dataview_columns.prototype, "totalFixed", { get: function () { return this._totalFixed ? this._totalFixed : 0; }, - enumerable: true, + enumerable: false, configurable: true }); /** diff --git a/api/js/etemplate/et2_dataview_view_container.js b/api/js/etemplate/et2_dataview_view_container.js index 08646d22d2..c550d34e49 100644 --- a/api/js/etemplate/et2_dataview_view_container.js +++ b/api/js/etemplate/et2_dataview_view_container.js @@ -11,6 +11,7 @@ * @version $Id$ */ Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_dataview_container = void 0; /** * The et2_dataview_container class is the main object each dataview consits of. * Each row, spacer as well as the grid itself are containers. A container is diff --git a/api/js/etemplate/et2_dataview_view_grid.js b/api/js/etemplate/et2_dataview_view_grid.js index 1fdad47d5e..f60f4731be 100644 --- a/api/js/etemplate/et2_dataview_view_grid.js +++ b/api/js/etemplate/et2_dataview_view_grid.js @@ -33,6 +33,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_dataview_grid = void 0; var et2_dataview_view_container_1 = require("./et2_dataview_view_container"); var et2_dataview_view_spacer_1 = require("./et2_dataview_view_spacer"); var et2_dataview_grid = /** @class */ (function (_super_1) { diff --git a/api/js/etemplate/et2_dataview_view_resizeable.js b/api/js/etemplate/et2_dataview_view_resizeable.js index f05f2ae732..51f4dc71d7 100644 --- a/api/js/etemplate/et2_dataview_view_resizeable.js +++ b/api/js/etemplate/et2_dataview_view_resizeable.js @@ -11,6 +11,7 @@ * @version $Id$ */ Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_dataview_view_resizable = void 0; /** * This set of functions is currently only supporting resizing in ew-direction */ diff --git a/api/js/etemplate/et2_dataview_view_row.js b/api/js/etemplate/et2_dataview_view_row.js index 25705ccd63..7be1abf354 100644 --- a/api/js/etemplate/et2_dataview_view_row.js +++ b/api/js/etemplate/et2_dataview_view_row.js @@ -30,6 +30,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_dataview_row = void 0; var et2_dataview_row = /** @class */ (function (_super) { __extends(et2_dataview_row, _super); /** diff --git a/api/js/etemplate/et2_dataview_view_rowProvider.js b/api/js/etemplate/et2_dataview_view_rowProvider.js index c8eadb189c..7cb0924f37 100644 --- a/api/js/etemplate/et2_dataview_view_rowProvider.js +++ b/api/js/etemplate/et2_dataview_view_rowProvider.js @@ -11,6 +11,7 @@ * @version $Id$ */ Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_dataview_rowProvider = void 0; /*egw:uses /vendor/bower-asset/jquery/dist/jquery.js; et2_core_inheritance; diff --git a/api/js/etemplate/et2_dataview_view_spacer.js b/api/js/etemplate/et2_dataview_view_spacer.js index f92d344cb6..f2c786aa80 100644 --- a/api/js/etemplate/et2_dataview_view_spacer.js +++ b/api/js/etemplate/et2_dataview_view_spacer.js @@ -24,6 +24,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_dataview_spacer = void 0; /*egw:uses /vendor/bower-asset/jquery/dist/jquery.js; et2_dataview_view_container; diff --git a/api/js/etemplate/et2_dataview_view_tile.js b/api/js/etemplate/et2_dataview_view_tile.js index 41154e3160..e021cace33 100644 --- a/api/js/etemplate/et2_dataview_view_tile.js +++ b/api/js/etemplate/et2_dataview_view_tile.js @@ -24,6 +24,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_dataview_tile = void 0; /*egw:uses /vendor/bower-asset/jquery/dist/jquery.js; et2_dataview_interfaces; diff --git a/api/js/etemplate/et2_extension_customfields.js b/api/js/etemplate/et2_extension_customfields.js index 6d27bd4a28..3b0acbc012 100644 --- a/api/js/etemplate/et2_extension_customfields.js +++ b/api/js/etemplate/et2_extension_customfields.js @@ -24,6 +24,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_customfields_list = void 0; /*egw:uses lib/tooltip; /vendor/bower-asset/jquery/dist/jquery.js; diff --git a/api/js/etemplate/et2_extension_nextmatch_controller.js b/api/js/etemplate/et2_extension_nextmatch_controller.js index 47d9cbe315..62f3c93577 100644 --- a/api/js/etemplate/et2_extension_nextmatch_controller.js +++ b/api/js/etemplate/et2_extension_nextmatch_controller.js @@ -38,6 +38,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_nextmatch_controller = void 0; var et2_dataview_view_row_1 = require("./et2_dataview_view_row"); var et2_dataview_view_tile_1 = require("./et2_dataview_view_tile"); var et2_dataview_controller_1 = require("./et2_dataview_controller"); diff --git a/api/js/etemplate/et2_extension_nextmatch_rowProvider.js b/api/js/etemplate/et2_extension_nextmatch_rowProvider.js index dfea5da3a5..c26fd7c722 100644 --- a/api/js/etemplate/et2_extension_nextmatch_rowProvider.js +++ b/api/js/etemplate/et2_extension_nextmatch_rowProvider.js @@ -24,6 +24,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_nextmatch_rowProvider = void 0; /*egw:uses /vendor/bower-asset/jquery/dist/jquery.js; et2_core_inheritance; diff --git a/api/js/etemplate/et2_widget_barcode.js b/api/js/etemplate/et2_widget_barcode.js index 922d9a8d32..3b4e56471f 100644 --- a/api/js/etemplate/et2_widget_barcode.js +++ b/api/js/etemplate/et2_widget_barcode.js @@ -24,6 +24,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_barcode = void 0; /*egw:uses /vendor/bower-asset/jquery/dist/jquery.js; /api/js/jquery/barcode/jquery-barcode.min.js; diff --git a/api/js/etemplate/et2_widget_box.js b/api/js/etemplate/et2_widget_box.js index 80fc18d0f0..75690d95c0 100644 --- a/api/js/etemplate/et2_widget_box.js +++ b/api/js/etemplate/et2_widget_box.js @@ -24,6 +24,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_details = exports.et2_box = void 0; /*egw:uses /vendor/bower-asset/jquery/dist/jquery.js; et2_core_baseWidget; diff --git a/api/js/etemplate/et2_widget_button.js b/api/js/etemplate/et2_widget_button.js index fc22d9c69d..09324db5d7 100644 --- a/api/js/etemplate/et2_widget_button.js +++ b/api/js/etemplate/et2_widget_button.js @@ -22,6 +22,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_button = void 0; /*egw:uses /vendor/bower-asset/jquery/dist/jquery.js; et2_core_interfaces; diff --git a/api/js/etemplate/et2_widget_checkbox.js b/api/js/etemplate/et2_widget_checkbox.js index 0260b267ae..d1571696ed 100644 --- a/api/js/etemplate/et2_widget_checkbox.js +++ b/api/js/etemplate/et2_widget_checkbox.js @@ -24,6 +24,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_checkbox = void 0; /*egw:uses /vendor/bower-asset/jquery/dist/jquery.js; et2_core_inputWidget; diff --git a/api/js/etemplate/et2_widget_color.js b/api/js/etemplate/et2_widget_color.js index 443b30e9bf..006cda6963 100644 --- a/api/js/etemplate/et2_widget_color.js +++ b/api/js/etemplate/et2_widget_color.js @@ -24,6 +24,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_color_ro = exports.et2_color = void 0; /*egw:uses /vendor/bower-asset/jquery/dist/jquery.js; et2_core_inputWidget; diff --git a/api/js/etemplate/et2_widget_description.js b/api/js/etemplate/et2_widget_description.js index 30b90ed63f..3fc352bbda 100644 --- a/api/js/etemplate/et2_widget_description.js +++ b/api/js/etemplate/et2_widget_description.js @@ -23,6 +23,7 @@ var __extends = (this && this.__extends) || (function () { })(); var _a; Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_description = void 0; /*egw:uses /vendor/bower-asset/jquery/dist/jquery.js; et2_core_baseWidget; diff --git a/api/js/etemplate/et2_widget_diff.js b/api/js/etemplate/et2_widget_diff.js index 575f18c5bb..1c21cfe914 100644 --- a/api/js/etemplate/et2_widget_diff.js +++ b/api/js/etemplate/et2_widget_diff.js @@ -24,6 +24,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_diff = void 0; /*egw:uses /vendor/bower-asset/jquery/dist/jquery.js; /vendor/bower-asset/jquery-ui/jquery-ui.js; diff --git a/api/js/etemplate/et2_widget_dropdown_button.js b/api/js/etemplate/et2_widget_dropdown_button.js index f08c16eec3..4582e0892d 100644 --- a/api/js/etemplate/et2_widget_dropdown_button.js +++ b/api/js/etemplate/et2_widget_dropdown_button.js @@ -24,6 +24,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_dropdown_button = void 0; /*egw:uses /vendor/bower-asset/jquery/dist/jquery.js; /vendor/bower-asset/jquery-ui/jquery-ui.js; diff --git a/api/js/etemplate/et2_widget_dynheight.js b/api/js/etemplate/et2_widget_dynheight.js index e9edccb598..3493c8ec3b 100644 --- a/api/js/etemplate/et2_widget_dynheight.js +++ b/api/js/etemplate/et2_widget_dynheight.js @@ -11,6 +11,7 @@ * @version $Id$ */ Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_dynheight = void 0; /*egw:use /vendor/bower-asset/jquery/dist/jquery.js; et2_core_inheritance; diff --git a/api/js/etemplate/et2_widget_file.js b/api/js/etemplate/et2_widget_file.js index fe403ff0d5..4edd555b4b 100644 --- a/api/js/etemplate/et2_widget_file.js +++ b/api/js/etemplate/et2_widget_file.js @@ -24,6 +24,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_file = void 0; /*egw:uses et2_core_inputWidget; phpgwapi.Resumable.resumable; diff --git a/api/js/etemplate/et2_widget_grid.js b/api/js/etemplate/et2_widget_grid.js index cff55a952d..45ed75af27 100644 --- a/api/js/etemplate/et2_widget_grid.js +++ b/api/js/etemplate/et2_widget_grid.js @@ -24,6 +24,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_grid = void 0; /*egw:uses /vendor/bower-asset/jquery/dist/jquery.js; et2_core_DOMWidget; diff --git a/api/js/etemplate/et2_widget_historylog.js b/api/js/etemplate/et2_widget_historylog.js index 9390c46fda..fcaef5022a 100644 --- a/api/js/etemplate/et2_widget_historylog.js +++ b/api/js/etemplate/et2_widget_historylog.js @@ -23,6 +23,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_historylog = void 0; var et2_core_widget_1 = require("./et2_core_widget"); var et2_core_inheritance_1 = require("./et2_core_inheritance"); var et2_core_valueWidget_1 = require("./et2_core_valueWidget"); diff --git a/api/js/etemplate/et2_widget_html.js b/api/js/etemplate/et2_widget_html.js index 2f9a015e62..dc8dd08b4c 100644 --- a/api/js/etemplate/et2_widget_html.js +++ b/api/js/etemplate/et2_widget_html.js @@ -22,6 +22,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_html = void 0; /*egw:uses jsapi.jsapi; // Needed for egw_seperateJavaScript /vendor/bower-asset/jquery/dist/jquery.js; diff --git a/api/js/etemplate/et2_widget_htmlarea.js b/api/js/etemplate/et2_widget_htmlarea.js index 780ba905b6..99110045e9 100644 --- a/api/js/etemplate/et2_widget_htmlarea.js +++ b/api/js/etemplate/et2_widget_htmlarea.js @@ -24,6 +24,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_htmlarea = void 0; /*egw:uses jsapi.jsapi; // Needed for egw_seperateJavaScript /vendor/tinymce/tinymce/tinymce.min.js; diff --git a/api/js/etemplate/et2_widget_itempicker.js b/api/js/etemplate/et2_widget_itempicker.js index 9aaf39dee9..44cadae132 100755 --- a/api/js/etemplate/et2_widget_itempicker.js +++ b/api/js/etemplate/et2_widget_itempicker.js @@ -272,7 +272,6 @@ var et2_itempicker = /** @class */ (function (_super) { item.attr("id", id) .html(data[id]) .click(function (e) { - var _a; if (e.ctrlKey || e.metaKey) { // add to selection jQuery(this).addClass("selected"); @@ -280,7 +279,7 @@ var et2_itempicker = /** @class */ (function (_super) { else if (e.shiftKey) { // select range var start = jQuery(this).siblings(".selected").first(); - if (((_a = start) === null || _a === void 0 ? void 0 : _a.length) == 0) { + if ((start === null || start === void 0 ? void 0 : start.length) == 0) { // no start item - cannot select range - select single item jQuery(this).addClass("selected"); return true; diff --git a/api/js/etemplate/et2_widget_number.js b/api/js/etemplate/et2_widget_number.js index 97aef22394..c3644ca865 100644 --- a/api/js/etemplate/et2_widget_number.js +++ b/api/js/etemplate/et2_widget_number.js @@ -22,6 +22,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_number = void 0; /*egw:uses et2_widget_textbox; */ diff --git a/api/js/etemplate/et2_widget_password.js b/api/js/etemplate/et2_widget_password.js index c5a8a80236..0d31af1b4d 100644 --- a/api/js/etemplate/et2_widget_password.js +++ b/api/js/etemplate/et2_widget_password.js @@ -22,6 +22,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_password_ro = exports.et2_password = void 0; /*egw:uses /vendor/bower-asset/jquery/dist/jquery.js; et2_core_inputWidget; diff --git a/api/js/etemplate/et2_widget_radiobox.js b/api/js/etemplate/et2_widget_radiobox.js index d24ed506a4..fb0e1c7631 100644 --- a/api/js/etemplate/et2_widget_radiobox.js +++ b/api/js/etemplate/et2_widget_radiobox.js @@ -24,6 +24,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_radiobox = void 0; /*egw:uses /vendor/bower-asset/jquery/dist/jquery.js; et2_core_inputWidget; diff --git a/api/js/etemplate/et2_widget_selectAccount.js b/api/js/etemplate/et2_widget_selectAccount.js index 32cbdff70e..7229636872 100644 --- a/api/js/etemplate/et2_widget_selectAccount.js +++ b/api/js/etemplate/et2_widget_selectAccount.js @@ -27,6 +27,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_selectAccount_ro = exports.et2_selectAccount = void 0; /*egw:uses et2_widget_link; */ diff --git a/api/js/etemplate/et2_widget_styles.js b/api/js/etemplate/et2_widget_styles.js index 72c85cba17..f068d7fe56 100644 --- a/api/js/etemplate/et2_widget_styles.js +++ b/api/js/etemplate/et2_widget_styles.js @@ -24,6 +24,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_styles = void 0; /*egw:uses et2_core_widget; */ diff --git a/api/js/etemplate/et2_widget_taglist.js b/api/js/etemplate/et2_widget_taglist.js index dc89d07888..90569638ad 100644 --- a/api/js/etemplate/et2_widget_taglist.js +++ b/api/js/etemplate/et2_widget_taglist.js @@ -23,6 +23,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_taglist = void 0; /*egw:uses et2_core_inputWidget; /vendor/egroupware/magicsuggest/magicsuggest.js; diff --git a/api/js/etemplate/et2_widget_template.js b/api/js/etemplate/et2_widget_template.js index 7b5807f48c..74deff2fb3 100644 --- a/api/js/etemplate/et2_widget_template.js +++ b/api/js/etemplate/et2_widget_template.js @@ -22,6 +22,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_template = void 0; /*egw:uses et2_core_xml; et2_core_DOMWidget; diff --git a/api/js/etemplate/et2_widget_textbox.js b/api/js/etemplate/et2_widget_textbox.js index cba13db0f3..c31eb85f1a 100644 --- a/api/js/etemplate/et2_widget_textbox.js +++ b/api/js/etemplate/et2_widget_textbox.js @@ -22,6 +22,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_textbox_ro = exports.et2_textbox = void 0; /*egw:uses /vendor/bower-asset/jquery/dist/jquery.js; et2_core_inputWidget; diff --git a/api/js/etemplate/et2_widget_timestamper.js b/api/js/etemplate/et2_widget_timestamper.js index 6164b33734..d078207b9b 100644 --- a/api/js/etemplate/et2_widget_timestamper.js +++ b/api/js/etemplate/et2_widget_timestamper.js @@ -134,7 +134,6 @@ var et2_timestamper = /** @class */ (function (_super) { tab.activateTab(widget); }; et2_timestamper.prototype._get_input = function (target) { - var _a; var input = null; var widget = null; if (typeof target == 'string') { @@ -149,7 +148,7 @@ var et2_timestamper = /** @class */ (function (_super) { if (widget) { return widget; } - if ((_a = input) === null || _a === void 0 ? void 0 : _a.context) { + if (input === null || input === void 0 ? void 0 : input.context) { input = input.get(0); } return input; diff --git a/api/js/etemplate/et2_widget_vfs.js b/api/js/etemplate/et2_widget_vfs.js index 5679b31f83..8baed18190 100644 --- a/api/js/etemplate/et2_widget_vfs.js +++ b/api/js/etemplate/et2_widget_vfs.js @@ -24,6 +24,7 @@ var __extends = (this && this.__extends) || (function () { })(); var _a; Object.defineProperty(exports, "__esModule", { value: true }); +exports.et2_vfsSelect = exports.et2_vfsPath = exports.et2_vfs = void 0; /*egw:uses /vendor/bower-asset/jquery/dist/jquery.js; vfsSelectUI; diff --git a/api/js/etemplate/etemplate2.js b/api/js/etemplate/etemplate2.js index 732cb967ef..c91daed165 100644 --- a/api/js/etemplate/etemplate2.js +++ b/api/js/etemplate/etemplate2.js @@ -75,6 +75,7 @@ jsapi.egw_json; */ Object.defineProperty(exports, "__esModule", { value: true }); +exports.etemplate2 = void 0; var et2_core_baseWidget_1 = require("./et2_core_baseWidget"); var egw_app_1 = require("../jsapi/egw_app"); /** @@ -214,21 +215,21 @@ var etemplate2 = /** @class */ (function () { get: function () { return this._widgetContainer; }, - enumerable: true, + enumerable: false, configurable: true }); Object.defineProperty(etemplate2.prototype, "DOMContainer", { get: function () { return this._DOMContainer; }, - enumerable: true, + enumerable: false, configurable: true }); Object.defineProperty(etemplate2.prototype, "etemplate_exec_id", { get: function () { return this._etemplate_exec_id; }, - enumerable: true, + enumerable: false, configurable: true }); /** diff --git a/api/js/etemplate/vfsSelectUI.js b/api/js/etemplate/vfsSelectUI.js index d7189e5cbf..9f6b0ed8b5 100644 --- a/api/js/etemplate/vfsSelectUI.js +++ b/api/js/etemplate/vfsSelectUI.js @@ -23,6 +23,7 @@ var __extends = (this && this.__extends) || (function () { }; })(); Object.defineProperty(exports, "__esModule", { value: true }); +exports.vfsSelectUI = void 0; /*egw:uses /api/js/jsapi/egw_app.js */