@flamingo-stack/openframe-frontend-core 0.0.718 → 0.0.720
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-MIQLUUVF.cjs → chunk-2C72EWQR.cjs} +93 -29
- package/dist/{chunk-IWCPXJEE.js → chunk-3HZ6XSZC.js} +2 -4
- package/dist/{chunk-ZXCZYMN4.cjs → chunk-4SIZCHVZ.cjs} +13 -15
- package/dist/{chunk-BOTM373R.cjs → chunk-5XDCCQ4A.cjs} +15 -15
- package/dist/{chunk-DXCBOZVT.cjs → chunk-6BLN5WDS.cjs} +41 -41
- package/dist/{chunk-DCD5WZUF.js → chunk-6W46LVK4.js} +5 -5
- package/dist/{chunk-JHQ334WS.js → chunk-742BGXNX.js} +2 -0
- package/dist/{chunk-AECTRMGQ.cjs → chunk-7GRPR7XA.cjs} +13 -1
- package/dist/{chunk-45F7PXUI.js → chunk-7HYEQKN6.js} +6 -6
- package/dist/{chunk-N2PF5CFX.js → chunk-7IOU6BJE.js} +12 -11
- package/dist/{chunk-BWIN42ZA.cjs → chunk-7LPR4RZ3.cjs} +34 -36
- package/dist/chunk-AFTRPEXO.js +13 -0
- package/dist/{chunk-JPD4NXH6.js → chunk-AZRI4XBP.js} +1 -1
- package/dist/{chunk-4QFWGLZO.js → chunk-B2N4YX66.js} +1 -1
- package/dist/{chunk-QXZCLQNV.js → chunk-B5LNX4GZ.js} +2 -2
- package/dist/{chunk-GN4A7PMB.cjs → chunk-DHNJSQGX.cjs} +91 -91
- package/dist/{chunk-NDZ5ZXOQ.cjs → chunk-DOPOHO6H.cjs} +20 -20
- package/dist/{chunk-Z3CVSPO3.cjs → chunk-DYDDAA6O.cjs} +519 -518
- package/dist/{chunk-2RKFMUNW.cjs → chunk-EVMM3JE6.cjs} +64 -63
- package/dist/chunk-EWPR7662.cjs +13 -0
- package/dist/{chunk-AGVXKD4K.js → chunk-FSQQZFVG.js} +12 -0
- package/dist/{chunk-TTVOLEUS.js → chunk-GANIUMRU.js} +89 -2
- package/dist/{chunk-S2FUFMLW.cjs → chunk-HFEYEPOG.cjs} +27 -27
- package/dist/{chunk-LE5WKGJV.cjs → chunk-HTS46FFY.cjs} +3 -3
- package/dist/{chunk-6A43ZDWV.cjs → chunk-IL3ZWNM2.cjs} +4 -4
- package/dist/{chunk-PSVSEN4J.cjs → chunk-IMTY3GRR.cjs} +2 -0
- package/dist/{chunk-YC5COB5V.cjs → chunk-ISCZ6UNF.cjs} +85 -89
- package/dist/{chunk-XGHGGBM3.js → chunk-K2BYVPGR.js} +3 -3
- package/dist/{chunk-HWVUR735.cjs → chunk-KSGMZHVV.cjs} +2 -2
- package/dist/{chunk-SGFTTJKO.js → chunk-LO3KCLEF.js} +1 -1
- package/dist/{chunk-MA4Q5RBP.cjs → chunk-NYSMDM4J.cjs} +2 -2
- package/dist/{chunk-67QBMN4R.js → chunk-O3MKJU6A.js} +6 -6
- package/dist/{chunk-APJZBDQN.js → chunk-PSMJYZMV.js} +27 -26
- package/dist/{chunk-JH2SIWPQ.js → chunk-PXAKSPLZ.js} +1586 -1263
- package/dist/{chunk-TBCZCRQ5.js → chunk-Q5327DXK.js} +13 -17
- package/dist/{chunk-EZC2F5OT.cjs → chunk-QF464PPL.cjs} +39 -39
- package/dist/{chunk-UWQWMGJ7.cjs → chunk-RDP5UZXQ.cjs} +888 -565
- package/dist/{chunk-ETYLOZOB.cjs → chunk-RFUOIQSG.cjs} +100 -13
- package/dist/{chunk-DC4RTYWK.cjs → chunk-RZQGIWK3.cjs} +3 -3
- package/dist/{chunk-PQ6HBLZ7.js → chunk-TORERAXD.js} +105 -41
- package/dist/{chunk-6YPTUHM7.js → chunk-URW23QUM.js} +1 -1
- package/dist/{chunk-QBCDSTLE.cjs → chunk-UWJMDFDO.cjs} +18 -18
- package/dist/{chunk-YEMCCYIF.js → chunk-V6B2FBZK.js} +5 -5
- package/dist/{chunk-JIWMBIVZ.js → chunk-VBHGJFA3.js} +10 -10
- package/dist/{chunk-Z5UWW3Z2.cjs → chunk-VF2CJXZ2.cjs} +81 -65
- package/dist/{chunk-DEZDMTBM.js → chunk-VYVPII4W.js} +8 -10
- package/dist/{chunk-MM7MCIXL.js → chunk-VYZCKY5K.js} +9 -9
- package/dist/{chunk-E7YCPY7K.cjs → chunk-XSM46FHD.cjs} +3 -3
- package/dist/{chunk-NZ5BHDFZ.js → chunk-XW3Q623Q.js} +1 -1
- package/dist/{chunk-LOYPRJWA.js → chunk-YK3X74SF.js} +67 -51
- package/dist/{chunk-WALCXC7J.cjs → chunk-ZHD3F2TH.cjs} +3 -3
- package/dist/{chunk-KBJJQFYU.js → chunk-ZPHOQDAE.js} +1 -1
- package/dist/{cloud-tenants-TAKOWXLD.js → cloud-tenants-RKQRSDNE.js} +9 -9
- package/dist/{cloud-tenants-PFDF7O5U.cjs → cloud-tenants-UQZASXUB.cjs} +10 -10
- package/dist/components/case-studies/index.cjs +23 -23
- package/dist/components/case-studies/index.js +10 -10
- package/dist/components/chat/ask-prompts.d.ts +10 -2
- package/dist/components/chat/ask-prompts.d.ts.map +1 -1
- package/dist/components/chat/assistant-ask-prompts.d.ts +27 -0
- package/dist/components/chat/assistant-ask-prompts.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
- package/dist/components/chat/hooks/index.d.ts +1 -0
- package/dist/components/chat/hooks/index.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-ask-prompts.d.ts +63 -0
- package/dist/components/chat/hooks/use-ask-prompts.d.ts.map +1 -0
- package/dist/components/chat/index.cjs +23 -6
- package/dist/components/chat/index.d.ts +1 -0
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +22 -5
- package/dist/components/chat/utils/icon-library.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +11 -11
- package/dist/components/contact/index.js +10 -10
- package/dist/components/docs/index.cjs +14 -14
- package/dist/components/docs/index.js +13 -13
- package/dist/components/embeds/index.cjs +11 -11
- package/dist/components/embeds/index.js +10 -10
- package/dist/components/faq/faq-ask-card.d.ts +44 -0
- package/dist/components/faq/faq-ask-card.d.ts.map +1 -0
- package/dist/components/faq/faq-document-page.d.ts +5 -1
- package/dist/components/faq/faq-document-page.d.ts.map +1 -1
- package/dist/components/faq/faq-section.d.ts +18 -5
- package/dist/components/faq/faq-section.d.ts.map +1 -1
- package/dist/components/faq/index.cjs +13 -12
- package/dist/components/faq/index.d.ts +1 -0
- package/dist/components/faq/index.d.ts.map +1 -1
- package/dist/components/faq/index.js +12 -11
- package/dist/components/features/auth/auth-benefits-panel.d.ts.map +1 -1
- package/dist/components/features/index.cjs +10 -10
- package/dist/components/features/index.js +9 -9
- package/dist/components/features/remote-session/remote-desktop-view.d.ts +6 -2
- package/dist/components/features/remote-session/remote-desktop-view.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.cjs +104 -105
- package/dist/components/help-center-pages/index.js +28 -29
- package/dist/components/help-center-pages/trust-center-page.d.ts +4 -1
- package/dist/components/help-center-pages/trust-center-page.d.ts.map +1 -1
- package/dist/components/index.cjs +109 -197
- package/dist/components/index.js +228 -316
- package/dist/components/meeting-scheduler/index.cjs +50 -51
- package/dist/components/meeting-scheduler/index.js +12 -13
- package/dist/components/navigation/index.cjs +13 -13
- package/dist/components/navigation/index.js +12 -12
- package/dist/components/navigation/mingo-ai-button.d.ts +1 -1
- package/dist/components/navigation/mingo-ai-button.d.ts.map +1 -1
- package/dist/components/onboarding-guides/index.cjs +13 -14
- package/dist/components/onboarding-guides/index.js +12 -13
- package/dist/components/product-demo/index.cjs +7 -7
- package/dist/components/product-demo/index.js +7 -7
- package/dist/components/related-content/index.cjs +5 -7
- package/dist/components/related-content/index.js +4 -6
- package/dist/components/related-content/related-content-section.d.ts +6 -6
- package/dist/components/related-content/related-content-section.d.ts.map +1 -1
- package/dist/components/tickets/index.cjs +15 -15
- package/dist/components/tickets/index.js +14 -14
- package/dist/components/ui/index.cjs +26 -10
- package/dist/components/ui/index.js +25 -9
- package/dist/contexts/assistant-runtime-context.d.ts +74 -0
- package/dist/contexts/assistant-runtime-context.d.ts.map +1 -0
- package/dist/contexts/index.cjs +7 -1
- package/dist/contexts/index.d.ts +1 -0
- package/dist/contexts/index.d.ts.map +1 -1
- package/dist/contexts/index.js +6 -0
- package/dist/{devices-KRCGZMGA.cjs → devices-7Q2EUM7B.cjs} +11 -11
- package/dist/{devices-LHEX7O5T.js → devices-U3Y4IIW4.js} +9 -9
- package/dist/hooks/index.cjs +3 -4
- package/dist/hooks/index.js +2 -3
- package/dist/hooks/use-self-fetch.d.ts +3 -0
- package/dist/hooks/use-self-fetch.d.ts.map +1 -1
- package/dist/index.cjs +34 -14
- package/dist/index.js +33 -13
- package/dist/{knowledge-RZSFNR33.js → knowledge-NST53EXE.js} +9 -9
- package/dist/{knowledge-KLVPVEYZ.cjs → knowledge-UYIZ74MA.cjs} +11 -11
- package/dist/{logs-OX3XTVL2.cjs → logs-HTH7X7KV.cjs} +18 -18
- package/dist/{logs-E5DOV5JO.js → logs-JVTRG232.js} +9 -9
- package/dist/{policies-MC2S4S5G.js → policies-DTXTRK56.js} +9 -9
- package/dist/{policies-FOSCIZGK.cjs → policies-MXK2HB4W.cjs} +14 -14
- package/dist/{remote-session-JQ2BPIE3.js → remote-session-LAJZKQBN.js} +3 -3
- package/dist/{remote-session-DRFE5XZE.cjs → remote-session-SKKF4PBV.cjs} +5 -5
- package/dist/{software-update-D4OEIH65.js → software-update-6RHMPM3W.js} +9 -9
- package/dist/{software-update-HOBSTWVO.cjs → software-update-P6BSM6HX.cjs} +14 -14
- package/dist/utils/index.cjs +26 -2
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +25 -3
- package/dist/utils/list-url.d.ts.map +1 -1
- package/dist/utils/source-icons.d.ts.map +1 -1
- package/dist/utils/trial.d.ts +18 -0
- package/dist/utils/trial.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/components/chat/ask-prompts.tsx +25 -3
- package/src/components/chat/assistant-ask-prompts.tsx +78 -0
- package/src/components/chat/entity-cards/dispatch.tsx +38 -4
- package/src/components/chat/hooks/index.ts +12 -0
- package/src/components/chat/hooks/use-ask-prompts.ts +188 -0
- package/src/components/chat/index.ts +1 -0
- package/src/components/chat/utils/icon-library.tsx +6 -0
- package/src/components/faq/faq-ask-card.tsx +115 -0
- package/src/components/faq/faq-document-page.tsx +6 -1
- package/src/components/faq/faq-section.tsx +27 -5
- package/src/components/faq/index.ts +1 -0
- package/src/components/features/auth/auth-benefits-panel.tsx +5 -4
- package/src/components/features/remote-session/remote-desktop-view.tsx +86 -63
- package/src/components/help-center-pages/trust-center-page.tsx +5 -2
- package/src/components/navigation/mingo-ai-button.tsx +27 -6
- package/src/components/related-content/related-content-section.tsx +46 -47
- package/src/contexts/assistant-runtime-context.tsx +84 -0
- package/src/contexts/index.ts +9 -0
- package/src/hooks/use-self-fetch.ts +7 -0
- package/src/utils/index.ts +1 -0
- package/src/utils/list-url.ts +4 -0
- package/src/utils/source-icons.ts +10 -2
- package/src/utils/trial.ts +19 -0
- package/dist/chunk-AUMKE74M.cjs +0 -16
- package/dist/chunk-G3GRYDMS.js +0 -16
- package/dist/chunk-GEDY7HQI.cjs +0 -85
- package/dist/chunk-YBQQNDC7.js +0 -85
|
@@ -3,34 +3,31 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkZHD3F2THcjs = require('./chunk-ZHD3F2TH.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkHTS46FFYcjs = require('./chunk-HTS46FFY.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunk5XDCCQ4Acjs = require('./chunk-5XDCCQ4A.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkDYDDAA6Ocjs = require('./chunk-DYDDAA6O.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkVF2CJXZ2cjs = require('./chunk-VF2CJXZ2.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var _chunkAUMKE74Mcjs = require('./chunk-AUMKE74M.cjs');
|
|
28
27
|
|
|
29
28
|
|
|
30
29
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
var _chunkUWQWMGJ7cjs = require('./chunk-UWQWMGJ7.cjs');
|
|
30
|
+
var _chunkRDP5UZXQcjs = require('./chunk-RDP5UZXQ.cjs');
|
|
34
31
|
|
|
35
32
|
|
|
36
33
|
|
|
@@ -44,6 +41,9 @@ var _chunkWVOTC7HWcjs = require('./chunk-WVOTC7HW.cjs');
|
|
|
44
41
|
var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
45
42
|
|
|
46
43
|
|
|
44
|
+
var _chunk7GRPR7XAcjs = require('./chunk-7GRPR7XA.cjs');
|
|
45
|
+
|
|
46
|
+
|
|
47
47
|
var _chunkUJ7AXHRZcjs = require('./chunk-UJ7AXHRZ.cjs');
|
|
48
48
|
|
|
49
49
|
|
|
@@ -212,7 +212,7 @@ function useDocsResolveLink(sourceId, resolveLinkEndpoint) {
|
|
|
212
212
|
return _react.useCallback.call(void 0,
|
|
213
213
|
async (href, currentPath) => {
|
|
214
214
|
try {
|
|
215
|
-
const response = await
|
|
215
|
+
const response = await _chunk7GRPR7XAcjs.contentFetch.call(void 0, resolvedResolveLinkEndpoint, {
|
|
216
216
|
method: "POST",
|
|
217
217
|
headers: { "Content-Type": "application/json" },
|
|
218
218
|
body: JSON.stringify({ link: href, currentPath, source: sourceId })
|
|
@@ -339,8 +339,8 @@ function toDocContent(value, requestedPath) {
|
|
|
339
339
|
}
|
|
340
340
|
function useDocumentTree(config, initialPath) {
|
|
341
341
|
const { structureEndpoint, contentEndpoint, baseRoute } = config;
|
|
342
|
-
const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => (
|
|
343
|
-
const cleanInitialPath =
|
|
342
|
+
const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunkRDP5UZXQcjs.DEFAULT_FOLDER_INDEX_FILE));
|
|
343
|
+
const cleanInitialPath = _chunkRDP5UZXQcjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _4 => _4.replace, 'call', _5 => _5(/\/$/, "")]) || "", folderIndexFile);
|
|
344
344
|
const [structure, setStructure] = _react.useState.call(void 0, []);
|
|
345
345
|
const [selectedPath, setSelectedPath] = _react.useState.call(void 0, cleanInitialPath);
|
|
346
346
|
const [content, setContent] = _react.useState.call(void 0, null);
|
|
@@ -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 = _chunkRDP5UZXQcjs.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(_chunkRDP5UZXQcjs.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(_chunkRDP5UZXQcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
|
|
391
391
|
}
|
|
392
392
|
setExternalNavCount((n) => n + 1);
|
|
393
393
|
}
|
|
@@ -401,7 +401,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
401
401
|
try {
|
|
402
402
|
setIsLoadingStructure(true);
|
|
403
403
|
setError(null);
|
|
404
|
-
const response = await
|
|
404
|
+
const response = await _chunk7GRPR7XAcjs.contentFetch.call(void 0, structureEndpoint);
|
|
405
405
|
if (!response.ok) {
|
|
406
406
|
throw new Error("Failed to load documentation structure");
|
|
407
407
|
}
|
|
@@ -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(_chunkRDP5UZXQcjs.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);
|
|
@@ -440,7 +440,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
440
440
|
const fetchContent = async (path) => {
|
|
441
441
|
try {
|
|
442
442
|
setIsLoadingContent(true);
|
|
443
|
-
const response = await
|
|
443
|
+
const response = await _chunk7GRPR7XAcjs.contentFetch.call(void 0, `${contentEndpoint}?path=${encodeURIComponent(path)}`);
|
|
444
444
|
if (path !== lastFetchedPath.current) return;
|
|
445
445
|
if (!response.ok) {
|
|
446
446
|
if (response.status === 404) {
|
|
@@ -452,7 +452,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
452
452
|
setContent(null);
|
|
453
453
|
return;
|
|
454
454
|
}
|
|
455
|
-
const probe =
|
|
455
|
+
const probe = _chunkRDP5UZXQcjs.findDocNodeByPath.call(void 0, _chunkRDP5UZXQcjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), structure);
|
|
456
456
|
const probeIsNoReadmeFolder = !!probe && probe.type === "folder" && !probe.hasReadme;
|
|
457
457
|
const preStructureFolderLike = structure.length === 0 && !path.endsWith(".md");
|
|
458
458
|
if (probeIsNoReadmeFolder || preStructureFolderLike) {
|
|
@@ -509,7 +509,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
509
509
|
if (selectedPath === "") {
|
|
510
510
|
pathToFetch = folderIndexFile;
|
|
511
511
|
} else {
|
|
512
|
-
const node =
|
|
512
|
+
const node = _chunkRDP5UZXQcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
|
|
513
513
|
if (node && node.type === "folder" && !node.hasReadme) {
|
|
514
514
|
const firstDocPath = findFirstDocPath(node);
|
|
515
515
|
if (!firstDocPath) {
|
|
@@ -550,16 +550,16 @@ function useDocumentTree(config, initialPath) {
|
|
|
550
550
|
if (node.type === "folder") {
|
|
551
551
|
setExpandedNodes((prev) => {
|
|
552
552
|
if (prev.has(node.id)) {
|
|
553
|
-
const ancestorIds =
|
|
553
|
+
const ancestorIds = _chunkRDP5UZXQcjs.getDocAncestorNodeIds.call(void 0, node.path);
|
|
554
554
|
ancestorIds.pop();
|
|
555
555
|
return new Set(ancestorIds);
|
|
556
556
|
}
|
|
557
|
-
return new Set(
|
|
557
|
+
return new Set(_chunkRDP5UZXQcjs.getDocAncestorNodeIds.call(void 0, node.path));
|
|
558
558
|
});
|
|
559
559
|
} else {
|
|
560
560
|
const lastSlash = node.path.lastIndexOf("/");
|
|
561
561
|
if (lastSlash > 0) {
|
|
562
|
-
setExpandedNodes(new Set(
|
|
562
|
+
setExpandedNodes(new Set(_chunkRDP5UZXQcjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
|
|
563
563
|
}
|
|
564
564
|
}
|
|
565
565
|
lastFetchedPath.current = null;
|
|
@@ -574,7 +574,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
574
574
|
const hashIndex = path.indexOf("#");
|
|
575
575
|
const anchor = hashIndex !== -1 ? path.substring(hashIndex) : "";
|
|
576
576
|
const cleanPath = path.replace(/\/$/, "").split("#")[0];
|
|
577
|
-
const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current :
|
|
577
|
+
const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunkRDP5UZXQcjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
|
|
578
578
|
if (anchor && _optionalChain([options, 'optionalAccess', _7 => _7.fromInternalLink]) && pathForSelection === selectedPathRef.current) {
|
|
579
579
|
_chunkGQ7JJUITcjs.navigateSamePageHash.call(void 0, anchor, { headerOffset: _chunkGQ7JJUITcjs.HUB_HEADER_OFFSET_PX });
|
|
580
580
|
return;
|
|
@@ -638,15 +638,15 @@ function useDocumentTree(config, initialPath) {
|
|
|
638
638
|
return docNavigation.register({
|
|
639
639
|
baseRoute: normalizedBaseRoute,
|
|
640
640
|
findNodeByPath: (path) => {
|
|
641
|
-
const clean =
|
|
642
|
-
return _nullishCoalesce(
|
|
641
|
+
const clean = _chunkRDP5UZXQcjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
|
|
642
|
+
return _nullishCoalesce(_chunkRDP5UZXQcjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
|
|
643
643
|
},
|
|
644
644
|
selectNode
|
|
645
645
|
});
|
|
646
646
|
}, [docNavigation, normalizedBaseRoute, structure, selectNode, folderIndexFile]);
|
|
647
647
|
const isEmptyFolder = _react.useMemo.call(void 0, () => {
|
|
648
648
|
if (!selectedPath || structure.length === 0) return false;
|
|
649
|
-
const node =
|
|
649
|
+
const node = _chunkRDP5UZXQcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
|
|
650
650
|
return !!node && node.type === "folder" && !node.hasReadme && !findFirstDocPath(node);
|
|
651
651
|
}, [selectedPath, structure]);
|
|
652
652
|
return {
|
|
@@ -726,14 +726,14 @@ function DocViewerContent({
|
|
|
726
726
|
},
|
|
727
727
|
docPath
|
|
728
728
|
);
|
|
729
|
-
const { activeSection, handleSectionClick } =
|
|
729
|
+
const { activeSection, handleSectionClick } = _chunkHTS46FFYcjs.useScrollSpy.call(void 0, _optionalChain([content, 'optionalAccess', _11 => _11.sections]));
|
|
730
730
|
const docNav = useDocNavigation();
|
|
731
731
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
732
732
|
const backCfg = backButton === false ? null : {
|
|
733
733
|
label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _12 => _12.label]), () => ( "Back to home")),
|
|
734
734
|
onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _13 => _13.href]), () => ( "/")))
|
|
735
735
|
};
|
|
736
|
-
const docSearch =
|
|
736
|
+
const docSearch = _chunk5XDCCQ4Acjs.useDocSearch.call(void 0, {
|
|
737
737
|
source: chatSource,
|
|
738
738
|
baseRoute,
|
|
739
739
|
searchEndpoint,
|
|
@@ -757,7 +757,7 @@ function DocViewerContent({
|
|
|
757
757
|
onResolveLink: resolveLink
|
|
758
758
|
});
|
|
759
759
|
}, [content, renderContent, navigateToDoc, sourceId, resolveLink]);
|
|
760
|
-
const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([
|
|
760
|
+
const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunkRDP5UZXQcjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _14 => _14.documentType]) : void 0;
|
|
761
761
|
const activeDocType = _nullishCoalesce(_optionalChain([content, 'optionalAccess', _15 => _15.documentType]), () => ( selectedNodeDocType));
|
|
762
762
|
const isMarkdownContent = !activeDocType || activeDocType === "markdown";
|
|
763
763
|
const showStickyNav = isMarkdownContent;
|
|
@@ -768,9 +768,9 @@ function DocViewerContent({
|
|
|
768
768
|
const containerBgStyle = colorPalette.containerBackground !== "transparent" ? { backgroundColor: colorPalette.containerBackground } : {};
|
|
769
769
|
const defaultEmptyText = structure.length > 0 ? "Select a document from the sidebar to view" : "No documents yet. Add content from the admin panel.";
|
|
770
770
|
const resolvedEmptyText = emptyStateText || defaultEmptyText;
|
|
771
|
-
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
771
|
+
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.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: [
|
|
772
772
|
showAIChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
773
|
-
|
|
773
|
+
_chunk5XDCCQ4Acjs.DocSearchBar,
|
|
774
774
|
{
|
|
775
775
|
placeholder: `Search ${_optionalChain([sidebarLabel, 'optionalAccess', _19 => _19.toLowerCase, 'call', _20 => _20()]) || "documents"}...`,
|
|
776
776
|
query: docSearch.query,
|
|
@@ -789,9 +789,9 @@ function DocViewerContent({
|
|
|
789
789
|
] })
|
|
790
790
|
] }) }),
|
|
791
791
|
!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: [
|
|
792
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full content-lg:w-[320px] content-lg:shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "content-lg:sticky content-lg:top-20", children: isLoadingStructure ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
792
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full content-lg:w-[320px] content-lg:shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "content-lg:sticky content-lg:top-20", children: isLoadingStructure ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDYDDAA6Ocjs.CategorySidebarSkeleton, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
793
793
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PersistentMobileDropdown, { isLoading: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
794
|
-
|
|
794
|
+
_chunkHTS46FFYcjs.MobileNavigationDropdown,
|
|
795
795
|
{
|
|
796
796
|
nodes: structure,
|
|
797
797
|
selectedPath,
|
|
@@ -805,7 +805,7 @@ function DocViewerContent({
|
|
|
805
805
|
/* @__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: [
|
|
806
806
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children: sidebarLabel }),
|
|
807
807
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
808
|
-
|
|
808
|
+
_chunkHTS46FFYcjs.MultiLevelNavigation,
|
|
809
809
|
{
|
|
810
810
|
nodes: structure,
|
|
811
811
|
selectedPath,
|
|
@@ -844,7 +844,7 @@ function DocViewerContent({
|
|
|
844
844
|
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: [
|
|
845
845
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "mb-4 font-semibold text-ods-text-secondary text-h5", children: "ON THIS PAGE" }),
|
|
846
846
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
847
|
-
|
|
847
|
+
_chunkHTS46FFYcjs.StickySectionNav,
|
|
848
848
|
{
|
|
849
849
|
sections: stickyNavSections,
|
|
850
850
|
activeSection,
|
|
@@ -859,7 +859,7 @@ function DocViewerContent({
|
|
|
859
859
|
) })
|
|
860
860
|
] })
|
|
861
861
|
] }) }) });
|
|
862
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
862
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDYDDAA6Ocjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
|
|
863
863
|
}
|
|
864
864
|
|
|
865
865
|
// src/components/docs/skeletons.tsx
|
|
@@ -955,11 +955,11 @@ function EmbedSkeleton({ documentType } = {}) {
|
|
|
955
955
|
|
|
956
956
|
var DEFAULT_TITLE = "Documents";
|
|
957
957
|
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" }) });
|
|
958
|
-
var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
959
|
-
var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
960
|
-
var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
958
|
+
var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZHD3F2THcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
|
|
959
|
+
var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZHD3F2THcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
|
|
960
|
+
var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDYDDAA6Ocjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
|
|
961
961
|
var defaultFileRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
962
|
-
|
|
962
|
+
_chunkZHD3F2THcjs.FileDownloadCard,
|
|
963
963
|
{
|
|
964
964
|
fileName: content.fileName,
|
|
965
965
|
mimeType: content.mimeType,
|
|
@@ -2,29 +2,29 @@
|
|
|
2
2
|
import {
|
|
3
3
|
HoneypotField,
|
|
4
4
|
Textarea
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7IOU6BJE.js";
|
|
6
6
|
import {
|
|
7
7
|
Select,
|
|
8
8
|
SelectContent,
|
|
9
9
|
SelectItem,
|
|
10
10
|
SelectTrigger,
|
|
11
11
|
SelectValue
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YK3X74SF.js";
|
|
13
13
|
import {
|
|
14
14
|
useContactSubmission,
|
|
15
15
|
useHumanitySignals,
|
|
16
16
|
useRescuedForm
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-3HZ6XSZC.js";
|
|
18
18
|
import {
|
|
19
19
|
ChatAttachmentAddButton,
|
|
20
20
|
ChatAttachmentChipStrip,
|
|
21
21
|
HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
22
22
|
useChatAttachments
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-PXAKSPLZ.js";
|
|
24
24
|
import {
|
|
25
25
|
SECTION_HEADING_CLASS,
|
|
26
26
|
accentSentenceMarks
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-GANIUMRU.js";
|
|
28
28
|
import {
|
|
29
29
|
Input,
|
|
30
30
|
Label,
|
|
@@ -344,6 +344,7 @@ var OpenmspLogoIcon = ({ size = 16, className }) => /* @__PURE__ */ jsx2(
|
|
|
344
344
|
}
|
|
345
345
|
);
|
|
346
346
|
var FlamingoLogoIcon = sizedLogo(FlamingoLogo);
|
|
347
|
+
var FlamingoLogoGreyIcon = ({ size = 16, className, color }) => /* @__PURE__ */ jsx2(FlamingoLogo, { className, fill: color ?? "currentColor", style: { width: size, height: size } });
|
|
347
348
|
var MlgLogoIcon = ({ size = 16, className, color }) => /* @__PURE__ */ jsx2(MlgLogo, { size, className, color: color ?? "var(--color-text-primary)" });
|
|
348
349
|
var TmcgLogoIcon = ({ size = 16, className }) => /* @__PURE__ */ jsx2(
|
|
349
350
|
MiamiCyberGangLogoFaceOnly,
|
|
@@ -401,6 +402,7 @@ var ICON_ALIASES = {
|
|
|
401
402
|
"tmcg-logo": TmcgLogoIcon,
|
|
402
403
|
flamingo: FlamingoLogoIcon,
|
|
403
404
|
"flamingo-logo": FlamingoLogoIcon,
|
|
405
|
+
"flamingo-logo-grey": FlamingoLogoGreyIcon,
|
|
404
406
|
megaphone: Megaphone2,
|
|
405
407
|
bell: Bell2,
|
|
406
408
|
info: Info2,
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
var _chunkUJ7AXHRZcjs = require('./chunk-UJ7AXHRZ.cjs');
|
|
5
5
|
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkULWVKHSIcjs = require('./chunk-ULWVKHSI.cjs');
|
|
9
|
+
|
|
6
10
|
// src/hooks/ui/use-image-edge-color.ts
|
|
7
11
|
var _react = require('react');
|
|
8
12
|
function extractEdgeColor(img) {
|
|
@@ -313,6 +317,14 @@ function useOgPlaceholderUrl({
|
|
|
313
317
|
}, [endpoints, title, siteName, aspect, enabled]);
|
|
314
318
|
}
|
|
315
319
|
|
|
320
|
+
// src/utils/embed-content-fetch.ts
|
|
321
|
+
var contentFetch = (input, init) => {
|
|
322
|
+
if (!_chunkULWVKHSIcjs.hasEmbedAuthAdapter.call(void 0, )) return fetch(input, init);
|
|
323
|
+
const url = typeof input === "string" ? input : input instanceof URL ? input.href : input.url;
|
|
324
|
+
return _chunkULWVKHSIcjs.embedAuthedFetch.call(void 0, url, init);
|
|
325
|
+
};
|
|
326
|
+
|
|
327
|
+
|
|
316
328
|
|
|
317
329
|
|
|
318
330
|
|
|
@@ -331,4 +343,4 @@ function useOgPlaceholderUrl({
|
|
|
331
343
|
|
|
332
344
|
|
|
333
345
|
|
|
334
|
-
exports.useImageEdgeColor = useImageEdgeColor; exports.positiveInt = positiveInt; exports.PAGE_PARAM_LIMITS = PAGE_PARAM_LIMITS; exports.pageCount = pageCount; exports.clampPageToTotal = clampPageToTotal; exports.defineParamSchema = defineParamSchema; exports.fromKeys = fromKeys; exports.firstParamValue = firstParamValue; exports.parseSchemaParams = parseSchemaParams; exports.shouldIncludeInUrl = shouldIncludeInUrl; exports.createSearchParams = createSearchParams; exports.serializeSchemaParams = serializeSchemaParams; exports.withQuery = withQuery; exports.NEAR_VIEWPORT_ROOT_MARGIN = NEAR_VIEWPORT_ROOT_MARGIN; exports.useNearViewport = useNearViewport; exports.buildOgPlaceholderUrl = buildOgPlaceholderUrl; exports.useOgPlaceholderUrl = useOgPlaceholderUrl;
|
|
346
|
+
exports.useImageEdgeColor = useImageEdgeColor; exports.contentFetch = contentFetch; exports.positiveInt = positiveInt; exports.PAGE_PARAM_LIMITS = PAGE_PARAM_LIMITS; exports.pageCount = pageCount; exports.clampPageToTotal = clampPageToTotal; exports.defineParamSchema = defineParamSchema; exports.fromKeys = fromKeys; exports.firstParamValue = firstParamValue; exports.parseSchemaParams = parseSchemaParams; exports.shouldIncludeInUrl = shouldIncludeInUrl; exports.createSearchParams = createSearchParams; exports.serializeSchemaParams = serializeSchemaParams; exports.withQuery = withQuery; exports.NEAR_VIEWPORT_ROOT_MARGIN = NEAR_VIEWPORT_ROOT_MARGIN; exports.useNearViewport = useNearViewport; exports.buildOgPlaceholderUrl = buildOgPlaceholderUrl; exports.useOgPlaceholderUrl = useOgPlaceholderUrl;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
EmptyState
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-URW23QUM.js";
|
|
5
5
|
import {
|
|
6
6
|
PageShell,
|
|
7
7
|
SearchInput,
|
|
8
8
|
StatusFilterComponent
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7IOU6BJE.js";
|
|
10
10
|
import {
|
|
11
11
|
PageLayout
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YK3X74SF.js";
|
|
13
13
|
import {
|
|
14
14
|
OPENFRAME_DEV_SECTIONS,
|
|
15
15
|
TASK_TYPE_LABELS,
|
|
16
16
|
TASK_TYPE_TEXT_COLORS
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-PXAKSPLZ.js";
|
|
18
18
|
import {
|
|
19
19
|
usePathname,
|
|
20
20
|
useRouter,
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
import {
|
|
24
24
|
StatusBadge,
|
|
25
25
|
getStatusColorScheme
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-GANIUMRU.js";
|
|
27
27
|
import {
|
|
28
28
|
AvatarStack
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-742BGXNX.js";
|
|
30
30
|
import {
|
|
31
31
|
next_link_default
|
|
32
32
|
} from "./chunk-DAAVMYUT.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
SelectTrigger,
|
|
25
25
|
SelectValue,
|
|
26
26
|
TruncateText
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-YK3X74SF.js";
|
|
28
28
|
import {
|
|
29
29
|
dotColorByVariant,
|
|
30
30
|
progressColorByVariant,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
useNotificationPermission,
|
|
37
37
|
useStickyToolbar,
|
|
38
38
|
useToast
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-3HZ6XSZC.js";
|
|
40
40
|
import {
|
|
41
41
|
useDragAndDropEnabled,
|
|
42
42
|
useHorizontalScrollbar
|
|
@@ -77,6 +77,7 @@ import {
|
|
|
77
77
|
ScrollFadeOverlay,
|
|
78
78
|
ScrollShadow,
|
|
79
79
|
SimpleMarkdownRenderer,
|
|
80
|
+
TRIAL_LABELS,
|
|
80
81
|
TabSelector,
|
|
81
82
|
TextSkeleton,
|
|
82
83
|
UnifiedSkeleton,
|
|
@@ -113,7 +114,7 @@ import {
|
|
|
113
114
|
useResizablePanelSize,
|
|
114
115
|
useScrollFade,
|
|
115
116
|
validatePhoneNumber
|
|
116
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-PXAKSPLZ.js";
|
|
117
118
|
import {
|
|
118
119
|
ApprovalBatchMessage,
|
|
119
120
|
ApprovalStatusTag,
|
|
@@ -142,7 +143,7 @@ import {
|
|
|
142
143
|
ModalTwoColumn,
|
|
143
144
|
formatDate as formatDate2,
|
|
144
145
|
formatTime
|
|
145
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-ZPHOQDAE.js";
|
|
146
147
|
import {
|
|
147
148
|
ActionsMenuDropdown,
|
|
148
149
|
Tooltip,
|
|
@@ -185,10 +186,10 @@ import {
|
|
|
185
186
|
fileMediaType,
|
|
186
187
|
isVideoMedia,
|
|
187
188
|
mediaNameKey
|
|
188
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-GANIUMRU.js";
|
|
189
190
|
import {
|
|
190
191
|
AvatarStack
|
|
191
|
-
} from "./chunk-
|
|
192
|
+
} from "./chunk-742BGXNX.js";
|
|
192
193
|
import {
|
|
193
194
|
FloatingTooltip,
|
|
194
195
|
SquareAvatar,
|
|
@@ -207,7 +208,7 @@ import {
|
|
|
207
208
|
NEAR_VIEWPORT_ROOT_MARGIN,
|
|
208
209
|
useImageEdgeColor,
|
|
209
210
|
useNearViewport
|
|
210
|
-
} from "./chunk-
|
|
211
|
+
} from "./chunk-FSQQZFVG.js";
|
|
211
212
|
import {
|
|
212
213
|
ViewportBreakpoints,
|
|
213
214
|
useContentLgUp,
|
|
@@ -16643,10 +16644,10 @@ import { jsx as jsx162, jsxs as jsxs126 } from "react/jsx-runtime";
|
|
|
16643
16644
|
var DEFAULT_TITLE = "The All-in-One Open Platform for MSPs";
|
|
16644
16645
|
var DEFAULT_DESCRIPTION = "All your core ops in one place - built for MSPs who are done duct-taping tools together. Unified stack, AI-ready, no vendor tax. Just solid software that lets you run lean and fast.";
|
|
16645
16646
|
var DEFAULT_BENEFITS = [
|
|
16646
|
-
{ icon: /* @__PURE__ */ jsx162(CreditCardXmarkIcon, {}), label:
|
|
16647
|
-
{ icon: /* @__PURE__ */ jsx162(XmarkAltIcon, {}), label:
|
|
16648
|
-
{ icon: /* @__PURE__ */ jsx162(FlaskVialIcon, {}), label:
|
|
16649
|
-
{ icon: /* @__PURE__ */ jsx162(FileOffIcon, {}), label:
|
|
16647
|
+
{ icon: /* @__PURE__ */ jsx162(CreditCardXmarkIcon, {}), label: TRIAL_LABELS.noCard },
|
|
16648
|
+
{ icon: /* @__PURE__ */ jsx162(XmarkAltIcon, {}), label: TRIAL_LABELS.cancel },
|
|
16649
|
+
{ icon: /* @__PURE__ */ jsx162(FlaskVialIcon, {}), label: TRIAL_LABELS.length },
|
|
16650
|
+
{ icon: /* @__PURE__ */ jsx162(FileOffIcon, {}), label: TRIAL_LABELS.noContract }
|
|
16650
16651
|
];
|
|
16651
16652
|
function AuthBenefitsPanel({
|
|
16652
16653
|
title = DEFAULT_TITLE,
|