@hmcts/ccd-case-ui-toolkit 7.3.49-user-by-idam-fixed → 7.3.50-fix-security-issue
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 +0 -3
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +175 -69
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/index.d.ts +33 -5
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnInit, OnDestroy, PipeTransform, EventEmitter, AfterContentInit, QueryList, ElementRef, NgZone, OnChanges, SimpleChanges, ChangeDetectorRef, Type, ViewContainerRef, ComponentFactoryResolver, AfterViewInit, Renderer2, ModuleWithProviders,
|
|
2
|
+
import { OnInit, OnDestroy, PipeTransform, EventEmitter, AfterContentInit, QueryList, ElementRef, InjectionToken, NgZone, OnChanges, SimpleChanges, ChangeDetectorRef, Type, ViewContainerRef, ComponentFactoryResolver, AfterViewInit, Renderer2, ModuleWithProviders, Injector, TemplateRef, RendererFactory2, AfterViewChecked } from '@angular/core';
|
|
3
3
|
import * as i2 from '@angular/common';
|
|
4
4
|
import { AsyncPipe, Location as Location$1 } from '@angular/common';
|
|
5
5
|
import * as i3 from '@angular/router';
|
|
6
|
-
import { ActivatedRoute, Router, ActivatedRouteSnapshot, Resolve, Routes, Navigation } from '@angular/router';
|
|
6
|
+
import { ActivatedRoute, CanActivate, Router, ActivatedRouteSnapshot, Resolve, Routes, Navigation } from '@angular/router';
|
|
7
7
|
import * as i7 from 'rpx-xui-translation';
|
|
8
8
|
import { RpxTranslationService, RpxTranslatePipe } from 'rpx-xui-translation';
|
|
9
9
|
import * as i3$1 from '@angular/forms';
|
|
@@ -550,7 +550,7 @@ declare class SessionStorageService {
|
|
|
550
550
|
/**
|
|
551
551
|
* Get an item from the session storage.
|
|
552
552
|
*/
|
|
553
|
-
getItem(key: string): string;
|
|
553
|
+
getItem(key: string): string | null;
|
|
554
554
|
/**
|
|
555
555
|
* Set an item in the session storage.
|
|
556
556
|
*/
|
|
@@ -567,6 +567,20 @@ declare class SessionStorageService {
|
|
|
567
567
|
static ɵprov: i0.ɵɵInjectableDeclaration<SessionStorageService>;
|
|
568
568
|
}
|
|
569
569
|
|
|
570
|
+
declare const SessionErrorRoute: InjectionToken<string>;
|
|
571
|
+
type SessionJsonErrorLogger = (error: unknown) => void;
|
|
572
|
+
declare const SessionJsonErrorLogger: InjectionToken<SessionJsonErrorLogger>;
|
|
573
|
+
declare class SessionStorageGuard implements CanActivate {
|
|
574
|
+
private readonly sessionStorageService;
|
|
575
|
+
private readonly router;
|
|
576
|
+
private readonly errorRoute?;
|
|
577
|
+
private readonly errorLogger?;
|
|
578
|
+
constructor(sessionStorageService: SessionStorageService, router: Router, errorRoute?: string, errorLogger?: SessionJsonErrorLogger);
|
|
579
|
+
canActivate(): boolean;
|
|
580
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SessionStorageGuard, [null, null, { optional: true; }, { optional: true; }]>;
|
|
581
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SessionStorageGuard>;
|
|
582
|
+
}
|
|
583
|
+
|
|
570
584
|
declare class ActivityService {
|
|
571
585
|
private readonly http;
|
|
572
586
|
private readonly appConfig;
|
|
@@ -4106,13 +4120,17 @@ interface Caseworker {
|
|
|
4106
4120
|
roleCategory: string;
|
|
4107
4121
|
service?: string;
|
|
4108
4122
|
}
|
|
4123
|
+
interface CaseworkersByService {
|
|
4124
|
+
service: string;
|
|
4125
|
+
caseworkers: Caseworker[];
|
|
4126
|
+
}
|
|
4109
4127
|
|
|
4110
4128
|
declare class CaseworkerService {
|
|
4111
4129
|
private readonly http;
|
|
4112
4130
|
private readonly appConfig;
|
|
4113
4131
|
private readonly errorService;
|
|
4114
4132
|
constructor(http: HttpService, appConfig: AbstractAppConfig, errorService: HttpErrorService);
|
|
4115
|
-
|
|
4133
|
+
getCaseworkers(serviceId: any): Observable<CaseworkersByService[]>;
|
|
4116
4134
|
static ɵfac: i0.ɵɵFactoryDeclaration<CaseworkerService, never>;
|
|
4117
4135
|
static ɵprov: i0.ɵɵInjectableDeclaration<CaseworkerService>;
|
|
4118
4136
|
}
|
|
@@ -6402,6 +6420,14 @@ declare class CaseEditPageComponent implements OnInit, AfterViewChecked, OnDestr
|
|
|
6402
6420
|
static ɵcmp: i0.ɵɵComponentDeclaration<CaseEditPageComponent, "ccd-case-edit-page", never, {}, {}, never, never, false, never>;
|
|
6403
6421
|
}
|
|
6404
6422
|
|
|
6423
|
+
declare class SessionErrorPageComponent {
|
|
6424
|
+
title: string;
|
|
6425
|
+
primaryMessage: string;
|
|
6426
|
+
secondaryMessage: string;
|
|
6427
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SessionErrorPageComponent, never>;
|
|
6428
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SessionErrorPageComponent, "ccd-session-error-page", never, { "title": { "alias": "title"; "required": false; }; "primaryMessage": { "alias": "primaryMessage"; "required": false; }; "secondaryMessage": { "alias": "secondaryMessage"; "required": false; }; }, {}, never, never, true, never>;
|
|
6429
|
+
}
|
|
6430
|
+
|
|
6405
6431
|
declare class OrderSummary {
|
|
6406
6432
|
PaymentReference: string;
|
|
6407
6433
|
Fees: FeeValue[];
|
|
@@ -7737,6 +7763,8 @@ declare class TestRouteSnapshotBuilder {
|
|
|
7737
7763
|
build(): ActivatedRouteSnapshot;
|
|
7738
7764
|
}
|
|
7739
7765
|
|
|
7740
|
-
|
|
7766
|
+
declare function safeJsonParse<T>(value: string | null, fallback?: T | null): T | null;
|
|
7767
|
+
|
|
7768
|
+
export { AbstractAppConfig, AbstractFieldReadComponent, AbstractFieldWriteComponent, AbstractFieldWriteJourneyComponent, AbstractJourneyComponent, 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, COMPONENT_PORTAL_INJECTION_TOKEN, CallbackErrorsComponent, CallbackErrorsContext, CaseAccessUtils, CaseBasicAccessViewComponent, CaseChallengedAccessRequestComponent, CaseChallengedAccessSuccessComponent, CaseCreateComponent, CaseDetails, CaseEditComponent, CaseEditConfirmComponent, CaseEditDataModule, CaseEditDataService, CaseEditFormComponent, CaseEditPageComponent, CaseEditSubmitComponent, CaseEditWizardGuard, CaseEditorConfig, CaseEditorModule, CaseEvent, CaseEventCompletionComponent, CaseEventCompletionTaskCancelledComponent, CaseEventCompletionTaskReassignedComponent, CaseEventData, CaseEventTrigger, CaseEventTriggerComponent, CaseField, CaseFieldService, CaseFileViewFieldComponent, CaseFileViewFolderComponent, CaseFileViewFolderDocumentActionsComponent, CaseFileViewFolderSelectorComponent, CaseFileViewFolderSortComponent, CaseFileViewFolderToggleComponent, CaseFileViewOverlayMenuComponent, CaseFileViewService, CaseFlagCheckYourAnswersPageStep, CaseFlagDisplayContextParameter, CaseFlagErrorMessage, CaseFlagFieldState, CaseFlagFormFields, CaseFlagRefdataService, CaseFlagStatus, CaseFlagSummaryListComponent, CaseFlagSummaryListDisplayMode, CaseFlagTableComponent, 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, CloseQueryComponent, ConditionalShowFormDirective, ConditionalShowModule, ConditionalShowRegistrarService, ConfirmFlagStatusComponent, ConfirmStatusErrorMessage, ConfirmStatusStep, 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, EnumDisplayDescriptionPipe, 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, FlagFieldDisplayPipe, 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, LanguageInterpreterDisplayPipe, LinkCaseReason, LinkCasesComponent, LinkCasesFromReasonValuePipe, LinkCasesReasonValuePipe, LinkDetails, LinkFromReason, LinkReason, LinkedCasesErrorMessages, LinkedCasesEventTriggers, LinkedCasesFromTableComponent, LinkedCasesPages, LinkedCasesResponse$1 as LinkedCasesResponse, LinkedCasesToTableComponent, LoadingModule, LoadingService, LoadingSpinnerComponent, LoadingSpinnerModule, MEDIA_VIEWER_LOCALSTORAGE_KEY, MULTIPLE_TASKS_FOUND, ManageCaseFlagsComponent, ManageCaseFlagsLabelDisplayPipe, MarkdownComponent, MarkdownComponentModule, MoneyGbpInputComponent, MultipageComponentStateService, 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, QualifyingQuestionDetailComponent, QualifyingQuestionOptionsComponent, QualifyingQuestionService, QualifyingQuestionsErrorMessage, QueryAttachmentsReadComponent, QueryCaseDetailsHeaderComponent, QueryCheckYourAnswersComponent, QueryConfirmationComponent, QueryCreateContext, QueryDetailsComponent, QueryEventCompletionComponent, QueryItemResponseStatus, QueryListComponent, QueryListData, QueryListItem, QueryManagementService, QueryWriteAddDocumentsComponent, QueryWriteDateInputComponent, QueryWriteRaiseQueryComponent, QueryWriteRespondToQueryComponent, RaiseQueryErrorMessage, ReadCaseFlagFieldComponent, ReadCaseLinkFieldComponent, ReadCollectionFieldComponent, ReadComplexFieldCollectionTableComponent, ReadComplexFieldComponent, ReadComplexFieldRawComponent, ReadComplexFieldTableComponent, ReadCookieService, ReadDateFieldComponent, ReadDocumentFieldComponent, ReadDynamicListFieldComponent, ReadDynamicMultiSelectListFieldComponent, ReadDynamicRadioListFieldComponent, ReadEmailFieldComponent, ReadFieldsFilterPipe, ReadFixedListFieldComponent, ReadFixedRadioListFieldComponent, ReadJudicialUserFieldComponent, ReadLinkedCasesFieldComponent, ReadMoneyGbpFieldComponent, ReadMultiSelectListFieldComponent, ReadNumberFieldComponent, ReadOrderSummaryFieldComponent, ReadOrderSummaryRowComponent, ReadOrganisationFieldComponent, ReadOrganisationFieldRawComponent, ReadOrganisationFieldTableComponent, ReadPhoneUKFieldComponent, ReadQueryManagementFieldComponent, ReadTextAreaFieldComponent, ReadTextFieldComponent, ReadYesNoFieldComponent, RefdataCaseFlagType, RemoveDialogComponent, RequestOptionsBuilder, RespondToQueryErrorMessages, RetryUtil, RouterHelperService, RouterLinkComponent, SaveOrDiscardDialogComponent, SearchFiltersComponent, SearchFiltersModule, SearchFiltersWrapperComponent, SearchInput, SearchLanguageInterpreterComponent, SearchLanguageInterpreterErrorMessage, SearchLanguageInterpreterStep, SearchResultComponent, SearchResultModule, SearchResultView, SearchResultViewColumn, SearchResultViewItem, SearchResultViewItemComparatorFactory, SearchService, SelectFlagErrorMessage, SelectFlagLocationComponent, SelectFlagLocationErrorMessage, SelectFlagTypeComponent, SelectFlagTypeErrorMessage, SessionErrorPageComponent, SessionErrorRoute, SessionJsonErrorLogger, SessionStorageGuard, SessionStorageService, ShowCondition, SortOrder$1 as SortOrder, SortParameters, SortSearchResultPipe, TabComponent, TableColumnConfig, TableConfig, TabsComponent, TabsModule, TaskAssignedComponent, TaskCancelledComponent, TaskConflictComponent, TaskUnassignedComponent, Terms, TestRouteSnapshotBuilder, TranslatedMarkdownDirective, TranslatedMarkdownModule, UnLinkCasesComponent, UnsupportedFieldComponent, UpdateFlagAddTranslationErrorMessage, UpdateFlagAddTranslationFormComponent, UpdateFlagAddTranslationStep, UpdateFlagComponent, UpdateFlagErrorMessage, UpdateFlagStep, UpdateFlagTitleDisplayPipe, 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, caseMessagesMockData, createACL, createCaseEventTrigger, createCaseField, createComplexFieldOverride, createFieldType, createFixedListFieldType, createHiddenComplexFieldOverride, createMultiSelectListFieldType, createWizardPage, createWizardPageField, editorRouting, initDialog, newCaseField, safeJsonParse, textFieldType, viewerRouting };
|
|
7741
7769
|
export type { AccessManagementBasicViewMockModel, AccessManagementRequestReviewMockModel, AlertLevel, CaseEditCaseSubmit, CaseEditGenerateCaseEventData, CaseEditGetNextPage, CaseEditSubmitForm, CaseEditValidationError, CaseEditonEventCanBeCompleted, CaseFlagState, CaseMessage, CaseQueriesCollection, CaseTypeQualifyingQuestions, ChallengedAccessRequest, DisplayedAccessReason$1 as DisplayedAccessReason, ErrorMessage, EventCompletionComponentEmitter, EventCompletionStateMachineContext, FieldTypeEnum, FlagDetail, FlagDetailDisplay, FlagDetailDisplayWithFormGroupPath, FlagPath, Flags, FlagsWithFormGroupPath, Journey, JourneyInstigator, Language, LinkedCasesState, NotificationBannerConfig, OptionsType, Orderable, Organisation, OrganisationAddress, OrganisationSuperUser, OrganisationVm, Predicate, QmCaseQueriesCollection, QualifyingQuestion, QueryListColumn, QueryMessage, QueryMessageDocument, RequestedRole, RequestedRoleNote, ReviewSpecificAccessRequest, RoleAssignmentResponse, RoleCategory, RoleClassification, RoleGrantTypeCategory, RoleRequest, RoleRequestPayload, RoleType, SearchResultViewItemComparator, SearchView, ServiceConfig, SimpleOrganisationModel, SpecificAccessRequest, TaskSearchParameter, TaskSearchParameters, WAFeatureConfig };
|
|
7742
7770
|
//# sourceMappingURL=index.d.ts.map
|