@cccteam/ccc-lib 0.0.16 → 0.0.17

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cccteam/ccc-lib",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git://github.com/cccteam/ccc-lib.git"
@@ -853,8 +853,8 @@ interface NotificationMessage {
853
853
  level: AlertLevel;
854
854
  }
855
855
 
856
- type ValidDisplayTypes = 'boolean' | 'nullboolean' | 'number' | 'string' | 'date' | 'enumerated' | 'link' | 'uuid' | 'civildate';
857
- type ValidRPCTypes = ValidDisplayTypes | `${ValidDisplayTypes}[]`;
856
+ type ValidDisplayTypes = 'boolean' | 'nullboolean' | 'number' | 'string' | 'date' | 'enumerated' | 'link' | 'uuid' | 'civildate' | 'string[]' | 'customtypes.document';
857
+ type ValidRPCTypes = ValidDisplayTypes | `${Exclude<ValidDisplayTypes, 'string[]'>}[]`;
858
858
  interface RPCFieldMeta {
859
859
  fieldName: string;
860
860
  displayType: ValidRPCTypes;
@@ -889,6 +889,11 @@ interface ResourceMeta {
889
889
  fields: FieldMeta[];
890
890
  }
891
891
  type Meta = MethodMeta | ResourceMeta;
892
+ declare namespace CustomTypes {
893
+ interface Document {
894
+ placeholder: string;
895
+ }
896
+ }
892
897
 
893
898
  /**
894
899
  * Session Information for a logged in user
@@ -930,5 +935,5 @@ declare const IDLE_SESSION_DURATION: InjectionToken<number>;
930
935
  declare const IDLE_WARNING_DURATION: InjectionToken<number>;
931
936
  declare const IDLE_KEEPALIVE_DURATION: InjectionToken<number>;
932
937
 
933
- export { API_URL, AVAILABLE_DOMAINS, AVAILABLE_PERMISSIONS, AlertLevel, BASE_URL, 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 };
938
+ export { API_URL, AVAILABLE_DOMAINS, AVAILABLE_PERMISSIONS, AlertLevel, BASE_URL, 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 };
934
939
  export type { ActionButtonConfig, ActionButtonConfigOptions, ActionType, AdditionalResourceConfig, AdditionalResourceConfigOptions, Affix, ArrayConfig, AvailableComponents, 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 };
@@ -959,8 +959,8 @@ interface NotificationMessage {
959
959
  level: AlertLevel;
960
960
  }
961
961
 
962
- type ValidDisplayTypes = 'boolean' | 'nullboolean' | 'number' | 'string' | 'date' | 'enumerated' | 'link' | 'uuid' | 'civildate';
963
- type ValidRPCTypes = ValidDisplayTypes | `${ValidDisplayTypes}[]`;
962
+ type ValidDisplayTypes = 'boolean' | 'nullboolean' | 'number' | 'string' | 'date' | 'enumerated' | 'link' | 'uuid' | 'civildate' | 'string[]' | 'customtypes.document';
963
+ type ValidRPCTypes = ValidDisplayTypes | `${Exclude<ValidDisplayTypes, 'string[]'>}[]`;
964
964
  interface RPCFieldMeta {
965
965
  fieldName: string;
966
966
  displayType: ValidRPCTypes;
@@ -995,6 +995,11 @@ interface ResourceMeta {
995
995
  fields: FieldMeta[];
996
996
  }
997
997
  type Meta = MethodMeta | ResourceMeta;
998
+ declare namespace CustomTypes {
999
+ interface Document {
1000
+ placeholder: string;
1001
+ }
1002
+ }
998
1003
 
999
1004
  /**
1000
1005
  * Session Information for a logged in user
@@ -1873,5 +1878,5 @@ declare function sparseFormData<T>(form: FormGroup, compareData: T): T;
1873
1878
  */
1874
1879
  declare function cleanStringForm<T>(control: AbstractControl): T | undefined;
1875
1880
 
1876
- export { API_URL, AVAILABLE_DOMAINS, AVAILABLE_PERMISSIONS, ActionAccessControlWrapperComponent, AlertComponent, AlertLevel, ApiInterceptor, AppGridComponent, AuthService, AuthenticationGuard, AuthorizationGuard, BASE_URL, BaseInputComponent, BaseRPCModalComponent, CUSTOM_HTTP_REQUEST_OPTIONS, CamelCaseToTitlePipe, CccInputFieldComponent, CompoundResourceComponent, DeleteResourceConfirmationModalComponent, EmptyReadonlyFieldComponent, FRONTEND_LOGIN_PATH, FormStateService, HasPermissionDirective, IDLE_KEEPALIVE_DURATION, IDLE_SESSION_DURATION, IDLE_WARNING_DURATION, IdleService, InputMode, LeavePageConfirmationModalComponent, METHOD_META, NotificationService, PERMISSION_REQUIRED, PaddingElementComponent, RESOURCE_META, ReadPermission, ResourceArrayViewComponent, ResourceCreateComponent, ResourceFieldComponent, ResourceLayoutComponent, ResourceListComponent, ResourceListCreateComponent, ResourceResolverComponent, ResourceStore, ResourceViewComponent, RpcButtonComponent, SESSION_PATH, SidenavComponent, TableButtonComponent, UiCoreService, UpdatePermission, ValueFormatters, actionButtonConfig, actionButtonConfigDefaults, additionalResourceConfig, additionalResourceConfigDefaults, applyFormatting, arrayConfig, arrayConfigDefaults, canDeactivateGuard, civildateCoercion, cleanStringForm, componentConfig, componentConfigDefaults, computedDisplayField, computedDisplayFieldElementDefaults, concatFunctions, createFormGroup, createResourceValidator, defaultEmptyFieldValue, enumeratedConfig, enumeratedConfigDefaults, errorOptions, extractFieldNames, field, fieldElementDefaults, fieldSort, fieldSortDefaults, flattenElements, foreignKeyDefault, foreignKeyDefaultDefaults, formatDateString, generatedNavGroups, generatedNavItems, hyphenConcat, hyphenConcatWithoutResource, hyphenSpaceConcat, hyphenSpaceConcatWithoutResource, isUUID, listViewConfig, listViewConfigDefaults, maxConfigElementRecursionDepth, maxLayoutNestingDepth, metadataTypeCoercion, multiColumnConfig, multiColumnConfigDefaults, noSpaceConcatWithoutResource, nullBooleanConfig, nullBooleanConfigDefaults, padding, paddingElementDefaults, requiredIf, resourceRoutes, resourceValidators, rootConfig, rootConfigDefaults, rpcConfig, rpcConfigDefaults, section, sectionElementDefaults, simpleSlashDateFormatter, singleColumnConfig, singleColumnConfigDefaults, spaceConcat, spaceConcatWithoutResource, spaceHyphenConcat, spaceHyphenConcatWithoutResource, sparseData, sparseFormData, staticDefault, staticDefaultDefaults, switchParams, switchParamsDefaults, validatorsPresent, viewConfig, viewConfigDefaults };
1881
+ export { API_URL, AVAILABLE_DOMAINS, AVAILABLE_PERMISSIONS, ActionAccessControlWrapperComponent, AlertComponent, AlertLevel, ApiInterceptor, AppGridComponent, AuthService, AuthenticationGuard, AuthorizationGuard, BASE_URL, BaseInputComponent, BaseRPCModalComponent, CUSTOM_HTTP_REQUEST_OPTIONS, CamelCaseToTitlePipe, CccInputFieldComponent, CompoundResourceComponent, CustomTypes, DeleteResourceConfirmationModalComponent, EmptyReadonlyFieldComponent, FRONTEND_LOGIN_PATH, FormStateService, HasPermissionDirective, IDLE_KEEPALIVE_DURATION, IDLE_SESSION_DURATION, IDLE_WARNING_DURATION, IdleService, InputMode, LeavePageConfirmationModalComponent, METHOD_META, NotificationService, PERMISSION_REQUIRED, PaddingElementComponent, RESOURCE_META, ReadPermission, ResourceArrayViewComponent, ResourceCreateComponent, ResourceFieldComponent, ResourceLayoutComponent, ResourceListComponent, ResourceListCreateComponent, ResourceResolverComponent, ResourceStore, ResourceViewComponent, RpcButtonComponent, SESSION_PATH, SidenavComponent, TableButtonComponent, UiCoreService, UpdatePermission, ValueFormatters, actionButtonConfig, actionButtonConfigDefaults, additionalResourceConfig, additionalResourceConfigDefaults, applyFormatting, arrayConfig, arrayConfigDefaults, canDeactivateGuard, civildateCoercion, cleanStringForm, componentConfig, componentConfigDefaults, computedDisplayField, computedDisplayFieldElementDefaults, concatFunctions, createFormGroup, createResourceValidator, defaultEmptyFieldValue, enumeratedConfig, enumeratedConfigDefaults, errorOptions, extractFieldNames, field, fieldElementDefaults, fieldSort, fieldSortDefaults, flattenElements, foreignKeyDefault, foreignKeyDefaultDefaults, formatDateString, generatedNavGroups, generatedNavItems, hyphenConcat, hyphenConcatWithoutResource, hyphenSpaceConcat, hyphenSpaceConcatWithoutResource, isUUID, listViewConfig, listViewConfigDefaults, maxConfigElementRecursionDepth, maxLayoutNestingDepth, metadataTypeCoercion, multiColumnConfig, multiColumnConfigDefaults, noSpaceConcatWithoutResource, nullBooleanConfig, nullBooleanConfigDefaults, padding, paddingElementDefaults, requiredIf, resourceRoutes, resourceValidators, rootConfig, rootConfigDefaults, rpcConfig, rpcConfigDefaults, section, sectionElementDefaults, simpleSlashDateFormatter, singleColumnConfig, singleColumnConfigDefaults, spaceConcat, spaceConcatWithoutResource, spaceHyphenConcat, spaceHyphenConcatWithoutResource, sparseData, sparseFormData, staticDefault, staticDefaultDefaults, switchParams, switchParamsDefaults, validatorsPresent, viewConfig, viewConfigDefaults };
1877
1882
  export type { ActionButtonConfig, ActionButtonConfigOptions, ActionButtonContext$1 as ActionButtonContext, ActionType, AdditionalResourceConfig, AdditionalResourceConfigOptions, Affix, ArrayConfig, AvailableComponents, BaseConfig, BaseConfigOptions, CanComponentDeactivate, CanDeactivateType, ChildResourceConfig, ColSize, ColumnConfig, ComponentConfig, ComponentConfigOptions, ComputedDisplayFieldElement, ComputedDisplayFieldElementOptions, ConcatFn, ConfigElement, ConfigParam, ConfigType, CreateNotificationMessage, CreateOperation, CustomHttpRequestOptions, DataType, DeleteOperation, Domain, DomainPermissions, EnumeratedConfig, EnumeratedConfigOptions, FieldDefault, FieldElement, FieldElementOptions, FieldMeta, FieldName, FieldPointer, FieldSort, FieldSortOptions, ForeignKeyDefault, ForeignKeyDefaultOptions, FormatType, FormatterFn, Link, ListConcatFn, ListViewConfig, ListViewConfigOptions, MenuItem, Meta, Method, MethodMeta, MultiColumnConfig, MultiColumnConfigOptions, NavGroups, NavItem, NotificationMessage, NullBoolean, NullBooleanConfig, NullBooleanConfigOptions, Operation, PaddingElement, PaddingElementOptions, ParentResourceConfig, PatchOperation, Permission, PermissionScope, PristineData, 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, UpdateOperation, ValidDisplayTypes, ValidRPCTypes, ViewConfig, ViewConfigOptions, ViewType, arrayConfigOptions, staticDefaultOptions, switchCase };