@cccteam/ccc-lib 0.0.20 → 0.0.22
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/fesm2022/cccteam-ccc-lib-ccc-resource-modals.mjs +23 -0
- package/fesm2022/cccteam-ccc-lib-ccc-resource-modals.mjs.map +1 -0
- package/fesm2022/cccteam-ccc-lib-ccc-resource-services.mjs +33 -0
- package/fesm2022/cccteam-ccc-lib-ccc-resource-services.mjs.map +1 -0
- package/fesm2022/cccteam-ccc-lib-ccc-resource.mjs +36 -167
- package/fesm2022/cccteam-ccc-lib-ccc-resource.mjs.map +1 -1
- package/fesm2022/cccteam-ccc-lib-forms.mjs +34 -1
- package/fesm2022/cccteam-ccc-lib-forms.mjs.map +1 -1
- package/fesm2022/cccteam-ccc-lib-guards.mjs +33 -0
- package/fesm2022/cccteam-ccc-lib-guards.mjs.map +1 -0
- package/fesm2022/cccteam-ccc-lib-resource-nav.mjs +30 -0
- package/fesm2022/cccteam-ccc-lib-resource-nav.mjs.map +1 -0
- package/fesm2022/cccteam-ccc-lib-resource-route-generator.mjs +61 -0
- package/fesm2022/cccteam-ccc-lib-resource-route-generator.mjs.map +1 -0
- package/fesm2022/cccteam-ccc-lib-types.mjs.map +1 -1
- package/package.json +21 -1
- package/types/cccteam-ccc-lib-ccc-resource-modals.d.ts +8 -0
- package/types/cccteam-ccc-lib-ccc-resource-services.d.ts +13 -0
- package/types/cccteam-ccc-lib-ccc-resource.d.ts +20 -53
- package/types/cccteam-ccc-lib-guards.d.ts +11 -0
- package/types/cccteam-ccc-lib-resource-nav.d.ts +13 -0
- package/types/cccteam-ccc-lib-resource-route-generator.d.ts +6 -0
- package/types/cccteam-ccc-lib-types.d.ts +44 -43
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { ModelSignal, Injector, Signal, ResourceRef, OnInit, Type, DestroyRef, ViewContainerRef, WritableSignal } from '@angular/core';
|
|
3
3
|
import * as _cccteam_ccc_lib_types from '@cccteam/ccc-lib/types';
|
|
4
|
-
import { ResourceMeta, RecordData,
|
|
4
|
+
import { ResourceMeta, RecordData, Resource, DataType, ViewConfig, ConfigElement, RPCRecordData, MethodMeta, FieldSort, ColumnConfig, RPCConfig, FieldElement, Method, RPCBaseFormData, RootConfig, ParentResourceConfig, ChildResourceConfig, FormatType, PaddingElement, ArrayConfig, ListViewConfig, Meta, FieldMeta, RPCFieldMeta, ValidDisplayTypes, ComponentConfig } from '@cccteam/ccc-lib/types';
|
|
5
5
|
import { MatDialog } from '@angular/material/dialog';
|
|
6
|
-
import {
|
|
6
|
+
import { Router, ActivatedRoute } from '@angular/router';
|
|
7
|
+
import { FormStateService } from '@cccteam/ccc-lib/ccc-resource-services';
|
|
7
8
|
import { NotificationService } from '@cccteam/ccc-lib/ui-notification-service';
|
|
8
9
|
import { HttpClient } from '@angular/common/http';
|
|
9
10
|
import { Observable } from 'rxjs';
|
|
@@ -29,35 +30,16 @@ declare class ActionAccessControlWrapperComponent {
|
|
|
29
30
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ActionAccessControlWrapperComponent, "action-access-control-wrapper", never, { "actionContext": { "alias": "actionContext"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
30
31
|
}
|
|
31
32
|
|
|
32
|
-
declare class FormStateService {
|
|
33
|
-
dirtyForms: _angular_core.WritableSignal<number>;
|
|
34
|
-
incrementDirtyForms(): void;
|
|
35
|
-
decrementDirtyForms(): void;
|
|
36
|
-
resetDirtyForms(): void;
|
|
37
|
-
isDirty: _angular_core.Signal<boolean>;
|
|
38
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormStateService, never>;
|
|
39
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<FormStateService>;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
declare const generatedNavItems: MenuItem[];
|
|
43
|
-
declare const generatedNavGroups: string[];
|
|
44
33
|
interface Link {
|
|
45
34
|
id: string;
|
|
46
35
|
resource: Resource;
|
|
47
36
|
text: string;
|
|
48
37
|
}
|
|
49
|
-
type ResourceMap = Record<Resource, ResourceMeta>;
|
|
50
38
|
type PristineData = Record<string, DataType | null>;
|
|
51
39
|
declare const createFormGroup: (meta: ResourceMeta, resourceData: RecordData, config: ViewConfig, formDataState?: ModelSignal<RecordData>) => {
|
|
52
40
|
formGroup: FormGroup;
|
|
53
41
|
pristineFormValues: PristineData;
|
|
54
42
|
};
|
|
55
|
-
declare const resourceRoutes: (config: RootConfig, resourceMeta: (resource: Resource) => ResourceMeta) => Route;
|
|
56
|
-
/**
|
|
57
|
-
* Recursive function to extract nested field names from a config.
|
|
58
|
-
* @param elements - The elements to extract field names from.
|
|
59
|
-
* @returns - An array of field names.
|
|
60
|
-
*/
|
|
61
43
|
declare function extractFieldNames(elements: ConfigElement[]): string[];
|
|
62
44
|
type PatchOperation = 'add' | 'patch' | 'remove';
|
|
63
45
|
interface Operation {
|
|
@@ -74,20 +56,7 @@ interface UpdateOperation extends Operation {
|
|
|
74
56
|
interface DeleteOperation extends Operation {
|
|
75
57
|
op: 'remove';
|
|
76
58
|
}
|
|
77
|
-
/**
|
|
78
|
-
* Checks if a string is a valid UUID (versions 1-5) according to RFC 4122.
|
|
79
|
-
*
|
|
80
|
-
* @param str - The string to validate.
|
|
81
|
-
* @returns `true` if the string is a valid UUID, otherwise `false`.
|
|
82
|
-
*/
|
|
83
59
|
declare function isUUID(str: string): boolean;
|
|
84
|
-
/**
|
|
85
|
-
* Coerces metadata types in a record according to the metadata.
|
|
86
|
-
*
|
|
87
|
-
* @param record - The record to coerce.
|
|
88
|
-
* @param meta - The metadata (resource or method).
|
|
89
|
-
* @returns The coerced record.
|
|
90
|
-
*/
|
|
91
60
|
declare function metadataTypeCoercion(record: RecordData, meta: ResourceMeta): RecordData;
|
|
92
61
|
declare function metadataTypeCoercion(record: RPCRecordData, meta: MethodMeta): RPCRecordData;
|
|
93
62
|
|
|
@@ -178,12 +147,6 @@ declare class BaseRPCModalComponent {
|
|
|
178
147
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BaseRPCModalComponent, "ccc-base-rpc-modal", never, {}, {}, never, never, true, never>;
|
|
179
148
|
}
|
|
180
149
|
|
|
181
|
-
type CanDeactivateType = Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree;
|
|
182
|
-
interface CanComponentDeactivate {
|
|
183
|
-
canDeactivate: () => CanDeactivateType;
|
|
184
|
-
}
|
|
185
|
-
declare const canDeactivateGuard: CanDeactivateFn<CanComponentDeactivate>;
|
|
186
|
-
|
|
187
150
|
declare class CompoundResourceComponent implements OnInit {
|
|
188
151
|
location: Location;
|
|
189
152
|
route: ActivatedRoute;
|
|
@@ -191,7 +154,7 @@ declare class CompoundResourceComponent implements OnInit {
|
|
|
191
154
|
injector: Injector;
|
|
192
155
|
componentRef: Type<any>;
|
|
193
156
|
resourceMeta: (resource: Resource) => _cccteam_ccc_lib_types.ResourceMeta;
|
|
194
|
-
resourceConfig: _angular_core.InputSignal<_cccteam_ccc_lib_types.
|
|
157
|
+
resourceConfig: _angular_core.InputSignal<_cccteam_ccc_lib_types.ViewConfig | _cccteam_ccc_lib_types.ListViewConfig | _cccteam_ccc_lib_types.ArrayConfig | _cccteam_ccc_lib_types.ComponentConfig | undefined>;
|
|
195
158
|
isArrayChild: _angular_core.InputSignal<boolean>;
|
|
196
159
|
uuid: _angular_core.InputSignal<string>;
|
|
197
160
|
parentData: _angular_core.InputSignal<RecordData | undefined>;
|
|
@@ -204,7 +167,7 @@ declare class CompoundResourceComponent implements OnInit {
|
|
|
204
167
|
navAfterDeleteConsideringRoot: _angular_core.Signal<boolean>;
|
|
205
168
|
hasElements: _angular_core.Signal<boolean>;
|
|
206
169
|
primaryConfigParentId: _angular_core.Signal<string>;
|
|
207
|
-
primaryConfig: _angular_core.Signal<_cccteam_ccc_lib_types.ComponentConfig
|
|
170
|
+
primaryConfig: _angular_core.Signal<ParentResourceConfig | _cccteam_ccc_lib_types.ComponentConfig>;
|
|
208
171
|
title: _angular_core.Signal<string>;
|
|
209
172
|
isRootConfig: _angular_core.Signal<boolean>;
|
|
210
173
|
configs: _angular_core.Signal<ChildResourceConfig[]>;
|
|
@@ -310,6 +273,15 @@ declare function hyphenSpaceConcatWithoutResource(args: string[]): string;
|
|
|
310
273
|
* @example noSpaceConcatWithoutResource(['foo', 'bar', 'baz']) => 'foobarbaz'
|
|
311
274
|
*/
|
|
312
275
|
declare function noSpaceConcatWithoutResource(args: string[]): string;
|
|
276
|
+
/**
|
|
277
|
+
* Converts a string to camelCase.
|
|
278
|
+
* @param str The string to convert.
|
|
279
|
+
* @returns The camelCase version of the string.
|
|
280
|
+
* @example camelCase('hello-world') => 'helloWorld'
|
|
281
|
+
* @example camelCase('HelloWorld') => 'helloWorld'
|
|
282
|
+
* @example camelCase('hello_world') => 'helloWorld'
|
|
283
|
+
*/
|
|
284
|
+
declare function camelCase(str: string): string;
|
|
313
285
|
|
|
314
286
|
declare class DeleteResourceConfirmationModalComponent {
|
|
315
287
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DeleteResourceConfirmationModalComponent, never>;
|
|
@@ -352,11 +324,6 @@ declare const resourceValidators: Readonly<{
|
|
|
352
324
|
MAX_LENGTH: (maxLength: number) => _cccteam_ccc_lib_types.ResourceValidatorFn;
|
|
353
325
|
}>;
|
|
354
326
|
|
|
355
|
-
declare class LeavePageConfirmationModalComponent {
|
|
356
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LeavePageConfirmationModalComponent, never>;
|
|
357
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LeavePageConfirmationModalComponent, "ccc-leave-page-confirmation-modal", never, {}, {}, never, never, true, never>;
|
|
358
|
-
}
|
|
359
|
-
|
|
360
327
|
declare class PaddingElementComponent implements OnInit {
|
|
361
328
|
paddingElement: _angular_core.InputSignal<PaddingElement>;
|
|
362
329
|
class: string;
|
|
@@ -404,7 +371,7 @@ declare class ResourceCreateComponent implements OnInit {
|
|
|
404
371
|
parentData: _angular_core.InputSignal<RecordData>;
|
|
405
372
|
loadCreatedResource: _angular_core.InputSignal<boolean>;
|
|
406
373
|
rootConfig: _angular_core.Signal<RootConfig>;
|
|
407
|
-
config: _angular_core.Signal<
|
|
374
|
+
config: _angular_core.Signal<ViewConfig | ListViewConfig>;
|
|
408
375
|
indentTitle: _angular_core.Signal<boolean>;
|
|
409
376
|
form: _angular_core.Signal<FormGroup<{}>>;
|
|
410
377
|
route: _angular_core.Signal<string>;
|
|
@@ -594,7 +561,7 @@ declare class ResourceViewComponent implements OnInit {
|
|
|
594
561
|
dialog: MatDialog;
|
|
595
562
|
editMode: WritableSignal<'edit' | 'view'>;
|
|
596
563
|
uuid: _angular_core.InputSignal<string>;
|
|
597
|
-
config: _angular_core.InputSignal<
|
|
564
|
+
config: _angular_core.InputSignal<ViewConfig | ListViewConfig>;
|
|
598
565
|
relatedData: _angular_core.InputSignal<RecordData>;
|
|
599
566
|
compoundResourceView: _angular_core.InputSignal<boolean>;
|
|
600
567
|
isDirty: WritableSignal<boolean>;
|
|
@@ -608,7 +575,7 @@ declare class ResourceViewComponent implements OnInit {
|
|
|
608
575
|
commonButtonConfig: _angular_core.Signal<{
|
|
609
576
|
meta: _cccteam_ccc_lib_types.ResourceMeta;
|
|
610
577
|
resourceData: RecordData;
|
|
611
|
-
config:
|
|
578
|
+
config: ViewConfig | ListViewConfig;
|
|
612
579
|
} | undefined>;
|
|
613
580
|
editButtonContext: _angular_core.Signal<{
|
|
614
581
|
actionType: "edit";
|
|
@@ -639,7 +606,7 @@ declare class ResourceViewComponent implements OnInit {
|
|
|
639
606
|
};
|
|
640
607
|
}[] | undefined>;
|
|
641
608
|
useExpansionPanel: _angular_core.Signal<boolean>;
|
|
642
|
-
resourceConfigRouteSnapshot: _angular_core.Signal<
|
|
609
|
+
resourceConfigRouteSnapshot: _angular_core.Signal<ViewConfig | ListViewConfig>;
|
|
643
610
|
emptyFormGroup: FormGroup<{}>;
|
|
644
611
|
form: _angular_core.Signal<FormGroup<{}>>;
|
|
645
612
|
pristineFormValues: Record<string, DataType | null>;
|
|
@@ -659,5 +626,5 @@ declare class ResourceViewComponent implements OnInit {
|
|
|
659
626
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ResourceViewComponent, "ccc-resource-view", never, { "uuid": { "alias": "uuid"; "required": true; "isSignal": true; }; "config": { "alias": "config"; "required": true; "isSignal": true; }; "relatedData": { "alias": "relatedData"; "required": false; "isSignal": true; }; "compoundResourceView": { "alias": "compoundResourceView"; "required": false; "isSignal": true; }; "navAfterDelete": { "alias": "navAfterDelete"; "required": false; "isSignal": true; }; "showCreateForm": { "alias": "showCreateForm"; "required": false; "isSignal": true; }; }, { "deleted": "deleted"; "showCreateForm": "showCreateFormChange"; }, never, never, true, never>;
|
|
660
627
|
}
|
|
661
628
|
|
|
662
|
-
export { ActionAccessControlWrapperComponent, BaseInputComponent, BaseRPCModalComponent, CompoundResourceComponent, DeleteResourceConfirmationModalComponent, EmptyReadonlyFieldComponent,
|
|
663
|
-
export type { ActionButtonContext,
|
|
629
|
+
export { ActionAccessControlWrapperComponent, BaseInputComponent, BaseRPCModalComponent, CompoundResourceComponent, DeleteResourceConfirmationModalComponent, EmptyReadonlyFieldComponent, PaddingElementComponent, ResourceArrayViewComponent, ResourceCreateComponent, ResourceFieldComponent, ResourceLayoutComponent, ResourceListComponent, ResourceListCreateComponent, ResourceResolverComponent, ResourceStore, ResourceViewComponent, RpcButtonComponent, ValueFormatters, applyFormatting, camelCase, civildateCoercion, concatFunctions, createFormGroup, extractFieldNames, flattenElements, formatDateString, hyphenConcat, hyphenConcatWithoutResource, hyphenSpaceConcat, hyphenSpaceConcatWithoutResource, isUUID, maxConfigElementRecursionDepth, maxLayoutNestingDepth, metadataTypeCoercion, noSpaceConcatWithoutResource, resourceValidators, simpleSlashDateFormatter, spaceConcat, spaceConcatWithoutResource, spaceHyphenConcat, spaceHyphenConcatWithoutResource };
|
|
630
|
+
export type { ActionButtonContext, CreateOperation, DeleteOperation, FormatterFn, Link, Operation, PatchOperation, PristineData, UpdateOperation };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { UrlTree, CanDeactivateFn } from '@angular/router';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
|
|
4
|
+
type CanDeactivateType = Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree;
|
|
5
|
+
interface CanComponentDeactivate {
|
|
6
|
+
canDeactivate: () => CanDeactivateType;
|
|
7
|
+
}
|
|
8
|
+
declare const canDeactivateGuard: CanDeactivateFn<CanComponentDeactivate>;
|
|
9
|
+
|
|
10
|
+
export { canDeactivateGuard };
|
|
11
|
+
export type { CanComponentDeactivate, CanDeactivateType };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MenuItem } from '@cccteam/ccc-lib/types';
|
|
2
|
+
|
|
3
|
+
declare const generatedNavItems: MenuItem[];
|
|
4
|
+
declare const generatedNavGroups: string[];
|
|
5
|
+
/**
|
|
6
|
+
* Adds a navigation item to the generated nav items array.
|
|
7
|
+
*/
|
|
8
|
+
declare function addNavItem(nav: {
|
|
9
|
+
navItem: MenuItem;
|
|
10
|
+
group?: string;
|
|
11
|
+
}, route: string): void;
|
|
12
|
+
|
|
13
|
+
export { addNavItem, generatedNavGroups, generatedNavItems };
|
|
@@ -20,6 +20,48 @@ interface PermissionScope {
|
|
|
20
20
|
declare const ReadPermission: Permission;
|
|
21
21
|
declare const UpdatePermission: Permission;
|
|
22
22
|
|
|
23
|
+
type ValidDisplayTypes = 'boolean' | 'nullboolean' | 'number' | 'string' | 'date' | 'enumerated' | 'link' | 'uuid' | 'civildate' | 'string[]' | 'customtypes.document';
|
|
24
|
+
type ValidRPCTypes = ValidDisplayTypes | `${Exclude<ValidDisplayTypes, 'string[]'>}[]`;
|
|
25
|
+
interface RPCFieldMeta {
|
|
26
|
+
fieldName: string;
|
|
27
|
+
displayType: ValidRPCTypes;
|
|
28
|
+
enumeratedResource?: Resource;
|
|
29
|
+
}
|
|
30
|
+
interface MethodMeta {
|
|
31
|
+
route: string;
|
|
32
|
+
fields: RPCFieldMeta[];
|
|
33
|
+
}
|
|
34
|
+
interface FieldMeta {
|
|
35
|
+
fieldName: string;
|
|
36
|
+
/** Indicates whether the field is required and only applies during resource creation.
|
|
37
|
+
* Use the validators config parameter in all other contexts
|
|
38
|
+
*/
|
|
39
|
+
required: boolean;
|
|
40
|
+
primaryKey?: {
|
|
41
|
+
ordinalPosition: number;
|
|
42
|
+
};
|
|
43
|
+
displayType: ValidDisplayTypes;
|
|
44
|
+
enumeratedResource?: Resource;
|
|
45
|
+
isIndex: boolean;
|
|
46
|
+
}
|
|
47
|
+
interface ResourceMeta {
|
|
48
|
+
route: string;
|
|
49
|
+
consolidatedRoute?: string;
|
|
50
|
+
listDisabled?: boolean;
|
|
51
|
+
readDisabled?: boolean;
|
|
52
|
+
createDisabled?: boolean;
|
|
53
|
+
updateDisabled?: boolean;
|
|
54
|
+
deleteDisabled?: boolean;
|
|
55
|
+
substringSearchParameter?: string;
|
|
56
|
+
fields: FieldMeta[];
|
|
57
|
+
}
|
|
58
|
+
type Meta = MethodMeta | ResourceMeta;
|
|
59
|
+
declare namespace CustomTypes {
|
|
60
|
+
interface Document {
|
|
61
|
+
placeholder: string;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
23
65
|
declare const defaultEmptyFieldValue = "-";
|
|
24
66
|
type NullBoolean = null | true | false;
|
|
25
67
|
type ConcatFn = 'space-concat' | 'hyphen-concat' | 'space-hyphen-concat' | 'hyphen-space-concat';
|
|
@@ -32,6 +74,7 @@ type ResourceValidatorFn = ValidatorFn & {
|
|
|
32
74
|
};
|
|
33
75
|
declare function createResourceValidator(validator: ValidatorFn): ResourceValidatorFn;
|
|
34
76
|
|
|
77
|
+
type ResourceMap = Record<Resource, ResourceMeta>;
|
|
35
78
|
interface FieldPointer {
|
|
36
79
|
field: FieldName;
|
|
37
80
|
}
|
|
@@ -860,48 +903,6 @@ interface NotificationMessage {
|
|
|
860
903
|
level: AlertLevel;
|
|
861
904
|
}
|
|
862
905
|
|
|
863
|
-
type ValidDisplayTypes = 'boolean' | 'nullboolean' | 'number' | 'string' | 'date' | 'enumerated' | 'link' | 'uuid' | 'civildate' | 'string[]' | 'customtypes.document';
|
|
864
|
-
type ValidRPCTypes = ValidDisplayTypes | `${Exclude<ValidDisplayTypes, 'string[]'>}[]`;
|
|
865
|
-
interface RPCFieldMeta {
|
|
866
|
-
fieldName: string;
|
|
867
|
-
displayType: ValidRPCTypes;
|
|
868
|
-
enumeratedResource?: Resource;
|
|
869
|
-
}
|
|
870
|
-
interface MethodMeta {
|
|
871
|
-
route: string;
|
|
872
|
-
fields: RPCFieldMeta[];
|
|
873
|
-
}
|
|
874
|
-
interface FieldMeta {
|
|
875
|
-
fieldName: string;
|
|
876
|
-
/** Indicates whether the field is required and only applies during resource creation.
|
|
877
|
-
* Use the validators config parameter in all other contexts
|
|
878
|
-
*/
|
|
879
|
-
required: boolean;
|
|
880
|
-
primaryKey?: {
|
|
881
|
-
ordinalPosition: number;
|
|
882
|
-
};
|
|
883
|
-
displayType: ValidDisplayTypes;
|
|
884
|
-
enumeratedResource?: Resource;
|
|
885
|
-
isIndex: boolean;
|
|
886
|
-
}
|
|
887
|
-
interface ResourceMeta {
|
|
888
|
-
route: string;
|
|
889
|
-
consolidatedRoute?: string;
|
|
890
|
-
listDisabled?: boolean;
|
|
891
|
-
readDisabled?: boolean;
|
|
892
|
-
createDisabled?: boolean;
|
|
893
|
-
updateDisabled?: boolean;
|
|
894
|
-
deleteDisabled?: boolean;
|
|
895
|
-
substringSearchParameter?: string;
|
|
896
|
-
fields: FieldMeta[];
|
|
897
|
-
}
|
|
898
|
-
type Meta = MethodMeta | ResourceMeta;
|
|
899
|
-
declare namespace CustomTypes {
|
|
900
|
-
interface Document {
|
|
901
|
-
placeholder: string;
|
|
902
|
-
}
|
|
903
|
-
}
|
|
904
|
-
|
|
905
906
|
/**
|
|
906
907
|
* Session Information for a logged in user
|
|
907
908
|
*/
|
|
@@ -943,4 +944,4 @@ declare const IDLE_WARNING_DURATION: InjectionToken<number>;
|
|
|
943
944
|
declare const IDLE_KEEPALIVE_DURATION: InjectionToken<number>;
|
|
944
945
|
|
|
945
946
|
export { API_URL, AVAILABLE_DOMAINS, AVAILABLE_PERMISSIONS, AlertLevel, BASE_URL, CustomConfigComponent, CustomTypes, FRONTEND_LOGIN_PATH, IDLE_KEEPALIVE_DURATION, IDLE_SESSION_DURATION, IDLE_WARNING_DURATION, METHOD_META, PERMISSION_REQUIRED, RESOURCE_META, ReadPermission, SESSION_PATH, UpdatePermission, actionButtonConfig, actionButtonConfigDefaults, additionalResourceConfig, additionalResourceConfigDefaults, arrayConfig, arrayConfigDefaults, componentConfig, componentConfigDefaults, computedDisplayField, computedDisplayFieldElementDefaults, createResourceValidator, defaultEmptyFieldValue, enumeratedConfig, enumeratedConfigDefaults, field, fieldElementDefaults, fieldSort, fieldSortDefaults, foreignKeyDefault, foreignKeyDefaultDefaults, listViewConfig, listViewConfigDefaults, multiColumnConfig, multiColumnConfigDefaults, nullBooleanConfig, nullBooleanConfigDefaults, padding, paddingElementDefaults, requiredIf, rootConfig, rootConfigDefaults, rpcConfig, rpcConfigDefaults, section, sectionElementDefaults, singleColumnConfig, singleColumnConfigDefaults, staticDefault, staticDefaultDefaults, switchParams, switchParamsDefaults, validatorsPresent, viewConfig, viewConfigDefaults };
|
|
946
|
-
export type { ActionButtonConfig, ActionButtonConfigOptions, ActionType, AdditionalResourceConfig, AdditionalResourceConfigOptions, Affix, ArrayConfig, BaseConfig, BaseConfigOptions, ChildResourceConfig, ColSize, ColumnConfig, ComponentConfig, ComponentConfigOptions, ComputedDisplayFieldElement, ComputedDisplayFieldElementOptions, ConcatFn, ConfigElement, ConfigParam, ConfigType, CreateNotificationMessage, DataType, Domain, DomainPermissions, EnumeratedConfig, EnumeratedConfigOptions, FieldDefault, FieldElement, FieldElementOptions, FieldMeta, FieldName, FieldPointer, FieldSort, FieldSortOptions, ForeignKeyDefault, ForeignKeyDefaultOptions, FormatType, ListConcatFn, ListViewConfig, ListViewConfigOptions, MenuItem, Meta, Method, MethodMeta, MultiColumnConfig, MultiColumnConfigOptions, NotificationMessage, NullBoolean, NullBooleanConfig, NullBooleanConfigOptions, PaddingElement, PaddingElementOptions, ParentResourceConfig, Permission, PermissionScope, RPCBaseFormData, RPCConfig, RPCConfigOptions, RPCDataType, RPCFieldMeta, RPCPlacement, RPCRecordData, RecordData, Resource, ResourceMeta, ResourceValidatorFn, RootConfig, RootConfigOptions, RootRouteData, RouteResourceData, RpcMethod, SectionElement, SectionElementOptions, SessionInfo, SingleColumnConfig, SingleColumnConfigOptions, StaticDefault, SwitchConfigParam, SwitchConfigParamOptions, ValidDisplayTypes, ValidRPCTypes, ViewConfig, ViewConfigOptions, ViewType, arrayConfigOptions, staticDefaultOptions, switchCase };
|
|
947
|
+
export type { ActionButtonConfig, ActionButtonConfigOptions, ActionType, AdditionalResourceConfig, AdditionalResourceConfigOptions, Affix, ArrayConfig, BaseConfig, BaseConfigOptions, ChildResourceConfig, ColSize, ColumnConfig, ComponentConfig, ComponentConfigOptions, ComputedDisplayFieldElement, ComputedDisplayFieldElementOptions, ConcatFn, ConfigElement, ConfigParam, ConfigType, CreateNotificationMessage, DataType, Domain, DomainPermissions, EnumeratedConfig, EnumeratedConfigOptions, FieldDefault, FieldElement, FieldElementOptions, FieldMeta, FieldName, FieldPointer, FieldSort, FieldSortOptions, ForeignKeyDefault, ForeignKeyDefaultOptions, FormatType, ListConcatFn, ListViewConfig, ListViewConfigOptions, MenuItem, Meta, Method, MethodMeta, MultiColumnConfig, MultiColumnConfigOptions, NotificationMessage, NullBoolean, NullBooleanConfig, NullBooleanConfigOptions, PaddingElement, PaddingElementOptions, ParentResourceConfig, Permission, PermissionScope, RPCBaseFormData, RPCConfig, RPCConfigOptions, RPCDataType, RPCFieldMeta, RPCPlacement, RPCRecordData, RecordData, Resource, ResourceMap, ResourceMeta, ResourceValidatorFn, RootConfig, RootConfigOptions, RootRouteData, RouteResourceData, RpcMethod, SectionElement, SectionElementOptions, SessionInfo, SingleColumnConfig, SingleColumnConfigOptions, StaticDefault, SwitchConfigParam, SwitchConfigParamOptions, ValidDisplayTypes, ValidRPCTypes, ViewConfig, ViewConfigOptions, ViewType, arrayConfigOptions, staticDefaultOptions, switchCase };
|