@elevasis/ui 2.28.1 → 2.30.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 +2 -2
- package/dist/app/index.d.ts +54 -0
- package/dist/app/index.js +10 -10
- package/dist/auth/index.js +4 -4
- package/dist/charts/index.d.ts +2 -1
- package/dist/charts/index.js +8 -8
- package/dist/{chunk-HNN3QALL.js → chunk-2DIYILF7.js} +9 -8
- package/dist/{chunk-XTVZFT7U.js → chunk-2Q2JQSQO.js} +1 -1
- package/dist/{chunk-UOHOKDKL.js → chunk-3GV5NHSS.js} +1052 -209
- package/dist/{chunk-PBNIW7KV.js → chunk-3MDNBHVB.js} +140 -9
- package/dist/{chunk-K4Q5QUHZ.js → chunk-4FZYEEPK.js} +6 -6
- package/dist/{chunk-MJMFIWEB.js → chunk-4SY6BTVZ.js} +2 -2
- package/dist/{chunk-HLFFKKT3.js → chunk-4VQ2PXMI.js} +14 -14
- package/dist/{chunk-WKJ47GIW.js → chunk-533DUEQY.js} +1 -1
- package/dist/{chunk-N63RKL3L.js → chunk-6EFVZV6X.js} +394 -311
- package/dist/{chunk-V3HUIZJX.js → chunk-6IXOKUBC.js} +1 -1
- package/dist/{chunk-GJXAAYZ3.js → chunk-6WXDE5LZ.js} +1 -1
- package/dist/{chunk-VKMNWHTL.js → chunk-6YT4IKJ7.js} +3 -3
- package/dist/{chunk-ZPXV5KI3.js → chunk-7E3FUTND.js} +1 -1
- package/dist/{chunk-YNYGUVGW.js → chunk-A7B7HLDF.js} +11 -10
- package/dist/{chunk-NU5FNTOB.js → chunk-AKOD52HS.js} +84 -15
- package/dist/{chunk-CT5IR4ZA.js → chunk-CLUP5H3C.js} +6 -9
- package/dist/{chunk-MYEOTM7D.js → chunk-CN2HC4D4.js} +5 -1
- package/dist/{chunk-ROSMICXG.js → chunk-CXY7FMUM.js} +35 -20
- package/dist/{chunk-HOIT677G.js → chunk-HUJCU55S.js} +1 -1
- package/dist/{chunk-SRNIHB7Y.js → chunk-HXZQWMKE.js} +1 -2
- package/dist/{chunk-M6OJ43NL.js → chunk-HYLERWRO.js} +99 -30
- package/dist/{chunk-XBMCDGHA.js → chunk-IKQ42WHU.js} +1 -1
- package/dist/{chunk-GESXCQWY.js → chunk-JA5ECJJB.js} +1 -1
- package/dist/{chunk-KU7ZDWQ7.js → chunk-JBWJ6WHZ.js} +1 -1
- package/dist/{chunk-MCRKFDKB.js → chunk-JKTPRYGV.js} +5 -5
- package/dist/{chunk-5WWZXCS5.js → chunk-KJ3QUBNU.js} +9 -2
- package/dist/{chunk-3HCTCMAS.js → chunk-LRZFLK2F.js} +3 -3
- package/dist/chunk-NITGGYH2.js +476 -0
- package/dist/{chunk-VMJVQAFZ.js → chunk-OAVTMITG.js} +1 -1
- package/dist/{chunk-TVJROM2V.js → chunk-P5WYW2GI.js} +58 -37
- package/dist/{chunk-5R27NFOI.js → chunk-SBCIB5TZ.js} +6 -27
- package/dist/{chunk-AYSO5A3R.js → chunk-SKXXT3E2.js} +4 -4
- package/dist/{chunk-MZCDRBSI.js → chunk-T2PAD63Y.js} +12 -12
- package/dist/{chunk-LH4GPYDX.js → chunk-T5Z7G2J2.js} +19 -3
- package/dist/{chunk-WFTNY755.js → chunk-VKIZUUPM.js} +1 -1
- package/dist/{chunk-S66IQSSR.js → chunk-WF227UBV.js} +1 -1
- package/dist/components/chat/index.d.ts +2 -1
- package/dist/components/chat/index.js +1 -1
- package/dist/components/index.js +42 -42
- package/dist/components/navigation/index.js +8 -8
- package/dist/features/auth/index.js +5 -5
- package/dist/features/crm/index.js +21 -21
- package/dist/features/dashboard/index.js +22 -22
- package/dist/features/delivery/index.js +21 -21
- package/dist/features/knowledge/index.js +45 -31
- package/dist/features/lead-gen/index.d.ts +116 -2
- package/dist/features/lead-gen/index.js +22 -22
- package/dist/features/monitoring/index.js +23 -23
- package/dist/features/monitoring/requests/index.js +20 -20
- package/dist/features/operations/index.js +27 -27
- package/dist/features/settings/index.js +22 -22
- package/dist/hooks/delivery/index.js +3 -3
- package/dist/hooks/index.d.ts +263 -4
- package/dist/hooks/index.js +20 -20
- package/dist/hooks/published.d.ts +263 -4
- package/dist/hooks/published.js +20 -20
- package/dist/index.d.ts +378 -10
- package/dist/index.js +21 -21
- package/dist/initialization/index.js +4 -4
- package/dist/knowledge/index.d.ts +55 -1
- package/dist/knowledge/index.js +102 -2
- package/dist/organization/index.js +4 -4
- package/dist/profile/index.js +2 -2
- package/dist/provider/ElevasisServiceContext.d.ts +11 -5
- package/dist/provider/ElevasisServiceContext.js +1 -1
- package/dist/provider/index.d.ts +119 -5
- package/dist/provider/index.js +17 -17
- package/dist/provider/published.d.ts +119 -5
- package/dist/provider/published.js +13 -13
- package/dist/test-utils/index.d.ts +3 -0
- package/dist/test-utils/index.js +30 -6
- package/dist/theme/index.js +3 -3
- package/dist/theme/presets/index.js +1 -1
- package/dist/utils/index.d.ts +1 -3
- package/dist/utils/index.js +1 -1
- package/dist/vite/index.js +2 -2
- package/dist/vite-plugin-knowledge/index.js +1 -1
- package/package.json +5 -5
- package/dist/chunk-JS7VBTC4.js +0 -250
package/dist/index.js
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import './chunk-XCYKC6OZ.js';
|
|
2
|
-
export { useAvailablePresets } from './chunk-
|
|
2
|
+
export { useAvailablePresets } from './chunk-IKQ42WHU.js';
|
|
3
3
|
export { GRAPH_CONSTANTS, calculateGraphHeight, useConnectionHighlight, useDirectedChainHighlighting, useFitViewTrigger, useGraphHighlighting, useNodeSelection } from './chunk-22UVE3RA.js';
|
|
4
4
|
export { AGENT_CONSTANTS, CONTAINER_CONSTANTS, SHARED_VIZ_CONSTANTS, STATUS_COLORS, TIMELINE_CONSTANTS, WORKFLOW_CONSTANTS, calculateBarPosition, formatDuration, getEdgeColor, getEdgeOpacity, getResourceStatusColor, getStatusColors, getStatusIcon, shouldAnimateEdge, useAgentIterationData, useExecutionPath, useReactFlowAgent, useTimelineData, useUnifiedWorkflowLayout, useWorkflowStepsLayout } from './chunk-E4WQGJNS.js';
|
|
5
5
|
import './chunk-7M2VOCYN.js';
|
|
6
|
-
export { ApiKeyService, CredentialService, DeploymentService, OperationsService, OrganizationMembershipService, WebhookEndpointService, acquisitionListKeys, collectResourceFilterFacets, companyKeys, contactKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, filterByDomainFilters, getResourceFilterFacetIds, isSessionCapable, labelResourceFilterFacet, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, operationsKeys, projectActivityKeys, requestsKeys, scheduleKeys, sessionsKeys, sortData, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useAddCompaniesToList, useAddContactsToList, useArchiveSession, useArchivedLogs, useArtifacts, useAssignRole, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, useContact, useContacts, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateArtifact, useCreateCompany, useCreateContact, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateList, useCreateOrgRole, useCreateSchedule, useCreateSession, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteApiKey, useDeleteCompanies, useDeleteContacts, useDeleteCredential, useDeleteDeal, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteOrgRole, useDeleteRequest, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeleteWebhookEndpoint, useDeriveActions, useEffectivePermissions, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAction, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionSSE, useExecutions, useGetExecutionHistory, useGetSchedule, useHasPermission, useList, useListApiKeys, useListDeployments, useListExecutions, useListMember, useListMembers, useListProgress, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useNotificationCount as useNotificationCountSSE, useNotifications, useOrgRoles, useOrganizationMembers, useOrganizationPermissions, usePaginationState, usePatchTask, usePauseSchedule, usePermissionCatalog, useProjectActivities, useProjectRealtime, useReactivateMembership, useRecentExecutionsByResource, useRemoveCompaniesFromList, useRequest, useRequestsList, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useRevokeRole, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStatusFilter, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTestNotification, useTimeRangeDates, useTopFailingResources, useTransitionItem, useTransitionListCompany, useTransitionListMember, useTransitionState, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateCompany, useUpdateContact, useUpdateCredential, useUpdateList, useUpdateListConfig, useUpdateListStatus, useUpdateMemberConfig, useUpdateOrgRole, useUpdateRequestStatus, useUpdateSchedule, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources, useWarningNotification, useWorkflowExecution } from './chunk-
|
|
7
|
-
export { observabilityKeys, useErrorTrends } from './chunk-
|
|
8
|
-
export { milestoneKeys, noteKeys, projectKeys, taskKeys, useCreateProject as useCreateDeliveryProject, useCreateMilestone, useCreateNote, useCreateTask, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteMilestone, useMilestones, useProject, useProjectMilestones, useProjectNotes, useProjectTasks, useProjects, useTasks, useUpdateProject as useUpdateDeliveryProject, useUpdateMilestone, useUpdateTask } from './chunk-
|
|
6
|
+
export { ApiKeyService, CredentialService, DeploymentService, OperationsService, OrganizationMembershipService, WebhookEndpointService, acquisitionListKeys, collectResourceFilterFacets, companyKeys, contactKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, filterByDomainFilters, getResourceFilterFacetIds, isSessionCapable, labelResourceFilterFacet, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, operationsKeys, projectActivityKeys, requestsKeys, scheduleKeys, sessionsKeys, sortData, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useAddCompaniesToList, useAddContactsToList, useArchiveSession, useArchivedLogs, useArtifacts, useAssignRole, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, useContact, useContacts, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateArtifact, useCreateCompany, useCreateContact, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateList, useCreateOrgRole, useCreateSchedule, useCreateSession, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteApiKey, useDeleteCompanies, useDeleteContacts, useDeleteCredential, useDeleteDeal, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteOrgRole, useDeleteRequest, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeleteWebhookEndpoint, useDeriveActions, useEffectivePermissions, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAction, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionSSE, useExecutions, useGetExecutionHistory, useGetSchedule, useHasPermission, useInFlightExecutions, useList, useListApiKeys, useListDeployments, useListExecutions, useListMember, useListMembers, useListProgress, useListRecords, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useNotificationCount as useNotificationCountSSE, useNotifications, useOrgRoles, useOrganizationMembers, useOrganizationPermissions, usePaginationState, usePatchTask, usePauseSchedule, usePermissionCatalog, useProjectActivities, useProjectRealtime, useReactivateMembership, useRecentExecutionsByResource, useRemoveCompaniesFromList, useRequest, useRequestsList, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useRevokeRole, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStatusFilter, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTestNotification, useTimeRangeDates, useTopFailingResources, useTransitionItem, useTransitionListCompany, useTransitionListMember, useTransitionState, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateCompany, useUpdateContact, useUpdateCredential, useUpdateList, useUpdateListConfig, useUpdateListStatus, useUpdateMemberConfig, useUpdateOrgRole, useUpdateRequestStatus, useUpdateSchedule, useUpdateWebhookEndpoint, useUserMemberships, useVerifyCredential, useVisibleResources, useWarningNotification, useWorkflowExecution } from './chunk-6EFVZV6X.js';
|
|
7
|
+
export { observabilityKeys, useErrorTrends } from './chunk-6YT4IKJ7.js';
|
|
8
|
+
export { milestoneKeys, noteKeys, projectKeys, taskKeys, useCreateProject as useCreateDeliveryProject, useCreateMilestone, useCreateNote, useCreateTask, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteMilestone, useMilestones, useProject, useProjectMilestones, useProjectNotes, useProjectTasks, useProjects, useTasks, useUpdateProject as useUpdateDeliveryProject, useUpdateMilestone, useUpdateTask } from './chunk-T2PAD63Y.js';
|
|
9
9
|
import './chunk-BRXELOHC.js';
|
|
10
10
|
export { useMergedExecution } from './chunk-3ZMAGTWF.js';
|
|
11
|
-
export { createTestFeaturesProvider } from './chunk-
|
|
12
|
-
export { ElevasisUIProvider } from './chunk-
|
|
13
|
-
export { PresetsProvider, TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, mantineThemeOverride, usePresetsContext } from './chunk-
|
|
14
|
-
export { generateShades, getPreset, PRESETS as presets } from './chunk-
|
|
11
|
+
export { createTestFeaturesProvider } from './chunk-OAVTMITG.js';
|
|
12
|
+
export { ElevasisUIProvider } from './chunk-SKXXT3E2.js';
|
|
13
|
+
export { PresetsProvider, TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, mantineThemeOverride, usePresetsContext } from './chunk-T5Z7G2J2.js';
|
|
14
|
+
export { generateShades, getPreset, PRESETS as presets } from './chunk-4VQ2PXMI.js';
|
|
15
15
|
import './chunk-WLOQ4IBG.js';
|
|
16
|
-
export { FeatureShell } from './chunk-
|
|
17
|
-
import './chunk-
|
|
16
|
+
export { FeatureShell } from './chunk-4SY6BTVZ.js';
|
|
17
|
+
import './chunk-6WXDE5LZ.js';
|
|
18
18
|
import './chunk-3KMDHCAR.js';
|
|
19
|
-
export { CrmActionsProvider, ElevasisCoreProvider, ListActionsProvider, NotificationProvider, useCrmActions, useListActions, useNotificationAdapter } from './chunk-
|
|
19
|
+
export { CrmActionsProvider, ElevasisCoreProvider, ListActionsProvider, NotificationProvider, useCrmActions, useListActions, useNotificationAdapter } from './chunk-AKOD52HS.js';
|
|
20
20
|
import './chunk-SZHARWKU.js';
|
|
21
|
-
export { ElevasisFeaturesProvider, createFeatureAccessHook, useElevasisFeatures, useOptionalElevasisFeatures } from './chunk-
|
|
21
|
+
export { ElevasisFeaturesProvider, createFeatureAccessHook, useElevasisFeatures, useOptionalElevasisFeatures } from './chunk-6IXOKUBC.js';
|
|
22
22
|
import './chunk-TKAYX2SP.js';
|
|
23
23
|
import './chunk-NYBEU5TE.js';
|
|
24
|
-
export { ApiClientProvider, useApiClient, useApiClientContext } from './chunk-
|
|
24
|
+
export { ApiClientProvider, useApiClient, useApiClientContext } from './chunk-7E3FUTND.js';
|
|
25
25
|
export { ScrollToTop, TanStackRouterBridge } from './chunk-2IFYDILW.js';
|
|
26
26
|
export { RouterProvider, useRouterContext } from './chunk-Q7DJKLEN.js';
|
|
27
|
-
export { OrganizationSwitcher, OrganizationSwitcherConnected, createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations } from './chunk-
|
|
28
|
-
export { OrganizationProvider } from './chunk-
|
|
27
|
+
export { OrganizationSwitcher, OrganizationSwitcherConnected, createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations } from './chunk-JA5ECJJB.js';
|
|
28
|
+
export { OrganizationProvider } from './chunk-HUJCU55S.js';
|
|
29
29
|
export { AppearanceProvider, useAppearance } from './chunk-E565XMTQ.js';
|
|
30
|
-
export { createUseAppInitialization } from './chunk-
|
|
30
|
+
export { createUseAppInitialization } from './chunk-JBWJ6WHZ.js';
|
|
31
31
|
import './chunk-DT3QYZVU.js';
|
|
32
32
|
import './chunk-RNP5R5I3.js';
|
|
33
|
-
export { APIClientError, API_URL, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT,
|
|
33
|
+
export { APIClientError, API_URL, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, PAGE_SIZE_DEFAULT, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, debounce, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, formatRelativeTime, formatTimeAgo, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, getTimeRangeDates, getTimeRangeLabel, isAPIClientError, restoreConsole, setupBrowserMocks, suppressKnownWarnings, validateEmail } from './chunk-HXZQWMKE.js';
|
|
34
34
|
export { ResourceStatusColors } from './chunk-KRWALB24.js';
|
|
35
|
-
export { AdminGuard, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck, useStableAccessToken } from './chunk-
|
|
36
|
-
export { InitializationContext, InitializationProvider, useInitialization } from './chunk-
|
|
35
|
+
export { AdminGuard, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck, useStableAccessToken } from './chunk-VKIZUUPM.js';
|
|
36
|
+
export { InitializationContext, InitializationProvider, useInitialization } from './chunk-533DUEQY.js';
|
|
37
37
|
export { OrganizationContext, useOrganization } from './chunk-DD3CCMCZ.js';
|
|
38
|
-
export { ProfileProvider, UserProfileService, useProfile, useUserProfile } from './chunk-
|
|
39
|
-
export { ElevasisServiceProvider, useElevasisServices } from './chunk-
|
|
38
|
+
export { ProfileProvider, UserProfileService, useProfile, useUserProfile } from './chunk-2Q2JQSQO.js';
|
|
39
|
+
export { ElevasisServiceProvider, useElevasisServices } from './chunk-KJ3QUBNU.js';
|
|
40
40
|
export { AuthProvider, useAuthContext } from './chunk-BRJ3QZ4E.js';
|
|
41
41
|
import './chunk-I2KLQ2HA.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { createUseAppInitialization } from '../chunk-
|
|
1
|
+
export { createUseAppInitialization } from '../chunk-JBWJ6WHZ.js';
|
|
2
2
|
import '../chunk-RNP5R5I3.js';
|
|
3
|
-
export { InitializationContext, InitializationProvider, useInitialization } from '../chunk-
|
|
3
|
+
export { InitializationContext, InitializationProvider, useInitialization } from '../chunk-533DUEQY.js';
|
|
4
4
|
import '../chunk-DD3CCMCZ.js';
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-2Q2JQSQO.js';
|
|
6
|
+
import '../chunk-KJ3QUBNU.js';
|
|
7
7
|
import '../chunk-BRJ3QZ4E.js';
|
|
8
8
|
import '../chunk-I2KLQ2HA.js';
|
|
@@ -765,11 +765,65 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
765
765
|
export: "export";
|
|
766
766
|
}>>;
|
|
767
767
|
stageKey: z.ZodString;
|
|
768
|
+
recordEntity: z.ZodOptional<z.ZodEnum<{
|
|
769
|
+
company: "company";
|
|
770
|
+
contact: "contact";
|
|
771
|
+
}>>;
|
|
772
|
+
recordsStageKey: z.ZodOptional<z.ZodString>;
|
|
773
|
+
recordSourceStageKey: z.ZodOptional<z.ZodString>;
|
|
768
774
|
dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
769
775
|
dependencyMode: z.ZodLiteral<"per-record-eligibility">;
|
|
770
776
|
capabilityKey: z.ZodString;
|
|
771
777
|
defaultBatchSize: z.ZodNumber;
|
|
772
778
|
maxBatchSize: z.ZodNumber;
|
|
779
|
+
recordColumns: z.ZodOptional<z.ZodObject<{
|
|
780
|
+
company: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
781
|
+
key: z.ZodString;
|
|
782
|
+
label: z.ZodString;
|
|
783
|
+
path: z.ZodString;
|
|
784
|
+
width: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
785
|
+
renderType: z.ZodOptional<z.ZodEnum<{
|
|
786
|
+
text: "text";
|
|
787
|
+
badge: "badge";
|
|
788
|
+
datetime: "datetime";
|
|
789
|
+
count: "count";
|
|
790
|
+
json: "json";
|
|
791
|
+
}>>;
|
|
792
|
+
badgeColor: z.ZodOptional<z.ZodString>;
|
|
793
|
+
}, z.core.$strip>>>;
|
|
794
|
+
contact: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
795
|
+
key: z.ZodString;
|
|
796
|
+
label: z.ZodString;
|
|
797
|
+
path: z.ZodString;
|
|
798
|
+
width: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
799
|
+
renderType: z.ZodOptional<z.ZodEnum<{
|
|
800
|
+
text: "text";
|
|
801
|
+
badge: "badge";
|
|
802
|
+
datetime: "datetime";
|
|
803
|
+
count: "count";
|
|
804
|
+
json: "json";
|
|
805
|
+
}>>;
|
|
806
|
+
badgeColor: z.ZodOptional<z.ZodString>;
|
|
807
|
+
}, z.core.$strip>>>;
|
|
808
|
+
}, z.core.$strip>>;
|
|
809
|
+
credentialRequirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
810
|
+
key: z.ZodString;
|
|
811
|
+
provider: z.ZodString;
|
|
812
|
+
credentialType: z.ZodEnum<{
|
|
813
|
+
"api-key": "api-key";
|
|
814
|
+
"api-key-secret": "api-key-secret";
|
|
815
|
+
oauth: "oauth";
|
|
816
|
+
"webhook-secret": "webhook-secret";
|
|
817
|
+
}>;
|
|
818
|
+
label: z.ZodString;
|
|
819
|
+
required: z.ZodBoolean;
|
|
820
|
+
selectionMode: z.ZodOptional<z.ZodEnum<{
|
|
821
|
+
single: "single";
|
|
822
|
+
multiple: "multiple";
|
|
823
|
+
}>>;
|
|
824
|
+
inputPath: z.ZodString;
|
|
825
|
+
verifyOnRun: z.ZodOptional<z.ZodBoolean>;
|
|
826
|
+
}, z.core.$strip>>>;
|
|
773
827
|
}, z.core.$strip>>;
|
|
774
828
|
}, z.core.$strip>>;
|
|
775
829
|
}, z.core.$strip>;
|
|
@@ -1219,7 +1273,7 @@ type OrganizationModel = z.infer<typeof OrganizationModelSchema>;
|
|
|
1219
1273
|
type OrgKnowledgeNode = z.infer<typeof OrgKnowledgeNodeSchema>;
|
|
1220
1274
|
type OrgKnowledgeKind = z.infer<typeof OrgKnowledgeKindSchema>;
|
|
1221
1275
|
|
|
1222
|
-
type OrganizationGraphNodeKind = 'organization' | 'feature' | 'surface' | 'entity' | 'capability' | 'resource' | 'knowledge';
|
|
1276
|
+
type OrganizationGraphNodeKind = 'organization' | 'feature' | 'surface' | 'entity' | 'capability' | 'stage' | 'resource' | 'knowledge';
|
|
1223
1277
|
type OrganizationGraphEdgeKind = 'contains' | 'references' | 'exposes' | 'maps_to' | 'operates-on' | 'uses' | 'governs';
|
|
1224
1278
|
|
|
1225
1279
|
interface OrganizationGraphNode {
|
package/dist/knowledge/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { NodeDescribeShell, NodeMetadataFooter, EdgeRelationshipGroup, NodeHeader, getKnowledgeIconToken, KindChip, KeyField } from '../chunk-
|
|
2
|
-
export { EdgeRelationshipGroup, KNOWLEDGE_ICON_TOKEN_BY_KIND, KindChip, KnowledgeSearchBar, KnowledgeTree, NodeDescribeShell, NodeHeader, NodeMetadataFooter, RelatedKnowledgeSection, getKnowledgeIconToken } from '../chunk-
|
|
1
|
+
import { NodeDescribeShell, NodeMetadataFooter, EdgeRelationshipGroup, NodeHeader, getKnowledgeIconToken, KindChip, KeyField, EdgeChip, EdgeGroup } from '../chunk-CLUP5H3C.js';
|
|
2
|
+
export { EdgeRelationshipGroup, KNOWLEDGE_ICON_TOKEN_BY_KIND, KindChip, KnowledgeSearchBar, KnowledgeTree, NodeDescribeShell, NodeHeader, NodeMetadataFooter, RelatedKnowledgeSection, getKnowledgeIconToken } from '../chunk-CLUP5H3C.js';
|
|
3
3
|
import '../chunk-X2SUMO3P.js';
|
|
4
4
|
import '../chunk-JDNEWB5F.js';
|
|
5
5
|
import { SemanticIcon } from '../chunk-JCGD4GM6.js';
|
|
@@ -5581,6 +5581,47 @@ function OrganizationDescribeView({
|
|
|
5581
5581
|
}
|
|
5582
5582
|
);
|
|
5583
5583
|
}
|
|
5584
|
+
function CapabilityDescribeView({ node, graph, knowledgeNodes, onNavigateToNode }) {
|
|
5585
|
+
const workflowEdge = graph.edges.find((e) => e.kind === "maps_to" && e.sourceId === node.id);
|
|
5586
|
+
const usedByStageIds = graph.edges.filter((e) => e.kind === "uses" && e.targetId === node.id).map((e) => e.sourceId).filter((id, i, arr) => arr.indexOf(id) === i);
|
|
5587
|
+
return /* @__PURE__ */ jsx(
|
|
5588
|
+
NodeDescribeShell,
|
|
5589
|
+
{
|
|
5590
|
+
header: /* @__PURE__ */ jsx(NodeHeader, { title: node.label, kind: node.kind, description: node.description }),
|
|
5591
|
+
content: /* @__PURE__ */ jsx(Stack, { gap: 4, children: node.sourceId && /* @__PURE__ */ jsx(KeyField, { label: "Capability ID", value: node.sourceId }) }),
|
|
5592
|
+
relationships: /* @__PURE__ */ jsxs(Stack, { gap: "xs", children: [
|
|
5593
|
+
workflowEdge && /* @__PURE__ */ jsxs(Stack, { gap: 4, children: [
|
|
5594
|
+
/* @__PURE__ */ jsx(Text, { size: "xs", c: "dimmed", fw: 500, children: "Workflow" }),
|
|
5595
|
+
/* @__PURE__ */ jsx(
|
|
5596
|
+
EdgeChip,
|
|
5597
|
+
{
|
|
5598
|
+
id: workflowEdge.targetId,
|
|
5599
|
+
onClick: onNavigateToNode ? () => onNavigateToNode(workflowEdge.targetId) : void 0
|
|
5600
|
+
}
|
|
5601
|
+
)
|
|
5602
|
+
] }),
|
|
5603
|
+
usedByStageIds.length > 0 && /* @__PURE__ */ jsx(
|
|
5604
|
+
EdgeGroup,
|
|
5605
|
+
{
|
|
5606
|
+
label: `Used by stages (${usedByStageIds.length})`,
|
|
5607
|
+
ids: usedByStageIds,
|
|
5608
|
+
onNavigateToNode
|
|
5609
|
+
}
|
|
5610
|
+
),
|
|
5611
|
+
/* @__PURE__ */ jsx(
|
|
5612
|
+
EdgeRelationshipGroup,
|
|
5613
|
+
{
|
|
5614
|
+
nodeId: node.id,
|
|
5615
|
+
graph,
|
|
5616
|
+
knowledgeNodes,
|
|
5617
|
+
onNavigateToNode
|
|
5618
|
+
}
|
|
5619
|
+
)
|
|
5620
|
+
] }),
|
|
5621
|
+
footer: /* @__PURE__ */ jsx(NodeMetadataFooter, { node })
|
|
5622
|
+
}
|
|
5623
|
+
);
|
|
5624
|
+
}
|
|
5584
5625
|
function ResourceDescribeView({ node, graph, knowledgeNodes, onNavigateToNode }) {
|
|
5585
5626
|
return /* @__PURE__ */ jsx(
|
|
5586
5627
|
NodeDescribeShell,
|
|
@@ -5607,6 +5648,45 @@ function ResourceDescribeView({ node, graph, knowledgeNodes, onNavigateToNode })
|
|
|
5607
5648
|
}
|
|
5608
5649
|
);
|
|
5609
5650
|
}
|
|
5651
|
+
function StageDescribeView({ node, graph, knowledgeNodes, onNavigateToNode }) {
|
|
5652
|
+
const capabilityIds = graph.edges.filter((e) => e.kind === "uses" && e.sourceId === node.id).map((e) => e.targetId).filter((id, i, arr) => arr.indexOf(id) === i);
|
|
5653
|
+
const dependsOnStageIds = graph.edges.filter((e) => e.kind === "references" && e.sourceId === node.id).map((e) => e.targetId).filter((id, i, arr) => arr.indexOf(id) === i);
|
|
5654
|
+
return /* @__PURE__ */ jsx(
|
|
5655
|
+
NodeDescribeShell,
|
|
5656
|
+
{
|
|
5657
|
+
header: /* @__PURE__ */ jsx(NodeHeader, { title: node.label, kind: node.kind, description: node.description }),
|
|
5658
|
+
content: /* @__PURE__ */ jsx(Stack, { gap: 4, children: node.sourceId && /* @__PURE__ */ jsx(KeyField, { label: "Stage Key", value: node.sourceId }) }),
|
|
5659
|
+
relationships: /* @__PURE__ */ jsxs(Stack, { gap: "xs", children: [
|
|
5660
|
+
capabilityIds.length > 0 && /* @__PURE__ */ jsx(
|
|
5661
|
+
EdgeGroup,
|
|
5662
|
+
{
|
|
5663
|
+
label: `Capabilities (${capabilityIds.length})`,
|
|
5664
|
+
ids: capabilityIds,
|
|
5665
|
+
onNavigateToNode
|
|
5666
|
+
}
|
|
5667
|
+
),
|
|
5668
|
+
dependsOnStageIds.length > 0 && /* @__PURE__ */ jsx(
|
|
5669
|
+
EdgeGroup,
|
|
5670
|
+
{
|
|
5671
|
+
label: `Depends on (${dependsOnStageIds.length})`,
|
|
5672
|
+
ids: dependsOnStageIds,
|
|
5673
|
+
onNavigateToNode
|
|
5674
|
+
}
|
|
5675
|
+
),
|
|
5676
|
+
/* @__PURE__ */ jsx(
|
|
5677
|
+
EdgeRelationshipGroup,
|
|
5678
|
+
{
|
|
5679
|
+
nodeId: node.id,
|
|
5680
|
+
graph,
|
|
5681
|
+
knowledgeNodes,
|
|
5682
|
+
onNavigateToNode
|
|
5683
|
+
}
|
|
5684
|
+
)
|
|
5685
|
+
] }),
|
|
5686
|
+
footer: /* @__PURE__ */ jsx(NodeMetadataFooter, { node })
|
|
5687
|
+
}
|
|
5688
|
+
);
|
|
5689
|
+
}
|
|
5610
5690
|
function resolveKnowledgeNode(graphNode, knowledgeNodes) {
|
|
5611
5691
|
const knowledgeId = graphNode.sourceId ?? graphNode.id.replace(/^knowledge:/, "");
|
|
5612
5692
|
return knowledgeNodes.find((knowledgeNode) => knowledgeNode.id === knowledgeId);
|
|
@@ -5672,6 +5752,26 @@ function DescribeNodeView({ node, graph, knowledgeNodes = [], onNavigateToNode }
|
|
|
5672
5752
|
onNavigateToNode
|
|
5673
5753
|
}
|
|
5674
5754
|
) });
|
|
5755
|
+
case "stage":
|
|
5756
|
+
return /* @__PURE__ */ jsx(GraphNodeFrame, { children: /* @__PURE__ */ jsx(
|
|
5757
|
+
StageDescribeView,
|
|
5758
|
+
{
|
|
5759
|
+
node,
|
|
5760
|
+
graph,
|
|
5761
|
+
knowledgeNodes,
|
|
5762
|
+
onNavigateToNode
|
|
5763
|
+
}
|
|
5764
|
+
) });
|
|
5765
|
+
case "capability":
|
|
5766
|
+
return /* @__PURE__ */ jsx(GraphNodeFrame, { children: /* @__PURE__ */ jsx(
|
|
5767
|
+
CapabilityDescribeView,
|
|
5768
|
+
{
|
|
5769
|
+
node,
|
|
5770
|
+
graph,
|
|
5771
|
+
knowledgeNodes,
|
|
5772
|
+
onNavigateToNode
|
|
5773
|
+
}
|
|
5774
|
+
) });
|
|
5675
5775
|
default:
|
|
5676
5776
|
return /* @__PURE__ */ jsx(GraphNodeFrame, { children: /* @__PURE__ */ jsx(
|
|
5677
5777
|
GenericDescribeView,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { OrganizationSwitcher, OrganizationSwitcherConnected, createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations } from '../chunk-
|
|
2
|
-
export { OrganizationProvider } from '../chunk-
|
|
1
|
+
export { OrganizationSwitcher, OrganizationSwitcherConnected, createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations } from '../chunk-JA5ECJJB.js';
|
|
2
|
+
export { OrganizationProvider } from '../chunk-HUJCU55S.js';
|
|
3
3
|
import '../chunk-RNP5R5I3.js';
|
|
4
4
|
export { OrganizationContext, useOrganization } from '../chunk-DD3CCMCZ.js';
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-2Q2JQSQO.js';
|
|
6
|
+
import '../chunk-KJ3QUBNU.js';
|
|
7
7
|
import '../chunk-BRJ3QZ4E.js';
|
|
8
8
|
import '../chunk-I2KLQ2HA.js';
|
package/dist/profile/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../chunk-RNP5R5I3.js';
|
|
2
|
-
export { ProfileProvider, UserProfileService, useProfile, useUserProfile } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
2
|
+
export { ProfileProvider, UserProfileService, useProfile, useUserProfile } from '../chunk-2Q2JQSQO.js';
|
|
3
|
+
import '../chunk-KJ3QUBNU.js';
|
|
4
4
|
import '../chunk-BRJ3QZ4E.js';
|
|
5
5
|
import '../chunk-I2KLQ2HA.js';
|
|
@@ -11,12 +11,18 @@ import { ReactNode } from 'react';
|
|
|
11
11
|
*/
|
|
12
12
|
interface ElevasisServiceContextValue {
|
|
13
13
|
apiRequest: <T>(endpoint: string, options?: RequestInit) => Promise<T>;
|
|
14
|
+
/** Organization ID alias retained for existing query-key consumers. */
|
|
14
15
|
organizationId: string | null;
|
|
16
|
+
/** WorkOS `org_xxx` string for the current organization. */
|
|
17
|
+
workOSOrganizationId: string | null;
|
|
15
18
|
isReady: boolean;
|
|
16
19
|
}
|
|
17
20
|
interface ElevasisServiceProviderProps {
|
|
18
21
|
apiRequest: <T>(endpoint: string, options?: RequestInit) => Promise<T>;
|
|
19
|
-
|
|
22
|
+
/** Organization ID alias retained for existing query-key consumers. */
|
|
23
|
+
organizationId?: string | null;
|
|
24
|
+
/** WorkOS `org_xxx` string for the current organization. */
|
|
25
|
+
workOSOrganizationId?: string | null;
|
|
20
26
|
isReady: boolean;
|
|
21
27
|
children: ReactNode;
|
|
22
28
|
}
|
|
@@ -25,7 +31,7 @@ declare const ElevasisServiceContext: react.Context<ElevasisServiceContextValue
|
|
|
25
31
|
|
|
26
32
|
/**
|
|
27
33
|
* Hook to access the ElevasisServiceProvider context.
|
|
28
|
-
* Provides apiRequest,
|
|
34
|
+
* Provides apiRequest, workOSOrganizationId, and isReady.
|
|
29
35
|
*
|
|
30
36
|
* Throws if used outside of an ElevasisServiceProvider or ElevasisUIProvider (with apiUrl).
|
|
31
37
|
*/
|
|
@@ -38,18 +44,18 @@ declare function useElevasisServices(): ElevasisServiceContextValue;
|
|
|
38
44
|
*
|
|
39
45
|
* @example Testing
|
|
40
46
|
* ```tsx
|
|
41
|
-
* <ElevasisServiceProvider apiRequest={mockApiRequest}
|
|
47
|
+
* <ElevasisServiceProvider apiRequest={mockApiRequest} workOSOrganizationId="org-1" isReady={true}>
|
|
42
48
|
* <ComponentUnderTest />
|
|
43
49
|
* </ElevasisServiceProvider>
|
|
44
50
|
* ```
|
|
45
51
|
*
|
|
46
52
|
* @example Embedding
|
|
47
53
|
* ```tsx
|
|
48
|
-
* <ElevasisServiceProvider apiRequest={myFetcher}
|
|
54
|
+
* <ElevasisServiceProvider apiRequest={myFetcher} workOSOrganizationId={orgId} isReady={!!orgId}>
|
|
49
55
|
* <CommandQueuePanel />
|
|
50
56
|
* </ElevasisServiceProvider>
|
|
51
57
|
* ```
|
|
52
58
|
*/
|
|
53
|
-
declare function ElevasisServiceProvider({ apiRequest, organizationId, isReady, children }: ElevasisServiceProviderProps): react_jsx_runtime.JSX.Element;
|
|
59
|
+
declare function ElevasisServiceProvider({ apiRequest, organizationId, workOSOrganizationId, isReady, children }: ElevasisServiceProviderProps): react_jsx_runtime.JSX.Element;
|
|
54
60
|
|
|
55
61
|
export { ElevasisServiceContext, ElevasisServiceProvider, useElevasisServices };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ElevasisServiceContext, ElevasisServiceProvider, useElevasisServices } from '../chunk-
|
|
1
|
+
export { ElevasisServiceContext, ElevasisServiceProvider, useElevasisServices } from '../chunk-KJ3QUBNU.js';
|
|
2
2
|
import '../chunk-I2KLQ2HA.js';
|
package/dist/provider/index.d.ts
CHANGED
|
@@ -3040,11 +3040,65 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
|
|
|
3040
3040
|
export: "export";
|
|
3041
3041
|
}>>;
|
|
3042
3042
|
stageKey: z$1.ZodString;
|
|
3043
|
+
recordEntity: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3044
|
+
company: "company";
|
|
3045
|
+
contact: "contact";
|
|
3046
|
+
}>>;
|
|
3047
|
+
recordsStageKey: z$1.ZodOptional<z$1.ZodString>;
|
|
3048
|
+
recordSourceStageKey: z$1.ZodOptional<z$1.ZodString>;
|
|
3043
3049
|
dependsOn: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
3044
3050
|
dependencyMode: z$1.ZodLiteral<"per-record-eligibility">;
|
|
3045
3051
|
capabilityKey: z$1.ZodString;
|
|
3046
3052
|
defaultBatchSize: z$1.ZodNumber;
|
|
3047
3053
|
maxBatchSize: z$1.ZodNumber;
|
|
3054
|
+
recordColumns: z$1.ZodOptional<z$1.ZodObject<{
|
|
3055
|
+
company: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
3056
|
+
key: z$1.ZodString;
|
|
3057
|
+
label: z$1.ZodString;
|
|
3058
|
+
path: z$1.ZodString;
|
|
3059
|
+
width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
|
|
3060
|
+
renderType: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3061
|
+
text: "text";
|
|
3062
|
+
badge: "badge";
|
|
3063
|
+
datetime: "datetime";
|
|
3064
|
+
count: "count";
|
|
3065
|
+
json: "json";
|
|
3066
|
+
}>>;
|
|
3067
|
+
badgeColor: z$1.ZodOptional<z$1.ZodString>;
|
|
3068
|
+
}, z$1.core.$strip>>>;
|
|
3069
|
+
contact: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
3070
|
+
key: z$1.ZodString;
|
|
3071
|
+
label: z$1.ZodString;
|
|
3072
|
+
path: z$1.ZodString;
|
|
3073
|
+
width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
|
|
3074
|
+
renderType: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3075
|
+
text: "text";
|
|
3076
|
+
badge: "badge";
|
|
3077
|
+
datetime: "datetime";
|
|
3078
|
+
count: "count";
|
|
3079
|
+
json: "json";
|
|
3080
|
+
}>>;
|
|
3081
|
+
badgeColor: z$1.ZodOptional<z$1.ZodString>;
|
|
3082
|
+
}, z$1.core.$strip>>>;
|
|
3083
|
+
}, z$1.core.$strip>>;
|
|
3084
|
+
credentialRequirements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
3085
|
+
key: z$1.ZodString;
|
|
3086
|
+
provider: z$1.ZodString;
|
|
3087
|
+
credentialType: z$1.ZodEnum<{
|
|
3088
|
+
"api-key": "api-key";
|
|
3089
|
+
"api-key-secret": "api-key-secret";
|
|
3090
|
+
oauth: "oauth";
|
|
3091
|
+
"webhook-secret": "webhook-secret";
|
|
3092
|
+
}>;
|
|
3093
|
+
label: z$1.ZodString;
|
|
3094
|
+
required: z$1.ZodBoolean;
|
|
3095
|
+
selectionMode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3096
|
+
single: "single";
|
|
3097
|
+
multiple: "multiple";
|
|
3098
|
+
}>>;
|
|
3099
|
+
inputPath: z$1.ZodString;
|
|
3100
|
+
verifyOnRun: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
3101
|
+
}, z$1.core.$strip>>>;
|
|
3048
3102
|
}, z$1.core.$strip>>;
|
|
3049
3103
|
}, z$1.core.$strip>>;
|
|
3050
3104
|
}, z$1.core.$catchall<z$1.ZodUnknown>>;
|
|
@@ -3758,11 +3812,65 @@ declare const OrganizationModelSchema: z$1.ZodObject<{
|
|
|
3758
3812
|
export: "export";
|
|
3759
3813
|
}>>;
|
|
3760
3814
|
stageKey: z$1.ZodString;
|
|
3815
|
+
recordEntity: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3816
|
+
company: "company";
|
|
3817
|
+
contact: "contact";
|
|
3818
|
+
}>>;
|
|
3819
|
+
recordsStageKey: z$1.ZodOptional<z$1.ZodString>;
|
|
3820
|
+
recordSourceStageKey: z$1.ZodOptional<z$1.ZodString>;
|
|
3761
3821
|
dependsOn: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
3762
3822
|
dependencyMode: z$1.ZodLiteral<"per-record-eligibility">;
|
|
3763
3823
|
capabilityKey: z$1.ZodString;
|
|
3764
3824
|
defaultBatchSize: z$1.ZodNumber;
|
|
3765
3825
|
maxBatchSize: z$1.ZodNumber;
|
|
3826
|
+
recordColumns: z$1.ZodOptional<z$1.ZodObject<{
|
|
3827
|
+
company: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
3828
|
+
key: z$1.ZodString;
|
|
3829
|
+
label: z$1.ZodString;
|
|
3830
|
+
path: z$1.ZodString;
|
|
3831
|
+
width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
|
|
3832
|
+
renderType: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3833
|
+
text: "text";
|
|
3834
|
+
badge: "badge";
|
|
3835
|
+
datetime: "datetime";
|
|
3836
|
+
count: "count";
|
|
3837
|
+
json: "json";
|
|
3838
|
+
}>>;
|
|
3839
|
+
badgeColor: z$1.ZodOptional<z$1.ZodString>;
|
|
3840
|
+
}, z$1.core.$strip>>>;
|
|
3841
|
+
contact: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
3842
|
+
key: z$1.ZodString;
|
|
3843
|
+
label: z$1.ZodString;
|
|
3844
|
+
path: z$1.ZodString;
|
|
3845
|
+
width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
|
|
3846
|
+
renderType: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3847
|
+
text: "text";
|
|
3848
|
+
badge: "badge";
|
|
3849
|
+
datetime: "datetime";
|
|
3850
|
+
count: "count";
|
|
3851
|
+
json: "json";
|
|
3852
|
+
}>>;
|
|
3853
|
+
badgeColor: z$1.ZodOptional<z$1.ZodString>;
|
|
3854
|
+
}, z$1.core.$strip>>>;
|
|
3855
|
+
}, z$1.core.$strip>>;
|
|
3856
|
+
credentialRequirements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
3857
|
+
key: z$1.ZodString;
|
|
3858
|
+
provider: z$1.ZodString;
|
|
3859
|
+
credentialType: z$1.ZodEnum<{
|
|
3860
|
+
"api-key": "api-key";
|
|
3861
|
+
"api-key-secret": "api-key-secret";
|
|
3862
|
+
oauth: "oauth";
|
|
3863
|
+
"webhook-secret": "webhook-secret";
|
|
3864
|
+
}>;
|
|
3865
|
+
label: z$1.ZodString;
|
|
3866
|
+
required: z$1.ZodBoolean;
|
|
3867
|
+
selectionMode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3868
|
+
single: "single";
|
|
3869
|
+
multiple: "multiple";
|
|
3870
|
+
}>>;
|
|
3871
|
+
inputPath: z$1.ZodString;
|
|
3872
|
+
verifyOnRun: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
3873
|
+
}, z$1.core.$strip>>>;
|
|
3766
3874
|
}, z$1.core.$strip>>;
|
|
3767
3875
|
}, z$1.core.$strip>>;
|
|
3768
3876
|
}, z$1.core.$strip>;
|
|
@@ -4452,12 +4560,18 @@ interface ElevasisCoreProviderProps {
|
|
|
4452
4560
|
*/
|
|
4453
4561
|
interface ElevasisServiceContextValue {
|
|
4454
4562
|
apiRequest: <T>(endpoint: string, options?: RequestInit) => Promise<T>;
|
|
4563
|
+
/** Organization ID alias retained for existing query-key consumers. */
|
|
4455
4564
|
organizationId: string | null;
|
|
4565
|
+
/** WorkOS `org_xxx` string for the current organization. */
|
|
4566
|
+
workOSOrganizationId: string | null;
|
|
4456
4567
|
isReady: boolean;
|
|
4457
4568
|
}
|
|
4458
4569
|
interface ElevasisServiceProviderProps {
|
|
4459
4570
|
apiRequest: <T>(endpoint: string, options?: RequestInit) => Promise<T>;
|
|
4460
|
-
|
|
4571
|
+
/** Organization ID alias retained for existing query-key consumers. */
|
|
4572
|
+
organizationId?: string | null;
|
|
4573
|
+
/** WorkOS `org_xxx` string for the current organization. */
|
|
4574
|
+
workOSOrganizationId?: string | null;
|
|
4461
4575
|
isReady: boolean;
|
|
4462
4576
|
children: ReactNode;
|
|
4463
4577
|
}
|
|
@@ -4660,7 +4774,7 @@ declare function useAppearance(): Required<AppearanceConfig>;
|
|
|
4660
4774
|
|
|
4661
4775
|
/**
|
|
4662
4776
|
* Hook to access the ElevasisServiceProvider context.
|
|
4663
|
-
* Provides apiRequest,
|
|
4777
|
+
* Provides apiRequest, workOSOrganizationId, and isReady.
|
|
4664
4778
|
*
|
|
4665
4779
|
* Throws if used outside of an ElevasisServiceProvider or ElevasisUIProvider (with apiUrl).
|
|
4666
4780
|
*/
|
|
@@ -4673,19 +4787,19 @@ declare function useElevasisServices(): ElevasisServiceContextValue;
|
|
|
4673
4787
|
*
|
|
4674
4788
|
* @example Testing
|
|
4675
4789
|
* ```tsx
|
|
4676
|
-
* <ElevasisServiceProvider apiRequest={mockApiRequest}
|
|
4790
|
+
* <ElevasisServiceProvider apiRequest={mockApiRequest} workOSOrganizationId="org-1" isReady={true}>
|
|
4677
4791
|
* <ComponentUnderTest />
|
|
4678
4792
|
* </ElevasisServiceProvider>
|
|
4679
4793
|
* ```
|
|
4680
4794
|
*
|
|
4681
4795
|
* @example Embedding
|
|
4682
4796
|
* ```tsx
|
|
4683
|
-
* <ElevasisServiceProvider apiRequest={myFetcher}
|
|
4797
|
+
* <ElevasisServiceProvider apiRequest={myFetcher} workOSOrganizationId={orgId} isReady={!!orgId}>
|
|
4684
4798
|
* <CommandQueuePanel />
|
|
4685
4799
|
* </ElevasisServiceProvider>
|
|
4686
4800
|
* ```
|
|
4687
4801
|
*/
|
|
4688
|
-
declare function ElevasisServiceProvider({ apiRequest, organizationId, isReady, children }: ElevasisServiceProviderProps): react_jsx_runtime.JSX.Element;
|
|
4802
|
+
declare function ElevasisServiceProvider({ apiRequest, organizationId, workOSOrganizationId, isReady, children }: ElevasisServiceProviderProps): react_jsx_runtime.JSX.Element;
|
|
4689
4803
|
|
|
4690
4804
|
/**
|
|
4691
4805
|
* Mantine-specific theme config — extends the headless core config with
|
package/dist/provider/index.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
export { createTestFeaturesProvider } from '../chunk-
|
|
2
|
-
export { ElevasisUIProvider } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
1
|
+
export { createTestFeaturesProvider } from '../chunk-OAVTMITG.js';
|
|
2
|
+
export { ElevasisUIProvider } from '../chunk-SKXXT3E2.js';
|
|
3
|
+
import '../chunk-T5Z7G2J2.js';
|
|
4
|
+
import '../chunk-4VQ2PXMI.js';
|
|
5
5
|
import '../chunk-WLOQ4IBG.js';
|
|
6
|
-
export { FeatureShell } from '../chunk-
|
|
7
|
-
import '../chunk-
|
|
6
|
+
export { FeatureShell } from '../chunk-4SY6BTVZ.js';
|
|
7
|
+
import '../chunk-6WXDE5LZ.js';
|
|
8
8
|
import '../chunk-3KMDHCAR.js';
|
|
9
|
-
export { CrmActionsProvider, ElevasisCoreProvider, ListActionsProvider, NotificationProvider, useCrmActions, useListActions, useNotificationAdapter } from '../chunk-
|
|
9
|
+
export { CrmActionsProvider, ElevasisCoreProvider, ListActionsProvider, NotificationProvider, useCrmActions, useListActions, useNotificationAdapter } from '../chunk-AKOD52HS.js';
|
|
10
10
|
import '../chunk-SZHARWKU.js';
|
|
11
|
-
export { ElevasisFeaturesProvider, useElevasisFeatures, useOptionalElevasisFeatures } from '../chunk-
|
|
11
|
+
export { ElevasisFeaturesProvider, useElevasisFeatures, useOptionalElevasisFeatures } from '../chunk-6IXOKUBC.js';
|
|
12
12
|
import '../chunk-TKAYX2SP.js';
|
|
13
13
|
import '../chunk-NYBEU5TE.js';
|
|
14
|
-
import '../chunk-
|
|
14
|
+
import '../chunk-7E3FUTND.js';
|
|
15
15
|
import '../chunk-2IFYDILW.js';
|
|
16
16
|
import '../chunk-Q7DJKLEN.js';
|
|
17
|
-
import '../chunk-
|
|
18
|
-
import '../chunk-
|
|
17
|
+
import '../chunk-JA5ECJJB.js';
|
|
18
|
+
import '../chunk-HUJCU55S.js';
|
|
19
19
|
export { AppearanceProvider, useAppearance } from '../chunk-E565XMTQ.js';
|
|
20
|
-
import '../chunk-
|
|
20
|
+
import '../chunk-JBWJ6WHZ.js';
|
|
21
21
|
import '../chunk-DT3QYZVU.js';
|
|
22
22
|
import '../chunk-RNP5R5I3.js';
|
|
23
|
-
import '../chunk-
|
|
23
|
+
import '../chunk-HXZQWMKE.js';
|
|
24
24
|
import '../chunk-KRWALB24.js';
|
|
25
|
-
import '../chunk-
|
|
26
|
-
import '../chunk-
|
|
25
|
+
import '../chunk-VKIZUUPM.js';
|
|
26
|
+
import '../chunk-533DUEQY.js';
|
|
27
27
|
import '../chunk-DD3CCMCZ.js';
|
|
28
|
-
import '../chunk-
|
|
29
|
-
export { ElevasisServiceProvider, useElevasisServices } from '../chunk-
|
|
28
|
+
import '../chunk-2Q2JQSQO.js';
|
|
29
|
+
export { ElevasisServiceProvider, useElevasisServices } from '../chunk-KJ3QUBNU.js';
|
|
30
30
|
import '../chunk-BRJ3QZ4E.js';
|
|
31
31
|
import '../chunk-I2KLQ2HA.js';
|