@alfresco/adf-content-services 8.4.0-20291166521 → 8.4.0-20341456262
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/fesm2022/adf-content-services.mjs +7 -1934
- package/fesm2022/adf-content-services.mjs.map +1 -1
- package/package.json +3 -3
- package/public-api.d.ts +0 -1
- package/lib/mock/date-range-search-filter.mock.d.ts +0 -20
- package/lib/mock/document-library.model.mock.d.ts +0 -32
- package/lib/mock/document-list.component.mock.d.ts +0 -171
- package/lib/mock/index.d.ts +0 -17
- package/lib/mock/new-version-uploader.service.mock.d.ts +0 -19
- package/lib/mock/public-api.d.ts +0 -26
- package/lib/mock/search-filter-mock.d.ts +0 -321
- package/lib/mock/search-query.mock.d.ts +0 -18
- package/lib/mock/search.component.mock.d.ts +0 -31
- package/lib/mock/search.service.mock.d.ts +0 -83
- package/lib/mock/sites-dropdown.component.mock.d.ts +0 -22
- package/lib/testing/content.testing.module.d.ts +0 -10
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Component, InjectionToken, Optional, Inject, Injectable, inject, ViewEncapsulation, HostListener, Input, Directive, DestroyRef, EventEmitter, Output, ViewChild, ElementRef, ContentChildren, effect, ViewContainerRef, ContentChild, NgZone, forwardRef, TemplateRef, Pipe, HostBinding, ChangeDetectionStrategy, Host, NgModule, ViewChildren, Injector, runInInjectionContext, APP_INITIALIZER } from '@angular/core';
|
|
3
3
|
import * as i3 from '@alfresco/js-api';
|
|
4
|
-
import { AlfrescoApiConfig, AlfrescoApi, ContentApi, TrashcanApi, NodesApi, PeopleApi, SitesApi, SearchApi, SharedlinksApi, FavoritesApi, SEARCH_LANGUAGE, SiteMemberPaging, DiscoveryApi, AboutApi, SystemPropertiesApi, UploadApi, VersionsApi, RenditionsApi, PreferencesApi, DownloadsApi, FileDownloadStatus, TagsApi, TagBody, CategoriesApi, QueriesApi, Pagination, SiteEntry, Site, NodePagingList, Node, UserInfo, ContentInfo, Category, SitePaging, ClassesApi, TypesApi, CategoryLinkBody, AspectsApi, GroupsApi, NodeEntry, CommentsApi, SecurityGroupsApi, SecurityMarksApi, AuthorityClearanceApi, PredictionsApi, LegalHoldApi, AgentsApi, SearchAiApi
|
|
4
|
+
import { AlfrescoApiConfig, AlfrescoApi, ContentApi, TrashcanApi, NodesApi, PeopleApi, SitesApi, SearchApi, SharedlinksApi, FavoritesApi, SEARCH_LANGUAGE, SiteMemberPaging, DiscoveryApi, AboutApi, SystemPropertiesApi, UploadApi, VersionsApi, RenditionsApi, PreferencesApi, DownloadsApi, FileDownloadStatus, TagsApi, TagBody, CategoriesApi, QueriesApi, Pagination, SiteEntry, Site, NodePagingList, Node, UserInfo, ContentInfo, Category, SitePaging, ClassesApi, TypesApi, CategoryLinkBody, AspectsApi, GroupsApi, NodeEntry, CommentsApi, SecurityGroupsApi, SecurityMarksApi, AuthorityClearanceApi, PredictionsApi, LegalHoldApi, AgentsApi, SearchAiApi } from '@alfresco/js-api';
|
|
5
5
|
import { ReplaySubject, Subject, from, throwError, Observable, of, forkJoin, take as take$1, switchMap as switchMap$1, tap as tap$1, catchError as catchError$1, map as map$1, BehaviorSubject, timer, merge, EMPTY, Subscription, defer, zip, iif } from 'rxjs';
|
|
6
6
|
import * as i2 from '@alfresco/adf-core';
|
|
7
|
-
import { AppConfigValues, BpmProductVersionModel, AppConfigService, ObjectUtils, DataSorting, BaseEvent, DateFnsUtils, ADF_DATE_FORMATS, ADF_DATETIME_FORMATS, AdfDateFnsAdapter, AdfDateTimeFnsAdapter, IconComponent, HeaderFilterTemplateDirective, DataTableSchema, ShowHeaderMode, UserPreferenceValues, DataTableComponent, NoContentTemplateDirective, EmptyListComponent, NoPermissionTemplateDirective, LoadingContentTemplateDirective, MainMenuDataTableTemplateDirective, ColumnsSelectorComponent, DataColumnListComponent, CustomLoadingContentTemplateDirective, CustomNoPermissionTemplateDirective, CustomEmptyContentTemplateDirective, DataTableService, TranslationService, FileUtils, NotificationService, EXTENDIBLE_COMPONENT, FileSizePipe, InfiniteSelectScrollDirective, ToolbarTitleComponent, ToolbarComponent, HighlightDirective, DataColumnComponent, InfinitePaginationComponent, DynamicChipListComponent, SortingPickerComponent, SearchTextInputComponent, HighlightPipe, ConfirmDialogComponent, FileTypePipe, ContextMenuDirective, CardViewTextItemModel, CardViewDateItemModel, CardViewItemMatchValidator, UserPreferencesService, LogService, CardViewSelectItemModel, MultiValuePipe, CardViewBoolItemModel, CardViewDatetimeItemModel, CardViewFloatItemModel, CardViewLongItemModel, CardViewIntItemModel, DecimalNumberPipe, CardViewComponent, User, InitialUsernamePipe, DateColumnHeaderComponent, EmptyContentComponent, ClipboardDirective, CommentModel, CommentsComponent, ADF_COMMENTS_SERVICE, CloseButtonPosition, ViewerToolbarComponent, ViewerSidebarComponent, ViewerToolbarActionsComponent, ViewerMoreActionsComponent, ViewerOpenWithComponent, ViewUtilService, VIEWER_DIRECTIVES, provideTranslations
|
|
7
|
+
import { AppConfigValues, BpmProductVersionModel, AppConfigService, ObjectUtils, DataSorting, BaseEvent, DateFnsUtils, ADF_DATE_FORMATS, ADF_DATETIME_FORMATS, AdfDateFnsAdapter, AdfDateTimeFnsAdapter, IconComponent, HeaderFilterTemplateDirective, DataTableSchema, ShowHeaderMode, UserPreferenceValues, DataTableComponent, NoContentTemplateDirective, EmptyListComponent, NoPermissionTemplateDirective, LoadingContentTemplateDirective, MainMenuDataTableTemplateDirective, ColumnsSelectorComponent, DataColumnListComponent, CustomLoadingContentTemplateDirective, CustomNoPermissionTemplateDirective, CustomEmptyContentTemplateDirective, DataTableService, TranslationService, FileUtils, NotificationService, EXTENDIBLE_COMPONENT, FileSizePipe, InfiniteSelectScrollDirective, ToolbarTitleComponent, ToolbarComponent, HighlightDirective, DataColumnComponent, InfinitePaginationComponent, DynamicChipListComponent, SortingPickerComponent, SearchTextInputComponent, HighlightPipe, ConfirmDialogComponent, FileTypePipe, ContextMenuDirective, CardViewTextItemModel, CardViewDateItemModel, CardViewItemMatchValidator, UserPreferencesService, LogService, CardViewSelectItemModel, MultiValuePipe, CardViewBoolItemModel, CardViewDatetimeItemModel, CardViewFloatItemModel, CardViewLongItemModel, CardViewIntItemModel, DecimalNumberPipe, CardViewComponent, User, InitialUsernamePipe, DateColumnHeaderComponent, EmptyContentComponent, ClipboardDirective, CommentModel, CommentsComponent, ADF_COMMENTS_SERVICE, CloseButtonPosition, ViewerToolbarComponent, ViewerSidebarComponent, ViewerToolbarActionsComponent, ViewerMoreActionsComponent, ViewerOpenWithComponent, ViewUtilService, VIEWER_DIRECTIVES, provideTranslations } from '@alfresco/adf-core';
|
|
8
8
|
import * as i1 from '@angular/material/dialog';
|
|
9
9
|
import { MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog';
|
|
10
10
|
import { map, catchError, filter, take, switchMap, tap, first, concatMap, startWith, debounce, delay, debounceTime, retry, mergeMap, distinctUntilChanged, takeUntil, finalize, toArray, expand, reduce } from 'rxjs/operators';
|
|
@@ -82,8 +82,6 @@ import * as i7$5 from '@angular/material/slide-toggle';
|
|
|
82
82
|
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
|
|
83
83
|
import { TemplatePortal } from '@angular/cdk/portal';
|
|
84
84
|
import * as i2$5 from '@alfresco/adf-core/api';
|
|
85
|
-
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
|
86
|
-
import { MatIconTestingModule } from '@angular/material/icon/testing';
|
|
87
85
|
|
|
88
86
|
/*!
|
|
89
87
|
* @license
|
|
@@ -17198,7 +17196,7 @@ class SearchTermValidator {
|
|
|
17198
17196
|
* See the License for the specific language governing permissions and
|
|
17199
17197
|
* limitations under the License.
|
|
17200
17198
|
*/
|
|
17201
|
-
const fakeSearch
|
|
17199
|
+
const fakeSearch = {
|
|
17202
17200
|
list: new NodePagingList({
|
|
17203
17201
|
pagination: {
|
|
17204
17202
|
count: 1,
|
|
@@ -17224,7 +17222,7 @@ const fakeSearch$1 = {
|
|
|
17224
17222
|
]
|
|
17225
17223
|
})
|
|
17226
17224
|
};
|
|
17227
|
-
const mockError
|
|
17225
|
+
const mockError = {
|
|
17228
17226
|
error: {
|
|
17229
17227
|
errorKey: 'Search failed',
|
|
17230
17228
|
statusCode: 400,
|
|
@@ -17233,8 +17231,8 @@ const mockError$1 = {
|
|
|
17233
17231
|
descriptionURL: 'https://api-explorer.alfresco.com'
|
|
17234
17232
|
}
|
|
17235
17233
|
};
|
|
17236
|
-
const searchMockApi
|
|
17237
|
-
findNodes: () => Promise.resolve(fakeSearch
|
|
17234
|
+
const searchMockApi = {
|
|
17235
|
+
findNodes: () => Promise.resolve(fakeSearch)
|
|
17238
17236
|
};
|
|
17239
17237
|
|
|
17240
17238
|
/*!
|
|
@@ -27736,1931 +27734,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
27736
27734
|
}]
|
|
27737
27735
|
}] });
|
|
27738
27736
|
|
|
27739
|
-
/*!
|
|
27740
|
-
* @license
|
|
27741
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
27742
|
-
*
|
|
27743
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
27744
|
-
* you may not use this file except in compliance with the License.
|
|
27745
|
-
* You may obtain a copy of the License at
|
|
27746
|
-
*
|
|
27747
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
27748
|
-
*
|
|
27749
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
27750
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
27751
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
27752
|
-
* See the License for the specific language governing permissions and
|
|
27753
|
-
* limitations under the License.
|
|
27754
|
-
*/
|
|
27755
|
-
class FileNode extends NodeEntry {
|
|
27756
|
-
constructor(name, mimeType, id) {
|
|
27757
|
-
super();
|
|
27758
|
-
this.entry = new Node();
|
|
27759
|
-
this.entry.id = id || 'file-id';
|
|
27760
|
-
this.entry.isFile = true;
|
|
27761
|
-
this.entry.isFolder = false;
|
|
27762
|
-
this.entry.name = name;
|
|
27763
|
-
this.entry.path = new PathInfo();
|
|
27764
|
-
this.entry.content = new ContentInfo();
|
|
27765
|
-
this.entry.content.mimeType = mimeType || 'text/plain';
|
|
27766
|
-
this.entry.properties = {};
|
|
27767
|
-
}
|
|
27768
|
-
}
|
|
27769
|
-
class FolderNode extends NodeEntry {
|
|
27770
|
-
constructor(name) {
|
|
27771
|
-
super();
|
|
27772
|
-
this.entry = new Node();
|
|
27773
|
-
this.entry.id = 'folder-id';
|
|
27774
|
-
this.entry.isFile = false;
|
|
27775
|
-
this.entry.isFolder = true;
|
|
27776
|
-
this.entry.name = name;
|
|
27777
|
-
this.entry.path = new PathInfo();
|
|
27778
|
-
this.entry.aspectNames = ['cm:folder'];
|
|
27779
|
-
this.entry.properties = {};
|
|
27780
|
-
}
|
|
27781
|
-
}
|
|
27782
|
-
class SmartFolderNode extends NodeEntry {
|
|
27783
|
-
constructor(name) {
|
|
27784
|
-
super();
|
|
27785
|
-
this.entry = new Node();
|
|
27786
|
-
this.entry.id = 'smart-folder-id';
|
|
27787
|
-
this.entry.isFile = false;
|
|
27788
|
-
this.entry.isFolder = true;
|
|
27789
|
-
this.entry.name = name;
|
|
27790
|
-
this.entry.path = new PathInfo();
|
|
27791
|
-
this.entry.aspectNames = ['smf:systemConfigSmartFolder'];
|
|
27792
|
-
this.entry.properties = {};
|
|
27793
|
-
}
|
|
27794
|
-
}
|
|
27795
|
-
class RuleFolderNode extends NodeEntry {
|
|
27796
|
-
constructor(name) {
|
|
27797
|
-
super();
|
|
27798
|
-
this.entry = new Node();
|
|
27799
|
-
this.entry.id = 'rule-folder-id';
|
|
27800
|
-
this.entry.isFile = false;
|
|
27801
|
-
this.entry.isFolder = true;
|
|
27802
|
-
this.entry.name = name;
|
|
27803
|
-
this.entry.path = new PathInfo();
|
|
27804
|
-
this.entry.aspectNames = ['rule:rules'];
|
|
27805
|
-
this.entry.properties = {};
|
|
27806
|
-
}
|
|
27807
|
-
}
|
|
27808
|
-
class LinkFolderNode extends NodeEntry {
|
|
27809
|
-
constructor(name) {
|
|
27810
|
-
super();
|
|
27811
|
-
this.entry = new Node();
|
|
27812
|
-
this.entry.id = 'link-folder-id';
|
|
27813
|
-
this.entry.isFile = false;
|
|
27814
|
-
this.entry.isFolder = true;
|
|
27815
|
-
this.entry.nodeType = 'app:folderlink';
|
|
27816
|
-
this.entry.name = name;
|
|
27817
|
-
this.entry.path = new PathInfo();
|
|
27818
|
-
this.entry.properties = {};
|
|
27819
|
-
}
|
|
27820
|
-
}
|
|
27821
|
-
|
|
27822
|
-
/*!
|
|
27823
|
-
* @license
|
|
27824
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
27825
|
-
*
|
|
27826
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
27827
|
-
* you may not use this file except in compliance with the License.
|
|
27828
|
-
* You may obtain a copy of the License at
|
|
27829
|
-
*
|
|
27830
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
27831
|
-
*
|
|
27832
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
27833
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
27834
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
27835
|
-
* See the License for the specific language governing permissions and
|
|
27836
|
-
* limitations under the License.
|
|
27837
|
-
*/
|
|
27838
|
-
const fakeNodeWithCreatePermission = new Node({
|
|
27839
|
-
isFile: false,
|
|
27840
|
-
createdByUser: { id: 'admin', displayName: 'Administrator' },
|
|
27841
|
-
modifiedAt: new Date('2017-06-08T13:53:46.495Z'),
|
|
27842
|
-
nodeType: 'cm:folder',
|
|
27843
|
-
parentId: '55052317-7e59-4058-8e07-769f41e615e1',
|
|
27844
|
-
createdAt: new Date('2017-05-22T11:36:11.270Z'),
|
|
27845
|
-
path: {
|
|
27846
|
-
name: '/Company Home/User Homes',
|
|
27847
|
-
isComplete: true,
|
|
27848
|
-
elements: [
|
|
27849
|
-
{
|
|
27850
|
-
id: '94acfc73-7014-4475-9bd9-93a2162f0f8c',
|
|
27851
|
-
name: 'Company Home'
|
|
27852
|
-
},
|
|
27853
|
-
{ id: '55052317-7e59-4058-8e07-769f41e615e1', name: 'User Homes' }
|
|
27854
|
-
]
|
|
27855
|
-
},
|
|
27856
|
-
isFolder: true,
|
|
27857
|
-
modifiedByUser: { id: 'Test', displayName: 'Test' },
|
|
27858
|
-
name: 'Test',
|
|
27859
|
-
id: '70e1cc6a-6918-468a-b84a-1048093b06fd',
|
|
27860
|
-
properties: {},
|
|
27861
|
-
allowableOperations: ['delete', 'update', 'create']
|
|
27862
|
-
});
|
|
27863
|
-
const fakeNodeWithNoPermission = new Node({
|
|
27864
|
-
isFile: false,
|
|
27865
|
-
createdByUser: { id: 'admin', displayName: 'Administrator' },
|
|
27866
|
-
modifiedAt: new Date('2017-06-08T13:53:46.495Z'),
|
|
27867
|
-
nodeType: 'cm:folder',
|
|
27868
|
-
parentId: '55052317-7e59-4058-8e07-769f41e615e1',
|
|
27869
|
-
aspectNames: ['cm:ownable', 'cm:auditable'],
|
|
27870
|
-
createdAt: new Date('2017-05-22T11:36:11.270Z'),
|
|
27871
|
-
path: {
|
|
27872
|
-
name: '/Company Home/User Homes',
|
|
27873
|
-
isComplete: true,
|
|
27874
|
-
elements: [
|
|
27875
|
-
{
|
|
27876
|
-
id: '94acfc73-7014-4475-9bd9-93a2162f0f8c',
|
|
27877
|
-
name: 'Company Home'
|
|
27878
|
-
},
|
|
27879
|
-
{ id: '55052317-7e59-4058-8e07-769f41e615e1', name: 'User Homes' }
|
|
27880
|
-
]
|
|
27881
|
-
},
|
|
27882
|
-
isFolder: true,
|
|
27883
|
-
modifiedByUser: { id: 'Test', displayName: 'Test' },
|
|
27884
|
-
name: 'Test',
|
|
27885
|
-
id: '70e1cc6a-6918-468a-b84a-1048093b06fd',
|
|
27886
|
-
properties: {}
|
|
27887
|
-
});
|
|
27888
|
-
const fakeNodeAnswerWithEntries = {
|
|
27889
|
-
list: {
|
|
27890
|
-
pagination: {
|
|
27891
|
-
count: 4,
|
|
27892
|
-
hasMoreItems: false,
|
|
27893
|
-
totalItems: 14,
|
|
27894
|
-
skipCount: 10,
|
|
27895
|
-
maxItems: 10
|
|
27896
|
-
},
|
|
27897
|
-
entries: [
|
|
27898
|
-
{
|
|
27899
|
-
entry: {
|
|
27900
|
-
isFile: true,
|
|
27901
|
-
createdByUser: { id: 'admin', displayName: 'Administrator' },
|
|
27902
|
-
modifiedAt: '2017-05-24T15:08:55.640Z',
|
|
27903
|
-
nodeType: 'cm:content',
|
|
27904
|
-
content: {
|
|
27905
|
-
mimeType: 'application/rtf',
|
|
27906
|
-
mimeTypeName: 'Rich Text Format',
|
|
27907
|
-
sizeInBytes: 14530,
|
|
27908
|
-
encoding: 'UTF-8'
|
|
27909
|
-
},
|
|
27910
|
-
parentId: 'd124de26-6ba0-4f40-8d98-4907da2d337a',
|
|
27911
|
-
createdAt: '2017-05-24T15:08:55.640Z',
|
|
27912
|
-
path: {
|
|
27913
|
-
name: '/Company Home/Guest Home',
|
|
27914
|
-
isComplete: true,
|
|
27915
|
-
elements: [
|
|
27916
|
-
{
|
|
27917
|
-
id: '94acfc73-7014-4475-9bd9-93a2162f0f8c',
|
|
27918
|
-
name: 'Company Home'
|
|
27919
|
-
},
|
|
27920
|
-
{ id: 'd124de26-6ba0-4f40-8d98-4907da2d337a', name: 'Guest Home' }
|
|
27921
|
-
]
|
|
27922
|
-
},
|
|
27923
|
-
isFolder: false,
|
|
27924
|
-
modifiedByUser: { id: 'admin', displayName: 'Administrator' },
|
|
27925
|
-
name: 'b_txt_file.rtf',
|
|
27926
|
-
id: '67b80f77-dbca-4f58-be6c-71b9dd61ea53',
|
|
27927
|
-
properties: { 'cm:versionLabel': '1.0', 'cm:versionType': 'MAJOR' },
|
|
27928
|
-
allowableOperations: ['delete', 'update']
|
|
27929
|
-
}
|
|
27930
|
-
}
|
|
27931
|
-
]
|
|
27932
|
-
}
|
|
27933
|
-
};
|
|
27934
|
-
const fakeNodeAnswerWithNOEntries = {
|
|
27935
|
-
list: {
|
|
27936
|
-
pagination: {
|
|
27937
|
-
count: 4,
|
|
27938
|
-
hasMoreItems: false,
|
|
27939
|
-
totalItems: 14,
|
|
27940
|
-
skipCount: 10,
|
|
27941
|
-
maxItems: 10
|
|
27942
|
-
},
|
|
27943
|
-
entries: []
|
|
27944
|
-
}
|
|
27945
|
-
};
|
|
27946
|
-
const fakeGetSitesAnswer = {
|
|
27947
|
-
list: {
|
|
27948
|
-
pagination: {
|
|
27949
|
-
count: 3,
|
|
27950
|
-
hasMoreItems: false,
|
|
27951
|
-
totalItems: 3,
|
|
27952
|
-
skipCount: 0,
|
|
27953
|
-
maxItems: 20
|
|
27954
|
-
},
|
|
27955
|
-
entries: [
|
|
27956
|
-
{
|
|
27957
|
-
entry: {
|
|
27958
|
-
role: 'SiteManager',
|
|
27959
|
-
visibility: 'PRIVATE',
|
|
27960
|
-
guid: 'ac65fdbe-0c79-4f67-bd6a-b89a2768561b',
|
|
27961
|
-
id: 'admin-site',
|
|
27962
|
-
preset: 'site-dashboard',
|
|
27963
|
-
title: 'Admin Site'
|
|
27964
|
-
}
|
|
27965
|
-
},
|
|
27966
|
-
{
|
|
27967
|
-
entry: {
|
|
27968
|
-
role: 'SiteManager',
|
|
27969
|
-
visibility: 'PUBLIC',
|
|
27970
|
-
guid: 'b4cff62a-664d-4d45-9302-98723eac1319',
|
|
27971
|
-
description: 'This is a Sample Alfresco Team site.',
|
|
27972
|
-
id: 'swsdp',
|
|
27973
|
-
preset: 'site-dashboard',
|
|
27974
|
-
title: 'Sample: Web Site Design Project'
|
|
27975
|
-
}
|
|
27976
|
-
},
|
|
27977
|
-
{
|
|
27978
|
-
entry: {
|
|
27979
|
-
visibility: 'PUBLIC',
|
|
27980
|
-
guid: 'af36cf8f-d43c-4a4b-84e6-d1b03e3a2ce5',
|
|
27981
|
-
id: 'test-site',
|
|
27982
|
-
preset: 'site-dashboard',
|
|
27983
|
-
title: 'Test Site'
|
|
27984
|
-
}
|
|
27985
|
-
}
|
|
27986
|
-
]
|
|
27987
|
-
}
|
|
27988
|
-
};
|
|
27989
|
-
const fakeGetSiteMembership = {
|
|
27990
|
-
list: {
|
|
27991
|
-
pagination: {
|
|
27992
|
-
count: 2,
|
|
27993
|
-
hasMoreItems: false,
|
|
27994
|
-
totalItems: 2,
|
|
27995
|
-
skipCount: 0,
|
|
27996
|
-
maxItems: 20
|
|
27997
|
-
},
|
|
27998
|
-
entries: [
|
|
27999
|
-
{
|
|
28000
|
-
entry: {
|
|
28001
|
-
site: {
|
|
28002
|
-
role: 'SiteManager',
|
|
28003
|
-
visibility: 'PRIVATE',
|
|
28004
|
-
guid: 'ac65fdbe-0c79-4f67-bd6a-b89a2768561b',
|
|
28005
|
-
id: 'admin-site',
|
|
28006
|
-
preset: 'site-dashboard',
|
|
28007
|
-
title: 'Admin Site'
|
|
28008
|
-
},
|
|
28009
|
-
role: 'SiteManager',
|
|
28010
|
-
guid: 'ac65fdbe-0c79-4f67-bd6a-b89a2768561b',
|
|
28011
|
-
id: 'admin-site'
|
|
28012
|
-
}
|
|
28013
|
-
},
|
|
28014
|
-
{
|
|
28015
|
-
entry: {
|
|
28016
|
-
site: {
|
|
28017
|
-
role: 'SiteManager',
|
|
28018
|
-
visibility: 'PUBLIC',
|
|
28019
|
-
guid: 'b4cff62a-664d-4d45-9302-98723eac1319',
|
|
28020
|
-
description: 'This is a Sample Alfresco Team site.',
|
|
28021
|
-
id: 'swsdp',
|
|
28022
|
-
preset: 'site-dashboard',
|
|
28023
|
-
title: 'Sample: Web Site Design Project'
|
|
28024
|
-
},
|
|
28025
|
-
role: 'SiteManager',
|
|
28026
|
-
guid: 'b4cff62a-664d-4d45-9302-98723eac1319',
|
|
28027
|
-
id: 'swsdp'
|
|
28028
|
-
}
|
|
28029
|
-
}
|
|
28030
|
-
]
|
|
28031
|
-
}
|
|
28032
|
-
};
|
|
28033
|
-
const fakeNodePaging = {
|
|
28034
|
-
list: {
|
|
28035
|
-
pagination: {
|
|
28036
|
-
count: 5,
|
|
28037
|
-
hasMoreItems: false,
|
|
28038
|
-
totalItems: 5,
|
|
28039
|
-
skipCount: 0,
|
|
28040
|
-
maxItems: 100
|
|
28041
|
-
},
|
|
28042
|
-
entries: [
|
|
28043
|
-
{
|
|
28044
|
-
entry: fakeNodeWithNoPermission
|
|
28045
|
-
},
|
|
28046
|
-
{
|
|
28047
|
-
entry: fakeNodeWithNoPermission
|
|
28048
|
-
},
|
|
28049
|
-
{
|
|
28050
|
-
entry: fakeNodeWithNoPermission
|
|
28051
|
-
},
|
|
28052
|
-
{
|
|
28053
|
-
entry: fakeNodeWithNoPermission
|
|
28054
|
-
},
|
|
28055
|
-
{
|
|
28056
|
-
entry: fakeNodeWithNoPermission
|
|
28057
|
-
}
|
|
28058
|
-
]
|
|
28059
|
-
}
|
|
28060
|
-
};
|
|
28061
|
-
const mockNode1 = new Node({
|
|
28062
|
-
isFile: true,
|
|
28063
|
-
createdByUser: { id: 'admin', displayName: 'Administrator' },
|
|
28064
|
-
modifiedAt: new Date('2017-05-24T15:08:55.640Z'),
|
|
28065
|
-
nodeType: 'cm:content',
|
|
28066
|
-
content: {
|
|
28067
|
-
mimeType: 'application/rtf',
|
|
28068
|
-
mimeTypeName: 'Rich Text Format',
|
|
28069
|
-
sizeInBytes: 14530,
|
|
28070
|
-
encoding: 'UTF-8'
|
|
28071
|
-
},
|
|
28072
|
-
parentId: 'd124de26-6ba0-4f40-8d98-4907da2d337a',
|
|
28073
|
-
createdAt: new Date('2017-05-24T15:08:55.640Z'),
|
|
28074
|
-
path: {
|
|
28075
|
-
name: '/Company Home/Guest Home',
|
|
28076
|
-
isComplete: true,
|
|
28077
|
-
elements: [
|
|
28078
|
-
{
|
|
28079
|
-
id: '94acfc73-7014-4475-9bd9-93a2162f0f8c',
|
|
28080
|
-
name: 'Company Home'
|
|
28081
|
-
},
|
|
28082
|
-
{ id: 'd124de26-6ba0-4f40-8d98-4907da2d337a', name: 'Guest Home' }
|
|
28083
|
-
]
|
|
28084
|
-
},
|
|
28085
|
-
isFolder: false,
|
|
28086
|
-
modifiedByUser: { id: 'admin', displayName: 'Administrator' },
|
|
28087
|
-
name: 'b_txt_file.rtf',
|
|
28088
|
-
id: '70e1cc6a-6918-468a-b84a-1048093b06fd',
|
|
28089
|
-
properties: { 'cm:versionLabel': '1.0', 'cm:versionType': 'MAJOR' },
|
|
28090
|
-
allowableOperations: ['delete', 'update']
|
|
28091
|
-
});
|
|
28092
|
-
const mockNode2 = new Node({
|
|
28093
|
-
isFile: true,
|
|
28094
|
-
createdByUser: { id: 'admin', displayName: 'Administrator' },
|
|
28095
|
-
modifiedAt: new Date('2017-05-24T15:08:55.640Z'),
|
|
28096
|
-
nodeType: 'cm:content',
|
|
28097
|
-
content: {
|
|
28098
|
-
mimeType: 'application/rtf',
|
|
28099
|
-
mimeTypeName: 'Rich Text Format',
|
|
28100
|
-
sizeInBytes: 14530,
|
|
28101
|
-
encoding: 'UTF-8'
|
|
28102
|
-
},
|
|
28103
|
-
parentId: 'd124de26-6ba0-4f40-8d98-4907da2d337a',
|
|
28104
|
-
createdAt: new Date('2017-05-24T15:08:55.640Z'),
|
|
28105
|
-
path: {
|
|
28106
|
-
name: '/Company Home/Guest Home',
|
|
28107
|
-
isComplete: true,
|
|
28108
|
-
elements: [
|
|
28109
|
-
{
|
|
28110
|
-
id: '94acfc73-7014-4475-9bd9-93a2162f0f8c',
|
|
28111
|
-
name: 'Company Home'
|
|
28112
|
-
},
|
|
28113
|
-
{ id: 'd124de26-6ba0-4f40-8d98-4907da2d337a', name: 'Guest Home' }
|
|
28114
|
-
]
|
|
28115
|
-
},
|
|
28116
|
-
isFolder: false,
|
|
28117
|
-
modifiedByUser: { id: 'admin', displayName: 'Administrator' },
|
|
28118
|
-
name: 'b_txt_file.rtf',
|
|
28119
|
-
id: '67b80f77-dbca-4f58-be6c-71b9dd61e554',
|
|
28120
|
-
properties: { 'cm:versionLabel': '1.0', 'cm:versionType': 'MAJOR' },
|
|
28121
|
-
allowableOperations: ['delete', 'update']
|
|
28122
|
-
});
|
|
28123
|
-
const mockNode3 = new Node({
|
|
28124
|
-
isFile: true,
|
|
28125
|
-
createdByUser: { id: 'admin', displayName: 'Administrator' },
|
|
28126
|
-
modifiedAt: new Date('2017-05-24T15:08:55.640Z'),
|
|
28127
|
-
nodeType: 'cm:content',
|
|
28128
|
-
content: {
|
|
28129
|
-
mimeType: 'application/rtf',
|
|
28130
|
-
mimeTypeName: 'Rich Text Format',
|
|
28131
|
-
sizeInBytes: 14530,
|
|
28132
|
-
encoding: 'UTF-8'
|
|
28133
|
-
},
|
|
28134
|
-
parentId: 'd124de26-6ba0-4f40-8d98-4907da2d337a',
|
|
28135
|
-
createdAt: new Date('2017-05-24T15:08:55.640Z'),
|
|
28136
|
-
path: {
|
|
28137
|
-
name: '/Company Home/Guest Home',
|
|
28138
|
-
isComplete: true,
|
|
28139
|
-
elements: [
|
|
28140
|
-
{
|
|
28141
|
-
id: '94acfc73-7014-4475-9bd9-93a2162f0f8c',
|
|
28142
|
-
name: 'Company Home'
|
|
28143
|
-
},
|
|
28144
|
-
{ id: 'd124de26-6ba0-4f40-8d98-4907da2d337a', name: 'Guest Home' }
|
|
28145
|
-
]
|
|
28146
|
-
},
|
|
28147
|
-
isFolder: false,
|
|
28148
|
-
modifiedByUser: { id: 'admin', displayName: 'Administrator' },
|
|
28149
|
-
name: 'c_txt_file.rtf',
|
|
28150
|
-
id: '67b80f77-dbca-4f58-be6c-71b9dd61e555',
|
|
28151
|
-
properties: { 'cm:versionLabel': '1.0', 'cm:versionType': 'MAJOR' },
|
|
28152
|
-
allowableOperations: ['delete', 'update']
|
|
28153
|
-
});
|
|
28154
|
-
const mockPreselectedNodes = [
|
|
28155
|
-
{
|
|
28156
|
-
entry: mockNode1
|
|
28157
|
-
},
|
|
28158
|
-
{
|
|
28159
|
-
entry: mockNode2
|
|
28160
|
-
}
|
|
28161
|
-
];
|
|
28162
|
-
const mockNodePagingWithPreselectedNodes = {
|
|
28163
|
-
list: {
|
|
28164
|
-
pagination: {
|
|
28165
|
-
count: 5,
|
|
28166
|
-
hasMoreItems: false,
|
|
28167
|
-
totalItems: 5,
|
|
28168
|
-
skipCount: 0,
|
|
28169
|
-
maxItems: 100
|
|
28170
|
-
},
|
|
28171
|
-
entries: [
|
|
28172
|
-
{
|
|
28173
|
-
entry: mockNode1
|
|
28174
|
-
},
|
|
28175
|
-
{
|
|
28176
|
-
entry: mockNode2
|
|
28177
|
-
},
|
|
28178
|
-
{
|
|
28179
|
-
entry: mockNode3
|
|
28180
|
-
}
|
|
28181
|
-
]
|
|
28182
|
-
}
|
|
28183
|
-
};
|
|
28184
|
-
|
|
28185
|
-
/*!
|
|
28186
|
-
* @license
|
|
28187
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
28188
|
-
*
|
|
28189
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
28190
|
-
* you may not use this file except in compliance with the License.
|
|
28191
|
-
* You may obtain a copy of the License at
|
|
28192
|
-
*
|
|
28193
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
28194
|
-
*
|
|
28195
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
28196
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
28197
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
28198
|
-
* See the License for the specific language governing permissions and
|
|
28199
|
-
* limitations under the License.
|
|
28200
|
-
*/
|
|
28201
|
-
const entryItem = new ResultSetRowEntry({
|
|
28202
|
-
entry: new ResultNode({
|
|
28203
|
-
id: '123',
|
|
28204
|
-
name: 'MyDoc',
|
|
28205
|
-
isFile: true,
|
|
28206
|
-
content: new ContentInfo({
|
|
28207
|
-
mimeType: 'text/plain'
|
|
28208
|
-
}),
|
|
28209
|
-
createdByUser: new UserInfo({
|
|
28210
|
-
displayName: 'John Doe'
|
|
28211
|
-
}),
|
|
28212
|
-
modifiedByUser: new UserInfo({
|
|
28213
|
-
displayName: 'John Doe'
|
|
28214
|
-
})
|
|
28215
|
-
})
|
|
28216
|
-
});
|
|
28217
|
-
const entryDifferentItem = new ResultSetRowEntry({
|
|
28218
|
-
entry: new ResultNode({
|
|
28219
|
-
id: '999',
|
|
28220
|
-
name: 'TEST_DOC',
|
|
28221
|
-
isFile: true,
|
|
28222
|
-
content: new ContentInfo({
|
|
28223
|
-
mimeType: 'text/plain'
|
|
28224
|
-
}),
|
|
28225
|
-
createdByUser: new UserInfo({
|
|
28226
|
-
displayName: 'John TEST'
|
|
28227
|
-
}),
|
|
28228
|
-
modifiedByUser: new UserInfo({
|
|
28229
|
-
displayName: 'John TEST'
|
|
28230
|
-
})
|
|
28231
|
-
})
|
|
28232
|
-
});
|
|
28233
|
-
const result = new ResultSetPaging({
|
|
28234
|
-
list: {
|
|
28235
|
-
entries: [entryItem]
|
|
28236
|
-
}
|
|
28237
|
-
});
|
|
28238
|
-
const differentResult = new ResultSetPaging({
|
|
28239
|
-
list: {
|
|
28240
|
-
entries: [entryDifferentItem]
|
|
28241
|
-
}
|
|
28242
|
-
});
|
|
28243
|
-
const results = {
|
|
28244
|
-
list: {
|
|
28245
|
-
entries: [entryItem, entryItem, entryItem]
|
|
28246
|
-
}
|
|
28247
|
-
};
|
|
28248
|
-
const noResult = {
|
|
28249
|
-
list: {
|
|
28250
|
-
entries: []
|
|
28251
|
-
}
|
|
28252
|
-
};
|
|
28253
|
-
class SimpleSearchTestComponent {
|
|
28254
|
-
constructor() {
|
|
28255
|
-
this.message = '';
|
|
28256
|
-
this.searchedWord = '';
|
|
28257
|
-
this.maxResults = 5;
|
|
28258
|
-
}
|
|
28259
|
-
showSearchResult(event) {
|
|
28260
|
-
this.message = event;
|
|
28261
|
-
}
|
|
28262
|
-
elementClicked() {
|
|
28263
|
-
this.message = 'element clicked';
|
|
28264
|
-
}
|
|
28265
|
-
setSearchWordTo(str) {
|
|
28266
|
-
this.searchedWord = str;
|
|
28267
|
-
}
|
|
28268
|
-
setSearchNodeTo(searchNode) {
|
|
28269
|
-
this.searchNode = searchNode;
|
|
28270
|
-
}
|
|
28271
|
-
changeMaxResultTo(newMax) {
|
|
28272
|
-
this.maxResults = newMax;
|
|
28273
|
-
}
|
|
28274
|
-
forceHidePanel() {
|
|
28275
|
-
this.search.hidePanel();
|
|
28276
|
-
}
|
|
28277
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: SimpleSearchTestComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
28278
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: SimpleSearchTestComponent, isStandalone: true, selector: "ng-component", viewQueries: [{ propertyName: "search", first: true, predicate: ["search"], descendants: true, static: true }], ngImport: i0, template: `
|
|
28279
|
-
<adf-search
|
|
28280
|
-
[searchTerm]="searchedWord"
|
|
28281
|
-
[maxResults]="maxResults"
|
|
28282
|
-
(error)="showSearchResult('ERROR')"
|
|
28283
|
-
(success)="showSearchResult('success')"
|
|
28284
|
-
#search
|
|
28285
|
-
>
|
|
28286
|
-
<ng-template let-data>
|
|
28287
|
-
<ul id="autocomplete-search-result-list">
|
|
28288
|
-
<li
|
|
28289
|
-
*ngFor="let item of data?.list?.entries; let idx = index"
|
|
28290
|
-
(click)="elementClicked()"
|
|
28291
|
-
tabindex="0"
|
|
28292
|
-
role="button"
|
|
28293
|
-
(keyup.enter)="elementClicked()"
|
|
28294
|
-
>
|
|
28295
|
-
<div id="result_option_{{ idx }}">
|
|
28296
|
-
<span>{{ item?.entry.name }}</span>
|
|
28297
|
-
</div>
|
|
28298
|
-
</li>
|
|
28299
|
-
</ul>
|
|
28300
|
-
</ng-template>
|
|
28301
|
-
</adf-search>
|
|
28302
|
-
<span id="component-result-message">{{ message }}</span>
|
|
28303
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: SearchModule }, { kind: "component", type: SearchComponent, selector: "adf-search", inputs: ["displayWith", "maxResults", "skipResults", "searchTerm", "class"], outputs: ["resultLoaded", "error"], exportAs: ["searchAutocomplete"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] }); }
|
|
28304
|
-
}
|
|
28305
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: SimpleSearchTestComponent, decorators: [{
|
|
28306
|
-
type: Component,
|
|
28307
|
-
args: [{
|
|
28308
|
-
template: `
|
|
28309
|
-
<adf-search
|
|
28310
|
-
[searchTerm]="searchedWord"
|
|
28311
|
-
[maxResults]="maxResults"
|
|
28312
|
-
(error)="showSearchResult('ERROR')"
|
|
28313
|
-
(success)="showSearchResult('success')"
|
|
28314
|
-
#search
|
|
28315
|
-
>
|
|
28316
|
-
<ng-template let-data>
|
|
28317
|
-
<ul id="autocomplete-search-result-list">
|
|
28318
|
-
<li
|
|
28319
|
-
*ngFor="let item of data?.list?.entries; let idx = index"
|
|
28320
|
-
(click)="elementClicked()"
|
|
28321
|
-
tabindex="0"
|
|
28322
|
-
role="button"
|
|
28323
|
-
(keyup.enter)="elementClicked()"
|
|
28324
|
-
>
|
|
28325
|
-
<div id="result_option_{{ idx }}">
|
|
28326
|
-
<span>{{ item?.entry.name }}</span>
|
|
28327
|
-
</div>
|
|
28328
|
-
</li>
|
|
28329
|
-
</ul>
|
|
28330
|
-
</ng-template>
|
|
28331
|
-
</adf-search>
|
|
28332
|
-
<span id="component-result-message">{{ message }}</span>
|
|
28333
|
-
`,
|
|
28334
|
-
imports: [SearchModule, CommonModule]
|
|
28335
|
-
}]
|
|
28336
|
-
}], ctorParameters: () => [], propDecorators: { search: [{
|
|
28337
|
-
type: ViewChild,
|
|
28338
|
-
args: ['search', { static: true }]
|
|
28339
|
-
}] } });
|
|
28340
|
-
|
|
28341
|
-
/*!
|
|
28342
|
-
* @license
|
|
28343
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
28344
|
-
*
|
|
28345
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
28346
|
-
* you may not use this file except in compliance with the License.
|
|
28347
|
-
* You may obtain a copy of the License at
|
|
28348
|
-
*
|
|
28349
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
28350
|
-
*
|
|
28351
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
28352
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
28353
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
28354
|
-
* See the License for the specific language governing permissions and
|
|
28355
|
-
* limitations under the License.
|
|
28356
|
-
*/
|
|
28357
|
-
const fakeSearch = {
|
|
28358
|
-
list: {
|
|
28359
|
-
pagination: {
|
|
28360
|
-
count: 1,
|
|
28361
|
-
hasMoreItems: false,
|
|
28362
|
-
totalItems: 1,
|
|
28363
|
-
skipCount: 0,
|
|
28364
|
-
maxItems: 100
|
|
28365
|
-
},
|
|
28366
|
-
entries: [
|
|
28367
|
-
{
|
|
28368
|
-
entry: {
|
|
28369
|
-
id: '123',
|
|
28370
|
-
name: 'MyDoc',
|
|
28371
|
-
content: {
|
|
28372
|
-
mimetype: 'text/plain'
|
|
28373
|
-
},
|
|
28374
|
-
createdByUser: {
|
|
28375
|
-
displayName: 'John Doe'
|
|
28376
|
-
},
|
|
28377
|
-
modifiedByUser: {
|
|
28378
|
-
displayName: 'John Doe'
|
|
28379
|
-
}
|
|
28380
|
-
}
|
|
28381
|
-
}
|
|
28382
|
-
]
|
|
28383
|
-
}
|
|
28384
|
-
};
|
|
28385
|
-
const mockError = {
|
|
28386
|
-
error: {
|
|
28387
|
-
errorKey: 'Search failed',
|
|
28388
|
-
statusCode: 400,
|
|
28389
|
-
briefSummary: '08220082 search failed',
|
|
28390
|
-
stackTrace: 'For security reasons the stack trace is no longer displayed, but the property is kept for previous versions.',
|
|
28391
|
-
descriptionURL: 'https://api-explorer.alfresco.com'
|
|
28392
|
-
}
|
|
28393
|
-
};
|
|
28394
|
-
const searchMockApi = {
|
|
28395
|
-
core: {
|
|
28396
|
-
queriesApi: {
|
|
28397
|
-
findNodes: () => Promise.resolve(fakeSearch)
|
|
28398
|
-
}
|
|
28399
|
-
}
|
|
28400
|
-
};
|
|
28401
|
-
|
|
28402
|
-
/*!
|
|
28403
|
-
* @license
|
|
28404
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
28405
|
-
*
|
|
28406
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
28407
|
-
* you may not use this file except in compliance with the License.
|
|
28408
|
-
* You may obtain a copy of the License at
|
|
28409
|
-
*
|
|
28410
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
28411
|
-
*
|
|
28412
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
28413
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
28414
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
28415
|
-
* See the License for the specific language governing permissions and
|
|
28416
|
-
* limitations under the License.
|
|
28417
|
-
*/
|
|
28418
|
-
const expandableCategories = [
|
|
28419
|
-
{
|
|
28420
|
-
id: 'cat-1',
|
|
28421
|
-
name: 'category-1',
|
|
28422
|
-
expanded: false,
|
|
28423
|
-
enabled: false,
|
|
28424
|
-
component: {
|
|
28425
|
-
selector: 'cat-1-component',
|
|
28426
|
-
settings: null
|
|
28427
|
-
}
|
|
28428
|
-
}
|
|
28429
|
-
];
|
|
28430
|
-
const disabledCategories = [
|
|
28431
|
-
{
|
|
28432
|
-
id: 'queryType',
|
|
28433
|
-
name: 'Type',
|
|
28434
|
-
expanded: true,
|
|
28435
|
-
enabled: false,
|
|
28436
|
-
component: {
|
|
28437
|
-
selector: 'check-list',
|
|
28438
|
-
settings: {
|
|
28439
|
-
field: null,
|
|
28440
|
-
pageSize: 5,
|
|
28441
|
-
options: [
|
|
28442
|
-
{ name: 'Folder', value: `TYPE:'cm:folder'` },
|
|
28443
|
-
{ name: 'Document', value: `TYPE:'cm:content'` }
|
|
28444
|
-
]
|
|
28445
|
-
}
|
|
28446
|
-
}
|
|
28447
|
-
}
|
|
28448
|
-
];
|
|
28449
|
-
const expandedCategories = [
|
|
28450
|
-
{
|
|
28451
|
-
id: 'queryType',
|
|
28452
|
-
name: 'Type',
|
|
28453
|
-
expanded: true,
|
|
28454
|
-
enabled: true,
|
|
28455
|
-
component: {
|
|
28456
|
-
selector: 'check-list',
|
|
28457
|
-
settings: {
|
|
28458
|
-
field: null,
|
|
28459
|
-
pageSize: 5,
|
|
28460
|
-
options: [
|
|
28461
|
-
{ name: 'Folder', value: `TYPE:'cm:folder'` },
|
|
28462
|
-
{ name: 'Document', value: `TYPE:'cm:content'` }
|
|
28463
|
-
]
|
|
28464
|
-
}
|
|
28465
|
-
}
|
|
28466
|
-
}
|
|
28467
|
-
];
|
|
28468
|
-
const simpleCategories = [
|
|
28469
|
-
{
|
|
28470
|
-
id: 'queryName',
|
|
28471
|
-
name: 'Name',
|
|
28472
|
-
expanded: false,
|
|
28473
|
-
enabled: true,
|
|
28474
|
-
component: {
|
|
28475
|
-
selector: 'text',
|
|
28476
|
-
settings: {
|
|
28477
|
-
field: ''
|
|
28478
|
-
}
|
|
28479
|
-
}
|
|
28480
|
-
},
|
|
28481
|
-
{
|
|
28482
|
-
id: 'queryType',
|
|
28483
|
-
name: 'Type',
|
|
28484
|
-
expanded: false,
|
|
28485
|
-
enabled: true,
|
|
28486
|
-
component: {
|
|
28487
|
-
selector: 'check-list',
|
|
28488
|
-
settings: {
|
|
28489
|
-
field: 'check-list',
|
|
28490
|
-
pageSize: 5,
|
|
28491
|
-
options: [
|
|
28492
|
-
{ name: 'Folder', value: `TYPE:'cm:folder'` },
|
|
28493
|
-
{ name: 'Document', value: `TYPE:'cm:content'` }
|
|
28494
|
-
]
|
|
28495
|
-
}
|
|
28496
|
-
}
|
|
28497
|
-
}
|
|
28498
|
-
];
|
|
28499
|
-
const searchFilter = {
|
|
28500
|
-
'app:fields': ['cm:name'],
|
|
28501
|
-
include: ['allowableOperations'],
|
|
28502
|
-
sorting: {
|
|
28503
|
-
options: [
|
|
28504
|
-
{
|
|
28505
|
-
key: 'name',
|
|
28506
|
-
label: 'Name',
|
|
28507
|
-
type: 'FIELD',
|
|
28508
|
-
field: 'cm:name',
|
|
28509
|
-
ascending: true
|
|
28510
|
-
}
|
|
28511
|
-
],
|
|
28512
|
-
defaults: [
|
|
28513
|
-
{
|
|
28514
|
-
key: 'score',
|
|
28515
|
-
type: 'FIELD',
|
|
28516
|
-
field: 'score',
|
|
28517
|
-
ascending: false
|
|
28518
|
-
}
|
|
28519
|
-
]
|
|
28520
|
-
},
|
|
28521
|
-
resetButton: true,
|
|
28522
|
-
filterQueries: [
|
|
28523
|
-
{
|
|
28524
|
-
query: `TYPE:'cm:folder' OR TYPE:'cm:content'`
|
|
28525
|
-
},
|
|
28526
|
-
{
|
|
28527
|
-
query: 'NOT cm:creator:System'
|
|
28528
|
-
}
|
|
28529
|
-
],
|
|
28530
|
-
facetFields: {
|
|
28531
|
-
expanded: true,
|
|
28532
|
-
fields: [
|
|
28533
|
-
{
|
|
28534
|
-
field: 'content.mimetype',
|
|
28535
|
-
mincount: 1,
|
|
28536
|
-
label: 'SEARCH.FACET_FIELDS.TYPE'
|
|
28537
|
-
},
|
|
28538
|
-
{
|
|
28539
|
-
field: 'content.size',
|
|
28540
|
-
mincount: 1,
|
|
28541
|
-
label: 'SEARCH.FACET_FIELDS.SIZE'
|
|
28542
|
-
},
|
|
28543
|
-
{
|
|
28544
|
-
field: 'creator',
|
|
28545
|
-
mincount: 1,
|
|
28546
|
-
label: 'SEARCH.FACET_FIELDS.CREATOR'
|
|
28547
|
-
},
|
|
28548
|
-
{
|
|
28549
|
-
field: 'modifier',
|
|
28550
|
-
mincount: 1,
|
|
28551
|
-
label: 'SEARCH.FACET_FIELDS.MODIFIER'
|
|
28552
|
-
},
|
|
28553
|
-
{
|
|
28554
|
-
field: 'created',
|
|
28555
|
-
mincount: 1,
|
|
28556
|
-
label: 'SEARCH.FACET_FIELDS.CREATED'
|
|
28557
|
-
}
|
|
28558
|
-
]
|
|
28559
|
-
},
|
|
28560
|
-
facetQueries: {
|
|
28561
|
-
label: 'SEARCH.FACET_QUERIES.MY_FACET_QUERIES',
|
|
28562
|
-
pageSize: 5,
|
|
28563
|
-
expanded: true,
|
|
28564
|
-
mincount: 1,
|
|
28565
|
-
queries: [
|
|
28566
|
-
{
|
|
28567
|
-
query: 'created:2019',
|
|
28568
|
-
label: 'SEARCH.FACET_QUERIES.CREATED_THIS_YEAR'
|
|
28569
|
-
},
|
|
28570
|
-
{
|
|
28571
|
-
query: 'content.mimetype:text/html',
|
|
28572
|
-
label: 'SEARCH.FACET_QUERIES.MIMETYPE',
|
|
28573
|
-
group: 'Type facet queries'
|
|
28574
|
-
},
|
|
28575
|
-
{
|
|
28576
|
-
query: 'content.size:[0 TO 10240]',
|
|
28577
|
-
label: 'Extra Small',
|
|
28578
|
-
group: 'Size facet queries'
|
|
28579
|
-
},
|
|
28580
|
-
{
|
|
28581
|
-
query: 'content.size:[10240 TO 102400]',
|
|
28582
|
-
label: 'SEARCH.FACET_QUERIES.SMALL',
|
|
28583
|
-
group: 'Size facet queries'
|
|
28584
|
-
},
|
|
28585
|
-
{
|
|
28586
|
-
query: 'content.size:[102400 TO 1048576]',
|
|
28587
|
-
label: 'SEARCH.FACET_QUERIES.MEDIUM',
|
|
28588
|
-
group: 'Size facet queries'
|
|
28589
|
-
},
|
|
28590
|
-
{
|
|
28591
|
-
query: 'content.size:[1048576 TO 16777216]',
|
|
28592
|
-
label: 'SEARCH.FACET_QUERIES.LARGE',
|
|
28593
|
-
group: 'Size facet queries'
|
|
28594
|
-
},
|
|
28595
|
-
{
|
|
28596
|
-
query: 'content.size:[16777216 TO 134217728]',
|
|
28597
|
-
label: 'SEARCH.FACET_QUERIES.XTRALARGE',
|
|
28598
|
-
group: 'Size facet queries'
|
|
28599
|
-
},
|
|
28600
|
-
{
|
|
28601
|
-
query: 'content.size:[134217728 TO MAX]',
|
|
28602
|
-
label: 'SEARCH.FACET_QUERIES.XXTRALARGE',
|
|
28603
|
-
group: 'Size facet queries'
|
|
28604
|
-
},
|
|
28605
|
-
{
|
|
28606
|
-
query: 'content.size:[111111 TO MAX]',
|
|
28607
|
-
label: 'my1',
|
|
28608
|
-
group: 'Size facet queries'
|
|
28609
|
-
},
|
|
28610
|
-
{
|
|
28611
|
-
query: 'content.size:[222222 TO MAX]',
|
|
28612
|
-
label: 'my2',
|
|
28613
|
-
group: 'Size facet queries'
|
|
28614
|
-
},
|
|
28615
|
-
{
|
|
28616
|
-
query: 'content.size:[333333 TO MAX]',
|
|
28617
|
-
label: 'my3',
|
|
28618
|
-
group: 'Size facet queries'
|
|
28619
|
-
},
|
|
28620
|
-
{
|
|
28621
|
-
query: 'content.size:[444444 TO MAX]',
|
|
28622
|
-
label: 'my4',
|
|
28623
|
-
group: 'Size facet queries'
|
|
28624
|
-
},
|
|
28625
|
-
{
|
|
28626
|
-
query: 'content.size:[5555 TO MAX]',
|
|
28627
|
-
label: 'my5',
|
|
28628
|
-
group: 'Size facet queries'
|
|
28629
|
-
},
|
|
28630
|
-
{
|
|
28631
|
-
query: 'content.size:[666666 TO MAX]',
|
|
28632
|
-
label: 'my6',
|
|
28633
|
-
group: 'Size facet queries'
|
|
28634
|
-
},
|
|
28635
|
-
{
|
|
28636
|
-
query: 'content.size:[777777 TO MAX]',
|
|
28637
|
-
label: 'my7',
|
|
28638
|
-
group: 'Size facet queries'
|
|
28639
|
-
},
|
|
28640
|
-
{
|
|
28641
|
-
query: 'content.size:[888888 TO MAX]',
|
|
28642
|
-
label: 'my8',
|
|
28643
|
-
group: 'Size facet queries'
|
|
28644
|
-
}
|
|
28645
|
-
]
|
|
28646
|
-
},
|
|
28647
|
-
facetIntervals: {
|
|
28648
|
-
expanded: true,
|
|
28649
|
-
intervals: [
|
|
28650
|
-
{
|
|
28651
|
-
label: 'The Created',
|
|
28652
|
-
field: 'cm:created',
|
|
28653
|
-
sets: [
|
|
28654
|
-
{
|
|
28655
|
-
label: 'lastYear',
|
|
28656
|
-
start: '2018',
|
|
28657
|
-
end: '2019',
|
|
28658
|
-
endInclusive: false
|
|
28659
|
-
},
|
|
28660
|
-
{
|
|
28661
|
-
label: 'currentYear',
|
|
28662
|
-
start: 'NOW/YEAR',
|
|
28663
|
-
end: 'NOW/YEAR+1YEAR'
|
|
28664
|
-
},
|
|
28665
|
-
{
|
|
28666
|
-
label: 'earlier',
|
|
28667
|
-
start: '*',
|
|
28668
|
-
end: '2018',
|
|
28669
|
-
endInclusive: false
|
|
28670
|
-
}
|
|
28671
|
-
]
|
|
28672
|
-
},
|
|
28673
|
-
{
|
|
28674
|
-
label: 'TheModified',
|
|
28675
|
-
field: 'cm:modified',
|
|
28676
|
-
sets: [
|
|
28677
|
-
{
|
|
28678
|
-
label: '2017',
|
|
28679
|
-
start: '2017',
|
|
28680
|
-
end: '2018',
|
|
28681
|
-
endInclusive: false
|
|
28682
|
-
},
|
|
28683
|
-
{
|
|
28684
|
-
label: '2017-2018',
|
|
28685
|
-
start: '2017',
|
|
28686
|
-
end: '2018',
|
|
28687
|
-
endInclusive: true
|
|
28688
|
-
},
|
|
28689
|
-
{
|
|
28690
|
-
label: 'currentYear',
|
|
28691
|
-
start: 'NOW/YEAR',
|
|
28692
|
-
end: 'NOW/YEAR+1YEAR'
|
|
28693
|
-
},
|
|
28694
|
-
{
|
|
28695
|
-
label: 'earlierThan2017',
|
|
28696
|
-
start: '*',
|
|
28697
|
-
end: '2017',
|
|
28698
|
-
endInclusive: false
|
|
28699
|
-
}
|
|
28700
|
-
]
|
|
28701
|
-
}
|
|
28702
|
-
]
|
|
28703
|
-
},
|
|
28704
|
-
categories: [
|
|
28705
|
-
{
|
|
28706
|
-
id: 'queryName',
|
|
28707
|
-
name: 'Name',
|
|
28708
|
-
enabled: true,
|
|
28709
|
-
expanded: true,
|
|
28710
|
-
component: {
|
|
28711
|
-
selector: 'text',
|
|
28712
|
-
settings: {
|
|
28713
|
-
pattern: `cm:name:'(.*?)'`,
|
|
28714
|
-
field: 'cm:name',
|
|
28715
|
-
placeholder: 'Enter the name'
|
|
28716
|
-
}
|
|
28717
|
-
}
|
|
28718
|
-
},
|
|
28719
|
-
{
|
|
28720
|
-
id: 'checkList',
|
|
28721
|
-
name: 'Check List',
|
|
28722
|
-
enabled: true,
|
|
28723
|
-
component: {
|
|
28724
|
-
selector: 'check-list',
|
|
28725
|
-
settings: {
|
|
28726
|
-
pageSize: 5,
|
|
28727
|
-
operator: 'OR',
|
|
28728
|
-
options: []
|
|
28729
|
-
}
|
|
28730
|
-
}
|
|
28731
|
-
},
|
|
28732
|
-
{
|
|
28733
|
-
id: 'contentSize',
|
|
28734
|
-
name: 'Content Size',
|
|
28735
|
-
enabled: true,
|
|
28736
|
-
component: {
|
|
28737
|
-
selector: 'slider',
|
|
28738
|
-
settings: {
|
|
28739
|
-
field: 'cm:content.size',
|
|
28740
|
-
min: 0,
|
|
28741
|
-
max: 18,
|
|
28742
|
-
step: 1,
|
|
28743
|
-
thumbLabel: true
|
|
28744
|
-
}
|
|
28745
|
-
}
|
|
28746
|
-
},
|
|
28747
|
-
{
|
|
28748
|
-
id: 'contentSizeRange',
|
|
28749
|
-
name: 'Content Size (range)',
|
|
28750
|
-
enabled: true,
|
|
28751
|
-
component: {
|
|
28752
|
-
selector: 'number-range',
|
|
28753
|
-
settings: {
|
|
28754
|
-
field: 'cm:content.size',
|
|
28755
|
-
format: '[{FROM} TO {TO}]'
|
|
28756
|
-
}
|
|
28757
|
-
}
|
|
28758
|
-
},
|
|
28759
|
-
{
|
|
28760
|
-
id: 'createdDateRange',
|
|
28761
|
-
name: 'Created Date (range)',
|
|
28762
|
-
enabled: true,
|
|
28763
|
-
component: {
|
|
28764
|
-
selector: 'date-range',
|
|
28765
|
-
settings: {
|
|
28766
|
-
field: 'cm:created',
|
|
28767
|
-
dateFormat: 'DD-MMM-YY',
|
|
28768
|
-
displayedLabelsByField: {
|
|
28769
|
-
'cm:created': 'Created Date (range)'
|
|
28770
|
-
}
|
|
28771
|
-
}
|
|
28772
|
-
}
|
|
28773
|
-
},
|
|
28774
|
-
{
|
|
28775
|
-
id: 'queryType',
|
|
28776
|
-
name: 'Type',
|
|
28777
|
-
enabled: true,
|
|
28778
|
-
component: {
|
|
28779
|
-
selector: 'radio',
|
|
28780
|
-
settings: {
|
|
28781
|
-
field: null,
|
|
28782
|
-
pageSize: 5,
|
|
28783
|
-
options: []
|
|
28784
|
-
}
|
|
28785
|
-
}
|
|
28786
|
-
}
|
|
28787
|
-
]
|
|
28788
|
-
};
|
|
28789
|
-
const mockSearchResult = {
|
|
28790
|
-
list: {
|
|
28791
|
-
pagination: { count: 20, hasMoreItems: true, totalItems: 20284, skipCount: 0, maxItems: 20 },
|
|
28792
|
-
context: {
|
|
28793
|
-
consistency: { lastTxId: 122854 },
|
|
28794
|
-
facets: [
|
|
28795
|
-
{
|
|
28796
|
-
type: 'query',
|
|
28797
|
-
label: 'Type facet queries',
|
|
28798
|
-
buckets: [
|
|
28799
|
-
{
|
|
28800
|
-
label: 'SEARCH.FACET_QUERIES.MIMETYPE',
|
|
28801
|
-
filterQuery: 'content.mimetype:text/html',
|
|
28802
|
-
metrics: [{ type: 'count', value: { count: 13 } }]
|
|
28803
|
-
}
|
|
28804
|
-
]
|
|
28805
|
-
},
|
|
28806
|
-
{
|
|
28807
|
-
type: 'query',
|
|
28808
|
-
label: 'Size facet queries',
|
|
28809
|
-
buckets: [
|
|
28810
|
-
{
|
|
28811
|
-
label: 'my1',
|
|
28812
|
-
filterQuery: 'content.size:[111111 TO MAX]',
|
|
28813
|
-
metrics: [{ type: 'count', value: { count: 806 } }]
|
|
28814
|
-
},
|
|
28815
|
-
{
|
|
28816
|
-
label: 'my3',
|
|
28817
|
-
filterQuery: 'content.size:[333333 TO MAX]',
|
|
28818
|
-
metrics: [{ type: 'count', value: { count: 669 } }]
|
|
28819
|
-
},
|
|
28820
|
-
{
|
|
28821
|
-
label: 'my2',
|
|
28822
|
-
filterQuery: 'content.size:[222222 TO MAX]',
|
|
28823
|
-
metrics: [{ type: 'count', value: { count: 691 } }]
|
|
28824
|
-
},
|
|
28825
|
-
{
|
|
28826
|
-
label: 'my5',
|
|
28827
|
-
filterQuery: 'content.size:[5555 TO MAX]',
|
|
28828
|
-
metrics: [{ type: 'count', value: { count: 1866 } }]
|
|
28829
|
-
},
|
|
28830
|
-
{
|
|
28831
|
-
label: 'my4',
|
|
28832
|
-
filterQuery: 'content.size:[444444 TO MAX]',
|
|
28833
|
-
metrics: [{ type: 'count', value: { count: 665 } }]
|
|
28834
|
-
},
|
|
28835
|
-
{
|
|
28836
|
-
label: 'my7',
|
|
28837
|
-
filterQuery: 'content.size:[777777 TO MAX]',
|
|
28838
|
-
metrics: [{ type: 'count', value: { count: 641 } }]
|
|
28839
|
-
},
|
|
28840
|
-
{
|
|
28841
|
-
label: 'SEARCH.FACET_QUERIES.SMALL',
|
|
28842
|
-
filterQuery: 'content.size:[10240 TO 102400]',
|
|
28843
|
-
metrics: [{ type: 'count', value: { count: 526 } }]
|
|
28844
|
-
},
|
|
28845
|
-
{
|
|
28846
|
-
label: 'my6',
|
|
28847
|
-
filterQuery: 'content.size:[666666 TO MAX]',
|
|
28848
|
-
metrics: [{ type: 'count', value: { count: 652 } }]
|
|
28849
|
-
},
|
|
28850
|
-
{
|
|
28851
|
-
label: 'SEARCH.FACET_QUERIES.XTRALARGE',
|
|
28852
|
-
filterQuery: 'content.size:[16777216 TO 134217728]',
|
|
28853
|
-
metrics: [{ type: 'count', value: { count: 617 } }]
|
|
28854
|
-
},
|
|
28855
|
-
{
|
|
28856
|
-
label: 'my8',
|
|
28857
|
-
filterQuery: 'content.size:[888888 TO MAX]',
|
|
28858
|
-
metrics: [{ type: 'count', value: { count: 641 } }]
|
|
28859
|
-
},
|
|
28860
|
-
{
|
|
28861
|
-
label: 'SEARCH.FACET_QUERIES.XXTRALARGE',
|
|
28862
|
-
filterQuery: 'content.size:[134217728 TO MAX]',
|
|
28863
|
-
metrics: [{ type: 'count', value: { count: 0 } }]
|
|
28864
|
-
},
|
|
28865
|
-
{
|
|
28866
|
-
label: 'SEARCH.FACET_QUERIES.MEDIUM',
|
|
28867
|
-
filterQuery: 'content.size:[102400 TO 1048576]',
|
|
28868
|
-
metrics: [{ type: 'count', value: { count: 630 } }]
|
|
28869
|
-
},
|
|
28870
|
-
{
|
|
28871
|
-
label: 'SEARCH.FACET_QUERIES.LARGE',
|
|
28872
|
-
filterQuery: 'content.size:[1048576 TO 16777216]',
|
|
28873
|
-
metrics: [{ type: 'count', value: { count: 23 } }]
|
|
28874
|
-
},
|
|
28875
|
-
{
|
|
28876
|
-
label: 'Extra Small',
|
|
28877
|
-
filterQuery: 'content.size:[0 TO 10240]',
|
|
28878
|
-
metrics: [{ type: 'count', value: { count: 10239 } }]
|
|
28879
|
-
}
|
|
28880
|
-
]
|
|
28881
|
-
},
|
|
28882
|
-
{
|
|
28883
|
-
type: 'query',
|
|
28884
|
-
label: 'SEARCH.FACET_QUERIES.MY_FACET_QUERIES',
|
|
28885
|
-
buckets: [
|
|
28886
|
-
{
|
|
28887
|
-
label: 'SEARCH.FACET_QUERIES.CREATED_THIS_YEAR',
|
|
28888
|
-
filterQuery: 'created:2019',
|
|
28889
|
-
metrics: [{ type: 'count', value: { count: 0 } }]
|
|
28890
|
-
}
|
|
28891
|
-
]
|
|
28892
|
-
},
|
|
28893
|
-
{
|
|
28894
|
-
type: 'field',
|
|
28895
|
-
label: 'SEARCH.FACET_FIELDS.SIZE',
|
|
28896
|
-
buckets: []
|
|
28897
|
-
},
|
|
28898
|
-
{
|
|
28899
|
-
type: 'field',
|
|
28900
|
-
label: 'SEARCH.FACET_FIELDS.CREATED',
|
|
28901
|
-
buckets: []
|
|
28902
|
-
},
|
|
28903
|
-
{
|
|
28904
|
-
type: 'field',
|
|
28905
|
-
label: 'SEARCH.FACET_FIELDS.TYPE',
|
|
28906
|
-
buckets: []
|
|
28907
|
-
},
|
|
28908
|
-
{
|
|
28909
|
-
type: 'field',
|
|
28910
|
-
label: 'SEARCH.FACET_FIELDS.MODIFIER',
|
|
28911
|
-
buckets: []
|
|
28912
|
-
},
|
|
28913
|
-
{
|
|
28914
|
-
type: 'field',
|
|
28915
|
-
label: 'SEARCH.FACET_FIELDS.CREATOR',
|
|
28916
|
-
buckets: []
|
|
28917
|
-
},
|
|
28918
|
-
{
|
|
28919
|
-
type: 'interval',
|
|
28920
|
-
label: 'TheModified',
|
|
28921
|
-
buckets: []
|
|
28922
|
-
},
|
|
28923
|
-
{
|
|
28924
|
-
type: 'interval',
|
|
28925
|
-
label: 'The Created',
|
|
28926
|
-
buckets: []
|
|
28927
|
-
}
|
|
28928
|
-
]
|
|
28929
|
-
}
|
|
28930
|
-
}
|
|
28931
|
-
};
|
|
28932
|
-
const stepOne = [
|
|
28933
|
-
'Extra Small (10239)',
|
|
28934
|
-
'SEARCH.FACET_QUERIES.SMALL (526)',
|
|
28935
|
-
'SEARCH.FACET_QUERIES.MEDIUM (630)',
|
|
28936
|
-
'SEARCH.FACET_QUERIES.LARGE (23)',
|
|
28937
|
-
'SEARCH.FACET_QUERIES.XTRALARGE (617)'
|
|
28938
|
-
];
|
|
28939
|
-
const stepTwo = [
|
|
28940
|
-
'Extra Small (10239)',
|
|
28941
|
-
'SEARCH.FACET_QUERIES.SMALL (526)',
|
|
28942
|
-
'SEARCH.FACET_QUERIES.MEDIUM (630)',
|
|
28943
|
-
'SEARCH.FACET_QUERIES.LARGE (23)',
|
|
28944
|
-
'SEARCH.FACET_QUERIES.XTRALARGE (617)',
|
|
28945
|
-
'my1 (806)',
|
|
28946
|
-
'my2 (691)',
|
|
28947
|
-
'my3 (669)',
|
|
28948
|
-
'my4 (665)',
|
|
28949
|
-
'my5 (1866)'
|
|
28950
|
-
];
|
|
28951
|
-
const stepThree = [
|
|
28952
|
-
'Extra Small (10239)',
|
|
28953
|
-
'SEARCH.FACET_QUERIES.SMALL (526)',
|
|
28954
|
-
'SEARCH.FACET_QUERIES.MEDIUM (630)',
|
|
28955
|
-
'SEARCH.FACET_QUERIES.LARGE (23)',
|
|
28956
|
-
'SEARCH.FACET_QUERIES.XTRALARGE (617)',
|
|
28957
|
-
'my1 (806)',
|
|
28958
|
-
'my2 (691)',
|
|
28959
|
-
'my3 (669)',
|
|
28960
|
-
'my4 (665)',
|
|
28961
|
-
'my5 (1866)',
|
|
28962
|
-
'my6 (652)',
|
|
28963
|
-
'my7 (641)',
|
|
28964
|
-
'my8 (641)'
|
|
28965
|
-
];
|
|
28966
|
-
const sizeOptions = [
|
|
28967
|
-
{
|
|
28968
|
-
name: 'Extra Small (10239)',
|
|
28969
|
-
value: 'Extra Small (10239)'
|
|
28970
|
-
},
|
|
28971
|
-
{
|
|
28972
|
-
name: 'SEARCH.FACET_QUERIES.SMALL (526)',
|
|
28973
|
-
value: 'SEARCH.FACET_QUERIES.SMALL (526)'
|
|
28974
|
-
},
|
|
28975
|
-
{
|
|
28976
|
-
name: 'SEARCH.FACET_QUERIES.MEDIUM (630)',
|
|
28977
|
-
value: 'SEARCH.FACET_QUERIES.MEDIUM (630)'
|
|
28978
|
-
},
|
|
28979
|
-
{
|
|
28980
|
-
name: 'SEARCH.FACET_QUERIES.LARGE (23)',
|
|
28981
|
-
value: 'SEARCH.FACET_QUERIES.LARGE (23)'
|
|
28982
|
-
},
|
|
28983
|
-
{
|
|
28984
|
-
name: 'SEARCH.FACET_QUERIES.XTRALARGE (617)',
|
|
28985
|
-
value: 'SEARCH.FACET_QUERIES.XTRALARGE (617)'
|
|
28986
|
-
},
|
|
28987
|
-
{
|
|
28988
|
-
name: 'my1 (806)',
|
|
28989
|
-
group: 'my1 (806)'
|
|
28990
|
-
},
|
|
28991
|
-
{
|
|
28992
|
-
name: 'my2 (691)',
|
|
28993
|
-
value: 'my2 (691)'
|
|
28994
|
-
},
|
|
28995
|
-
{
|
|
28996
|
-
name: 'my3 (669)',
|
|
28997
|
-
value: 'my3 (669)'
|
|
28998
|
-
},
|
|
28999
|
-
{
|
|
29000
|
-
name: 'my4 (665)',
|
|
29001
|
-
value: 'my4 (665)'
|
|
29002
|
-
},
|
|
29003
|
-
{
|
|
29004
|
-
name: 'my5 (1866)',
|
|
29005
|
-
group: 'my5 (1866)'
|
|
29006
|
-
},
|
|
29007
|
-
{
|
|
29008
|
-
name: 'my6 (652)',
|
|
29009
|
-
group: 'my6 (652)'
|
|
29010
|
-
},
|
|
29011
|
-
{
|
|
29012
|
-
name: 'my7 (641)',
|
|
29013
|
-
value: 'my7 (641)'
|
|
29014
|
-
},
|
|
29015
|
-
{
|
|
29016
|
-
name: 'my8 (641)',
|
|
29017
|
-
value: 'my8 (641)'
|
|
29018
|
-
}
|
|
29019
|
-
];
|
|
29020
|
-
const filteredResult = ['my1 (806)', 'my2 (691)', 'my3 (669)', 'my4 (665)', 'my5 (1866)'];
|
|
29021
|
-
const mockContentSizeResponseBucket = {
|
|
29022
|
-
label: '5875',
|
|
29023
|
-
filterQuery: 'content.size:5875',
|
|
29024
|
-
metrics: [
|
|
29025
|
-
{
|
|
29026
|
-
type: 'count',
|
|
29027
|
-
value: {
|
|
29028
|
-
count: 364
|
|
29029
|
-
}
|
|
29030
|
-
}
|
|
29031
|
-
]
|
|
29032
|
-
};
|
|
29033
|
-
const getMockSearchResultWithResponseBucket = () => {
|
|
29034
|
-
const cloneResult = JSON.parse(JSON.stringify(mockSearchResult));
|
|
29035
|
-
cloneResult.list.context.facets[3].buckets.push(mockContentSizeResponseBucket);
|
|
29036
|
-
return cloneResult;
|
|
29037
|
-
};
|
|
29038
|
-
|
|
29039
|
-
/*!
|
|
29040
|
-
* @license
|
|
29041
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
29042
|
-
*
|
|
29043
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
29044
|
-
* you may not use this file except in compliance with the License.
|
|
29045
|
-
* You may obtain a copy of the License at
|
|
29046
|
-
*
|
|
29047
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
29048
|
-
*
|
|
29049
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
29050
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
29051
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
29052
|
-
* See the License for the specific language governing permissions and
|
|
29053
|
-
* limitations under the License.
|
|
29054
|
-
*/
|
|
29055
|
-
/* We are using functions instead of constants here to pass a new instance of the object each time */
|
|
29056
|
-
const getFakeSitePaging = () => ({
|
|
29057
|
-
list: {
|
|
29058
|
-
pagination: {
|
|
29059
|
-
count: 2,
|
|
29060
|
-
hasMoreItems: true,
|
|
29061
|
-
totalItems: 2,
|
|
29062
|
-
skipCount: 0,
|
|
29063
|
-
maxItems: 100
|
|
29064
|
-
},
|
|
29065
|
-
entries: [
|
|
29066
|
-
{
|
|
29067
|
-
entry: {
|
|
29068
|
-
role: 'SiteManager',
|
|
29069
|
-
visibility: 'PUBLIC',
|
|
29070
|
-
guid: 'fake-1',
|
|
29071
|
-
description: 'fake-test-site',
|
|
29072
|
-
id: 'fake-test-site',
|
|
29073
|
-
preset: 'site-dashboard',
|
|
29074
|
-
title: 'fake-test-site'
|
|
29075
|
-
}
|
|
29076
|
-
},
|
|
29077
|
-
{
|
|
29078
|
-
entry: {
|
|
29079
|
-
role: 'SiteManager',
|
|
29080
|
-
visibility: 'PUBLIC',
|
|
29081
|
-
guid: 'fake-2',
|
|
29082
|
-
description: 'This is a Sample Alfresco Team site.',
|
|
29083
|
-
id: 'swsdp',
|
|
29084
|
-
preset: 'site-dashboard',
|
|
29085
|
-
title: 'fake-test-2'
|
|
29086
|
-
}
|
|
29087
|
-
}
|
|
29088
|
-
]
|
|
29089
|
-
}
|
|
29090
|
-
});
|
|
29091
|
-
const getFakeSitePagingNoMoreItems = () => ({
|
|
29092
|
-
list: {
|
|
29093
|
-
pagination: {
|
|
29094
|
-
count: 2,
|
|
29095
|
-
hasMoreItems: false,
|
|
29096
|
-
totalItems: 2,
|
|
29097
|
-
skipCount: 0,
|
|
29098
|
-
maxItems: 100
|
|
29099
|
-
},
|
|
29100
|
-
entries: [
|
|
29101
|
-
{
|
|
29102
|
-
entry: {
|
|
29103
|
-
role: 'SiteManager',
|
|
29104
|
-
visibility: 'PUBLIC',
|
|
29105
|
-
guid: 'fake-1',
|
|
29106
|
-
description: 'fake-test-site',
|
|
29107
|
-
id: 'fake-test-site',
|
|
29108
|
-
preset: 'site-dashboard',
|
|
29109
|
-
title: 'fake-test-site'
|
|
29110
|
-
}
|
|
29111
|
-
},
|
|
29112
|
-
{
|
|
29113
|
-
entry: {
|
|
29114
|
-
role: 'SiteManager',
|
|
29115
|
-
visibility: 'PUBLIC',
|
|
29116
|
-
guid: 'fake-2',
|
|
29117
|
-
description: 'This is a Sample Alfresco Team site.',
|
|
29118
|
-
id: 'swsdp',
|
|
29119
|
-
preset: 'site-dashboard',
|
|
29120
|
-
title: 'fake-test-2'
|
|
29121
|
-
}
|
|
29122
|
-
}
|
|
29123
|
-
]
|
|
29124
|
-
}
|
|
29125
|
-
});
|
|
29126
|
-
const getFakeSitePagingFirstPage = () => ({
|
|
29127
|
-
list: {
|
|
29128
|
-
pagination: {
|
|
29129
|
-
count: 2,
|
|
29130
|
-
hasMoreItems: true,
|
|
29131
|
-
totalItems: 2,
|
|
29132
|
-
skipCount: 0,
|
|
29133
|
-
maxItems: 4
|
|
29134
|
-
},
|
|
29135
|
-
entries: [
|
|
29136
|
-
{
|
|
29137
|
-
entry: {
|
|
29138
|
-
role: 'SiteManager',
|
|
29139
|
-
visibility: 'PUBLIC',
|
|
29140
|
-
guid: 'fake-1',
|
|
29141
|
-
description: 'fake-test-site',
|
|
29142
|
-
id: 'fake-test-site',
|
|
29143
|
-
preset: 'site-dashboard',
|
|
29144
|
-
title: 'fake-test-site'
|
|
29145
|
-
}
|
|
29146
|
-
},
|
|
29147
|
-
{
|
|
29148
|
-
entry: {
|
|
29149
|
-
role: 'SiteManager',
|
|
29150
|
-
visibility: 'PUBLIC',
|
|
29151
|
-
guid: 'fake-2',
|
|
29152
|
-
description: 'This is a Sample Alfresco Team site.',
|
|
29153
|
-
id: 'swsdp',
|
|
29154
|
-
preset: 'site-dashboard',
|
|
29155
|
-
title: 'fake-test-2'
|
|
29156
|
-
}
|
|
29157
|
-
}
|
|
29158
|
-
]
|
|
29159
|
-
}
|
|
29160
|
-
});
|
|
29161
|
-
const getFakeSitePagingLastPage = () => ({
|
|
29162
|
-
list: {
|
|
29163
|
-
pagination: {
|
|
29164
|
-
count: 4,
|
|
29165
|
-
hasMoreItems: false,
|
|
29166
|
-
totalItems: 2,
|
|
29167
|
-
skipCount: 2,
|
|
29168
|
-
maxItems: 4
|
|
29169
|
-
},
|
|
29170
|
-
entries: [
|
|
29171
|
-
{
|
|
29172
|
-
entry: {
|
|
29173
|
-
role: 'SiteManager',
|
|
29174
|
-
visibility: 'PUBLIC',
|
|
29175
|
-
guid: 'fake-3',
|
|
29176
|
-
description: 'fake-test-3',
|
|
29177
|
-
id: 'fake-test-3',
|
|
29178
|
-
preset: 'site-dashboard',
|
|
29179
|
-
title: 'fake-test-3'
|
|
29180
|
-
}
|
|
29181
|
-
},
|
|
29182
|
-
{
|
|
29183
|
-
entry: {
|
|
29184
|
-
role: 'SiteManager',
|
|
29185
|
-
visibility: 'PUBLIC',
|
|
29186
|
-
guid: 'fake-test-4',
|
|
29187
|
-
description: 'This is a Sample Alfresco Team site.',
|
|
29188
|
-
id: 'fake-test-4',
|
|
29189
|
-
preset: 'site-dashboard',
|
|
29190
|
-
title: 'fake-test-4'
|
|
29191
|
-
}
|
|
29192
|
-
}
|
|
29193
|
-
]
|
|
29194
|
-
}
|
|
29195
|
-
});
|
|
29196
|
-
const getFakeSitePagingWithMembers = () => new SitePaging({
|
|
29197
|
-
list: new SitePagingList({
|
|
29198
|
-
entries: [
|
|
29199
|
-
{
|
|
29200
|
-
entry: {
|
|
29201
|
-
visibility: 'MODERATED',
|
|
29202
|
-
guid: 'b4cff62a-664d-4d45-9302-98723eac1319',
|
|
29203
|
-
description: 'This is a Sample Alfresco Team site.',
|
|
29204
|
-
id: 'MODERATED-SITE',
|
|
29205
|
-
preset: 'site-dashboard',
|
|
29206
|
-
title: 'FAKE-MODERATED-SITE'
|
|
29207
|
-
},
|
|
29208
|
-
relations: {
|
|
29209
|
-
members: {
|
|
29210
|
-
list: {
|
|
29211
|
-
pagination: {
|
|
29212
|
-
count: 3,
|
|
29213
|
-
hasMoreItems: false,
|
|
29214
|
-
skipCount: 0,
|
|
29215
|
-
maxItems: 100
|
|
29216
|
-
},
|
|
29217
|
-
entries: [
|
|
29218
|
-
{
|
|
29219
|
-
entry: {
|
|
29220
|
-
role: 'SiteManager',
|
|
29221
|
-
person: {
|
|
29222
|
-
firstName: 'Administrator',
|
|
29223
|
-
emailNotificationsEnabled: true,
|
|
29224
|
-
company: {},
|
|
29225
|
-
id: 'admin',
|
|
29226
|
-
enabled: true,
|
|
29227
|
-
email: 'admin@alfresco.com'
|
|
29228
|
-
},
|
|
29229
|
-
id: 'admin'
|
|
29230
|
-
}
|
|
29231
|
-
},
|
|
29232
|
-
{
|
|
29233
|
-
entry: {
|
|
29234
|
-
role: 'SiteCollaborator',
|
|
29235
|
-
person: {
|
|
29236
|
-
lastName: 'Beecher',
|
|
29237
|
-
userStatus: 'Helping to design the look and feel of the new web site',
|
|
29238
|
-
jobTitle: 'Graphic Designer',
|
|
29239
|
-
statusUpdatedAt: new Date('2011-02-15T20:20:13.432+0000'),
|
|
29240
|
-
mobile: '0112211001100',
|
|
29241
|
-
emailNotificationsEnabled: true,
|
|
29242
|
-
description: 'Alice is a demo user for the sample Alfresco Team site.',
|
|
29243
|
-
telephone: '0112211001100',
|
|
29244
|
-
enabled: false,
|
|
29245
|
-
firstName: 'Alice',
|
|
29246
|
-
skypeId: 'abeecher',
|
|
29247
|
-
avatarId: '198500fc-1e99-4f5f-8926-248cea433366',
|
|
29248
|
-
location: 'Tilbury, UK',
|
|
29249
|
-
company: {
|
|
29250
|
-
organization: 'Moresby, Garland and Wedge',
|
|
29251
|
-
address1: '200 Butterwick Street',
|
|
29252
|
-
address2: 'Tilbury',
|
|
29253
|
-
address3: 'UK',
|
|
29254
|
-
postcode: 'ALF1 SAM1'
|
|
29255
|
-
},
|
|
29256
|
-
id: 'abeecher',
|
|
29257
|
-
email: 'abeecher@example.com'
|
|
29258
|
-
},
|
|
29259
|
-
id: 'abeecher'
|
|
29260
|
-
}
|
|
29261
|
-
}
|
|
29262
|
-
]
|
|
29263
|
-
}
|
|
29264
|
-
}
|
|
29265
|
-
}
|
|
29266
|
-
},
|
|
29267
|
-
{
|
|
29268
|
-
entry: {
|
|
29269
|
-
visibility: 'PUBLIC',
|
|
29270
|
-
guid: 'b4cff62a-664d-4d45-9302-98723eac1319',
|
|
29271
|
-
description: 'This is a Sample Alfresco Team site.',
|
|
29272
|
-
id: 'PUBLIC-SITE',
|
|
29273
|
-
preset: 'site-dashboard',
|
|
29274
|
-
title: 'FAKE-SITE-PUBLIC'
|
|
29275
|
-
}
|
|
29276
|
-
},
|
|
29277
|
-
{
|
|
29278
|
-
entry: {
|
|
29279
|
-
visibility: 'PRIVATE',
|
|
29280
|
-
guid: 'b4cff62a-664d-4d45-9302-98723eac1319',
|
|
29281
|
-
description: 'This is a Sample Alfresco Team site.',
|
|
29282
|
-
id: 'MEMBER-SITE',
|
|
29283
|
-
preset: 'site-dashboard',
|
|
29284
|
-
title: 'FAKE-PRIVATE-SITE-MEMBER'
|
|
29285
|
-
},
|
|
29286
|
-
relations: {
|
|
29287
|
-
members: {
|
|
29288
|
-
list: {
|
|
29289
|
-
pagination: {
|
|
29290
|
-
count: 3,
|
|
29291
|
-
hasMoreItems: false,
|
|
29292
|
-
skipCount: 0,
|
|
29293
|
-
maxItems: 100
|
|
29294
|
-
},
|
|
29295
|
-
entries: [
|
|
29296
|
-
{
|
|
29297
|
-
entry: {
|
|
29298
|
-
role: 'SiteManager',
|
|
29299
|
-
person: {
|
|
29300
|
-
firstName: 'Administrator',
|
|
29301
|
-
emailNotificationsEnabled: true,
|
|
29302
|
-
company: {},
|
|
29303
|
-
id: 'admin',
|
|
29304
|
-
enabled: true,
|
|
29305
|
-
email: 'admin@alfresco.com'
|
|
29306
|
-
},
|
|
29307
|
-
id: 'test'
|
|
29308
|
-
}
|
|
29309
|
-
}
|
|
29310
|
-
]
|
|
29311
|
-
}
|
|
29312
|
-
}
|
|
29313
|
-
}
|
|
29314
|
-
}
|
|
29315
|
-
]
|
|
29316
|
-
})
|
|
29317
|
-
});
|
|
29318
|
-
|
|
29319
|
-
/*!
|
|
29320
|
-
* @license
|
|
29321
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
29322
|
-
*
|
|
29323
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
29324
|
-
* you may not use this file except in compliance with the License.
|
|
29325
|
-
* You may obtain a copy of the License at
|
|
29326
|
-
*
|
|
29327
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
29328
|
-
*
|
|
29329
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
29330
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
29331
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
29332
|
-
* See the License for the specific language governing permissions and
|
|
29333
|
-
* limitations under the License.
|
|
29334
|
-
*/
|
|
29335
|
-
const mockSearchRequest = {
|
|
29336
|
-
query: {
|
|
29337
|
-
query: '(search-term*)',
|
|
29338
|
-
language: SEARCH_LANGUAGE.AFTS
|
|
29339
|
-
},
|
|
29340
|
-
include: ['path', 'allowableOperations'],
|
|
29341
|
-
paging: {
|
|
29342
|
-
maxItems: 25,
|
|
29343
|
-
skipCount: 0
|
|
29344
|
-
},
|
|
29345
|
-
fields: undefined,
|
|
29346
|
-
filterQueries: [],
|
|
29347
|
-
facetQueries: null,
|
|
29348
|
-
facetIntervals: null,
|
|
29349
|
-
facetFields: null,
|
|
29350
|
-
sort: [],
|
|
29351
|
-
scope: {
|
|
29352
|
-
locations: 'nodes'
|
|
29353
|
-
},
|
|
29354
|
-
highlight: null,
|
|
29355
|
-
facetFormat: 'V2'
|
|
29356
|
-
};
|
|
29357
|
-
|
|
29358
|
-
/*!
|
|
29359
|
-
* @license
|
|
29360
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
29361
|
-
*
|
|
29362
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
29363
|
-
* you may not use this file except in compliance with the License.
|
|
29364
|
-
* You may obtain a copy of the License at
|
|
29365
|
-
*
|
|
29366
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
29367
|
-
*
|
|
29368
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
29369
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
29370
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
29371
|
-
* See the License for the specific language governing permissions and
|
|
29372
|
-
* limitations under the License.
|
|
29373
|
-
*/
|
|
29374
|
-
const mockNode = {
|
|
29375
|
-
isFile: true,
|
|
29376
|
-
createdByUser: { id: 'admin', displayName: 'Administrator' },
|
|
29377
|
-
modifiedAt: '2017-05-24T15:08:55.640Z',
|
|
29378
|
-
nodeType: 'cm:content',
|
|
29379
|
-
content: {
|
|
29380
|
-
mimeType: 'application/rtf',
|
|
29381
|
-
mimeTypeName: 'Rich Text Format',
|
|
29382
|
-
sizeInBytes: 14530,
|
|
29383
|
-
encoding: 'UTF-8'
|
|
29384
|
-
},
|
|
29385
|
-
parentId: 'd124de26-6ba0-4f40-8d98-4907da2d337a',
|
|
29386
|
-
createdAt: '2017-05-24T15:08:55.640Z',
|
|
29387
|
-
path: {
|
|
29388
|
-
name: '/Company Home/Guest Home',
|
|
29389
|
-
isComplete: true,
|
|
29390
|
-
elements: [
|
|
29391
|
-
{
|
|
29392
|
-
id: '94acfc73-7014-4475-9bd9-93a2162f0f8c',
|
|
29393
|
-
name: 'Company Home'
|
|
29394
|
-
},
|
|
29395
|
-
{ id: 'd124de26-6ba0-4f40-8d98-4907da2d337a', name: 'Guest Home' }
|
|
29396
|
-
]
|
|
29397
|
-
},
|
|
29398
|
-
isFolder: false,
|
|
29399
|
-
modifiedByUser: { id: 'admin', displayName: 'Administrator' },
|
|
29400
|
-
name: 'b_txt_file.rtf',
|
|
29401
|
-
id: '70e1cc6a-6918-468a-b84a-1048093b06fd',
|
|
29402
|
-
properties: { 'cm:versionLabel': '1.0', 'cm:versionType': 'MAJOR' },
|
|
29403
|
-
allowableOperations: ['delete', 'update']
|
|
29404
|
-
};
|
|
29405
|
-
const mockFile = new File(['fakefake'], 'file-fake.png', { type: 'image/png' });
|
|
29406
|
-
const mockNewVersionUploaderData = {
|
|
29407
|
-
action: 'upload',
|
|
29408
|
-
newVersion: {
|
|
29409
|
-
value: {
|
|
29410
|
-
entry: {
|
|
29411
|
-
isFile: true,
|
|
29412
|
-
createdByUser: {
|
|
29413
|
-
id: 'hruser',
|
|
29414
|
-
displayName: 'hruser'
|
|
29415
|
-
},
|
|
29416
|
-
modifiedAt: '2022-05-24T10:19:43.544Z',
|
|
29417
|
-
nodeType: 'cm:content',
|
|
29418
|
-
content: {
|
|
29419
|
-
mimeType: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
|
29420
|
-
mimeTypeName: 'Microsoft Word 2007',
|
|
29421
|
-
sizeInBytes: 11887,
|
|
29422
|
-
encoding: 'UTF-8'
|
|
29423
|
-
},
|
|
29424
|
-
parentId: '422538ca-ea4b-4086-83f9-b36e4521ec7f',
|
|
29425
|
-
aspectNames: ['rn:renditioned', 'cm:versionable', 'cm:titled', 'cm:auditable', 'cm:author', 'cm:thumbnailModification'],
|
|
29426
|
-
createdAt: '2022-05-24T07:26:44.429Z',
|
|
29427
|
-
isFolder: false,
|
|
29428
|
-
modifiedByUser: {
|
|
29429
|
-
id: 'hruser',
|
|
29430
|
-
displayName: 'hruser'
|
|
29431
|
-
},
|
|
29432
|
-
name: 'Test3.docx',
|
|
29433
|
-
id: '42ddb84d-fc96-4b45-aa3c-f24ca997d602',
|
|
29434
|
-
properties: {
|
|
29435
|
-
'cm:versionType': 'MINOR',
|
|
29436
|
-
'cm:versionLabel': '1.1',
|
|
29437
|
-
'cm:author': 'Amedeo Lepore',
|
|
29438
|
-
'cm:lastThumbnailModification': ['doclib:1653377205499']
|
|
29439
|
-
},
|
|
29440
|
-
allowableOperations: ['delete', 'update', 'updatePermissions']
|
|
29441
|
-
}
|
|
29442
|
-
}
|
|
29443
|
-
},
|
|
29444
|
-
currentVersion: {
|
|
29445
|
-
isFile: true,
|
|
29446
|
-
createdByUser: {
|
|
29447
|
-
id: 'hruser',
|
|
29448
|
-
displayName: 'hruser'
|
|
29449
|
-
},
|
|
29450
|
-
modifiedAt: '2022-05-24T07:26:45.337Z',
|
|
29451
|
-
nodeType: 'cm:content',
|
|
29452
|
-
content: {
|
|
29453
|
-
mimeType: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
|
29454
|
-
mimeTypeName: 'Microsoft Word 2007',
|
|
29455
|
-
sizeInBytes: 11949,
|
|
29456
|
-
encoding: 'UTF-8'
|
|
29457
|
-
},
|
|
29458
|
-
parentId: '422538ca-ea4b-4086-83f9-b36e4521ec7f',
|
|
29459
|
-
aspectNames: ['rn:renditioned', 'cm:versionable', 'cm:titled', 'cm:auditable', 'cm:author', 'cm:thumbnailModification'],
|
|
29460
|
-
createdAt: '2022-05-24T07:26:44.429Z',
|
|
29461
|
-
path: {
|
|
29462
|
-
name: '/Company Home/User Homes/hruser',
|
|
29463
|
-
isComplete: true,
|
|
29464
|
-
elements: [
|
|
29465
|
-
{
|
|
29466
|
-
id: '4e2284fd-9457-4914-a612-ea844e87f53f',
|
|
29467
|
-
name: 'Company Home',
|
|
29468
|
-
nodeType: 'cm:folder',
|
|
29469
|
-
aspectNames: ['cm:titled', 'cm:auditable', 'app:uifacets']
|
|
29470
|
-
},
|
|
29471
|
-
{
|
|
29472
|
-
id: '75a5d2d2-6edb-40b6-822e-499f5e8beffb',
|
|
29473
|
-
name: 'User Homes',
|
|
29474
|
-
nodeType: 'cm:folder',
|
|
29475
|
-
aspectNames: ['cm:titled', 'cm:auditable', 'app:uifacets']
|
|
29476
|
-
},
|
|
29477
|
-
{
|
|
29478
|
-
id: '422538ca-ea4b-4086-83f9-b36e4521ec7f',
|
|
29479
|
-
name: 'hruser',
|
|
29480
|
-
nodeType: 'cm:folder',
|
|
29481
|
-
aspectNames: ['cm:ownable', 'cm:auditable']
|
|
29482
|
-
}
|
|
29483
|
-
]
|
|
29484
|
-
},
|
|
29485
|
-
isFolder: false,
|
|
29486
|
-
permissions: {
|
|
29487
|
-
inherited: [
|
|
29488
|
-
{
|
|
29489
|
-
authorityId: 'ROLE_OWNER',
|
|
29490
|
-
name: 'All',
|
|
29491
|
-
accessStatus: 'ALLOWED'
|
|
29492
|
-
},
|
|
29493
|
-
{
|
|
29494
|
-
authorityId: 'hruser',
|
|
29495
|
-
name: 'All',
|
|
29496
|
-
accessStatus: 'ALLOWED'
|
|
29497
|
-
}
|
|
29498
|
-
],
|
|
29499
|
-
settable: ['Contributor', 'Collaborator', 'Coordinator', 'Editor', 'Consumer'],
|
|
29500
|
-
isInheritanceEnabled: true
|
|
29501
|
-
},
|
|
29502
|
-
modifiedByUser: {
|
|
29503
|
-
id: 'hruser',
|
|
29504
|
-
displayName: 'hruser'
|
|
29505
|
-
},
|
|
29506
|
-
name: 'Test2.docx',
|
|
29507
|
-
id: '42ddb84d-fc96-4b45-aa3c-f24ca997d602',
|
|
29508
|
-
properties: {
|
|
29509
|
-
'cm:versionType': 'MAJOR',
|
|
29510
|
-
'cm:versionLabel': '1.0',
|
|
29511
|
-
'cm:author': 'Amedeo Lepore',
|
|
29512
|
-
'cm:lastThumbnailModification': ['doclib:1653377205499']
|
|
29513
|
-
},
|
|
29514
|
-
allowableOperations: ['delete', 'update', 'updatePermissions'],
|
|
29515
|
-
isExternal: true
|
|
29516
|
-
}
|
|
29517
|
-
};
|
|
29518
|
-
|
|
29519
|
-
/*!
|
|
29520
|
-
* @license
|
|
29521
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
29522
|
-
*
|
|
29523
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
29524
|
-
* you may not use this file except in compliance with the License.
|
|
29525
|
-
* You may obtain a copy of the License at
|
|
29526
|
-
*
|
|
29527
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
29528
|
-
*
|
|
29529
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
29530
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
29531
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
29532
|
-
* See the License for the specific language governing permissions and
|
|
29533
|
-
* limitations under the License.
|
|
29534
|
-
*/
|
|
29535
|
-
const mockSearchFilterWithoutDisplayedLabelsByField = {
|
|
29536
|
-
id: 'test',
|
|
29537
|
-
name: 'test',
|
|
29538
|
-
expanded: false,
|
|
29539
|
-
enabled: true,
|
|
29540
|
-
component: {
|
|
29541
|
-
selector: 'date-range',
|
|
29542
|
-
settings: {
|
|
29543
|
-
pattern: `test:'(.*?)'`,
|
|
29544
|
-
field: 'test',
|
|
29545
|
-
placeholder: 'test placeholder'
|
|
29546
|
-
}
|
|
29547
|
-
}
|
|
29548
|
-
};
|
|
29549
|
-
const mockSearchFilterWithWrongDisplayedLabelsByField = {
|
|
29550
|
-
id: 'test',
|
|
29551
|
-
name: 'test',
|
|
29552
|
-
expanded: false,
|
|
29553
|
-
enabled: true,
|
|
29554
|
-
component: {
|
|
29555
|
-
selector: 'date-range',
|
|
29556
|
-
settings: {
|
|
29557
|
-
pattern: `test:'(.*?)'`,
|
|
29558
|
-
field: 'test',
|
|
29559
|
-
placeholder: 'test placeholder',
|
|
29560
|
-
displayedLabelsByField: {
|
|
29561
|
-
'wrong-test': 'test-tab-label'
|
|
29562
|
-
}
|
|
29563
|
-
}
|
|
29564
|
-
}
|
|
29565
|
-
};
|
|
29566
|
-
const mockSearchFilterWithDisplayedLabelsByField = {
|
|
29567
|
-
id: 'test',
|
|
29568
|
-
name: 'test',
|
|
29569
|
-
expanded: false,
|
|
29570
|
-
enabled: true,
|
|
29571
|
-
component: {
|
|
29572
|
-
selector: 'date-range',
|
|
29573
|
-
settings: {
|
|
29574
|
-
pattern: `test:'(.*?)'`,
|
|
29575
|
-
field: 'test',
|
|
29576
|
-
placeholder: 'test placeholder',
|
|
29577
|
-
displayedLabelsByField: {
|
|
29578
|
-
test: 'test-tab-label'
|
|
29579
|
-
}
|
|
29580
|
-
}
|
|
29581
|
-
}
|
|
29582
|
-
};
|
|
29583
|
-
|
|
29584
|
-
/*!
|
|
29585
|
-
* @license
|
|
29586
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
29587
|
-
*
|
|
29588
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
29589
|
-
* you may not use this file except in compliance with the License.
|
|
29590
|
-
* You may obtain a copy of the License at
|
|
29591
|
-
*
|
|
29592
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
29593
|
-
*
|
|
29594
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
29595
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
29596
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
29597
|
-
* See the License for the specific language governing permissions and
|
|
29598
|
-
* limitations under the License.
|
|
29599
|
-
*/
|
|
29600
|
-
|
|
29601
|
-
/*!
|
|
29602
|
-
* @license
|
|
29603
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
29604
|
-
*
|
|
29605
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
29606
|
-
* you may not use this file except in compliance with the License.
|
|
29607
|
-
* You may obtain a copy of the License at
|
|
29608
|
-
*
|
|
29609
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
29610
|
-
*
|
|
29611
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
29612
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
29613
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
29614
|
-
* See the License for the specific language governing permissions and
|
|
29615
|
-
* limitations under the License.
|
|
29616
|
-
*/
|
|
29617
|
-
|
|
29618
|
-
/*!
|
|
29619
|
-
* @license
|
|
29620
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
29621
|
-
*
|
|
29622
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
29623
|
-
* you may not use this file except in compliance with the License.
|
|
29624
|
-
* You may obtain a copy of the License at
|
|
29625
|
-
*
|
|
29626
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
29627
|
-
*
|
|
29628
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
29629
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
29630
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
29631
|
-
* See the License for the specific language governing permissions and
|
|
29632
|
-
* limitations under the License.
|
|
29633
|
-
*/
|
|
29634
|
-
class ContentTestingModule {
|
|
29635
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ContentTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
29636
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.17", ngImport: i0, type: ContentTestingModule, imports: [NoopAnimationsModule, CoreModule, NoopAuthModule, NoopTranslateModule, ContentModule, MatIconTestingModule], exports: [NoopAnimationsModule, CoreModule, ContentModule] }); }
|
|
29637
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ContentTestingModule, providers: [
|
|
29638
|
-
{ provide: AlfrescoApiService, useClass: AlfrescoApiServiceMock },
|
|
29639
|
-
{
|
|
29640
|
-
provide: APP_INITIALIZER,
|
|
29641
|
-
useFactory: versionCompatibilityFactory,
|
|
29642
|
-
deps: [VersionCompatibilityService],
|
|
29643
|
-
multi: true
|
|
29644
|
-
}
|
|
29645
|
-
], imports: [NoopAnimationsModule, CoreModule, NoopAuthModule, NoopTranslateModule, ContentModule, MatIconTestingModule, NoopAnimationsModule, CoreModule, ContentModule] }); }
|
|
29646
|
-
}
|
|
29647
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: ContentTestingModule, decorators: [{
|
|
29648
|
-
type: NgModule,
|
|
29649
|
-
args: [{
|
|
29650
|
-
imports: [NoopAnimationsModule, CoreModule, NoopAuthModule, NoopTranslateModule, ContentModule, MatIconTestingModule],
|
|
29651
|
-
providers: [
|
|
29652
|
-
{ provide: AlfrescoApiService, useClass: AlfrescoApiServiceMock },
|
|
29653
|
-
{
|
|
29654
|
-
provide: APP_INITIALIZER,
|
|
29655
|
-
useFactory: versionCompatibilityFactory,
|
|
29656
|
-
deps: [VersionCompatibilityService],
|
|
29657
|
-
multi: true
|
|
29658
|
-
}
|
|
29659
|
-
],
|
|
29660
|
-
exports: [NoopAnimationsModule, CoreModule, ContentModule]
|
|
29661
|
-
}]
|
|
29662
|
-
}] });
|
|
29663
|
-
|
|
29664
27737
|
/*!
|
|
29665
27738
|
* @license
|
|
29666
27739
|
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
@@ -29682,5 +27755,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
29682
27755
|
* Generated bundle index. Do not edit.
|
|
29683
27756
|
*/
|
|
29684
27757
|
|
|
29685
|
-
export { ADF_SEARCH_CONFIGURATION, ALFRESCO_API_FACTORY, ASPECT_LIST_DIRECTIVES, AddPermissionComponent, AddPermissionDialogComponent, AddPermissionPanelComponent, AgentService, AlfrescoApiLoaderService, AlfrescoApiNoAuthService, AlfrescoApiService, AlfrescoApiServiceMock, AlfrescoIconComponent, AlfrescoViewerComponent, AlfrescoViewerModule, AllowableOperationsEnum, AspectListComponent, AspectListDialogComponent, AspectListModule, AspectListService, AspectOrientedConfigService, AutoFocusDirective, AutocompleteField, BREADCRUMB_DIRECTIVES, BaseQueryBuilderService, BasicPropertiesService, BreadcrumbComponent, BreadcrumbModule, CONTENT_DIALOG_DIRECTIVES, CONTENT_DIRECTIVES, CONTENT_METADATA_DIRECTIVES, CONTENT_NODE_SELECTOR_DIRECTIVES, CONTENT_NODE_SHARE_DIRECTIVES, CONTENT_PERMISSION_MANAGER_DIRECTIVES, CONTENT_PIPES, CONTENT_SEARCH_DIRECTIVES, CONTENT_TAG_DIRECTIVES, CONTENT_UPLOAD_DIRECTIVES, CONTENT_VERSION_DIRECTIVES, CardViewContentUpdateService, CategoriesManagementComponent, CategoriesManagementMode, CategoriesModule, CategorySelectorDialogComponent, CategoryService, CategoryTreeDatasourceService, CheckAllowableOperationDirective, ContentActionComponent, ContentActionListComponent, ContentActionModel, ContentActionTarget, ContentDirectiveModule, ContentMetadataCardComponent, ContentMetadataComponent, ContentMetadataConfigFactory, ContentMetadataHeaderComponent, ContentMetadataModule, ContentMetadataService, ContentModule, ContentNodeDialogService, ContentNodeSelectorComponent, ContentNodeSelectorModule, ContentNodeSelectorPanelComponent, ContentNodeSelectorPanelService, ContentNodeShareModule, ContentPipeModule, ContentService,
|
|
27758
|
+
export { ADF_SEARCH_CONFIGURATION, ALFRESCO_API_FACTORY, ASPECT_LIST_DIRECTIVES, AddPermissionComponent, AddPermissionDialogComponent, AddPermissionPanelComponent, AgentService, AlfrescoApiLoaderService, AlfrescoApiNoAuthService, AlfrescoApiService, AlfrescoApiServiceMock, AlfrescoIconComponent, AlfrescoViewerComponent, AlfrescoViewerModule, AllowableOperationsEnum, AspectListComponent, AspectListDialogComponent, AspectListModule, AspectListService, AspectOrientedConfigService, AutoFocusDirective, AutocompleteField, BREADCRUMB_DIRECTIVES, BaseQueryBuilderService, BasicPropertiesService, BreadcrumbComponent, BreadcrumbModule, CONTENT_DIALOG_DIRECTIVES, CONTENT_DIRECTIVES, CONTENT_METADATA_DIRECTIVES, CONTENT_NODE_SELECTOR_DIRECTIVES, CONTENT_NODE_SHARE_DIRECTIVES, CONTENT_PERMISSION_MANAGER_DIRECTIVES, CONTENT_PIPES, CONTENT_SEARCH_DIRECTIVES, CONTENT_TAG_DIRECTIVES, CONTENT_UPLOAD_DIRECTIVES, CONTENT_VERSION_DIRECTIVES, CardViewContentUpdateService, CategoriesManagementComponent, CategoriesManagementMode, CategoriesModule, CategorySelectorDialogComponent, CategoryService, CategoryTreeDatasourceService, CheckAllowableOperationDirective, ContentActionComponent, ContentActionListComponent, ContentActionModel, ContentActionTarget, ContentDirectiveModule, ContentMetadataCardComponent, ContentMetadataComponent, ContentMetadataConfigFactory, ContentMetadataHeaderComponent, ContentMetadataModule, ContentMetadataService, ContentModule, ContentNodeDialogService, ContentNodeSelectorComponent, ContentNodeSelectorModule, ContentNodeSelectorPanelComponent, ContentNodeSelectorPanelService, ContentNodeShareModule, ContentPipeModule, ContentService, ContentTypeDialogComponent, ContentTypePropertiesService, ContentTypeService, ContentVersionService, CustomAspectsWhere, CustomResourcesService, DEFAULT_DATETIME_FORMAT, DOCUMENT_LIST_DIRECTIVES, DROP_EFFECT, DateRangeType, DialogAspectListService, DialogModule, DiscoveryApiService, DocumentActionsService, DocumentListComponent, DocumentListModule, DocumentListService, DownloadZipDialogComponent, DownloadZipDialogModule, DropdownBreadcrumbComponent, DropdownSitesComponent, ERR_COL_NOT_FOUND, ERR_OBJECT_NOT_FOUND, ERR_ROW_NOT_FOUND, EcmCompanyModel, EcmUserModel, EmptySearchResultComponent, FacetBucketSortBy, FacetBucketSortDirection, FavoritesApiService, FileAutoDownloadComponent, FileDraggableDirective, FileModel, FileSizeOperator, FileSizeUnit, FileUploadCompleteEvent, FileUploadDeleteEvent, FileUploadErrorEvent, FileUploadErrorPipe, FileUploadEvent, FileUploadOptions, FileUploadStatus, FileUploadingDialogComponent, FileUploadingListComponent, FileUploadingListRowComponent, FilterHeaderComponent, FolderActionsService, FolderDialogComponent, GroupService, INPUT_FOCUS_CSS_CLASS, InLastDateType, IndifferentConfigService, InfiniteScrollDatasource, InheritPermissionDirective, LayoutOrientedConfigService, LegalHoldService, LibraryDialogComponent, LibraryFavoriteDirective, LibraryMembershipDirective, LibraryNameColumnComponent, LibraryRoleColumnComponent, LibraryStatusColumnComponent, LiveErrorStateMatcher, LockService, LogicalSearchFields, MaterialModule, MemberModel, NameColumnComponent, NameLocationCellComponent, NewVersionUploaderDataAction, NewVersionUploaderDialogComponent, NewVersionUploaderModule, NewVersionUploaderService, NodeAction, NodeActionsService, NodeAspectService, NodeCommentsComponent, NodeCommentsModule, NodeCommentsService, NodeCounterComponent, NodeCounterDirective, NodeDeleteDirective, NodeDownloadDirective, NodeEntityEvent, NodeEntryEvent, NodeFavoriteDirective, NodeLockDialogComponent, NodeLockDirective, NodeMetadata, NodeNameTooltipPipe, NodePathColumnComponent, NodePermissionDialogService, NodePermissionService, NodeRestoreDirective, NodeSharedDirective, NodesApiService, PeopleContentService, PermissionContainerComponent, PermissionDisplayModel, PermissionListComponent, PermissionManagerModule, PermissionModel, PermissionStyleModel, PermissionsEnum, PopOverDirective, PredictionService, PropertyDescriptorsService, PropertyGroupTranslatorService, RECOGNISED_ECM_TYPES, Relations, RenditionService, ResetSearchDirective, ResponseFacetQueryList, RestoreMessageModel, SAVED_SEARCHES_SERVICE_PREFERENCES, SEARCH_QUERY_TOKEN, SavedSearchesBaseService, SavedSearchesLegacyService, SavedSearchesService, SearchAiService, SearchCheckListComponent, SearchChipAutocompleteInputComponent, SearchChipListComponent, SearchComponent, SearchConfigurationService, SearchControlComponent, SearchDateRangeComponent, SearchDateRangeTabbedComponent, SearchDatetimeRangeComponent, SearchFacetChipComponent, SearchFacetChipTabbedComponent, SearchFacetFieldComponent, SearchFacetFiltersService, SearchFacetTabbedContentComponent, SearchFilterAutocompleteChipsComponent, SearchFilterCardComponent, SearchFilterChipsComponent, SearchFilterComponent, SearchFilterContainerComponent, SearchFilterList, SearchFilterMenuCardComponent, SearchFilterService, SearchFilterTabDirective, SearchFilterTabbedComponent, SearchFormComponent, SearchHeaderQueryBuilderService, SearchInputComponent, SearchLogicalFilterComponent, SearchModule, SearchNumberRangeComponent, SearchPanelComponent, SearchPermissionConfigurationService, SearchPropertiesComponent, SearchQueryBuilderService, SearchRadioComponent, SearchService, SearchSliderComponent, SearchSortingPickerComponent, SearchTermValidator, SearchTextComponent, SearchWidgetChipComponent, SearchWidgetContainerComponent, SecurityControlsService, ShareDataRow, ShareDataTableAdapter, ShareDialogComponent, SharedLinksApiService, SitesService, StandardAspectsWhere, TagActionsComponent, TagListComponent, TagModule, TagNodeListComponent, TagService, TagsCreatorComponent, TagsCreatorMode, ToggleIconDirective, TrashcanNameColumnComponent, TreeBaseNode, TreeComponent, TreeModule, TreeNodeType, TreeService, TreeViewComponent, TreeViewDataSource, TreeViewModule, TreeViewService, UploadBase, UploadButtonComponent, UploadDragAreaComponent, UploadFilesEvent, UploadModule, UploadService, UploadVersionButtonComponent, UserIconColumnComponent, UserNameColumnComponent, UserRoleColumnComponent, VersionComparisonComponent, VersionCompatibilityDirective, VersionCompatibilityModule, VersionCompatibilityService, VersionListComponent, VersionListDataSource, VersionManagerComponent, VersionManagerModule, VersionUploadComponent, createAlfrescoApiInstance, defaultValidation, fakeEcmUser, fakeSearch, forbidEndingDot, forbidOnlySpaces, forbidSpecialCharacters, mockError, searchMockApi };
|
|
29686
27759
|
//# sourceMappingURL=adf-content-services.mjs.map
|