@elevasis/ui 2.31.0 → 2.33.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/{CoreAuthKitInner-KSEGSB67.js → CoreAuthKitInner-QC62UHTZ.js} +1 -1
- package/dist/api/index.js +3 -3
- package/dist/app/index.css +38 -0
- package/dist/app/index.d.ts +69 -9
- package/dist/app/index.js +7 -6
- package/dist/auth/context.js +1 -1
- package/dist/auth/index.js +1 -1
- package/dist/charts/index.js +5 -6
- package/dist/{chunk-JKSUN5GN.js → chunk-2GMF5IRF.js} +81 -746
- package/dist/{chunk-XQHZBA65.js → chunk-2RJMVWFJ.js} +1 -6
- package/dist/{chunk-CW3UNAF2.js → chunk-4DYOXEH6.js} +410 -5
- package/dist/{chunk-HQGF4ATG.js → chunk-52NLZN6Z.js} +118 -141
- package/dist/chunk-AHCKOU2M.js +13 -0
- package/dist/chunk-CLDCYJQT.js +1 -0
- package/dist/chunk-DWXDNT7P.js +145 -0
- package/dist/chunk-E4T2N7P7.js +124 -0
- package/dist/{chunk-HYNYEBHM.js → chunk-E7C4XEWH.js} +3 -3
- package/dist/{chunk-L3BVJWML.js → chunk-EPTHX4VZ.js} +1 -1
- package/dist/{chunk-QDEETKYT.js → chunk-FFPHJBJC.js} +9 -9
- package/dist/chunk-GNRMB6DC.js +5126 -0
- package/dist/{chunk-DZTG5IAC.js → chunk-I2KLQ2HA.js} +1 -7
- package/dist/{chunk-Q6OYNEGR.js → chunk-IUKFNASA.js} +5 -6
- package/dist/{chunk-QHEWXU7I.js → chunk-JFL3GRD4.js} +1 -1
- package/dist/{chunk-T3IPHEYJ.js → chunk-JHT5JIJ3.js} +4410 -566
- package/dist/{chunk-L2NVFLXU.js → chunk-MHLZ4F4N.js} +4 -4
- package/dist/{chunk-XQQEKWTL.js → chunk-N55DVMAG.js} +6 -2
- package/dist/{chunk-TOIXUWR6.js → chunk-ND5TDV2J.js} +1 -1
- package/dist/{chunk-5LJAEZMA.js → chunk-NOIRGGW2.js} +5 -6
- package/dist/{chunk-7KC4P3AU.js → chunk-QNOVUCSV.js} +2 -12
- package/dist/{chunk-3BAPR3KA.js → chunk-RQA2EVN3.js} +5 -15
- package/dist/{chunk-ND42LPY4.js → chunk-TKF5S4XP.js} +6 -6
- package/dist/{chunk-DWK2QIAK.js → chunk-TYRUKGGD.js} +1 -1
- package/dist/{chunk-Y4FWCG7Y.js → chunk-UVFOURXR.js} +8 -7
- package/dist/chunk-UW7IV2Y3.js +447 -0
- package/dist/{chunk-P55BJZZW.js → chunk-V6SZ4ECN.js} +20 -5
- package/dist/{chunk-6YT4IKJ7.js → chunk-VNAZTCHA.js} +15 -0
- package/dist/chunk-XG57WXOL.js +85 -0
- package/dist/{chunk-SHQXMW4F.js → chunk-XOFSMJLF.js} +46 -28
- package/dist/{chunk-7HMCB26R.js → chunk-XZGSCABI.js} +1 -1
- package/dist/chunk-YAQ25UNM.js +2126 -0
- package/dist/chunk-ZGTDKH3P.js +467 -0
- package/dist/components/chat/index.js +1 -1
- package/dist/components/index.css +38 -0
- package/dist/components/index.d.ts +262 -51
- package/dist/components/index.js +37 -39
- package/dist/components/navigation/index.css +38 -0
- package/dist/components/navigation/index.js +5 -3
- package/dist/execution/index.d.ts +11 -2
- package/dist/execution/index.js +1 -1
- package/dist/features/auth/index.css +38 -0
- package/dist/features/auth/index.d.ts +91 -14
- package/dist/features/auth/index.js +42 -10
- package/dist/features/clients/index.css +38 -0
- package/dist/features/clients/index.d.ts +1 -1
- package/dist/features/clients/index.js +17 -15
- package/dist/features/crm/index.css +38 -0
- package/dist/features/crm/index.d.ts +80 -18
- package/dist/features/crm/index.js +17 -15
- package/dist/features/dashboard/index.css +38 -0
- package/dist/features/dashboard/index.d.ts +174 -25
- package/dist/features/dashboard/index.js +17 -16
- package/dist/features/delivery/index.css +38 -0
- package/dist/features/delivery/index.d.ts +80 -18
- package/dist/features/delivery/index.js +16 -15
- package/dist/features/knowledge/index.css +38 -0
- package/dist/features/knowledge/index.d.ts +20 -18
- package/dist/features/knowledge/index.js +114 -609
- package/dist/features/lead-gen/index.css +38 -0
- package/dist/features/lead-gen/index.d.ts +45 -43
- package/dist/features/lead-gen/index.js +17 -16
- package/dist/features/monitoring/index.css +38 -0
- package/dist/features/monitoring/index.d.ts +20 -18
- package/dist/features/monitoring/index.js +18 -17
- package/dist/features/monitoring/requests/index.css +38 -0
- package/dist/features/monitoring/requests/index.d.ts +23 -21
- package/dist/features/monitoring/requests/index.js +16 -14
- package/dist/features/operations/index.css +38 -0
- package/dist/features/operations/index.d.ts +1299 -66
- package/dist/features/operations/index.js +22 -24
- package/dist/features/seo/index.d.ts +20 -18
- package/dist/features/seo/index.js +2 -2
- package/dist/features/settings/index.css +38 -0
- package/dist/features/settings/index.d.ts +80 -18
- package/dist/features/settings/index.js +17 -15
- package/dist/graph/index.js +1 -1
- package/dist/hooks/delivery/index.css +38 -0
- package/dist/hooks/delivery/index.d.ts +60 -0
- package/dist/hooks/delivery/index.js +3 -3
- package/dist/hooks/index.css +38 -0
- package/dist/hooks/index.d.ts +492 -89
- package/dist/hooks/index.js +15 -13
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +332 -33
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.js +1 -1
- package/dist/hooks/published.css +38 -0
- package/dist/hooks/published.d.ts +492 -89
- package/dist/hooks/published.js +15 -13
- package/dist/index.css +38 -0
- package/dist/index.d.ts +1353 -1349
- package/dist/index.js +16 -14
- package/dist/initialization/index.d.ts +60 -0
- package/dist/initialization/index.js +1 -1
- package/dist/knowledge/index.d.ts +1217 -1292
- package/dist/knowledge/index.js +6538 -2198
- package/dist/knowledge-search-index-P7PR626V.js +1514 -0
- package/dist/layout/index.js +3 -4
- package/dist/organization/index.css +38 -0
- package/dist/organization/index.js +1 -1
- package/dist/profile/index.d.ts +60 -0
- package/dist/profile/index.js +1 -1
- package/dist/provider/ElevasisServiceContext.js +1 -1
- package/dist/provider/index.css +38 -0
- package/dist/provider/index.d.ts +1068 -1246
- package/dist/provider/index.js +12 -10
- package/dist/provider/published.css +38 -0
- package/dist/provider/published.d.ts +1065 -1243
- package/dist/provider/published.js +9 -7
- package/dist/router/context.js +1 -1
- package/dist/router/index.js +1 -1
- package/dist/sse/index.js +1 -1
- package/dist/supabase/index.d.ts +117 -0
- package/dist/supabase/index.js +1 -1
- package/dist/test-utils/index.d.ts +16 -9
- package/dist/test-utils/index.js +40 -33
- package/dist/test-utils/setup-integration.js +1 -1
- package/dist/test-utils/setup.js +1 -1
- package/dist/theme/index.js +3 -3
- package/dist/theme/presets/index.js +1 -1
- package/dist/typeform/index.js +1 -1
- package/dist/typeform/schemas.js +1 -1
- package/dist/types/index.d.ts +394 -35
- package/dist/utils/index.d.ts +174 -25
- package/dist/utils/index.js +2 -2
- package/dist/vite/index.js +1 -1
- package/dist/vite-plugin-knowledge/index.js +1 -1
- package/dist/zustand/index.js +1 -1
- package/package.json +10 -9
- package/src/README.md +29 -29
- package/src/api/README.md +18 -18
- package/src/app/README.md +24 -24
- package/src/auth/README.md +18 -18
- package/src/components/README.md +24 -24
- package/src/execution/README.md +16 -16
- package/src/features/README.md +28 -28
- package/src/graph/README.md +16 -16
- package/src/hooks/README.md +23 -23
- package/src/initialization/README.md +19 -19
- package/src/knowledge/README.md +31 -31
- package/src/organization/README.md +18 -18
- package/src/profile/README.md +19 -19
- package/src/provider/README.md +32 -32
- package/src/router/README.md +18 -18
- package/src/sse/README.md +13 -13
- package/src/test-utils/README.md +7 -7
- package/src/theme/README.md +23 -23
- package/src/theme/presets/README.md +19 -19
- package/src/types/README.md +16 -16
- package/src/utils/README.md +18 -18
- package/src/zustand/README.md +18 -18
- package/dist/chunk-542WPQU2.js +0 -413
- package/dist/chunk-6IXOKUBC.js +0 -347
- package/dist/chunk-CQZ3DNQY.js +0 -740
- package/dist/chunk-ECNNI3NT.js +0 -6
- package/dist/chunk-GRDLB6LM.js +0 -160
- package/dist/chunk-JDNEWB5F.js +0 -10
- package/dist/chunk-MVFCLZSK.js +0 -4337
- package/dist/chunk-O2QOPJI5.js +0 -2235
- package/dist/chunk-OAVTMITG.js +0 -13
- package/dist/chunk-TVRQ6AQI.js +0 -476
- package/dist/chunk-WF227UBV.js +0 -48
|
@@ -2,35 +2,37 @@ import { ComponentType } from 'react';
|
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
|
-
type
|
|
6
|
-
type
|
|
5
|
+
type SystemSidebarComponent = ComponentType;
|
|
6
|
+
type SystemIconComponent = ComponentType<{
|
|
7
7
|
size?: number;
|
|
8
8
|
stroke?: number;
|
|
9
9
|
}>;
|
|
10
|
-
type
|
|
10
|
+
type SystemSidebarWidthResolver = number | ((context: {
|
|
11
11
|
currentPath: string;
|
|
12
12
|
}) => number);
|
|
13
|
-
interface
|
|
14
|
-
/** Unique stable identifier for this
|
|
13
|
+
interface SystemModule {
|
|
14
|
+
/** Unique stable identifier for this UI system module. */
|
|
15
15
|
key: string;
|
|
16
|
-
/** Organization Model
|
|
17
|
-
|
|
18
|
-
/**
|
|
16
|
+
/** Organization Model system id this module presents. Omit for navigation-only app surfaces. */
|
|
17
|
+
systemId?: string;
|
|
18
|
+
/** Route prefixes owned by navigation-only app surfaces. */
|
|
19
|
+
routePrefixes?: string[];
|
|
20
|
+
/** Capability identifiers contributed by this system module. */
|
|
19
21
|
capabilityIds?: string[];
|
|
20
|
-
/** Icon used when this
|
|
21
|
-
icon?:
|
|
22
|
-
/** Sidebar component rendered when this
|
|
23
|
-
sidebar?:
|
|
22
|
+
/** Icon used when this system node appears in shell navigation. */
|
|
23
|
+
icon?: SystemIconComponent;
|
|
24
|
+
/** Sidebar component rendered when this system's subtree route is active. */
|
|
25
|
+
sidebar?: SystemSidebarComponent;
|
|
24
26
|
/** Optional shell sidebar width override. Defaults to 250px. */
|
|
25
|
-
sidebarWidth?:
|
|
26
|
-
/** Operations-only bridge connecting this
|
|
27
|
-
organizationGraph?:
|
|
27
|
+
sidebarWidth?: SystemSidebarWidthResolver;
|
|
28
|
+
/** Operations-only bridge connecting this system to the organization graph node. */
|
|
29
|
+
organizationGraph?: OrganizationGraphSystemBridge;
|
|
28
30
|
}
|
|
29
|
-
interface
|
|
30
|
-
|
|
31
|
+
interface OrganizationGraphSystemBridge {
|
|
32
|
+
systemId?: string;
|
|
31
33
|
}
|
|
32
34
|
|
|
33
|
-
declare const submittedRequestsManifest:
|
|
35
|
+
declare const submittedRequestsManifest: SystemModule;
|
|
34
36
|
|
|
35
37
|
/**
|
|
36
38
|
* Request Reporting API Schemas
|
|
@@ -42,9 +44,9 @@ declare const submittedRequestsManifest: FeatureModule;
|
|
|
42
44
|
* reported_requests -> RequestSchemas
|
|
43
45
|
*/
|
|
44
46
|
declare const RequestSeverityEnum: z.ZodEnum<{
|
|
45
|
-
critical: "critical";
|
|
46
47
|
warning: "warning";
|
|
47
48
|
info: "info";
|
|
49
|
+
critical: "critical";
|
|
48
50
|
}>;
|
|
49
51
|
declare const RequestStatusEnum: z.ZodEnum<{
|
|
50
52
|
open: "open";
|
|
@@ -55,14 +57,14 @@ declare const RequestStatusEnum: z.ZodEnum<{
|
|
|
55
57
|
declare const RequestSourceEnum: z.ZodEnum<{
|
|
56
58
|
agent: "agent";
|
|
57
59
|
api: "api";
|
|
58
|
-
external: "external";
|
|
59
60
|
user: "user";
|
|
61
|
+
external: "external";
|
|
60
62
|
webhook: "webhook";
|
|
61
63
|
cli: "cli";
|
|
62
64
|
}>;
|
|
63
65
|
declare const RequestTypeEnum: z.ZodEnum<{
|
|
64
|
-
feature: "feature";
|
|
65
66
|
other: "other";
|
|
67
|
+
feature: "feature";
|
|
66
68
|
bug: "bug";
|
|
67
69
|
question: "question";
|
|
68
70
|
}>;
|
|
@@ -3,25 +3,27 @@ import { TableSelectionToolbar } from '../../../chunk-TUMSNGTX.js';
|
|
|
3
3
|
import { FilterBar } from '../../../chunk-PDHTXPSF.js';
|
|
4
4
|
import { CustomModal } from '../../../chunk-R66W5UDG.js';
|
|
5
5
|
import '../../../chunk-7M2VOCYN.js';
|
|
6
|
-
import { usePaginationState, useRequestsList, useUpdateRequestStatus, useDeleteRequest, useTableSelection, useRequest } from '../../../chunk-
|
|
7
|
-
import '../../../chunk-
|
|
8
|
-
import '../../../chunk-
|
|
6
|
+
import { usePaginationState, useRequestsList, useUpdateRequestStatus, useDeleteRequest, useTableSelection, useRequest } from '../../../chunk-2GMF5IRF.js';
|
|
7
|
+
import '../../../chunk-VNAZTCHA.js';
|
|
8
|
+
import '../../../chunk-XZGSCABI.js';
|
|
9
9
|
import '../../../chunk-BRXELOHC.js';
|
|
10
10
|
import '../../../chunk-3ZMAGTWF.js';
|
|
11
|
-
import '../../../chunk-
|
|
12
|
-
import '../../../chunk-
|
|
13
|
-
import '../../../chunk-
|
|
11
|
+
import '../../../chunk-AHCKOU2M.js';
|
|
12
|
+
import '../../../chunk-E7C4XEWH.js';
|
|
13
|
+
import '../../../chunk-RQA2EVN3.js';
|
|
14
14
|
import '../../../chunk-3FV6HBXS.js';
|
|
15
15
|
import '../../../chunk-WLOQ4IBG.js';
|
|
16
|
-
import '../../../chunk-
|
|
17
|
-
import '../../../chunk-
|
|
18
|
-
import { PageTitleCaption, CardHeader, ContextViewer, JsonViewer } from '../../../chunk-L3BVJWML.js';
|
|
16
|
+
import '../../../chunk-FFPHJBJC.js';
|
|
17
|
+
import { PageTitleCaption, CardHeader, ContextViewer, JsonViewer } from '../../../chunk-EPTHX4VZ.js';
|
|
19
18
|
import '../../../chunk-3KMDHCAR.js';
|
|
20
|
-
import '../../../chunk-
|
|
19
|
+
import '../../../chunk-UW7IV2Y3.js';
|
|
21
20
|
import '../../../chunk-SZHARWKU.js';
|
|
21
|
+
import '../../../chunk-ZGTDKH3P.js';
|
|
22
22
|
import '../../../chunk-TKAYX2SP.js';
|
|
23
23
|
import '../../../chunk-NYBEU5TE.js';
|
|
24
|
-
import '../../../chunk-
|
|
24
|
+
import '../../../chunk-DWXDNT7P.js';
|
|
25
|
+
import '../../../chunk-GNRMB6DC.js';
|
|
26
|
+
import '../../../chunk-ND5TDV2J.js';
|
|
25
27
|
import '../../../chunk-2IFYDILW.js';
|
|
26
28
|
import '../../../chunk-Q7DJKLEN.js';
|
|
27
29
|
import '../../../chunk-JA5ECJJB.js';
|
|
@@ -30,7 +32,7 @@ import '../../../chunk-E565XMTQ.js';
|
|
|
30
32
|
import '../../../chunk-JBWJ6WHZ.js';
|
|
31
33
|
import '../../../chunk-DT3QYZVU.js';
|
|
32
34
|
import '../../../chunk-RNP5R5I3.js';
|
|
33
|
-
import { formatTimeAgo } from '../../../chunk-
|
|
35
|
+
import { formatTimeAgo } from '../../../chunk-2RJMVWFJ.js';
|
|
34
36
|
import '../../../chunk-KRWALB24.js';
|
|
35
37
|
import '../../../chunk-VKIZUUPM.js';
|
|
36
38
|
import '../../../chunk-533DUEQY.js';
|
|
@@ -38,7 +40,7 @@ import '../../../chunk-DD3CCMCZ.js';
|
|
|
38
40
|
import '../../../chunk-2Q2JQSQO.js';
|
|
39
41
|
import '../../../chunk-KJ3QUBNU.js';
|
|
40
42
|
import '../../../chunk-BRJ3QZ4E.js';
|
|
41
|
-
import '../../../chunk-
|
|
43
|
+
import '../../../chunk-I2KLQ2HA.js';
|
|
42
44
|
import { useState } from 'react';
|
|
43
45
|
import { useNavigate } from '@tanstack/react-router';
|
|
44
46
|
import { Badge, Menu, Button, Stack, Paper, Select, Center, Loader, Text, Table, Checkbox, Group, Pagination, Title, Skeleton, SimpleGrid, CopyButton, Tooltip, ActionIcon, SegmentedControl } from '@mantine/core';
|
|
@@ -49,7 +51,7 @@ import { notifications } from '@mantine/notifications';
|
|
|
49
51
|
// src/features/monitoring/requests/manifest.ts
|
|
50
52
|
var submittedRequestsManifest = {
|
|
51
53
|
key: "submitted-requests",
|
|
52
|
-
|
|
54
|
+
routePrefixes: ["/monitoring/requests"]
|
|
53
55
|
};
|
|
54
56
|
var TYPE_COLORS = {
|
|
55
57
|
bug: "red",
|
|
@@ -150,6 +150,14 @@
|
|
|
150
150
|
.mantine-Accordion-control:hover {
|
|
151
151
|
background-color: var(--color-surface-hover);
|
|
152
152
|
}
|
|
153
|
+
[data-mantine-color-scheme] .mantine-Accordion-root .mantine-Accordion-item {
|
|
154
|
+
--item-filled-color: var(--color-surface);
|
|
155
|
+
--item-border-color: var(--color-border);
|
|
156
|
+
}
|
|
157
|
+
[data-mantine-color-scheme] .mantine-Accordion-root[data-variant=separated] .mantine-Accordion-item[data-active] {
|
|
158
|
+
background-color: var(--color-surface);
|
|
159
|
+
border-color: var(--color-border);
|
|
160
|
+
}
|
|
153
161
|
.mantine-Menu-item:hover:not([data-disabled]) {
|
|
154
162
|
background-color: var(--color-surface-hover);
|
|
155
163
|
}
|
|
@@ -215,6 +223,36 @@
|
|
|
215
223
|
background-color: var(--color-primary);
|
|
216
224
|
border-color: var(--color-primary);
|
|
217
225
|
}
|
|
226
|
+
.mantine-Tree-node:focus-visible > [data-value] {
|
|
227
|
+
outline: 2px solid color-mix(in srgb, var(--color-primary) 55%, transparent);
|
|
228
|
+
outline-offset: 2px;
|
|
229
|
+
}
|
|
230
|
+
.mantine-Tree-label[data-hovered] {
|
|
231
|
+
background-color: var(--color-surface-hover);
|
|
232
|
+
border-color: var(--color-border);
|
|
233
|
+
}
|
|
234
|
+
.mantine-Tree-label[data-selected] {
|
|
235
|
+
background-color: color-mix(in srgb, var(--color-primary) 12%, transparent);
|
|
236
|
+
border-color: color-mix(in srgb, var(--color-primary) 38%, var(--color-border));
|
|
237
|
+
color: var(--color-primary);
|
|
238
|
+
}
|
|
239
|
+
[data-knowledge-article] pre {
|
|
240
|
+
white-space: pre-wrap;
|
|
241
|
+
word-break: break-word;
|
|
242
|
+
overflow-x: auto;
|
|
243
|
+
max-width: 100%;
|
|
244
|
+
padding: var(--mantine-spacing-sm);
|
|
245
|
+
background-color: var(--color-surface);
|
|
246
|
+
border: 1px solid var(--color-border);
|
|
247
|
+
border-radius: var(--mantine-radius-sm);
|
|
248
|
+
}
|
|
249
|
+
[data-knowledge-article] pre code {
|
|
250
|
+
background: transparent;
|
|
251
|
+
border: none;
|
|
252
|
+
padding: 0;
|
|
253
|
+
white-space: inherit;
|
|
254
|
+
word-break: inherit;
|
|
255
|
+
}
|
|
218
256
|
.recharts-surface:focus {
|
|
219
257
|
outline: none;
|
|
220
258
|
}
|