@hmcts/ccd-case-ui-toolkit 7.3.52-4435 → 7.3.52-4435-rc1
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 +318 -122
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/index.d.ts +45 -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;
|
|
@@ -2926,15 +2940,18 @@ declare class FieldReadComponent extends AbstractFieldReadComponent implements O
|
|
|
2926
2940
|
static ɵcmp: i0.ɵɵComponentDeclaration<FieldReadComponent, "ccd-field-read", never, { "withLabel": { "alias": "withLabel"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "caseFields": { "alias": "caseFields"; "required": false; }; }, {}, never, never, false, never>;
|
|
2927
2941
|
}
|
|
2928
2942
|
|
|
2929
|
-
declare class FieldWriteComponent extends AbstractFieldWriteComponent implements OnInit {
|
|
2943
|
+
declare class FieldWriteComponent extends AbstractFieldWriteComponent implements OnInit, OnChanges {
|
|
2930
2944
|
private readonly resolver;
|
|
2931
2945
|
private readonly paletteService;
|
|
2932
2946
|
canHaveGreyBar: boolean;
|
|
2933
2947
|
caseFields: CaseField[];
|
|
2934
2948
|
fieldContainer: ViewContainerRef;
|
|
2949
|
+
private componentRef;
|
|
2935
2950
|
constructor(resolver: ComponentFactoryResolver, paletteService: PaletteService);
|
|
2936
2951
|
protected addValidators(caseField: CaseField, control: AbstractControl): void;
|
|
2937
2952
|
ngOnInit(): void;
|
|
2953
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2954
|
+
private applyInputsToChild;
|
|
2938
2955
|
static ɵfac: i0.ɵɵFactoryDeclaration<FieldWriteComponent, never>;
|
|
2939
2956
|
static ɵcmp: i0.ɵɵComponentDeclaration<FieldWriteComponent, "ccd-field-write", never, { "caseFields": { "alias": "caseFields"; "required": false; }; }, {}, never, never, false, never>;
|
|
2940
2957
|
}
|
|
@@ -4006,6 +4023,7 @@ declare class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent im
|
|
|
4006
4023
|
}
|
|
4007
4024
|
|
|
4008
4025
|
type CollectionItem = {
|
|
4026
|
+
uid: string;
|
|
4009
4027
|
caseField: CaseField;
|
|
4010
4028
|
item: any;
|
|
4011
4029
|
prefix: string;
|
|
@@ -4023,6 +4041,7 @@ declare class WriteCollectionFieldComponent extends AbstractFieldWriteComponent
|
|
|
4023
4041
|
profileSubscription: Subscription;
|
|
4024
4042
|
private readonly items;
|
|
4025
4043
|
readonly collItems: CollectionItem[];
|
|
4044
|
+
private collectionItemUidCounter;
|
|
4026
4045
|
constructor(dialog: MatLegacyDialog, scrollToService: ScrollToService, profileNotifier: ProfileNotifier, cdRef: ChangeDetectorRef);
|
|
4027
4046
|
ngOnInit(): void;
|
|
4028
4047
|
ngOnDestroy(): void;
|
|
@@ -4035,6 +4054,8 @@ declare class WriteCollectionFieldComponent extends AbstractFieldWriteComponent
|
|
|
4035
4054
|
private getContainer;
|
|
4036
4055
|
private focusLastItem;
|
|
4037
4056
|
private removeItem;
|
|
4057
|
+
trackByCollectionItem(_: number, item: CollectionItem): string;
|
|
4058
|
+
private createCollectionItemUid;
|
|
4038
4059
|
private resetIds;
|
|
4039
4060
|
itemLabel(index: number): string;
|
|
4040
4061
|
isNotAuthorisedToCreate(): boolean;
|
|
@@ -5600,6 +5621,15 @@ declare class ReadFieldsFilterPipe implements PipeTransform {
|
|
|
5600
5621
|
private static isValidCollection;
|
|
5601
5622
|
private static isEmpty;
|
|
5602
5623
|
private static isCompound;
|
|
5624
|
+
private static findAncestorOfType;
|
|
5625
|
+
private static getCollectionItemValue;
|
|
5626
|
+
private static getBaseConditionalShowContext;
|
|
5627
|
+
private static resolvePrefixedConditionalShowContext;
|
|
5628
|
+
private static resolveCollectionConditionalShowContext;
|
|
5629
|
+
private static resolveFallbackConditionalShowContext;
|
|
5630
|
+
private static getConditionalShowContext;
|
|
5631
|
+
private static cloneFieldWithValue;
|
|
5632
|
+
private static applyDisplayContextAndHidden;
|
|
5603
5633
|
private static isValidCompound;
|
|
5604
5634
|
private static keepField;
|
|
5605
5635
|
private static getValue;
|
|
@@ -6406,6 +6436,14 @@ declare class CaseEditPageComponent implements OnInit, AfterViewChecked, OnDestr
|
|
|
6406
6436
|
static ɵcmp: i0.ɵɵComponentDeclaration<CaseEditPageComponent, "ccd-case-edit-page", never, {}, {}, never, never, false, never>;
|
|
6407
6437
|
}
|
|
6408
6438
|
|
|
6439
|
+
declare class SessionErrorPageComponent {
|
|
6440
|
+
title: string;
|
|
6441
|
+
primaryMessage: string;
|
|
6442
|
+
secondaryMessage: string;
|
|
6443
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SessionErrorPageComponent, never>;
|
|
6444
|
+
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>;
|
|
6445
|
+
}
|
|
6446
|
+
|
|
6409
6447
|
declare class OrderSummary {
|
|
6410
6448
|
PaymentReference: string;
|
|
6411
6449
|
Fees: FeeValue[];
|
|
@@ -7741,6 +7779,8 @@ declare class TestRouteSnapshotBuilder {
|
|
|
7741
7779
|
build(): ActivatedRouteSnapshot;
|
|
7742
7780
|
}
|
|
7743
7781
|
|
|
7744
|
-
|
|
7782
|
+
declare function safeJsonParse<T>(value: string | null, fallback?: T | null): T | null;
|
|
7783
|
+
|
|
7784
|
+
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 };
|
|
7745
7785
|
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 };
|
|
7746
7786
|
//# sourceMappingURL=index.d.ts.map
|