@elevasis/ui 2.66.0 → 2.68.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/dist/api/index.d.ts +1 -1
- package/dist/api/index.js +3 -3
- package/dist/app/index.d.ts +16 -15
- package/dist/app/index.js +31 -21
- package/dist/auth/index.js +10 -12
- package/dist/charts/index.js +10 -12
- package/dist/chunk-2MTP3H3A.js +425 -0
- package/dist/chunk-3KMDHCAR.js +52 -0
- package/dist/chunk-3MEXPLWT.js +265 -0
- package/dist/{chunk-XNW3O6QW.js → chunk-5NRJ2BLQ.js} +1 -1
- package/dist/chunk-75NOC536.js +2162 -0
- package/dist/chunk-76IVMVI3.js +1764 -0
- package/dist/chunk-AH52XQB7.js +1 -0
- package/dist/chunk-BZZCNLT6.js +12 -0
- package/dist/chunk-DLR4SDZW.js +51 -0
- package/dist/chunk-FK3K2VK2.js +2103 -0
- package/dist/chunk-GBXTRSAU.js +37 -0
- package/dist/chunk-HJVPVS57.js +1934 -0
- package/dist/{chunk-M535KHLW.js → chunk-JC5W55J3.js} +1 -1
- package/dist/{chunk-I7BZVVVU.js → chunk-L3HFJFYF.js} +89 -382
- package/dist/chunk-LGKLC5MG.js +44 -0
- package/dist/{chunk-4DV4ECMG.js → chunk-N7U24M2J.js} +4 -0
- package/dist/chunk-NDHMZT2G.js +383 -0
- package/dist/chunk-OOACTYRA.js +10 -0
- package/dist/chunk-PDHTXPSF.js +12 -0
- package/dist/chunk-QYI5BZKM.js +85 -0
- package/dist/{chunk-4OEVLV66.js → chunk-R6NMRXNO.js} +112 -147
- package/dist/chunk-SIVUCZXQ.js +1194 -0
- package/dist/{chunk-JFBZ6XDW.js → chunk-SNZDFCOQ.js} +3 -49
- package/dist/chunk-TGPJNKDU.js +1595 -0
- package/dist/chunk-TUMSNGTX.js +35 -0
- package/dist/chunk-TYKAKJGW.js +67 -0
- package/dist/chunk-UD657ICS.js +589 -0
- package/dist/chunk-WPIASV3H.js +194 -0
- package/dist/chunk-ZFISGKYW.js +39 -0
- package/dist/chunk-ZGCWTWBD.js +16127 -0
- package/dist/chunk-ZNKZMK2E.js +4528 -0
- package/dist/chunk-ZWS3TCQR.js +11032 -0
- package/dist/components/chat/index.js +2 -1
- package/dist/components/index.d.ts +23 -11
- package/dist/components/index.js +2773 -14
- package/dist/components/navigation/index.js +11 -12
- package/dist/features/auth/index.d.ts +0 -4
- package/dist/features/auth/index.js +12 -13
- package/dist/features/clients/index.js +14 -12
- package/dist/features/crm/index.d.ts +1371 -15
- package/dist/features/crm/index.js +15 -12
- package/dist/features/dashboard/index.d.ts +1 -2
- package/dist/features/dashboard/index.js +15 -12
- package/dist/features/delivery/index.d.ts +0 -4
- package/dist/features/delivery/index.js +15 -12
- package/dist/features/knowledge/index.js +10 -12
- package/dist/features/lead-gen/index.d.ts +35 -15
- package/dist/features/lead-gen/index.js +16 -12
- package/dist/features/monitoring/index.js +15 -12
- package/dist/features/monitoring/requests/index.js +13 -13
- package/dist/features/operations/index.d.ts +1 -2
- package/dist/features/operations/index.js +21 -12
- package/dist/features/public-agent-chat/index.js +2 -1
- package/dist/features/seo/index.js +2 -1
- package/dist/features/settings/index.d.ts +0 -4
- package/dist/features/settings/index.js +14 -12
- package/dist/hooks/access/index.js +10 -12
- package/dist/hooks/delivery/index.d.ts +0 -4
- package/dist/hooks/delivery/index.js +2 -23
- package/dist/hooks/index.d.ts +13 -7
- package/dist/hooks/index.js +10 -12
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +1 -2
- package/dist/hooks/published.d.ts +13 -7
- package/dist/hooks/published.js +10 -12
- package/dist/initialization/index.d.ts +1 -5
- package/dist/knowledge/index.d.ts +1 -2
- package/dist/knowledge/index.js +15 -13
- package/dist/layout/index.js +14 -12
- package/dist/organization/index.d.ts +3 -3
- package/dist/organization/index.js +1 -21
- package/dist/profile/index.d.ts +0 -4
- package/dist/provider/index.d.ts +2 -7
- package/dist/provider/index.js +10 -12
- package/dist/provider/published.d.ts +2 -7
- package/dist/provider/published.js +10 -12
- package/dist/supabase/index.d.ts +0 -8
- package/dist/test-utils/index.d.ts +5 -0
- package/dist/test-utils/index.js +5 -5
- package/dist/test-utils/setup-integration.js +1 -1
- package/dist/test-utils/setup.js +1 -1
- package/dist/theme/index.js +2 -1
- package/dist/typeform/index.js +2049 -1
- package/dist/types/index.d.ts +13 -7
- package/dist/utils/index.d.ts +1 -2
- package/dist/utils/index.js +1 -1
- package/package.json +5 -5
- package/dist/chunk-ANNM5R7S.js +0 -51404
- package/dist/chunk-AUDNF2Q7.js +0 -2050
- package/dist/index.css +0 -659
- package/dist/index.d.ts +0 -17888
- package/dist/index.js +0 -30
- package/dist/{chunk-GMXGDO3I.js → chunk-MISHPEJX.js} +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Container, Stack } from '@mantine/core';
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
|
|
4
|
+
// src/components/layout/shell/PageContainer.tsx
|
|
5
|
+
var PageContainer = ({ children }) => {
|
|
6
|
+
return (
|
|
7
|
+
// Add padding to the top of the container to adjust for the topbar height
|
|
8
|
+
/* @__PURE__ */ jsx(Container, { size: "xl", p: 0, w: "100%", children: /* @__PURE__ */ jsx(Stack, { gap: "lg", children }) })
|
|
9
|
+
);
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export { PageContainer };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// src/features/delivery/_shared.ts
|
|
2
|
+
var projectStatusColors = {
|
|
3
|
+
active: "blue",
|
|
4
|
+
on_track: "green",
|
|
5
|
+
at_risk: "yellow",
|
|
6
|
+
blocked: "red",
|
|
7
|
+
completed: "teal",
|
|
8
|
+
paused: "gray"
|
|
9
|
+
};
|
|
10
|
+
var milestoneStatusColors = {
|
|
11
|
+
upcoming: "gray",
|
|
12
|
+
in_progress: "blue",
|
|
13
|
+
completed: "green",
|
|
14
|
+
overdue: "red",
|
|
15
|
+
blocked: "orange"
|
|
16
|
+
};
|
|
17
|
+
var taskStatusColors = {
|
|
18
|
+
pending: "gray",
|
|
19
|
+
planned: "gray",
|
|
20
|
+
in_progress: "blue",
|
|
21
|
+
blocked: "red",
|
|
22
|
+
completed: "green",
|
|
23
|
+
cancelled: "gray",
|
|
24
|
+
submitted: "yellow",
|
|
25
|
+
approved: "green",
|
|
26
|
+
rejected: "red",
|
|
27
|
+
revision_requested: "orange"
|
|
28
|
+
};
|
|
29
|
+
var taskTypeColors = {
|
|
30
|
+
documentation: "blue",
|
|
31
|
+
code: "violet",
|
|
32
|
+
report: "cyan",
|
|
33
|
+
design: "pink",
|
|
34
|
+
other: "gray"
|
|
35
|
+
};
|
|
36
|
+
var noteTypeColors = {
|
|
37
|
+
call_note: "blue",
|
|
38
|
+
status_update: "green",
|
|
39
|
+
issue: "yellow",
|
|
40
|
+
blocker: "red",
|
|
41
|
+
agent_learning: "grape"
|
|
42
|
+
};
|
|
43
|
+
function formatStatusLabel(status) {
|
|
44
|
+
return status.split("_").map((word) => word.charAt(0).toUpperCase() + word.slice(1)).join(" ");
|
|
45
|
+
}
|
|
46
|
+
function calculateProgress(completed, total) {
|
|
47
|
+
if (total === 0) return 0;
|
|
48
|
+
return Math.round(completed / total * 100);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export { calculateProgress, formatStatusLabel, milestoneStatusColors, noteTypeColors, projectStatusColors, taskStatusColors, taskTypeColors };
|