@burdenoff/microfe-crewfoundry 2026.625.1 → 2026.625.2
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/pages/AdminAdminPagePage.js +37 -29
- package/dist/crewfoundry/pages/AdminAdminPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/AnalyticsAnalyticsPagePage.js +50 -42
- package/dist/crewfoundry/pages/AnalyticsAnalyticsPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/AnalyticsEmployeeAnalyticsPagePage.js +39 -31
- package/dist/crewfoundry/pages/AnalyticsEmployeeAnalyticsPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/AnalyticsFinancialAnalyticsPagePage.js +52 -44
- package/dist/crewfoundry/pages/AnalyticsFinancialAnalyticsPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/AnalyticsHiringAnalyticsPagePage.js +46 -38
- package/dist/crewfoundry/pages/AnalyticsHiringAnalyticsPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/CommunicationsAnnouncementsPagePage.js +28 -15
- package/dist/crewfoundry/pages/CommunicationsAnnouncementsPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/CommunicationsCallsPagePage.js +30 -22
- package/dist/crewfoundry/pages/CommunicationsCallsPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/CommunicationsDirectoryPagePage.js +87 -69
- package/dist/crewfoundry/pages/CommunicationsDirectoryPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/CommunicationsFilesPagePage.js +99 -80
- package/dist/crewfoundry/pages/CommunicationsFilesPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/CommunicationsMessagesPagePage.js +86 -67
- package/dist/crewfoundry/pages/CommunicationsMessagesPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/CommunicationsTeamsPagePage.js +31 -15
- package/dist/crewfoundry/pages/CommunicationsTeamsPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/CommunicationsVideoCallsPagePage.js +37 -29
- package/dist/crewfoundry/pages/CommunicationsVideoCallsPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/CompanyClientManagementPagePage.js +29 -21
- package/dist/crewfoundry/pages/CompanyClientManagementPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/CompanyCompanyDashboardPagePage.js +25 -17
- package/dist/crewfoundry/pages/CompanyCompanyDashboardPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/CompanyCompanyProfilePagePage.js +42 -35
- package/dist/crewfoundry/pages/CompanyCompanyProfilePagePage.js.map +1 -1
- package/dist/crewfoundry/pages/CompanyVendorManagementPagePage.js +80 -62
- package/dist/crewfoundry/pages/CompanyVendorManagementPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/DashboardAnalyticsPagePage.js +41 -33
- package/dist/crewfoundry/pages/DashboardAnalyticsPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/DashboardDashboardPagePage.js +142 -108
- package/dist/crewfoundry/pages/DashboardDashboardPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/DashboardEnhancedDashboardPagePage.js +177 -136
- package/dist/crewfoundry/pages/DashboardEnhancedDashboardPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/DashboardExecutiveDashboardPage.js +44 -36
- package/dist/crewfoundry/pages/DashboardExecutiveDashboardPage.js.map +1 -1
- package/dist/crewfoundry/pages/HelpApiDocumentationPagePage.js +49 -38
- package/dist/crewfoundry/pages/HelpApiDocumentationPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/HiringApplicationsPagePage.js +26 -18
- package/dist/crewfoundry/pages/HiringApplicationsPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/HiringCandidatesPagePage.js +112 -93
- package/dist/crewfoundry/pages/HiringCandidatesPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/HiringCreateJobPagePage.js +53 -46
- package/dist/crewfoundry/pages/HiringCreateJobPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/HiringInterviewsPagePage.js +31 -23
- package/dist/crewfoundry/pages/HiringInterviewsPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/HiringJobDetailsPagePage.js +129 -90
- package/dist/crewfoundry/pages/HiringJobDetailsPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/HiringJobsPagePage.js +96 -85
- package/dist/crewfoundry/pages/HiringJobsPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/HrDepartmentsPagePage.js +26 -18
- package/dist/crewfoundry/pages/HrDepartmentsPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/HrEmployeesPagePage.js +47 -35
- package/dist/crewfoundry/pages/HrEmployeesPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/HrLeaveManagementPagePage.js +33 -25
- package/dist/crewfoundry/pages/HrLeaveManagementPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/HrPayrollPagePage.js +36 -28
- package/dist/crewfoundry/pages/HrPayrollPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/HrTimeTrackingPagePage.js +27 -19
- package/dist/crewfoundry/pages/HrTimeTrackingPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/LearningAssessmentsPagePage.js +27 -19
- package/dist/crewfoundry/pages/LearningAssessmentsPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/LearningCertificatesPagePage.js +93 -75
- package/dist/crewfoundry/pages/LearningCertificatesPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/LearningCourseDetailsPagePage.js +111 -70
- package/dist/crewfoundry/pages/LearningCourseDetailsPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/LearningCourseLearningPagePage.js +65 -53
- package/dist/crewfoundry/pages/LearningCourseLearningPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/LearningCoursesPagePage.js +35 -19
- package/dist/crewfoundry/pages/LearningCoursesPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/LearningLearningAnalyticsPagePage.js +33 -25
- package/dist/crewfoundry/pages/LearningLearningAnalyticsPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/LearningLearningPagePage.js +26 -18
- package/dist/crewfoundry/pages/LearningLearningPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/LearningLearningPathDetailPagePage.js +80 -55
- package/dist/crewfoundry/pages/LearningLearningPathDetailPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/LearningLearningPathsPagePage.js +33 -17
- package/dist/crewfoundry/pages/LearningLearningPathsPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/LearningMyLearningPagePage.js +31 -23
- package/dist/crewfoundry/pages/LearningMyLearningPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/MarketplaceBookingManagementPagePage.js +29 -21
- package/dist/crewfoundry/pages/MarketplaceBookingManagementPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/MarketplaceEarningsPagePage.js +35 -27
- package/dist/crewfoundry/pages/MarketplaceEarningsPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/MarketplaceFreelancerProfilePageEnhancedPage.js +147 -112
- package/dist/crewfoundry/pages/MarketplaceFreelancerProfilePageEnhancedPage.js.map +1 -1
- package/dist/crewfoundry/pages/MarketplaceFreelancerProfilePagePage.js +31 -27
- package/dist/crewfoundry/pages/MarketplaceFreelancerProfilePagePage.js.map +1 -1
- package/dist/crewfoundry/pages/MarketplaceMarketplacePagePage.js +31 -23
- package/dist/crewfoundry/pages/MarketplaceMarketplacePagePage.js.map +1 -1
- package/dist/crewfoundry/pages/MarketplaceMarketplaceServicesPagePage.js +104 -85
- package/dist/crewfoundry/pages/MarketplaceMarketplaceServicesPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/MarketplaceMessagingPagePage.js +75 -56
- package/dist/crewfoundry/pages/MarketplaceMessagingPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/MarketplaceMyServicesPagePage.js +78 -60
- package/dist/crewfoundry/pages/MarketplaceMyServicesPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/MarketplaceProjectDetailsPagePage.js +133 -92
- package/dist/crewfoundry/pages/MarketplaceProjectDetailsPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/MarketplaceServiceDetailsPagePage.js +93 -52
- package/dist/crewfoundry/pages/MarketplaceServiceDetailsPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/PaymentsEscrowPagePage.js +28 -20
- package/dist/crewfoundry/pages/PaymentsEscrowPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/PaymentsInvoicesPagePage.js +84 -65
- package/dist/crewfoundry/pages/PaymentsInvoicesPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/PaymentsPaymentDashboardPagePage.js +25 -17
- package/dist/crewfoundry/pages/PaymentsPaymentDashboardPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/PaymentsPaymentMethodsPagePage.js +58 -40
- package/dist/crewfoundry/pages/PaymentsPaymentMethodsPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/PaymentsSecurityPagePage.js +41 -33
- package/dist/crewfoundry/pages/PaymentsSecurityPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/ProjectsCreateProjectPagePage.js +36 -29
- package/dist/crewfoundry/pages/ProjectsCreateProjectPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/ProjectsProjectDetailsPagePage.js +103 -72
- package/dist/crewfoundry/pages/ProjectsProjectDetailsPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/ProjectsProjectsPagePage.js +43 -27
- package/dist/crewfoundry/pages/ProjectsProjectsPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/TeamsTeamAnalyticsPagePage.js +28 -20
- package/dist/crewfoundry/pages/TeamsTeamAnalyticsPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/TeamsTeamDetailPagePage.js +103 -62
- package/dist/crewfoundry/pages/TeamsTeamDetailPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/TeamsTeamDirectoryPagePage.js +83 -64
- package/dist/crewfoundry/pages/TeamsTeamDirectoryPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/TeamsTeamSettingsPagePage.js +185 -144
- package/dist/crewfoundry/pages/TeamsTeamSettingsPagePage.js.map +1 -1
- package/dist/crewfoundry/pages/TeamsTeamsPagePage.js +40 -24
- package/dist/crewfoundry/pages/TeamsTeamsPagePage.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,122 +1,156 @@
|
|
|
1
1
|
import { useCrewFoundryStore as e } from "../store/crewfoundryStore.js";
|
|
2
2
|
import { useMemo as t } from "react";
|
|
3
3
|
import { AlertTriangle as n, ArrowUpRight as r, Award as i, Bell as a, Briefcase as o, CheckCircle as s, MapPin as c, Star as l, Users as u, Zap as d } from "lucide-react";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { useNavigate as f } from "react-router-dom";
|
|
5
|
+
import { jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
6
|
+
import { Badge as h, Button as g, Card as _, CardContent as v, CardDescription as y, CardHeader as b, CardTitle as x, EmphasisPanel as S, GradientText as C, NextSteps as w, PagePurpose as T, Separator as E } from "@burdenoff/fe-libs/ui";
|
|
6
7
|
//#region src/crewfoundry/pages/DashboardEnhancedDashboardPagePage.tsx
|
|
7
|
-
function
|
|
8
|
-
let { employees:
|
|
8
|
+
function D() {
|
|
9
|
+
let D = f(), { employees: O, jobPostings: k, candidates: A, interviews: j, leaveRequests: M, notifications: N, projects: P, announcements: F } = e(), I = t(() => [
|
|
9
10
|
{
|
|
10
|
-
label: `Post New Job (${
|
|
11
|
+
label: `Post New Job (${k.filter((e) => e.status === "active").length} active)`,
|
|
11
12
|
icon: o,
|
|
12
13
|
color: "text-status-info-text"
|
|
13
14
|
},
|
|
14
15
|
{
|
|
15
|
-
label: `Review Candidates (${
|
|
16
|
+
label: `Review Candidates (${A.filter((e) => e.status === "new").length})`,
|
|
16
17
|
icon: u,
|
|
17
18
|
color: "text-action-primary-bg"
|
|
18
19
|
},
|
|
19
20
|
{
|
|
20
|
-
label: `Approve Leaves (${
|
|
21
|
+
label: `Approve Leaves (${M.filter((e) => e.status === "pending").length})`,
|
|
21
22
|
icon: s,
|
|
22
23
|
color: "text-status-success-text"
|
|
23
24
|
},
|
|
24
25
|
{
|
|
25
|
-
label: `Run Payroll (${
|
|
26
|
+
label: `Run Payroll (${P.filter((e) => e.status === "active").length} projects)`,
|
|
26
27
|
icon: d,
|
|
27
28
|
color: "text-status-warning-text"
|
|
28
29
|
}
|
|
29
30
|
], [
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
]),
|
|
31
|
+
A,
|
|
32
|
+
k,
|
|
33
|
+
M,
|
|
34
|
+
P
|
|
35
|
+
]), L = t(() => [
|
|
35
36
|
{
|
|
36
37
|
goal: "Reduce time-to-hire to 25 days",
|
|
37
|
-
current: Math.max(20, 40 -
|
|
38
|
+
current: Math.max(20, 40 - A.filter((e) => e.status === "hired").length),
|
|
38
39
|
target: 25,
|
|
39
40
|
unit: "days"
|
|
40
41
|
},
|
|
41
42
|
{
|
|
42
43
|
goal: "Achieve 95% employee satisfaction",
|
|
43
|
-
current: Math.round(
|
|
44
|
+
current: Math.round(O.reduce((e, t) => e + t.performanceScore, 0) / Math.max(O.length, 1) * 20),
|
|
44
45
|
target: 95,
|
|
45
46
|
unit: "%"
|
|
46
47
|
},
|
|
47
48
|
{
|
|
48
49
|
goal: "Fill 30 open positions by Q2",
|
|
49
|
-
current:
|
|
50
|
+
current: A.filter((e) => e.status === "hired").length,
|
|
50
51
|
target: 30,
|
|
51
52
|
unit: "positions"
|
|
52
53
|
},
|
|
53
54
|
{
|
|
54
55
|
goal: "Complete 80% training compliance",
|
|
55
|
-
current: Math.min(100, 60 + Math.round(
|
|
56
|
+
current: Math.min(100, 60 + Math.round(O.filter((e) => e.status === "active").length / Math.max(O.length, 1) * 30)),
|
|
56
57
|
target: 80,
|
|
57
58
|
unit: "%"
|
|
58
59
|
}
|
|
59
|
-
], [
|
|
60
|
-
return /* @__PURE__ */
|
|
60
|
+
], [A, O]), R = j.filter((e) => e.status === "scheduled"), z = M.filter((e) => e.status === "pending"), B = N.filter((e) => !e.read), V = F.filter((e) => e.isPinned), H = [...O].sort((e, t) => t.performanceScore - e.performanceScore).slice(0, 5), U = [...O].sort((e, t) => t.startDate.localeCompare(e.startDate)).slice(0, 5), W = O.reduce((e, t) => (e[t.location] = (e[t.location] || 0) + 1, e), {});
|
|
61
|
+
return /* @__PURE__ */ m("div", {
|
|
61
62
|
className: "space-y-6 p-6",
|
|
62
63
|
children: [
|
|
63
|
-
/* @__PURE__ */
|
|
64
|
+
/* @__PURE__ */ m("div", {
|
|
64
65
|
className: "flex items-center justify-between",
|
|
65
|
-
children: [/* @__PURE__ */
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
66
|
+
children: [/* @__PURE__ */ m("div", { children: [
|
|
67
|
+
/* @__PURE__ */ p("h1", {
|
|
68
|
+
className: "text-2xl font-semibold",
|
|
69
|
+
children: /* @__PURE__ */ p(C, { children: "Enhanced Dashboard" })
|
|
70
|
+
}),
|
|
71
|
+
/* @__PURE__ */ p("p", {
|
|
72
|
+
className: "text-sm text-text-secondary",
|
|
73
|
+
children: "Complete workforce command center"
|
|
74
|
+
}),
|
|
75
|
+
/* @__PURE__ */ p(T, {
|
|
76
|
+
className: "mt-1",
|
|
77
|
+
children: "A richer, customizable command center for your workforce — see live metrics, activity, and trends tailored to how you run your organization."
|
|
78
|
+
})
|
|
79
|
+
] }), /* @__PURE__ */ m("div", {
|
|
72
80
|
className: "flex items-center gap-3",
|
|
73
|
-
children: [/* @__PURE__ */
|
|
81
|
+
children: [/* @__PURE__ */ m("div", {
|
|
74
82
|
className: "relative",
|
|
75
|
-
children: [/* @__PURE__ */
|
|
83
|
+
children: [/* @__PURE__ */ p(a, { className: "h-5 w-5 text-text-secondary" }), B.length > 0 && /* @__PURE__ */ p("span", {
|
|
76
84
|
className: "absolute -top-1 -right-1 h-4 w-4 rounded-full bg-status-error-text text-[10px] text-white flex items-center justify-center",
|
|
77
|
-
children:
|
|
85
|
+
children: B.length
|
|
78
86
|
})]
|
|
79
|
-
}), /* @__PURE__ */
|
|
87
|
+
}), /* @__PURE__ */ m(g, {
|
|
80
88
|
size: "sm",
|
|
81
|
-
children: [/* @__PURE__ */
|
|
89
|
+
children: [/* @__PURE__ */ p(d, { className: "h-4 w-4 mr-1" }), "Quick Actions"]
|
|
82
90
|
})]
|
|
83
91
|
})]
|
|
84
92
|
}),
|
|
85
|
-
/* @__PURE__ */
|
|
93
|
+
/* @__PURE__ */ p(w, {
|
|
94
|
+
storageKey: "crewfoundry-enhanced-dashboard",
|
|
95
|
+
steps: [
|
|
96
|
+
{
|
|
97
|
+
id: "hiring",
|
|
98
|
+
label: "Move hiring forward",
|
|
99
|
+
description: "Review open roles and applicants in your pipeline.",
|
|
100
|
+
icon: /* @__PURE__ */ p(o, { className: "h-4 w-4" }),
|
|
101
|
+
onClick: () => D("../../hiring/jobs-page")
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
id: "people",
|
|
105
|
+
label: "Check on your people",
|
|
106
|
+
description: "See who is active, on leave, or needs attention.",
|
|
107
|
+
icon: /* @__PURE__ */ p(u, { className: "h-4 w-4" }),
|
|
108
|
+
onClick: () => D("../../hr/employees-page")
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
id: "analytics",
|
|
112
|
+
label: "Dig into analytics",
|
|
113
|
+
description: "Explore deeper workforce and hiring trends.",
|
|
114
|
+
icon: /* @__PURE__ */ p(r, { className: "h-4 w-4" }),
|
|
115
|
+
onClick: () => D("../../analytics/analytics-page")
|
|
116
|
+
}
|
|
117
|
+
]
|
|
118
|
+
}),
|
|
119
|
+
/* @__PURE__ */ p("div", {
|
|
86
120
|
className: "grid gap-3 md:grid-cols-4",
|
|
87
|
-
children:
|
|
121
|
+
children: I.map((e) => /* @__PURE__ */ p(_, {
|
|
88
122
|
className: "cursor-pointer hover:shadow-md transition-shadow",
|
|
89
|
-
children: /* @__PURE__ */
|
|
123
|
+
children: /* @__PURE__ */ m(v, {
|
|
90
124
|
className: "flex items-center gap-3 p-4",
|
|
91
125
|
children: [
|
|
92
|
-
/* @__PURE__ */
|
|
93
|
-
/* @__PURE__ */
|
|
126
|
+
/* @__PURE__ */ p(e.icon, { className: `h-5 w-5 ${e.color}` }),
|
|
127
|
+
/* @__PURE__ */ p("span", {
|
|
94
128
|
className: "text-sm font-medium",
|
|
95
129
|
children: e.label
|
|
96
130
|
}),
|
|
97
|
-
/* @__PURE__ */
|
|
131
|
+
/* @__PURE__ */ p(r, { className: "h-4 w-4 ml-auto text-text-secondary" })
|
|
98
132
|
]
|
|
99
133
|
})
|
|
100
134
|
}, e.label))
|
|
101
135
|
}),
|
|
102
|
-
|
|
136
|
+
V.length > 0 && /* @__PURE__ */ p(_, {
|
|
103
137
|
className: "border-status-warning-text/30 bg-status-warning-bg/50",
|
|
104
|
-
children: /* @__PURE__ */
|
|
138
|
+
children: /* @__PURE__ */ p(v, {
|
|
105
139
|
className: "p-4",
|
|
106
|
-
children:
|
|
140
|
+
children: V.map((e) => /* @__PURE__ */ m("div", {
|
|
107
141
|
className: "flex items-start gap-3",
|
|
108
142
|
children: [
|
|
109
|
-
/* @__PURE__ */
|
|
110
|
-
/* @__PURE__ */
|
|
111
|
-
/* @__PURE__ */
|
|
143
|
+
/* @__PURE__ */ p(n, { className: "h-4 w-4 text-status-warning-text mt-0.5" }),
|
|
144
|
+
/* @__PURE__ */ m("div", { children: [
|
|
145
|
+
/* @__PURE__ */ p("p", {
|
|
112
146
|
className: "text-sm font-medium",
|
|
113
147
|
children: e.title
|
|
114
148
|
}),
|
|
115
|
-
/* @__PURE__ */
|
|
149
|
+
/* @__PURE__ */ m("p", {
|
|
116
150
|
className: "text-xs text-text-secondary mt-1",
|
|
117
151
|
children: [e.content.slice(0, 120), "..."]
|
|
118
152
|
}),
|
|
119
|
-
/* @__PURE__ */
|
|
153
|
+
/* @__PURE__ */ m("p", {
|
|
120
154
|
className: "text-xs text-text-secondary mt-1",
|
|
121
155
|
children: [
|
|
122
156
|
"— ",
|
|
@@ -126,7 +160,7 @@ function C() {
|
|
|
126
160
|
]
|
|
127
161
|
})
|
|
128
162
|
] }),
|
|
129
|
-
/* @__PURE__ */
|
|
163
|
+
/* @__PURE__ */ p(h, {
|
|
130
164
|
variant: "outline",
|
|
131
165
|
className: "ml-auto flex-shrink-0",
|
|
132
166
|
children: e.priority
|
|
@@ -135,72 +169,79 @@ function C() {
|
|
|
135
169
|
}, e.id))
|
|
136
170
|
})
|
|
137
171
|
}),
|
|
138
|
-
/* @__PURE__ */
|
|
172
|
+
/* @__PURE__ */ m("div", {
|
|
139
173
|
className: "grid gap-4 md:grid-cols-3",
|
|
140
174
|
children: [
|
|
141
|
-
/* @__PURE__ */
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
"
|
|
160
|
-
e.
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
175
|
+
/* @__PURE__ */ m(S, { children: [
|
|
176
|
+
/* @__PURE__ */ p("div", {
|
|
177
|
+
className: "text-base font-semibold",
|
|
178
|
+
children: "Company Goals"
|
|
179
|
+
}),
|
|
180
|
+
/* @__PURE__ */ p("p", {
|
|
181
|
+
className: "mb-4 text-sm text-text-secondary",
|
|
182
|
+
children: "Q1 2026 targets"
|
|
183
|
+
}),
|
|
184
|
+
/* @__PURE__ */ p("div", {
|
|
185
|
+
className: "space-y-4",
|
|
186
|
+
children: L.map((e) => {
|
|
187
|
+
let t = Math.round(e.current / e.target * 100);
|
|
188
|
+
return /* @__PURE__ */ m("div", {
|
|
189
|
+
className: "space-y-1",
|
|
190
|
+
children: [/* @__PURE__ */ m("div", {
|
|
191
|
+
className: "flex justify-between text-xs",
|
|
192
|
+
children: [/* @__PURE__ */ p("span", {
|
|
193
|
+
className: "text-text-secondary",
|
|
194
|
+
children: e.goal
|
|
195
|
+
}), /* @__PURE__ */ m("span", {
|
|
196
|
+
className: "font-medium",
|
|
197
|
+
children: [
|
|
198
|
+
e.current,
|
|
199
|
+
"/",
|
|
200
|
+
e.target,
|
|
201
|
+
" ",
|
|
202
|
+
e.unit
|
|
203
|
+
]
|
|
204
|
+
})]
|
|
205
|
+
}), /* @__PURE__ */ p("div", {
|
|
206
|
+
className: "h-2 bg-bg-sunken rounded overflow-hidden",
|
|
207
|
+
children: /* @__PURE__ */ p("div", {
|
|
208
|
+
className: `h-2 rounded ${t >= 90 ? "bg-status-success-text" : t >= 70 ? "bg-status-warning-text" : "bg-status-error-text"}`,
|
|
209
|
+
style: { width: `${Math.min(t, 100)}%` }
|
|
210
|
+
})
|
|
164
211
|
})]
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
children: /* @__PURE__ */ f("div", {
|
|
168
|
-
className: `h-2 rounded ${t >= 90 ? "bg-status-success-text" : t >= 70 ? "bg-status-warning-text" : "bg-status-error-text"}`,
|
|
169
|
-
style: { width: `${Math.min(t, 100)}%` }
|
|
170
|
-
})
|
|
171
|
-
})]
|
|
172
|
-
}, e.goal);
|
|
212
|
+
}, e.goal);
|
|
213
|
+
})
|
|
173
214
|
})
|
|
174
|
-
|
|
175
|
-
/* @__PURE__ */
|
|
215
|
+
] }),
|
|
216
|
+
/* @__PURE__ */ m(_, { children: [/* @__PURE__ */ m(b, { children: [/* @__PURE__ */ p(x, {
|
|
176
217
|
className: "text-base",
|
|
177
218
|
children: "Upcoming Interviews"
|
|
178
|
-
}), /* @__PURE__ */
|
|
219
|
+
}), /* @__PURE__ */ m(y, { children: [R.length, " scheduled"] })] }), /* @__PURE__ */ p(v, {
|
|
179
220
|
className: "space-y-3",
|
|
180
|
-
children:
|
|
221
|
+
children: R.map((e) => /* @__PURE__ */ m("div", {
|
|
181
222
|
className: "flex items-center gap-3 rounded border p-2",
|
|
182
223
|
children: [
|
|
183
|
-
/* @__PURE__ */
|
|
224
|
+
/* @__PURE__ */ m("div", {
|
|
184
225
|
className: "flex-1 min-w-0",
|
|
185
|
-
children: [/* @__PURE__ */
|
|
226
|
+
children: [/* @__PURE__ */ p("p", {
|
|
186
227
|
className: "text-sm font-medium truncate",
|
|
187
228
|
children: e.candidateName
|
|
188
|
-
}), /* @__PURE__ */
|
|
229
|
+
}), /* @__PURE__ */ p("p", {
|
|
189
230
|
className: "text-xs text-text-secondary",
|
|
190
231
|
children: e.position
|
|
191
232
|
})]
|
|
192
233
|
}),
|
|
193
|
-
/* @__PURE__ */
|
|
234
|
+
/* @__PURE__ */ m("div", {
|
|
194
235
|
className: "text-right flex-shrink-0",
|
|
195
|
-
children: [/* @__PURE__ */
|
|
236
|
+
children: [/* @__PURE__ */ p("p", {
|
|
196
237
|
className: "text-xs font-medium",
|
|
197
238
|
children: e.date
|
|
198
|
-
}), /* @__PURE__ */
|
|
239
|
+
}), /* @__PURE__ */ p("p", {
|
|
199
240
|
className: "text-xs text-text-secondary",
|
|
200
241
|
children: e.time
|
|
201
242
|
})]
|
|
202
243
|
}),
|
|
203
|
-
/* @__PURE__ */
|
|
244
|
+
/* @__PURE__ */ p(h, {
|
|
204
245
|
variant: "outline",
|
|
205
246
|
className: "text-[10px]",
|
|
206
247
|
children: e.type
|
|
@@ -208,18 +249,18 @@ function C() {
|
|
|
208
249
|
]
|
|
209
250
|
}, e.id))
|
|
210
251
|
})] }),
|
|
211
|
-
/* @__PURE__ */
|
|
252
|
+
/* @__PURE__ */ m(_, { children: [/* @__PURE__ */ m(b, { children: [/* @__PURE__ */ p(x, {
|
|
212
253
|
className: "text-base",
|
|
213
254
|
children: "Pending Actions"
|
|
214
|
-
}), /* @__PURE__ */
|
|
255
|
+
}), /* @__PURE__ */ p(y, { children: "Items requiring your attention" })] }), /* @__PURE__ */ m(v, {
|
|
215
256
|
className: "space-y-3",
|
|
216
257
|
children: [
|
|
217
|
-
|
|
258
|
+
z.map((e) => /* @__PURE__ */ m("div", {
|
|
218
259
|
className: "flex items-center justify-between rounded border p-2",
|
|
219
|
-
children: [/* @__PURE__ */
|
|
260
|
+
children: [/* @__PURE__ */ m("div", { children: [/* @__PURE__ */ p("p", {
|
|
220
261
|
className: "text-sm font-medium",
|
|
221
262
|
children: e.employeeName
|
|
222
|
-
}), /* @__PURE__ */
|
|
263
|
+
}), /* @__PURE__ */ m("p", {
|
|
223
264
|
className: "text-xs text-text-secondary",
|
|
224
265
|
children: [
|
|
225
266
|
e.type,
|
|
@@ -227,53 +268,53 @@ function C() {
|
|
|
227
268
|
e.days,
|
|
228
269
|
" days"
|
|
229
270
|
]
|
|
230
|
-
})] }), /* @__PURE__ */
|
|
271
|
+
})] }), /* @__PURE__ */ m("div", {
|
|
231
272
|
className: "flex gap-1",
|
|
232
|
-
children: [/* @__PURE__ */
|
|
273
|
+
children: [/* @__PURE__ */ p(g, {
|
|
233
274
|
size: "sm",
|
|
234
275
|
variant: "outline",
|
|
235
276
|
className: "h-7 text-xs",
|
|
236
277
|
children: "Deny"
|
|
237
|
-
}), /* @__PURE__ */
|
|
278
|
+
}), /* @__PURE__ */ p(g, {
|
|
238
279
|
size: "sm",
|
|
239
280
|
className: "h-7 text-xs",
|
|
240
281
|
children: "Approve"
|
|
241
282
|
})]
|
|
242
283
|
})]
|
|
243
284
|
}, e.id)),
|
|
244
|
-
/* @__PURE__ */
|
|
245
|
-
/* @__PURE__ */
|
|
285
|
+
/* @__PURE__ */ p(E, {}),
|
|
286
|
+
/* @__PURE__ */ m("div", {
|
|
246
287
|
className: "text-xs text-text-secondary text-center",
|
|
247
|
-
children: [
|
|
288
|
+
children: [A.filter((e) => e.status === "new").length, " new applications to review"]
|
|
248
289
|
})
|
|
249
290
|
]
|
|
250
291
|
})] })
|
|
251
292
|
]
|
|
252
293
|
}),
|
|
253
|
-
/* @__PURE__ */
|
|
294
|
+
/* @__PURE__ */ m("div", {
|
|
254
295
|
className: "grid gap-4 md:grid-cols-2",
|
|
255
|
-
children: [/* @__PURE__ */
|
|
296
|
+
children: [/* @__PURE__ */ m(_, { children: [/* @__PURE__ */ p(b, { children: /* @__PURE__ */ m(x, {
|
|
256
297
|
className: "text-base flex items-center gap-2",
|
|
257
|
-
children: [/* @__PURE__ */
|
|
258
|
-
}) }), /* @__PURE__ */
|
|
298
|
+
children: [/* @__PURE__ */ p(i, { className: "h-4 w-4 text-status-warning-text" }), "Top Performers"]
|
|
299
|
+
}) }), /* @__PURE__ */ p(v, {
|
|
259
300
|
className: "space-y-3",
|
|
260
|
-
children:
|
|
301
|
+
children: H.map((e, t) => /* @__PURE__ */ m("div", {
|
|
261
302
|
className: "flex items-center gap-3",
|
|
262
303
|
children: [
|
|
263
|
-
/* @__PURE__ */
|
|
304
|
+
/* @__PURE__ */ m("span", {
|
|
264
305
|
className: "text-sm font-bold text-text-secondary w-5",
|
|
265
306
|
children: ["#", t + 1]
|
|
266
307
|
}),
|
|
267
|
-
/* @__PURE__ */
|
|
308
|
+
/* @__PURE__ */ m("div", {
|
|
268
309
|
className: "flex-1",
|
|
269
|
-
children: [/* @__PURE__ */
|
|
310
|
+
children: [/* @__PURE__ */ m("p", {
|
|
270
311
|
className: "text-sm font-medium",
|
|
271
312
|
children: [
|
|
272
313
|
e.firstName,
|
|
273
314
|
" ",
|
|
274
315
|
e.lastName
|
|
275
316
|
]
|
|
276
|
-
}), /* @__PURE__ */
|
|
317
|
+
}), /* @__PURE__ */ m("p", {
|
|
277
318
|
className: "text-xs text-text-secondary",
|
|
278
319
|
children: [
|
|
279
320
|
e.position,
|
|
@@ -282,35 +323,35 @@ function C() {
|
|
|
282
323
|
]
|
|
283
324
|
})]
|
|
284
325
|
}),
|
|
285
|
-
/* @__PURE__ */
|
|
326
|
+
/* @__PURE__ */ m("div", {
|
|
286
327
|
className: "flex items-center gap-1",
|
|
287
|
-
children: [/* @__PURE__ */
|
|
328
|
+
children: [/* @__PURE__ */ p(l, { className: "h-3 w-3 text-status-warning-text" }), /* @__PURE__ */ p("span", {
|
|
288
329
|
className: "text-sm font-medium",
|
|
289
330
|
children: e.performanceScore
|
|
290
331
|
})]
|
|
291
332
|
})
|
|
292
333
|
]
|
|
293
334
|
}, e.id))
|
|
294
|
-
})] }), /* @__PURE__ */
|
|
335
|
+
})] }), /* @__PURE__ */ m(_, { children: [/* @__PURE__ */ p(b, { children: /* @__PURE__ */ m(x, {
|
|
295
336
|
className: "text-base flex items-center gap-2",
|
|
296
|
-
children: [/* @__PURE__ */
|
|
297
|
-
}) }), /* @__PURE__ */
|
|
337
|
+
children: [/* @__PURE__ */ p(c, { className: "h-4 w-4" }), "Workforce Locations"]
|
|
338
|
+
}) }), /* @__PURE__ */ p(v, {
|
|
298
339
|
className: "space-y-3",
|
|
299
|
-
children: Object.entries(
|
|
340
|
+
children: Object.entries(W).sort(([, e], [, t]) => t - e).map(([e, t]) => /* @__PURE__ */ m("div", {
|
|
300
341
|
className: "flex items-center justify-between",
|
|
301
|
-
children: [/* @__PURE__ */
|
|
342
|
+
children: [/* @__PURE__ */ p("span", {
|
|
302
343
|
className: "text-sm",
|
|
303
344
|
children: e
|
|
304
|
-
}), /* @__PURE__ */
|
|
345
|
+
}), /* @__PURE__ */ m("div", {
|
|
305
346
|
className: "flex items-center gap-2",
|
|
306
|
-
children: [/* @__PURE__ */
|
|
347
|
+
children: [/* @__PURE__ */ p("span", {
|
|
307
348
|
className: "text-sm font-medium",
|
|
308
349
|
children: t
|
|
309
|
-
}), /* @__PURE__ */
|
|
350
|
+
}), /* @__PURE__ */ m("span", {
|
|
310
351
|
className: "text-xs text-text-secondary",
|
|
311
352
|
children: [
|
|
312
353
|
"(",
|
|
313
|
-
Math.round(t /
|
|
354
|
+
Math.round(t / O.length * 100),
|
|
314
355
|
"%)"
|
|
315
356
|
]
|
|
316
357
|
})]
|
|
@@ -318,20 +359,20 @@ function C() {
|
|
|
318
359
|
}, e))
|
|
319
360
|
})] })]
|
|
320
361
|
}),
|
|
321
|
-
/* @__PURE__ */
|
|
362
|
+
/* @__PURE__ */ m(_, { children: [/* @__PURE__ */ m(b, { children: [/* @__PURE__ */ p(x, { children: "Recent Hires" }), /* @__PURE__ */ p(y, { children: "Newest team members" })] }), /* @__PURE__ */ m(v, { children: [/* @__PURE__ */ m("div", {
|
|
322
363
|
className: "grid grid-cols-6 gap-2 text-xs font-medium text-text-secondary border-b pb-2 mb-2",
|
|
323
364
|
children: [
|
|
324
|
-
/* @__PURE__ */
|
|
325
|
-
/* @__PURE__ */
|
|
326
|
-
/* @__PURE__ */
|
|
327
|
-
/* @__PURE__ */
|
|
328
|
-
/* @__PURE__ */
|
|
329
|
-
/* @__PURE__ */
|
|
365
|
+
/* @__PURE__ */ p("span", { children: "Name" }),
|
|
366
|
+
/* @__PURE__ */ p("span", { children: "Position" }),
|
|
367
|
+
/* @__PURE__ */ p("span", { children: "Department" }),
|
|
368
|
+
/* @__PURE__ */ p("span", { children: "Location" }),
|
|
369
|
+
/* @__PURE__ */ p("span", { children: "Start Date" }),
|
|
370
|
+
/* @__PURE__ */ p("span", { children: "Type" })
|
|
330
371
|
]
|
|
331
|
-
}),
|
|
372
|
+
}), U.map((e) => /* @__PURE__ */ m("div", {
|
|
332
373
|
className: "grid grid-cols-6 gap-2 py-2 border-b last:border-0 text-sm",
|
|
333
374
|
children: [
|
|
334
|
-
/* @__PURE__ */
|
|
375
|
+
/* @__PURE__ */ m("span", {
|
|
335
376
|
className: "font-medium",
|
|
336
377
|
children: [
|
|
337
378
|
e.firstName,
|
|
@@ -339,17 +380,17 @@ function C() {
|
|
|
339
380
|
e.lastName
|
|
340
381
|
]
|
|
341
382
|
}),
|
|
342
|
-
/* @__PURE__ */
|
|
383
|
+
/* @__PURE__ */ p("span", {
|
|
343
384
|
className: "text-text-secondary truncate",
|
|
344
385
|
children: e.position
|
|
345
386
|
}),
|
|
346
|
-
/* @__PURE__ */
|
|
347
|
-
/* @__PURE__ */
|
|
387
|
+
/* @__PURE__ */ p("span", { children: e.department }),
|
|
388
|
+
/* @__PURE__ */ p("span", {
|
|
348
389
|
className: "text-text-secondary truncate",
|
|
349
390
|
children: e.location
|
|
350
391
|
}),
|
|
351
|
-
/* @__PURE__ */
|
|
352
|
-
/* @__PURE__ */
|
|
392
|
+
/* @__PURE__ */ p("span", { children: e.startDate }),
|
|
393
|
+
/* @__PURE__ */ p(h, {
|
|
353
394
|
variant: "outline",
|
|
354
395
|
className: "w-fit text-[10px]",
|
|
355
396
|
children: e.type.replace("_", " ")
|
|
@@ -360,6 +401,6 @@ function C() {
|
|
|
360
401
|
});
|
|
361
402
|
}
|
|
362
403
|
//#endregion
|
|
363
|
-
export {
|
|
404
|
+
export { D as DashboardEnhancedDashboardPagePage };
|
|
364
405
|
|
|
365
406
|
//# sourceMappingURL=DashboardEnhancedDashboardPagePage.js.map
|