@alfresco/adf-content-services 8.4.0-18836740311 → 8.4.0-18842642897

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.
@@ -75,29 +75,16 @@ h2.adf-search-results-label {
75
75
  width: 100%;
76
76
  margin-bottom: 8px;
77
77
 
78
- .adf-content-node-selector-content-input-icon:is(mat-icon) {
78
+ .adf-content-node-selector-content-input-icon {
79
79
  color: var(--adf-theme-foreground-icon-color-054);
80
+ cursor: pointer;
80
81
  padding: 0 0 8px;
81
82
  width: 1em;
82
83
  height: 1em;
83
84
  font-size: 20px;
84
- }
85
-
86
- .adf-content-node-selector-search-clear-button {
87
- padding: 0;
88
- width: 20px;
89
- height: 28px;
90
-
91
- &:focus {
92
- outline-offset: -1.5px;
93
- }
94
85
 
95
- .adf-content-node-selector-content-input-icon:is(mat-icon) {
96
- cursor: pointer;
97
-
98
- &:hover {
99
- color: var(--adf-theme-foreground-base-color);
100
- }
86
+ &:hover {
87
+ color: var(--adf-theme-foreground-base-color);
101
88
  }
102
89
  }
103
90
 
@@ -19,8 +19,8 @@ import { SearchHeaderQueryBuilderService } from '../../../search/services/search
19
19
  import { FilterSearch } from './../../../search/models/filter-search.interface';
20
20
  import * as i0 from "@angular/core";
21
21
  export declare class FilterHeaderComponent implements OnInit, OnChanges {
22
- private readonly documentList;
23
- private readonly searchFilterQueryBuilder;
22
+ private documentList;
23
+ private searchFilterQueryBuilder;
24
24
  /** (optional) Initial filter value to sort . */
25
25
  value: any;
26
26
  /** The id of the current folder of the document list. */
@@ -80,6 +80,11 @@ $search-result-height: calc(100% - 60px);
80
80
  width: 1em;
81
81
  height: 1em;
82
82
  font-size: 20px;
83
+ cursor: pointer;
84
+
85
+ &:hover {
86
+ color: var(--adf-theme-foreground-base-color);
87
+ }
83
88
  }
84
89
 
85
90
  .adf-permission-search-input-clear-button {
@@ -87,14 +92,6 @@ $search-result-height: calc(100% - 60px);
87
92
  width: 20px;
88
93
  height: 32px;
89
94
  margin-right: 1.5px;
90
-
91
- .adf-permission-search-icon:is(mat-icon) {
92
- cursor: pointer;
93
-
94
- &:hover {
95
- color: var(--adf-theme-foreground-base-color);
96
- }
97
- }
98
95
  }
99
96
  }
100
97
  }
@@ -35,7 +35,7 @@ export declare class SearchCheckListComponent implements SearchWidget, OnInit {
35
35
  context?: SearchQueryBuilderService;
36
36
  options: SearchFilterList<SearchListOption>;
37
37
  operator: string;
38
- startValue: string | string[];
38
+ startValue: string;
39
39
  pageSize: number;
40
40
  isActive: boolean;
41
41
  enableChangeUpdate: boolean;
@@ -32,6 +32,14 @@ adf-search-date-range {
32
32
  padding-left: 10px;
33
33
  flex: 1;
34
34
  margin-bottom: 12px;
35
+
36
+ #{ms.$mat-form-field-flex} {
37
+ align-items: center;
38
+
39
+ #{ms.$mat-form-field-infix} {
40
+ padding: 0.375em 0 4px;
41
+ }
42
+ }
35
43
  }
36
44
  }
37
45
  }
@@ -44,6 +44,10 @@
44
44
  min-width: 320px;
45
45
  border-radius: 12px;
46
46
 
47
+ &:has(.adf-search-properties-file-size-operator) {
48
+ min-width: 365px;
49
+ }
50
+
47
51
  @include mat.elevation(2);
48
52
  }
49
53
  }
@@ -26,8 +26,8 @@ import { SearchWidget } from '../../models/search-widget.interface';
26
26
  import { AutocompleteOption } from '../../models/autocomplete-option.interface';
27
27
  import * as i0 from "@angular/core";
28
28
  export declare class SearchPropertiesComponent implements OnInit, AfterViewChecked, SearchWidget {
29
- private readonly formBuilder;
30
- private readonly translateService;
29
+ private formBuilder;
30
+ private translateService;
31
31
  id: string;
32
32
  settings?: SearchWidgetSettings;
33
33
  context?: SearchQueryBuilderService;
@@ -3,54 +3,133 @@
3
3
 
4
4
  adf-search-properties {
5
5
  .adf-search-properties-form {
6
- fieldset {
7
- padding: 0;
8
- margin: 0;
9
- border: none;
10
- }
11
-
12
- .adf-search-properties-file-size-label {
13
- margin-top: 4px;
14
- margin-bottom: 10px;
15
- display: block;
16
- }
17
-
18
- .adf-search-properties-file-type-label {
19
- margin-top: 10px;
20
- margin-bottom: 6px;
21
- }
22
-
23
6
  .adf-search-properties-file-size-container {
24
- width: 370px;
25
- display: flex;
7
+ .adf-search-properties-file-size-label {
8
+ margin-top: 4px;
9
+ display: block;
10
+ }
11
+
12
+ #{ms.$mat-text-field-no-label} {
13
+ #{ms.$mat-form-field-infix} {
14
+ padding-top: 9px;
15
+ padding-bottom: 9px;
16
+ display: inline-block;
17
+ }
18
+ }
26
19
 
27
20
  #{ms.$mat-form-field-infix} {
28
21
  height: 37.5px;
29
22
  min-height: 37.5px;
30
- padding-top: 9px;
23
+ display: inline-block;
31
24
  }
32
25
 
33
- #{ms.$mat-text-field-outlined} {
34
- padding: 0 9px;
26
+ #{ms.$mat-select-trigger} {
27
+ height: 17.5px;
35
28
  }
