@hmcts/ccd-case-ui-toolkit 6.19.5-secure-doc-case-creation.1 → 6.19.6-case-file-view-document-upload-date
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/bundles/hmcts-ccd-case-ui-toolkit.umd.js +453 -114
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
- package/esm2015/lib/shared/components/case-editor/case-edit/case-edit.component.js +13 -5
- package/esm2015/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.js +12 -4
- package/esm2015/lib/shared/components/case-editor/case-editor.module.js +6 -3
- package/esm2015/lib/shared/components/case-editor/services/case.notifier.js +1 -8
- package/esm2015/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.js +27 -0
- package/esm2015/lib/shared/components/create-case-filters/create-case-filters.component.js +3 -3
- package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-sort/case-file-view-folder-sort.component.js +6 -3
- package/esm2015/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.js +30 -20
- package/esm2015/lib/shared/components/palette/case-file-view/test-data/categories-and-documents-test-data.js +233 -0
- package/esm2015/lib/shared/components/palette/complex/read-complex-field-collection-table.component.js +2 -2
- package/esm2015/lib/shared/components/palette/document/write-document-field.component.js +1 -4
- package/esm2015/lib/shared/components/palette/judicial-user/write-judicial-user-field.component.js +16 -1
- package/esm2015/lib/shared/components/workbasket-filters/workbasket-filters.component.js +12 -1
- package/esm2015/lib/shared/domain/case-file-view/case-file-view-document.model.js +1 -1
- package/esm2015/lib/shared/domain/case-file-view/case-file-view-sort-columns.enum.js +6 -0
- package/esm2015/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.js +39 -13
- package/esm2015/lib/shared/domain/case-file-view/index.js +3 -2
- package/esm2015/lib/shared/domain/index.js +10 -10
- package/esm2015/lib/shared/domain/search/sorting/sort-parameters.js +1 -1
- package/esm2015/lib/shared/domain/sort-order.enum.js +7 -0
- package/esm2015/lib/shared/pipes/search-result/sorting/sort-search-result.pipe.js +2 -2
- package/esm2015/lib/shared/services/case-file-view/case-file-view.service.js +12 -1
- package/esm2015/lib/shared/services/jurisdiction/jurisdiction.service.js +1 -2
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +421 -92
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/components/case-editor/case-edit/case-edit.component.d.ts +4 -1
- package/lib/shared/components/case-editor/case-edit/case-edit.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts +4 -2
- package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-editor.module.d.ts.map +1 -1
- package/lib/shared/components/case-editor/services/case.notifier.d.ts.map +1 -1
- package/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.d.ts +8 -0
- package/lib/shared/components/case-editor/services/valid-page-list-caseFields.service.d.ts.map +1 -0
- package/lib/shared/components/create-case-filters/create-case-filters.component.d.ts +1 -1
- package/lib/shared/components/create-case-filters/create-case-filters.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-sort/case-file-view-folder-sort.component.d.ts +2 -2
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder-sort/case-file-view-folder-sort.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts +2 -2
- package/lib/shared/components/palette/case-file-view/components/case-file-view-folder/case-file-view-folder.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-file-view/test-data/categories-and-documents-test-data.d.ts +3 -0
- package/lib/shared/components/palette/case-file-view/test-data/categories-and-documents-test-data.d.ts.map +1 -0
- package/lib/shared/components/palette/complex/read-complex-field-collection-table.component.d.ts.map +1 -1
- package/lib/shared/components/palette/document/write-document-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/judicial-user/write-judicial-user-field.component.d.ts +5 -3
- package/lib/shared/components/palette/judicial-user/write-judicial-user-field.component.d.ts.map +1 -1
- package/lib/shared/components/workbasket-filters/workbasket-filters.component.d.ts +1 -1
- package/lib/shared/components/workbasket-filters/workbasket-filters.component.d.ts.map +1 -1
- package/lib/shared/domain/case-file-view/case-file-view-document.model.d.ts +1 -1
- package/lib/shared/domain/case-file-view/case-file-view-document.model.d.ts.map +1 -1
- package/lib/shared/domain/case-file-view/case-file-view-sort-columns.enum.d.ts +5 -0
- package/lib/shared/domain/case-file-view/case-file-view-sort-columns.enum.d.ts.map +1 -0
- package/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.d.ts +4 -2
- package/lib/shared/domain/case-file-view/document-tree-node/document-tree-node.model.d.ts.map +1 -1
- package/lib/shared/domain/case-file-view/index.d.ts +2 -1
- package/lib/shared/domain/case-file-view/index.d.ts.map +1 -1
- package/lib/shared/domain/index.d.ts +9 -9
- package/lib/shared/domain/index.d.ts.map +1 -1
- package/lib/shared/domain/search/sorting/sort-parameters.d.ts +1 -1
- package/lib/shared/domain/search/sorting/sort-parameters.d.ts.map +1 -1
- package/lib/shared/domain/{search/sorting/sort-order.d.ts → sort-order.enum.d.ts} +1 -1
- package/lib/shared/domain/sort-order.enum.d.ts.map +1 -0
- package/lib/shared/services/case-file-view/case-file-view.service.d.ts.map +1 -1
- package/lib/shared/services/jurisdiction/jurisdiction.service.d.ts.map +1 -1
- package/package.json +1 -1
- package/esm2015/lib/shared/components/palette/complex/sort-order.js +0 -7
- package/esm2015/lib/shared/domain/search/sorting/sort-order.js +0 -7
- package/lib/shared/components/palette/complex/sort-order.d.ts +0 -6
- package/lib/shared/components/palette/complex/sort-order.d.ts.map +0 -1
- package/lib/shared/domain/search/sorting/sort-order.d.ts.map +0 -1
|
@@ -2912,6 +2912,14 @@ class AddressModel {
|
|
|
2912
2912
|
class Alert {
|
|
2913
2913
|
}
|
|
2914
2914
|
|
|
2915
|
+
// tslint:disable:variable-name
|
|
2916
|
+
class CaseDetails {
|
|
2917
|
+
}
|
|
2918
|
+
|
|
2919
|
+
// tslint:disable:variable-name
|
|
2920
|
+
class CaseEventData {
|
|
2921
|
+
}
|
|
2922
|
+
|
|
2915
2923
|
class WizardPageField {
|
|
2916
2924
|
}
|
|
2917
2925
|
|
|
@@ -3282,6 +3290,9 @@ OrganisationConverter.ɵprov = i0.ɵɵdefineInjectable({ token: OrganisationConv
|
|
|
3282
3290
|
type: Injectable
|
|
3283
3291
|
}], null, null); })();
|
|
3284
3292
|
|
|
3293
|
+
class PaginationMetadata {
|
|
3294
|
+
}
|
|
3295
|
+
|
|
3285
3296
|
function hasRoles(profile) {
|
|
3286
3297
|
if (profile.user && profile.user.idam && Array.isArray(profile.user.idam.roles)) {
|
|
3287
3298
|
return profile.user.idam.roles.length > 0;
|
|
@@ -3347,34 +3358,23 @@ __decorate([
|
|
|
3347
3358
|
__metadata("design:type", Array)
|
|
3348
3359
|
], SearchResultView.prototype, "results", void 0);
|
|
3349
3360
|
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
class CaseEventData {
|
|
3356
|
-
}
|
|
3357
|
-
|
|
3358
|
-
class WorkbasketInputModel {
|
|
3359
|
-
}
|
|
3360
|
-
class WorkbasketInput {
|
|
3361
|
-
}
|
|
3362
|
-
|
|
3363
|
-
class PaginationMetadata {
|
|
3361
|
+
class SortParameters {
|
|
3362
|
+
constructor(comparator, sortOrder) {
|
|
3363
|
+
this.comparator = comparator;
|
|
3364
|
+
this.sortOrder = sortOrder;
|
|
3365
|
+
}
|
|
3364
3366
|
}
|
|
3365
3367
|
|
|
3366
|
-
var SortOrder
|
|
3368
|
+
var SortOrder;
|
|
3367
3369
|
(function (SortOrder) {
|
|
3368
3370
|
SortOrder[SortOrder["ASCENDING"] = 0] = "ASCENDING";
|
|
3369
3371
|
SortOrder[SortOrder["DESCENDING"] = 1] = "DESCENDING";
|
|
3370
3372
|
SortOrder[SortOrder["UNSORTED"] = 2] = "UNSORTED";
|
|
3371
|
-
})(SortOrder
|
|
3373
|
+
})(SortOrder || (SortOrder = {}));
|
|
3372
3374
|
|
|
3373
|
-
class
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
this.sortOrder = sortOrder;
|
|
3377
|
-
}
|
|
3375
|
+
class WorkbasketInputModel {
|
|
3376
|
+
}
|
|
3377
|
+
class WorkbasketInput {
|
|
3378
3378
|
}
|
|
3379
3379
|
|
|
3380
3380
|
// @dynamic
|
|
@@ -6202,6 +6202,239 @@ AddressesService.ɵprov = i0.ɵɵdefineInjectable({ token: AddressesService, fac
|
|
|
6202
6202
|
type: Injectable
|
|
6203
6203
|
}], function () { return [{ type: HttpService }, { type: AbstractAppConfig }]; }, null); })();
|
|
6204
6204
|
|
|
6205
|
+
const categoriesAndDocumentsTestData = {
|
|
6206
|
+
case_version: 1,
|
|
6207
|
+
categories: [
|
|
6208
|
+
{
|
|
6209
|
+
category_id: 'Beers',
|
|
6210
|
+
category_name: 'Beers',
|
|
6211
|
+
category_order: 1,
|
|
6212
|
+
documents: [
|
|
6213
|
+
{
|
|
6214
|
+
document_url: '/test',
|
|
6215
|
+
document_filename: 'Lager encyclopedia',
|
|
6216
|
+
document_binary_url: '/test/binary',
|
|
6217
|
+
attribute_path: '',
|
|
6218
|
+
upload_timestamp: new Date(2023, 4, 11),
|
|
6219
|
+
content_type: ''
|
|
6220
|
+
},
|
|
6221
|
+
{
|
|
6222
|
+
document_url: '/test',
|
|
6223
|
+
document_filename: 'Beers encyclopedia',
|
|
6224
|
+
document_binary_url: '/test/binary',
|
|
6225
|
+
attribute_path: '',
|
|
6226
|
+
upload_timestamp: new Date(2023, 3, 14),
|
|
6227
|
+
content_type: ''
|
|
6228
|
+
},
|
|
6229
|
+
{
|
|
6230
|
+
document_url: '/test',
|
|
6231
|
+
document_filename: 'Ale encyclopedia',
|
|
6232
|
+
document_binary_url: '/test/binary',
|
|
6233
|
+
attribute_path: '',
|
|
6234
|
+
upload_timestamp: new Date(2023, 2, 12),
|
|
6235
|
+
content_type: ''
|
|
6236
|
+
}
|
|
6237
|
+
],
|
|
6238
|
+
sub_categories: [
|
|
6239
|
+
{
|
|
6240
|
+
category_id: 'BeersBitters',
|
|
6241
|
+
category_name: 'Bitters',
|
|
6242
|
+
category_order: 1,
|
|
6243
|
+
documents: [],
|
|
6244
|
+
sub_categories: []
|
|
6245
|
+
},
|
|
6246
|
+
{
|
|
6247
|
+
category_id: 'BeersAmerican',
|
|
6248
|
+
category_name: 'American',
|
|
6249
|
+
category_order: 2,
|
|
6250
|
+
documents: [],
|
|
6251
|
+
sub_categories: []
|
|
6252
|
+
},
|
|
6253
|
+
{
|
|
6254
|
+
category_id: 'BeersAsian',
|
|
6255
|
+
category_name: 'Asian',
|
|
6256
|
+
category_order: 3,
|
|
6257
|
+
documents: [],
|
|
6258
|
+
sub_categories: []
|
|
6259
|
+
}
|
|
6260
|
+
]
|
|
6261
|
+
},
|
|
6262
|
+
{
|
|
6263
|
+
category_id: 'Wines',
|
|
6264
|
+
category_name: 'Wines',
|
|
6265
|
+
category_order: 2,
|
|
6266
|
+
documents: [],
|
|
6267
|
+
sub_categories: [
|
|
6268
|
+
{
|
|
6269
|
+
category_id: 'WinesFrench',
|
|
6270
|
+
category_name: 'French',
|
|
6271
|
+
category_order: 1,
|
|
6272
|
+
documents: [],
|
|
6273
|
+
sub_categories: []
|
|
6274
|
+
},
|
|
6275
|
+
{
|
|
6276
|
+
category_id: 'WinesItalian',
|
|
6277
|
+
category_name: 'Italian',
|
|
6278
|
+
category_order: 2,
|
|
6279
|
+
documents: [
|
|
6280
|
+
{
|
|
6281
|
+
document_url: '/red-wine',
|
|
6282
|
+
document_filename: 'Details about red wine',
|
|
6283
|
+
document_binary_url: '/test/binary',
|
|
6284
|
+
attribute_path: '',
|
|
6285
|
+
upload_timestamp: null,
|
|
6286
|
+
content_type: ''
|
|
6287
|
+
},
|
|
6288
|
+
{
|
|
6289
|
+
document_url: '/white-wine',
|
|
6290
|
+
document_filename: 'Details about white wine',
|
|
6291
|
+
document_binary_url: '/test/binary',
|
|
6292
|
+
attribute_path: '',
|
|
6293
|
+
upload_timestamp: new Date(2023, 1, 10),
|
|
6294
|
+
content_type: ''
|
|
6295
|
+
},
|
|
6296
|
+
{
|
|
6297
|
+
document_url: '/prosecco',
|
|
6298
|
+
document_filename: 'Details about Prosecco',
|
|
6299
|
+
document_binary_url: '/test/binary',
|
|
6300
|
+
attribute_path: '',
|
|
6301
|
+
upload_timestamp: new Date(2023, 3, 12),
|
|
6302
|
+
content_type: ''
|
|
6303
|
+
},
|
|
6304
|
+
{
|
|
6305
|
+
document_url: '/pinot-grigio',
|
|
6306
|
+
document_filename: 'Details about Pinot Grigio',
|
|
6307
|
+
document_binary_url: '/test/binary',
|
|
6308
|
+
attribute_path: '',
|
|
6309
|
+
upload_timestamp: new Date(2023, 2, 16),
|
|
6310
|
+
content_type: ''
|
|
6311
|
+
}
|
|
6312
|
+
],
|
|
6313
|
+
sub_categories: []
|
|
6314
|
+
}
|
|
6315
|
+
]
|
|
6316
|
+
},
|
|
6317
|
+
{
|
|
6318
|
+
category_id: 'Spirits',
|
|
6319
|
+
category_name: 'Spirits',
|
|
6320
|
+
category_order: 3,
|
|
6321
|
+
documents: [],
|
|
6322
|
+
sub_categories: [
|
|
6323
|
+
{
|
|
6324
|
+
category_id: 'SpiritsWhisky',
|
|
6325
|
+
category_name: 'Scotch whisky',
|
|
6326
|
+
category_order: 1,
|
|
6327
|
+
documents: [],
|
|
6328
|
+
sub_categories: [
|
|
6329
|
+
{
|
|
6330
|
+
category_id: 'WhiskyHighland',
|
|
6331
|
+
category_name: 'Highland',
|
|
6332
|
+
category_order: 1,
|
|
6333
|
+
documents: [],
|
|
6334
|
+
sub_categories: [
|
|
6335
|
+
{
|
|
6336
|
+
category_id: 'WhiskyHighland1',
|
|
6337
|
+
category_name: 'Highland 1',
|
|
6338
|
+
category_order: 1,
|
|
6339
|
+
documents: [],
|
|
6340
|
+
sub_categories: []
|
|
6341
|
+
}
|
|
6342
|
+
]
|
|
6343
|
+
},
|
|
6344
|
+
{
|
|
6345
|
+
category_id: 'WhiskyLowland',
|
|
6346
|
+
category_name: 'Lowland',
|
|
6347
|
+
category_order: 2,
|
|
6348
|
+
documents: [],
|
|
6349
|
+
sub_categories: [
|
|
6350
|
+
{
|
|
6351
|
+
category_id: 'WhiskyLowland1',
|
|
6352
|
+
category_name: 'Lowland 1',
|
|
6353
|
+
category_order: 1,
|
|
6354
|
+
documents: [
|
|
6355
|
+
{
|
|
6356
|
+
document_url: '/test',
|
|
6357
|
+
document_filename: 'Details about Whisky Lowland 1',
|
|
6358
|
+
document_binary_url: '/test/binary',
|
|
6359
|
+
attribute_path: '',
|
|
6360
|
+
upload_timestamp: new Date(2022, 5, 21),
|
|
6361
|
+
content_type: ''
|
|
6362
|
+
}
|
|
6363
|
+
],
|
|
6364
|
+
sub_categories: []
|
|
6365
|
+
},
|
|
6366
|
+
{
|
|
6367
|
+
category_id: 'WhiskyLowland2',
|
|
6368
|
+
category_name: 'Lowland 2',
|
|
6369
|
+
category_order: 2,
|
|
6370
|
+
documents: [],
|
|
6371
|
+
sub_categories: []
|
|
6372
|
+
}
|
|
6373
|
+
]
|
|
6374
|
+
},
|
|
6375
|
+
{
|
|
6376
|
+
category_id: 'WhiskyIslay',
|
|
6377
|
+
category_name: 'Islay',
|
|
6378
|
+
category_order: 3,
|
|
6379
|
+
documents: [
|
|
6380
|
+
{
|
|
6381
|
+
document_url: '/test',
|
|
6382
|
+
document_filename: 'Details about Whisky Islay',
|
|
6383
|
+
document_binary_url: '/test/binary',
|
|
6384
|
+
attribute_path: '',
|
|
6385
|
+
upload_timestamp: new Date(2022, 10, 4),
|
|
6386
|
+
content_type: ''
|
|
6387
|
+
},
|
|
6388
|
+
{
|
|
6389
|
+
document_url: '/test',
|
|
6390
|
+
document_filename: 'More information about Whisky Islay',
|
|
6391
|
+
document_binary_url: '/test/binary',
|
|
6392
|
+
attribute_path: '',
|
|
6393
|
+
upload_timestamp: new Date(2022, 11, 28),
|
|
6394
|
+
content_type: ''
|
|
6395
|
+
}
|
|
6396
|
+
],
|
|
6397
|
+
sub_categories: []
|
|
6398
|
+
},
|
|
6399
|
+
{
|
|
6400
|
+
category_id: 'WhiskySpeyside',
|
|
6401
|
+
category_name: 'Speyside',
|
|
6402
|
+
category_order: 4,
|
|
6403
|
+
documents: [],
|
|
6404
|
+
sub_categories: []
|
|
6405
|
+
},
|
|
6406
|
+
{
|
|
6407
|
+
category_id: 'WhiskyCampbeltown',
|
|
6408
|
+
category_name: 'Campbeltown',
|
|
6409
|
+
category_order: 5,
|
|
6410
|
+
documents: [],
|
|
6411
|
+
sub_categories: []
|
|
6412
|
+
}
|
|
6413
|
+
]
|
|
6414
|
+
}
|
|
6415
|
+
]
|
|
6416
|
+
}
|
|
6417
|
+
],
|
|
6418
|
+
uncategorised_documents: [
|
|
6419
|
+
{
|
|
6420
|
+
document_url: '/uncategorised-document-1',
|
|
6421
|
+
document_filename: 'Uncategorised document 1',
|
|
6422
|
+
document_binary_url: '/test/binary',
|
|
6423
|
+
attribute_path: '',
|
|
6424
|
+
upload_timestamp: new Date(2022, 10, 17),
|
|
6425
|
+
content_type: ''
|
|
6426
|
+
},
|
|
6427
|
+
{
|
|
6428
|
+
document_url: '/uncategorised-document-2',
|
|
6429
|
+
document_filename: 'Uncategorised document 2',
|
|
6430
|
+
document_binary_url: '/test/binary',
|
|
6431
|
+
attribute_path: '',
|
|
6432
|
+
upload_timestamp: new Date(2023, 1, 23),
|
|
6433
|
+
content_type: ''
|
|
6434
|
+
}
|
|
6435
|
+
]
|
|
6436
|
+
};
|
|
6437
|
+
|
|
6205
6438
|
class CaseFileViewService {
|
|
6206
6439
|
constructor(http, appConfig) {
|
|
6207
6440
|
this.http = http;
|
|
@@ -6214,6 +6447,16 @@ class CaseFileViewService {
|
|
|
6214
6447
|
* @returns An `Observable` of the `CategoriesAndDocuments` for the case
|
|
6215
6448
|
*/
|
|
6216
6449
|
getCategoriesAndDocuments(caseRef) {
|
|
6450
|
+
// Case file view v1.1 epic - https://tools.hmcts.net/jira/browse/EUI-7807
|
|
6451
|
+
// Display upload_timestamp - https://tools.hmcts.net/jira/browse/EUI-7819
|
|
6452
|
+
// Sort by upload_timestamp - https://tools.hmcts.net/jira/browse/EUI-7812
|
|
6453
|
+
// The property upload_timestamp is not available as it is not yet implemented by CCD
|
|
6454
|
+
// Using this case reference '1666863124102280' to return the mock data with upload_timestamp
|
|
6455
|
+
// The below 'if' statement should be removed once the upload_timestamp property is made available by CCD
|
|
6456
|
+
// https://tools.hmcts.net/jira/browse/EUI-8129
|
|
6457
|
+
if (caseRef === '1666863124102280') {
|
|
6458
|
+
return of(categoriesAndDocumentsTestData);
|
|
6459
|
+
}
|
|
6217
6460
|
let url = this.appConfig.getCategoriesAndDocumentsUrl();
|
|
6218
6461
|
if (url) {
|
|
6219
6462
|
url += `/${caseRef}`;
|
|
@@ -6528,7 +6771,6 @@ class JurisdictionService {
|
|
|
6528
6771
|
return this.httpService.get('/aggregated/caseworkers/:uid/jurisdictions?access=read');
|
|
6529
6772
|
}
|
|
6530
6773
|
announceSelectedJurisdiction(jurisdiction) {
|
|
6531
|
-
console.info('Announcing selected jurisdiction = ' + (jurisdiction === null || jurisdiction === void 0 ? void 0 : jurisdiction.id));
|
|
6532
6774
|
this.selectedJurisdictionSource.next(jurisdiction);
|
|
6533
6775
|
this.selectedJurisdictionBS.next(jurisdiction);
|
|
6534
6776
|
}
|
|
@@ -8026,22 +8268,15 @@ class CaseNotifier {
|
|
|
8026
8268
|
this.cachedCaseView = null;
|
|
8027
8269
|
}
|
|
8028
8270
|
announceCase(c) {
|
|
8029
|
-
console.info('announceCase started.');
|
|
8030
8271
|
this.caseViewSource.next(c);
|
|
8031
|
-
console.info('announceCase finished.');
|
|
8032
8272
|
}
|
|
8033
8273
|
fetchAndRefresh(cid) {
|
|
8034
|
-
console.info('fetchAndRefresh started.');
|
|
8035
8274
|
return this.casesService
|
|
8036
8275
|
.getCaseViewV2(cid)
|
|
8037
8276
|
.pipe(map(caseView => {
|
|
8038
|
-
console.info('mapping caseView started.');
|
|
8039
|
-
// this.casesService.syncWait(10);
|
|
8040
|
-
// throw new Error('******************************************************');
|
|
8041
8277
|
this.cachedCaseView = plainToClassFromExist(new CaseView(), caseView);
|
|
8042
8278
|
this.setBasicFields(this.cachedCaseView.tabs);
|
|
8043
8279
|
this.announceCase(this.cachedCaseView);
|
|
8044
|
-
console.info('mapping caseView finished. Returning it.');
|
|
8045
8280
|
return this.cachedCaseView;
|
|
8046
8281
|
}));
|
|
8047
8282
|
}
|
|
@@ -8518,8 +8753,32 @@ WorkAllocationService.ɵprov = i0.ɵɵdefineInjectable({ token: WorkAllocationSe
|
|
|
8518
8753
|
type: Injectable
|
|
8519
8754
|
}], function () { return [{ type: HttpService }, { type: AbstractAppConfig }, { type: HttpErrorService }, { type: AlertService }, { type: SessionStorageService }]; }, null); })();
|
|
8520
8755
|
|
|
8756
|
+
class ValidPageListCaseFieldsService {
|
|
8757
|
+
deleteNonValidatedFields(validPageList, data, notFromEventSubmit, fromPreviousPage = false) {
|
|
8758
|
+
const validPageListCaseFields = [];
|
|
8759
|
+
validPageList.forEach(page => {
|
|
8760
|
+
if (notFromEventSubmit || ShowCondition.getInstance(page.show_condition).match(data)) {
|
|
8761
|
+
page.case_fields.forEach(field => validPageListCaseFields.push(field));
|
|
8762
|
+
}
|
|
8763
|
+
});
|
|
8764
|
+
if (!fromPreviousPage && validPageListCaseFields.length > 0) {
|
|
8765
|
+
Object.keys(data).forEach(key => {
|
|
8766
|
+
if (validPageListCaseFields.findIndex((element) => element.id === key) < 0) {
|
|
8767
|
+
delete data[key];
|
|
8768
|
+
;
|
|
8769
|
+
}
|
|
8770
|
+
});
|
|
8771
|
+
}
|
|
8772
|
+
}
|
|
8773
|
+
}
|
|
8774
|
+
ValidPageListCaseFieldsService.ɵfac = function ValidPageListCaseFieldsService_Factory(t) { return new (t || ValidPageListCaseFieldsService)(); };
|
|
8775
|
+
ValidPageListCaseFieldsService.ɵprov = i0.ɵɵdefineInjectable({ token: ValidPageListCaseFieldsService, factory: ValidPageListCaseFieldsService.ɵfac });
|
|
8776
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ValidPageListCaseFieldsService, [{
|
|
8777
|
+
type: Injectable
|
|
8778
|
+
}], null, null); })();
|
|
8779
|
+
|
|
8521
8780
|
class CaseEditComponent {
|
|
8522
|
-
constructor(fb, caseNotifier, router, route, fieldsUtils, fieldsPurger, registrarService, wizardFactory, sessionStorageService, windowsService, formValueService, formErrorService, loadingService) {
|
|
8781
|
+
constructor(fb, caseNotifier, router, route, fieldsUtils, fieldsPurger, registrarService, wizardFactory, sessionStorageService, windowsService, formValueService, formErrorService, loadingService, validPageListCaseFieldsService) {
|
|
8523
8782
|
this.fb = fb;
|
|
8524
8783
|
this.caseNotifier = caseNotifier;
|
|
8525
8784
|
this.router = router;
|
|
@@ -8533,6 +8792,7 @@ class CaseEditComponent {
|
|
|
8533
8792
|
this.formValueService = formValueService;
|
|
8534
8793
|
this.formErrorService = formErrorService;
|
|
8535
8794
|
this.loadingService = loadingService;
|
|
8795
|
+
this.validPageListCaseFieldsService = validPageListCaseFieldsService;
|
|
8536
8796
|
this.cancelled = new EventEmitter();
|
|
8537
8797
|
this.submitted = new EventEmitter();
|
|
8538
8798
|
this.isEventCompletionChecksRequired = false;
|
|
@@ -8540,6 +8800,7 @@ class CaseEditComponent {
|
|
|
8540
8800
|
this.ignoreWarning = false;
|
|
8541
8801
|
this.isLinkedCasesSubmission = false;
|
|
8542
8802
|
this.callbackErrorsSubject = new Subject();
|
|
8803
|
+
this.validPageList = [];
|
|
8543
8804
|
}
|
|
8544
8805
|
ngOnInit() {
|
|
8545
8806
|
this.wizard = this.wizardFactory.create(this.eventTrigger);
|
|
@@ -8700,6 +8961,8 @@ class CaseEditComponent {
|
|
|
8700
8961
|
this.formValueService.populateLinkedCasesDetailsFromCaseFields(caseEventData.data, eventTrigger.case_fields);
|
|
8701
8962
|
// Remove "Launcher"-type fields (these have no values and are not intended to be persisted)
|
|
8702
8963
|
this.formValueService.removeCaseFieldsOfType(caseEventData.data, eventTrigger.case_fields, ['FlagLauncher', 'ComponentLauncher']);
|
|
8964
|
+
// delete fields which are not part of the case event journey wizard pages case fields
|
|
8965
|
+
this.validPageListCaseFieldsService.deleteNonValidatedFields(this.validPageList, caseEventData.data, false);
|
|
8703
8966
|
caseEventData.event_token = eventTrigger.event_token;
|
|
8704
8967
|
caseEventData.ignore_warning = this.ignoreWarning;
|
|
8705
8968
|
if (this.confirmation) {
|
|
@@ -8800,7 +9063,9 @@ class CaseEditComponent {
|
|
|
8800
9063
|
rawFormValueData[key] = parentField.formatted_value[caseField.id];
|
|
8801
9064
|
}
|
|
8802
9065
|
else {
|
|
8803
|
-
|
|
9066
|
+
if (!(caseField.hidden && caseField.retain_hidden_value)) {
|
|
9067
|
+
rawFormValueData[key] = caseField.formatted_value;
|
|
9068
|
+
}
|
|
8804
9069
|
}
|
|
8805
9070
|
}
|
|
8806
9071
|
}
|
|
@@ -8862,7 +9127,7 @@ class CaseEditComponent {
|
|
|
8862
9127
|
}
|
|
8863
9128
|
CaseEditComponent.ORIGIN_QUERY_PARAM = 'origin';
|
|
8864
9129
|
CaseEditComponent.ALERT_MESSAGE = 'Page is being refreshed so you will be redirected to the first page of this event.';
|
|
8865
|
-
CaseEditComponent.ɵfac = function CaseEditComponent_Factory(t) { return new (t || CaseEditComponent)(i0.ɵɵdirectiveInject(i2$1.FormBuilder), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(FieldsUtils), i0.ɵɵdirectiveInject(FieldsPurger), i0.ɵɵdirectiveInject(ConditionalShowRegistrarService), i0.ɵɵdirectiveInject(WizardFactoryService), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(WindowService), i0.ɵɵdirectiveInject(FormValueService), i0.ɵɵdirectiveInject(FormErrorService), i0.ɵɵdirectiveInject(LoadingService)); };
|
|
9130
|
+
CaseEditComponent.ɵfac = function CaseEditComponent_Factory(t) { return new (t || CaseEditComponent)(i0.ɵɵdirectiveInject(i2$1.FormBuilder), i0.ɵɵdirectiveInject(CaseNotifier), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(FieldsUtils), i0.ɵɵdirectiveInject(FieldsPurger), i0.ɵɵdirectiveInject(ConditionalShowRegistrarService), i0.ɵɵdirectiveInject(WizardFactoryService), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(WindowService), i0.ɵɵdirectiveInject(FormValueService), i0.ɵɵdirectiveInject(FormErrorService), i0.ɵɵdirectiveInject(LoadingService), i0.ɵɵdirectiveInject(ValidPageListCaseFieldsService)); };
|
|
8866
9131
|
CaseEditComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseEditComponent, selectors: [["ccd-case-edit"]], inputs: { eventTrigger: "eventTrigger", submit: "submit", validate: "validate", saveDraft: "saveDraft", caseDetails: "caseDetails" }, outputs: { cancelled: "cancelled", submitted: "submitted" }, features: [i0.ɵɵProvidersFeature([GreyBarService])], decls: 1, vars: 0, template: function CaseEditComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8867
9132
|
i0.ɵɵelement(0, "router-outlet");
|
|
8868
9133
|
} }, directives: [i1$1.RouterOutlet], styles: ["#fieldset-case-data[_ngcontent-%COMP%]{margin-bottom:30px}#fieldset-case-data[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{width:1%;white-space:nowrap;vertical-align:top}.compound-field[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:0}#confirmation-header[_ngcontent-%COMP%]{width:630px;background-color:#17958b;border:1px solid #979797;color:#fff;text-align:center}#confirmation-body[_ngcontent-%COMP%]{width:630px;background-color:#fff}.valign-top[_ngcontent-%COMP%]{vertical-align:top}.summary-fields[_ngcontent-%COMP%]{margin-bottom:30px}.summary-fields[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%], .summary-fields[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-bottom:0}a.disabled[_ngcontent-%COMP%]{pointer-events:none;cursor:default}.case-field-label[_ngcontent-%COMP%]{width:45%}.case-field-content[_ngcontent-%COMP%]{width:50%}.case-field-change[_ngcontent-%COMP%]{width:5%}"] });
|
|
@@ -8874,7 +9139,7 @@ CaseEditComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseEditComponent, sele
|
|
|
8874
9139
|
styleUrls: ['../case-edit.scss'],
|
|
8875
9140
|
providers: [GreyBarService]
|
|
8876
9141
|
}]
|
|
8877
|
-
}], function () { return [{ type: i2$1.FormBuilder }, { type: CaseNotifier }, { type: i1$1.Router }, { type: i1$1.ActivatedRoute }, { type: FieldsUtils }, { type: FieldsPurger }, { type: ConditionalShowRegistrarService }, { type: WizardFactoryService }, { type: SessionStorageService }, { type: WindowService }, { type: FormValueService }, { type: FormErrorService }, { type: LoadingService }]; }, { eventTrigger: [{
|
|
9142
|
+
}], function () { return [{ type: i2$1.FormBuilder }, { type: CaseNotifier }, { type: i1$1.Router }, { type: i1$1.ActivatedRoute }, { type: FieldsUtils }, { type: FieldsPurger }, { type: ConditionalShowRegistrarService }, { type: WizardFactoryService }, { type: SessionStorageService }, { type: WindowService }, { type: FormValueService }, { type: FormErrorService }, { type: LoadingService }, { type: ValidPageListCaseFieldsService }]; }, { eventTrigger: [{
|
|
8878
9143
|
type: Input
|
|
8879
9144
|
}], submit: [{
|
|
8880
9145
|
type: Input
|
|
@@ -9473,7 +9738,7 @@ function CaseEditPageComponent_ccd_case_event_completion_11_Template(rf, ctx) {
|
|
|
9473
9738
|
i0.ɵɵproperty("eventCompletionParams", ctx_r8.caseEdit.eventCompletionParams);
|
|
9474
9739
|
} }
|
|
9475
9740
|
class CaseEditPageComponent {
|
|
9476
|
-
constructor(caseEdit, route, formValueService, formErrorService, cdRef, pageValidationService, dialog, caseFieldService, caseEditDataService, loadingService) {
|
|
9741
|
+
constructor(caseEdit, route, formValueService, formErrorService, cdRef, pageValidationService, dialog, caseFieldService, caseEditDataService, loadingService, validPageListCaseFieldsService) {
|
|
9477
9742
|
this.caseEdit = caseEdit;
|
|
9478
9743
|
this.route = route;
|
|
9479
9744
|
this.formValueService = formValueService;
|
|
@@ -9484,6 +9749,7 @@ class CaseEditPageComponent {
|
|
|
9484
9749
|
this.caseFieldService = caseFieldService;
|
|
9485
9750
|
this.caseEditDataService = caseEditDataService;
|
|
9486
9751
|
this.loadingService = loadingService;
|
|
9752
|
+
this.validPageListCaseFieldsService = validPageListCaseFieldsService;
|
|
9487
9753
|
this.triggerTextStart = CaseEditPageComponent.TRIGGER_TEXT_START;
|
|
9488
9754
|
this.triggerTextIgnoreWarnings = CaseEditPageComponent.TRIGGER_TEXT_CONTINUE;
|
|
9489
9755
|
this.formValuesChanged = false;
|
|
@@ -9691,6 +9957,9 @@ class CaseEditPageComponent {
|
|
|
9691
9957
|
}
|
|
9692
9958
|
}
|
|
9693
9959
|
if (!this.caseEdit.isSubmitting && !this.currentPageIsNotValid()) {
|
|
9960
|
+
if (this.caseEdit.validPageList.findIndex(page => page.id === this.currentPage.id) === -1) {
|
|
9961
|
+
this.caseEdit.validPageList.push(this.currentPage);
|
|
9962
|
+
}
|
|
9694
9963
|
this.caseEdit.isSubmitting = true;
|
|
9695
9964
|
this.caseEdit.error = null;
|
|
9696
9965
|
const caseEventData = this.buildCaseEventData();
|
|
@@ -9939,6 +10208,8 @@ class CaseEditPageComponent {
|
|
|
9939
10208
|
this.formValueService.sanitiseDynamicLists(caseFields, formFields);
|
|
9940
10209
|
// Get hold of the CaseEventData.
|
|
9941
10210
|
const caseEventData = this.formValueService.sanitise(formFields);
|
|
10211
|
+
// delete fields which are not part of the case event journey wizard pages case fields
|
|
10212
|
+
this.validPageListCaseFieldsService.deleteNonValidatedFields(this.caseEdit.validPageList, caseEventData.data, true, fromPreviousPage);
|
|
9942
10213
|
// Tidy it up before we return it.
|
|
9943
10214
|
this.formValueService.removeUnnecessaryFields(caseEventData.data, caseFields, clearEmpty, clearNonCase, fromPreviousPage, this.currentPage.case_fields);
|
|
9944
10215
|
return caseEventData;
|
|
@@ -9979,7 +10250,7 @@ CaseEditPageComponent.RESUMED_FORM_SAVE = 'RESUMED_FORM_SAVE';
|
|
|
9979
10250
|
CaseEditPageComponent.TRIGGER_TEXT_START = 'Continue';
|
|
9980
10251
|
CaseEditPageComponent.TRIGGER_TEXT_SAVE = 'Save and continue';
|
|
9981
10252
|
CaseEditPageComponent.TRIGGER_TEXT_CONTINUE = 'Ignore Warning and Continue';
|
|
9982
|
-
CaseEditPageComponent.ɵfac = function CaseEditPageComponent_Factory(t) { return new (t || CaseEditPageComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(FormValueService), i0.ɵɵdirectiveInject(FormErrorService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PageValidationService), i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(CaseFieldService), i0.ɵɵdirectiveInject(CaseEditDataService), i0.ɵɵdirectiveInject(LoadingService)); };
|
|
10253
|
+
CaseEditPageComponent.ɵfac = function CaseEditPageComponent_Factory(t) { return new (t || CaseEditPageComponent)(i0.ɵɵdirectiveInject(CaseEditComponent), i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(FormValueService), i0.ɵɵdirectiveInject(FormErrorService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(PageValidationService), i0.ɵɵdirectiveInject(i1$3.MatDialog), i0.ɵɵdirectiveInject(CaseFieldService), i0.ɵɵdirectiveInject(CaseEditDataService), i0.ɵɵdirectiveInject(LoadingService), i0.ɵɵdirectiveInject(ValidPageListCaseFieldsService)); };
|
|
9983
10254
|
CaseEditPageComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseEditPageComponent, selectors: [["ccd-case-edit-page"]], decls: 12, vars: 11, consts: [[4, "ngIf"], [4, "ngIf", "ngIfThen", "ngIfElse"], ["titleBlock", ""], ["idBlock", ""], ["class", "govuk-error-summary", "aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 4, "ngIf"], [3, "error"], [3, "triggerTextContinue", "triggerTextIgnore", "callbackErrorsSubject", "callbackErrorsContext"], [1, "width-50"], ["class", "form", 3, "formGroup", "submit", 4, "ngIf"], [3, "eventCompletionParams", "eventCanBeCompleted", 4, "ngIf"], ["class", "govuk-heading-l", 4, "ngIf"], [1, "govuk-heading-l"], [1, "govuk-caption-l"], [3, "content"], ["class", "heading-h2", 4, "ngIf"], [1, "heading-h2"], ["aria-labelledby", "error-summary-title", "role", "alert", "tabindex", "-1", "data-module", "govuk-error-summary", 1, "govuk-error-summary"], ["id", "error-summary-title", 1, "govuk-error-summary__title"], ["class", "govuk-error-summary__body", 4, "ngFor", "ngForOf"], [1, "govuk-error-summary__body"], [1, "govuk-list", "govuk-error-summary__list"], [1, "validation-error", 3, "click"], [1, "form", 3, "formGroup", "submit"], ["id", "fieldset-case-data"], [2, "display", "none"], ["id", "caseEditForm", 3, "fields", "formGroup", "caseFields", "pageChangeSubject", "valuesChanged", 4, "ngIf"], ["class", "grid-row", 4, "ngIf"], [1, "form-group", "form-group-related"], ["type", "button", 1, "button", "button-secondary", 3, "disabled", "click"], ["type", "submit", 1, "button", 3, "disabled"], [1, "cancel"], ["href", "javascript:void(0)", 3, "click"], ["id", "caseEditForm", 3, "fields", "formGroup", "caseFields", "pageChangeSubject", "valuesChanged"], [1, "grid-row"], [1, "column-two-thirds", "rightBorderSeparator"], ["id", "caseEditForm1", 3, "fields", "formGroup", "caseFields"], [1, "column-one-third"], ["id", "caseEditForm2", 3, "fields", "formGroup", "caseFields"], [3, "eventCompletionParams", "eventCanBeCompleted"]], template: function CaseEditPageComponent_Template(rf, ctx) { if (rf & 1) {
|
|
9984
10255
|
i0.ɵɵtemplate(0, CaseEditPageComponent_ng_container_0_Template, 3, 2, "ng-container", 0);
|
|
9985
10256
|
i0.ɵɵtemplate(1, CaseEditPageComponent_div_1_Template, 1, 0, "div", 1);
|
|
@@ -10018,7 +10289,7 @@ CaseEditPageComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseEditPageCompone
|
|
|
10018
10289
|
templateUrl: 'case-edit-page.html',
|
|
10019
10290
|
styleUrls: ['./case-edit-page.scss']
|
|
10020
10291
|
}]
|
|
10021
|
-
}], function () { return [{ type: CaseEditComponent }, { type: i1$1.ActivatedRoute }, { type: FormValueService }, { type: FormErrorService }, { type: i0.ChangeDetectorRef }, { type: PageValidationService }, { type: i1$3.MatDialog }, { type: CaseFieldService }, { type: CaseEditDataService }, { type: LoadingService }]; }, null); })();
|
|
10292
|
+
}], function () { return [{ type: CaseEditComponent }, { type: i1$1.ActivatedRoute }, { type: FormValueService }, { type: FormErrorService }, { type: i0.ChangeDetectorRef }, { type: PageValidationService }, { type: i1$3.MatDialog }, { type: CaseFieldService }, { type: CaseEditDataService }, { type: LoadingService }, { type: ValidPageListCaseFieldsService }]; }, null); })();
|
|
10022
10293
|
|
|
10023
10294
|
class CallbackErrorsContext {
|
|
10024
10295
|
}
|
|
@@ -12755,7 +13026,6 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
|
|
|
12755
13026
|
}
|
|
12756
13027
|
ngOnInit() {
|
|
12757
13028
|
this.secureModeOn = this.appConfig.getDocumentSecureMode();
|
|
12758
|
-
console.info('writeDocumentField.ngInit: secure mode = ' + this.secureModeOn);
|
|
12759
13029
|
if (this.secureModeOn) {
|
|
12760
13030
|
this.subscribeToCaseDetails();
|
|
12761
13031
|
}
|
|
@@ -12881,7 +13151,6 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
|
|
|
12881
13151
|
var _a, _b;
|
|
12882
13152
|
this.caseTypeId = caseDetails === null || caseDetails === void 0 ? void 0 : caseDetails.case_id;
|
|
12883
13153
|
this.jurisdictionId = (_b = (_a = caseDetails === null || caseDetails === void 0 ? void 0 : caseDetails.case_type) === null || _a === void 0 ? void 0 : _a.jurisdiction) === null || _b === void 0 ? void 0 : _b.id;
|
|
12884
|
-
console.info(`caseNotifier.next: caseType=${this.caseTypeId} juris=${this.jurisdictionId}`);
|
|
12885
13154
|
}
|
|
12886
13155
|
});
|
|
12887
13156
|
this.jurisdictionSubs = this.jurisdictionService.selectedJurisdictionBS.subscribe({
|
|
@@ -12892,7 +13161,6 @@ class WriteDocumentFieldComponent extends AbstractFieldWriteComponent {
|
|
|
12892
13161
|
this.caseTypeId = jurisdiction.currentCaseType.id;
|
|
12893
13162
|
}
|
|
12894
13163
|
}
|
|
12895
|
-
console.info(`selectedJurisdiction.next: caseType=${this.caseTypeId} juris=${this.jurisdictionId}`);
|
|
12896
13164
|
}
|
|
12897
13165
|
});
|
|
12898
13166
|
}
|
|
@@ -14238,6 +14506,17 @@ class WriteJudicialUserFieldComponent extends WriteComplexFieldComponent {
|
|
|
14238
14506
|
this.jurisdiction = caseInfo === null || caseInfo === void 0 ? void 0 : caseInfo.jurisdiction;
|
|
14239
14507
|
this.caseType = caseInfo === null || caseInfo === void 0 ? void 0 : caseInfo.caseType;
|
|
14240
14508
|
}
|
|
14509
|
+
else {
|
|
14510
|
+
// If there is no case info, attempt to get the current jurisdiction and case type via the JurisdictionService
|
|
14511
|
+
this.jurisdictionSubscription = this.jurisdictionService.selectedJurisdictionBS.subscribe((jurisdiction) => {
|
|
14512
|
+
if (jurisdiction) {
|
|
14513
|
+
this.jurisdiction = jurisdiction.id;
|
|
14514
|
+
if (jurisdiction.currentCaseType) {
|
|
14515
|
+
this.caseType = jurisdiction.currentCaseType.id;
|
|
14516
|
+
}
|
|
14517
|
+
}
|
|
14518
|
+
});
|
|
14519
|
+
}
|
|
14241
14520
|
}
|
|
14242
14521
|
displayJudicialUser(judicialUser) {
|
|
14243
14522
|
return judicialUser
|
|
@@ -14283,6 +14562,10 @@ class WriteJudicialUserFieldComponent extends WriteComplexFieldComponent {
|
|
|
14283
14562
|
this.judicialUserControl.setValidators(Validators.required);
|
|
14284
14563
|
}
|
|
14285
14564
|
}
|
|
14565
|
+
ngOnDestroy() {
|
|
14566
|
+
var _a;
|
|
14567
|
+
(_a = this.jurisdictionSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
14568
|
+
}
|
|
14286
14569
|
}
|
|
14287
14570
|
WriteJudicialUserFieldComponent.ɵfac = function WriteJudicialUserFieldComponent_Factory(t) { return new (t || WriteJudicialUserFieldComponent)(i0.ɵɵdirectiveInject(JurisdictionService), i0.ɵɵdirectiveInject(SessionStorageService), i0.ɵɵdirectiveInject(CaseFlagRefdataService), i0.ɵɵdirectiveInject(IsCompoundPipe), i0.ɵɵdirectiveInject(FormValidatorsService)); };
|
|
14288
14571
|
WriteJudicialUserFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteJudicialUserFieldComponent, selectors: [["ccd-write-judicial-user-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 12, vars: 17, consts: [[1, "form-group", 3, "formGroup", "ngClass"], [3, "for"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [1, "form-control", "bottom-30", 3, "id", "formControl", "matAutocomplete", "blur"], ["autoActiveFirstOption", "", 3, "displayWith"], ["autoComplete", "matAutocomplete"], ["class", "select-option", 3, "ngClass", "value", "onSelectionChange", 4, "ngFor", "ngForOf"], ["class", "select-option", "disabled", "", 4, "ngIf"], [1, "form-label"], [1, "form-hint"], [1, "error-message"], [1, "select-option", 3, "ngClass", "value", "onSelectionChange"], ["disabled", "", 1, "select-option"]], template: function WriteJudicialUserFieldComponent_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -18968,14 +19251,22 @@ CaseFileViewFolderDocumentActionsComponent.ɵcmp = i0.ɵɵdefineComponent({ type
|
|
|
18968
19251
|
type: Output
|
|
18969
19252
|
}] }); })();
|
|
18970
19253
|
|
|
19254
|
+
var CaseFileViewSortColumns;
|
|
19255
|
+
(function (CaseFileViewSortColumns) {
|
|
19256
|
+
CaseFileViewSortColumns[CaseFileViewSortColumns["DOCUMENT_NAME"] = 0] = "DOCUMENT_NAME";
|
|
19257
|
+
CaseFileViewSortColumns[CaseFileViewSortColumns["DOCUMENT_UPLOAD_TIMESTAMP"] = 1] = "DOCUMENT_UPLOAD_TIMESTAMP";
|
|
19258
|
+
})(CaseFileViewSortColumns || (CaseFileViewSortColumns = {}));
|
|
19259
|
+
|
|
18971
19260
|
class CaseFileViewFolderSortComponent {
|
|
18972
19261
|
constructor() {
|
|
18973
19262
|
this.isOpen = false;
|
|
18974
19263
|
this.sortAscending = new EventEmitter();
|
|
18975
19264
|
this.sortDescending = new EventEmitter();
|
|
18976
19265
|
this.overlayMenuItems = [
|
|
18977
|
-
{ actionText: 'A to Z ascending', iconSrc: '/assets/img/sort/sort-down-arrow.svg', actionFn: () => this.sortAscending.emit() },
|
|
18978
|
-
{ actionText: 'Z to A descending', iconSrc: '/assets/img/sort/sort-up-arrow.svg', actionFn: () => this.sortDescending.emit() },
|
|
19266
|
+
{ actionText: 'A to Z ascending', iconSrc: '/assets/img/sort/sort-down-arrow.svg', actionFn: () => this.sortAscending.emit(CaseFileViewSortColumns.DOCUMENT_NAME) },
|
|
19267
|
+
{ actionText: 'Z to A descending', iconSrc: '/assets/img/sort/sort-up-arrow.svg', actionFn: () => this.sortDescending.emit(CaseFileViewSortColumns.DOCUMENT_NAME) },
|
|
19268
|
+
{ actionText: 'Recent first', iconSrc: '/assets/img/sort/sort-down-arrow.svg', actionFn: () => this.sortDescending.emit(CaseFileViewSortColumns.DOCUMENT_UPLOAD_TIMESTAMP) },
|
|
19269
|
+
{ actionText: 'Oldest first', iconSrc: '/assets/img/sort/sort-up-arrow.svg', actionFn: () => this.sortAscending.emit(CaseFileViewSortColumns.DOCUMENT_UPLOAD_TIMESTAMP) },
|
|
18979
19270
|
];
|
|
18980
19271
|
}
|
|
18981
19272
|
}
|
|
@@ -19038,48 +19329,54 @@ class DocumentTreeNode {
|
|
|
19038
19329
|
};
|
|
19039
19330
|
return countChildren(this.children);
|
|
19040
19331
|
}
|
|
19041
|
-
sortChildrenAscending() {
|
|
19332
|
+
sortChildrenAscending(column, sortOrder) {
|
|
19042
19333
|
var _a, _b;
|
|
19043
19334
|
const sortAscending = () => {
|
|
19044
19335
|
return (a, b) => {
|
|
19045
|
-
const
|
|
19046
|
-
const
|
|
19336
|
+
const nodeA = this.getNodeToSort(a, column, sortOrder);
|
|
19337
|
+
const nodeB = this.getNodeToSort(b, column, sortOrder);
|
|
19047
19338
|
if (a.type === DocumentTreeNodeType.FOLDER || b.type === DocumentTreeNodeType.FOLDER) {
|
|
19048
19339
|
return 0;
|
|
19049
19340
|
}
|
|
19050
|
-
if (
|
|
19341
|
+
if (!nodeA || !nodeB) {
|
|
19342
|
+
return 0;
|
|
19343
|
+
}
|
|
19344
|
+
if (nodeA < nodeB) {
|
|
19051
19345
|
return -1;
|
|
19052
19346
|
}
|
|
19053
|
-
if (
|
|
19347
|
+
if (nodeA > nodeB) {
|
|
19054
19348
|
return 1;
|
|
19055
19349
|
}
|
|
19056
19350
|
};
|
|
19057
19351
|
};
|
|
19058
19352
|
(_a = this.children) === null || _a === void 0 ? void 0 : _a.sort(sortAscending());
|
|
19059
19353
|
(_b = this.children) === null || _b === void 0 ? void 0 : _b.forEach((childNodes) => {
|
|
19060
|
-
childNodes.sortChildrenAscending();
|
|
19354
|
+
childNodes.sortChildrenAscending(column, sortOrder);
|
|
19061
19355
|
});
|
|
19062
19356
|
}
|
|
19063
|
-
sortChildrenDescending() {
|
|
19357
|
+
sortChildrenDescending(column, sortOrder) {
|
|
19064
19358
|
var _a, _b;
|
|
19065
19359
|
const sortDescending = () => {
|
|
19066
19360
|
return (a, b) => {
|
|
19067
|
-
const
|
|
19068
|
-
const
|
|
19361
|
+
const nodeA = this.getNodeToSort(a, column, sortOrder);
|
|
19362
|
+
const nodeB = this.getNodeToSort(b, column, sortOrder);
|
|
19069
19363
|
if (a.type === DocumentTreeNodeType.FOLDER || b.type === DocumentTreeNodeType.FOLDER) {
|
|
19070
19364
|
return 0;
|
|
19071
19365
|
}
|
|
19072
|
-
if (
|
|
19366
|
+
if (!nodeA || !nodeB) {
|
|
19367
|
+
return 0;
|
|
19368
|
+
}
|
|
19369
|
+
if (nodeA > nodeB) {
|
|
19073
19370
|
return -1;
|
|
19074
19371
|
}
|
|
19075
|
-
if (
|
|
19372
|
+
if (nodeA < nodeB) {
|
|
19076
19373
|
return 1;
|
|
19077
19374
|
}
|
|
19078
19375
|
};
|
|
19079
19376
|
};
|
|
19080
19377
|
(_a = this.children) === null || _a === void 0 ? void 0 : _a.sort(sortDescending());
|
|
19081
19378
|
(_b = this.children) === null || _b === void 0 ? void 0 : _b.forEach((childNodes) => {
|
|
19082
|
-
childNodes.sortChildrenDescending();
|
|
19379
|
+
childNodes.sortChildrenDescending(column, sortOrder);
|
|
19083
19380
|
});
|
|
19084
19381
|
}
|
|
19085
19382
|
get flattenedAll() {
|
|
@@ -19102,6 +19399,24 @@ class DocumentTreeNode {
|
|
|
19102
19399
|
}).flat()
|
|
19103
19400
|
];
|
|
19104
19401
|
}
|
|
19402
|
+
getNodeToSort(node, column, sortOrder) {
|
|
19403
|
+
if (column === CaseFileViewSortColumns.DOCUMENT_NAME) {
|
|
19404
|
+
return (node === null || node === void 0 ? void 0 : node.name) ? node.name.toUpperCase()
|
|
19405
|
+
: '';
|
|
19406
|
+
}
|
|
19407
|
+
if (column === CaseFileViewSortColumns.DOCUMENT_UPLOAD_TIMESTAMP) {
|
|
19408
|
+
if (node === null || node === void 0 ? void 0 : node.upload_timestamp) {
|
|
19409
|
+
return new Date(node.upload_timestamp);
|
|
19410
|
+
}
|
|
19411
|
+
if (sortOrder === SortOrder.ASCENDING) {
|
|
19412
|
+
return new Date(9999, 12, 31);
|
|
19413
|
+
}
|
|
19414
|
+
if (sortOrder === SortOrder.DESCENDING) {
|
|
19415
|
+
return new Date(1111, 1, 1);
|
|
19416
|
+
}
|
|
19417
|
+
}
|
|
19418
|
+
return '';
|
|
19419
|
+
}
|
|
19105
19420
|
}
|
|
19106
19421
|
__decorate([
|
|
19107
19422
|
Type(() => DocumentTreeNode),
|
|
@@ -19128,10 +19443,14 @@ function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template(rf, c
|
|
|
19128
19443
|
i0.ɵɵelementEnd();
|
|
19129
19444
|
i0.ɵɵelementStart(4, "span", 16);
|
|
19130
19445
|
i0.ɵɵtext(5);
|
|
19446
|
+
i0.ɵɵelement(6, "br");
|
|
19447
|
+
i0.ɵɵelementStart(7, "span", 17);
|
|
19448
|
+
i0.ɵɵtext(8);
|
|
19131
19449
|
i0.ɵɵelementEnd();
|
|
19132
|
-
i0.ɵɵ
|
|
19133
|
-
i0.ɵɵelementStart(
|
|
19134
|
-
i0.ɵɵ
|
|
19450
|
+
i0.ɵɵelementEnd();
|
|
19451
|
+
i0.ɵɵelementStart(9, "div", 18);
|
|
19452
|
+
i0.ɵɵelementStart(10, "ccd-case-file-view-folder-document-actions", 19);
|
|
19453
|
+
i0.ɵɵlistener("changeFolderAction", function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template_ccd_case_file_view_folder_document_actions_changeFolderAction_10_listener() { i0.ɵɵrestoreView(_r6); const node_r4 = ctx.$implicit; const ctx_r7 = i0.ɵɵnextContext(2); return ctx_r7.triggerDocumentAction("changeFolder", node_r4); })("openInANewTabAction", function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template_ccd_case_file_view_folder_document_actions_openInANewTabAction_10_listener() { i0.ɵɵrestoreView(_r6); const node_r4 = ctx.$implicit; const ctx_r8 = i0.ɵɵnextContext(2); return ctx_r8.triggerDocumentAction("openInANewTab", node_r4); })("downloadAction", function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template_ccd_case_file_view_folder_document_actions_downloadAction_10_listener() { i0.ɵɵrestoreView(_r6); const node_r4 = ctx.$implicit; const ctx_r9 = i0.ɵɵnextContext(2); return ctx_r9.triggerDocumentAction("download", node_r4); })("printAction", function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template_ccd_case_file_view_folder_document_actions_printAction_10_listener() { i0.ɵɵrestoreView(_r6); const node_r4 = ctx.$implicit; const ctx_r10 = i0.ɵɵnextContext(2); return ctx_r10.triggerDocumentAction("print", node_r4); });
|
|
19135
19454
|
i0.ɵɵelementEnd();
|
|
19136
19455
|
i0.ɵɵelementEnd();
|
|
19137
19456
|
i0.ɵɵelementEnd();
|
|
@@ -19142,25 +19461,27 @@ function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template(rf, c
|
|
|
19142
19461
|
i0.ɵɵadvance(1);
|
|
19143
19462
|
i0.ɵɵclassProp("node--selected", (ctx_r2.selectedNodeItem == null ? null : ctx_r2.selectedNodeItem.name) === node_r4.name);
|
|
19144
19463
|
i0.ɵɵadvance(4);
|
|
19145
|
-
i0.ɵɵ
|
|
19464
|
+
i0.ɵɵtextInterpolate1(" ", node_r4.name, " ");
|
|
19465
|
+
i0.ɵɵadvance(3);
|
|
19466
|
+
i0.ɵɵtextInterpolate(node_r4.upload_timestamp);
|
|
19146
19467
|
i0.ɵɵadvance(2);
|
|
19147
19468
|
i0.ɵɵproperty("allowMoving", ctx_r2.allowMoving);
|
|
19148
19469
|
} }
|
|
19149
19470
|
function CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_5_Template(rf, ctx) { if (rf & 1) {
|
|
19150
|
-
i0.ɵɵelementStart(0, "cdk-nested-tree-node",
|
|
19151
|
-
i0.ɵɵelementStart(1, "button",
|
|
19152
|
-
i0.ɵɵelementStart(2, "div",
|
|
19153
|
-
i0.ɵɵelement(3, "img",
|
|
19154
|
-
i0.ɵɵelementStart(4, "span",
|
|
19471
|
+
i0.ɵɵelementStart(0, "cdk-nested-tree-node", 20);
|
|
19472
|
+
i0.ɵɵelementStart(1, "button", 21);
|
|
19473
|
+
i0.ɵɵelementStart(2, "div", 22);
|
|
19474
|
+
i0.ɵɵelement(3, "img", 23);
|
|
19475
|
+
i0.ɵɵelementStart(4, "span", 24);
|
|
19155
19476
|
i0.ɵɵtext(5);
|
|
19156
19477
|
i0.ɵɵelementEnd();
|
|
19157
19478
|
i0.ɵɵelementEnd();
|
|
19158
|
-
i0.ɵɵelementStart(6, "span",
|
|
19479
|
+
i0.ɵɵelementStart(6, "span", 25);
|
|
19159
19480
|
i0.ɵɵtext(7);
|
|
19160
19481
|
i0.ɵɵelementEnd();
|
|
19161
19482
|
i0.ɵɵelementEnd();
|
|
19162
19483
|
i0.ɵɵelementStart(8, "div");
|
|
19163
|
-
i0.ɵɵelementContainer(9,
|
|
19484
|
+
i0.ɵɵelementContainer(9, 26);
|
|
19164
19485
|
i0.ɵɵelementEnd();
|
|
19165
19486
|
i0.ɵɵelementEnd();
|
|
19166
19487
|
} if (rf & 2) {
|
|
@@ -19182,7 +19503,7 @@ function CaseFileViewFolderComponent_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
19182
19503
|
i0.ɵɵtemplate(1, CaseFileViewFolderComponent_div_8_div_1_Template, 2, 0, "div", 8);
|
|
19183
19504
|
i0.ɵɵelementStart(2, "div");
|
|
19184
19505
|
i0.ɵɵelementStart(3, "cdk-tree", 9);
|
|
19185
|
-
i0.ɵɵtemplate(4, CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template,
|
|
19506
|
+
i0.ɵɵtemplate(4, CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_4_Template, 11, 5, "cdk-nested-tree-node", 10);
|
|
19186
19507
|
i0.ɵɵtemplate(5, CaseFileViewFolderComponent_div_8_cdk_nested_tree_node_5_Template, 10, 6, "cdk-nested-tree-node", 11);
|
|
19187
19508
|
i0.ɵɵelementEnd();
|
|
19188
19509
|
i0.ɵɵelementEnd();
|
|
@@ -19270,6 +19591,7 @@ class CaseFileViewFolderComponent {
|
|
|
19270
19591
|
documentTreeNode.document_filename = document.document_filename;
|
|
19271
19592
|
documentTreeNode.document_binary_url = document.document_binary_url;
|
|
19272
19593
|
documentTreeNode.attribute_path = document.attribute_path;
|
|
19594
|
+
documentTreeNode.upload_timestamp = document.upload_timestamp ? moment(document.upload_timestamp).format('DD MMM YYYY') : '';
|
|
19273
19595
|
documentsToReturn.push(documentTreeNode);
|
|
19274
19596
|
});
|
|
19275
19597
|
return documentsToReturn;
|
|
@@ -19283,6 +19605,7 @@ class CaseFileViewFolderComponent {
|
|
|
19283
19605
|
documentTreeNode.document_filename = document.document_filename;
|
|
19284
19606
|
documentTreeNode.document_binary_url = document.document_binary_url;
|
|
19285
19607
|
documentTreeNode.attribute_path = document.attribute_path;
|
|
19608
|
+
documentTreeNode.upload_timestamp = document.upload_timestamp ? moment(document.upload_timestamp).format('DD MMM YYYY') : '';
|
|
19286
19609
|
documents.push(documentTreeNode);
|
|
19287
19610
|
});
|
|
19288
19611
|
const uncategorisedNode = new DocumentTreeNode();
|
|
@@ -19337,16 +19660,16 @@ class CaseFileViewFolderComponent {
|
|
|
19337
19660
|
return;
|
|
19338
19661
|
}
|
|
19339
19662
|
}
|
|
19340
|
-
|
|
19663
|
+
sortDataSourceAscending(column) {
|
|
19341
19664
|
const sortedData = this.nestedDataSource.map(item => {
|
|
19342
|
-
item.sortChildrenAscending();
|
|
19665
|
+
item.sortChildrenAscending(column, SortOrder.ASCENDING);
|
|
19343
19666
|
return item;
|
|
19344
19667
|
});
|
|
19345
19668
|
this.updateNodeData(sortedData);
|
|
19346
19669
|
}
|
|
19347
|
-
|
|
19670
|
+
sortDataSourceDescending(column) {
|
|
19348
19671
|
const sortedData = this.nestedDataSource.map(item => {
|
|
19349
|
-
item.sortChildrenDescending();
|
|
19672
|
+
item.sortChildrenDescending(column, SortOrder.DESCENDING);
|
|
19350
19673
|
return item;
|
|
19351
19674
|
});
|
|
19352
19675
|
this.updateNodeData(sortedData);
|
|
@@ -19404,7 +19727,7 @@ CaseFileViewFolderComponent.UNCATEGORISED_DOCUMENTS_TITLE = 'Uncategorised docum
|
|
|
19404
19727
|
CaseFileViewFolderComponent.DOCUMENT_SEARCH_FORM_CONTROL_NAME = 'documentSearchFormControl';
|
|
19405
19728
|
CaseFileViewFolderComponent.MINIMUM_SEARCH_CHARACTERS = 1;
|
|
19406
19729
|
CaseFileViewFolderComponent.ɵfac = function CaseFileViewFolderComponent_Factory(t) { return new (t || CaseFileViewFolderComponent)(i0.ɵɵdirectiveInject(WindowService), i0.ɵɵdirectiveInject(i1$1.Router), i0.ɵɵdirectiveInject(DocumentManagementService), i0.ɵɵdirectiveInject(i1$3.MatDialog)); };
|
|
19407
|
-
CaseFileViewFolderComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], inputs: { categoriesAndDocuments: "categoriesAndDocuments", allowMoving: "allowMoving" }, outputs: { clickedDocument: "clickedDocument", moveDocument: "moveDocument" }, decls: 9, vars: 3, consts: [[1, "document-filter-container"], [1, "form-group", "document-filter", 3, "formGroup"], ["type", "search", "id", "document-search", "name", "documentSearchFormControl", "formControlName", "documentSearchFormControl", "placeholder", "Search by document name", 1, "form-control", "document-search"], [1, "document-folders-header"], [1, "document-folders-header__title"], [3, "sortAscending", "sortDescending"], ["class", "document-tree-container", 4, "ngIf"], [1, "document-tree-container"], [4, "ngIf"], [3, "dataSource", "treeControl"], ["class", "document-tree-container__node document-tree-container__node--document", 4, "cdkTreeNodeDef"], ["class", "document-tree-container__node document-tree-container__folder", 4, "cdkTreeNodeDef", "cdkTreeNodeDefWhen"], [1, "document-tree-container__node", "document-tree-container__node--document"], [1, "node", 3, "click"], ["disabled", "", 1, "node__icon"], ["src", "/assets/img/case-file-view/case-file-view-document.svg", "alt", "Document icon", 1, "node__iconImg"], [1, "node__name", "node-name-document"], [1, "node__document-options"], [3, "allowMoving", "changeFolderAction", "openInANewTabAction", "downloadAction", "printAction"], [1, "document-tree-container__node", "document-tree-container__folder"], ["cdkTreeNodeToggle", "", 1, "node"], [1, "node__icon"], ["alt", "Folder icon", 1, "node__iconImg", 3, "src"], [1, "node__count"], [1, "node__name", "node__name--folder"], ["cdkTreeNodeOutlet", ""]], template: function CaseFileViewFolderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
19730
|
+
CaseFileViewFolderComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewFolderComponent, selectors: [["ccd-case-file-view-folder"]], inputs: { categoriesAndDocuments: "categoriesAndDocuments", allowMoving: "allowMoving" }, outputs: { clickedDocument: "clickedDocument", moveDocument: "moveDocument" }, decls: 9, vars: 3, consts: [[1, "document-filter-container"], [1, "form-group", "document-filter", 3, "formGroup"], ["type", "search", "id", "document-search", "name", "documentSearchFormControl", "formControlName", "documentSearchFormControl", "placeholder", "Search by document name", 1, "form-control", "document-search"], [1, "document-folders-header"], [1, "document-folders-header__title"], [3, "sortAscending", "sortDescending"], ["class", "document-tree-container", 4, "ngIf"], [1, "document-tree-container"], [4, "ngIf"], [3, "dataSource", "treeControl"], ["class", "document-tree-container__node document-tree-container__node--document", 4, "cdkTreeNodeDef"], ["class", "document-tree-container__node document-tree-container__folder", 4, "cdkTreeNodeDef", "cdkTreeNodeDefWhen"], [1, "document-tree-container__node", "document-tree-container__node--document"], [1, "node", 3, "click"], ["disabled", "", 1, "node__icon"], ["src", "/assets/img/case-file-view/case-file-view-document.svg", "alt", "Document icon", 1, "node__iconImg"], [1, "node__name", "node-name-document"], [1, "node__document-upload-timestamp"], [1, "node__document-options"], [3, "allowMoving", "changeFolderAction", "openInANewTabAction", "downloadAction", "printAction"], [1, "document-tree-container__node", "document-tree-container__folder"], ["cdkTreeNodeToggle", "", 1, "node"], [1, "node__icon"], ["alt", "Folder icon", 1, "node__iconImg", 3, "src"], [1, "node__count"], [1, "node__name", "node__name--folder"], ["cdkTreeNodeOutlet", ""]], template: function CaseFileViewFolderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
19408
19731
|
i0.ɵɵelementStart(0, "div", 0);
|
|
19409
19732
|
i0.ɵɵelementStart(1, "div", 1);
|
|
19410
19733
|
i0.ɵɵelement(2, "input", 2);
|
|
@@ -19416,7 +19739,7 @@ CaseFileViewFolderComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewF
|
|
|
19416
19739
|
i0.ɵɵelementEnd();
|
|
19417
19740
|
i0.ɵɵelementStart(6, "div");
|
|
19418
19741
|
i0.ɵɵelementStart(7, "ccd-case-file-view-folder-sort", 5);
|
|
19419
|
-
i0.ɵɵlistener("sortAscending", function CaseFileViewFolderComponent_Template_ccd_case_file_view_folder_sort_sortAscending_7_listener() { return ctx.
|
|
19742
|
+
i0.ɵɵlistener("sortAscending", function CaseFileViewFolderComponent_Template_ccd_case_file_view_folder_sort_sortAscending_7_listener($event) { return ctx.sortDataSourceAscending($event); })("sortDescending", function CaseFileViewFolderComponent_Template_ccd_case_file_view_folder_sort_sortDescending_7_listener($event) { return ctx.sortDataSourceDescending($event); });
|
|
19420
19743
|
i0.ɵɵelementEnd();
|
|
19421
19744
|
i0.ɵɵelementEnd();
|
|
19422
19745
|
i0.ɵɵelementEnd();
|
|
@@ -19428,7 +19751,7 @@ CaseFileViewFolderComponent.ɵcmp = i0.ɵɵdefineComponent({ type: CaseFileViewF
|
|
|
19428
19751
|
i0.ɵɵtextInterpolate1("Documents (", ctx.documentCount, ")");
|
|
19429
19752
|
i0.ɵɵadvance(3);
|
|
19430
19753
|
i0.ɵɵproperty("ngIf", ctx.documentTreeData);
|
|
19431
|
-
} }, directives: [i2$1.NgControlStatusGroup, i2$1.FormGroupDirective, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.FormControlName, CaseFileViewFolderSortComponent, i2.NgIf, i7.CdkTree, i7.CdkTreeNodeDef, i7.CdkNestedTreeNode, CaseFileViewFolderDocumentActionsComponent, i7.CdkTreeNodeToggle, i7.CdkTreeNodeOutlet], styles: ["[_nghost-%COMP%]{display:flex;height:100%;flex-direction:column}[_nghost-%COMP%] .document-tree-container[_ngcontent-%COMP%]{flex:1 0}.document-filter-container[_ngcontent-%COMP%]{border-bottom:2px solid #c9c9c9}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%]{padding:10px}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%] .document-search[_ngcontent-%COMP%]{background:url(/assets/images/icon-search-black.svg) no-repeat 100% #fff;background-position-x:calc(100% - 4px);padding-right:30px;width:100%}.document-filter-container[_ngcontent-%COMP%] .documents-title[_ngcontent-%COMP%]{height:30%;margin-left:8px;font-weight:700}.document-tree-container[_ngcontent-%COMP%]{padding:4px;overflow-x:hidden;overflow-y:scroll}.document-tree-container__node[_ngcontent-%COMP%]{display:block}.document-tree-container__node[_ngcontent-%COMP%] .document-tree-container__node[_ngcontent-%COMP%]{padding-left:40px}.document-tree-container[_ngcontent-%COMP%] .document-tree-invisible[_ngcontent-%COMP%]{display:none}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar{width:7px}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border:4px solid transparent;background-clip:padding-box;border-radius:9999px;background-color:#aaa}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-button{display:none}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-track-piece{background:#eee}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#ccc}.document-folders-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #c9c9c9;padding:10px}.document-folders-header__title[_ngcontent-%COMP%]{font-weight:700}.node[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%;padding:
|
|
19754
|
+
} }, directives: [i2$1.NgControlStatusGroup, i2$1.FormGroupDirective, i2$1.DefaultValueAccessor, i2$1.NgControlStatus, i2$1.FormControlName, CaseFileViewFolderSortComponent, i2.NgIf, i7.CdkTree, i7.CdkTreeNodeDef, i7.CdkNestedTreeNode, CaseFileViewFolderDocumentActionsComponent, i7.CdkTreeNodeToggle, i7.CdkTreeNodeOutlet], styles: ["[_nghost-%COMP%]{display:flex;height:100%;flex-direction:column}[_nghost-%COMP%] .document-tree-container[_ngcontent-%COMP%]{flex:1 0}.document-filter-container[_ngcontent-%COMP%]{border-bottom:2px solid #c9c9c9}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%]{padding:10px}.document-filter-container[_ngcontent-%COMP%] .document-filter[_ngcontent-%COMP%] .document-search[_ngcontent-%COMP%]{background:url(/assets/images/icon-search-black.svg) no-repeat 100% #fff;background-position-x:calc(100% - 4px);padding-right:30px;width:100%}.document-filter-container[_ngcontent-%COMP%] .documents-title[_ngcontent-%COMP%]{height:30%;margin-left:8px;font-weight:700}.document-tree-container[_ngcontent-%COMP%]{padding:4px;overflow-x:hidden;overflow-y:scroll}.document-tree-container__node[_ngcontent-%COMP%]{display:block}.document-tree-container__node[_ngcontent-%COMP%] .document-tree-container__node[_ngcontent-%COMP%]{padding-left:40px}.document-tree-container[_ngcontent-%COMP%] .document-tree-invisible[_ngcontent-%COMP%]{display:none}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar{width:7px}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border:4px solid transparent;background-clip:padding-box;border-radius:9999px;background-color:#aaa}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-button{display:none}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-track-piece{background:#eee}.document-tree-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#ccc}.document-folders-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid #c9c9c9;padding:10px}.document-folders-header__title[_ngcontent-%COMP%]{font-weight:700}.node[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%;padding:10px;background:none;border:0;cursor:pointer;white-space:nowrap}.node--selected[_ngcontent-%COMP%]{background:#fff2cc}.node__icon[_ngcontent-%COMP%]{position:relative;display:inline-block}.node__count[_ngcontent-%COMP%]{color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:.875rem;padding-top:4px}.node__iconImg[_ngcontent-%COMP%]{display:block;height:30px;width:30px}.node__name[_ngcontent-%COMP%]{margin-left:6px;font-size:1rem;overflow:hidden;text-overflow:ellipsis}.node__document-options[_ngcontent-%COMP%]{margin-left:auto;margin-right:0}.node__document-upload-timestamp[_ngcontent-%COMP%]{font-size:.8rem;float:left;padding-left:10px}"] });
|
|
19432
19755
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaseFileViewFolderComponent, [{
|
|
19433
19756
|
type: Component,
|
|
19434
19757
|
args: [{
|
|
@@ -21149,13 +21472,6 @@ const ɵReadComplexFieldTableComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInh
|
|
|
21149
21472
|
type: Input
|
|
21150
21473
|
}] }); })();
|
|
21151
21474
|
|
|
21152
|
-
var SortOrder;
|
|
21153
|
-
(function (SortOrder) {
|
|
21154
|
-
SortOrder[SortOrder["ASCENDING"] = 0] = "ASCENDING";
|
|
21155
|
-
SortOrder[SortOrder["DESCENDING"] = 1] = "DESCENDING";
|
|
21156
|
-
SortOrder[SortOrder["UNSORTED"] = 2] = "UNSORTED";
|
|
21157
|
-
})(SortOrder || (SortOrder = {}));
|
|
21158
|
-
|
|
21159
21475
|
function ReadComplexFieldCollectionTableComponent_th_10_Template(rf, ctx) { if (rf & 1) {
|
|
21160
21476
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
21161
21477
|
i0.ɵɵelementStart(0, "th", 6);
|
|
@@ -24930,7 +25246,8 @@ CaseEditorModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
|
24930
25246
|
JudicialworkerService,
|
|
24931
25247
|
CaseworkerService,
|
|
24932
25248
|
SessionStorageService,
|
|
24933
|
-
EventCompletionStateMachineService
|
|
25249
|
+
EventCompletionStateMachineService,
|
|
25250
|
+
ValidPageListCaseFieldsService
|
|
24934
25251
|
], imports: [[
|
|
24935
25252
|
CommonModule,
|
|
24936
25253
|
RouterModule,
|
|
@@ -25043,7 +25360,8 @@ CaseEditorModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
|
|
|
25043
25360
|
JudicialworkerService,
|
|
25044
25361
|
CaseworkerService,
|
|
25045
25362
|
SessionStorageService,
|
|
25046
|
-
EventCompletionStateMachineService
|
|
25363
|
+
EventCompletionStateMachineService,
|
|
25364
|
+
ValidPageListCaseFieldsService
|
|
25047
25365
|
]
|
|
25048
25366
|
}]
|
|
25049
25367
|
}], null, null); })();
|
|
@@ -26004,9 +26322,20 @@ class WorkbasketFiltersComponent {
|
|
|
26004
26322
|
if (init) {
|
|
26005
26323
|
this.windowService.setLocalStorage(SAVED_QUERY_PARAM_LOC_STORAGE, JSON.stringify(queryParams));
|
|
26006
26324
|
if (Object.keys(this.formGroup.controls).length > 0) {
|
|
26325
|
+
// Find all "special case" JudicialUser FormControl keys and remove the corresponding values from the
|
|
26326
|
+
// FormGroup value because these values are not intended to be stored and subsequently passed as query string
|
|
26327
|
+
// parameters when calling searchCases API endpoint
|
|
26328
|
+
const judicialUserControlValuesToRemove = Object.keys(this.formGroup.controls).filter((key) => key.endsWith('_judicialUserControl'));
|
|
26329
|
+
judicialUserControlValuesToRemove.forEach((controlKey) => delete this.formGroup.value[controlKey]);
|
|
26007
26330
|
this.windowService.setLocalStorage(FORM_GROUP_VAL_LOC_STORAGE, JSON.stringify(this.formGroup.value));
|
|
26008
26331
|
}
|
|
26009
26332
|
}
|
|
26333
|
+
// Announce selected jurisdiction via JurisdictionService
|
|
26334
|
+
if (this.selected.jurisdiction) {
|
|
26335
|
+
// Set the selected case type as the current case type of the selected jurisdiction
|
|
26336
|
+
this.selected.jurisdiction.currentCaseType = this.selected.caseType;
|
|
26337
|
+
this.jurisdictionService.announceSelectedJurisdiction(this.selected.jurisdiction);
|
|
26338
|
+
}
|
|
26010
26339
|
// Apply filters
|
|
26011
26340
|
this.onApply.emit({ selected: this.selected, queryParams });
|
|
26012
26341
|
this.setFocusToTop();
|
|
@@ -32482,12 +32811,12 @@ class SearchResultComponent {
|
|
|
32482
32811
|
sort(column) {
|
|
32483
32812
|
if (this.consumerSortingEnabled) {
|
|
32484
32813
|
if (column.case_field_id !== this.consumerSortParameters.column) {
|
|
32485
|
-
this.consumerSortParameters.order = SortOrder
|
|
32814
|
+
this.consumerSortParameters.order = SortOrder.DESCENDING;
|
|
32486
32815
|
}
|
|
32487
32816
|
else {
|
|
32488
|
-
this.consumerSortParameters.order = this.consumerSortParameters.order === SortOrder
|
|
32489
|
-
SortOrder
|
|
32490
|
-
SortOrder
|
|
32817
|
+
this.consumerSortParameters.order = this.consumerSortParameters.order === SortOrder.DESCENDING ?
|
|
32818
|
+
SortOrder.ASCENDING :
|
|
32819
|
+
SortOrder.DESCENDING;
|
|
32491
32820
|
}
|
|
32492
32821
|
this.consumerSortParameters.column = column.case_field_id;
|
|
32493
32822
|
this.consumerSortParameters.type = column.case_field_type.type;
|
|
@@ -32498,10 +32827,10 @@ class SearchResultComponent {
|
|
|
32498
32827
|
return;
|
|
32499
32828
|
}
|
|
32500
32829
|
else if (this.isSortAscending(column)) {
|
|
32501
|
-
this.sortParameters = new SortParameters(this.comparator(column), SortOrder
|
|
32830
|
+
this.sortParameters = new SortParameters(this.comparator(column), SortOrder.ASCENDING);
|
|
32502
32831
|
}
|
|
32503
32832
|
else {
|
|
32504
|
-
this.sortParameters = new SortParameters(this.comparator(column), SortOrder
|
|
32833
|
+
this.sortParameters = new SortParameters(this.comparator(column), SortOrder.DESCENDING);
|
|
32505
32834
|
}
|
|
32506
32835
|
}
|
|
32507
32836
|
}
|
|
@@ -32509,7 +32838,7 @@ class SearchResultComponent {
|
|
|
32509
32838
|
let condition = false;
|
|
32510
32839
|
if (this.consumerSortingEnabled) {
|
|
32511
32840
|
const isColumn = column.case_field_id === this.consumerSortParameters.column;
|
|
32512
|
-
const isAscending = this.consumerSortParameters.order === SortOrder
|
|
32841
|
+
const isAscending = this.consumerSortParameters.order === SortOrder.ASCENDING;
|
|
32513
32842
|
condition = !isColumn || (isColumn && isAscending);
|
|
32514
32843
|
}
|
|
32515
32844
|
else {
|
|
@@ -32543,13 +32872,13 @@ class SearchResultComponent {
|
|
|
32543
32872
|
}
|
|
32544
32873
|
isSortAscending(column) {
|
|
32545
32874
|
const currentSortOrder = this.currentSortOrder(column);
|
|
32546
|
-
return currentSortOrder === SortOrder
|
|
32875
|
+
return currentSortOrder === SortOrder.UNSORTED || currentSortOrder === SortOrder.DESCENDING;
|
|
32547
32876
|
}
|
|
32548
32877
|
currentSortOrder(column) {
|
|
32549
32878
|
let isAscending = true;
|
|
32550
32879
|
let isDescending = true;
|
|
32551
32880
|
if (this.comparator(column) === undefined) {
|
|
32552
|
-
return SortOrder
|
|
32881
|
+
return SortOrder.UNSORTED;
|
|
32553
32882
|
}
|
|
32554
32883
|
for (let i = 0; i < this.resultView.results.length - 1; i++) {
|
|
32555
32884
|
const comparison = this.comparator(column).compare(this.resultView.results[i], this.resultView.results[i + 1]);
|
|
@@ -32559,7 +32888,7 @@ class SearchResultComponent {
|
|
|
32559
32888
|
break;
|
|
32560
32889
|
}
|
|
32561
32890
|
}
|
|
32562
|
-
return isAscending ? SortOrder
|
|
32891
|
+
return isAscending ? SortOrder.ASCENDING : isDescending ? SortOrder.DESCENDING : SortOrder.UNSORTED;
|
|
32563
32892
|
}
|
|
32564
32893
|
getFirstResult() {
|
|
32565
32894
|
const currentPage = (this.selected.page ? this.selected.page : 1);
|
|
@@ -32955,5 +33284,5 @@ class TestRouteSnapshotBuilder {
|
|
|
32955
33284
|
* Generated bundle index. Do not edit.
|
|
32956
33285
|
*/
|
|
32957
33286
|
|
|
32958
|
-
export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BeforeYouStartComponent, BodyComponent, BrowserService, CCDCaseLinkType, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagFieldState, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagText, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, ESQueryType, Embedded, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FocusElementDirective, FocusElementModule, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LinkCaseReason, LinkCasesComponent, LinkCasesFromReasonValuePipe, LinkCasesReasonValuePipe, LinkDetails, LinkFromReason, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MEDIA_VIEWER_LOCALSTORAGE_KEY, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, MarkdownComponent, MoneyGbpInputComponent, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicMultiSelectListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RetryUtil, RouterHelperService, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionStorageService, ShowCondition, SortOrder
|
|
33287
|
+
export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, Activity, ActivityBannerComponent, ActivityComponent, ActivityIconComponent, ActivityInfo, ActivityModule, ActivityPollingService, ActivityService, AddCommentsComponent, AddCommentsErrorMessage, AddCommentsStep, AddressModel, AddressOption, AddressesService, Alert, AlertComponent, AlertIconClassPipe, AlertMessageType, AlertModule, AlertService, AuthService, Banner, BannersService, BeforeYouStartComponent, BodyComponent, BrowserService, CCDCaseLinkType, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagFieldState, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, CaseFlagText, CaseFlagWizardStepTitle, CaseFullAccessViewComponent, CaseHeaderComponent, CaseHeaderModule, CaseHistoryViewerFieldComponent, CaseLink, CaseLinkResponse, CaseListComponent, CaseListFiltersComponent, CaseListFiltersModule, CaseListModule, CaseNotifier, CasePaymentHistoryViewerFieldComponent, CasePrintDocument, CasePrinterComponent, CaseProgressComponent, CaseReferencePipe, CaseResolver, CaseSpecificAccessRequestComponent, CaseSpecificAccessSuccessComponent, CaseState, CaseTab, CaseTimelineComponent, CaseTimelineDisplayMode, CaseTimelineModule, CaseType, CaseTypeLite, CaseView, CaseViewComponent, CaseViewEvent, CaseViewTrigger, CaseViewerComponent, CaseViewerModule, CasesService, CaseworkerService, CcdCYAPageLabelFilterPipe, CcdCaseTitlePipe, CcdCollectionTableCaseFieldsFilterPipe, CcdPageFieldsPipe, CcdTabFieldsPipe, CheckYourAnswersComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, Confirmation, ConvertHrefToRouterService, CreateCaseFiltersComponent, CreateCaseFiltersModule, CreateCaseFiltersSelection, DRAFT_PREFIX, DRAFT_QUERY_PARAM, DashPipe, DateInputComponent, DatePipe, DateTimeFormatUtils, DatetimePickerComponent, DefinitionsModule, DefinitionsService, DeleteOrCancelDialogComponent, DialogsModule, DisplayMode, Document, DocumentData, DocumentDialogComponent, DocumentLinks, DocumentManagementService, DocumentUrlPipe, Draft, DraftService, DynamicListPipe, DynamicRadioListPipe, ESQueryType, Embedded, ErrorMessageComponent, ErrorNotifierService, EventCaseField, EventCompletionReturnStates, EventCompletionStateMachineService, EventCompletionStates, EventLogComponent, EventLogDetailsComponent, EventLogTableComponent, EventMessageModule, EventStartComponent, EventStartModule, EventStartStateMachineService, EventStatusService, EventTriggerResolver, EventTriggerService, Fee, FeeValue, Field, FieldLabelPipe, FieldReadComponent, FieldReadLabelComponent, FieldType, FieldTypeSanitiser, FieldWriteComponent, FieldsFilterPipe, FieldsPurger, FieldsUtils, FirstErrorPipe, FixedListItem, FixedListPipe, FixedRadioListPipe, FocusElementDirective, FocusElementModule, FooterComponent, FormDocument, FormErrorService, FormValidatorsService, FormValueService, FormatTranslatorService, GreyBarService, HRef, HeaderBarComponent, HeadersModule, HttpError, HttpErrorService, HttpService, IsCompoundPipe, IsMandatoryPipe, IsReadOnlyAndNotCollectionPipe, IsReadOnlyPipe, JudicialworkerService, Jurisdiction, JurisdictionService, LabelFieldComponent, LabelSubstitutorDirective, LabelSubstitutorModule, LinkCaseReason, LinkCasesComponent, LinkCasesFromReasonValuePipe, LinkCasesReasonValuePipe, LinkDetails, LinkFromReason, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MEDIA_VIEWER_LOCALSTORAGE_KEY, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, MarkdownComponent, MoneyGbpInputComponent, MultipleTasksExistComponent, NavigationComponent, NavigationItemComponent, NavigationNotifierService, NavigationOrigin, NoLinkedCasesComponent, NoTasksAvailableComponent, NotificationBannerComponent, NotificationBannerHeaderClass, NotificationBannerType, OrderService, OrderSummary, OrganisationConverter, OrganisationService, PageValidationService, PaginationComponent, PaginationMetadata, PaginationModule, PaletteContext, PaletteModule, PaletteService, PaletteUtilsModule, Patterns, PaymentField, PhaseComponent, PipesModule, PlaceholderService, PrintUrlPipe, Profile, ProfileNotifier, ProfileService, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicMultiSelectListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RetryUtil, RouterHelperService, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionStorageService, ShowCondition, SortOrder, SortParameters, SortSearchResultPipe, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, WaysToPayFieldComponent, WindowService, Wizard, WizardFactoryService, WizardPage, WizardPageField, WorkAllocationService, WorkbasketFiltersComponent, WorkbasketFiltersModule, WorkbasketInput, WorkbasketInputFilterService, WorkbasketInputModel, WriteAddressFieldComponent, WriteCaseFlagFieldComponent, WriteCaseLinkFieldComponent, WriteCollectionFieldComponent, WriteComplexFieldComponent, WriteDateContainerFieldComponent, WriteDateFieldComponent, WriteDocumentFieldComponent, WriteDynamicListFieldComponent, WriteDynamicMultiSelectListFieldComponent, WriteDynamicRadioListFieldComponent, WriteEmailFieldComponent, WriteFixedListFieldComponent, WriteFixedRadioListFieldComponent, WriteJudicialUserFieldComponent, WriteLinkedCasesFieldComponent, WriteMoneyGbpFieldComponent, WriteMultiSelectListFieldComponent, WriteNumberFieldComponent, WriteOrderSummaryFieldComponent, WriteOrganisationComplexFieldComponent, WriteOrganisationFieldComponent, WritePhoneUKFieldComponent, WriteTextAreaFieldComponent, WriteTextFieldComponent, WriteYesNoFieldComponent, YesNoService, aCaseField, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, textFieldType, viewerRouting };
|
|
32959
33288
|
//# sourceMappingURL=hmcts-ccd-case-ui-toolkit.js.map
|