@elevasis/ui 2.69.0 → 2.71.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/app/index.d.ts +26 -0
- package/dist/app/index.js +7 -7
- package/dist/auth/index.css +149 -149
- package/dist/auth/index.js +3 -3
- package/dist/charts/index.css +208 -208
- package/dist/charts/index.js +3 -3
- package/dist/{chunk-6PZFOHJK.js → chunk-3BLYJT5L.js} +2 -2
- package/dist/{chunk-IT7GTJCB.js → chunk-AIOV5NM7.js} +1 -1
- package/dist/{chunk-MRVGQLWN.js → chunk-BM2WKRAQ.js} +1 -1
- package/dist/{chunk-XAZR3T6Y.js → chunk-CPBT6Z2G.js} +3 -3
- package/dist/{chunk-XQ3ILKYN.js → chunk-DCMFNSJ6.js} +1 -1
- package/dist/{chunk-NU3NBXHP.js → chunk-DH2MO5DX.js} +1 -1
- package/dist/{chunk-ZD6LM53O.js → chunk-H3SDGC5F.js} +2 -2
- package/dist/{chunk-YGCMMOY4.js → chunk-JTSNU6KA.js} +695 -73
- package/dist/{chunk-7WJEPTE7.js → chunk-LL5H7J4N.js} +1 -1
- package/dist/{chunk-FLECOYUS.js → chunk-R6NMRXNO.js} +1 -1
- package/dist/{chunk-MFLM7BVC.js → chunk-TB2PM2OU.js} +1 -1
- package/dist/{chunk-IRV6KJPV.js → chunk-TCQZ4AJI.js} +1 -1
- package/dist/{chunk-YNRYIXUT.js → chunk-TVFSVTRG.js} +6 -6
- package/dist/{chunk-WXHAHKKI.js → chunk-UZ7MSORW.js} +16291 -16029
- package/dist/{chunk-RW64UJWT.js → chunk-VHPHWTX7.js} +2 -2
- package/dist/{chunk-YCRINA2D.js → chunk-VRRIHA3S.js} +1 -1
- package/dist/{chunk-4JHLS234.js → chunk-ZFISGKYW.js} +1 -1
- package/dist/components/index.css +208 -208
- package/dist/components/index.d.ts +59 -3
- package/dist/components/index.js +24 -25
- package/dist/components/navigation/index.css +149 -149
- package/dist/components/navigation/index.js +4 -4
- package/dist/features/auth/index.css +149 -149
- package/dist/features/auth/index.d.ts +26 -0
- package/dist/features/auth/index.js +5 -5
- package/dist/features/clients/index.css +208 -208
- package/dist/features/clients/index.js +4 -4
- package/dist/features/content/index.d.ts +258 -51
- package/dist/features/content/index.js +595 -421
- package/dist/features/crm/index.d.ts +26 -0
- package/dist/features/crm/index.js +5 -5
- package/dist/features/dashboard/index.js +6 -7
- package/dist/features/delivery/index.css +149 -149
- package/dist/features/delivery/index.d.ts +26 -0
- package/dist/features/delivery/index.js +4 -4
- package/dist/features/knowledge/index.css +149 -149
- package/dist/features/knowledge/index.js +3 -3
- package/dist/features/lead-gen/index.js +5 -5
- package/dist/features/monitoring/index.css +149 -149
- package/dist/features/monitoring/index.d.ts +33 -3
- package/dist/features/monitoring/index.js +6 -6
- package/dist/features/monitoring/requests/index.js +4 -4
- package/dist/features/operations/index.js +9 -10
- package/dist/features/settings/index.d.ts +26 -0
- package/dist/features/settings/index.js +6 -6
- package/dist/hooks/access/index.css +149 -149
- package/dist/hooks/access/index.js +3 -3
- package/dist/hooks/delivery/index.d.ts +26 -0
- package/dist/hooks/index.css +149 -149
- package/dist/hooks/index.d.ts +296 -65
- package/dist/hooks/index.js +3 -3
- package/dist/hooks/published.css +149 -149
- package/dist/hooks/published.d.ts +296 -65
- package/dist/hooks/published.js +3 -3
- package/dist/initialization/index.d.ts +26 -0
- package/dist/knowledge/index.css +149 -149
- package/dist/knowledge/index.js +7 -7
- package/dist/layout/index.css +149 -149
- package/dist/layout/index.js +6 -6
- package/dist/profile/index.d.ts +26 -0
- package/dist/provider/index.d.ts +26 -0
- package/dist/provider/index.js +3 -3
- package/dist/provider/published.css +149 -149
- package/dist/provider/published.d.ts +26 -0
- package/dist/provider/published.js +3 -3
- package/dist/supabase/index.d.ts +50 -0
- package/dist/theme/index.js +3 -3
- package/dist/theme/presets/index.js +1 -1
- package/dist/types/index.d.ts +59 -3
- package/package.json +5 -5
- package/dist/chunk-ZPTEGGKU.js +0 -631
- /package/dist/{chunk-XQBURFKM.js → chunk-RBGVNPA6.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { CRM_API_INTERFACE } from './chunk-
|
|
1
|
+
import { CRM_API_INTERFACE } from './chunk-LL5H7J4N.js';
|
|
2
2
|
import { PageContainer } from './chunk-BZZCNLT6.js';
|
|
3
3
|
import { TableSelectionToolbar, SortableHeader } from './chunk-TUMSNGTX.js';
|
|
4
4
|
import { FilterBar } from './chunk-PDHTXPSF.js';
|
|
5
|
-
import { CrmSidebarMiddle, useDealsSummary, useOptionalElevasisSystems, getCrmPipelineCatalog, CenteredErrorState, StatCard, PageTitleCaption, useDeleteDeal, usePaginationState, useDeals, useTableSort, sortData, useTableSelection, SubshellContentContainer, EmptyState, CustomModal, useDealDetail, useCrmActions, ActivityTimeline, useCompany, ContextViewer, JsonViewer, dealKeys, useContact, deriveActions, useExecuteAction } from './chunk-
|
|
5
|
+
import { CrmSidebarMiddle, useDealsSummary, useOptionalElevasisSystems, getCrmPipelineCatalog, CenteredErrorState, StatCard, PageTitleCaption, useDeleteDeal, usePaginationState, useDeals, useTableSort, sortData, useTableSelection, SubshellContentContainer, EmptyState, CustomModal, useDealDetail, useCrmActions, ActivityTimeline, useCompany, ContextViewer, JsonViewer, dealKeys, useContact, deriveActions, useExecuteAction } from './chunk-UZ7MSORW.js';
|
|
6
6
|
import { showApiErrorNotification, showSuccessNotification } from './chunk-C75XWBYZ.js';
|
|
7
7
|
import { SubshellSidebarSection } from './chunk-MISHPEJX.js';
|
|
8
8
|
import { CardHeader } from './chunk-62GVNH5U.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useCyberColors, useResourcesHealth, EmptyState, CyberLegendItem, CyberAreaChart } from './chunk-
|
|
1
|
+
import { useCyberColors, useResourcesHealth, EmptyState, CyberLegendItem, CyberAreaChart } from './chunk-UZ7MSORW.js';
|
|
2
2
|
import { CardHeader } from './chunk-62GVNH5U.js';
|
|
3
3
|
import { getTimeRangeDates, formatBucketTime } from './chunk-Y6I3IC45.js';
|
|
4
4
|
import { Paper, Center, Loader, Group } from '@mantine/core';
|
|
@@ -66,6 +66,214 @@
|
|
|
66
66
|
color: var(--color-text-dimmed);
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
+
/* src/theme/custom.css */
|
|
70
|
+
.mantine-Button-root[data-variant=default] {
|
|
71
|
+
background-color: var(--color-surface);
|
|
72
|
+
backdrop-filter: var(--glass-blur);
|
|
73
|
+
-webkit-backdrop-filter: var(--glass-blur);
|
|
74
|
+
border: 1px solid var(--color-border);
|
|
75
|
+
color: var(--color-text);
|
|
76
|
+
}
|
|
77
|
+
.mantine-Button-root[data-variant=default]:hover {
|
|
78
|
+
background-color: var(--color-surface-hover);
|
|
79
|
+
}
|
|
80
|
+
.lead-gen-build-action-button:disabled,
|
|
81
|
+
.lead-gen-build-action-button[data-disabled] {
|
|
82
|
+
background-color: var(--surface-primary-muted) !important;
|
|
83
|
+
border-color: var(--border-primary-subtle) !important;
|
|
84
|
+
color: color-mix(in srgb, var(--color-text-subtle) 88%, var(--color-text-dimmed) 12%) !important;
|
|
85
|
+
opacity: 0.78;
|
|
86
|
+
}
|
|
87
|
+
.lead-gen-build-action-button:disabled:hover,
|
|
88
|
+
.lead-gen-build-action-button[data-disabled]:hover {
|
|
89
|
+
background-color: var(--surface-primary-muted) !important;
|
|
90
|
+
}
|
|
91
|
+
.mantine-Accordion-control:hover {
|
|
92
|
+
background-color: var(--color-surface-hover);
|
|
93
|
+
}
|
|
94
|
+
[data-mantine-color-scheme] .mantine-Accordion-root .mantine-Accordion-item {
|
|
95
|
+
--item-filled-color: var(--color-surface);
|
|
96
|
+
--item-border-color: var(--color-border);
|
|
97
|
+
}
|
|
98
|
+
[data-mantine-color-scheme] .mantine-Accordion-root[data-variant=separated] .mantine-Accordion-item[data-active] {
|
|
99
|
+
background-color: var(--color-surface);
|
|
100
|
+
border-color: var(--color-border);
|
|
101
|
+
}
|
|
102
|
+
.mantine-Menu-item:hover:not([data-disabled]) {
|
|
103
|
+
background-color: var(--color-surface-hover);
|
|
104
|
+
}
|
|
105
|
+
.mantine-Select-option:hover,
|
|
106
|
+
.mantine-MultiSelect-option:hover,
|
|
107
|
+
.mantine-TagsInput-option:hover,
|
|
108
|
+
.mantine-Combobox-option:hover {
|
|
109
|
+
background-color: var(--surface-primary-muted) !important;
|
|
110
|
+
}
|
|
111
|
+
.mantine-Select-option[data-combobox-selected],
|
|
112
|
+
.mantine-MultiSelect-option[data-combobox-selected],
|
|
113
|
+
.mantine-TagsInput-option[data-combobox-selected],
|
|
114
|
+
.mantine-Combobox-option[data-combobox-selected] {
|
|
115
|
+
background-color: var(--surface-primary-subtle) !important;
|
|
116
|
+
color: var(--color-text);
|
|
117
|
+
}
|
|
118
|
+
[data-mantine-color-scheme] .mantine-Tabs-root {
|
|
119
|
+
--tab-border-color: var(--color-border);
|
|
120
|
+
--tab-hover-color: var(--color-surface-hover);
|
|
121
|
+
--tabs-radius: var(--mantine-radius-xs);
|
|
122
|
+
}
|
|
123
|
+
[data-mantine-color-scheme] .mantine-Tabs-root .mantine-Tabs-tab {
|
|
124
|
+
color: var(--color-text);
|
|
125
|
+
}
|
|
126
|
+
[data-mantine-color-scheme] .mantine-Tabs-root .mantine-Tabs-tab:hover {
|
|
127
|
+
background-color: var(--color-surface-hover);
|
|
128
|
+
}
|
|
129
|
+
[data-mantine-color-scheme] .mantine-Tabs-root .mantine-Tabs-tab[data-active] {
|
|
130
|
+
background-color: var(--color-surface-hover);
|
|
131
|
+
border-color: var(--color-primary);
|
|
132
|
+
color: var(--color-text);
|
|
133
|
+
}
|
|
134
|
+
.mantine-Pagination-control:not([data-active]) {
|
|
135
|
+
background: var(--color-surface);
|
|
136
|
+
}
|
|
137
|
+
::-webkit-scrollbar {
|
|
138
|
+
width: 5px;
|
|
139
|
+
height: 5px;
|
|
140
|
+
}
|
|
141
|
+
::-webkit-scrollbar-track {
|
|
142
|
+
background: transparent;
|
|
143
|
+
}
|
|
144
|
+
::-webkit-scrollbar-thumb {
|
|
145
|
+
background: color-mix(in srgb, var(--color-text-subtle) 50%, var(--color-border));
|
|
146
|
+
border-radius: 4px;
|
|
147
|
+
}
|
|
148
|
+
::-webkit-scrollbar-thumb:hover {
|
|
149
|
+
background: var(--color-text-subtle);
|
|
150
|
+
}
|
|
151
|
+
[data-mantine-color-scheme] .mantine-Checkbox-input:not(:disabled):not(:checked):not([data-indeterminate]) {
|
|
152
|
+
background-color: var(--color-surface);
|
|
153
|
+
border-color: var(--color-border);
|
|
154
|
+
}
|
|
155
|
+
[data-mantine-color-scheme] .mantine-Checkbox-input:checked,
|
|
156
|
+
[data-mantine-color-scheme] .mantine-Checkbox-input[data-indeterminate] {
|
|
157
|
+
background-color: var(--color-primary);
|
|
158
|
+
border-color: var(--color-primary);
|
|
159
|
+
}
|
|
160
|
+
.mantine-Switch-root:has(input:not(:checked)) .mantine-Switch-track {
|
|
161
|
+
background-color: var(--color-surface-hover);
|
|
162
|
+
border-color: var(--color-border);
|
|
163
|
+
}
|
|
164
|
+
.mantine-Timeline-root {
|
|
165
|
+
--tl-color: var(--color-primary);
|
|
166
|
+
}
|
|
167
|
+
.mantine-Timeline-item {
|
|
168
|
+
--item-border-color: var(--color-border);
|
|
169
|
+
}
|
|
170
|
+
.mantine-Timeline-itemBullet {
|
|
171
|
+
border-color: var(--color-border);
|
|
172
|
+
}
|
|
173
|
+
.mantine-Timeline-itemBullet:where([data-with-child]) {
|
|
174
|
+
background-color: var(--color-primary);
|
|
175
|
+
border-color: var(--color-primary);
|
|
176
|
+
}
|
|
177
|
+
.mantine-Tree-node:focus-visible > [data-value] {
|
|
178
|
+
outline: 2px solid color-mix(in srgb, var(--color-primary) 55%, transparent);
|
|
179
|
+
outline-offset: 2px;
|
|
180
|
+
}
|
|
181
|
+
.mantine-Tree-label[data-hovered] {
|
|
182
|
+
background-color: var(--color-surface-hover);
|
|
183
|
+
border-color: var(--color-border);
|
|
184
|
+
}
|
|
185
|
+
.mantine-Tree-label[data-selected] {
|
|
186
|
+
background-color: color-mix(in srgb, var(--color-primary) 12%, transparent);
|
|
187
|
+
border-color: color-mix(in srgb, var(--color-primary) 38%, var(--color-border));
|
|
188
|
+
color: var(--color-primary);
|
|
189
|
+
}
|
|
190
|
+
[data-knowledge-article] pre {
|
|
191
|
+
white-space: pre-wrap;
|
|
192
|
+
word-break: break-word;
|
|
193
|
+
overflow-x: auto;
|
|
194
|
+
max-width: 100%;
|
|
195
|
+
padding: var(--mantine-spacing-sm);
|
|
196
|
+
background-color: var(--color-surface);
|
|
197
|
+
border: 1px solid var(--color-border);
|
|
198
|
+
border-radius: var(--mantine-radius-sm);
|
|
199
|
+
}
|
|
200
|
+
[data-knowledge-article] pre code {
|
|
201
|
+
background: transparent;
|
|
202
|
+
border: none;
|
|
203
|
+
padding: 0;
|
|
204
|
+
white-space: inherit;
|
|
205
|
+
word-break: inherit;
|
|
206
|
+
}
|
|
207
|
+
.recharts-surface:focus {
|
|
208
|
+
outline: none;
|
|
209
|
+
}
|
|
210
|
+
.hide-scrollbar {
|
|
211
|
+
scrollbar-width: none;
|
|
212
|
+
-ms-overflow-style: none;
|
|
213
|
+
}
|
|
214
|
+
.hide-scrollbar::-webkit-scrollbar {
|
|
215
|
+
display: none;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
/* src/components/display/ElevasisLoader.module.css */
|
|
219
|
+
.wrapper {
|
|
220
|
+
display: inline-flex;
|
|
221
|
+
align-items: center;
|
|
222
|
+
justify-content: center;
|
|
223
|
+
width: var(--loader-size);
|
|
224
|
+
height: var(--loader-size);
|
|
225
|
+
overflow: visible;
|
|
226
|
+
}
|
|
227
|
+
.loader {
|
|
228
|
+
width: 100%;
|
|
229
|
+
height: 100%;
|
|
230
|
+
display: block;
|
|
231
|
+
overflow: visible;
|
|
232
|
+
}
|
|
233
|
+
.chevron {
|
|
234
|
+
stroke: var(--loader-color);
|
|
235
|
+
stroke-width: 2;
|
|
236
|
+
stroke-linecap: square;
|
|
237
|
+
stroke-linejoin: miter;
|
|
238
|
+
fill: none;
|
|
239
|
+
opacity: 0.15;
|
|
240
|
+
animation: chevronPulse 2s ease-in-out infinite;
|
|
241
|
+
filter: drop-shadow(0 0 1.5px var(--loader-color));
|
|
242
|
+
}
|
|
243
|
+
[data-mantine-color-scheme=light] .chevron {
|
|
244
|
+
filter: none;
|
|
245
|
+
}
|
|
246
|
+
.c1 {
|
|
247
|
+
animation-delay: 0s;
|
|
248
|
+
}
|
|
249
|
+
.c2 {
|
|
250
|
+
animation-delay: 0.2s;
|
|
251
|
+
}
|
|
252
|
+
.c3 {
|
|
253
|
+
animation-delay: 0.4s;
|
|
254
|
+
}
|
|
255
|
+
@keyframes chevronPulse {
|
|
256
|
+
0%, 100% {
|
|
257
|
+
opacity: 0.12;
|
|
258
|
+
filter: drop-shadow(0 0 1px var(--loader-color));
|
|
259
|
+
}
|
|
260
|
+
40%, 60% {
|
|
261
|
+
opacity: 1;
|
|
262
|
+
filter: drop-shadow(0 0 3px var(--loader-color));
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
[data-mantine-color-scheme=light] .chevron {
|
|
266
|
+
animation-name: chevronPulseLight;
|
|
267
|
+
}
|
|
268
|
+
@keyframes chevronPulseLight {
|
|
269
|
+
0%, 100% {
|
|
270
|
+
opacity: 0.2;
|
|
271
|
+
}
|
|
272
|
+
40%, 60% {
|
|
273
|
+
opacity: 1;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
|
|
69
277
|
/* src/graph/Graph.globals.css */
|
|
70
278
|
.elevasis-graph-root .react-flow__node.selected,
|
|
71
279
|
.elevasis-graph-root .react-flow__node:focus,
|
|
@@ -449,211 +657,3 @@
|
|
|
449
657
|
transform: none;
|
|
450
658
|
}
|
|
451
659
|
}
|
|
452
|
-
|
|
453
|
-
/* src/theme/custom.css */
|
|
454
|
-
.mantine-Button-root[data-variant=default] {
|
|
455
|
-
background-color: var(--color-surface);
|
|
456
|
-
backdrop-filter: var(--glass-blur);
|
|
457
|
-
-webkit-backdrop-filter: var(--glass-blur);
|
|
458
|
-
border: 1px solid var(--color-border);
|
|
459
|
-
color: var(--color-text);
|
|
460
|
-
}
|
|
461
|
-
.mantine-Button-root[data-variant=default]:hover {
|
|
462
|
-
background-color: var(--color-surface-hover);
|
|
463
|
-
}
|
|
464
|
-
.lead-gen-build-action-button:disabled,
|
|
465
|
-
.lead-gen-build-action-button[data-disabled] {
|
|
466
|
-
background-color: var(--surface-primary-muted) !important;
|
|
467
|
-
border-color: var(--border-primary-subtle) !important;
|
|
468
|
-
color: color-mix(in srgb, var(--color-text-subtle) 88%, var(--color-text-dimmed) 12%) !important;
|
|
469
|
-
opacity: 0.78;
|
|
470
|
-
}
|
|
471
|
-
.lead-gen-build-action-button:disabled:hover,
|
|
472
|
-
.lead-gen-build-action-button[data-disabled]:hover {
|
|
473
|
-
background-color: var(--surface-primary-muted) !important;
|
|
474
|
-
}
|
|
475
|
-
.mantine-Accordion-control:hover {
|
|
476
|
-
background-color: var(--color-surface-hover);
|
|
477
|
-
}
|
|
478
|
-
[data-mantine-color-scheme] .mantine-Accordion-root .mantine-Accordion-item {
|
|
479
|
-
--item-filled-color: var(--color-surface);
|
|
480
|
-
--item-border-color: var(--color-border);
|
|
481
|
-
}
|
|
482
|
-
[data-mantine-color-scheme] .mantine-Accordion-root[data-variant=separated] .mantine-Accordion-item[data-active] {
|
|
483
|
-
background-color: var(--color-surface);
|
|
484
|
-
border-color: var(--color-border);
|
|
485
|
-
}
|
|
486
|
-
.mantine-Menu-item:hover:not([data-disabled]) {
|
|
487
|
-
background-color: var(--color-surface-hover);
|
|
488
|
-
}
|
|
489
|
-
.mantine-Select-option:hover,
|
|
490
|
-
.mantine-MultiSelect-option:hover,
|
|
491
|
-
.mantine-TagsInput-option:hover,
|
|
492
|
-
.mantine-Combobox-option:hover {
|
|
493
|
-
background-color: var(--surface-primary-muted) !important;
|
|
494
|
-
}
|
|
495
|
-
.mantine-Select-option[data-combobox-selected],
|
|
496
|
-
.mantine-MultiSelect-option[data-combobox-selected],
|
|
497
|
-
.mantine-TagsInput-option[data-combobox-selected],
|
|
498
|
-
.mantine-Combobox-option[data-combobox-selected] {
|
|
499
|
-
background-color: var(--surface-primary-subtle) !important;
|
|
500
|
-
color: var(--color-text);
|
|
501
|
-
}
|
|
502
|
-
[data-mantine-color-scheme] .mantine-Tabs-root {
|
|
503
|
-
--tab-border-color: var(--color-border);
|
|
504
|
-
--tab-hover-color: var(--color-surface-hover);
|
|
505
|
-
--tabs-radius: var(--mantine-radius-xs);
|
|
506
|
-
}
|
|
507
|
-
[data-mantine-color-scheme] .mantine-Tabs-root .mantine-Tabs-tab {
|
|
508
|
-
color: var(--color-text);
|
|
509
|
-
}
|
|
510
|
-
[data-mantine-color-scheme] .mantine-Tabs-root .mantine-Tabs-tab:hover {
|
|
511
|
-
background-color: var(--color-surface-hover);
|
|
512
|
-
}
|
|
513
|
-
[data-mantine-color-scheme] .mantine-Tabs-root .mantine-Tabs-tab[data-active] {
|
|
514
|
-
background-color: var(--color-surface-hover);
|
|
515
|
-
border-color: var(--color-primary);
|
|
516
|
-
color: var(--color-text);
|
|
517
|
-
}
|
|
518
|
-
.mantine-Pagination-control:not([data-active]) {
|
|
519
|
-
background: var(--color-surface);
|
|
520
|
-
}
|
|
521
|
-
::-webkit-scrollbar {
|
|
522
|
-
width: 5px;
|
|
523
|
-
height: 5px;
|
|
524
|
-
}
|
|
525
|
-
::-webkit-scrollbar-track {
|
|
526
|
-
background: transparent;
|
|
527
|
-
}
|
|
528
|
-
::-webkit-scrollbar-thumb {
|
|
529
|
-
background: color-mix(in srgb, var(--color-text-subtle) 50%, var(--color-border));
|
|
530
|
-
border-radius: 4px;
|
|
531
|
-
}
|
|
532
|
-
::-webkit-scrollbar-thumb:hover {
|
|
533
|
-
background: var(--color-text-subtle);
|
|
534
|
-
}
|
|
535
|
-
[data-mantine-color-scheme] .mantine-Checkbox-input:not(:disabled):not(:checked):not([data-indeterminate]) {
|
|
536
|
-
background-color: var(--color-surface);
|
|
537
|
-
border-color: var(--color-border);
|
|
538
|
-
}
|
|
539
|
-
[data-mantine-color-scheme] .mantine-Checkbox-input:checked,
|
|
540
|
-
[data-mantine-color-scheme] .mantine-Checkbox-input[data-indeterminate] {
|
|
541
|
-
background-color: var(--color-primary);
|
|
542
|
-
border-color: var(--color-primary);
|
|
543
|
-
}
|
|
544
|
-
.mantine-Switch-root:has(input:not(:checked)) .mantine-Switch-track {
|
|
545
|
-
background-color: var(--color-surface-hover);
|
|
546
|
-
border-color: var(--color-border);
|
|
547
|
-
}
|
|
548
|
-
.mantine-Timeline-root {
|
|
549
|
-
--tl-color: var(--color-primary);
|
|
550
|
-
}
|
|
551
|
-
.mantine-Timeline-item {
|
|
552
|
-
--item-border-color: var(--color-border);
|
|
553
|
-
}
|
|
554
|
-
.mantine-Timeline-itemBullet {
|
|
555
|
-
border-color: var(--color-border);
|
|
556
|
-
}
|
|
557
|
-
.mantine-Timeline-itemBullet:where([data-with-child]) {
|
|
558
|
-
background-color: var(--color-primary);
|
|
559
|
-
border-color: var(--color-primary);
|
|
560
|
-
}
|
|
561
|
-
.mantine-Tree-node:focus-visible > [data-value] {
|
|
562
|
-
outline: 2px solid color-mix(in srgb, var(--color-primary) 55%, transparent);
|
|
563
|
-
outline-offset: 2px;
|
|
564
|
-
}
|
|
565
|
-
.mantine-Tree-label[data-hovered] {
|
|
566
|
-
background-color: var(--color-surface-hover);
|
|
567
|
-
border-color: var(--color-border);
|
|
568
|
-
}
|
|
569
|
-
.mantine-Tree-label[data-selected] {
|
|
570
|
-
background-color: color-mix(in srgb, var(--color-primary) 12%, transparent);
|
|
571
|
-
border-color: color-mix(in srgb, var(--color-primary) 38%, var(--color-border));
|
|
572
|
-
color: var(--color-primary);
|
|
573
|
-
}
|
|
574
|
-
[data-knowledge-article] pre {
|
|
575
|
-
white-space: pre-wrap;
|
|
576
|
-
word-break: break-word;
|
|
577
|
-
overflow-x: auto;
|
|
578
|
-
max-width: 100%;
|
|
579
|
-
padding: var(--mantine-spacing-sm);
|
|
580
|
-
background-color: var(--color-surface);
|
|
581
|
-
border: 1px solid var(--color-border);
|
|
582
|
-
border-radius: var(--mantine-radius-sm);
|
|
583
|
-
}
|
|
584
|
-
[data-knowledge-article] pre code {
|
|
585
|
-
background: transparent;
|
|
586
|
-
border: none;
|
|
587
|
-
padding: 0;
|
|
588
|
-
white-space: inherit;
|
|
589
|
-
word-break: inherit;
|
|
590
|
-
}
|
|
591
|
-
.recharts-surface:focus {
|
|
592
|
-
outline: none;
|
|
593
|
-
}
|
|
594
|
-
.hide-scrollbar {
|
|
595
|
-
scrollbar-width: none;
|
|
596
|
-
-ms-overflow-style: none;
|
|
597
|
-
}
|
|
598
|
-
.hide-scrollbar::-webkit-scrollbar {
|
|
599
|
-
display: none;
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
/* src/components/display/ElevasisLoader.module.css */
|
|
603
|
-
.wrapper {
|
|
604
|
-
display: inline-flex;
|
|
605
|
-
align-items: center;
|
|
606
|
-
justify-content: center;
|
|
607
|
-
width: var(--loader-size);
|
|
608
|
-
height: var(--loader-size);
|
|
609
|
-
overflow: visible;
|
|
610
|
-
}
|
|
611
|
-
.loader {
|
|
612
|
-
width: 100%;
|
|
613
|
-
height: 100%;
|
|
614
|
-
display: block;
|
|
615
|
-
overflow: visible;
|
|
616
|
-
}
|
|
617
|
-
.chevron {
|
|
618
|
-
stroke: var(--loader-color);
|
|
619
|
-
stroke-width: 2;
|
|
620
|
-
stroke-linecap: square;
|
|
621
|
-
stroke-linejoin: miter;
|
|
622
|
-
fill: none;
|
|
623
|
-
opacity: 0.15;
|
|
624
|
-
animation: chevronPulse 2s ease-in-out infinite;
|
|
625
|
-
filter: drop-shadow(0 0 1.5px var(--loader-color));
|
|
626
|
-
}
|
|
627
|
-
[data-mantine-color-scheme=light] .chevron {
|
|
628
|
-
filter: none;
|
|
629
|
-
}
|
|
630
|
-
.c1 {
|
|
631
|
-
animation-delay: 0s;
|
|
632
|
-
}
|
|
633
|
-
.c2 {
|
|
634
|
-
animation-delay: 0.2s;
|
|
635
|
-
}
|
|
636
|
-
.c3 {
|
|
637
|
-
animation-delay: 0.4s;
|
|
638
|
-
}
|
|
639
|
-
@keyframes chevronPulse {
|
|
640
|
-
0%, 100% {
|
|
641
|
-
opacity: 0.12;
|
|
642
|
-
filter: drop-shadow(0 0 1px var(--loader-color));
|
|
643
|
-
}
|
|
644
|
-
40%, 60% {
|
|
645
|
-
opacity: 1;
|
|
646
|
-
filter: drop-shadow(0 0 3px var(--loader-color));
|
|
647
|
-
}
|
|
648
|
-
}
|
|
649
|
-
[data-mantine-color-scheme=light] .chevron {
|
|
650
|
-
animation-name: chevronPulseLight;
|
|
651
|
-
}
|
|
652
|
-
@keyframes chevronPulseLight {
|
|
653
|
-
0%, 100% {
|
|
654
|
-
opacity: 0.2;
|
|
655
|
-
}
|
|
656
|
-
40%, 60% {
|
|
657
|
-
opacity: 1;
|
|
658
|
-
}
|
|
659
|
-
}
|
|
@@ -1482,6 +1482,7 @@ type Database = {
|
|
|
1482
1482
|
activities: {
|
|
1483
1483
|
Row: {
|
|
1484
1484
|
activity_type: string;
|
|
1485
|
+
actor_api_key_id: string | null;
|
|
1485
1486
|
actor_id: string | null;
|
|
1486
1487
|
actor_type: string | null;
|
|
1487
1488
|
created_at: string;
|
|
@@ -1498,6 +1499,7 @@ type Database = {
|
|
|
1498
1499
|
};
|
|
1499
1500
|
Insert: {
|
|
1500
1501
|
activity_type: string;
|
|
1502
|
+
actor_api_key_id?: string | null;
|
|
1501
1503
|
actor_id?: string | null;
|
|
1502
1504
|
actor_type?: string | null;
|
|
1503
1505
|
created_at?: string;
|
|
@@ -1514,6 +1516,7 @@ type Database = {
|
|
|
1514
1516
|
};
|
|
1515
1517
|
Update: {
|
|
1516
1518
|
activity_type?: string;
|
|
1519
|
+
actor_api_key_id?: string | null;
|
|
1517
1520
|
actor_id?: string | null;
|
|
1518
1521
|
actor_type?: string | null;
|
|
1519
1522
|
created_at?: string;
|
|
@@ -1529,6 +1532,13 @@ type Database = {
|
|
|
1529
1532
|
title?: string;
|
|
1530
1533
|
};
|
|
1531
1534
|
Relationships: [
|
|
1535
|
+
{
|
|
1536
|
+
foreignKeyName: "activities_actor_api_key_id_fkey";
|
|
1537
|
+
columns: ["actor_api_key_id"];
|
|
1538
|
+
isOneToOne: false;
|
|
1539
|
+
referencedRelation: "api_keys";
|
|
1540
|
+
referencedColumns: ["id"];
|
|
1541
|
+
},
|
|
1532
1542
|
{
|
|
1533
1543
|
foreignKeyName: "activities_actor_id_fkey";
|
|
1534
1544
|
columns: ["actor_id"];
|
|
@@ -1616,6 +1626,7 @@ type Database = {
|
|
|
1616
1626
|
api_keys: {
|
|
1617
1627
|
Row: {
|
|
1618
1628
|
created_at: string | null;
|
|
1629
|
+
created_by: string | null;
|
|
1619
1630
|
id: string;
|
|
1620
1631
|
key_hash: string;
|
|
1621
1632
|
last_used_at: string | null;
|
|
@@ -1624,6 +1635,7 @@ type Database = {
|
|
|
1624
1635
|
};
|
|
1625
1636
|
Insert: {
|
|
1626
1637
|
created_at?: string | null;
|
|
1638
|
+
created_by?: string | null;
|
|
1627
1639
|
id?: string;
|
|
1628
1640
|
key_hash: string;
|
|
1629
1641
|
last_used_at?: string | null;
|
|
@@ -1632,6 +1644,7 @@ type Database = {
|
|
|
1632
1644
|
};
|
|
1633
1645
|
Update: {
|
|
1634
1646
|
created_at?: string | null;
|
|
1647
|
+
created_by?: string | null;
|
|
1635
1648
|
id?: string;
|
|
1636
1649
|
key_hash?: string;
|
|
1637
1650
|
last_used_at?: string | null;
|
|
@@ -1639,6 +1652,13 @@ type Database = {
|
|
|
1639
1652
|
organization_id?: string;
|
|
1640
1653
|
};
|
|
1641
1654
|
Relationships: [
|
|
1655
|
+
{
|
|
1656
|
+
foreignKeyName: "api_keys_created_by_fkey";
|
|
1657
|
+
columns: ["created_by"];
|
|
1658
|
+
isOneToOne: false;
|
|
1659
|
+
referencedRelation: "users";
|
|
1660
|
+
referencedColumns: ["id"];
|
|
1661
|
+
},
|
|
1642
1662
|
{
|
|
1643
1663
|
foreignKeyName: "api_keys_organization_id_fkey";
|
|
1644
1664
|
columns: ["organization_id"];
|
|
@@ -1966,6 +1986,7 @@ type Database = {
|
|
|
1966
1986
|
organization_id: string;
|
|
1967
1987
|
payload: Json;
|
|
1968
1988
|
source_execution_id: string | null;
|
|
1989
|
+
status: string;
|
|
1969
1990
|
step_key: string | null;
|
|
1970
1991
|
};
|
|
1971
1992
|
Insert: {
|
|
@@ -1977,6 +1998,7 @@ type Database = {
|
|
|
1977
1998
|
organization_id: string;
|
|
1978
1999
|
payload?: Json;
|
|
1979
2000
|
source_execution_id?: string | null;
|
|
2001
|
+
status: string;
|
|
1980
2002
|
step_key?: string | null;
|
|
1981
2003
|
};
|
|
1982
2004
|
Update: {
|
|
@@ -1988,6 +2010,7 @@ type Database = {
|
|
|
1988
2010
|
organization_id?: string;
|
|
1989
2011
|
payload?: Json;
|
|
1990
2012
|
source_execution_id?: string | null;
|
|
2013
|
+
status?: string;
|
|
1991
2014
|
step_key?: string | null;
|
|
1992
2015
|
};
|
|
1993
2016
|
Relationships: [
|
|
@@ -2139,6 +2162,7 @@ type Database = {
|
|
|
2139
2162
|
kind: string;
|
|
2140
2163
|
metadata: Json;
|
|
2141
2164
|
organization_id: string;
|
|
2165
|
+
payload: Json;
|
|
2142
2166
|
processing_state: Json;
|
|
2143
2167
|
storage_path: string | null;
|
|
2144
2168
|
title: string;
|
|
@@ -2152,6 +2176,7 @@ type Database = {
|
|
|
2152
2176
|
kind: string;
|
|
2153
2177
|
metadata?: Json;
|
|
2154
2178
|
organization_id: string;
|
|
2179
|
+
payload?: Json;
|
|
2155
2180
|
processing_state?: Json;
|
|
2156
2181
|
storage_path?: string | null;
|
|
2157
2182
|
title: string;
|
|
@@ -2165,6 +2190,7 @@ type Database = {
|
|
|
2165
2190
|
kind?: string;
|
|
2166
2191
|
metadata?: Json;
|
|
2167
2192
|
organization_id?: string;
|
|
2193
|
+
payload?: Json;
|
|
2168
2194
|
processing_state?: Json;
|
|
2169
2195
|
storage_path?: string | null;
|
|
2170
2196
|
title?: string;
|
|
@@ -6112,8 +6138,34 @@ interface APIExecutionDetail extends APIExecutionSummary {
|
|
|
6112
6138
|
*/
|
|
6113
6139
|
type NodeColorType = 'violet' | 'blue' | 'orange' | 'teal' | 'gray' | 'yellow';
|
|
6114
6140
|
|
|
6115
|
-
|
|
6116
|
-
|
|
6141
|
+
/**
|
|
6142
|
+
* Every kind of activity the platform records.
|
|
6143
|
+
*
|
|
6144
|
+
* This array is the single TypeScript-side source for the catalog: `ActivityType` is
|
|
6145
|
+
* derived from it, and `ActivityTypeSchema` in `api-schemas.ts` builds its Zod enum
|
|
6146
|
+
* from it rather than repeating the list. It is also what the database CHECK constraint
|
|
6147
|
+
* `activities_activity_type_check` must match exactly.
|
|
6148
|
+
*
|
|
6149
|
+
* A value here that the constraint does not allow raises `23514` on every write, and
|
|
6150
|
+
* because activity writes are best-effort the rejection is silent. That is not
|
|
6151
|
+
* hypothetical: `credential_read` and `agent_access_grant_change` were both in this list
|
|
6152
|
+
* and absent from the constraint, so neither had ever recorded a single row on either
|
|
6153
|
+
* database. `activity-catalog-sync.integration.test.ts` is the gate that now catches it.
|
|
6154
|
+
*/
|
|
6155
|
+
declare const ACTIVITY_TYPES: readonly ["workflow_execution", "agent_run", "hitl_action", "webhook_received", "webhook_executed", "webhook_failed", "credential_change", "credential_read", "api_key_change", "agent_access_grant_change", "deployment_change", "membership_change"];
|
|
6156
|
+
type ActivityType = (typeof ACTIVITY_TYPES)[number];
|
|
6157
|
+
/** Mirrors the `activities_status_check` constraint; same two-place risk as ACTIVITY_TYPES. */
|
|
6158
|
+
declare const ACTIVITY_STATUSES: readonly ["success", "failure", "pending", "approved", "rejected", "completed"];
|
|
6159
|
+
type ActivityStatus = (typeof ACTIVITY_STATUSES)[number];
|
|
6160
|
+
/**
|
|
6161
|
+
* What kind of actor performed an action.
|
|
6162
|
+
*
|
|
6163
|
+
* `'user'` reads `actorId` (FK to users), `'api_key'` reads `actorApiKeyId` (FK to api_keys),
|
|
6164
|
+
* and `'system'` reads neither. The two id columns are deliberately separate rather than one
|
|
6165
|
+
* polymorphic column, so the database keeps checking both referents.
|
|
6166
|
+
*/
|
|
6167
|
+
declare const ACTOR_TYPES: readonly ["user", "system", "api_key"];
|
|
6168
|
+
type ActorType = (typeof ACTOR_TYPES)[number];
|
|
6117
6169
|
interface Activity {
|
|
6118
6170
|
id: string;
|
|
6119
6171
|
organizationId: string;
|
|
@@ -6125,8 +6177,12 @@ interface Activity {
|
|
|
6125
6177
|
entityId: string;
|
|
6126
6178
|
entityName: string | null;
|
|
6127
6179
|
metadata: Record<string, unknown> | null;
|
|
6180
|
+
/** Set when actorType is 'user'. FK to users(id). */
|
|
6128
6181
|
actorId: string | null;
|
|
6129
|
-
actorType
|
|
6182
|
+
/** Set when actorType is 'api_key'. FK to api_keys(id). */
|
|
6183
|
+
actorApiKeyId: string | null;
|
|
6184
|
+
/** Discriminator saying which of the two id fields above to read. */
|
|
6185
|
+
actorType: ActorType | null;
|
|
6130
6186
|
occurredAt: Date;
|
|
6131
6187
|
createdAt: Date;
|
|
6132
6188
|
}
|