@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
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfresco/adf-content-services",
|
|
3
3
|
"description": "Alfresco ADF content services",
|
|
4
|
-
"version": "8.4.0-
|
|
4
|
+
"version": "8.4.0-20341456262",
|
|
5
5
|
"author": "Hyland Software, Inc. and its affiliates",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"@angular/platform-browser": ">=14.1.3",
|
|
22
22
|
"@angular/platform-browser-dynamic": ">=14.1.3",
|
|
23
23
|
"@angular/router": ">=14.1.3",
|
|
24
|
-
"@alfresco/js-api": ">=9.4.0-
|
|
24
|
+
"@alfresco/js-api": ">=9.4.0-20341456262",
|
|
25
25
|
"@ngx-translate/core": ">=16.0.0",
|
|
26
|
-
"@alfresco/adf-core": ">=8.4.0-
|
|
26
|
+
"@alfresco/adf-core": ">=8.4.0-20341456262"
|
|
27
27
|
},
|
|
28
28
|
"keywords": [
|
|
29
29
|
"content-services",
|
package/public-api.d.ts
CHANGED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import { SearchCategory } from '../search/models/search-category.interface';
|
|
18
|
-
export declare const mockSearchFilterWithoutDisplayedLabelsByField: SearchCategory;
|
|
19
|
-
export declare const mockSearchFilterWithWrongDisplayedLabelsByField: SearchCategory;
|
|
20
|
-
export declare const mockSearchFilterWithDisplayedLabelsByField: SearchCategory;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import { NodeEntry } from '@alfresco/js-api';
|
|
18
|
-
export declare class FileNode extends NodeEntry {
|
|
19
|
-
constructor(name?: string, mimeType?: string, id?: string);
|
|
20
|
-
}
|
|
21
|
-
export declare class FolderNode extends NodeEntry {
|
|
22
|
-
constructor(name?: string);
|
|
23
|
-
}
|
|
24
|
-
export declare class SmartFolderNode extends NodeEntry {
|
|
25
|
-
constructor(name?: string);
|
|
26
|
-
}
|
|
27
|
-
export declare class RuleFolderNode extends NodeEntry {
|
|
28
|
-
constructor(name?: string);
|
|
29
|
-
}
|
|
30
|
-
export declare class LinkFolderNode extends NodeEntry {
|
|
31
|
-
constructor(name?: string);
|
|
32
|
-
}
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import { Node, NodePaging, NodeEntry } from '@alfresco/js-api';
|
|
18
|
-
export declare const fakeNodeWithCreatePermission: Node;
|
|
19
|
-
export declare const fakeNodeWithNoPermission: Node;
|
|
20
|
-
export declare const fakeNodeAnswerWithEntries: {
|
|
21
|
-
list: {
|
|
22
|
-
pagination: {
|
|
23
|
-
count: number;
|
|
24
|
-
hasMoreItems: boolean;
|
|
25
|
-
totalItems: number;
|
|
26
|
-
skipCount: number;
|
|
27
|
-
maxItems: number;
|
|
28
|
-
};
|
|
29
|
-
entries: {
|
|
30
|
-
entry: {
|
|
31
|
-
isFile: boolean;
|
|
32
|
-
createdByUser: {
|
|
33
|
-
id: string;
|
|
34
|
-
displayName: string;
|
|
35
|
-
};
|
|
36
|
-
modifiedAt: string;
|
|
37
|
-
nodeType: string;
|
|
38
|
-
content: {
|
|
39
|
-
mimeType: string;
|
|
40
|
-
mimeTypeName: string;
|
|
41
|
-
sizeInBytes: number;
|
|
42
|
-
encoding: string;
|
|
43
|
-
};
|
|
44
|
-
parentId: string;
|
|
45
|
-
createdAt: string;
|
|
46
|
-
path: {
|
|
47
|
-
name: string;
|
|
48
|
-
isComplete: boolean;
|
|
49
|
-
elements: {
|
|
50
|
-
id: string;
|
|
51
|
-
name: string;
|
|
52
|
-
}[];
|
|
53
|
-
};
|
|
54
|
-
isFolder: boolean;
|
|
55
|
-
modifiedByUser: {
|
|
56
|
-
id: string;
|
|
57
|
-
displayName: string;
|
|
58
|
-
};
|
|
59
|
-
name: string;
|
|
60
|
-
id: string;
|
|
61
|
-
properties: {
|
|
62
|
-
'cm:versionLabel': string;
|
|
63
|
-
'cm:versionType': string;
|
|
64
|
-
};
|
|
65
|
-
allowableOperations: string[];
|
|
66
|
-
};
|
|
67
|
-
}[];
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
export declare const fakeNodeAnswerWithNOEntries: {
|
|
71
|
-
list: {
|
|
72
|
-
pagination: {
|
|
73
|
-
count: number;
|
|
74
|
-
hasMoreItems: boolean;
|
|
75
|
-
totalItems: number;
|
|
76
|
-
skipCount: number;
|
|
77
|
-
maxItems: number;
|
|
78
|
-
};
|
|
79
|
-
entries: any[];
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
export declare const fakeGetSitesAnswer: {
|
|
83
|
-
list: {
|
|
84
|
-
pagination: {
|
|
85
|
-
count: number;
|
|
86
|
-
hasMoreItems: boolean;
|
|
87
|
-
totalItems: number;
|
|
88
|
-
skipCount: number;
|
|
89
|
-
maxItems: number;
|
|
90
|
-
};
|
|
91
|
-
entries: ({
|
|
92
|
-
entry: {
|
|
93
|
-
role: string;
|
|
94
|
-
visibility: string;
|
|
95
|
-
guid: string;
|
|
96
|
-
id: string;
|
|
97
|
-
preset: string;
|
|
98
|
-
title: string;
|
|
99
|
-
description?: undefined;
|
|
100
|
-
};
|
|
101
|
-
} | {
|
|
102
|
-
entry: {
|
|
103
|
-
role: string;
|
|
104
|
-
visibility: string;
|
|
105
|
-
guid: string;
|
|
106
|
-
description: string;
|
|
107
|
-
id: string;
|
|
108
|
-
preset: string;
|
|
109
|
-
title: string;
|
|
110
|
-
};
|
|
111
|
-
} | {
|
|
112
|
-
entry: {
|
|
113
|
-
visibility: string;
|
|
114
|
-
guid: string;
|
|
115
|
-
id: string;
|
|
116
|
-
preset: string;
|
|
117
|
-
title: string;
|
|
118
|
-
role?: undefined;
|
|
119
|
-
description?: undefined;
|
|
120
|
-
};
|
|
121
|
-
})[];
|
|
122
|
-
};
|
|
123
|
-
};
|
|
124
|
-
export declare const fakeGetSiteMembership: {
|
|
125
|
-
list: {
|
|
126
|
-
pagination: {
|
|
127
|
-
count: number;
|
|
128
|
-
hasMoreItems: boolean;
|
|
129
|
-
totalItems: number;
|
|
130
|
-
skipCount: number;
|
|
131
|
-
maxItems: number;
|
|
132
|
-
};
|
|
133
|
-
entries: ({
|
|
134
|
-
entry: {
|
|
135
|
-
site: {
|
|
136
|
-
role: string;
|
|
137
|
-
visibility: string;
|
|
138
|
-
guid: string;
|
|
139
|
-
id: string;
|
|
140
|
-
preset: string;
|
|
141
|
-
title: string;
|
|
142
|
-
description?: undefined;
|
|
143
|
-
};
|
|
144
|
-
role: string;
|
|
145
|
-
guid: string;
|
|
146
|
-
id: string;
|
|
147
|
-
};
|
|
148
|
-
} | {
|
|
149
|
-
entry: {
|
|
150
|
-
site: {
|
|
151
|
-
role: string;
|
|
152
|
-
visibility: string;
|
|
153
|
-
guid: string;
|
|
154
|
-
description: string;
|
|
155
|
-
id: string;
|
|
156
|
-
preset: string;
|
|
157
|
-
title: string;
|
|
158
|
-
};
|
|
159
|
-
role: string;
|
|
160
|
-
guid: string;
|
|
161
|
-
id: string;
|
|
162
|
-
};
|
|
163
|
-
})[];
|
|
164
|
-
};
|
|
165
|
-
};
|
|
166
|
-
export declare const fakeNodePaging: NodePaging;
|
|
167
|
-
export declare const mockNode1: Node;
|
|
168
|
-
export declare const mockNode2: Node;
|
|
169
|
-
export declare const mockNode3: Node;
|
|
170
|
-
export declare const mockPreselectedNodes: NodeEntry[];
|
|
171
|
-
export declare const mockNodePagingWithPreselectedNodes: NodePaging;
|
package/lib/mock/index.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
export * from './public-api';
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
export declare const mockNode: any;
|
|
18
|
-
export declare const mockFile: File;
|
|
19
|
-
export declare const mockNewVersionUploaderData: any;
|
package/lib/mock/public-api.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
export * from './document-library.model.mock';
|
|
18
|
-
export * from './document-list.component.mock';
|
|
19
|
-
export * from './search.component.mock';
|
|
20
|
-
export * from './search.service.mock';
|
|
21
|
-
export * from './search-filter-mock';
|
|
22
|
-
export * from './sites-dropdown.component.mock';
|
|
23
|
-
export * from './search-query.mock';
|
|
24
|
-
export * from './new-version-uploader.service.mock';
|
|
25
|
-
export * from './date-range-search-filter.mock';
|
|
26
|
-
export * from './alfresco-api.service.mock';
|
|
@@ -1,321 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import { SearchCategory } from '../search';
|
|
18
|
-
export declare const expandableCategories: {
|
|
19
|
-
id: string;
|
|
20
|
-
name: string;
|
|
21
|
-
expanded: boolean;
|
|
22
|
-
enabled: boolean;
|
|
23
|
-
component: {
|
|
24
|
-
selector: string;
|
|
25
|
-
settings: any;
|
|
26
|
-
};
|
|
27
|
-
}[];
|
|
28
|
-
export declare const disabledCategories: {
|
|
29
|
-
id: string;
|
|
30
|
-
name: string;
|
|
31
|
-
expanded: boolean;
|
|
32
|
-
enabled: boolean;
|
|
33
|
-
component: {
|
|
34
|
-
selector: string;
|
|
35
|
-
settings: {
|
|
36
|
-
field: any;
|
|
37
|
-
pageSize: number;
|
|
38
|
-
options: {
|
|
39
|
-
name: string;
|
|
40
|
-
value: string;
|
|
41
|
-
}[];
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
}[];
|
|
45
|
-
export declare const expandedCategories: {
|
|
46
|
-
id: string;
|
|
47
|
-
name: string;
|
|
48
|
-
expanded: boolean;
|
|
49
|
-
enabled: boolean;
|
|
50
|
-
component: {
|
|
51
|
-
selector: string;
|
|
52
|
-
settings: {
|
|
53
|
-
field: any;
|
|
54
|
-
pageSize: number;
|
|
55
|
-
options: {
|
|
56
|
-
name: string;
|
|
57
|
-
value: string;
|
|
58
|
-
}[];
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
}[];
|
|
62
|
-
export declare const simpleCategories: SearchCategory[];
|
|
63
|
-
export declare const searchFilter: {
|
|
64
|
-
'app:fields': string[];
|
|
65
|
-
include: string[];
|
|
66
|
-
sorting: {
|
|
67
|
-
options: {
|
|
68
|
-
key: string;
|
|
69
|
-
label: string;
|
|
70
|
-
type: string;
|
|
71
|
-
field: string;
|
|
72
|
-
ascending: boolean;
|
|
73
|
-
}[];
|
|
74
|
-
defaults: {
|
|
75
|
-
key: string;
|
|
76
|
-
type: string;
|
|
77
|
-
field: string;
|
|
78
|
-
ascending: boolean;
|
|
79
|
-
}[];
|
|
80
|
-
};
|
|
81
|
-
resetButton: boolean;
|
|
82
|
-
filterQueries: {
|
|
83
|
-
query: string;
|
|
84
|
-
}[];
|
|
85
|
-
facetFields: {
|
|
86
|
-
expanded: boolean;
|
|
87
|
-
fields: {
|
|
88
|
-
field: string;
|
|
89
|
-
mincount: number;
|
|
90
|
-
label: string;
|
|
91
|
-
}[];
|
|
92
|
-
};
|
|
93
|
-
facetQueries: {
|
|
94
|
-
label: string;
|
|
95
|
-
pageSize: number;
|
|
96
|
-
expanded: boolean;
|
|
97
|
-
mincount: number;
|
|
98
|
-
queries: ({
|
|
99
|
-
query: string;
|
|
100
|
-
label: string;
|
|
101
|
-
group?: undefined;
|
|
102
|
-
} | {
|
|
103
|
-
query: string;
|
|
104
|
-
label: string;
|
|
105
|
-
group: string;
|
|
106
|
-
})[];
|
|
107
|
-
};
|
|
108
|
-
facetIntervals: {
|
|
109
|
-
expanded: boolean;
|
|
110
|
-
intervals: {
|
|
111
|
-
label: string;
|
|
112
|
-
field: string;
|
|
113
|
-
sets: ({
|
|
114
|
-
label: string;
|
|
115
|
-
start: string;
|
|
116
|
-
end: string;
|
|
117
|
-
endInclusive: boolean;
|
|
118
|
-
} | {
|
|
119
|
-
label: string;
|
|
120
|
-
start: string;
|
|
121
|
-
end: string;
|
|
122
|
-
endInclusive?: undefined;
|
|
123
|
-
})[];
|
|
124
|
-
}[];
|
|
125
|
-
};
|
|
126
|
-
categories: ({
|
|
127
|
-
id: string;
|
|
128
|
-
name: string;
|
|
129
|
-
enabled: boolean;
|
|
130
|
-
expanded: boolean;
|
|
131
|
-
component: {
|
|
132
|
-
selector: string;
|
|
133
|
-
settings: {
|
|
134
|
-
pattern: string;
|
|
135
|
-
field: string;
|
|
136
|
-
placeholder: string;
|
|
137
|
-
pageSize?: undefined;
|
|
138
|
-
operator?: undefined;
|
|
139
|
-
options?: undefined;
|
|
140
|
-
min?: undefined;
|
|
141
|
-
max?: undefined;
|
|
142
|
-
step?: undefined;
|
|
143
|
-
thumbLabel?: undefined;
|
|
144
|
-
format?: undefined;
|
|
145
|
-
dateFormat?: undefined;
|
|
146
|
-
displayedLabelsByField?: undefined;
|
|
147
|
-
};
|
|
148
|
-
};
|
|
149
|
-
} | {
|
|
150
|
-
id: string;
|
|
151
|
-
name: string;
|
|
152
|
-
enabled: boolean;
|
|
153
|
-
component: {
|
|
154
|
-
selector: string;
|
|
155
|
-
settings: {
|
|
156
|
-
pageSize: number;
|
|
157
|
-
operator: string;
|
|
158
|
-
options: any[];
|
|
159
|
-
pattern?: undefined;
|
|
160
|
-
field?: undefined;
|
|
161
|
-
placeholder?: undefined;
|
|
162
|
-
min?: undefined;
|
|
163
|
-
max?: undefined;
|
|
164
|
-
step?: undefined;
|
|
165
|
-
thumbLabel?: undefined;
|
|
166
|
-
format?: undefined;
|
|
167
|
-
dateFormat?: undefined;
|
|
168
|
-
displayedLabelsByField?: undefined;
|
|
169
|
-
};
|
|
170
|
-
};
|
|
171
|
-
expanded?: undefined;
|
|
172
|
-
} | {
|
|
173
|
-
id: string;
|
|
174
|
-
name: string;
|
|
175
|
-
enabled: boolean;
|
|
176
|
-
component: {
|
|
177
|
-
selector: string;
|
|
178
|
-
settings: {
|
|
179
|
-
field: string;
|
|
180
|
-
min: number;
|
|
181
|
-
max: number;
|
|
182
|
-
step: number;
|
|
183
|
-
thumbLabel: boolean;
|
|
184
|
-
pattern?: undefined;
|
|
185
|
-
placeholder?: undefined;
|
|
186
|
-
pageSize?: undefined;
|
|
187
|
-
operator?: undefined;
|
|
188
|
-
options?: undefined;
|
|
189
|
-
format?: undefined;
|
|
190
|
-
dateFormat?: undefined;
|
|
191
|
-
displayedLabelsByField?: undefined;
|
|
192
|
-
};
|
|
193
|
-
};
|
|
194
|
-
expanded?: undefined;
|
|
195
|
-
} | {
|
|
196
|
-
id: string;
|
|
197
|
-
name: string;
|
|
198
|
-
enabled: boolean;
|
|
199
|
-
component: {
|
|
200
|
-
selector: string;
|
|
201
|
-
settings: {
|
|
202
|
-
field: string;
|
|
203
|
-
format: string;
|
|
204
|
-
pattern?: undefined;
|
|
205
|
-
placeholder?: undefined;
|
|
206
|
-
pageSize?: undefined;
|
|
207
|
-
operator?: undefined;
|
|
208
|
-
options?: undefined;
|
|
209
|
-
min?: undefined;
|
|
210
|
-
max?: undefined;
|
|
211
|
-
step?: undefined;
|
|
212
|
-
thumbLabel?: undefined;
|
|
213
|
-
dateFormat?: undefined;
|
|
214
|
-
displayedLabelsByField?: undefined;
|
|
215
|
-
};
|
|
216
|
-
};
|
|
217
|
-
expanded?: undefined;
|
|
218
|
-
} | {
|
|
219
|
-
id: string;
|
|
220
|
-
name: string;
|
|
221
|
-
enabled: boolean;
|
|
222
|
-
component: {
|
|
223
|
-
selector: string;
|
|
224
|
-
settings: {
|
|
225
|
-
field: string;
|
|
226
|
-
dateFormat: string;
|
|
227
|
-
displayedLabelsByField: {
|
|
228
|
-
'cm:created': string;
|
|
229
|
-
};
|
|
230
|
-
pattern?: undefined;
|
|
231
|
-
placeholder?: undefined;
|
|
232
|
-
pageSize?: undefined;
|
|
233
|
-
operator?: undefined;
|
|
234
|
-
options?: undefined;
|
|
235
|
-
min?: undefined;
|
|
236
|
-
max?: undefined;
|
|
237
|
-
step?: undefined;
|
|
238
|
-
thumbLabel?: undefined;
|
|
239
|
-
format?: undefined;
|
|
240
|
-
};
|
|
241
|
-
};
|
|
242
|
-
expanded?: undefined;
|
|
243
|
-
} | {
|
|
244
|
-
id: string;
|
|
245
|
-
name: string;
|
|
246
|
-
enabled: boolean;
|
|
247
|
-
component: {
|
|
248
|
-
selector: string;
|
|
249
|
-
settings: {
|
|
250
|
-
field: any;
|
|
251
|
-
pageSize: number;
|
|
252
|
-
options: any[];
|
|
253
|
-
pattern?: undefined;
|
|
254
|
-
placeholder?: undefined;
|
|
255
|
-
operator?: undefined;
|
|
256
|
-
min?: undefined;
|
|
257
|
-
max?: undefined;
|
|
258
|
-
step?: undefined;
|
|
259
|
-
thumbLabel?: undefined;
|
|
260
|
-
format?: undefined;
|
|
261
|
-
dateFormat?: undefined;
|
|
262
|
-
displayedLabelsByField?: undefined;
|
|
263
|
-
};
|
|
264
|
-
};
|
|
265
|
-
expanded?: undefined;
|
|
266
|
-
})[];
|
|
267
|
-
};
|
|
268
|
-
export declare const mockSearchResult: {
|
|
269
|
-
list: {
|
|
270
|
-
pagination: {
|
|
271
|
-
count: number;
|
|
272
|
-
hasMoreItems: boolean;
|
|
273
|
-
totalItems: number;
|
|
274
|
-
skipCount: number;
|
|
275
|
-
maxItems: number;
|
|
276
|
-
};
|
|
277
|
-
context: {
|
|
278
|
-
consistency: {
|
|
279
|
-
lastTxId: number;
|
|
280
|
-
};
|
|
281
|
-
facets: {
|
|
282
|
-
type: string;
|
|
283
|
-
label: string;
|
|
284
|
-
buckets: {
|
|
285
|
-
label: string;
|
|
286
|
-
filterQuery: string;
|
|
287
|
-
metrics: {
|
|
288
|
-
type: string;
|
|
289
|
-
value: {
|
|
290
|
-
count: number;
|
|
291
|
-
};
|
|
292
|
-
}[];
|
|
293
|
-
}[];
|
|
294
|
-
}[];
|
|
295
|
-
};
|
|
296
|
-
};
|
|
297
|
-
};
|
|
298
|
-
export declare const stepOne: string[];
|
|
299
|
-
export declare const stepTwo: string[];
|
|
300
|
-
export declare const stepThree: string[];
|
|
301
|
-
export declare const sizeOptions: ({
|
|
302
|
-
name: string;
|
|
303
|
-
value: string;
|
|
304
|
-
group?: undefined;
|
|
305
|
-
} | {
|
|
306
|
-
name: string;
|
|
307
|
-
group: string;
|
|
308
|
-
value?: undefined;
|
|
309
|
-
})[];
|
|
310
|
-
export declare const filteredResult: string[];
|
|
311
|
-
export declare const mockContentSizeResponseBucket: {
|
|
312
|
-
label: string;
|
|
313
|
-
filterQuery: string;
|
|
314
|
-
metrics: {
|
|
315
|
-
type: string;
|
|
316
|
-
value: {
|
|
317
|
-
count: number;
|
|
318
|
-
};
|
|
319
|
-
}[];
|
|
320
|
-
};
|
|
321
|
-
export declare const getMockSearchResultWithResponseBucket: () => any;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import { SearchRequest } from '@alfresco/js-api';
|
|
18
|
-
export declare const mockSearchRequest: SearchRequest;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { SearchComponent } from '../search/components/search.component';
|
|
2
|
-
import { SearchRequest, ResultSetPaging, ResultSetRowEntry } from '@alfresco/js-api';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare const result: ResultSetPaging;
|
|
5
|
-
export declare const differentResult: ResultSetPaging;
|
|
6
|
-
export declare const results: {
|
|
7
|
-
list: {
|
|
8
|
-
entries: ResultSetRowEntry[];
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export declare const noResult: {
|
|
12
|
-
list: {
|
|
13
|
-
entries: any[];
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export declare class SimpleSearchTestComponent {
|
|
17
|
-
search: SearchComponent;
|
|
18
|
-
message: string;
|
|
19
|
-
searchedWord: string;
|
|
20
|
-
maxResults: number;
|
|
21
|
-
searchNode: SearchRequest;
|
|
22
|
-
constructor();
|
|
23
|
-
showSearchResult(event: any): void;
|
|
24
|
-
elementClicked(): void;
|
|
25
|
-
setSearchWordTo(str: string): void;
|
|
26
|
-
setSearchNodeTo(searchNode: SearchRequest): void;
|
|
27
|
-
changeMaxResultTo(newMax: number): void;
|
|
28
|
-
forceHidePanel(): void;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SimpleSearchTestComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SimpleSearchTestComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
31
|
-
}
|