@elevasis/ui 2.21.0 → 2.23.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.js +2 -2
- package/dist/{chunk-DMYELNGA.js → chunk-3HEUGBOT.js} +1 -1
- package/dist/{chunk-EGKNRM6P.js → chunk-7PGEGSUM.js} +2 -2
- package/dist/{chunk-KVW56ERD.js → chunk-AXXTN44Z.js} +5 -3
- package/dist/{chunk-I5WRKH25.js → chunk-D3KQAABP.js} +1 -1
- package/dist/{chunk-S7RL77QS.js → chunk-DDZOHLHB.js} +1 -1
- package/dist/{chunk-EDX6WIN3.js → chunk-EPV7NU2E.js} +24 -10
- package/dist/{chunk-ATEHYDL3.js → chunk-FXWETLEB.js} +6 -2
- package/dist/{chunk-7GG6OSD7.js → chunk-GUJUK6EH.js} +2830 -2381
- package/dist/{chunk-GBMNCNHX.js → chunk-KVJ3LFH2.js} +3 -1
- package/dist/{chunk-VQESMHQV.js → chunk-LJWV4TWV.js} +1 -2
- package/dist/{chunk-BJWIKEQG.js → chunk-N6WLOWOD.js} +6 -14
- package/dist/{chunk-XLZZOFGM.js → chunk-PTUOINQ2.js} +275 -76
- package/dist/{chunk-CZK67OHH.js → chunk-PXGSJNBH.js} +3 -3
- package/dist/{chunk-TIIPYB2Z.js → chunk-QZJM3RYI.js} +1 -1
- package/dist/{chunk-7YQKVWSD.js → chunk-SQ5JGELM.js} +25 -5
- package/dist/{chunk-RX4UWZZR.js → chunk-TKAYX2SP.js} +8 -3
- package/dist/{chunk-Q5HC6ENG.js → chunk-XOTJNW4Q.js} +1 -1
- package/dist/{chunk-LQU62KHD.js → chunk-YU6MBDVO.js} +1993 -870
- package/dist/{chunk-ULZ2B3NC.js → chunk-ZBCTB5CA.js} +1 -1
- package/dist/components/index.css +85 -85
- package/dist/components/index.d.ts +1651 -1388
- package/dist/components/index.js +253 -40
- package/dist/components/navigation/index.css +589 -0
- package/dist/components/navigation/index.js +3 -3
- package/dist/features/auth/index.css +2 -2
- package/dist/features/auth/index.d.ts +188 -10
- package/dist/features/crm/index.css +2 -2
- package/dist/features/crm/index.d.ts +193 -10
- package/dist/features/crm/index.js +10 -10
- package/dist/features/dashboard/index.css +2 -2
- package/dist/features/dashboard/index.js +9 -9
- package/dist/features/delivery/index.css +85 -85
- package/dist/features/delivery/index.d.ts +193 -10
- package/dist/features/delivery/index.js +10 -10
- package/dist/features/lead-gen/index.css +2 -2
- package/dist/features/lead-gen/index.d.ts +5 -0
- package/dist/features/lead-gen/index.js +10 -10
- package/dist/features/monitoring/index.css +85 -85
- package/dist/features/monitoring/index.d.ts +6 -1
- package/dist/features/monitoring/index.js +11 -11
- package/dist/features/monitoring/requests/index.css +2 -2
- package/dist/features/monitoring/requests/index.d.ts +5 -0
- package/dist/features/monitoring/requests/index.js +9 -9
- package/dist/features/operations/index.css +2 -2
- package/dist/features/operations/index.d.ts +7 -4
- package/dist/features/operations/index.js +12 -12
- package/dist/features/seo/index.d.ts +5 -0
- package/dist/features/settings/index.css +2 -2
- package/dist/features/settings/index.d.ts +214 -16
- package/dist/features/settings/index.js +11 -11
- package/dist/graph/index.css +2 -2
- package/dist/hooks/delivery/index.css +2 -2
- package/dist/hooks/delivery/index.d.ts +188 -10
- package/dist/hooks/index.css +85 -85
- package/dist/hooks/index.d.ts +1843 -1538
- package/dist/hooks/index.js +8 -8
- package/dist/hooks/published.css +85 -85
- package/dist/hooks/published.d.ts +1843 -1538
- package/dist/hooks/published.js +8 -8
- package/dist/index.css +12 -12
- package/dist/index.d.ts +346 -35
- package/dist/index.js +9 -9
- package/dist/initialization/index.d.ts +188 -10
- package/dist/layout/index.js +2 -2
- package/dist/organization/index.css +589 -0
- package/dist/organization/index.js +1 -1
- package/dist/profile/index.d.ts +188 -10
- package/dist/provider/index.css +384 -0
- package/dist/provider/index.d.ts +6 -0
- package/dist/provider/index.js +7 -7
- package/dist/provider/published.css +463 -0
- package/dist/provider/published.d.ts +6 -0
- package/dist/provider/published.js +4 -4
- package/dist/supabase/index.d.ts +367 -20
- package/dist/test-utils/index.d.ts +46 -2
- package/dist/test-utils/index.js +102 -1
- package/dist/theme/index.js +2 -2
- package/dist/types/index.d.ts +199 -13
- package/package.json +4 -4
- /package/dist/{chunk-6GUW5GGF.js → chunk-6Z3G4U2R.js} +0 -0
|
@@ -410,7 +410,6 @@ type Database = {
|
|
|
410
410
|
acq_deals: {
|
|
411
411
|
Row: {
|
|
412
412
|
activity_log: Json;
|
|
413
|
-
cached_stage: string | null;
|
|
414
413
|
closed_lost_at: string | null;
|
|
415
414
|
closed_lost_reason: string | null;
|
|
416
415
|
contact_email: string;
|
|
@@ -425,6 +424,7 @@ type Database = {
|
|
|
425
424
|
organization_id: string;
|
|
426
425
|
payment_link_sent_at: string | null;
|
|
427
426
|
payment_received_at: string | null;
|
|
427
|
+
pipeline_key: string;
|
|
428
428
|
proposal_data: Json | null;
|
|
429
429
|
proposal_generated_at: string | null;
|
|
430
430
|
proposal_pdf_url: string | null;
|
|
@@ -432,10 +432,11 @@ type Database = {
|
|
|
432
432
|
proposal_reviewed_by: string | null;
|
|
433
433
|
proposal_sent_at: string | null;
|
|
434
434
|
proposal_signed_at: string | null;
|
|
435
|
-
proposal_status: string | null;
|
|
436
435
|
signature_envelope_id: string | null;
|
|
437
436
|
source_list_id: string | null;
|
|
438
437
|
source_type: string | null;
|
|
438
|
+
stage_key: string | null;
|
|
439
|
+
state_key: string | null;
|
|
439
440
|
stripe_payment_id: string | null;
|
|
440
441
|
stripe_payment_link: string | null;
|
|
441
442
|
stripe_payment_link_id: string | null;
|
|
@@ -444,7 +445,6 @@ type Database = {
|
|
|
444
445
|
};
|
|
445
446
|
Insert: {
|
|
446
447
|
activity_log?: Json;
|
|
447
|
-
cached_stage?: string | null;
|
|
448
448
|
closed_lost_at?: string | null;
|
|
449
449
|
closed_lost_reason?: string | null;
|
|
450
450
|
contact_email: string;
|
|
@@ -459,6 +459,7 @@ type Database = {
|
|
|
459
459
|
organization_id: string;
|
|
460
460
|
payment_link_sent_at?: string | null;
|
|
461
461
|
payment_received_at?: string | null;
|
|
462
|
+
pipeline_key?: string;
|
|
462
463
|
proposal_data?: Json | null;
|
|
463
464
|
proposal_generated_at?: string | null;
|
|
464
465
|
proposal_pdf_url?: string | null;
|
|
@@ -466,10 +467,11 @@ type Database = {
|
|
|
466
467
|
proposal_reviewed_by?: string | null;
|
|
467
468
|
proposal_sent_at?: string | null;
|
|
468
469
|
proposal_signed_at?: string | null;
|
|
469
|
-
proposal_status?: string | null;
|
|
470
470
|
signature_envelope_id?: string | null;
|
|
471
471
|
source_list_id?: string | null;
|
|
472
472
|
source_type?: string | null;
|
|
473
|
+
stage_key?: string | null;
|
|
474
|
+
state_key?: string | null;
|
|
473
475
|
stripe_payment_id?: string | null;
|
|
474
476
|
stripe_payment_link?: string | null;
|
|
475
477
|
stripe_payment_link_id?: string | null;
|
|
@@ -478,7 +480,6 @@ type Database = {
|
|
|
478
480
|
};
|
|
479
481
|
Update: {
|
|
480
482
|
activity_log?: Json;
|
|
481
|
-
cached_stage?: string | null;
|
|
482
483
|
closed_lost_at?: string | null;
|
|
483
484
|
closed_lost_reason?: string | null;
|
|
484
485
|
contact_email?: string;
|
|
@@ -493,6 +494,7 @@ type Database = {
|
|
|
493
494
|
organization_id?: string;
|
|
494
495
|
payment_link_sent_at?: string | null;
|
|
495
496
|
payment_received_at?: string | null;
|
|
497
|
+
pipeline_key?: string;
|
|
496
498
|
proposal_data?: Json | null;
|
|
497
499
|
proposal_generated_at?: string | null;
|
|
498
500
|
proposal_pdf_url?: string | null;
|
|
@@ -500,10 +502,11 @@ type Database = {
|
|
|
500
502
|
proposal_reviewed_by?: string | null;
|
|
501
503
|
proposal_sent_at?: string | null;
|
|
502
504
|
proposal_signed_at?: string | null;
|
|
503
|
-
proposal_status?: string | null;
|
|
504
505
|
signature_envelope_id?: string | null;
|
|
505
506
|
source_list_id?: string | null;
|
|
506
507
|
source_type?: string | null;
|
|
508
|
+
stage_key?: string | null;
|
|
509
|
+
state_key?: string | null;
|
|
507
510
|
stripe_payment_id?: string | null;
|
|
508
511
|
stripe_payment_link?: string | null;
|
|
509
512
|
stripe_payment_link_id?: string | null;
|
|
@@ -1672,6 +1675,7 @@ type Database = {
|
|
|
1672
1675
|
Row: {
|
|
1673
1676
|
config: Json;
|
|
1674
1677
|
created_at: string | null;
|
|
1678
|
+
effective_permissions: string[];
|
|
1675
1679
|
id: string;
|
|
1676
1680
|
membership_status: string | null;
|
|
1677
1681
|
organization_id: string;
|
|
@@ -1683,6 +1687,7 @@ type Database = {
|
|
|
1683
1687
|
Insert: {
|
|
1684
1688
|
config?: Json;
|
|
1685
1689
|
created_at?: string | null;
|
|
1690
|
+
effective_permissions?: string[];
|
|
1686
1691
|
id?: string;
|
|
1687
1692
|
membership_status?: string | null;
|
|
1688
1693
|
organization_id: string;
|
|
@@ -1694,6 +1699,7 @@ type Database = {
|
|
|
1694
1699
|
Update: {
|
|
1695
1700
|
config?: Json;
|
|
1696
1701
|
created_at?: string | null;
|
|
1702
|
+
effective_permissions?: string[];
|
|
1697
1703
|
id?: string;
|
|
1698
1704
|
membership_status?: string | null;
|
|
1699
1705
|
organization_id?: string;
|
|
@@ -1719,6 +1725,147 @@ type Database = {
|
|
|
1719
1725
|
}
|
|
1720
1726
|
];
|
|
1721
1727
|
};
|
|
1728
|
+
org_rol_assignments: {
|
|
1729
|
+
Row: {
|
|
1730
|
+
granted_at: string;
|
|
1731
|
+
granted_by: string | null;
|
|
1732
|
+
membership_id: string;
|
|
1733
|
+
role_id: string;
|
|
1734
|
+
};
|
|
1735
|
+
Insert: {
|
|
1736
|
+
granted_at?: string;
|
|
1737
|
+
granted_by?: string | null;
|
|
1738
|
+
membership_id: string;
|
|
1739
|
+
role_id: string;
|
|
1740
|
+
};
|
|
1741
|
+
Update: {
|
|
1742
|
+
granted_at?: string;
|
|
1743
|
+
granted_by?: string | null;
|
|
1744
|
+
membership_id?: string;
|
|
1745
|
+
role_id?: string;
|
|
1746
|
+
};
|
|
1747
|
+
Relationships: [
|
|
1748
|
+
{
|
|
1749
|
+
foreignKeyName: "org_rol_assignments_granted_by_fkey";
|
|
1750
|
+
columns: ["granted_by"];
|
|
1751
|
+
isOneToOne: false;
|
|
1752
|
+
referencedRelation: "users";
|
|
1753
|
+
referencedColumns: ["id"];
|
|
1754
|
+
},
|
|
1755
|
+
{
|
|
1756
|
+
foreignKeyName: "org_rol_assignments_membership_id_fkey";
|
|
1757
|
+
columns: ["membership_id"];
|
|
1758
|
+
isOneToOne: false;
|
|
1759
|
+
referencedRelation: "org_memberships";
|
|
1760
|
+
referencedColumns: ["id"];
|
|
1761
|
+
},
|
|
1762
|
+
{
|
|
1763
|
+
foreignKeyName: "org_rol_assignments_role_id_fkey";
|
|
1764
|
+
columns: ["role_id"];
|
|
1765
|
+
isOneToOne: false;
|
|
1766
|
+
referencedRelation: "org_rol_definitions";
|
|
1767
|
+
referencedColumns: ["id"];
|
|
1768
|
+
}
|
|
1769
|
+
];
|
|
1770
|
+
};
|
|
1771
|
+
org_rol_definitions: {
|
|
1772
|
+
Row: {
|
|
1773
|
+
created_at: string;
|
|
1774
|
+
description: string | null;
|
|
1775
|
+
id: string;
|
|
1776
|
+
is_system: boolean;
|
|
1777
|
+
name: string;
|
|
1778
|
+
organization_id: string | null;
|
|
1779
|
+
slug: string;
|
|
1780
|
+
updated_at: string;
|
|
1781
|
+
};
|
|
1782
|
+
Insert: {
|
|
1783
|
+
created_at?: string;
|
|
1784
|
+
description?: string | null;
|
|
1785
|
+
id?: string;
|
|
1786
|
+
is_system?: boolean;
|
|
1787
|
+
name: string;
|
|
1788
|
+
organization_id?: string | null;
|
|
1789
|
+
slug: string;
|
|
1790
|
+
updated_at?: string;
|
|
1791
|
+
};
|
|
1792
|
+
Update: {
|
|
1793
|
+
created_at?: string;
|
|
1794
|
+
description?: string | null;
|
|
1795
|
+
id?: string;
|
|
1796
|
+
is_system?: boolean;
|
|
1797
|
+
name?: string;
|
|
1798
|
+
organization_id?: string | null;
|
|
1799
|
+
slug?: string;
|
|
1800
|
+
updated_at?: string;
|
|
1801
|
+
};
|
|
1802
|
+
Relationships: [
|
|
1803
|
+
{
|
|
1804
|
+
foreignKeyName: "org_rol_definitions_organization_id_fkey";
|
|
1805
|
+
columns: ["organization_id"];
|
|
1806
|
+
isOneToOne: false;
|
|
1807
|
+
referencedRelation: "organizations";
|
|
1808
|
+
referencedColumns: ["id"];
|
|
1809
|
+
}
|
|
1810
|
+
];
|
|
1811
|
+
};
|
|
1812
|
+
org_rol_grants: {
|
|
1813
|
+
Row: {
|
|
1814
|
+
granted_at: string;
|
|
1815
|
+
permission_key: string;
|
|
1816
|
+
role_id: string;
|
|
1817
|
+
};
|
|
1818
|
+
Insert: {
|
|
1819
|
+
granted_at?: string;
|
|
1820
|
+
permission_key: string;
|
|
1821
|
+
role_id: string;
|
|
1822
|
+
};
|
|
1823
|
+
Update: {
|
|
1824
|
+
granted_at?: string;
|
|
1825
|
+
permission_key?: string;
|
|
1826
|
+
role_id?: string;
|
|
1827
|
+
};
|
|
1828
|
+
Relationships: [
|
|
1829
|
+
{
|
|
1830
|
+
foreignKeyName: "org_rol_grants_permission_key_fkey";
|
|
1831
|
+
columns: ["permission_key"];
|
|
1832
|
+
isOneToOne: false;
|
|
1833
|
+
referencedRelation: "org_rol_permissions";
|
|
1834
|
+
referencedColumns: ["key"];
|
|
1835
|
+
},
|
|
1836
|
+
{
|
|
1837
|
+
foreignKeyName: "org_rol_grants_role_id_fkey";
|
|
1838
|
+
columns: ["role_id"];
|
|
1839
|
+
isOneToOne: false;
|
|
1840
|
+
referencedRelation: "org_rol_definitions";
|
|
1841
|
+
referencedColumns: ["id"];
|
|
1842
|
+
}
|
|
1843
|
+
];
|
|
1844
|
+
};
|
|
1845
|
+
org_rol_permissions: {
|
|
1846
|
+
Row: {
|
|
1847
|
+
created_at: string;
|
|
1848
|
+
description: string;
|
|
1849
|
+
is_org_grantable: boolean;
|
|
1850
|
+
key: string;
|
|
1851
|
+
updated_at: string;
|
|
1852
|
+
};
|
|
1853
|
+
Insert: {
|
|
1854
|
+
created_at?: string;
|
|
1855
|
+
description: string;
|
|
1856
|
+
is_org_grantable?: boolean;
|
|
1857
|
+
key: string;
|
|
1858
|
+
updated_at?: string;
|
|
1859
|
+
};
|
|
1860
|
+
Update: {
|
|
1861
|
+
created_at?: string;
|
|
1862
|
+
description?: string;
|
|
1863
|
+
is_org_grantable?: boolean;
|
|
1864
|
+
key?: string;
|
|
1865
|
+
updated_at?: string;
|
|
1866
|
+
};
|
|
1867
|
+
Relationships: [];
|
|
1868
|
+
};
|
|
1722
1869
|
organizations: {
|
|
1723
1870
|
Row: {
|
|
1724
1871
|
config: Json;
|
|
@@ -2476,7 +2623,8 @@ type Database = {
|
|
|
2476
2623
|
created_at: string;
|
|
2477
2624
|
description: string | null;
|
|
2478
2625
|
id: string;
|
|
2479
|
-
|
|
2626
|
+
key_hash: string;
|
|
2627
|
+
key_prefix: string | null;
|
|
2480
2628
|
last_triggered_at: string | null;
|
|
2481
2629
|
name: string;
|
|
2482
2630
|
organization_id: string;
|
|
@@ -2489,7 +2637,8 @@ type Database = {
|
|
|
2489
2637
|
created_at?: string;
|
|
2490
2638
|
description?: string | null;
|
|
2491
2639
|
id?: string;
|
|
2492
|
-
|
|
2640
|
+
key_hash: string;
|
|
2641
|
+
key_prefix?: string | null;
|
|
2493
2642
|
last_triggered_at?: string | null;
|
|
2494
2643
|
name: string;
|
|
2495
2644
|
organization_id: string;
|
|
@@ -2502,7 +2651,8 @@ type Database = {
|
|
|
2502
2651
|
created_at?: string;
|
|
2503
2652
|
description?: string | null;
|
|
2504
2653
|
id?: string;
|
|
2505
|
-
|
|
2654
|
+
key_hash?: string;
|
|
2655
|
+
key_prefix?: string | null;
|
|
2506
2656
|
last_triggered_at?: string | null;
|
|
2507
2657
|
name?: string;
|
|
2508
2658
|
organization_id?: string;
|
|
@@ -2548,6 +2698,13 @@ type Database = {
|
|
|
2548
2698
|
Args: never;
|
|
2549
2699
|
Returns: string;
|
|
2550
2700
|
};
|
|
2701
|
+
can_assign_role_in_org: {
|
|
2702
|
+
Args: {
|
|
2703
|
+
p_role_id: string;
|
|
2704
|
+
p_target_membership_id: string;
|
|
2705
|
+
};
|
|
2706
|
+
Returns: boolean;
|
|
2707
|
+
};
|
|
2551
2708
|
current_user_is_platform_admin: {
|
|
2552
2709
|
Args: never;
|
|
2553
2710
|
Returns: boolean;
|
|
@@ -2577,6 +2734,10 @@ type Database = {
|
|
|
2577
2734
|
user_id: string;
|
|
2578
2735
|
}[];
|
|
2579
2736
|
};
|
|
2737
|
+
get_platform_credential_kek: {
|
|
2738
|
+
Args: never;
|
|
2739
|
+
Returns: string;
|
|
2740
|
+
};
|
|
2580
2741
|
get_storage_org_id: {
|
|
2581
2742
|
Args: {
|
|
2582
2743
|
file_path: string;
|
|
@@ -2587,9 +2748,10 @@ type Database = {
|
|
|
2587
2748
|
Args: never;
|
|
2588
2749
|
Returns: string;
|
|
2589
2750
|
};
|
|
2590
|
-
|
|
2751
|
+
has_org_permission: {
|
|
2591
2752
|
Args: {
|
|
2592
2753
|
org_id: string;
|
|
2754
|
+
perm_key: string;
|
|
2593
2755
|
};
|
|
2594
2756
|
Returns: boolean;
|
|
2595
2757
|
};
|
|
@@ -2619,6 +2781,22 @@ type Database = {
|
|
|
2619
2781
|
Args: never;
|
|
2620
2782
|
Returns: Json;
|
|
2621
2783
|
};
|
|
2784
|
+
recompute_all_memberships: {
|
|
2785
|
+
Args: never;
|
|
2786
|
+
Returns: undefined;
|
|
2787
|
+
};
|
|
2788
|
+
sync_all_memberships_with_role: {
|
|
2789
|
+
Args: {
|
|
2790
|
+
p_role_id: string;
|
|
2791
|
+
};
|
|
2792
|
+
Returns: undefined;
|
|
2793
|
+
};
|
|
2794
|
+
sync_one_membership: {
|
|
2795
|
+
Args: {
|
|
2796
|
+
p_membership_id: string;
|
|
2797
|
+
};
|
|
2798
|
+
Returns: undefined;
|
|
2799
|
+
};
|
|
2622
2800
|
upsert_user_profile: {
|
|
2623
2801
|
Args: never;
|
|
2624
2802
|
Returns: {
|
|
@@ -309,7 +309,7 @@
|
|
|
309
309
|
transparent 1px),
|
|
310
310
|
radial-gradient(
|
|
311
311
|
ellipse at 50% 50%,
|
|
312
|
-
color-mix(in srgb, var(--color-primary)
|
|
312
|
+
color-mix(in srgb, var(--color-primary) 1.25%, transparent) 0%,
|
|
313
313
|
transparent 70%);
|
|
314
314
|
background-color: color-mix(in srgb, var(--color-background) 50%, var(--glass-background));
|
|
315
315
|
backdrop-filter: var(--glass-blur);
|
|
@@ -328,7 +328,7 @@
|
|
|
328
328
|
transparent 1px),
|
|
329
329
|
radial-gradient(
|
|
330
330
|
ellipse at 50% 50%,
|
|
331
|
-
color-mix(in srgb, var(--color-primary)
|
|
331
|
+
color-mix(in srgb, var(--color-primary) 2.25%, transparent) 0%,
|
|
332
332
|
transparent 70%);
|
|
333
333
|
background-size:
|
|
334
334
|
40px 40px,
|