@rh-support/cases 2.4.10-beta.6 → 2.5.1
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/README.md +2 -0
- package/lib/esm/components/case/NewCaseButton.d.ts +2 -1
- package/lib/esm/components/case/NewCaseButton.d.ts.map +1 -1
- package/lib/esm/components/case-list/CaseList.d.ts +4 -3
- package/lib/esm/components/case-list/CaseList.d.ts.map +1 -1
- package/lib/esm/components/case-list/CaseList.js +42 -44
- package/lib/esm/components/case-list/CaseListContext.d.ts +1 -1
- package/lib/esm/components/case-list/CaseListContext.d.ts.map +1 -1
- package/lib/esm/components/case-list/CaseListFilterContext.d.ts +1 -1
- package/lib/esm/components/case-list/CaseListFilterContext.d.ts.map +1 -1
- package/lib/esm/components/case-list/CaseListFilterHelpers.d.ts.map +1 -1
- package/lib/esm/components/case-list/CaseListFilterReducer.d.ts +6 -3
- package/lib/esm/components/case-list/CaseListFilterReducer.d.ts.map +1 -1
- package/lib/esm/components/case-list/CaseListFilterReducer.js +3 -0
- package/lib/esm/components/case-list/CaseListReducer.d.ts +2 -2
- package/lib/esm/components/case-list/CaseListReducer.d.ts.map +1 -1
- package/lib/esm/components/case-list/case-list-filters/AccountsBookmarkedGroupFilter.d.ts +3 -2
- package/lib/esm/components/case-list/case-list-filters/AccountsBookmarkedGroupFilter.d.ts.map +1 -1
- package/lib/esm/components/case-list/case-list-filters/AccountsBookmarkedGroupFilter.js +25 -11
- package/lib/esm/components/case-list/case-list-filters/AccountsFilter.d.ts +2 -1
- package/lib/esm/components/case-list/case-list-filters/AccountsFilter.d.ts.map +1 -1
- package/lib/esm/components/case-list/case-list-filters/AccountsFilter.js +10 -5
- package/lib/esm/components/case-list/case-list-filters/AdditionalFilters.d.ts +2 -1
- package/lib/esm/components/case-list/case-list-filters/AdditionalFilters.d.ts.map +1 -1
- package/lib/esm/components/case-list/case-list-filters/AdditionalFilters.js +19 -4
- package/lib/esm/components/case-list/case-list-filters/CaseListFilterChips.d.ts +2 -1
- package/lib/esm/components/case-list/case-list-filters/CaseListFilterChips.d.ts.map +1 -1
- package/lib/esm/components/case-list/case-list-filters/CaseListFilterChips.js +1 -1
- package/lib/esm/components/case-list/case-list-filters/CaseListFilters.d.ts +2 -1
- package/lib/esm/components/case-list/case-list-filters/CaseListFilters.d.ts.map +1 -1
- package/lib/esm/components/case-list/case-list-filters/CreatorSsoNameFilter.d.ts +12 -1
- package/lib/esm/components/case-list/case-list-filters/CreatorSsoNameFilter.d.ts.map +1 -1
- package/lib/esm/components/case-list/case-list-filters/CreatorSsoNameFilter.js +138 -163
- package/lib/esm/components/case-list/case-list-filters/CreatorSsoNameFilterChip.d.ts +2 -1
- package/lib/esm/components/case-list/case-list-filters/CreatorSsoNameFilterChip.d.ts.map +1 -1
- package/lib/esm/components/case-list/case-list-filters/CreatorSsoNameFilterChip.js +1 -1
- package/lib/esm/components/case-list/case-list-filters/GroupsFilter.d.ts +2 -1
- package/lib/esm/components/case-list/case-list-filters/GroupsFilter.d.ts.map +1 -1
- package/lib/esm/components/case-list/case-list-filters/GroupsFilter.js +157 -27
- package/lib/esm/components/case-list/case-list-filters/InternalSsoNameFilter.d.ts +3 -0
- package/lib/esm/components/case-list/case-list-filters/InternalSsoNameFilter.d.ts.map +1 -0
- package/lib/esm/components/case-list/case-list-filters/InternalSsoNameFilter.js +207 -0
- package/lib/esm/components/case-list/case-list-filters/ProductFilterChip.d.ts +2 -1
- package/lib/esm/components/case-list/case-list-filters/ProductFilterChip.d.ts.map +1 -1
- package/lib/esm/components/case-list/case-list-filters/ProductFilterChip.js +1 -1
- package/lib/esm/components/case-list/case-list-filters/ProductsFilter.d.ts +2 -1
- package/lib/esm/components/case-list/case-list-filters/ProductsFilter.d.ts.map +1 -1
- package/lib/esm/components/case-list/case-list-filters/ProductsFilter.js +7 -5
- package/lib/esm/components/case-list/case-list-filters/SeverityFilter.d.ts +2 -1
- package/lib/esm/components/case-list/case-list-filters/SeverityFilter.d.ts.map +1 -1
- package/lib/esm/components/case-list/case-list-filters/SeverityFilter.js +4 -4
- package/lib/esm/components/case-list/case-list-filters/StatusFilter.d.ts +2 -1
- package/lib/esm/components/case-list/case-list-filters/StatusFilter.d.ts.map +1 -1
- package/lib/esm/components/case-list/case-list-filters/StatusFilter.js +4 -4
- package/lib/esm/components/case-list/case-list-filters/TypeFilter.d.ts +2 -1
- package/lib/esm/components/case-list/case-list-filters/TypeFilter.d.ts.map +1 -1
- package/lib/esm/components/case-list/case-list-filters/TypeFilter.js +3 -3
- package/lib/esm/components/case-list/case-list-filters/VersionsFilter.d.ts +2 -1
- package/lib/esm/components/case-list/case-list-filters/VersionsFilter.d.ts.map +1 -1
- package/lib/esm/components/case-list/case-list-filters/VersionsFilter.js +35 -4
- package/lib/esm/components/case-list/case-list-table/CaseListTable.d.ts +2 -1
- package/lib/esm/components/case-list/case-list-table/CaseListTable.d.ts.map +1 -1
- package/lib/esm/components/case-list/case-list-table/CaseListTable.js +211 -113
- package/lib/esm/components/case-list/case-list-table/CloseCaseBtn.d.ts +2 -1
- package/lib/esm/components/case-list/case-list-table/CloseCaseBtn.d.ts.map +1 -1
- package/lib/esm/components/case-list/case-list-table/CloseCaseBtn.js +7 -2
- package/lib/esm/components/case-list/case-list-table/DownloadCSVFileModal.d.ts +19 -0
- package/lib/esm/components/case-list/case-list-table/DownloadCSVFileModal.d.ts.map +1 -0
- package/lib/esm/components/case-list/case-list-table/DownloadCSVFileModal.js +296 -0
- package/lib/esm/components/case-list/case-list-table/DownloadCSVFileModal.scss +27 -0
- package/lib/esm/components/case-list/case-list-table/ExportCaseListCSV.d.ts +3 -1
- package/lib/esm/components/case-list/case-list-table/ExportCaseListCSV.d.ts.map +1 -1
- package/lib/esm/components/case-list/case-list-table/ExportCaseListCSV.js +19 -96
- package/lib/esm/components/case-list/case-list-table/SeverityLabel.d.ts +2 -1
- package/lib/esm/components/case-list/case-list-table/SeverityLabel.d.ts.map +1 -1
- package/lib/esm/components/case-list/case-list-table/table-column-selector/TableColumnSelector.d.ts +9 -0
- package/lib/esm/components/case-list/case-list-table/table-column-selector/TableColumnSelector.d.ts.map +1 -0
- package/lib/esm/components/case-list/case-list-table/table-column-selector/TableColumnSelector.js +53 -0
- package/lib/esm/components/case-list/case-list-table/table-column-selector/TableColumnSelector.scss +7 -0
- package/lib/esm/components/case-list/case-search/AdvanceSearch.d.ts +2 -1
- package/lib/esm/components/case-list/case-search/AdvanceSearch.d.ts.map +1 -1
- package/lib/esm/components/case-list/case-search/AdvanceSearch.js +18 -13
- package/lib/esm/components/case-list/case-search/BookmarkedSearchesSelector.d.ts +2 -1
- package/lib/esm/components/case-list/case-search/BookmarkedSearchesSelector.d.ts.map +1 -1
- package/lib/esm/components/case-list/case-search/BookmarkedSearchesSelector.js +7 -6
- package/lib/esm/components/case-list/case-search/CaseSearch.d.ts +2 -1
- package/lib/esm/components/case-list/case-search/CaseSearch.d.ts.map +1 -1
- package/lib/esm/components/case-list/case-search/CaseSearch.js +2 -2
- package/lib/esm/components/case-list/case-search/SaveCaseSearchModal.d.ts +2 -1
- package/lib/esm/components/case-list/case-search/SaveCaseSearchModal.d.ts.map +1 -1
- package/lib/esm/components/case-list/case-search/SaveCaseSearchModal.js +48 -40
- package/lib/esm/components/case-list/case-search/useAdvanceSearchParser.js +1 -1
- package/lib/esm/components/escalations/EscalationForm.d.ts +1 -1
- package/lib/esm/components/escalations/EscalationForm.d.ts.map +1 -1
- package/lib/esm/components/escalations/EscalationForm.js +18 -9
- package/lib/esm/components/escalations/PartnerEscalation.d.ts +2 -1
- package/lib/esm/components/escalations/PartnerEscalation.d.ts.map +1 -1
- package/lib/esm/components/index.d.ts +2 -8
- package/lib/esm/components/index.d.ts.map +1 -1
- package/lib/esm/components/index.js +5 -8
- package/lib/esm/css/caseList.css +85 -64
- package/lib/esm/css/caseSearch.css +1 -1
- package/lib/esm/css/escalation.css +4 -4
- package/lib/esm/enums/cache.d.ts +1 -1
- package/lib/esm/enums/cache.d.ts.map +1 -1
- package/lib/esm/enums/case.js +1 -1
- package/lib/esm/enums/filters.d.ts +1 -1
- package/lib/esm/enums/filters.d.ts.map +1 -1
- package/lib/esm/enums/filters.js +1 -1
- package/lib/esm/i18n/template-es.js +1 -1
- package/lib/esm/index.d.ts +0 -2
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js +0 -2
- package/lib/esm/models/caseList.d.ts +5 -2
- package/lib/esm/models/caseList.d.ts.map +1 -1
- package/lib/esm/scss/_main.scss +11 -11
- package/lib/esm/scss/_pf-overrides.scss +40 -4
- package/lib/esm/scss/index.scss +0 -1
- package/lib/esm/test-utils/testSetup.d.ts +1 -1
- package/lib/esm/test-utils/testSetup.d.ts.map +1 -1
- package/lib/esm/test-utils/testSetup.js +1 -1
- package/lib/esm/test-utils/testUtils.d.ts +1 -1
- package/lib/esm/test-utils/testUtils.js +1 -1
- package/lib/esm/utils/caseListUtils.js +3 -3
- package/lib/esm/utils/caseSearchUtils.d.ts +3 -3
- package/lib/esm/utils/caseSearchUtils.d.ts.map +1 -1
- package/lib/esm/utils/caseSearchUtils.js +18 -5
- package/lib/esm/utils/constants.js +1 -1
- package/lib/esm/utils/routeUtils.js +2 -1
- package/package.json +35 -32
package/lib/esm/css/caseList.css
CHANGED
|
@@ -46,15 +46,15 @@
|
|
|
46
46
|
width: 220px;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
.case-search-top .bookmark-search-dropdown .pf-c-dropdown__toggle > * {
|
|
49
|
+
.case-search-top .bookmark-search-dropdown .pf-v5-c-dropdown__toggle > * {
|
|
50
50
|
font-size: 16px;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
.case-search-top .bookmark-search-dropdown .pf-c-dropdown__toggle-button {
|
|
53
|
+
.case-search-top .bookmark-search-dropdown .pf-v5-c-dropdown__toggle-button {
|
|
54
54
|
padding: 6px 1rem;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
.case-search-top .bookmark-search-dropdown .pf-c-dropdown__toggle-button:first-child {
|
|
57
|
+
.case-search-top .bookmark-search-dropdown .pf-v5-c-dropdown__toggle-button:first-child {
|
|
58
58
|
-ms-flex: 1;
|
|
59
59
|
flex-grow: 1;
|
|
60
60
|
text-align: left;
|
|
@@ -63,12 +63,12 @@
|
|
|
63
63
|
white-space: nowrap;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
.case-search-top .bookmark-search-dropdown .pf-c-dropdown__toggle-button[disabled] {
|
|
66
|
+
.case-search-top .bookmark-search-dropdown .pf-v5-c-dropdown__toggle-button[disabled] {
|
|
67
67
|
background-color: #e6e6e6;
|
|
68
68
|
color: #73767b;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
.case-search-top .bookmark-search-dropdown .pf-c-dropdown__toggle-button[disabled]:hover {
|
|
71
|
+
.case-search-top .bookmark-search-dropdown .pf-v5-c-dropdown__toggle-button[disabled]:hover {
|
|
72
72
|
border-bottom-color: #151515;
|
|
73
73
|
}
|
|
74
74
|
|
|
@@ -112,10 +112,6 @@
|
|
|
112
112
|
margin: 0.4rem 1rem 0.4rem 0;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
/* .cases-main .case-search-top .filter-chip-wrapper .filter-chip:last-of-type {
|
|
116
|
-
margin-right: 0 !important;
|
|
117
|
-
} */
|
|
118
|
-
|
|
119
115
|
.cases-main .case-search-top .filter-chip-wrapper .filter-chip .filter-chip__heading {
|
|
120
116
|
font-size: 14px;
|
|
121
117
|
font-weight: 500;
|
|
@@ -128,39 +124,39 @@
|
|
|
128
124
|
flex-direction: column;
|
|
129
125
|
}
|
|
130
126
|
|
|
131
|
-
.case-search-top .filter-chip-wrapper .pf-c-chip-group {
|
|
127
|
+
.case-search-top .filter-chip-wrapper .pf-v5-c-chip-group {
|
|
132
128
|
padding: 4px;
|
|
133
129
|
background-color: #f0f0f0;
|
|
134
130
|
border-radius: 4px;
|
|
135
131
|
}
|
|
136
132
|
|
|
137
|
-
.case-search-top .filter-chip-wrapper .pf-c-chip-group + .pf-c-chip-group {
|
|
133
|
+
.case-search-top .filter-chip-wrapper .pf-v5-c-chip-group + .pf-v5-c-chip-group {
|
|
138
134
|
margin-left: 0.25rem;
|
|
139
135
|
}
|
|
140
136
|
|
|
141
|
-
.case-search-top .filter-chip-wrapper .pf-c-chip-group.pf-c-chip-group__simple {
|
|
137
|
+
.case-search-top .filter-chip-wrapper .pf-v5-c-chip-group.pf-v5-c-chip-group__simple {
|
|
142
138
|
padding: 6px;
|
|
143
139
|
}
|
|
144
140
|
|
|
145
|
-
.cases-main .case-search-top .filter-chip-wrapper .pf-c-chip-group__label {
|
|
141
|
+
.cases-main .case-search-top .filter-chip-wrapper .pf-v5-c-chip-group__label {
|
|
146
142
|
font-size: 14px;
|
|
147
143
|
padding-left: 6px;
|
|
148
144
|
}
|
|
149
145
|
|
|
150
|
-
.cases-main .case-search-top .filter-chip-wrapper .pf-c-chip-group__main {
|
|
146
|
+
.cases-main .case-search-top .filter-chip-wrapper .pf-v5-c-chip-group__main {
|
|
151
147
|
align-items: center;
|
|
152
148
|
}
|
|
153
149
|
|
|
154
|
-
.cases-main .case-search-top .filter-chip-wrapper .pf-c-chip__text {
|
|
150
|
+
.cases-main .case-search-top .filter-chip-wrapper .pf-v5-c-chip__text {
|
|
155
151
|
font-size: 14px;
|
|
156
152
|
}
|
|
157
153
|
|
|
158
|
-
.cases-main .case-search-top .filter-chip-wrapper button.pf-c-select__toggle {
|
|
154
|
+
.cases-main .case-search-top .filter-chip-wrapper button.pf-v5-c-select__toggle {
|
|
159
155
|
font-size: 13px;
|
|
160
|
-
--pf-c-select__toggle-text--Color: var(--pf-c-select__toggle--m-placeholder__toggle-text--Color) !important;
|
|
156
|
+
--pf-v5-c-select__toggle-text--Color: var(--pf-v5-c-select__toggle--m-placeholder__toggle-text--Color) !important;
|
|
161
157
|
}
|
|
162
158
|
|
|
163
|
-
.cases-main .case-search-top .filter-chip-wrapper button.pf-c-select__toggle svg {
|
|
159
|
+
.cases-main .case-search-top .filter-chip-wrapper button.pf-v5-c-select__toggle svg {
|
|
164
160
|
margin-left: 4px;
|
|
165
161
|
}
|
|
166
162
|
|
|
@@ -231,14 +227,10 @@
|
|
|
231
227
|
margin-top: 4px;
|
|
232
228
|
}
|
|
233
229
|
|
|
234
|
-
.case-search-bottom .case-list-table tr td:not(.pf-c-table__check) {
|
|
230
|
+
.case-search-bottom .case-list-table tr td:not(.pf-v5-c-table__check) {
|
|
235
231
|
min-width: 80px;
|
|
236
232
|
}
|
|
237
233
|
|
|
238
|
-
/* .case-search-bottom .case-list-table tr td.pf-c-table__check {
|
|
239
|
-
padding: 2rem 1rem 1.5rem 2rem !important;
|
|
240
|
-
} */
|
|
241
|
-
|
|
242
234
|
.case-search-bottom .case-list-table .case-number,
|
|
243
235
|
.case-search-bottom .case-list-table .modified-name,
|
|
244
236
|
.case-search-bottom .case-list-table .created-name,
|
|
@@ -246,6 +238,13 @@
|
|
|
246
238
|
font-weight: 500;
|
|
247
239
|
}
|
|
248
240
|
|
|
241
|
+
.case-search-bottom .case-list-table th.pf-v5-c-table__th {
|
|
242
|
+
padding: 16px 24px !important;
|
|
243
|
+
word-break: inherit;
|
|
244
|
+
vertical-align: middle;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.case-search-bottom .case-list-table .case-number,
|
|
249
248
|
.case-search-bottom .case-list-table .modified-name,
|
|
250
249
|
.case-search-bottom .case-list-table .created-name {
|
|
251
250
|
display: block;
|
|
@@ -272,7 +271,7 @@
|
|
|
272
271
|
}
|
|
273
272
|
|
|
274
273
|
.case-search-filters .filter-header {
|
|
275
|
-
background-color: #
|
|
274
|
+
background-color: #f2f2f2;
|
|
276
275
|
border-top: 1px solid #ccc;
|
|
277
276
|
border-bottom: 1px solid #ccc;
|
|
278
277
|
padding: 0.98rem 1.35rem;
|
|
@@ -315,9 +314,9 @@
|
|
|
315
314
|
margin-bottom: 2rem;
|
|
316
315
|
}
|
|
317
316
|
|
|
318
|
-
.filter-wrapper .filter-group > .pf-c-select h3,
|
|
317
|
+
.filter-wrapper .filter-group > .pf-v5-c-select h3,
|
|
319
318
|
.filter-wrapper .filter-group > .additional-filters h3,
|
|
320
|
-
.filter-wrapper .filter-group > .pf-c-select label {
|
|
319
|
+
.filter-wrapper .filter-group > .pf-v5-c-select label {
|
|
321
320
|
margin-bottom: 0;
|
|
322
321
|
padding-bottom: 8px;
|
|
323
322
|
font-family: 'Red Hat Text';
|
|
@@ -329,7 +328,7 @@
|
|
|
329
328
|
padding-bottom: 10px;
|
|
330
329
|
}
|
|
331
330
|
|
|
332
|
-
.filter-wrapper .filter-group > .additional-filters .pf-c-check {
|
|
331
|
+
.filter-wrapper .filter-group > .additional-filters .pf-v5-c-check {
|
|
333
332
|
margin-bottom: 14px;
|
|
334
333
|
}
|
|
335
334
|
|
|
@@ -337,18 +336,17 @@
|
|
|
337
336
|
margin-right: 0;
|
|
338
337
|
}
|
|
339
338
|
|
|
340
|
-
|
|
341
|
-
.filter-wrapper .filter-group > .pf-c-select .pf-c-select__toggle .pf-c-select__toggle-typeahead {
|
|
342
|
-
font-size: 15px;
|
|
343
|
-
} */
|
|
344
|
-
|
|
345
|
-
#rh-support-cases .pf-c-select .pf-c-select__menu li label,
|
|
339
|
+
#rh-support-cases .pf-v5-c-select .pf-v5-c-select__menu li label,
|
|
346
340
|
.filter-wrapper .filter-group > .additional-filters label {
|
|
347
341
|
margin-bottom: 0;
|
|
348
342
|
font-size: 15px;
|
|
349
343
|
font-weight: 400;
|
|
350
344
|
}
|
|
351
345
|
|
|
346
|
+
#case-filters-panel #case-list-products-filter {
|
|
347
|
+
z-index: 2;
|
|
348
|
+
}
|
|
349
|
+
|
|
352
350
|
@media (min-width: 525px) {
|
|
353
351
|
.case-search-bottom .case-list-table-toolbar .toolbar-actions {
|
|
354
352
|
-ms-flex-wrap: nowrap;
|
|
@@ -393,7 +391,7 @@
|
|
|
393
391
|
margin-bottom: 0;
|
|
394
392
|
}
|
|
395
393
|
|
|
396
|
-
.case-search-top .filter-chips .pf-c-chip-group {
|
|
394
|
+
.case-search-top .filter-chips .pf-v5-c-chip-group {
|
|
397
395
|
margin-top: 0;
|
|
398
396
|
}
|
|
399
397
|
|
|
@@ -464,8 +462,8 @@
|
|
|
464
462
|
}
|
|
465
463
|
}
|
|
466
464
|
|
|
467
|
-
.filter-group .pf-c-select__toggle {
|
|
468
|
-
--pf-c-select__toggle-text--Color: var(--pf-c-select__toggle--m-placeholder__toggle-text--Color) !important;
|
|
465
|
+
.filter-group .pf-v5-c-select__toggle {
|
|
466
|
+
--pf-v5-c-select__toggle-text--Color: var(--pf-v5-c-select__toggle--m-placeholder__toggle-text--Color) !important;
|
|
469
467
|
}
|
|
470
468
|
|
|
471
469
|
@media (min-width: 770px) {
|
|
@@ -483,69 +481,92 @@
|
|
|
483
481
|
.case-list-table tbody > tr > :nth-child(2) {
|
|
484
482
|
position: sticky;
|
|
485
483
|
background-color: white;
|
|
486
|
-
left:
|
|
484
|
+
left: 50px;
|
|
487
485
|
z-index: 1;
|
|
488
486
|
background-clip: padding-box;
|
|
489
487
|
}
|
|
490
488
|
|
|
491
489
|
/* Case ID Header */
|
|
492
|
-
th.pf-c-
|
|
490
|
+
th#number.pf-v5-c-table__th {
|
|
493
491
|
position: sticky;
|
|
494
|
-
|
|
495
|
-
left: 87px;
|
|
492
|
+
left: 50px;
|
|
496
493
|
z-index: 1;
|
|
497
494
|
background-clip: padding-box;
|
|
498
495
|
}
|
|
499
496
|
|
|
500
497
|
/* Vertical border to divide sticky columns and other columns*/
|
|
501
498
|
.case-list-table tbody > tr > :nth-child(2):before,
|
|
502
|
-
th.pf-c-
|
|
499
|
+
th#number.pf-v5-c-table__th:before {
|
|
503
500
|
position: absolute;
|
|
504
501
|
content: '';
|
|
505
502
|
top: 0px;
|
|
506
503
|
right: 0px;
|
|
507
504
|
height: 100%;
|
|
508
|
-
border-right: var(--pf-c-table--border-width--base) solid var(--pf-c-table--BorderColor);
|
|
505
|
+
border-right: var(--pf-v5-c-table--border-width--base) solid var(--pf-v5-c-table--BorderColor);
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
/* Problem statement Header */
|
|
509
|
+
th#summary.pf-v5-c-table__th {
|
|
510
|
+
min-width: 270px !important;
|
|
511
|
+
max-width: none;
|
|
512
|
+
display: flex !important;
|
|
513
|
+
justify-content: center !important;
|
|
509
514
|
}
|
|
510
515
|
|
|
511
|
-
/* Issue Summary Header */
|
|
512
|
-
th.pf-c-table__sort[data-label='Issue summary'],
|
|
513
516
|
.case-list-table tbody > tr > :nth-child(3) {
|
|
514
|
-
min-width: 270px;
|
|
517
|
+
min-width: 270px !important;
|
|
518
|
+
max-width: none;
|
|
519
|
+
text-align: center;
|
|
515
520
|
}
|
|
516
521
|
|
|
517
|
-
th.pf-c-
|
|
518
|
-
th.pf-c-
|
|
519
|
-
th.pf-c-
|
|
520
|
-
min-width: 140px;
|
|
522
|
+
th#contactName.pf-v5-c-table__th,
|
|
523
|
+
th#status.pf-v5-c-table__th,
|
|
524
|
+
th#folderName.pf-v5-c-table__th {
|
|
525
|
+
min-width: 140px !important;
|
|
521
526
|
}
|
|
522
527
|
|
|
523
|
-
th.pf-c-
|
|
524
|
-
th.pf-c-
|
|
525
|
-
min-width: 150px;
|
|
528
|
+
th#severity.pf-v5-c-table__th,
|
|
529
|
+
th#number.pf-v5-c-table__th {
|
|
530
|
+
min-width: 150px !important;
|
|
526
531
|
}
|
|
527
532
|
|
|
528
|
-
th.pf-c-
|
|
529
|
-
th.pf-c-
|
|
530
|
-
min-width:
|
|
533
|
+
th#lastModifiedDate.pf-v5-c-table__th,
|
|
534
|
+
th#createdDate.pf-v5-c-table__th {
|
|
535
|
+
min-width: 180px !important;
|
|
531
536
|
}
|
|
532
537
|
|
|
533
|
-
th.pf-
|
|
534
|
-
th.pf-c-
|
|
535
|
-
min-width:
|
|
538
|
+
th#product.pf-v5-c-table__th,
|
|
539
|
+
th#type.pf-v5-c-table__th {
|
|
540
|
+
min-width: 190px !important;
|
|
536
541
|
}
|
|
537
542
|
|
|
538
|
-
th.pf-c-
|
|
543
|
+
th#accountNumber.pf-v5-c-table__th {
|
|
539
544
|
min-width: 205px;
|
|
540
545
|
}
|
|
541
546
|
|
|
542
|
-
th.pf-c-
|
|
543
|
-
min-width:
|
|
547
|
+
th#alternateCaseId.pf-v5-c-table__th {
|
|
548
|
+
min-width: 242px !important;
|
|
544
549
|
}
|
|
545
550
|
|
|
546
551
|
/* Closed Date Header */
|
|
547
|
-
th.pf-c-
|
|
548
|
-
th.pf-c-table__sort[data-label='
|
|
549
|
-
min-width: 200px;
|
|
552
|
+
th#closedDate.pf-v5-c-table__th,
|
|
553
|
+
th.pf-v5-c-table__sort[data-label='Support type'] {
|
|
554
|
+
min-width: 200px !important;
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
@media (min-width: 1800px) {
|
|
559
|
+
/* Problem statement */
|
|
560
|
+
th#summary.pf-v5-c-table__th {
|
|
561
|
+
min-width: 500px !important;
|
|
562
|
+
max-width: none;
|
|
563
|
+
display: flex !important;
|
|
564
|
+
justify-content: center !important;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
.case-list-table tbody > tr > :nth-child(3) {
|
|
568
|
+
min-width: 500px !important;
|
|
569
|
+
max-width: none;
|
|
570
|
+
text-align: center;
|
|
550
571
|
}
|
|
551
572
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
.escalation-form fieldset .escalation-form-fields {
|
|
2
2
|
display: -ms-grid;
|
|
3
3
|
display: grid;
|
|
4
|
-
grid-gap: var(--pf-c-form--GridGap);
|
|
5
|
-
padding: var(--pf-global--spacer--lg);
|
|
4
|
+
grid-gap: var(--pf-v5-c-form--GridGap);
|
|
5
|
+
padding: var(--pf-v5-global--spacer--lg);
|
|
6
6
|
padding-bottom: 0;
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
margin-bottom: 5rem;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
input[aria-invalid='true'].pf-c-form-control {
|
|
14
|
-
border-bottom: var(--pf-c-form-control--BorderBottomColor) solid;
|
|
13
|
+
input[aria-invalid='true'].pf-v5-c-form-control {
|
|
14
|
+
border-bottom: var(--pf-v5-c-form-control--BorderBottomColor) solid;
|
|
15
15
|
}
|
package/lib/esm/enums/cache.d.ts
CHANGED
|
@@ -14,5 +14,5 @@ export declare const CaseCacheNamespaces: {
|
|
|
14
14
|
name: CaseCacheNamespace;
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export type CaseCacheNamespace = 'bookmarkedCaseSearches' | 'caseListSelectedColumns' | 'caseListFilterQuery';
|
|
18
18
|
//# sourceMappingURL=cache.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cache.d.ts","sourceRoot":"","sources":["../../../src/enums/cache.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IAClB,wBAAwB,2BAA2B;IACnD,0BAA0B,4BAA4B;IACtD,sBAAsB,wBAAwB;CACjD;AAED,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"cache.d.ts","sourceRoot":"","sources":["../../../src/enums/cache.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IAClB,wBAAwB,2BAA2B;IACnD,0BAA0B,4BAA4B;IACtD,sBAAsB,wBAAwB;CACjD;AAED,eAAO,MAAM,mBAAmB;;cAEU,kBAAkB;;;cAGjB,kBAAkB;;;cAGtB,kBAAkB;;CAExD,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,wBAAwB,GAAG,yBAAyB,GAAG,qBAAqB,CAAC"}
|
package/lib/esm/enums/case.js
CHANGED
|
@@ -61,7 +61,7 @@ export const caseListSortColumnIdsToSFDCMap = {
|
|
|
61
61
|
};
|
|
62
62
|
export const caseTableColumSortNamesMap = {
|
|
63
63
|
[CaseListColumnIds.caseId]: 'Case ID',
|
|
64
|
-
[CaseListColumnIds.summary]: '
|
|
64
|
+
[CaseListColumnIds.summary]: 'Title',
|
|
65
65
|
[CaseListColumnIds.severity]: 'Severity',
|
|
66
66
|
[CaseListColumnIds.owner]: 'Owner',
|
|
67
67
|
[CaseListColumnIds.created]: 'Created date',
|
|
@@ -73,7 +73,7 @@ export declare const advancedSearchMap: {
|
|
|
73
73
|
export declare enum SolrPivotKeys {
|
|
74
74
|
product_version = "case_product,case_version"
|
|
75
75
|
}
|
|
76
|
-
export declare const ProductVersionKey
|
|
76
|
+
export declare const ProductVersionKey = "case_product,case_version";
|
|
77
77
|
export declare enum SFDCKeys {
|
|
78
78
|
caseNumber = "caseNumber",
|
|
79
79
|
caseSummary = "summary",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filters.d.ts","sourceRoot":"","sources":["../../../src/enums/filters.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ;IAChB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,UAAU,eAAe;IACzB,MAAM,WAAW;CACpB;AAED,oBAAY,QAAQ;IAChB,UAAU,gBAAgB;IAC1B,WAAW,iBAAiB;IAC5B,OAAO,iBAAiB;IACxB,MAAM,gBAAgB;IACtB,aAAa,uBAAuB;IACpC,KAAK,sBAAsB;IAC3B,SAAS,oBAAoB;IAC7B,QAAQ,kBAAkB;IAC1B,SAAS,4BAA4B;IACrC,SAAS,eAAe;IACxB,WAAW,qBAAqB;IAChC,cAAc,8BAA8B;IAC5C,UAAU,6BAA6B;IACvC,OAAO,iBAAiB;IACxB,SAAS,uBAAuB;IAChC,oBAAoB,gCAAgC;IACpD,WAAW,qBAAqB;IAChC,UAAU,4BAA4B;IACtC,YAAY,0BAA0B;IACtC,oBAAoB,iCAAiC;IACrD,sBAAsB,+BAA+B;IACrD,WAAW,qBAAqB;IAChC,GAAG,QAAQ;IACX,GAAG,cAAc;IACjB,IAAI,cAAc;IAClB,GAAG,gBAAgB;IACnB,WAAW,sBA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,8BAA4C,CAAC;AAC3E,oBAAY,QAAQ;IAChB,UAAU,eAAe;IACzB,WAAW,YAAY;IACvB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,aAAa,qBAAqB;IAClC,QAAQ,aAAa;IACrB,SAAS,YAAY;IACrB,WAAW,gBAAgB;IAC3B,SAAS,mBAAmB;IAC5B,UAAU,uBAAuB;IACjC,OAAO,YAAY;IACnB,SAAS,gBAAgB;IACzB,oBAAoB,gCAAgC;IACpD,WAAW,gBAAgB;IAC3B,UAAU,qBAAqB;IAC/B,YAAY,qBAAqB;IACjC,oBAAoB,qBAAqB;IACzC,sBAAsB,qBAAqB;IAC3C,WAAW,gBAAgB;IAC3B,GAAG,QAAQ;IACX,WAAW,gBAAgB;IAC3B,SAAS,cAAc;IACvB,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;IACrB,cAAc,iBAAiB;CAClC;AAED,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;CAsB9B,CAAC;AAEF,eAAO,MAAM,sBAAsB;;CAElC,CAAC"}
|
package/lib/esm/enums/filters.js
CHANGED
|
@@ -42,7 +42,7 @@ export var SolrKeys;
|
|
|
42
42
|
})(SolrKeys || (SolrKeys = {}));
|
|
43
43
|
export const advancedSearchMap = {
|
|
44
44
|
case_number: 'caseNumber',
|
|
45
|
-
case_summary: '
|
|
45
|
+
case_summary: 'problemStatement',
|
|
46
46
|
case_product: 'productName',
|
|
47
47
|
case_status: 'status',
|
|
48
48
|
case_accountNumber: 'accountNumber',
|
|
@@ -85,7 +85,7 @@ export default {
|
|
|
85
85
|
i18nDescribeSuggestionDetail: 'Describa en detalle su sugerencia',
|
|
86
86
|
'Feedback is sent to the web team working on this application, not the support associate working on your case.': 'Los comentarios se envían al equipo web que trabaja en esta aplicación, no al asociado de soporte que trabaja en su caso.',
|
|
87
87
|
'Send feedback': 'Enviar comentarios',
|
|
88
|
-
Account: 'Cuenta',
|
|
88
|
+
Account: 'Cuenta', //Check
|
|
89
89
|
'Case closed date': 'Fecha de cierre del caso',
|
|
90
90
|
Status: 'Estado',
|
|
91
91
|
'Select a case type': 'Seleccionar un tipo de caso',
|
package/lib/esm/index.d.ts
CHANGED
package/lib/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,CAAC;AAC3B,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,CAAC;AAC3B,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC"}
|
package/lib/esm/index.js
CHANGED
|
@@ -16,6 +16,8 @@ export interface IFacetCounts {
|
|
|
16
16
|
facet_pivot?: IFacetPivot;
|
|
17
17
|
}
|
|
18
18
|
export interface ISolrCaseListResponse {
|
|
19
|
+
case_folderName: string;
|
|
20
|
+
case_folderNumber: string;
|
|
19
21
|
case_accountNumber: string;
|
|
20
22
|
case_contactName: string;
|
|
21
23
|
case_createdByName: string;
|
|
@@ -36,7 +38,8 @@ export interface ISolrCaseListResponse {
|
|
|
36
38
|
id: string;
|
|
37
39
|
uri: string;
|
|
38
40
|
case_closedDate: string;
|
|
41
|
+
case_alternate_id: string;
|
|
39
42
|
}
|
|
40
|
-
export
|
|
41
|
-
export
|
|
43
|
+
export type ISolrCaseSearchResponse = ISolrResponse<ISolrCaseListResponse, IFacetCounts>;
|
|
44
|
+
export type ICaseListResponse = ISolrCaseListResponse;
|
|
42
45
|
//# sourceMappingURL=caseList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"caseList.d.ts","sourceRoot":"","sources":["../../../src/models/caseList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,OAAO,EAAE,cAAc,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AuB,GAAG,aAAa,CAAC,qBAAqB,EAAE,YAAY,CAAC,CAAC;AAEzF,MAAM,MAAM,iBAAiB,GAAG,qBAAqB,CAAC"}
|
package/lib/esm/scss/_main.scss
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// .grid-row-gap-md {
|
|
2
|
-
// grid-row-gap: var(--pf-l-grid--m-gutter--GridGap);
|
|
2
|
+
// grid-row-gap: var(--pf-v5-l-grid--m-gutter--GridGap);
|
|
3
3
|
// }
|
|
4
4
|
|
|
5
|
-
div.pf-c-modal-box__body {
|
|
6
|
-
form.pf-c-form.save-search-form {
|
|
5
|
+
div.pf-v5-c-modal-box__body {
|
|
6
|
+
form.pf-v5-c-form.save-search-form {
|
|
7
7
|
// Overrides the style for Name field in save search modal
|
|
8
|
-
div.pf-c-form__group.form-group.pull-bottom-narrow.save-for-later-name {
|
|
9
|
-
div.pf-c-form__group-label {
|
|
10
|
-
label.pf-c-form__label {
|
|
11
|
-
span.pf-c-form__label-text {
|
|
8
|
+
div.pf-v5-c-form__group.form-group.pull-bottom-narrow.save-for-later-name {
|
|
9
|
+
div.pf-v5-c-form__group-label {
|
|
10
|
+
label.pf-v5-c-form__label {
|
|
11
|
+
span.pf-v5-c-form__label-text {
|
|
12
12
|
span.save-for-later-label-name {
|
|
13
13
|
font-weight: 600 !important;
|
|
14
14
|
}
|
|
@@ -18,10 +18,10 @@ div.pf-c-modal-box__body {
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
// Overrides the style for Search and filtery query field in save search modal
|
|
21
|
-
div.pf-c-form__group.form-group.pf-u-mt-lg.save-for-later-query {
|
|
22
|
-
div.pf-c-form__group-label {
|
|
23
|
-
label.pf-c-form__label {
|
|
24
|
-
span.pf-c-form__label-text {
|
|
21
|
+
div.pf-v5-c-form__group.form-group.pf-v5-u-mt-lg.save-for-later-query {
|
|
22
|
+
div.pf-v5-c-form__group-label {
|
|
23
|
+
label.pf-v5-c-form__label {
|
|
24
|
+
span.pf-v5-c-form__label-text {
|
|
25
25
|
span.save-for-later-label-query {
|
|
26
26
|
font-weight: 600 !important;
|
|
27
27
|
}
|
|
@@ -1,10 +1,46 @@
|
|
|
1
1
|
// Override disable color on darker backgrounds - Different variation. Should be consistent.
|
|
2
2
|
.case-search-filters {
|
|
3
|
-
.pf-c-button:disabled,
|
|
4
|
-
.pf-c-button.pf-m-disabled,
|
|
5
|
-
.pf-c-button.pf-m-aria-disabled {
|
|
3
|
+
.pf-v5-c-button:disabled,
|
|
4
|
+
.pf-v5-c-button.pf-m-disabled,
|
|
5
|
+
.pf-v5-c-button.pf-m-aria-disabled {
|
|
6
6
|
color: #ccc;
|
|
7
7
|
background-color: #fff;
|
|
8
8
|
}
|
|
9
|
-
|
|
9
|
+
.pf-v5-c-select__menu {
|
|
10
|
+
z-index: 1;
|
|
11
|
+
}
|
|
12
|
+
li.pf-v5-c-menu__list-item {
|
|
13
|
+
font-size: 16px;
|
|
14
|
+
font-weight: 400;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.pf-v5-c-menu__group-title {
|
|
19
|
+
margin: 0;
|
|
20
|
+
padding: 0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
label.pf-v5-u-mb-sm.group-filter-label,
|
|
24
|
+
.case-list-account-filter-label,
|
|
25
|
+
.case-list-username-filter-label {
|
|
26
|
+
font-size: 14px !important;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.group-filter {
|
|
30
|
+
span.pf-v5-c-menu-toggle__text {
|
|
31
|
+
color: var(--pf-v5-global--palette--black-600);
|
|
32
|
+
}
|
|
33
|
+
#case-list-group-filter {
|
|
34
|
+
z-index: 9 !important;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.case-group-filter {
|
|
38
|
+
margin: 0 !important;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.pf-v5-c-menu-toggle {
|
|
43
|
+
.pf-v5-c-menu-toggle__text {
|
|
44
|
+
color: #6a6e73;
|
|
45
|
+
}
|
|
10
46
|
}
|
package/lib/esm/scss/index.scss
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import '@testing-library/jest-dom
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
2
2
|
//# sourceMappingURL=testSetup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testSetup.d.ts","sourceRoot":"","sources":["../../../src/test-utils/testSetup.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"testSetup.d.ts","sourceRoot":"","sources":["../../../src/test-utils/testSetup.ts"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import '@testing-library/jest-dom
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -5,7 +5,7 @@ interface IRenderWithRouter extends RenderResult {
|
|
|
5
5
|
}
|
|
6
6
|
export declare function renderWithRouter(ui: any, { route, history }?: {
|
|
7
7
|
route?: string;
|
|
8
|
-
history?: MemoryHistory<
|
|
8
|
+
history?: MemoryHistory<unknown>;
|
|
9
9
|
}): IRenderWithRouter;
|
|
10
10
|
export declare const generateUrl: (path: string, pathParams: any) => string;
|
|
11
11
|
export declare class EscalationPageTestUtils {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { fireEvent, render } from '@testing-library/react';
|
|
2
2
|
import { createMemoryHistory } from 'history';
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { Router } from 'react-router';
|
|
4
|
+
import { Router } from 'react-router-dom';
|
|
5
5
|
export function renderWithRouter(ui, { route = '/', history = createMemoryHistory({ initialEntries: [route] }) } = {}) {
|
|
6
6
|
return Object.assign(Object.assign({}, render(React.createElement(Router, { history: history }, ui))), { history });
|
|
7
7
|
}
|
|
@@ -20,7 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
};
|
|
21
21
|
import { publicApi, search } from '@cee-eng/hydrajs';
|
|
22
22
|
import { promiseReflection } from '@rh-support/utils';
|
|
23
|
-
import {
|
|
23
|
+
import { isArrayHashMapEmpty } from '../components/case-list/CaseListFilterHelpers';
|
|
24
24
|
import { CaseSearchQueryType } from '../enums/caseSearch';
|
|
25
25
|
import { createSFDCQueryFromFilterState, createSolrQueryFromFilterState, mapSFDCCaseListToSolrCaseList, } from './caseSearchUtils';
|
|
26
26
|
const throwErrorOnAbort = (message) => {
|
|
@@ -38,15 +38,15 @@ const throwErrorOnAbort = (message) => {
|
|
|
38
38
|
// Even though SFDC support most of the filters but another problem with SFDC is it doesnot support multiple values for a praticular filter.
|
|
39
39
|
// if user applies any filter apart from default filter we will always call solr and assume that(not safely) 10 sec scenario is not bound to happen.
|
|
40
40
|
export function getCaseList(filterState, loggedInUser, loggedInUserAccount, abortSignal) {
|
|
41
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
42
41
|
return __awaiter(this, void 0, void 0, function* () {
|
|
42
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
43
43
|
let isSolrSearchDownSFDCUp = false;
|
|
44
44
|
let showErrorMessage = false;
|
|
45
45
|
let caseListResponse;
|
|
46
46
|
const solrFilter = createSolrQueryFromFilterState(filterState, loggedInUser);
|
|
47
47
|
const partnerSearch = loggedInUser.isPartner();
|
|
48
48
|
//sfdc returns wrong result, for now only call sfdc when we have no filter applied
|
|
49
|
-
const isSfdcSearchRequired =
|
|
49
|
+
const isSfdcSearchRequired = isArrayHashMapEmpty(filterState.filterInfo) &&
|
|
50
50
|
!filterState.filterQueryInfo.queryString &&
|
|
51
51
|
!partnerSearch &&
|
|
52
52
|
((_a = filterState.filterQueryInfo) === null || _a === void 0 ? void 0 : _a.type) !== CaseSearchQueryType.ADVANCED;
|
|
@@ -9,12 +9,12 @@ export declare const FILTER_URL_QUERY_SEARCH_PARAM = "query";
|
|
|
9
9
|
export declare const FILTER_URL_CURRENT_PAGE_SEARCH_PARAM = "p";
|
|
10
10
|
export declare const FILTER_URL_PAGE_SIZE_SEARCH_PARAM = "size";
|
|
11
11
|
export declare const FILTER_URL_QUERY_TYPE = "searchType";
|
|
12
|
-
declare function createSolrQueryFromFilterState(filterState: ICaseListFilterState, loggedInUser: UserAuth): any;
|
|
12
|
+
declare function createSolrQueryFromFilterState(filterState: ICaseListFilterState, loggedInUser: UserAuth, selectedCases?: string[]): any;
|
|
13
13
|
declare function createUserFriendlyQueryFromFilterState(filterInfo: Partial<IFilterInfo>, filterQuery: string, useKeyForKVPair?: boolean): string;
|
|
14
14
|
declare function createUserFriendlyQueryFromFilterStateAdvancedSearch(filterInfo: Partial<IFilterInfo>, filterQuery: string): string;
|
|
15
15
|
declare function createAdvancedSearchQueryFromFilterState(filterInfo: Partial<IFilterInfo>, keyword: string, useKeyForKVPair?: any[]): string;
|
|
16
|
-
declare function createQueryForCSVDownload(filterState: ICaseListFilterState, loggedInUserRights: UserAuth, loggedInUsersAccount: any, startValue?: number, limitValue?: number): any;
|
|
17
|
-
declare function createSFDCQueryFromFilterState(filterState: ICaseListFilterState, loggedInUser: UserAuth, loggedInUserAccount: Partial<IAccount
|
|
16
|
+
declare function createQueryForCSVDownload(filterState: ICaseListFilterState, loggedInUserRights: UserAuth, loggedInUsersAccount: any, selectedCases?: string[], startValue?: number, limitValue?: number): any;
|
|
17
|
+
declare function createSFDCQueryFromFilterState(filterState: ICaseListFilterState, loggedInUser: UserAuth, loggedInUserAccount: Partial<IAccount>, selectedCases?: string[]): Partial<ISFDCCaseFilter>;
|
|
18
18
|
declare function mapSFDCCaseListToSolrCaseList(response?: ISFDCCaseListResponse[]): ISolrCaseListResponse[];
|
|
19
19
|
declare function createURLQueryFromFilterState(filterState: ICaseListFilterState): string;
|
|
20
20
|
declare function createFilterStateFromUrlQuery(urlQuery: string, globalMetadataState: IGlobalMetadataState, pageSize?: number, currentPage?: number, searchType?: CaseSearchQueryType): ICaseListFilterState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"caseSearchUtils.d.ts","sourceRoot":"","sources":["../../../src/utils/caseSearchUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACrG,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAkBxD,OAAO,EACH,oBAAoB,EACpB,WAAW,EAId,MAAM,+CAA+C,CAAC;AAOvD,OAAO,EAEH,mBAAmB,EAEtB,MAAM,qBAAqB,CAAC;AAU7B,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,eAAO,MAAM,6BAA6B,UAAU,CAAC;AACrD,eAAO,MAAM,oCAAoC,MAAM,CAAC;AACxD,eAAO,MAAM,iCAAiC,SAAS,CAAC;AACxD,eAAO,MAAM,qBAAqB,eAAe,CAAC;AAElD,iBAAS,8BAA8B,
|
|
1
|
+
{"version":3,"file":"caseSearchUtils.d.ts","sourceRoot":"","sources":["../../../src/utils/caseSearchUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACrG,OAAO,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAkBxD,OAAO,EACH,oBAAoB,EACpB,WAAW,EAId,MAAM,+CAA+C,CAAC;AAOvD,OAAO,EAEH,mBAAmB,EAEtB,MAAM,qBAAqB,CAAC;AAU7B,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,eAAO,MAAM,6BAA6B,UAAU,CAAC;AACrD,eAAO,MAAM,oCAAoC,MAAM,CA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