@elevasis/ui 2.21.0 → 2.22.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-KVW56ERD.js → chunk-AXXTN44Z.js} +5 -3
- package/dist/{chunk-7GG6OSD7.js → chunk-B4FHWKEF.js} +3354 -2918
- package/dist/{chunk-XLZZOFGM.js → chunk-BSZRKBAW.js} +275 -76
- package/dist/{chunk-CZK67OHH.js → chunk-COG4ABRI.js} +3 -3
- package/dist/{chunk-S7RL77QS.js → chunk-DDZOHLHB.js} +1 -1
- package/dist/{chunk-I5WRKH25.js → chunk-GJ7EIABJ.js} +1 -1
- package/dist/{chunk-LQU62KHD.js → chunk-IBUYJXA3.js} +1209 -705
- package/dist/{chunk-EDX6WIN3.js → chunk-IOTLB6ND.js} +3 -3
- package/dist/{chunk-GBMNCNHX.js → chunk-KVJ3LFH2.js} +3 -1
- package/dist/{chunk-VQESMHQV.js → chunk-LJWV4TWV.js} +1 -2
- package/dist/{chunk-EGKNRM6P.js → chunk-LKVBEE63.js} +2 -2
- package/dist/{chunk-BJWIKEQG.js → chunk-LVJGPE6H.js} +6 -14
- 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-ATEHYDL3.js → chunk-WWJ6S2HQ.js} +6 -2
- package/dist/{chunk-Q5HC6ENG.js → chunk-XOTJNW4Q.js} +1 -1
- package/dist/{chunk-ULZ2B3NC.js → chunk-ZBCTB5CA.js} +1 -1
- package/dist/components/index.css +85 -85
- package/dist/components/index.d.ts +1646 -1381
- package/dist/components/index.js +236 -30
- 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 +184 -3
- package/dist/features/crm/index.css +2 -2
- package/dist/features/crm/index.d.ts +189 -3
- 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 +189 -3
- 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 +210 -9
- 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 +184 -3
- package/dist/hooks/index.css +85 -85
- package/dist/hooks/index.d.ts +1815 -1515
- package/dist/hooks/index.js +8 -8
- package/dist/hooks/published.css +85 -85
- package/dist/hooks/published.d.ts +1815 -1515
- package/dist/hooks/published.js +8 -8
- package/dist/index.css +12 -12
- package/dist/index.d.ts +322 -16
- package/dist/index.js +9 -9
- package/dist/initialization/index.d.ts +184 -3
- 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 +184 -3
- 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 +359 -6
- 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 +195 -6
- package/package.json +2 -2
- /package/dist/{chunk-6GUW5GGF.js → chunk-6Z3G4U2R.js} +0 -0
|
@@ -1672,6 +1672,7 @@ type Database = {
|
|
|
1672
1672
|
Row: {
|
|
1673
1673
|
config: Json;
|
|
1674
1674
|
created_at: string | null;
|
|
1675
|
+
effective_permissions: string[];
|
|
1675
1676
|
id: string;
|
|
1676
1677
|
membership_status: string | null;
|
|
1677
1678
|
organization_id: string;
|
|
@@ -1683,6 +1684,7 @@ type Database = {
|
|
|
1683
1684
|
Insert: {
|
|
1684
1685
|
config?: Json;
|
|
1685
1686
|
created_at?: string | null;
|
|
1687
|
+
effective_permissions?: string[];
|
|
1686
1688
|
id?: string;
|
|
1687
1689
|
membership_status?: string | null;
|
|
1688
1690
|
organization_id: string;
|
|
@@ -1694,6 +1696,7 @@ type Database = {
|
|
|
1694
1696
|
Update: {
|
|
1695
1697
|
config?: Json;
|
|
1696
1698
|
created_at?: string | null;
|
|
1699
|
+
effective_permissions?: string[];
|
|
1697
1700
|
id?: string;
|
|
1698
1701
|
membership_status?: string | null;
|
|
1699
1702
|
organization_id?: string;
|
|
@@ -1719,6 +1722,147 @@ type Database = {
|
|
|
1719
1722
|
}
|
|
1720
1723
|
];
|
|
1721
1724
|
};
|
|
1725
|
+
org_rol_assignments: {
|
|
1726
|
+
Row: {
|
|
1727
|
+
granted_at: string;
|
|
1728
|
+
granted_by: string | null;
|
|
1729
|
+
membership_id: string;
|
|
1730
|
+
role_id: string;
|
|
1731
|
+
};
|
|
1732
|
+
Insert: {
|
|
1733
|
+
granted_at?: string;
|
|
1734
|
+
granted_by?: string | null;
|
|
1735
|
+
membership_id: string;
|
|
1736
|
+
role_id: string;
|
|
1737
|
+
};
|
|
1738
|
+
Update: {
|
|
1739
|
+
granted_at?: string;
|
|
1740
|
+
granted_by?: string | null;
|
|
1741
|
+
membership_id?: string;
|
|
1742
|
+
role_id?: string;
|
|
1743
|
+
};
|
|
1744
|
+
Relationships: [
|
|
1745
|
+
{
|
|
1746
|
+
foreignKeyName: "org_rol_assignments_granted_by_fkey";
|
|
1747
|
+
columns: ["granted_by"];
|
|
1748
|
+
isOneToOne: false;
|
|
1749
|
+
referencedRelation: "users";
|
|
1750
|
+
referencedColumns: ["id"];
|
|
1751
|
+
},
|
|
1752
|
+
{
|
|
1753
|
+
foreignKeyName: "org_rol_assignments_membership_id_fkey";
|
|
1754
|
+
columns: ["membership_id"];
|
|
1755
|
+
isOneToOne: false;
|
|
1756
|
+
referencedRelation: "org_memberships";
|
|
1757
|
+
referencedColumns: ["id"];
|
|
1758
|
+
},
|
|
1759
|
+
{
|
|
1760
|
+
foreignKeyName: "org_rol_assignments_role_id_fkey";
|
|
1761
|
+
columns: ["role_id"];
|
|
1762
|
+
isOneToOne: false;
|
|
1763
|
+
referencedRelation: "org_rol_definitions";
|
|
1764
|
+
referencedColumns: ["id"];
|
|
1765
|
+
}
|
|
1766
|
+
];
|
|
1767
|
+
};
|
|
1768
|
+
org_rol_definitions: {
|
|
1769
|
+
Row: {
|
|
1770
|
+
created_at: string;
|
|
1771
|
+
description: string | null;
|
|
1772
|
+
id: string;
|
|
1773
|
+
is_system: boolean;
|
|
1774
|
+
name: string;
|
|
1775
|
+
organization_id: string | null;
|
|
1776
|
+
slug: string;
|
|
1777
|
+
updated_at: string;
|
|
1778
|
+
};
|
|
1779
|
+
Insert: {
|
|
1780
|
+
created_at?: string;
|
|
1781
|
+
description?: string | null;
|
|
1782
|
+
id?: string;
|
|
1783
|
+
is_system?: boolean;
|
|
1784
|
+
name: string;
|
|
1785
|
+
organization_id?: string | null;
|
|
1786
|
+
slug: string;
|
|
1787
|
+
updated_at?: string;
|
|
1788
|
+
};
|
|
1789
|
+
Update: {
|
|
1790
|
+
created_at?: string;
|
|
1791
|
+
description?: string | null;
|
|
1792
|
+
id?: string;
|
|
1793
|
+
is_system?: boolean;
|
|
1794
|
+
name?: string;
|
|
1795
|
+
organization_id?: string | null;
|
|
1796
|
+
slug?: string;
|
|
1797
|
+
updated_at?: string;
|
|
1798
|
+
};
|
|
1799
|
+
Relationships: [
|
|
1800
|
+
{
|
|
1801
|
+
foreignKeyName: "org_rol_definitions_organization_id_fkey";
|
|
1802
|
+
columns: ["organization_id"];
|
|
1803
|
+
isOneToOne: false;
|
|
1804
|
+
referencedRelation: "organizations";
|
|
1805
|
+
referencedColumns: ["id"];
|
|
1806
|
+
}
|
|
1807
|
+
];
|
|
1808
|
+
};
|
|
1809
|
+
org_rol_grants: {
|
|
1810
|
+
Row: {
|
|
1811
|
+
granted_at: string;
|
|
1812
|
+
permission_key: string;
|
|
1813
|
+
role_id: string;
|
|
1814
|
+
};
|
|
1815
|
+
Insert: {
|
|
1816
|
+
granted_at?: string;
|
|
1817
|
+
permission_key: string;
|
|
1818
|
+
role_id: string;
|
|
1819
|
+
};
|
|
1820
|
+
Update: {
|
|
1821
|
+
granted_at?: string;
|
|
1822
|
+
permission_key?: string;
|
|
1823
|
+
role_id?: string;
|
|
1824
|
+
};
|
|
1825
|
+
Relationships: [
|
|
1826
|
+
{
|
|
1827
|
+
foreignKeyName: "org_rol_grants_permission_key_fkey";
|
|
1828
|
+
columns: ["permission_key"];
|
|
1829
|
+
isOneToOne: false;
|
|
1830
|
+
referencedRelation: "org_rol_permissions";
|
|
1831
|
+
referencedColumns: ["key"];
|
|
1832
|
+
},
|
|
1833
|
+
{
|
|
1834
|
+
foreignKeyName: "org_rol_grants_role_id_fkey";
|
|
1835
|
+
columns: ["role_id"];
|
|
1836
|
+
isOneToOne: false;
|
|
1837
|
+
referencedRelation: "org_rol_definitions";
|
|
1838
|
+
referencedColumns: ["id"];
|
|
1839
|
+
}
|
|
1840
|
+
];
|
|
1841
|
+
};
|
|
1842
|
+
org_rol_permissions: {
|
|
1843
|
+
Row: {
|
|
1844
|
+
created_at: string;
|
|
1845
|
+
description: string;
|
|
1846
|
+
is_org_grantable: boolean;
|
|
1847
|
+
key: string;
|
|
1848
|
+
updated_at: string;
|
|
1849
|
+
};
|
|
1850
|
+
Insert: {
|
|
1851
|
+
created_at?: string;
|
|
1852
|
+
description: string;
|
|
1853
|
+
is_org_grantable?: boolean;
|
|
1854
|
+
key: string;
|
|
1855
|
+
updated_at?: string;
|
|
1856
|
+
};
|
|
1857
|
+
Update: {
|
|
1858
|
+
created_at?: string;
|
|
1859
|
+
description?: string;
|
|
1860
|
+
is_org_grantable?: boolean;
|
|
1861
|
+
key?: string;
|
|
1862
|
+
updated_at?: string;
|
|
1863
|
+
};
|
|
1864
|
+
Relationships: [];
|
|
1865
|
+
};
|
|
1722
1866
|
organizations: {
|
|
1723
1867
|
Row: {
|
|
1724
1868
|
config: Json;
|
|
@@ -2476,7 +2620,8 @@ type Database = {
|
|
|
2476
2620
|
created_at: string;
|
|
2477
2621
|
description: string | null;
|
|
2478
2622
|
id: string;
|
|
2479
|
-
|
|
2623
|
+
key_hash: string;
|
|
2624
|
+
key_prefix: string | null;
|
|
2480
2625
|
last_triggered_at: string | null;
|
|
2481
2626
|
name: string;
|
|
2482
2627
|
organization_id: string;
|
|
@@ -2489,7 +2634,8 @@ type Database = {
|
|
|
2489
2634
|
created_at?: string;
|
|
2490
2635
|
description?: string | null;
|
|
2491
2636
|
id?: string;
|
|
2492
|
-
|
|
2637
|
+
key_hash: string;
|
|
2638
|
+
key_prefix?: string | null;
|
|
2493
2639
|
last_triggered_at?: string | null;
|
|
2494
2640
|
name: string;
|
|
2495
2641
|
organization_id: string;
|
|
@@ -2502,7 +2648,8 @@ type Database = {
|
|
|
2502
2648
|
created_at?: string;
|
|
2503
2649
|
description?: string | null;
|
|
2504
2650
|
id?: string;
|
|
2505
|
-
|
|
2651
|
+
key_hash?: string;
|
|
2652
|
+
key_prefix?: string | null;
|
|
2506
2653
|
last_triggered_at?: string | null;
|
|
2507
2654
|
name?: string;
|
|
2508
2655
|
organization_id?: string;
|
|
@@ -2548,6 +2695,13 @@ type Database = {
|
|
|
2548
2695
|
Args: never;
|
|
2549
2696
|
Returns: string;
|
|
2550
2697
|
};
|
|
2698
|
+
can_assign_role_in_org: {
|
|
2699
|
+
Args: {
|
|
2700
|
+
p_role_id: string;
|
|
2701
|
+
p_target_membership_id: string;
|
|
2702
|
+
};
|
|
2703
|
+
Returns: boolean;
|
|
2704
|
+
};
|
|
2551
2705
|
current_user_is_platform_admin: {
|
|
2552
2706
|
Args: never;
|
|
2553
2707
|
Returns: boolean;
|
|
@@ -2577,6 +2731,10 @@ type Database = {
|
|
|
2577
2731
|
user_id: string;
|
|
2578
2732
|
}[];
|
|
2579
2733
|
};
|
|
2734
|
+
get_platform_credential_kek: {
|
|
2735
|
+
Args: never;
|
|
2736
|
+
Returns: string;
|
|
2737
|
+
};
|
|
2580
2738
|
get_storage_org_id: {
|
|
2581
2739
|
Args: {
|
|
2582
2740
|
file_path: string;
|
|
@@ -2587,6 +2745,13 @@ type Database = {
|
|
|
2587
2745
|
Args: never;
|
|
2588
2746
|
Returns: string;
|
|
2589
2747
|
};
|
|
2748
|
+
has_org_permission: {
|
|
2749
|
+
Args: {
|
|
2750
|
+
org_id: string;
|
|
2751
|
+
perm_key: string;
|
|
2752
|
+
};
|
|
2753
|
+
Returns: boolean;
|
|
2754
|
+
};
|
|
2590
2755
|
is_org_admin: {
|
|
2591
2756
|
Args: {
|
|
2592
2757
|
org_id: string;
|
|
@@ -2619,6 +2784,22 @@ type Database = {
|
|
|
2619
2784
|
Args: never;
|
|
2620
2785
|
Returns: Json;
|
|
2621
2786
|
};
|
|
2787
|
+
recompute_all_memberships: {
|
|
2788
|
+
Args: never;
|
|
2789
|
+
Returns: undefined;
|
|
2790
|
+
};
|
|
2791
|
+
sync_all_memberships_with_role: {
|
|
2792
|
+
Args: {
|
|
2793
|
+
p_role_id: string;
|
|
2794
|
+
};
|
|
2795
|
+
Returns: undefined;
|
|
2796
|
+
};
|
|
2797
|
+
sync_one_membership: {
|
|
2798
|
+
Args: {
|
|
2799
|
+
p_membership_id: string;
|
|
2800
|
+
};
|
|
2801
|
+
Returns: undefined;
|
|
2802
|
+
};
|
|
2622
2803
|
upsert_user_profile: {
|
|
2623
2804
|
Args: never;
|
|
2624
2805
|
Returns: {
|
package/dist/layout/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { AppShellContainer, AppShellContentContainer, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CollapsibleSidebarGroup, CyberParticles, LinksGroup, Sidebar, SidebarContext, SidebarProvider, SubshellNavList, Topbar, TopbarContainer, Vignette, subsidebarWidth, useSidebar, useSidebarCollapse } from '../chunk-
|
|
1
|
+
export { AppShellContainer, AppShellContentContainer, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CollapsibleSidebarGroup, CyberParticles, LinksGroup, Sidebar, SidebarContext, SidebarProvider, SubshellNavList, Topbar, TopbarContainer, Vignette, subsidebarWidth, useSidebar, useSidebarCollapse } from '../chunk-6Z3G4U2R.js';
|
|
2
2
|
export { SubshellLoader, SubshellSidebarLoader } from '../chunk-3JCMO7SD.js';
|
|
3
3
|
export { AppShellCenteredContainer, AppShellError, AppShellLoader } from '../chunk-M25JL54Z.js';
|
|
4
4
|
export { PageContainer } from '../chunk-BZZCNLT6.js';
|
|
5
5
|
export { SubshellNavItem } from '../chunk-CEWTOKE7.js';
|
|
6
6
|
export { SubshellSidebarSection } from '../chunk-IIMU5YAJ.js';
|
|
7
7
|
export { AmbientBloomGrid, AppBackground, CyberBackground, FilmGrain, FloatingMotes, FloatingOrbs, PerspectiveGrid, RadiantGlow, WaveBackground } from '../chunk-WLOQ4IBG.js';
|
|
8
|
-
export { SubshellContainer, SubshellContentContainer, SubshellRightSideContainer, SubshellSidebar } from '../chunk-
|
|
8
|
+
export { SubshellContainer, SubshellContentContainer, SubshellRightSideContainer, SubshellSidebar } from '../chunk-TKAYX2SP.js';
|
|
9
9
|
import '../chunk-NYBEU5TE.js';
|
|
10
10
|
import '../chunk-2IFYDILW.js';
|
|
11
11
|
import '../chunk-Q7DJKLEN.js';
|