@arbidocs/blocks 0.4.141 → 0.4.143
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/agents/index.cjs +440 -436
- package/dist/agents/index.js +12 -8
- package/dist/chat/index.cjs +139 -138
- package/dist/chat/index.js +4 -3
- package/dist/{chunk-S24XEVPS.cjs → chunk-464YPRAE.cjs} +33 -2
- package/dist/chunk-464YPRAE.cjs.map +1 -0
- package/dist/{chunk-7YLJHTDC.cjs → chunk-5A2QQAF5.cjs} +11 -11
- package/dist/{chunk-7YLJHTDC.cjs.map → chunk-5A2QQAF5.cjs.map} +1 -1
- package/dist/{chunk-ON3TKY5Y.js → chunk-5YHEHEJT.js} +242 -4
- package/dist/chunk-5YHEHEJT.js.map +1 -0
- package/dist/chunk-76L6LOP3.cjs +308 -0
- package/dist/chunk-76L6LOP3.cjs.map +1 -0
- package/dist/chunk-AHDJXIUB.cjs +25 -0
- package/dist/chunk-AHDJXIUB.cjs.map +1 -0
- package/dist/chunk-AOSUHWIL.js +98 -0
- package/dist/chunk-AOSUHWIL.js.map +1 -0
- package/dist/{chunk-YFF3GTJQ.js → chunk-C44TDH54.js} +14 -1613
- package/dist/chunk-C44TDH54.js.map +1 -0
- package/dist/{chunk-GFRQG36Y.cjs → chunk-COCGRJLA.cjs} +213 -57
- package/dist/chunk-COCGRJLA.cjs.map +1 -0
- package/dist/chunk-CQCC7LE7.js +210 -0
- package/dist/chunk-CQCC7LE7.js.map +1 -0
- package/dist/{chunk-UGCKUXRV.js → chunk-CSI2B2H5.js} +3 -3
- package/dist/{chunk-UGCKUXRV.js.map → chunk-CSI2B2H5.js.map} +1 -1
- package/dist/{chunk-R26BK7YL.cjs → chunk-DTROMMDX.cjs} +4 -4
- package/dist/{chunk-R26BK7YL.cjs.map → chunk-DTROMMDX.cjs.map} +1 -1
- package/dist/{chunk-65THHQVB.cjs → chunk-ECW2R2KF.cjs} +27 -27
- package/dist/{chunk-65THHQVB.cjs.map → chunk-ECW2R2KF.cjs.map} +1 -1
- package/dist/{chunk-RI6DZA5X.js → chunk-EF4ZLKRM.js} +3 -3
- package/dist/{chunk-RI6DZA5X.js.map → chunk-EF4ZLKRM.js.map} +1 -1
- package/dist/{chunk-WS5EX7DN.cjs → chunk-EYKISBDO.cjs} +5 -5
- package/dist/{chunk-WS5EX7DN.cjs.map → chunk-EYKISBDO.cjs.map} +1 -1
- package/dist/chunk-FJETR2AS.js +561 -0
- package/dist/chunk-FJETR2AS.js.map +1 -0
- package/dist/{chunk-JO3EMZ4X.js → chunk-GWSGIZQ5.js} +3 -3
- package/dist/{chunk-JO3EMZ4X.js.map → chunk-GWSGIZQ5.js.map} +1 -1
- package/dist/{chunk-O6W6RW3B.js → chunk-H4D7WKDY.js} +207 -54
- package/dist/chunk-H4D7WKDY.js.map +1 -0
- package/dist/{chunk-OAQEUTNJ.cjs → chunk-HAOKT4LC.cjs} +5 -5
- package/dist/{chunk-OAQEUTNJ.cjs.map → chunk-HAOKT4LC.cjs.map} +1 -1
- package/dist/{chunk-YWY2KIX2.js → chunk-IJST4EBM.js} +13 -9
- package/dist/chunk-IJST4EBM.js.map +1 -0
- package/dist/{chunk-3RJN2VTL.js → chunk-IXWJGOM2.js} +3 -3
- package/dist/{chunk-3RJN2VTL.js.map → chunk-IXWJGOM2.js.map} +1 -1
- package/dist/{chunk-CYNF5PZI.js → chunk-J5CWKFSC.js} +3 -3
- package/dist/{chunk-CYNF5PZI.js.map → chunk-J5CWKFSC.js.map} +1 -1
- package/dist/{chunk-OWCEQKAR.cjs → chunk-JSTKEZBS.cjs} +21 -318
- package/dist/chunk-JSTKEZBS.cjs.map +1 -0
- package/dist/{chunk-TP6PLDNM.cjs → chunk-KMZWKSKO.cjs} +8 -8
- package/dist/{chunk-TP6PLDNM.cjs.map → chunk-KMZWKSKO.cjs.map} +1 -1
- package/dist/{chunk-C4WSHRR6.cjs → chunk-KPZZ5FHE.cjs} +32 -12
- package/dist/chunk-KPZZ5FHE.cjs.map +1 -0
- package/dist/{chunk-CKCBBYTA.js → chunk-KSHKTOY2.js} +5 -205
- package/dist/chunk-KSHKTOY2.js.map +1 -0
- package/dist/chunk-LJJJ6CYH.cjs +62 -0
- package/dist/chunk-LJJJ6CYH.cjs.map +1 -0
- package/dist/chunk-LPYEUD2D.cjs +1627 -0
- package/dist/chunk-LPYEUD2D.cjs.map +1 -0
- package/dist/chunk-MHFF5N65.cjs +101 -0
- package/dist/chunk-MHFF5N65.cjs.map +1 -0
- package/dist/{chunk-GYAUJ4KT.js → chunk-MTSKK3BN.js} +32 -3
- package/dist/chunk-MTSKK3BN.js.map +1 -0
- package/dist/chunk-NHZK64TQ.js +75 -0
- package/dist/chunk-NHZK64TQ.js.map +1 -0
- package/dist/{chunk-BPBSSMRB.js → chunk-NRFAWUVD.js} +3 -3
- package/dist/{chunk-BPBSSMRB.js.map → chunk-NRFAWUVD.js.map} +1 -1
- package/dist/chunk-NWNVWO6L.cjs +80 -0
- package/dist/chunk-NWNVWO6L.cjs.map +1 -0
- package/dist/{chunk-CQ4MFKFC.cjs → chunk-O2GW5IY6.cjs} +90 -86
- package/dist/chunk-O2GW5IY6.cjs.map +1 -0
- package/dist/{chunk-3BFGL2JL.cjs → chunk-ODRHHWHY.cjs} +4 -4
- package/dist/{chunk-3BFGL2JL.cjs.map → chunk-ODRHHWHY.cjs.map} +1 -1
- package/dist/{chunk-Y3KA6X7B.js → chunk-OVR3XMYL.js} +4 -4
- package/dist/{chunk-Y3KA6X7B.js.map → chunk-OVR3XMYL.js.map} +1 -1
- package/dist/{chunk-Y5KTM3V5.js → chunk-PDKM27DF.js} +17 -295
- package/dist/chunk-PDKM27DF.js.map +1 -0
- package/dist/{chunk-OAL3B2ZU.cjs → chunk-PLJ7PHWU.cjs} +5 -5
- package/dist/{chunk-OAL3B2ZU.cjs.map → chunk-PLJ7PHWU.cjs.map} +1 -1
- package/dist/{chunk-2UUNSHDI.cjs → chunk-RB7GX2VT.cjs} +59 -1682
- package/dist/chunk-RB7GX2VT.cjs.map +1 -0
- package/dist/chunk-RFIBUWLF.cjs +232 -0
- package/dist/chunk-RFIBUWLF.cjs.map +1 -0
- package/dist/chunk-RLWIUUQ5.js +23 -0
- package/dist/chunk-RLWIUUQ5.js.map +1 -0
- package/dist/{chunk-MIDXCYZB.cjs → chunk-RQ2Y7USX.cjs} +15 -235
- package/dist/chunk-RQ2Y7USX.cjs.map +1 -0
- package/dist/chunk-SV65E4QW.js +58 -0
- package/dist/chunk-SV65E4QW.js.map +1 -0
- package/dist/{chunk-LYUO3E6V.js → chunk-SZOFGU7W.js} +3 -3
- package/dist/{chunk-LYUO3E6V.js.map → chunk-SZOFGU7W.js.map} +1 -1
- package/dist/chunk-T5B7FM7S.js +1602 -0
- package/dist/chunk-T5B7FM7S.js.map +1 -0
- package/dist/{chunk-YNIBUKV5.js → chunk-TBEVGWY3.js} +32 -14
- package/dist/chunk-TBEVGWY3.js.map +1 -0
- package/dist/{chunk-MJCCBMM5.cjs → chunk-TC3RQNEX.cjs} +6 -80
- package/dist/chunk-TC3RQNEX.cjs.map +1 -0
- package/dist/chunk-TZGBRLPK.js +288 -0
- package/dist/chunk-TZGBRLPK.js.map +1 -0
- package/dist/chunk-U6YVZDOV.cjs +574 -0
- package/dist/chunk-U6YVZDOV.cjs.map +1 -0
- package/dist/{chunk-QIMVTGKS.cjs → chunk-U73KPFYH.cjs} +255 -2
- package/dist/chunk-U73KPFYH.cjs.map +1 -0
- package/dist/{chunk-HFGXA5CL.cjs → chunk-UTTTJSQU.cjs} +4 -4
- package/dist/{chunk-HFGXA5CL.cjs.map → chunk-UTTTJSQU.cjs.map} +1 -1
- package/dist/{chunk-DLBUFHLY.js → chunk-VTTZZ4FN.js} +4 -74
- package/dist/chunk-VTTZZ4FN.js.map +1 -0
- package/dist/{chunk-5FTIHRZH.cjs → chunk-XVUOMWMD.cjs} +4 -4
- package/dist/{chunk-5FTIHRZH.cjs.map → chunk-XVUOMWMD.cjs.map} +1 -1
- package/dist/{chunk-3ZYOASAX.js → chunk-Y4ATWQGV.js} +3 -3
- package/dist/{chunk-3ZYOASAX.js.map → chunk-Y4ATWQGV.js.map} +1 -1
- package/dist/{chunk-444XKG46.js → chunk-YKQ2DPIP.js} +3 -3
- package/dist/{chunk-444XKG46.js.map → chunk-YKQ2DPIP.js.map} +1 -1
- package/dist/{chunk-HEMU73OP.cjs → chunk-YSHIC4NJ.cjs} +4 -4
- package/dist/{chunk-HEMU73OP.cjs.map → chunk-YSHIC4NJ.cjs.map} +1 -1
- package/dist/{chunk-5BXEYYH6.js → chunk-ZM26YEOT.js} +3 -3
- package/dist/{chunk-5BXEYYH6.js.map → chunk-ZM26YEOT.js.map} +1 -1
- package/dist/citations/index.cjs +12 -12
- package/dist/citations/index.js +3 -3
- package/dist/connect/docx.cjs +36 -7
- package/dist/connect/docx.cjs.map +1 -1
- package/dist/connect/docx.d.ts +9 -2
- package/dist/connect/docx.js +30 -6
- package/dist/connect/docx.js.map +1 -1
- package/dist/connect/index.cjs +805 -630
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.d.ts +2 -0
- package/dist/connect/index.js +639 -509
- package/dist/connect/index.js.map +1 -1
- package/dist/connection/ConnectedSettings.d.ts +3 -2
- package/dist/connection/docx/ConnectedNativeDocxComparison.d.ts +5 -0
- package/dist/connection/docx/ConnectedNativeDocxEditor.d.ts +16 -0
- package/dist/connection/{ConnectedStreamedWordArtifact.d.ts → docx/ConnectedStreamedWordArtifact.d.ts} +1 -1
- package/dist/connection/docx/support.d.ts +27 -0
- package/dist/connection/docx/useConnectedDocxReferences.d.ts +2 -0
- package/dist/connection/docx/useConnectedHouseTemplate.d.ts +2 -0
- package/dist/connection/settings-page/ConnectedAccountSettings.d.ts +35 -0
- package/dist/connection/settings-page/ConnectedMailSettings.d.ts +13 -0
- package/dist/connection/settings-page/ConnectedPremiumModels.d.ts +1 -0
- package/dist/connection/settings-page/ConnectedPrivacySettings.d.ts +12 -0
- package/dist/connection/settings-page/ConnectedSettingsPage.d.ts +29 -0
- package/dist/connection/settings-page/SessionStatusIcon.d.ts +7 -0
- package/dist/connection/settings-page/index.d.ts +6 -0
- package/dist/docx/index.cjs +17 -63
- package/dist/docx/index.cjs.map +1 -1
- package/dist/docx/index.d.ts +1 -0
- package/dist/docx/index.js +2 -64
- package/dist/docx/index.js.map +1 -1
- package/dist/docx/template/candidates.d.ts +16 -0
- package/dist/facts/index.cjs +4 -4
- package/dist/facts/index.js +3 -3
- package/dist/files/index.cjs +3 -3
- package/dist/files/index.js +2 -2
- package/dist/home/index.cjs +20 -20
- package/dist/home/index.js +4 -4
- package/dist/index.cjs +793 -755
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +25 -19
- package/dist/index.js.map +1 -1
- package/dist/lib/deep-link.d.ts +46 -0
- package/dist/lib/sidebar-mode.d.ts +1 -3
- package/dist/lib/use-close-on-escape.d.ts +6 -0
- package/dist/provider/BlocksProvider.d.ts +5 -1
- package/dist/provider/settings-section.d.ts +9 -0
- package/dist/retrieval/index.cjs +4 -4
- package/dist/retrieval/index.js +2 -2
- package/dist/settings/AppearanceSettings.d.ts +18 -0
- package/dist/settings/ServerConnectionControls.d.ts +16 -0
- package/dist/settings/SettingsPage.d.ts +31 -0
- package/dist/settings/index.cjs +189 -251
- package/dist/settings/index.cjs.map +1 -1
- package/dist/settings/index.d.ts +3 -1
- package/dist/settings/index.js +89 -200
- package/dist/settings/index.js.map +1 -1
- package/dist/shell/ShellSidebar.d.ts +37 -0
- package/dist/shell/Sidebar.d.ts +6 -6
- package/dist/shell/index.cjs +63 -50
- package/dist/shell/index.d.ts +4 -1
- package/dist/shell/index.js +5 -4
- package/dist/shell/types.d.ts +18 -0
- package/dist/shell/use-sidebar-controller.d.ts +59 -0
- package/dist/site/index.cjs +74 -73
- package/dist/site/index.js +3 -2
- package/dist/studio/index.cjs +80 -78
- package/dist/studio/index.cjs.map +1 -1
- package/dist/studio/index.js +10 -8
- package/dist/studio/index.js.map +1 -1
- package/dist/workflow-canvas/index.cjs +64 -60
- package/dist/workflow-canvas/index.cjs.map +1 -1
- package/dist/workflow-canvas/index.js +12 -8
- package/dist/workflow-canvas/index.js.map +1 -1
- package/dist/workspaces/index.cjs +3 -3
- package/dist/workspaces/index.js +2 -2
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +4 -4
- package/dist/chunk-2UUNSHDI.cjs.map +0 -1
- package/dist/chunk-4TR5QCCX.cjs +0 -43
- package/dist/chunk-4TR5QCCX.cjs.map +0 -1
- package/dist/chunk-7NDW4KF4.cjs +0 -112
- package/dist/chunk-7NDW4KF4.cjs.map +0 -1
- package/dist/chunk-C4WSHRR6.cjs.map +0 -1
- package/dist/chunk-CKCBBYTA.js.map +0 -1
- package/dist/chunk-CQ4MFKFC.cjs.map +0 -1
- package/dist/chunk-DLBUFHLY.js.map +0 -1
- package/dist/chunk-ETXYVO6E.js +0 -109
- package/dist/chunk-ETXYVO6E.js.map +0 -1
- package/dist/chunk-GFRQG36Y.cjs.map +0 -1
- package/dist/chunk-GYAUJ4KT.js.map +0 -1
- package/dist/chunk-MCKOZACC.js +0 -41
- package/dist/chunk-MCKOZACC.js.map +0 -1
- package/dist/chunk-MIDXCYZB.cjs.map +0 -1
- package/dist/chunk-MJCCBMM5.cjs.map +0 -1
- package/dist/chunk-O6W6RW3B.js.map +0 -1
- package/dist/chunk-ON3TKY5Y.js.map +0 -1
- package/dist/chunk-OWCEQKAR.cjs.map +0 -1
- package/dist/chunk-QIMVTGKS.cjs.map +0 -1
- package/dist/chunk-S24XEVPS.cjs.map +0 -1
- package/dist/chunk-Y5KTM3V5.js.map +0 -1
- package/dist/chunk-YFF3GTJQ.js.map +0 -1
- package/dist/chunk-YNIBUKV5.js.map +0 -1
- package/dist/chunk-YWY2KIX2.js.map +0 -1
- package/dist/connection/ConnectedNativeDocxEditor.d.ts +0 -6
|
@@ -70,11 +70,11 @@ export interface ConnectedNotificationPreferencesProps {
|
|
|
70
70
|
/** The email-notification switches (`NotificationCategoryList`) over the user settings. */
|
|
71
71
|
export declare function ConnectedNotificationPreferences({ categories, title, }: ConnectedNotificationPreferencesProps): import("react").JSX.Element;
|
|
72
72
|
export interface ConnectedSessionsRowProps {
|
|
73
|
-
/** Glyph per session status
|
|
73
|
+
/** Glyph per session status; default `SessionStatusIcon`. */
|
|
74
74
|
renderSessionIcon?: (status: string) => ReactNode;
|
|
75
75
|
}
|
|
76
76
|
/** "Active sessions" row with the manage dialog (`ActiveSessionsDialog`); end any but this device. */
|
|
77
|
-
export declare function ConnectedSessionsRow({ renderSessionIcon }: ConnectedSessionsRowProps): import("react").JSX.Element;
|
|
77
|
+
export declare function ConnectedSessionsRow({ renderSessionIcon, }: ConnectedSessionsRowProps): import("react").JSX.Element;
|
|
78
78
|
export interface ConnectedLogoutDialogProps {
|
|
79
79
|
open: boolean;
|
|
80
80
|
onClose: () => void;
|
|
@@ -85,6 +85,7 @@ export interface ConnectedLogoutDialogProps {
|
|
|
85
85
|
* signed in. Default: sign out at once.
|
|
86
86
|
*/
|
|
87
87
|
confirmSignOut?: () => Promise<boolean> | boolean;
|
|
88
|
+
/** Glyph per session status; default `SessionStatusIcon`. */
|
|
88
89
|
renderSessionIcon?: (status: string) => ReactNode;
|
|
89
90
|
}
|
|
90
91
|
/**
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type NativeDocxComparisonProps } from '../../docx/NativeDocxComparison';
|
|
2
|
+
/** The Word redline of two documents or versions, on the signed-in session. */
|
|
3
|
+
export declare function ConnectedNativeDocxComparison({ fontBaseUrl, ...props }: Omit<NativeDocxComparisonProps, 'adapter' | 'onCompared'> & {
|
|
4
|
+
fontBaseUrl?: string;
|
|
5
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type NativeDocxAdapter, type NativeDocxEditorProps } from '../../docx/NativeDocxEditor';
|
|
2
|
+
export type ConnectedNativeDocxEditorProps = Omit<NativeDocxEditorProps, 'adapter'> & {
|
|
3
|
+
fontBaseUrl?: string;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* The native Word editor on the signed-in ARBI session, under any host (a `ConnectionProvider`, or
|
|
7
|
+
* the host's own `ArbiProvider` + session state). Until a live session has opened, a failure to
|
|
8
|
+
* open one falls back to the saved copy, read-only, so the document is still readable; later token
|
|
9
|
+
* refreshes are not guarded (switching modes would drop unsaved edits).
|
|
10
|
+
*/
|
|
11
|
+
export declare function ConnectedNativeDocxEditor({ fontBaseUrl, ...props }: ConnectedNativeDocxEditorProps): import("react").JSX.Element;
|
|
12
|
+
/**
|
|
13
|
+
* The native Word adapter on the signed-in session: the editor transport, the people to mention,
|
|
14
|
+
* cross-references, the house template, and the host's extras (`NativeDocxSupportProvider`).
|
|
15
|
+
*/
|
|
16
|
+
export declare function useConnectedNativeDocxAdapter(fontBaseUrl?: string): NativeDocxAdapter;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type StreamedWordArtifactProps } from '
|
|
1
|
+
import { type StreamedWordArtifactProps } from '../../docx/StreamedWordArtifact';
|
|
2
2
|
export declare function ConnectedStreamedWordArtifact({ fontBaseUrl, ...props }: Omit<StreamedWordArtifactProps, 'adapter'> & {
|
|
3
3
|
fontBaseUrl?: string;
|
|
4
4
|
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What a host adds to the connected Word editor that the platform API alone cannot give: the
|
|
3
|
+
* workspace's definitions (facts labelled "Definitions"), image generation (an assistant run), the
|
|
4
|
+
* host's leave-page guard, and a comment to open the editor at. Every field is optional; without a
|
|
5
|
+
* provider the editor simply offers less (no Defined term, no Generate image).
|
|
6
|
+
*/
|
|
7
|
+
import { type ReactNode } from 'react';
|
|
8
|
+
import type { DefinitionSource } from '../../tags/definitions';
|
|
9
|
+
import type { DocxImageGeneration } from '../../docx/layout/GenerateImage';
|
|
10
|
+
export interface NativeDocxSupport {
|
|
11
|
+
/** The workspace's definitions. Present: Insert offers Defined term and `@@` the type-ahead. */
|
|
12
|
+
definitions?: () => Promise<DefinitionSource[]>;
|
|
13
|
+
/** The platform's image generation. Present: Insert offers Generate image. */
|
|
14
|
+
imageGeneration?: DocxImageGeneration;
|
|
15
|
+
/** The open editor has (or no longer has) unsaved changes. */
|
|
16
|
+
onDirtyChange?: (dirty: boolean) => void;
|
|
17
|
+
/** A comment thread to open when its document opens (a notification's link). */
|
|
18
|
+
commentTarget?: {
|
|
19
|
+
documentId: string;
|
|
20
|
+
commentId: string;
|
|
21
|
+
} | null;
|
|
22
|
+
}
|
|
23
|
+
export declare function NativeDocxSupportProvider({ value, children, }: {
|
|
24
|
+
value: NativeDocxSupport;
|
|
25
|
+
children: ReactNode;
|
|
26
|
+
}): import("react").JSX.Element;
|
|
27
|
+
export declare function useNativeDocxSupport(): NativeDocxSupport;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Account section of a settings page, bound to the signed-in account: profile and ID check,
|
|
3
|
+
* security, the session card (server connection, active sessions, sign out) and the danger zone.
|
|
4
|
+
* What only the host knows is a prop: the recovery-key download, its admin links, its socket and
|
|
5
|
+
* its billing page.
|
|
6
|
+
*/
|
|
7
|
+
import { type ReactNode } from 'react';
|
|
8
|
+
import type { IdentityStatus } from '@arbidocs/react/ui';
|
|
9
|
+
import { type ServerConnectionStatus } from '../../settings/ServerConnectionControls';
|
|
10
|
+
export interface ConnectedServerConnection extends ServerConnectionStatus {
|
|
11
|
+
/** Refresh the session (re-authenticate, reconnect); the button spins until it settles. */
|
|
12
|
+
onRefresh: () => Promise<unknown>;
|
|
13
|
+
}
|
|
14
|
+
export interface ConnectedAccountSettingsProps {
|
|
15
|
+
/** Classes of the initials avatar shown without a picture (e.g. the host's per-user colour). */
|
|
16
|
+
avatarClassName?: string;
|
|
17
|
+
/** Open the host's billing when the ID-check fee cannot be charged. */
|
|
18
|
+
onManageBilling?: () => void;
|
|
19
|
+
/** The ID-check price format. */
|
|
20
|
+
formatIdentityPrice?: (status: IdentityStatus) => string;
|
|
21
|
+
/** Sections between Profile and Security (e.g. a link to the host's admin portal). */
|
|
22
|
+
afterProfile?: ReactNode;
|
|
23
|
+
/** The host's password policy. */
|
|
24
|
+
getUnmetPasswordRequirement?: (password: string) => string | null;
|
|
25
|
+
/** More Security rows under "Change password" (e.g. "Save recovery key"). */
|
|
26
|
+
securityRows?: ReactNode;
|
|
27
|
+
/** The server-connection row; none when the host has no live connection to show. */
|
|
28
|
+
connection?: ConnectedServerConnection;
|
|
29
|
+
/** Sign out through the host's own dialog. Default: the built-in `ConnectedLogoutDialog`. */
|
|
30
|
+
onLogout?: () => void;
|
|
31
|
+
renderSessionIcon?: (status: string) => ReactNode;
|
|
32
|
+
/** Link to the billing page for a deletion blocked by an active subscription. */
|
|
33
|
+
renderSubscriptionLink?: () => ReactNode;
|
|
34
|
+
}
|
|
35
|
+
export declare function ConnectedAccountSettings({ avatarClassName, onManageBilling, formatIdentityPrice, afterProfile, getUnmetPasswordRequirement, securityRows, connection, onLogout, renderSessionIcon, renderSubscriptionLink, }: ConnectedAccountSettingsProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Mail section of a settings page: the native address and the connected mailboxes
|
|
3
|
+
* (`ConnectedMailAccounts`, in place). Answered from the device when offline, like the mailbox,
|
|
4
|
+
* so the section never hangs on "Loading mail accounts…" without a connection.
|
|
5
|
+
*/
|
|
6
|
+
import type { ReactNode } from 'react';
|
|
7
|
+
export interface ConnectedMailSettingsProps {
|
|
8
|
+
/** Where a provider's OAuth returns after connecting a mailbox. Default: the current page. */
|
|
9
|
+
oauthReturnPath?: string;
|
|
10
|
+
/** More settings under the accounts (e.g. keeping mail on this device). */
|
|
11
|
+
settings?: ReactNode;
|
|
12
|
+
}
|
|
13
|
+
export declare function ConnectedMailSettings({ oauthReturnPath, settings }: ConnectedMailSettingsProps): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function ConnectedPremiumModels(): import("react").JSX.Element | null;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Privacy section of a settings page, over the user settings: whether others see you online,
|
|
3
|
+
* the host's own privacy rows, "Reset tips", and the email notifications.
|
|
4
|
+
*/
|
|
5
|
+
import type { ReactNode } from 'react';
|
|
6
|
+
export interface ConnectedPrivacySettingsProps {
|
|
7
|
+
/** More rows after "Show Online Status" (e.g. the host's remote-control switch). */
|
|
8
|
+
rows?: ReactNode;
|
|
9
|
+
/** Offer "Reset tips" (the host shows tips the user can hide with "don't show again"). */
|
|
10
|
+
showTipsReset?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare function ConnectedPrivacySettings({ rows, showTipsReset, }: ConnectedPrivacySettingsProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type SettingsPageProps, type SettingsPageSection } from '../../settings/SettingsPage';
|
|
2
|
+
import { type ConnectedAccountSettingsProps } from './ConnectedAccountSettings';
|
|
3
|
+
import { type ConnectedMailSettingsProps } from './ConnectedMailSettings';
|
|
4
|
+
import { type ConnectedPrivacySettingsProps } from './ConnectedPrivacySettings';
|
|
5
|
+
/** The section ids of the connected sections. */
|
|
6
|
+
export declare const SETTINGS_SECTION_IDS: {
|
|
7
|
+
readonly account: "account";
|
|
8
|
+
readonly mail: "mail";
|
|
9
|
+
readonly privacy: "privacy";
|
|
10
|
+
readonly chat: "chat";
|
|
11
|
+
};
|
|
12
|
+
/** Account: profile, ID check, security, sessions, sign out, delete. */
|
|
13
|
+
export declare function accountSettingsSection(props?: ConnectedAccountSettingsProps): SettingsPageSection;
|
|
14
|
+
/** Mail: the native address and the connected mailboxes. */
|
|
15
|
+
export declare function mailSettingsSection(props?: ConnectedMailSettingsProps): SettingsPageSection;
|
|
16
|
+
/** Privacy: online status, tips and the email notifications. */
|
|
17
|
+
export declare function privacySettingsSection(props?: ConnectedPrivacySettingsProps): SettingsPageSection;
|
|
18
|
+
/** Chat: the premium models. */
|
|
19
|
+
export declare function chatSettingsSection(): SettingsPageSection;
|
|
20
|
+
/** The sections of a host that adds none of its own. */
|
|
21
|
+
export declare const DEFAULT_SETTINGS_SECTIONS: readonly SettingsPageSection[];
|
|
22
|
+
export interface ConnectedSettingsPageProps extends Omit<SettingsPageProps, 'sections' | 'activeSectionId' | 'onSectionChange'> {
|
|
23
|
+
/** The sections in tab order; default {@link DEFAULT_SETTINGS_SECTIONS}. */
|
|
24
|
+
sections?: readonly SettingsPageSection[];
|
|
25
|
+
/** The open section (controlled). Default: the last `openSettings` request, else the first. */
|
|
26
|
+
section?: string;
|
|
27
|
+
onSectionChange?: (id: string) => void;
|
|
28
|
+
}
|
|
29
|
+
export declare function ConnectedSettingsPage({ sections, section, onSectionChange, ...page }: ConnectedSettingsPageProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** The glyph of a signed-in session: an agent's bot head, else a device. */
|
|
2
|
+
export declare function SessionStatusIcon({ status, className }: {
|
|
3
|
+
status: string;
|
|
4
|
+
className?: string;
|
|
5
|
+
}): import("react").JSX.Element;
|
|
6
|
+
/** `renderSessionIcon` default of the session lists. */
|
|
7
|
+
export declare const renderSessionStatusIcon: (status: string) => import("react").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { ConnectedSettingsPage, DEFAULT_SETTINGS_SECTIONS, SETTINGS_SECTION_IDS, accountSettingsSection, chatSettingsSection, mailSettingsSection, privacySettingsSection, type ConnectedSettingsPageProps, } from './ConnectedSettingsPage';
|
|
2
|
+
export { ConnectedAccountSettings, type ConnectedAccountSettingsProps, type ConnectedServerConnection, } from './ConnectedAccountSettings';
|
|
3
|
+
export { ConnectedMailSettings, type ConnectedMailSettingsProps } from './ConnectedMailSettings';
|
|
4
|
+
export { ConnectedPrivacySettings, type ConnectedPrivacySettingsProps, } from './ConnectedPrivacySettings';
|
|
5
|
+
export { ConnectedPremiumModels } from './ConnectedPremiumModels';
|
|
6
|
+
export { SessionStatusIcon, renderSessionStatusIcon } from './SessionStatusIcon';
|
package/dist/docx/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var chunkMHFF5N65_cjs = require('../chunk-MHFF5N65.cjs');
|
|
5
|
+
var chunk464YPRAE_cjs = require('../chunk-464YPRAE.cjs');
|
|
6
6
|
var chunkV5OAXIBN_cjs = require('../chunk-V5OAXIBN.cjs');
|
|
7
7
|
require('../chunk-5FYU7ZIU.cjs');
|
|
8
8
|
require('../chunk-I2QSDQQV.cjs');
|
|
@@ -12,73 +12,28 @@ require('../chunk-MHVNT4J3.cjs');
|
|
|
12
12
|
require('../chunk-DES3K4SD.cjs');
|
|
13
13
|
var react = require('@docx-editor.dev/react');
|
|
14
14
|
var hocuspocus = require('@arbidocs/coedit/hocuspocus');
|
|
15
|
-
var react$1 = require('react');
|
|
16
|
-
var artifacts = require('@arbidocs/react/artifacts');
|
|
17
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
18
15
|
|
|
19
|
-
function redlineQuery(baseId, revisedId) {
|
|
20
|
-
const base = artifacts.parseVersionRef(baseId);
|
|
21
|
-
const revised = artifacts.parseVersionRef(revisedId);
|
|
22
|
-
const query = new URLSearchParams({ base_ext_id: base.docId, revised_ext_id: revised.docId });
|
|
23
|
-
if (base.version) query.set("base_version", String(base.version));
|
|
24
|
-
if (revised.version) query.set("revised_version", String(revised.version));
|
|
25
|
-
return query;
|
|
26
|
-
}
|
|
27
|
-
function NativeDocxComparison({
|
|
28
|
-
adapter,
|
|
29
|
-
baseId,
|
|
30
|
-
revisedId,
|
|
31
|
-
title,
|
|
32
|
-
onCompared
|
|
33
|
-
}) {
|
|
34
|
-
const host = react$1.useRef({ adapter, onCompared });
|
|
35
|
-
host.current = { adapter, onCompared };
|
|
36
|
-
const [documentId, setDocumentId] = react$1.useState("");
|
|
37
|
-
const [error, setError] = react$1.useState("");
|
|
38
|
-
const [attempt, setAttempt] = react$1.useState(0);
|
|
39
|
-
react$1.useEffect(() => {
|
|
40
|
-
let cancelled = false;
|
|
41
|
-
setDocumentId("");
|
|
42
|
-
setError("");
|
|
43
|
-
void host.current.adapter.request(`/redline?${redlineQuery(baseId, revisedId)}`, { method: "POST" }).then((response) => response.json()).then((result) => {
|
|
44
|
-
if (!result.document_ext_id) throw new Error("Comparison did not return a Word document.");
|
|
45
|
-
if (!cancelled) {
|
|
46
|
-
setDocumentId(result.document_ext_id);
|
|
47
|
-
void Promise.resolve(host.current.onCompared?.(result.document_ext_id)).catch(() => {
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
}).catch((error2) => {
|
|
51
|
-
if (!cancelled) setError(error2 instanceof Error ? error2.message : String(error2));
|
|
52
|
-
});
|
|
53
|
-
return () => {
|
|
54
|
-
cancelled = true;
|
|
55
|
-
};
|
|
56
|
-
}, [baseId, revisedId, attempt]);
|
|
57
|
-
if (error)
|
|
58
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "native-docx-error", role: "alert", children: [
|
|
59
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { children: error }),
|
|
60
|
-
/* @__PURE__ */ jsxRuntime.jsx("button", { onClick: () => setAttempt((value) => value + 1), children: "Retry comparison" })
|
|
61
|
-
] });
|
|
62
|
-
if (!documentId)
|
|
63
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "native-docx-error", role: "status", children: "Comparing Word documents\u2026" });
|
|
64
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
65
|
-
chunkV5OAXIBN_cjs.NativeDocxEditor,
|
|
66
|
-
{
|
|
67
|
-
adapter,
|
|
68
|
-
documentId,
|
|
69
|
-
title: `${title.replace(/\.[^.]+$/, "")} (redline).docx`
|
|
70
|
-
},
|
|
71
|
-
documentId
|
|
72
|
-
);
|
|
73
|
-
}
|
|
74
16
|
|
|
17
|
+
|
|
18
|
+
Object.defineProperty(exports, "NativeDocxComparison", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return chunkMHFF5N65_cjs.NativeDocxComparison; }
|
|
21
|
+
});
|
|
75
22
|
Object.defineProperty(exports, "StreamedWordArtifact", {
|
|
76
23
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkMHFF5N65_cjs.StreamedWordArtifact; }
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(exports, "groupCandidates", {
|
|
27
|
+
enumerable: true,
|
|
28
|
+
get: function () { return chunk464YPRAE_cjs.groupCandidates; }
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "isCandidate", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () { return chunk464YPRAE_cjs.isCandidate; }
|
|
78
33
|
});
|
|
79
34
|
Object.defineProperty(exports, "loadDocxFonts", {
|
|
80
35
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunk464YPRAE_cjs.loadDocxFonts; }
|
|
82
37
|
});
|
|
83
38
|
Object.defineProperty(exports, "BUILTIN_TEMPLATE_NAME", {
|
|
84
39
|
enumerable: true,
|
|
@@ -264,6 +219,5 @@ Object.defineProperty(exports, "createHocuspocusCollaboration", {
|
|
|
264
219
|
enumerable: true,
|
|
265
220
|
get: function () { return hocuspocus.createHocuspocusCollaboration; }
|
|
266
221
|
});
|
|
267
|
-
exports.NativeDocxComparison = NativeDocxComparison;
|
|
268
222
|
//# sourceMappingURL=index.cjs.map
|
|
269
223
|
//# sourceMappingURL=index.cjs.map
|
package/dist/docx/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs","sourcesContent":[]}
|
package/dist/docx/index.d.ts
CHANGED
|
@@ -23,3 +23,4 @@ export { structuralPort, trackedOrNoted, type StructuralInsert, type StructuralO
|
|
|
23
23
|
export { DocxAuthorContext, useTrackedOrNoted } from './structural/useTrackedOrNoted';
|
|
24
24
|
export { contentPath } from './NativeDocxEditor';
|
|
25
25
|
export { HouseTemplateProvider, useHouseTemplate, builtinHouseTemplate, resolveHouseTemplate, templateFileName, BUILTIN_TEMPLATE_NAME, type HouseTemplate, type HouseTemplateHost, type HouseTemplateSource, } from './template/HouseTemplate';
|
|
26
|
+
export { groupCandidates, isCandidate, type CandidateGroup, type HouseTemplateCandidate, } from './template/candidates';
|
package/dist/docx/index.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { StreamedWordArtifact } from '../chunk-
|
|
3
|
-
export { loadDocxFonts } from '../chunk-
|
|
4
|
-
import { NativeDocxEditor } from '../chunk-2FL7QJKJ.js';
|
|
2
|
+
export { NativeDocxComparison, StreamedWordArtifact } from '../chunk-AOSUHWIL.js';
|
|
3
|
+
export { groupCandidates, isCandidate, loadDocxFonts } from '../chunk-MTSKK3BN.js';
|
|
5
4
|
export { BUILTIN_TEMPLATE_NAME, CrossReferenceDialog, CrossReferencesProvider, DEFAULT_CROSS_REFERENCES_LABELS, DEFAULT_DEFINED_TERMS_LABELS, DEFINED_TERM_TRIGGER, DefinedTermsProvider, DocxAuthorContext, DocxCommentActivity, DocxEditorReview, DocxMentions, DocxParticipants, DocxRibbon, GenerateImageButton, HouseTemplateProvider, LinkHoverCard, NativeDocxEditor, builtinHouseTemplate, contentPath, editorPort, findDefinitionsSection, insertCrossReference, insertDefinedTerm, insertDocumentReference, listTargets, normalizeDocxExport, paragraphNumber, referenceText, referencesPort, resolveHouseTemplate, reviewModule, shortTitle, structuralPort, templateFileName, trackedOrNoted, useCrossReferences, useDefinedTerms, useHouseTemplate, useReview, useReviewItem, useTrackedOrNoted, withDirectEditing } from '../chunk-2FL7QJKJ.js';
|
|
6
5
|
import '../chunk-HFZ45FD3.js';
|
|
7
6
|
import '../chunk-QXMR5YHC.js';
|
|
@@ -11,66 +10,5 @@ import '../chunk-7F6CBP3Z.js';
|
|
|
11
10
|
import '../chunk-VUNV25KB.js';
|
|
12
11
|
export { DocxEditor, useDocxEditor, useEditorState } from '@docx-editor.dev/react';
|
|
13
12
|
export { createHocuspocusCollaboration } from '@arbidocs/coedit/hocuspocus';
|
|
14
|
-
import { useRef, useState, useEffect } from 'react';
|
|
15
|
-
import { parseVersionRef } from '@arbidocs/react/artifacts';
|
|
16
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
17
|
-
|
|
18
|
-
function redlineQuery(baseId, revisedId) {
|
|
19
|
-
const base = parseVersionRef(baseId);
|
|
20
|
-
const revised = parseVersionRef(revisedId);
|
|
21
|
-
const query = new URLSearchParams({ base_ext_id: base.docId, revised_ext_id: revised.docId });
|
|
22
|
-
if (base.version) query.set("base_version", String(base.version));
|
|
23
|
-
if (revised.version) query.set("revised_version", String(revised.version));
|
|
24
|
-
return query;
|
|
25
|
-
}
|
|
26
|
-
function NativeDocxComparison({
|
|
27
|
-
adapter,
|
|
28
|
-
baseId,
|
|
29
|
-
revisedId,
|
|
30
|
-
title,
|
|
31
|
-
onCompared
|
|
32
|
-
}) {
|
|
33
|
-
const host = useRef({ adapter, onCompared });
|
|
34
|
-
host.current = { adapter, onCompared };
|
|
35
|
-
const [documentId, setDocumentId] = useState("");
|
|
36
|
-
const [error, setError] = useState("");
|
|
37
|
-
const [attempt, setAttempt] = useState(0);
|
|
38
|
-
useEffect(() => {
|
|
39
|
-
let cancelled = false;
|
|
40
|
-
setDocumentId("");
|
|
41
|
-
setError("");
|
|
42
|
-
void host.current.adapter.request(`/redline?${redlineQuery(baseId, revisedId)}`, { method: "POST" }).then((response) => response.json()).then((result) => {
|
|
43
|
-
if (!result.document_ext_id) throw new Error("Comparison did not return a Word document.");
|
|
44
|
-
if (!cancelled) {
|
|
45
|
-
setDocumentId(result.document_ext_id);
|
|
46
|
-
void Promise.resolve(host.current.onCompared?.(result.document_ext_id)).catch(() => {
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
}).catch((error2) => {
|
|
50
|
-
if (!cancelled) setError(error2 instanceof Error ? error2.message : String(error2));
|
|
51
|
-
});
|
|
52
|
-
return () => {
|
|
53
|
-
cancelled = true;
|
|
54
|
-
};
|
|
55
|
-
}, [baseId, revisedId, attempt]);
|
|
56
|
-
if (error)
|
|
57
|
-
return /* @__PURE__ */ jsxs("div", { className: "native-docx-error", role: "alert", children: [
|
|
58
|
-
/* @__PURE__ */ jsx("p", { children: error }),
|
|
59
|
-
/* @__PURE__ */ jsx("button", { onClick: () => setAttempt((value) => value + 1), children: "Retry comparison" })
|
|
60
|
-
] });
|
|
61
|
-
if (!documentId)
|
|
62
|
-
return /* @__PURE__ */ jsx("div", { className: "native-docx-error", role: "status", children: "Comparing Word documents\u2026" });
|
|
63
|
-
return /* @__PURE__ */ jsx(
|
|
64
|
-
NativeDocxEditor,
|
|
65
|
-
{
|
|
66
|
-
adapter,
|
|
67
|
-
documentId,
|
|
68
|
-
title: `${title.replace(/\.[^.]+$/, "")} (redline).docx`
|
|
69
|
-
},
|
|
70
|
-
documentId
|
|
71
|
-
);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export { NativeDocxComparison };
|
|
75
13
|
//# sourceMappingURL=index.js.map
|
|
76
14
|
//# sourceMappingURL=index.js.map
|
package/dist/docx/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { components } from '@arbidocs/client';
|
|
2
|
+
/** A document a workspace may use as its house template (`GET /v1/workspace/house-template/candidates`). */
|
|
3
|
+
export type HouseTemplateCandidate = components['schemas']['HouseTemplateCandidate'];
|
|
4
|
+
export interface CandidateGroup {
|
|
5
|
+
/** "This workspace", or the public workspace's name. */
|
|
6
|
+
title: string;
|
|
7
|
+
workspaceId: string;
|
|
8
|
+
candidates: HouseTemplateCandidate[];
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* The picker's groups: this workspace's documents first, then each public workspace's, by name.
|
|
12
|
+
* `query` keeps the documents whose file name contains it (case-insensitive); empty groups go.
|
|
13
|
+
*/
|
|
14
|
+
export declare function groupCandidates(candidates: readonly HouseTemplateCandidate[], workspaceId: string | undefined, query?: string): CandidateGroup[];
|
|
15
|
+
/** Whether a document may be made the house template: it is one of the candidates. */
|
|
16
|
+
export declare function isCandidate(candidates: readonly HouseTemplateCandidate[] | undefined, documentId: string): boolean;
|
package/dist/facts/index.cjs
CHANGED
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
|
|
4
4
|
var chunk5FYU7ZIU_cjs = require('../chunk-5FYU7ZIU.cjs');
|
|
5
5
|
var chunk2WLXQGWC_cjs = require('../chunk-2WLXQGWC.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkUTTTJSQU_cjs = require('../chunk-UTTTJSQU.cjs');
|
|
7
7
|
var chunkVPPX5XUF_cjs = require('../chunk-VPPX5XUF.cjs');
|
|
8
8
|
var chunkRC25WMVB_cjs = require('../chunk-RC25WMVB.cjs');
|
|
9
9
|
var chunkV4ISCZJ7_cjs = require('../chunk-V4ISCZJ7.cjs');
|
|
10
10
|
var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
|
|
11
11
|
var chunkC2CWWEHO_cjs = require('../chunk-C2CWWEHO.cjs');
|
|
12
12
|
var chunkBIXHB4LV_cjs = require('../chunk-BIXHB4LV.cjs');
|
|
13
|
-
require('../chunk-FX3K6LNZ.cjs');
|
|
14
13
|
var chunk7RGLTF76_cjs = require('../chunk-7RGLTF76.cjs');
|
|
14
|
+
require('../chunk-FX3K6LNZ.cjs');
|
|
15
15
|
var chunkPPCATBOY_cjs = require('../chunk-PPCATBOY.cjs');
|
|
16
16
|
var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
|
|
17
|
-
require('../chunk-
|
|
17
|
+
require('../chunk-KPZZ5FHE.cjs');
|
|
18
18
|
require('../chunk-ULWRNGGE.cjs');
|
|
19
19
|
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
20
20
|
require('../chunk-DES3K4SD.cjs');
|
|
@@ -2037,7 +2037,7 @@ function FactSearchResult({
|
|
|
2037
2037
|
}
|
|
2038
2038
|
),
|
|
2039
2039
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2040
|
-
|
|
2040
|
+
chunkUTTTJSQU_cjs.SearchHit,
|
|
2041
2041
|
{
|
|
2042
2042
|
className: "min-w-0 flex-1",
|
|
2043
2043
|
testId: chunkMHVNT4J3_cjs.testIdOr(testIds?.hit?.(id), { testId: `facts-smart-search-hit-${id}` }),
|
package/dist/facts/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
export { DEFAULT_FACT_PASSAGES_LABELS, FactPassageItem, FactSourcesPanel, renderPreviewInline, toPreviewLine } from '../chunk-HFZ45FD3.js';
|
|
3
3
|
import { ViewToggle } from '../chunk-JJA6GQKH.js';
|
|
4
|
-
import { SearchHit } from '../chunk-
|
|
4
|
+
import { SearchHit } from '../chunk-EF4ZLKRM.js';
|
|
5
5
|
import { formatSpan, TimelineCalendar, TimelineGantt } from '../chunk-4EZVCGRL.js';
|
|
6
6
|
import { decodeWhitespaceEntities } from '../chunk-AF6RDAJF.js';
|
|
7
7
|
export { decodeWhitespaceEntities } from '../chunk-AF6RDAJF.js';
|
|
@@ -10,11 +10,11 @@ import { FilterInput } from '../chunk-YU2KUMGE.js';
|
|
|
10
10
|
export { DEFAULT_FILTER_INPUT_LABELS as DEFAULT_FACTS_FILTER_INPUT_LABELS, DEFAULT_FILTER_FIELDS as FACTS_SEARCH_FIELD_OPTIONS, FilterInput as FactsFilterInput } from '../chunk-YU2KUMGE.js';
|
|
11
11
|
import { GridView } from '../chunk-N5YEF3LC.js';
|
|
12
12
|
import { detectTimeZone, listTimeZones } from '../chunk-GTCC2VAR.js';
|
|
13
|
-
import '../chunk-SLSBJRWW.js';
|
|
14
13
|
import { TabHeader } from '../chunk-4WWM3GQ5.js';
|
|
14
|
+
import '../chunk-SLSBJRWW.js';
|
|
15
15
|
import { observeResize } from '../chunk-NPLYHR2E.js';
|
|
16
16
|
import { testIdOr } from '../chunk-7F6CBP3Z.js';
|
|
17
|
-
import '../chunk-
|
|
17
|
+
import '../chunk-TBEVGWY3.js';
|
|
18
18
|
import '../chunk-TX2ZICS7.js';
|
|
19
19
|
import { initials } from '../chunk-OXF2IFXG.js';
|
|
20
20
|
import '../chunk-VUNV25KB.js';
|
package/dist/files/index.cjs
CHANGED
|
@@ -9,7 +9,7 @@ var chunkVLCY46K6_cjs = require('../chunk-VLCY46K6.cjs');
|
|
|
9
9
|
var chunk3AFWGEDJ_cjs = require('../chunk-3AFWGEDJ.cjs');
|
|
10
10
|
var chunkDVUZTGVL_cjs = require('../chunk-DVUZTGVL.cjs');
|
|
11
11
|
var chunkDETZZBG2_cjs = require('../chunk-DETZZBG2.cjs');
|
|
12
|
-
var
|
|
12
|
+
var chunkDTROMMDX_cjs = require('../chunk-DTROMMDX.cjs');
|
|
13
13
|
var chunkV4ISCZJ7_cjs = require('../chunk-V4ISCZJ7.cjs');
|
|
14
14
|
var chunk2EI7NCUA_cjs = require('../chunk-2EI7NCUA.cjs');
|
|
15
15
|
var chunkC2CWWEHO_cjs = require('../chunk-C2CWWEHO.cjs');
|
|
@@ -17,7 +17,7 @@ var chunk32HW2Q33_cjs = require('../chunk-32HW2Q33.cjs');
|
|
|
17
17
|
require('../chunk-FX3K6LNZ.cjs');
|
|
18
18
|
require('../chunk-PPCATBOY.cjs');
|
|
19
19
|
var chunkMHVNT4J3_cjs = require('../chunk-MHVNT4J3.cjs');
|
|
20
|
-
require('../chunk-
|
|
20
|
+
require('../chunk-KPZZ5FHE.cjs');
|
|
21
21
|
var chunkULWRNGGE_cjs = require('../chunk-ULWRNGGE.cjs');
|
|
22
22
|
var chunkKDG6FER6_cjs = require('../chunk-KDG6FER6.cjs');
|
|
23
23
|
require('../chunk-DES3K4SD.cjs');
|
|
@@ -209,7 +209,7 @@ function TileLink({
|
|
|
209
209
|
onSelect
|
|
210
210
|
}) {
|
|
211
211
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
212
|
-
|
|
212
|
+
chunkDTROMMDX_cjs.ActionLink,
|
|
213
213
|
{
|
|
214
214
|
href,
|
|
215
215
|
onSelect,
|
package/dist/files/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import { CellHoverIcon } from '../chunk-RFXJYIDV.js';
|
|
|
8
8
|
export { CellHoverIcon, HoverIconCell } from '../chunk-RFXJYIDV.js';
|
|
9
9
|
import { ToneBadge } from '../chunk-5LXQPP2K.js';
|
|
10
10
|
export { UploadDropzone } from '../chunk-EVUEIBNU.js';
|
|
11
|
-
import { ActionLink } from '../chunk-
|
|
11
|
+
import { ActionLink } from '../chunk-YKQ2DPIP.js';
|
|
12
12
|
import { SelectionBar, SelectionBarAction } from '../chunk-NUNKSZKU.js';
|
|
13
13
|
export { DEFAULT_SELECTION_BAR_LABELS, SelectionBar, SelectionBarAction } from '../chunk-NUNKSZKU.js';
|
|
14
14
|
import { FilterInput } from '../chunk-YU2KUMGE.js';
|
|
@@ -18,7 +18,7 @@ import { TONE_SURFACE } from '../chunk-AUS3KBHJ.js';
|
|
|
18
18
|
import '../chunk-SLSBJRWW.js';
|
|
19
19
|
import '../chunk-NPLYHR2E.js';
|
|
20
20
|
import { testIdOr, prefixedTestId } from '../chunk-7F6CBP3Z.js';
|
|
21
|
-
import '../chunk-
|
|
21
|
+
import '../chunk-TBEVGWY3.js';
|
|
22
22
|
import { ModalSection, ModalSectionTitle, ModalHeader } from '../chunk-TX2ZICS7.js';
|
|
23
23
|
import { formatCount } from '../chunk-OXF2IFXG.js';
|
|
24
24
|
import '../chunk-VUNV25KB.js';
|