@elevasis/ui 2.36.0 → 2.37.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.js +4 -3
- package/dist/app/index.css +0 -384
- package/dist/app/index.d.ts +20 -0
- package/dist/app/index.js +21 -21
- package/dist/auth/index.d.ts +91 -28
- package/dist/auth/index.js +5 -1
- package/dist/charts/index.js +9 -3
- package/dist/chunk-5CTJ7TW2.js +111 -0
- package/dist/chunk-5EYJ2GIN.js +122 -0
- package/dist/{chunk-K4UZU3TU.js → chunk-6NREL3KL.js} +1 -1
- package/dist/chunk-6ROXVZ3L.js +9 -0
- package/dist/{chunk-YYX7OPZQ.js → chunk-73EWE2EW.js} +1 -1
- package/dist/{chunk-SIQ3P4OR.js → chunk-7GQFIWP4.js} +8 -756
- package/dist/chunk-A7IG36LB.js +215 -0
- package/dist/chunk-CLDCYJQT.js +1 -0
- package/dist/{chunk-AKW7KISS.js → chunk-CWYQRM5T.js} +2 -38
- package/dist/{chunk-LUYVRATI.js → chunk-DA6I5VEY.js} +5 -213
- package/dist/chunk-I53EX4VU.js +734 -0
- package/dist/chunk-IIMU5YAJ.js +53 -0
- package/dist/{chunk-VKIZUUPM.js → chunk-JPVZRZ3X.js} +31 -14
- package/dist/chunk-JXVNHVK7.js +79 -0
- package/dist/chunk-JZ2WID2G.js +337 -0
- package/dist/chunk-LCJQ6OWC.js +348 -0
- package/dist/chunk-LNC6PZAE.js +85 -0
- package/dist/{chunk-O2Q4VMRN.js → chunk-NWMPBG4U.js} +1 -1
- package/dist/chunk-NYNOMAAS.js +422 -0
- package/dist/chunk-S3KBYQTI.js +39 -0
- package/dist/chunk-S3XR4II4.js +30 -0
- package/dist/chunk-SHZT7ULK.js +425 -0
- package/dist/{chunk-F6EFC2MJ.js → chunk-T3NI7DOA.js} +291 -2044
- package/dist/{chunk-GX6XBRRF.js → chunk-TYRUKGGD.js} +2 -1
- package/dist/{chunk-R3VCBZDC.js → chunk-X4WBGKJQ.js} +3 -50
- package/dist/{chunk-GEFWMU26.js → chunk-X66MVMZT.js} +1 -9
- package/dist/{chunk-57OZ3AEG.js → chunk-Y3JQBSKQ.js} +1 -1
- package/dist/components/index.d.ts +29 -42
- package/dist/components/index.js +33 -19
- package/dist/components/navigation/index.js +3 -31
- package/dist/features/auth/index.d.ts +52 -99
- package/dist/features/auth/index.js +36 -99
- package/dist/features/clients/index.js +33 -19
- package/dist/features/crm/index.d.ts +20 -0
- package/dist/features/crm/index.js +33 -19
- package/dist/features/dashboard/index.js +33 -19
- package/dist/features/delivery/index.d.ts +20 -0
- package/dist/features/delivery/index.js +33 -19
- package/dist/features/knowledge/index.js +6 -30
- package/dist/features/lead-gen/index.d.ts +1088 -1
- package/dist/features/lead-gen/index.js +33 -19
- package/dist/features/monitoring/index.js +33 -19
- package/dist/features/monitoring/requests/index.js +33 -19
- package/dist/features/notes/index.d.ts +72 -0
- package/dist/features/notes/index.js +621 -0
- package/dist/features/operations/index.js +33 -19
- package/dist/features/right-panel-host/index.d.ts +214 -0
- package/dist/features/right-panel-host/index.js +640 -0
- package/dist/features/seo/index.js +3 -2
- package/dist/features/settings/index.d.ts +23 -35
- package/dist/features/settings/index.js +33 -19
- package/dist/hooks/access/index.d.ts +90 -0
- package/dist/hooks/access/index.js +10 -0
- package/dist/hooks/delivery/index.d.ts +20 -0
- package/dist/hooks/delivery/index.js +33 -19
- package/dist/hooks/index.d.ts +1599 -1651
- package/dist/hooks/index.js +33 -19
- package/dist/hooks/published.d.ts +1599 -1651
- package/dist/hooks/published.js +33 -19
- package/dist/hooks/user-notes/index.d.ts +57 -0
- package/dist/hooks/user-notes/index.js +3 -0
- package/dist/index.d.ts +239 -275
- package/dist/index.js +34 -20
- package/dist/initialization/index.d.ts +20 -19
- package/dist/knowledge/index.js +10 -7
- package/dist/layout/index.js +5 -3
- package/dist/organization/index.d.ts +0 -19
- package/dist/organization/index.js +33 -19
- package/dist/profile/index.d.ts +20 -0
- package/dist/provider/index.css +0 -384
- package/dist/provider/index.d.ts +20 -0
- package/dist/provider/index.js +15 -21
- package/dist/provider/published.css +0 -523
- package/dist/provider/published.d.ts +20 -0
- package/dist/provider/published.js +11 -21
- package/dist/supabase/index.d.ts +40 -0
- package/dist/test-utils/index.d.ts +2 -21
- package/dist/test-utils/index.js +5 -18
- package/dist/theme/index.js +2 -1
- package/dist/types/index.d.ts +70 -59
- package/dist/utils/index.js +2 -1
- package/package.json +19 -3
- package/src/auth/README.md +6 -6
- package/dist/components/navigation/index.css +0 -649
- package/dist/features/knowledge/index.css +0 -649
package/dist/api/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export { createElevasisQueryClient } from '../chunk-
|
|
2
|
-
export { ApiClientProvider, useApiClient, useApiClientContext } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { createElevasisQueryClient } from '../chunk-73EWE2EW.js';
|
|
2
|
+
export { ApiClientProvider, useApiClient, useApiClientContext } from '../chunk-Y3JQBSKQ.js';
|
|
3
|
+
import '../chunk-X66MVMZT.js';
|
|
4
4
|
import '../chunk-KRWALB24.js';
|
|
5
5
|
import '../chunk-DD3CCMCZ.js';
|
|
6
|
+
import '../chunk-6ROXVZ3L.js';
|
|
6
7
|
import '../chunk-I2KLQ2HA.js';
|
package/dist/app/index.css
CHANGED
|
@@ -263,387 +263,3 @@
|
|
|
263
263
|
letter-spacing: 0.12em;
|
|
264
264
|
color: var(--color-text-dimmed);
|
|
265
265
|
}
|
|
266
|
-
|
|
267
|
-
/* src/graph/Graph.globals.css */
|
|
268
|
-
.elevasis-graph-root .react-flow__node.selected,
|
|
269
|
-
.elevasis-graph-root .react-flow__node:focus,
|
|
270
|
-
.elevasis-graph-root .react-flow__node:focus-visible {
|
|
271
|
-
outline: none !important;
|
|
272
|
-
}
|
|
273
|
-
.elevasis-graph-root .react-flow__node.selected > * {
|
|
274
|
-
box-shadow: none;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
/* src/graph/Graph.module.css */
|
|
278
|
-
@keyframes edgeFlow {
|
|
279
|
-
0% {
|
|
280
|
-
stroke-dashoffset: 24;
|
|
281
|
-
}
|
|
282
|
-
100% {
|
|
283
|
-
stroke-dashoffset: 0;
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
@keyframes edgeFlowReverse {
|
|
287
|
-
0% {
|
|
288
|
-
stroke-dashoffset: 0;
|
|
289
|
-
}
|
|
290
|
-
100% {
|
|
291
|
-
stroke-dashoffset: 24;
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
@keyframes pulse {
|
|
295
|
-
0%, 100% {
|
|
296
|
-
opacity: 0.6;
|
|
297
|
-
}
|
|
298
|
-
50% {
|
|
299
|
-
opacity: 1;
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
@keyframes livePulse {
|
|
303
|
-
0%, 100% {
|
|
304
|
-
opacity: 1;
|
|
305
|
-
}
|
|
306
|
-
50% {
|
|
307
|
-
opacity: 0.6;
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
.livePulse {
|
|
311
|
-
animation: livePulse 2s ease-in-out infinite;
|
|
312
|
-
}
|
|
313
|
-
@keyframes glowPulse {
|
|
314
|
-
0%, 100% {
|
|
315
|
-
box-shadow: 0 0 5px var(--glow-color, color-mix(in srgb, var(--color-primary) 30%, transparent)), 0 0 15px var(--glow-color, color-mix(in srgb, var(--color-primary) 10%, transparent));
|
|
316
|
-
}
|
|
317
|
-
50% {
|
|
318
|
-
box-shadow: 0 0 10px var(--glow-color, color-mix(in srgb, var(--color-primary) 50%, transparent)), 0 0 20px var(--glow-color, color-mix(in srgb, var(--color-primary) 20%, transparent));
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
@keyframes nodeEnter {
|
|
322
|
-
0% {
|
|
323
|
-
opacity: 0;
|
|
324
|
-
transform: scale(0.8) translateY(10px);
|
|
325
|
-
}
|
|
326
|
-
100% {
|
|
327
|
-
opacity: 1;
|
|
328
|
-
transform: scale(1) translateY(0);
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
@keyframes handlePulse {
|
|
332
|
-
0%, 100% {
|
|
333
|
-
transform: scale(1);
|
|
334
|
-
box-shadow: 0 0 0 0 var(--handle-color, color-mix(in srgb, var(--color-primary) 40%, transparent));
|
|
335
|
-
}
|
|
336
|
-
50% {
|
|
337
|
-
transform: scale(1.2);
|
|
338
|
-
box-shadow: 0 0 0 4px var(--handle-color, color-mix(in srgb, var(--color-primary) 0%, transparent));
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
@keyframes gridMove {
|
|
342
|
-
0% {
|
|
343
|
-
background-position: 0 0;
|
|
344
|
-
}
|
|
345
|
-
100% {
|
|
346
|
-
background-position: 40px 40px;
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
@keyframes labelFadeIn {
|
|
350
|
-
0% {
|
|
351
|
-
opacity: 0;
|
|
352
|
-
transform: translate(-50%, -50%) translate(var(--label-x), var(--label-y)) scale(0.8);
|
|
353
|
-
}
|
|
354
|
-
100% {
|
|
355
|
-
opacity: 1;
|
|
356
|
-
transform: translate(-50%, -50%) translate(var(--label-x), var(--label-y)) scale(1);
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
@keyframes scanLine {
|
|
360
|
-
0% {
|
|
361
|
-
transform: translateY(-100%);
|
|
362
|
-
opacity: 0;
|
|
363
|
-
}
|
|
364
|
-
50% {
|
|
365
|
-
opacity: 0.5;
|
|
366
|
-
}
|
|
367
|
-
100% {
|
|
368
|
-
transform: translateY(100%);
|
|
369
|
-
opacity: 0;
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
.graphContainer {
|
|
373
|
-
position: relative;
|
|
374
|
-
background-image:
|
|
375
|
-
linear-gradient(color-mix(in srgb, var(--color-primary) 5%, transparent) 1px, transparent 1px),
|
|
376
|
-
linear-gradient(
|
|
377
|
-
90deg,
|
|
378
|
-
color-mix(in srgb, var(--color-primary) 5%, transparent) 1px,
|
|
379
|
-
transparent 1px),
|
|
380
|
-
radial-gradient(
|
|
381
|
-
ellipse at 50% 50%,
|
|
382
|
-
color-mix(in srgb, var(--color-primary) 1.25%, transparent) 0%,
|
|
383
|
-
transparent 70%);
|
|
384
|
-
background-color: color-mix(in srgb, var(--color-background) 50%, var(--glass-background));
|
|
385
|
-
backdrop-filter: var(--glass-blur);
|
|
386
|
-
background-size:
|
|
387
|
-
40px 40px,
|
|
388
|
-
40px 40px,
|
|
389
|
-
100% 100%;
|
|
390
|
-
animation: gridMove 20s linear infinite;
|
|
391
|
-
}
|
|
392
|
-
[data-mantine-color-scheme=dark] .graphContainer {
|
|
393
|
-
background-image:
|
|
394
|
-
linear-gradient(color-mix(in srgb, var(--color-primary) 9%, transparent) 1px, transparent 1px),
|
|
395
|
-
linear-gradient(
|
|
396
|
-
90deg,
|
|
397
|
-
color-mix(in srgb, var(--color-primary) 9%, transparent) 1px,
|
|
398
|
-
transparent 1px),
|
|
399
|
-
radial-gradient(
|
|
400
|
-
ellipse at 50% 50%,
|
|
401
|
-
color-mix(in srgb, var(--color-primary) 2.25%, transparent) 0%,
|
|
402
|
-
transparent 70%);
|
|
403
|
-
background-size:
|
|
404
|
-
40px 40px,
|
|
405
|
-
40px 40px,
|
|
406
|
-
100% 100%;
|
|
407
|
-
}
|
|
408
|
-
.node {
|
|
409
|
-
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
410
|
-
position: relative;
|
|
411
|
-
}
|
|
412
|
-
.node:nth-child(1) {
|
|
413
|
-
animation-delay: 0.05s;
|
|
414
|
-
}
|
|
415
|
-
.node:nth-child(2) {
|
|
416
|
-
animation-delay: 0.1s;
|
|
417
|
-
}
|
|
418
|
-
.node:nth-child(3) {
|
|
419
|
-
animation-delay: 0.15s;
|
|
420
|
-
}
|
|
421
|
-
.node:nth-child(4) {
|
|
422
|
-
animation-delay: 0.2s;
|
|
423
|
-
}
|
|
424
|
-
.node:nth-child(5) {
|
|
425
|
-
animation-delay: 0.25s;
|
|
426
|
-
}
|
|
427
|
-
.node:nth-child(6) {
|
|
428
|
-
animation-delay: 0.3s;
|
|
429
|
-
}
|
|
430
|
-
.node:nth-child(7) {
|
|
431
|
-
animation-delay: 0.35s;
|
|
432
|
-
}
|
|
433
|
-
.node:nth-child(8) {
|
|
434
|
-
animation-delay: 0.4s;
|
|
435
|
-
}
|
|
436
|
-
.node:nth-child(9) {
|
|
437
|
-
animation-delay: 0.45s;
|
|
438
|
-
}
|
|
439
|
-
.node:nth-child(10) {
|
|
440
|
-
animation-delay: 0.5s;
|
|
441
|
-
}
|
|
442
|
-
.node:nth-child(11) {
|
|
443
|
-
animation-delay: 0.55s;
|
|
444
|
-
}
|
|
445
|
-
.node:nth-child(12) {
|
|
446
|
-
animation-delay: 0.6s;
|
|
447
|
-
}
|
|
448
|
-
.nodeCard {
|
|
449
|
-
position: relative;
|
|
450
|
-
border-radius: var(--mantine-radius-md);
|
|
451
|
-
overflow: hidden;
|
|
452
|
-
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
453
|
-
}
|
|
454
|
-
.nodeCard::before {
|
|
455
|
-
content: "";
|
|
456
|
-
position: absolute;
|
|
457
|
-
inset: 0;
|
|
458
|
-
background:
|
|
459
|
-
linear-gradient(
|
|
460
|
-
135deg,
|
|
461
|
-
var(--node-color-light, color-mix(in srgb, var(--color-primary) 10%, transparent)) 0%,
|
|
462
|
-
transparent 50%,
|
|
463
|
-
var(--node-color-light, color-mix(in srgb, var(--color-primary) 5%, transparent)) 100%);
|
|
464
|
-
pointer-events: none;
|
|
465
|
-
opacity: 0;
|
|
466
|
-
transition: opacity 0.3s ease;
|
|
467
|
-
}
|
|
468
|
-
.nodeCard::after {
|
|
469
|
-
content: "";
|
|
470
|
-
position: absolute;
|
|
471
|
-
left: 0;
|
|
472
|
-
right: 0;
|
|
473
|
-
height: 30%;
|
|
474
|
-
background:
|
|
475
|
-
linear-gradient(
|
|
476
|
-
180deg,
|
|
477
|
-
transparent 0%,
|
|
478
|
-
var(--node-color-glow, color-mix(in srgb, var(--color-primary) 10%, transparent)) 50%,
|
|
479
|
-
transparent 100%);
|
|
480
|
-
pointer-events: none;
|
|
481
|
-
opacity: 0;
|
|
482
|
-
}
|
|
483
|
-
.nodeCard:hover::before,
|
|
484
|
-
.nodeCardSelected::before {
|
|
485
|
-
opacity: 1;
|
|
486
|
-
}
|
|
487
|
-
.nodeCard:hover::after,
|
|
488
|
-
.nodeCardSelected::after {
|
|
489
|
-
animation: scanLine 3s ease-in-out infinite;
|
|
490
|
-
}
|
|
491
|
-
.nodeCard:hover {
|
|
492
|
-
transform: translateY(-2px) scale(1.02);
|
|
493
|
-
}
|
|
494
|
-
.nodeCardSelected {
|
|
495
|
-
transform: translateY(-2px) scale(1.02);
|
|
496
|
-
animation: glowPulse 2s ease-in-out infinite;
|
|
497
|
-
}
|
|
498
|
-
.nodeAgent {
|
|
499
|
-
--glow-color: rgba(139, 92, 246, 0.4);
|
|
500
|
-
--node-color-light: rgba(139, 92, 246, 0.1);
|
|
501
|
-
--node-color-glow: rgba(139, 92, 246, 0.15);
|
|
502
|
-
--handle-color: rgba(139, 92, 246, 0.5);
|
|
503
|
-
--gradient-start: rgba(139, 92, 246, 0.15);
|
|
504
|
-
--gradient-end: rgba(139, 92, 246, 0.05);
|
|
505
|
-
}
|
|
506
|
-
.nodeWorkflow {
|
|
507
|
-
--glow-color: rgba(59, 130, 246, 0.4);
|
|
508
|
-
--node-color-light: rgba(59, 130, 246, 0.1);
|
|
509
|
-
--node-color-glow: rgba(59, 130, 246, 0.15);
|
|
510
|
-
--handle-color: rgba(59, 130, 246, 0.5);
|
|
511
|
-
--gradient-start: rgba(59, 130, 246, 0.15);
|
|
512
|
-
--gradient-end: rgba(59, 130, 246, 0.05);
|
|
513
|
-
}
|
|
514
|
-
.nodeTrigger {
|
|
515
|
-
--glow-color: rgba(249, 115, 22, 0.4);
|
|
516
|
-
--node-color-light: rgba(249, 115, 22, 0.1);
|
|
517
|
-
--node-color-glow: rgba(249, 115, 22, 0.15);
|
|
518
|
-
--handle-color: rgba(249, 115, 22, 0.5);
|
|
519
|
-
--gradient-start: rgba(249, 115, 22, 0.15);
|
|
520
|
-
--gradient-end: rgba(249, 115, 22, 0.05);
|
|
521
|
-
}
|
|
522
|
-
.nodeIntegration {
|
|
523
|
-
--glow-color: rgba(20, 184, 166, 0.4);
|
|
524
|
-
--node-color-light: rgba(20, 184, 166, 0.1);
|
|
525
|
-
--node-color-glow: rgba(20, 184, 166, 0.15);
|
|
526
|
-
--handle-color: rgba(20, 184, 166, 0.5);
|
|
527
|
-
--gradient-start: rgba(20, 184, 166, 0.15);
|
|
528
|
-
--gradient-end: rgba(20, 184, 166, 0.05);
|
|
529
|
-
}
|
|
530
|
-
.nodeExternal {
|
|
531
|
-
--glow-color: rgba(107, 114, 128, 0.4);
|
|
532
|
-
--node-color-light: rgba(107, 114, 128, 0.1);
|
|
533
|
-
--node-color-glow: rgba(107, 114, 128, 0.15);
|
|
534
|
-
--handle-color: rgba(107, 114, 128, 0.5);
|
|
535
|
-
--gradient-start: rgba(107, 114, 128, 0.15);
|
|
536
|
-
--gradient-end: rgba(107, 114, 128, 0.05);
|
|
537
|
-
}
|
|
538
|
-
.nodeHuman {
|
|
539
|
-
--glow-color: rgba(245, 158, 11, 0.4);
|
|
540
|
-
--node-color-light: rgba(245, 158, 11, 0.1);
|
|
541
|
-
--node-color-glow: rgba(245, 158, 11, 0.15);
|
|
542
|
-
--handle-color: rgba(245, 158, 11, 0.5);
|
|
543
|
-
--gradient-start: rgba(245, 158, 11, 0.15);
|
|
544
|
-
--gradient-end: rgba(245, 158, 11, 0.05);
|
|
545
|
-
}
|
|
546
|
-
.nodePrimary {
|
|
547
|
-
--glow-color: rgba(37, 99, 235, 0.4);
|
|
548
|
-
--node-color-light: rgba(37, 99, 235, 0.1);
|
|
549
|
-
--node-color-glow: rgba(37, 99, 235, 0.15);
|
|
550
|
-
--handle-color: rgba(37, 99, 235, 0.5);
|
|
551
|
-
--gradient-start: rgba(37, 99, 235, 0.15);
|
|
552
|
-
--gradient-end: rgba(37, 99, 235, 0.05);
|
|
553
|
-
}
|
|
554
|
-
.handle {
|
|
555
|
-
transition: all 0.2s ease;
|
|
556
|
-
}
|
|
557
|
-
.handle:hover {
|
|
558
|
-
animation: handlePulse 1s ease-in-out infinite;
|
|
559
|
-
}
|
|
560
|
-
.nodeIcon {
|
|
561
|
-
transition: all 0.3s ease;
|
|
562
|
-
}
|
|
563
|
-
.badge {
|
|
564
|
-
transition: all 0.2s ease;
|
|
565
|
-
backdrop-filter: blur(4px);
|
|
566
|
-
}
|
|
567
|
-
.nodeCard:hover .badge {
|
|
568
|
-
transform: scale(1.05);
|
|
569
|
-
}
|
|
570
|
-
.badgeProd {
|
|
571
|
-
box-shadow: 0 0 8px rgba(34, 197, 94, 0.3);
|
|
572
|
-
}
|
|
573
|
-
.edge {
|
|
574
|
-
transition: all 0.3s ease;
|
|
575
|
-
}
|
|
576
|
-
.edgeAnimated {
|
|
577
|
-
stroke-dasharray: 8 4;
|
|
578
|
-
animation: edgeFlow 1s linear infinite;
|
|
579
|
-
}
|
|
580
|
-
.edgeGlow {
|
|
581
|
-
filter: drop-shadow(0 0 3px var(--edge-color, color-mix(in srgb, var(--color-primary) 50%, transparent)));
|
|
582
|
-
}
|
|
583
|
-
.edgeHighlighted {
|
|
584
|
-
stroke-width: 3px;
|
|
585
|
-
}
|
|
586
|
-
.edgeLabel {
|
|
587
|
-
backdrop-filter: blur(8px);
|
|
588
|
-
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
589
|
-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 20px var(--label-glow, color-mix(in srgb, var(--color-primary) 20%, transparent));
|
|
590
|
-
transition: box-shadow 0.2s ease;
|
|
591
|
-
}
|
|
592
|
-
.edgeLabel:hover {
|
|
593
|
-
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2), 0 0 30px var(--label-glow, color-mix(in srgb, var(--color-primary) 30%, transparent));
|
|
594
|
-
}
|
|
595
|
-
.legend {
|
|
596
|
-
backdrop-filter: var(--glass-blur);
|
|
597
|
-
background: var(--glass-background);
|
|
598
|
-
border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
|
|
599
|
-
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 0 40px color-mix(in srgb, var(--color-primary) 10%, transparent);
|
|
600
|
-
}
|
|
601
|
-
[data-mantine-color-scheme=dark] .legend {
|
|
602
|
-
border-color: color-mix(in srgb, var(--color-primary) 30%, transparent);
|
|
603
|
-
}
|
|
604
|
-
.legendDot {
|
|
605
|
-
transition: all 0.2s ease;
|
|
606
|
-
box-shadow: 0 0 8px currentColor;
|
|
607
|
-
}
|
|
608
|
-
.legendDot:hover {
|
|
609
|
-
transform: scale(1.3);
|
|
610
|
-
box-shadow: 0 0 12px currentColor;
|
|
611
|
-
}
|
|
612
|
-
.nodeHighlighted .nodeCard {
|
|
613
|
-
transform: translateY(-2px) scale(1.02);
|
|
614
|
-
}
|
|
615
|
-
.nodeHighlighted .nodeCard::before {
|
|
616
|
-
opacity: 1;
|
|
617
|
-
}
|
|
618
|
-
.nodeHighlighted .nodeCard::after {
|
|
619
|
-
animation: scanLine 3s ease-in-out infinite;
|
|
620
|
-
}
|
|
621
|
-
.nodeDimmed {
|
|
622
|
-
opacity: 0.3;
|
|
623
|
-
filter: grayscale(0.5);
|
|
624
|
-
transition: all 0.3s ease;
|
|
625
|
-
}
|
|
626
|
-
.edgeHighlighted {
|
|
627
|
-
stroke-width: 4px !important;
|
|
628
|
-
}
|
|
629
|
-
.edgeDimmed {
|
|
630
|
-
opacity: 0.15;
|
|
631
|
-
transition: all 0.3s ease;
|
|
632
|
-
}
|
|
633
|
-
.edgeLabelDimmed {
|
|
634
|
-
opacity: 0.15;
|
|
635
|
-
transition: opacity 0.3s ease;
|
|
636
|
-
}
|
|
637
|
-
@media (prefers-reduced-motion: reduce) {
|
|
638
|
-
.node,
|
|
639
|
-
.nodeCard::after,
|
|
640
|
-
.edgeAnimated,
|
|
641
|
-
.nodeIcon,
|
|
642
|
-
.handle:hover,
|
|
643
|
-
.graphContainer {
|
|
644
|
-
animation: none;
|
|
645
|
-
}
|
|
646
|
-
.nodeCard:hover {
|
|
647
|
-
transform: none;
|
|
648
|
-
}
|
|
649
|
-
}
|
package/dist/app/index.d.ts
CHANGED
|
@@ -2989,6 +2989,12 @@ type Database = {
|
|
|
2989
2989
|
Args: never;
|
|
2990
2990
|
Returns: boolean;
|
|
2991
2991
|
};
|
|
2992
|
+
current_user_shares_org_with: {
|
|
2993
|
+
Args: {
|
|
2994
|
+
other_user_id: string;
|
|
2995
|
+
};
|
|
2996
|
+
Returns: boolean;
|
|
2997
|
+
};
|
|
2992
2998
|
current_user_supabase_id: {
|
|
2993
2999
|
Args: never;
|
|
2994
3000
|
Returns: string;
|
|
@@ -3028,6 +3034,20 @@ type Database = {
|
|
|
3028
3034
|
Args: never;
|
|
3029
3035
|
Returns: string;
|
|
3030
3036
|
};
|
|
3037
|
+
has_org_access: {
|
|
3038
|
+
Args: {
|
|
3039
|
+
action?: string;
|
|
3040
|
+
org_id: string;
|
|
3041
|
+
system_path: string;
|
|
3042
|
+
};
|
|
3043
|
+
Returns: boolean;
|
|
3044
|
+
} | {
|
|
3045
|
+
Args: {
|
|
3046
|
+
action?: string;
|
|
3047
|
+
system_path: string;
|
|
3048
|
+
};
|
|
3049
|
+
Returns: boolean;
|
|
3050
|
+
};
|
|
3031
3051
|
has_org_permission: {
|
|
3032
3052
|
Args: {
|
|
3033
3053
|
org_id: string;
|
package/dist/app/index.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { AppErrorBoundary
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
1
|
+
import { AppErrorBoundary } from '../chunk-SHZT7ULK.js';
|
|
2
|
+
import '../chunk-JBWJ6WHZ.js';
|
|
3
|
+
import { SidebarProvider, AppShellContainer, Sidebar, AppShellRightSideContainer, AppShellRightSideOuterContainer } from '../chunk-DA6I5VEY.js';
|
|
4
|
+
import '../chunk-X4WBGKJQ.js';
|
|
5
|
+
import '../chunk-IIMU5YAJ.js';
|
|
6
|
+
import '../chunk-RNP5R5I3.js';
|
|
7
|
+
import { ElevasisUIProvider } from '../chunk-5CTJ7TW2.js';
|
|
8
|
+
import '../chunk-CWYQRM5T.js';
|
|
6
9
|
import '../chunk-WF7CONXF.js';
|
|
7
|
-
import '../chunk-ZTWA5H77.js';
|
|
8
|
-
import '../chunk-AUDNF2Q7.js';
|
|
9
|
-
import '../chunk-6M6OLGQY.js';
|
|
10
|
-
import '../chunk-BRXELOHC.js';
|
|
11
|
-
import { listAllSystems } from '../chunk-O2Q4VMRN.js';
|
|
12
|
-
import { SidebarProvider, AppShellContainer, Sidebar, AppShellRightSideContainer, AppShellRightSideOuterContainer } from '../chunk-LUYVRATI.js';
|
|
13
|
-
import '../chunk-NYBEU5TE.js';
|
|
14
10
|
import '../chunk-WLOQ4IBG.js';
|
|
15
|
-
import '../chunk-
|
|
16
|
-
import '../chunk-
|
|
17
|
-
import '../chunk-
|
|
18
|
-
import '../chunk-
|
|
11
|
+
import { SystemShell } from '../chunk-JZ2WID2G.js';
|
|
12
|
+
import '../chunk-I53EX4VU.js';
|
|
13
|
+
import '../chunk-3KMDHCAR.js';
|
|
14
|
+
import '../chunk-S3XR4II4.js';
|
|
15
|
+
import '../chunk-A7IG36LB.js';
|
|
16
|
+
import '../chunk-NYBEU5TE.js';
|
|
17
|
+
import '../chunk-Y3JQBSKQ.js';
|
|
19
18
|
import '../chunk-DT3QYZVU.js';
|
|
20
19
|
import { TanStackRouterBridge, ScrollToTop } from '../chunk-2IFYDILW.js';
|
|
21
20
|
import '../chunk-Q7DJKLEN.js';
|
|
22
|
-
import '../chunk-
|
|
23
|
-
import '../chunk-7FPLLSHN.js';
|
|
24
|
-
import '../chunk-RNP5R5I3.js';
|
|
25
|
-
import '../chunk-GEFWMU26.js';
|
|
21
|
+
import '../chunk-X66MVMZT.js';
|
|
26
22
|
import '../chunk-KRWALB24.js';
|
|
27
|
-
import { useSessionCheck } from '../chunk-
|
|
23
|
+
import { useSessionCheck } from '../chunk-JPVZRZ3X.js';
|
|
24
|
+
import '../chunk-LCJQ6OWC.js';
|
|
25
|
+
import { ElevasisSystemsProvider, useElevasisSystems } from '../chunk-NYNOMAAS.js';
|
|
28
26
|
import { useInitialization } from '../chunk-533DUEQY.js';
|
|
27
|
+
import { listAllSystems } from '../chunk-NWMPBG4U.js';
|
|
29
28
|
import '../chunk-DD3CCMCZ.js';
|
|
30
29
|
import '../chunk-2Q2JQSQO.js';
|
|
30
|
+
import '../chunk-6ROXVZ3L.js';
|
|
31
31
|
import '../chunk-KJ3QUBNU.js';
|
|
32
32
|
import '../chunk-BRJ3QZ4E.js';
|
|
33
33
|
import '../chunk-I2KLQ2HA.js';
|
package/dist/auth/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
+
import { z } from 'zod';
|
|
4
5
|
|
|
5
6
|
interface AuthContextValue {
|
|
6
7
|
user: {
|
|
@@ -77,6 +78,81 @@ declare function useStableAccessToken(): () => Promise<string>;
|
|
|
77
78
|
*/
|
|
78
79
|
declare function useSessionCheck(): void;
|
|
79
80
|
|
|
81
|
+
declare const AccessKeyInputSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
82
|
+
systemPath: z.ZodString;
|
|
83
|
+
action: z.ZodDefault<z.ZodEnum<{
|
|
84
|
+
view: "view";
|
|
85
|
+
manage: "manage";
|
|
86
|
+
}>>;
|
|
87
|
+
}, z.core.$strict>]>;
|
|
88
|
+
type AccessKeyInput = z.input<typeof AccessKeyInputSchema>;
|
|
89
|
+
declare const AccessKeys: {
|
|
90
|
+
readonly platformAdmin: {
|
|
91
|
+
readonly systemPath: "platform.admin";
|
|
92
|
+
readonly action: "view";
|
|
93
|
+
};
|
|
94
|
+
readonly organizationManage: {
|
|
95
|
+
readonly systemPath: "permission.org";
|
|
96
|
+
readonly action: "manage";
|
|
97
|
+
};
|
|
98
|
+
readonly membersManage: {
|
|
99
|
+
readonly systemPath: "permission.members";
|
|
100
|
+
readonly action: "manage";
|
|
101
|
+
};
|
|
102
|
+
readonly rolesManage: {
|
|
103
|
+
readonly systemPath: "permission.roles";
|
|
104
|
+
readonly action: "manage";
|
|
105
|
+
};
|
|
106
|
+
readonly secretsManage: {
|
|
107
|
+
readonly systemPath: "permission.secrets";
|
|
108
|
+
readonly action: "manage";
|
|
109
|
+
};
|
|
110
|
+
readonly operationsRead: {
|
|
111
|
+
readonly systemPath: "permission.operations";
|
|
112
|
+
readonly action: "view";
|
|
113
|
+
};
|
|
114
|
+
readonly operationsManage: {
|
|
115
|
+
readonly systemPath: "permission.operations";
|
|
116
|
+
readonly action: "manage";
|
|
117
|
+
};
|
|
118
|
+
readonly acquisitionManage: {
|
|
119
|
+
readonly systemPath: "permission.acquisition";
|
|
120
|
+
readonly action: "manage";
|
|
121
|
+
};
|
|
122
|
+
readonly projectsManage: {
|
|
123
|
+
readonly systemPath: "permission.projects";
|
|
124
|
+
readonly action: "manage";
|
|
125
|
+
};
|
|
126
|
+
readonly clientsManage: {
|
|
127
|
+
readonly systemPath: "permission.clients";
|
|
128
|
+
readonly action: "manage";
|
|
129
|
+
};
|
|
130
|
+
readonly operationsOverview: {
|
|
131
|
+
readonly systemPath: "diagnostic.operations.overview";
|
|
132
|
+
readonly action: "view";
|
|
133
|
+
};
|
|
134
|
+
readonly operationsRecentExecutions: {
|
|
135
|
+
readonly systemPath: "diagnostic.operations.recent-executions";
|
|
136
|
+
readonly action: "view";
|
|
137
|
+
};
|
|
138
|
+
readonly monitoringExecutionLogs: {
|
|
139
|
+
readonly systemPath: "diagnostic.monitoring.execution-logs";
|
|
140
|
+
readonly action: "view";
|
|
141
|
+
};
|
|
142
|
+
readonly monitoringNotifications: {
|
|
143
|
+
readonly systemPath: "diagnostic.monitoring.notifications";
|
|
144
|
+
readonly action: "view";
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
type AccessRestrictedBy = 'catalog' | 'membership' | 'system-lifecycle' | 'role-permission' | 'diagnostic-allowlist' | null;
|
|
149
|
+
type AccessReason = 'allowed' | 'platform-admin-bypass' | 'invalid-access-key' | 'unknown-access-key' | 'organization-mismatch' | 'missing-membership' | 'system-not-active' | 'role-permission-denied' | 'diagnostic-key-not-allowed';
|
|
150
|
+
interface AccessAnswer {
|
|
151
|
+
allowed: boolean;
|
|
152
|
+
restrictedBy: AccessRestrictedBy;
|
|
153
|
+
reason: AccessReason;
|
|
154
|
+
}
|
|
155
|
+
|
|
80
156
|
interface InitializationError {
|
|
81
157
|
layer: 'auth' | 'profile' | 'organization';
|
|
82
158
|
message: string;
|
|
@@ -141,36 +217,23 @@ interface ProtectedRouteProps {
|
|
|
141
217
|
*/
|
|
142
218
|
declare function ProtectedRoute({ children, redirectTo, fallback, errorFallback, waitForOrganization }: ProtectedRouteProps): react_jsx_runtime.JSX.Element | null;
|
|
143
219
|
|
|
144
|
-
interface
|
|
220
|
+
interface UseAccessResult extends AccessAnswer {
|
|
221
|
+
isReady: boolean;
|
|
222
|
+
isPlatformAdmin: boolean;
|
|
223
|
+
permissions: readonly string[];
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
interface AccessGuardProps {
|
|
227
|
+
accessKey: AccessKeyInput;
|
|
145
228
|
children: ReactNode;
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
*/
|
|
150
|
-
redirectTo?: string;
|
|
151
|
-
/**
|
|
152
|
-
* Rendered while user readiness is being determined.
|
|
153
|
-
* When not provided, nothing is rendered during initialization.
|
|
154
|
-
*/
|
|
155
|
-
fallback?: ReactNode;
|
|
229
|
+
fallback?: ReactNode | ((answer: UseAccessResult) => ReactNode);
|
|
230
|
+
loadingFallback?: ReactNode;
|
|
231
|
+
redirectTo?: string | null;
|
|
156
232
|
}
|
|
157
233
|
/**
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
* Reads `profile.is_platform_admin` from the nearest InitializationProvider.
|
|
161
|
-
* Non-admin users are redirected to `redirectTo` (default: '/').
|
|
162
|
-
*
|
|
163
|
-
* Must be nested inside a ProtectedRoute (or equivalent) so that
|
|
164
|
-
* `userReady` is guaranteed to be true when this guard runs.
|
|
165
|
-
*
|
|
166
|
-
* @example
|
|
167
|
-
* <ProtectedRoute>
|
|
168
|
-
* <AdminGuard fallback={<AppShellLoader />}>
|
|
169
|
-
* <AdminDashboard />
|
|
170
|
-
* </AdminGuard>
|
|
171
|
-
* </ProtectedRoute>
|
|
234
|
+
* Unified route/UI guard for the shared Access Model.
|
|
172
235
|
*/
|
|
173
|
-
declare function
|
|
236
|
+
declare function AccessGuard({ accessKey, children, fallback, loadingFallback, redirectTo }: AccessGuardProps): react_jsx_runtime.JSX.Element;
|
|
174
237
|
|
|
175
|
-
export {
|
|
176
|
-
export type {
|
|
238
|
+
export { AccessGuard, AccessKeys, AuthProvider, ProtectedRoute, useAuthContext, useSessionCheck as useRefocusSessionCheck, useSessionCheck, useStableAccessToken };
|
|
239
|
+
export type { AccessGuardProps, AccessKeyInput, AuthContextValue, ProtectedRouteProps };
|
package/dist/auth/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { AccessGuard, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck, useStableAccessToken } from '../chunk-JPVZRZ3X.js';
|
|
2
|
+
export { AccessKeys } from '../chunk-LCJQ6OWC.js';
|
|
3
|
+
import '../chunk-NYNOMAAS.js';
|
|
2
4
|
import '../chunk-533DUEQY.js';
|
|
5
|
+
import '../chunk-NWMPBG4U.js';
|
|
3
6
|
import '../chunk-DD3CCMCZ.js';
|
|
4
7
|
import '../chunk-2Q2JQSQO.js';
|
|
8
|
+
import '../chunk-6ROXVZ3L.js';
|
|
5
9
|
import '../chunk-KJ3QUBNU.js';
|
|
6
10
|
export { AuthProvider, useAuthContext } from '../chunk-BRJ3QZ4E.js';
|
|
7
11
|
import '../chunk-I2KLQ2HA.js';
|
package/dist/charts/index.js
CHANGED
|
@@ -1,15 +1,21 @@
|
|
|
1
|
-
export { ActivityTrendChart, ChartFrame, CombinedTrendChart, CostTrendChart, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, HeroStatsRow, getSeriesColor, useCyberColors } from '../chunk-
|
|
1
|
+
export { ActivityTrendChart, ChartFrame, CombinedTrendChart, CostTrendChart, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, HeroStatsRow, getSeriesColor, useCyberColors } from '../chunk-7GQFIWP4.js';
|
|
2
|
+
import '../chunk-I53EX4VU.js';
|
|
2
3
|
import '../chunk-3KMDHCAR.js';
|
|
4
|
+
import '../chunk-S3XR4II4.js';
|
|
3
5
|
import '../chunk-NYBEU5TE.js';
|
|
4
6
|
import '../chunk-DT3QYZVU.js';
|
|
5
7
|
import '../chunk-2IFYDILW.js';
|
|
6
8
|
import '../chunk-Q7DJKLEN.js';
|
|
7
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-X66MVMZT.js';
|
|
8
10
|
import '../chunk-KRWALB24.js';
|
|
9
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-JPVZRZ3X.js';
|
|
12
|
+
import '../chunk-LCJQ6OWC.js';
|
|
13
|
+
import '../chunk-NYNOMAAS.js';
|
|
10
14
|
import '../chunk-533DUEQY.js';
|
|
15
|
+
import '../chunk-NWMPBG4U.js';
|
|
11
16
|
import '../chunk-DD3CCMCZ.js';
|
|
12
17
|
import '../chunk-2Q2JQSQO.js';
|
|
18
|
+
import '../chunk-6ROXVZ3L.js';
|
|
13
19
|
import '../chunk-KJ3QUBNU.js';
|
|
14
20
|
import '../chunk-BRJ3QZ4E.js';
|
|
15
21
|
import '../chunk-I2KLQ2HA.js';
|