@flamingo-stack/openframe-frontend-core 0.0.795 → 0.0.797
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/build/export-map.json +1 -1
- package/dist/case-study-card-K6HYMHL6.cjs +23 -0
- package/dist/{chunk-QVC5CMC5.cjs → chunk-2JCY5KQL.cjs} +4 -4
- package/dist/{chunk-QDW64E6T.cjs → chunk-3H3CQ7BQ.cjs} +541 -538
- package/dist/{chunk-ZCMXBX4Z.cjs → chunk-3NGJ7NPT.cjs} +61 -61
- package/dist/{chunk-ZIMPE7D5.cjs → chunk-4M5JIVAH.cjs} +3 -3
- package/dist/{chunk-AT4C2YMA.cjs → chunk-4WIJI4AK.cjs} +17 -17
- package/dist/{chunk-OK467OQJ.cjs → chunk-5CEXT3V7.cjs} +37 -37
- package/dist/{chunk-75PJ2SAZ.cjs → chunk-5RGGUQ4Y.cjs} +2 -2
- package/dist/{chunk-UCHO4BOS.cjs → chunk-6GCXQIUU.cjs} +5 -5
- package/dist/{chunk-7VXMO4XJ.cjs → chunk-6UKH22NQ.cjs} +32 -30
- package/dist/{chunk-43ZVXQJK.cjs → chunk-7AMU2ZD2.cjs} +60 -60
- package/dist/{chunk-4BYNNQBC.cjs → chunk-7GFKJGWH.cjs} +116 -116
- package/dist/{chunk-6YZNUHXT.cjs → chunk-7JWFMAQB.cjs} +8 -2
- package/dist/{chunk-2KLYMAHF.cjs → chunk-7MLK7BGF.cjs} +10 -10
- package/dist/{chunk-BIYLAAFI.cjs → chunk-7MV23NNT.cjs} +54 -54
- package/dist/{chunk-K7I3YYYU.cjs → chunk-AHBTZ7DN.cjs} +44 -44
- package/dist/{chunk-KQPU5N7T.cjs → chunk-BUCCV72E.cjs} +13 -13
- package/dist/{chunk-CWA6J7KC.cjs → chunk-BWR5ACK3.cjs} +45 -45
- package/dist/{chunk-IQTVKPRG.cjs → chunk-CHF6PHOR.cjs} +46 -46
- package/dist/{chunk-FYHXMHY6.cjs → chunk-CO6FB4DR.cjs} +31 -31
- package/dist/{chunk-PQIWR4Q2.cjs → chunk-DTBIIFZG.cjs} +63 -63
- package/dist/{chunk-RPC4P7GY.cjs → chunk-E56LN23H.cjs} +205 -205
- package/dist/{chunk-YPKAMHYA.cjs → chunk-FFEE2ON2.cjs} +2129 -2012
- package/dist/{chunk-A6E5ZNQR.cjs → chunk-GAFNJDZV.cjs} +13 -13
- package/dist/{chunk-JRTDBPJT.cjs → chunk-GD47ZGOU.cjs} +3 -3
- package/dist/{chunk-HBAVHYXO.cjs → chunk-HATRCNXJ.cjs} +2 -2
- package/dist/{chunk-3XAFK4WH.cjs → chunk-IS77JFF6.cjs} +17 -17
- package/dist/{chunk-QVKWKY4O.cjs → chunk-JTIGKLKJ.cjs} +23 -23
- package/dist/{chunk-DRWPSN3A.cjs → chunk-KUXHXLJQ.cjs} +5 -5
- package/dist/{chunk-YYKXX5NA.cjs → chunk-KWINW3FC.cjs} +44 -44
- package/dist/{chunk-U4D4ABXK.cjs → chunk-LAJNO2EW.cjs} +171 -171
- package/dist/{chunk-GD6RPLHX.cjs → chunk-LKQ33CMY.cjs} +3 -3
- package/dist/{chunk-FOWQ4XTB.cjs → chunk-NBUHCGGG.cjs} +8 -8
- package/dist/{chunk-HJBJHQKE.cjs → chunk-NG3RKTQU.cjs} +16 -16
- package/dist/{chunk-HYF4LPXF.cjs → chunk-NL3G642U.cjs} +10 -10
- package/dist/{chunk-NGGEYE5R.cjs → chunk-NX4QOEPJ.cjs} +22 -22
- package/dist/{chunk-6VP5UWZG.cjs → chunk-OZUUCVDZ.cjs} +19 -19
- package/dist/{chunk-JXQNECXM.cjs → chunk-P4B6PVSG.cjs} +7 -7
- package/dist/{chunk-BFCGOHQG.cjs → chunk-PBL66EVT.cjs} +51 -51
- package/dist/{chunk-FYPVCCCV.cjs → chunk-QKXXHOOD.cjs} +321 -321
- package/dist/{chunk-IJ23KNYI.cjs → chunk-RD57WBJK.cjs} +4 -4
- package/dist/{chunk-HCXNFMLO.cjs → chunk-TTZEDDR5.cjs} +14 -14
- package/dist/{chunk-NIW4ETGC.cjs → chunk-UKLSEI7S.cjs} +6 -6
- package/dist/{chunk-CLEZ6TWZ.cjs → chunk-VFCPLZFY.cjs} +110 -110
- package/dist/{chunk-72NE4G63.cjs → chunk-VVLL37EM.cjs} +12 -12
- package/dist/{chunk-LL6PXI6C.cjs → chunk-XR323UBY.cjs} +4 -4
- package/dist/{chunk-UN6LC5PK.cjs → chunk-YBTORXFY.cjs} +110 -110
- package/dist/{chunk-HXL7AUPG.cjs → chunk-YHCC3BLP.cjs} +42 -42
- package/dist/{chunk-F73DM65J.cjs → chunk-YMWK7GOC.cjs} +197 -197
- package/dist/{chunk-RFIBRGXG.cjs → chunk-YR74H7Z3.cjs} +7 -7
- package/dist/{chunk-RKWEFZ6P.cjs → chunk-ZD6SZLO2.cjs} +3 -3
- package/dist/{chunk-6TUI5KQS.cjs → chunk-ZPTHTGHK.cjs} +62 -62
- package/dist/{cloud-tenants-Z3AYAXF5.cjs → cloud-tenants-THCY3N2P.cjs} +32 -32
- package/dist/components/calendar.cjs +10 -10
- package/dist/components/case-studies/index.cjs +52 -52
- package/dist/components/chat/index.cjs +26 -26
- package/dist/components/contact/index.cjs +33 -33
- package/dist/components/docs/index.cjs +36 -36
- package/dist/components/embeds/index.cjs +33 -33
- package/dist/components/faq/index.cjs +34 -34
- package/dist/components/features/index.cjs +32 -32
- package/dist/components/help-center-pages/index.cjs +163 -163
- package/dist/components/index.cjs +218 -204
- package/dist/components/meeting-scheduler/index.cjs +191 -191
- package/dist/components/navigation/index.cjs +35 -35
- package/dist/components/onboarding-guides/index.cjs +35 -35
- package/dist/components/product-demo/index.cjs +45 -45
- package/dist/components/related-content/index.cjs +17 -17
- package/dist/components/tickets/index.cjs +39 -39
- package/dist/components/ui/button/button-styles.d.ts +6 -0
- package/dist/components/ui/button/button-styles.d.ts.map +1 -1
- package/dist/components/ui/button/button-styles.js +7 -1
- package/dist/components/ui/file-manager/index.cjs +55 -55
- package/dist/components/ui/floating-tooltip.d.ts.map +1 -1
- package/dist/components/ui/floating-tooltip.js +3 -1
- package/dist/components/ui/index.cjs +46 -32
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +9 -1
- package/dist/components/ui/tabs.d.ts.map +1 -1
- package/dist/components/ui/tabs.js +6 -3
- package/dist/components/ui/trendline.d.ts +60 -0
- package/dist/components/ui/trendline.d.ts.map +1 -0
- package/dist/components/ui/trendline.js +121 -0
- package/dist/{devices-P6XQL23S.cjs → devices-N4EF5QDS.cjs} +33 -33
- package/dist/embed-shims/index.cjs +4 -4
- package/dist/embed-shims/next-image.cjs +4 -4
- package/dist/{embeddable-chat-6BNLOSBB.cjs → embeddable-chat-7Z2OQK3X.cjs} +115 -115
- package/dist/hooks/index.cjs +10 -10
- package/dist/index.cjs +62 -48
- package/dist/{knowledge-IU5ORU7U.cjs → knowledge-TL4DSXYQ.cjs} +33 -33
- package/dist/{logs-DCFTQVKA.cjs → logs-4VRUBGKE.cjs} +41 -41
- package/dist/{policies-ESC6XCVH.cjs → policies-TLNVCQGG.cjs} +36 -36
- package/dist/{remote-session-4ZNTOLOQ.cjs → remote-session-4LYKEZSY.cjs} +17 -17
- package/dist/{scripts-24PIP2VO.cjs → scripts-4LFWHIMH.cjs} +39 -39
- package/dist/{software-update-47GDTKMI.cjs → software-update-J4ZXQABW.cjs} +36 -36
- package/dist/{tickets-board-X4GHEKPB.cjs → tickets-board-3FBVYSXR.cjs} +17 -17
- package/dist/{video-file-player-HZPMCCYF.cjs → video-file-player-2FMFCGXE.cjs} +14 -14
- package/package.json +1 -1
- package/src/components/ui/button/button-styles.ts +11 -1
- package/src/components/ui/floating-tooltip.tsx +4 -1
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/tabs.tsx +5 -2
- package/src/components/ui/trendline.tsx +221 -0
- package/dist/case-study-card-KU4ZIONR.cjs +0 -23
|
@@ -5,11 +5,11 @@ var _chunkXZJCBIYRcjs = require('./chunk-XZJCBIYR.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunk4WIJI4AKcjs = require('./chunk-4WIJI4AK.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunk7JWFMAQBcjs = require('./chunk-7JWFMAQB.cjs');
|
|
13
13
|
|
|
14
14
|
// src/components/ui/checkbox.tsx
|
|
15
15
|
var _reactcheckbox = require('@radix-ui/react-checkbox'); var CheckboxPrimitive = _interopRequireWildcard(_reactcheckbox);
|
|
@@ -18,24 +18,24 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
18
18
|
function booleanCheckedChange(handler) {
|
|
19
19
|
return handler ? (checked) => handler(checked === true) : void 0;
|
|
20
20
|
}
|
|
21
|
-
var CHECKBOX_BOX_CLASS = `${
|
|
21
|
+
var CHECKBOX_BOX_CLASS = `${_chunk4WIJI4AKcjs.CONTROL_SIZE.checkbox} shrink-0 rounded-sm`;
|
|
22
22
|
var Checkbox = _react.forwardRef.call(void 0,
|
|
23
23
|
({ className, boxClassName, indicatorClassName, onCheckedChange, loading: loadingProp, ...props }, ref) => {
|
|
24
|
-
const loading =
|
|
25
|
-
if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24
|
+
const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || !!loadingProp;
|
|
25
|
+
if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { className: _chunk7JWFMAQBcjs.cn.call(void 0, CHECKBOX_BOX_CLASS, boxClassName) });
|
|
26
26
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27
27
|
CheckboxPrimitive.Root,
|
|
28
28
|
{
|
|
29
29
|
ref,
|
|
30
30
|
onCheckedChange: booleanCheckedChange(onCheckedChange),
|
|
31
|
-
className:
|
|
31
|
+
className: _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
32
32
|
CHECKBOX_BOX_CLASS,
|
|
33
33
|
boxClassName,
|
|
34
34
|
"peer border border-ods-border bg-ods-card focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ods-accent focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:border-ods-accent data-[state=checked]:bg-ods-accent",
|
|
35
35
|
className
|
|
36
36
|
),
|
|
37
37
|
...props,
|
|
38
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CheckboxPrimitive.Indicator, { className:
|
|
38
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CheckboxPrimitive.Indicator, { className: _chunk7JWFMAQBcjs.cn.call(void 0, "flex items-center justify-center text-ods-text-on-accent"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXZJCBIYRcjs.CheckboxCheckmarkIcon, { size: 10, className: indicatorClassName }) })
|
|
39
39
|
}
|
|
40
40
|
);
|
|
41
41
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkP4B6PVSGcjs = require('./chunk-P4B6PVSG.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
var _chunkNTPX5GXIcjs = require('./chunk-NTPX5GXI.cjs');
|
|
@@ -22,8 +22,8 @@ function useVideoOriginPreconnect({ supabaseStorageOrigin } = {}) {
|
|
|
22
22
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
23
23
|
const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess', _2 => _2.endpoints, 'access', _3 => _3.supabaseStorageOrigin])));
|
|
24
24
|
try {
|
|
25
|
-
_reactdom2.default.preconnect(
|
|
26
|
-
_reactdom2.default.preconnect(
|
|
25
|
+
_reactdom2.default.preconnect(_chunkP4B6PVSGcjs.MUX_STREAM_ORIGIN, { crossOrigin: "anonymous" });
|
|
26
|
+
_reactdom2.default.preconnect(_chunkP4B6PVSGcjs.MUX_IMAGE_ORIGIN, { crossOrigin: "anonymous" });
|
|
27
27
|
if (resolvedOrigin) {
|
|
28
28
|
_reactdom2.default.preconnect(resolvedOrigin, { crossOrigin: "anonymous" });
|
|
29
29
|
}
|
|
@@ -3,39 +3,39 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkGAFNJDZVcjs = require('./chunk-GAFNJDZV.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunk5CEXT3V7cjs = require('./chunk-5CEXT3V7.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkBUCCV72Ecjs = require('./chunk-BUCCV72E.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkFFEE2ON2cjs = require('./chunk-FFEE2ON2.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunkE56LN23Hcjs = require('./chunk-E56LN23H.cjs');
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkYMWK7GOCcjs = require('./chunk-YMWK7GOC.cjs');
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
var
|
|
38
|
+
var _chunk3H3CQ7BQcjs = require('./chunk-3H3CQ7BQ.cjs');
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
@@ -53,15 +53,15 @@ var _chunk7PNRXJX2cjs = require('./chunk-7PNRXJX2.cjs');
|
|
|
53
53
|
var _chunkUJ7AXHRZcjs = require('./chunk-UJ7AXHRZ.cjs');
|
|
54
54
|
|
|
55
55
|
|
|
56
|
-
var
|
|
56
|
+
var _chunkLKQ33CMYcjs = require('./chunk-LKQ33CMY.cjs');
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
|
|
60
|
-
var
|
|
60
|
+
var _chunk4WIJI4AKcjs = require('./chunk-4WIJI4AK.cjs');
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
|
|
64
|
-
var
|
|
64
|
+
var _chunk7JWFMAQBcjs = require('./chunk-7JWFMAQB.cjs');
|
|
65
65
|
|
|
66
66
|
// src/components/docs/doc-viewer.tsx
|
|
67
67
|
var _react = require('react'); var _react2 = _interopRequireDefault(_react);
|
|
@@ -79,7 +79,7 @@ function PersistentFilterControls({
|
|
|
79
79
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
80
80
|
"div",
|
|
81
81
|
{
|
|
82
|
-
className:
|
|
82
|
+
className: _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
83
83
|
"relative transition-all ease-in-out",
|
|
84
84
|
isLoading && preventInteraction && "pointer-events-none",
|
|
85
85
|
className
|
|
@@ -97,7 +97,7 @@ function PersistentFilterControls({
|
|
|
97
97
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
98
98
|
"div",
|
|
99
99
|
{
|
|
100
|
-
className:
|
|
100
|
+
className: _chunk7JWFMAQBcjs.cn.call(void 0, "transition-all ease-in-out", isLoading && "cursor-not-allowed"),
|
|
101
101
|
style: {
|
|
102
102
|
transitionDuration: `${transitionDuration}ms`
|
|
103
103
|
},
|
|
@@ -125,7 +125,7 @@ function PersistentSidebar({ isLoading, children, className }) {
|
|
|
125
125
|
{
|
|
126
126
|
isLoading,
|
|
127
127
|
disabledOpacity: 0.5,
|
|
128
|
-
className:
|
|
128
|
+
className: _chunk7JWFMAQBcjs.cn.call(void 0, "content-lg:sticky content-lg:top-20", className),
|
|
129
129
|
children
|
|
130
130
|
}
|
|
131
131
|
);
|
|
@@ -136,7 +136,7 @@ function PersistentMobileDropdown({ isLoading, children, className }) {
|
|
|
136
136
|
{
|
|
137
137
|
isLoading,
|
|
138
138
|
disabledOpacity: 0.7,
|
|
139
|
-
className:
|
|
139
|
+
className: _chunk7JWFMAQBcjs.cn.call(void 0, "content-lg:hidden", className),
|
|
140
140
|
children
|
|
141
141
|
}
|
|
142
142
|
);
|
|
@@ -354,13 +354,13 @@ function toDocContent(value, requestedPath) {
|
|
|
354
354
|
function toDataSync(value) {
|
|
355
355
|
if (!isRecord(value)) return void 0;
|
|
356
356
|
const source = readString(value, "source");
|
|
357
|
-
if (!
|
|
357
|
+
if (!_chunkFFEE2ON2cjs.isDataSyncSource.call(void 0, source)) return void 0;
|
|
358
358
|
return { source, syncedAt: _nullishCoalesce(readString(value, "syncedAt"), () => ( null)) };
|
|
359
359
|
}
|
|
360
360
|
function useDocumentTree(config, initialPath) {
|
|
361
361
|
const { structureEndpoint, contentEndpoint, baseRoute } = config;
|
|
362
|
-
const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => (
|
|
363
|
-
const cleanInitialPath =
|
|
362
|
+
const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunkYMWK7GOCcjs.DEFAULT_FOLDER_INDEX_FILE));
|
|
363
|
+
const cleanInitialPath = _chunkYMWK7GOCcjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _4 => _4.replace, 'call', _5 => _5(/\/$/, "")]) || "", folderIndexFile);
|
|
364
364
|
const [structure, setStructure] = _react.useState.call(void 0, []);
|
|
365
365
|
const [selectedPath, setSelectedPath] = _react.useState.call(void 0, cleanInitialPath);
|
|
366
366
|
const [content, setContent] = _react.useState.call(void 0, null);
|
|
@@ -369,7 +369,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
369
369
|
const [error, setError] = _react.useState.call(void 0, null);
|
|
370
370
|
const [expandedNodes, setExpandedNodes] = _react.useState.call(void 0, /* @__PURE__ */ new Set());
|
|
371
371
|
const lastFetchedPath = _react.useRef.call(void 0, null);
|
|
372
|
-
const held =
|
|
372
|
+
const held = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
|
|
373
373
|
const startedRef = _react.useRef.call(void 0, false);
|
|
374
374
|
const normalizedBaseRoute = baseRoute.replace(/\/$/, "");
|
|
375
375
|
const selectedPathRef = _react.useRef.call(void 0, selectedPath);
|
|
@@ -386,12 +386,12 @@ function useDocumentTree(config, initialPath) {
|
|
|
386
386
|
} else if (pathname.startsWith(`${normalizedBaseRoute}/`)) {
|
|
387
387
|
pathFromUrl = pathname.substring(`${normalizedBaseRoute}/`.length);
|
|
388
388
|
}
|
|
389
|
-
pathFromUrl =
|
|
389
|
+
pathFromUrl = _chunkYMWK7GOCcjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
|
|
390
390
|
if (pathFromUrl !== selectedPathRef.current) {
|
|
391
391
|
setSelectedPath(pathFromUrl);
|
|
392
392
|
if (pathFromUrl) {
|
|
393
393
|
const parentPath = pathFromUrl.includes("/") ? pathFromUrl.substring(0, pathFromUrl.lastIndexOf("/")) : pathFromUrl;
|
|
394
|
-
setExpandedNodes(new Set(
|
|
394
|
+
setExpandedNodes(new Set(_chunkYMWK7GOCcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
|
|
395
395
|
}
|
|
396
396
|
setTimeout(() => {
|
|
397
397
|
scrollToContent();
|
|
@@ -409,7 +409,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
409
409
|
setSelectedPath(cleanInitialPath);
|
|
410
410
|
if (cleanInitialPath) {
|
|
411
411
|
const parentPath = cleanInitialPath.includes("/") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
|
|
412
|
-
setExpandedNodes(new Set(
|
|
412
|
+
setExpandedNodes(new Set(_chunkYMWK7GOCcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
|
|
413
413
|
}
|
|
414
414
|
setExternalNavCount((n) => n + 1);
|
|
415
415
|
}
|
|
@@ -434,7 +434,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
434
434
|
if (cleanInitialPath) {
|
|
435
435
|
const pathForExpansion = cleanInitialPath.includes(".") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
|
|
436
436
|
if (pathForExpansion) {
|
|
437
|
-
setExpandedNodes(new Set(
|
|
437
|
+
setExpandedNodes(new Set(_chunkYMWK7GOCcjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
|
|
438
438
|
}
|
|
439
439
|
} else if (nodes.length > 0) {
|
|
440
440
|
const hasRootReadme = nodes.some((node) => node.type === "file" && node.path === folderIndexFile);
|
|
@@ -474,7 +474,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
474
474
|
setContent(null);
|
|
475
475
|
return;
|
|
476
476
|
}
|
|
477
|
-
const probe =
|
|
477
|
+
const probe = _chunkYMWK7GOCcjs.findDocNodeByPath.call(void 0, _chunkYMWK7GOCcjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), structure);
|
|
478
478
|
const probeIsNoReadmeFolder = !!probe && probe.type === "folder" && !probe.hasReadme;
|
|
479
479
|
const preStructureFolderLike = structure.length === 0 && !path.endsWith(".md");
|
|
480
480
|
if (probeIsNoReadmeFolder || preStructureFolderLike) {
|
|
@@ -533,7 +533,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
533
533
|
if (selectedPath === "") {
|
|
534
534
|
pathToFetch = folderIndexFile;
|
|
535
535
|
} else {
|
|
536
|
-
const node =
|
|
536
|
+
const node = _chunkYMWK7GOCcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
|
|
537
537
|
if (node && node.type === "folder" && !node.hasReadme) {
|
|
538
538
|
const firstDocPath = findFirstDocPath(node);
|
|
539
539
|
if (!firstDocPath) {
|
|
@@ -574,16 +574,16 @@ function useDocumentTree(config, initialPath) {
|
|
|
574
574
|
if (node.type === "folder") {
|
|
575
575
|
setExpandedNodes((prev) => {
|
|
576
576
|
if (prev.has(node.id)) {
|
|
577
|
-
const ancestorIds =
|
|
577
|
+
const ancestorIds = _chunkYMWK7GOCcjs.getDocAncestorNodeIds.call(void 0, node.path);
|
|
578
578
|
ancestorIds.pop();
|
|
579
579
|
return new Set(ancestorIds);
|
|
580
580
|
}
|
|
581
|
-
return new Set(
|
|
581
|
+
return new Set(_chunkYMWK7GOCcjs.getDocAncestorNodeIds.call(void 0, node.path));
|
|
582
582
|
});
|
|
583
583
|
} else {
|
|
584
584
|
const lastSlash = node.path.lastIndexOf("/");
|
|
585
585
|
if (lastSlash > 0) {
|
|
586
|
-
setExpandedNodes(new Set(
|
|
586
|
+
setExpandedNodes(new Set(_chunkYMWK7GOCcjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
|
|
587
587
|
}
|
|
588
588
|
}
|
|
589
589
|
lastFetchedPath.current = null;
|
|
@@ -598,7 +598,7 @@ function useDocumentTree(config, initialPath) {
|
|
|
598
598
|
const hashIndex = path.indexOf("#");
|
|
599
599
|
const anchor = hashIndex !== -1 ? path.substring(hashIndex) : "";
|
|
600
600
|
const cleanPath = path.replace(/\/$/, "").split("#")[0];
|
|
601
|
-
const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current :
|
|
601
|
+
const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunkYMWK7GOCcjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
|
|
602
602
|
if (anchor && _optionalChain([options, 'optionalAccess', _7 => _7.fromInternalLink]) && pathForSelection === selectedPathRef.current) {
|
|
603
603
|
_chunkOJZBZH56cjs.navigateSamePageHash.call(void 0, anchor, { headerOffset: _chunkOJZBZH56cjs.HUB_HEADER_OFFSET_PX });
|
|
604
604
|
return;
|
|
@@ -662,15 +662,15 @@ function useDocumentTree(config, initialPath) {
|
|
|
662
662
|
return docNavigation.register({
|
|
663
663
|
baseRoute: normalizedBaseRoute,
|
|
664
664
|
findNodeByPath: (path) => {
|
|
665
|
-
const clean =
|
|
666
|
-
return _nullishCoalesce(
|
|
665
|
+
const clean = _chunkYMWK7GOCcjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
|
|
666
|
+
return _nullishCoalesce(_chunkYMWK7GOCcjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
|
|
667
667
|
},
|
|
668
668
|
selectNode
|
|
669
669
|
});
|
|
670
670
|
}, [docNavigation, normalizedBaseRoute, structure, selectNode, folderIndexFile]);
|
|
671
671
|
const isEmptyFolder = _react.useMemo.call(void 0, () => {
|
|
672
672
|
if (!selectedPath || structure.length === 0) return false;
|
|
673
|
-
const node =
|
|
673
|
+
const node = _chunkYMWK7GOCcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
|
|
674
674
|
return !!node && node.type === "folder" && !node.hasReadme && !findFirstDocPath(node);
|
|
675
675
|
}, [selectedPath, structure]);
|
|
676
676
|
return {
|
|
@@ -753,14 +753,14 @@ function DocViewerContent({
|
|
|
753
753
|
},
|
|
754
754
|
docPath
|
|
755
755
|
);
|
|
756
|
-
const { activeSection, handleSectionClick } =
|
|
756
|
+
const { activeSection, handleSectionClick } = _chunk5CEXT3V7cjs.useScrollSpy.call(void 0, _optionalChain([content, 'optionalAccess', _11 => _11.sections]));
|
|
757
757
|
const docNav = useDocNavigation();
|
|
758
758
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
759
759
|
const backCfg = backButton === false ? null : {
|
|
760
760
|
label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _12 => _12.label]), () => ( "Back to home")),
|
|
761
761
|
onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _13 => _13.href]), () => ( "/")))
|
|
762
762
|
};
|
|
763
|
-
const docSearch =
|
|
763
|
+
const docSearch = _chunkBUCCV72Ecjs.useDocSearch.call(void 0, {
|
|
764
764
|
source: chatSource,
|
|
765
765
|
baseRoute,
|
|
766
766
|
searchEndpoint,
|
|
@@ -784,7 +784,7 @@ function DocViewerContent({
|
|
|
784
784
|
onResolveLink: resolveLink
|
|
785
785
|
});
|
|
786
786
|
}, [content, renderContent, navigateToDoc, sourceId, resolveLink]);
|
|
787
|
-
const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([
|
|
787
|
+
const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunkYMWK7GOCcjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _14 => _14.documentType]) : void 0;
|
|
788
788
|
const activeDocType = _nullishCoalesce(_optionalChain([content, 'optionalAccess', _15 => _15.documentType]), () => ( selectedNodeDocType));
|
|
789
789
|
const isMarkdownContent = !activeDocType || activeDocType === "markdown";
|
|
790
790
|
const showStickyNav = isMarkdownContent;
|
|
@@ -795,10 +795,10 @@ function DocViewerContent({
|
|
|
795
795
|
const containerBgStyle = colorPalette.containerBackground !== "transparent" ? { backgroundColor: colorPalette.containerBackground } : {};
|
|
796
796
|
const defaultEmptyText = structure.length > 0 ? "Select a document from the sidebar to view" : "No documents yet. Add content from the admin panel.";
|
|
797
797
|
const resolvedEmptyText = emptyStateText || defaultEmptyText;
|
|
798
|
-
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
799
|
-
synced && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
798
|
+
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE56LN23Hcjs.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: [
|
|
799
|
+
synced && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFFEE2ON2cjs.DataSyncLine, { sync: _optionalChain([content, 'optionalAccess', _19 => _19.sync]), loading: !content && (isLoadingContent || isLoadingStructure) }),
|
|
800
800
|
showAIChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
801
|
-
|
|
801
|
+
_chunkBUCCV72Ecjs.DocSearchBar,
|
|
802
802
|
{
|
|
803
803
|
placeholder: `Search ${_optionalChain([sidebarLabel, 'optionalAccess', _20 => _20.toLowerCase, 'call', _21 => _21()]) || "documents"}...`,
|
|
804
804
|
query: docSearch.query,
|
|
@@ -819,7 +819,7 @@ function DocViewerContent({
|
|
|
819
819
|
!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: [
|
|
820
820
|
/* @__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: [
|
|
821
821
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PersistentMobileDropdown, { isLoading: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
822
|
-
|
|
822
|
+
_chunk5CEXT3V7cjs.MobileNavigationDropdown,
|
|
823
823
|
{
|
|
824
824
|
nodes: structure,
|
|
825
825
|
selectedPath,
|
|
@@ -833,7 +833,7 @@ function DocViewerContent({
|
|
|
833
833
|
/* @__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: [
|
|
834
834
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children: sidebarLabel }),
|
|
835
835
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
836
|
-
|
|
836
|
+
_chunk5CEXT3V7cjs.MultiLevelNavigation,
|
|
837
837
|
{
|
|
838
838
|
nodes: structure,
|
|
839
839
|
selectedPath,
|
|
@@ -864,7 +864,7 @@ function DocViewerContent({
|
|
|
864
864
|
"div",
|
|
865
865
|
{
|
|
866
866
|
className: `border-l-2 py-[13px] pl-3 ${i === 0 ? "border-ods-accent" : "border-transparent"}`,
|
|
867
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
867
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { className: "h-[13px] rounded", width: w })
|
|
868
868
|
},
|
|
869
869
|
i
|
|
870
870
|
)) })
|
|
@@ -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
|
+
_chunk5CEXT3V7cjs.StickySectionNav,
|
|
876
876
|
{
|
|
877
877
|
sections: stickyNavSections,
|
|
878
878
|
activeSection,
|
|
@@ -887,7 +887,7 @@ 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, _chunkFFEE2ON2cjs.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/skeletons.tsx
|
|
@@ -903,17 +903,17 @@ var MARKDOWN_SKELETON_BLOCKS = [
|
|
|
903
903
|
{ kind: "p", lines: 3 },
|
|
904
904
|
{ kind: "p", lines: 4 }
|
|
905
905
|
];
|
|
906
|
-
var MARKDOWN_SKELETON_H2_CLASS =
|
|
907
|
-
var MARKDOWN_SKELETON_P_CLASS =
|
|
906
|
+
var MARKDOWN_SKELETON_H2_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0, _chunk3H3CQ7BQcjs.MARKDOWN_H2_CLASS, _chunk3H3CQ7BQcjs.TEXT_SIZE_PRESETS.default.h2);
|
|
907
|
+
var MARKDOWN_SKELETON_P_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0, _chunk3H3CQ7BQcjs.MARKDOWN_PARAGRAPH_CLASS, _chunk3H3CQ7BQcjs.TEXT_SIZE_PRESETS.default.p);
|
|
908
908
|
function MarkdownSkeleton({
|
|
909
909
|
region = true
|
|
910
910
|
} = {}) {
|
|
911
911
|
return (
|
|
912
912
|
// The renderer's root class, and its box (no margin of its own, like the rendered body): the document's first fold.
|
|
913
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
913
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLKQ33CMYcjs.LoadingRegion, { label: "Loading the document", announce: region, className: _chunk3H3CQ7BQcjs.MARKDOWN_RENDERER_CLASS, children: MARKDOWN_SKELETON_BLOCKS.map(
|
|
914
914
|
(block, i) => block.kind === "h2" ? (
|
|
915
915
|
// biome-ignore lint/suspicious/noArrayIndexKey: skeleton blocks never reorder
|
|
916
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: MARKDOWN_SKELETON_H2_CLASS, "aria-hidden": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
916
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: MARKDOWN_SKELETON_H2_CLASS, "aria-hidden": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-1/3" }) }, i)
|
|
917
917
|
) : (
|
|
918
918
|
// The last block ends the body with no margin, like the rendered one. Its own `last:mb-0` does not apply here:
|
|
919
919
|
// the region's status line follows the blocks, so the paragraph is not the last child.
|
|
@@ -921,9 +921,9 @@ function MarkdownSkeleton({
|
|
|
921
921
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
922
922
|
"p",
|
|
923
923
|
{
|
|
924
|
-
className:
|
|
924
|
+
className: _chunk7JWFMAQBcjs.cn.call(void 0, MARKDOWN_SKELETON_P_CLASS, i === MARKDOWN_SKELETON_BLOCKS.length - 1 && "mb-0"),
|
|
925
925
|
"aria-hidden": true,
|
|
926
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
926
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", lines: block.lines, className: "w-full" })
|
|
927
927
|
},
|
|
928
928
|
i
|
|
929
929
|
)
|
|
@@ -934,32 +934,32 @@ function MarkdownSkeleton({
|
|
|
934
934
|
function EmbedSkeleton({ documentType, region = true } = {}) {
|
|
935
935
|
if (documentType === "file") {
|
|
936
936
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
937
|
-
|
|
937
|
+
_chunkLKQ33CMYcjs.LoadingRegion,
|
|
938
938
|
{
|
|
939
939
|
label: "Loading the document",
|
|
940
940
|
announce: region,
|
|
941
941
|
className: "flex flex-col items-center justify-center py-16",
|
|
942
942
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full max-w-md space-y-4 rounded-xl border border-ods-border bg-ods-card p-8 text-center", children: [
|
|
943
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
943
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { className: "mx-auto h-16 w-16 rounded" }),
|
|
944
944
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
945
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
946
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
945
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { className: "mx-auto h-5 w-2/3 rounded" }),
|
|
946
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { className: "mx-auto h-4 w-1/2 rounded" })
|
|
947
947
|
] }),
|
|
948
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
948
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { className: "h-10 w-full rounded" })
|
|
949
949
|
] })
|
|
950
950
|
}
|
|
951
951
|
);
|
|
952
952
|
}
|
|
953
953
|
const buttonCount = documentType === "pdf" ? 2 : 1;
|
|
954
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
954
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkLKQ33CMYcjs.LoadingRegion, { label: "Loading the document", announce: region, className: "space-y-4", children: [
|
|
955
955
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-3 content-sm:flex-row content-sm:items-center content-sm:justify-between", children: [
|
|
956
956
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
957
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
958
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
957
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { className: "h-5 w-5 shrink-0 rounded" }),
|
|
958
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { className: "h-6 w-2/3 rounded" })
|
|
959
959
|
] }),
|
|
960
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full items-center gap-2 content-sm:w-auto", children: Array.from({ length: buttonCount }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
960
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full items-center gap-2 content-sm:w-auto", children: Array.from({ length: buttonCount }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { className: "h-10 w-full flex-1 rounded content-sm:w-32 content-sm:flex-initial" }, i)) })
|
|
961
961
|
] }),
|
|
962
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
962
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFFEE2ON2cjs.EmbedLoadingSkeleton, { region: false })
|
|
963
963
|
] });
|
|
964
964
|
}
|
|
965
965
|
|
|
@@ -967,11 +967,11 @@ function EmbedSkeleton({ documentType, region = true } = {}) {
|
|
|
967
967
|
|
|
968
968
|
var DEFAULT_TITLE = "Documents";
|
|
969
969
|
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" }) });
|
|
970
|
-
var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
971
|
-
var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
972
|
-
var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
970
|
+
var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGAFNJDZVcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
|
|
971
|
+
var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGAFNJDZVcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
|
|
972
|
+
var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFFEE2ON2cjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
|
|
973
973
|
var defaultFileRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
974
|
-
|
|
974
|
+
_chunkGAFNJDZVcjs.FileDownloadCard,
|
|
975
975
|
{
|
|
976
976
|
fileName: content.fileName,
|
|
977
977
|
mimeType: content.mimeType,
|
|
@@ -9,24 +9,24 @@ var _chunkLHV2R6QUcjs = require('./chunk-LHV2R6QU.cjs');
|
|
|
9
9
|
var _chunkFDZOE5TLcjs = require('./chunk-FDZOE5TL.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
13
|
-
require('./chunk-
|
|
14
|
-
require('./chunk-
|
|
15
|
-
require('./chunk-
|
|
12
|
+
var _chunkFFEE2ON2cjs = require('./chunk-FFEE2ON2.cjs');
|
|
13
|
+
require('./chunk-DTBIIFZG.cjs');
|
|
14
|
+
require('./chunk-NG3RKTQU.cjs');
|
|
15
|
+
require('./chunk-E56LN23H.cjs');
|
|
16
16
|
require('./chunk-HQQE74RO.cjs');
|
|
17
17
|
require('./chunk-DEY6XXGO.cjs');
|
|
18
|
-
require('./chunk-
|
|
18
|
+
require('./chunk-BWR5ACK3.cjs');
|
|
19
19
|
require('./chunk-VXAKQRV7.cjs');
|
|
20
20
|
require('./chunk-24I6RFVU.cjs');
|
|
21
21
|
require('./chunk-A6P6DHEZ.cjs');
|
|
22
22
|
require('./chunk-MZ4KBSH7.cjs');
|
|
23
|
-
require('./chunk-
|
|
24
|
-
require('./chunk-
|
|
25
|
-
require('./chunk-
|
|
26
|
-
require('./chunk-
|
|
27
|
-
require('./chunk-
|
|
28
|
-
require('./chunk-
|
|
29
|
-
require('./chunk-
|
|
23
|
+
require('./chunk-YR74H7Z3.cjs');
|
|
24
|
+
require('./chunk-YMWK7GOC.cjs');
|
|
25
|
+
require('./chunk-3H3CQ7BQ.cjs');
|
|
26
|
+
require('./chunk-7MV23NNT.cjs');
|
|
27
|
+
require('./chunk-ZD6SZLO2.cjs');
|
|
28
|
+
require('./chunk-3NGJ7NPT.cjs');
|
|
29
|
+
require('./chunk-JTIGKLKJ.cjs');
|
|
30
30
|
require('./chunk-ZOZR3QI2.cjs');
|
|
31
31
|
require('./chunk-OMV5S5PI.cjs');
|
|
32
32
|
require('./chunk-KHPX3KU4.cjs');
|
|
@@ -1815,21 +1815,21 @@ require('./chunk-LMBYZITR.cjs');
|
|
|
1815
1815
|
require('./chunk-TMVC7S2R.cjs');
|
|
1816
1816
|
require('./chunk-IYHH5EIO.cjs');
|
|
1817
1817
|
require('./chunk-XIBCMGBW.cjs');
|
|
1818
|
-
require('./chunk-
|
|
1818
|
+
require('./chunk-6GCXQIUU.cjs');
|
|
1819
1819
|
require('./chunk-OJZBZH56.cjs');
|
|
1820
|
-
require('./chunk-
|
|
1820
|
+
require('./chunk-HATRCNXJ.cjs');
|
|
1821
1821
|
require('./chunk-JKX2C3I2.cjs');
|
|
1822
1822
|
require('./chunk-7DNL734S.cjs');
|
|
1823
1823
|
require('./chunk-WWUSFOJ7.cjs');
|
|
1824
1824
|
require('./chunk-SKI6NKOE.cjs');
|
|
1825
1825
|
require('./chunk-EWPR7662.cjs');
|
|
1826
|
-
require('./chunk-
|
|
1827
|
-
require('./chunk-
|
|
1828
|
-
require('./chunk-
|
|
1829
|
-
require('./chunk-
|
|
1830
|
-
require('./chunk-
|
|
1831
|
-
require('./chunk-
|
|
1832
|
-
require('./chunk-
|
|
1826
|
+
require('./chunk-IS77JFF6.cjs');
|
|
1827
|
+
require('./chunk-QKXXHOOD.cjs');
|
|
1828
|
+
require('./chunk-YBTORXFY.cjs');
|
|
1829
|
+
require('./chunk-2JCY5KQL.cjs');
|
|
1830
|
+
require('./chunk-P4B6PVSG.cjs');
|
|
1831
|
+
require('./chunk-VVLL37EM.cjs');
|
|
1832
|
+
require('./chunk-6UKH22NQ.cjs');
|
|
1833
1833
|
require('./chunk-S5C3OZCO.cjs');
|
|
1834
1834
|
require('./chunk-32ASZMTV.cjs');
|
|
1835
1835
|
require('./chunk-OOYBIS7D.cjs');
|
|
@@ -1838,25 +1838,25 @@ require('./chunk-6VOOPMP5.cjs');
|
|
|
1838
1838
|
require('./chunk-ORO54HDF.cjs');
|
|
1839
1839
|
require('./chunk-RUHKTWGB.cjs');
|
|
1840
1840
|
require('./chunk-BLH2SFOO.cjs');
|
|
1841
|
-
require('./chunk-
|
|
1841
|
+
require('./chunk-XR323UBY.cjs');
|
|
1842
1842
|
require('./chunk-7PNRXJX2.cjs');
|
|
1843
1843
|
require('./chunk-NTPX5GXI.cjs');
|
|
1844
1844
|
require('./chunk-AQXKXZWB.cjs');
|
|
1845
1845
|
require('./chunk-V4FXUIMH.cjs');
|
|
1846
1846
|
require('./chunk-SZHDXXMK.cjs');
|
|
1847
|
-
require('./chunk-
|
|
1847
|
+
require('./chunk-5RGGUQ4Y.cjs');
|
|
1848
1848
|
require('./chunk-5GJM7VRR.cjs');
|
|
1849
|
-
require('./chunk-
|
|
1849
|
+
require('./chunk-KUXHXLJQ.cjs');
|
|
1850
1850
|
require('./chunk-UJ7AXHRZ.cjs');
|
|
1851
|
-
require('./chunk-
|
|
1852
|
-
require('./chunk-
|
|
1853
|
-
require('./chunk-
|
|
1851
|
+
require('./chunk-TTZEDDR5.cjs');
|
|
1852
|
+
require('./chunk-GD47ZGOU.cjs');
|
|
1853
|
+
require('./chunk-NL3G642U.cjs');
|
|
1854
1854
|
require('./chunk-Z74QE57T.cjs');
|
|
1855
1855
|
require('./chunk-XZJCBIYR.cjs');
|
|
1856
|
-
require('./chunk-
|
|
1857
|
-
require('./chunk-
|
|
1858
|
-
require('./chunk-
|
|
1859
|
-
require('./chunk-
|
|
1856
|
+
require('./chunk-LKQ33CMY.cjs');
|
|
1857
|
+
require('./chunk-4WIJI4AK.cjs');
|
|
1858
|
+
require('./chunk-AHBTZ7DN.cjs');
|
|
1859
|
+
require('./chunk-7JWFMAQB.cjs');
|
|
1860
1860
|
require('./chunk-V45KLJQP.cjs');
|
|
1861
1861
|
require('./chunk-KHKPLOU4.cjs');
|
|
1862
1862
|
|
|
@@ -1918,7 +1918,7 @@ var getHref = () => "#";
|
|
|
1918
1918
|
function CloudTenantsScreen(_props) {
|
|
1919
1919
|
const cast = _chunkLHV2R6QUcjs.useProductDemoCast.call(void 0, );
|
|
1920
1920
|
const fixture = _react.useMemo.call(void 0, () => buildCloudTenantsFixture(cast), [cast]);
|
|
1921
|
-
const table = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1921
|
+
const table = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFFEE2ON2cjs.TenantsTableView, { rows: fixture.rows, getHref, now: fixture.now });
|
|
1922
1922
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full bg-ods-bg p-[var(--spacing-system-l)]", children: table });
|
|
1923
1923
|
}
|
|
1924
1924
|
|