@arbidocs/blocks 0.5.16 → 0.5.18
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/{ConnectedCallDock-PNF46ZCD.js → ConnectedCallDock-2NBGBWY5.js} +6 -6
- package/dist/{ConnectedCallDock-PNF46ZCD.js.map → ConnectedCallDock-2NBGBWY5.js.map} +1 -1
- package/dist/{ConnectedCallDock-AN7H7EA5.cjs → ConnectedCallDock-W5WIPP3F.cjs} +15 -15
- package/dist/{ConnectedCallDock-AN7H7EA5.cjs.map → ConnectedCallDock-W5WIPP3F.cjs.map} +1 -1
- package/dist/{ConnectedCallRoom-BCBK3JOH.js → ConnectedCallRoom-5AZH33AJ.js} +6 -6
- package/dist/{ConnectedCallRoom-BCBK3JOH.js.map → ConnectedCallRoom-5AZH33AJ.js.map} +1 -1
- package/dist/{ConnectedCallRoom-CISDTK4R.cjs → ConnectedCallRoom-XR25N6PN.cjs} +7 -7
- package/dist/{ConnectedCallRoom-CISDTK4R.cjs.map → ConnectedCallRoom-XR25N6PN.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxComparison-FCAICKSW.js → ConnectedNativeDocxComparison-FZNRXKCH.js} +12 -11
- package/dist/{ConnectedNativeDocxComparison-FCAICKSW.js.map → ConnectedNativeDocxComparison-FZNRXKCH.js.map} +1 -1
- package/dist/{ConnectedNativeDocxComparison-M2YD5ZIU.cjs → ConnectedNativeDocxComparison-KEDY65GN.cjs} +13 -12
- package/dist/{ConnectedNativeDocxComparison-M2YD5ZIU.cjs.map → ConnectedNativeDocxComparison-KEDY65GN.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxEditor-WCVJ7UTP.js → ConnectedNativeDocxEditor-E3ZGVJZJ.js} +11 -10
- package/dist/{ConnectedNativeDocxEditor-WCVJ7UTP.js.map → ConnectedNativeDocxEditor-E3ZGVJZJ.js.map} +1 -1
- package/dist/{ConnectedNativeDocxEditor-USWYSQTI.cjs → ConnectedNativeDocxEditor-WDIX32SH.cjs} +13 -12
- package/dist/{ConnectedNativeDocxEditor-USWYSQTI.cjs.map → ConnectedNativeDocxEditor-WDIX32SH.cjs.map} +1 -1
- package/dist/{ConnectedStreamedWordArtifact-4VXP44AG.cjs → ConnectedStreamedWordArtifact-AALQYJ5H.cjs} +13 -12
- package/dist/ConnectedStreamedWordArtifact-AALQYJ5H.cjs.map +1 -0
- package/dist/{ConnectedStreamedWordArtifact-EWTERIGT.js → ConnectedStreamedWordArtifact-HTUZ2KK2.js} +12 -11
- package/dist/ConnectedStreamedWordArtifact-HTUZ2KK2.js.map +1 -0
- package/dist/{WorkspaceTableView-V236NDPK.js → WorkspaceTableView-4VMLQOQ5.js} +4 -4
- package/dist/{WorkspaceTableView-V236NDPK.js.map → WorkspaceTableView-4VMLQOQ5.js.map} +1 -1
- package/dist/{WorkspaceTableView-P4PCXHZ6.cjs → WorkspaceTableView-S2ZHZ64L.cjs} +5 -5
- package/dist/{WorkspaceTableView-P4PCXHZ6.cjs.map → WorkspaceTableView-S2ZHZ64L.cjs.map} +1 -1
- package/dist/agents/index.cjs +330 -329
- package/dist/agents/index.js +8 -7
- package/dist/calls/index.cjs +142 -142
- package/dist/calls/index.js +10 -10
- package/dist/{chunk-5QJDDEYV.js → chunk-2AWDMU6T.js} +3 -3
- package/dist/{chunk-5QJDDEYV.js.map → chunk-2AWDMU6T.js.map} +1 -1
- package/dist/{chunk-ATNQD3AE.js → chunk-2EYAJAKT.js} +3 -3
- package/dist/{chunk-ATNQD3AE.js.map → chunk-2EYAJAKT.js.map} +1 -1
- package/dist/{chunk-PBM6BFFH.cjs → chunk-3L5MXUBZ.cjs} +4 -4
- package/dist/{chunk-PBM6BFFH.cjs.map → chunk-3L5MXUBZ.cjs.map} +1 -1
- package/dist/{chunk-4IMTH6Z4.js → chunk-5RHNGSVP.js} +3 -3
- package/dist/{chunk-4IMTH6Z4.js.map → chunk-5RHNGSVP.js.map} +1 -1
- package/dist/{chunk-TRHAIU6U.js → chunk-5S424MAG.js} +4 -4
- package/dist/{chunk-TRHAIU6U.js.map → chunk-5S424MAG.js.map} +1 -1
- package/dist/{chunk-TDIC7IXS.cjs → chunk-63VQD4R7.cjs} +7 -7
- package/dist/{chunk-TDIC7IXS.cjs.map → chunk-63VQD4R7.cjs.map} +1 -1
- package/dist/{chunk-LFBT3XTK.cjs → chunk-6MHGFCIW.cjs} +14 -14
- package/dist/{chunk-LFBT3XTK.cjs.map → chunk-6MHGFCIW.cjs.map} +1 -1
- package/dist/{chunk-N5YEF3LC.js → chunk-7F5Z4K5W.js} +18 -20
- package/dist/chunk-7F5Z4K5W.js.map +1 -0
- package/dist/{chunk-5DRKMFRL.cjs → chunk-APZFUKR4.cjs} +55 -55
- package/dist/{chunk-5DRKMFRL.cjs.map → chunk-APZFUKR4.cjs.map} +1 -1
- package/dist/{chunk-ZJX7RUQ3.js → chunk-B5BJH76B.js} +4 -4
- package/dist/{chunk-ZJX7RUQ3.js.map → chunk-B5BJH76B.js.map} +1 -1
- package/dist/{chunk-4AAM6UQG.js → chunk-BIZDGRNM.js} +3 -3
- package/dist/{chunk-4AAM6UQG.js.map → chunk-BIZDGRNM.js.map} +1 -1
- package/dist/{chunk-5NFQCGGO.cjs → chunk-BLESTVHK.cjs} +5 -5
- package/dist/{chunk-5NFQCGGO.cjs.map → chunk-BLESTVHK.cjs.map} +1 -1
- package/dist/{chunk-5TALCIRH.js → chunk-CH4FHZSR.js} +4 -91
- package/dist/chunk-CH4FHZSR.js.map +1 -0
- package/dist/{chunk-UCVCYHAC.js → chunk-CTCF4I22.js} +3 -3
- package/dist/{chunk-UCVCYHAC.js.map → chunk-CTCF4I22.js.map} +1 -1
- package/dist/{chunk-AAWF27UG.js → chunk-D3OGQ5ZW.js} +3 -3
- package/dist/{chunk-AAWF27UG.js.map → chunk-D3OGQ5ZW.js.map} +1 -1
- package/dist/{chunk-DJ4BTWMA.cjs → chunk-DAL6B556.cjs} +4 -4
- package/dist/{chunk-DJ4BTWMA.cjs.map → chunk-DAL6B556.cjs.map} +1 -1
- package/dist/{chunk-RAPIHS52.js → chunk-E3H7Q3ZO.js} +3 -3
- package/dist/{chunk-RAPIHS52.js.map → chunk-E3H7Q3ZO.js.map} +1 -1
- package/dist/{chunk-XUWZMZP5.cjs → chunk-F4UYC2M2.cjs} +5 -5
- package/dist/{chunk-XUWZMZP5.cjs.map → chunk-F4UYC2M2.cjs.map} +1 -1
- package/dist/{chunk-WINJF2AK.js → chunk-F6UJUUFK.js} +3 -3
- package/dist/{chunk-WINJF2AK.js.map → chunk-F6UJUUFK.js.map} +1 -1
- package/dist/{chunk-I5KTRLKB.cjs → chunk-G6GUMZOZ.cjs} +10 -10
- package/dist/{chunk-I5KTRLKB.cjs.map → chunk-G6GUMZOZ.cjs.map} +1 -1
- package/dist/{chunk-RG4SLXZG.js → chunk-G7PAZQHJ.js} +3 -3
- package/dist/{chunk-RG4SLXZG.js.map → chunk-G7PAZQHJ.js.map} +1 -1
- package/dist/{chunk-CJFJNR2V.js → chunk-GTO65EQQ.js} +3 -3
- package/dist/{chunk-CJFJNR2V.js.map → chunk-GTO65EQQ.js.map} +1 -1
- package/dist/{chunk-IFE4MZXD.js → chunk-H7L43DIE.js} +3 -3
- package/dist/{chunk-IFE4MZXD.js.map → chunk-H7L43DIE.js.map} +1 -1
- package/dist/{chunk-VPUGVNGV.cjs → chunk-HVEDOBLY.cjs} +4 -4
- package/dist/{chunk-VPUGVNGV.cjs.map → chunk-HVEDOBLY.cjs.map} +1 -1
- package/dist/{chunk-LHLBMP24.js → chunk-HVXNEOOU.js} +6 -6
- package/dist/{chunk-LHLBMP24.js.map → chunk-HVXNEOOU.js.map} +1 -1
- package/dist/{chunk-PSWTOD7E.js → chunk-HXYYH4OB.js} +3 -3
- package/dist/{chunk-PSWTOD7E.js.map → chunk-HXYYH4OB.js.map} +1 -1
- package/dist/{chunk-4MADJGGF.cjs → chunk-JYYJGYUP.cjs} +4 -4
- package/dist/{chunk-4MADJGGF.cjs.map → chunk-JYYJGYUP.cjs.map} +1 -1
- package/dist/{chunk-AUDT4L2H.cjs → chunk-KNQQFJNE.cjs} +4 -4
- package/dist/{chunk-AUDT4L2H.cjs.map → chunk-KNQQFJNE.cjs.map} +1 -1
- package/dist/{chunk-TSD3GFOH.js → chunk-L5UHXBJK.js} +3 -3
- package/dist/{chunk-TSD3GFOH.js.map → chunk-L5UHXBJK.js.map} +1 -1
- package/dist/{chunk-ITOQYYTG.cjs → chunk-LFVD3CS5.cjs} +5 -5
- package/dist/{chunk-ITOQYYTG.cjs.map → chunk-LFVD3CS5.cjs.map} +1 -1
- package/dist/{chunk-C2CWWEHO.cjs → chunk-LKK52DEY.cjs} +18 -20
- package/dist/chunk-LKK52DEY.cjs.map +1 -0
- package/dist/{chunk-52BZME74.cjs → chunk-LNLAD7XW.cjs} +4 -4
- package/dist/{chunk-52BZME74.cjs.map → chunk-LNLAD7XW.cjs.map} +1 -1
- package/dist/{chunk-SWBD76UN.cjs → chunk-M36FYCOE.cjs} +9 -9
- package/dist/{chunk-SWBD76UN.cjs.map → chunk-M36FYCOE.cjs.map} +1 -1
- package/dist/{chunk-RPWNNTJJ.js → chunk-M3AADQ4Y.js} +7 -7
- package/dist/{chunk-RPWNNTJJ.js.map → chunk-M3AADQ4Y.js.map} +1 -1
- package/dist/{chunk-NEODSOVW.js → chunk-MYJJ3RPH.js} +3 -3
- package/dist/{chunk-NEODSOVW.js.map → chunk-MYJJ3RPH.js.map} +1 -1
- package/dist/{chunk-3NTC4UZV.js → chunk-NUHWRBSL.js} +3 -3
- package/dist/{chunk-3NTC4UZV.js.map → chunk-NUHWRBSL.js.map} +1 -1
- package/dist/{chunk-VP7VAE2M.cjs → chunk-P4NS4LV7.cjs} +6 -6
- package/dist/{chunk-VP7VAE2M.cjs.map → chunk-P4NS4LV7.cjs.map} +1 -1
- package/dist/{chunk-MRG4OUL3.js → chunk-PJYE6AJS.js} +6 -6
- package/dist/{chunk-MRG4OUL3.js.map → chunk-PJYE6AJS.js.map} +1 -1
- package/dist/{chunk-JWNCZ6UP.cjs → chunk-QVMQMPBZ.cjs} +4 -4
- package/dist/{chunk-JWNCZ6UP.cjs.map → chunk-QVMQMPBZ.cjs.map} +1 -1
- package/dist/{chunk-3GT6GPTM.cjs → chunk-RZ3EBN7G.cjs} +26 -26
- package/dist/{chunk-3GT6GPTM.cjs.map → chunk-RZ3EBN7G.cjs.map} +1 -1
- package/dist/{chunk-CPLRUC7D.cjs → chunk-SHRNXL2Q.cjs} +76 -76
- package/dist/{chunk-CPLRUC7D.cjs.map → chunk-SHRNXL2Q.cjs.map} +1 -1
- package/dist/chunk-SI222Z3A.cjs +185 -0
- package/dist/chunk-SI222Z3A.cjs.map +1 -0
- package/dist/{chunk-DCQGJNZQ.js → chunk-SX2RX5DT.js} +3 -3
- package/dist/{chunk-DCQGJNZQ.js.map → chunk-SX2RX5DT.js.map} +1 -1
- package/dist/{chunk-3EVLRDXP.cjs → chunk-SZGUU2TS.cjs} +7 -7
- package/dist/{chunk-3EVLRDXP.cjs.map → chunk-SZGUU2TS.cjs.map} +1 -1
- package/dist/{chunk-A6MGGHHN.cjs → chunk-T55BHIB7.cjs} +4 -4
- package/dist/{chunk-A6MGGHHN.cjs.map → chunk-T55BHIB7.cjs.map} +1 -1
- package/dist/{chunk-35AUFGD7.js → chunk-T5ZFFHC6.js} +4 -4
- package/dist/{chunk-35AUFGD7.js.map → chunk-T5ZFFHC6.js.map} +1 -1
- package/dist/{chunk-ML27HIMM.cjs → chunk-TCT2VS72.cjs} +6 -6
- package/dist/{chunk-ML27HIMM.cjs.map → chunk-TCT2VS72.cjs.map} +1 -1
- package/dist/{chunk-OKYALUAN.js → chunk-TXLMCQOH.js} +4 -4
- package/dist/{chunk-OKYALUAN.js.map → chunk-TXLMCQOH.js.map} +1 -1
- package/dist/chunk-U4HWVCRN.js +180 -0
- package/dist/chunk-U4HWVCRN.js.map +1 -0
- package/dist/{chunk-IUPZMPXP.cjs → chunk-UR6DWL4L.cjs} +20 -20
- package/dist/{chunk-IUPZMPXP.cjs.map → chunk-UR6DWL4L.cjs.map} +1 -1
- package/dist/{chunk-AE3M3RTH.js → chunk-VNWWK44S.js} +6 -6
- package/dist/{chunk-AE3M3RTH.js.map → chunk-VNWWK44S.js.map} +1 -1
- package/dist/{chunk-HJQLVCIK.cjs → chunk-WUG24K7P.cjs} +4 -4
- package/dist/{chunk-HJQLVCIK.cjs.map → chunk-WUG24K7P.cjs.map} +1 -1
- package/dist/{chunk-U7ZBIU4S.cjs → chunk-XZ2IUJQV.cjs} +4 -4
- package/dist/{chunk-U7ZBIU4S.cjs.map → chunk-XZ2IUJQV.cjs.map} +1 -1
- package/dist/{chunk-5RIPA5DV.js → chunk-YFLARXLW.js} +5 -5
- package/dist/{chunk-5RIPA5DV.js.map → chunk-YFLARXLW.js.map} +1 -1
- package/dist/{chunk-OTV7TUKD.cjs → chunk-Z3IB6UMJ.cjs} +29 -29
- package/dist/{chunk-OTV7TUKD.cjs.map → chunk-Z3IB6UMJ.cjs.map} +1 -1
- package/dist/{chunk-BZF6E46W.cjs → chunk-ZLSMS6OK.cjs} +5 -92
- package/dist/chunk-ZLSMS6OK.cjs.map +1 -0
- package/dist/citations/index.cjs +12 -10
- package/dist/citations/index.js +4 -2
- package/dist/collaboration/index.cjs +68 -68
- package/dist/collaboration/index.js +2 -2
- package/dist/connect/docx.cjs +15 -14
- package/dist/connect/docx.js +11 -10
- package/dist/connect/index.cjs +774 -775
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.js +34 -35
- package/dist/connect/index.js.map +1 -1
- package/dist/connect/viewer.cjs +95 -95
- package/dist/connect/viewer.js +18 -18
- package/dist/connection/billing/{ReferralReward.d.ts → ConnectedReferralReward.d.ts} +7 -7
- package/dist/connection/billing/referral-reward.d.ts +1 -1
- package/dist/databases/index.cjs +2 -2
- package/dist/databases/index.js +1 -1
- package/dist/document-tools/index.cjs +16 -16
- package/dist/document-tools/index.js +2 -2
- package/dist/facts/index.cjs +6 -5
- package/dist/facts/index.cjs.map +1 -1
- package/dist/facts/index.js +4 -3
- package/dist/facts/index.js.map +1 -1
- package/dist/files/index.cjs +226 -225
- package/dist/files/index.js +5 -4
- package/dist/home/index.cjs +31 -30
- package/dist/home/index.cjs.map +1 -1
- package/dist/home/index.js +6 -5
- package/dist/home/index.js.map +1 -1
- package/dist/index.cjs +521 -520
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +16 -15
- package/dist/index.js.map +1 -1
- package/dist/provider/dialogs.d.ts +43 -0
- package/dist/retrieval/index.cjs +5 -4
- package/dist/retrieval/index.js +3 -2
- package/dist/settings/index.cjs +3 -3
- package/dist/settings/index.d.ts +1 -1
- package/dist/settings/index.js +1 -1
- package/dist/shell/index.cjs +47 -46
- package/dist/shell/index.js +4 -3
- package/dist/studio/index.cjs +14 -13
- package/dist/studio/index.cjs.map +1 -1
- package/dist/studio/index.js +6 -5
- package/dist/studio/index.js.map +1 -1
- package/dist/workflow-canvas/index.cjs +28 -27
- package/dist/workflow-canvas/index.cjs.map +1 -1
- package/dist/workflow-canvas/index.js +10 -9
- package/dist/workflow-canvas/index.js.map +1 -1
- package/dist/workspaces/index.cjs +22 -20
- package/dist/workspaces/index.cjs.map +1 -1
- package/dist/workspaces/index.js +6 -4
- package/dist/workspaces/index.js.map +1 -1
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +5 -5
- package/dist/ConnectedStreamedWordArtifact-4VXP44AG.cjs.map +0 -1
- package/dist/ConnectedStreamedWordArtifact-EWTERIGT.js.map +0 -1
- package/dist/chunk-5TALCIRH.js.map +0 -1
- package/dist/chunk-BZF6E46W.cjs.map +0 -1
- package/dist/chunk-C2CWWEHO.cjs.map +0 -1
- package/dist/chunk-ECERC6TI.js +0 -77
- package/dist/chunk-ECERC6TI.js.map +0 -1
- package/dist/chunk-N5YEF3LC.js.map +0 -1
- package/dist/chunk-ZAVEMQ37.cjs +0 -80
- package/dist/chunk-ZAVEMQ37.cjs.map +0 -1
- package/dist/settings/ConfirmDialog.d.ts +0 -31
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkSI222Z3A_cjs = require('./chunk-SI222Z3A.cjs');
|
|
5
5
|
var chunkQSZCU3II_cjs = require('./chunk-QSZCU3II.cjs');
|
|
6
6
|
var zustand = require('zustand');
|
|
7
7
|
var middleware = require('zustand/middleware');
|
|
8
8
|
var react = require('react');
|
|
9
|
-
var lucideReact = require('lucide-react');
|
|
10
|
-
var ui = require('@arbidocs/react/ui');
|
|
11
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
12
9
|
var shell = require('@arbidocs/react/shell');
|
|
13
10
|
|
|
14
11
|
var useCalendarViewStore = zustand.create()(
|
|
@@ -37,90 +34,6 @@ function requestCalendarEvent(event) {
|
|
|
37
34
|
function requestCalendarComposer(prefill) {
|
|
38
35
|
useCalendarViewStore.getState().setPendingComposer(prefill);
|
|
39
36
|
}
|
|
40
|
-
var UNMOUNT_DELAY_MS = 300;
|
|
41
|
-
function PromptDialog({
|
|
42
|
-
request: request2,
|
|
43
|
-
onSettle
|
|
44
|
-
}) {
|
|
45
|
-
const [open, setOpen] = react.useState(true);
|
|
46
|
-
const { message, title = "Confirm", choices, icon = "alert", testId = "choice-modal" } = request2;
|
|
47
|
-
const settle = (value) => {
|
|
48
|
-
setOpen(false);
|
|
49
|
-
onSettle(value);
|
|
50
|
-
};
|
|
51
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
52
|
-
chunkULWRNGGE_cjs.ModalScaffold,
|
|
53
|
-
{
|
|
54
|
-
open,
|
|
55
|
-
onOpenChange: (next) => {
|
|
56
|
-
if (!next) settle(null);
|
|
57
|
-
},
|
|
58
|
-
title,
|
|
59
|
-
icon: icon === "info" ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Info, { className: "h-5 w-5 text-blue-text", "aria-hidden": "true" }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.AlertCircle, { className: "h-5 w-5", "aria-hidden": "true" }),
|
|
60
|
-
description: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "whitespace-pre-line", children: message }),
|
|
61
|
-
showDescription: true,
|
|
62
|
-
testId,
|
|
63
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(chunkULWRNGGE_cjs.ModalScaffold.Footer, { children: choices.map((choice) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
64
|
-
ui.Button,
|
|
65
|
-
{
|
|
66
|
-
variant: choice.variant ?? "default",
|
|
67
|
-
onClick: () => settle(choice.value),
|
|
68
|
-
"data-testid": `${testId}-${choice.value.toLowerCase()}-button`,
|
|
69
|
-
children: choice.label
|
|
70
|
-
},
|
|
71
|
-
choice.value
|
|
72
|
-
)) })
|
|
73
|
-
}
|
|
74
|
-
);
|
|
75
|
-
}
|
|
76
|
-
function choiceDialog(request2) {
|
|
77
|
-
if (typeof document === "undefined") return Promise.resolve(null);
|
|
78
|
-
return new Promise((resolve2) => {
|
|
79
|
-
const container = document.createElement("div");
|
|
80
|
-
document.body.appendChild(container);
|
|
81
|
-
let settled = false;
|
|
82
|
-
void import('react-dom/client').then(({ createRoot }) => {
|
|
83
|
-
const root = createRoot(container);
|
|
84
|
-
const onSettle = (value) => {
|
|
85
|
-
if (settled) return;
|
|
86
|
-
settled = true;
|
|
87
|
-
resolve2(value);
|
|
88
|
-
setTimeout(() => {
|
|
89
|
-
root.unmount();
|
|
90
|
-
container.remove();
|
|
91
|
-
}, UNMOUNT_DELAY_MS);
|
|
92
|
-
};
|
|
93
|
-
root.render(/* @__PURE__ */ jsxRuntime.jsx(PromptDialog, { request: request2, onSettle }));
|
|
94
|
-
});
|
|
95
|
-
});
|
|
96
|
-
}
|
|
97
|
-
var CONFIRM_CHOICES = {
|
|
98
|
-
confirm: [
|
|
99
|
-
{ label: "Cancel", value: "cancel", variant: "outline" },
|
|
100
|
-
{ label: "Confirm", value: "confirm", variant: "destructive" }
|
|
101
|
-
],
|
|
102
|
-
yesno: [
|
|
103
|
-
{ label: "No", value: "no", variant: "outline" },
|
|
104
|
-
{ label: "Yes", value: "yes" }
|
|
105
|
-
],
|
|
106
|
-
alert: [{ label: "OK", value: "ok" }]
|
|
107
|
-
};
|
|
108
|
-
var CONFIRM_TEST_ID = {
|
|
109
|
-
confirm: "confirmation-modal",
|
|
110
|
-
yesno: "yes-no-modal",
|
|
111
|
-
alert: "alert-modal"
|
|
112
|
-
};
|
|
113
|
-
async function confirmDialog(request2) {
|
|
114
|
-
const kind = request2.kind ?? "confirm";
|
|
115
|
-
const choice = await choiceDialog({
|
|
116
|
-
message: request2.message,
|
|
117
|
-
title: request2.title ?? (kind === "alert" ? "Alert" : "Confirm"),
|
|
118
|
-
choices: CONFIRM_CHOICES[kind],
|
|
119
|
-
icon: kind === "alert" ? "info" : "alert",
|
|
120
|
-
testId: CONFIRM_TEST_ID[kind]
|
|
121
|
-
});
|
|
122
|
-
return choice === "confirm" || choice === "yes" || choice === "ok";
|
|
123
|
-
}
|
|
124
37
|
var request;
|
|
125
38
|
var listeners = /* @__PURE__ */ new Set();
|
|
126
39
|
function requestSettingsSection(section) {
|
|
@@ -145,8 +58,8 @@ var defaultEnvironment = {
|
|
|
145
58
|
notify: (message, kind = "info", options) => {
|
|
146
59
|
shell.notify[kind](message, options);
|
|
147
60
|
},
|
|
148
|
-
confirm: confirmDialog,
|
|
149
|
-
choose: choiceDialog,
|
|
61
|
+
confirm: chunkSI222Z3A_cjs.confirmDialog,
|
|
62
|
+
choose: chunkSI222Z3A_cjs.choiceDialog,
|
|
150
63
|
runtimeConfig: {
|
|
151
64
|
apiBaseUrl: "",
|
|
152
65
|
deploymentDomain: typeof window !== "undefined" ? window.location.host : ""
|
|
@@ -228,5 +141,5 @@ exports.useBlocksEnvironment = useBlocksEnvironment;
|
|
|
228
141
|
exports.useCalendarViewStore = useCalendarViewStore;
|
|
229
142
|
exports.useOpenWorkflow = useOpenWorkflow;
|
|
230
143
|
exports.useRequestedSettingsSection = useRequestedSettingsSection;
|
|
231
|
-
//# sourceMappingURL=chunk-
|
|
232
|
-
//# sourceMappingURL=chunk-
|
|
144
|
+
//# sourceMappingURL=chunk-ZLSMS6OK.cjs.map
|
|
145
|
+
//# sourceMappingURL=chunk-ZLSMS6OK.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/connection/calendar/store.ts","../src/provider/settings-section.ts","../src/provider/environment.ts"],"names":["create","persist","createJSONStorage","useSyncExternalStore","notifyStore","confirmDialog","choiceDialog","mailDraftRequest","conversationStartRequest","useHostConfigRecord"],"mappings":"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","file":"chunk-ZLSMS6OK.cjs","sourcesContent":["/**\n * The connected calendar's view state: the chosen view is remembered across reloads (localStorage),\n * the anchor date lives for the session, and two requests carry intents from elsewhere into the\n * calendar once it mounts: an event to open (a deep link, a reminder) and a prefilled new event\n * (\"Schedule a call\" from a thread). The host navigates to its calendar page after making one.\n */\nimport { create } from 'zustand'\nimport { createJSONStorage, persist } from 'zustand/middleware'\nimport type { CalendarViewKind } from '../../calendar/types'\n\n/** \"Schedule a call\" from elsewhere (a thread, a DM, a dashboard): the editor opens prefilled. */\nexport interface CalendarComposerPrefill {\n title?: string\n attendees?: { email?: string | null; user_id?: string | null; name?: string | null }[]\n conversationId?: string | null\n /** Add an ARBI call when the event is saved (\"Add ARBI call\" ticked). */\n addCall?: boolean\n}\n\nexport interface PendingCalendarEvent {\n id: string\n recurrenceId?: string | null\n}\n\ninterface CalendarViewState {\n /** `null` until the user picks one: the settings' default view applies. */\n view: CalendarViewKind | null\n /** YYYY-MM-DD anchor; `null` = today. */\n date: string | null\n pendingEvent: PendingCalendarEvent | null\n pendingComposer: CalendarComposerPrefill | null\n setPendingComposer: (prefill: CalendarComposerPrefill | null) => void\n setView: (view: CalendarViewKind) => void\n setDate: (date: string | null) => void\n setPendingEvent: (pending: PendingCalendarEvent | null) => void\n}\n\nexport const useCalendarViewStore = create<CalendarViewState>()(\n persist(\n (set) => ({\n view: null,\n date: null,\n pendingEvent: null,\n pendingComposer: null,\n setPendingComposer: (pendingComposer) => set({ pendingComposer }),\n setView: (view) => set({ view }),\n setDate: (date) => set({ date }),\n setPendingEvent: (pendingEvent) => set({ pendingEvent }),\n }),\n {\n name: 'arbi-calendar-view',\n storage: createJSONStorage(() => localStorage),\n partialize: (s) => ({ view: s.view }),\n }\n )\n)\n\nconst EVT_RE = /^evt-[A-Za-z0-9]{8}$/\n\n/** Ask the calendar to open on an event (ignored unless it is an `evt-` id). */\nexport function requestCalendarEvent(event: PendingCalendarEvent): void {\n if (EVT_RE.test(event.id)) useCalendarViewStore.getState().setPendingEvent(event)\n}\n\n/** Ask the calendar to open the event editor prefilled. */\nexport function requestCalendarComposer(prefill: CalendarComposerPrefill): void {\n useCalendarViewStore.getState().setPendingComposer(prefill)\n}\n","/**\n * The settings section asked for last, so `openSettings(section)` opens that section in every host.\n *\n * `BlocksEnvironment.openSettings` records the section here before the host shows its settings\n * (a panel, a route); a `ConnectedSettingsPage` without its own `section` prop opens at it and\n * follows every later request, even one for the section asked for before. A host that keeps the\n * open section itself (`section` + `onSectionChange`) routes `openSettings` to its own state.\n */\nimport { useSyncExternalStore } from 'react'\n\nexport interface SettingsSectionRequest {\n section: string\n /** Increases with every request, so asking again for the same section is a new request. */\n seq: number\n}\n\nlet request: SettingsSectionRequest | undefined\nconst listeners = new Set<() => void>()\n\n/** Ask for a settings section; no section asks for none (the page stays where it is). */\nexport function requestSettingsSection(section?: string): void {\n if (!section) return\n request = { section, seq: (request?.seq ?? 0) + 1 }\n listeners.forEach((listener) => listener())\n}\n\nfunction subscribe(listener: () => void): () => void {\n listeners.add(listener)\n return () => listeners.delete(listener)\n}\n\nconst snapshot = () => request\n\n/** The last settings-section request (`undefined` until there is one). */\nexport function useRequestedSettingsSection(): SettingsSectionRequest | undefined {\n return useSyncExternalStore(subscribe, snapshot, snapshot)\n}\n","import type { ReactNode } from 'react'\nimport {\n notify as notifyStore,\n useHostConfigRecord,\n type NotifyOptions,\n type NotifyVariant,\n} from '@arbidocs/react/shell'\nimport type { BlockLinkComponent } from '../components/blockLink'\nimport { requestCalendarEvent, type PendingCalendarEvent } from '../connection/calendar/store'\nimport { choiceDialog, confirmDialog, type ChoiceRequest, type ConfirmRequest } from './dialogs'\nimport { conversationStartRequest, mailDraftRequest } from './requests'\nimport { requestSettingsSection } from './settings-section'\n\n/** What blocks need from the host's runtime configuration (the app's `config.json`). */\nexport interface BlocksRuntimeConfig {\n /** Origin of the ARBI API; `''` means the page's own origin. */\n apiBaseUrl: string\n /** The deployment's domain, e.g. `www.arbidocs.com` (deep links, key derivation, labels). */\n deploymentDomain: string\n}\n\nexport interface OpenDocumentOptions {\n /** 1-based page to scroll to. */\n page?: number\n /** Passage (chunk) to highlight. */\n passageId?: string\n /**\n * The workspace the document is in, when it is not the open one (a document an agent wrote in\n * its own workspace): the host opens that workspace first.\n */\n workspaceId?: string\n /** An earlier version (1-based); none: the current one. */\n version?: number\n /** The viewer tab to show: `pdf` is where a signature request is reviewed and signed. */\n tab?: 'pdf'\n}\n\nexport interface OpenWordEditorOptions {\n /** The comment to show (a mention in it, a reply to it). */\n commentId?: string\n /** The workspace the document is in, when it is not the open one. */\n workspaceId?: string\n}\n\nexport interface OpenConversationOptions {\n /** The message to scroll to. */\n messageId?: string\n /** The open document stays on screen beside the thread (a thread about it). */\n keepDocumentOpen?: boolean\n /** The workspace the thread is in, when it is not the open one. */\n workspaceId?: string\n}\n\nexport interface OpenNewConversationOptions {\n /** Its first message, sent once the new conversation is ready (an ask bar, \"Ask about this\"). */\n prompt?: string\n /** The open document stays on screen beside it (a chat started from it). */\n keepDocumentOpen?: boolean\n}\n\nexport interface OpenWorkflowOptions {\n /** The workflow's editor (default) or its runs. */\n view?: 'builder' | 'runs'\n /** The workspace the workflow is in, when it is not the open one. */\n workspaceId?: string\n}\n\nexport interface OpenMailOptions {\n /** The email draft to show (a draft a workflow step or an agent left), to check and send. */\n draftId?: string\n /** The folder to show (`inbox`, `sent`, `trash`, `outbox`…). Default: the host's own. */\n folder?: string\n}\n\nexport interface OpenCalendarOptions {\n /** The event to open on. */\n event?: PendingCalendarEvent\n}\n\n/** Parts of the product a host can turn off (a setting, a plan): a kit offers them only when on. */\nexport type BlocksFeature = 'workflows'\n\n/** Where files are added from: this device, links, or an email account. */\nexport type UploadSource = 'computer' | 'internet' | 'email'\n\n/** What `openShare` shares by email. */\nexport interface ShareRequest {\n resourceType: 'document' | 'conversation'\n resourceExtId: string\n workspaceExtId: string\n resourceName?: string\n /** Whether it is private to its owner now: the dialog offers to share it with the workspace. */\n isPrivate: boolean\n}\n\n/** What `openFiles` shows: some files selected, and the list narrowed. */\nexport interface OpenFilesOptions {\n /** Files to select. */\n select?: string[]\n /** Quick filters by key (a label id, `folder:<path>`, `folder:none`): show or hide those files. */\n filters?: Record<string, 'include' | 'exclude'>\n}\n\n/**\n * Something a kit links to (the target of an `open…` intent), for `hrefFor`. `workspaceId` is the\n * workspace it is in, when the kit knows it.\n */\nexport type LinkTarget =\n | { kind: 'document'; documentId: string; workspaceId?: string | null }\n | {\n kind: 'conversation'\n conversationId: string\n workspaceId?: string | null\n messageId?: string\n }\n | { kind: 'workspace'; workspaceId: string }\n /** A project; none: the projects list. */\n | { kind: 'project'; projectId?: string }\n /** A workflow (its editor); none: the workflows list. */\n | { kind: 'workflow'; workflowId?: string; workspaceId?: string | null }\n /** The mailbox, on an email draft when given. */\n | { kind: 'mail'; draftId?: string }\n /** The user's settings, at a section when given. */\n | { kind: 'settings'; section?: string }\n /** The calendar, on an event when given. */\n | { kind: 'calendar'; eventId?: string }\n\n/**\n * The only way blocks reach the host app's environment: the host configuration's `environment`\n * (`<ArbiHost config={{ environment: { navigate, notify, … } }}>`). Blocks never import a router, a\n * toast library or an app store; the host gives what it has, and every field has a safe default so\n * a block renders correctly with no host at all. A nested host overrides only the fields it gives\n * and inherits the rest.\n */\nexport interface BlocksEnvironment {\n /** Router-aware link (keeps navigation in-SPA). Default: a plain `<a href>`. */\n linkComponent?: BlockLinkComponent\n /** Imperative navigation for buttons and keyboard shortcuts. Default: `window.location.assign`. */\n navigate: (href: string) => void\n /** Surface a transient message (and record it in the notification centre). Default: the shared\n * `@arbidocs/react` notify store, rendered by its `<Toaster/>`. */\n notify: (message: ReactNode, kind?: NotifyVariant, options?: NotifyOptions) => void\n /** Ask the user to confirm. Default: the blocks prompt dialog. */\n confirm: (request: ConfirmRequest) => Promise<boolean>\n /** Ask the user to pick one of several choices; `null` when dismissed. Default: the blocks\n * prompt dialog. */\n choose: <T extends string>(request: ChoiceRequest<T>) => Promise<T | null>\n /** Deployment configuration. Default: same-origin API on the page's own host. */\n runtimeConfig: BlocksRuntimeConfig\n /**\n * The address of a target in the host's router, for a real link (open in a new tab, middle-click,\n * copy link) beside the matching `open…` intent: a kit never builds an app path itself, so its\n * links and its navigation agree on every site. `undefined`: no link (the row still opens on a\n * click). Default: none. ARBI-style paths (`/wrk-…/doc-…`): `deepLinkHref`.\n */\n hrefFor: (target: LinkTarget) => string | undefined\n /** Open a document (optionally at a page / passage) wherever the host shows documents.\n * Default: no-op. */\n openDocument: (documentId: string, options?: OpenDocumentOptions) => void\n /**\n * Open a Word document (`opensInWord`) in the host's Word editor, optionally on a comment.\n * Default: `openDocument` (a host whose viewer edits Word documents in place needs no other).\n */\n openWordEditor: (documentId: string, options?: OpenWordEditorOptions) => void\n /** Open a conversation thread, optionally scrolled to a message. Default: no-op. */\n openConversation: (conversationId: string, options?: OpenConversationOptions) => void\n /**\n * Show a new, empty conversation, unbound to any document. With a `prompt` it is sent as the\n * first message once the conversation is ready (recorded for the chat that shows it:\n * `ConnectedConversation`, `ChatPage`). Without one a launch composes into the session's draft\n * after this. Default: no-op.\n */\n openNewConversation: (options?: OpenNewConversationOptions) => void\n /**\n * Open the user's settings, optionally at a section (a `ConnectedSettingsPage` section id).\n * The section is always recorded for `ConnectedSettingsPage` first (`requestSettingsSection`);\n * the host's handler then shows its settings. Default: only that record.\n */\n openSettings: (section?: string) => void\n /** Open a project; no id: the projects list. Default: no-op. */\n openProject: (projectId?: string) => void\n /**\n * Show the calendar page (`ConnectedCalendar`), optionally on an event (recorded for the\n * calendar first: `requestCalendarEvent`). Default: only that record.\n */\n openCalendar: (options?: OpenCalendarOptions) => void\n /**\n * Show the mailbox (`ConnectedMailbox`), optionally on an email draft (recorded for the mailbox\n * first). Absent: the host has no mail, and a kit offers no way to open it.\n */\n openMail?: (options?: OpenMailOptions) => void\n /** Show the host's calls page (call history, scheduled calls). Absent: not offered. */\n openCalls?: () => void\n /** Show the host's notification centre (`ConnectedNotificationCenter`). Absent: not offered. */\n openNotifications?: () => void\n /**\n * Open a workflow in the host's Workflows page (its editor, or its runs); no id: the list.\n * Offered only while the `workflows` feature is on (`useOpenWorkflow`). Absent: never.\n */\n openWorkflow?: (workflowId?: string, options?: OpenWorkflowOptions) => void\n /**\n * A React hook: whether a part of the product is on for this user (a setting, a plan). Kits\n * offer what is off nowhere. Default: everything is on.\n */\n useFeature: (feature: BlocksFeature) => boolean\n /** Show the open workspace's files, optionally with some selected and the list narrowed. Default: no-op. */\n openFiles: (options?: OpenFilesOptions) => void\n /**\n * Add files the host's way (its upload dialog), optionally with some already picked, or from one\n * source. Absent: a kit that adds files uploads them itself.\n */\n openUpload?: (files?: File[], options?: { source?: UploadSource }) => void\n /** Open the host's skills browser, optionally at one skill. Absent: not offered. */\n openSkillsBrowser?: (skillSlug?: string) => void\n /** Share a document or a thread by email (the host's share dialog). Absent: not offered. */\n openShare?: (request: ShareRequest) => void\n /**\n * Show a workspace (its own page). Under `defaultHost`'s sign-in layer the kits select it first\n * (`useConnectedWorkspace().openWorkspace`); a host that keeps its own session switches to it\n * here. `name` is for the host's messages. Default: no-op.\n */\n openWorkspace: (workspaceId: string, options?: { name?: string }) => void\n}\n\nconst noop = () => {}\n\nconst defaultEnvironment: BlocksEnvironment = {\n navigate: (href) => {\n if (typeof window !== 'undefined') window.location.assign(href)\n },\n notify: (message, kind = 'info', options) => {\n notifyStore[kind](message, options)\n },\n confirm: confirmDialog,\n choose: choiceDialog,\n runtimeConfig: {\n apiBaseUrl: '',\n deploymentDomain: typeof window !== 'undefined' ? window.location.host : '',\n },\n hrefFor: () => undefined,\n openDocument: noop,\n openWordEditor: noop,\n openConversation: noop,\n openNewConversation: noop,\n openSettings: requestSettingsSection,\n openProject: noop,\n openCalendar: (options) => {\n if (options?.event) requestCalendarEvent(options.event)\n },\n useFeature: () => true,\n openFiles: noop,\n openWorkspace: noop,\n}\n\nconst resolved = new WeakMap<object, BlocksEnvironment>()\nconst complete = new WeakSet<BlocksEnvironment>()\n// The intents below that record what they open on: a resolved environment passed on again (a\n// nested host's, `createBlocksEnvironment`'s) records once, not twice.\nconst recording = new WeakSet<object>()\n\nfunction records<F extends object>(intent: F): F {\n recording.add(intent)\n return intent\n}\n\nfunction recordingIntent<F extends object>(\n host: F | undefined,\n wrap: (host: F) => F\n): F | undefined {\n if (!host) return undefined\n return recording.has(host) ? host : records(wrap(host))\n}\n\nfunction resolve(environment: Partial<BlocksEnvironment>): BlocksEnvironment {\n const { openDocument } = environment\n const value: BlocksEnvironment = {\n ...defaultEnvironment,\n openWordEditor: openDocument\n ? (documentId, options) => openDocument(documentId, { workspaceId: options?.workspaceId })\n : noop,\n ...environment,\n // What an intent opens on is recorded for the surface before the host shows it.\n openSettings:\n recordingIntent(environment.openSettings, (openSettings) => (section) => {\n requestSettingsSection(section)\n openSettings(section)\n }) ?? defaultEnvironment.openSettings,\n openCalendar:\n recordingIntent(environment.openCalendar, (openCalendar) => (options) => {\n defaultEnvironment.openCalendar(options)\n openCalendar(options)\n }) ?? defaultEnvironment.openCalendar,\n openMail: recordingIntent(environment.openMail, (openMail) => (options) => {\n if (options?.draftId) mailDraftRequest.request(options.draftId)\n openMail(options)\n }),\n openNewConversation:\n recordingIntent(environment.openNewConversation, (openNewConversation) => (options) => {\n openNewConversation(options)\n // After the host's reset of the new conversation, which clears its draft.\n const prompt = options?.prompt?.trim()\n if (prompt) conversationStartRequest.request(prompt)\n }) ?? noop,\n }\n complete.add(value)\n return value\n}\n\n/**\n * The environment with every field filled in (the defaults where `environment` gives none), and\n * every intent recording what it opens on. A host calls it for code outside React (a store action,\n * a notification handler); passing the result as the host configuration's `environment` uses it\n * as is.\n */\nexport function createBlocksEnvironment(\n environment: Partial<BlocksEnvironment>\n): BlocksEnvironment {\n if (complete.has(environment as BlocksEnvironment)) return environment as BlocksEnvironment\n let value = resolved.get(environment)\n if (!value) resolved.set(environment, (value = resolve(environment)))\n return value\n}\n\n/** The host's environment, every field filled in (the defaults where the host gives none). */\nexport function useBlocksEnvironment(): BlocksEnvironment {\n const environment = useHostConfigRecord().environment as Partial<BlocksEnvironment> | undefined\n return environment ? createBlocksEnvironment(environment) : defaultEnvironment\n}\n\n/**\n * How to open a workflow in the host's Workflows page, or `undefined` while there is none (the\n * host has no `openWorkflow`, or the `workflows` feature is off).\n */\nexport function useOpenWorkflow(): BlocksEnvironment['openWorkflow'] {\n const { openWorkflow, useFeature } = useBlocksEnvironment()\n const enabled = useFeature('workflows')\n return enabled ? openWorkflow : undefined\n}\n"]}
|
package/dist/citations/index.cjs
CHANGED
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var chunkC7PTF6BQ_cjs = require('../chunk-C7PTF6BQ.cjs');
|
|
5
|
-
var
|
|
6
|
-
require('../chunk-
|
|
5
|
+
var chunkBLESTVHK_cjs = require('../chunk-BLESTVHK.cjs');
|
|
6
|
+
require('../chunk-ZLSMS6OK.cjs');
|
|
7
|
+
require('../chunk-SI222Z3A.cjs');
|
|
7
8
|
require('../chunk-ULWRNGGE.cjs');
|
|
8
9
|
require('../chunk-QSZCU3II.cjs');
|
|
9
10
|
require('../chunk-KDG6FER6.cjs');
|
|
11
|
+
require('../chunk-MHVNT4J3.cjs');
|
|
10
12
|
require('../chunk-DES3K4SD.cjs');
|
|
11
13
|
|
|
12
14
|
|
|
@@ -17,35 +19,35 @@ Object.defineProperty(exports, "CitationEditor", {
|
|
|
17
19
|
});
|
|
18
20
|
Object.defineProperty(exports, "DEFAULT_PASSAGE_PILL_LABELS", {
|
|
19
21
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkBLESTVHK_cjs.DEFAULT_PASSAGE_PILL_LABELS; }
|
|
21
23
|
});
|
|
22
24
|
Object.defineProperty(exports, "DEFAULT_QUIET_MARK_LABELS", {
|
|
23
25
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkBLESTVHK_cjs.DEFAULT_QUIET_MARK_LABELS; }
|
|
25
27
|
});
|
|
26
28
|
Object.defineProperty(exports, "LabelMark", {
|
|
27
29
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkBLESTVHK_cjs.LabelMark; }
|
|
29
31
|
});
|
|
30
32
|
Object.defineProperty(exports, "NoteMark", {
|
|
31
33
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkBLESTVHK_cjs.NoteMark; }
|
|
33
35
|
});
|
|
34
36
|
Object.defineProperty(exports, "PassageMark", {
|
|
35
37
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkBLESTVHK_cjs.PassageMark; }
|
|
37
39
|
});
|
|
38
40
|
Object.defineProperty(exports, "PassagePill", {
|
|
39
41
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkBLESTVHK_cjs.PassagePill; }
|
|
41
43
|
});
|
|
42
44
|
Object.defineProperty(exports, "QuietLink", {
|
|
43
45
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkBLESTVHK_cjs.QuietLink; }
|
|
45
47
|
});
|
|
46
48
|
Object.defineProperty(exports, "useCopyText", {
|
|
47
49
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkBLESTVHK_cjs.useCopyText; }
|
|
49
51
|
});
|
|
50
52
|
//# sourceMappingURL=index.cjs.map
|
|
51
53
|
//# sourceMappingURL=index.cjs.map
|
package/dist/citations/index.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
export { CitationEditor } from '../chunk-ZNLTEZEF.js';
|
|
3
|
-
export { DEFAULT_PASSAGE_PILL_LABELS, DEFAULT_QUIET_MARK_LABELS, LabelMark, NoteMark, PassageMark, PassagePill, QuietLink, useCopyText } from '../chunk-
|
|
4
|
-
import '../chunk-
|
|
3
|
+
export { DEFAULT_PASSAGE_PILL_LABELS, DEFAULT_QUIET_MARK_LABELS, LabelMark, NoteMark, PassageMark, PassagePill, QuietLink, useCopyText } from '../chunk-L5UHXBJK.js';
|
|
4
|
+
import '../chunk-CH4FHZSR.js';
|
|
5
|
+
import '../chunk-U4HWVCRN.js';
|
|
5
6
|
import '../chunk-TX2ZICS7.js';
|
|
6
7
|
import '../chunk-EDZHEBMV.js';
|
|
7
8
|
import '../chunk-OXF2IFXG.js';
|
|
9
|
+
import '../chunk-7F6CBP3Z.js';
|
|
8
10
|
import '../chunk-VUNV25KB.js';
|
|
9
11
|
//# sourceMappingURL=index.js.map
|
|
10
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var chunkRFB7B6XG_cjs = require('../chunk-RFB7B6XG.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkWUG24K7P_cjs = require('../chunk-WUG24K7P.cjs');
|
|
6
6
|
require('../chunk-7G2LJMUG.cjs');
|
|
7
7
|
var chunkVLCY46K6_cjs = require('../chunk-VLCY46K6.cjs');
|
|
8
|
-
require('../chunk-
|
|
8
|
+
require('../chunk-LKK52DEY.cjs');
|
|
9
9
|
var chunkMOIZ2R5X_cjs = require('../chunk-MOIZ2R5X.cjs');
|
|
10
10
|
require('../chunk-ULWRNGGE.cjs');
|
|
11
11
|
require('../chunk-FX3K6LNZ.cjs');
|
|
@@ -36,267 +36,267 @@ Object.defineProperty(exports, "vCardFilename", {
|
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "ActionMenu", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkWUG24K7P_cjs.ActionMenu; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "AddContactsForm", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkWUG24K7P_cjs.AddContactsForm; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "AddContactsResults", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkWUG24K7P_cjs.AddContactsResults; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "DEFAULT_ADD_CONTACTS_LABELS", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkWUG24K7P_cjs.DEFAULT_ADD_CONTACTS_LABELS; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "DEFAULT_CONTACT_INVITE_LABELS", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkWUG24K7P_cjs.DEFAULT_CONTACT_INVITE_LABELS; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "DEFAULT_CONTACT_OUTCOME_LABELS", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkWUG24K7P_cjs.DEFAULT_CONTACT_OUTCOME_LABELS; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "DEFAULT_DM_ACCESS_REQUEST_BANNER_LABELS", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkWUG24K7P_cjs.DEFAULT_DM_ACCESS_REQUEST_BANNER_LABELS; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "DEFAULT_DM_GRANT_ACCESS_DIALOG_LABELS", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkWUG24K7P_cjs.DEFAULT_DM_GRANT_ACCESS_DIALOG_LABELS; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "DEFAULT_DM_THREAD_FRAME_LABELS", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkWUG24K7P_cjs.DEFAULT_DM_THREAD_FRAME_LABELS; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "DEFAULT_MAIL_FOLDER_TREE_LABELS", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkWUG24K7P_cjs.DEFAULT_MAIL_FOLDER_TREE_LABELS; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "DEFAULT_RECIPIENT_PICKER_LABELS", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkWUG24K7P_cjs.DEFAULT_RECIPIENT_PICKER_LABELS; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "DmAccessRequestBanner", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkWUG24K7P_cjs.DmAccessRequestBanner; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "DmGrantAccessDialogView", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkWUG24K7P_cjs.DmGrantAccessDialogView; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "DmInviteAvatar", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkWUG24K7P_cjs.DmInviteAvatar; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "DmNewTabIcon", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkWUG24K7P_cjs.DmNewTabIcon; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "DmThreadFrame", {
|
|
98
98
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkWUG24K7P_cjs.DmThreadFrame; }
|
|
100
100
|
});
|
|
101
101
|
Object.defineProperty(exports, "EMPTY_CONTACT_FORM", {
|
|
102
102
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkWUG24K7P_cjs.EMPTY_CONTACT_FORM; }
|
|
104
104
|
});
|
|
105
105
|
Object.defineProperty(exports, "MAX_INVITE_EMAILS", {
|
|
106
106
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunkWUG24K7P_cjs.MAX_INVITE_EMAILS; }
|
|
108
108
|
});
|
|
109
109
|
Object.defineProperty(exports, "MailDeliveryBadge", {
|
|
110
110
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunkWUG24K7P_cjs.MailDeliveryBadge; }
|
|
112
112
|
});
|
|
113
113
|
Object.defineProperty(exports, "MailDeliveryList", {
|
|
114
114
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkWUG24K7P_cjs.MailDeliveryList; }
|
|
116
116
|
});
|
|
117
117
|
Object.defineProperty(exports, "MailDocumentPicker", {
|
|
118
118
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkWUG24K7P_cjs.MailDocumentPicker; }
|
|
120
120
|
});
|
|
121
121
|
Object.defineProperty(exports, "MailFolderTree", {
|
|
122
122
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkWUG24K7P_cjs.MailFolderTree; }
|
|
124
124
|
});
|
|
125
125
|
Object.defineProperty(exports, "MailGrid", {
|
|
126
126
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkWUG24K7P_cjs.MailGrid; }
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "MailMessagePreview", {
|
|
130
130
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunkWUG24K7P_cjs.MailMessagePreview; }
|
|
132
132
|
});
|
|
133
133
|
Object.defineProperty(exports, "MailMessageView", {
|
|
134
134
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunkWUG24K7P_cjs.MailMessageView; }
|
|
136
136
|
});
|
|
137
137
|
Object.defineProperty(exports, "MemberBulkActions", {
|
|
138
138
|
enumerable: true,
|
|
139
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunkWUG24K7P_cjs.MemberBulkActions; }
|
|
140
140
|
});
|
|
141
141
|
Object.defineProperty(exports, "MemberListLoading", {
|
|
142
142
|
enumerable: true,
|
|
143
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunkWUG24K7P_cjs.MemberListLoading; }
|
|
144
144
|
});
|
|
145
145
|
Object.defineProperty(exports, "MemberMutedText", {
|
|
146
146
|
enumerable: true,
|
|
147
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunkWUG24K7P_cjs.MemberMutedText; }
|
|
148
148
|
});
|
|
149
149
|
Object.defineProperty(exports, "MemberNameCell", {
|
|
150
150
|
enumerable: true,
|
|
151
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunkWUG24K7P_cjs.MemberNameCell; }
|
|
152
152
|
});
|
|
153
153
|
Object.defineProperty(exports, "MemberRoleCell", {
|
|
154
154
|
enumerable: true,
|
|
155
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunkWUG24K7P_cjs.MemberRoleCell; }
|
|
156
156
|
});
|
|
157
157
|
Object.defineProperty(exports, "NEEDS_CONNECTION", {
|
|
158
158
|
enumerable: true,
|
|
159
|
-
get: function () { return
|
|
159
|
+
get: function () { return chunkWUG24K7P_cjs.NEEDS_CONNECTION; }
|
|
160
160
|
});
|
|
161
161
|
Object.defineProperty(exports, "PlainMailBodyEditor", {
|
|
162
162
|
enumerable: true,
|
|
163
|
-
get: function () { return
|
|
163
|
+
get: function () { return chunkWUG24K7P_cjs.PlainMailBodyEditor; }
|
|
164
164
|
});
|
|
165
165
|
Object.defineProperty(exports, "RecipientPicker", {
|
|
166
166
|
enumerable: true,
|
|
167
|
-
get: function () { return
|
|
167
|
+
get: function () { return chunkWUG24K7P_cjs.RecipientPicker; }
|
|
168
168
|
});
|
|
169
169
|
Object.defineProperty(exports, "RoleSelect", {
|
|
170
170
|
enumerable: true,
|
|
171
|
-
get: function () { return
|
|
171
|
+
get: function () { return chunkWUG24K7P_cjs.RoleSelect; }
|
|
172
172
|
});
|
|
173
173
|
Object.defineProperty(exports, "WorkspaceDeleteButton", {
|
|
174
174
|
enumerable: true,
|
|
175
|
-
get: function () { return
|
|
175
|
+
get: function () { return chunkWUG24K7P_cjs.WorkspaceDeleteButton; }
|
|
176
176
|
});
|
|
177
177
|
Object.defineProperty(exports, "applyContactInviteResults", {
|
|
178
178
|
enumerable: true,
|
|
179
|
-
get: function () { return
|
|
179
|
+
get: function () { return chunkWUG24K7P_cjs.applyContactInviteResults; }
|
|
180
180
|
});
|
|
181
181
|
Object.defineProperty(exports, "buildMailFolderTree", {
|
|
182
182
|
enumerable: true,
|
|
183
|
-
get: function () { return
|
|
183
|
+
get: function () { return chunkWUG24K7P_cjs.buildMailFolderTree; }
|
|
184
184
|
});
|
|
185
185
|
Object.defineProperty(exports, "contactName", {
|
|
186
186
|
enumerable: true,
|
|
187
|
-
get: function () { return
|
|
187
|
+
get: function () { return chunkWUG24K7P_cjs.contactName; }
|
|
188
188
|
});
|
|
189
189
|
Object.defineProperty(exports, "contactOutcomeMessage", {
|
|
190
190
|
enumerable: true,
|
|
191
|
-
get: function () { return
|
|
191
|
+
get: function () { return chunkWUG24K7P_cjs.contactOutcomeMessage; }
|
|
192
192
|
});
|
|
193
193
|
Object.defineProperty(exports, "contactStatusLabel", {
|
|
194
194
|
enumerable: true,
|
|
195
|
-
get: function () { return
|
|
195
|
+
get: function () { return chunkWUG24K7P_cjs.contactStatusLabel; }
|
|
196
196
|
});
|
|
197
197
|
Object.defineProperty(exports, "contactToForm", {
|
|
198
198
|
enumerable: true,
|
|
199
|
-
get: function () { return
|
|
199
|
+
get: function () { return chunkWUG24K7P_cjs.contactToForm; }
|
|
200
200
|
});
|
|
201
201
|
Object.defineProperty(exports, "descendantFolderIds", {
|
|
202
202
|
enumerable: true,
|
|
203
|
-
get: function () { return
|
|
203
|
+
get: function () { return chunkWUG24K7P_cjs.descendantFolderIds; }
|
|
204
204
|
});
|
|
205
205
|
Object.defineProperty(exports, "draftMailCompose", {
|
|
206
206
|
enumerable: true,
|
|
207
|
-
get: function () { return
|
|
207
|
+
get: function () { return chunkWUG24K7P_cjs.draftMailCompose; }
|
|
208
208
|
});
|
|
209
209
|
Object.defineProperty(exports, "emailTokens", {
|
|
210
210
|
enumerable: true,
|
|
211
|
-
get: function () { return
|
|
211
|
+
get: function () { return chunkWUG24K7P_cjs.emailTokens; }
|
|
212
212
|
});
|
|
213
213
|
Object.defineProperty(exports, "emptyMailCompose", {
|
|
214
214
|
enumerable: true,
|
|
215
|
-
get: function () { return
|
|
215
|
+
get: function () { return chunkWUG24K7P_cjs.emptyMailCompose; }
|
|
216
216
|
});
|
|
217
217
|
Object.defineProperty(exports, "failContactInvites", {
|
|
218
218
|
enumerable: true,
|
|
219
|
-
get: function () { return
|
|
219
|
+
get: function () { return chunkWUG24K7P_cjs.failContactInvites; }
|
|
220
220
|
});
|
|
221
221
|
Object.defineProperty(exports, "formToContactCard", {
|
|
222
222
|
enumerable: true,
|
|
223
|
-
get: function () { return
|
|
223
|
+
get: function () { return chunkWUG24K7P_cjs.formToContactCard; }
|
|
224
224
|
});
|
|
225
225
|
Object.defineProperty(exports, "hasCalendarPart", {
|
|
226
226
|
enumerable: true,
|
|
227
|
-
get: function () { return
|
|
227
|
+
get: function () { return chunkWUG24K7P_cjs.hasCalendarPart; }
|
|
228
228
|
});
|
|
229
229
|
Object.defineProperty(exports, "inviteEmail", {
|
|
230
230
|
enumerable: true,
|
|
231
|
-
get: function () { return
|
|
231
|
+
get: function () { return chunkWUG24K7P_cjs.inviteEmail; }
|
|
232
232
|
});
|
|
233
233
|
Object.defineProperty(exports, "isInboxFolder", {
|
|
234
234
|
enumerable: true,
|
|
235
|
-
get: function () { return
|
|
235
|
+
get: function () { return chunkWUG24K7P_cjs.isInboxFolder; }
|
|
236
236
|
});
|
|
237
237
|
Object.defineProperty(exports, "isInvitableEmail", {
|
|
238
238
|
enumerable: true,
|
|
239
|
-
get: function () { return
|
|
239
|
+
get: function () { return chunkWUG24K7P_cjs.isInvitableEmail; }
|
|
240
240
|
});
|
|
241
241
|
Object.defineProperty(exports, "mailAddressLabel", {
|
|
242
242
|
enumerable: true,
|
|
243
|
-
get: function () { return
|
|
243
|
+
get: function () { return chunkWUG24K7P_cjs.mailAddressLabel; }
|
|
244
244
|
});
|
|
245
245
|
Object.defineProperty(exports, "matchesContact", {
|
|
246
246
|
enumerable: true,
|
|
247
|
-
get: function () { return
|
|
247
|
+
get: function () { return chunkWUG24K7P_cjs.matchesContact; }
|
|
248
248
|
});
|
|
249
249
|
Object.defineProperty(exports, "normalizeVCardDate", {
|
|
250
250
|
enumerable: true,
|
|
251
|
-
get: function () { return
|
|
251
|
+
get: function () { return chunkWUG24K7P_cjs.normalizeVCardDate; }
|
|
252
252
|
});
|
|
253
253
|
Object.defineProperty(exports, "parseEmails", {
|
|
254
254
|
enumerable: true,
|
|
255
|
-
get: function () { return
|
|
255
|
+
get: function () { return chunkWUG24K7P_cjs.parseEmails; }
|
|
256
256
|
});
|
|
257
257
|
Object.defineProperty(exports, "parseMailRecipients", {
|
|
258
258
|
enumerable: true,
|
|
259
|
-
get: function () { return
|
|
259
|
+
get: function () { return chunkWUG24K7P_cjs.parseMailRecipients; }
|
|
260
260
|
});
|
|
261
261
|
Object.defineProperty(exports, "planContactInvites", {
|
|
262
262
|
enumerable: true,
|
|
263
|
-
get: function () { return
|
|
263
|
+
get: function () { return chunkWUG24K7P_cjs.planContactInvites; }
|
|
264
264
|
});
|
|
265
265
|
Object.defineProperty(exports, "primaryEmail", {
|
|
266
266
|
enumerable: true,
|
|
267
|
-
get: function () { return
|
|
267
|
+
get: function () { return chunkWUG24K7P_cjs.primaryEmail; }
|
|
268
268
|
});
|
|
269
269
|
Object.defineProperty(exports, "replyMailCompose", {
|
|
270
270
|
enumerable: true,
|
|
271
|
-
get: function () { return
|
|
271
|
+
get: function () { return chunkWUG24K7P_cjs.replyMailCompose; }
|
|
272
272
|
});
|
|
273
273
|
Object.defineProperty(exports, "summarizeContactInvites", {
|
|
274
274
|
enumerable: true,
|
|
275
|
-
get: function () { return
|
|
275
|
+
get: function () { return chunkWUG24K7P_cjs.summarizeContactInvites; }
|
|
276
276
|
});
|
|
277
277
|
Object.defineProperty(exports, "summarizeImport", {
|
|
278
278
|
enumerable: true,
|
|
279
|
-
get: function () { return
|
|
279
|
+
get: function () { return chunkWUG24K7P_cjs.summarizeImport; }
|
|
280
280
|
});
|
|
281
281
|
Object.defineProperty(exports, "summarizeUnsentInvites", {
|
|
282
282
|
enumerable: true,
|
|
283
|
-
get: function () { return
|
|
283
|
+
get: function () { return chunkWUG24K7P_cjs.summarizeUnsentInvites; }
|
|
284
284
|
});
|
|
285
285
|
Object.defineProperty(exports, "toAddContactsRow", {
|
|
286
286
|
enumerable: true,
|
|
287
|
-
get: function () { return
|
|
287
|
+
get: function () { return chunkWUG24K7P_cjs.toAddContactsRow; }
|
|
288
288
|
});
|
|
289
289
|
Object.defineProperty(exports, "toAddContactsRows", {
|
|
290
290
|
enumerable: true,
|
|
291
|
-
get: function () { return
|
|
291
|
+
get: function () { return chunkWUG24K7P_cjs.toAddContactsRows; }
|
|
292
292
|
});
|
|
293
293
|
Object.defineProperty(exports, "toggleMailFolder", {
|
|
294
294
|
enumerable: true,
|
|
295
|
-
get: function () { return
|
|
295
|
+
get: function () { return chunkWUG24K7P_cjs.toggleMailFolder; }
|
|
296
296
|
});
|
|
297
297
|
Object.defineProperty(exports, "validateContactForm", {
|
|
298
298
|
enumerable: true,
|
|
299
|
-
get: function () { return
|
|
299
|
+
get: function () { return chunkWUG24K7P_cjs.validateContactForm; }
|
|
300
300
|
});
|
|
301
301
|
Object.defineProperty(exports, "DEFAULT_SHARE_CONTROL_LABELS", {
|
|
302
302
|
enumerable: true,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
export { ContactCard, DEFAULT_CONTACT_CARD_LABELS, contactToVCard, downloadVCard, vCardFilename } from '../chunk-TTS353W2.js';
|
|
3
|
-
export { ActionMenu, AddContactsForm, AddContactsResults, DEFAULT_ADD_CONTACTS_LABELS, DEFAULT_CONTACT_INVITE_LABELS, DEFAULT_CONTACT_OUTCOME_LABELS, DEFAULT_DM_ACCESS_REQUEST_BANNER_LABELS, DEFAULT_DM_GRANT_ACCESS_DIALOG_LABELS, DEFAULT_DM_THREAD_FRAME_LABELS, DEFAULT_MAIL_FOLDER_TREE_LABELS, DEFAULT_RECIPIENT_PICKER_LABELS, DmAccessRequestBanner, DmGrantAccessDialogView, DmInviteAvatar, DmNewTabIcon, DmThreadFrame, EMPTY_CONTACT_FORM, MAX_INVITE_EMAILS, MailDeliveryBadge, MailDeliveryList, MailDocumentPicker, MailFolderTree, MailGrid, MailMessagePreview, MailMessageView, MemberBulkActions, MemberListLoading, MemberMutedText, MemberNameCell, MemberRoleCell, NEEDS_CONNECTION, PlainMailBodyEditor, RecipientPicker, RoleSelect, WorkspaceDeleteButton, applyContactInviteResults, buildMailFolderTree, contactName, contactOutcomeMessage, contactStatusLabel, contactToForm, descendantFolderIds, draftMailCompose, emailTokens, emptyMailCompose, failContactInvites, formToContactCard, hasCalendarPart, inviteEmail, isInboxFolder, isInvitableEmail, mailAddressLabel, matchesContact, normalizeVCardDate, parseEmails, parseMailRecipients, planContactInvites, primaryEmail, replyMailCompose, summarizeContactInvites, summarizeImport, summarizeUnsentInvites, toAddContactsRow, toAddContactsRows, toggleMailFolder, validateContactForm } from '../chunk-
|
|
3
|
+
export { ActionMenu, AddContactsForm, AddContactsResults, DEFAULT_ADD_CONTACTS_LABELS, DEFAULT_CONTACT_INVITE_LABELS, DEFAULT_CONTACT_OUTCOME_LABELS, DEFAULT_DM_ACCESS_REQUEST_BANNER_LABELS, DEFAULT_DM_GRANT_ACCESS_DIALOG_LABELS, DEFAULT_DM_THREAD_FRAME_LABELS, DEFAULT_MAIL_FOLDER_TREE_LABELS, DEFAULT_RECIPIENT_PICKER_LABELS, DmAccessRequestBanner, DmGrantAccessDialogView, DmInviteAvatar, DmNewTabIcon, DmThreadFrame, EMPTY_CONTACT_FORM, MAX_INVITE_EMAILS, MailDeliveryBadge, MailDeliveryList, MailDocumentPicker, MailFolderTree, MailGrid, MailMessagePreview, MailMessageView, MemberBulkActions, MemberListLoading, MemberMutedText, MemberNameCell, MemberRoleCell, NEEDS_CONNECTION, PlainMailBodyEditor, RecipientPicker, RoleSelect, WorkspaceDeleteButton, applyContactInviteResults, buildMailFolderTree, contactName, contactOutcomeMessage, contactStatusLabel, contactToForm, descendantFolderIds, draftMailCompose, emailTokens, emptyMailCompose, failContactInvites, formToContactCard, hasCalendarPart, inviteEmail, isInboxFolder, isInvitableEmail, mailAddressLabel, matchesContact, normalizeVCardDate, parseEmails, parseMailRecipients, planContactInvites, primaryEmail, replyMailCompose, summarizeContactInvites, summarizeImport, summarizeUnsentInvites, toAddContactsRow, toAddContactsRows, toggleMailFolder, validateContactForm } from '../chunk-H7L43DIE.js';
|
|
4
4
|
import '../chunk-NBV56SGU.js';
|
|
5
5
|
export { DEFAULT_SHARE_CONTROL_LABELS, ShareControl } from '../chunk-K4BGOPGG.js';
|
|
6
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-7F5Z4K5W.js';
|
|
7
7
|
export { DEFAULT_DM_INVITE_CHIP_LABELS, DmInviteChip, DmThreadHeader } from '../chunk-2S3LT5KE.js';
|
|
8
8
|
import '../chunk-TX2ZICS7.js';
|
|
9
9
|
import '../chunk-SLSBJRWW.js';
|