@elevasis/ui 2.22.0 → 2.24.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 +2915 -0
- package/dist/app/index.js +5 -4
- package/dist/{chunk-3HEUGBOT.js → chunk-2WZ635SS.js} +2 -2
- package/dist/{chunk-GJ7EIABJ.js → chunk-4NWNS7TX.js} +1 -1
- package/dist/{chunk-LKVBEE63.js → chunk-FUEXGRFR.js} +2 -2
- package/dist/{chunk-6IA2OMAE.js → chunk-HC2KV6BU.js} +9 -0
- package/dist/{chunk-IBUYJXA3.js → chunk-KCJ6VATY.js} +1133 -578
- package/dist/{chunk-WWJ6S2HQ.js → chunk-KLFIJDTD.js} +1 -1
- package/dist/{chunk-COG4ABRI.js → chunk-M2HWJY6O.js} +704 -375
- package/dist/{chunk-LVJGPE6H.js → chunk-MTR6AN2C.js} +3 -12
- package/dist/chunk-OWHQ65EQ.js +211 -0
- package/dist/{chunk-XOTJNW4Q.js → chunk-QIW6OCEI.js} +18 -1
- package/dist/{chunk-B4FHWKEF.js → chunk-QULLZ5PE.js} +193 -10
- package/dist/{chunk-QZJM3RYI.js → chunk-SNHGSCKH.js} +1 -1
- package/dist/{chunk-LVUCBY7X.js → chunk-UDJE54WN.js} +85 -3
- package/dist/{chunk-IOTLB6ND.js → chunk-VGNAV3TH.js} +406 -195
- package/dist/{chunk-BSZRKBAW.js → chunk-YBZT7MJR.js} +3 -3
- package/dist/{chunk-SQ5JGELM.js → chunk-ZDKQNQ4X.js} +19 -1
- package/dist/components/index.d.ts +500 -466
- package/dist/components/index.js +75 -32
- package/dist/components/navigation/index.js +2 -2
- package/dist/features/auth/index.d.ts +472 -389
- package/dist/features/crm/index.d.ts +468 -391
- package/dist/features/crm/index.js +8 -8
- package/dist/features/dashboard/index.js +8 -8
- package/dist/features/delivery/index.d.ts +466 -383
- package/dist/features/delivery/index.js +8 -8
- package/dist/features/lead-gen/index.d.ts +213 -65
- package/dist/features/lead-gen/index.js +9 -8
- package/dist/features/monitoring/index.js +9 -9
- package/dist/features/monitoring/requests/index.js +7 -7
- package/dist/features/operations/index.js +11 -10
- package/dist/features/settings/index.d.ts +472 -389
- package/dist/features/settings/index.js +9 -9
- package/dist/hooks/delivery/index.d.ts +466 -383
- package/dist/hooks/index.d.ts +967 -744
- package/dist/hooks/index.js +7 -7
- package/dist/hooks/published.d.ts +967 -744
- package/dist/hooks/published.js +7 -7
- package/dist/index.d.ts +1360 -1069
- package/dist/index.js +8 -8
- package/dist/initialization/index.d.ts +472 -389
- package/dist/organization/index.d.ts +11 -1
- package/dist/organization/index.js +2 -2
- package/dist/profile/index.d.ts +472 -389
- package/dist/provider/index.d.ts +3132 -169
- package/dist/provider/index.js +6 -6
- package/dist/provider/published.d.ts +3098 -168
- package/dist/provider/published.js +3 -3
- package/dist/supabase/index.d.ts +577 -413
- package/dist/test-utils/index.d.ts +21 -1
- package/dist/test-utils/index.js +13 -4
- package/dist/theme/index.js +2 -2
- package/dist/types/index.d.ts +472 -389
- package/package.json +2 -2
- package/src/test-utils/README.md +2 -0
- /package/dist/{chunk-ZBCTB5CA.js → chunk-EIOJNUPL.js} +0 -0
package/dist/app/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ElevasisUIProvider } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
import { ElevasisUIProvider } from '../chunk-2WZ635SS.js';
|
|
2
|
+
import '../chunk-QIW6OCEI.js';
|
|
3
3
|
import '../chunk-WLOQ4IBG.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-UDJE54WN.js';
|
|
5
5
|
import '../chunk-SZHARWKU.js';
|
|
6
6
|
import '../chunk-T6INEVX6.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-HC2KV6BU.js';
|
|
8
8
|
import '../chunk-QJ2KCHKX.js';
|
|
9
9
|
import '../chunk-SGXXJE52.js';
|
|
10
10
|
import '../chunk-KRWALB24.js';
|
|
@@ -58,6 +58,7 @@ function AppWithStore({ config }) {
|
|
|
58
58
|
queryClient: config.queryClient,
|
|
59
59
|
apiUrl: config.apiUrl,
|
|
60
60
|
onError: config.onApiError ? handleApiError : void 0,
|
|
61
|
+
crmActions: config.crmActions,
|
|
61
62
|
children: /* @__PURE__ */ jsx(AuthenticatedApp, { config })
|
|
62
63
|
}
|
|
63
64
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PRESETS, getPreset, generateShades, mantineThemeOverride, createCssVariablesResolver, PresetsProvider } from './chunk-
|
|
1
|
+
import { PRESETS, getPreset, generateShades, mantineThemeOverride, createCssVariablesResolver, PresetsProvider } from './chunk-QIW6OCEI.js';
|
|
2
2
|
import { AppBackground } from './chunk-WLOQ4IBG.js';
|
|
3
|
-
import { ElevasisCoreProvider } from './chunk-
|
|
3
|
+
import { ElevasisCoreProvider } from './chunk-UDJE54WN.js';
|
|
4
4
|
import { ElevasisLoader } from './chunk-SZHARWKU.js';
|
|
5
5
|
import { AppearanceProvider } from './chunk-QJ2KCHKX.js';
|
|
6
6
|
import { getErrorInfo, formatErrorMessage, getErrorTitle } from './chunk-SGXXJE52.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useCyberColors, CyberLegendItem, CyberAreaChart } from './chunk-TSSKOQBX.js';
|
|
2
|
-
import { useResourcesHealth } from './chunk-
|
|
2
|
+
import { useResourcesHealth } from './chunk-QULLZ5PE.js';
|
|
3
3
|
import { CardHeader, EmptyState } from './chunk-XUYBOO32.js';
|
|
4
4
|
import { getTimeRangeDates, formatBucketTime } from './chunk-SGXXJE52.js';
|
|
5
5
|
import { Paper, Center, Loader, Group } from '@mantine/core';
|
|
@@ -2,9 +2,9 @@ import { ResourceHealthChart } from './chunk-LGKLC5MG.js';
|
|
|
2
2
|
import { useCyberColors, HeroStatsRow } from './chunk-TSSKOQBX.js';
|
|
3
3
|
import { AppShellCenteredContainer, AppShellLoader } from './chunk-M25JL54Z.js';
|
|
4
4
|
import { STATUS_COLORS, getStatusIcon, formatDuration, getStatusColors, AGENT_CONSTANTS, shouldAnimateEdge, TIMELINE_CONSTANTS, calculateBarPosition, CONTAINER_CONSTANTS, useExecutionPath, useUnifiedWorkflowLayout, WORKFLOW_CONSTANTS, useReactFlowAgent } from './chunk-E4WQGJNS.js';
|
|
5
|
-
import { useExecuteResource, useDashboardMetrics, useResources, useTimeRangeDates, useUnresolvedErrors, useRecentExecutionsByResource, useCommandQueue, useScheduledTasks, useResourcesHealth } from './chunk-
|
|
5
|
+
import { useExecuteResource, useDashboardMetrics, useResources, useTimeRangeDates, useUnresolvedErrors, useRecentExecutionsByResource, useCommandQueue, useScheduledTasks, useResourcesHealth } from './chunk-QULLZ5PE.js';
|
|
6
6
|
import { Graph_module_css_default, useDirectedChainHighlighting, useNodeSelection, useFitViewTrigger } from './chunk-22UVE3RA.js';
|
|
7
|
-
import { glassBase } from './chunk-
|
|
7
|
+
import { glassBase } from './chunk-QIW6OCEI.js';
|
|
8
8
|
import { GlowDot, CardHeader, EmptyState, PageTitleCaption, TabCountBadge } from './chunk-XUYBOO32.js';
|
|
9
9
|
import { formatTimeAgo, getTimeRangeDates, formatRelativeTime } from './chunk-SGXXJE52.js';
|
|
10
10
|
import { ResourceStatusColors } from './chunk-KRWALB24.js';
|
|
@@ -112,6 +112,15 @@ function OrganizationProvider({ apiRequest, children }) {
|
|
|
112
112
|
if (!user?.id || !profileLoaded || hasInitializedRef.current) return;
|
|
113
113
|
fetchAndInitialize();
|
|
114
114
|
}, [user?.id, profileLoaded, fetchAndInitialize]);
|
|
115
|
+
useEffect(() => {
|
|
116
|
+
if (!hasInitializedRef.current) return;
|
|
117
|
+
if (!workosOrgId) return;
|
|
118
|
+
if (workosOrgId === currentWorkOSOrganizationId) return;
|
|
119
|
+
const target = memberships.find((m) => m.organization?.workos_org_id === workosOrgId);
|
|
120
|
+
if (!target) return;
|
|
121
|
+
applyMembership(target);
|
|
122
|
+
void queryClient.invalidateQueries();
|
|
123
|
+
}, [workosOrgId, currentWorkOSOrganizationId, memberships, applyMembership, queryClient]);
|
|
115
124
|
const switchOrganization = useCallback(
|
|
116
125
|
(workosOrgId2) => {
|
|
117
126
|
const target = memberships.find((m) => m.organization?.workos_org_id === workosOrgId2);
|