@oat-sa/tao-core-ui 1.48.0 → 1.49.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/dist/actionbar.js +5 -11
  2. package/dist/animable/absorbable/absorbable.js +5 -11
  3. package/dist/animable/pulsable/pulsable.js +5 -11
  4. package/dist/badge/badge.js +5 -11
  5. package/dist/breadcrumbs.js +5 -11
  6. package/dist/bulkActionPopup.js +5 -11
  7. package/dist/button.js +5 -11
  8. package/dist/cascadingComboBox.js +5 -11
  9. package/dist/ckeditor/ckConfigurator.js +22 -6
  10. package/dist/class/selector.js +5 -11
  11. package/dist/component/windowed.js +5 -11
  12. package/dist/component.js +5 -11
  13. package/dist/contextualPopup.js +5 -11
  14. package/dist/dashboard.js +5 -11
  15. package/dist/datalist.js +5 -11
  16. package/dist/datatable.js +5 -11
  17. package/dist/dateRange/dateRange.js +5 -11
  18. package/dist/datetime/picker.js +5 -11
  19. package/dist/deleter.js +5 -11
  20. package/dist/destination/selector.js +5 -11
  21. package/dist/dialog/confirmDelete.js +5 -11
  22. package/dist/dialog.js +5 -11
  23. package/dist/documentViewer/providers/pdfViewer/fallback/viewer.js +5 -11
  24. package/dist/documentViewer/providers/pdfViewer/pdfjs/findBar.js +5 -11
  25. package/dist/documentViewer/providers/pdfViewer/pdfjs/pageView.js +5 -11
  26. package/dist/documentViewer/providers/pdfViewer/pdfjs/searchEngine.js +5 -11
  27. package/dist/documentViewer/providers/pdfViewer/pdfjs/viewer.js +5 -11
  28. package/dist/documentViewer/providers/pdfViewer.js +5 -11
  29. package/dist/documentViewer.js +5 -11
  30. package/dist/dropdown.js +5 -11
  31. package/dist/dynamicComponent.js +5 -11
  32. package/dist/feedback.js +5 -11
  33. package/dist/filter.js +5 -11
  34. package/dist/form/dropdownForm.js +5 -11
  35. package/dist/form/form.js +5 -11
  36. package/dist/form/validator/renderer.js +5 -11
  37. package/dist/form/widget/providers/checkBox.js +5 -11
  38. package/dist/form/widget/providers/comboBox.js +5 -11
  39. package/dist/form/widget/providers/hidden.js +5 -11
  40. package/dist/form/widget/providers/hiddenBox.js +5 -11
  41. package/dist/form/widget/providers/radioBox.js +5 -11
  42. package/dist/form/widget/providers/textArea.js +5 -11
  43. package/dist/form/widget/widget.js +5 -11
  44. package/dist/generis/form/form.js +5 -11
  45. package/dist/generis/validator/validator.js +5 -11
  46. package/dist/generis/widget/checkBox/checkBox.js +5 -11
  47. package/dist/generis/widget/comboBox/comboBox.js +5 -11
  48. package/dist/generis/widget/hiddenBox/hiddenBox.js +5 -11
  49. package/dist/generis/widget/textBox/textBox.js +5 -11
  50. package/dist/generis/widget/widget.js +5 -11
  51. package/dist/groupedComboBox.js +5 -11
  52. package/dist/highlighter.js +5 -11
  53. package/dist/image/ImgStateActive/initHelper.js +1 -1
  54. package/dist/image/ImgStateActive.js +1 -1
  55. package/dist/itemButtonList.js +5 -11
  56. package/dist/listbox.js +5 -11
  57. package/dist/loadingButton/loadingButton.js +5 -11
  58. package/dist/lock.js +5 -11
  59. package/dist/login/login.js +5 -11
  60. package/dist/maths/calculator/basicCalculator.js +5 -11
  61. package/dist/maths/calculator/core/board.js +5 -11
  62. package/dist/maths/calculator/core/expression.js +5 -11
  63. package/dist/maths/calculator/core/labels.js +7 -13
  64. package/dist/maths/calculator/core/tokens.js +5 -11
  65. package/dist/maths/calculator/plugins/keyboard/templateKeyboard/templateKeyboard.js +5 -11
  66. package/dist/maths/calculator/plugins/screen/simpleScreen/simpleScreen.js +5 -11
  67. package/dist/maths/calculator/scientificCalculator.js +5 -11
  68. package/dist/mediaEditor/mediaEditorComponent.js +5 -11
  69. package/dist/mediaEditor/plugins/mediaAlignment/mediaAlignmentComponent.js +5 -11
  70. package/dist/mediaEditor/plugins/mediaDimension/mediaDimensionComponent.js +5 -11
  71. package/dist/mediaplayer/players/html5.js +5 -11
  72. package/dist/mediaplayer/players/youtube.js +5 -11
  73. package/dist/mediaplayer.js +5 -11
  74. package/dist/mediasizer.js +5 -11
  75. package/dist/pageSizeSelector.js +5 -11
  76. package/dist/pagination/providers/pages.js +5 -11
  77. package/dist/pagination/providers/simple.js +5 -11
  78. package/dist/report.js +5 -11
  79. package/dist/resource/filters.js +5 -11
  80. package/dist/resource/list.js +5 -11
  81. package/dist/resource/selector.js +5 -11
  82. package/dist/resource/tree.js +5 -11
  83. package/dist/resourcemgr/fileBrowser.js +5 -11
  84. package/dist/resourcemgr/fileSelector.js +5 -11
  85. package/dist/resourcemgr.js +5 -11
  86. package/dist/searchModal/advancedSearch.js +53 -24
  87. package/dist/searchModal.js +14 -32
  88. package/dist/switch/switch.js +5 -11
  89. package/dist/tabs.js +5 -11
  90. package/dist/taskQueue/status.js +5 -11
  91. package/dist/taskQueue/table.js +5 -11
  92. package/dist/taskQueueButton/taskable.js +5 -11
  93. package/dist/taskQueueButton/treeButton.js +5 -11
  94. package/dist/tooltip.js +5 -11
  95. package/dist/tristateCheckboxGroup.js +5 -11
  96. package/dist/uploader.js +5 -11
  97. package/dist/validator.js +5 -11
  98. package/package.json +2 -3
  99. package/src/ckeditor/ckConfigurator.js +46 -26
  100. package/src/image/ImgStateActive/initHelper.js +1 -1
  101. package/src/maths/calculator/core/labels.js +2 -2
  102. package/src/searchModal/advancedSearch.js +53 -18
