ichec-angular-core 0.3.12 → 1.0.0
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/package.json
CHANGED
|
@@ -57,6 +57,16 @@ interface IMemberIdentifierDetail extends IMemberIdentifierBase {
|
|
|
57
57
|
interface IPreferences {
|
|
58
58
|
notifications: string;
|
|
59
59
|
}
|
|
60
|
+
interface IFeedbackCreate {
|
|
61
|
+
comments: string;
|
|
62
|
+
}
|
|
63
|
+
interface IFeedbackDetail extends Identifiable {
|
|
64
|
+
comments: string;
|
|
65
|
+
}
|
|
66
|
+
declare class Feedback {
|
|
67
|
+
static typename: string;
|
|
68
|
+
static plural: string;
|
|
69
|
+
}
|
|
60
70
|
interface IPortalMemberBase {
|
|
61
71
|
username: string;
|
|
62
72
|
email: string;
|
|
@@ -237,6 +247,7 @@ interface IFormFieldBase {
|
|
|
237
247
|
order: number;
|
|
238
248
|
field_type: string;
|
|
239
249
|
description: string;
|
|
250
|
+
tooltip: string;
|
|
240
251
|
default: string;
|
|
241
252
|
options: string | null;
|
|
242
253
|
}
|
|
@@ -371,6 +382,7 @@ interface IRequestBase {
|
|
|
371
382
|
interface IServerManifest {
|
|
372
383
|
login_url: string;
|
|
373
384
|
logout_url: string;
|
|
385
|
+
docs_url: string;
|
|
374
386
|
supports_cors: boolean;
|
|
375
387
|
}
|
|
376
388
|
declare const REST_SERVICE_CONFIG: InjectionToken<RestServiceConfig>;
|
|
@@ -477,8 +489,10 @@ declare class FormService {
|
|
|
477
489
|
createItem(form: FormGroup, input: IFormDetail): IPopulatedFormCreate;
|
|
478
490
|
getValueId(field_id: number, populated: IPopulatedFormDetail): number;
|
|
479
491
|
getFiles(form: FormGroup, input: IFormDetail, populated: IPopulatedFormDetail): IFieldFile[];
|
|
492
|
+
hasRequiredFiles(form: FormGroup, input: IFormDetail): boolean;
|
|
480
493
|
updateFieldValue(control: FormControl, item: IFormFieldValueDetail): IFormFieldValueUpdate;
|
|
481
494
|
getType(key: string, input: IFormDetail): string;
|
|
495
|
+
isRequired(key: string, input: IFormDetail): boolean;
|
|
482
496
|
getValue(key: string, item: IPopulatedFormDetail): IFormFieldValueDetail | null;
|
|
483
497
|
updateItem(form: FormGroup, item: IPopulatedFormDetail): IPopulatedFormUpdate;
|
|
484
498
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormService, never>;
|
|
@@ -549,7 +563,7 @@ declare abstract class DetailView<D extends Identifiable, L extends Identifiable
|
|
|
549
563
|
protected location: Location;
|
|
550
564
|
readonly deleteDialog: MatDialog;
|
|
551
565
|
constructor(itemService: ItemService<D, L, C, U>);
|
|
552
|
-
onInit(): void;
|
|
566
|
+
onInit(embedded?: boolean): void;
|
|
553
567
|
onSelection(id: number | null): void;
|
|
554
568
|
title(): string;
|
|
555
569
|
onItemAvailable(item: D): void;
|
|
@@ -730,6 +744,7 @@ interface IFormFieldForm {
|
|
|
730
744
|
key: FormControl<string | null>;
|
|
731
745
|
required: FormControl<boolean | null>;
|
|
732
746
|
description: FormControl<string | null>;
|
|
747
|
+
tooltip: FormControl<string | null>;
|
|
733
748
|
template: FormControl<IFileRecord | null>;
|
|
734
749
|
options: FormControl<IOption[] | null>;
|
|
735
750
|
default: FormControl<string | null>;
|
|
@@ -901,7 +916,7 @@ declare class ListDataSource<D extends Identifiable, L extends Identifiable, C =
|
|
|
901
916
|
hasFetched: _angular_core.WritableSignal<boolean>;
|
|
902
917
|
sourceIsEmpty: _angular_core.Signal<boolean>;
|
|
903
918
|
private consumerType;
|
|
904
|
-
|
|
919
|
+
items: BehaviorSubject<L[]>;
|
|
905
920
|
itemService: ItemService<D, L, C, U>;
|
|
906
921
|
private subscription;
|
|
907
922
|
private fetchedPages;
|
|
@@ -917,6 +932,19 @@ declare class ListDataSource<D extends Identifiable, L extends Identifiable, C =
|
|
|
917
932
|
disconnect(): void;
|
|
918
933
|
}
|
|
919
934
|
|
|
935
|
+
declare class ListScrollViewComponent {
|
|
936
|
+
itemHeight: _angular_core.InputSignal<number>;
|
|
937
|
+
itemWidth: _angular_core.InputSignal<string>;
|
|
938
|
+
dataSource: _angular_core.InputSignal<ListDataSource<any, any, any, any> | undefined>;
|
|
939
|
+
listItemTemplate: _angular_core.InputSignal<TemplateRef<unknown> | null | undefined>;
|
|
940
|
+
routerMode: _angular_core.InputSignal<boolean>;
|
|
941
|
+
selection: _angular_core.WritableSignal<number | null>;
|
|
942
|
+
selected: _angular_core.OutputEmitterRef<number | null>;
|
|
943
|
+
onSelected(id: number | null): void;
|
|
944
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ListScrollViewComponent, never>;
|
|
945
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ListScrollViewComponent, "lib-list-scroll-view", never, { "itemHeight": { "alias": "itemHeight"; "required": false; "isSignal": true; }; "itemWidth": { "alias": "itemWidth"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; "listItemTemplate": { "alias": "listItemTemplate"; "required": false; "isSignal": true; }; "routerMode": { "alias": "routerMode"; "required": false; "isSignal": true; }; }, { "selected": "selected"; }, never, never, true, never>;
|
|
946
|
+
}
|
|
947
|
+
|
|
920
948
|
declare class ListViewComponent<D extends Identifiable, L extends Identifiable, C = D, U extends Identifiable = D> implements OnInit, AfterViewInit {
|
|
921
949
|
viewType: _angular_core.InputSignal<string>;
|
|
922
950
|
itemService: _angular_core.InputSignal<ItemService<D, L, C, U> | undefined>;
|
|
@@ -938,6 +966,7 @@ declare class ListViewComponent<D extends Identifiable, L extends Identifiable,
|
|
|
938
966
|
columnNames: _angular_core.Signal<string[]>;
|
|
939
967
|
fb: FormBuilder;
|
|
940
968
|
searchForm: _angular_core.WritableSignal<SearchForm>;
|
|
969
|
+
scrollView: _angular_core.Signal<ListScrollViewComponent | undefined>;
|
|
941
970
|
get resolvedItemWidth(): string;
|
|
942
971
|
ngOnInit(): void;
|
|
943
972
|
ngAfterViewInit(): void;
|
|
@@ -947,9 +976,10 @@ declare class ListViewComponent<D extends Identifiable, L extends Identifiable,
|
|
|
947
976
|
title(): string;
|
|
948
977
|
isTableView(): boolean;
|
|
949
978
|
resetDataSource(): void;
|
|
979
|
+
onSearchItems(items: L[]): void;
|
|
950
980
|
reset(): void;
|
|
951
981
|
viewChanged(event: MatButtonToggleChange): void;
|
|
952
|
-
onSelection(id: number): void;
|
|
982
|
+
onSelection(id: number | null): void;
|
|
953
983
|
protected isSelfList(): boolean;
|
|
954
984
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ListViewComponent<any, any, any, any>, never>;
|
|
955
985
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ListViewComponent<any, any, any, any>, "lib-list-view", never, { "viewType": { "alias": "viewType"; "required": false; "isSignal": true; }; "itemService": { "alias": "itemService"; "required": false; "isSignal": true; }; "listItemTemplate": { "alias": "listItemTemplate"; "required": false; "isSignal": true; }; "itemDetailTemplate": { "alias": "itemDetailTemplate"; "required": false; "isSignal": true; }; "itemHeight": { "alias": "itemHeight"; "required": false; "isSignal": true; }; "itemWidth": { "alias": "itemWidth"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "noSelfItemsMessage": { "alias": "noSelfItemsMessage"; "required": false; "isSignal": true; }; "noItemsCanCreateMessage": { "alias": "noItemsCanCreateMessage"; "required": false; "isSignal": true; }; "noItemsMessage": { "alias": "noItemsMessage"; "required": false; "isSignal": true; }; "searchFields": { "alias": "searchFields"; "required": true; "isSignal": true; }; "embeddedMode": { "alias": "embeddedMode"; "required": false; "isSignal": true; }; }, { "selected": "selected"; }, never, never, true, never>;
|
|
@@ -1003,7 +1033,10 @@ declare class LeftNavComponent {
|
|
|
1003
1033
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LeftNavComponent, "lib-left-nav", never, { "background": { "alias": "background"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1004
1034
|
}
|
|
1005
1035
|
|
|
1006
|
-
declare class FeedbackComponent {
|
|
1036
|
+
declare class FeedbackComponent extends EditView<IFeedbackDetail, IFeedbackDetail, IFeedbackCreate> implements OnInit {
|
|
1037
|
+
helpLink: _angular_core.WritableSignal<string>;
|
|
1038
|
+
constructor();
|
|
1039
|
+
ngOnInit(): void;
|
|
1007
1040
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FeedbackComponent, never>;
|
|
1008
1041
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FeedbackComponent, "lib-feedback", never, {}, {}, never, never, true, never>;
|
|
1009
1042
|
}
|
|
@@ -1164,5 +1197,5 @@ declare class OrganizationEditComponent extends EditView<IOrganizationDetail, IO
|
|
|
1164
1197
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<OrganizationEditComponent, "lib-organization-edit", never, {}, {}, never, never, true, never>;
|
|
1165
1198
|
}
|
|
1166
1199
|
|
|
1167
|
-
export { Address, AddressDetailComponent, AddressEditComponent, AddressForm, ApiError, AvatarComponent, BackButtonComponent, DetailHeaderComponent, DetailView, DynamicFormBuilderComponent, DynamicFormComponent, DynamicFormForm, EditView, ErrorCode, FORM_FIELD_CHOICES, FeedbackComponent, FieldType, FileRecord, FileUploadComponent, FormFieldDetailComponent, FormFieldEditComponent, FormFieldValueForm, FormService, Group, GroupComponent, GroupDetailComponent, GroupEditComponent, GroupService, ItemQuery, ItemService, ItemWithUserService, LeftNavComponent, LeftNavService, ListTableViewComponent, ListViewComponent, MemberSelectionManager, MockItemService, Organization, OrganizationComponent, OrganizationDetailComponent, OrganizationEditComponent, OrganizationService, Paginated, Permission, PopulatedFormComponent, PopulatedFormForm, PortalMember, REST_SERVICE_CONFIG, ResolvedPermission, RestService, SearchBarComponent, SearchFields, SelectTableComponent, SelectionManager, TopBarComponent, UserComponent, UserCreateComponent, UserCreateForm, UserDetailComponent, UserEditComponent, UserService, getFieldTypeFromKey, getFileFieldIds, getFilter };
|
|
1168
|
-
export type { IAddressBase, IAddressCreate, IAddressDetail, IAddressForm, IAddressList, ICountry, IDynamicFormForm, IFieldFile, IFileField, IFileRecord, IFilter, IFilterChoice, IFilterRow, IFilters, IForm, IFormCreate, IFormDetail, IFormFieldBase, IFormFieldCreate, IFormFieldDetail, IFormFieldValueBase, IFormFieldValueCreate, IFormFieldValueDetail, IFormFieldValueForm, IFormFieldValueUpdate, IFormGroupBase, IFormGroupCreate, IFormGroupDetail, IFormGroupUpdate, IFormUpdate, IGroupBase, IGroupCreate, IGroupDetail, IGroupList, IItemQuery, IMemberIdentifierBase, IMemberIdentifierCreate, IMemberIdentifierDetail, IMemberInvitation, IOrganizationBase, IOrganizationCreate, IOrganizationDetail, IOrganizationList, IPaginated, IPermission, IPopulatedFormCreate, IPopulatedFormDetail, IPopulatedFormForm, IPopulatedFormUpdate, IPortalMemberBase, IPortalMemberCreate, IPortalMemberDetail, IPortalMemberList, IPreferences, IQuery, IRestOptions, ISearchFields, IServerManifest, ISortField, IUserCreateForm, Identifiable, LeftNavCategory, LeftNavOption, NavGroup, NavGrouping, NavOption, OptionAction, OptionActionChoice, RestServiceConfig, Selectable, TableColumn, TypeChoice };
|
|
1200
|
+
export { Address, AddressDetailComponent, AddressEditComponent, AddressForm, ApiError, AvatarComponent, BackButtonComponent, DetailHeaderComponent, DetailView, DynamicFormBuilderComponent, DynamicFormComponent, DynamicFormForm, EditView, ErrorCode, FORM_FIELD_CHOICES, Feedback, FeedbackComponent, FieldType, FileRecord, FileUploadComponent, FormFieldDetailComponent, FormFieldEditComponent, FormFieldValueForm, FormService, Group, GroupComponent, GroupDetailComponent, GroupEditComponent, GroupService, ItemQuery, ItemService, ItemWithUserService, LeftNavComponent, LeftNavService, ListTableViewComponent, ListViewComponent, MemberSelectionManager, MockItemService, Organization, OrganizationComponent, OrganizationDetailComponent, OrganizationEditComponent, OrganizationService, Paginated, Permission, PopulatedFormComponent, PopulatedFormForm, PortalMember, REST_SERVICE_CONFIG, ResolvedPermission, RestService, SearchBarComponent, SearchFields, SelectTableComponent, SelectionManager, TopBarComponent, UserComponent, UserCreateComponent, UserCreateForm, UserDetailComponent, UserEditComponent, UserService, getFieldTypeFromKey, getFileFieldIds, getFilter };
|
|
1201
|
+
export type { IAddressBase, IAddressCreate, IAddressDetail, IAddressForm, IAddressList, ICountry, IDynamicFormForm, IFeedbackCreate, IFeedbackDetail, IFieldFile, IFileField, IFileRecord, IFilter, IFilterChoice, IFilterRow, IFilters, IForm, IFormCreate, IFormDetail, IFormFieldBase, IFormFieldCreate, IFormFieldDetail, IFormFieldValueBase, IFormFieldValueCreate, IFormFieldValueDetail, IFormFieldValueForm, IFormFieldValueUpdate, IFormGroupBase, IFormGroupCreate, IFormGroupDetail, IFormGroupUpdate, IFormUpdate, IGroupBase, IGroupCreate, IGroupDetail, IGroupList, IItemQuery, IMemberIdentifierBase, IMemberIdentifierCreate, IMemberIdentifierDetail, IMemberInvitation, IOrganizationBase, IOrganizationCreate, IOrganizationDetail, IOrganizationList, IPaginated, IPermission, IPopulatedFormCreate, IPopulatedFormDetail, IPopulatedFormForm, IPopulatedFormUpdate, IPortalMemberBase, IPortalMemberCreate, IPortalMemberDetail, IPortalMemberList, IPreferences, IQuery, IRestOptions, ISearchFields, IServerManifest, ISortField, IUserCreateForm, Identifiable, LeftNavCategory, LeftNavOption, NavGroup, NavGrouping, NavOption, OptionAction, OptionActionChoice, RestServiceConfig, Selectable, TableColumn, TypeChoice };
|