@flamingo-stack/openframe-frontend-core 0.0.823 → 0.0.824
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/{chunk-GP2Y3DBE.cjs → chunk-2IHGR57J.cjs} +6 -6
- package/dist/{chunk-QCRJVO6Y.cjs → chunk-2IWAHBCC.cjs} +1 -1
- package/dist/{chunk-U7CH53FT.cjs → chunk-2M4E2V25.cjs} +13 -13
- package/dist/{chunk-YMDSCI4E.cjs → chunk-5N26M6CK.cjs} +32 -32
- package/dist/{chunk-DEWT25QK.cjs → chunk-A3SR6HHX.cjs} +65 -72
- package/dist/{chunk-2U6MAM6D.cjs → chunk-B2VRNRTY.cjs} +63 -63
- package/dist/{chunk-XEIZL3I3.cjs → chunk-B7NSH7IK.cjs} +6 -6
- package/dist/{chunk-K7NGDYBG.cjs → chunk-C3RAE7RO.cjs} +136 -136
- package/dist/{chunk-Y7BTM2NC.cjs → chunk-EZTCN43H.cjs} +39 -39
- package/dist/{chunk-3JCDSZ6D.cjs → chunk-GXBIYPDM.cjs} +4 -4
- package/dist/{chunk-HWXFUI3R.cjs → chunk-HDOU3AXV.cjs} +30 -30
- package/dist/{chunk-KWS7YKCO.cjs → chunk-J5U3XHFJ.cjs} +13 -13
- package/dist/{chunk-TJFVIJPV.cjs → chunk-M7EBCYKN.cjs} +2 -2
- package/dist/{chunk-Y3MPERIZ.cjs → chunk-MROW2JWE.cjs} +3 -3
- package/dist/{chunk-GBILLSRM.cjs → chunk-QOOMUGF2.cjs} +4 -4
- package/dist/{chunk-AK7MYM25.cjs → chunk-SOSVC6HB.cjs} +3 -3
- package/dist/{chunk-2LT2WR4O.cjs → chunk-TQ7TUEK2.cjs} +37 -37
- package/dist/{chunk-DYSMAPSI.cjs → chunk-TTMTNG3U.cjs} +4 -4
- package/dist/{chunk-L7YE6APP.cjs → chunk-WMTV6M5B.cjs} +11 -11
- package/dist/{chunk-UUFL4FDS.cjs → chunk-WSBAIZXL.cjs} +14 -14
- package/dist/{chunk-SBXL5EKE.cjs → chunk-XUMZMIHR.cjs} +23 -23
- package/dist/{chunk-2YUWBIZM.cjs → chunk-Z7BLMJEI.cjs} +46 -46
- package/dist/{cloud-tenants-VQQ2KNJI.cjs → cloud-tenants-VYXMNISG.cjs} +6 -6
- package/dist/components/case-studies/index.cjs +20 -20
- package/dist/components/chat/embeddable-chat.d.ts +0 -2
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.js +1 -2
- package/dist/components/chat/entity-cards/blog-card.js +1 -1
- package/dist/components/chat/index.cjs +5 -5
- package/dist/components/chat/mingo-welcome.js +1 -1
- package/dist/components/contact/index.cjs +7 -7
- package/dist/components/docs/index.cjs +10 -10
- package/dist/components/embeds/index.cjs +7 -7
- package/dist/components/faq/index.cjs +8 -8
- package/dist/components/features/filters-dropdown.js +2 -2
- package/dist/components/features/index.cjs +6 -6
- package/dist/components/features/notifications/approval-request-notification-tile.js +1 -1
- package/dist/components/help-center-pages/index.cjs +80 -80
- package/dist/components/index.cjs +48 -48
- package/dist/components/loading/index.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +31 -31
- package/dist/components/navigation/index.cjs +9 -9
- package/dist/components/onboarding-guides/index.cjs +9 -9
- package/dist/components/product-demo/index.cjs +15 -15
- package/dist/components/related-content/index.cjs +4 -4
- package/dist/components/shared/article-author-byline.js +4 -4
- package/dist/components/tickets/index.cjs +11 -11
- package/dist/components/tickets/ticket-row.js +10 -17
- package/dist/components/ui/date-picker.js +1 -1
- package/dist/components/ui/index.cjs +6 -6
- package/dist/components/ui/markdown/base-components.js +1 -1
- package/dist/components/ui/markdown/engine.js +2 -2
- package/dist/components/ui/navigation-menu.js +1 -1
- package/dist/components/ui/radio-group.d.ts.map +1 -1
- package/dist/components/ui/radio-group.js +1 -1
- package/dist/components/ui/sticky-action-bar.js +1 -1
- package/dist/{devices-KKJHYQ72.cjs → devices-NTYNZEGJ.cjs} +7 -7
- package/dist/{embeddable-chat-MQGYFYGX.cjs → embeddable-chat-JAUO4O2T.cjs} +68 -69
- package/dist/index.cjs +10 -10
- package/dist/{knowledge-VMLXNFDI.cjs → knowledge-I2LW27EP.cjs} +7 -7
- package/dist/loading-standard/engine.d.mts.map +1 -1
- package/dist/{logs-EFXRQ6LV.cjs → logs-KLZHXSOU.cjs} +14 -14
- package/dist/{policies-SU3NQPFV.cjs → policies-SMDAHDKL.cjs} +10 -10
- package/dist/{scripts-WLLAUOAA.cjs → scripts-OMBBPNTU.cjs} +11 -11
- package/dist/{software-update-WKUDBC3U.cjs → software-update-ZIJYNJIC.cjs} +9 -9
- package/eslint-config/README.md +21 -0
- package/eslint-config/base.js +12 -0
- package/eslint-config/dead-classes.js +256 -0
- package/package.json +2 -1
- package/src/components/chat/embeddable-chat.tsx +2 -7
- package/src/components/chat/entity-cards/blog-card.tsx +1 -1
- package/src/components/chat/mingo-welcome.tsx +1 -1
- package/src/components/features/filters-dropdown.tsx +2 -2
- package/src/components/features/notifications/approval-request-notification-tile.tsx +1 -1
- package/src/components/loading/index.ts +0 -5
- package/src/components/shared/article-author-byline.tsx +4 -4
- package/src/components/tickets/ticket-row.tsx +1 -4
- package/src/components/ui/date-picker.tsx +1 -1
- package/src/components/ui/markdown/base-components.tsx +1 -1
- package/src/components/ui/markdown/engine.tsx +4 -4
- package/src/components/ui/navigation-menu.tsx +1 -1
- package/src/components/ui/radio-group.tsx +1 -2
- package/src/components/ui/sticky-action-bar.tsx +1 -1
- package/src/loading-standard/engine.mjs +1 -2
- package/dist/components/loading/openmsp-heartbeat.d.ts +0 -7
- package/dist/components/loading/openmsp-heartbeat.d.ts.map +0 -1
- package/dist/components/loading/openmsp-heartbeat.js +0 -68
- package/src/components/loading/openmsp-heartbeat.tsx +0 -69
|
@@ -5,7 +5,7 @@ var _chunkSBFBNOKUcjs = require('./chunk-SBFBNOKU.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunk2M4E2V25cjs = require('./chunk-2M4E2V25.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -15,7 +15,7 @@ var _chunkHEVW75L3cjs = require('./chunk-HEVW75L3.cjs');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkC3RAE7ROcjs = require('./chunk-C3RAE7RO.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
var _chunkIJCSQFLDcjs = require('./chunk-IJCSQFLD.cjs');
|
|
@@ -26,11 +26,11 @@ var _chunkIJCSQFLDcjs = require('./chunk-IJCSQFLD.cjs');
|
|
|
26
26
|
var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunkXUMZMIHRcjs = require('./chunk-XUMZMIHR.cjs');
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
var
|
|
33
|
+
var _chunk2IWAHBCCcjs = require('./chunk-2IWAHBCC.cjs');
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
var _chunkUEULXVW2cjs = require('./chunk-UEULXVW2.cjs');
|
|
@@ -105,7 +105,7 @@ function PageDataSyncProvider({
|
|
|
105
105
|
function PageDataSyncRow({ inline = false }) {
|
|
106
106
|
const context = _react.useContext.call(void 0, PageDataSyncContext);
|
|
107
107
|
if (!context) return null;
|
|
108
|
-
const line = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
108
|
+
const line = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC3RAE7ROcjs.DataSyncLine, { sync: context.state.sync, loading: context.state.loading, stated: context.stated, inline });
|
|
109
109
|
return context.stated ? line : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "contents", "data-loading-optional": "", children: line });
|
|
110
110
|
}
|
|
111
111
|
function usePageDataSync(sync, loading) {
|
|
@@ -124,7 +124,7 @@ function usePageDataSync(sync, loading) {
|
|
|
124
124
|
// src/components/shared/dev-section/dev-section-view.tsx
|
|
125
125
|
|
|
126
126
|
function DevSectionView({ sectionKey, preControls, children, showHeading = true }) {
|
|
127
|
-
const section =
|
|
127
|
+
const section = _chunkXUMZMIHRcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
128
128
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
129
129
|
const pathname = _chunk7DNL734Scjs.usePathname.call(void 0, );
|
|
130
130
|
const searchParams = _chunk7DNL734Scjs.useSearchParams.call(void 0, );
|
|
@@ -162,11 +162,11 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
|
|
|
162
162
|
router.replace(`${pathname}?${params.toString()}`, { scroll: false });
|
|
163
163
|
};
|
|
164
164
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageDataSyncProvider, { stated: section.mirrored, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-10", children: [
|
|
165
|
-
showHeading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
165
|
+
showHeading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IWAHBCCcjs.SectionHeading, { title: section.hero.title, punctuation: ":", action: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageDataSyncRow, { inline: true }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageDataSyncRow, {}),
|
|
166
166
|
preControls,
|
|
167
167
|
(search || filter) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
168
168
|
search && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
169
|
-
|
|
169
|
+
_chunkC3RAE7ROcjs.SearchInput,
|
|
170
170
|
{
|
|
171
171
|
showDropdown: false,
|
|
172
172
|
placeholder: search.placeholder,
|
|
@@ -176,7 +176,7 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
|
|
|
176
176
|
}
|
|
177
177
|
),
|
|
178
178
|
filter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
179
|
-
|
|
179
|
+
_chunkC3RAE7ROcjs.StatusFilterComponent,
|
|
180
180
|
{
|
|
181
181
|
selectedStatus: currentFilterValue,
|
|
182
182
|
onStatusChange: handleFilterChange,
|
|
@@ -201,7 +201,7 @@ function DevSectionPage({
|
|
|
201
201
|
shell = true
|
|
202
202
|
}) {
|
|
203
203
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
204
|
-
const section =
|
|
204
|
+
const section = _chunkXUMZMIHRcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
205
205
|
const backCfg = backButton === false ? void 0 : {
|
|
206
206
|
label: _nullishCoalesce((backButton ? backButton.label : void 0), () => ( "Back to home")),
|
|
207
207
|
onClick: () => router.push(_nullishCoalesce((backButton ? backButton.href : void 0), () => ( "/")))
|
|
@@ -223,12 +223,12 @@ function DevSectionPage({
|
|
|
223
223
|
backButton: backCfg,
|
|
224
224
|
children: [
|
|
225
225
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DevSectionView, { sectionKey, showHeading: false, preControls, children }),
|
|
226
|
-
faq && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
226
|
+
faq && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2M4E2V25cjs.FaqSection, { ..._chunk2M4E2V25cjs.pageFaqProps.call(void 0, faq) })
|
|
227
227
|
]
|
|
228
228
|
}
|
|
229
229
|
)
|
|
230
230
|
);
|
|
231
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
231
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC3RAE7ROcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
// src/components/shared/dev-section/dev-card-row.tsx
|
|
@@ -290,7 +290,7 @@ function DeliveryRow({ item, loading, href, target, caption, id, className }) {
|
|
|
290
290
|
const taskType = item.taskType;
|
|
291
291
|
const typeBadgeLabel = _chunkHEVW75L3cjs.TASK_TYPE_LABELS[taskType] || "TASK";
|
|
292
292
|
const typeBadgeTextColor = _chunkHEVW75L3cjs.TASK_TYPE_TEXT_COLORS[taskType] || "";
|
|
293
|
-
const statusBadgeScheme =
|
|
293
|
+
const statusBadgeScheme = _chunk2IWAHBCCcjs.getStatusColorScheme.call(void 0, item.status);
|
|
294
294
|
const relativeTime = getRelativeTime(item.dateUpdated);
|
|
295
295
|
const subtitle = `ACTIVE ${relativeTime}${item.listNames.length > 0 ? `, ${item.listNames.join(", ")}` : ""}, ${item.id}`;
|
|
296
296
|
const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROW_INNER_CLASS2, children: [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkXUMZMIHRcjs = require('./chunk-XUMZMIHR.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkZRDVFADQcjs = require('./chunk-ZRDVFADQ.cjs');
|
|
@@ -396,7 +396,7 @@ function useScrollSpy(sections, options = {}) {
|
|
|
396
396
|
// src/components/navigation/multi-level-navigation.tsx
|
|
397
397
|
var _lucidereact = require('lucide-react');
|
|
398
398
|
|
|
399
|
-
var DEFAULT_FOLDER_INDEX_FILE2 =
|
|
399
|
+
var DEFAULT_FOLDER_INDEX_FILE2 = _chunkXUMZMIHRcjs.DEFAULT_FOLDER_INDEX_FILE;
|
|
400
400
|
var NAV_LIST_CLASS = "space-y-2";
|
|
401
401
|
var NAV_ITEM_CLASS = "space-y-1";
|
|
402
402
|
var NAV_ROW_FRAME_CLASS = "relative w-full rounded-lg border transition-all duration-150";
|
|
@@ -5,12 +5,12 @@ var _chunkFDZOE5TLcjs = require('./chunk-FDZOE5TL.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkC3RAE7ROcjs = require('./chunk-C3RAE7RO.cjs');
|
|
9
9
|
|
|
10
10
|
// src/components/product-demo/screens/devices-view.tsx
|
|
11
11
|
var _jsxruntime = require('react/jsx-runtime');
|
|
12
12
|
var DEVICES_SEARCH_QUERY = "Windows";
|
|
13
|
-
var TOOLBAR = { ...
|
|
13
|
+
var TOOLBAR = { ..._chunkC3RAE7ROcjs.IDLE_DEVICES_TOOLBAR, searchValue: DEVICES_SEARCH_QUERY };
|
|
14
14
|
var NO_HEADER = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, {});
|
|
15
15
|
var HIDDEN_WHEN_COMPACT = ["organization"];
|
|
16
16
|
var NO_DEVICES = [];
|
|
@@ -22,7 +22,7 @@ function DevicesScreenView({
|
|
|
22
22
|
loading = false
|
|
23
23
|
}) {
|
|
24
24
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25
|
-
|
|
25
|
+
_chunkC3RAE7ROcjs.DevicesPanelView,
|
|
26
26
|
{
|
|
27
27
|
className: "p-[var(--spacing-system-l)]",
|
|
28
28
|
headerSlot: NO_HEADER,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk2IWAHBCCcjs = require('./chunk-2IWAHBCC.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
var _chunkUEULXVW2cjs = require('./chunk-UEULXVW2.cjs');
|
|
@@ -150,7 +150,7 @@ function EmployeeEntryBadge({ children }) {
|
|
|
150
150
|
function EmployeeEntryCard(props) {
|
|
151
151
|
if (_chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || props.loading) {
|
|
152
152
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
153
|
-
|
|
153
|
+
_chunk2IWAHBCCcjs.AdminContentCard,
|
|
154
154
|
{
|
|
155
155
|
loading: true,
|
|
156
156
|
title: "",
|
|
@@ -172,9 +172,9 @@ function LoadedEmployeeEntryCard({
|
|
|
172
172
|
anchorProps,
|
|
173
173
|
className
|
|
174
174
|
}) {
|
|
175
|
-
const authorAvatar =
|
|
175
|
+
const authorAvatar = _chunk2IWAHBCCcjs.useProxiedImageUrl.call(void 0, _optionalChain([entry, 'access', _7 => _7.author, 'optionalAccess', _8 => _8.avatar_url]), { directHttps: false });
|
|
176
176
|
const card = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
177
|
-
|
|
177
|
+
_chunk2IWAHBCCcjs.AdminContentCard,
|
|
178
178
|
{
|
|
179
179
|
imageUrl: entry.featured_image || entry.main_video_thumbnail,
|
|
180
180
|
placeholderUrl,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkC3RAE7ROcjs = require('./chunk-C3RAE7RO.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkCKR42OBKcjs = require('./chunk-CKR42OBK.cjs');
|
|
@@ -48,7 +48,7 @@ function GoogleSheetsViewer({ externalUrl, fileName, height }) {
|
|
|
48
48
|
] });
|
|
49
49
|
}
|
|
50
50
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
51
|
-
|
|
51
|
+
_chunkC3RAE7ROcjs.EmbedViewerFrame,
|
|
52
52
|
{
|
|
53
53
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCKR42OBKcjs.GoogleSheetsIcon, { className: "h-5 w-5 shrink-0" }),
|
|
54
54
|
title: displayName,
|
|
@@ -83,7 +83,7 @@ function PdfViewer({ src, fileName, onPreview, onDownload, height }) {
|
|
|
83
83
|
] });
|
|
84
84
|
}
|
|
85
85
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
86
|
-
|
|
86
|
+
_chunkC3RAE7ROcjs.EmbedViewerFrame,
|
|
87
87
|
{
|
|
88
88
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM7ZSKWT3cjs.AdobePdfIcon, { className: "h-5 w-5 shrink-0" }),
|
|
89
89
|
title: displayName,
|
|
@@ -300,7 +300,7 @@ var _chunkWWUSFOJ7cjs = require('./chunk-WWUSFOJ7.cjs');
|
|
|
300
300
|
|
|
301
301
|
|
|
302
302
|
|
|
303
|
-
var
|
|
303
|
+
var _chunk2IWAHBCCcjs = require('./chunk-2IWAHBCC.cjs');
|
|
304
304
|
|
|
305
305
|
|
|
306
306
|
|
|
@@ -1461,7 +1461,7 @@ function buildBaseComponents({
|
|
|
1461
1461
|
// (which is what `last:border-r-0` correctly uses), not "last row" — so the
|
|
1462
1462
|
// bottom row's `border-b` used to sit against the frame's own border as a
|
|
1463
1463
|
// doubled line.
|
|
1464
|
-
table: ({ children }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "
|
|
1464
|
+
table: ({ children }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "my-6 overflow-x-auto rounded-lg border border-ods-border bg-ods-card", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "table", { className: "w-full table-fixed md:table-auto [&_tr:last-child_td]:border-b-0", children }) }),
|
|
1465
1465
|
thead: ({ children }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "thead", { className: "bg-ods-bg-surface", children }),
|
|
1466
1466
|
th: ({ children }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1467
1467
|
"th",
|
|
@@ -3279,8 +3279,8 @@ var SKELETON_TITLE_LINES = { phone: 2, wide: 1 };
|
|
|
3279
3279
|
var SKELETON_LEAD_LINES = { phone: 5, wide: 3 };
|
|
3280
3280
|
var MARKDOWN_RENDERER_CLASS = "simple-markdown-renderer";
|
|
3281
3281
|
var RENDERER_CLASS = MARKDOWN_RENDERER_CLASS;
|
|
3282
|
-
var CONTENT_WRAPPER_CLASS = "
|
|
3283
|
-
var ARTICLE_CLASS = "
|
|
3282
|
+
var CONTENT_WRAPPER_CLASS = "max-w-none";
|
|
3283
|
+
var ARTICLE_CLASS = "max-w-none [&>*:last-child]:mb-0";
|
|
3284
3284
|
var StreamingBlockRenderer = _react.memo.call(void 0, function StreamingBlockRendererImpl({
|
|
3285
3285
|
text: text2,
|
|
3286
3286
|
remarkPlugins,
|
|
@@ -6853,7 +6853,7 @@ function formatChatAttachmentMarkdownForBubble(att, viewUrlPrefix) {
|
|
|
6853
6853
|
|
|
6854
6854
|
[Attached: ${safeName}](${url})`;
|
|
6855
6855
|
}
|
|
6856
|
-
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED =
|
|
6856
|
+
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = _chunk2IWAHBCCcjs.escapeRegExp.call(void 0, CHAT_ATTACHMENT_VIEW_URL_PREFIX);
|
|
6857
6857
|
var CHAT_ATTACHMENT_MARKDOWN_PATTERN = new RegExp(
|
|
6858
6858
|
`^\\s*!?\\[[^\\]]*\\]\\(${CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED}[^)]+\\)\\s*$`,
|
|
6859
6859
|
"gm"
|
|
@@ -7957,7 +7957,7 @@ function MingoWelcome({
|
|
|
7957
7957
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7WT2C5YYcjs.AlertCircleIcon, { className: "h-8 w-8 shrink-0 text-ods-text-secondary" }),
|
|
7958
7958
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
7959
7959
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: "Couldn\u2019t load your chats" }),
|
|
7960
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-
|
|
7960
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary", children: "Something went wrong reaching the server. Check your connection and try again." })
|
|
7961
7961
|
] }),
|
|
7962
7962
|
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { variant: "outline", size: "small", leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXLTOM62Pcjs.Refresh01RightIcon, {}), onClick: onRetry, children: "Try again" })
|
|
7963
7963
|
] }) : historyLoading ? (
|
|
@@ -9982,7 +9982,7 @@ function UserDisplay({
|
|
|
9982
9982
|
compact = false,
|
|
9983
9983
|
className
|
|
9984
9984
|
}) {
|
|
9985
|
-
const avatarSrc =
|
|
9985
|
+
const avatarSrc = _chunk2IWAHBCCcjs.useProxiedImageUrl.call(void 0, avatarUrl);
|
|
9986
9986
|
if (_chunk63A4GZMBcjs.useLoadingScope.call(void 0, )) {
|
|
9987
9987
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9988
9988
|
UserDisplaySkeleton,
|
|
@@ -10450,7 +10450,7 @@ function CardsStrip(props) {
|
|
|
10450
10450
|
}
|
|
10451
10451
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ManagedCell, { item, ctx, cardWidthMobile, cardWidthDesktop });
|
|
10452
10452
|
};
|
|
10453
|
-
const heading = showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
10453
|
+
const heading = showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunk2IWAHBCCcjs.SECTION_HEADING_CLASS} break-words`, children: _chunk2IWAHBCCcjs.accentSentenceMarks.call(void 0, title) });
|
|
10454
10454
|
if (items.length === 0) {
|
|
10455
10455
|
if (!inScope || !skeleton) return null;
|
|
10456
10456
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, STRIP_ROOT_CLASS, className), children: [
|
|
@@ -11032,7 +11032,7 @@ function EntityVideoSection({
|
|
|
11032
11032
|
}
|
|
11033
11033
|
) : null),
|
|
11034
11034
|
videoSummary && MarkdownRenderer && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 flex-col gap-6", children: [
|
|
11035
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
11035
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunk2IWAHBCCcjs.SECTION_HEADING_CLASS} break-words`, children: "Summary" }),
|
|
11036
11036
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-hidden break-words text-ods-text-primary text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownRenderer, { content: videoSummary }) })
|
|
11037
11037
|
] }),
|
|
11038
11038
|
videoBites && videoBites.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -11215,7 +11215,7 @@ function designDocPeople(doc) {
|
|
|
11215
11215
|
return people;
|
|
11216
11216
|
}
|
|
11217
11217
|
function designDocMetaLine(doc) {
|
|
11218
|
-
return [_optionalChain([doc, 'access', _238 => _238.author, 'optionalAccess', _239 => _239.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${
|
|
11218
|
+
return [_optionalChain([doc, 'access', _238 => _238.author, 'optionalAccess', _239 => _239.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${_chunk2IWAHBCCcjs.formatDateShort.call(void 0, doc.updated_at)}`].filter(Boolean).join(" \xB7 ");
|
|
11219
11219
|
}
|
|
11220
11220
|
var DESIGN_DOC_CARD_BODY = "flex h-full flex-col gap-[var(--spacing-system-mf)] p-[var(--spacing-system-lf)]";
|
|
11221
11221
|
var DESIGN_DOC_CARD_HEADER = "flex w-full items-center gap-[16px]";
|
|
@@ -11508,7 +11508,7 @@ function VendorIcon({
|
|
|
11508
11508
|
...props
|
|
11509
11509
|
}) {
|
|
11510
11510
|
const logoUrl = getVendorLogo(vendor);
|
|
11511
|
-
const logoSrc =
|
|
11511
|
+
const logoSrc = _chunk2IWAHBCCcjs.useProxiedImageUrl.call(void 0, logoUrl, { directHttps: false });
|
|
11512
11512
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11513
11513
|
_chunkBOS7OIC4cjs.SquareAvatar,
|
|
11514
11514
|
{
|
|
@@ -11542,8 +11542,8 @@ function useChatCardItem(type, id) {
|
|
|
11542
11542
|
const res = await _chunkGI3MMBP3cjs.embedAuthedFetch.call(void 0, url);
|
|
11543
11543
|
if (!res.ok) throw new Error(`chat card fetch failed: ${res.status}`);
|
|
11544
11544
|
const data = await res.json();
|
|
11545
|
-
const items =
|
|
11546
|
-
const match = items.find((it) =>
|
|
11545
|
+
const items = _chunk2IWAHBCCcjs.extractCardItems.call(void 0, type, data);
|
|
11546
|
+
const match = items.find((it) => _chunk2IWAHBCCcjs.extractItemId.call(void 0, type, it) === id);
|
|
11547
11547
|
return _nullishCoalesce(match, () => ( null));
|
|
11548
11548
|
},
|
|
11549
11549
|
enabled: !!url && id.length > 0,
|
|
@@ -11749,7 +11749,7 @@ function resolveFetchedCardHref({
|
|
|
11749
11749
|
composeContentUrl
|
|
11750
11750
|
}) {
|
|
11751
11751
|
if (!composeContentUrl || !contentRefType || !id) return null;
|
|
11752
|
-
const canonicalType =
|
|
11752
|
+
const canonicalType = _chunk2IWAHBCCcjs.canonicalContentRefType.call(void 0, contentRefType);
|
|
11753
11753
|
return composeContentUrl({
|
|
11754
11754
|
// The card registry keys some entries by the legacy rail vocabulary
|
|
11755
11755
|
// (`blog_post_existing`) because that is what `buildListUrl` expects.
|
|
@@ -11792,7 +11792,7 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
11792
11792
|
// Canonical vocabulary only — a rail-vocab alias would miss the host's
|
|
11793
11793
|
// `hostedTypes` / `overrides` and fall through to the seam's default
|
|
11794
11794
|
// `<origin>/<type>/<id>` branch. Same canonicalizer `buildListUrl` uses.
|
|
11795
|
-
type:
|
|
11795
|
+
type: _chunk2IWAHBCCcjs.canonicalContentRefType.call(void 0, row.documentType),
|
|
11796
11796
|
identifier: idValue,
|
|
11797
11797
|
...docPath ? { slug: docPath } : {},
|
|
11798
11798
|
externalUrl: _nullishCoalesce(row.externalUrl, () => ( null)),
|
|
@@ -12142,17 +12142,17 @@ function TrustCenterChatCard({
|
|
|
12142
12142
|
}) {
|
|
12143
12143
|
const raw2 = _optionalChain([item, 'optionalAccess', _263 => _263.frameworks]);
|
|
12144
12144
|
const frameworks = Array.isArray(raw2) ? raw2 : [];
|
|
12145
|
-
const summary =
|
|
12145
|
+
const summary = _chunk2IWAHBCCcjs.trustFrameworksSummary.call(void 0, frameworks);
|
|
12146
12146
|
const leadFramework = frameworks[0];
|
|
12147
12147
|
const lead = leadFramework ? {
|
|
12148
|
-
label:
|
|
12149
|
-
color:
|
|
12148
|
+
label: _chunk2IWAHBCCcjs.trustFrameworkBadge.call(void 0, leadFramework),
|
|
12149
|
+
color: _chunk2IWAHBCCcjs.trustFrameworkMonitoringEntry.call(void 0, leadFramework.monitoring).color
|
|
12150
12150
|
} : void 0;
|
|
12151
12151
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12152
12152
|
MingoInfoCard,
|
|
12153
12153
|
{
|
|
12154
|
-
title:
|
|
12155
|
-
description: summary ||
|
|
12154
|
+
title: _chunk2IWAHBCCcjs.TRUST_CENTER_TITLE,
|
|
12155
|
+
description: summary || _chunk2IWAHBCCcjs.TRUST_CENTER_TAGLINE,
|
|
12156
12156
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOBGYDNT6cjs.ShieldCheckIcon, { size: 24 }),
|
|
12157
12157
|
status: lead ? { label: lead.label, variant: TRUST_STATUS_TAG_VARIANT[lead.color] } : void 0,
|
|
12158
12158
|
anchorProps: _chunkDVHSYPDBcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab, chatRef.targetPlatform),
|
|
@@ -12287,7 +12287,7 @@ function CampaignChatCard({
|
|
|
12287
12287
|
}) {
|
|
12288
12288
|
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _269 => _269.goals])) ? item.goals.length : 0;
|
|
12289
12289
|
const meta = [
|
|
12290
|
-
_optionalChain([item, 'optionalAccess', _270 => _270.start_date]) ?
|
|
12290
|
+
_optionalChain([item, 'optionalAccess', _270 => _270.start_date]) ? _chunk2IWAHBCCcjs.formatDateShort.call(void 0, item.start_date) : null,
|
|
12291
12291
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
12292
12292
|
"Marketing campaign"
|
|
12293
12293
|
].filter(Boolean).join(" \xB7 ");
|
|
@@ -12338,7 +12338,7 @@ function entityCover(image, ogPlaceholder) {
|
|
|
12338
12338
|
function statusPill(status) {
|
|
12339
12339
|
const s = typeof status === "string" ? status.trim() : "";
|
|
12340
12340
|
if (!s) return void 0;
|
|
12341
|
-
const scheme =
|
|
12341
|
+
const scheme = _chunk2IWAHBCCcjs.getStatusColorScheme.call(void 0, s);
|
|
12342
12342
|
const variant = scheme === "success" || scheme === "error" || scheme === "warning" ? scheme : "grey";
|
|
12343
12343
|
return { label: s, variant };
|
|
12344
12344
|
}
|
|
@@ -12447,7 +12447,7 @@ function InvestorUpdateChatCard({
|
|
|
12447
12447
|
EntityMingoCard,
|
|
12448
12448
|
{
|
|
12449
12449
|
title,
|
|
12450
|
-
description: _optionalChain([item, 'optionalAccess', _300 => _300.strategic_update]) || _optionalChain([item, 'optionalAccess', _301 => _301.content]) ||
|
|
12450
|
+
description: _optionalChain([item, 'optionalAccess', _300 => _300.strategic_update]) || _optionalChain([item, 'optionalAccess', _301 => _301.content]) || _chunk2IWAHBCCcjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _302 => _302.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _303 => _303.period_end]), () => ( null))) || void 0,
|
|
12451
12451
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _304 => _304.featured_image]), ogPlaceholder),
|
|
12452
12452
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk37SGOMF5cjs.PresentationLineIcon, { size: 24 }),
|
|
12453
12453
|
status: { label: "Investor update", variant: "grey" },
|
|
@@ -12491,7 +12491,7 @@ function ProgramChatCard({
|
|
|
12491
12491
|
discuss
|
|
12492
12492
|
}) {
|
|
12493
12493
|
const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGZ6NU2C2cjs.PresentationBarIcon, { size: 24 }) : configKey === "event" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM4KPLFFAcjs.CalendarIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZL4LQNYXcjs.MicrophoneIcon, { size: 24 });
|
|
12494
|
-
const { line: meta } =
|
|
12494
|
+
const { line: meta } = _chunk2IWAHBCCcjs.programMetaLine.call(void 0, _nullishCoalesce(item, () => ( {})), configKey, _chunk2IWAHBCCcjs.programMetaFormatters.call(void 0, _chunk2IWAHBCCcjs.PROGRAM_META_RENDERERS));
|
|
12495
12495
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12496
12496
|
EntityMingoCard,
|
|
12497
12497
|
{
|
|
@@ -12517,7 +12517,7 @@ function RoadmapChatCard({
|
|
|
12517
12517
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _314 => _314.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
12518
12518
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _315 => _315.customItemId]) != null;
|
|
12519
12519
|
const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UIJR4PYcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6DN5HKRWcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQDSQKK2cjs.MapIcon, { size: 24 });
|
|
12520
|
-
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12520
|
+
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IWAHBCCcjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _316 => _316.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
12521
12521
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
12522
12522
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
12523
12523
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -12725,7 +12725,7 @@ function programRegistryEntries() {
|
|
|
12725
12725
|
contentRefType: cfg.contentRefType,
|
|
12726
12726
|
bareInline: true,
|
|
12727
12727
|
disclosure: cfg.disclosure,
|
|
12728
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12728
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IWAHBCCcjs.ProgramCard, { loading: true, size: "sm" }),
|
|
12729
12729
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12730
12730
|
ProgramChatCard,
|
|
12731
12731
|
{
|
|
@@ -12766,7 +12766,7 @@ function roadmapRegistryEntries() {
|
|
|
12766
12766
|
bareInline: true,
|
|
12767
12767
|
...cfg.noComposedHref ? { noComposedHref: true } : {},
|
|
12768
12768
|
...cfg.fallbackHref ? { fallbackHref: cfg.fallbackHref } : {},
|
|
12769
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12769
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IWAHBCCcjs.RoadmapCard, { loading: true, size: "sm" }),
|
|
12770
12770
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12771
12771
|
RoadmapChatCard,
|
|
12772
12772
|
{
|
|
@@ -12824,12 +12824,12 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12824
12824
|
// projection route; `extractCardItems` turns its object payload into the
|
|
12825
12825
|
// single matched row. Destination is the public page unless the host
|
|
12826
12826
|
// re-homes the type (`composeContentUrl` override).
|
|
12827
|
-
[
|
|
12827
|
+
[_chunk2IWAHBCCcjs.TRUST_CENTER_DOCUMENT_TYPE]: {
|
|
12828
12828
|
label: "Trust center",
|
|
12829
12829
|
bareInline: true,
|
|
12830
|
-
contentRefType:
|
|
12830
|
+
contentRefType: _chunk2IWAHBCCcjs.TRUST_CENTER_DOCUMENT_TYPE,
|
|
12831
12831
|
noComposedHref: true,
|
|
12832
|
-
fallbackHref: () =>
|
|
12832
|
+
fallbackHref: () => _chunk2IWAHBCCcjs.TRUST_CENTER_PAGE_PATH,
|
|
12833
12833
|
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoInfoCard, { loading: true, title: "" }),
|
|
12834
12834
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterChatCard, { item, chatRef, isNewTab: opts.isNewTab, discuss: opts.discuss })
|
|
12835
12835
|
},
|
|
@@ -12855,7 +12855,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12855
12855
|
label: "Blog post",
|
|
12856
12856
|
contentRefType: "blog_post_existing",
|
|
12857
12857
|
bareInline: true,
|
|
12858
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12858
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IWAHBCCcjs.BlogCard, { loading: true, size: "sm" }),
|
|
12859
12859
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12860
12860
|
BlogChatCard,
|
|
12861
12861
|
{
|
|
@@ -12899,7 +12899,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12899
12899
|
label: "Customer interview",
|
|
12900
12900
|
contentRefType: "customer_interview",
|
|
12901
12901
|
bareInline: true,
|
|
12902
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12902
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IWAHBCCcjs.CustomerInterviewCard, { loading: true, size: "sm" }),
|
|
12903
12903
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12904
12904
|
CustomerInterviewChatCard,
|
|
12905
12905
|
{
|
|
@@ -12916,9 +12916,9 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12916
12916
|
label: "Product release",
|
|
12917
12917
|
contentRefType: "product_release",
|
|
12918
12918
|
bareInline: true,
|
|
12919
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12919
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IWAHBCCcjs.ProductReleaseCard, { loading: true, size: "sm" }),
|
|
12920
12920
|
render: (item, chatRef, opts) => {
|
|
12921
|
-
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _357 => _357.extras, 'optionalAccess', _358 => _358.buildProductReleaseCardProps]), () => (
|
|
12921
|
+
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _357 => _357.extras, 'optionalAccess', _358 => _358.buildProductReleaseCardProps]), () => ( _chunk2IWAHBCCcjs.defaultBuildProductReleaseCardProps));
|
|
12922
12922
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12923
12923
|
ProductReleaseChatCard,
|
|
12924
12924
|
{
|
|
@@ -12937,7 +12937,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12937
12937
|
label: "Investor update",
|
|
12938
12938
|
contentRefType: "investor_update",
|
|
12939
12939
|
bareInline: true,
|
|
12940
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12940
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IWAHBCCcjs.InvestorUpdateCard, { loading: true, size: "sm" }),
|
|
12941
12941
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12942
12942
|
InvestorUpdateChatCard,
|
|
12943
12943
|
{
|
|
@@ -12956,7 +12956,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12956
12956
|
bareInline: true,
|
|
12957
12957
|
// "Display" affordance (verbatim guide body) instead of "Ask".
|
|
12958
12958
|
displayAction: true,
|
|
12959
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12959
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2IWAHBCCcjs.OnboardingGuideCard, { loading: true, size: "sm" }),
|
|
12960
12960
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12961
12961
|
OnboardingGuideChatCard,
|
|
12962
12962
|
{
|
|
@@ -14127,7 +14127,7 @@ function useChatAttachmentImageGallery() {
|
|
|
14127
14127
|
return () => root.removeEventListener("click", onClick);
|
|
14128
14128
|
}, [viewUrlPrefix]);
|
|
14129
14129
|
const modal = state.isOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14130
|
-
|
|
14130
|
+
_chunk2IWAHBCCcjs.ImageGalleryModal,
|
|
14131
14131
|
{
|
|
14132
14132
|
images: state.images,
|
|
14133
14133
|
isOpen: state.isOpen,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkXUMZMIHRcjs = require('./chunk-XUMZMIHR.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkTQ7TUEK2cjs = require('./chunk-TQ7TUEK2.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkGI3MMBP3cjs = require('./chunk-GI3MMBP3.cjs');
|
|
@@ -44,7 +44,7 @@ function isSummaryData(value) {
|
|
|
44
44
|
}
|
|
45
45
|
function TicketLiveProvider({ children, enabled = true }) {
|
|
46
46
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
47
|
-
const identity =
|
|
47
|
+
const identity = _chunkTQ7TUEK2cjs.useChatIdentity.call(void 0, enabled);
|
|
48
48
|
const queryClient = _reactquery.useQueryClient.call(void 0, );
|
|
49
49
|
const streamUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _ => _.endpoints, 'access', _2 => _2.ticketStreamUrl]), () => ( TICKET_STREAM_ENDPOINT));
|
|
50
50
|
const readUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _3 => _3.endpoints, 'access', _4 => _4.ticketReadUrl]), () => ( TICKET_READ_ENDPOINT));
|
|
@@ -160,7 +160,7 @@ function TicketLiveProvider({ children, enabled = true }) {
|
|
|
160
160
|
_react2.default.useEffect(() => {
|
|
161
161
|
if (!streamEnabled) return void 0;
|
|
162
162
|
if (typeof window === "undefined") return void 0;
|
|
163
|
-
subscriptionRef.current =
|
|
163
|
+
subscriptionRef.current = _chunkXUMZMIHRcjs.createSseSubscription.call(void 0, {
|
|
164
164
|
url: streamUrl,
|
|
165
165
|
onEvent: (name, data) => handlersRef.current.onEvent(name, data),
|
|
166
166
|
onStatusChange: (status) => handlersRef.current.onStatus(status),
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkC3RAE7ROcjs = require('./chunk-C3RAE7RO.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
@@ -17,16 +17,16 @@ var _chunkIJCSQFLDcjs = require('./chunk-IJCSQFLD.cjs');
|
|
|
17
17
|
var _chunkT266OITJcjs = require('./chunk-T266OITJ.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkXUMZMIHRcjs = require('./chunk-XUMZMIHR.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkTQ7TUEK2cjs = require('./chunk-TQ7TUEK2.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunk2IWAHBCCcjs = require('./chunk-2IWAHBCC.cjs');
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
@@ -119,7 +119,7 @@ function ContactForm({
|
|
|
119
119
|
successToastMessage = "Redirecting you to join our community...",
|
|
120
120
|
rescue: rescueForm = null
|
|
121
121
|
} = {}) {
|
|
122
|
-
const attachments =
|
|
122
|
+
const attachments = _chunkTQ7TUEK2cjs.useChatAttachments.call(void 0, );
|
|
123
123
|
const builtInSubmission = _chunkT266OITJcjs.useContactSubmission.call(void 0, {
|
|
124
124
|
userId,
|
|
125
125
|
successRedirectUrl,
|
|
@@ -190,7 +190,7 @@ function ContactForm({
|
|
|
190
190
|
className: `flex h-full flex-col ${!noBorder ? "rounded-2xl border border-ods-border content-md:rounded-3xl" : ""} ${!noPadding ? "p-6 content-md:p-8 content-lg:p-10" : ""}`,
|
|
191
191
|
children: [
|
|
192
192
|
(title || subtitle) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-6 content-md:mb-8", children: [
|
|
193
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
193
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunk2IWAHBCCcjs.SECTION_HEADING_CLASS} mb-3 content-md:mb-4`, children: _chunk2IWAHBCCcjs.accentSentenceMarks.call(void 0, title) }),
|
|
194
194
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: subtitle })
|
|
195
195
|
] }),
|
|
196
196
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -203,13 +203,13 @@ function ContactForm({
|
|
|
203
203
|
);
|
|
204
204
|
}),
|
|
205
205
|
className: "flex flex-grow flex-col space-y-4 content-md:space-y-6",
|
|
206
|
-
...
|
|
206
|
+
..._chunkXUMZMIHRcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
207
207
|
children: [
|
|
208
208
|
!showName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("name") }),
|
|
209
209
|
!showEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("email") }),
|
|
210
210
|
!showHelpCategory && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("helpCategory") }),
|
|
211
211
|
!showMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("message") }),
|
|
212
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
212
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC3RAE7ROcjs.HoneypotField, { ...honeypotInputProps }),
|
|
213
213
|
extraTopField,
|
|
214
214
|
showNameEmailRow && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2 content-md:gap-6", children: [
|
|
215
215
|
showName && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
@@ -334,7 +334,7 @@ function ContactForm({
|
|
|
334
334
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSWF6TNZ3cjs.RequiredMark, {})
|
|
335
335
|
] }),
|
|
336
336
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
337
|
-
|
|
337
|
+
_chunkC3RAE7ROcjs.Textarea,
|
|
338
338
|
{
|
|
339
339
|
id: "message",
|
|
340
340
|
...register("message"),
|
|
@@ -349,7 +349,7 @@ function ContactForm({
|
|
|
349
349
|
] }),
|
|
350
350
|
attachmentsEnabled && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2", children: [
|
|
351
351
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
352
|
-
|
|
352
|
+
_chunkTQ7TUEK2cjs.ChatAttachmentChipStrip,
|
|
353
353
|
{
|
|
354
354
|
attachments: attachments.attachments,
|
|
355
355
|
onRemove: attachments.removeAttachment,
|
|
@@ -358,7 +358,7 @@ function ContactForm({
|
|
|
358
358
|
),
|
|
359
359
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
360
360
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
361
|
-
|
|
361
|
+
_chunkTQ7TUEK2cjs.ChatAttachmentAddButton,
|
|
362
362
|
{
|
|
363
363
|
attachmentsEnabled: true,
|
|
364
364
|
attachmentsCount: attachments.attachments.length,
|