36
29
 
37
- .adf-search-properties-form-field {
38
- width: 100%;
39
- display: block;
40
- flex: 1;
30
+ #{ms.$mat-select-arrow-wrapper} {
31
+ width: 16px;
32
+ }
33
+
34
+ #{ms.$mat-line-ripple} {
35
+ &::before {
36
+ display: none;
37
+ }
38
+ }
39
+
40
+ #{ms.$mat-select-arrow} {
41
+ margin-left: 5px;
42
+ }
41
43
 
42
- &:nth-child(1) {
43
- min-width: 115px;
44
+ #{ms.$mat-form-field} {
45
+ margin-bottom: 18px;
46
+ }
47
+ }
48
+
49
+ adf-search-chip-autocomplete-input {
50
+ display: block;
51
+
52
+ #{ms.$mat-text-field-outlined} {
53
+ &-start,
54
+ &-end {
55
+ border-top: 1px solid var(--adf-theme-mat-grey-color-a400);
56
+ border-bottom: 1px solid var(--adf-theme-mat-grey-color-a400);
44
57
  }
45
58
 
46
- &:nth-child(2) {
47
- margin: 0 8px;
59
+ &-start {
60
+ border-left: 1px solid var(--adf-theme-mat-grey-color-a400);
48
61
  }
49
62
 
50
- &:nth-child(3) {
51
- max-width: 90px;
63
+ &-end {
64
+ border-right: 1px solid var(--adf-theme-mat-grey-color-a400);
52
65
  }
53
66
  }
67
+
68
+ #{ms.$mat-focused} {
69
+ #{ms.$mat-text-field-outlined} {
70
+ outline: 2px auto -webkit-focus-ring-color;
71
+ }
72
+ }
73
+
74
+ #{ms.$mat-form-field-appearance-outline} {
75
+ #{ms.$mat-text-field-outlined-thick} {
76
+ #{ms.$mat-text-field-outlined} {
77
+ &-start,
78
+ &-end {
79
+ border-width: 1px;
80
+ }
81
+ }
82
+ }
83
+ }
84
+
85
+ #{ms.$mat-notched-outline-leading} {
86
+ border-color: var(--adf-theme-foreground-text-color-027);
87
+ }
88
+
89
+ #{ms.$mat-notched-outline-trailing} {
90
+ border-color: var(--adf-theme-foreground-text-color-027);
91
+ }
54
92
  }
55
93
  }
94
+
95
+ input,
96
+ .mat-form-field-infix.mat-form-field-infix {
97
+ height: 25px;
98
+ border: 1px solid var(--adf-theme-mat-grey-color-a400);
99
+ border-radius: 5px;
100
+ margin-top: 5px;
101
+ padding: 5px;
102
+ font-size: 14px;
103
+ color: var(--adf-theme-foreground-text-color);
104
+ margin-left: 8px;
105
+ margin-right: 8px;
106
+ }
107
+
108
+ .adf-search-properties-file-size-operator,
109
+ .adf-search-properties-file-size-unit {
110
+ #{ms.$mat-form-field-infix} {
111
+ border: 1px solid var(--adf-theme-mat-grey-color-a400);
112
+ border-radius: 5px;
113
+ padding: 9px;
114
+ }
115
+
116
+ &#{ms.$mat-focused} {
117
+ #{ms.$mat-form-field-infix} {
118
+ outline: 2px auto -webkit-focus-ring-color;
119
+ }
120
+ }
121
+ }
122
+
123
+ .adf-search-properties-file-size-unit {
124
+ width: 78px;
125
+ }
126
+
127
+ .adf-search-properties-file-type-label {
128
+ margin-top: 10px;
129
+ margin-bottom: 6px;
130
+ }
131
+ }
132
+
133
+ .adf-search-filter-chip-menu-panel-properties {
134
+ max-width: unset;
56
135
  }
@@ -9,7 +9,7 @@ import { NodesApiService } from '../../common/services/nodes-api.service';
9
9
  import { AlfrescoApiService } from '../../services/alfresco-api.service';
10
10
  import * as i0 from "@angular/core";
11
11
  export declare class SearchHeaderQueryBuilderService extends BaseQueryBuilderService {
12
- private readonly nodeApiService;
12
+ private nodeApiService;
13
13
  private customSources;
14
14
  activeFilters: FilterSearch[];
15
15
  constructor(appConfig: AppConfigService, alfrescoApiService: AlfrescoApiService, nodeApiService: NodesApiService);
@@ -24,7 +24,6 @@ export declare class SearchHeaderQueryBuilderService extends BaseQueryBuilderSer
24
24
  setSorting(dataSorting: DataSorting[]): void;
25
25
  private getSortingFieldFromColumnName;
26
26
  getCategoryForColumn(columnKey: string): SearchCategory;
27
- getOperatorForFilterId(id: string): string | undefined;
28
27
  setCurrentRootFolderId(currentFolderId: string): void;
29
28
  isCustomSourceNode(currentNodeId: string): boolean;
30
29
  getNodeIdForCustomSource(customSourceId: string): Observable<Node>;
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-18836740311",
4
+ "version": "8.4.0-18842642897",
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-18836740311",
24
+ "@alfresco/js-api": ">=9.4.0-18842642897",
25
25
  "@ngx-translate/core": ">=16.0.0",
26
- "@alfresco/adf-core": ">=8.4.0-18836740311"
26
+ "@alfresco/adf-core": ">=8.4.0-18842642897"
27
27
  },
28
28
  "keywords": [
29
29
  "content-services",