@campxdev/shared 1.11.49 → 1.11.51
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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ActivityLog'
|
package/src/components/index.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import ActivityLog from './ActivityLog'
|
|
1
2
|
import ApplicationProfile from './ApplicationProfile'
|
|
2
3
|
import ChangePassword from './ChangePassword'
|
|
3
4
|
import Chips from './Chips'
|
|
@@ -72,6 +73,7 @@ export { default as ReactTable } from './Tables/ReactTable'
|
|
|
72
73
|
export { default as Tabs } from './Tabs/Tabs'
|
|
73
74
|
export { default as ToastContainer } from './ToastContainer'
|
|
74
75
|
export {
|
|
76
|
+
ActivityLog,
|
|
75
77
|
AppHeader,
|
|
76
78
|
ApplicationProfile,
|
|
77
79
|
AsyncSearchSelect,
|
|
@@ -1458,6 +1458,8 @@ export enum Permission {
|
|
|
1458
1458
|
CAN_ADMIN_DESIGNATIONS_EDIT = 'can_admin_designations_edit',
|
|
1459
1459
|
CAN_ADMIN_DESIGNATIONS_VIEW = 'can_admin_designations_view',
|
|
1460
1460
|
CAN_ADMIN_DESIGNATIONS_DELETE = 'can_admin_designations_delete',
|
|
1461
|
+
CAN_ADMIN_DATA_IMPORTS_VIEW = 'can_admin_data_imports_view',
|
|
1462
|
+
CAN_ADMIN_DATA_IMPORTS_ADD = 'can_admin_data_imports_add',
|
|
1461
1463
|
}
|
|
1462
1464
|
|
|
1463
1465
|
export interface IPermissions {
|
|
@@ -2098,6 +2100,8 @@ export interface IPermissions {
|
|
|
2098
2100
|
can_admin_designations_edit: boolean
|
|
2099
2101
|
can_admin_designations_view: boolean
|
|
2100
2102
|
can_admin_designations_delete: boolean
|
|
2103
|
+
can_admin_data_imports_view: boolean
|
|
2104
|
+
can_admin_data_imports_add: boolean
|
|
2101
2105
|
}
|
|
2102
2106
|
|
|
2103
2107
|
interface IPermissionsStore {
|
|
@@ -7,7 +7,9 @@ export default function getUrlParams() {
|
|
|
7
7
|
return params
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
export const createSearchParams = (query: {
|
|
10
|
+
export const createSearchParams = (query: {
|
|
11
|
+
[key: string]: string | number
|
|
12
|
+
}) => {
|
|
11
13
|
const searchParams = new URLSearchParams()
|
|
12
14
|
|
|
13
15
|
for (const key in query) {
|