package/dist/actionbar.js CHANGED
@@ -10,17 +10,11 @@ define(['jquery', 'lodash', 'ui/component', 'handlebars', 'i18n', 'lib/dompurify
10
10
  function _typeof(obj) {
11
11
  "@babel/helpers - typeof";
12
12
 
13
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
14
- _typeof = function (obj) {
15
- return typeof obj;
16
- };
17
- } else {
18
- _typeof = function (obj) {
19
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
20
- };
21
- }
22
-
23
- return _typeof(obj);
13
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
14
+ return typeof obj;
15
+ } : function (obj) {
16
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
17
+ }, _typeof(obj);
24
18
  }
25
19
 
26
20
  function Helpers0 (hb) {
@@ -10,17 +10,11 @@ define(['lodash', 'ui/component', 'ui/component/alignable', 'handlebars', 'i18n'
10
10
  function _typeof(obj) {
11
11
  "@babel/helpers - typeof";
12
12
 
13
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
14
- _typeof = function (obj) {
15
- return typeof obj;
16
- };
17
- } else {
18
- _typeof = function (obj) {
19
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
20
- };
21
- }
22
-
23
- return _typeof(obj);
13
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
14
+ return typeof obj;
15
+ } : function (obj) {
16
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
17
+ }, _typeof(obj);
24
18
  }
25
19
 
26
20
  function Helpers0 (hb) {
@@ -10,17 +10,11 @@ define(['lodash', 'ui/component', 'ui/component/alignable', 'handlebars', 'i18n'
10
10
  function _typeof(obj) {
11
11
  "@babel/helpers - typeof";
12
12
 
13
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
14
- _typeof = function (obj) {
15
- return typeof obj;
16
- };
17
- } else {
18
- _typeof = function (obj) {
19
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
20
- };
21
- }
22
-
23
- return _typeof(obj);
13
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
14
+ return typeof obj;
15
+ } : function (obj) {
16
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
17
+ }, _typeof(obj);
24
18
  }
25
19
 
26
20
  function Helpers0 (hb) {
@@ -10,17 +10,11 @@ define(['lodash', 'ui/hider', 'ui/component', 'handlebars', 'i18n', 'lib/dompuri
10
10
  function _typeof(obj) {
11
11
  "@babel/helpers - typeof";
12
12
 
13
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
14
- _typeof = function (obj) {
15
- return typeof obj;
16
- };
17
- } else {
18
- _typeof = function (obj) {
19
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
20
- };
21
- }
22
-
23
- return _typeof(obj);
13
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
14
+ return typeof obj;
15
+ } : function (obj) {
16
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
17
+ }, _typeof(obj);
24
18
  }
25
19
 
26
20
  function Helpers0 (hb) {
@@ -9,17 +9,11 @@ define(['lodash', 'ui/component', 'handlebars', 'i18n', 'lib/dompurify/purify',
9
9
  function _typeof(obj) {
10
10
  "@babel/helpers - typeof";
11
11
 
12
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
13
- _typeof = function (obj) {
14
- return typeof obj;
15
- };
16
- } else {
17
- _typeof = function (obj) {
18
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
19
- };
20
- }
21
-
22
- return _typeof(obj);
12
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
13
+ return typeof obj;
14
+ } : function (obj) {
15
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
16
+ }, _typeof(obj);
23
17
  }
24
18
 
25
19
  function Helpers0 (hb) {
@@ -15,17 +15,11 @@ define(['jquery', 'lodash', 'i18n', 'handlebars', 'lib/dompurify/purify', 'ui/co
15
15
  function _typeof(obj) {
16
16
  "@babel/helpers - typeof";
17
17
 
18
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
19
- _typeof = function (obj) {
20
- return typeof obj;
21
- };
22
- } else {
23
- _typeof = function (obj) {
24
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
25
- };
26
- }
27
-
28
- return _typeof(obj);
18
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
19
+ return typeof obj;
20
+ } : function (obj) {
21
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
22
+ }, _typeof(obj);
29
23
  }
30
24
 
31
25
  function Helpers0 (hb) {
package/dist/button.js CHANGED
@@ -9,17 +9,11 @@ define(['ui/component', 'handlebars', 'i18n', 'lodash', 'lib/dompurify/purify'],
9
9
  function _typeof(obj) {
10
10
  "@babel/helpers - typeof";
11
11
 
12
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
13
- _typeof = function (obj) {
14
- return typeof obj;
15
- };
16
- } else {
17
- _typeof = function (obj) {
18
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
19
- };
20
- }
21
-
22
- return _typeof(obj);
12
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
13
+ return typeof obj;
14
+ } : function (obj) {
15
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
16
+ }, _typeof(obj);
23
17
  }
24
18
 
25
19
  function Helpers0 (hb) {
@@ -10,17 +10,11 @@ define(['jquery', 'lodash', 'i18n', 'ui/component', 'handlebars', 'lib/dompurify
10
10
  function _typeof(obj) {
11
11
  "@babel/helpers - typeof";
12
12
 
13
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
14
- _typeof = function (obj) {
15
- return typeof obj;
16
- };
17
- } else {
18
- _typeof = function (obj) {
19
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
20
- };
21
- }
22
-
23
- return _typeof(obj);
13
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
14
+ return typeof obj;
15
+ } : function (obj) {
16
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
17
+ }, _typeof(obj);
24
18
  }
25
19
 
26
20
  function Helpers0 (hb) {
@@ -19,7 +19,7 @@ define(['jquery', 'lodash', 'ui/ckeditor/dtdHandler', 'ckeditor'], function ($,
19
19
  * along with this program; if not, write to the Free Software
20
20
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21
21
  *
22
- * Copyright (c) 2015 (original work) Open Assessment Technologies SA ;
22
+ * Copyright (c) 2015-2022 (original work) Open Assessment Technologies SA ;
23
23
  */
24
24
  /**
25
25
  * Cache original config
@@ -126,13 +126,26 @@ define(['jquery', 'lodash', 'ui/ckeditor/dtdHandler', 'ckeditor'], function ($,
126
126
  }, {
127
127
  name: 'insert',
128
128
  items: ['Link', 'SpecialChar']
129
+ }],
130
+ table: [{
131
+ name: 'basicstyles',
132
+ items: ['Bold', 'Italic', 'Subscript', 'Superscript']
133
+ }, {
134
+ name: 'insert',
135
+ items: ['SpecialChar', 'TaoQtiTable', 'TaoTooltip']
136
+ }, {
137
+ name: 'links',
138
+ items: ['Link']
139
+ }, {
140
+ name: 'paragraph',
141
+ items: ['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock']
129
142
  }]
130
143
  };
131
144
  /**
132
145
  * defaults for editor configuration
133
146
  */
134
147
 
135
- var ckConfig = {
148
+ var ckConfigDefault = {
136
149
  disableAutoInline: true,
137
150
  entities: false,
138
151
  entities_processNumerical: true,
@@ -164,8 +177,8 @@ define(['jquery', 'lodash', 'ui/ckeditor/dtdHandler', 'ckeditor'], function ($,
164
177
  /**
165
178
  * Insert positioned plugins at position specified in options.positionedPlugins
166
179
  *
167
- * @param ckConfig
168
- * @param positionedPlugins
180
+ * @param {Object} ckConfig
181
+ * @param {Object} positionedPlugins
169
182
  */
170
183
 
171
184
  var _updatePlugins = function _updatePlugins(ckConfig, positionedPlugins) {
@@ -303,7 +316,10 @@ define(['jquery', 'lodash', 'ui/ckeditor/dtdHandler', 'ckeditor'], function ($,
303
316
  options = options || {};
304
317
  options.resourcemgr = options.resourcemgr || {};
305
318
  toolbars = _.clone(toolbarPresets, true);
306
- dtdMode = options.dtdMode || 'html'; // modify DTD to either comply with QTI or XHTML
319
+ dtdMode = options.dtdMode || 'html';
320
+
321
+ var ckConfig = _.clone(ckConfigDefault, true); // modify DTD to either comply with QTI or XHTML
322
+
307
323
 
308
324
  if (dtdMode === 'qti' || toolbarType.indexOf('qti') === 0) {
309
325
  toolbarType = toolbarType.slice(3).toLowerCase();
@@ -365,7 +381,7 @@ define(['jquery', 'lodash', 'ui/ckeditor/dtdHandler', 'ckeditor'], function ($,
365
381
 
366
382
 
367
383
  for (toolbar in toolbars) {
368
- if (toolbars.hasOwnProperty(toolbar)) {
384
+ if (Object.prototype.hasOwnProperty.call(toolbars, toolbar)) {
369
385
  ckConfig['toolbar_' + toolbar] = toolbars[toolbar];
370
386
  }
371
387
  } // add the toolbar
@@ -10,17 +10,11 @@ define(['jquery', 'lodash', 'i18n', 'ui/component', 'handlebars', 'lib/dompurify
10
10
  function _typeof(obj) {
11
11
  "@babel/helpers - typeof";
12
12
 
13
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
14
- _typeof = function (obj) {
15
- return typeof obj;
16
- };
17
- } else {
18
- _typeof = function (obj) {
19
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
20
- };
21
- }
22
-
23
- return _typeof(obj);
13
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
14
+ return typeof obj;
15
+ } : function (obj) {
16
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
17
+ }, _typeof(obj);
24
18
  }
25
19
 
26
20
  function Helpers0 (hb) {
@@ -10,17 +10,11 @@ define(['lodash', 'i18n', 'jquery', 'ui/component/placeable', 'handlebars', 'lib
10
10
  function _typeof(obj) {
11
11
  "@babel/helpers - typeof";
12
12
 
13
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
14
- _typeof = function (obj) {
15
- return typeof obj;
16
- };
17
- } else {
18
- _typeof = function (obj) {
19
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
20
- };
21
- }
22
-
23
- return _typeof(obj);
13
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
14
+ return typeof obj;
15
+ } : function (obj) {
16
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
17
+ }, _typeof(obj);
24
18
  }
25
19
 
26
20
  function Helpers0 (hb) {
package/dist/component.js CHANGED
@@ -10,17 +10,11 @@ define(['jquery', 'lodash', 'core/eventifier', 'handlebars', 'i18n', 'lib/dompur
10
10
  function _typeof(obj) {
11
11
  "@babel/helpers - typeof";
12
12
 
13
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
14
- _typeof = function (obj) {
15
- return typeof obj;
16
- };
17
- } else {
18
- _typeof = function (obj) {
19
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
20
- };
21
- }
22
-
23
- return _typeof(obj);
13
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
14
+ return typeof obj;
15
+ } : function (obj) {
16
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
17
+ }, _typeof(obj);
24
18
  }
25
19
 
26
20
  function Helpers0 (hb) {
@@ -9,17 +9,11 @@ define(['jquery', 'lodash', 'handlebars', 'i18n', 'lib/dompurify/purify', 'css!u
9
9
  function _typeof(obj) {
10
10
  "@babel/helpers - typeof";
11
11
 
12
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
13
- _typeof = function (obj) {
14
- return typeof obj;
15
- };
16
- } else {
17
- _typeof = function (obj) {
18
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
19
- };
20
- }
21
-
22
- return _typeof(obj);
12
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
13
+ return typeof obj;
14
+ } : function (obj) {
15
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
16
+ }, _typeof(obj);
23
17
  }
24
18
 
25
19
  function Helpers0 (hb) {
package/dist/dashboard.js CHANGED
@@ -9,17 +9,11 @@ define(['i18n', 'lodash', 'ui/component', 'handlebars', 'lib/dompurify/purify',
9
9
  function _typeof(obj) {
10
10
  "@babel/helpers - typeof";
11
11
 
12
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
13
- _typeof = function (obj) {
14
- return typeof obj;
15
- };
16
- } else {
17
- _typeof = function (obj) {
18
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
19
- };
20
- }
21
-
22
- return _typeof(obj);
12
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
13
+ return typeof obj;
14
+ } : function (obj) {
15
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
16
+ }, _typeof(obj);
23
17
  }
24
18
 
25
19
  function Helpers0 (hb) {
package/dist/datalist.js CHANGED
@@ -10,17 +10,11 @@ define(['jquery', 'lodash', 'i18n', 'ui/component', 'handlebars', 'lib/dompurify
10
10
  function _typeof(obj) {
11
11
  "@babel/helpers - typeof";
12
12
 
13
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
14
- _typeof = function (obj) {
15
- return typeof obj;
16
- };
17
- } else {
18
- _typeof = function (obj) {
19
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
20
- };
21
- }
22
-
23
- return _typeof(obj);
13
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
14
+ return typeof obj;
15
+ } : function (obj) {
16
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
17
+ }, _typeof(obj);
24
18
  }
25
19
 
26
20
  function Helpers0 (hb) {
package/dist/datatable.js CHANGED
@@ -16,17 +16,11 @@ define(['jquery', 'lodash', 'i18n', 'core/pluginifier', 'handlebars', 'lib/dompu
16
16
  function _typeof(obj) {
17
17
  "@babel/helpers - typeof";
18
18
 
19
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
20
- _typeof = function (obj) {
21
- return typeof obj;
22
- };
23
- } else {
24
- _typeof = function (obj) {
25
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
26
- };
27
- }
28
-
29
- return _typeof(obj);
19
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
20
+ return typeof obj;
21
+ } : function (obj) {
22
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
23
+ }, _typeof(obj);
30
24
  }
31
25
 
32
26
  function Helpers0 (hb) {
@@ -11,17 +11,11 @@ define(['lodash', 'i18n', 'moment', 'ui/component', 'ui/datetime/picker', 'handl
11
11
  function _typeof(obj) {
12
12
  "@babel/helpers - typeof";
13
13
 
14
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
15
- _typeof = function (obj) {
16
- return typeof obj;
17
- };
18
- } else {
19
- _typeof = function (obj) {
20
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
21
- };
22
- }
23
-
24
- return _typeof(obj);
14
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
15
+ return typeof obj;
16
+ } : function (obj) {
17
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
18
+ }, _typeof(obj);
25
19
  }
26
20
 
27
21
  function Helpers0 (hb) {
@@ -12,17 +12,11 @@ define(['lodash', 'i18n', 'moment', 'ui/component', 'lib/flatpickr/flatpickr', '
12
12
  function _typeof(obj) {
13
13
  "@babel/helpers - typeof";
14
14
 
15
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
16
- _typeof = function (obj) {
17
- return typeof obj;
18
- };
19
- } else {
20
- _typeof = function (obj) {
21
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
22
- };
23
- }
24
-
25
- return _typeof(obj);
15
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
16
+ return typeof obj;
17
+ } : function (obj) {
18
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
19
+ }, _typeof(obj);
26
20
  }
27
21
 
28
22
  function Helpers0 (hb) {
package/dist/deleter.js CHANGED
@@ -11,17 +11,11 @@ define(['jquery', 'lodash', 'i18n', 'core/pluginifier', 'core/dataattrhandler',
11
11
  function _typeof(obj) {
12
12
  "@babel/helpers - typeof";
13
13
 
14
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
15
- _typeof = function (obj) {
16
- return typeof obj;
17
- };
18
- } else {
19
- _typeof = function (obj) {
20
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
21
- };
22
- }
23
-
24
- return _typeof(obj);
14
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
15
+ return typeof obj;
16
+ } : function (obj) {
17
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
18
+ }, _typeof(obj);
25
19
  }
26
20
 
27
21
  function Helpers0 (hb) {
@@ -14,17 +14,11 @@ define(['jquery', 'lodash', 'i18n', 'ui/component', 'ui/dialog/confirm', 'ui/res
14
14
  function _typeof(obj) {
15
15
  "@babel/helpers - typeof";
16
16
 
17
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
18
- _typeof = function (obj) {
19
- return typeof obj;
20
- };
21
- } else {
22
- _typeof = function (obj) {
23
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
24
- };
25
- }
26
-
27
- return _typeof(obj);
17
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
18
+ return typeof obj;
19
+ } : function (obj) {
20
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
21
+ }, _typeof(obj);
28
22
  }
29
23
 
30
24
  function Helpers0 (hb) {
@@ -9,17 +9,11 @@ define(['lodash', 'i18n', 'ui/dialog', 'handlebars', 'lib/dompurify/purify'], fu
9
9
  function _typeof(obj) {
10
10
  "@babel/helpers - typeof";
11
11
 
12
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
13
- _typeof = function (obj) {
14
- return typeof obj;
15
- };
16
- } else {
17
- _typeof = function (obj) {
18
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
19
- };
20
- }
21
-
22
- return _typeof(obj);
12
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
13
+ return typeof obj;
14
+ } : function (obj) {
15
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
16
+ }, _typeof(obj);
23
17
  }
24
18
 
25
19
  function Helpers0 (hb) {
package/dist/dialog.js CHANGED
@@ -12,17 +12,11 @@ define(['jquery', 'lodash', 'i18n', 'handlebars', 'lib/dompurify/purify', 'ui/ke
12
12
  function _typeof(obj) {
13
13
  "@babel/helpers - typeof";
14
14
 
15
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
16
- _typeof = function (obj) {
17
- return typeof obj;
18
- };
19
- } else {
20
- _typeof = function (obj) {
21
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
22
- };
23
- }
24
-
25
- return _typeof(obj);
15
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
16
+ return typeof obj;
17
+ } : function (obj) {
18
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
19
+ }, _typeof(obj);
26
20
  }
27
21
 
28
22
  function Helpers0 (hb) {
@@ -8,17 +8,11 @@ define(['handlebars', 'i18n', 'lodash', 'lib/dompurify/purify'], function (Handl
8
8
  function _typeof(obj) {
9
9
  "@babel/helpers - typeof";
10
10
 
11
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
12
- _typeof = function (obj) {
13
- return typeof obj;
14
- };
15
- } else {
16
- _typeof = function (obj) {
17
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
18
- };
19
- }
20
-
21
- return _typeof(obj);
11
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
12
+ return typeof obj;
13
+ } : function (obj) {
14
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
15
+ }, _typeof(obj);
22
16
  }
23
17
 
24
18
  function Helpers0 (hb) {
@@ -12,17 +12,11 @@ define(['jquery', 'lodash', 'ui/autoscroll', 'ui/hider', 'ui/documentViewer/prov
12
12
  function _typeof(obj) {
13
13
  "@babel/helpers - typeof";
14
14
 
15
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
16
- _typeof = function (obj) {
17
- return typeof obj;
18
- };
19
- } else {
20
- _typeof = function (obj) {
21
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
22
- };
23
- }
24
-
25
- return _typeof(obj);
15
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
16
+ return typeof obj;
17
+ } : function (obj) {
18
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
19
+ }, _typeof(obj);
26
20
  }
27
21
 
28
22
  function Helpers0 (hb) {