@arbidocs/blocks 0.5.127 → 0.5.129

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.
Files changed (89) hide show
  1. package/dist/ConnectedCallDock-XJOYVVAH.cjs +1 -1
  2. package/dist/ConnectedCallRoom-CUDYAPQK.cjs +1 -1
  3. package/dist/{ConnectedNativeDocxComparison-JUF2TI2P.cjs → ConnectedNativeDocxComparison-7KTAOUE3.cjs} +10 -10
  4. package/dist/{ConnectedStreamedWordArtifact-Q64DRRQD.cjs.map → ConnectedNativeDocxComparison-7KTAOUE3.cjs.map} +1 -1
  5. package/dist/ConnectedPresentation-SI3L77J4.cjs +1 -1
  6. package/dist/{ConnectedProductionSetDialog-LHB4VQWC.cjs → ConnectedProductionSetDialog-4EAY6KAZ.cjs} +3 -3
  7. package/dist/{ConnectedProductionSetDialog-LHB4VQWC.cjs.map → ConnectedProductionSetDialog-4EAY6KAZ.cjs.map} +1 -1
  8. package/dist/ConnectedSlidesTab-E76OVY34.cjs +1 -1
  9. package/dist/{ConnectedStreamedWordArtifact-Q64DRRQD.cjs → ConnectedStreamedWordArtifact-J4MYBABA.cjs} +10 -10
  10. package/dist/{ConnectedNativeDocxComparison-JUF2TI2P.cjs.map → ConnectedStreamedWordArtifact-J4MYBABA.cjs.map} +1 -1
  11. package/dist/DocumentReviewCard-M53XFLI2.cjs +1 -1
  12. package/dist/{FilesViewerDialog-V6FSRQTP.cjs → FilesViewerDialog-GGF4WMU4.cjs} +13 -13
  13. package/dist/{FilesViewerDialog-V6FSRQTP.cjs.map → FilesViewerDialog-GGF4WMU4.cjs.map} +1 -1
  14. package/dist/{WorkspaceTableView-3XYAV4BV.cjs → WorkspaceTableView-CUCTCA2O.cjs} +6 -6
  15. package/dist/{WorkspaceTableView-3XYAV4BV.cjs.map → WorkspaceTableView-CUCTCA2O.cjs.map} +1 -1
  16. package/dist/agents/index.cjs +177 -177
  17. package/dist/ai-IEIR7SC2.cjs +1 -1
  18. package/dist/calls/index.cjs +1 -1
  19. package/dist/chat/index.cjs +1 -1
  20. package/dist/{chunk-VLQCLQAS.cjs → chunk-5GA65VBW.cjs} +5 -5
  21. package/dist/{chunk-VLQCLQAS.cjs.map → chunk-5GA65VBW.cjs.map} +1 -1
  22. package/dist/{chunk-KXIRVKCJ.cjs → chunk-CNLIXB6S.cjs} +39 -7
  23. package/dist/chunk-CNLIXB6S.cjs.map +1 -0
  24. package/dist/{chunk-MXBXZXXQ.cjs → chunk-ENOPKX7E.cjs} +3 -3
  25. package/dist/{chunk-MXBXZXXQ.cjs.map → chunk-ENOPKX7E.cjs.map} +1 -1
  26. package/dist/{chunk-E3L5DB5F.cjs → chunk-GEZB3OEC.cjs} +4 -4
  27. package/dist/{chunk-E3L5DB5F.cjs.map → chunk-GEZB3OEC.cjs.map} +1 -1
  28. package/dist/{chunk-YP5EBGLU.cjs → chunk-HH5RDNO5.cjs} +23 -23
  29. package/dist/{chunk-YP5EBGLU.cjs.map → chunk-HH5RDNO5.cjs.map} +1 -1
  30. package/dist/{chunk-2SU37RZA.cjs → chunk-I3A6KKWY.cjs} +29 -13
  31. package/dist/chunk-I3A6KKWY.cjs.map +1 -0
  32. package/dist/{chunk-NTDQQLDD.cjs → chunk-I7J3ED6P.cjs} +4 -4
  33. package/dist/{chunk-NTDQQLDD.cjs.map → chunk-I7J3ED6P.cjs.map} +1 -1
  34. package/dist/{chunk-QG2U2JGX.cjs → chunk-L4CIFLCU.cjs} +4 -4
  35. package/dist/{chunk-QG2U2JGX.cjs.map → chunk-L4CIFLCU.cjs.map} +1 -1
  36. package/dist/{chunk-M6WVIGYP.cjs → chunk-LXFCED4Z.cjs} +7 -7
  37. package/dist/{chunk-M6WVIGYP.cjs.map → chunk-LXFCED4Z.cjs.map} +1 -1
  38. package/dist/{chunk-CQQQIZU4.cjs → chunk-NQML7IUC.cjs} +3 -3
  39. package/dist/{chunk-CQQQIZU4.cjs.map → chunk-NQML7IUC.cjs.map} +1 -1
  40. package/dist/{chunk-JVLOIIA7.cjs → chunk-U7D6ZDR2.cjs} +12 -12
  41. package/dist/{chunk-JVLOIIA7.cjs.map → chunk-U7D6ZDR2.cjs.map} +1 -1
  42. package/dist/{chunk-MMSHIIKG.cjs → chunk-XGTMC54Q.cjs} +4 -4
  43. package/dist/{chunk-MMSHIIKG.cjs.map → chunk-XGTMC54Q.cjs.map} +1 -1
  44. package/dist/connect/docx.cjs +13 -13
  45. package/dist/connect/index.cjs +463 -463
  46. package/dist/connect/index.cjs.map +1 -1
  47. package/dist/connect/viewer.cjs +11 -11
  48. package/dist/connection/billing/AddAddonDialog.d.ts +2 -2
  49. package/dist/connection/billing/AddAddonDialog.js.map +1 -1
  50. package/dist/connection/billing/ConnectedQuotaDialog.d.ts +1 -1
  51. package/dist/connection/billing/ConnectedQuotaDialog.js.map +1 -1
  52. package/dist/connection/billing/MonthlySpendCap.js +1 -1
  53. package/dist/connection/billing/MonthlySpendCap.js.map +1 -1
  54. package/dist/connection/billing/ProjectBilling.js.map +1 -1
  55. package/dist/connection/billing/ProjectPurchaseOptions.js +1 -1
  56. package/dist/connection/billing/ProjectPurchaseOptions.js.map +1 -1
  57. package/dist/connection/billing/ProjectUsageCard.js +1 -1
  58. package/dist/connection/billing/ProjectUsageCard.js.map +1 -1
  59. package/dist/connection/billing/ReduceAddonDialog.d.ts +1 -1
  60. package/dist/connection/billing/ReduceAddonDialog.js.map +1 -1
  61. package/dist/connection/billing/StripeCheckoutModal.d.ts +1 -1
  62. package/dist/connection/billing/StripeCheckoutModal.js.map +1 -1
  63. package/dist/connection/billing/addon-pricing.d.ts +4 -4
  64. package/dist/connection/billing/addon-pricing.js.map +1 -1
  65. package/dist/connection/billing/plan-constants.d.ts +3 -3
  66. package/dist/connection/billing/plan-constants.js +2 -2
  67. package/dist/connection/billing/plan-constants.js.map +1 -1
  68. package/dist/connection/billing/plan-pricing.d.ts +2 -2
  69. package/dist/connection/billing/plan-pricing.js.map +1 -1
  70. package/dist/connection/billing/useAddonPurchase.d.ts +1 -1
  71. package/dist/connection/billing/useAddonPurchase.js.map +1 -1
  72. package/dist/connection/conversation/MermaidDiagram.js +11 -2
  73. package/dist/connection/conversation/MermaidDiagram.js.map +2 -2
  74. package/dist/connection/conversation/download-mermaid.d.ts +2 -0
  75. package/dist/connection/conversation/download-mermaid.js +29 -0
  76. package/dist/connection/conversation/download-mermaid.js.map +7 -0
  77. package/dist/connection/remote-control/remoteControl.js +19 -3
  78. package/dist/connection/remote-control/remoteControl.js.map +2 -2
  79. package/dist/embed/index.cjs +13 -13
  80. package/dist/facts/index.cjs +43 -43
  81. package/dist/index.cjs +288 -288
  82. package/dist/settings/index.cjs +1 -1
  83. package/dist/site/index.cjs +5 -5
  84. package/dist/studio/index.cjs +2 -2
  85. package/dist/workflow-canvas/index.cjs +19 -19
  86. package/node_modules/@arbidocs/coedit/package.json +1 -1
  87. package/package.json +5 -5
  88. package/dist/chunk-2SU37RZA.cjs.map +0 -1
  89. package/dist/chunk-KXIRVKCJ.cjs.map +0 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/connection/remote-control/remoteControl.ts"],
