@oat-sa/tao-core-ui 3.24.1 → 3.24.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/animable/pulsable/pulsable.js +0 -1
- package/dist/autocomplete/css/autocomplete.css +1 -1
- package/dist/autocomplete/css/autocomplete.css.map +1 -1
- package/dist/badge/css/badge.css +6 -6
- package/dist/badge/css/badge.css.map +1 -1
- package/dist/breadcrumbs/css/breadcrumbs.css +2 -2
- package/dist/breadcrumbs/css/breadcrumbs.css.map +1 -1
- package/dist/calculator/css/calculator.css +8 -6
- package/dist/calculator/css/calculator.css.map +1 -1
- package/dist/class/css/selector.css +4 -4
- package/dist/class/css/selector.css.map +1 -1
- package/dist/component/css/components.css +5 -5
- package/dist/component/css/components.css.map +1 -1
- package/dist/component/css/windowComponent.css +1 -1
- package/dist/component/css/windowComponent.css.map +1 -1
- package/dist/component/draggable.js +0 -1
- package/dist/component/resizable.js +0 -1
- package/dist/contextualPopup/css/contextualPopup.css +1 -1
- package/dist/contextualPopup/css/contextualPopup.css.map +1 -1
- package/dist/datatable/css/datatable.css +3 -3
- package/dist/datatable/css/datatable.css.map +1 -1
- package/dist/datatable.js +1 -2
- package/dist/datetime/css/picker.css +13 -13
- package/dist/datetime/css/picker.css.map +1 -1
- package/dist/documentViewer/css/documentViewer.css +10 -10
- package/dist/documentViewer/css/documentViewer.css.map +1 -1
- package/dist/documentViewer/providers/pdfViewer/pdfjs/searchEngine.js +0 -1
- package/dist/dynamicComponent/css/dynamicComponent.css +1 -1
- package/dist/dynamicComponent/css/dynamicComponent.css.map +1 -1
- package/dist/dynamicComponent.js +1 -4
- package/dist/figure/FigureStateActive.js +20 -23
- package/dist/form/css/dropdownForm.css +1 -1
- package/dist/form/css/dropdownForm.css.map +1 -1
- package/dist/form/widget/widget.js +1 -4
- package/dist/highlighter.js +0 -2
- package/dist/image/ImgStateActive.js +13 -15
- package/dist/interactUtils.js +7 -8
- package/dist/itemButtonList/css/item-button-list.css +9 -3
- package/dist/itemButtonList/css/item-button-list.css.map +1 -1
- package/dist/itemButtonList.js +1 -2
- package/dist/keyNavigation/navigableDomElement.js +3 -4
- package/dist/keyNavigation/navigator.js +1 -2
- package/dist/listbox/css/listbox.css +1 -1
- package/dist/listbox/css/listbox.css.map +1 -1
- package/dist/maths/calculator/core/board.js +58 -127
- package/dist/maths/calculator/core/labels.js +1 -6
- package/dist/maths/calculator/css/calculator.css +18 -18
- package/dist/maths/calculator/css/calculator.css.map +1 -1
- package/dist/maths/calculator/plugins/screen/simpleScreen/simpleScreen.js +1 -6
- package/dist/mediaplayer/css/player.css +7 -7
- package/dist/mediaplayer/css/player.css.map +1 -1
- package/dist/mediaplayer/players/html5.js +3 -14
- package/dist/mediaplayer/players/youtube.js +3 -12
- package/dist/mediaplayer/utils/crossOrigin.js +1 -1
- package/dist/mediaplayer/utils/timeObserver.js +1 -2
- package/dist/mediaplayer/youtubeManager.js +1 -2
- package/dist/mediaplayer.js +2 -8
- package/dist/mediasizer.js +0 -1
- package/dist/resizeObserver.js +1 -3
- package/dist/resource/css/selector.css +31 -23
- package/dist/resource/css/selector.css.map +1 -1
- package/dist/resource/list.js +239 -203
- package/dist/resource/selector.js +0 -1
- package/dist/resource/tree.js +239 -203
- package/dist/resourcemgr/assetSearch.js +20 -18
- package/dist/resourcemgr/assetSearchContract.js +67 -12
- package/dist/resourcemgr/css/resourcemgr.css +17 -18
- package/dist/resourcemgr/css/resourcemgr.css.map +1 -1
- package/dist/resourcemgr/fileBrowser.js +3 -5
- package/dist/resourcemgr/fileSelector.js +3 -0
- package/dist/searchModal/advancedSearch.js +3 -4
- package/dist/searchModal/css/searchModal.css +14 -14
- package/dist/searchModal/css/searchModal.css.map +1 -1
- package/dist/searchModal.js +42 -53
- package/dist/switch/css/switch.css +2 -2
- package/dist/switch/css/switch.css.map +1 -1
- package/dist/tabs/css/tabs.css +2 -2
- package/dist/tabs/css/tabs.css.map +1 -1
- package/dist/taskQueue/css/taskQueue.css +4 -4
- package/dist/taskQueue/css/taskQueue.css.map +1 -1
- package/dist/taskQueue/taskQueueModel.js +1 -2
- package/dist/taskQueueButton/taskable.js +1 -2
- package/dist/validator/validators.js +0 -1
- package/dist/waitingDialog/css/waitingDialog.css +2 -2
- package/dist/waitingDialog/css/waitingDialog.css.map +1 -1
- package/package.json +1 -1
- package/src/autocomplete/css/autocomplete.css +1 -1
- package/src/autocomplete/css/autocomplete.css.map +1 -1
- package/src/badge/css/badge.css +6 -6
- package/src/badge/css/badge.css.map +1 -1
- package/src/breadcrumbs/css/breadcrumbs.css +2 -2
- package/src/breadcrumbs/css/breadcrumbs.css.map +1 -1
- package/src/calculator/css/calculator.css +8 -6
- package/src/calculator/css/calculator.css.map +1 -1
- package/src/class/css/selector.css +4 -4
- package/src/class/css/selector.css.map +1 -1
- package/src/component/css/components.css +5 -5
- package/src/component/css/components.css.map +1 -1
- package/src/component/css/windowComponent.css +1 -1
- package/src/component/css/windowComponent.css.map +1 -1
- package/src/contextualPopup/css/contextualPopup.css +1 -1
- package/src/contextualPopup/css/contextualPopup.css.map +1 -1
- package/src/css/basic.css +123 -113
- package/src/css/basic.css.map +1 -1
- package/src/datatable/css/datatable.css +3 -3
- package/src/datatable/css/datatable.css.map +1 -1
- package/src/datetime/css/picker.css +13 -13
- package/src/datetime/css/picker.css.map +1 -1
- package/src/documentViewer/css/documentViewer.css +10 -10
- package/src/documentViewer/css/documentViewer.css.map +1 -1
- package/src/dynamicComponent/css/dynamicComponent.css +1 -1
- package/src/dynamicComponent/css/dynamicComponent.css.map +1 -1
- package/src/form/css/dropdownForm.css +1 -1
- package/src/form/css/dropdownForm.css.map +1 -1
- package/src/itemButtonList/css/item-button-list.css +9 -3
- package/src/itemButtonList/css/item-button-list.css.map +1 -1
- package/src/listbox/css/listbox.css +1 -1
- package/src/listbox/css/listbox.css.map +1 -1
- package/src/maths/calculator/css/calculator.css +18 -18
- package/src/maths/calculator/css/calculator.css.map +1 -1
- package/src/mediaplayer/css/player.css +7 -7
- package/src/mediaplayer/css/player.css.map +1 -1
- package/src/resource/css/selector.css +31 -23
- package/src/resource/css/selector.css.map +1 -1
- package/src/resourcemgr/assetSearch.js +27 -19
- package/src/resourcemgr/assetSearchContract.js +67 -18
- package/src/resourcemgr/css/resourcemgr.css +17 -18
- package/src/resourcemgr/css/resourcemgr.css.map +1 -1
- package/src/resourcemgr/fileBrowser.js +9 -9
- package/src/resourcemgr/fileSelector.js +4 -0
- package/src/searchModal/css/searchModal.css +14 -14
- package/src/searchModal/css/searchModal.css.map +1 -1
- package/src/switch/css/switch.css +2 -2
- package/src/switch/css/switch.css.map +1 -1
- package/src/tabs/css/tabs.css +2 -2
- package/src/tabs/css/tabs.css.map +1 -1
- package/src/taskQueue/css/taskQueue.css +4 -4
- package/src/taskQueue/css/taskQueue.css.map +1 -1
- package/src/waitingDialog/css/waitingDialog.css +2 -2
- package/src/waitingDialog/css/waitingDialog.css.map +1 -1
|
@@ -95,7 +95,6 @@ define(['jquery', 'i18n', 'ui/pagination', 'ui/searchModal/advancedSearch', 'han
|
|
|
95
95
|
const $error = $$1('.asset-search-error', $fileSelector);
|
|
96
96
|
const $errorMessage = $$1('.asset-search-error-message', $error);
|
|
97
97
|
const $retry = $$1('.asset-search-retry', $error);
|
|
98
|
-
const $resultsRegion = $$1('.files-wrapper', $fileSelector);
|
|
99
98
|
const $paginationContainer = $$1('.pagination-bottom', $container);
|
|
100
99
|
const $uploadSwitcher = $$1('.upload-switcher', $fileSelector);
|
|
101
100
|
const $modalTitle = $container.closest('.resourcemgr').find('> h2').first();
|
|
@@ -169,8 +168,9 @@ define(['jquery', 'i18n', 'ui/pagination', 'ui/searchModal/advancedSearch', 'han
|
|
|
169
168
|
* Keeps the previous display name until a real label arrives (avoids URI flash).
|
|
170
169
|
* @param {string} [folderLabel]
|
|
171
170
|
* @param {Object} [content]
|
|
171
|
+
* @param {boolean} [includesSubfolders]
|
|
172
172
|
*/
|
|
173
|
-
function updateScopeDisplay(folderLabel, content) {
|
|
173
|
+
function updateScopeDisplay(folderLabel, content, includesSubfolders) {
|
|
174
174
|
if (isFolderDisplayLabel(folderLabel)) {
|
|
175
175
|
scopeLabel = String(folderLabel).trim();
|
|
176
176
|
}
|
|
@@ -181,7 +181,8 @@ define(['jquery', 'i18n', 'ui/pagination', 'ui/searchModal/advancedSearch', 'han
|
|
|
181
181
|
} else {
|
|
182
182
|
$scopeName.removeAttr('title');
|
|
183
183
|
}
|
|
184
|
-
|
|
184
|
+
const showSubfolders = includesSubfolders !== false && folderHasSubfolders(content);
|
|
185
|
+
if (showSubfolders) {
|
|
185
186
|
$scopeSubfolders.removeClass('hidden').removeAttr('hidden');
|
|
186
187
|
} else {
|
|
187
188
|
$scopeSubfolders.addClass('hidden').attr('hidden', 'hidden');
|
|
@@ -457,6 +458,7 @@ define(['jquery', 'i18n', 'ui/pagination', 'ui/searchModal/advancedSearch', 'han
|
|
|
457
458
|
* Detach asset-search handlers and destroy Advanced Search.
|
|
458
459
|
*/
|
|
459
460
|
function teardown() {
|
|
461
|
+
setResultsTableLoading(false);
|
|
460
462
|
requestSeq += 1;
|
|
461
463
|
searchMode = false;
|
|
462
464
|
$fileSelector.removeClass('search-mode');
|
|
@@ -591,6 +593,7 @@ define(['jquery', 'i18n', 'ui/pagination', 'ui/searchModal/advancedSearch', 'han
|
|
|
591
593
|
if ($modalTitle.length && browseModalTitle) {
|
|
592
594
|
$modalTitle.text(browseModalTitle);
|
|
593
595
|
}
|
|
596
|
+
setResultsTableLoading(false);
|
|
594
597
|
hideLoading();
|
|
595
598
|
hideError();
|
|
596
599
|
$paginationContainer.empty();
|
|
@@ -601,9 +604,12 @@ define(['jquery', 'i18n', 'ui/pagination', 'ui/searchModal/advancedSearch', 'han
|
|
|
601
604
|
}
|
|
602
605
|
|
|
603
606
|
/**
|
|
604
|
-
*
|
|
605
|
-
* @param {
|
|
607
|
+
* Toggle the file-table loading overlay during search (including pagination).
|
|
608
|
+
* @param {Boolean} loading
|
|
606
609
|
*/
|
|
610
|
+
function setResultsTableLoading(loading) {
|
|
611
|
+
$container.trigger(`searchtableloading.${ns}`, [!!loading]);
|
|
612
|
+
}
|
|
607
613
|
function runSearch(runOptions) {
|
|
608
614
|
if (!hasActiveSearch()) {
|
|
609
615
|
exitSearchMode();
|
|
@@ -611,9 +617,8 @@ define(['jquery', 'i18n', 'ui/pagination', 'ui/searchModal/advancedSearch', 'han
|
|
|
611
617
|
}
|
|
612
618
|
const quiet = Boolean(runOptions && runOptions.quiet);
|
|
613
619
|
const seq = ++requestSeq;
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
} else {
|
|
620
|
+
setResultsTableLoading(true);
|
|
621
|
+
if (!quiet) {
|
|
617
622
|
showLoading();
|
|
618
623
|
}
|
|
619
624
|
hideError();
|
|
@@ -637,9 +642,8 @@ define(['jquery', 'i18n', 'ui/pagination', 'ui/searchModal/advancedSearch', 'han
|
|
|
637
642
|
if (seq !== requestSeq) {
|
|
638
643
|
return;
|
|
639
644
|
}
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
} else {
|
|
645
|
+
setResultsTableLoading(false);
|
|
646
|
+
if (!quiet) {
|
|
643
647
|
hideLoading();
|
|
644
648
|
}
|
|
645
649
|
let normalized = assetSearchContract.normalizeSearchResponse(response);
|
|
@@ -668,6 +672,7 @@ define(['jquery', 'i18n', 'ui/pagination', 'ui/searchModal/advancedSearch', 'han
|
|
|
668
672
|
total = normalized.total;
|
|
669
673
|
page = normalized.page;
|
|
670
674
|
pageSize = normalized.pageSize;
|
|
675
|
+
updateScopeDisplay(scopeLabel, null, normalized.includesSubfolders);
|
|
671
676
|
let emptyMessage = '';
|
|
672
677
|
if (normalized.total === 0) {
|
|
673
678
|
if (normalized.metadataUnsupported) {
|
|
@@ -693,19 +698,18 @@ define(['jquery', 'i18n', 'ui/pagination', 'ui/searchModal/advancedSearch', 'han
|
|
|
693
698
|
emptyMessage
|
|
694
699
|
}]);
|
|
695
700
|
renderPagination();
|
|
696
|
-
}).fail(function () {
|
|
701
|
+
}).fail(function (jqXHR) {
|
|
697
702
|
if (seq !== requestSeq) {
|
|
698
703
|
return;
|
|
699
704
|
}
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
} else {
|
|
705
|
+
setResultsTableLoading(false);
|
|
706
|
+
if (!quiet) {
|
|
703
707
|
hideLoading();
|
|
704
708
|
}
|
|
705
709
|
page = 1;
|
|
706
710
|
total = 0;
|
|
707
711
|
$paginationContainer.empty();
|
|
708
|
-
const message = __('Unable to search assets. Please try again.');
|
|
712
|
+
const message = assetSearchContract.resolveServiceUnavailableSearchMessage(jqXHR, __('Unable to search assets. Please try again.'));
|
|
709
713
|
showError(message);
|
|
710
714
|
$container.trigger(`searchresults.${ns}`, [{
|
|
711
715
|
query,
|
|
@@ -755,7 +759,6 @@ define(['jquery', 'i18n', 'ui/pagination', 'ui/searchModal/advancedSearch', 'han
|
|
|
755
759
|
$searchButton.prop('disabled', true).addClass('is-searching').attr('aria-busy', 'true');
|
|
756
760
|
$searchButtonSpinner.removeClass('hidden');
|
|
757
761
|
$searchButtonLabel.text(__('Searching'));
|
|
758
|
-
$resultsRegion.attr('aria-busy', 'true');
|
|
759
762
|
}
|
|
760
763
|
|
|
761
764
|
/**
|
|
@@ -766,7 +769,6 @@ define(['jquery', 'i18n', 'ui/pagination', 'ui/searchModal/advancedSearch', 'han
|
|
|
766
769
|
$searchButton.removeClass('is-searching').attr('aria-busy', 'false');
|
|
767
770
|
$searchButtonSpinner.addClass('hidden');
|
|
768
771
|
$searchButtonLabel.text(__('Search'));
|
|
769
|
-
$resultsRegion.attr('aria-busy', 'false');
|
|
770
772
|
updateSearchActionState();
|
|
771
773
|
}
|
|
772
774
|
|
|
@@ -56,6 +56,14 @@ define(['exports'], function (exports) { 'use strict';
|
|
|
56
56
|
*/
|
|
57
57
|
const MIN_TEXT_QUERY_LENGTH = 3;
|
|
58
58
|
|
|
59
|
+
/**
|
|
60
|
+
* @param {*} entry
|
|
61
|
+
* @returns {boolean}
|
|
62
|
+
*/
|
|
63
|
+
function isNonemptyCriterionValue(entry) {
|
|
64
|
+
return entry !== '' && entry !== null && typeof entry !== 'undefined';
|
|
65
|
+
}
|
|
66
|
+
|
|
59
67
|
/**
|
|
60
68
|
* Whether a rendered metadata criterion has a usable value.
|
|
61
69
|
* @param {Object} criterion
|
|
@@ -72,9 +80,7 @@ define(['exports'], function (exports) { 'use strict';
|
|
|
72
80
|
if (!Array.isArray(criterion.value)) {
|
|
73
81
|
return false;
|
|
74
82
|
}
|
|
75
|
-
return criterion.value.some(
|
|
76
|
-
return entry !== '' && entry !== null && typeof entry !== 'undefined';
|
|
77
|
-
});
|
|
83
|
+
return criterion.value.some(isNonemptyCriterionValue);
|
|
78
84
|
}
|
|
79
85
|
return true;
|
|
80
86
|
}
|
|
@@ -187,10 +193,8 @@ define(['exports'], function (exports) { 'use strict';
|
|
|
187
193
|
return;
|
|
188
194
|
}
|
|
189
195
|
if (criterion.type === 'list' && Array.isArray(criterion.value)) {
|
|
190
|
-
const first = criterion.value.find(
|
|
191
|
-
|
|
192
|
-
});
|
|
193
|
-
if (typeof first !== 'undefined' && first !== null && first !== '') {
|
|
196
|
+
const first = criterion.value.find(isNonemptyCriterionValue);
|
|
197
|
+
if (isNonemptyCriterionValue(first)) {
|
|
194
198
|
metadata[criterion.propertyUri] = String(first);
|
|
195
199
|
}
|
|
196
200
|
}
|
|
@@ -216,6 +220,31 @@ define(['exports'], function (exports) { 'use strict';
|
|
|
216
220
|
return normalized;
|
|
217
221
|
}
|
|
218
222
|
|
|
223
|
+
/**
|
|
224
|
+
* @param {number} [requestedPageSize]
|
|
225
|
+
* @param {number} [normalizedPageSize]
|
|
226
|
+
* @returns {number}
|
|
227
|
+
*/
|
|
228
|
+
function resolveSearchPageSize(requestedPageSize, normalizedPageSize) {
|
|
229
|
+
const requested = Number(requestedPageSize);
|
|
230
|
+
if (requested > 0) {
|
|
231
|
+
return requested;
|
|
232
|
+
}
|
|
233
|
+
const fallback = Number(normalizedPageSize);
|
|
234
|
+
if (fallback > 0) {
|
|
235
|
+
return fallback;
|
|
236
|
+
}
|
|
237
|
+
return DEFAULT_PAGE_SIZE;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* @param {{field: string, direction: string}} [sort]
|
|
242
|
+
* @returns {{field: string, direction: string}}
|
|
243
|
+
*/
|
|
244
|
+
function mergeSortWithDefaults(sort) {
|
|
245
|
+
return Object.assign({}, DEFAULT_SORT, sort || {});
|
|
246
|
+
}
|
|
247
|
+
|
|
219
248
|
/**
|
|
220
249
|
* Normalize a search service payload into a stable picker shape.
|
|
221
250
|
*
|
|
@@ -242,10 +271,36 @@ define(['exports'], function (exports) { 'use strict';
|
|
|
242
271
|
items,
|
|
243
272
|
total,
|
|
244
273
|
page: Number.isFinite(page) && page > 0 ? page : 1,
|
|
245
|
-
pageSize: Number.isFinite(pageSize) && pageSize > 0 ? pageSize : DEFAULT_PAGE_SIZE
|
|
274
|
+
pageSize: Number.isFinite(pageSize) && pageSize > 0 ? pageSize : DEFAULT_PAGE_SIZE,
|
|
275
|
+
includesSubfolders: body.includesSubfolders !== false
|
|
246
276
|
};
|
|
247
277
|
}
|
|
248
278
|
|
|
279
|
+
/**
|
|
280
|
+
* Prefer a server-provided 503 message when the search service is unavailable.
|
|
281
|
+
*
|
|
282
|
+
* @param {*} jqXHR
|
|
283
|
+
* @param {string} fallbackMessage
|
|
284
|
+
* @returns {string}
|
|
285
|
+
*/
|
|
286
|
+
function resolveServiceUnavailableSearchMessage(jqXHR, fallbackMessage) {
|
|
287
|
+
if (!jqXHR || jqXHR.status !== 503) {
|
|
288
|
+
return fallbackMessage;
|
|
289
|
+
}
|
|
290
|
+
let body = jqXHR.responseJSON;
|
|
291
|
+
if (!body && jqXHR.responseText) {
|
|
292
|
+
try {
|
|
293
|
+
body = typeof jqXHR.responseText === 'string' ? JSON.parse(jqXHR.responseText) : jqXHR.responseText;
|
|
294
|
+
} catch (err) {
|
|
295
|
+
body = null;
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
if (body && body.message) {
|
|
299
|
+
return body.message;
|
|
300
|
+
}
|
|
301
|
+
return fallbackMessage;
|
|
302
|
+
}
|
|
303
|
+
|
|
249
304
|
/**
|
|
250
305
|
* Browse (`ItemContent/files`) responses use `children` and ignore `query`.
|
|
251
306
|
* Real search responses expose `items`.
|
|
@@ -273,8 +328,8 @@ define(['exports'], function (exports) { 'use strict';
|
|
|
273
328
|
*/
|
|
274
329
|
function applyLocalSearchFallback(normalized, options) {
|
|
275
330
|
const metadata = normalizeMetadataMap(options && options.metadata);
|
|
331
|
+
const pageSize = resolveSearchPageSize(options && options.pageSize, normalized.pageSize);
|
|
276
332
|
if (Object.keys(metadata).length) {
|
|
277
|
-
const pageSize = Number(options && options.pageSize) > 0 ? Number(options.pageSize) : normalized.pageSize || DEFAULT_PAGE_SIZE;
|
|
278
333
|
return {
|
|
279
334
|
items: [],
|
|
280
335
|
total: 0,
|
|
@@ -284,8 +339,7 @@ define(['exports'], function (exports) { 'use strict';
|
|
|
284
339
|
};
|
|
285
340
|
}
|
|
286
341
|
const query = String(options && options.query || '').trim().toLowerCase();
|
|
287
|
-
const sort = options && options.sort
|
|
288
|
-
const pageSize = Number(options && options.pageSize) > 0 ? Number(options.pageSize) : normalized.pageSize || DEFAULT_PAGE_SIZE;
|
|
342
|
+
const sort = mergeSortWithDefaults(options && options.sort);
|
|
289
343
|
const page = Number(options && options.page) > 0 ? Number(options.page) : 1;
|
|
290
344
|
let items = (normalized.items || []).filter(isSearchableAsset);
|
|
291
345
|
if (query) {
|
|
@@ -414,7 +468,7 @@ define(['exports'], function (exports) { 'use strict';
|
|
|
414
468
|
* @returns {Array}
|
|
415
469
|
*/
|
|
416
470
|
function sortAssetItems(items, sort) {
|
|
417
|
-
const resolved =
|
|
471
|
+
const resolved = mergeSortWithDefaults(sort);
|
|
418
472
|
return (items || []).slice().sort(function (a, b) {
|
|
419
473
|
const primary = compareSortValues(getSortValue(a, resolved.field), getSortValue(b, resolved.field), resolved.direction);
|
|
420
474
|
if (primary !== 0) {
|
|
@@ -470,6 +524,7 @@ define(['exports'], function (exports) { 'use strict';
|
|
|
470
524
|
exports.isBrowseShapedSearchPayload = isBrowseShapedSearchPayload;
|
|
471
525
|
exports.isMetadataCriterionComplete = isMetadataCriterionComplete;
|
|
472
526
|
exports.normalizeSearchResponse = normalizeSearchResponse;
|
|
527
|
+
exports.resolveServiceUnavailableSearchMessage = resolveServiceUnavailableSearchMessage;
|
|
473
528
|
exports.sortAssetItems = sortAssetItems;
|
|
474
529
|
|
|
475
530
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -298,7 +298,7 @@ Usage:
|
|
|
298
298
|
font-size: 1.2rem;
|
|
299
299
|
display: inline-block;
|
|
300
300
|
margin: 0;
|
|
301
|
-
color:
|
|
301
|
+
color: rgb(38.3333333333%, 38.3333333333%, 38.3333333333%);
|
|
302
302
|
font-weight: normal;
|
|
303
303
|
flex: 0 1 auto;
|
|
304
304
|
min-width: 0;
|
|
@@ -321,7 +321,7 @@ Usage:
|
|
|
321
321
|
max-width: 100%;
|
|
322
322
|
flex: 0 1 auto;
|
|
323
323
|
overflow: hidden;
|
|
324
|
-
color:
|
|
324
|
+
color: rgb(38.3333333333%, 38.3333333333%, 38.3333333333%);
|
|
325
325
|
line-height: 1.6;
|
|
326
326
|
font-weight: normal;
|
|
327
327
|
}
|
|
@@ -471,7 +471,7 @@ Usage:
|
|
|
471
471
|
content: "·";
|
|
472
472
|
display: inline-block;
|
|
473
473
|
margin: 0 6px;
|
|
474
|
-
color:
|
|
474
|
+
color: rgb(68.3333333333%, 68.3333333333%, 68.3333333333%);
|
|
475
475
|
}
|
|
476
476
|
.resourcemgr .file-browser .asset-search .applied-filters-summary.hidden {
|
|
477
477
|
display: none;
|
|
@@ -660,7 +660,7 @@ Usage:
|
|
|
660
660
|
line-height: 1.3;
|
|
661
661
|
}
|
|
662
662
|
.resourcemgr .file-browser .asset-search .filter-spoiler-body .select2-container-multi .select2-choices .select2-search-choice.select2-search-choice-focus {
|
|
663
|
-
background-color:
|
|
663
|
+
background-color: rgb(85.7647058824%, 85.0588235294%, 84.3529411765%);
|
|
664
664
|
}
|
|
665
665
|
.resourcemgr .file-browser .asset-search .filter-spoiler-body .select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close {
|
|
666
666
|
background-image: none !important;
|
|
@@ -774,8 +774,8 @@ Usage:
|
|
|
774
774
|
}
|
|
775
775
|
.resourcemgr .file-browser .asset-search-actions .asset-search-submit:disabled, .resourcemgr .file-browser .asset-search-actions .asset-search-submit[disabled] {
|
|
776
776
|
color: #ffffff;
|
|
777
|
-
background-color:
|
|
778
|
-
border-color:
|
|
777
|
+
background-color: rgb(68.3333333333%, 68.3333333333%, 68.3333333333%);
|
|
778
|
+
border-color: rgb(68.3333333333%, 68.3333333333%, 68.3333333333%);
|
|
779
779
|
cursor: not-allowed;
|
|
780
780
|
opacity: 1;
|
|
781
781
|
text-shadow: none;
|
|
@@ -783,8 +783,8 @@ Usage:
|
|
|
783
783
|
}
|
|
784
784
|
.resourcemgr .file-browser .asset-search-actions .asset-search-submit:disabled:hover, .resourcemgr .file-browser .asset-search-actions .asset-search-submit:disabled:focus, .resourcemgr .file-browser .asset-search-actions .asset-search-submit:disabled:active, .resourcemgr .file-browser .asset-search-actions .asset-search-submit[disabled]:hover, .resourcemgr .file-browser .asset-search-actions .asset-search-submit[disabled]:focus, .resourcemgr .file-browser .asset-search-actions .asset-search-submit[disabled]:active {
|
|
785
785
|
color: #ffffff;
|
|
786
|
-
background-color:
|
|
787
|
-
border-color:
|
|
786
|
+
background-color: rgb(68.3333333333%, 68.3333333333%, 68.3333333333%);
|
|
787
|
+
border-color: rgb(68.3333333333%, 68.3333333333%, 68.3333333333%);
|
|
788
788
|
opacity: 1;
|
|
789
789
|
}
|
|
790
790
|
.resourcemgr .file-browser .asset-search-actions .asset-search-submit.is-searching, .resourcemgr .file-browser .asset-search-actions .asset-search-submit.is-searching:disabled, .resourcemgr .file-browser .asset-search-actions .asset-search-submit.is-searching[disabled] {
|
|
@@ -896,7 +896,7 @@ Usage:
|
|
|
896
896
|
}
|
|
897
897
|
.resourcemgr .file-browser ul li a > .tree-toggle {
|
|
898
898
|
width: 1em;
|
|
899
|
-
color:
|
|
899
|
+
color: rgb(38.3333333333%, 38.3333333333%, 38.3333333333%);
|
|
900
900
|
}
|
|
901
901
|
.resourcemgr .file-browser ul li a > .tree-toggle.is-leaf:before, .resourcemgr .file-browser ul li a > .tree-toggle:not(.icon-right):not(.icon-down):before {
|
|
902
902
|
content: none;
|
|
@@ -915,7 +915,7 @@ Usage:
|
|
|
915
915
|
content: "\e60d";
|
|
916
916
|
}
|
|
917
917
|
.resourcemgr .file-browser ul li.active > a {
|
|
918
|
-
background-color:
|
|
918
|
+
background-color: rgb(91.568627451%, 94.2745098039%, 96.1176470588%);
|
|
919
919
|
border: 0;
|
|
920
920
|
outline: none;
|
|
921
921
|
box-shadow: none;
|
|
@@ -996,7 +996,7 @@ Usage:
|
|
|
996
996
|
}
|
|
997
997
|
.resourcemgr .file-selector .empty {
|
|
998
998
|
display: none;
|
|
999
|
-
color:
|
|
999
|
+
color: rgb(38.3333333333%, 38.3333333333%, 38.3333333333%);
|
|
1000
1000
|
font-style: italic;
|
|
1001
1001
|
font-size: 18px;
|
|
1002
1002
|
font-size: 1.8rem;
|
|
@@ -1081,7 +1081,7 @@ Usage:
|
|
|
1081
1081
|
text-align: left;
|
|
1082
1082
|
font-weight: bold;
|
|
1083
1083
|
padding: 12px 12px 10px;
|
|
1084
|
-
border-bottom: 1px solid
|
|
1084
|
+
border-bottom: 1px solid rgb(92%, 92.4705882353%, 93.1764705882%);
|
|
1085
1085
|
background-color: transparent;
|
|
1086
1086
|
color: #222222;
|
|
1087
1087
|
white-space: nowrap;
|
|
@@ -1103,7 +1103,6 @@ Usage:
|
|
|
1103
1103
|
height: 12px;
|
|
1104
1104
|
opacity: 0.55;
|
|
1105
1105
|
background-color: #222222;
|
|
1106
|
-
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Cpath fill='black' d='M0 1h12v1.5H0zm0 3.5h9v1.5H0zm0 3.5h6v1.5H0z'/%3E%3Cpath fill='black' d='M9.5 8.5L12 12H7z'/%3E%3C/svg%3E") center/contain no-repeat;
|
|
1107
1106
|
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Cpath fill='black' d='M0 1h12v1.5H0zm0 3.5h9v1.5H0zm0 3.5h6v1.5H0z'/%3E%3Cpath fill='black' d='M9.5 8.5L12 12H7z'/%3E%3C/svg%3E") center/contain no-repeat;
|
|
1108
1107
|
}
|
|
1109
1108
|
.resourcemgr .file-selector table.files thead th.sortable:hover .sort-label:after, .resourcemgr .file-selector table.files thead th.sortable:focus .sort-label:after {
|
|
@@ -1122,7 +1121,7 @@ Usage:
|
|
|
1122
1121
|
cursor: pointer;
|
|
1123
1122
|
}
|
|
1124
1123
|
.resourcemgr .file-selector table.files tbody tr.active, .resourcemgr .file-selector table.files tbody tr:hover {
|
|
1125
|
-
background-color:
|
|
1124
|
+
background-color: rgb(91.568627451%, 94.2745098039%, 96.1176470588%);
|
|
1126
1125
|
}
|
|
1127
1126
|
.resourcemgr .file-selector table.files tbody tr td {
|
|
1128
1127
|
padding: 10px 12px;
|
|
@@ -1213,7 +1212,7 @@ Usage:
|
|
|
1213
1212
|
.resourcemgr .file-selector table.files .meta {
|
|
1214
1213
|
font-size: 12px;
|
|
1215
1214
|
font-size: 1.2rem;
|
|
1216
|
-
color:
|
|
1215
|
+
color: rgb(38.3333333333%, 38.3333333333%, 38.3333333333%);
|
|
1217
1216
|
}
|
|
1218
1217
|
.resourcemgr .file-selector table.files .row-actions {
|
|
1219
1218
|
display: inline-flex;
|
|
@@ -1365,7 +1364,7 @@ Usage:
|
|
|
1365
1364
|
.resourcemgr .file-selector .pagination-bottom .pagination .pages > .disabled > a,
|
|
1366
1365
|
.resourcemgr .file-selector .pagination-bottom .pagination .pages > .disabled > span,
|
|
1367
1366
|
.resourcemgr .file-selector .pagination-bottom .pagination .pages > .disabled > button {
|
|
1368
|
-
color:
|
|
1367
|
+
color: rgb(58.3333333333%, 58.3333333333%, 58.3333333333%);
|
|
1369
1368
|
cursor: not-allowed;
|
|
1370
1369
|
text-decoration: none;
|
|
1371
1370
|
pointer-events: none;
|
|
@@ -1380,7 +1379,7 @@ Usage:
|
|
|
1380
1379
|
.resourcemgr .file-selector .pagination-bottom .pagination .pages > .disabled > button:hover,
|
|
1381
1380
|
.resourcemgr .file-selector .pagination-bottom .pagination .pages > .disabled > button:focus,
|
|
1382
1381
|
.resourcemgr .file-selector .pagination-bottom .pagination .pages > .disabled > button:active {
|
|
1383
|
-
color:
|
|
1382
|
+
color: rgb(58.3333333333%, 58.3333333333%, 58.3333333333%);
|
|
1384
1383
|
text-decoration: none;
|
|
1385
1384
|
background: transparent;
|
|
1386
1385
|
background-color: transparent;
|
|
@@ -1400,7 +1399,7 @@ Usage:
|
|
|
1400
1399
|
.resourcemgr .file-selector .pagination-bottom .pagination .pages > .disabled > button:active {
|
|
1401
1400
|
background-color: transparent !important;
|
|
1402
1401
|
border: none !important;
|
|
1403
|
-
color:
|
|
1402
|
+
color: rgb(58.3333333333%, 58.3333333333%, 58.3333333333%) !important;
|
|
1404
1403
|
cursor: not-allowed !important;
|
|
1405
1404
|
opacity: 1 !important;
|
|
1406
1405
|
text-shadow: none !important;
|