@flamingo-stack/openframe-frontend-core 0.0.828 → 0.0.829
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/{chunk-ALRX2VIY.cjs → chunk-4DUVTJ6A.cjs} +13 -13
- package/dist/{chunk-B5H7RKFF.cjs → chunk-4ZIKDOPY.cjs} +4 -4
- package/dist/{chunk-6SFCI6D4.cjs → chunk-6WNSZ5XP.cjs} +12 -14
- package/dist/{chunk-UULSSD56.cjs → chunk-AH4YWTWZ.cjs} +5 -5
- package/dist/{chunk-7VC5FVWT.cjs → chunk-DWSU35QQ.cjs} +62 -62
- package/dist/{chunk-3WKQ2GCR.cjs → chunk-HMC2IWV4.cjs} +4 -6
- package/dist/{chunk-RPKWEBHC.cjs → chunk-IBQ3CSKL.cjs} +3 -3
- package/dist/{chunk-ZT7JHN7G.cjs → chunk-IFLGIBFZ.cjs} +54 -59
- package/dist/{chunk-4ZH7RPEA.cjs → chunk-IHRMX3X6.cjs} +154 -154
- package/dist/{chunk-6ZLCEIIC.cjs → chunk-IMDYB77M.cjs} +21 -21
- package/dist/chunk-IX2E3AN7.cjs +77 -0
- package/dist/{chunk-VAIML6YU.cjs → chunk-LNXRTVOY.cjs} +13 -13
- package/dist/{chunk-QMQWXGCH.cjs → chunk-MFYSV7DE.cjs} +23 -19
- package/dist/{chunk-K6X7VP2Y.cjs → chunk-PRZAEPGG.cjs} +41 -41
- package/dist/{chunk-XPF74L76.cjs → chunk-R3PKAIX3.cjs} +2 -2
- package/dist/{chunk-UWGPYAB3.cjs → chunk-THPAGFT6.cjs} +47 -47
- package/dist/{chunk-DR4P7AEU.cjs → chunk-UE5ZBCJ4.cjs} +3 -3
- package/dist/{chunk-BGT6JFMP.cjs → chunk-UO6F6LLI.cjs} +41 -5
- package/dist/{chunk-SVCTAOJR.cjs → chunk-YHQDB5QJ.cjs} +2 -2
- package/dist/{chunk-YKUL6JBI.cjs → chunk-ZJXLNIWC.cjs} +46 -34
- package/dist/{cloud-tenants-LKTWIZNS.cjs → cloud-tenants-YVCSVVIS.cjs} +8 -7
- package/dist/components/case-studies/index.cjs +20 -19
- package/dist/components/chat/assistant-ask-prompts.d.ts +5 -1
- package/dist/components/chat/assistant-ask-prompts.d.ts.map +1 -1
- package/dist/components/chat/assistant-ask-prompts.js +3 -1
- package/dist/components/chat/embeddable-chat.js +1 -0
- package/dist/components/chat/guide-welcome.d.ts +10 -1
- package/dist/components/chat/guide-welcome.d.ts.map +1 -1
- package/dist/components/chat/guide-welcome.js +12 -2
- package/dist/components/chat/hooks/use-empty-state-config.d.ts +13 -3
- package/dist/components/chat/hooks/use-empty-state-config.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-empty-state-config.js +10 -2
- package/dist/components/chat/index.cjs +7 -3
- package/dist/components/contact/index.cjs +9 -8
- package/dist/components/docs/index.cjs +12 -11
- package/dist/components/embeds/index.cjs +9 -8
- package/dist/components/faq/faq-ask-card.d.ts +2 -13
- package/dist/components/faq/faq-ask-card.d.ts.map +1 -1
- package/dist/components/faq/faq-ask-card.js +1 -2
- package/dist/components/faq/faq-document-page.d.ts +2 -4
- package/dist/components/faq/faq-document-page.d.ts.map +1 -1
- package/dist/components/faq/faq-document-page.js +0 -2
- package/dist/components/faq/faq-section.d.ts +16 -29
- package/dist/components/faq/faq-section.d.ts.map +1 -1
- package/dist/components/faq/faq-section.js +23 -15
- package/dist/components/faq/index.cjs +10 -9
- package/dist/components/faq/index.d.ts +1 -1
- package/dist/components/faq/index.d.ts.map +1 -1
- package/dist/components/faq/index.js +2 -2
- package/dist/components/features/index.cjs +8 -7
- package/dist/components/help-center-pages/delivery-page.d.ts +1 -8
- package/dist/components/help-center-pages/delivery-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/delivery-page.js +4 -16
- package/dist/components/help-center-pages/download-apps-page.d.ts +1 -8
- package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/download-apps-page.js +3 -4
- package/dist/components/help-center-pages/index.cjs +114 -162
- package/dist/components/help-center-pages/onboarding-guides-catalog-page.d.ts +1 -8
- package/dist/components/help-center-pages/onboarding-guides-catalog-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/onboarding-guides-catalog-page.js +14 -26
- package/dist/components/help-center-pages/product-releases-list-page.d.ts +1 -8
- package/dist/components/help-center-pages/product-releases-list-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/product-releases-list-page.js +12 -24
- package/dist/components/help-center-pages/roadmap-page.d.ts +1 -8
- package/dist/components/help-center-pages/roadmap-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/roadmap-page.js +13 -25
- package/dist/components/help-center-pages/trust-center-page.d.ts +1 -1
- package/dist/components/help-center-pages/trust-center-page.d.ts.map +1 -1
- package/dist/components/index.cjs +50 -45
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +1 -0
- package/dist/components/meeting-scheduler/index.cjs +39 -38
- package/dist/components/navigation/index.cjs +11 -10
- package/dist/components/onboarding-guides/index.cjs +10 -9
- package/dist/components/page-topic-label.d.ts +13 -0
- package/dist/components/page-topic-label.d.ts.map +1 -0
- package/dist/components/page-topic-label.js +20 -0
- package/dist/components/product-demo/index.cjs +17 -16
- package/dist/components/shared/dev-section/dev-section-page.d.ts +1 -8
- package/dist/components/shared/dev-section/dev-section-page.d.ts.map +1 -1
- package/dist/components/shared/dev-section/dev-section-page.js +2 -3
- package/dist/components/shared/legal-document/legal-document-page.d.ts +2 -10
- package/dist/components/shared/legal-document/legal-document-page.d.ts.map +1 -1
- package/dist/components/shared/legal-document/legal-document-page.js +2 -5
- package/dist/components/shared/legal-document/use-legal-documents.d.ts +0 -2
- package/dist/components/shared/legal-document/use-legal-documents.d.ts.map +1 -1
- package/dist/components/shared/legal-document/use-legal-documents.js +0 -1
- package/dist/components/tickets/index.cjs +13 -12
- package/dist/components/ui/index.cjs +10 -7
- package/dist/contexts/endpoints-runtime-context.d.ts +5 -0
- package/dist/contexts/endpoints-runtime-context.d.ts.map +1 -1
- package/dist/contexts/index.cjs +10 -1
- package/dist/contexts/index.d.ts +1 -0
- package/dist/contexts/index.d.ts.map +1 -1
- package/dist/contexts/index.js +4 -0
- package/dist/contexts/page-topics-context.d.ts +30 -0
- package/dist/contexts/page-topics-context.d.ts.map +1 -0
- package/dist/contexts/page-topics-context.js +27 -0
- package/dist/{devices-JWG72ANF.cjs → devices-AW6BERJF.cjs} +9 -8
- package/dist/{embeddable-chat-5UT6UHEO.cjs → embeddable-chat-ZJIOMMSA.cjs} +74 -71
- package/dist/hooks/index.cjs +3 -3
- package/dist/index.cjs +25 -11
- package/dist/{knowledge-DQXVSHME.cjs → knowledge-PEOXTIVS.cjs} +9 -8
- package/dist/{logs-Z33VBTVX.cjs → logs-CYA7H4KM.cjs} +15 -14
- package/dist/{policies-XE4UMH6Z.cjs → policies-M6QSFL5G.cjs} +12 -11
- package/dist/{scripts-MECQG5GG.cjs → scripts-Y46ECDDP.cjs} +13 -12
- package/dist/{software-update-PCSIA6BP.cjs → software-update-OTC2DGQZ.cjs} +11 -10
- package/dist/utils/index.cjs +46 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +12 -0
- package/dist/utils/page-topics.cjs +48 -0
- package/dist/utils/page-topics.d.ts +34 -0
- package/dist/utils/page-topics.d.ts.map +1 -0
- package/dist/utils/page-topics.js +46 -0
- package/package.json +7 -1
- package/src/components/chat/assistant-ask-prompts.tsx +8 -2
- package/src/components/chat/embeddable-chat.tsx +3 -0
- package/src/components/chat/guide-welcome.tsx +26 -2
- package/src/components/chat/hooks/use-empty-state-config.ts +22 -5
- package/src/components/faq/faq-ask-card.tsx +2 -12
- package/src/components/faq/faq-document-page.tsx +1 -5
- package/src/components/faq/faq-section.tsx +47 -50
- package/src/components/faq/index.ts +1 -2
- package/src/components/help-center-pages/delivery-page.tsx +1 -16
- package/src/components/help-center-pages/download-apps-page.tsx +2 -9
- package/src/components/help-center-pages/onboarding-guides-catalog-page.tsx +1 -16
- package/src/components/help-center-pages/product-releases-list-page.tsx +1 -16
- package/src/components/help-center-pages/roadmap-page.tsx +1 -16
- package/src/components/help-center-pages/trust-center-page.tsx +1 -1
- package/src/components/index.ts +1 -0
- package/src/components/page-topic-label.tsx +30 -0
- package/src/components/shared/dev-section/dev-section-page.tsx +2 -9
- package/src/components/shared/legal-document/legal-document-page.tsx +3 -13
- package/src/components/shared/legal-document/use-legal-documents.ts +0 -3
- package/src/contexts/endpoints-runtime-context.tsx +5 -0
- package/src/contexts/index.ts +1 -0
- package/src/contexts/page-topics-context.tsx +68 -0
- package/src/utils/index.ts +8 -0
- package/src/utils/page-topics.ts +81 -0
- package/dist/{chunk-IKWQW3YJ.cjs → chunk-AY6XJOIN.cjs} +4 -4
|
@@ -36,7 +36,7 @@ var _chunk7PZQ7SHBcjs = require('./chunk-7PZQ7SHB.cjs');
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
var
|
|
39
|
+
var _chunkYHQDB5QJcjs = require('./chunk-YHQDB5QJ.cjs');
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
var _chunkDEY6XXGOcjs = require('./chunk-DEY6XXGO.cjs');
|
|
@@ -52,18 +52,13 @@ var _chunkDEY6XXGOcjs = require('./chunk-DEY6XXGO.cjs');
|
|
|
52
52
|
|
|
53
53
|
|
|
54
54
|
|
|
55
|
-
var
|
|
55
|
+
var _chunkAY6XJOINcjs = require('./chunk-AY6XJOIN.cjs');
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
var _chunkAPOMNC7Hcjs = require('./chunk-APOMNC7H.cjs');
|
|
60
60
|
|
|
61
61
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
65
|
-
|
|
66
|
-
|
|
67
62
|
var _chunk5SZ4ILU3cjs = require('./chunk-5SZ4ILU3.cjs');
|
|
68
63
|
|
|
69
64
|
|
|
@@ -106,7 +101,7 @@ var _chunk5SZ4ILU3cjs = require('./chunk-5SZ4ILU3.cjs');
|
|
|
106
101
|
|
|
107
102
|
|
|
108
103
|
|
|
109
|
-
var
|
|
104
|
+
var _chunkMFYSV7DEcjs = require('./chunk-MFYSV7DE.cjs');
|
|
110
105
|
|
|
111
106
|
|
|
112
107
|
|
|
@@ -133,7 +128,7 @@ var _chunkOT6P57ZScjs = require('./chunk-OT6P57ZS.cjs');
|
|
|
133
128
|
|
|
134
129
|
|
|
135
130
|
|
|
136
|
-
var
|
|
131
|
+
var _chunkUO6F6LLIcjs = require('./chunk-UO6F6LLI.cjs');
|
|
137
132
|
|
|
138
133
|
|
|
139
134
|
|
|
@@ -490,6 +485,11 @@ var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
|
490
485
|
|
|
491
486
|
|
|
492
487
|
|
|
488
|
+
var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
|
|
493
493
|
|
|
494
494
|
|
|
495
495
|
|
|
@@ -714,7 +714,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
714
714
|
var useTheme = _nextthemes.useTheme;
|
|
715
715
|
function useThemeToggle() {
|
|
716
716
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
717
|
-
const mounted =
|
|
717
|
+
const mounted = _chunkUO6F6LLIcjs.useIsHydrated.call(void 0, );
|
|
718
718
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
719
719
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
720
720
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -2448,7 +2448,7 @@ function InfoCardValueRow({
|
|
|
2448
2448
|
copyAriaLabel,
|
|
2449
2449
|
loading: loadingProp
|
|
2450
2450
|
}) {
|
|
2451
|
-
const { copy, copied } =
|
|
2451
|
+
const { copy, copied } = _chunkAY6XJOINcjs.useCopyToClipboard.call(void 0, );
|
|
2452
2452
|
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || loadingProp;
|
|
2453
2453
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: VALUE_ROW_CLASS, children: [
|
|
2454
2454
|
loading && label === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "h4", className: "w-20" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: ROW_LABEL_CLASS, children: showLabel ? _nullishCoalesce(label, () => ( "")) : "" }),
|
|
@@ -4561,14 +4561,14 @@ function AdminFormDrawer({
|
|
|
4561
4561
|
else onClose();
|
|
4562
4562
|
};
|
|
4563
4563
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4564
|
-
|
|
4564
|
+
_chunkYHQDB5QJcjs.Drawer,
|
|
4565
4565
|
{
|
|
4566
4566
|
open: isOpen,
|
|
4567
4567
|
onOpenChange: (open) => {
|
|
4568
4568
|
if (!open) requestClose();
|
|
4569
4569
|
},
|
|
4570
4570
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4571
|
-
|
|
4571
|
+
_chunkYHQDB5QJcjs.DrawerContent,
|
|
4572
4572
|
{
|
|
4573
4573
|
side: "right",
|
|
4574
4574
|
resizable: true,
|
|
@@ -4577,15 +4577,15 @@ function AdminFormDrawer({
|
|
|
4577
4577
|
storageKey,
|
|
4578
4578
|
panelClassName: "max-md:w-[calc(100vw-1rem)]",
|
|
4579
4579
|
children: [
|
|
4580
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4581
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4582
|
-
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4580
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYHQDB5QJcjs.DrawerHeader, { children: [
|
|
4581
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYHQDB5QJcjs.DrawerTitle, { children: title }),
|
|
4582
|
+
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYHQDB5QJcjs.DrawerDescription, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: subtitle }) })
|
|
4583
4583
|
] }),
|
|
4584
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4584
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYHQDB5QJcjs.DrawerBody, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4585
4585
|
"form",
|
|
4586
4586
|
{
|
|
4587
4587
|
id: formId,
|
|
4588
|
-
...
|
|
4588
|
+
..._chunkMFYSV7DEcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4589
4589
|
className: "flex flex-col gap-[var(--spacing-system-lf)]",
|
|
4590
4590
|
onSubmit: (e) => {
|
|
4591
4591
|
e.preventDefault();
|
|
@@ -4692,7 +4692,7 @@ function AdminFormModal({
|
|
|
4692
4692
|
"form",
|
|
4693
4693
|
{
|
|
4694
4694
|
id: formId,
|
|
4695
|
-
...
|
|
4695
|
+
..._chunkMFYSV7DEcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4696
4696
|
className: "flex min-h-0 flex-1 flex-col",
|
|
4697
4697
|
onSubmit: (e) => {
|
|
4698
4698
|
e.preventDefault();
|
|
@@ -6063,7 +6063,7 @@ function EmbedViewerFrame({
|
|
|
6063
6063
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
6064
6064
|
_react.useEffect.call(void 0, () => {
|
|
6065
6065
|
if (!fullscreenControl) return void 0;
|
|
6066
|
-
const controller = new (0,
|
|
6066
|
+
const controller = new (0, _chunkMFYSV7DEcjs.FullscreenSwitchController)({
|
|
6067
6067
|
target: () => frameRef.current,
|
|
6068
6068
|
onFullscreenChange: setIsFullscreen
|
|
6069
6069
|
});
|
|
@@ -6157,7 +6157,7 @@ var KIND_HEADING = {
|
|
|
6157
6157
|
design: "Claude Design"
|
|
6158
6158
|
};
|
|
6159
6159
|
function ClaudeEmbed({ url, kind = "artifact", title, height, loading = "lazy" }) {
|
|
6160
|
-
const { src: mirrorSrc, status } =
|
|
6160
|
+
const { src: mirrorSrc, status } = _chunkAY6XJOINcjs.useClaudeMirrorSrc.call(void 0, url);
|
|
6161
6161
|
const isProbing = status === "probing";
|
|
6162
6162
|
const embedUrl = isProbing ? null : _nullishCoalesce(mirrorSrc, () => ( _chunk2VLPXUQKcjs.toClaudeEmbedUrl.call(void 0, url)));
|
|
6163
6163
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -7312,7 +7312,7 @@ var formatTimeAgo = (timestamp) => {
|
|
|
7312
7312
|
return `${Math.floor(diffSeconds / 86400)}d ago`;
|
|
7313
7313
|
};
|
|
7314
7314
|
function RedditEmbedClient({ url, maxWidth = 700, rel }) {
|
|
7315
|
-
const postLinkRel =
|
|
7315
|
+
const postLinkRel = _chunkUO6F6LLIcjs.renderedLinkRel.call(void 0, rel, true);
|
|
7316
7316
|
const { redditProxyUrl } = useRichMarkdownRuntime();
|
|
7317
7317
|
const [redditData, setRedditData] = _react.useState.call(void 0, null);
|
|
7318
7318
|
const [loading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7644,7 +7644,7 @@ var UserIcon3 = () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg", { wid
|
|
|
7644
7644
|
] });
|
|
7645
7645
|
var XIcon = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2TEMEXDTcjs.XLogoIcon, { className: "h-5 w-5", color: "currentColor" });
|
|
7646
7646
|
function TwitterEmbedClient({ url, tweetId, maxWidth = 700, rel }) {
|
|
7647
|
-
const postLinkRel =
|
|
7647
|
+
const postLinkRel = _chunkUO6F6LLIcjs.renderedLinkRel.call(void 0, rel, true);
|
|
7648
7648
|
const { twitterProxyUrl } = useRichMarkdownRuntime();
|
|
7649
7649
|
const [tweetData, setTweetData] = _react.useState.call(void 0, null);
|
|
7650
7650
|
const [fetchLoading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7846,7 +7846,7 @@ function buildRichEmbedOverrides({
|
|
|
7846
7846
|
ogEndpointPath,
|
|
7847
7847
|
textSizes
|
|
7848
7848
|
}) {
|
|
7849
|
-
const standard =
|
|
7849
|
+
const standard = _chunkUO6F6LLIcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7850
7850
|
return {
|
|
7851
7851
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7852
7852
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7982,14 +7982,14 @@ function buildRichEmbedOverrides({
|
|
|
7982
7982
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7983
7983
|
// elsewhere). Guard against empty `![]()`.
|
|
7984
7984
|
img: ({ src, alt }) => {
|
|
7985
|
-
if (!
|
|
7985
|
+
if (!_chunkUO6F6LLIcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7986
7986
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7987
7987
|
},
|
|
7988
7988
|
// Raw <iframe> tags in stored content (a pasted YouTube embed). A YouTube one becomes the same click-to-play
|
|
7989
7989
|
// facade as the `youtube-embed` fence: the raw iframe loaded YouTube's whole player (about 470 KB of script) with
|
|
7990
7990
|
// the page, on every post that carried one (CU-17tkuw5xp4q). Any other iframe loads when it nears the screen.
|
|
7991
7991
|
iframe: ({ node: _node, src, ...rest }) => {
|
|
7992
|
-
if (!
|
|
7992
|
+
if (!_chunkUO6F6LLIcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7993
7993
|
const url = src.trim();
|
|
7994
7994
|
if (_chunk6GPMVHJNcjs.extractYouTubeId.call(void 0, url)) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6GPMVHJNcjs.Video, { kind: "youtube", url });
|
|
7995
7995
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "iframe", { ...rest, src: url, loading: "lazy" });
|
|
@@ -7997,7 +7997,7 @@ function buildRichEmbedOverrides({
|
|
|
7997
7997
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7998
7998
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7999
7999
|
video: ({ src, poster, className }) => {
|
|
8000
|
-
if (!
|
|
8000
|
+
if (!_chunkUO6F6LLIcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
8001
8001
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `overflow-hidden ${className || "my-8 w-full rounded-lg"}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6GPMVHJNcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
8002
8002
|
}
|
|
8003
8003
|
};
|
|
@@ -8183,13 +8183,13 @@ var RichMarkdownInner = ({
|
|
|
8183
8183
|
},
|
|
8184
8184
|
[resolveLinkEndpointUrl, resolveSource]
|
|
8185
8185
|
);
|
|
8186
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
8186
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkUO6F6LLIcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
8187
8187
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
8188
8188
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
8189
8189
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
8190
8190
|
);
|
|
8191
8191
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8192
|
-
|
|
8192
|
+
_chunkUO6F6LLIcjs.MarkdownEngine,
|
|
8193
8193
|
{
|
|
8194
8194
|
content,
|
|
8195
8195
|
className,
|
|
@@ -8214,7 +8214,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
8214
8214
|
className = "",
|
|
8215
8215
|
sectionIds,
|
|
8216
8216
|
onInternalLinkClick,
|
|
8217
|
-
brokenLinks =
|
|
8217
|
+
brokenLinks = _chunkUO6F6LLIcjs.NO_BROKEN_LINKS,
|
|
8218
8218
|
currentPath,
|
|
8219
8219
|
resolveSource = "openframe-docs",
|
|
8220
8220
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -9986,7 +9986,7 @@ var BenefitCardGrid = ({ children, className = "", columns = 2 }) => {
|
|
|
9986
9986
|
|
|
9987
9987
|
|
|
9988
9988
|
function PlatformBrowseButton({ item }) {
|
|
9989
|
-
const linkProps =
|
|
9989
|
+
const linkProps = _chunkUO6F6LLIcjs.useNavLinkViaRuntime.call(void 0, { href: item.link, targetPlatform: item.targetPlatform });
|
|
9990
9990
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFCZAUK4Dcjs.Button, { variant: "outline", linkProps, rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4" }), children: [
|
|
9991
9991
|
"Browse ",
|
|
9992
9992
|
item.buttonText
|
|
@@ -10505,10 +10505,10 @@ var OSTypeBadge = ({
|
|
|
10505
10505
|
if (!osType) {
|
|
10506
10506
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
10507
10507
|
}
|
|
10508
|
-
const normalized =
|
|
10508
|
+
const normalized = _chunkMFYSV7DEcjs.normalizeOSType.call(void 0, osType);
|
|
10509
10509
|
if (!normalized && !labelOnly) return null;
|
|
10510
|
-
const label =
|
|
10511
|
-
const IconComponent =
|
|
10510
|
+
const label = _chunkMFYSV7DEcjs.getOSLabel.call(void 0, osType);
|
|
10511
|
+
const IconComponent = _chunkMFYSV7DEcjs.getOSIcon.call(void 0, osType);
|
|
10512
10512
|
if (iconOnly && IconComponent) {
|
|
10513
10513
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk63A4GZMBcjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
10514
10514
|
}
|
|
@@ -10805,7 +10805,7 @@ function ComplianceLogo({
|
|
|
10805
10805
|
fallback = null,
|
|
10806
10806
|
className
|
|
10807
10807
|
}) {
|
|
10808
|
-
const standard =
|
|
10808
|
+
const standard = _chunkMFYSV7DEcjs.complianceStandardForName.call(void 0, ...names);
|
|
10809
10809
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
10810
10810
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
10811
10811
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -11813,7 +11813,7 @@ function ServiceCard({
|
|
|
11813
11813
|
function ServiceCardRowItem({ row, loading: loadingProp }) {
|
|
11814
11814
|
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || loadingProp;
|
|
11815
11815
|
const [revealed, setRevealed] = _react.useState.call(void 0, false);
|
|
11816
|
-
const { copy, copied } =
|
|
11816
|
+
const { copy, copied } = _chunkAY6XJOINcjs.useCopyToClipboard.call(void 0, );
|
|
11817
11817
|
const { ref: valueRef, isTruncated: valueTruncated } = _chunkLC65AC6Mcjs.useIsTruncated.call(void 0, row.value);
|
|
11818
11818
|
const actions = _react.useMemo.call(void 0, () => rowActions(row), [row]);
|
|
11819
11819
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
@@ -12847,7 +12847,7 @@ function DataTableRowImpl({
|
|
|
12847
12847
|
const containerRef = _react.useRef.call(void 0, null);
|
|
12848
12848
|
const handleClick = _react.useCallback.call(void 0,
|
|
12849
12849
|
(e) => {
|
|
12850
|
-
if (!
|
|
12850
|
+
if (!_chunkMFYSV7DEcjs.isOwnClick.call(void 0, e.target, containerRef.current)) {
|
|
12851
12851
|
if (isLinkMode) e.preventDefault();
|
|
12852
12852
|
return;
|
|
12853
12853
|
}
|
|
@@ -12861,7 +12861,7 @@ function DataTableRowImpl({
|
|
|
12861
12861
|
if (!(target instanceof Element) || !_optionalChain([container, 'optionalAccess', _224 => _224.contains, 'call', _225 => _225(target)])) return;
|
|
12862
12862
|
const nestedLink = target.closest("a");
|
|
12863
12863
|
if (nestedLink && nestedLink !== container && container.contains(nestedLink)) return;
|
|
12864
|
-
if (!
|
|
12864
|
+
if (!_chunkMFYSV7DEcjs.isOwnClick.call(void 0, target, container) || target.closest(ROW_LINK_CONTROL_SELECTOR)) e.preventDefault();
|
|
12865
12865
|
}, []);
|
|
12866
12866
|
const containerClassName = _chunk63A4GZMBcjs.cn.call(void 0,
|
|
12867
12867
|
DATA_TABLE_ROW_FRAME_CLASS,
|
|
@@ -12991,7 +12991,7 @@ function DataTableBody({
|
|
|
12991
12991
|
const skeletonRowClassName = typeof rowClassName === "string" ? rowClassName : void 0;
|
|
12992
12992
|
if (loading && loadingCells && hasRows) {
|
|
12993
12993
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12994
|
-
|
|
12994
|
+
_chunkUO6F6LLIcjs.LoadingFallback,
|
|
12995
12995
|
{
|
|
12996
12996
|
label: "Loading results",
|
|
12997
12997
|
status: loadingRegion && !inScope,
|
|
@@ -13340,7 +13340,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13340
13340
|
// child of the cell.
|
|
13341
13341
|
_optionalChain([meta, 'optionalAccess', _244 => _244.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13342
13342
|
filterTrigger,
|
|
13343
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13343
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMFYSV7DEcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13344
13344
|
] }) : filterTrigger
|
|
13345
13345
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13346
13346
|
"div",
|
|
@@ -13365,7 +13365,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13365
13365
|
// centred on the row.
|
|
13366
13366
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13367
13367
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13368
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13368
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMFYSV7DEcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13369
13369
|
] })
|
|
13370
13370
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13371
13371
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -13604,7 +13604,7 @@ function PhoneInput({
|
|
|
13604
13604
|
placeholder = "Phone Number (optional)",
|
|
13605
13605
|
onKeyDown
|
|
13606
13606
|
}) {
|
|
13607
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
13607
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunkMFYSV7DEcjs.getCountryPhoneData.call(void 0, ), []);
|
|
13608
13608
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
13609
13609
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
13610
13610
|
[countryCode, priority, others]
|
|
@@ -13619,7 +13619,7 @@ function PhoneInput({
|
|
|
13619
13619
|
_optionalChain([onValidationChange, 'optionalCall', _261 => _261(false)]);
|
|
13620
13620
|
return;
|
|
13621
13621
|
}
|
|
13622
|
-
const invalid = !
|
|
13622
|
+
const invalid = !_chunkMFYSV7DEcjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
13623
13623
|
setIsInvalid(invalid);
|
|
13624
13624
|
_optionalChain([onValidationChange, 'optionalCall', _262 => _262(invalid)]);
|
|
13625
13625
|
},
|
|
@@ -14057,7 +14057,7 @@ function MarkdownLinkDialog({ isOpen, initial, editing, onSubmit, onRemove, onCl
|
|
|
14057
14057
|
),
|
|
14058
14058
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xsf)]", children: [
|
|
14059
14059
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14060
|
-
|
|
14060
|
+
_chunkUO6F6LLIcjs.TabSelector,
|
|
14061
14061
|
{
|
|
14062
14062
|
label: "Search engines",
|
|
14063
14063
|
value: choice,
|
|
@@ -14114,7 +14114,7 @@ function useMarkdownLinkCommand() {
|
|
|
14114
14114
|
buttonProps: { "aria-label": "Add or edit a link (ctrl + l)", title: "Add or edit a link (ctrl + l)" },
|
|
14115
14115
|
icon: command.icon,
|
|
14116
14116
|
execute: (state, api) => {
|
|
14117
|
-
const existing =
|
|
14117
|
+
const existing = _chunkUO6F6LLIcjs.findMarkdownLinkAt.call(void 0, state.text, state.selection.start, state.selection.end);
|
|
14118
14118
|
setPending(
|
|
14119
14119
|
existing ? {
|
|
14120
14120
|
api,
|
|
@@ -14145,7 +14145,7 @@ function useMarkdownLinkCommand() {
|
|
|
14145
14145
|
initial: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _292 => _292.initial]), () => ( EMPTY_LINK)),
|
|
14146
14146
|
editing: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _293 => _293.editing]), () => ( false)),
|
|
14147
14147
|
onSubmit: (link) => {
|
|
14148
|
-
if (pending) write(pending,
|
|
14148
|
+
if (pending) write(pending, _chunkUO6F6LLIcjs.formatMarkdownLink.call(void 0, link));
|
|
14149
14149
|
},
|
|
14150
14150
|
onRemove: () => {
|
|
14151
14151
|
if (pending) write(pending, pending.initial.text);
|
|
@@ -15541,7 +15541,7 @@ function TestResultsTable({ rows, loading: loadingProp }) {
|
|
|
15541
15541
|
] }) }) });
|
|
15542
15542
|
}
|
|
15543
15543
|
function TestRunErrorBanner({ error, className }) {
|
|
15544
|
-
const { copy } =
|
|
15544
|
+
const { copy } = _chunkAY6XJOINcjs.useCopyToClipboard.call(void 0, { successDescription: "Error message copied to clipboard" });
|
|
15545
15545
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15546
15546
|
"div",
|
|
15547
15547
|
{
|
|
@@ -16027,7 +16027,7 @@ function TicketInfoSection({
|
|
|
16027
16027
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16028
16028
|
createdAt && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 items-center gap-4 border-b border-ods-border bg-ods-bg px-4 py-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: createdAt, label: "Created" }) }),
|
|
16029
16029
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
16030
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16030
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUO6F6LLIcjs.SimpleMarkdownRenderer, { content: description }),
|
|
16031
16031
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
16032
16032
|
tags && tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Tags", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-wrap gap-2", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGRHF5SWLcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
16033
16033
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16502,7 +16502,7 @@ function PhotoWall({
|
|
|
16502
16502
|
gap: COLUMN_GAP_PX
|
|
16503
16503
|
};
|
|
16504
16504
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: rootRef, "aria-hidden": "true", className: _chunk63A4GZMBcjs.cn.call(void 0, "grid overflow-hidden", className), style: gridStyle, children: columnsToDraw ? columnsToDraw.map((column, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16505
|
-
|
|
16505
|
+
_chunkUO6F6LLIcjs.MarqueeWall,
|
|
16506
16506
|
{
|
|
16507
16507
|
axis: "y",
|
|
16508
16508
|
reverse: index % 2 === 1,
|
|
@@ -17047,7 +17047,7 @@ function LoadingLabel({ label, typical }) {
|
|
|
17047
17047
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: label.split(/(\{\w+\})/).map(
|
|
17048
17048
|
(part, index) => /^\{\w+\}$/.test(part) ? (
|
|
17049
17049
|
// biome-ignore lint/suspicious/noArrayIndexKey: the parts of one fixed string never reorder
|
|
17050
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17050
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUO6F6LLIcjs.TextHold, { children: typical }, index)
|
|
17051
17051
|
) : part
|
|
17052
17052
|
) });
|
|
17053
17053
|
}
|
|
@@ -17062,7 +17062,7 @@ var TRIAL_TERM_ICONS = {
|
|
|
17062
17062
|
};
|
|
17063
17063
|
var DEFAULT_TRIAL_TERMS = ["cancel", "length", "noContract"];
|
|
17064
17064
|
function trialBenefits(trialDays, terms = DEFAULT_TRIAL_TERMS) {
|
|
17065
|
-
const labels =
|
|
17065
|
+
const labels = _chunkMFYSV7DEcjs.trialLabels.call(void 0, trialDays);
|
|
17066
17066
|
return terms.flatMap((term) => {
|
|
17067
17067
|
const label = labels[term];
|
|
17068
17068
|
return label ? [{ icon: TRIAL_TERM_ICONS[term], label }] : [];
|
|
@@ -17416,7 +17416,7 @@ function SnapCarousel({
|
|
|
17416
17416
|
const goNext = _react.useCallback.call(void 0, () => goTo(index >= count - 1 ? 0 : index + 1), [count, goTo, index]);
|
|
17417
17417
|
const canAutoAdvance = autoAdvanceMs > 0 && count > 1;
|
|
17418
17418
|
const playing = auto.playing && canAutoAdvance;
|
|
17419
|
-
const ranMs =
|
|
17419
|
+
const ranMs = _chunkAY6XJOINcjs.useResumableTimeout.call(void 0, {
|
|
17420
17420
|
running: playing,
|
|
17421
17421
|
durationMs: autoAdvanceMs,
|
|
17422
17422
|
resetKey: index,
|
|
@@ -17767,10 +17767,10 @@ function AccountDetailsFields({
|
|
|
17767
17767
|
onKeyDown,
|
|
17768
17768
|
layout = "stacked"
|
|
17769
17769
|
}) {
|
|
17770
|
-
const firstNameErr =
|
|
17771
|
-
const lastNameErr =
|
|
17772
|
-
const passwordErr =
|
|
17773
|
-
const confirmErr =
|
|
17770
|
+
const firstNameErr = _chunkAY6XJOINcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _351 => _351.firstName]), firstName);
|
|
17771
|
+
const lastNameErr = _chunkAY6XJOINcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _352 => _352.lastName]), lastName);
|
|
17772
|
+
const passwordErr = _chunkAY6XJOINcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _353 => _353.password]), password);
|
|
17773
|
+
const confirmErr = _chunkAY6XJOINcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _354 => _354.confirmPassword]), confirmPassword);
|
|
17774
17774
|
const names = [
|
|
17775
17775
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17776
17776
|
_chunkSWF6TNZ3cjs.Input,
|
|
@@ -18230,9 +18230,9 @@ function CreateOrganizationForm({
|
|
|
18230
18230
|
}) {
|
|
18231
18231
|
const hasSso = !!ssoProviders && ssoProviders.length > 0;
|
|
18232
18232
|
const fieldsDisabled = disabled || loading;
|
|
18233
|
-
const emailErr =
|
|
18234
|
-
const orgNameErr =
|
|
18235
|
-
const domainErr =
|
|
18233
|
+
const emailErr = _chunkAY6XJOINcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _356 => _356.email]), _nullishCoalesce(email, () => ( "")));
|
|
18234
|
+
const orgNameErr = _chunkAY6XJOINcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _357 => _357.organizationName]), organizationName);
|
|
18235
|
+
const domainErr = _chunkAY6XJOINcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _358 => _358.domain]), domain);
|
|
18236
18236
|
const handleKeyDown = (event) => {
|
|
18237
18237
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18238
18238
|
onSubmit();
|
|
@@ -18460,7 +18460,7 @@ function LoginForm({
|
|
|
18460
18460
|
}) {
|
|
18461
18461
|
const fieldDisabled = disabled || loading;
|
|
18462
18462
|
const providersDisabled = fieldDisabled || ssoDisabled;
|
|
18463
|
-
const emailErr =
|
|
18463
|
+
const emailErr = _chunkAY6XJOINcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _365 => _365.email]), email);
|
|
18464
18464
|
const handleKeyDown = (event) => {
|
|
18465
18465
|
if (event.key !== "Enter" || event.repeat || fieldDisabled) return;
|
|
18466
18466
|
if (onSubmitClick) {
|
|
@@ -18638,8 +18638,8 @@ function OpenFrameSsoLoginForm({
|
|
|
18638
18638
|
className
|
|
18639
18639
|
}) {
|
|
18640
18640
|
const fieldsDisabled = disabled || loading;
|
|
18641
|
-
const emailErr =
|
|
18642
|
-
const passwordErr =
|
|
18641
|
+
const emailErr = _chunkAY6XJOINcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _369 => _369.email]), email);
|
|
18642
|
+
const passwordErr = _chunkAY6XJOINcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _370 => _370.password]), password);
|
|
18643
18643
|
const handleKeyDown = (event) => {
|
|
18644
18644
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18645
18645
|
onSubmit();
|
|
@@ -18744,7 +18744,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
18744
18744
|
className
|
|
18745
18745
|
}) {
|
|
18746
18746
|
const fieldsDisabled = disabled || loading;
|
|
18747
|
-
const emailErr =
|
|
18747
|
+
const emailErr = _chunkAY6XJOINcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _371 => _371.email]), email);
|
|
18748
18748
|
const handleKeyDown = (event) => {
|
|
18749
18749
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18750
18750
|
onSubmit();
|
|
@@ -18849,8 +18849,8 @@ function PasswordResetForm({
|
|
|
18849
18849
|
className
|
|
18850
18850
|
}) {
|
|
18851
18851
|
const fieldsDisabled = disabled || loading;
|
|
18852
|
-
const passwordErr =
|
|
18853
|
-
const confirmErr =
|
|
18852
|
+
const passwordErr = _chunkAY6XJOINcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _372 => _372.password]), password);
|
|
18853
|
+
const confirmErr = _chunkAY6XJOINcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _373 => _373.confirmPassword]), confirmPassword);
|
|
18854
18854
|
const handleKeyDown = (event) => {
|
|
18855
18855
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18856
18856
|
onSubmit();
|
|
@@ -21493,7 +21493,7 @@ var MODEL_TOKEN_RATES_COPY = {
|
|
|
21493
21493
|
empty: "No token rates are in effect right now."
|
|
21494
21494
|
};
|
|
21495
21495
|
function providerMark(providerType, stated, className) {
|
|
21496
|
-
const Mark = _chunk2HQNXX2Kcjs.findIcon.call(void 0,
|
|
21496
|
+
const Mark = _chunk2HQNXX2Kcjs.findIcon.call(void 0, _chunkMFYSV7DEcjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
|
|
21497
21497
|
return Mark ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Mark, { className }) : void 0;
|
|
21498
21498
|
}
|
|
21499
21499
|
var PAD_X = "px-[var(--spacing-system-s)]";
|
|
@@ -21511,7 +21511,7 @@ var UNIT_LINE_CLASS = _chunk63A4GZMBcjs.cn.call(void 0,
|
|
|
21511
21511
|
var TABS_ROW_CLASS = _chunk63A4GZMBcjs.cn.call(void 0, "shrink-0 border-b border-ods-border py-[var(--spacing-system-xs)]", PAD_X);
|
|
21512
21512
|
var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
|
|
21513
21513
|
function useProviderGroup(rates) {
|
|
21514
|
-
const groups =
|
|
21514
|
+
const groups = _chunkMFYSV7DEcjs.groupTokenRatesByProvider.call(void 0, rates);
|
|
21515
21515
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
21516
21516
|
return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
|
|
21517
21517
|
}
|
|
@@ -21522,7 +21522,7 @@ function ProviderTabs({
|
|
|
21522
21522
|
className
|
|
21523
21523
|
}) {
|
|
21524
21524
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21525
|
-
|
|
21525
|
+
_chunkUO6F6LLIcjs.TabSelector,
|
|
21526
21526
|
{
|
|
21527
21527
|
variant: "secondary",
|
|
21528
21528
|
scrollable: true,
|
|
@@ -21530,7 +21530,7 @@ function ProviderTabs({
|
|
|
21530
21530
|
onValueChange,
|
|
21531
21531
|
items: groups.map((candidate) => ({
|
|
21532
21532
|
id: candidate.providerType,
|
|
21533
|
-
label:
|
|
21533
|
+
label: _chunkMFYSV7DEcjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _435 => _435.rates, 'access', _436 => _436[0], 'optionalAccess', _437 => _437.providerLabel])),
|
|
21534
21534
|
icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _438 => _438.rates, 'access', _439 => _439[0], 'optionalAccess', _440 => _440.providerIcon]), "size-full")
|
|
21535
21535
|
})),
|
|
21536
21536
|
className
|
|
@@ -21607,8 +21607,8 @@ function ModelTokenRatesTable({ rates }) {
|
|
|
21607
21607
|
] }),
|
|
21608
21608
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { role: "rowgroup", className: "min-h-0 flex-1 overflow-y-auto", children: group.rates.map((rate) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { "data-loading-item": true, role: "row", className: BODY_ROW_CLASS, children: [
|
|
21609
21609
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
|
|
21610
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
21611
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
21610
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkMFYSV7DEcjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
|
|
21611
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkMFYSV7DEcjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
|
|
21612
21612
|
] }, rate.modelName)) })
|
|
21613
21613
|
] }),
|
|
21614
21614
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: UNIT_LINE_CLASS, children: MODEL_TOKEN_RATES_COPY.unit })
|
|
@@ -21655,7 +21655,7 @@ function modelOption(rate) {
|
|
|
21655
21655
|
return {
|
|
21656
21656
|
label: rate.displayName || rate.modelName,
|
|
21657
21657
|
value: rate.modelName,
|
|
21658
|
-
description:
|
|
21658
|
+
description: _chunkMFYSV7DEcjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
|
|
21659
21659
|
icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
|
|
21660
21660
|
};
|
|
21661
21661
|
}
|
|
@@ -21710,8 +21710,8 @@ function ModelTokenExchange({
|
|
|
21710
21710
|
const [chosen, setChosen] = _react.useState.call(void 0, null);
|
|
21711
21711
|
const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _441 => _441.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
|
|
21712
21712
|
const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
|
|
21713
|
-
const tokens =
|
|
21714
|
-
const cost =
|
|
21713
|
+
const tokens = _chunkMFYSV7DEcjs.formatTokenAmount.call(void 0, balance);
|
|
21714
|
+
const cost = _chunkMFYSV7DEcjs.tokenCost.call(void 0, balance, tokenPrice);
|
|
21715
21715
|
const balancePrice = cost === null ? null : _chunkGRHF5SWLcjs.formatPrice.call(void 0, cost);
|
|
21716
21716
|
const model = rate ? rate.displayName || rate.modelName : "";
|
|
21717
21717
|
const options = models.map(modelOption);
|
|
@@ -21754,7 +21754,7 @@ function ModelTokenExchange({
|
|
|
21754
21754
|
variant: preset.tokens === balance ? "accent" : "outline",
|
|
21755
21755
|
size: "small",
|
|
21756
21756
|
onClick: () => setChosen(preset.tokens),
|
|
21757
|
-
children: copy.buy.preset(
|
|
21757
|
+
children: copy.buy.preset(_chunkMFYSV7DEcjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
|
|
21758
21758
|
},
|
|
21759
21759
|
preset.label
|
|
21760
21760
|
)) })
|
|
@@ -21771,7 +21771,7 @@ function ModelTokenExchange({
|
|
|
21771
21771
|
const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _442 => _442.providerType]) === providerType ? rate : null)));
|
|
21772
21772
|
return {
|
|
21773
21773
|
id: providerType,
|
|
21774
|
-
name:
|
|
21774
|
+
name: _chunkMFYSV7DEcjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _443 => _443.providerLabel])),
|
|
21775
21775
|
icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _444 => _444.providerIcon]), "size-8 text-ods-text-secondary")
|
|
21776
21776
|
};
|
|
21777
21777
|
}),
|
|
@@ -21810,7 +21810,7 @@ function ModelTokenExchange({
|
|
|
21810
21810
|
{
|
|
21811
21811
|
size: "plain",
|
|
21812
21812
|
loading,
|
|
21813
|
-
figure:
|
|
21813
|
+
figure: _chunkMFYSV7DEcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _449 => _449.inputTokenRate])),
|
|
21814
21814
|
words: copy.charge.input
|
|
21815
21815
|
}
|
|
21816
21816
|
),
|
|
@@ -21819,7 +21819,7 @@ function ModelTokenExchange({
|
|
|
21819
21819
|
{
|
|
21820
21820
|
size: "plain",
|
|
21821
21821
|
loading,
|
|
21822
|
-
figure:
|
|
21822
|
+
figure: _chunkMFYSV7DEcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _450 => _450.outputTokenRate])),
|
|
21823
21823
|
words: copy.charge.output
|
|
21824
21824
|
}
|
|
21825
21825
|
)
|
|
@@ -21831,9 +21831,9 @@ function ModelTokenExchange({
|
|
|
21831
21831
|
className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
|
|
21832
21832
|
children: [
|
|
21833
21833
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[2lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-full max-w-xs" }) : copy.charge.so(_nullishCoalesce(balancePrice, () => ( copy.buy.tokens(tokens))), model) }),
|
|
21834
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] whitespace-nowrap tabular-nums text-ods-text-primary text-h1", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) :
|
|
21834
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] whitespace-nowrap tabular-nums text-ods-text-primary text-h1", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) : _chunkMFYSV7DEcjs.formatTokenAmount.call(void 0, _chunkMFYSV7DEcjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
|
|
21835
21835
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
|
|
21836
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(
|
|
21836
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(_chunkMFYSV7DEcjs.formatTokenAmount.call(void 0, _chunkMFYSV7DEcjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
|
|
21837
21837
|
]
|
|
21838
21838
|
}
|
|
21839
21839
|
)
|
|
@@ -22353,14 +22353,14 @@ var ConfidenceBadge = ({
|
|
|
22353
22353
|
size = "sm",
|
|
22354
22354
|
className
|
|
22355
22355
|
}) => {
|
|
22356
|
-
const level =
|
|
22356
|
+
const level = _chunkMFYSV7DEcjs.getConfidenceLevel.call(void 0, confidence);
|
|
22357
22357
|
if (level === "none") {
|
|
22358
22358
|
return null;
|
|
22359
22359
|
}
|
|
22360
|
-
const label =
|
|
22361
|
-
const borderClass =
|
|
22362
|
-
const textClass =
|
|
22363
|
-
const bgClass =
|
|
22360
|
+
const label = _chunkMFYSV7DEcjs.getConfidenceLabel.call(void 0, confidence);
|
|
22361
|
+
const borderClass = _chunkMFYSV7DEcjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
22362
|
+
const textClass = _chunkMFYSV7DEcjs.getConfidenceTextClass.call(void 0, confidence);
|
|
22363
|
+
const bgClass = _chunkMFYSV7DEcjs.getConfidenceBgClass.call(void 0, confidence);
|
|
22364
22364
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22365
22365
|
"span",
|
|
22366
22366
|
{
|
|
@@ -22411,9 +22411,9 @@ function SEOEditorPreview({
|
|
|
22411
22411
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
22412
22412
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
22413
22413
|
const seoTitleLength = (seoTitle || "").length;
|
|
22414
|
-
const seoTitleTooLong = seoTitleLength >
|
|
22414
|
+
const seoTitleTooLong = seoTitleLength > _chunkMFYSV7DEcjs.SEO_TITLE_MAX_LENGTH;
|
|
22415
22415
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
22416
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
22416
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunkMFYSV7DEcjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
22417
22417
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
22418
22418
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
22419
22419
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -22438,10 +22438,10 @@ function SEOEditorPreview({
|
|
|
22438
22438
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22439
22439
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22440
22440
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22441
|
-
|
|
22441
|
+
_chunkMFYSV7DEcjs.Field,
|
|
22442
22442
|
{
|
|
22443
22443
|
label: "SEO Title",
|
|
22444
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
22444
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunkMFYSV7DEcjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
22445
22445
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22446
22446
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22447
22447
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -22456,7 +22456,7 @@ function SEOEditorPreview({
|
|
|
22456
22456
|
children: [
|
|
22457
22457
|
seoTitleLength,
|
|
22458
22458
|
"/",
|
|
22459
|
-
|
|
22459
|
+
_chunkMFYSV7DEcjs.SEO_TITLE_MAX_LENGTH
|
|
22460
22460
|
]
|
|
22461
22461
|
}
|
|
22462
22462
|
),
|
|
@@ -22467,7 +22467,7 @@ function SEOEditorPreview({
|
|
|
22467
22467
|
value: seoTitle || "",
|
|
22468
22468
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
22469
22469
|
disabled,
|
|
22470
|
-
maxLength:
|
|
22470
|
+
maxLength: _chunkMFYSV7DEcjs.SEO_TITLE_MAX_LENGTH,
|
|
22471
22471
|
invalid: seoTitleTooLong,
|
|
22472
22472
|
placeholder: "Enter SEO meta title...",
|
|
22473
22473
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -22478,7 +22478,7 @@ function SEOEditorPreview({
|
|
|
22478
22478
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
22479
22479
|
] }),
|
|
22480
22480
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22481
|
-
|
|
22481
|
+
_chunkMFYSV7DEcjs.Field,
|
|
22482
22482
|
{
|
|
22483
22483
|
label: "SEO Keywords",
|
|
22484
22484
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -22510,10 +22510,10 @@ function SEOEditorPreview({
|
|
|
22510
22510
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22511
22511
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22512
22512
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22513
|
-
|
|
22513
|
+
_chunkMFYSV7DEcjs.Field,
|
|
22514
22514
|
{
|
|
22515
22515
|
label: "SEO Description",
|
|
22516
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
22516
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunkMFYSV7DEcjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
22517
22517
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22518
22518
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22519
22519
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -22536,7 +22536,7 @@ function SEOEditorPreview({
|
|
|
22536
22536
|
children: [
|
|
22537
22537
|
seoDescriptionLength,
|
|
22538
22538
|
"/",
|
|
22539
|
-
|
|
22539
|
+
_chunkMFYSV7DEcjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
22540
22540
|
]
|
|
22541
22541
|
}
|
|
22542
22542
|
),
|
|
@@ -22547,7 +22547,7 @@ function SEOEditorPreview({
|
|
|
22547
22547
|
value: seoDescription || "",
|
|
22548
22548
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
22549
22549
|
disabled,
|
|
22550
|
-
maxLength:
|
|
22550
|
+
maxLength: _chunkMFYSV7DEcjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
22551
22551
|
invalid: seoDescriptionTooLong,
|
|
22552
22552
|
placeholder: "Enter SEO meta description...",
|
|
22553
22553
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -23259,7 +23259,7 @@ function VideoBitesDisplay({
|
|
|
23259
23259
|
filterPublished = true,
|
|
23260
23260
|
showTitle = true
|
|
23261
23261
|
}) {
|
|
23262
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23262
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUO6F6LLIcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
23263
23263
|
}
|
|
23264
23264
|
|
|
23265
23265
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -23288,7 +23288,7 @@ function WalkthroughVideo({
|
|
|
23288
23288
|
onOpenChange,
|
|
23289
23289
|
defaultOpen,
|
|
23290
23290
|
defaultOpenPaused,
|
|
23291
|
-
deepLinkParam =
|
|
23291
|
+
deepLinkParam = _chunkMFYSV7DEcjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
23292
23292
|
autoPlayCard = false,
|
|
23293
23293
|
label = "Play Demo Video",
|
|
23294
23294
|
placement,
|
|
@@ -23305,7 +23305,7 @@ function WalkthroughVideo({
|
|
|
23305
23305
|
const inline = placement === "inline";
|
|
23306
23306
|
const inScope = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
23307
23307
|
const dismissEnabled = dismissal !== false;
|
|
23308
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
23308
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunkMFYSV7DEcjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
23309
23309
|
const dismissalId = _optionalChain([video, 'optionalAccess', _466 => _466.id]) != null ? String(video.id) : "dismissed";
|
|
23310
23310
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
23311
23311
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -23317,7 +23317,7 @@ function WalkthroughVideo({
|
|
|
23317
23317
|
let delayElapsed = false;
|
|
23318
23318
|
let interacted = inline;
|
|
23319
23319
|
const reveal = () => {
|
|
23320
|
-
if (dismissEnabled &&
|
|
23320
|
+
if (dismissEnabled && _chunkMFYSV7DEcjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
23321
23321
|
setDismissed(true);
|
|
23322
23322
|
return;
|
|
23323
23323
|
}
|
|
@@ -23354,7 +23354,7 @@ function WalkthroughVideo({
|
|
|
23354
23354
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
23355
23355
|
};
|
|
23356
23356
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId, inline]);
|
|
23357
|
-
const hydrated =
|
|
23357
|
+
const hydrated = _chunkUO6F6LLIcjs.useIsHydrated.call(void 0, );
|
|
23358
23358
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
23359
23359
|
if (!hydrated) return false;
|
|
23360
23360
|
try {
|
|
@@ -23604,7 +23604,7 @@ function WalkthroughVideo({
|
|
|
23604
23604
|
(e) => {
|
|
23605
23605
|
e.stopPropagation();
|
|
23606
23606
|
pausePreviewNow();
|
|
23607
|
-
if (dismissEnabled)
|
|
23607
|
+
if (dismissEnabled) _chunkMFYSV7DEcjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
23608
23608
|
setDismissed(true);
|
|
23609
23609
|
},
|
|
23610
23610
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -23779,7 +23779,7 @@ function WalkthroughVideo({
|
|
|
23779
23779
|
`card-${embedUrlKey}`
|
|
23780
23780
|
) }),
|
|
23781
23781
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23782
|
-
|
|
23782
|
+
_chunkUO6F6LLIcjs.CardHitLayer,
|
|
23783
23783
|
{
|
|
23784
23784
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
23785
23785
|
onPointerDown: pausePreviewNow,
|
|
@@ -23951,7 +23951,7 @@ function useWalkthroughVideo(opts) {
|
|
|
23951
23951
|
const { endpoint, initialData, enabled: enabledGiven = true, transformCaptionsUrl } = opts;
|
|
23952
23952
|
const inScope = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
23953
23953
|
const enabled = enabledGiven && !inScope;
|
|
23954
|
-
const captions =
|
|
23954
|
+
const captions = _chunkUO6F6LLIcjs.useCaptions.call(void 0, );
|
|
23955
23955
|
const query = _reactquery.useQuery.call(void 0, {
|
|
23956
23956
|
queryKey: ["walkthrough-video", endpoint],
|
|
23957
23957
|
enabled,
|
|
@@ -24702,7 +24702,7 @@ function HighlightConfigSection({
|
|
|
24702
24702
|
disabled = false,
|
|
24703
24703
|
className = ""
|
|
24704
24704
|
}) {
|
|
24705
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `space-y-3 rounded-lg border border-ods-border bg-ods-card p-4 ${className}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24705
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `space-y-3 rounded-lg border border-ods-border bg-ods-card p-4 ${className}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMFYSV7DEcjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24706
24706
|
_chunkDU6AF77Xcjs.Select,
|
|
24707
24707
|
{
|
|
24708
24708
|
value: targetDurationSeconds.toString(),
|
|
@@ -24803,7 +24803,7 @@ var AIStatusIndicator = ({
|
|
|
24803
24803
|
}) => {
|
|
24804
24804
|
const config = statusConfig[status];
|
|
24805
24805
|
const displayText = message || config.label;
|
|
24806
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
24806
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkMFYSV7DEcjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
24807
24807
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "inline-flex items-center gap-2 rounded-lg px-3 py-1.5", config.bgColor, className), children: [
|
|
24808
24808
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24809
24809
|
_chunkUNFCRSYIcjs.SparklesIcon,
|
|
@@ -24811,7 +24811,7 @@ var AIStatusIndicator = ({
|
|
|
24811
24811
|
size: 16,
|
|
24812
24812
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
24813
24813
|
status === "loading" && _chunk3TOWCFIKcjs.LIVE_PULSE_CLASS,
|
|
24814
|
-
confidence !== void 0 && status === "success" ?
|
|
24814
|
+
confidence !== void 0 && status === "success" ? _chunkMFYSV7DEcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
24815
24815
|
)
|
|
24816
24816
|
}
|
|
24817
24817
|
),
|
|
@@ -24820,7 +24820,7 @@ var AIStatusIndicator = ({
|
|
|
24820
24820
|
{
|
|
24821
24821
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
24822
24822
|
"text-h6",
|
|
24823
|
-
confidence !== void 0 && status === "success" ?
|
|
24823
|
+
confidence !== void 0 && status === "success" ? _chunkMFYSV7DEcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
24824
24824
|
),
|
|
24825
24825
|
children: displayText
|
|
24826
24826
|
}
|
|
@@ -24830,8 +24830,8 @@ var AIStatusIndicator = ({
|
|
|
24830
24830
|
{
|
|
24831
24831
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
24832
24832
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
24833
|
-
|
|
24834
|
-
|
|
24833
|
+
_chunkMFYSV7DEcjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
24834
|
+
_chunkMFYSV7DEcjs.getConfidenceTextClass.call(void 0, confidence)
|
|
24835
24835
|
),
|
|
24836
24836
|
children: confidenceLabel
|
|
24837
24837
|
}
|
|
@@ -25452,7 +25452,7 @@ function ApprovalLevelView({
|
|
|
25452
25452
|
] });
|
|
25453
25453
|
}
|
|
25454
25454
|
function ApprovalLevelSkeleton({ editable = false, showLabel = true, className }) {
|
|
25455
|
-
const name = showLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: LEVEL_NAME_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25455
|
+
const name = showLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: LEVEL_NAME_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUO6F6LLIcjs.TextHold, { children: LONGEST_LEVEL_LABEL }) }) : null;
|
|
25456
25456
|
if (!editable) {
|
|
25457
25457
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { "aria-hidden": true, className: _chunk63A4GZMBcjs.cn.call(void 0, READ_ONLY_ROW_CLASS, className), children: [
|
|
25458
25458
|
name,
|
|
@@ -25711,7 +25711,7 @@ function OpenPolicyButton({ href, name }) {
|
|
|
25711
25711
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25712
25712
|
_chunkFCZAUK4Dcjs.Button,
|
|
25713
25713
|
{
|
|
25714
|
-
onClick: loading ? void 0 :
|
|
25714
|
+
onClick: loading ? void 0 : _chunkMFYSV7DEcjs.openInNewTab.call(void 0, href),
|
|
25715
25715
|
disabled: loading,
|
|
25716
25716
|
variant: "outline",
|
|
25717
25717
|
size: "icon",
|
|
@@ -26085,7 +26085,7 @@ function OpenTenantButton({ href, name }) {
|
|
|
26085
26085
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26086
26086
|
_chunkFCZAUK4Dcjs.Button,
|
|
26087
26087
|
{
|
|
26088
|
-
onClick: loading ? void 0 :
|
|
26088
|
+
onClick: loading ? void 0 : _chunkMFYSV7DEcjs.openInNewTab.call(void 0, href),
|
|
26089
26089
|
disabled: loading,
|
|
26090
26090
|
variant: "outline",
|
|
26091
26091
|
size: "icon",
|
|
@@ -26217,13 +26217,13 @@ function WaitlistForm({
|
|
|
26217
26217
|
const [email, setEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26218
26218
|
const [phone, setPhone] = _react.useState.call(void 0, defaultPhone);
|
|
26219
26219
|
const [countryCode, setCountryCode] = _react.useState.call(void 0, "US");
|
|
26220
|
-
const { toast } =
|
|
26221
|
-
const { honeypotInputProps, getSignals, resetSignals } =
|
|
26220
|
+
const { toast } = _chunkAY6XJOINcjs.useToast.call(void 0, );
|
|
26221
|
+
const { honeypotInputProps, getSignals, resetSignals } = _chunkAY6XJOINcjs.useHumanitySignals.call(void 0, );
|
|
26222
26222
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26223
|
-
const isClient =
|
|
26223
|
+
const isClient = _chunkUO6F6LLIcjs.useIsHydrated.call(void 0, );
|
|
26224
26224
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26225
26225
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26226
|
-
const rescue =
|
|
26226
|
+
const rescue = _chunkAY6XJOINcjs.useFormRescue.call(void 0, {
|
|
26227
26227
|
form: rescueForm,
|
|
26228
26228
|
// The phone is reported as filled only; its value never leaves the form early.
|
|
26229
26229
|
fieldNames: ["email", "phone"],
|
|
@@ -26235,7 +26235,7 @@ function WaitlistForm({
|
|
|
26235
26235
|
_react.useEffect.call(void 0, () => {
|
|
26236
26236
|
rescue.track({ email, phone }, null);
|
|
26237
26237
|
}, [email, phone, rescue]);
|
|
26238
|
-
const isMailDomainGeneric =
|
|
26238
|
+
const isMailDomainGeneric = _chunkMFYSV7DEcjs.hasGenericEmailDomain.call(void 0, email);
|
|
26239
26239
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26240
26240
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
26241
26241
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -26269,7 +26269,7 @@ function WaitlistForm({
|
|
|
26269
26269
|
setShowConsentError(true);
|
|
26270
26270
|
return;
|
|
26271
26271
|
}
|
|
26272
|
-
const finalPhone = phone ?
|
|
26272
|
+
const finalPhone = phone ? _chunkMFYSV7DEcjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
26273
26273
|
try {
|
|
26274
26274
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
26275
26275
|
rescue.complete();
|
|
@@ -26856,7 +26856,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26856
26856
|
}, [mobileBreakpoint]);
|
|
26857
26857
|
const panelRef = _react.useRef.call(void 0, null);
|
|
26858
26858
|
const available = useContainerExtent(resizable, isHorizontal, portalContainer);
|
|
26859
|
-
const { size, setSize, clampSize } =
|
|
26859
|
+
const { size, setSize, clampSize } = _chunkYHQDB5QJcjs.useResizablePanelSize.call(void 0, {
|
|
26860
26860
|
enabled: resizable,
|
|
26861
26861
|
minSize,
|
|
26862
26862
|
maxSize,
|
|
@@ -26876,7 +26876,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26876
26876
|
"data-state": open ? "open" : "closed",
|
|
26877
26877
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
26878
26878
|
"absolute inset-0 z-[102] outline-none data-[state=closed]:pointer-events-none data-[state=open]:pointer-events-auto data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
26879
|
-
|
|
26879
|
+
_chunkYHQDB5QJcjs.OVERLAY_BACKDROP_CLASS,
|
|
26880
26880
|
// Persist mode only: hold the fade-out's final (transparent) frame
|
|
26881
26881
|
// so the backdrop doesn't snap back to opacity 1 and dim the whole
|
|
26882
26882
|
// content area while the drawer is "closed" (see PERSIST_CLOSED_HOLD).
|
|
@@ -26919,7 +26919,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26919
26919
|
children: [
|
|
26920
26920
|
props["aria-label"] ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive3.Title, { className: "sr-only", children: props["aria-label"] }) : null,
|
|
26921
26921
|
applyInlineSize && (!persist || open) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26922
|
-
|
|
26922
|
+
_chunkUO6F6LLIcjs.PanelResizeHandle,
|
|
26923
26923
|
{
|
|
26924
26924
|
variant: "inLayout",
|
|
26925
26925
|
side: resolvedSide,
|
|
@@ -26958,11 +26958,11 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26958
26958
|
}
|
|
26959
26959
|
);
|
|
26960
26960
|
AppLayoutDrawerContent.displayName = "AppLayoutDrawerContent";
|
|
26961
|
-
var AppLayoutDrawerHeader =
|
|
26962
|
-
var AppLayoutDrawerTitle =
|
|
26963
|
-
var AppLayoutDrawerDescription =
|
|
26964
|
-
var AppLayoutDrawerBody =
|
|
26965
|
-
var AppLayoutDrawerFooter =
|
|
26961
|
+
var AppLayoutDrawerHeader = _chunkYHQDB5QJcjs.DrawerHeader;
|
|
26962
|
+
var AppLayoutDrawerTitle = _chunkYHQDB5QJcjs.DrawerTitle;
|
|
26963
|
+
var AppLayoutDrawerDescription = _chunkYHQDB5QJcjs.DrawerDescription;
|
|
26964
|
+
var AppLayoutDrawerBody = _chunkYHQDB5QJcjs.DrawerBody;
|
|
26965
|
+
var AppLayoutDrawerFooter = _chunkYHQDB5QJcjs.DrawerFooter;
|
|
26966
26966
|
|
|
26967
26967
|
// src/components/features/notifications/notification-tile.tsx
|
|
26968
26968
|
|
|
@@ -26981,7 +26981,7 @@ var typeColorByVariant = {
|
|
|
26981
26981
|
error: "text-ods-error"
|
|
26982
26982
|
};
|
|
26983
26983
|
var progressColorByVariant2 = {
|
|
26984
|
-
...
|
|
26984
|
+
..._chunkAY6XJOINcjs.progressColorByVariant,
|
|
26985
26985
|
default: "bg-ods-accent",
|
|
26986
26986
|
info: "bg-ods-accent"
|
|
26987
26987
|
};
|
|
@@ -27075,7 +27075,7 @@ function LoadedNotificationTile({
|
|
|
27075
27075
|
height: _chunk2HQNXX2Kcjs.IMAGE_FIXED_PX.icon,
|
|
27076
27076
|
unoptimized: true
|
|
27077
27077
|
}
|
|
27078
|
-
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, "size-1.5 rounded-full",
|
|
27078
|
+
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, "size-1.5 rounded-full", _chunkAY6XJOINcjs.dotColorByVariant[accentVariant]) }))) }),
|
|
27079
27079
|
type ? lockscreen ? (
|
|
27080
27080
|
// A phone names the sender in plain words and never cuts them.
|
|
27081
27081
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "min-w-0 flex-1 break-words text-ods-text-secondary text-h6", children: type })
|
|
@@ -27253,7 +27253,7 @@ function NotificationDrawer({
|
|
|
27253
27253
|
const unreadNotifications = notifications.filter((n) => !n.read);
|
|
27254
27254
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
27255
27255
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "px-[var(--spacing-system-m)] pt-[var(--spacing-system-m)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27256
|
-
|
|
27256
|
+
_chunkYHQDB5QJcjs.DrawerTitle,
|
|
27257
27257
|
{
|
|
27258
27258
|
hideClose: !showClose,
|
|
27259
27259
|
className: "truncate",
|
|
@@ -27316,8 +27316,8 @@ function NotificationDrawer({
|
|
|
27316
27316
|
}
|
|
27317
27317
|
) });
|
|
27318
27318
|
}
|
|
27319
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27320
|
-
|
|
27319
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYHQDB5QJcjs.Drawer, { open: isOpen, onOpenChange: (v) => v ? open() : close(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27320
|
+
_chunkYHQDB5QJcjs.DrawerContent,
|
|
27321
27321
|
{
|
|
27322
27322
|
side: "right",
|
|
27323
27323
|
"aria-describedby": void 0,
|
|
@@ -27413,7 +27413,7 @@ function ShowNotificationsToggleRow({ checked, onChange }) {
|
|
|
27413
27413
|
] });
|
|
27414
27414
|
}
|
|
27415
27415
|
function DesktopNotificationsToggleRow({ checked, onChange }) {
|
|
27416
|
-
const { supported, permission, request } =
|
|
27416
|
+
const { supported, permission, request } = _chunkAY6XJOINcjs.useNotificationPermission.call(void 0, );
|
|
27417
27417
|
if (!supported) return null;
|
|
27418
27418
|
const blocked = permission === "denied";
|
|
27419
27419
|
const handleChange = async (value) => {
|
|
@@ -28274,7 +28274,7 @@ function TimeTrackerHeaderButton({
|
|
|
28274
28274
|
"data-state": isOpen ? "open" : "closed",
|
|
28275
28275
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
28276
28276
|
layoutContainer ? "absolute inset-0 z-[102]" : "fixed inset-0 z-[1299]",
|
|
28277
|
-
|
|
28277
|
+
_chunkYHQDB5QJcjs.OVERLAY_BACKDROP_CLASS,
|
|
28278
28278
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
28279
28279
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
|
|
28280
28280
|
)
|
|
@@ -28450,7 +28450,7 @@ function getDeviceStatusConfig(status) {
|
|
|
28450
28450
|
}
|
|
28451
28451
|
}
|
|
28452
28452
|
function getDeviceOperatingSystem(osType) {
|
|
28453
|
-
return
|
|
28453
|
+
return _chunkMFYSV7DEcjs.getOSPlatformId.call(void 0, osType);
|
|
28454
28454
|
}
|
|
28455
28455
|
|
|
28456
28456
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -29789,7 +29789,7 @@ function DevicesList({
|
|
|
29789
29789
|
const handleClearAll = _react.useCallback.call(void 0, () => patch({ search: "", tags: [] }), [patch]);
|
|
29790
29790
|
const narrowed = isNarrowed(narrowing);
|
|
29791
29791
|
const isEmptyState = !isLoading && !isPending && !narrowed && devices.length === 0;
|
|
29792
|
-
const { toolbarRef, containerStyle, stickyHeaderOffset: measuredOffset } =
|
|
29792
|
+
const { toolbarRef, containerStyle, stickyHeaderOffset: measuredOffset } = _chunkAY6XJOINcjs.useStickyToolbar.call(void 0, );
|
|
29793
29793
|
const headerOffset = _nullishCoalesce(stickyHeaderOffset, () => ( (stickyToolbar ? measuredOffset : void 0)));
|
|
29794
29794
|
const actionsColumn = _react.useMemo.call(void 0, () => rowActions2 ? getDeviceActionsColumn(rowActions2) : void 0, [rowActions2]);
|
|
29795
29795
|
return (
|
|
@@ -30026,7 +30026,7 @@ function DevicesPanelView({
|
|
|
30026
30026
|
actionsVariant: "icon-buttons",
|
|
30027
30027
|
className,
|
|
30028
30028
|
selector: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30029
|
-
|
|
30029
|
+
_chunkUO6F6LLIcjs.TabSelector,
|
|
30030
30030
|
{
|
|
30031
30031
|
value: viewMode,
|
|
30032
30032
|
onValueChange: (value) => _optionalChain([onViewModeChange, 'optionalCall', _654 => _654(value)]),
|
|
@@ -30561,11 +30561,11 @@ var ToolBadge = ({
|
|
|
30561
30561
|
iconClassName
|
|
30562
30562
|
}) => {
|
|
30563
30563
|
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
30564
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
30564
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkMFYSV7DEcjs.getToolLabel.call(void 0, toolType) : "")));
|
|
30565
30565
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKPGKTEEBcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
30566
30566
|
if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ToolBadgeSkeleton, { variant, icon: !!mark, className });
|
|
30567
30567
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30568
|
-
|
|
30568
|
+
_chunkUO6F6LLIcjs.NavLinkAnchorViaRuntime,
|
|
30569
30569
|
{
|
|
30570
30570
|
href,
|
|
30571
30571
|
targetPlatform,
|
|
@@ -30715,7 +30715,7 @@ function LogsTableView({
|
|
|
30715
30715
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30716
30716
|
ToolBadge,
|
|
30717
30717
|
{
|
|
30718
|
-
toolType:
|
|
30718
|
+
toolType: _chunkMFYSV7DEcjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
30719
30719
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
30720
30720
|
}
|
|
30721
30721
|
),
|
|
@@ -30727,7 +30727,7 @@ function LogsTableView({
|
|
|
30727
30727
|
filter: {
|
|
30728
30728
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _662 => _662.toolTypes, 'access', _663 => _663.map, 'call', _664 => _664((toolType) => ({
|
|
30729
30729
|
id: toolType,
|
|
30730
|
-
label:
|
|
30730
|
+
label: _chunkMFYSV7DEcjs.toToolLabel.call(void 0, toolType),
|
|
30731
30731
|
value: toolType
|
|
30732
30732
|
}))]), () => ( []))
|
|
30733
30733
|
}
|
|
@@ -30776,7 +30776,7 @@ function LogsTableView({
|
|
|
30776
30776
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30777
30777
|
LogRowButton,
|
|
30778
30778
|
{
|
|
30779
|
-
onClick: getLogHref ?
|
|
30779
|
+
onClick: getLogHref ? _chunkMFYSV7DEcjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
30780
30780
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
30781
30781
|
label: "Open in new tab"
|
|
30782
30782
|
}
|
|
@@ -31098,7 +31098,7 @@ function OpenInNewTabCell({ href }) {
|
|
|
31098
31098
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31099
31099
|
_chunkFCZAUK4Dcjs.Button,
|
|
31100
31100
|
{
|
|
31101
|
-
onClick: loading ? void 0 :
|
|
31101
|
+
onClick: loading ? void 0 : _chunkMFYSV7DEcjs.openInNewTab.call(void 0, href),
|
|
31102
31102
|
disabled: loading,
|
|
31103
31103
|
variant: "outline",
|
|
31104
31104
|
size: "icon",
|
|
@@ -31287,9 +31287,9 @@ function ScriptSchedulesTable({
|
|
|
31287
31287
|
|
|
31288
31288
|
// src/components/features/scripts/shell-types.ts
|
|
31289
31289
|
var SCRIPT_SHELL_TYPES = [
|
|
31290
|
-
{ id:
|
|
31291
|
-
{ id:
|
|
31292
|
-
{ id:
|
|
31290
|
+
{ id: _chunkMFYSV7DEcjs.ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon },
|
|
31291
|
+
{ id: _chunkMFYSV7DEcjs.ShellTypeValues.CMD, label: "CMD", value: "cmd", icon: _chunkNIVJEJSGcjs.TerminalSquareIcon },
|
|
31292
|
+
{ id: _chunkMFYSV7DEcjs.ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkTRUW6DDAcjs.TerminalIcon }
|
|
31293
31293
|
];
|
|
31294
31294
|
function scriptShellType(value) {
|
|
31295
31295
|
return SCRIPT_SHELL_TYPES.find((shell) => shell.value === value);
|
|
@@ -32765,7 +32765,7 @@ function ScheduleFormFields({
|
|
|
32765
32765
|
disabled = false,
|
|
32766
32766
|
renderScriptSearch,
|
|
32767
32767
|
timeReferenceGate = "off",
|
|
32768
|
-
platforms =
|
|
32768
|
+
platforms = _chunkMFYSV7DEcjs.OS_PLATFORMS,
|
|
32769
32769
|
comingSoonPlatforms = [],
|
|
32770
32770
|
getTimeSlots,
|
|
32771
32771
|
nameLayout = "stacked",
|
|
@@ -32911,7 +32911,7 @@ function ScheduleFormFields({
|
|
|
32911
32911
|
// src/components/features/scripts/schedule-form/schedule-script-search-field.tsx
|
|
32912
32912
|
|
|
32913
32913
|
function ScriptPlatformIcons({ platforms }) {
|
|
32914
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children:
|
|
32914
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children: _chunkMFYSV7DEcjs.OS_PLATFORMS.filter((p) => platforms.includes(p.id)).map((p) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, p.icon, { className: "h-3.5 w-3.5 text-ods-text-secondary opacity-60" }, p.id)) });
|
|
32915
32915
|
}
|
|
32916
32916
|
function ScheduleScriptSearchField({
|
|
32917
32917
|
scriptId,
|
|
@@ -32984,7 +32984,7 @@ function KnowledgeBaseOpenButton({ href }) {
|
|
|
32984
32984
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32985
32985
|
_chunkFCZAUK4Dcjs.Button,
|
|
32986
32986
|
{
|
|
32987
|
-
onClick: loading ? void 0 :
|
|
32987
|
+
onClick: loading ? void 0 : _chunkMFYSV7DEcjs.openInNewTab.call(void 0, href),
|
|
32988
32988
|
disabled: loading,
|
|
32989
32989
|
variant: "outline",
|
|
32990
32990
|
size: "icon",
|
|
@@ -33335,7 +33335,7 @@ function ConversationCard({
|
|
|
33335
33335
|
style: tint,
|
|
33336
33336
|
onClick: selection && ((event) => {
|
|
33337
33337
|
if (event.button !== 0 || _optionalChain([window, 'access', _728 => _728.getSelection, 'call', _729 => _729(), 'optionalAccess', _730 => _730.toString, 'call', _731 => _731()])) return;
|
|
33338
|
-
if (!
|
|
33338
|
+
if (!_chunkMFYSV7DEcjs.isOwnClick.call(void 0, event.target, event.currentTarget, { controls: true })) return;
|
|
33339
33339
|
selection.onToggle();
|
|
33340
33340
|
}),
|
|
33341
33341
|
children: [
|
|
@@ -33358,7 +33358,7 @@ function ConversationCard({
|
|
|
33358
33358
|
)
|
|
33359
33359
|
),
|
|
33360
33360
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33361
|
-
|
|
33361
|
+
_chunkMFYSV7DEcjs.ChatTurn,
|
|
33362
33362
|
{
|
|
33363
33363
|
avatar: requester.avatar,
|
|
33364
33364
|
name: requester.name,
|
|
@@ -33379,7 +33379,7 @@ function ConversationCard({
|
|
|
33379
33379
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: CONTEXT_TEXT_CLASS, style: partLinesStyle(_optionalChain([lines, 'optionalAccess', _732 => _732.context])), children: context.text })
|
|
33380
33380
|
] }),
|
|
33381
33381
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33382
|
-
|
|
33382
|
+
_chunkMFYSV7DEcjs.ChatTurn,
|
|
33383
33383
|
{
|
|
33384
33384
|
avatar: responder.avatar,
|
|
33385
33385
|
name: responder.name,
|
|
@@ -33424,7 +33424,7 @@ function ConversationCardSkeleton({
|
|
|
33424
33424
|
{
|
|
33425
33425
|
selection: selection && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.InertWhileLoading, { className: "contents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectionToggle, { pressed: selection.pressed }) }),
|
|
33426
33426
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33427
|
-
|
|
33427
|
+
_chunkMFYSV7DEcjs.ChatTurn,
|
|
33428
33428
|
{
|
|
33429
33429
|
loading: true,
|
|
33430
33430
|
name: "",
|
|
@@ -33448,7 +33448,7 @@ function ConversationCardSkeleton({
|
|
|
33448
33448
|
] })
|
|
33449
33449
|
] }),
|
|
33450
33450
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33451
|
-
|
|
33451
|
+
_chunkMFYSV7DEcjs.ChatTurn,
|
|
33452
33452
|
{
|
|
33453
33453
|
loading: true,
|
|
33454
33454
|
name: "",
|