@burdenoff/microfe-crewfoundry 2026.827.1 → 2026.830.1
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/crewfoundry/CrewFoundryRoot.d.ts.map +1 -1
- package/dist/crewfoundry/CrewFoundryRoot.js +190 -185
- package/dist/crewfoundry/CrewFoundryRoot.js.map +1 -1
- package/dist/crewfoundry/components/forms/ConfirmDialog.d.ts.map +1 -1
- package/dist/crewfoundry/components/forms/ConfirmDialog.js +25 -24
- package/dist/crewfoundry/components/forms/ConfirmDialog.js.map +1 -1
- package/dist/crewfoundry/components/forms/FormModal.d.ts.map +1 -1
- package/dist/crewfoundry/components/forms/FormModal.js +103 -101
- package/dist/crewfoundry/components/forms/FormModal.js.map +1 -1
- package/dist/crewfoundry/pages/DashboardDashboardPagePage.d.ts.map +1 -1
- package/dist/crewfoundry/pages/DashboardDashboardPagePage.js +207 -210
- package/dist/crewfoundry/pages/DashboardDashboardPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/HiringJobsPagePage.d.ts.map +1 -1
- package/dist/crewfoundry/pages/HiringJobsPagePage.js +75 -78
- package/dist/crewfoundry/pages/HiringJobsPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/MarketplaceMarketplacePagePage.d.ts.map +1 -1
- package/dist/crewfoundry/pages/MarketplaceMarketplacePagePage.js +101 -104
- package/dist/crewfoundry/pages/MarketplaceMarketplacePagePage.js.map +1 -1
- package/dist/crewfoundry/pages/ProjectsProjectsPagePage.d.ts.map +1 -1
- package/dist/crewfoundry/pages/ProjectsProjectsPagePage.js +95 -98
- package/dist/crewfoundry/pages/ProjectsProjectsPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/TeamsTeamsPagePage.d.ts.map +1 -1
- package/dist/crewfoundry/pages/TeamsTeamsPagePage.js +101 -104
- package/dist/crewfoundry/pages/TeamsTeamsPagePage.js.map +1 -1
- package/dist/shared/hooks/useTr.d.ts +17 -0
- package/dist/shared/hooks/useTr.d.ts.map +1 -0
- package/dist/shared/hooks/useTr.js +14 -0
- package/dist/shared/hooks/useTr.js.map +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CrewFoundryRoot.d.ts","sourceRoot":"","sources":["../../src/crewfoundry/CrewFoundryRoot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKhC,OAAO,KAAK,EAAE,oBAAoB,EAAW,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"CrewFoundryRoot.d.ts","sourceRoot":"","sources":["../../src/crewfoundry/CrewFoundryRoot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKhC,OAAO,KAAK,EAAE,oBAAoB,EAAW,MAAM,SAAS,CAAC;AA2a7D,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAwEpD,CAAC"}
|
|
@@ -1,465 +1,470 @@
|
|
|
1
1
|
import { CrewFoundryProvider as e } from "./providers/CrewFoundryProvider.js";
|
|
2
2
|
import { useCrewFoundryStore as t } from "./store/crewfoundryStore.js";
|
|
3
3
|
import { CrewFoundryRoutes as n } from "./CrewFoundryRoutes.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
4
|
+
import { useTr as r } from "../shared/hooks/useTr.js";
|
|
5
|
+
import { joinPath as i } from "./utils/navigation.js";
|
|
6
|
+
import { useEffect as a } from "react";
|
|
7
|
+
import { FileText as o, Folder as s, LayoutDashboard as c } from "lucide-react";
|
|
8
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
9
|
+
import { FeatureFlagProvider as u } from "@burdenoff/fe-libs/shared/feature-flags";
|
|
9
10
|
//#region src/crewfoundry/CrewFoundryRoot.tsx
|
|
10
|
-
var
|
|
11
|
+
var d = (e, t) => [
|
|
11
12
|
{
|
|
12
13
|
id: "crewfoundry-dashboard",
|
|
13
|
-
label: "Dashboard",
|
|
14
|
-
path:
|
|
14
|
+
label: t("crewfoundry.nav.dashboard", "Dashboard"),
|
|
15
|
+
path: i(e, "dashboard/dashboard-page"),
|
|
15
16
|
children: [
|
|
16
17
|
{
|
|
17
18
|
id: "crewfoundry-dashboard-overview",
|
|
18
|
-
label: "Overview",
|
|
19
|
-
path:
|
|
19
|
+
label: t("crewfoundry.nav.dashboardOverview", "Overview"),
|
|
20
|
+
path: i(e, "dashboard/dashboard-page")
|
|
20
21
|
},
|
|
21
22
|
{
|
|
22
23
|
id: "crewfoundry-dashboard-analytics",
|
|
23
|
-
label: "Analytics",
|
|
24
|
-
path:
|
|
24
|
+
label: t("crewfoundry.nav.dashboardAnalytics", "Analytics"),
|
|
25
|
+
path: i(e, "dashboard/analytics-page")
|
|
25
26
|
},
|
|
26
27
|
{
|
|
27
28
|
id: "crewfoundry-dashboard-enhanced",
|
|
28
|
-
label: "Enhanced Dashboard",
|
|
29
|
-
path:
|
|
29
|
+
label: t("crewfoundry.nav.dashboardEnhanced", "Enhanced Dashboard"),
|
|
30
|
+
path: i(e, "dashboard/enhanced-dashboard-page")
|
|
30
31
|
},
|
|
31
32
|
{
|
|
32
33
|
id: "crewfoundry-dashboard-executive",
|
|
33
|
-
label: "Executive Dashboard",
|
|
34
|
-
path:
|
|
34
|
+
label: t("crewfoundry.nav.dashboardExecutive", "Executive Dashboard"),
|
|
35
|
+
path: i(e, "dashboard/executive-dashboard")
|
|
35
36
|
}
|
|
36
37
|
]
|
|
37
38
|
},
|
|
38
39
|
{
|
|
39
40
|
id: "crewfoundry-hiring",
|
|
40
|
-
label: "Hiring",
|
|
41
|
-
path:
|
|
41
|
+
label: t("crewfoundry.nav.hiring", "Hiring"),
|
|
42
|
+
path: i(e, "hiring/jobs-page"),
|
|
42
43
|
children: [
|
|
43
44
|
{
|
|
44
45
|
id: "crewfoundry-hiring-jobs",
|
|
45
|
-
label: "Jobs",
|
|
46
|
-
path:
|
|
46
|
+
label: t("crewfoundry.nav.hiringJobs", "Jobs"),
|
|
47
|
+
path: i(e, "hiring/jobs-page")
|
|
47
48
|
},
|
|
48
49
|
{
|
|
49
50
|
id: "crewfoundry-hiring-applications",
|
|
50
|
-
label: "Applications",
|
|
51
|
-
path:
|
|
51
|
+
label: t("crewfoundry.nav.hiringApplications", "Applications"),
|
|
52
|
+
path: i(e, "hiring/applications-page")
|
|
52
53
|
},
|
|
53
54
|
{
|
|
54
55
|
id: "crewfoundry-hiring-candidates",
|
|
55
|
-
label: "Candidates",
|
|
56
|
-
path:
|
|
56
|
+
label: t("crewfoundry.nav.hiringCandidates", "Candidates"),
|
|
57
|
+
path: i(e, "hiring/candidates-page")
|
|
57
58
|
},
|
|
58
59
|
{
|
|
59
60
|
id: "crewfoundry-hiring-interviews",
|
|
60
|
-
label: "Interviews",
|
|
61
|
-
path:
|
|
61
|
+
label: t("crewfoundry.nav.hiringInterviews", "Interviews"),
|
|
62
|
+
path: i(e, "hiring/interviews-page")
|
|
62
63
|
},
|
|
63
64
|
{
|
|
64
65
|
id: "crewfoundry-hiring-create-job",
|
|
65
|
-
label: "Create Job",
|
|
66
|
-
path:
|
|
66
|
+
label: t("crewfoundry.nav.hiringCreateJob", "Create Job"),
|
|
67
|
+
path: i(e, "hiring/create-job-page")
|
|
67
68
|
},
|
|
68
69
|
{
|
|
69
70
|
id: "crewfoundry-hiring-job-details",
|
|
70
|
-
label: "Job Details",
|
|
71
|
-
path:
|
|
71
|
+
label: t("crewfoundry.nav.hiringJobDetails", "Job Details"),
|
|
72
|
+
path: i(e, "hiring/job-details-page")
|
|
72
73
|
}
|
|
73
74
|
]
|
|
74
75
|
},
|
|
75
76
|
{
|
|
76
77
|
id: "crewfoundry-hr",
|
|
77
|
-
label: "HR",
|
|
78
|
-
path:
|
|
78
|
+
label: t("crewfoundry.nav.hr", "HR"),
|
|
79
|
+
path: i(e, "hr/employees-page"),
|
|
79
80
|
children: [
|
|
80
81
|
{
|
|
81
82
|
id: "crewfoundry-hr-employees",
|
|
82
|
-
label: "Employees",
|
|
83
|
-
path:
|
|
83
|
+
label: t("crewfoundry.nav.hrEmployees", "Employees"),
|
|
84
|
+
path: i(e, "hr/employees-page")
|
|
84
85
|
},
|
|
85
86
|
{
|
|
86
87
|
id: "crewfoundry-hr-departments",
|
|
87
|
-
label: "Departments",
|
|
88
|
-
path:
|
|
88
|
+
label: t("crewfoundry.nav.hrDepartments", "Departments"),
|
|
89
|
+
path: i(e, "hr/departments-page")
|
|
89
90
|
},
|
|
90
91
|
{
|
|
91
92
|
id: "crewfoundry-hr-payroll",
|
|
92
|
-
label: "Payroll",
|
|
93
|
-
path:
|
|
93
|
+
label: t("crewfoundry.nav.hrPayroll", "Payroll"),
|
|
94
|
+
path: i(e, "hr/payroll-page")
|
|
94
95
|
},
|
|
95
96
|
{
|
|
96
97
|
id: "crewfoundry-hr-leave",
|
|
97
|
-
label: "Leave Management",
|
|
98
|
-
path:
|
|
98
|
+
label: t("crewfoundry.nav.hrLeaveManagement", "Leave Management"),
|
|
99
|
+
path: i(e, "hr/leave-management-page")
|
|
99
100
|
},
|
|
100
101
|
{
|
|
101
102
|
id: "crewfoundry-hr-time",
|
|
102
|
-
label: "Time Tracking",
|
|
103
|
-
path:
|
|
103
|
+
label: t("crewfoundry.nav.hrTimeTracking", "Time Tracking"),
|
|
104
|
+
path: i(e, "hr/time-tracking-page")
|
|
104
105
|
}
|
|
105
106
|
]
|
|
106
107
|
},
|
|
107
108
|
{
|
|
108
109
|
id: "crewfoundry-learning",
|
|
109
|
-
label: "Learning",
|
|
110
|
-
path:
|
|
110
|
+
label: t("crewfoundry.nav.learning", "Learning"),
|
|
111
|
+
path: i(e, "learning/courses-page"),
|
|
111
112
|
children: [
|
|
112
113
|
{
|
|
113
114
|
id: "crewfoundry-learning-courses",
|
|
114
|
-
label: "Courses",
|
|
115
|
-
path:
|
|
115
|
+
label: t("crewfoundry.nav.learningCourses", "Courses"),
|
|
116
|
+
path: i(e, "learning/courses-page")
|
|
116
117
|
},
|
|
117
118
|
{
|
|
118
119
|
id: "crewfoundry-learning-paths",
|
|
119
|
-
label: "Learning Paths",
|
|
120
|
-
path:
|
|
120
|
+
label: t("crewfoundry.nav.learningPaths", "Learning Paths"),
|
|
121
|
+
path: i(e, "learning/learning-paths-page")
|
|
121
122
|
},
|
|
122
123
|
{
|
|
123
124
|
id: "crewfoundry-learning-certificates",
|
|
124
|
-
label: "Certificates",
|
|
125
|
-
path:
|
|
125
|
+
label: t("crewfoundry.nav.learningCertificates", "Certificates"),
|
|
126
|
+
path: i(e, "learning/certificates-page")
|
|
126
127
|
},
|
|
127
128
|
{
|
|
128
129
|
id: "crewfoundry-learning-assessments",
|
|
129
|
-
label: "Assessments",
|
|
130
|
-
path:
|
|
130
|
+
label: t("crewfoundry.nav.learningAssessments", "Assessments"),
|
|
131
|
+
path: i(e, "learning/assessments-page")
|
|
131
132
|
},
|
|
132
133
|
{
|
|
133
134
|
id: "crewfoundry-learning-my-learning",
|
|
134
|
-
label: "My Learning",
|
|
135
|
-
path:
|
|
135
|
+
label: t("crewfoundry.nav.learningMyLearning", "My Learning"),
|
|
136
|
+
path: i(e, "learning/my-learning-page")
|
|
136
137
|
},
|
|
137
138
|
{
|
|
138
139
|
id: "crewfoundry-learning-analytics",
|
|
139
|
-
label: "Learning Analytics",
|
|
140
|
-
path:
|
|
140
|
+
label: t("crewfoundry.nav.learningAnalytics", "Learning Analytics"),
|
|
141
|
+
path: i(e, "learning/learning-analytics-page")
|
|
141
142
|
},
|
|
142
143
|
{
|
|
143
144
|
id: "crewfoundry-learning-course-details",
|
|
144
|
-
label: "Course Details",
|
|
145
|
-
path:
|
|
145
|
+
label: t("crewfoundry.nav.learningCourseDetails", "Course Details"),
|
|
146
|
+
path: i(e, "learning/course-details-page")
|
|
146
147
|
},
|
|
147
148
|
{
|
|
148
149
|
id: "crewfoundry-learning-course-player",
|
|
149
|
-
label: "Course Learning",
|
|
150
|
-
path:
|
|
150
|
+
label: t("crewfoundry.nav.learningCourseLearning", "Course Learning"),
|
|
151
|
+
path: i(e, "learning/course-learning-page")
|
|
151
152
|
},
|
|
152
153
|
{
|
|
153
154
|
id: "crewfoundry-learning-path-detail",
|
|
154
|
-
label: "Path Detail",
|
|
155
|
-
path:
|
|
155
|
+
label: t("crewfoundry.nav.learningPathDetail", "Path Detail"),
|
|
156
|
+
path: i(e, "learning/learning-path-detail-page")
|
|
156
157
|
}
|
|
157
158
|
]
|
|
158
159
|
},
|
|
159
160
|
{
|
|
160
161
|
id: "crewfoundry-teams",
|
|
161
|
-
label: "Teams",
|
|
162
|
-
path:
|
|
162
|
+
label: t("crewfoundry.nav.teams", "Teams"),
|
|
163
|
+
path: i(e, "teams/teams-page"),
|
|
163
164
|
children: [
|
|
164
165
|
{
|
|
165
166
|
id: "crewfoundry-teams-list",
|
|
166
|
-
label: "Teams",
|
|
167
|
-
path:
|
|
167
|
+
label: t("crewfoundry.nav.teamsList", "Teams"),
|
|
168
|
+
path: i(e, "teams/teams-page")
|
|
168
169
|
},
|
|
169
170
|
{
|
|
170
171
|
id: "crewfoundry-teams-directory",
|
|
171
|
-
label: "Directory",
|
|
172
|
-
path:
|
|
172
|
+
label: t("crewfoundry.nav.teamsDirectory", "Directory"),
|
|
173
|
+
path: i(e, "teams/team-directory-page")
|
|
173
174
|
},
|
|
174
175
|
{
|
|
175
176
|
id: "crewfoundry-teams-detail",
|
|
176
|
-
label: "Team Detail",
|
|
177
|
-
path:
|
|
177
|
+
label: t("crewfoundry.nav.teamsDetail", "Team Detail"),
|
|
178
|
+
path: i(e, "teams/team-detail-page")
|
|
178
179
|
},
|
|
179
180
|
{
|
|
180
181
|
id: "crewfoundry-teams-analytics",
|
|
181
|
-
label: "Team Analytics",
|
|
182
|
-
path:
|
|
182
|
+
label: t("crewfoundry.nav.teamsAnalytics", "Team Analytics"),
|
|
183
|
+
path: i(e, "teams/team-analytics-page")
|
|
183
184
|
},
|
|
184
185
|
{
|
|
185
186
|
id: "crewfoundry-teams-settings",
|
|
186
|
-
label: "Team Settings",
|
|
187
|
-
path:
|
|
187
|
+
label: t("crewfoundry.nav.teamsSettings", "Team Settings"),
|
|
188
|
+
path: i(e, "teams/team-settings-page")
|
|
188
189
|
}
|
|
189
190
|
]
|
|
190
191
|
},
|
|
191
192
|
{
|
|
192
193
|
id: "crewfoundry-marketplace",
|
|
193
|
-
label: "Marketplace",
|
|
194
|
-
path:
|
|
194
|
+
label: t("crewfoundry.nav.marketplace", "Marketplace"),
|
|
195
|
+
path: i(e, "marketplace/marketplace-page"),
|
|
195
196
|
children: [
|
|
196
197
|
{
|
|
197
198
|
id: "crewfoundry-marketplace-browse",
|
|
198
|
-
label: "Marketplace",
|
|
199
|
-
path:
|
|
199
|
+
label: t("crewfoundry.nav.marketplaceBrowse", "Marketplace"),
|
|
200
|
+
path: i(e, "marketplace/marketplace-page")
|
|
200
201
|
},
|
|
201
202
|
{
|
|
202
203
|
id: "crewfoundry-marketplace-services",
|
|
203
|
-
label: "Services",
|
|
204
|
-
path:
|
|
204
|
+
label: t("crewfoundry.nav.marketplaceServices", "Services"),
|
|
205
|
+
path: i(e, "marketplace/marketplace-services-page")
|
|
205
206
|
},
|
|
206
207
|
{
|
|
207
208
|
id: "crewfoundry-marketplace-my-services",
|
|
208
|
-
label: "My Services",
|
|
209
|
-
path:
|
|
209
|
+
label: t("crewfoundry.nav.marketplaceMyServices", "My Services"),
|
|
210
|
+
path: i(e, "marketplace/my-services-page")
|
|
210
211
|
},
|
|
211
212
|
{
|
|
212
213
|
id: "crewfoundry-marketplace-project-details",
|
|
213
|
-
label: "Project Details",
|
|
214
|
-
path:
|
|
214
|
+
label: t("crewfoundry.nav.marketplaceProjectDetails", "Project Details"),
|
|
215
|
+
path: i(e, "marketplace/project-details-page")
|
|
215
216
|
},
|
|
216
217
|
{
|
|
217
218
|
id: "crewfoundry-marketplace-service-details",
|
|
218
|
-
label: "Service Details",
|
|
219
|
-
path:
|
|
219
|
+
label: t("crewfoundry.nav.marketplaceServiceDetails", "Service Details"),
|
|
220
|
+
path: i(e, "marketplace/service-details-page")
|
|
220
221
|
},
|
|
221
222
|
{
|
|
222
223
|
id: "crewfoundry-marketplace-messaging",
|
|
223
|
-
label: "Messaging",
|
|
224
|
-
path:
|
|
224
|
+
label: t("crewfoundry.nav.marketplaceMessaging", "Messaging"),
|
|
225
|
+
path: i(e, "marketplace/messaging-page")
|
|
225
226
|
},
|
|
226
227
|
{
|
|
227
228
|
id: "crewfoundry-marketplace-earnings",
|
|
228
|
-
label: "Earnings",
|
|
229
|
-
path:
|
|
229
|
+
label: t("crewfoundry.nav.marketplaceEarnings", "Earnings"),
|
|
230
|
+
path: i(e, "marketplace/earnings-page")
|
|
230
231
|
},
|
|
231
232
|
{
|
|
232
233
|
id: "crewfoundry-marketplace-bookings",
|
|
233
|
-
label: "Booking Management",
|
|
234
|
-
path:
|
|
234
|
+
label: t("crewfoundry.nav.marketplaceBookingManagement", "Booking Management"),
|
|
235
|
+
path: i(e, "marketplace/booking-management-page")
|
|
235
236
|
},
|
|
236
237
|
{
|
|
237
238
|
id: "crewfoundry-marketplace-freelancer-profile",
|
|
238
|
-
label: "Freelancer Profile",
|
|
239
|
-
path:
|
|
239
|
+
label: t("crewfoundry.nav.marketplaceFreelancerProfile", "Freelancer Profile"),
|
|
240
|
+
path: i(e, "marketplace/freelancer-profile-page")
|
|
240
241
|
},
|
|
241
242
|
{
|
|
242
243
|
id: "crewfoundry-marketplace-freelancer-profile-enhanced",
|
|
243
|
-
label: "Freelancer Profile Enhanced",
|
|
244
|
-
path:
|
|
244
|
+
label: t("crewfoundry.nav.marketplaceFreelancerProfileEnhanced", "Freelancer Profile Enhanced"),
|
|
245
|
+
path: i(e, "marketplace/freelancer-profile-page-enhanced")
|
|
245
246
|
}
|
|
246
247
|
]
|
|
247
248
|
},
|
|
248
249
|
{
|
|
249
250
|
id: "crewfoundry-payments",
|
|
250
|
-
label: "Payments",
|
|
251
|
-
path:
|
|
251
|
+
label: t("crewfoundry.nav.payments", "Payments"),
|
|
252
|
+
path: i(e, "payments/payment-dashboard-page"),
|
|
252
253
|
children: [
|
|
253
254
|
{
|
|
254
255
|
id: "crewfoundry-payments-dashboard",
|
|
255
|
-
label: "Payment Dashboard",
|
|
256
|
-
path:
|
|
256
|
+
label: t("crewfoundry.nav.paymentsDashboard", "Payment Dashboard"),
|
|
257
|
+
path: i(e, "payments/payment-dashboard-page")
|
|
257
258
|
},
|
|
258
259
|
{
|
|
259
260
|
id: "crewfoundry-payments-invoices",
|
|
260
|
-
label: "Invoices",
|
|
261
|
-
path:
|
|
261
|
+
label: t("crewfoundry.nav.paymentsInvoices", "Invoices"),
|
|
262
|
+
path: i(e, "payments/invoices-page")
|
|
262
263
|
},
|
|
263
264
|
{
|
|
264
265
|
id: "crewfoundry-payments-escrow",
|
|
265
|
-
label: "Escrow",
|
|
266
|
-
path:
|
|
266
|
+
label: t("crewfoundry.nav.paymentsEscrow", "Escrow"),
|
|
267
|
+
path: i(e, "payments/escrow-page")
|
|
267
268
|
},
|
|
268
269
|
{
|
|
269
270
|
id: "crewfoundry-payments-methods",
|
|
270
|
-
label: "Payment Methods",
|
|
271
|
-
path:
|
|
271
|
+
label: t("crewfoundry.nav.paymentsMethods", "Payment Methods"),
|
|
272
|
+
path: i(e, "payments/payment-methods-page")
|
|
272
273
|
},
|
|
273
274
|
{
|
|
274
275
|
id: "crewfoundry-payments-security",
|
|
275
|
-
label: "Security",
|
|
276
|
-
path:
|
|
276
|
+
label: t("crewfoundry.nav.paymentsSecurity", "Security"),
|
|
277
|
+
path: i(e, "payments/security-page")
|
|
277
278
|
}
|
|
278
279
|
]
|
|
279
280
|
},
|
|
280
281
|
{
|
|
281
282
|
id: "crewfoundry-communications",
|
|
282
|
-
label: "Communications",
|
|
283
|
-
path:
|
|
283
|
+
label: t("crewfoundry.nav.communications", "Communications"),
|
|
284
|
+
path: i(e, "communications/announcements-page"),
|
|
284
285
|
children: [
|
|
285
286
|
{
|
|
286
287
|
id: "crewfoundry-communications-announcements",
|
|
287
|
-
label: "Announcements",
|
|
288
|
-
path:
|
|
288
|
+
label: t("crewfoundry.nav.communicationsAnnouncements", "Announcements"),
|
|
289
|
+
path: i(e, "communications/announcements-page")
|
|
289
290
|
},
|
|
290
291
|
{
|
|
291
292
|
id: "crewfoundry-communications-messages",
|
|
292
|
-
label: "Messages",
|
|
293
|
-
path:
|
|
293
|
+
label: t("crewfoundry.nav.communicationsMessages", "Messages"),
|
|
294
|
+
path: i(e, "communications/messages-page")
|
|
294
295
|
},
|
|
295
296
|
{
|
|
296
297
|
id: "crewfoundry-communications-calls",
|
|
297
|
-
label: "Calls",
|
|
298
|
-
path:
|
|
298
|
+
label: t("crewfoundry.nav.communicationsCalls", "Calls"),
|
|
299
|
+
path: i(e, "communications/calls-page")
|
|
299
300
|
},
|
|
300
301
|
{
|
|
301
302
|
id: "crewfoundry-communications-video-calls",
|
|
302
|
-
label: "Video Calls",
|
|
303
|
-
path:
|
|
303
|
+
label: t("crewfoundry.nav.communicationsVideoCalls", "Video Calls"),
|
|
304
|
+
path: i(e, "communications/video-calls-page")
|
|
304
305
|
},
|
|
305
306
|
{
|
|
306
307
|
id: "crewfoundry-communications-files",
|
|
307
|
-
label: "Files",
|
|
308
|
-
path:
|
|
308
|
+
label: t("crewfoundry.nav.communicationsFiles", "Files"),
|
|
309
|
+
path: i(e, "communications/files-page")
|
|
309
310
|
},
|
|
310
311
|
{
|
|
311
312
|
id: "crewfoundry-communications-directory",
|
|
312
|
-
label: "Directory",
|
|
313
|
-
path:
|
|
313
|
+
label: t("crewfoundry.nav.communicationsDirectory", "Directory"),
|
|
314
|
+
path: i(e, "communications/directory-page")
|
|
314
315
|
},
|
|
315
316
|
{
|
|
316
317
|
id: "crewfoundry-communications-teams",
|
|
317
|
-
label: "Teams",
|
|
318
|
-
path:
|
|
318
|
+
label: t("crewfoundry.nav.communicationsTeams", "Teams"),
|
|
319
|
+
path: i(e, "communications/teams-page")
|
|
319
320
|
}
|
|
320
321
|
]
|
|
321
322
|
},
|
|
322
323
|
{
|
|
323
324
|
id: "crewfoundry-projects",
|
|
324
|
-
label: "Projects",
|
|
325
|
-
path:
|
|
325
|
+
label: t("crewfoundry.nav.projects", "Projects"),
|
|
326
|
+
path: i(e, "projects/projects-page"),
|
|
326
327
|
children: [
|
|
327
328
|
{
|
|
328
329
|
id: "crewfoundry-projects-list",
|
|
329
|
-
label: "Projects",
|
|
330
|
-
path:
|
|
330
|
+
label: t("crewfoundry.nav.projectsList", "Projects"),
|
|
331
|
+
path: i(e, "projects/projects-page")
|
|
331
332
|
},
|
|
332
333
|
{
|
|
333
334
|
id: "crewfoundry-projects-create",
|
|
334
|
-
label: "Create Project",
|
|
335
|
-
path:
|
|
335
|
+
label: t("crewfoundry.nav.projectsCreate", "Create Project"),
|
|
336
|
+
path: i(e, "projects/create-project-page")
|
|
336
337
|
},
|
|
337
338
|
{
|
|
338
339
|
id: "crewfoundry-projects-details",
|
|
339
|
-
label: "Project Details",
|
|
340
|
-
path:
|
|
340
|
+
label: t("crewfoundry.nav.projectsDetails", "Project Details"),
|
|
341
|
+
path: i(e, "projects/project-details-page")
|
|
341
342
|
}
|
|
342
343
|
]
|
|
343
344
|
},
|
|
344
345
|
{
|
|
345
346
|
id: "crewfoundry-company",
|
|
346
|
-
label: "Company",
|
|
347
|
-
path:
|
|
347
|
+
label: t("crewfoundry.nav.company", "Company"),
|
|
348
|
+
path: i(e, "company/company-dashboard-page"),
|
|
348
349
|
children: [
|
|
349
350
|
{
|
|
350
351
|
id: "crewfoundry-company-dashboard",
|
|
351
|
-
label: "Company Dashboard",
|
|
352
|
-
path:
|
|
352
|
+
label: t("crewfoundry.nav.companyDashboard", "Company Dashboard"),
|
|
353
|
+
path: i(e, "company/company-dashboard-page")
|
|
353
354
|
},
|
|
354
355
|
{
|
|
355
356
|
id: "crewfoundry-company-clients",
|
|
356
|
-
label: "Client Management",
|
|
357
|
-
path:
|
|
357
|
+
label: t("crewfoundry.nav.companyClientManagement", "Client Management"),
|
|
358
|
+
path: i(e, "company/client-management-page")
|
|
358
359
|
},
|
|
359
360
|
{
|
|
360
361
|
id: "crewfoundry-company-vendors",
|
|
361
|
-
label: "Vendor Management",
|
|
362
|
-
path:
|
|
362
|
+
label: t("crewfoundry.nav.companyVendorManagement", "Vendor Management"),
|
|
363
|
+
path: i(e, "company/vendor-management-page")
|
|
363
364
|
},
|
|
364
365
|
{
|
|
365
366
|
id: "crewfoundry-company-profile",
|
|
366
|
-
label: "Company Profile",
|
|
367
|
-
path:
|
|
367
|
+
label: t("crewfoundry.nav.companyProfile", "Company Profile"),
|
|
368
|
+
path: i(e, "company/company-profile-page")
|
|
368
369
|
}
|
|
369
370
|
]
|
|
370
371
|
},
|
|
371
372
|
{
|
|
372
373
|
id: "crewfoundry-analytics",
|
|
373
|
-
label: "Analytics",
|
|
374
|
-
path:
|
|
374
|
+
label: t("crewfoundry.nav.analytics", "Analytics"),
|
|
375
|
+
path: i(e, "analytics/analytics-page"),
|
|
375
376
|
children: [
|
|
376
377
|
{
|
|
377
378
|
id: "crewfoundry-analytics-overview",
|
|
378
|
-
label: "Overview",
|
|
379
|
-
path:
|
|
379
|
+
label: t("crewfoundry.nav.analyticsOverview", "Overview"),
|
|
380
|
+
path: i(e, "analytics/analytics-page")
|
|
380
381
|
},
|
|
381
382
|
{
|
|
382
383
|
id: "crewfoundry-analytics-employee",
|
|
383
|
-
label: "Employee Analytics",
|
|
384
|
-
path:
|
|
384
|
+
label: t("crewfoundry.nav.analyticsEmployee", "Employee Analytics"),
|
|
385
|
+
path: i(e, "analytics/employee-analytics-page")
|
|
385
386
|
},
|
|
386
387
|
{
|
|
387
388
|
id: "crewfoundry-analytics-financial",
|
|
388
|
-
label: "Financial Analytics",
|
|
389
|
-
path:
|
|
389
|
+
label: t("crewfoundry.nav.analyticsFinancial", "Financial Analytics"),
|
|
390
|
+
path: i(e, "analytics/financial-analytics-page")
|
|
390
391
|
},
|
|
391
392
|
{
|
|
392
393
|
id: "crewfoundry-analytics-hiring",
|
|
393
|
-
label: "Hiring Analytics",
|
|
394
|
-
path:
|
|
394
|
+
label: t("crewfoundry.nav.analyticsHiring", "Hiring Analytics"),
|
|
395
|
+
path: i(e, "analytics/hiring-analytics-page")
|
|
395
396
|
}
|
|
396
397
|
]
|
|
397
398
|
},
|
|
398
399
|
{
|
|
399
400
|
id: "crewfoundry-help",
|
|
400
|
-
label: "Help",
|
|
401
|
-
path:
|
|
401
|
+
label: t("crewfoundry.nav.help", "Help"),
|
|
402
|
+
path: i(e, "help/api-documentation-page"),
|
|
402
403
|
children: [{
|
|
403
404
|
id: "crewfoundry-help-api",
|
|
404
|
-
label: "API Documentation",
|
|
405
|
-
path:
|
|
405
|
+
label: t("crewfoundry.nav.helpApiDocumentation", "API Documentation"),
|
|
406
|
+
path: i(e, "help/api-documentation-page")
|
|
406
407
|
}]
|
|
407
408
|
}
|
|
408
|
-
],
|
|
409
|
-
let { registerNavItems:
|
|
410
|
-
return
|
|
411
|
-
|
|
412
|
-
workspaceId:
|
|
413
|
-
authToken:
|
|
414
|
-
apiGatewayUrl:
|
|
415
|
-
actorId:
|
|
409
|
+
], f = (i) => {
|
|
410
|
+
let { registerNavItems: f, registerFooterItems: p, basePath: m = "/" } = i, h = t((e) => e.initializeData), g = r();
|
|
411
|
+
return a(() => {
|
|
412
|
+
h({
|
|
413
|
+
workspaceId: i.workspaceId,
|
|
414
|
+
authToken: i.authToken,
|
|
415
|
+
apiGatewayUrl: i.apiGatewayUrl,
|
|
416
|
+
actorId: i.currentUser?.id
|
|
416
417
|
});
|
|
417
418
|
}, [
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
]),
|
|
424
|
-
if (
|
|
419
|
+
h,
|
|
420
|
+
i.workspaceId,
|
|
421
|
+
i.authToken,
|
|
422
|
+
i.apiGatewayUrl,
|
|
423
|
+
i.currentUser?.id
|
|
424
|
+
]), a(() => {
|
|
425
|
+
if (f) return f({
|
|
425
426
|
id: "crewfoundry",
|
|
426
|
-
label: "CrewFoundry",
|
|
427
|
-
path:
|
|
428
|
-
icon: /* @__PURE__ */ c
|
|
427
|
+
label: g("crewfoundry.nav.product", "CrewFoundry"),
|
|
428
|
+
path: m,
|
|
429
|
+
icon: /* @__PURE__ */ l(c, { size: 20 }),
|
|
429
430
|
order: 80,
|
|
430
431
|
group: "products",
|
|
431
|
-
children:
|
|
432
|
+
children: d(m, g).map((e) => ({
|
|
432
433
|
id: e.id,
|
|
433
434
|
label: e.label,
|
|
434
435
|
path: e.path,
|
|
435
|
-
icon: /* @__PURE__ */
|
|
436
|
+
icon: /* @__PURE__ */ l(s, { size: 16 }),
|
|
436
437
|
children: e.children.map((e) => ({
|
|
437
438
|
id: e.id,
|
|
438
439
|
label: e.label,
|
|
439
440
|
path: e.path,
|
|
440
|
-
icon: /* @__PURE__ */
|
|
441
|
+
icon: /* @__PURE__ */ l(o, { size: 16 })
|
|
441
442
|
}))
|
|
442
443
|
}))
|
|
443
444
|
});
|
|
444
|
-
}, [
|
|
445
|
-
|
|
445
|
+
}, [
|
|
446
|
+
f,
|
|
447
|
+
m,
|
|
448
|
+
g
|
|
449
|
+
]), a(() => {
|
|
450
|
+
if (p) return p([{
|
|
446
451
|
id: "crewfoundry-status",
|
|
447
|
-
label: "CrewFoundry Ready",
|
|
452
|
+
label: g("crewfoundry.nav.footerStatus", "CrewFoundry Ready"),
|
|
448
453
|
type: "status",
|
|
449
454
|
section: "left",
|
|
450
455
|
order: 10
|
|
451
456
|
}]);
|
|
452
|
-
}, [
|
|
457
|
+
}, [p, g]), /* @__PURE__ */ l(u, {
|
|
453
458
|
workspaceId: null,
|
|
454
459
|
gateway: "global",
|
|
455
460
|
defaultEnabled: !0,
|
|
456
|
-
children: /* @__PURE__ */
|
|
457
|
-
...
|
|
458
|
-
children: /* @__PURE__ */
|
|
461
|
+
children: /* @__PURE__ */ l(e, {
|
|
462
|
+
...i,
|
|
463
|
+
children: /* @__PURE__ */ l(n, {})
|
|
459
464
|
})
|
|
460
465
|
});
|
|
461
466
|
};
|
|
462
467
|
//#endregion
|
|
463
|
-
export {
|
|
468
|
+
export { f as CrewFoundryRoot };
|
|
464
469
|
|
|
465
470
|
//# sourceMappingURL=CrewFoundryRoot.js.map
|