@flamingo-stack/openframe-frontend-core 0.0.850 → 0.0.851
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/chat-protocol/events.d.ts +4 -1
- package/dist/chat-protocol/events.d.ts.map +1 -1
- package/dist/chat-protocol/index.cjs +90 -40
- package/dist/chat-protocol/nats-decoder.d.ts.map +1 -1
- package/dist/chat-protocol/nats-decoder.js +5 -1
- package/dist/chat-protocol/policy-review.d.ts +18 -0
- package/dist/chat-protocol/policy-review.d.ts.map +1 -0
- package/dist/chat-protocol/policy-review.js +55 -0
- package/dist/{chunk-ZDSC3GFX.cjs → chunk-2NGW73T2.cjs} +3 -3
- package/dist/{chunk-2QZUTNL3.cjs → chunk-2WZHNMQY.cjs} +67 -67
- package/dist/{chunk-R5JPZ6TY.cjs → chunk-5SEJEBAB.cjs} +8 -8
- package/dist/{chunk-TX4NTH22.cjs → chunk-B6D4WWKD.cjs} +36 -36
- package/dist/{chunk-FXLROQUT.cjs → chunk-CDW6JTAQ.cjs} +442 -459
- package/dist/{chunk-5PIR77V5.cjs → chunk-DN227KZH.cjs} +4 -4
- package/dist/{chunk-QJER2ZNA.cjs → chunk-FGSN5UNY.cjs} +3 -3
- package/dist/{chunk-ZGEWT3SF.cjs → chunk-HXURNKXI.cjs} +3 -3
- package/dist/{chunk-FRG724DU.cjs → chunk-KRTTH3ET.cjs} +4 -4
- package/dist/{chunk-YJZ7R3W5.cjs → chunk-KXFIYO4O.cjs} +8 -8
- package/dist/{chunk-4YBS4HIO.cjs → chunk-LM7EL3UQ.cjs} +444 -27
- package/dist/{chunk-LGYPCUHO.cjs → chunk-NQEPLUUW.cjs} +21 -21
- package/dist/{chunk-OHHDX3Z4.cjs → chunk-ODMZSAIY.cjs} +36 -36
- package/dist/{chunk-VRWBJL7B.cjs → chunk-OUP7L3U5.cjs} +50 -50
- package/dist/{chunk-5CBI2ZYV.cjs → chunk-PJNEBSP5.cjs} +5 -5
- package/dist/{chunk-6AJYGXXS.cjs → chunk-PPCRLSVR.cjs} +11 -11
- package/dist/{chunk-SA2NNWIJ.cjs → chunk-QCSA7GIX.cjs} +17 -62
- package/dist/{chunk-JWIITCVB.cjs → chunk-SPKAXETT.cjs} +42 -42
- package/dist/{chunk-CAGNWDVJ.cjs → chunk-U4RTWH5D.cjs} +42 -42
- package/dist/{chunk-IHY7E4EX.cjs → chunk-UFGPLXH6.cjs} +4 -4
- package/dist/{chunk-7ICHJVAT.cjs → chunk-UQK6J3ZS.cjs} +13 -13
- package/dist/{chunk-S3QXLD4X.cjs → chunk-VCFQHPOO.cjs} +37 -3
- package/dist/{chunk-IPGGSFR7.cjs → chunk-VU6N3NZS.cjs} +6 -6
- package/dist/{chunk-GAYLAA3L.cjs → chunk-VXIZCUNZ.cjs} +61 -61
- package/dist/{chunk-3W4ASAXN.cjs → chunk-WYROOMUZ.cjs} +2 -2
- package/dist/{chunk-XKOL5CNU.cjs → chunk-ZEPEFKHA.cjs} +811 -932
- package/dist/{cloud-tenants-TVB3DT3J.cjs → cloud-tenants-XH6GV4EI.cjs} +12 -13
- package/dist/components/case-studies/index.cjs +24 -25
- package/dist/components/chat/approval-batch-message.d.ts +5 -0
- package/dist/components/chat/approval-batch-message.d.ts.map +1 -1
- package/dist/components/chat/approval-batch-message.js +36 -10
- package/dist/components/chat/index.cjs +8 -9
- package/dist/components/chat/policy-review.d.ts +27 -0
- package/dist/components/chat/policy-review.d.ts.map +1 -0
- package/dist/components/chat/policy-review.js +67 -0
- package/dist/components/chat/stream/message-mutations.d.ts.map +1 -1
- package/dist/components/chat/stream/message-mutations.js +4 -1
- package/dist/components/chat/tool-execution-display.d.ts.map +1 -1
- package/dist/components/chat/tool-execution-display.js +16 -5
- package/dist/components/chat/types/message.types.d.ts +40 -2
- package/dist/components/chat/types/message.types.d.ts.map +1 -1
- package/dist/components/chat/utils/extract-incomplete-message-state.d.ts.map +1 -1
- package/dist/components/chat/utils/extract-incomplete-message-state.js +2 -0
- package/dist/components/chat/utils/message-segment-accumulator.d.ts.map +1 -1
- package/dist/components/chat/utils/message-segment-accumulator.js +3 -0
- package/dist/components/chat/utils/process-historical-messages.d.ts +2 -2
- package/dist/components/chat/utils/process-historical-messages.d.ts.map +1 -1
- package/dist/components/chat/utils/process-historical-messages.js +7 -1
- package/dist/components/contact/index.cjs +13 -14
- package/dist/components/docs/index.cjs +16 -17
- package/dist/components/embeds/index.cjs +13 -14
- package/dist/components/faq/index.cjs +14 -15
- package/dist/components/features/approval-level.d.ts +6 -12
- package/dist/components/features/approval-level.d.ts.map +1 -1
- package/dist/components/features/approval-level.js +45 -55
- package/dist/components/features/index.cjs +16 -16
- package/dist/components/features/notifications/approval-request-notification-tile.d.ts.map +1 -1
- package/dist/components/features/notifications/approval-request-notification-tile.js +71 -48
- package/dist/components/features/notifications/types.d.ts +2 -0
- package/dist/components/features/notifications/types.d.ts.map +1 -1
- package/dist/components/features/notifications/types.js +3 -1
- package/dist/components/features/policy-configuration-panel.d.ts.map +1 -1
- package/dist/components/features/policy-configuration-panel.js +75 -64
- package/dist/components/help-center-pages/index.cjs +78 -79
- package/dist/components/index.cjs +57 -59
- package/dist/components/meeting-scheduler/index.cjs +61 -61
- package/dist/components/navigation/index.cjs +15 -16
- package/dist/components/onboarding-guides/index.cjs +14 -15
- package/dist/components/product-demo/index.cjs +23 -24
- package/dist/components/tickets/index.cjs +17 -18
- package/dist/components/ui/file-manager/index.cjs +8 -9
- package/dist/components/ui/index.cjs +16 -18
- package/dist/components/ui/radio-group.d.ts.map +1 -1
- package/dist/components/ui/radio-group.js +8 -2
- package/dist/components/ui/tab-selector.d.ts +7 -1
- package/dist/components/ui/tab-selector.d.ts.map +1 -1
- package/dist/components/ui/tab-selector.js +22 -3
- package/dist/{devices-NGCTSXIU.cjs → devices-7PT6MPJI.cjs} +13 -14
- package/dist/{embeddable-chat-322NDFP5.cjs → embeddable-chat-5NY76K7K.cjs} +84 -85
- package/dist/index.cjs +23 -25
- package/dist/{knowledge-75PO5DYS.cjs → knowledge-J6N7IEVI.cjs} +13 -14
- package/dist/{logs-PZESOAIG.cjs → logs-D6KQP2BX.cjs} +19 -20
- package/dist/{policies-6XNMBFWO.cjs → policies-J7MCOL3C.cjs} +16 -17
- package/dist/{remote-session-Q2FIBCGT.cjs → remote-session-PXHA5KFK.cjs} +8 -9
- package/dist/{scripts-B3JW6TPF.cjs → scripts-VURXIHVS.cjs} +19 -20
- package/dist/{software-update-NWP542J7.cjs → software-update-6SHUBDIE.cjs} +16 -17
- package/dist/{tickets-board-7FLGQEHF.cjs → tickets-board-NLCN7WNX.cjs} +9 -9
- package/package.json +1 -1
- package/src/chat-protocol/events.ts +4 -1
- package/src/chat-protocol/nats-decoder.ts +4 -0
- package/src/chat-protocol/policy-review.ts +71 -0
- package/src/components/chat/approval-batch-message.tsx +47 -10
- package/src/components/chat/policy-review.tsx +90 -0
- package/src/components/chat/stream/message-mutations.ts +4 -0
- package/src/components/chat/tool-execution-display.tsx +23 -4
- package/src/components/chat/types/message.types.ts +42 -2
- package/src/components/chat/utils/extract-incomplete-message-state.ts +2 -0
- package/src/components/chat/utils/message-segment-accumulator.ts +3 -0
- package/src/components/chat/utils/process-historical-messages.ts +14 -3
- package/src/components/features/approval-level.tsx +74 -78
- package/src/components/features/notifications/approval-request-notification-tile.tsx +75 -50
- package/src/components/features/notifications/types.ts +4 -0
- package/src/components/features/policy-configuration-panel.tsx +100 -83
- package/src/components/ui/radio-group.tsx +20 -2
- package/src/components/ui/tab-selector.tsx +26 -3
- package/dist/chunk-N3MBQRCQ.cjs +0 -41
|
@@ -12,13 +12,14 @@ var _chunkIUDBG3HJcjs = require('./chunk-IUDBG3HJ.cjs');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var _chunk4YBS4HIOcjs = require('./chunk-4YBS4HIO.cjs');
|
|
16
15
|
|
|
16
|
+
var _chunkLM7EL3UQcjs = require('./chunk-LM7EL3UQ.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
|
|
22
|
+
var _chunkKXFIYO4Ocjs = require('./chunk-KXFIYO4O.cjs');
|
|
22
23
|
|
|
23
24
|
|
|
24
25
|
var _chunk4WI2CEC2cjs = require('./chunk-4WI2CEC2.cjs');
|
|
@@ -125,51 +126,6 @@ function DeletedUserAvatar({ size = "md", className, accessibleLabel }) {
|
|
|
125
126
|
);
|
|
126
127
|
}
|
|
127
128
|
|
|
128
|
-
// src/components/ui/touch-friendly-tooltip.tsx
|
|
129
|
-
var _react = require('react');
|
|
130
|
-
|
|
131
|
-
var dismissOpenTooltip = null;
|
|
132
|
-
function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
133
|
-
const [open, setOpen] = _react.useState.call(void 0, false);
|
|
134
|
-
const isTouchRef = _react.useRef.call(void 0, false);
|
|
135
|
-
const close = _react.useCallback.call(void 0, () => setOpen(false), []);
|
|
136
|
-
if (!content) return children;
|
|
137
|
-
const toggleFromTouch = () => {
|
|
138
|
-
setOpen((prev) => {
|
|
139
|
-
const next = !prev;
|
|
140
|
-
if (next) {
|
|
141
|
-
if (dismissOpenTooltip && dismissOpenTooltip !== close) dismissOpenTooltip();
|
|
142
|
-
dismissOpenTooltip = close;
|
|
143
|
-
} else if (dismissOpenTooltip === close) {
|
|
144
|
-
dismissOpenTooltip = null;
|
|
145
|
-
}
|
|
146
|
-
return next;
|
|
147
|
-
});
|
|
148
|
-
};
|
|
149
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYJZ7R3W5cjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYJZ7R3W5cjs.Tooltip, { open, onOpenChange: setOpen, children: [
|
|
150
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
151
|
-
_chunkYJZ7R3W5cjs.TooltipTrigger,
|
|
152
|
-
{
|
|
153
|
-
asChild: true,
|
|
154
|
-
onPointerDown: (e) => {
|
|
155
|
-
isTouchRef.current = e.pointerType === "touch";
|
|
156
|
-
if (!isTouchRef.current) return;
|
|
157
|
-
e.preventDefault();
|
|
158
|
-
toggleFromTouch();
|
|
159
|
-
},
|
|
160
|
-
onFocus: (e) => {
|
|
161
|
-
if (isTouchRef.current) e.preventDefault();
|
|
162
|
-
},
|
|
163
|
-
onClick: (e) => {
|
|
164
|
-
if (isTouchRef.current) e.preventDefault();
|
|
165
|
-
},
|
|
166
|
-
children
|
|
167
|
-
}
|
|
168
|
-
),
|
|
169
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYJZ7R3W5cjs.TooltipContent, { side, className: "max-w-xs", children: content })
|
|
170
|
-
] }) });
|
|
171
|
-
}
|
|
172
|
-
|
|
173
129
|
// src/components/features/board/board-column-header.tsx
|
|
174
130
|
|
|
175
131
|
function BoardColumnHeader({
|
|
@@ -181,7 +137,7 @@ function BoardColumnHeader({
|
|
|
181
137
|
}) {
|
|
182
138
|
const count = _nullishCoalesce(column.total, () => ( column.tickets.length));
|
|
183
139
|
const tagStatus = _nullishCoalesce(column.statusKey, () => ( column.id));
|
|
184
|
-
const useStatusVariant =
|
|
140
|
+
const useStatusVariant = _chunkLM7EL3UQcjs.resolveTicketStatus.call(void 0, tagStatus) !== null;
|
|
185
141
|
const actionClass = "h-8 w-8 p-0 content-md:h-8 content-md:w-8";
|
|
186
142
|
if (collapsed) {
|
|
187
143
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
@@ -197,7 +153,7 @@ function BoardColumnHeader({
|
|
|
197
153
|
}
|
|
198
154
|
),
|
|
199
155
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
200
|
-
|
|
156
|
+
_chunkLM7EL3UQcjs.TicketStatusTag,
|
|
201
157
|
{
|
|
202
158
|
status: tagStatus,
|
|
203
159
|
label: column.label,
|
|
@@ -210,11 +166,11 @@ function BoardColumnHeader({
|
|
|
210
166
|
}
|
|
211
167
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
212
168
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
213
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
169
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLM7EL3UQcjs.TicketStatusTag, { status: tagStatus, label: column.label, color: useStatusVariant ? void 0 : column.color }),
|
|
214
170
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h5", style: useStatusVariant ? void 0 : { color: column.color }, children: count })
|
|
215
171
|
] }),
|
|
216
172
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
217
|
-
column.tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TouchFriendlyTooltip, { content: column.tooltip, side: "bottom", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { variant: "transparent", size: "icon", className: actionClass, "aria-label": column.tooltip, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRHC2FRVEcjs.InfoCircleIcon, { className: "h-6 w-6 text-ods-text-secondary" }) }) }),
|
|
173
|
+
column.tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLM7EL3UQcjs.TouchFriendlyTooltip, { content: column.tooltip, side: "bottom", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { variant: "transparent", size: "icon", className: actionClass, "aria-label": column.tooltip, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRHC2FRVEcjs.InfoCircleIcon, { className: "h-6 w-6 text-ods-text-secondary" }) }) }),
|
|
218
174
|
onToggleCollapse && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
219
175
|
_chunkFCZAUK4Dcjs.Button,
|
|
220
176
|
{
|
|
@@ -264,11 +220,11 @@ function tintOnDark(hex) {
|
|
|
264
220
|
}
|
|
265
221
|
|
|
266
222
|
// src/components/features/board/board-ticket-approval.tsx
|
|
267
|
-
|
|
223
|
+
var _react = require('react');
|
|
268
224
|
|
|
269
225
|
function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
270
226
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
271
|
-
const { innerRef, containerStyle } =
|
|
227
|
+
const { innerRef, containerStyle } = _chunkLM7EL3UQcjs.useCollapsible.call(void 0, { expanded });
|
|
272
228
|
const isAdmin = pendingApproval.approvalType === "ADMIN";
|
|
273
229
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex flex-col", children: [
|
|
274
230
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFCZAUK4Dcjs.Button, { variant: "row", type: "button", onClick: () => setExpanded((v) => !v), "aria-expanded": expanded, children: [
|
|
@@ -288,7 +244,7 @@ function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
|
288
244
|
expanded ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3MRRIHC2cjs.Chevron02UpIcon, { className: "size-4 shrink-0 text-ods-text-secondary" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSKI6NKOEcjs.Chevron02DownIcon, { className: "size-4 shrink-0 text-ods-text-secondary" })
|
|
289
245
|
] }),
|
|
290
246
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: containerStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: innerRef, className: "pt-[var(--spacing-system-xs)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
291
|
-
|
|
247
|
+
_chunkLM7EL3UQcjs.ApprovalBatchMessage,
|
|
292
248
|
{
|
|
293
249
|
className: "mb-0",
|
|
294
250
|
data: {
|
|
@@ -481,7 +437,7 @@ function TicketCardBody({
|
|
|
481
437
|
role: "img",
|
|
482
438
|
"aria-label": `Owned by ${ticket.agent === "fae" ? "Fae" : "Mingo"}`,
|
|
483
439
|
className: "flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-full border border-ods-border bg-ods-bg",
|
|
484
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
440
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLM7EL3UQcjs.AgentMark, { agent: ticket.agent, className: ticket.agent === "fae" ? "size-full" : "size-5" })
|
|
485
441
|
}
|
|
486
442
|
),
|
|
487
443
|
renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _18 => _18.assignees, 'optionalAccess', _19 => _19.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
|
|
@@ -511,8 +467,8 @@ function TicketCardBody({
|
|
|
511
467
|
] })
|
|
512
468
|
] }) : null
|
|
513
469
|
] }) : null;
|
|
514
|
-
const timestampLabel = ticket.createdAt ?
|
|
515
|
-
const tooltipLabel = ticket.createdAt ?
|
|
470
|
+
const timestampLabel = ticket.createdAt ? _chunkLM7EL3UQcjs.formatTicketRelativeTime.call(void 0, ticket.createdAt) : null;
|
|
471
|
+
const tooltipLabel = ticket.createdAt ? _chunkLM7EL3UQcjs.formatTicketFullTimestamp.call(void 0, ticket.createdAt) : null;
|
|
516
472
|
const metaLabel = [ticket.ticketNumber || null, timestampLabel].filter(Boolean).join(" \u2022 ");
|
|
517
473
|
const meta = href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
518
474
|
_chunkV45KLJQPcjs.next_link_default,
|
|
@@ -538,9 +494,9 @@ function TicketCardBody({
|
|
|
538
494
|
rightSection
|
|
539
495
|
] }),
|
|
540
496
|
_optionalChain([ticket, 'access', _20 => _20.tags, 'optionalAccess', _21 => _21.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
|
|
541
|
-
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
542
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
543
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
497
|
+
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKXFIYO4Ocjs.TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkKXFIYO4Ocjs.Tooltip, { children: [
|
|
498
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKXFIYO4Ocjs.TooltipTrigger, { asChild: true, children: meta }),
|
|
499
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKXFIYO4Ocjs.TooltipContent, { children: tooltipLabel })
|
|
544
500
|
] }) }) : meta),
|
|
545
501
|
ticket.escalatedByUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xxs)] text-ods-open-yellow text-h6", children: [
|
|
546
502
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4MGDY2AAcjs.UserCheckIcon, { className: "size-4 shrink-0" }),
|
|
@@ -1654,5 +1610,4 @@ function DragBoard({
|
|
|
1654
1610
|
|
|
1655
1611
|
|
|
1656
1612
|
|
|
1657
|
-
|
|
1658
|
-
exports.DeletedUserAvatar = DeletedUserAvatar; exports.TouchFriendlyTooltip = TouchFriendlyTooltip; exports.autoScrollBothWays = autoScrollBothWays; exports.autoScrollAncestors = autoScrollAncestors; exports.BoardColumnHeader = BoardColumnHeader; exports.tintOnDark = tintOnDark; exports.holdMoveDragEffect = holdMoveDragEffect; exports.BoardTicketApproval = BoardTicketApproval; exports.TicketCardBody = TicketCardBody; exports.TicketCardView = TicketCardView; exports.TicketCard = TicketCard; exports.BOARD_COLUMN_PAGE_SIZE = BOARD_COLUMN_PAGE_SIZE; exports.columnFromTicketStatus = columnFromTicketStatus; exports.groupTicketsByStatus = groupTicketsByStatus; exports.BoardColumn = BoardColumn; exports.useBoardCollapse = useBoardCollapse; exports.Board = Board;
|
|
1613
|
+
exports.DeletedUserAvatar = DeletedUserAvatar; exports.autoScrollBothWays = autoScrollBothWays; exports.autoScrollAncestors = autoScrollAncestors; exports.BoardColumnHeader = BoardColumnHeader; exports.tintOnDark = tintOnDark; exports.holdMoveDragEffect = holdMoveDragEffect; exports.BoardTicketApproval = BoardTicketApproval; exports.TicketCardBody = TicketCardBody; exports.TicketCardView = TicketCardView; exports.TicketCard = TicketCard; exports.BOARD_COLUMN_PAGE_SIZE = BOARD_COLUMN_PAGE_SIZE; exports.columnFromTicketStatus = columnFromTicketStatus; exports.groupTicketsByStatus = groupTicketsByStatus; exports.BoardColumn = BoardColumn; exports.useBoardCollapse = useBoardCollapse; exports.Board = Board;
|
|
@@ -3,26 +3,26 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk2NGW73T2cjs = require('./chunk-2NGW73T2.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkKRTTH3ETcjs = require('./chunk-KRTTH3ET.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkPJNEBSP5cjs = require('./chunk-PJNEBSP5.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkZEPEFKHAcjs = require('./chunk-ZEPEFKHA.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkU4RTWH5Dcjs = require('./chunk-U4RTWH5D.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
@@ -30,7 +30,7 @@ var _chunkCAGNWDVJcjs = require('./chunk-CAGNWDVJ.cjs');
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
var
|
|
33
|
+
var _chunkB6D4WWKDcjs = require('./chunk-B6D4WWKD.cjs');
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
|
|
@@ -328,13 +328,13 @@ function toDocContent(value, requestedPath) {
|
|
|
328
328
|
function toDataSync(value) {
|
|
329
329
|
if (!isRecord(value)) return void 0;
|
|
330
330
|
const source = readString(value, "source");
|
|
331
|
-
if (!
|
|
331
|
+
if (!_chunkZEPEFKHAcjs.isDataSyncSource.call(void 0, source)) return void 0;
|
|
332
332
|
return { source, syncedAt: _nullishCoalesce(readString(value, "syncedAt"), () => ( null)) };
|
|
333
333
|
}
|
|
334
334
|
function useDocumentTree(config, initialPath) {
|
|
335
335
|
const { structureEndpoint, contentEndpoint, baseRoute } = config;
|
|
336
|
-
const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => (
|
|
337
|
-
const cleanInitialPath =
|
|
336
|
+
const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunkB6D4WWKDcjs.DEFAULT_FOLDER_INDEX_FILE));
|
|
337
|
+
const cleanInitialPath = _chunkB6D4WWKDcjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _3 => _3.replace, 'call', _4 => _4(/\/$/, "")]) || "", folderIndexFile);
|
|
338
338
|
const [structure, setStructure] = _react.useState.call(void 0, []);
|
|
339
339
|
const structureRef = _react.useRef.call(void 0, structure);
|
|
340
340
|
_react.useEffect.call(void 0, () => {
|
|
@@ -364,12 +364,12 @@ function useDocumentTree(config, initialPath) {
|
|
|
364
364
|
} else if (pathname.startsWith(`${normalizedBaseRoute}/`)) {
|
|
365
365
|
pathFromUrl = pathname.substring(`${normalizedBaseRoute}/`.length);
|
|
366
366
|
}
|
|
367
|
-
pathFromUrl =
|
|
367
|
+
pathFromUrl = _chunkB6D4WWKDcjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
|
|
368
368
|
if (pathFromUrl !== selectedPathRef.current) {
|
|
369
369
|
setSelectedPath(pathFromUrl);
|
|
370
370
|
if (pathFromUrl) {
|
|
371
371
|
const parentPath = pathFromUrl.includes("/") ? pathFromUrl.substring(0, pathFromUrl.lastIndexOf("/")) : pathFromUrl;
|
|
372
|
-
setExpandedNodes(new Set(
|
|
372
|
+
setExpandedNodes(new Set(_chunkB6D4WWKDcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
|
|
373
373
|
}
|
|
374
374
|
setTimeout(() => {
|
|
375
375
|
scrollToContent();
|
|
@@ -387,7 +387,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
387
387
|
setSelectedPath(cleanInitialPath);
|
|
388
388
|
if (cleanInitialPath) {
|
|
389
389
|
const parentPath = cleanInitialPath.includes("/") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
|
|
390
|
-
setExpandedNodes(new Set(
|
|
390
|
+
setExpandedNodes(new Set(_chunkB6D4WWKDcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
|
|
391
391
|
}
|
|
392
392
|
setExternalNavCount((n) => n + 1);
|
|
393
393
|
}
|
|
@@ -412,7 +412,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
412
412
|
if (cleanInitialPath) {
|
|
413
413
|
const pathForExpansion = cleanInitialPath.includes(".") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
|
|
414
414
|
if (pathForExpansion) {
|
|
415
|
-
setExpandedNodes(new Set(
|
|
415
|
+
setExpandedNodes(new Set(_chunkB6D4WWKDcjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
|
|
416
416
|
}
|
|
417
417
|
} else if (nodes.length > 0) {
|
|
418
418
|
const hasRootReadme = nodes.some((node) => node.type === "file" && node.path === folderIndexFile);
|
|
@@ -453,7 +453,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
453
453
|
return;
|
|
454
454
|
}
|
|
455
455
|
const latestStructure = structureRef.current;
|
|
456
|
-
const probe =
|
|
456
|
+
const probe = _chunkB6D4WWKDcjs.findDocNodeByPath.call(void 0, _chunkB6D4WWKDcjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), latestStructure);
|
|
457
457
|
const probeIsNoReadmeFolder = !!probe && probe.type === "folder" && !probe.hasReadme;
|
|
458
458
|
const preStructureFolderLike = latestStructure.length === 0 && !path.endsWith(".md");
|
|
459
459
|
if (probeIsNoReadmeFolder || preStructureFolderLike) {
|
|
@@ -510,16 +510,16 @@ function useDocumentTree(config, initialPath) {
|
|
|
510
510
|
if (!structure || structure.length === 0) return;
|
|
511
511
|
let pathToFetch = null;
|
|
512
512
|
if (selectedPath === "") {
|
|
513
|
-
const rootPath =
|
|
513
|
+
const rootPath = _chunkB6D4WWKDcjs.rootDocumentPath.call(void 0, structure, folderIndexFile);
|
|
514
514
|
if (!rootPath) {
|
|
515
515
|
lastFetchedPath.current = null;
|
|
516
516
|
return;
|
|
517
517
|
}
|
|
518
518
|
pathToFetch = rootPath;
|
|
519
519
|
} else {
|
|
520
|
-
const node =
|
|
520
|
+
const node = _chunkB6D4WWKDcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
|
|
521
521
|
if (node && node.type === "folder" && !node.hasReadme) {
|
|
522
|
-
const firstDocPath =
|
|
522
|
+
const firstDocPath = _chunkB6D4WWKDcjs.findFirstDocPath.call(void 0, node);
|
|
523
523
|
if (!firstDocPath) {
|
|
524
524
|
lastFetchedPath.current = null;
|
|
525
525
|
return;
|
|
@@ -558,16 +558,16 @@ function useDocumentTree(config, initialPath) {
|
|
|
558
558
|
if (node.type === "folder") {
|
|
559
559
|
setExpandedNodes((prev) => {
|
|
560
560
|
if (prev.has(node.id)) {
|
|
561
|
-
const ancestorIds =
|
|
561
|
+
const ancestorIds = _chunkB6D4WWKDcjs.getDocAncestorNodeIds.call(void 0, node.path);
|
|
562
562
|
ancestorIds.pop();
|
|
563
563
|
return new Set(ancestorIds);
|
|
564
564
|
}
|
|
565
|
-
return new Set(
|
|
565
|
+
return new Set(_chunkB6D4WWKDcjs.getDocAncestorNodeIds.call(void 0, node.path));
|
|
566
566
|
});
|
|
567
567
|
} else {
|
|
568
568
|
const lastSlash = node.path.lastIndexOf("/");
|
|
569
569
|
if (lastSlash > 0) {
|
|
570
|
-
setExpandedNodes(new Set(
|
|
570
|
+
setExpandedNodes(new Set(_chunkB6D4WWKDcjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
|
|
571
571
|
}
|
|
572
572
|
}
|
|
573
573
|
lastFetchedPath.current = null;
|
|
@@ -582,7 +582,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
582
582
|
const hashIndex = path.indexOf("#");
|
|
583
583
|
const anchor = hashIndex !== -1 ? path.substring(hashIndex) : "";
|
|
584
584
|
const cleanPath = path.replace(/\/$/, "").split("#")[0];
|
|
585
|
-
const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _5 => _5.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current :
|
|
585
|
+
const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _5 => _5.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunkB6D4WWKDcjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
|
|
586
586
|
if (anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && pathForSelection === selectedPathRef.current) {
|
|
587
587
|
_chunkGRCOEICKcjs.navigateSamePageHash.call(void 0, anchor, { headerOffset: _chunkGRCOEICKcjs.HUB_HEADER_OFFSET_PX });
|
|
588
588
|
return;
|
|
@@ -646,17 +646,17 @@ function useDocumentTree(config, initialPath) {
|
|
|
646
646
|
return docNavigation.register({
|
|
647
647
|
baseRoute: normalizedBaseRoute,
|
|
648
648
|
findNodeByPath: (path) => {
|
|
649
|
-
const clean =
|
|
650
|
-
return _nullishCoalesce(
|
|
649
|
+
const clean = _chunkB6D4WWKDcjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
|
|
650
|
+
return _nullishCoalesce(_chunkB6D4WWKDcjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
|
|
651
651
|
},
|
|
652
652
|
selectNode
|
|
653
653
|
});
|
|
654
654
|
}, [docNavigation, normalizedBaseRoute, structure, selectNode, folderIndexFile]);
|
|
655
655
|
const isEmptyFolder = _react.useMemo.call(void 0, () => {
|
|
656
656
|
if (structure.length === 0) return false;
|
|
657
|
-
if (!selectedPath) return !
|
|
658
|
-
const node =
|
|
659
|
-
return !!node && node.type === "folder" && !node.hasReadme && !
|
|
657
|
+
if (!selectedPath) return !_chunkB6D4WWKDcjs.rootDocumentPath.call(void 0, structure, folderIndexFile);
|
|
658
|
+
const node = _chunkB6D4WWKDcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
|
|
659
|
+
return !!node && node.type === "folder" && !node.hasReadme && !_chunkB6D4WWKDcjs.findFirstDocPath.call(void 0, node);
|
|
660
660
|
}, [selectedPath, structure, folderIndexFile]);
|
|
661
661
|
const isEmptySource = !isLoadingStructure && structure.length === 0;
|
|
662
662
|
const settled = isEmptyFolder || isEmptySource;
|
|
@@ -742,14 +742,14 @@ function DocViewerContent({
|
|
|
742
742
|
},
|
|
743
743
|
docPath
|
|
744
744
|
);
|
|
745
|
-
const { activeSection, handleSectionClick } =
|
|
745
|
+
const { activeSection, handleSectionClick } = _chunkKRTTH3ETcjs.useScrollSpy.call(void 0, _optionalChain([content, 'optionalAccess', _10 => _10.sections]));
|
|
746
746
|
const docNav = useDocNavigation();
|
|
747
747
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
748
748
|
const backCfg = backButton === false ? null : {
|
|
749
749
|
label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _11 => _11.label]), () => ( "Back to home")),
|
|
750
750
|
onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _12 => _12.href]), () => ( "/")))
|
|
751
751
|
};
|
|
752
|
-
const docSearch =
|
|
752
|
+
const docSearch = _chunkPJNEBSP5cjs.useDocSearch.call(void 0, {
|
|
753
753
|
source: chatSource,
|
|
754
754
|
baseRoute,
|
|
755
755
|
searchEndpoint,
|
|
@@ -773,8 +773,8 @@ function DocViewerContent({
|
|
|
773
773
|
onResolveLink: resolveLink
|
|
774
774
|
});
|
|
775
775
|
}, [content, renderContent, navigateToDoc, sourceId, resolveLink]);
|
|
776
|
-
const selectedNodePath = structure.length > 0 && !selectedPath ?
|
|
777
|
-
const selectedNodeDocType = structure.length > 0 ? selectedNodePath ? _optionalChain([
|
|
776
|
+
const selectedNodePath = structure.length > 0 && !selectedPath ? _chunkB6D4WWKDcjs.rootDocumentPath.call(void 0, structure, folderIndexFile) : selectedPath;
|
|
777
|
+
const selectedNodeDocType = structure.length > 0 ? selectedNodePath ? _optionalChain([_chunkB6D4WWKDcjs.findDocNodeByPath.call(void 0, selectedNodePath, structure), 'optionalAccess', _13 => _13.documentType]) : void 0 : initialDocumentType;
|
|
778
778
|
const isLoadingDocument = isLoadingContent || isLoadingStructure;
|
|
779
779
|
const loadingContent = isLoadingDocument ? renderContent(
|
|
780
780
|
{ content: "", sections: [], path: _nullishCoalesce(selectedPath, () => ( "")), documentType: selectedNodeDocType },
|
|
@@ -789,10 +789,10 @@ function DocViewerContent({
|
|
|
789
789
|
const bgClass = !isColorValue ? colorPalette.background : "";
|
|
790
790
|
const containerBgStyle = colorPalette.containerBackground !== "transparent" ? { backgroundColor: colorPalette.containerBackground } : {};
|
|
791
791
|
const resolvedEmptyText = structure.length > 0 ? "Select a document from the sidebar to view" : emptyStateText || "No documents yet.";
|
|
792
|
-
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
793
|
-
synced && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
792
|
+
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU4RTWH5Dcjs.PageLayout, { title, subtitle, titleSize: "h1", titleWrap: true, backButton: _nullishCoalesce(backCfg, () => ( void 0)), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-10", children: [
|
|
793
|
+
synced && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZEPEFKHAcjs.DataSyncLine, { sync: _optionalChain([content, 'optionalAccess', _18 => _18.sync]), loading: !content && (isLoadingContent || isLoadingStructure) }),
|
|
794
794
|
showAIChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
795
|
-
|
|
795
|
+
_chunkPJNEBSP5cjs.DocSearchBar,
|
|
796
796
|
{
|
|
797
797
|
placeholder: `Search ${_optionalChain([sidebarLabel, 'optionalAccess', _19 => _19.toLowerCase, 'call', _20 => _20()]) || "documents"}...`,
|
|
798
798
|
query: docSearch.query,
|
|
@@ -813,7 +813,7 @@ function DocViewerContent({
|
|
|
813
813
|
!error && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col items-start gap-6 content-lg:flex-row content-lg:gap-10", children: [
|
|
814
814
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full content-lg:w-[320px] content-lg:shrink-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "content-lg:sticky content-lg:top-20", children: [
|
|
815
815
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PersistentMobileDropdown, { isLoading: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
816
|
-
|
|
816
|
+
_chunkKRTTH3ETcjs.MobileNavigationDropdown,
|
|
817
817
|
{
|
|
818
818
|
nodes: structure,
|
|
819
819
|
selectedPath,
|
|
@@ -827,7 +827,7 @@ function DocViewerContent({
|
|
|
827
827
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PersistentSidebar, { isLoading: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden content-lg:block", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
828
828
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children: sidebarLabel }),
|
|
829
829
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
830
|
-
|
|
830
|
+
_chunkKRTTH3ETcjs.MultiLevelNavigation,
|
|
831
831
|
{
|
|
832
832
|
nodes: structure,
|
|
833
833
|
selectedPath,
|
|
@@ -859,7 +859,7 @@ function DocViewerContent({
|
|
|
859
859
|
isMarkdownContent && isLoadingDocument && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden content-lg:block", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "sticky top-24", children: [
|
|
860
860
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: ON_THIS_PAGE_HEADING_CLASS, children: ON_THIS_PAGE_LABEL }),
|
|
861
861
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingScope, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
862
|
-
|
|
862
|
+
_chunkKRTTH3ETcjs.StickySectionNav,
|
|
863
863
|
{
|
|
864
864
|
sections: [],
|
|
865
865
|
activeSection: "",
|
|
@@ -872,7 +872,7 @@ function DocViewerContent({
|
|
|
872
872
|
showStickyNav && content && stickyNavSections.length > 0 && !isLoadingContent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden content-lg:block", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "sticky top-24", children: [
|
|
873
873
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: ON_THIS_PAGE_HEADING_CLASS, children: ON_THIS_PAGE_LABEL }),
|
|
874
874
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
875
|
-
|
|
875
|
+
_chunkKRTTH3ETcjs.StickySectionNav,
|
|
876
876
|
{
|
|
877
877
|
sections: stickyNavSections,
|
|
878
878
|
activeSection,
|
|
@@ -887,18 +887,18 @@ function DocViewerContent({
|
|
|
887
887
|
) })
|
|
888
888
|
] })
|
|
889
889
|
] }) }) });
|
|
890
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
890
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZEPEFKHAcjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
|
|
891
891
|
}
|
|
892
892
|
|
|
893
893
|
// src/components/docs/docs-hub-page.tsx
|
|
894
894
|
|
|
895
895
|
var DEFAULT_TITLE = "Documents";
|
|
896
896
|
var defaultFallbackRenderer = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "py-16 text-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary", children: "Unsupported document type" }) });
|
|
897
|
-
var defaultPdfRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
898
|
-
var defaultGoogleSheetRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
899
|
-
var defaultFigmaRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
897
|
+
var defaultPdfRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NGW73T2cjs.PdfViewer, { src: _nullishCoalesce(content.fileUrl, () => ( "")), fileName: content.fileName });
|
|
898
|
+
var defaultGoogleSheetRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NGW73T2cjs.GoogleSheetsViewer, { externalUrl: _nullishCoalesce(content.externalUrl, () => ( "")), fileName: content.fileName });
|
|
899
|
+
var defaultFigmaRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZEPEFKHAcjs.FigmaEmbed, { url: _nullishCoalesce(content.externalUrl, () => ( "")), title: content.fileName, iframeLoading: "eager" });
|
|
900
900
|
var defaultFileRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
901
|
-
|
|
901
|
+
_chunk2NGW73T2cjs.FileDownloadCard,
|
|
902
902
|
{
|
|
903
903
|
fileName: content.fileName,
|
|
904
904
|
mimeType: content.mimeType,
|