@nivaro/react 0.2.55 → 0.2.56
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/hooks/useSessionRecorder.js +1 -1
- package/dist/index.d.ts +28 -0
- package/dist/index.js +133 -130
- package/dist/shared/lib/stale-chunk.js +60 -0
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ import { normalizeReplaySampling as x, replaySampleDraw as Ae, currentReplayRout
|
|
|
8
8
|
import { emitReplayTap as Ce, setReplayRecorderMode as N, registerReplayCapture as Ie, clipEndOffset as _e, withClipKind as De } from "../shared/lib/replay-capture.js";
|
|
9
9
|
import { instrumentConsole as qe, instrumentRequests as Le, redactSecrets as Te } from "../shared/lib/replay-context.js";
|
|
10
10
|
import { instrumentSocket as Pe } from "../shared/lib/replay-socket.js";
|
|
11
|
-
const Ne = "nivaro-react@0.2.
|
|
11
|
+
const Ne = "nivaro-react@0.2.56", j = 1e4, Me = 150, Oe = 3e3, Ue = 600, We = (n) => `nvr_replay_resume${n ? `:${n}` : ""}`, G = () => typeof navigator > "u" || navigator.onLine !== !1;
|
|
12
12
|
function Fe(n) {
|
|
13
13
|
return typeof n.url != "string" || typeof fetch != "function" ? null : (f, a) => {
|
|
14
14
|
const l = typeof n.getToken == "function" ? n.getToken() : void 0, d = { "Content-Type": "application/json" };
|
package/dist/index.d.ts
CHANGED
|
@@ -4181,6 +4181,9 @@ export declare function installIntentPrefetch(opts: IntentPrefetchOptions): () =
|
|
|
4181
4181
|
/** Idempotent; a no-op outside a browser. Watches for the rest of the page's life. */
|
|
4182
4182
|
export declare function installReplayTail(): void;
|
|
4183
4183
|
|
|
4184
|
+
/** Listen for chunk-load failures (Vite's preload error and unhandled import rejections). */
|
|
4185
|
+
export declare function installStaleChunkRecovery(opts?: StaleChunkRecoveryOptions): () => void;
|
|
4186
|
+
|
|
4184
4187
|
export declare type IntegrationActionResult = {
|
|
4185
4188
|
key: string;
|
|
4186
4189
|
ok: boolean;
|
|
@@ -4547,6 +4550,21 @@ export declare function isChatPanelPinned(): boolean;
|
|
|
4547
4550
|
|
|
4548
4551
|
export declare function isCleanRecording(): boolean;
|
|
4549
4552
|
|
|
4553
|
+
/**
|
|
4554
|
+
* Stale code chunks after a deploy. Screens load lazily by hashed file names, and a new
|
|
4555
|
+
* release no longer serves the previous build's files — so a tab opened before the deploy
|
|
4556
|
+
* failed to open any screen it had not visited yet ("Failed to fetch dynamically imported
|
|
4557
|
+
* module") until someone reloaded. During a rolling deploy one replica briefly serves the new
|
|
4558
|
+
* build while another still serves the old one, which makes it likelier.
|
|
4559
|
+
*
|
|
4560
|
+
* `installStaleChunkRecovery()` reloads the tab onto the current build when a chunk fails to
|
|
4561
|
+
* load. A second failure within the window means a reload does not help (the server really
|
|
4562
|
+
* is missing the file, or the network is down): it stops reloading and calls `onGiveUp`, so
|
|
4563
|
+
* the host can say so instead of looping.
|
|
4564
|
+
*/
|
|
4565
|
+
/** Whether an error (or a rejection reason) is a code chunk that could not be loaded. */
|
|
4566
|
+
export declare function isStaleChunkError(reason: unknown): boolean;
|
|
4567
|
+
|
|
4550
4568
|
export declare function ItemActionButtons({ collection, itemId }: {
|
|
4551
4569
|
collection: string;
|
|
4552
4570
|
itemId: string;
|
|
@@ -8851,6 +8869,16 @@ declare interface SpriteSheet {
|
|
|
8851
8869
|
interval_ms: number;
|
|
8852
8870
|
}
|
|
8853
8871
|
|
|
8872
|
+
declare interface StaleChunkRecoveryOptions {
|
|
8873
|
+
/** Called instead of a second reload inside the window. */
|
|
8874
|
+
onGiveUp?: () => void;
|
|
8875
|
+
/** Test seams. */
|
|
8876
|
+
storage?: Pick<Storage, 'getItem' | 'setItem'> | null;
|
|
8877
|
+
reload?: () => void;
|
|
8878
|
+
now?: () => number;
|
|
8879
|
+
target?: Pick<Window, 'addEventListener' | 'removeEventListener'>;
|
|
8880
|
+
}
|
|
8881
|
+
|
|
8854
8882
|
/**
|
|
8855
8883
|
* Idempotent; safe from an effect that runs more than once, and safe to call
|
|
8856
8884
|
* from several components — only the first call arms the timer.
|
package/dist/index.js
CHANGED
|
@@ -5,12 +5,12 @@ import { NumberField as n } from "./components/fields/NumberField.js";
|
|
|
5
5
|
import { RelationField as l } from "./components/fields/RelationField.js";
|
|
6
6
|
import { SelectField as u } from "./components/fields/SelectField.js";
|
|
7
7
|
import { TextareaField as d } from "./components/fields/TextareaField.js";
|
|
8
|
-
import { TextField as
|
|
8
|
+
import { TextField as C } from "./components/fields/TextField.js";
|
|
9
9
|
import { LayoutForm as g } from "./components/LayoutForm.js";
|
|
10
10
|
import { NivaroField as h } from "./components/NivaroField.js";
|
|
11
11
|
import { NivaroForm as y } from "./components/NivaroForm.js";
|
|
12
12
|
import { useAutoRecord as A } from "./hooks/useAutoRecord.js";
|
|
13
|
-
import { clearFormSchemaCache as T, fetchSchema as F, useFormSchema as
|
|
13
|
+
import { clearFormSchemaCache as T, fetchSchema as F, useFormSchema as k } from "./hooks/useFormSchema.js";
|
|
14
14
|
import { useFieldArray as E, useFieldState as v, useFormDirty as D, useFormStatus as O, useOrderedLayout as b, useSectionState as N, useTabState as B, useWatchFields as L } from "./hooks/useLayoutHooks.js";
|
|
15
15
|
import { liveListKey as H, liveRecordKey as _, useLiveList as Q, useLiveRecord as W } from "./hooks/useLive.js";
|
|
16
16
|
import { useNivaroForm as U } from "./hooks/useNivaroForm.js";
|
|
@@ -19,12 +19,12 @@ import { captureErrorClip as J, useSessionRecorder as Y } from "./hooks/useSessi
|
|
|
19
19
|
import { ACTIVE_USER_OPTION_FILTER as X, PEOPLE_USER_OPTION_FILTER as Z, choiceLabel as $, formatDate as ee, formatDateTime as oe, formatFileSize as re, formatNumber as te, formatRelative as ie, resolveCollectionIcon as ae, setDisplayTimezone as se, setNumberFormat as pe, setTimeDisplay as ne, titleCase as me, userOptionFilter as le } from "./shared/lib/utils.js";
|
|
20
20
|
import { AccessDeniedPanel as ue } from "./shared/components/panels/AccessDeniedPanel.js";
|
|
21
21
|
import { AddendumPanel as de } from "./shared/components/panels/AddendumPanel.js";
|
|
22
|
-
import { AiAnalyticsView as
|
|
22
|
+
import { AiAnalyticsView as Ce } from "./shared/components/ai/AiAnalyticsView.js";
|
|
23
23
|
import { AiFeedbackButtons as ge } from "./shared/components/ai/AiFeedbackButtons.js";
|
|
24
24
|
import { AiMarkdown as he } from "./shared/components/ai/AiMarkdown.js";
|
|
25
25
|
import { AiMemorySuggestions as ye } from "./shared/components/ai/AiMemorySuggestions.js";
|
|
26
26
|
import { AiReviewCard as Ae, OwnerGapsCard as Ie, PipelineEditorView as Te, PipelineSimulatorCard as Fe } from "./shared/components/pipeline/PipelineEditorView.js";
|
|
27
|
-
import { AlertManagerView as
|
|
27
|
+
import { AlertManagerView as Ve } from "./shared/components/alerts/AlertManagerView.js";
|
|
28
28
|
import { AlertRuleDrawer as ve, AnomalyRuleDrawer as De } from "./shared/components/alerts/drawers.js";
|
|
29
29
|
import { AnnouncementBanner as be } from "./shared/components/AnnouncementBanner.js";
|
|
30
30
|
import { ApiRequestLog as Be, InboundCallersView as Le } from "./shared/components/monitoring/ApiRequestLog.js";
|
|
@@ -40,10 +40,10 @@ import { BaseMap as io } from "./shared/components/BaseMap.js";
|
|
|
40
40
|
import { BroadcastView as so } from "./shared/components/BroadcastView.js";
|
|
41
41
|
import { BrowserPushCard as no } from "./shared/components/profile/BrowserPushCard.js";
|
|
42
42
|
import { BulkActionButtons as lo, useAvailableBulkActions as fo } from "./shared/components/bulk/BulkActionButtons.js";
|
|
43
|
-
import { CLEAN_RECORDING_ATTR as xo, DEMO_USER as co, RECORDING_ATTR as
|
|
43
|
+
import { CLEAN_RECORDING_ATTR as xo, DEMO_USER as co, RECORDING_ATTR as Co, RECORDING_HIDE_ATTR as Ro, beginCleanRecording as go, beginRecordingScreen as So, isCleanRecording as ho, setRecordingSelf as Po, useCleanRecording as yo, useIsRecordingSelf as wo } from "./shared/components/help-videos/recorder/cleanRecording.js";
|
|
44
44
|
import { CacheStamp as Io } from "./shared/components/CacheStamp.js";
|
|
45
45
|
import { CallerChangesSection as Fo } from "./shared/components/monitoring/CallerChanges.js";
|
|
46
|
-
import { CellCopyLayer as
|
|
46
|
+
import { CellCopyLayer as Vo } from "./shared/components/CellCopyLayer.js";
|
|
47
47
|
import { ChangeReasonDialog as vo, changeReasonChallenge as Do } from "./shared/components/item-edit/ChangeReasonDialog.js";
|
|
48
48
|
import { ChatAnalyticsView as bo } from "./shared/components/chat/ChatAnalyticsView.js";
|
|
49
49
|
import { ChatAppearAwayRow as Bo, ChatChannelBrowser as Lo, ChatChannelSettings as Mo, ChatPanel as Ho, ChatProvider as _o, ChatRoomList as Qo, ChatRoomView as Wo, ChatSideView as Go, isChatPanelPinned as Uo } from "./shared/components/chat/ChatPanel.js";
|
|
@@ -57,12 +57,12 @@ import { CopyAsButton as ir } from "./shared/components/CopyAsButton.js";
|
|
|
57
57
|
import { CronBuilder as sr, describeCron as pr } from "./shared/components/CronBuilder.js";
|
|
58
58
|
import { CustomActionButtons as mr } from "./shared/components/panels/CustomActionButtons.js";
|
|
59
59
|
import { CustomStatusEditor as fr, activeCustomStatus as ur, formatStatusExpiry as xr } from "./shared/components/CustomStatusEditor.js";
|
|
60
|
-
import { DataTable as cr, FilterControl as
|
|
60
|
+
import { DataTable as cr, FilterControl as Cr, filterDefLabel as Rr, filterValueDisplay as gr } from "./shared/components/DataTable.js";
|
|
61
61
|
import { DbTuningView as hr } from "./shared/components/ops/DbTuningView.js";
|
|
62
62
|
import { DefinitionsPanel as yr } from "./shared/components/imports/DefinitionsPanel.js";
|
|
63
63
|
import { DelegationCard as Ar } from "./shared/components/profile/DelegationCard.js";
|
|
64
64
|
import { DelegationConsoleView as Tr } from "./shared/components/delegation/DelegationConsoleView.js";
|
|
65
|
-
import { DeliveryChips as
|
|
65
|
+
import { DeliveryChips as kr } from "./shared/components/notifications/DeliveryChips.js";
|
|
66
66
|
import { DisplayPrefsCard as Er, NotificationRulesCard as vr, ProfileFieldsCard as Dr, ProfileView as Or, TimezoneCard as br } from "./shared/components/ProfileView.js";
|
|
67
67
|
import { DndMark as Br, DoNotDisturbRow as Lr, useDndActive as Mr } from "./shared/components/DoNotDisturb.js";
|
|
68
68
|
import { DocumentAutofillButton as _r } from "./shared/components/import/DocumentAutofillButton.js";
|
|
@@ -70,12 +70,12 @@ import { DrilldownContext as Wr, DrilldownViewsContext as Gr, GridFlushContext a
|
|
|
70
70
|
import { EmptyState as lt } from "./shared/components/EmptyState.js";
|
|
71
71
|
import { ErpFailureBanner as ut } from "./shared/components/panels/ErpFailureBanner.js";
|
|
72
72
|
import { ErrorSurface as dt } from "./shared/components/ErrorSurface.js";
|
|
73
|
-
import { EventPathSheet as
|
|
73
|
+
import { EventPathSheet as Ct } from "./shared/components/integrations/console/event-path/EventPathSheet.js";
|
|
74
74
|
import { ExternalRequestsChip as gt } from "./shared/components/panels/ExternalRequestsChip.js";
|
|
75
75
|
import { FORCE_RELOAD_EVENT as ht, ForceReloadBanner as Pt } from "./shared/components/ForceReloadBanner.js";
|
|
76
76
|
import { FieldRenderer as wt } from "./shared/components/item-edit/FieldRenderer.js";
|
|
77
77
|
import { FilePreviewLightbox as It, canPreviewFile as Tt } from "./shared/components/FilePreviewLightbox.js";
|
|
78
|
-
import { FirefightView as
|
|
78
|
+
import { FirefightView as kt, rankSignals as Vt } from "./shared/components/integrations/console/FirefightView.js";
|
|
79
79
|
import { FirstLoginChecklist as vt } from "./shared/components/FirstLoginChecklist.js";
|
|
80
80
|
import { FormulaEditor as Ot } from "./shared/components/FormulaEditor.js";
|
|
81
81
|
import { HScrollProxy as Nt } from "./shared/components/HScrollProxy.js";
|
|
@@ -91,13 +91,13 @@ import { HouseStyleButton as ei } from "./shared/components/help-videos/settings
|
|
|
91
91
|
import { IDLE_AFTER_MS as ri, idleState as ti, onIdleChange as ii, trackActivity as ai } from "./shared/lib/idle.js";
|
|
92
92
|
import { INTEGRATIONS_FILTER_OPTIONS as pi, IntegrationDots as ni } from "./shared/components/integrations/IntegrationDots.js";
|
|
93
93
|
import { ImportConsole as li } from "./shared/components/imports/ImportConsole.js";
|
|
94
|
-
import { ImportDefaultCadenceControl as ui, ImportStalenessChip as xi, ImportStalenessControl as di, useImportHealth as ci, useSetImportCadence as
|
|
94
|
+
import { ImportDefaultCadenceControl as ui, ImportStalenessChip as xi, ImportStalenessControl as di, useImportHealth as ci, useSetImportCadence as Ci } from "./shared/components/imports/ImportStalenessControl.js";
|
|
95
95
|
import { ImportFromFileButton as gi } from "./shared/components/import/ImportFromFileButton.js";
|
|
96
96
|
import { ImportIssuesPanel as hi } from "./shared/components/import/ImportIssuesPanel.js";
|
|
97
97
|
import { InactiveUserLinksView as yi } from "./shared/components/monitoring/InactiveUserLinksView.js";
|
|
98
98
|
import { InboundRequestPopover as Ai } from "./shared/components/integrations/InboundRequest.js";
|
|
99
99
|
import { InboundView as Ti } from "./shared/components/integrations/console/InboundView.js";
|
|
100
|
-
import { InlineTableField as
|
|
100
|
+
import { InlineTableField as ki } from "./shared/components/item-edit/InlineTableField.js";
|
|
101
101
|
import { IntegrationObligationsView as Ei } from "./shared/components/integrations/IntegrationObligationsView.js";
|
|
102
102
|
import { IntegrationsConsole as Di } from "./shared/components/integrations/console/IntegrationsConsole.js";
|
|
103
103
|
import { ItemActionButtons as bi } from "./shared/components/panels/ItemActionButtons.js";
|
|
@@ -114,13 +114,13 @@ import { NewImportDialog as na } from "./shared/components/imports/NewImportDial
|
|
|
114
114
|
import { NotificationActions as la } from "./shared/components/notifications/NotificationActions.js";
|
|
115
115
|
import { NotificationAnalyticsView as ua } from "./shared/components/notifications/NotificationAnalyticsView.js";
|
|
116
116
|
import { NotificationBell as da } from "./shared/components/NotificationBell.js";
|
|
117
|
-
import { NotificationCenterView as
|
|
117
|
+
import { NotificationCenterView as Ca } from "./shared/components/notifications/NotificationCenterView.js";
|
|
118
118
|
import { NotificationSourcesCard as ga } from "./shared/components/NotificationSourcesCard.js";
|
|
119
119
|
import { NotificationSubscriptionsView as ha } from "./shared/components/notifications/NotificationSubscriptionsView.js";
|
|
120
120
|
import { NotificationTemplatesView as ya } from "./shared/components/notifications/NotificationTemplatesView.js";
|
|
121
121
|
import { OfflineBanner as Aa } from "./shared/components/OfflineBanner.js";
|
|
122
122
|
import { OpsTasksView as Ta } from "./shared/components/ops/OpsTasksView.js";
|
|
123
|
-
import { OutboundPreviewSection as
|
|
123
|
+
import { OutboundPreviewSection as ka, PushReadinessChip as Va, focusRecordTarget as Ea } from "./shared/components/integrations/RecordIntegrationPreview.js";
|
|
124
124
|
import { OwnerAvatars as Da } from "./shared/components/queue/OwnerAvatars.js";
|
|
125
125
|
import { OwnerMatrix as ba } from "./shared/components/pipeline/OwnerMatrix.js";
|
|
126
126
|
import { OwnersSlot as Ba } from "./shared/components/panels/OwnersSlot.js";
|
|
@@ -136,18 +136,18 @@ import { PlanGridHostContext as ns, usePlanGridHost as ms } from "./shared/compo
|
|
|
136
136
|
import { SectionCard as fs } from "./shared/components/profile/primitives.js";
|
|
137
137
|
import { QualityRulesView as xs } from "./shared/components/QualityRulesView.js";
|
|
138
138
|
import { QueryStatStrip as cs } from "./shared/components/QueryStatStrip.js";
|
|
139
|
-
import { QueryTable as
|
|
139
|
+
import { QueryTable as Rs } from "./shared/components/QueryTable.js";
|
|
140
140
|
import { QueryWidgetBody as Ss, ReportView as hs, ReportWidgetCard as Ps } from "./shared/components/ReportView.js";
|
|
141
141
|
import { QueueBulkBar as ws } from "./shared/components/queue/QueueBulkBar.js";
|
|
142
142
|
import { QueueItemSheet as Is } from "./shared/components/queue/QueueItemSheet.js";
|
|
143
143
|
import { QueueKanbanBoard as Fs } from "./shared/components/queue/QueueKanbanBoard.js";
|
|
144
|
-
import { QueueWorklist as
|
|
144
|
+
import { QueueWorklist as Vs } from "./shared/components/queue/QueueWorklist.js";
|
|
145
145
|
import { QueueWorkloadView as vs } from "./shared/components/queue/QueueWorkloadView.js";
|
|
146
146
|
import { QuickPicker as Os } from "./shared/components/item-edit/QuickPicker.js";
|
|
147
147
|
import { QuickPickerDialog as Ns, useQuickPickerSteps as Bs } from "./shared/components/item-edit/QuickPickerDialog.js";
|
|
148
|
-
import { REACTION_EMOJI as Ms, canOpenChatRoom as Hs, canOpenDm as _s, chatAvatarColor as Qs, chatInitials as Ws, chatRoomTypesQuery as Gs, dmPeer as Us, dmRoom as Ks, getMentionQuery as qs, openChatRoom as zs, openDmWith as Js, registerDmOpener as Ys, registerRoomOpener as js, splitMessageTokens as Xs, useChannelAdmin as Zs, useChannelDirectory as $s, useChannelMembers as ep, useChatConfig as op, useChatMessages as rp, useChatRoles as tp, useChatRooms as ip, useChatSearch as ap, useCreateChannel as sp, useCreateGroupDm as pp, useDeleteMessage as np, useEditMessage as mp, useEntityRoomLink as lp, useMarkRoomRead as fp, useNotificationSoundPreference as up, useOpenRoomRegistration as xp, usePeerReadAt as dp, useRoomMembership as cp, useRoomPins as
|
|
148
|
+
import { REACTION_EMOJI as Ms, canOpenChatRoom as Hs, canOpenDm as _s, chatAvatarColor as Qs, chatInitials as Ws, chatRoomTypesQuery as Gs, dmPeer as Us, dmRoom as Ks, getMentionQuery as qs, openChatRoom as zs, openDmWith as Js, registerDmOpener as Ys, registerRoomOpener as js, splitMessageTokens as Xs, useChannelAdmin as Zs, useChannelDirectory as $s, useChannelMembers as ep, useChatConfig as op, useChatMessages as rp, useChatRoles as tp, useChatRooms as ip, useChatSearch as ap, useCreateChannel as sp, useCreateGroupDm as pp, useDeleteMessage as np, useEditMessage as mp, useEntityRoomLink as lp, useMarkRoomRead as fp, useNotificationSoundPreference as up, useOpenRoomRegistration as xp, usePeerReadAt as dp, useRoomMembership as cp, useRoomPins as Cp, useSendChatMessage as Rp, useTogglePin as gp, useToggleReaction as Sp, useTypingIndicator as hp, useUnreadChirp as Pp, useUserSearch as yp } from "./shared/components/chat/chat-core.js";
|
|
149
149
|
import { ROW_HIGHLIGHT_TINTS as Ap, rowHighlightClass as Ip, rowHighlightTextClass as Tp } from "./shared/lib/row-highlight.js";
|
|
150
|
-
import { RealtimeContext as
|
|
150
|
+
import { RealtimeContext as kp, updateItemIds as Vp, updateTouches as Ep, useOptionalRealtime as vp, useRealtimeStatus as Dp } from "./shared/lib/realtime.js";
|
|
151
151
|
import { RealtimeStaleMark as bp, RealtimeStatusBanner as Np } from "./shared/components/RealtimeStatusBanner.js";
|
|
152
152
|
import { RecentRecordsRail as Lp } from "./shared/components/RecentRecordsRail.js";
|
|
153
153
|
import { RecordChatActions as Hp } from "./shared/components/item-edit/RecordChatActions.js";
|
|
@@ -164,13 +164,13 @@ import { RenderSettingsButton as pn } from "./shared/components/help-videos/sett
|
|
|
164
164
|
import { ReportProblemButton as mn, buildReportPayload as ln } from "./shared/components/support/ReportProblem.js";
|
|
165
165
|
import { RequiredVideosCard as un } from "./shared/components/help-videos/viewer/RequiredVideosCard.js";
|
|
166
166
|
import { ReviewListWidget as dn } from "./shared/components/widgets/ReviewListWidget.js";
|
|
167
|
-
import { RevisionsPanel as
|
|
167
|
+
import { RevisionsPanel as Cn } from "./shared/components/panels/RevisionsPanel.js";
|
|
168
168
|
import { RowPresence as gn } from "./shared/components/RowPresence.js";
|
|
169
169
|
import { SignalCard as hn } from "./shared/components/integrations/console/SignalCard.js";
|
|
170
170
|
import { SkipReportCard as yn, TemplateLintCard as wn } from "./shared/components/pipeline/PipelineHealthCards.js";
|
|
171
171
|
import { SlaRulesView as In } from "./shared/components/SlaRulesView.js";
|
|
172
172
|
import { SnoozeMenu as Fn } from "./shared/components/integrations/console/SnoozeMenu.js";
|
|
173
|
-
import { SubmissionRow as
|
|
173
|
+
import { SubmissionRow as Vn } from "./shared/components/integrations/console/SubmissionRow.js";
|
|
174
174
|
import { StatusPill as vn } from "./shared/components/integrations/console/drill/status.js";
|
|
175
175
|
import { SubscriptionDialog as On, useSubscriptionMutations as bn } from "./shared/components/notifications/SubscriptionEditor.js";
|
|
176
176
|
import { SupportRequestDialog as Bn } from "./shared/components/support/SupportRequestDialog.js";
|
|
@@ -188,11 +188,11 @@ import { UserChip as am, UserRosterCluster as sm } from "./shared/components/ite
|
|
|
188
188
|
import { WidgetSlot as nm } from "./shared/components/WidgetSlot.js";
|
|
189
189
|
import { WorkflowPanel as lm } from "./shared/components/panels/WorkflowPanel.js";
|
|
190
190
|
import { agingBucket as um, buildGroups as xm, deriveGroupKey as dm } from "./shared/lib/queue-grouping.js";
|
|
191
|
-
import { applyValidationRule as
|
|
191
|
+
import { applyValidationRule as Cm } from "./shared/lib/validation-rules.js";
|
|
192
192
|
import { bannerLines as gm } from "./shared/lib/obligation-banner.js";
|
|
193
193
|
import { buildClientCrashBody as hm, reportClientCrash as Pm } from "./shared/lib/client-crash.js";
|
|
194
194
|
import { buildCopyAs as wm, conditionsToFilter as Am } from "./shared/lib/copy-as.js";
|
|
195
|
-
import { canOpenCatalogItem as Tm, openCatalogItem as Fm, registerCatalogItemOpener as
|
|
195
|
+
import { canOpenCatalogItem as Tm, openCatalogItem as Fm, registerCatalogItemOpener as km } from "./shared/lib/catalog-item-open.js";
|
|
196
196
|
import { canViewAs as Em, registerViewAsOpener as vm, viewAs as Dm } from "./shared/lib/view-as.js";
|
|
197
197
|
import { captureMaskedScreenshot as bm, maskInputsIn as Nm } from "./shared/lib/screenshot.js";
|
|
198
198
|
import { captureReplayClip as Lm, clipEndOffset as Mm, prepareReplayClip as Hm, registerReplayCapture as _m, replayHref as Qm, withClipKind as Wm } from "./shared/lib/replay-capture.js";
|
|
@@ -205,49 +205,50 @@ import { createSocketRealtime as tl } from "./shared/lib/socket-realtime.js";
|
|
|
205
205
|
import { createWorkerSocket as al, sharedWorkerSupported as sl, shouldUseWorkerSocket as pl, workerSocketPreference as nl } from "./shared/lib/worker-socket.js";
|
|
206
206
|
import { dismissAutofillRun as ll, getAutofillRuns as fl, startAutofillRun as ul, useAutofillRuns as xl } from "./shared/lib/autofill-runs.js";
|
|
207
207
|
import { dotsForRecord as cl } from "./shared/lib/integration-dots.js";
|
|
208
|
-
import { effectiveScopeSeedIds as
|
|
208
|
+
import { effectiveScopeSeedIds as Rl, matchScopeDimension as gl, translateScopeValues as Sl, useMyScopes as hl } from "./shared/lib/use-my-scopes.js";
|
|
209
209
|
import { endHelpVideoWalk as yl, registerHelpVideoPage as wl, startHelpVideoWalk as Al, useCurrentHelpVideoPage as Il } from "./shared/components/help-videos/walk/store.js";
|
|
210
|
-
import { evaluateBoolean as Fl, evaluateExpression as
|
|
210
|
+
import { evaluateBoolean as Fl, evaluateExpression as kl, evaluateNumeric as Vl, extractExpressionTokens as El, formulaConstant as vl, networkdaysBetween as Dl, parseExpression as Ol, setFormulaConstants as bl, validateExpression as Nl } from "./shared/lib/expression.js";
|
|
211
211
|
import { extSlotKey as Ll, getLayoutSlot as Ml, registerLayoutSlot as Hl } from "./shared/lib/layout-slots.js";
|
|
212
212
|
import { fiscalPeriodOf as Ql, fiscalQuarterOf as Wl, fiscalYearOf as Gl, getFiscalStartMonth as Ul, setFiscalStartMonth as Kl } from "./shared/lib/fiscal.js";
|
|
213
213
|
import { formatMultiValue as zl, formatValue as Jl, numericIntlOptions as Yl, precisionOf as jl } from "./shared/lib/format-value.js";
|
|
214
214
|
import { formatReplayTail as Zl, getReplayTail as $l, installReplayTail as ef } from "./shared/lib/replay-tail.js";
|
|
215
215
|
import { getApiUpdate as rf, startApiVersionWatch as tf, useApiUpdate as af } from "./shared/lib/api-version.js";
|
|
216
216
|
import { getFieldInterface as pf, listFieldInterfaces as nf, onFieldInterfacesChange as mf, registerFieldInterface as lf } from "./shared/lib/field-interfaces.js";
|
|
217
|
-
import { helpVideoApi as uf, helpVideoKeys as xf, useHelpVideo as df, useHelpVideoWalk as cf, useHelpVideosFor as
|
|
218
|
-
import {
|
|
219
|
-
import {
|
|
220
|
-
import {
|
|
221
|
-
import {
|
|
222
|
-
import {
|
|
223
|
-
import {
|
|
224
|
-
import {
|
|
225
|
-
import {
|
|
226
|
-
import {
|
|
227
|
-
import {
|
|
228
|
-
import {
|
|
229
|
-
import {
|
|
230
|
-
import {
|
|
231
|
-
import {
|
|
232
|
-
import {
|
|
233
|
-
import {
|
|
234
|
-
import {
|
|
235
|
-
import {
|
|
236
|
-
import {
|
|
237
|
-
import {
|
|
238
|
-
import {
|
|
239
|
-
import {
|
|
240
|
-
import {
|
|
217
|
+
import { helpVideoApi as uf, helpVideoKeys as xf, useHelpVideo as df, useHelpVideoWalk as cf, useHelpVideosFor as Cf, useRequiredVideos as Rf } from "./shared/components/help-videos/api.js";
|
|
218
|
+
import { installStaleChunkRecovery as Sf, isStaleChunkError as hf } from "./shared/lib/stale-chunk.js";
|
|
219
|
+
import { measureClockOffset as yf, serverNow as wf, setServerClockOffset as Af } from "./shared/lib/server-clock.js";
|
|
220
|
+
import { normalizeFieldType as Tf } from "./hooks/schemaBuilder.js";
|
|
221
|
+
import { obligationQueryParams as kf, toneForOutcome as Vf } from "./shared/lib/obligation-filters.js";
|
|
222
|
+
import { pageAtPayload as vf, usePageAt as Df } from "./shared/lib/use-page-at.js";
|
|
223
|
+
import { playNotificationSound as bf } from "./shared/lib/notification-sound.js";
|
|
224
|
+
import { rankTeamForFilters as Bf, useScopeDimensions as Lf } from "./shared/components/pipeline/teamScopes.js";
|
|
225
|
+
import { resolveNotificationTarget as Hf, resolveNotificationTargetFor as _f, runNotificationTarget as Qf } from "./shared/lib/notification-target.js";
|
|
226
|
+
import { restoreMetadata as Gf, startMetadataPersistence as Uf, wipeMetadataCache as Kf } from "./shared/lib/metadata-persist.js";
|
|
227
|
+
import { rowPresenceKey as zf, useFieldFocus as Jf, usePresence as Yf, useRowPresence as jf, useTyping as Xf } from "./shared/lib/presence-hooks.js";
|
|
228
|
+
import { rumRouteChange as $f, rumWidget as eu, startRum as ou } from "./shared/lib/rum.js";
|
|
229
|
+
import { seedQuickPickerSteps as tu } from "./shared/components/item-edit/helpers.js";
|
|
230
|
+
import { signalSentence as au, useRecordSignalPeers as su, useRecordSignalWhile as pu, useTopicPresence as nu } from "./shared/lib/presence-signals.js";
|
|
231
|
+
import { stuckText as lu } from "./shared/lib/presence-state.js";
|
|
232
|
+
import { tapReplaySocket as uu } from "./shared/lib/replay-socket.js";
|
|
233
|
+
import { useAfterIdle as du } from "./shared/lib/defer.js";
|
|
234
|
+
import { useBackgroundRun as Cu } from "./shared/lib/background-runs.js";
|
|
235
|
+
import { useDebounced as gu } from "./shared/hooks/useDebounced.js";
|
|
236
|
+
import { useElapsedLoading as hu } from "./shared/hooks/useElapsedLoading.js";
|
|
237
|
+
import { useEventPath as yu, usePartner as wu, usePartners as Au, useRecordIntegrationActivity as Iu, useRefreshSignals as Tu, useSignalAction as Fu, useSignals as ku, useSnooze as Vu } from "./shared/components/integrations/console/api.js";
|
|
238
|
+
import { useFeatureFlag as vu, useFeatureFlags as Du } from "./shared/lib/feature-flags.js";
|
|
239
|
+
import { useFileHealth as bu } from "./shared/hooks/useFileHealth.js";
|
|
240
|
+
import { useOnlineUsers as Bu } from "./shared/lib/use-online-users.js";
|
|
241
|
+
import { usePersonProfile as Mu } from "./shared/components/profile/types.js";
|
|
241
242
|
export {
|
|
242
243
|
X as ACTIVE_USER_OPTION_FILTER,
|
|
243
244
|
ue as AccessDeniedPanel,
|
|
244
245
|
de as AddendumPanel,
|
|
245
|
-
|
|
246
|
+
Ce as AiAnalyticsView,
|
|
246
247
|
ge as AiFeedbackButtons,
|
|
247
248
|
he as AiMarkdown,
|
|
248
249
|
ye as AiMemorySuggestions,
|
|
249
250
|
Ae as AiReviewCard,
|
|
250
|
-
|
|
251
|
+
Ve as AlertManagerView,
|
|
251
252
|
ve as AlertRuleDrawer,
|
|
252
253
|
be as AnnouncementBanner,
|
|
253
254
|
De as AnomalyRuleDrawer,
|
|
@@ -268,7 +269,7 @@ export {
|
|
|
268
269
|
xo as CLEAN_RECORDING_ATTR,
|
|
269
270
|
Io as CacheStamp,
|
|
270
271
|
Fo as CallerChangesSection,
|
|
271
|
-
|
|
272
|
+
Vo as CellCopyLayer,
|
|
272
273
|
vo as ChangeReasonDialog,
|
|
273
274
|
bo as ChatAnalyticsView,
|
|
274
275
|
Bo as ChatAppearAwayRow,
|
|
@@ -296,7 +297,7 @@ export {
|
|
|
296
297
|
yr as DefinitionsPanel,
|
|
297
298
|
Ar as DelegationCard,
|
|
298
299
|
Tr as DelegationConsoleView,
|
|
299
|
-
|
|
300
|
+
kr as DeliveryChips,
|
|
300
301
|
Er as DisplayPrefsCard,
|
|
301
302
|
Br as DndMark,
|
|
302
303
|
Lr as DoNotDisturbRow,
|
|
@@ -306,14 +307,14 @@ export {
|
|
|
306
307
|
lt as EmptyState,
|
|
307
308
|
ut as ErpFailureBanner,
|
|
308
309
|
dt as ErrorSurface,
|
|
309
|
-
|
|
310
|
+
Ct as EventPathSheet,
|
|
310
311
|
gt as ExternalRequestsChip,
|
|
311
312
|
ht as FORCE_RELOAD_EVENT,
|
|
312
313
|
wt as FieldRenderer,
|
|
313
314
|
s as FileField,
|
|
314
315
|
It as FilePreviewLightbox,
|
|
315
|
-
|
|
316
|
-
|
|
316
|
+
Cr as FilterControl,
|
|
317
|
+
kt as FirefightView,
|
|
317
318
|
vt as FirstLoginChecklist,
|
|
318
319
|
Pt as ForceReloadBanner,
|
|
319
320
|
Ot as FormulaEditor,
|
|
@@ -340,7 +341,7 @@ export {
|
|
|
340
341
|
Le as InboundCallersView,
|
|
341
342
|
Ai as InboundRequestPopover,
|
|
342
343
|
Ti as InboundView,
|
|
343
|
-
|
|
344
|
+
ki as InlineTableField,
|
|
344
345
|
ni as IntegrationDots,
|
|
345
346
|
Ei as IntegrationObligationsView,
|
|
346
347
|
Di as IntegrationsConsole,
|
|
@@ -364,7 +365,7 @@ export {
|
|
|
364
365
|
la as NotificationActions,
|
|
365
366
|
ua as NotificationAnalyticsView,
|
|
366
367
|
da as NotificationBell,
|
|
367
|
-
|
|
368
|
+
Ca as NotificationCenterView,
|
|
368
369
|
vr as NotificationRulesCard,
|
|
369
370
|
ga as NotificationSourcesCard,
|
|
370
371
|
ha as NotificationSubscriptionsView,
|
|
@@ -372,7 +373,7 @@ export {
|
|
|
372
373
|
n as NumberField,
|
|
373
374
|
Aa as OfflineBanner,
|
|
374
375
|
Ta as OpsTasksView,
|
|
375
|
-
|
|
376
|
+
ka as OutboundPreviewSection,
|
|
376
377
|
Jr as OverlayHistoryContext,
|
|
377
378
|
Da as OwnerAvatars,
|
|
378
379
|
Ie as OwnerGapsCard,
|
|
@@ -394,24 +395,24 @@ export {
|
|
|
394
395
|
Dr as ProfileFieldsCard,
|
|
395
396
|
fs as ProfileSectionCard,
|
|
396
397
|
Or as ProfileView,
|
|
397
|
-
|
|
398
|
+
Va as PushReadinessChip,
|
|
398
399
|
xs as QualityRulesView,
|
|
399
400
|
cs as QueryStatStrip,
|
|
400
|
-
|
|
401
|
+
Rs as QueryTable,
|
|
401
402
|
Ss as QueryWidgetBody,
|
|
402
403
|
qa as QueryWidgetView,
|
|
403
404
|
ws as QueueBulkBar,
|
|
404
405
|
Is as QueueItemSheet,
|
|
405
406
|
Fs as QueueKanbanBoard,
|
|
406
|
-
|
|
407
|
+
Vs as QueueWorklist,
|
|
407
408
|
vs as QueueWorkloadView,
|
|
408
409
|
Os as QuickPicker,
|
|
409
410
|
Ns as QuickPickerDialog,
|
|
410
411
|
Ms as REACTION_EMOJI,
|
|
411
|
-
|
|
412
|
-
|
|
412
|
+
Co as RECORDING_ATTR,
|
|
413
|
+
Ro as RECORDING_HIDE_ATTR,
|
|
413
414
|
Ap as ROW_HIGHLIGHT_TINTS,
|
|
414
|
-
|
|
415
|
+
kp as RealtimeContext,
|
|
415
416
|
bp as RealtimeStaleMark,
|
|
416
417
|
Np as RealtimeStatusBanner,
|
|
417
418
|
Lp as RecentRecordsRail,
|
|
@@ -434,14 +435,14 @@ export {
|
|
|
434
435
|
Ps as ReportWidgetCard,
|
|
435
436
|
un as RequiredVideosCard,
|
|
436
437
|
dn as ReviewListWidget,
|
|
437
|
-
|
|
438
|
+
Cn as RevisionsPanel,
|
|
438
439
|
gn as RowPresence,
|
|
439
440
|
u as SelectField,
|
|
440
441
|
hn as SignalCard,
|
|
441
442
|
yn as SkipReportCard,
|
|
442
443
|
In as SlaRulesView,
|
|
443
444
|
Fn as SnoozeMenu,
|
|
444
|
-
|
|
445
|
+
Vn as SubmissionRow,
|
|
445
446
|
vn as SubmissionStatusPill,
|
|
446
447
|
On as SubscriptionDialog,
|
|
447
448
|
Bn as SupportRequestDialog,
|
|
@@ -452,7 +453,7 @@ export {
|
|
|
452
453
|
zn as TeamSuggestionsPanel,
|
|
453
454
|
Yn as TeamsView,
|
|
454
455
|
wn as TemplateLintCard,
|
|
455
|
-
|
|
456
|
+
C as TextField,
|
|
456
457
|
d as TextareaField,
|
|
457
458
|
Xn as TickerNumber,
|
|
458
459
|
Hn as TicketDetailSheet,
|
|
@@ -466,7 +467,7 @@ export {
|
|
|
466
467
|
lm as WorkflowPanel,
|
|
467
468
|
ur as activeCustomStatus,
|
|
468
469
|
um as agingBucket,
|
|
469
|
-
|
|
470
|
+
Cm as applyValidationRule,
|
|
470
471
|
gm as bannerLines,
|
|
471
472
|
go as beginCleanRecording,
|
|
472
473
|
So as beginRecordingScreen,
|
|
@@ -506,17 +507,17 @@ export {
|
|
|
506
507
|
Us as dmPeer,
|
|
507
508
|
Ks as dmRoom,
|
|
508
509
|
cl as dotsForRecord,
|
|
509
|
-
|
|
510
|
+
Rl as effectiveScopeSeedIds,
|
|
510
511
|
Xr as encodePrefill,
|
|
511
512
|
yl as endHelpVideoWalk,
|
|
512
513
|
Fl as evaluateBoolean,
|
|
513
|
-
|
|
514
|
-
|
|
514
|
+
kl as evaluateExpression,
|
|
515
|
+
Vl as evaluateNumeric,
|
|
515
516
|
Ll as extSlotKey,
|
|
516
517
|
El as extractExpressionTokens,
|
|
517
518
|
F as fetchSchema,
|
|
518
519
|
Zr as fieldDrilldownConfig,
|
|
519
|
-
|
|
520
|
+
Rr as filterDefLabel,
|
|
520
521
|
gr as filterValueDisplay,
|
|
521
522
|
Ql as fiscalPeriodOf,
|
|
522
523
|
Wl as fiscalQuarterOf,
|
|
@@ -545,8 +546,10 @@ export {
|
|
|
545
546
|
ti as idleState,
|
|
546
547
|
Ha as installIntentPrefetch,
|
|
547
548
|
ef as installReplayTail,
|
|
549
|
+
Sf as installStaleChunkRecovery,
|
|
548
550
|
Uo as isChatPanelPinned,
|
|
549
551
|
ho as isCleanRecording,
|
|
552
|
+
hf as isStaleChunkError,
|
|
550
553
|
nf as listFieldInterfaces,
|
|
551
554
|
H as liveListKey,
|
|
552
555
|
ji as liveQueryMeta,
|
|
@@ -554,27 +557,27 @@ export {
|
|
|
554
557
|
Xi as liveRefetchInterval,
|
|
555
558
|
Nm as maskInputsIn,
|
|
556
559
|
gl as matchScopeDimension,
|
|
557
|
-
|
|
560
|
+
yf as measureClockOffset,
|
|
558
561
|
Dl as networkdaysBetween,
|
|
559
|
-
|
|
562
|
+
Tf as normalizeFieldType,
|
|
560
563
|
Yl as numericIntlOptions,
|
|
561
|
-
|
|
564
|
+
kf as obligationQueryParams,
|
|
562
565
|
mf as onFieldInterfacesChange,
|
|
563
566
|
ii as onIdleChange,
|
|
564
567
|
Ue as openAskPanel,
|
|
565
568
|
Fm as openCatalogItem,
|
|
566
569
|
zs as openChatRoom,
|
|
567
570
|
Js as openDmWith,
|
|
568
|
-
|
|
571
|
+
vf as pageAtPayload,
|
|
569
572
|
Ol as parseExpression,
|
|
570
|
-
|
|
573
|
+
bf as playNotificationSound,
|
|
571
574
|
jl as precisionOf,
|
|
572
575
|
_a as prefetchRecord,
|
|
573
576
|
Hm as prepareReplayClip,
|
|
574
|
-
|
|
575
|
-
|
|
577
|
+
Vt as rankSignals,
|
|
578
|
+
Bf as rankTeamForFilters,
|
|
576
579
|
Qa as recordQueryKeys,
|
|
577
|
-
|
|
580
|
+
km as registerCatalogItemOpener,
|
|
578
581
|
Ys as registerDmOpener,
|
|
579
582
|
lf as registerFieldInterface,
|
|
580
583
|
wl as registerHelpVideoPage,
|
|
@@ -585,49 +588,49 @@ export {
|
|
|
585
588
|
Qm as replayHref,
|
|
586
589
|
Pm as reportClientCrash,
|
|
587
590
|
ae as resolveCollectionIcon,
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
+
Hf as resolveNotificationTarget,
|
|
592
|
+
_f as resolveNotificationTargetFor,
|
|
593
|
+
Gf as restoreMetadata,
|
|
591
594
|
Ip as rowHighlightClass,
|
|
592
595
|
Tp as rowHighlightTextClass,
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
596
|
+
zf as rowPresenceKey,
|
|
597
|
+
$f as rumRouteChange,
|
|
598
|
+
eu as rumWidget,
|
|
599
|
+
Qf as runNotificationTarget,
|
|
600
|
+
tu as seedQuickPickerSteps,
|
|
601
|
+
wf as serverNow,
|
|
599
602
|
se as setDisplayTimezone,
|
|
600
603
|
Kl as setFiscalStartMonth,
|
|
601
604
|
bl as setFormulaConstants,
|
|
602
605
|
pe as setNumberFormat,
|
|
603
606
|
Po as setRecordingSelf,
|
|
604
|
-
|
|
607
|
+
Af as setServerClockOffset,
|
|
605
608
|
ne as setTimeDisplay,
|
|
606
609
|
sl as sharedWorkerSupported,
|
|
607
610
|
pl as shouldUseWorkerSocket,
|
|
608
|
-
|
|
611
|
+
au as signalSentence,
|
|
609
612
|
Xs as splitMessageTokens,
|
|
610
613
|
tf as startApiVersionWatch,
|
|
611
614
|
ul as startAutofillRun,
|
|
612
615
|
Al as startHelpVideoWalk,
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
616
|
+
Uf as startMetadataPersistence,
|
|
617
|
+
ou as startRum,
|
|
618
|
+
lu as stuckText,
|
|
619
|
+
uu as tapReplaySocket,
|
|
617
620
|
me as titleCase,
|
|
618
|
-
|
|
621
|
+
Vf as toneForOutcome,
|
|
619
622
|
ai as trackActivity,
|
|
620
623
|
Sl as translateScopeValues,
|
|
621
|
-
|
|
624
|
+
Vp as updateItemIds,
|
|
622
625
|
Ep as updateTouches,
|
|
623
|
-
|
|
626
|
+
du as useAfterIdle,
|
|
624
627
|
$r as useApiFetchConfig,
|
|
625
628
|
af as useApiUpdate,
|
|
626
629
|
Ke as useAskRecordDrag,
|
|
627
630
|
A as useAutoRecord,
|
|
628
631
|
xl as useAutofillRuns,
|
|
629
632
|
fo as useAvailableBulkActions,
|
|
630
|
-
|
|
633
|
+
Cu as useBackgroundRun,
|
|
631
634
|
Zs as useChannelAdmin,
|
|
632
635
|
$s as useChannelDirectory,
|
|
633
636
|
ep as useChannelMembers,
|
|
@@ -640,29 +643,29 @@ export {
|
|
|
640
643
|
sp as useCreateChannel,
|
|
641
644
|
pp as useCreateGroupDm,
|
|
642
645
|
Il as useCurrentHelpVideoPage,
|
|
643
|
-
|
|
646
|
+
gu as useDebounced,
|
|
644
647
|
np as useDeleteMessage,
|
|
645
648
|
Mr as useDndActive,
|
|
646
649
|
et as useDrilldown,
|
|
647
650
|
ot as useDrilldownViews,
|
|
648
651
|
mp as useEditMessage,
|
|
649
|
-
|
|
652
|
+
hu as useElapsedLoading,
|
|
650
653
|
lp as useEntityRoomLink,
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
+
yu as useEventPath,
|
|
655
|
+
vu as useFeatureFlag,
|
|
656
|
+
Du as useFeatureFlags,
|
|
654
657
|
E as useFieldArray,
|
|
655
|
-
|
|
658
|
+
Jf as useFieldFocus,
|
|
656
659
|
v as useFieldState,
|
|
657
|
-
|
|
660
|
+
bu as useFileHealth,
|
|
658
661
|
D as useFormDirty,
|
|
659
|
-
|
|
662
|
+
k as useFormSchema,
|
|
660
663
|
O as useFormStatus,
|
|
661
664
|
rt as useGridFlush,
|
|
662
665
|
df as useHelpVideo,
|
|
663
666
|
Jt as useHelpVideoRecording,
|
|
664
667
|
cf as useHelpVideoWalk,
|
|
665
|
-
|
|
668
|
+
Cf as useHelpVideosFor,
|
|
666
669
|
Wa as useIdleNextPage,
|
|
667
670
|
ci as useImportHealth,
|
|
668
671
|
Ga as useIntentPrefetch,
|
|
@@ -682,45 +685,45 @@ export {
|
|
|
682
685
|
st as useNivaroClient,
|
|
683
686
|
U as useNivaroForm,
|
|
684
687
|
up as useNotificationSoundPreference,
|
|
685
|
-
|
|
688
|
+
Bu as useOnlineUsers,
|
|
686
689
|
xp as useOpenRoomRegistration,
|
|
687
690
|
pt as useOptionalNivaroClient,
|
|
688
691
|
vp as useOptionalRealtime,
|
|
689
692
|
b as useOrderedLayout,
|
|
690
693
|
nt as useOverlayState,
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
+
Df as usePageAt,
|
|
695
|
+
wu as usePartner,
|
|
696
|
+
Au as usePartners,
|
|
694
697
|
dp as usePeerReadAt,
|
|
695
|
-
|
|
698
|
+
Mu as usePersonProfile,
|
|
696
699
|
ms as usePlanGridHost,
|
|
697
|
-
|
|
700
|
+
Yf as usePresence,
|
|
698
701
|
qe as usePublishAskContext,
|
|
699
702
|
Bs as useQuickPickerSteps,
|
|
700
703
|
Dp as useRealtimeStatus,
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
704
|
+
Iu as useRecordIntegrationActivity,
|
|
705
|
+
su as useRecordSignalPeers,
|
|
706
|
+
pu as useRecordSignalWhile,
|
|
707
|
+
Tu as useRefreshSignals,
|
|
705
708
|
q as useRelationOptions,
|
|
706
|
-
|
|
709
|
+
Rf as useRequiredVideos,
|
|
707
710
|
cp as useRoomMembership,
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
+
Cp as useRoomPins,
|
|
712
|
+
jf as useRowPresence,
|
|
713
|
+
Lf as useScopeDimensions,
|
|
711
714
|
N as useSectionState,
|
|
712
|
-
|
|
715
|
+
Rp as useSendChatMessage,
|
|
713
716
|
Y as useSessionRecorder,
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
717
|
+
Ci as useSetImportCadence,
|
|
718
|
+
Fu as useSignalAction,
|
|
719
|
+
ku as useSignals,
|
|
720
|
+
Vu as useSnooze,
|
|
718
721
|
bn as useSubscriptionMutations,
|
|
719
722
|
B as useTabState,
|
|
720
723
|
gp as useTogglePin,
|
|
721
724
|
Sp as useToggleReaction,
|
|
722
|
-
|
|
723
|
-
|
|
725
|
+
nu as useTopicPresence,
|
|
726
|
+
Xf as useTyping,
|
|
724
727
|
hp as useTypingIndicator,
|
|
725
728
|
Pp as useUnreadChirp,
|
|
726
729
|
yp as useUserSearch,
|
|
@@ -729,7 +732,7 @@ export {
|
|
|
729
732
|
le as userOptionFilter,
|
|
730
733
|
Nl as validateExpression,
|
|
731
734
|
Dm as viewAs,
|
|
732
|
-
|
|
735
|
+
Kf as wipeMetadataCache,
|
|
733
736
|
Wm as withClipKind,
|
|
734
737
|
$m as withGetCoalescing,
|
|
735
738
|
nl as workerSocketPreference
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
const l = "nvr-stale-chunk-reload";
|
|
2
|
+
const d = [
|
|
3
|
+
/Failed to fetch dynamically imported module/i,
|
|
4
|
+
// Chromium
|
|
5
|
+
/Importing a module script failed/i,
|
|
6
|
+
// Safari
|
|
7
|
+
/error loading dynamically imported module/i,
|
|
8
|
+
// Firefox
|
|
9
|
+
/Unable to preload CSS/i
|
|
10
|
+
// Vite's CSS preload
|
|
11
|
+
];
|
|
12
|
+
function c(e) {
|
|
13
|
+
const n = e instanceof Error ? e.message : typeof e == "string" ? e : e && typeof e == "object" && "message" in e ? String(e.message) : "";
|
|
14
|
+
return d.some((t) => t.test(n));
|
|
15
|
+
}
|
|
16
|
+
function u(e = {}) {
|
|
17
|
+
var o;
|
|
18
|
+
const n = (e.now ?? Date.now)(), t = e.storage === void 0 ? s() : e.storage;
|
|
19
|
+
let r = 0;
|
|
20
|
+
try {
|
|
21
|
+
r = Number(t == null ? void 0 : t.getItem(l)) || 0;
|
|
22
|
+
} catch {
|
|
23
|
+
r = 0;
|
|
24
|
+
}
|
|
25
|
+
if (r && n - r < 6e4)
|
|
26
|
+
return (o = e.onGiveUp) == null || o.call(e), "gave-up";
|
|
27
|
+
try {
|
|
28
|
+
t == null || t.setItem(l, String(n));
|
|
29
|
+
} catch {
|
|
30
|
+
}
|
|
31
|
+
return (e.reload ?? (() => window.location.reload()))(), "reload";
|
|
32
|
+
}
|
|
33
|
+
function f(e = {}) {
|
|
34
|
+
const n = e.target ?? (typeof window < "u" ? window : void 0);
|
|
35
|
+
if (!n) return () => {
|
|
36
|
+
};
|
|
37
|
+
let t = !1;
|
|
38
|
+
const r = () => {
|
|
39
|
+
t || (t = !0, u(e) === "gave-up" && (t = !1));
|
|
40
|
+
}, o = (i) => {
|
|
41
|
+
i.preventDefault(), r();
|
|
42
|
+
}, a = (i) => {
|
|
43
|
+
c(i.reason) && (i.preventDefault(), r());
|
|
44
|
+
};
|
|
45
|
+
return n.addEventListener("vite:preloadError", o), n.addEventListener("unhandledrejection", a), () => {
|
|
46
|
+
n.removeEventListener("vite:preloadError", o), n.removeEventListener("unhandledrejection", a);
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function s() {
|
|
50
|
+
try {
|
|
51
|
+
return typeof sessionStorage < "u" ? sessionStorage : null;
|
|
52
|
+
} catch {
|
|
53
|
+
return null;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
export {
|
|
57
|
+
f as installStaleChunkRecovery,
|
|
58
|
+
c as isStaleChunkError,
|
|
59
|
+
u as recoverFromStaleChunk
|
|
60
|
+
};
|