@cayuse-test/react 1.0.0
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/README.md +346 -0
- package/dist/chunk-2K3CWMLR.js +108 -0
- package/dist/chunk-2K3CWMLR.js.map +1 -0
- package/dist/chunk-B2Z63U4D.js +10398 -0
- package/dist/chunk-B2Z63U4D.js.map +1 -0
- package/dist/chunk-EPGO6B3U.js +3 -0
- package/dist/chunk-EPGO6B3U.js.map +1 -0
- package/dist/chunk-LFWPG3ND.js +97 -0
- package/dist/chunk-LFWPG3ND.js.map +1 -0
- package/dist/chunk-M2L7SQBQ.js +205 -0
- package/dist/chunk-M2L7SQBQ.js.map +1 -0
- package/dist/chunk-MJBMK4OG.js +143 -0
- package/dist/chunk-MJBMK4OG.js.map +1 -0
- package/dist/chunk-RG4GEORO.js +194 -0
- package/dist/chunk-RG4GEORO.js.map +1 -0
- package/dist/chunk-SZMEZFAR.js +193 -0
- package/dist/chunk-SZMEZFAR.js.map +1 -0
- package/dist/chunk-TYZPOXN5.js +243 -0
- package/dist/chunk-TYZPOXN5.js.map +1 -0
- package/dist/chunk-XRUFEGUC.js +225 -0
- package/dist/chunk-XRUFEGUC.js.map +1 -0
- package/dist/components/index.d.ts +1471 -0
- package/dist/components/index.js +144 -0
- package/dist/components/index.js.map +1 -0
- package/dist/context/tenant/index.d.ts +200 -0
- package/dist/context/tenant/index.js +14 -0
- package/dist/context/tenant/index.js.map +1 -0
- package/dist/globals/constants/index.d.ts +83 -0
- package/dist/globals/constants/index.js +31 -0
- package/dist/globals/constants/index.js.map +1 -0
- package/dist/globals/css/index.d.ts +2 -0
- package/dist/globals/css/index.js +2 -0
- package/dist/globals/css/index.js.map +1 -0
- package/dist/hooks/index.d.ts +125 -0
- package/dist/hooks/index.js +30 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/index-4NH7IW34.css +47 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +302 -0
- package/dist/index.js.map +1 -0
- package/dist/modal-dialog-IH5SI4CF.css +93 -0
- package/dist/services/upload-s3/index.d.ts +35 -0
- package/dist/services/upload-s3/index.js +11 -0
- package/dist/services/upload-s3/index.js.map +1 -0
- package/dist/styles-2WZORUGA.css +106 -0
- package/dist/styles-32VHTPIA.css +20 -0
- package/dist/styles-3A5DZ5R7.css +70 -0
- package/dist/styles-3PFCZALV.css +60 -0
- package/dist/styles-3SNYRDO2.css +100 -0
- package/dist/styles-4FHUBUVF.css +150 -0
- package/dist/styles-4KAVAZFG.css +5 -0
- package/dist/styles-4OFM6DY5.css +22 -0
- package/dist/styles-5OXZHQGW.css +14 -0
- package/dist/styles-6XZTUN3B.css +68 -0
- package/dist/styles-73WOPK6M.css +6 -0
- package/dist/styles-7AV26IBF.css +35 -0
- package/dist/styles-7DWK55L2.css +71 -0
- package/dist/styles-7GWPZSR2.css +222 -0
- package/dist/styles-7QBPXFSY.css +6 -0
- package/dist/styles-7T6DSZIY.css +27 -0
- package/dist/styles-AUI7W2SW.css +408 -0
- package/dist/styles-AZSHBXJQ.css +85 -0
- package/dist/styles-BTXJVGNW.css +99 -0
- package/dist/styles-BUPIQG5C.css +74 -0
- package/dist/styles-CLK36LUK.css +27 -0
- package/dist/styles-CSKYCMD4.css +123 -0
- package/dist/styles-CWCX26BQ.css +13 -0
- package/dist/styles-GAIKDZU6.css +47 -0
- package/dist/styles-GB7S5BAZ.css +36 -0
- package/dist/styles-GVPT6A2Z.css +45 -0
- package/dist/styles-IUBOTHBR.css +581 -0
- package/dist/styles-IZPTZRKW.css +78 -0
- package/dist/styles-LS2YWO5W.css +39 -0
- package/dist/styles-M5BEFS4G.css +148 -0
- package/dist/styles-MHNICXOS.css +18 -0
- package/dist/styles-P6IOJDNI.css +47 -0
- package/dist/styles-Q7XE2QVU.css +55 -0
- package/dist/styles-R7IS5IGF.css +7 -0
- package/dist/styles-RDYYTTBU.css +218 -0
- package/dist/styles-RTHIZL5W.css +48 -0
- package/dist/styles-RUY4EKZW.css +9 -0
- package/dist/styles-T5QJAAUY.css +184 -0
- package/dist/styles-VBXWGFCK.css +96 -0
- package/dist/styles-VE76CGRO.css +6 -0
- package/dist/styles-VLCZ7JYV.css +140 -0
- package/dist/styles-W5HDD3YQ.css +71 -0
- package/dist/styles-X7BJCSFV.css +86 -0
- package/dist/styles-XVRR5GIG.css +42 -0
- package/dist/styles-YBC6BJBD.css +83 -0
- package/dist/styles-YXNJHPDZ.css +74 -0
- package/dist/styles-Z276IEVM.css +264 -0
- package/dist/utils/index.d.ts +145 -0
- package/dist/utils/index.js +98 -0
- package/dist/utils/index.js.map +1 -0
- package/package.json +113 -0
- package/packages/eslint-config/README.md +69 -0
- package/packages/eslint-config/base.js +25 -0
- package/packages/eslint-config/next.js +49 -0
- package/packages/eslint-config/react-internal.js +44 -0
- package/packages/typescript-config/README.md +70 -0
- package/packages/typescript-config/base.json +21 -0
- package/packages/typescript-config/nextjs.json +12 -0
- package/packages/typescript-config/react-library.json +7 -0
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AccordionAttachmentsForm,
|
|
3
|
+
AccordionFormWrapper,
|
|
4
|
+
AlertDialog,
|
|
5
|
+
AttachmentsForm,
|
|
6
|
+
BannerNotifications,
|
|
7
|
+
BasePadding,
|
|
8
|
+
Breadcrumbs,
|
|
9
|
+
Button,
|
|
10
|
+
ButtonGroup,
|
|
11
|
+
CayuseCommonHeader,
|
|
12
|
+
Checkbox,
|
|
13
|
+
ClockIcon,
|
|
14
|
+
Combobox,
|
|
15
|
+
ConfirmationModal,
|
|
16
|
+
CovertButton,
|
|
17
|
+
CustomDropdown,
|
|
18
|
+
DateSelector,
|
|
19
|
+
Divider,
|
|
20
|
+
DropdownMenu,
|
|
21
|
+
DynamicTable,
|
|
22
|
+
FileUpload,
|
|
23
|
+
FormNoteAttachmentsView,
|
|
24
|
+
FormattedDate,
|
|
25
|
+
FormattedDatetime,
|
|
26
|
+
FormattedRichText,
|
|
27
|
+
FormattedValue,
|
|
28
|
+
Icon,
|
|
29
|
+
IconButton,
|
|
30
|
+
Input,
|
|
31
|
+
LinkToMilestone,
|
|
32
|
+
LoadingIndicator,
|
|
33
|
+
MemoizedTaskFormComponent,
|
|
34
|
+
MilestoneForm,
|
|
35
|
+
MilestoneProgress,
|
|
36
|
+
MilestoneProgressView,
|
|
37
|
+
ModalDialog,
|
|
38
|
+
MultiFileUpload,
|
|
39
|
+
NavLink,
|
|
40
|
+
Number,
|
|
41
|
+
PaddedCell,
|
|
42
|
+
Pagination,
|
|
43
|
+
Pendo,
|
|
44
|
+
Popup,
|
|
45
|
+
PreventLeaveDialog,
|
|
46
|
+
Radio,
|
|
47
|
+
RadioGroup,
|
|
48
|
+
RichText,
|
|
49
|
+
SectionHeader,
|
|
50
|
+
SetView,
|
|
51
|
+
SubHeader,
|
|
52
|
+
Submenu,
|
|
53
|
+
Tabs,
|
|
54
|
+
TaskFormHeader,
|
|
55
|
+
TaskTitleCell,
|
|
56
|
+
TextArea,
|
|
57
|
+
Toggle,
|
|
58
|
+
UserSelect,
|
|
59
|
+
adminLoadOptions,
|
|
60
|
+
baseClearIcon,
|
|
61
|
+
dateToTimezoneDate,
|
|
62
|
+
findFirstActiveAttachmentType,
|
|
63
|
+
linkTasksToMilestone,
|
|
64
|
+
notify,
|
|
65
|
+
setDictionary,
|
|
66
|
+
setLoginTenantId,
|
|
67
|
+
useActiveColumns
|
|
68
|
+
} from "../chunk-B2Z63U4D.js";
|
|
69
|
+
import "../chunk-2K3CWMLR.js";
|
|
70
|
+
import "../chunk-TYZPOXN5.js";
|
|
71
|
+
import "../chunk-M2L7SQBQ.js";
|
|
72
|
+
import "../chunk-RG4GEORO.js";
|
|
73
|
+
import "../chunk-XRUFEGUC.js";
|
|
74
|
+
import "../chunk-MJBMK4OG.js";
|
|
75
|
+
import "../chunk-SZMEZFAR.js";
|
|
76
|
+
export {
|
|
77
|
+
AccordionAttachmentsForm,
|
|
78
|
+
AccordionFormWrapper,
|
|
79
|
+
AlertDialog,
|
|
80
|
+
AttachmentsForm,
|
|
81
|
+
BannerNotifications,
|
|
82
|
+
BasePadding,
|
|
83
|
+
Breadcrumbs,
|
|
84
|
+
Button,
|
|
85
|
+
ButtonGroup,
|
|
86
|
+
CayuseCommonHeader,
|
|
87
|
+
Checkbox,
|
|
88
|
+
ClockIcon,
|
|
89
|
+
Combobox,
|
|
90
|
+
ConfirmationModal,
|
|
91
|
+
CovertButton,
|
|
92
|
+
CustomDropdown,
|
|
93
|
+
DateSelector,
|
|
94
|
+
Divider,
|
|
95
|
+
DropdownMenu,
|
|
96
|
+
DynamicTable,
|
|
97
|
+
FileUpload,
|
|
98
|
+
FormNoteAttachmentsView,
|
|
99
|
+
FormattedDate,
|
|
100
|
+
FormattedDatetime,
|
|
101
|
+
FormattedRichText,
|
|
102
|
+
FormattedValue,
|
|
103
|
+
Icon,
|
|
104
|
+
IconButton,
|
|
105
|
+
Input,
|
|
106
|
+
LinkToMilestone,
|
|
107
|
+
LoadingIndicator,
|
|
108
|
+
MilestoneForm,
|
|
109
|
+
MilestoneProgress,
|
|
110
|
+
MilestoneProgressView,
|
|
111
|
+
ModalDialog,
|
|
112
|
+
MultiFileUpload,
|
|
113
|
+
NavLink,
|
|
114
|
+
Number,
|
|
115
|
+
PaddedCell,
|
|
116
|
+
Pagination,
|
|
117
|
+
Pendo,
|
|
118
|
+
Popup,
|
|
119
|
+
PreventLeaveDialog,
|
|
120
|
+
Radio,
|
|
121
|
+
RadioGroup,
|
|
122
|
+
RichText,
|
|
123
|
+
SectionHeader,
|
|
124
|
+
SetView,
|
|
125
|
+
SubHeader,
|
|
126
|
+
Submenu,
|
|
127
|
+
Tabs,
|
|
128
|
+
MemoizedTaskFormComponent as TaskForm,
|
|
129
|
+
TaskFormHeader,
|
|
130
|
+
TaskTitleCell,
|
|
131
|
+
TextArea,
|
|
132
|
+
Toggle,
|
|
133
|
+
UserSelect,
|
|
134
|
+
adminLoadOptions,
|
|
135
|
+
baseClearIcon,
|
|
136
|
+
dateToTimezoneDate,
|
|
137
|
+
findFirstActiveAttachmentType,
|
|
138
|
+
linkTasksToMilestone,
|
|
139
|
+
notify,
|
|
140
|
+
setDictionary,
|
|
141
|
+
setLoginTenantId,
|
|
142
|
+
useActiveColumns
|
|
143
|
+
};
|
|
144
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
|
|
4
|
+
declare const TenantProvider: ({ children }: {
|
|
5
|
+
children: React__default.ReactNode;
|
|
6
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
7
|
+
|
|
8
|
+
interface TenantProduct {
|
|
9
|
+
createUser: string;
|
|
10
|
+
createDate: string;
|
|
11
|
+
updateUser: string;
|
|
12
|
+
updateDate: string;
|
|
13
|
+
hibVersion: number;
|
|
14
|
+
active: boolean;
|
|
15
|
+
baseAccessRoles: string[];
|
|
16
|
+
description: string;
|
|
17
|
+
displayName: string;
|
|
18
|
+
displayOrder: number;
|
|
19
|
+
image: string;
|
|
20
|
+
internalName: string;
|
|
21
|
+
isExternal: boolean;
|
|
22
|
+
isProvisionable: boolean;
|
|
23
|
+
isCustom: boolean;
|
|
24
|
+
name: string;
|
|
25
|
+
path: string;
|
|
26
|
+
placeholder?: string;
|
|
27
|
+
thumbnail: string;
|
|
28
|
+
customerId: string;
|
|
29
|
+
productSettings: any;
|
|
30
|
+
productId: string;
|
|
31
|
+
customerName: string;
|
|
32
|
+
tenantProductId: string;
|
|
33
|
+
instanceURL?: string;
|
|
34
|
+
appId?: string;
|
|
35
|
+
productBulkLoad: boolean;
|
|
36
|
+
productBulkDelete: boolean;
|
|
37
|
+
productInfoReady: boolean;
|
|
38
|
+
productUseSimpleFormBuilder: boolean;
|
|
39
|
+
productNewCoiUi: boolean;
|
|
40
|
+
tenantProductSettings: any;
|
|
41
|
+
tenantId: string;
|
|
42
|
+
tenantName: string;
|
|
43
|
+
customerProductId: string;
|
|
44
|
+
links: any[];
|
|
45
|
+
id: string;
|
|
46
|
+
}
|
|
47
|
+
interface User {
|
|
48
|
+
active: boolean;
|
|
49
|
+
email: string;
|
|
50
|
+
emailVerified: boolean;
|
|
51
|
+
firstName: string;
|
|
52
|
+
lastName: string;
|
|
53
|
+
guestUser: boolean;
|
|
54
|
+
unitName: any;
|
|
55
|
+
tenantId: string;
|
|
56
|
+
updatePassword: boolean;
|
|
57
|
+
updateProfile: boolean;
|
|
58
|
+
username: string;
|
|
59
|
+
verifyEmail: boolean;
|
|
60
|
+
userStatus: string;
|
|
61
|
+
links: any[];
|
|
62
|
+
id: string;
|
|
63
|
+
}
|
|
64
|
+
interface Person {
|
|
65
|
+
createUser: string;
|
|
66
|
+
createDate: string;
|
|
67
|
+
updateUser: string;
|
|
68
|
+
updateDate: string;
|
|
69
|
+
hibVersion: number;
|
|
70
|
+
active: boolean;
|
|
71
|
+
firstName: string;
|
|
72
|
+
fullName: string;
|
|
73
|
+
lastName: string;
|
|
74
|
+
affiliations: Affiliation[];
|
|
75
|
+
externalAffiliations: ExternalAffiliation[];
|
|
76
|
+
userAccountType: string;
|
|
77
|
+
username: string;
|
|
78
|
+
middleName: string;
|
|
79
|
+
contactEmail: string;
|
|
80
|
+
userAccountId: string;
|
|
81
|
+
tenantId: string;
|
|
82
|
+
userStatus: string;
|
|
83
|
+
userAccountStatus: boolean;
|
|
84
|
+
profileTypes: unknown[];
|
|
85
|
+
rolesCount: number;
|
|
86
|
+
contactId: string;
|
|
87
|
+
personUserLinkId: string;
|
|
88
|
+
prefix: string | null;
|
|
89
|
+
suffix: string | null;
|
|
90
|
+
preferredName: string | null;
|
|
91
|
+
employeeId: string;
|
|
92
|
+
demographicsId: string | null;
|
|
93
|
+
externalIdentifiersId: string | null;
|
|
94
|
+
guestUser: boolean;
|
|
95
|
+
userAccountStatusName: string | null;
|
|
96
|
+
links: any[];
|
|
97
|
+
id: string;
|
|
98
|
+
}
|
|
99
|
+
interface Affiliation {
|
|
100
|
+
createUser: string;
|
|
101
|
+
createDate: string;
|
|
102
|
+
updateUser: string;
|
|
103
|
+
updateDate: string;
|
|
104
|
+
hibVersion: number;
|
|
105
|
+
active: boolean;
|
|
106
|
+
contactId: string | null;
|
|
107
|
+
primaryAppointment: boolean;
|
|
108
|
+
primaryAppointmentDisplay?: string;
|
|
109
|
+
employeeId?: string;
|
|
110
|
+
govAgency: string | null;
|
|
111
|
+
startDate: string;
|
|
112
|
+
endDate?: string;
|
|
113
|
+
personId: string;
|
|
114
|
+
userId: string;
|
|
115
|
+
performanceSiteId: string | null;
|
|
116
|
+
title: string;
|
|
117
|
+
unitId: string;
|
|
118
|
+
unitName: string;
|
|
119
|
+
tenantId: string;
|
|
120
|
+
appointmentTypeId: string;
|
|
121
|
+
eraRoleId: string | null;
|
|
122
|
+
routingProfileId: string | null;
|
|
123
|
+
links: any[];
|
|
124
|
+
id: string;
|
|
125
|
+
}
|
|
126
|
+
interface ExternalAffiliation {
|
|
127
|
+
createUser: string;
|
|
128
|
+
createDate: string;
|
|
129
|
+
updateUser: string;
|
|
130
|
+
updateDate: string;
|
|
131
|
+
hibVersion: number;
|
|
132
|
+
active: boolean;
|
|
133
|
+
organizationId: string;
|
|
134
|
+
personId: string;
|
|
135
|
+
title: string;
|
|
136
|
+
tenantId: string;
|
|
137
|
+
links: any[];
|
|
138
|
+
id: string;
|
|
139
|
+
}
|
|
140
|
+
interface Group {
|
|
141
|
+
userId: string;
|
|
142
|
+
groupId: string;
|
|
143
|
+
tenantId: string;
|
|
144
|
+
unitId: string | null;
|
|
145
|
+
groupGroupName: string;
|
|
146
|
+
groupGroupDescription?: string;
|
|
147
|
+
userEmail: string;
|
|
148
|
+
userUsername: string;
|
|
149
|
+
subunits: boolean;
|
|
150
|
+
active: boolean;
|
|
151
|
+
links: any[];
|
|
152
|
+
}
|
|
153
|
+
interface Tenant {
|
|
154
|
+
createUser: string;
|
|
155
|
+
createDate: string;
|
|
156
|
+
updateUser: string;
|
|
157
|
+
updateDate: string;
|
|
158
|
+
hibVersion: number;
|
|
159
|
+
active: boolean;
|
|
160
|
+
bulkDelete: boolean;
|
|
161
|
+
bulkLoad: boolean;
|
|
162
|
+
hrConnect: boolean;
|
|
163
|
+
dataLakeEnabled: boolean;
|
|
164
|
+
currentFiscalYear: number;
|
|
165
|
+
customerId: string;
|
|
166
|
+
customerActive: boolean;
|
|
167
|
+
customerName: string;
|
|
168
|
+
description: string;
|
|
169
|
+
fiscalYearStartDay: number;
|
|
170
|
+
fiscalYearStartMonth: number;
|
|
171
|
+
hostname: string;
|
|
172
|
+
name: string;
|
|
173
|
+
orcidClientId: any;
|
|
174
|
+
orcidClientSecret: any;
|
|
175
|
+
ssoIdpEntityIdName: any;
|
|
176
|
+
ssoLoginType: string;
|
|
177
|
+
ssoPrimaryUserAttribute: any;
|
|
178
|
+
tenantProductDtoList: any;
|
|
179
|
+
timezone: string;
|
|
180
|
+
demographics: any;
|
|
181
|
+
links: any[];
|
|
182
|
+
id: string;
|
|
183
|
+
}
|
|
184
|
+
interface TenantContextData {
|
|
185
|
+
tenantProducts: TenantProduct[];
|
|
186
|
+
user: User;
|
|
187
|
+
person: Person;
|
|
188
|
+
groups: Group[];
|
|
189
|
+
tenant: Tenant;
|
|
190
|
+
}
|
|
191
|
+
interface ITenantContext {
|
|
192
|
+
isLoaded: boolean;
|
|
193
|
+
isLoading: boolean;
|
|
194
|
+
isError: boolean;
|
|
195
|
+
data: TenantContextData;
|
|
196
|
+
}
|
|
197
|
+
declare const TenantContext: React__default.Context<ITenantContext>;
|
|
198
|
+
declare const useTenantContext: () => ITenantContext;
|
|
199
|
+
|
|
200
|
+
export { type Affiliation, type ExternalAffiliation, type Group, type ITenantContext, type Person, type Tenant, TenantContext, type TenantContextData, type TenantProduct, TenantProvider, type User, useTenantContext };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
TenantContext,
|
|
3
|
+
TenantProvider,
|
|
4
|
+
useTenantContext
|
|
5
|
+
} from "../../chunk-2K3CWMLR.js";
|
|
6
|
+
import "../../chunk-XRUFEGUC.js";
|
|
7
|
+
import "../../chunk-MJBMK4OG.js";
|
|
8
|
+
import "../../chunk-SZMEZFAR.js";
|
|
9
|
+
export {
|
|
10
|
+
TenantContext,
|
|
11
|
+
TenantProvider,
|
|
12
|
+
useTenantContext
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
declare const FIELD_TYPES: {
|
|
2
|
+
readonly DATE: "date";
|
|
3
|
+
readonly DATETIME: "datetime";
|
|
4
|
+
readonly NUMBER: "number";
|
|
5
|
+
readonly RADIO: "radio";
|
|
6
|
+
readonly RESEARCH_TEAM: "researchTeam";
|
|
7
|
+
readonly RICH_TEXT: "richText";
|
|
8
|
+
readonly SELECT: "select";
|
|
9
|
+
readonly STRING_LIST: "stringList";
|
|
10
|
+
readonly SUBFORM: "subform";
|
|
11
|
+
readonly TEXT: "text";
|
|
12
|
+
readonly TEXTAREA: "textarea";
|
|
13
|
+
readonly UPLOAD: "fileInput";
|
|
14
|
+
readonly CURRENCY: "currency";
|
|
15
|
+
readonly CAYUSE_CHECKBOXES: "cayuseCheckboxes";
|
|
16
|
+
readonly ONE: "one";
|
|
17
|
+
readonly DATE_STRING: "date string";
|
|
18
|
+
readonly CLASSIFICATION_CODES: "classificationCodes";
|
|
19
|
+
readonly FUNDING_PROGRAM: "fundingProgram";
|
|
20
|
+
readonly CHECKBOX: "boolean";
|
|
21
|
+
};
|
|
22
|
+
declare const CAYUSE_TYPES: {
|
|
23
|
+
readonly ORG_FINDER: "org-finder";
|
|
24
|
+
readonly PERSON_FINDER: "person-finder";
|
|
25
|
+
readonly UNIT_FINDER: "unit-finder";
|
|
26
|
+
readonly RESEARCH_TEAM: "research-team";
|
|
27
|
+
readonly FUNDING_PROGRAM: "funding-program";
|
|
28
|
+
readonly CLASSIFICATION_CODES: "classification-codes";
|
|
29
|
+
readonly HAZARD_SAFETY: "cayuse-hazard-safety";
|
|
30
|
+
readonly HUMAN_ETHICS: "cayuse-human-ethics-study-search";
|
|
31
|
+
readonly ANIMAL_OVERSIGHT: "cayuse-animal-oversight";
|
|
32
|
+
readonly HAPLO_COSTING: "cayuse-haplo-costing-tool";
|
|
33
|
+
readonly HAPLO_ETHICS: "cayuse-haplo-ethics-monitor";
|
|
34
|
+
readonly HAPLO_REPOSITORY: "cayuse-haplo-repository";
|
|
35
|
+
readonly CAYUSE_SUMMARY_BUDGET_IMPORTER: "cayuse-summary-budget-importer";
|
|
36
|
+
readonly PROPOSALS_S2S: "cayuse-proposals-s2s-record";
|
|
37
|
+
};
|
|
38
|
+
declare const RULE_TYPES: {
|
|
39
|
+
readonly AD_HOC_NOTIFICATION: "AD_HOC_NOTIFICATION";
|
|
40
|
+
readonly AD_HOC_REVIEW: "AD_HOC_REVIEW";
|
|
41
|
+
readonly DISPLAY_RULES: "DISPLAY_RULES";
|
|
42
|
+
readonly RT_CERTIFICATION: "RT_CERTIFICATION";
|
|
43
|
+
readonly RT_REVIEW: "RT_REVIEW";
|
|
44
|
+
readonly UNIT_REVIEW: "UNIT_REVIEW";
|
|
45
|
+
readonly INFOREADY_REVIEW: "INFOREADY_REVIEW";
|
|
46
|
+
readonly DISCLOSURE: "DISCLOSURE";
|
|
47
|
+
readonly NOTIFICATION: "NOTIFICATION";
|
|
48
|
+
};
|
|
49
|
+
declare const NEW_RULE_ID: "__add__";
|
|
50
|
+
declare const COLUMN_HEADER_KEYS: {
|
|
51
|
+
readonly PROPOSAL: "PROPOSAL";
|
|
52
|
+
readonly AWARD: "AWARD";
|
|
53
|
+
readonly SUBAWARD: "SUBAWARD";
|
|
54
|
+
readonly PROJECT: "PROJECT";
|
|
55
|
+
readonly BUDGET: "BUDGET";
|
|
56
|
+
readonly RULE: "RULE";
|
|
57
|
+
};
|
|
58
|
+
declare const SELECT_ANY_KEY: "*";
|
|
59
|
+
declare const KEY_CODES: {
|
|
60
|
+
readonly TAB: 9;
|
|
61
|
+
readonly ENTER: 13;
|
|
62
|
+
readonly ESCAPE: 27;
|
|
63
|
+
readonly LEFT_ARROW: 37;
|
|
64
|
+
readonly UP_ARROW: 38;
|
|
65
|
+
readonly RIGHT_ARROW: 39;
|
|
66
|
+
readonly DOWN_ARROW: 40;
|
|
67
|
+
readonly SPACE: 32;
|
|
68
|
+
readonly PAGE_UP: 33;
|
|
69
|
+
readonly PAGE_DOWN: 34;
|
|
70
|
+
};
|
|
71
|
+
interface DateTimeFormat {
|
|
72
|
+
date: string;
|
|
73
|
+
time: string;
|
|
74
|
+
datePlaceholder: string;
|
|
75
|
+
}
|
|
76
|
+
declare const DATETIME_FORMATS: Map<string, DateTimeFormat>;
|
|
77
|
+
declare const NODE_ENV: string | undefined;
|
|
78
|
+
declare const APP_ENV: string | undefined;
|
|
79
|
+
declare const FLOWABLE_BASE_URL: string | undefined;
|
|
80
|
+
declare const AUTH_DOMAIN: string | undefined;
|
|
81
|
+
declare const TARGET_WEB_COMPONENTS_BUCKET: string | undefined;
|
|
82
|
+
|
|
83
|
+
export { APP_ENV, AUTH_DOMAIN, CAYUSE_TYPES, COLUMN_HEADER_KEYS, DATETIME_FORMATS, type DateTimeFormat, FIELD_TYPES, FLOWABLE_BASE_URL, KEY_CODES, NEW_RULE_ID, NODE_ENV, RULE_TYPES, SELECT_ANY_KEY, TARGET_WEB_COMPONENTS_BUCKET };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import {
|
|
2
|
+
APP_ENV,
|
|
3
|
+
AUTH_DOMAIN,
|
|
4
|
+
CAYUSE_TYPES,
|
|
5
|
+
COLUMN_HEADER_KEYS,
|
|
6
|
+
DATETIME_FORMATS,
|
|
7
|
+
FIELD_TYPES,
|
|
8
|
+
FLOWABLE_BASE_URL,
|
|
9
|
+
KEY_CODES,
|
|
10
|
+
NEW_RULE_ID,
|
|
11
|
+
NODE_ENV,
|
|
12
|
+
RULE_TYPES,
|
|
13
|
+
SELECT_ANY_KEY,
|
|
14
|
+
TARGET_WEB_COMPONENTS_BUCKET
|
|
15
|
+
} from "../../chunk-MJBMK4OG.js";
|
|
16
|
+
export {
|
|
17
|
+
APP_ENV,
|
|
18
|
+
AUTH_DOMAIN,
|
|
19
|
+
CAYUSE_TYPES,
|
|
20
|
+
COLUMN_HEADER_KEYS,
|
|
21
|
+
DATETIME_FORMATS,
|
|
22
|
+
FIELD_TYPES,
|
|
23
|
+
FLOWABLE_BASE_URL,
|
|
24
|
+
KEY_CODES,
|
|
25
|
+
NEW_RULE_ID,
|
|
26
|
+
NODE_ENV,
|
|
27
|
+
RULE_TYPES,
|
|
28
|
+
SELECT_ANY_KEY,
|
|
29
|
+
TARGET_WEB_COMPONENTS_BUCKET
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
import Uppy from '@uppy/core';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* key is a string "path" to the desired dictionary. Separate "levels" with a period.
|
|
6
|
+
* Example: "common.assignSelected"
|
|
7
|
+
* NOTE: This depends on having a dictionary key in your redux store
|
|
8
|
+
*/
|
|
9
|
+
declare const useDictionary: (key: string) => any;
|
|
10
|
+
|
|
11
|
+
declare const useClickOutside: <T extends HTMLElement>(elementRef: RefObject<T>, callback: () => void) => void;
|
|
12
|
+
|
|
13
|
+
declare const useConfirmNavigation: (onBlock: () => void, onConfirm: () => void, onCancel: () => void, shouldBlock?: boolean) => {
|
|
14
|
+
confirm: () => void;
|
|
15
|
+
cancel: () => void;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
declare const useDebounceCallback: (callback: any, delayInMs?: number) => (...args: any[]) => void;
|
|
19
|
+
|
|
20
|
+
type UppyEvent = 'file-added' | 'files-added' | 'file-removed' | 'upload' | 'progress' | 'preprocess-complete' | 'upload-progress' | 'upload-success' | 'complete' | 'error' | 'upload-error' | 'upload-retry' | 'retry-all' | 'info-visible' | 'info-hidden' | 'cancel-all' | 'restriction-failed' | 'reset-progress';
|
|
21
|
+
declare const uppyEvents: UppyEvent[];
|
|
22
|
+
interface UppyState {
|
|
23
|
+
plugins: {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
};
|
|
26
|
+
error: string;
|
|
27
|
+
files: {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
};
|
|
30
|
+
currentUploads: {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
};
|
|
33
|
+
allowNewUpload: boolean;
|
|
34
|
+
capabilities: {
|
|
35
|
+
uploadProgress: boolean;
|
|
36
|
+
individualCancellation: boolean;
|
|
37
|
+
resumableUploads: boolean;
|
|
38
|
+
};
|
|
39
|
+
totalProgress: number;
|
|
40
|
+
meta: {
|
|
41
|
+
[key: string]: any;
|
|
42
|
+
};
|
|
43
|
+
info: Array<{
|
|
44
|
+
type: string;
|
|
45
|
+
message: string;
|
|
46
|
+
details: string;
|
|
47
|
+
}>;
|
|
48
|
+
recoveredState: null | {
|
|
49
|
+
[key: string]: any;
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
declare const uppyInitialState: UppyState;
|
|
53
|
+
declare const MAX_FILE_SIZE_75_MB: number;
|
|
54
|
+
interface DefaultDictionary {
|
|
55
|
+
exeFileTypeRestriction: string;
|
|
56
|
+
[key: string]: string;
|
|
57
|
+
}
|
|
58
|
+
declare const defaultDictionary: DefaultDictionary;
|
|
59
|
+
|
|
60
|
+
interface UppyDefaultOptions {
|
|
61
|
+
autoProceed?: boolean;
|
|
62
|
+
restrictions?: {
|
|
63
|
+
maxFileSize?: number;
|
|
64
|
+
maxNumberOfFiles?: number;
|
|
65
|
+
allowedFileTypes?: string[] | null;
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
declare class UppyService {
|
|
69
|
+
#private;
|
|
70
|
+
private instances;
|
|
71
|
+
private retryCount;
|
|
72
|
+
private defaultOptions;
|
|
73
|
+
getInstance(id: string): Uppy | null;
|
|
74
|
+
register(options: UppyDefaultOptions): Uppy;
|
|
75
|
+
destroy(id: string): void;
|
|
76
|
+
onAnyEvent(id: string, eventCallback: (eventName: UppyEvent, ...args: any[]) => void): void;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
interface UploadUrlResponse {
|
|
80
|
+
preSignedUrl: string;
|
|
81
|
+
uploadMetadataId: string;
|
|
82
|
+
}
|
|
83
|
+
interface CompleteUploadResponse {
|
|
84
|
+
completedAt: string;
|
|
85
|
+
createdAt: string;
|
|
86
|
+
fileName: string;
|
|
87
|
+
fileSize: number;
|
|
88
|
+
finalizedAt: unknown;
|
|
89
|
+
id: string;
|
|
90
|
+
tenantId: string;
|
|
91
|
+
uploadedBy: string;
|
|
92
|
+
}
|
|
93
|
+
interface PersonDetails {
|
|
94
|
+
id: string;
|
|
95
|
+
tenantId: string;
|
|
96
|
+
firstName: string;
|
|
97
|
+
lastName: string;
|
|
98
|
+
fullName: string;
|
|
99
|
+
middleName: string;
|
|
100
|
+
contactEmail: string;
|
|
101
|
+
userAccountId: string;
|
|
102
|
+
}
|
|
103
|
+
interface UploadUrlRequestBody {
|
|
104
|
+
fileName: string;
|
|
105
|
+
fileSize: number;
|
|
106
|
+
}
|
|
107
|
+
interface RequestOptions {
|
|
108
|
+
signal?: AbortSignal;
|
|
109
|
+
}
|
|
110
|
+
declare const api: {
|
|
111
|
+
getUploadURL: (body: UploadUrlRequestBody, options?: RequestOptions) => Promise<UploadUrlResponse>;
|
|
112
|
+
completeUpload: (id: string) => Promise<CompleteUploadResponse>;
|
|
113
|
+
getDownloadUrl: (id: string) => Promise<string>;
|
|
114
|
+
getPersonDetailsById: (id: string) => Promise<PersonDetails | {
|
|
115
|
+
errors: unknown[];
|
|
116
|
+
}>;
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
declare const useModalState: (initialIsOpen?: boolean) => {
|
|
120
|
+
openModal: () => void;
|
|
121
|
+
closeModal: () => void;
|
|
122
|
+
isOpen: boolean;
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
export { MAX_FILE_SIZE_75_MB, type UppyEvent, UppyService, api, defaultDictionary, uppyEvents, uppyInitialState, useClickOutside, useConfirmNavigation, useDebounceCallback, useDictionary, useModalState };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useConfirmNavigation,
|
|
3
|
+
useDebounceCallback,
|
|
4
|
+
useDictionary,
|
|
5
|
+
useModalState
|
|
6
|
+
} from "../chunk-LFWPG3ND.js";
|
|
7
|
+
import {
|
|
8
|
+
MAX_FILE_SIZE_75_MB,
|
|
9
|
+
UppyService,
|
|
10
|
+
api,
|
|
11
|
+
defaultDictionary,
|
|
12
|
+
uppyEvents,
|
|
13
|
+
uppyInitialState,
|
|
14
|
+
useClickOutside
|
|
15
|
+
} from "../chunk-TYZPOXN5.js";
|
|
16
|
+
import "../chunk-SZMEZFAR.js";
|
|
17
|
+
export {
|
|
18
|
+
MAX_FILE_SIZE_75_MB,
|
|
19
|
+
UppyService,
|
|
20
|
+
api,
|
|
21
|
+
defaultDictionary,
|
|
22
|
+
uppyEvents,
|
|
23
|
+
uppyInitialState,
|
|
24
|
+
useClickOutside,
|
|
25
|
+
useConfirmNavigation,
|
|
26
|
+
useDebounceCallback,
|
|
27
|
+
useDictionary,
|
|
28
|
+
useModalState
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
@import './variables/index.css';
|
|
2
|
+
|
|
3
|
+
html,
|
|
4
|
+
body {
|
|
5
|
+
font-family: var(--font-family-d-body);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
button,
|
|
9
|
+
input,
|
|
10
|
+
select,
|
|
11
|
+
textarea {
|
|
12
|
+
color: inherit;
|
|
13
|
+
font-family: var(--font-family-d-body);
|
|
14
|
+
font-size: 100%;
|
|
15
|
+
font-style: inherit;
|
|
16
|
+
line-height: inherit;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
a {
|
|
20
|
+
color: var(--color-link);
|
|
21
|
+
text-decoration: underline;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
a:hover {
|
|
25
|
+
color: var(--color-link-hover);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
a:focus-visible {
|
|
29
|
+
outline: 1px solid var(--color-focus);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
button::-moz-focus-inner {
|
|
33
|
+
padding: 0;
|
|
34
|
+
border: 0;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.sr-only {
|
|
38
|
+
position: absolute;
|
|
39
|
+
width: 1px;
|
|
40
|
+
height: 1px;
|
|
41
|
+
padding: 0;
|
|
42
|
+
margin: -1px;
|
|
43
|
+
overflow: hidden;
|
|
44
|
+
clip: rect(0, 0, 0, 0);
|
|
45
|
+
white-space: nowrap;
|
|
46
|
+
border-width: 0;
|
|
47
|
+
}
|