4
- "sourcesContent": ["/**\n * Remote-control orchestration \u2014 the frontend side of \"a backend agent drives the UI over the\n * websocket\" (the message and the session state: `@arbidocs/react`'s remote-control module).\n *\n * This is the SEPARATE, gated entry point for websocket-arriving runs. It is deliberately distinct\n * from a site's `GuidedRuns.run` so that local \"Show me\" tips (which run directly) are NEVER gated\n * by consent \u2014 GUARANTEE #4. Only runs that arrive here, from the socket, pass through the gate.\n *\n * Gate logic (`handleMessage`):\n * - the site has not turned remote control on (`guided.remoteControl`), or the consent prompt or\n * the guided cursor is not on screen \u2192 refuse: nothing runs, nothing is asked.\n * - remote control `enabled` this session \u2192 run immediately.\n * - otherwise \u2192 stash the request in `pending` (the consent prompt opens); run NOTHING until the\n * user grants (GUARANTEE #2).\n *\n * What a remote command can run: a `sequence_id` the site registered (`GuidedRuns.isSequenceId`)\n * or inline `steps` whose every step has a target, through the one guided runner \u2014 nothing else\n * (no action dispatch). In a remote run the runner acts only on what the user can see, caps waits\n * and pauses at 5 s, and never acts inside an off-limits surface (remote control's own controls,\n * so a one-off grant cannot grant itself the session; credential and endpoint forms) nor on a\n * label whose control is inside one; no guided run types into a secret field.\n *\n * Every sign-in, sign-out, session expiry and change of user drops the grant, any pending request\n * and the run in flight (`useRemoteControlSessionReset`, mounted with the handler and the cursor),\n * so nothing carries over to the next person in the tab.\n *\n * While a run executes, `controllingAgent` is set (labels the pill) and cleared afterwards.\n * Turning remote control off (`disable`) cancels any in-flight run immediately (GUARANTEE #5).\n */\nimport { useEffect, useMemo, useRef } from 'react'\nimport { logger } from '@arbidocs/client'\nimport {\n remoteControlActions,\n remoteControlStateOf,\n toRemoteControlRequest,\n useArbiHost,\n useArbiSession,\n useArbiSessionStore,\n useArbiSessionState,\n type ArbiWsHandlers,\n type GuidedStep,\n type RemoteControlMessage,\n type RemoteControlRequest,\n type RemoteControlSession,\n} from '@arbidocs/react'\nimport { cancelGuidedRun } from '../../guided/runner'\nimport type { GuidedRuns } from '../../guided/sequences'\nimport { useGuidedRuns } from '../../guided/useGuidedRuns'\nimport { isSurfaceMounted } from '../../guided/surfaces'\nimport { createScreenSharing, type ScreenSharing } from './screen-sharing'\n\nexport interface RemoteControl {\n /** The websocket entry point, for a `remote_control` message. Gated (see the file header). */\n handleMessage(msg: RemoteControlMessage): void\n /**\n * Grant the pending consent and run it. `forSession: true` keeps remote control enabled so\n * later websocket runs go without re-prompting; `false` runs the one pending run and leaves it\n * disabled (\"just this once\").\n */\n grantAndRun(opts: { forSession: boolean }): void\n /** Deny the pending consent \u2014 clears it and runs nothing. */\n deny(): void\n /**\n * Turn remote control OFF and revoke immediately (GUARANTEE #5): clears the enabled flag, the\n * pending prompt and the pill, and cancels any in-flight run so the guided cursor stops at once.\n */\n disable(): void\n /** Turn remote control ON directly \u2014 the user's own explicit choice. Runs nothing by itself. */\n enable(): void\n}\n\nexport interface ScreenTransport {\n reply(\n requestId: string,\n result: {\n status: 'captured' | 'denied' | 'stopped' | 'unavailable' | 'action_finished'\n screenshot_png?: string\n diagnostics?: string\n }\n ): Promise<void>\n diagnose?(): Promise<string>\n}\nconst screenRuntimes = new WeakMap<\n RemoteControlSession,\n { sharing: ScreenSharing; generation: number; setup: string }\n>()\nfunction screenRuntime(session: RemoteControlSession) {\n let runtime = screenRuntimes.get(session)\n if (!runtime) {\n runtime = { sharing: createScreenSharing(), generation: 0, setup: '' }\n screenRuntimes.set(session, runtime)\n }\n return runtime\n}\nfunction stopScreen(session: RemoteControlSession) {\n const runtime = screenRuntimes.get(session)\n if (!runtime) return\n runtime.generation++\n runtime.sharing.stop()\n runtime.setup = ''\n const actions = remoteControlActions(session)\n if (remoteControlStateOf(session.getState()).sharing) actions.setSharing(false)\n}\n\n/** Remote control on a session's state, running the site's guided runs. */\nexport function createRemoteControl(\n session: RemoteControlSession,\n guided: Pick<GuidedRuns, 'isSequenceId' | 'run' | 'remoteControl'>,\n screenTransport?: ScreenTransport\n): RemoteControl {\n const actions = remoteControlActions(session)\n const state = () => remoteControlStateOf(session.getState())\n\n const runtime = screenRuntime(session)\n const reply = async (\n req: RemoteControlRequest,\n status: 'denied' | 'stopped' | 'unavailable' | 'action_finished'\n ) => {\n if ((req.screenRequestId || req.actionRequestId) && screenTransport) {\n await screenTransport\n .reply((req.screenRequestId || req.actionRequestId)!, { status })\n .catch(() => {})\n }\n }\n const disable = () => {\n const pending = state().pending\n if (pending) void reply(pending, 'stopped')\n stopScreen(session)\n actions.setEnabled(false)\n cancelGuidedRun()\n }\n const inspect = async (req: RemoteControlRequest, keepSharing: boolean) => {\n if (!req.screenRequestId || !screenTransport) return\n const workspace = session.getState().workspaceId\n if (workspace !== req.workspaceExtId) {\n await reply(req, 'unavailable')\n return\n }\n const token = runtime.generation\n const current = () =>\n token === runtime.generation && session.getState().workspaceId === workspace\n actions.setControllingAgent({ name: req.agentName, extId: req.agentExtId })\n try {\n if (!runtime.sharing.active) {\n // Called directly from the consent button: getDisplayMedia needs this user gesture.\n await runtime.sharing.start(disable)\n if (!current()) {\n runtime.sharing.stop()\n await reply(req, 'stopped')\n return\n }\n actions.setSharing(true)\n if (screenTransport.diagnose)\n runtime.setup = await screenTransport.diagnose().catch(() => 'Setup checks unavailable.')\n }\n if (!current()) {\n await reply(req, 'stopped')\n return\n }\n const frame = await runtime.sharing.frame()\n if (!current()) {\n await reply(req, 'stopped')\n return\n }\n await screenTransport.reply(req.screenRequestId, {\n status: 'captured',\n ...frame,\n diagnostics: `${frame.diagnostics}\\n${runtime.setup}`.slice(0, 24000),\n })\n } catch {\n await reply(req, current() ? 'unavailable' : 'stopped')\n if (current()) disable()\n } finally {\n if (current()) {\n actions.setControllingAgent(null)\n if (!keepSharing) disable()\n }\n }\n }\n\n /** Resolve a request to the concrete run input for the runner. */\n const resolveRun = (req: RemoteControlRequest): string | GuidedStep[] | null => {\n if (req.steps && req.steps.length > 0) return req.steps\n if (req.sequenceId && guided.isSequenceId(req.sequenceId)) return req.sequenceId\n return null\n }\n\n /** Execute a request, labelling the pill for its duration. The ONLY place a websocket-arriving\n * run reaches the runner. */\n const runRemoteRequest = async (\n req: RemoteControlRequest,\n keepSharing = state().enabled\n ): Promise<void> => {\n if (req.screenRequestId) {\n await inspect(req, keepSharing)\n return\n }\n const run = resolveRun(req)\n if (!run) return\n const token = runtime.generation\n actions.setControllingAgent({ name: req.agentName, extId: req.agentExtId })\n try {\n await guided.run(run, { remote: true })\n if (req.actionRequestId)\n await reply(req, token === runtime.generation ? 'action_finished' : 'stopped')\n } catch {\n await reply(req, 'unavailable')\n } finally {\n // Only clear the pill if THIS run is still the active one \u2014 a newer run or a disable will\n // have replaced/cleared it already.\n const current = state().controllingAgent\n if (current && current.name === req.agentName && current.extId === req.agentExtId) {\n actions.setControllingAgent(null)\n }\n }\n }\n\n return {\n handleMessage(msg) {\n if (!guided.remoteControl) {\n logger.warn('[RemoteControl] Off on this site \u2014 ignoring a request')\n return\n }\n if (!isSurfaceMounted('consent') || !isSurfaceMounted('cursor')) {\n logger.warn('[RemoteControl] No consent prompt or cursor on screen \u2014 ignoring a request')\n return\n }\n const req = toRemoteControlRequest(msg, guided.isSequenceId)\n if (!req) return\n if (\n (req.screenRequestId || req.actionRequestId) &&\n (!screenTransport || session.getState().workspaceId !== req.workspaceExtId)\n ) {\n void reply(req, 'unavailable')\n return\n }\n if (state().enabled && (!req.screenRequestId || runtime.sharing.active)) {\n logger.info('[RemoteControl] Enabled \u2014 running requested action from', req.agentName)\n void runRemoteRequest(req)\n return\n }\n logger.info('[RemoteControl] Consent required \u2014 prompting for', req.agentName)\n if (state().pending) void reply(state().pending!, 'denied')\n actions.request(req)\n },\n grantAndRun(opts) {\n const pending = state().pending\n const keepSharing = opts.forSession || state().enabled\n actions.grant(opts)\n if (pending) void runRemoteRequest(pending, keepSharing)\n },\n deny: () => {\n const pending = state().pending\n actions.deny()\n if (pending) void reply(pending, 'denied')\n },\n disable,\n enable: () => actions.setEnabled(true),\n }\n}\n\n/** Remote control on the host's session and guided runs. */\nexport function useRemoteControlActions(): RemoteControl {\n const session = useArbiSessionStore()\n const guided = useGuidedRuns()\n const { arbi } = useArbiHost()\n return useMemo(\n () =>\n createRemoteControl(\n session,\n guided,\n arbi\n ? {\n reply: (id, result) => arbi.remoteControl.replyScreen(id, result),\n diagnose: async () => JSON.stringify(await arbi.diagnose()),\n }\n : undefined\n ),\n [session, guided, arbi]\n )\n}\n\n/**\n * Drop remote control's grant, its pending request and the guided run in flight on every sign-in,\n * sign-out and session expiry of the host's `Arbi`, and whenever the signed-in user changes (a\n * host that signs in its own way), so nothing carries over to the next person in the tab.\n */\nexport function useRemoteControlSessionReset(): void {\n const session = useArbiSessionStore()\n const { arbi } = useArbiHost()\n const userId = useArbiSession().user?.external_id ?? null\n useEffect(() => {\n const reset = () => {\n stopScreen(session)\n remoteControlActions(session).reset()\n cancelGuidedRun()\n }\n if (!arbi) return\n // A host's stand-in `Arbi` (a demo, a test) may lack some of them.\n const off = [\n arbi.onSigningOut?.(reset),\n arbi.onSessionExpired?.(reset),\n arbi.onSignedIn?.(reset),\n ]\n return () => off.forEach((unsubscribe) => unsubscribe?.())\n }, [arbi, session])\n const lastUser = useRef(userId)\n useEffect(() => {\n if (lastUser.current === userId) return\n lastUser.current = userId\n stopScreen(session)\n remoteControlActions(session).reset()\n cancelGuidedRun()\n }, [userId, session])\n}\n\n/**\n * The live connection's handler for remote control (`ArbiWebSocketProvider` `handlers`): an\n * `agt-\u2026` agent asking to drive the UI goes to the consent-gated entry point. None while the\n * site has not turned remote control on (`guided.remoteControl`). It also drops the grant and\n * the run in flight at every sign-in and sign-out (`useRemoteControlSessionReset`).\n */\nexport function useRemoteControlHandlers(): ArbiWsHandlers {\n useRemoteControlSessionReset()\n const remote = useRemoteControlActions()\n const { remoteControl } = useGuidedRuns()\n const session = useArbiSessionStore()\n const workspaceId = useArbiSessionState((s) => s.workspaceId)\n // The handler owns the stream lifecycle. A route/auth host teardown always stops sharing.\n useEffect(\n () => () => {\n stopScreen(session)\n remoteControlActions(session).setEnabled(false)\n cancelGuidedRun()\n },\n [session, workspaceId]\n )\n return useMemo(\n () =>\n remoteControl\n ? {\n remote_control: (message) =>\n remote.handleMessage(message as unknown as RemoteControlMessage),\n }\n : {},\n [remote, remoteControl]\n )\n}\n"],
5
- "mappings": ";AA6BA,SAAS,WAAW,SAAS,cAAc;AAC3C,SAAS,cAAc;AACvB;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAMK;AACP,SAAS,uBAAuB;AAEhC,SAAS,qBAAqB;AAC9B,SAAS,wBAAwB;AACjC,SAAS,2BAA+C;AAiCxD,MAAM,iBAAiB,oBAAI,QAGzB;AACF,SAAS,cAAc,SAA+B;AACpD,MAAI,UAAU,eAAe,IAAI,OAAO;AACxC,MAAI,CAAC,SAAS;AACZ,cAAU,EAAE,SAAS,oB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CAAC,gBAAgB,cAAc,CAAC;AAAA,EAC3D,GAAG,CAAC,MAAM,OAAO,CAAC;AAClB,QAAM,WAAW,OAAO,MAAM;AAC9B,YAAU,MAAM;AACd,QAAI,SAAS,YAAY,OAAQ;AACjC,aAAS,UAAU;AACnB,eAAW,OAAO;AAClB,yBAAqB,OAAO,EAAE,MAAM;AACpC,oBAAgB;AAAA,EAClB,GAAG,CAAC,QAAQ,OAAO,CAAC;AACtB;AAQO,SAAS,2BAA2C;AACzD,+BAA6B;AAC7B,QAAM,SAAS,wBAAwB;AACvC,QAAM,EAAE,cAAc,IAAI,cAAc;AACxC,QAAM,UAAU,oBAAoB;AACpC,QAAM,cAAc,oBAAoB,CAAC,MAAM,EAAE,WAAW;AAE5D;AAAA,IACE,MAAM,MAAM;AACV,iBAAW,OAAO;AAClB,2BAAqB,OAAO,EAAE,WAAW,KAAK;AAC9C,sBAAgB;AAAA,IAClB;AAAA,IACA,CAAC,SAAS,WAAW;AAAA,EACvB;AACA,SAAO;AAAA,IACL,MACE,gBACI;AAAA,MACE,gBAAgB,CAAC,YACf,OAAO,cAAc,OAA0C;AAAA,IACnE,IACA,CAAC;AAAA,IACP,CAAC,QAAQ,aAAa;AAAA,EACxB;AACF;",
4
+ "sourcesContent": ["/**\n * Remote-control orchestration \u2014 the frontend side of \"a backend agent drives the UI over the\n * websocket\" (the message and the session state: `@arbidocs/react`'s remote-control module).\n *\n * This is the SEPARATE, gated entry point for websocket-arriving runs. It is deliberately distinct\n * from a site's `GuidedRuns.run` so that local \"Show me\" tips (which run directly) are NEVER gated\n * by consent \u2014 GUARANTEE #4. Only runs that arrive here, from the socket, pass through the gate.\n *\n * Gate logic (`handleMessage`):\n * - the site has not turned remote control on (`guided.remoteControl`), or the consent prompt or\n * the guided cursor is not on screen \u2192 refuse: nothing runs, nothing is asked.\n * - remote control `enabled` this session \u2192 run immediately.\n * - otherwise \u2192 stash the request in `pending` (the consent prompt opens); run NOTHING until the\n * user grants (GUARANTEE #2).\n *\n * What a remote command can run: a `sequence_id` the site registered (`GuidedRuns.isSequenceId`)\n * or inline `steps` whose every step has a target, through the one guided runner \u2014 nothing else\n * (no action dispatch). In a remote run the runner acts only on what the user can see, caps waits\n * and pauses at 5 s, and never acts inside an off-limits surface (remote control's own controls,\n * so a one-off grant cannot grant itself the session; credential and endpoint forms) nor on a\n * label whose control is inside one; no guided run types into a secret field.\n *\n * Every sign-in, sign-out, session expiry and change of user drops the grant, any pending request\n * and the run in flight (`useRemoteControlSessionReset`, mounted with the handler and the cursor),\n * so nothing carries over to the next person in the tab.\n *\n * While a run executes, `controllingAgent` is set (labels the pill) and cleared afterwards.\n * Turning remote control off (`disable`) cancels any in-flight run immediately (GUARANTEE #5).\n */\nimport { useEffect, useMemo, useRef } from 'react'\nimport { logger } from '@arbidocs/client'\nimport {\n remoteControlActions,\n remoteControlStateOf,\n toRemoteControlRequest,\n useArbiHost,\n useArbiSession,\n useArbiSessionStore,\n useArbiSessionState,\n type ArbiWsHandlers,\n type GuidedStep,\n type RemoteControlMessage,\n type RemoteControlRequest,\n type RemoteControlSession,\n} from '@arbidocs/react'\nimport { cancelGuidedRun } from '../../guided/runner'\nimport type { GuidedRuns } from '../../guided/sequences'\nimport { useGuidedRuns } from '../../guided/useGuidedRuns'\nimport { isSurfaceMounted } from '../../guided/surfaces'\nimport { createScreenSharing, type ScreenSharing } from './screen-sharing'\n\nexport interface RemoteControl {\n /** The websocket entry point, for a `remote_control` message. Gated (see the file header). */\n handleMessage(msg: RemoteControlMessage): void\n /**\n * Grant the pending consent and run it. `forSession: true` keeps remote control enabled so\n * later websocket runs go without re-prompting; `false` runs the one pending run and leaves it\n * disabled (\"just this once\").\n */\n grantAndRun(opts: { forSession: boolean }): void\n /** Deny the pending consent \u2014 clears it and runs nothing. */\n deny(): void\n /**\n * Turn remote control OFF and revoke immediately (GUARANTEE #5): clears the enabled flag, the\n * pending prompt and the pill, and cancels any in-flight run so the guided cursor stops at once.\n */\n disable(): void\n /** Turn remote control ON directly \u2014 the user's own explicit choice. Runs nothing by itself. */\n enable(): void\n}\n\nexport interface ScreenTransport {\n reply(\n requestId: string,\n result: {\n status: 'captured' | 'denied' | 'stopped' | 'unavailable' | 'action_finished'\n screenshot_png?: string\n diagnostics?: string\n }\n ): Promise<void>\n diagnose?(): Promise<string>\n}\nconst screenRuntimes = new WeakMap<\n RemoteControlSession,\n { sharing: ScreenSharing; generation: number; setup: string; opening: boolean }\n>()\nfunction screenRuntime(session: RemoteControlSession) {\n let runtime = screenRuntimes.get(session)\n if (!runtime) {\n runtime = { sharing: createScreenSharing(), generation: 0, setup: '', opening: false }\n screenRuntimes.set(session, runtime)\n }\n return runtime\n}\nfunction stopScreen(session: RemoteControlSession) {\n const runtime = screenRuntimes.get(session)\n if (!runtime) return\n runtime.generation++\n runtime.sharing.stop()\n runtime.setup = ''\n runtime.opening = false\n const actions = remoteControlActions(session)\n if (remoteControlStateOf(session.getState()).sharing) actions.setSharing(false)\n}\n\n/** Remote control on a session's state, running the site's guided runs. */\nexport function createRemoteControl(\n session: RemoteControlSession,\n guided: Pick<GuidedRuns, 'isSequenceId' | 'run' | 'remoteControl'>,\n screenTransport?: ScreenTransport\n): RemoteControl {\n const actions = remoteControlActions(session)\n const state = () => remoteControlStateOf(session.getState())\n\n const runtime = screenRuntime(session)\n const reply = async (\n req: RemoteControlRequest,\n status: 'denied' | 'stopped' | 'unavailable' | 'action_finished'\n ) => {\n if ((req.screenRequestId || req.actionRequestId) && screenTransport) {\n await screenTransport\n .reply((req.screenRequestId || req.actionRequestId)!, { status })\n .catch(() => {})\n }\n }\n const disable = () => {\n const pending = state().pending\n if (pending) void reply(pending, 'stopped')\n stopScreen(session)\n actions.setEnabled(false)\n cancelGuidedRun()\n }\n const inspect = async (req: RemoteControlRequest, keepSharing: boolean) => {\n if (!req.screenRequestId || !screenTransport) return\n const workspace = session.getState().workspaceId\n if (workspace !== req.workspaceExtId) {\n await reply(req, 'unavailable')\n return\n }\n const token = runtime.generation\n const current = () =>\n token === runtime.generation && session.getState().workspaceId === workspace\n actions.setControllingAgent({ name: req.agentName, extId: req.agentExtId })\n try {\n if (!runtime.sharing.active) {\n // Called directly from the consent button: getDisplayMedia needs this user gesture.\n runtime.opening = true\n await runtime.sharing.start(disable)\n if (!current()) {\n runtime.sharing.stop()\n await reply(req, 'stopped')\n return\n }\n runtime.opening = false\n actions.setSharing(true)\n if (screenTransport.diagnose)\n runtime.setup = await screenTransport.diagnose().catch(() => 'Setup checks unavailable.')\n }\n if (!current()) {\n await reply(req, 'stopped')\n return\n }\n const frame = await runtime.sharing.frame()\n if (!current()) {\n await reply(req, 'stopped')\n return\n }\n await screenTransport.reply(req.screenRequestId, {\n status: 'captured',\n ...frame,\n diagnostics: `${frame.diagnostics}\\n${runtime.setup}`.slice(0, 24000),\n })\n } catch {\n await reply(req, current() ? 'unavailable' : 'stopped')\n if (current()) disable()\n } finally {\n if (current()) {\n const currentAgent = state().controllingAgent\n if (currentAgent?.name === req.agentName && currentAgent.extId === req.agentExtId)\n actions.setControllingAgent(null)\n if (!keepSharing) disable()\n }\n }\n }\n\n /** Resolve a request to the concrete run input for the runner. */\n const resolveRun = (req: RemoteControlRequest): string | GuidedStep[] | null => {\n if (req.steps && req.steps.length > 0) return req.steps\n if (req.sequenceId && guided.isSequenceId(req.sequenceId)) return req.sequenceId\n return null\n }\n\n /** Execute a request, labelling the pill for its duration. The ONLY place a websocket-arriving\n * run reaches the runner. */\n const runRemoteRequest = async (\n req: RemoteControlRequest,\n keepSharing = state().enabled\n ): Promise<void> => {\n if (req.screenRequestId) {\n await inspect(req, keepSharing)\n return\n }\n const run = resolveRun(req)\n if (!run) return\n const token = runtime.generation\n actions.setControllingAgent({ name: req.agentName, extId: req.agentExtId })\n try {\n await guided.run(run, { remote: true })\n if (req.actionRequestId)\n await reply(req, token === runtime.generation ? 'action_finished' : 'stopped')\n } catch {\n await reply(req, 'unavailable')\n } finally {\n // Only clear the pill if THIS run is still the active one \u2014 a newer run or a disable will\n // have replaced/cleared it already.\n const current = state().controllingAgent\n if (current && current.name === req.agentName && current.extId === req.agentExtId) {\n actions.setControllingAgent(null)\n }\n }\n }\n\n return {\n handleMessage(msg) {\n if (!guided.remoteControl) {\n logger.warn('[RemoteControl] Off on this site \u2014 ignoring a request')\n return\n }\n if (!isSurfaceMounted('consent') || !isSurfaceMounted('cursor')) {\n logger.warn('[RemoteControl] No consent prompt or cursor on screen \u2014 ignoring a request')\n return\n }\n const req = toRemoteControlRequest(msg, guided.isSequenceId)\n if (!req) return\n if (\n (req.screenRequestId || req.actionRequestId) &&\n (!screenTransport || session.getState().workspaceId !== req.workspaceExtId)\n ) {\n void reply(req, 'unavailable')\n return\n }\n if (state().enabled && (!req.screenRequestId || runtime.sharing.active)) {\n logger.info('[RemoteControl] Enabled \u2014 running requested action from', req.agentName)\n void runRemoteRequest(req)\n return\n }\n logger.info('[RemoteControl] Consent required \u2014 prompting for', req.agentName)\n if (state().pending) void reply(state().pending!, 'denied')\n actions.request(req)\n },\n grantAndRun(opts) {\n const pending = state().pending\n const keepSharing = opts.forSession || state().enabled\n actions.grant(opts)\n if (pending) void runRemoteRequest(pending, keepSharing)\n },\n deny: () => {\n const pending = state().pending\n actions.deny()\n if (pending) void reply(pending, 'denied')\n },\n disable,\n enable: () => actions.setEnabled(true),\n }\n}\n\n/** Remote control on the host's session and guided runs. */\nexport function useRemoteControlActions(): RemoteControl {\n const session = useArbiSessionStore()\n const guided = useGuidedRuns()\n const { arbi } = useArbiHost()\n return useMemo(\n () =>\n createRemoteControl(\n session,\n guided,\n arbi\n ? {\n reply: (id, result) => arbi.remoteControl.replyScreen(id, result),\n diagnose: async () => JSON.stringify(await arbi.diagnose()),\n }\n : undefined\n ),\n [session, guided, arbi]\n )\n}\n\n/**\n * Drop remote control's grant, its pending request and the guided run in flight on every sign-in,\n * sign-out and session expiry of the host's `Arbi`, and whenever the signed-in user changes (a\n * host that signs in its own way), so nothing carries over to the next person in the tab.\n */\nexport function useRemoteControlSessionReset(): void {\n const session = useArbiSessionStore()\n const { arbi } = useArbiHost()\n const userId = useArbiSession().user?.external_id ?? null\n useEffect(() => {\n const reset = () => {\n stopScreen(session)\n remoteControlActions(session).reset()\n cancelGuidedRun()\n }\n if (!arbi) return\n // A host's stand-in `Arbi` (a demo, a test) may lack some of them.\n const off = [\n arbi.onSigningOut?.(reset),\n arbi.onSessionExpired?.(reset),\n arbi.onSignedIn?.(reset),\n ]\n return () => off.forEach((unsubscribe) => unsubscribe?.())\n }, [arbi, session])\n // A layout/session reset can drop the transient grant without calling the UI's disable action.\n // Close the native stream (including an unresolved browser picker) when that happens.\n useEffect(\n () =>\n session.subscribe(() => {\n const permission = remoteControlStateOf(session.getState())\n const runtime = screenRuntimes.get(session)\n if (\n runtime &&\n (runtime.sharing.active || runtime.opening) &&\n !permission.enabled &&\n !permission.controllingAgent\n ) {\n stopScreen(session)\n cancelGuidedRun()\n }\n }),\n [session]\n )\n const lastUser = useRef(userId)\n useEffect(() => {\n if (lastUser.current === userId) return\n lastUser.current = userId\n stopScreen(session)\n remoteControlActions(session).reset()\n cancelGuidedRun()\n }, [userId, session])\n}\n\n/**\n * The live connection's handler for remote control (`ArbiWebSocketProvider` `handlers`): an\n * `agt-\u2026` agent asking to drive the UI goes to the consent-gated entry point. None while the\n * site has not turned remote control on (`guided.remoteControl`). It also drops the grant and\n * the run in flight at every sign-in and sign-out (`useRemoteControlSessionReset`).\n */\nexport function useRemoteControlHandlers(): ArbiWsHandlers {\n useRemoteControlSessionReset()\n const remote = useRemoteControlActions()\n const { remoteControl } = useGuidedRuns()\n const session = useArbiSessionStore()\n const workspaceId = useArbiSessionState((s) => s.workspaceId)\n // The handler owns the stream lifecycle. A route/auth host teardown always stops sharing.\n useEffect(\n () => () => {\n stopScreen(session)\n remoteControlActions(session).setEnabled(false)\n cancelGuidedRun()\n },\n [session, workspaceId, remoteControl]\n )\n return useMemo(\n () =>\n remoteControl\n ? {\n remote_control: (message) =>\n remote.handleMessage(message as unknown as RemoteControlM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AAwB;AACvC,QAAM,EAAE,cAAc,IAAI,cAAc;AACxC,QAAM,UAAU,oBAAoB;AACpC,QAAM,cAAc,oBAAoB,CAAC,MAAM,EAAE,WAAW;AAE5D;AAAA,IACE,MAAM,MAAM;AACV,iBAAW,OAAO;AAClB,2BAAqB,OAAO,EAAE,WAAW,KAAK;AAC9C,sBAAgB;AAAA,IAClB;AAAA,IACA,CAAC,SAAS,aAAa,aAAa;AAAA,EACtC;AACA,SAAO;AAAA,IACL,MACE,gBACI;AAAA,MACE,gBAAgB,CAAC,YACf,OAAO,cAAc,OAA0C;AAAA,IACnE,IACA,CAAC;AAAA,IACP,CAAC,QAAQ,aAAa;AAAA,EACxB;AACF;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunk2SU37RZA_cjs = require('../chunk-2SU37RZA.cjs');
4
+ var chunkI3A6KKWY_cjs = require('../chunk-I3A6KKWY.cjs');
5
5
  require('../chunk-XF355M7O.cjs');
6
6
  require('../chunk-2F57IO7S.cjs');
7
7
  require('../chunk-7NLO7ASW.cjs');
@@ -9,7 +9,8 @@ require('../chunk-7PN3YENO.cjs');
9
9
  require('../chunk-UFT22LAB.cjs');
10
10
  require('../chunk-TJY7XPDE.cjs');
11
11
  require('../chunk-XNW62J54.cjs');
12
- require('../chunk-KXIRVKCJ.cjs');
12
+ require('../chunk-QUMUAJ2P.cjs');
13
+ require('../chunk-CNLIXB6S.cjs');
13
14
  require('../chunk-5QERK4PK.cjs');
14
15
  require('../chunk-T73BHNQX.cjs');
15
16
  require('../chunk-HYUKPHCT.cjs');
@@ -28,7 +29,6 @@ require('../chunk-WQMR3O2D.cjs');
28
29
  require('../chunk-ORELHENJ.cjs');
29
30
  require('../chunk-NWNVWO6L.cjs');
30
31
  require('../chunk-SK6HQ46Q.cjs');
31
- require('../chunk-E3Y7RI3J.cjs');
32
32
  require('../chunk-TG2GM7WJ.cjs');
33
33
  require('../chunk-OEJQFPWO.cjs');
34
34
  require('../chunk-TP5PGWIO.cjs');
@@ -42,15 +42,14 @@ require('../chunk-3YEXZX4H.cjs');
42
42
  require('../chunk-4PA6VCCR.cjs');
43
43
  require('../chunk-WXUU3COI.cjs');
44
44
  require('../chunk-AHDJXIUB.cjs');
45
+ require('../chunk-YVCOQHCE.cjs');
45
46
  require('../chunk-RL2HI6NP.cjs');
46
47
  require('../chunk-6UZC4XVV.cjs');
47
- require('../chunk-YVCOQHCE.cjs');
48
+ require('../chunk-VZOOGA47.cjs');
48
49
  require('../chunk-JV5TVUOU.cjs');
49
50
  require('../chunk-ZVEW3JBT.cjs');
50
51
  require('../chunk-V6C2MBFY.cjs');
51
52
  require('../chunk-M74FWYNL.cjs');
52
- require('../chunk-QUMUAJ2P.cjs');
53
- require('../chunk-VZOOGA47.cjs');
54
53
  require('../chunk-VJCSEMXT.cjs');
55
54
  require('../chunk-SBWIA4PL.cjs');
56
55
  require('../chunk-QMIHLJMH.cjs');
@@ -76,37 +75,38 @@ require('../chunk-UDSHVNU3.cjs');
76
75
  require('../chunk-IPSHAMO2.cjs');
77
76
  require('../chunk-ZBP4ZSAJ.cjs');
78
77
  require('../chunk-PPCATBOY.cjs');
78
+ require('../chunk-LJJJ6CYH.cjs');
79
+ require('../chunk-E3Y7RI3J.cjs');
79
80
  require('../chunk-TKHCIHE2.cjs');
80
81
  require('../chunk-JDFBEGQO.cjs');
81
82
  require('../chunk-ULWRNGGE.cjs');
82
- require('../chunk-LJJJ6CYH.cjs');
83
83
  require('../chunk-PLIF5CUV.cjs');
84
84
 
85
85
 
86
86
 
87
87
  Object.defineProperty(exports, "ArbiChat", {
88
88
  enumerable: true,
89
- get: function () { return chunk2SU37RZA_cjs.ArbiChat; }
89
+ get: function () { return chunkI3A6KKWY_cjs.ArbiChat; }
90
90
  });
91
91
  Object.defineProperty(exports, "ConnectedCompactLogin", {
92
92
  enumerable: true,
93
- get: function () { return chunk2SU37RZA_cjs.ConnectedCompactLogin; }
93
+ get: function () { return chunkI3A6KKWY_cjs.ConnectedCompactLogin; }
94
94
  });
95
95
  Object.defineProperty(exports, "ConnectedEmbeddedChat", {
96
96
  enumerable: true,
97
- get: function () { return chunk2SU37RZA_cjs.ConnectedEmbeddedChat; }
97
+ get: function () { return chunkI3A6KKWY_cjs.ConnectedEmbeddedChat; }
98
98
  });
99
99
  Object.defineProperty(exports, "ConnectedLoginPage", {
100
100
  enumerable: true,
101
- get: function () { return chunk2SU37RZA_cjs.ConnectedLoginPage; }
101
+ get: function () { return chunkI3A6KKWY_cjs.ConnectedLoginPage; }
102
102
  });
103
103
  Object.defineProperty(exports, "EmbeddedChatPanel", {
104
104
  enumerable: true,
105
- get: function () { return chunk2SU37RZA_cjs.EmbeddedChatPanel; }
105
+ get: function () { return chunkI3A6KKWY_cjs.EmbeddedChatPanel; }
106
106
  });
107
107
  Object.defineProperty(exports, "defaultHost", {
108
108
  enumerable: true,
109
- get: function () { return chunk2SU37RZA_cjs.defaultHost; }
109
+ get: function () { return chunkI3A6KKWY_cjs.defaultHost; }
110
110
  });
111
111
  Object.defineProperty(exports, "useConnection", {
112
112
  enumerable: true,
@@ -1,8 +1,9 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkMXBXZXXQ_cjs = require('../chunk-MXBXZXXQ.cjs');
4
+ var chunkENOPKX7E_cjs = require('../chunk-ENOPKX7E.cjs');
5
5
  var chunkTJY7XPDE_cjs = require('../chunk-TJY7XPDE.cjs');
6
+ require('../chunk-QUMUAJ2P.cjs');
6
7
  var chunkDDWLMYRO_cjs = require('../chunk-DDWLMYRO.cjs');
7
8
  require('../chunk-SNUBQMIS.cjs');
8
9
  require('../chunk-ADMNU2CR.cjs');
@@ -10,7 +11,6 @@ require('../chunk-GNX3FBBX.cjs');
10
11
  var chunkRC25WMVB_cjs = require('../chunk-RC25WMVB.cjs');
11
12
  require('../chunk-RL2HI6NP.cjs');
12
13
  require('../chunk-6UZC4XVV.cjs');
13
- require('../chunk-QUMUAJ2P.cjs');
14
14
  require('../chunk-SJSGSHIT.cjs');
15
15
  require('../chunk-PPCATBOY.cjs');
16
16
  require('../chunk-TKHCIHE2.cjs');
@@ -42,167 +42,167 @@ function toFactRows(records) {
42
42
 
43
43
  Object.defineProperty(exports, "DEFAULT_FACTS_BULK_BAR_LABELS", {
44
44
  enumerable: true,
45
- get: function () { return chunkMXBXZXXQ_cjs.DEFAULT_FACTS_BULK_BAR_LABELS; }
45
+ get: function () { return chunkENOPKX7E_cjs.DEFAULT_FACTS_BULK_BAR_LABELS; }
46
46
  });
47
47
  Object.defineProperty(exports, "DEFAULT_FACTS_EMPTY_STATE_LABELS", {
48
48
  enumerable: true,
49
- get: function () { return chunkMXBXZXXQ_cjs.DEFAULT_FACTS_EMPTY_STATE_LABELS; }
49
+ get: function () { return chunkENOPKX7E_cjs.DEFAULT_FACTS_EMPTY_STATE_LABELS; }
50
50
  });
51
51
  Object.defineProperty(exports, "DEFAULT_FACTS_FIELDS_BUTTON_LABELS", {
52
52
  enumerable: true,
53
- get: function () { return chunkMXBXZXXQ_cjs.DEFAULT_FACTS_FIELDS_BUTTON_LABELS; }
53
+ get: function () { return chunkENOPKX7E_cjs.DEFAULT_FACTS_FIELDS_BUTTON_LABELS; }
54
54
  });
55
55
  Object.defineProperty(exports, "DEFAULT_FACTS_TOOLBAR_LABELS", {
56
56
  enumerable: true,
57
- get: function () { return chunkMXBXZXXQ_cjs.DEFAULT_FACTS_TOOLBAR_LABELS; }
57
+ get: function () { return chunkENOPKX7E_cjs.DEFAULT_FACTS_TOOLBAR_LABELS; }
58
58
  });
59
59
  Object.defineProperty(exports, "DEFAULT_FACTS_VIEW_TOGGLE_LABELS", {
60
60
  enumerable: true,
61
- get: function () { return chunkMXBXZXXQ_cjs.DEFAULT_FACTS_VIEW_TOGGLE_LABELS; }
61
+ get: function () { return chunkENOPKX7E_cjs.DEFAULT_FACTS_VIEW_TOGGLE_LABELS; }
62
62
  });
63
63
  Object.defineProperty(exports, "DEFAULT_FACT_COLUMN_LABELS", {
64
64
  enumerable: true,
65
- get: function () { return chunkMXBXZXXQ_cjs.DEFAULT_FACT_COLUMN_LABELS; }
65
+ get: function () { return chunkENOPKX7E_cjs.DEFAULT_FACT_COLUMN_LABELS; }
66
66
  });
67
67
  Object.defineProperty(exports, "DEFAULT_FACT_COLUMN_ORDER", {
68
68
  enumerable: true,
69
- get: function () { return chunkMXBXZXXQ_cjs.DEFAULT_FACT_COLUMN_ORDER; }
69
+ get: function () { return chunkENOPKX7E_cjs.DEFAULT_FACT_COLUMN_ORDER; }
70
70
  });
71
71
  Object.defineProperty(exports, "DEFAULT_FACT_COMPOSER_LABELS", {
72
72
  enumerable: true,
73
- get: function () { return chunkMXBXZXXQ_cjs.DEFAULT_FACT_COMPOSER_LABELS; }
73
+ get: function () { return chunkENOPKX7E_cjs.DEFAULT_FACT_COMPOSER_LABELS; }
74
74
  });
75
75
  Object.defineProperty(exports, "DEFAULT_FACT_DATE_INPUT_LABELS", {
76
76
  enumerable: true,
77
- get: function () { return chunkMXBXZXXQ_cjs.DEFAULT_FACT_DATE_INPUT_LABELS; }
77
+ get: function () { return chunkENOPKX7E_cjs.DEFAULT_FACT_DATE_INPUT_LABELS; }
78
78
  });
79
79
  Object.defineProperty(exports, "DEFAULT_FACT_LABELS_CELL_LABELS", {
80
80
  enumerable: true,
81
- get: function () { return chunkMXBXZXXQ_cjs.DEFAULT_FACT_LABELS_CELL_LABELS; }
81
+ get: function () { return chunkENOPKX7E_cjs.DEFAULT_FACT_LABELS_CELL_LABELS; }
82
82
  });
83
83
  Object.defineProperty(exports, "DEFAULT_FACT_ROW_ACTIONS_LABELS", {
84
84
  enumerable: true,
85
- get: function () { return chunkMXBXZXXQ_cjs.DEFAULT_FACT_ROW_ACTIONS_LABELS; }
85
+ get: function () { return chunkENOPKX7E_cjs.DEFAULT_FACT_ROW_ACTIONS_LABELS; }
86
86
  });
87
87
  Object.defineProperty(exports, "DEFAULT_FACT_SEARCH_BAR_LABELS", {
88
88
  enumerable: true,
89
- get: function () { return chunkMXBXZXXQ_cjs.DEFAULT_FACT_SEARCH_BAR_LABELS; }
89
+ get: function () { return chunkENOPKX7E_cjs.DEFAULT_FACT_SEARCH_BAR_LABELS; }
90
90
  });
91
91
  Object.defineProperty(exports, "DEFAULT_FACT_SEARCH_RESULT_LABELS", {
92
92
  enumerable: true,
93
- get: function () { return chunkMXBXZXXQ_cjs.DEFAULT_FACT_SEARCH_RESULT_LABELS; }
93
+ get: function () { return chunkENOPKX7E_cjs.DEFAULT_FACT_SEARCH_RESULT_LABELS; }
94
94
  });
95
95
  Object.defineProperty(exports, "DEFAULT_FACT_SOURCES_ROW_LABELS", {
96
96
  enumerable: true,
97
- get: function () { return chunkMXBXZXXQ_cjs.DEFAULT_FACT_SOURCES_ROW_LABELS; }
97
+ get: function () { return chunkENOPKX7E_cjs.DEFAULT_FACT_SOURCES_ROW_LABELS; }
98
98
  });
99
99
  Object.defineProperty(exports, "DEFAULT_FACT_SOURCE_GROUP_LABELS", {
100
100
  enumerable: true,
101
- get: function () { return chunkMXBXZXXQ_cjs.DEFAULT_FACT_SOURCE_GROUP_LABELS; }
101
+ get: function () { return chunkENOPKX7E_cjs.DEFAULT_FACT_SOURCE_GROUP_LABELS; }
102
102
  });
103
103
  Object.defineProperty(exports, "DEFAULT_FACT_TIMELINE_LABELS", {
104
104
  enumerable: true,
105
- get: function () { return chunkMXBXZXXQ_cjs.DEFAULT_FACT_TIMELINE_LABELS; }
105
+ get: function () { return chunkENOPKX7E_cjs.DEFAULT_FACT_TIMELINE_LABELS; }
106
106
  });
107
107
  Object.defineProperty(exports, "FactComposer", {
108
108
  enumerable: true,
109
- get: function () { return chunkMXBXZXXQ_cjs.FactComposer; }
109
+ get: function () { return chunkENOPKX7E_cjs.FactComposer; }
110
110
  });
111
111
  Object.defineProperty(exports, "FactDateInput", {
112
112
  enumerable: true,
113
- get: function () { return chunkMXBXZXXQ_cjs.FactDateInput; }
113
+ get: function () { return chunkENOPKX7E_cjs.FactDateInput; }
114
114
  });
115
115
  Object.defineProperty(exports, "FactFieldRow", {
116
116
  enumerable: true,
117
- get: function () { return chunkMXBXZXXQ_cjs.FactFieldRow; }
117
+ get: function () { return chunkENOPKX7E_cjs.FactFieldRow; }
118
118
  });
119
119
  Object.defineProperty(exports, "FactLabelsCell", {
120
120
  enumerable: true,
121
- get: function () { return chunkMXBXZXXQ_cjs.FactLabelsCell; }
121
+ get: function () { return chunkENOPKX7E_cjs.FactLabelsCell; }
122
122
  });
123
123
  Object.defineProperty(exports, "FactRowActions", {
124
124
  enumerable: true,
125
- get: function () { return chunkMXBXZXXQ_cjs.FactRowActions; }
125
+ get: function () { return chunkENOPKX7E_cjs.FactRowActions; }
126
126
  });
127
127
  Object.defineProperty(exports, "FactSearchBar", {
128
128
  enumerable: true,
129
- get: function () { return chunkMXBXZXXQ_cjs.FactSearchBar; }
129
+ get: function () { return chunkENOPKX7E_cjs.FactSearchBar; }
130
130
  });
131
131
  Object.defineProperty(exports, "FactSearchNoMatches", {
132
132
  enumerable: true,
133
- get: function () { return chunkMXBXZXXQ_cjs.FactSearchNoMatches; }
133
+ get: function () { return chunkENOPKX7E_cjs.FactSearchNoMatches; }
134
134
  });
135
135
  Object.defineProperty(exports, "FactSearchPending", {
136
136
  enumerable: true,
137
- get: function () { return chunkMXBXZXXQ_cjs.FactSearchPending; }
137
+ get: function () { return chunkENOPKX7E_cjs.FactSearchPending; }
138
138
  });
139
139
  Object.defineProperty(exports, "FactSearchResult", {
140
140
  enumerable: true,
141
- get: function () { return chunkMXBXZXXQ_cjs.FactSearchResult; }
141
+ get: function () { return chunkENOPKX7E_cjs.FactSearchResult; }
142
142
  });
143
143
  Object.defineProperty(exports, "FactSearchTotals", {
144
144
  enumerable: true,
145
- get: function () { return chunkMXBXZXXQ_cjs.FactSearchTotals; }
145
+ get: function () { return chunkENOPKX7E_cjs.FactSearchTotals; }
146
146
  });
147
147
  Object.defineProperty(exports, "FactSourceGroup", {
148
148
  enumerable: true,
149
- get: function () { return chunkMXBXZXXQ_cjs.FactSourceGroup; }
149
+ get: function () { return chunkENOPKX7E_cjs.FactSourceGroup; }
150
150
  });
151
151
  Object.defineProperty(exports, "FactSourcesRow", {
152
152
  enumerable: true,
153
- get: function () { return chunkMXBXZXXQ_cjs.FactSourcesRow; }
153
+ get: function () { return chunkENOPKX7E_cjs.FactSourcesRow; }
154
154
  });
155
155
  Object.defineProperty(exports, "FactsBulkBar", {
156
156
  enumerable: true,
157
- get: function () { return chunkMXBXZXXQ_cjs.FactsBulkBar; }
157
+ get: function () { return chunkENOPKX7E_cjs.FactsBulkBar; }
158
158
  });
159
159
  Object.defineProperty(exports, "FactsCalendar", {
160
160
  enumerable: true,
161
- get: function () { return chunkMXBXZXXQ_cjs.FactsCalendar; }
161
+ get: function () { return chunkENOPKX7E_cjs.FactsCalendar; }
162
162
  });
163
163
  Object.defineProperty(exports, "FactsEmptyState", {
164
164
  enumerable: true,
165
- get: function () { return chunkMXBXZXXQ_cjs.FactsEmptyState; }
165
+ get: function () { return chunkENOPKX7E_cjs.FactsEmptyState; }
166
166
  });
167
167
  Object.defineProperty(exports, "FactsFieldsButton", {
168
168
  enumerable: true,
169
- get: function () { return chunkMXBXZXXQ_cjs.FactsFieldsButton; }
169
+ get: function () { return chunkENOPKX7E_cjs.FactsFieldsButton; }
170
170
  });
171
171
  Object.defineProperty(exports, "FactsGanttPane", {
172
172
  enumerable: true,
173
- get: function () { return chunkMXBXZXXQ_cjs.FactsGanttPane; }
173
+ get: function () { return chunkENOPKX7E_cjs.FactsGanttPane; }
174
174
  });
175
175
  Object.defineProperty(exports, "FactsLoadError", {
176
176
  enumerable: true,
177
- get: function () { return chunkMXBXZXXQ_cjs.FactsLoadError; }
177
+ get: function () { return chunkENOPKX7E_cjs.FactsLoadError; }
178
178
  });
179
179
  Object.defineProperty(exports, "FactsLoading", {
180
180
  enumerable: true,
181
- get: function () { return chunkMXBXZXXQ_cjs.FactsLoading; }
181
+ get: function () { return chunkENOPKX7E_cjs.FactsLoading; }
182
182
  });
183
183
  Object.defineProperty(exports, "FactsToolbar", {
184
184
  enumerable: true,
185
- get: function () { return chunkMXBXZXXQ_cjs.FactsToolbar; }
185
+ get: function () { return chunkENOPKX7E_cjs.FactsToolbar; }
186
186
  });
187
187
  Object.defineProperty(exports, "FactsViewToggle", {
188
188
  enumerable: true,
189
- get: function () { return chunkMXBXZXXQ_cjs.FactsViewToggle; }
189
+ get: function () { return chunkENOPKX7E_cjs.FactsViewToggle; }
190
190
  });
191
191
  Object.defineProperty(exports, "ISO_DATE_FILTER_PARAMS", {
192
192
  enumerable: true,
193
- get: function () { return chunkMXBXZXXQ_cjs.ISO_DATE_FILTER_PARAMS; }
193
+ get: function () { return chunkENOPKX7E_cjs.ISO_DATE_FILTER_PARAMS; }
194
194
  });
195
195
  Object.defineProperty(exports, "createFactColumns", {
196
196
  enumerable: true,
197
- get: function () { return chunkMXBXZXXQ_cjs.createFactColumns; }
197
+ get: function () { return chunkENOPKX7E_cjs.createFactColumns; }
198
198
  });
199
199
  Object.defineProperty(exports, "enableFactTableColumnResize", {
200
200
  enumerable: true,
201
- get: function () { return chunkMXBXZXXQ_cjs.enableFactTableColumnResize; }
201
+ get: function () { return chunkENOPKX7E_cjs.enableFactTableColumnResize; }
202
202
  });
203
203
  Object.defineProperty(exports, "sourceDocCount", {
204
204
  enumerable: true,
205
- get: function () { return chunkMXBXZXXQ_cjs.sourceDocCount; }
205
+ get: function () { return chunkENOPKX7E_cjs.sourceDocCount; }
206
206
  });
207
207
  Object.defineProperty(exports, "EMPTY_FACT_DATE_FIELDS", {
208
208
  enumerable: true,