@jmruthers/pace-core 0.5.4 → 0.5.6
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/dist/{DataTable-ZQDRE46Q.js → DataTable-BEMN72L5.js} +2 -2
- package/dist/{chunk-5H3C2SWM.js → chunk-4EIBJ6DF.js} +2 -2
- package/dist/{chunk-M4RW7PIP.js → chunk-SFGUMWEE.js} +105 -81
- package/dist/chunk-SFGUMWEE.js.map +1 -0
- package/dist/components.js +2 -2
- package/dist/index.js +2 -2
- package/dist/utils.js +1 -1
- package/docs/api/classes/ErrorBoundary.md +1 -1
- package/docs/api/classes/InvalidScopeError.md +1 -1
- package/docs/api/classes/MissingUserContextError.md +1 -1
- package/docs/api/classes/OrganisationContextRequiredError.md +1 -1
- package/docs/api/classes/PermissionDeniedError.md +1 -1
- package/docs/api/classes/PublicErrorBoundary.md +1 -1
- package/docs/api/classes/RBACAuditManager.md +1 -1
- package/docs/api/classes/RBACCache.md +1 -1
- package/docs/api/classes/RBACEngine.md +1 -1
- package/docs/api/classes/RBACError.md +1 -1
- package/docs/api/classes/RBACNotInitializedError.md +1 -1
- package/docs/api/classes/SecureSupabaseClient.md +1 -1
- package/docs/api/interfaces/AggregateConfig.md +1 -1
- package/docs/api/interfaces/ButtonProps.md +1 -1
- package/docs/api/interfaces/CardProps.md +1 -1
- package/docs/api/interfaces/ColorPalette.md +1 -1
- package/docs/api/interfaces/ColorShade.md +1 -1
- package/docs/api/interfaces/DataAccessRecord.md +1 -1
- package/docs/api/interfaces/DataTableAction.md +1 -1
- package/docs/api/interfaces/DataTableColumn.md +1 -1
- package/docs/api/interfaces/DataTableProps.md +34 -34
- package/docs/api/interfaces/DataTableToolbarButton.md +1 -1
- package/docs/api/interfaces/EmptyStateConfig.md +1 -1
- package/docs/api/interfaces/EnhancedNavigationMenuProps.md +1 -1
- package/docs/api/interfaces/EventContextType.md +1 -1
- package/docs/api/interfaces/EventLogoProps.md +1 -1
- package/docs/api/interfaces/EventProviderProps.md +1 -1
- package/docs/api/interfaces/FileSizeLimits.md +1 -1
- package/docs/api/interfaces/FileUploadProps.md +1 -1
- package/docs/api/interfaces/FooterProps.md +1 -1
- package/docs/api/interfaces/InactivityWarningModalProps.md +1 -1
- package/docs/api/interfaces/InputProps.md +1 -1
- package/docs/api/interfaces/LabelProps.md +1 -1
- package/docs/api/interfaces/LoginFormProps.md +1 -1
- package/docs/api/interfaces/NavigationAccessRecord.md +1 -1
- package/docs/api/interfaces/NavigationContextType.md +1 -1
- package/docs/api/interfaces/NavigationGuardProps.md +1 -1
- package/docs/api/interfaces/NavigationItem.md +1 -1
- package/docs/api/interfaces/NavigationMenuProps.md +1 -1
- package/docs/api/interfaces/NavigationProviderProps.md +1 -1
- package/docs/api/interfaces/Organisation.md +1 -1
- package/docs/api/interfaces/OrganisationContextType.md +1 -1
- package/docs/api/interfaces/OrganisationMembership.md +1 -1
- package/docs/api/interfaces/OrganisationProviderProps.md +1 -1
- package/docs/api/interfaces/OrganisationSecurityError.md +1 -1
- package/docs/api/interfaces/PaceAppLayoutProps.md +1 -1
- package/docs/api/interfaces/PaceLoginPageProps.md +1 -1
- package/docs/api/interfaces/PageAccessRecord.md +1 -1
- package/docs/api/interfaces/PagePermissionContextType.md +1 -1
- package/docs/api/interfaces/PagePermissionGuardProps.md +1 -1
- package/docs/api/interfaces/PagePermissionProviderProps.md +1 -1
- package/docs/api/interfaces/PaletteData.md +1 -1
- package/docs/api/interfaces/PermissionEnforcerProps.md +1 -1
- package/docs/api/interfaces/PublicErrorBoundaryProps.md +1 -1
- package/docs/api/interfaces/PublicErrorBoundaryState.md +1 -1
- package/docs/api/interfaces/PublicLoadingSpinnerProps.md +1 -1
- package/docs/api/interfaces/PublicPageFooterProps.md +1 -1
- package/docs/api/interfaces/PublicPageHeaderProps.md +1 -1
- package/docs/api/interfaces/PublicPageLayoutProps.md +1 -1
- package/docs/api/interfaces/RBACConfig.md +1 -1
- package/docs/api/interfaces/RBACContextType.md +1 -1
- package/docs/api/interfaces/RBACLogger.md +1 -1
- package/docs/api/interfaces/RBACProviderProps.md +1 -1
- package/docs/api/interfaces/RoleBasedRouterContextType.md +1 -1
- package/docs/api/interfaces/RoleBasedRouterProps.md +1 -1
- package/docs/api/interfaces/RouteAccessRecord.md +1 -1
- package/docs/api/interfaces/RouteConfig.md +1 -1
- package/docs/api/interfaces/SecureDataContextType.md +1 -1
- package/docs/api/interfaces/SecureDataProviderProps.md +1 -1
- package/docs/api/interfaces/StorageConfig.md +1 -1
- package/docs/api/interfaces/StorageFileInfo.md +1 -1
- package/docs/api/interfaces/StorageFileMetadata.md +1 -1
- package/docs/api/interfaces/StorageListOptions.md +1 -1
- package/docs/api/interfaces/StorageListResult.md +1 -1
- package/docs/api/interfaces/StorageUploadOptions.md +1 -1
- package/docs/api/interfaces/StorageUploadResult.md +1 -1
- package/docs/api/interfaces/StorageUrlOptions.md +1 -1
- package/docs/api/interfaces/StyleImport.md +1 -1
- package/docs/api/interfaces/ToastActionElement.md +1 -1
- package/docs/api/interfaces/ToastProps.md +1 -1
- package/docs/api/interfaces/UnifiedAuthContextType.md +1 -1
- package/docs/api/interfaces/UnifiedAuthProviderProps.md +1 -1
- package/docs/api/interfaces/UseInactivityTrackerOptions.md +1 -1
- package/docs/api/interfaces/UseInactivityTrackerReturn.md +1 -1
- package/docs/api/interfaces/UsePublicEventLogoOptions.md +1 -1
- package/docs/api/interfaces/UsePublicEventLogoReturn.md +1 -1
- package/docs/api/interfaces/UsePublicEventOptions.md +1 -1
- package/docs/api/interfaces/UsePublicEventReturn.md +1 -1
- package/docs/api/interfaces/UsePublicRouteParamsReturn.md +1 -1
- package/docs/api/interfaces/UserEventAccess.md +1 -1
- package/docs/api/interfaces/UserMenuProps.md +1 -1
- package/docs/api/interfaces/UserProfile.md +1 -1
- package/docs/api/modules.md +3 -3
- package/docs/implementation-guides/data-tables.md +20 -0
- package/docs/quick-reference.md +9 -0
- package/docs/rbac/examples.md +4 -0
- package/package.json +1 -1
- package/src/__tests__/helpers/test-utils.tsx +147 -1
- package/src/components/DataTable/DataTable.tsx +20 -0
- package/src/components/DataTable/__tests__/DataTable.hooks.test 2.tsx +191 -0
- package/src/components/DataTable/__tests__/DataTable.hooks.test.tsx +191 -0
- package/src/components/DataTable/components/DataTableCore.tsx +164 -131
- package/src/hooks/__tests__/hooks.integration.test.tsx +575 -0
- package/src/hooks/__tests__/useApiFetch.unit.test.ts +115 -0
- package/src/hooks/__tests__/useComponentPerformance.unit.test.tsx +133 -0
- package/src/hooks/__tests__/useDebounce.unit.test.ts +82 -0
- package/src/hooks/__tests__/useFocusTrap.unit.test.tsx +293 -0
- package/src/hooks/__tests__/useInactivityTracker.unit.test.ts +385 -0
- package/src/hooks/__tests__/useOrganisationPermissions.unit.test.tsx +286 -0
- package/src/hooks/__tests__/useOrganisationSecurity.unit.test.tsx +838 -0
- package/src/hooks/__tests__/usePermissionCache.simple.test.ts +104 -0
- package/src/hooks/__tests__/usePermissionCache.unit.test.ts +633 -0
- package/src/hooks/__tests__/useRBAC.unit.test.ts +856 -0
- package/src/hooks/__tests__/useSecureDataAccess.unit.test.tsx +537 -0
- package/src/hooks/__tests__/useToast.unit.test.tsx +62 -0
- package/src/hooks/__tests__/useZodForm.unit.test.tsx +37 -0
- package/src/rbac/utils/__tests__/eventContext.test.ts +428 -0
- package/src/rbac/utils/__tests__/eventContext.unit.test.ts +428 -0
- package/src/utils/__tests__/appConfig.unit.test.ts +55 -0
- package/src/utils/__tests__/audit.unit.test.ts +69 -0
- package/src/utils/__tests__/auth-utils.unit.test.ts +70 -0
- package/src/utils/__tests__/bundleAnalysis.unit.test.ts +317 -0
- package/src/utils/__tests__/cn.unit.test.ts +34 -0
- package/src/utils/__tests__/deviceFingerprint.unit.test.ts +503 -0
- package/src/utils/__tests__/dynamicUtils.unit.test.ts +322 -0
- package/src/utils/__tests__/formatDate.unit.test.ts +109 -0
- package/src/utils/__tests__/formatting.unit.test.ts +66 -0
- package/src/utils/__tests__/index.unit.test.ts +251 -0
- package/src/utils/__tests__/lazyLoad.unit.test.tsx +309 -0
- package/src/utils/__tests__/organisationContext.unit.test.ts +192 -0
- package/src/utils/__tests__/performanceBudgets.unit.test.ts +259 -0
- package/src/utils/__tests__/permissionTypes.unit.test.ts +250 -0
- package/src/utils/__tests__/permissionUtils.unit.test.ts +362 -0
- package/src/utils/__tests__/sanitization.unit.test.ts +346 -0
- package/src/utils/__tests__/schemaUtils.unit.test.ts +441 -0
- package/src/utils/__tests__/secureDataAccess.unit.test.ts +334 -0
- package/src/utils/__tests__/secureErrors.unit.test.ts +377 -0
- package/src/utils/__tests__/secureStorage.unit.test.ts +293 -0
- package/src/utils/__tests__/security.unit.test.ts +127 -0
- package/src/utils/__tests__/securityMonitor.unit.test.ts +280 -0
- package/src/utils/__tests__/sessionTracking.unit.test.ts +356 -0
- package/src/utils/__tests__/validation.unit.test.ts +84 -0
- package/src/utils/__tests__/validationUtils.unit.test.ts +571 -0
- package/src/validation/__tests__/common.unit.test.ts +101 -0
- package/src/validation/__tests__/csrf.unit.test.ts +302 -0
- package/src/validation/__tests__/passwordSchema.unit.test 2.ts +98 -0
- package/src/validation/__tests__/passwordSchema.unit.test.ts +98 -0
- package/src/validation/__tests__/sqlInjectionProtection.unit.test.ts +466 -0
- package/dist/chunk-M4RW7PIP.js.map +0 -1
- /package/dist/{DataTable-ZQDRE46Q.js.map → DataTable-BEMN72L5.js.map} +0 -0
- /package/dist/{chunk-5H3C2SWM.js.map → chunk-4EIBJ6DF.js.map} +0 -0
package/dist/components.js
CHANGED
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
usePublicPageContext as usePublicPageContext2,
|
|
50
50
|
useStorage,
|
|
51
51
|
useToast
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-4EIBJ6DF.js";
|
|
53
53
|
import {
|
|
54
54
|
Alert,
|
|
55
55
|
AlertDescription,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
SelectSeparator,
|
|
73
73
|
SelectTrigger,
|
|
74
74
|
SelectValue
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-SFGUMWEE.js";
|
|
76
76
|
import {
|
|
77
77
|
useRBAC
|
|
78
78
|
} from "./chunk-QVYBYGT2.js";
|
package/dist/index.js
CHANGED
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
useStorage,
|
|
101
101
|
useToast,
|
|
102
102
|
validateFileSize
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-4EIBJ6DF.js";
|
|
104
104
|
import {
|
|
105
105
|
Alert,
|
|
106
106
|
AlertDescription,
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
SelectSeparator,
|
|
124
124
|
SelectTrigger,
|
|
125
125
|
SelectValue
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-SFGUMWEE.js";
|
|
127
127
|
import {
|
|
128
128
|
useAccessLevel,
|
|
129
129
|
useCachedPermissions,
|
package/dist/utils.js
CHANGED
|
@@ -545,7 +545,7 @@ function createLazyComponent(importFn, componentName, options = {}) {
|
|
|
545
545
|
return WrappedComponent;
|
|
546
546
|
}
|
|
547
547
|
var LazyDataTable = createLazyComponent(
|
|
548
|
-
() => import("./DataTable-
|
|
548
|
+
() => import("./DataTable-BEMN72L5.js").then((module) => ({ default: module.DataTable })),
|
|
549
549
|
"DataTable"
|
|
550
550
|
);
|
|
551
551
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[@jmruthers/pace-core - v0.5.
|
|
1
|
+
[@jmruthers/pace-core - v0.5.6](../README.md) / [Exports](../modules.md) / DataTableProps
|
|
2
2
|
|
|
3
3
|
# Interface: DataTableProps\<TData\>
|
|
4
4
|
|
|
@@ -58,7 +58,7 @@ Array of data records to display in the table
|
|
|
58
58
|
|
|
59
59
|
#### Defined in
|
|
60
60
|
|
|
61
|
-
[packages/core/src/components/DataTable/DataTable.tsx:
|
|
61
|
+
[packages/core/src/components/DataTable/DataTable.tsx:320](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L320)
|
|
62
62
|
|
|
63
63
|
___
|
|
64
64
|
|
|
@@ -70,7 +70,7 @@ Column definitions for the table
|
|
|
70
70
|
|
|
71
71
|
#### Defined in
|
|
72
72
|
|
|
73
|
-
[packages/core/src/components/DataTable/DataTable.tsx:
|
|
73
|
+
[packages/core/src/components/DataTable/DataTable.tsx:322](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L322)
|
|
74
74
|
|
|
75
75
|
___
|
|
76
76
|
|
|
@@ -82,7 +82,7 @@ RBAC configuration - REQUIRED for all DataTables
|
|
|
82
82
|
|
|
83
83
|
#### Defined in
|
|
84
84
|
|
|
85
|
-
[packages/core/src/components/DataTable/DataTable.tsx:
|
|
85
|
+
[packages/core/src/components/DataTable/DataTable.tsx:329](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L329)
|
|
86
86
|
|
|
87
87
|
___
|
|
88
88
|
|
|
@@ -94,7 +94,7 @@ Optional title displayed above the table
|
|
|
94
94
|
|
|
95
95
|
#### Defined in
|
|
96
96
|
|
|
97
|
-
[packages/core/src/components/DataTable/DataTable.tsx:
|
|
97
|
+
[packages/core/src/components/DataTable/DataTable.tsx:336](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L336)
|
|
98
98
|
|
|
99
99
|
___
|
|
100
100
|
|
|
@@ -106,7 +106,7 @@ Optional description displayed below the title
|
|
|
106
106
|
|
|
107
107
|
#### Defined in
|
|
108
108
|
|
|
109
|
-
[packages/core/src/components/DataTable/DataTable.tsx:
|
|
109
|
+
[packages/core/src/components/DataTable/DataTable.tsx:338](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L338)
|
|
110
110
|
|
|
111
111
|
___
|
|
112
112
|
|
|
@@ -118,7 +118,7 @@ Visual variant of the table
|
|
|
118
118
|
|
|
119
119
|
#### Defined in
|
|
120
120
|
|
|
121
|
-
[packages/core/src/components/DataTable/DataTable.tsx:
|
|
121
|
+
[packages/core/src/components/DataTable/DataTable.tsx:340](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L340)
|
|
122
122
|
|
|
123
123
|
___
|
|
124
124
|
|
|
@@ -130,7 +130,7 @@ Additional CSS classes for the table container
|
|
|
130
130
|
|
|
131
131
|
#### Defined in
|
|
132
132
|
|
|
133
|
-
[packages/core/src/components/DataTable/DataTable.tsx:
|
|
133
|
+
[packages/core/src/components/DataTable/DataTable.tsx:342](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L342)
|
|
134
134
|
|
|
135
135
|
___
|
|
136
136
|
|
|
@@ -142,7 +142,7 @@ Feature configuration - all features are disabled by default
|
|
|
142
142
|
|
|
143
143
|
#### Defined in
|
|
144
144
|
|
|
145
|
-
[packages/core/src/components/DataTable/DataTable.tsx:
|
|
145
|
+
[packages/core/src/components/DataTable/DataTable.tsx:349](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L349)
|
|
146
146
|
|
|
147
147
|
___
|
|
148
148
|
|
|
@@ -154,7 +154,7 @@ Hierarchical parent/child row configuration
|
|
|
154
154
|
|
|
155
155
|
#### Defined in
|
|
156
156
|
|
|
157
|
-
[packages/core/src/components/DataTable/DataTable.tsx:
|
|
157
|
+
[packages/core/src/components/DataTable/DataTable.tsx:356](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L356)
|
|
158
158
|
|
|
159
159
|
___
|
|
160
160
|
|
|
@@ -166,7 +166,7 @@ Performance optimization configuration
|
|
|
166
166
|
|
|
167
167
|
#### Defined in
|
|
168
168
|
|
|
169
|
-
[packages/core/src/components/DataTable/DataTable.tsx:
|
|
169
|
+
[packages/core/src/components/DataTable/DataTable.tsx:363](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L363)
|
|
170
170
|
|
|
171
171
|
___
|
|
172
172
|
|
|
@@ -178,7 +178,7 @@ Server-side data fetching configuration
|
|
|
178
178
|
|
|
179
179
|
#### Defined in
|
|
180
180
|
|
|
181
|
-
[packages/core/src/components/DataTable/DataTable.tsx:
|
|
181
|
+
[packages/core/src/components/DataTable/DataTable.tsx:365](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L365)
|
|
182
182
|
|
|
183
183
|
___
|
|
184
184
|
|
|
@@ -190,7 +190,7 @@ Override automatic pagination mode detection
|
|
|
190
190
|
|
|
191
191
|
#### Defined in
|
|
192
192
|
|
|
193
|
-
[packages/core/src/components/DataTable/DataTable.tsx:
|
|
193
|
+
[packages/core/src/components/DataTable/DataTable.tsx:367](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L367)
|
|
194
194
|
|
|
195
195
|
___
|
|
196
196
|
|
|
@@ -202,7 +202,7 @@ Data chunking configuration for memory optimization
|
|
|
202
202
|
|
|
203
203
|
#### Defined in
|
|
204
204
|
|
|
205
|
-
[packages/core/src/components/DataTable/DataTable.tsx:
|
|
205
|
+
[packages/core/src/components/DataTable/DataTable.tsx:369](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L369)
|
|
206
206
|
|
|
207
207
|
___
|
|
208
208
|
|
|
@@ -214,7 +214,7 @@ Search indexing configuration for fast search
|
|
|
214
214
|
|
|
215
215
|
#### Defined in
|
|
216
216
|
|
|
217
|
-
[packages/core/src/components/DataTable/DataTable.tsx:
|
|
217
|
+
[packages/core/src/components/DataTable/DataTable.tsx:371](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L371)
|
|
218
218
|
|
|
219
219
|
___
|
|
220
220
|
|
|
@@ -226,7 +226,7 @@ Virtual scrolling height
|
|
|
226
226
|
|
|
227
227
|
#### Defined in
|
|
228
228
|
|
|
229
|
-
[packages/core/src/components/DataTable/DataTable.tsx:
|
|
229
|
+
[packages/core/src/components/DataTable/DataTable.tsx:373](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L373)
|
|
230
230
|
|
|
231
231
|
___
|
|
232
232
|
|
|
@@ -238,7 +238,7 @@ Initial page size for pagination
|
|
|
238
238
|
|
|
239
239
|
#### Defined in
|
|
240
240
|
|
|
241
|
-
[packages/core/src/components/DataTable/DataTable.tsx:
|
|
241
|
+
[packages/core/src/components/DataTable/DataTable.tsx:375](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L375)
|
|
242
242
|
|
|
243
243
|
___
|
|
244
244
|
|
|
@@ -250,7 +250,7 @@ Enable enhanced pagination controls
|
|
|
250
250
|
|
|
251
251
|
#### Defined in
|
|
252
252
|
|
|
253
|
-
[packages/core/src/components/DataTable/DataTable.tsx:
|
|
253
|
+
[packages/core/src/components/DataTable/DataTable.tsx:377](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L377)
|
|
254
254
|
|
|
255
255
|
___
|
|
256
256
|
|
|
@@ -262,7 +262,7 @@ Custom loading component
|
|
|
262
262
|
|
|
263
263
|
#### Defined in
|
|
264
264
|
|
|
265
|
-
[packages/core/src/components/DataTable/DataTable.tsx:
|
|
265
|
+
[packages/core/src/components/DataTable/DataTable.tsx:379](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L379)
|
|
266
266
|
|
|
267
267
|
___
|
|
268
268
|
|
|
@@ -274,7 +274,7 @@ Custom error component
|
|
|
274
274
|
|
|
275
275
|
#### Defined in
|
|
276
276
|
|
|
277
|
-
[packages/core/src/components/DataTable/DataTable.tsx:
|
|
277
|
+
[packages/core/src/components/DataTable/DataTable.tsx:381](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L381)
|
|
278
278
|
|
|
279
279
|
___
|
|
280
280
|
|
|
@@ -301,7 +301,7 @@ Callback when a row is edited
|
|
|
301
301
|
|
|
302
302
|
#### Defined in
|
|
303
303
|
|
|
304
|
-
[packages/core/src/components/DataTable/DataTable.tsx:
|
|
304
|
+
[packages/core/src/components/DataTable/DataTable.tsx:388](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L388)
|
|
305
305
|
|
|
306
306
|
___
|
|
307
307
|
|
|
@@ -327,7 +327,7 @@ Callback when a row is deleted
|
|
|
327
327
|
|
|
328
328
|
#### Defined in
|
|
329
329
|
|
|
330
|
-
[packages/core/src/components/DataTable/DataTable.tsx:
|
|
330
|
+
[packages/core/src/components/DataTable/DataTable.tsx:390](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L390)
|
|
331
331
|
|
|
332
332
|
___
|
|
333
333
|
|
|
@@ -353,7 +353,7 @@ Callback when a new row is created
|
|
|
353
353
|
|
|
354
354
|
#### Defined in
|
|
355
355
|
|
|
356
|
-
[packages/core/src/components/DataTable/DataTable.tsx:
|
|
356
|
+
[packages/core/src/components/DataTable/DataTable.tsx:392](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L392)
|
|
357
357
|
|
|
358
358
|
___
|
|
359
359
|
|
|
@@ -379,7 +379,7 @@ Callback when data is imported
|
|
|
379
379
|
|
|
380
380
|
#### Defined in
|
|
381
381
|
|
|
382
|
-
[packages/core/src/components/DataTable/DataTable.tsx:
|
|
382
|
+
[packages/core/src/components/DataTable/DataTable.tsx:394](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L394)
|
|
383
383
|
|
|
384
384
|
___
|
|
385
385
|
|
|
@@ -405,7 +405,7 @@ Callback when row selection changes
|
|
|
405
405
|
|
|
406
406
|
#### Defined in
|
|
407
407
|
|
|
408
|
-
[packages/core/src/components/DataTable/DataTable.tsx:
|
|
408
|
+
[packages/core/src/components/DataTable/DataTable.tsx:396](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L396)
|
|
409
409
|
|
|
410
410
|
___
|
|
411
411
|
|
|
@@ -417,7 +417,7 @@ Controlled selection state
|
|
|
417
417
|
|
|
418
418
|
#### Defined in
|
|
419
419
|
|
|
420
|
-
[packages/core/src/components/DataTable/DataTable.tsx:
|
|
420
|
+
[packages/core/src/components/DataTable/DataTable.tsx:398](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L398)
|
|
421
421
|
|
|
422
422
|
___
|
|
423
423
|
|
|
@@ -443,7 +443,7 @@ Callback when bulk delete selected rows is triggered
|
|
|
443
443
|
|
|
444
444
|
#### Defined in
|
|
445
445
|
|
|
446
|
-
[packages/core/src/components/DataTable/DataTable.tsx:
|
|
446
|
+
[packages/core/src/components/DataTable/DataTable.tsx:400](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L400)
|
|
447
447
|
|
|
448
448
|
___
|
|
449
449
|
|
|
@@ -455,7 +455,7 @@ Function to generate unique row IDs
|
|
|
455
455
|
|
|
456
456
|
#### Defined in
|
|
457
457
|
|
|
458
|
-
[packages/core/src/components/DataTable/DataTable.tsx:
|
|
458
|
+
[packages/core/src/components/DataTable/DataTable.tsx:407](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L407)
|
|
459
459
|
|
|
460
460
|
___
|
|
461
461
|
|
|
@@ -467,7 +467,7 @@ Whether the table is in a loading state
|
|
|
467
467
|
|
|
468
468
|
#### Defined in
|
|
469
469
|
|
|
470
|
-
[packages/core/src/components/DataTable/DataTable.tsx:
|
|
470
|
+
[packages/core/src/components/DataTable/DataTable.tsx:409](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L409)
|
|
471
471
|
|
|
472
472
|
___
|
|
473
473
|
|
|
@@ -479,7 +479,7 @@ Custom component to display when table is empty
|
|
|
479
479
|
|
|
480
480
|
#### Defined in
|
|
481
481
|
|
|
482
|
-
[packages/core/src/components/DataTable/DataTable.tsx:
|
|
482
|
+
[packages/core/src/components/DataTable/DataTable.tsx:411](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L411)
|
|
483
483
|
|
|
484
484
|
___
|
|
485
485
|
|
|
@@ -491,7 +491,7 @@ Array of aggregation functions for grouped data
|
|
|
491
491
|
|
|
492
492
|
#### Defined in
|
|
493
493
|
|
|
494
|
-
[packages/core/src/components/DataTable/DataTable.tsx:
|
|
494
|
+
[packages/core/src/components/DataTable/DataTable.tsx:413](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L413)
|
|
495
495
|
|
|
496
496
|
___
|
|
497
497
|
|
|
@@ -503,7 +503,7 @@ Import modal configuration
|
|
|
503
503
|
|
|
504
504
|
#### Defined in
|
|
505
505
|
|
|
506
|
-
[packages/core/src/components/DataTable/DataTable.tsx:
|
|
506
|
+
[packages/core/src/components/DataTable/DataTable.tsx:416](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L416)
|
|
507
507
|
|
|
508
508
|
___
|
|
509
509
|
|
|
@@ -515,7 +515,7 @@ Custom row actions - use this for custom action buttons
|
|
|
515
515
|
|
|
516
516
|
#### Defined in
|
|
517
517
|
|
|
518
|
-
[packages/core/src/components/DataTable/DataTable.tsx:
|
|
518
|
+
[packages/core/src/components/DataTable/DataTable.tsx:419](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L419)
|
|
519
519
|
|
|
520
520
|
___
|
|
521
521
|
|
|
@@ -527,4 +527,4 @@ Column order configuration - array of column IDs in desired order
|
|
|
527
527
|
|
|
528
528
|
#### Defined in
|
|
529
529
|
|
|
530
|
-
[packages/core/src/components/DataTable/DataTable.tsx:
|
|
530
|
+
[packages/core/src/components/DataTable/DataTable.tsx:422](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/DataTable/DataTable.tsx#L422)
|