@jmruthers/pace-core 0.6.2 → 0.6.3
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/CHANGELOG.md +45 -0
- package/cursor-rules/00-pace-core-compliance.mdc +34 -2
- package/dist/{AuthService-BPvc3Ka0.d.ts → AuthService-Cb34EQs3.d.ts} +9 -1
- package/dist/{DataTable-TPTKCX4D.js → DataTable-THFPBKTP.js} +9 -8
- package/dist/{PublicPageProvider-DC6kCaqf.d.ts → PublicPageProvider-DEMpysFR.d.ts} +45 -67
- package/dist/{UnifiedAuthProvider-CVcTjx-d.d.ts → UnifiedAuthProvider-CKvHP1MK.d.ts} +1 -8
- package/dist/{UnifiedAuthProvider-CH6Z342H.js → UnifiedAuthProvider-KAGUYQ4J.js} +5 -4
- package/dist/{api-MVVQZLJI.js → api-IAGWF3ZG.js} +10 -10
- package/dist/{audit-B5P6FFIR.js → audit-V53FV5AG.js} +2 -2
- package/dist/{chunk-SFZUDBL5.js → chunk-2T2IG7T7.js} +70 -56
- package/dist/chunk-2T2IG7T7.js.map +1 -0
- package/dist/{chunk-MMZ7JXPU.js → chunk-6Z7LTB3D.js} +13 -21
- package/dist/{chunk-MMZ7JXPU.js.map → chunk-6Z7LTB3D.js.map} +1 -1
- package/dist/{chunk-6J4GEEJR.js → chunk-CNCQDFLN.js} +53 -27
- package/dist/chunk-CNCQDFLN.js.map +1 -0
- package/dist/chunk-DGUM43GV.js +11 -0
- package/dist/{chunk-EHMR7VYL.js → chunk-DWUBLJJM.js} +361 -187
- package/dist/chunk-DWUBLJJM.js.map +1 -0
- package/dist/{chunk-2UOI2FG5.js → chunk-HFZBI76P.js} +4 -4
- package/dist/{chunk-F2IMUDXZ.js → chunk-M7MPQISP.js} +2 -2
- package/dist/{chunk-3XC4CPTD.js → chunk-PQBSKX33.js} +244 -5727
- package/dist/chunk-PQBSKX33.js.map +1 -0
- package/dist/chunk-QRPVRXYT.js +226 -0
- package/dist/chunk-QRPVRXYT.js.map +1 -0
- package/dist/{chunk-24UVZUZG.js → chunk-RWEBCB47.js} +129 -387
- package/dist/chunk-RWEBCB47.js.map +1 -0
- package/dist/{chunk-XWQCNGTQ.js → chunk-YDQHOZNA.js} +173 -79
- package/dist/chunk-YDQHOZNA.js.map +1 -0
- package/dist/{chunk-NECFR5MM.js → chunk-ZNIWI3UC.js} +562 -644
- package/dist/chunk-ZNIWI3UC.js.map +1 -0
- package/dist/components.d.ts +2 -2
- package/dist/components.js +12 -13
- package/dist/contextValidator-3JNZKUTX.js +9 -0
- package/dist/contextValidator-3JNZKUTX.js.map +1 -0
- package/dist/eslint-rules/pace-core-compliance.cjs +106 -0
- package/dist/hooks.d.ts +2 -2
- package/dist/hooks.js +7 -6
- package/dist/hooks.js.map +1 -1
- package/dist/index.d.ts +7 -7
- package/dist/index.js +21 -16
- package/dist/index.js.map +1 -1
- package/dist/providers.d.ts +3 -3
- package/dist/providers.js +4 -3
- package/dist/rbac/index.d.ts +67 -27
- package/dist/rbac/index.js +15 -8
- package/dist/styles/index.js +1 -1
- package/dist/theming/runtime.js +1 -1
- package/dist/types.js +1 -1
- package/dist/{usePublicRouteParams-1oMokgLF.d.ts → usePublicRouteParams-i3qtoBgg.d.ts} +7 -16
- package/dist/utils.js +5 -7
- package/dist/utils.js.map +1 -1
- package/docs/api/README.md +14 -16
- package/docs/api/modules.md +3796 -2513
- package/docs/components/context-selector.md +126 -0
- package/docs/migration/RBAC_SCOPE_MIGRATION.md +385 -0
- package/docs/pace-mint-fix-auto-selection.md +218 -0
- package/docs/pace-mint-rbac-setup.md +391 -0
- package/docs/rbac/secure-client-protection.md +330 -0
- package/package.json +3 -3
- package/scripts/audit/core/checks/compliance.cjs +72 -0
- package/scripts/audit/core/checks/dependencies.cjs +559 -28
- package/scripts/audit/core/checks/documentation.cjs +68 -3
- package/scripts/audit/core/checks/environment.cjs +2 -14
- package/scripts/audit/core/checks/error-handling.cjs +47 -6
- package/src/components/ContextSelector/ContextSelector.tsx +384 -0
- package/src/components/ContextSelector/index.ts +3 -0
- package/src/components/DataTable/components/RowComponent.tsx +19 -19
- package/src/components/DataTable/components/UnifiedTableBody.tsx +2 -2
- package/src/components/DataTable/hooks/useDataTablePermissions.ts +8 -6
- package/src/components/Dialog/Dialog.tsx +29 -1
- package/src/components/FileDisplay/FileDisplay.tsx +42 -10
- package/src/components/Header/Header.test.tsx +43 -73
- package/src/components/Header/Header.tsx +44 -45
- package/src/components/PaceAppLayout/PaceAppLayout.integration.test.tsx +10 -19
- package/src/components/PaceAppLayout/PaceAppLayout.performance.test.tsx +2 -2
- package/src/components/PaceAppLayout/PaceAppLayout.security.test.tsx +5 -5
- package/src/components/PaceAppLayout/PaceAppLayout.test.tsx +9 -9
- package/src/components/PaceAppLayout/PaceAppLayout.tsx +135 -33
- package/src/components/PaceAppLayout/README.md +14 -17
- package/src/components/PaceAppLayout/test-setup.tsx +2 -2
- package/src/components/index.ts +5 -5
- package/src/eslint-rules/pace-core-compliance.cjs +106 -0
- package/src/hooks/__tests__/useAppConfig.unit.test.ts +4 -98
- package/src/hooks/useAppConfig.ts +15 -30
- package/src/hooks/useFileDisplay.ts +77 -50
- package/src/index.ts +4 -5
- package/src/providers/services/AuthServiceProvider.tsx +17 -7
- package/src/providers/services/EventServiceProvider.tsx +33 -5
- package/src/providers/services/UnifiedAuthProvider.tsx +90 -134
- package/src/rbac/__tests__/adapters.comprehensive.test.tsx +1 -1
- package/src/rbac/adapters.tsx +2 -2
- package/src/rbac/api.test.ts +59 -51
- package/src/rbac/api.ts +178 -132
- package/src/rbac/components/PagePermissionGuard.tsx +38 -10
- package/src/rbac/hooks/__tests__/useSecureSupabase.test.ts +32 -21
- package/src/rbac/hooks/permissions/useAccessLevel.ts +1 -1
- package/src/rbac/hooks/permissions/useCan.ts +41 -11
- package/src/rbac/hooks/permissions/useHasAllPermissions.ts +1 -1
- package/src/rbac/hooks/permissions/useHasAnyPermission.ts +1 -1
- package/src/rbac/hooks/permissions/useMultiplePermissions.ts +1 -1
- package/src/rbac/hooks/useCan.test.ts +0 -9
- package/src/rbac/hooks/useRBAC.test.ts +1 -5
- package/src/rbac/hooks/useRBAC.ts +36 -37
- package/src/rbac/hooks/useResolvedScope.test.ts +120 -35
- package/src/rbac/hooks/useResolvedScope.ts +35 -40
- package/src/rbac/hooks/useSecureSupabase.ts +7 -7
- package/src/rbac/index.ts +7 -0
- package/src/rbac/secureClient.test.ts +22 -18
- package/src/rbac/secureClient.ts +103 -16
- package/src/rbac/security.ts +0 -17
- package/src/rbac/types.ts +1 -0
- package/src/rbac/utils/__tests__/contextValidator.test.ts +64 -86
- package/src/rbac/utils/clientSecurity.ts +93 -0
- package/src/rbac/utils/contextValidator.ts +77 -168
- package/src/services/AuthService.ts +39 -7
- package/src/services/EventService.ts +186 -54
- package/src/services/OrganisationService.ts +81 -14
- package/src/services/__tests__/EventService.test.ts +1 -2
- package/src/services/base/BaseService.ts +3 -0
- package/src/utils/dynamic/dynamicUtils.ts +7 -4
- package/dist/chunk-24UVZUZG.js.map +0 -1
- package/dist/chunk-3XC4CPTD.js.map +0 -1
- package/dist/chunk-6J4GEEJR.js.map +0 -1
- package/dist/chunk-7D4SUZUM.js +0 -38
- package/dist/chunk-EHMR7VYL.js.map +0 -1
- package/dist/chunk-NECFR5MM.js.map +0 -1
- package/dist/chunk-SFZUDBL5.js.map +0 -1
- package/dist/chunk-XWQCNGTQ.js.map +0 -1
- package/docs/api/classes/ColumnFactory.md +0 -243
- package/docs/api/classes/InvalidScopeError.md +0 -73
- package/docs/api/classes/Logger.md +0 -178
- package/docs/api/classes/MissingUserContextError.md +0 -66
- package/docs/api/classes/OrganisationContextRequiredError.md +0 -66
- package/docs/api/classes/PermissionDeniedError.md +0 -73
- package/docs/api/classes/RBACAuditManager.md +0 -297
- package/docs/api/classes/RBACCache.md +0 -322
- package/docs/api/classes/RBACEngine.md +0 -171
- package/docs/api/classes/RBACError.md +0 -76
- package/docs/api/classes/RBACNotInitializedError.md +0 -66
- package/docs/api/classes/SecureSupabaseClient.md +0 -163
- package/docs/api/classes/StorageUtils.md +0 -328
- package/docs/api/enums/FileCategory.md +0 -184
- package/docs/api/enums/LogLevel.md +0 -54
- package/docs/api/enums/RBACErrorCode.md +0 -228
- package/docs/api/enums/RPCFunction.md +0 -118
- package/docs/api/interfaces/AddressFieldProps.md +0 -241
- package/docs/api/interfaces/AddressFieldRef.md +0 -94
- package/docs/api/interfaces/AggregateConfig.md +0 -43
- package/docs/api/interfaces/AutocompleteOptions.md +0 -75
- package/docs/api/interfaces/AvatarProps.md +0 -128
- package/docs/api/interfaces/BadgeProps.md +0 -34
- package/docs/api/interfaces/ButtonProps.md +0 -56
- package/docs/api/interfaces/CalendarProps.md +0 -73
- package/docs/api/interfaces/CardProps.md +0 -69
- package/docs/api/interfaces/ColorPalette.md +0 -7
- package/docs/api/interfaces/ColorShade.md +0 -66
- package/docs/api/interfaces/ComplianceResult.md +0 -30
- package/docs/api/interfaces/DataAccessRecord.md +0 -96
- package/docs/api/interfaces/DataRecord.md +0 -11
- package/docs/api/interfaces/DataTableAction.md +0 -252
- package/docs/api/interfaces/DataTableColumn.md +0 -504
- package/docs/api/interfaces/DataTableProps.md +0 -625
- package/docs/api/interfaces/DataTableToolbarButton.md +0 -96
- package/docs/api/interfaces/DatabaseComplianceResult.md +0 -85
- package/docs/api/interfaces/DatabaseIssue.md +0 -41
- package/docs/api/interfaces/EmptyStateConfig.md +0 -61
- package/docs/api/interfaces/EnhancedNavigationMenuProps.md +0 -235
- package/docs/api/interfaces/ErrorBoundaryProps.md +0 -147
- package/docs/api/interfaces/ErrorBoundaryProviderProps.md +0 -36
- package/docs/api/interfaces/ErrorBoundaryState.md +0 -75
- package/docs/api/interfaces/EventAppRoleData.md +0 -71
- package/docs/api/interfaces/ExportColumn.md +0 -90
- package/docs/api/interfaces/ExportOptions.md +0 -126
- package/docs/api/interfaces/FileDisplayProps.md +0 -249
- package/docs/api/interfaces/FileMetadata.md +0 -129
- package/docs/api/interfaces/FileReference.md +0 -118
- package/docs/api/interfaces/FileSizeLimits.md +0 -7
- package/docs/api/interfaces/FileUploadOptions.md +0 -139
- package/docs/api/interfaces/FileUploadProps.md +0 -296
- package/docs/api/interfaces/FooterProps.md +0 -107
- package/docs/api/interfaces/FormFieldProps.md +0 -166
- package/docs/api/interfaces/FormProps.md +0 -113
- package/docs/api/interfaces/GrantEventAppRoleParams.md +0 -122
- package/docs/api/interfaces/InactivityWarningModalProps.md +0 -115
- package/docs/api/interfaces/InputProps.md +0 -56
- package/docs/api/interfaces/LabelProps.md +0 -107
- package/docs/api/interfaces/LoggerConfig.md +0 -62
- package/docs/api/interfaces/LoginFormProps.md +0 -187
- package/docs/api/interfaces/NavigationAccessRecord.md +0 -107
- package/docs/api/interfaces/NavigationContextType.md +0 -164
- package/docs/api/interfaces/NavigationGuardProps.md +0 -139
- package/docs/api/interfaces/NavigationItem.md +0 -120
- package/docs/api/interfaces/NavigationMenuProps.md +0 -221
- package/docs/api/interfaces/NavigationProviderProps.md +0 -117
- package/docs/api/interfaces/Organisation.md +0 -140
- package/docs/api/interfaces/OrganisationContextType.md +0 -388
- package/docs/api/interfaces/OrganisationMembership.md +0 -140
- package/docs/api/interfaces/OrganisationProviderProps.md +0 -76
- package/docs/api/interfaces/OrganisationSecurityError.md +0 -62
- package/docs/api/interfaces/PaceAppLayoutProps.md +0 -409
- package/docs/api/interfaces/PaceLoginPageProps.md +0 -49
- package/docs/api/interfaces/PageAccessRecord.md +0 -85
- package/docs/api/interfaces/PagePermissionContextType.md +0 -140
- package/docs/api/interfaces/PagePermissionGuardProps.md +0 -153
- package/docs/api/interfaces/PagePermissionProviderProps.md +0 -119
- package/docs/api/interfaces/PaletteData.md +0 -41
- package/docs/api/interfaces/ParsedAddress.md +0 -120
- package/docs/api/interfaces/PermissionEnforcerProps.md +0 -153
- package/docs/api/interfaces/ProgressProps.md +0 -42
- package/docs/api/interfaces/ProtectedRouteProps.md +0 -78
- package/docs/api/interfaces/PublicPageFooterProps.md +0 -112
- package/docs/api/interfaces/PublicPageHeaderProps.md +0 -125
- package/docs/api/interfaces/PublicPageLayoutProps.md +0 -185
- package/docs/api/interfaces/QuickFix.md +0 -52
- package/docs/api/interfaces/RBACAccessValidateParams.md +0 -52
- package/docs/api/interfaces/RBACAccessValidateResult.md +0 -41
- package/docs/api/interfaces/RBACAuditLogParams.md +0 -85
- package/docs/api/interfaces/RBACAuditLogResult.md +0 -52
- package/docs/api/interfaces/RBACConfig.md +0 -133
- package/docs/api/interfaces/RBACContext.md +0 -52
- package/docs/api/interfaces/RBACLogger.md +0 -112
- package/docs/api/interfaces/RBACPageAccessCheckParams.md +0 -74
- package/docs/api/interfaces/RBACPerformanceMetrics.md +0 -138
- package/docs/api/interfaces/RBACPermissionCheckParams.md +0 -74
- package/docs/api/interfaces/RBACPermissionCheckResult.md +0 -52
- package/docs/api/interfaces/RBACPermissionsGetParams.md +0 -63
- package/docs/api/interfaces/RBACPermissionsGetResult.md +0 -63
- package/docs/api/interfaces/RBACResult.md +0 -58
- package/docs/api/interfaces/RBACRoleGrantParams.md +0 -63
- package/docs/api/interfaces/RBACRoleGrantResult.md +0 -52
- package/docs/api/interfaces/RBACRoleRevokeParams.md +0 -63
- package/docs/api/interfaces/RBACRoleRevokeResult.md +0 -52
- package/docs/api/interfaces/RBACRoleValidateParams.md +0 -52
- package/docs/api/interfaces/RBACRoleValidateResult.md +0 -63
- package/docs/api/interfaces/RBACRolesListParams.md +0 -52
- package/docs/api/interfaces/RBACRolesListResult.md +0 -74
- package/docs/api/interfaces/RBACSessionTrackParams.md +0 -74
- package/docs/api/interfaces/RBACSessionTrackResult.md +0 -52
- package/docs/api/interfaces/ResourcePermissions.md +0 -155
- package/docs/api/interfaces/RevokeEventAppRoleParams.md +0 -100
- package/docs/api/interfaces/RoleBasedRouterContextType.md +0 -151
- package/docs/api/interfaces/RoleBasedRouterProps.md +0 -156
- package/docs/api/interfaces/RoleManagementResult.md +0 -52
- package/docs/api/interfaces/RouteAccessRecord.md +0 -107
- package/docs/api/interfaces/RouteConfig.md +0 -134
- package/docs/api/interfaces/RuntimeComplianceResult.md +0 -55
- package/docs/api/interfaces/SecureDataContextType.md +0 -168
- package/docs/api/interfaces/SecureDataProviderProps.md +0 -132
- package/docs/api/interfaces/SessionRestorationLoaderProps.md +0 -34
- package/docs/api/interfaces/SetupIssue.md +0 -41
- package/docs/api/interfaces/StorageConfig.md +0 -41
- package/docs/api/interfaces/StorageFileInfo.md +0 -74
- package/docs/api/interfaces/StorageFileMetadata.md +0 -151
- package/docs/api/interfaces/StorageListOptions.md +0 -99
- package/docs/api/interfaces/StorageListResult.md +0 -41
- package/docs/api/interfaces/StorageUploadOptions.md +0 -101
- package/docs/api/interfaces/StorageUploadResult.md +0 -63
- package/docs/api/interfaces/StorageUrlOptions.md +0 -60
- package/docs/api/interfaces/StyleImport.md +0 -19
- package/docs/api/interfaces/SwitchProps.md +0 -34
- package/docs/api/interfaces/TabsContentProps.md +0 -9
- package/docs/api/interfaces/TabsListProps.md +0 -9
- package/docs/api/interfaces/TabsProps.md +0 -9
- package/docs/api/interfaces/TabsTriggerProps.md +0 -50
- package/docs/api/interfaces/TextareaProps.md +0 -53
- package/docs/api/interfaces/ToastActionElement.md +0 -12
- package/docs/api/interfaces/ToastProps.md +0 -9
- package/docs/api/interfaces/UnifiedAuthContextType.md +0 -823
- package/docs/api/interfaces/UnifiedAuthProviderProps.md +0 -173
- package/docs/api/interfaces/UseFormDialogOptions.md +0 -62
- package/docs/api/interfaces/UseFormDialogReturn.md +0 -117
- package/docs/api/interfaces/UseInactivityTrackerOptions.md +0 -138
- package/docs/api/interfaces/UseInactivityTrackerReturn.md +0 -123
- package/docs/api/interfaces/UsePublicEventLogoOptions.md +0 -87
- package/docs/api/interfaces/UsePublicEventLogoReturn.md +0 -84
- package/docs/api/interfaces/UsePublicEventOptions.md +0 -34
- package/docs/api/interfaces/UsePublicEventReturn.md +0 -71
- package/docs/api/interfaces/UsePublicFileDisplayOptions.md +0 -47
- package/docs/api/interfaces/UsePublicFileDisplayReturn.md +0 -123
- package/docs/api/interfaces/UsePublicRouteParamsReturn.md +0 -97
- package/docs/api/interfaces/UseResolvedScopeOptions.md +0 -47
- package/docs/api/interfaces/UseResolvedScopeReturn.md +0 -47
- package/docs/api/interfaces/UseResourcePermissionsOptions.md +0 -34
- package/docs/api/interfaces/UserEventAccess.md +0 -121
- package/docs/api/interfaces/UserMenuProps.md +0 -88
- package/docs/api/interfaces/UserProfile.md +0 -63
- package/src/components/EventSelector/EventSelector.test.tsx +0 -720
- package/src/components/EventSelector/EventSelector.tsx +0 -423
- package/src/components/EventSelector/index.ts +0 -3
- package/src/components/OrganisationSelector/OrganisationSelector.test.tsx +0 -784
- package/src/components/OrganisationSelector/OrganisationSelector.tsx +0 -327
- package/src/components/OrganisationSelector/index.ts +0 -9
- /package/dist/{DataTable-TPTKCX4D.js.map → DataTable-THFPBKTP.js.map} +0 -0
- /package/dist/{UnifiedAuthProvider-CH6Z342H.js.map → UnifiedAuthProvider-KAGUYQ4J.js.map} +0 -0
- /package/dist/{api-MVVQZLJI.js.map → api-IAGWF3ZG.js.map} +0 -0
- /package/dist/{audit-B5P6FFIR.js.map → audit-V53FV5AG.js.map} +0 -0
- /package/dist/{chunk-7D4SUZUM.js.map → chunk-DGUM43GV.js.map} +0 -0
- /package/dist/{chunk-2UOI2FG5.js.map → chunk-HFZBI76P.js.map} +0 -0
- /package/dist/{chunk-F2IMUDXZ.js.map → chunk-M7MPQISP.js.map} +0 -0
|
@@ -1,228 +0,0 @@
|
|
|
1
|
-
[@jmruthers/pace-core - v0.6.2](../README.md) / [Exports](../modules.md) / RBACErrorCode
|
|
2
|
-
|
|
3
|
-
# Enumeration: RBACErrorCode
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Enumeration Members
|
|
8
|
-
|
|
9
|
-
- [USER\_NOT\_FOUND](RBACErrorCode.md#user_not_found)
|
|
10
|
-
- [INVALID\_ROLE\_TYPE](RBACErrorCode.md#invalid_role_type)
|
|
11
|
-
- [INVALID\_ROLE\_NAME](RBACErrorCode.md#invalid_role_name)
|
|
12
|
-
- [MISSING\_ORGANISATION\_ID](RBACErrorCode.md#missing_organisation_id)
|
|
13
|
-
- [MISSING\_EVENT\_APP\_CONTEXT](RBACErrorCode.md#missing_event_app_context)
|
|
14
|
-
- [ORGANISATION\_NOT\_FOUND](RBACErrorCode.md#organisation_not_found)
|
|
15
|
-
- [EVENT\_NOT\_FOUND](RBACErrorCode.md#event_not_found)
|
|
16
|
-
- [APP\_NOT\_FOUND](RBACErrorCode.md#app_not_found)
|
|
17
|
-
- [INVALID\_SESSION\_TYPE](RBACErrorCode.md#invalid_session_type)
|
|
18
|
-
- [INVALID\_EVENT\_TYPE](RBACErrorCode.md#invalid_event_type)
|
|
19
|
-
- [DATABASE\_ERROR](RBACErrorCode.md#database_error)
|
|
20
|
-
- [ROLE\_NOT\_FOUND](RBACErrorCode.md#role_not_found)
|
|
21
|
-
- [USER\_NOT\_AUTHENTICATED](RBACErrorCode.md#user_not_authenticated)
|
|
22
|
-
- [INVALID\_GLOBAL\_ROLE](RBACErrorCode.md#invalid_global_role)
|
|
23
|
-
- [INVALID\_ORGANISATION\_ROLE](RBACErrorCode.md#invalid_organisation_role)
|
|
24
|
-
- [INVALID\_EVENT\_APP\_ROLE](RBACErrorCode.md#invalid_event_app_role)
|
|
25
|
-
- [INVALID\_EVENT\_APP\_FORMAT](RBACErrorCode.md#invalid_event_app_format)
|
|
26
|
-
- [MISSING\_CONTEXT](RBACErrorCode.md#missing_context)
|
|
27
|
-
- [INVALID\_CONTEXT](RBACErrorCode.md#invalid_context)
|
|
28
|
-
- [GRANTED\_BY\_NOT\_FOUND](RBACErrorCode.md#granted_by_not_found)
|
|
29
|
-
|
|
30
|
-
## Enumeration Members
|
|
31
|
-
|
|
32
|
-
### USER\_NOT\_FOUND
|
|
33
|
-
|
|
34
|
-
• **USER\_NOT\_FOUND** = ``"USER_NOT_FOUND"``
|
|
35
|
-
|
|
36
|
-
#### Defined in
|
|
37
|
-
|
|
38
|
-
[packages/core/src/rbac/types/functions.ts:201](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/types/functions.ts#L201)
|
|
39
|
-
|
|
40
|
-
___
|
|
41
|
-
|
|
42
|
-
### INVALID\_ROLE\_TYPE
|
|
43
|
-
|
|
44
|
-
• **INVALID\_ROLE\_TYPE** = ``"INVALID_ROLE_TYPE"``
|
|
45
|
-
|
|
46
|
-
#### Defined in
|
|
47
|
-
|
|
48
|
-
[packages/core/src/rbac/types/functions.ts:202](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/types/functions.ts#L202)
|
|
49
|
-
|
|
50
|
-
___
|
|
51
|
-
|
|
52
|
-
### INVALID\_ROLE\_NAME
|
|
53
|
-
|
|
54
|
-
• **INVALID\_ROLE\_NAME** = ``"INVALID_ROLE_NAME"``
|
|
55
|
-
|
|
56
|
-
#### Defined in
|
|
57
|
-
|
|
58
|
-
[packages/core/src/rbac/types/functions.ts:203](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/types/functions.ts#L203)
|
|
59
|
-
|
|
60
|
-
___
|
|
61
|
-
|
|
62
|
-
### MISSING\_ORGANISATION\_ID
|
|
63
|
-
|
|
64
|
-
• **MISSING\_ORGANISATION\_ID** = ``"MISSING_ORGANISATION_ID"``
|
|
65
|
-
|
|
66
|
-
#### Defined in
|
|
67
|
-
|
|
68
|
-
[packages/core/src/rbac/types/functions.ts:204](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/types/functions.ts#L204)
|
|
69
|
-
|
|
70
|
-
___
|
|
71
|
-
|
|
72
|
-
### MISSING\_EVENT\_APP\_CONTEXT
|
|
73
|
-
|
|
74
|
-
• **MISSING\_EVENT\_APP\_CONTEXT** = ``"MISSING_EVENT_APP_CONTEXT"``
|
|
75
|
-
|
|
76
|
-
#### Defined in
|
|
77
|
-
|
|
78
|
-
[packages/core/src/rbac/types/functions.ts:205](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/types/functions.ts#L205)
|
|
79
|
-
|
|
80
|
-
___
|
|
81
|
-
|
|
82
|
-
### ORGANISATION\_NOT\_FOUND
|
|
83
|
-
|
|
84
|
-
• **ORGANISATION\_NOT\_FOUND** = ``"ORGANISATION_NOT_FOUND"``
|
|
85
|
-
|
|
86
|
-
#### Defined in
|
|
87
|
-
|
|
88
|
-
[packages/core/src/rbac/types/functions.ts:206](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/types/functions.ts#L206)
|
|
89
|
-
|
|
90
|
-
___
|
|
91
|
-
|
|
92
|
-
### EVENT\_NOT\_FOUND
|
|
93
|
-
|
|
94
|
-
• **EVENT\_NOT\_FOUND** = ``"EVENT_NOT_FOUND"``
|
|
95
|
-
|
|
96
|
-
#### Defined in
|
|
97
|
-
|
|
98
|
-
[packages/core/src/rbac/types/functions.ts:207](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/types/functions.ts#L207)
|
|
99
|
-
|
|
100
|
-
___
|
|
101
|
-
|
|
102
|
-
### APP\_NOT\_FOUND
|
|
103
|
-
|
|
104
|
-
• **APP\_NOT\_FOUND** = ``"APP_NOT_FOUND"``
|
|
105
|
-
|
|
106
|
-
#### Defined in
|
|
107
|
-
|
|
108
|
-
[packages/core/src/rbac/types/functions.ts:208](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/types/functions.ts#L208)
|
|
109
|
-
|
|
110
|
-
___
|
|
111
|
-
|
|
112
|
-
### INVALID\_SESSION\_TYPE
|
|
113
|
-
|
|
114
|
-
• **INVALID\_SESSION\_TYPE** = ``"INVALID_SESSION_TYPE"``
|
|
115
|
-
|
|
116
|
-
#### Defined in
|
|
117
|
-
|
|
118
|
-
[packages/core/src/rbac/types/functions.ts:209](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/types/functions.ts#L209)
|
|
119
|
-
|
|
120
|
-
___
|
|
121
|
-
|
|
122
|
-
### INVALID\_EVENT\_TYPE
|
|
123
|
-
|
|
124
|
-
• **INVALID\_EVENT\_TYPE** = ``"INVALID_EVENT_TYPE"``
|
|
125
|
-
|
|
126
|
-
#### Defined in
|
|
127
|
-
|
|
128
|
-
[packages/core/src/rbac/types/functions.ts:210](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/types/functions.ts#L210)
|
|
129
|
-
|
|
130
|
-
___
|
|
131
|
-
|
|
132
|
-
### DATABASE\_ERROR
|
|
133
|
-
|
|
134
|
-
• **DATABASE\_ERROR** = ``"DATABASE_ERROR"``
|
|
135
|
-
|
|
136
|
-
#### Defined in
|
|
137
|
-
|
|
138
|
-
[packages/core/src/rbac/types/functions.ts:211](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/types/functions.ts#L211)
|
|
139
|
-
|
|
140
|
-
___
|
|
141
|
-
|
|
142
|
-
### ROLE\_NOT\_FOUND
|
|
143
|
-
|
|
144
|
-
• **ROLE\_NOT\_FOUND** = ``"ROLE_NOT_FOUND"``
|
|
145
|
-
|
|
146
|
-
#### Defined in
|
|
147
|
-
|
|
148
|
-
[packages/core/src/rbac/types/functions.ts:212](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/types/functions.ts#L212)
|
|
149
|
-
|
|
150
|
-
___
|
|
151
|
-
|
|
152
|
-
### USER\_NOT\_AUTHENTICATED
|
|
153
|
-
|
|
154
|
-
• **USER\_NOT\_AUTHENTICATED** = ``"USER_NOT_AUTHENTICATED"``
|
|
155
|
-
|
|
156
|
-
#### Defined in
|
|
157
|
-
|
|
158
|
-
[packages/core/src/rbac/types/functions.ts:213](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/types/functions.ts#L213)
|
|
159
|
-
|
|
160
|
-
___
|
|
161
|
-
|
|
162
|
-
### INVALID\_GLOBAL\_ROLE
|
|
163
|
-
|
|
164
|
-
• **INVALID\_GLOBAL\_ROLE** = ``"INVALID_GLOBAL_ROLE"``
|
|
165
|
-
|
|
166
|
-
#### Defined in
|
|
167
|
-
|
|
168
|
-
[packages/core/src/rbac/types/functions.ts:214](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/types/functions.ts#L214)
|
|
169
|
-
|
|
170
|
-
___
|
|
171
|
-
|
|
172
|
-
### INVALID\_ORGANISATION\_ROLE
|
|
173
|
-
|
|
174
|
-
• **INVALID\_ORGANISATION\_ROLE** = ``"INVALID_ORGANISATION_ROLE"``
|
|
175
|
-
|
|
176
|
-
#### Defined in
|
|
177
|
-
|
|
178
|
-
[packages/core/src/rbac/types/functions.ts:215](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/types/functions.ts#L215)
|
|
179
|
-
|
|
180
|
-
___
|
|
181
|
-
|
|
182
|
-
### INVALID\_EVENT\_APP\_ROLE
|
|
183
|
-
|
|
184
|
-
• **INVALID\_EVENT\_APP\_ROLE** = ``"INVALID_EVENT_APP_ROLE"``
|
|
185
|
-
|
|
186
|
-
#### Defined in
|
|
187
|
-
|
|
188
|
-
[packages/core/src/rbac/types/functions.ts:216](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/types/functions.ts#L216)
|
|
189
|
-
|
|
190
|
-
___
|
|
191
|
-
|
|
192
|
-
### INVALID\_EVENT\_APP\_FORMAT
|
|
193
|
-
|
|
194
|
-
• **INVALID\_EVENT\_APP\_FORMAT** = ``"INVALID_EVENT_APP_FORMAT"``
|
|
195
|
-
|
|
196
|
-
#### Defined in
|
|
197
|
-
|
|
198
|
-
[packages/core/src/rbac/types/functions.ts:217](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/types/functions.ts#L217)
|
|
199
|
-
|
|
200
|
-
___
|
|
201
|
-
|
|
202
|
-
### MISSING\_CONTEXT
|
|
203
|
-
|
|
204
|
-
• **MISSING\_CONTEXT** = ``"MISSING_CONTEXT"``
|
|
205
|
-
|
|
206
|
-
#### Defined in
|
|
207
|
-
|
|
208
|
-
[packages/core/src/rbac/types/functions.ts:218](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/types/functions.ts#L218)
|
|
209
|
-
|
|
210
|
-
___
|
|
211
|
-
|
|
212
|
-
### INVALID\_CONTEXT
|
|
213
|
-
|
|
214
|
-
• **INVALID\_CONTEXT** = ``"INVALID_CONTEXT"``
|
|
215
|
-
|
|
216
|
-
#### Defined in
|
|
217
|
-
|
|
218
|
-
[packages/core/src/rbac/types/functions.ts:219](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/types/functions.ts#L219)
|
|
219
|
-
|
|
220
|
-
___
|
|
221
|
-
|
|
222
|
-
### GRANTED\_BY\_NOT\_FOUND
|
|
223
|
-
|
|
224
|
-
• **GRANTED\_BY\_NOT\_FOUND** = ``"GRANTED_BY_NOT_FOUND"``
|
|
225
|
-
|
|
226
|
-
#### Defined in
|
|
227
|
-
|
|
228
|
-
[packages/core/src/rbac/types/functions.ts:220](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/types/functions.ts#L220)
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
[@jmruthers/pace-core - v0.6.2](../README.md) / [Exports](../modules.md) / RPCFunction
|
|
2
|
-
|
|
3
|
-
# Enumeration: RPCFunction
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Enumeration Members
|
|
8
|
-
|
|
9
|
-
- [RBAC\_PERMISSION\_CHECK](RPCFunction.md#rbac_permission_check)
|
|
10
|
-
- [RBAC\_PERMISSIONS\_GET](RPCFunction.md#rbac_permissions_get)
|
|
11
|
-
- [RBAC\_ACCESS\_VALIDATE](RPCFunction.md#rbac_access_validate)
|
|
12
|
-
- [RBAC\_PAGE\_ACCESS\_CHECK](RPCFunction.md#rbac_page_access_check)
|
|
13
|
-
- [RBAC\_ROLE\_GRANT](RPCFunction.md#rbac_role_grant)
|
|
14
|
-
- [RBAC\_ROLE\_REVOKE](RPCFunction.md#rbac_role_revoke)
|
|
15
|
-
- [RBAC\_ROLES\_LIST](RPCFunction.md#rbac_roles_list)
|
|
16
|
-
- [RBAC\_ROLE\_VALIDATE](RPCFunction.md#rbac_role_validate)
|
|
17
|
-
- [RBAC\_SESSION\_TRACK](RPCFunction.md#rbac_session_track)
|
|
18
|
-
- [RBAC\_AUDIT\_LOG](RPCFunction.md#rbac_audit_log)
|
|
19
|
-
|
|
20
|
-
## Enumeration Members
|
|
21
|
-
|
|
22
|
-
### RBAC\_PERMISSION\_CHECK
|
|
23
|
-
|
|
24
|
-
• **RBAC\_PERMISSION\_CHECK** = ``"rbac_permission_check"``
|
|
25
|
-
|
|
26
|
-
#### Defined in
|
|
27
|
-
|
|
28
|
-
[packages/core/src/rbac/types/functions.ts:180](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/types/functions.ts#L180)
|
|
29
|
-
|
|
30
|
-
___
|
|
31
|
-
|
|
32
|
-
### RBAC\_PERMISSIONS\_GET
|
|
33
|
-
|
|
34
|
-
• **RBAC\_PERMISSIONS\_GET** = ``"rbac_permissions_get"``
|
|
35
|
-
|
|
36
|
-
#### Defined in
|
|
37
|
-
|
|
38
|
-
[packages/core/src/rbac/types/functions.ts:181](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/types/functions.ts#L181)
|
|
39
|
-
|
|
40
|
-
___
|
|
41
|
-
|
|
42
|
-
### RBAC\_ACCESS\_VALIDATE
|
|
43
|
-
|
|
44
|
-
• **RBAC\_ACCESS\_VALIDATE** = ``"rbac_access_validate"``
|
|
45
|
-
|
|
46
|
-
#### Defined in
|
|
47
|
-
|
|
48
|
-
[packages/core/src/rbac/types/functions.ts:182](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/types/functions.ts#L182)
|
|
49
|
-
|
|
50
|
-
___
|
|
51
|
-
|
|
52
|
-
### RBAC\_PAGE\_ACCESS\_CHECK
|
|
53
|
-
|
|
54
|
-
• **RBAC\_PAGE\_ACCESS\_CHECK** = ``"rbac_page_access_check"``
|
|
55
|
-
|
|
56
|
-
#### Defined in
|
|
57
|
-
|
|
58
|
-
[packages/core/src/rbac/types/functions.ts:183](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/types/functions.ts#L183)
|
|
59
|
-
|
|
60
|
-
___
|
|
61
|
-
|
|
62
|
-
### RBAC\_ROLE\_GRANT
|
|
63
|
-
|
|
64
|
-
• **RBAC\_ROLE\_GRANT** = ``"rbac_role_grant"``
|
|
65
|
-
|
|
66
|
-
#### Defined in
|
|
67
|
-
|
|
68
|
-
[packages/core/src/rbac/types/functions.ts:186](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/types/functions.ts#L186)
|
|
69
|
-
|
|
70
|
-
___
|
|
71
|
-
|
|
72
|
-
### RBAC\_ROLE\_REVOKE
|
|
73
|
-
|
|
74
|
-
• **RBAC\_ROLE\_REVOKE** = ``"rbac_role_revoke"``
|
|
75
|
-
|
|
76
|
-
#### Defined in
|
|
77
|
-
|
|
78
|
-
[packages/core/src/rbac/types/functions.ts:187](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/types/functions.ts#L187)
|
|
79
|
-
|
|
80
|
-
___
|
|
81
|
-
|
|
82
|
-
### RBAC\_ROLES\_LIST
|
|
83
|
-
|
|
84
|
-
• **RBAC\_ROLES\_LIST** = ``"rbac_roles_list"``
|
|
85
|
-
|
|
86
|
-
#### Defined in
|
|
87
|
-
|
|
88
|
-
[packages/core/src/rbac/types/functions.ts:188](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/types/functions.ts#L188)
|
|
89
|
-
|
|
90
|
-
___
|
|
91
|
-
|
|
92
|
-
### RBAC\_ROLE\_VALIDATE
|
|
93
|
-
|
|
94
|
-
• **RBAC\_ROLE\_VALIDATE** = ``"rbac_role_validate"``
|
|
95
|
-
|
|
96
|
-
#### Defined in
|
|
97
|
-
|
|
98
|
-
[packages/core/src/rbac/types/functions.ts:189](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/types/functions.ts#L189)
|
|
99
|
-
|
|
100
|
-
___
|
|
101
|
-
|
|
102
|
-
### RBAC\_SESSION\_TRACK
|
|
103
|
-
|
|
104
|
-
• **RBAC\_SESSION\_TRACK** = ``"rbac_session_track"``
|
|
105
|
-
|
|
106
|
-
#### Defined in
|
|
107
|
-
|
|
108
|
-
[packages/core/src/rbac/types/functions.ts:192](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/types/functions.ts#L192)
|
|
109
|
-
|
|
110
|
-
___
|
|
111
|
-
|
|
112
|
-
### RBAC\_AUDIT\_LOG
|
|
113
|
-
|
|
114
|
-
• **RBAC\_AUDIT\_LOG** = ``"rbac_audit_log"``
|
|
115
|
-
|
|
116
|
-
#### Defined in
|
|
117
|
-
|
|
118
|
-
[packages/core/src/rbac/types/functions.ts:193](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/types/functions.ts#L193)
|
|
@@ -1,241 +0,0 @@
|
|
|
1
|
-
[@jmruthers/pace-core - v0.6.2](../README.md) / [Exports](../modules.md) / AddressFieldProps
|
|
2
|
-
|
|
3
|
-
# Interface: AddressFieldProps
|
|
4
|
-
|
|
5
|
-
Props for AddressField component
|
|
6
|
-
|
|
7
|
-
## Hierarchy
|
|
8
|
-
|
|
9
|
-
- `Omit`\<`React.InputHTMLAttributes`\<`HTMLInputElement`\>, ``"onChange"`` \| ``"value"`` \| ``"defaultValue"`` \| ``"size"``\>
|
|
10
|
-
|
|
11
|
-
↳ **`AddressFieldProps`**
|
|
12
|
-
|
|
13
|
-
## Table of contents
|
|
14
|
-
|
|
15
|
-
### Properties
|
|
16
|
-
|
|
17
|
-
- [apiKey](AddressFieldProps.md#apikey)
|
|
18
|
-
- [value](AddressFieldProps.md#value)
|
|
19
|
-
- [defaultValue](AddressFieldProps.md#defaultvalue)
|
|
20
|
-
- [onChange](AddressFieldProps.md#onchange)
|
|
21
|
-
- [onInputChange](AddressFieldProps.md#oninputchange)
|
|
22
|
-
- [placeholder](AddressFieldProps.md#placeholder)
|
|
23
|
-
- [error](AddressFieldProps.md#error)
|
|
24
|
-
- [disabled](AddressFieldProps.md#disabled)
|
|
25
|
-
- [size](AddressFieldProps.md#size)
|
|
26
|
-
- [variant](AddressFieldProps.md#variant)
|
|
27
|
-
- [autocompleteOptions](AddressFieldProps.md#autocompleteoptions)
|
|
28
|
-
- [debounceDelay](AddressFieldProps.md#debouncedelay)
|
|
29
|
-
- [cacheEnabled](AddressFieldProps.md#cacheenabled)
|
|
30
|
-
- [cacheTTL](AddressFieldProps.md#cachettl)
|
|
31
|
-
|
|
32
|
-
## Properties
|
|
33
|
-
|
|
34
|
-
### apiKey
|
|
35
|
-
|
|
36
|
-
• **apiKey**: `string`
|
|
37
|
-
|
|
38
|
-
Google Places API key (required)
|
|
39
|
-
|
|
40
|
-
#### Defined in
|
|
41
|
-
|
|
42
|
-
[packages/core/src/components/AddressField/types.ts:16](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/AddressField/types.ts#L16)
|
|
43
|
-
|
|
44
|
-
___
|
|
45
|
-
|
|
46
|
-
### value
|
|
47
|
-
|
|
48
|
-
• `Optional` **value**: `string`
|
|
49
|
-
|
|
50
|
-
Controlled input value
|
|
51
|
-
|
|
52
|
-
#### Defined in
|
|
53
|
-
|
|
54
|
-
[packages/core/src/components/AddressField/types.ts:18](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/AddressField/types.ts#L18)
|
|
55
|
-
|
|
56
|
-
___
|
|
57
|
-
|
|
58
|
-
### defaultValue
|
|
59
|
-
|
|
60
|
-
• `Optional` **defaultValue**: `string`
|
|
61
|
-
|
|
62
|
-
Uncontrolled default value
|
|
63
|
-
|
|
64
|
-
#### Defined in
|
|
65
|
-
|
|
66
|
-
[packages/core/src/components/AddressField/types.ts:20](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/AddressField/types.ts#L20)
|
|
67
|
-
|
|
68
|
-
___
|
|
69
|
-
|
|
70
|
-
### onChange
|
|
71
|
-
|
|
72
|
-
• `Optional` **onChange**: (`address`: ``null`` \| [`ParsedAddress`](ParsedAddress.md)) => `void`
|
|
73
|
-
|
|
74
|
-
Callback when address is selected
|
|
75
|
-
|
|
76
|
-
#### Type declaration
|
|
77
|
-
|
|
78
|
-
▸ (`address`): `void`
|
|
79
|
-
|
|
80
|
-
##### Parameters
|
|
81
|
-
|
|
82
|
-
| Name | Type |
|
|
83
|
-
| :------ | :------ |
|
|
84
|
-
| `address` | ``null`` \| [`ParsedAddress`](ParsedAddress.md) |
|
|
85
|
-
|
|
86
|
-
##### Returns
|
|
87
|
-
|
|
88
|
-
`void`
|
|
89
|
-
|
|
90
|
-
#### Defined in
|
|
91
|
-
|
|
92
|
-
[packages/core/src/components/AddressField/types.ts:22](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/AddressField/types.ts#L22)
|
|
93
|
-
|
|
94
|
-
___
|
|
95
|
-
|
|
96
|
-
### onInputChange
|
|
97
|
-
|
|
98
|
-
• `Optional` **onInputChange**: (`value`: `string`) => `void`
|
|
99
|
-
|
|
100
|
-
Callback when input value changes
|
|
101
|
-
|
|
102
|
-
#### Type declaration
|
|
103
|
-
|
|
104
|
-
▸ (`value`): `void`
|
|
105
|
-
|
|
106
|
-
##### Parameters
|
|
107
|
-
|
|
108
|
-
| Name | Type |
|
|
109
|
-
| :------ | :------ |
|
|
110
|
-
| `value` | `string` |
|
|
111
|
-
|
|
112
|
-
##### Returns
|
|
113
|
-
|
|
114
|
-
`void`
|
|
115
|
-
|
|
116
|
-
#### Defined in
|
|
117
|
-
|
|
118
|
-
[packages/core/src/components/AddressField/types.ts:24](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/AddressField/types.ts#L24)
|
|
119
|
-
|
|
120
|
-
___
|
|
121
|
-
|
|
122
|
-
### placeholder
|
|
123
|
-
|
|
124
|
-
• `Optional` **placeholder**: `string`
|
|
125
|
-
|
|
126
|
-
Placeholder text
|
|
127
|
-
|
|
128
|
-
#### Overrides
|
|
129
|
-
|
|
130
|
-
Omit.placeholder
|
|
131
|
-
|
|
132
|
-
#### Defined in
|
|
133
|
-
|
|
134
|
-
[packages/core/src/components/AddressField/types.ts:26](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/AddressField/types.ts#L26)
|
|
135
|
-
|
|
136
|
-
___
|
|
137
|
-
|
|
138
|
-
### error
|
|
139
|
-
|
|
140
|
-
• `Optional` **error**: `boolean`
|
|
141
|
-
|
|
142
|
-
Error state styling
|
|
143
|
-
|
|
144
|
-
#### Defined in
|
|
145
|
-
|
|
146
|
-
[packages/core/src/components/AddressField/types.ts:28](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/AddressField/types.ts#L28)
|
|
147
|
-
|
|
148
|
-
___
|
|
149
|
-
|
|
150
|
-
### disabled
|
|
151
|
-
|
|
152
|
-
• `Optional` **disabled**: `boolean`
|
|
153
|
-
|
|
154
|
-
Disabled state
|
|
155
|
-
|
|
156
|
-
#### Overrides
|
|
157
|
-
|
|
158
|
-
Omit.disabled
|
|
159
|
-
|
|
160
|
-
#### Defined in
|
|
161
|
-
|
|
162
|
-
[packages/core/src/components/AddressField/types.ts:30](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/AddressField/types.ts#L30)
|
|
163
|
-
|
|
164
|
-
___
|
|
165
|
-
|
|
166
|
-
### size
|
|
167
|
-
|
|
168
|
-
• `Optional` **size**: ``"sm"`` \| ``"lg"`` \| ``"md"``
|
|
169
|
-
|
|
170
|
-
Input size
|
|
171
|
-
|
|
172
|
-
#### Defined in
|
|
173
|
-
|
|
174
|
-
[packages/core/src/components/AddressField/types.ts:32](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/AddressField/types.ts#L32)
|
|
175
|
-
|
|
176
|
-
___
|
|
177
|
-
|
|
178
|
-
### variant
|
|
179
|
-
|
|
180
|
-
• `Optional` **variant**: ``"default"`` \| ``"destructive"``
|
|
181
|
-
|
|
182
|
-
Input variant
|
|
183
|
-
|
|
184
|
-
#### Defined in
|
|
185
|
-
|
|
186
|
-
[packages/core/src/components/AddressField/types.ts:34](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/AddressField/types.ts#L34)
|
|
187
|
-
|
|
188
|
-
___
|
|
189
|
-
|
|
190
|
-
### autocompleteOptions
|
|
191
|
-
|
|
192
|
-
• `Optional` **autocompleteOptions**: [`AutocompleteOptions`](AutocompleteOptions.md)
|
|
193
|
-
|
|
194
|
-
Google Places API autocomplete options
|
|
195
|
-
|
|
196
|
-
#### Defined in
|
|
197
|
-
|
|
198
|
-
[packages/core/src/components/AddressField/types.ts:36](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/AddressField/types.ts#L36)
|
|
199
|
-
|
|
200
|
-
___
|
|
201
|
-
|
|
202
|
-
### debounceDelay
|
|
203
|
-
|
|
204
|
-
• `Optional` **debounceDelay**: `number`
|
|
205
|
-
|
|
206
|
-
Debounce delay in milliseconds
|
|
207
|
-
|
|
208
|
-
#### Defined in
|
|
209
|
-
|
|
210
|
-
[packages/core/src/components/AddressField/types.ts:38](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/AddressField/types.ts#L38)
|
|
211
|
-
|
|
212
|
-
___
|
|
213
|
-
|
|
214
|
-
### cacheEnabled
|
|
215
|
-
|
|
216
|
-
• `Optional` **cacheEnabled**: `boolean`
|
|
217
|
-
|
|
218
|
-
Enable caching (default: true)
|
|
219
|
-
|
|
220
|
-
#### Defined in
|
|
221
|
-
|
|
222
|
-
[packages/core/src/components/AddressField/types.ts:40](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/AddressField/types.ts#L40)
|
|
223
|
-
|
|
224
|
-
___
|
|
225
|
-
|
|
226
|
-
### cacheTTL
|
|
227
|
-
|
|
228
|
-
• `Optional` **cacheTTL**: `Object`
|
|
229
|
-
|
|
230
|
-
Cache TTL configuration
|
|
231
|
-
|
|
232
|
-
#### Type declaration
|
|
233
|
-
|
|
234
|
-
| Name | Type | Description |
|
|
235
|
-
| :------ | :------ | :------ |
|
|
236
|
-
| `autocomplete?` | `number` | Autocomplete cache TTL in seconds |
|
|
237
|
-
| `placeDetails?` | `number` | Place details cache TTL in seconds |
|
|
238
|
-
|
|
239
|
-
#### Defined in
|
|
240
|
-
|
|
241
|
-
[packages/core/src/components/AddressField/types.ts:42](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/AddressField/types.ts#L42)
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
[@jmruthers/pace-core - v0.6.2](../README.md) / [Exports](../modules.md) / AddressFieldRef
|
|
2
|
-
|
|
3
|
-
# Interface: AddressFieldRef
|
|
4
|
-
|
|
5
|
-
Ref type for AddressField component
|
|
6
|
-
|
|
7
|
-
## Table of contents
|
|
8
|
-
|
|
9
|
-
### Properties
|
|
10
|
-
|
|
11
|
-
- [focus](AddressFieldRef.md#focus)
|
|
12
|
-
- [blur](AddressFieldRef.md#blur)
|
|
13
|
-
- [getValue](AddressFieldRef.md#getvalue)
|
|
14
|
-
- [clear](AddressFieldRef.md#clear)
|
|
15
|
-
|
|
16
|
-
## Properties
|
|
17
|
-
|
|
18
|
-
### focus
|
|
19
|
-
|
|
20
|
-
• **focus**: () => `void`
|
|
21
|
-
|
|
22
|
-
Focus the input
|
|
23
|
-
|
|
24
|
-
#### Type declaration
|
|
25
|
-
|
|
26
|
-
▸ (): `void`
|
|
27
|
-
|
|
28
|
-
##### Returns
|
|
29
|
-
|
|
30
|
-
`void`
|
|
31
|
-
|
|
32
|
-
#### Defined in
|
|
33
|
-
|
|
34
|
-
[packages/core/src/components/AddressField/types.ts:55](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/AddressField/types.ts#L55)
|
|
35
|
-
|
|
36
|
-
___
|
|
37
|
-
|
|
38
|
-
### blur
|
|
39
|
-
|
|
40
|
-
• **blur**: () => `void`
|
|
41
|
-
|
|
42
|
-
Blur the input
|
|
43
|
-
|
|
44
|
-
#### Type declaration
|
|
45
|
-
|
|
46
|
-
▸ (): `void`
|
|
47
|
-
|
|
48
|
-
##### Returns
|
|
49
|
-
|
|
50
|
-
`void`
|
|
51
|
-
|
|
52
|
-
#### Defined in
|
|
53
|
-
|
|
54
|
-
[packages/core/src/components/AddressField/types.ts:57](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/AddressField/types.ts#L57)
|
|
55
|
-
|
|
56
|
-
___
|
|
57
|
-
|
|
58
|
-
### getValue
|
|
59
|
-
|
|
60
|
-
• **getValue**: () => `string`
|
|
61
|
-
|
|
62
|
-
Get current input value
|
|
63
|
-
|
|
64
|
-
#### Type declaration
|
|
65
|
-
|
|
66
|
-
▸ (): `string`
|
|
67
|
-
|
|
68
|
-
##### Returns
|
|
69
|
-
|
|
70
|
-
`string`
|
|
71
|
-
|
|
72
|
-
#### Defined in
|
|
73
|
-
|
|
74
|
-
[packages/core/src/components/AddressField/types.ts:59](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/AddressField/types.ts#L59)
|
|
75
|
-
|
|
76
|
-
___
|
|
77
|
-
|
|
78
|
-
### clear
|
|
79
|
-
|
|
80
|
-
• **clear**: () => `void`
|
|
81
|
-
|
|
82
|
-
Clear the input and suggestions
|
|
83
|
-
|
|
84
|
-
#### Type declaration
|
|
85
|
-
|
|
86
|
-
▸ (): `void`
|
|
87
|
-
|
|
88
|
-
##### Returns
|
|
89
|
-
|
|
90
|
-
`void`
|
|
91
|
-
|
|
92
|
-
#### Defined in
|
|
93
|
-
|
|
94
|
-
[packages/core/src/components/AddressField/types.ts:61](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/AddressField/types.ts#L61)
|