@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.
- package/dist/actionbar.js +5 -11
- package/dist/animable/absorbable/absorbable.js +5 -11
- package/dist/animable/pulsable/pulsable.js +5 -11
- package/dist/badge/badge.js +5 -11
- package/dist/breadcrumbs.js +5 -11
- package/dist/bulkActionPopup.js +5 -11
- package/dist/button.js +5 -11
- package/dist/cascadingComboBox.js +5 -11
- package/dist/ckeditor/ckConfigurator.js +22 -6
- package/dist/class/selector.js +5 -11
- package/dist/component/windowed.js +5 -11
- package/dist/component.js +5 -11
- package/dist/contextualPopup.js +5 -11
- package/dist/dashboard.js +5 -11
- package/dist/datalist.js +5 -11
- package/dist/datatable.js +5 -11
- package/dist/dateRange/dateRange.js +5 -11
- package/dist/datetime/picker.js +5 -11
- package/dist/deleter.js +5 -11
- package/dist/destination/selector.js +5 -11
- package/dist/dialog/confirmDelete.js +5 -11
- package/dist/dialog.js +5 -11
- package/dist/documentViewer/providers/pdfViewer/fallback/viewer.js +5 -11
- package/dist/documentViewer/providers/pdfViewer/pdfjs/findBar.js +5 -11
- package/dist/documentViewer/providers/pdfViewer/pdfjs/pageView.js +5 -11
- package/dist/documentViewer/providers/pdfViewer/pdfjs/searchEngine.js +5 -11
- package/dist/documentViewer/providers/pdfViewer/pdfjs/viewer.js +5 -11
- package/dist/documentViewer/providers/pdfViewer.js +5 -11
- package/dist/documentViewer.js +5 -11
- package/dist/dropdown.js +5 -11
- package/dist/dynamicComponent.js +5 -11
- package/dist/feedback.js +5 -11
- package/dist/filter.js +5 -11
- package/dist/form/dropdownForm.js +5 -11
- package/dist/form/form.js +5 -11
- package/dist/form/validator/renderer.js +5 -11
- package/dist/form/widget/providers/checkBox.js +5 -11
- package/dist/form/widget/providers/comboBox.js +5 -11
- package/dist/form/widget/providers/hidden.js +5 -11
- package/dist/form/widget/providers/hiddenBox.js +5 -11
- package/dist/form/widget/providers/radioBox.js +5 -11
- package/dist/form/widget/providers/textArea.js +5 -11
- package/dist/form/widget/widget.js +5 -11
- package/dist/generis/form/form.js +5 -11
- package/dist/generis/validator/validator.js +5 -11
- package/dist/generis/widget/checkBox/checkBox.js +5 -11
- package/dist/generis/widget/comboBox/comboBox.js +5 -11
- package/dist/generis/widget/hiddenBox/hiddenBox.js +5 -11
- package/dist/generis/widget/textBox/textBox.js +5 -11
- package/dist/generis/widget/widget.js +5 -11
- package/dist/groupedComboBox.js +5 -11
- package/dist/highlighter.js +5 -11
- package/dist/image/ImgStateActive/initHelper.js +1 -1
- package/dist/image/ImgStateActive.js +1 -1
- package/dist/itemButtonList.js +5 -11
- package/dist/listbox.js +5 -11
- package/dist/loadingButton/loadingButton.js +5 -11
- package/dist/lock.js +5 -11
- package/dist/login/login.js +5 -11
- package/dist/maths/calculator/basicCalculator.js +5 -11
- package/dist/maths/calculator/core/board.js +5 -11
- package/dist/maths/calculator/core/expression.js +5 -11
- package/dist/maths/calculator/core/labels.js +7 -13
- package/dist/maths/calculator/core/tokens.js +5 -11
- package/dist/maths/calculator/plugins/keyboard/templateKeyboard/templateKeyboard.js +5 -11
- package/dist/maths/calculator/plugins/screen/simpleScreen/simpleScreen.js +5 -11
- package/dist/maths/calculator/scientificCalculator.js +5 -11
- package/dist/mediaEditor/mediaEditorComponent.js +5 -11
- package/dist/mediaEditor/plugins/mediaAlignment/mediaAlignmentComponent.js +5 -11
- package/dist/mediaEditor/plugins/mediaDimension/mediaDimensionComponent.js +5 -11
- package/dist/mediaplayer/players/html5.js +5 -11
- package/dist/mediaplayer/players/youtube.js +5 -11
- package/dist/mediaplayer.js +5 -11
- package/dist/mediasizer.js +5 -11
- package/dist/pageSizeSelector.js +5 -11
- package/dist/pagination/providers/pages.js +5 -11
- package/dist/pagination/providers/simple.js +5 -11
- package/dist/report.js +5 -11
- package/dist/resource/filters.js +5 -11
- package/dist/resource/list.js +5 -11
- package/dist/resource/selector.js +5 -11
- package/dist/resource/tree.js +5 -11
- package/dist/resourcemgr/fileBrowser.js +5 -11
- package/dist/resourcemgr/fileSelector.js +5 -11
- package/dist/resourcemgr.js +5 -11
- package/dist/searchModal/advancedSearch.js +53 -24
- package/dist/searchModal.js +14 -32
- package/dist/switch/switch.js +5 -11
- package/dist/tabs.js +5 -11
- package/dist/taskQueue/status.js +5 -11
- package/dist/taskQueue/table.js +5 -11
- package/dist/taskQueueButton/taskable.js +5 -11
- package/dist/taskQueueButton/treeButton.js +5 -11
- package/dist/tooltip.js +5 -11
- package/dist/tristateCheckboxGroup.js +5 -11
- package/dist/uploader.js +5 -11
- package/dist/validator.js +5 -11
- package/package.json +2 -3
- package/src/ckeditor/ckConfigurator.js +46 -26
- package/src/image/ImgStateActive/initHelper.js +1 -1
- package/src/maths/calculator/core/labels.js +2 -2
- package/src/searchModal/advancedSearch.js +53 -18
|
@@ -9,17 +9,11 @@ define(['jquery', 'handlebars', 'i18n', 'lodash', 'lib/dompurify/purify'], funct
|
|
|
9
9
|
function _typeof(obj) {
|
|
10
10
|
"@babel/helpers - typeof";
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
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/report.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
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
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/resource/filters.js
CHANGED
|
@@ -10,17 +10,11 @@ define(['lodash', 'i18n', 'ui/component', 'ui/generis/form/form', 'handlebars',
|
|
|
10
10
|
function _typeof(obj) {
|
|
11
11
|
"@babel/helpers - typeof";
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
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/resource/list.js
CHANGED
|
@@ -12,17 +12,11 @@ define(['jquery', 'lodash', 'ui/component', 'ui/resource/selectable', 'ui/hider'
|
|
|
12
12
|
function _typeof(obj) {
|
|
13
13
|
"@babel/helpers - typeof";
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
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) {
|
|
@@ -15,17 +15,11 @@ define(['jquery', 'lodash', 'i18n', 'ui/component', 'ui/hider', 'ui/class/select
|
|
|
15
15
|
function _typeof(obj) {
|
|
16
16
|
"@babel/helpers - typeof";
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
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/resource/tree.js
CHANGED
|
@@ -12,17 +12,11 @@ define(['jquery', 'lodash', 'ui/component', 'ui/resource/selectable', 'ui/hider'
|
|
|
12
12
|
function _typeof(obj) {
|
|
13
13
|
"@babel/helpers - typeof";
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
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) {
|
|
@@ -11,17 +11,11 @@ define(['jquery', 'lodash', 'core/request', 'ui/pagination', 'handlebars', 'i18n
|
|
|
11
11
|
function _typeof(obj) {
|
|
12
12
|
"@babel/helpers - typeof";
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
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) {
|
|
@@ -13,17 +13,11 @@ define(['jquery', 'lodash', 'async', 'i18n', 'core/mimetype', 'handlebars', 'lib
|
|
|
13
13
|
function _typeof(obj) {
|
|
14
14
|
"@babel/helpers - typeof";
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
_typeof = function (obj) {
|
|
22
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
return _typeof(obj);
|
|
16
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
17
|
+
return typeof obj;
|
|
18
|
+
} : function (obj) {
|
|
19
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
20
|
+
}, _typeof(obj);
|
|
27
21
|
}
|
|
28
22
|
|
|
29
23
|
function Helpers0 (hb) {
|
package/dist/resourcemgr.js
CHANGED
|
@@ -13,17 +13,11 @@ define(['jquery', 'lodash', 'core/pluginifier', 'ui/resourcemgr/fileBrowser', 'u
|
|
|
13
13
|
function _typeof(obj) {
|
|
14
14
|
"@babel/helpers - typeof";
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
_typeof = function (obj) {
|
|
22
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
return _typeof(obj);
|
|
16
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
17
|
+
return typeof obj;
|
|
18
|
+
} : function (obj) {
|
|
19
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
20
|
+
}, _typeof(obj);
|
|
27
21
|
}
|
|
28
22
|
|
|
29
23
|
function Helpers0 (hb) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
define(['jquery', 'lodash', '
|
|
1
|
+
define(['jquery', 'lodash', 'context', 'handlebars', 'i18n', 'lib/dompurify/purify', 'css!ui/searchModal/css/advancedSearch.css', 'ui/component', 'ui/modal', 'ui/datatable', 'select2', 'util/url', 'core/dataProvider/request'], function ($$1, _, context, Handlebars, __, DOMPurify, advancedSearch_css, component, modal, datatable, select2, urlUtil, request) { 'use strict';
|
|
2
2
|
|
|
3
3
|
$$1 = $$1 && Object.prototype.hasOwnProperty.call($$1, 'default') ? $$1['default'] : $$1;
|
|
4
4
|
_ = _ && Object.prototype.hasOwnProperty.call(_, 'default') ? _['default'] : _;
|
|
5
|
-
__ = __ && Object.prototype.hasOwnProperty.call(__, 'default') ? __['default'] : __;
|
|
6
5
|
context = context && Object.prototype.hasOwnProperty.call(context, 'default') ? context['default'] : context;
|
|
7
6
|
Handlebars = Handlebars && Object.prototype.hasOwnProperty.call(Handlebars, 'default') ? Handlebars['default'] : Handlebars;
|
|
7
|
+
__ = __ && Object.prototype.hasOwnProperty.call(__, 'default') ? __['default'] : __;
|
|
8
8
|
DOMPurify = DOMPurify && Object.prototype.hasOwnProperty.call(DOMPurify, 'default') ? DOMPurify['default'] : DOMPurify;
|
|
9
9
|
component = component && Object.prototype.hasOwnProperty.call(component, 'default') ? component['default'] : component;
|
|
10
10
|
urlUtil = urlUtil && Object.prototype.hasOwnProperty.call(urlUtil, 'default') ? urlUtil['default'] : urlUtil;
|
|
@@ -13,17 +13,11 @@ define(['jquery', 'lodash', 'i18n', 'context', 'handlebars', 'lib/dompurify/puri
|
|
|
13
13
|
function _typeof(obj) {
|
|
14
14
|
"@babel/helpers - typeof";
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
_typeof = function (obj) {
|
|
22
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
return _typeof(obj);
|
|
16
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
17
|
+
return typeof obj;
|
|
18
|
+
} : function (obj) {
|
|
19
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
20
|
+
}, _typeof(obj);
|
|
27
21
|
}
|
|
28
22
|
|
|
29
23
|
function _toConsumableArray(arr) {
|
|
@@ -409,7 +403,7 @@ define(['jquery', 'lodash', 'i18n', 'context', 'handlebars', 'lib/dompurify/puri
|
|
|
409
403
|
|
|
410
404
|
_.forEach(criteriaState, function (criterion) {
|
|
411
405
|
criterion.rendered = false;
|
|
412
|
-
criterion.value =
|
|
406
|
+
criterion.value = null;
|
|
413
407
|
});
|
|
414
408
|
},
|
|
415
409
|
|
|
@@ -464,6 +458,18 @@ define(['jquery', 'lodash', 'i18n', 'context', 'handlebars', 'lib/dompurify/puri
|
|
|
464
458
|
$advancedCriteriaContainer = $$1('.advanced-criteria-container', $container);
|
|
465
459
|
$advancedCriteriaContainer.on('scroll', _.throttle(animateScroll, 100));
|
|
466
460
|
}
|
|
461
|
+
/**
|
|
462
|
+
* Lookup for characters in text to highlight
|
|
463
|
+
* @param {String} text - text to lookup
|
|
464
|
+
* @param {String} highlight - character(s) to be highlighted
|
|
465
|
+
* @param {regExp|String} match - match to be applied in the text
|
|
466
|
+
* @returns {String} - highlighted text
|
|
467
|
+
*/
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
function highlightCharacter(text, highlight, match) {
|
|
471
|
+
return text.replace(match, "<b>".concat(highlight, "</b>"));
|
|
472
|
+
}
|
|
467
473
|
/**
|
|
468
474
|
* Inits select2 on criteria select and its UX logic
|
|
469
475
|
*/
|
|
@@ -488,8 +494,17 @@ define(['jquery', 'lodash', 'i18n', 'context', 'handlebars', 'lib/dompurify/puri
|
|
|
488
494
|
escapeMarkup: function escapeMarkup(markup) {
|
|
489
495
|
return markup;
|
|
490
496
|
},
|
|
491
|
-
formatResult: function formatResult(result, container, query
|
|
492
|
-
|
|
497
|
+
formatResult: function formatResult(result, container, query) {
|
|
498
|
+
var label = result.element[0].getAttribute('label');
|
|
499
|
+
var sublabel = result.element[0].getAttribute('sublabel');
|
|
500
|
+
var match = new RegExp(query.term, 'ig');
|
|
501
|
+
var template = highlightCharacter(label, query.term, match); // Add sublabel
|
|
502
|
+
|
|
503
|
+
if (sublabel && sublabel.length) {
|
|
504
|
+
template = template + "<span class=\"class-path\"> / ".concat(highlightCharacter(sublabel, query.term, match), "</span>");
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
return template;
|
|
493
508
|
}
|
|
494
509
|
}); // open dropdown when user clicks on add criteria input
|
|
495
510
|
|
|
@@ -516,14 +531,14 @@ define(['jquery', 'lodash', 'i18n', 'context', 'handlebars', 'lib/dompurify/puri
|
|
|
516
531
|
/**
|
|
517
532
|
* inits criteriaState loading it from the store (if present) or empty object.
|
|
518
533
|
* If there is a stored criteriaState, those criteria that were rendered
|
|
519
|
-
* but with
|
|
534
|
+
* but with null value are updated to not being rendered
|
|
520
535
|
*/
|
|
521
536
|
|
|
522
537
|
|
|
523
538
|
function initCriteriaState() {
|
|
524
539
|
if (instance.config.advancedCriteria) {
|
|
525
540
|
_.forEach(instance.config.advancedCriteria, function (criterion) {
|
|
526
|
-
if (criterion.rendered === true && criterion.value ===
|
|
541
|
+
if (criterion.rendered === true && criterion.value === null) {
|
|
527
542
|
criterion.rendered = false;
|
|
528
543
|
}
|
|
529
544
|
});
|
|
@@ -699,7 +714,7 @@ define(['jquery', 'lodash', 'i18n', 'context', 'handlebars', 'lib/dompurify/puri
|
|
|
699
714
|
$$1('input', $criterionContainer).val(criterion.value); // set event to bind input value to critariaState
|
|
700
715
|
|
|
701
716
|
$$1('input', $criterionContainer).on('change', function () {
|
|
702
|
-
criterion.value = $$1(this).val() ||
|
|
717
|
+
criterion.value = $$1(this).val() || null;
|
|
703
718
|
});
|
|
704
719
|
} else if (criterion.type === criteriaTypes.list && criterion.uri) {
|
|
705
720
|
// set initial value
|
|
@@ -744,7 +759,7 @@ define(['jquery', 'lodash', 'i18n', 'context', 'handlebars', 'lib/dompurify/puri
|
|
|
744
759
|
$criteriaSelect.append(newOption); // reset criterion values on criteriaState
|
|
745
760
|
|
|
746
761
|
criteriaState[criterionKey].rendered = false;
|
|
747
|
-
criteriaState[criterionKey].value =
|
|
762
|
+
criteriaState[criterionKey].value = null; // check if advanced criteria container is no longer scrollable
|
|
748
763
|
|
|
749
764
|
if ($advancedCriteriaContainer.get(0).scrollHeight <= $advancedCriteriaContainer.outerHeight()) {
|
|
750
765
|
$advancedCriteriaContainer.removeClass('scrollable');
|
|
@@ -860,7 +875,7 @@ define(['jquery', 'lodash', 'i18n', 'context', 'handlebars', 'lib/dompurify/puri
|
|
|
860
875
|
// if new criterion was not on criteriaState we add it
|
|
861
876
|
criteriaState[criteriaStateId] = criterion;
|
|
862
877
|
criteriaState[criteriaStateId].rendered = false;
|
|
863
|
-
criteriaState[criteriaStateId].value =
|
|
878
|
+
criteriaState[criteriaStateId].value = null;
|
|
864
879
|
} // create new option element to criteria select
|
|
865
880
|
|
|
866
881
|
|
|
@@ -870,14 +885,28 @@ define(['jquery', 'lodash', 'i18n', 'context', 'handlebars', 'lib/dompurify/puri
|
|
|
870
885
|
});
|
|
871
886
|
}
|
|
872
887
|
/**
|
|
888
|
+
* Creates a new option element
|
|
889
|
+
* with attributes to use in select2 markup
|
|
873
890
|
* @param {Object} criterion
|
|
874
|
-
* @returns
|
|
891
|
+
* @returns {HTMLOptionElement} Single option criteria
|
|
875
892
|
*/
|
|
876
893
|
|
|
877
894
|
|
|
878
895
|
function createCriteriaOption(criterion) {
|
|
879
|
-
var
|
|
880
|
-
|
|
896
|
+
var label = criterion.label;
|
|
897
|
+
var sublabel = '';
|
|
898
|
+
var option;
|
|
899
|
+
var optionText = label;
|
|
900
|
+
|
|
901
|
+
if (criterion.isDuplicated) {
|
|
902
|
+
sublabel = criterion.class.label;
|
|
903
|
+
optionText = "".concat(label, " / ").concat(sublabel);
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
option = new Option(optionText, getCriterionStateId(criterion), false, false);
|
|
907
|
+
option.setAttribute('label', label);
|
|
908
|
+
option.setAttribute('sublabel', sublabel);
|
|
909
|
+
return option;
|
|
881
910
|
}
|
|
882
911
|
/**
|
|
883
912
|
* @param {Object} criterion
|
package/dist/searchModal.js
CHANGED
|
@@ -19,14 +19,9 @@ define(['jquery', 'lodash', 'i18n', 'context', 'handlebars', 'lib/dompurify/puri
|
|
|
19
19
|
|
|
20
20
|
if (Object.getOwnPropertySymbols) {
|
|
21
21
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
keys.push.apply(keys, symbols);
|
|
22
|
+
enumerableOnly && (symbols = symbols.filter(function (sym) {
|
|
23
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
24
|
+
})), keys.push.apply(keys, symbols);
|
|
30
25
|
}
|
|
31
26
|
|
|
32
27
|
return keys;
|
|
@@ -34,19 +29,12 @@ define(['jquery', 'lodash', 'i18n', 'context', 'handlebars', 'lib/dompurify/puri
|
|
|
34
29
|
|
|
35
30
|
function _objectSpread2(target) {
|
|
36
31
|
for (var i = 1; i < arguments.length; i++) {
|
|
37
|
-
var source = arguments[i]
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} else if (Object.getOwnPropertyDescriptors) {
|
|
44
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
45
|
-
} else {
|
|
46
|
-
ownKeys(Object(source)).forEach(function (key) {
|
|
47
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
48
|
-
});
|
|
49
|
-
}
|
|
32
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
33
|
+
i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
|
|
34
|
+
_defineProperty(target, key, source[key]);
|
|
35
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
|
|
36
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
37
|
+
});
|
|
50
38
|
}
|
|
51
39
|
|
|
52
40
|
return target;
|
|
@@ -55,17 +43,11 @@ define(['jquery', 'lodash', 'i18n', 'context', 'handlebars', 'lib/dompurify/puri
|
|
|
55
43
|
function _typeof(obj) {
|
|
56
44
|
"@babel/helpers - typeof";
|
|
57
45
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}
|
|
63
|
-
_typeof = function (obj) {
|
|
64
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
return _typeof(obj);
|
|
46
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
47
|
+
return typeof obj;
|
|
48
|
+
} : function (obj) {
|
|
49
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
50
|
+
}, _typeof(obj);
|
|
69
51
|
}
|
|
70
52
|
|
|
71
53
|
function _defineProperty(obj, key, value) {
|
package/dist/switch/switch.js
CHANGED
|
@@ -11,17 +11,11 @@ define(['jquery', 'lodash', 'i18n', 'ui/component', 'lib/uuid', 'handlebars', 'l
|
|
|
11
11
|
function _typeof(obj) {
|
|
12
12
|
"@babel/helpers - typeof";
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
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) {
|
package/dist/tabs.js
CHANGED
|
@@ -11,17 +11,11 @@ define(['jquery', 'lodash', 'ui/hider', 'ui/component', 'handlebars', 'i18n', 'l
|
|
|
11
11
|
function _typeof(obj) {
|
|
12
12
|
"@babel/helpers - typeof";
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
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 _toConsumableArray(arr) {
|
package/dist/taskQueue/status.js
CHANGED
|
@@ -11,17 +11,11 @@ define(['lodash', 'i18n', 'ui/taskQueue', 'ui/component', 'ui/report', 'handleba
|
|
|
11
11
|
function _typeof(obj) {
|
|
12
12
|
"@babel/helpers - typeof";
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
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) {
|
package/dist/taskQueue/table.js
CHANGED
|
@@ -13,17 +13,11 @@ define(['jquery', 'lodash', 'i18n', 'moment', 'ui/taskQueue', 'ui/component', 'u
|
|
|
13
13
|
function _typeof(obj) {
|
|
14
14
|
"@babel/helpers - typeof";
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
_typeof = function (obj) {
|
|
22
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
return _typeof(obj);
|
|
16
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
17
|
+
return typeof obj;
|
|
18
|
+
} : function (obj) {
|
|
19
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
20
|
+
}, _typeof(obj);
|
|
27
21
|
}
|
|
28
22
|
|
|
29
23
|
function Helpers0 (hb) {
|
|
@@ -12,17 +12,11 @@ define(['jquery', 'lodash', 'i18n', 'ui/report', 'ui/feedback', 'layout/loading-
|
|
|
12
12
|
function _typeof(obj) {
|
|
13
13
|
"@babel/helpers - typeof";
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
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) {
|
|
@@ -10,17 +10,11 @@ define(['lodash', 'i18n', 'ui/component', 'ui/taskQueueButton/taskable', 'handle
|
|
|
10
10
|
function _typeof(obj) {
|
|
11
11
|
"@babel/helpers - typeof";
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
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/tooltip.js
CHANGED
|
@@ -11,17 +11,11 @@ define(['jquery', 'lodash', 'core/dataattrhandler', 'lib/popper/tooltip', 'handl
|
|
|
11
11
|
function _typeof(obj) {
|
|
12
12
|
"@babel/helpers - typeof";
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
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) {
|
|
@@ -11,17 +11,11 @@ define(['jquery', 'lodash', 'i18n', 'ui/component', 'handlebars', 'lib/dompurify
|
|
|
11
11
|
function _typeof(obj) {
|
|
12
12
|
"@babel/helpers - typeof";
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
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) {
|