@flamingo-stack/openframe-frontend-core 0.0.798 → 0.0.799
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-PTQVGWJE.cjs → chunk-247LDSQE.cjs} +53 -53
- package/dist/{chunk-NK2FSEWD.cjs → chunk-2KEBGXA4.cjs} +4 -4
- package/dist/{chunk-6F2UHDCB.cjs → chunk-3MRK7X6Z.cjs} +3 -3
- package/dist/{chunk-WUBTAN27.cjs → chunk-4RK62AMV.cjs} +48 -48
- package/dist/{chunk-2M6HS23A.cjs → chunk-6CB3AXZM.cjs} +19 -19
- package/dist/{chunk-EYE5FLHZ.cjs → chunk-6EDOASF4.cjs} +6 -6
- package/dist/{chunk-6YCUP6JJ.cjs → chunk-B3X4J4HQ.cjs} +11 -11
- package/dist/{chunk-5IU64YEA.cjs → chunk-BSBCZIPQ.cjs} +39 -39
- package/dist/{chunk-FO3N6HDS.cjs → chunk-CS2KLF4O.cjs} +7 -7
- package/dist/{chunk-W5ZQDEDT.cjs → chunk-DBRXZC2I.cjs} +116 -107
- package/dist/{chunk-KFDAL6NA.cjs → chunk-FDDM5Z52.cjs} +2 -2
- package/dist/{chunk-ND7ECICK.cjs → chunk-GRNTIKPD.cjs} +17 -7
- package/dist/{chunk-TJQGKIXB.cjs → chunk-HB7FVY46.cjs} +32 -32
- package/dist/{chunk-BWTCULUN.cjs → chunk-IJGIWG6G.cjs} +4 -4
- package/dist/{chunk-W25OB2R6.cjs → chunk-PO5IIN4S.cjs} +9 -9
- package/dist/{chunk-VUHPWSAE.cjs → chunk-PPORXZI7.cjs} +18 -18
- package/dist/{chunk-ZXRAYCNB.cjs → chunk-TETW5NR4.cjs} +3 -3
- package/dist/{chunk-C2UZWRU5.cjs → chunk-UFCKY7OL.cjs} +10 -10
- package/dist/{cloud-tenants-XGL3DYSG.cjs → cloud-tenants-BQAVRN44.cjs} +4 -4
- package/dist/components/case-studies/index.cjs +16 -16
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/contact/index.cjs +5 -5
- package/dist/components/docs/index.cjs +8 -8
- package/dist/components/embeds/index.cjs +5 -5
- package/dist/components/faq/index.cjs +6 -6
- package/dist/components/features/index.cjs +4 -4
- package/dist/components/help-center-pages/index.cjs +61 -61
- package/dist/components/index.cjs +38 -38
- package/dist/components/loading/loading-fallback.d.ts +27 -3
- package/dist/components/loading/loading-fallback.d.ts.map +1 -1
- package/dist/components/loading/loading-fallback.js +17 -9
- package/dist/components/meeting-scheduler/index.cjs +29 -29
- package/dist/components/navigation/index.cjs +7 -7
- package/dist/components/onboarding-guides/index.cjs +6 -6
- package/dist/components/product-demo/index.cjs +13 -13
- package/dist/components/tickets/index.cjs +9 -9
- package/dist/components/ui/index.cjs +4 -4
- package/dist/components/ui/index.d.ts +1 -1
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +9 -1
- package/dist/components/ui/markdown-editor.d.ts.map +1 -1
- package/dist/components/ui/trendline.d.ts +1 -1
- package/dist/components/ui/trendline.d.ts.map +1 -1
- package/dist/components/ui/trendline.js +11 -2
- package/dist/{devices-U2NQYDI7.cjs → devices-KDT5ZGSG.cjs} +5 -5
- package/dist/{embeddable-chat-MPJLN4C6.cjs → embeddable-chat-ODKTSW3C.cjs} +59 -59
- package/dist/index.cjs +8 -8
- package/dist/{knowledge-BUY6TSK6.cjs → knowledge-4NLP77HP.cjs} +5 -5
- package/dist/loading-standard/engine.d.mts +22 -4
- package/dist/loading-standard/engine.d.mts.map +1 -1
- package/dist/loading-standard/rule-examples.d.mts.map +1 -1
- package/dist/{logs-FUPQ7XYE.cjs → logs-U6VMTY4N.cjs} +12 -12
- package/dist/{policies-NASADYBK.cjs → policies-TBLFBRFM.cjs} +8 -8
- package/dist/{scripts-BGLTDQKV.cjs → scripts-ZMNJWX7I.cjs} +9 -9
- package/dist/{software-update-QDIZ32KU.cjs → software-update-Q5AEQ4A4.cjs} +7 -7
- package/package.json +1 -1
- package/src/components/loading/loading-fallback.tsx +52 -12
- package/src/components/ui/index.ts +13 -1
- package/src/components/ui/markdown-editor.tsx +1 -0
- package/src/components/ui/trendline.tsx +27 -10
- package/src/loading-standard/engine.mjs +170 -14
- package/src/loading-standard/rule-examples.mjs +50 -0
|
@@ -107,7 +107,7 @@ var _chunkYR74H7Z3cjs = require('./chunk-YR74H7Z3.cjs');
|
|
|
107
107
|
|
|
108
108
|
|
|
109
109
|
|
|
110
|
-
var
|
|
110
|
+
var _chunkPPORXZI7cjs = require('./chunk-PPORXZI7.cjs');
|
|
111
111
|
|
|
112
112
|
|
|
113
113
|
|
|
@@ -127,7 +127,7 @@ var _chunkVUHPWSAEcjs = require('./chunk-VUHPWSAE.cjs');
|
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
|
|
130
|
-
var
|
|
130
|
+
var _chunkGRNTIKPDcjs = require('./chunk-GRNTIKPD.cjs');
|
|
131
131
|
|
|
132
132
|
|
|
133
133
|
|
|
@@ -695,7 +695,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
695
695
|
var useTheme = _nextthemes.useTheme;
|
|
696
696
|
function useThemeToggle() {
|
|
697
697
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
698
|
-
const mounted =
|
|
698
|
+
const mounted = _chunkGRNTIKPDcjs.useIsHydrated.call(void 0, );
|
|
699
699
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
700
700
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
701
701
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -4539,7 +4539,7 @@ function AdminFormDrawer({
|
|
|
4539
4539
|
"form",
|
|
4540
4540
|
{
|
|
4541
4541
|
id: formId,
|
|
4542
|
-
...
|
|
4542
|
+
..._chunkPPORXZI7cjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4543
4543
|
className: "flex flex-col gap-[var(--spacing-system-lf)]",
|
|
4544
4544
|
onSubmit: (e) => {
|
|
4545
4545
|
e.preventDefault();
|
|
@@ -4646,7 +4646,7 @@ function AdminFormModal({
|
|
|
4646
4646
|
"form",
|
|
4647
4647
|
{
|
|
4648
4648
|
id: formId,
|
|
4649
|
-
...
|
|
4649
|
+
..._chunkPPORXZI7cjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4650
4650
|
className: "flex min-h-0 flex-1 flex-col",
|
|
4651
4651
|
onSubmit: (e) => {
|
|
4652
4652
|
e.preventDefault();
|
|
@@ -6040,7 +6040,7 @@ function EmbedViewerFrame({
|
|
|
6040
6040
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
6041
6041
|
_react.useEffect.call(void 0, () => {
|
|
6042
6042
|
if (!fullscreenControl) return void 0;
|
|
6043
|
-
const controller = new (0,
|
|
6043
|
+
const controller = new (0, _chunkPPORXZI7cjs.FullscreenSwitchController)({
|
|
6044
6044
|
target: () => frameRef.current,
|
|
6045
6045
|
onFullscreenChange: setIsFullscreen
|
|
6046
6046
|
});
|
|
@@ -7279,7 +7279,7 @@ var formatTimeAgo = (timestamp) => {
|
|
|
7279
7279
|
return `${Math.floor(diffSeconds / 86400)}d ago`;
|
|
7280
7280
|
};
|
|
7281
7281
|
function RedditEmbedClient({ url, maxWidth = 700, rel }) {
|
|
7282
|
-
const postLinkRel =
|
|
7282
|
+
const postLinkRel = _chunkGRNTIKPDcjs.renderedLinkRel.call(void 0, rel, true);
|
|
7283
7283
|
const { redditProxyUrl } = useRichMarkdownRuntime();
|
|
7284
7284
|
const [redditData, setRedditData] = _react.useState.call(void 0, null);
|
|
7285
7285
|
const [loading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7611,7 +7611,7 @@ var UserIcon3 = () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg", { wid
|
|
|
7611
7611
|
] });
|
|
7612
7612
|
var XIcon = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2TEMEXDTcjs.XLogoIcon, { className: "h-5 w-5", color: "currentColor" });
|
|
7613
7613
|
function TwitterEmbedClient({ url, tweetId, maxWidth = 700, rel }) {
|
|
7614
|
-
const postLinkRel =
|
|
7614
|
+
const postLinkRel = _chunkGRNTIKPDcjs.renderedLinkRel.call(void 0, rel, true);
|
|
7615
7615
|
const { twitterProxyUrl } = useRichMarkdownRuntime();
|
|
7616
7616
|
const [tweetData, setTweetData] = _react.useState.call(void 0, null);
|
|
7617
7617
|
const [fetchLoading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7813,7 +7813,7 @@ function buildRichEmbedOverrides({
|
|
|
7813
7813
|
ogEndpointPath,
|
|
7814
7814
|
textSizes
|
|
7815
7815
|
}) {
|
|
7816
|
-
const standard =
|
|
7816
|
+
const standard = _chunkGRNTIKPDcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7817
7817
|
return {
|
|
7818
7818
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7819
7819
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7949,14 +7949,14 @@ function buildRichEmbedOverrides({
|
|
|
7949
7949
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7950
7950
|
// elsewhere). Guard against empty `![]()`.
|
|
7951
7951
|
img: ({ src, alt }) => {
|
|
7952
|
-
if (!
|
|
7952
|
+
if (!_chunkGRNTIKPDcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7953
7953
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7954
7954
|
},
|
|
7955
7955
|
// Raw <iframe> tags in stored content (a pasted YouTube embed). A YouTube one becomes the same click-to-play
|
|
7956
7956
|
// facade as the `youtube-embed` fence: the raw iframe loaded YouTube's whole player (about 470 KB of script) with
|
|
7957
7957
|
// the page, on every post that carried one (CU-17tkuw5xp4q). Any other iframe loads when it nears the screen.
|
|
7958
7958
|
iframe: ({ node: _node, src, ...rest }) => {
|
|
7959
|
-
if (!
|
|
7959
|
+
if (!_chunkGRNTIKPDcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7960
7960
|
const url = src.trim();
|
|
7961
7961
|
if (_chunkYBTORXFYcjs.extractYouTubeId.call(void 0, url)) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYBTORXFYcjs.Video, { kind: "youtube", url });
|
|
7962
7962
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "iframe", { ...rest, src: url, loading: "lazy" });
|
|
@@ -7964,7 +7964,7 @@ function buildRichEmbedOverrides({
|
|
|
7964
7964
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7965
7965
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7966
7966
|
video: ({ src, poster, className }) => {
|
|
7967
|
-
if (!
|
|
7967
|
+
if (!_chunkGRNTIKPDcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7968
7968
|
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, _chunkYBTORXFYcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
7969
7969
|
}
|
|
7970
7970
|
};
|
|
@@ -8073,7 +8073,7 @@ var processShortcodes = (content) => {
|
|
|
8073
8073
|
try {
|
|
8074
8074
|
const urlObj = new URL(url);
|
|
8075
8075
|
const hostname = urlObj.hostname.toLowerCase();
|
|
8076
|
-
const hostIs = (domain) =>
|
|
8076
|
+
const hostIs = (domain) => _chunkPPORXZI7cjs.hostMatches.call(void 0, hostname, domain);
|
|
8077
8077
|
const isYouTubeVideo = hostIs("youtube.com") && urlObj.searchParams.has("v") || hostIs("youtu.be");
|
|
8078
8078
|
if (isYouTubeVideo || hostIs("reddit.com") || hostIs("twitter.com") || hostIs("x.com") || hostIs("figma.com")) {
|
|
8079
8079
|
return match;
|
|
@@ -8150,13 +8150,13 @@ var RichMarkdownInner = ({
|
|
|
8150
8150
|
},
|
|
8151
8151
|
[resolveLinkEndpointUrl, resolveSource]
|
|
8152
8152
|
);
|
|
8153
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
8153
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkGRNTIKPDcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
8154
8154
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
8155
8155
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
8156
8156
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
8157
8157
|
);
|
|
8158
8158
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8159
|
-
|
|
8159
|
+
_chunkGRNTIKPDcjs.MarkdownEngine,
|
|
8160
8160
|
{
|
|
8161
8161
|
content,
|
|
8162
8162
|
className,
|
|
@@ -8180,7 +8180,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
8180
8180
|
className = "",
|
|
8181
8181
|
sectionIds,
|
|
8182
8182
|
onInternalLinkClick,
|
|
8183
|
-
brokenLinks =
|
|
8183
|
+
brokenLinks = _chunkGRNTIKPDcjs.NO_BROKEN_LINKS,
|
|
8184
8184
|
currentPath,
|
|
8185
8185
|
resolveSource = "openframe-docs",
|
|
8186
8186
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -9952,7 +9952,7 @@ var BenefitCardGrid = ({ children, className = "", columns = 2 }) => {
|
|
|
9952
9952
|
|
|
9953
9953
|
|
|
9954
9954
|
function PlatformBrowseButton({ item }) {
|
|
9955
|
-
const linkProps =
|
|
9955
|
+
const linkProps = _chunkGRNTIKPDcjs.useNavLinkViaRuntime.call(void 0, { href: item.link, targetPlatform: item.targetPlatform });
|
|
9956
9956
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "outline", linkProps, rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4" }), children: [
|
|
9957
9957
|
"Browse ",
|
|
9958
9958
|
item.buttonText
|
|
@@ -10471,10 +10471,10 @@ var OSTypeBadge = ({
|
|
|
10471
10471
|
if (!osType) {
|
|
10472
10472
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
10473
10473
|
}
|
|
10474
|
-
const normalized =
|
|
10474
|
+
const normalized = _chunkPPORXZI7cjs.normalizeOSType.call(void 0, osType);
|
|
10475
10475
|
if (!normalized && !labelOnly) return null;
|
|
10476
|
-
const label =
|
|
10477
|
-
const IconComponent =
|
|
10476
|
+
const label = _chunkPPORXZI7cjs.getOSLabel.call(void 0, osType);
|
|
10477
|
+
const IconComponent = _chunkPPORXZI7cjs.getOSIcon.call(void 0, osType);
|
|
10478
10478
|
if (iconOnly && IconComponent) {
|
|
10479
10479
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk7JWFMAQBcjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
10480
10480
|
}
|
|
@@ -10770,7 +10770,7 @@ function ComplianceLogo({
|
|
|
10770
10770
|
fallback = null,
|
|
10771
10771
|
className
|
|
10772
10772
|
}) {
|
|
10773
|
-
const standard =
|
|
10773
|
+
const standard = _chunkPPORXZI7cjs.complianceStandardForName.call(void 0, ...names);
|
|
10774
10774
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
10775
10775
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
10776
10776
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -11168,7 +11168,15 @@ function Spark({ values, toneClass }) {
|
|
|
11168
11168
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "circle", { cx: last.x, cy: last.y, r: 2, fill: "currentColor" })
|
|
11169
11169
|
] });
|
|
11170
11170
|
}
|
|
11171
|
-
function Trendline({
|
|
11171
|
+
function Trendline({
|
|
11172
|
+
values,
|
|
11173
|
+
label,
|
|
11174
|
+
change,
|
|
11175
|
+
higherIsBetter = false,
|
|
11176
|
+
tones,
|
|
11177
|
+
details,
|
|
11178
|
+
side = "top"
|
|
11179
|
+
}) {
|
|
11172
11180
|
if (_chunk7JWFMAQBcjs.useLoadingScope.call(void 0, )) {
|
|
11173
11181
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: BOX_CLASS, "aria-hidden": "true", children: [
|
|
11174
11182
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { as: "span", className: `${SPARK_CLASS} rounded-sm` }),
|
|
@@ -11221,7 +11229,8 @@ function TrendHistory({ title, columns, rows, loadingRows, error, children }) {
|
|
|
11221
11229
|
] });
|
|
11222
11230
|
}
|
|
11223
11231
|
function TrendHistoryCell({ column, value }) {
|
|
11224
|
-
if (_chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ))
|
|
11232
|
+
if (_chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ))
|
|
11233
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h6", className: column.align === "right" ? "ml-auto w-8" : "w-12" });
|
|
11225
11234
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${column.align === "right" ? "text-right tabular-nums" : "text-left"} text-ods-text-primary`, children: value });
|
|
11226
11235
|
}
|
|
11227
11236
|
|
|
@@ -12802,7 +12811,7 @@ function DataTableRowImpl({
|
|
|
12802
12811
|
const containerRef = _react.useRef.call(void 0, null);
|
|
12803
12812
|
const handleClick = _react.useCallback.call(void 0,
|
|
12804
12813
|
(e) => {
|
|
12805
|
-
if (!
|
|
12814
|
+
if (!_chunkPPORXZI7cjs.isOwnClick.call(void 0, e.target, containerRef.current)) {
|
|
12806
12815
|
if (isLinkMode) e.preventDefault();
|
|
12807
12816
|
return;
|
|
12808
12817
|
}
|
|
@@ -12816,7 +12825,7 @@ function DataTableRowImpl({
|
|
|
12816
12825
|
if (!(target instanceof Element) || !_optionalChain([container, 'optionalAccess', _222 => _222.contains, 'call', _223 => _223(target)])) return;
|
|
12817
12826
|
const nestedLink = target.closest("a");
|
|
12818
12827
|
if (nestedLink && nestedLink !== container && container.contains(nestedLink)) return;
|
|
12819
|
-
if (!
|
|
12828
|
+
if (!_chunkPPORXZI7cjs.isOwnClick.call(void 0, target, container) || target.closest(ROW_LINK_CONTROL_SELECTOR)) e.preventDefault();
|
|
12820
12829
|
}, []);
|
|
12821
12830
|
const containerClassName = _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
12822
12831
|
DATA_TABLE_ROW_FRAME_CLASS,
|
|
@@ -12945,7 +12954,7 @@ function DataTableBody({
|
|
|
12945
12954
|
const skeletonRowClassName = typeof rowClassName === "string" ? rowClassName : void 0;
|
|
12946
12955
|
if (loading && loadingCells && hasRows) {
|
|
12947
12956
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12948
|
-
|
|
12957
|
+
_chunkGRNTIKPDcjs.LoadingFallback,
|
|
12949
12958
|
{
|
|
12950
12959
|
label: "Loading results",
|
|
12951
12960
|
status: loadingRegion && !inScope,
|
|
@@ -13293,7 +13302,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13293
13302
|
// child of the cell.
|
|
13294
13303
|
_optionalChain([meta, 'optionalAccess', _241 => _241.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13295
13304
|
filterTrigger,
|
|
13296
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13305
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPORXZI7cjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13297
13306
|
] }) : filterTrigger
|
|
13298
13307
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13299
13308
|
"div",
|
|
@@ -13318,7 +13327,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13318
13327
|
// centred on the row.
|
|
13319
13328
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13320
13329
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13321
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13330
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPORXZI7cjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13322
13331
|
] })
|
|
13323
13332
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13324
13333
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -13557,7 +13566,7 @@ function PhoneInput({
|
|
|
13557
13566
|
placeholder = "Phone Number (optional)",
|
|
13558
13567
|
onKeyDown
|
|
13559
13568
|
}) {
|
|
13560
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
13569
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunkPPORXZI7cjs.getCountryPhoneData.call(void 0, ), []);
|
|
13561
13570
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
13562
13571
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
13563
13572
|
[countryCode, priority, others]
|
|
@@ -13572,7 +13581,7 @@ function PhoneInput({
|
|
|
13572
13581
|
_optionalChain([onValidationChange, 'optionalCall', _258 => _258(false)]);
|
|
13573
13582
|
return;
|
|
13574
13583
|
}
|
|
13575
|
-
const invalid = !
|
|
13584
|
+
const invalid = !_chunkPPORXZI7cjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
13576
13585
|
setIsInvalid(invalid);
|
|
13577
13586
|
_optionalChain([onValidationChange, 'optionalCall', _259 => _259(invalid)]);
|
|
13578
13587
|
},
|
|
@@ -14431,7 +14440,7 @@ function MarkdownLinkDialog({ isOpen, initial, editing, onSubmit, onRemove, onCl
|
|
|
14431
14440
|
),
|
|
14432
14441
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xsf)]", children: [
|
|
14433
14442
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14434
|
-
|
|
14443
|
+
_chunkGRNTIKPDcjs.TabSelector,
|
|
14435
14444
|
{
|
|
14436
14445
|
label: "Search engines",
|
|
14437
14446
|
value: choice,
|
|
@@ -14488,7 +14497,7 @@ function useMarkdownLinkCommand() {
|
|
|
14488
14497
|
buttonProps: { "aria-label": "Add or edit a link (ctrl + l)", title: "Add or edit a link (ctrl + l)" },
|
|
14489
14498
|
icon: command.icon,
|
|
14490
14499
|
execute: (state, api) => {
|
|
14491
|
-
const existing =
|
|
14500
|
+
const existing = _chunkGRNTIKPDcjs.findMarkdownLinkAt.call(void 0, state.text, state.selection.start, state.selection.end);
|
|
14492
14501
|
setPending(
|
|
14493
14502
|
existing ? {
|
|
14494
14503
|
api,
|
|
@@ -14519,7 +14528,7 @@ function useMarkdownLinkCommand() {
|
|
|
14519
14528
|
initial: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _316 => _316.initial]), () => ( EMPTY_LINK)),
|
|
14520
14529
|
editing: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _317 => _317.editing]), () => ( false)),
|
|
14521
14530
|
onSubmit: (link) => {
|
|
14522
|
-
if (pending) write(pending,
|
|
14531
|
+
if (pending) write(pending, _chunkGRNTIKPDcjs.formatMarkdownLink.call(void 0, link));
|
|
14523
14532
|
},
|
|
14524
14533
|
onRemove: () => {
|
|
14525
14534
|
if (pending) write(pending, pending.initial.text);
|
|
@@ -16398,7 +16407,7 @@ function TicketInfoSection({
|
|
|
16398
16407
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16399
16408
|
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" }) }),
|
|
16400
16409
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
16401
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16410
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGRNTIKPDcjs.SimpleMarkdownRenderer, { content: description }),
|
|
16402
16411
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
16403
16412
|
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, _chunk6UKH22NQcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
16404
16413
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16883,7 +16892,7 @@ function PhotoWall({
|
|
|
16883
16892
|
gap: COLUMN_GAP_PX
|
|
16884
16893
|
};
|
|
16885
16894
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: rootRef, "aria-hidden": "true", className: _chunk7JWFMAQBcjs.cn.call(void 0, "grid overflow-hidden", className), style: gridStyle, children: columnsToDraw ? columnsToDraw.map((column, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16886
|
-
|
|
16895
|
+
_chunkGRNTIKPDcjs.MarqueeWall,
|
|
16887
16896
|
{
|
|
16888
16897
|
axis: "y",
|
|
16889
16898
|
reverse: index % 2 === 1,
|
|
@@ -17443,7 +17452,7 @@ var TRIAL_TERM_ICONS = {
|
|
|
17443
17452
|
};
|
|
17444
17453
|
var DEFAULT_TRIAL_TERMS = ["cancel", "length", "noContract"];
|
|
17445
17454
|
function trialBenefits(trialDays, terms = DEFAULT_TRIAL_TERMS) {
|
|
17446
|
-
const labels =
|
|
17455
|
+
const labels = _chunkPPORXZI7cjs.trialLabels.call(void 0, trialDays);
|
|
17447
17456
|
return terms.flatMap((term) => {
|
|
17448
17457
|
const label = labels[term];
|
|
17449
17458
|
return label ? [{ icon: TRIAL_TERM_ICONS[term], label }] : [];
|
|
@@ -21874,7 +21883,7 @@ var MODEL_TOKEN_RATES_COPY = {
|
|
|
21874
21883
|
empty: "No token rates are in effect right now."
|
|
21875
21884
|
};
|
|
21876
21885
|
function providerMark(providerType, stated, className) {
|
|
21877
|
-
const Mark = _chunk5RGGUQ4Ycjs.findIcon.call(void 0,
|
|
21886
|
+
const Mark = _chunk5RGGUQ4Ycjs.findIcon.call(void 0, _chunkPPORXZI7cjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
|
|
21878
21887
|
return Mark ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Mark, { className }) : void 0;
|
|
21879
21888
|
}
|
|
21880
21889
|
var PAD_X = "px-[var(--spacing-system-s)]";
|
|
@@ -21892,7 +21901,7 @@ var UNIT_LINE_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
|
21892
21901
|
var TABS_ROW_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0, "shrink-0 border-b border-ods-border py-[var(--spacing-system-xs)]", PAD_X);
|
|
21893
21902
|
var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
|
|
21894
21903
|
function useProviderGroup(rates) {
|
|
21895
|
-
const groups =
|
|
21904
|
+
const groups = _chunkPPORXZI7cjs.groupTokenRatesByProvider.call(void 0, rates);
|
|
21896
21905
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
21897
21906
|
return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
|
|
21898
21907
|
}
|
|
@@ -21903,7 +21912,7 @@ function ProviderTabs({
|
|
|
21903
21912
|
className
|
|
21904
21913
|
}) {
|
|
21905
21914
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21906
|
-
|
|
21915
|
+
_chunkGRNTIKPDcjs.TabSelector,
|
|
21907
21916
|
{
|
|
21908
21917
|
variant: "secondary",
|
|
21909
21918
|
scrollable: true,
|
|
@@ -21911,7 +21920,7 @@ function ProviderTabs({
|
|
|
21911
21920
|
onValueChange,
|
|
21912
21921
|
items: groups.map((candidate) => ({
|
|
21913
21922
|
id: candidate.providerType,
|
|
21914
|
-
label:
|
|
21923
|
+
label: _chunkPPORXZI7cjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _459 => _459.rates, 'access', _460 => _460[0], 'optionalAccess', _461 => _461.providerLabel])),
|
|
21915
21924
|
icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _462 => _462.rates, 'access', _463 => _463[0], 'optionalAccess', _464 => _464.providerIcon]), "size-full")
|
|
21916
21925
|
})),
|
|
21917
21926
|
className
|
|
@@ -21988,8 +21997,8 @@ function ModelTokenRatesTable({ rates }) {
|
|
|
21988
21997
|
] }),
|
|
21989
21998
|
/* @__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: [
|
|
21990
21999
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
|
|
21991
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
21992
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22000
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkPPORXZI7cjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
|
|
22001
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkPPORXZI7cjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
|
|
21993
22002
|
] }, rate.modelName)) })
|
|
21994
22003
|
] }),
|
|
21995
22004
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: UNIT_LINE_CLASS, children: MODEL_TOKEN_RATES_COPY.unit })
|
|
@@ -22036,7 +22045,7 @@ function modelOption(rate) {
|
|
|
22036
22045
|
return {
|
|
22037
22046
|
label: rate.displayName || rate.modelName,
|
|
22038
22047
|
value: rate.modelName,
|
|
22039
|
-
description:
|
|
22048
|
+
description: _chunkPPORXZI7cjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
|
|
22040
22049
|
icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
|
|
22041
22050
|
};
|
|
22042
22051
|
}
|
|
@@ -22091,8 +22100,8 @@ function ModelTokenExchange({
|
|
|
22091
22100
|
const [chosen, setChosen] = _react.useState.call(void 0, null);
|
|
22092
22101
|
const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _465 => _465.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
|
|
22093
22102
|
const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
|
|
22094
|
-
const tokens =
|
|
22095
|
-
const cost =
|
|
22103
|
+
const tokens = _chunkPPORXZI7cjs.formatTokenAmount.call(void 0, balance);
|
|
22104
|
+
const cost = _chunkPPORXZI7cjs.tokenCost.call(void 0, balance, tokenPrice);
|
|
22096
22105
|
const balancePrice = cost === null ? null : _chunk6UKH22NQcjs.formatPrice.call(void 0, cost);
|
|
22097
22106
|
const model = rate ? rate.displayName || rate.modelName : "";
|
|
22098
22107
|
const options = models.map(modelOption);
|
|
@@ -22135,7 +22144,7 @@ function ModelTokenExchange({
|
|
|
22135
22144
|
variant: preset.tokens === balance ? "accent" : "outline",
|
|
22136
22145
|
size: "small",
|
|
22137
22146
|
onClick: () => setChosen(preset.tokens),
|
|
22138
|
-
children: copy.buy.preset(
|
|
22147
|
+
children: copy.buy.preset(_chunkPPORXZI7cjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
|
|
22139
22148
|
},
|
|
22140
22149
|
preset.label
|
|
22141
22150
|
)) })
|
|
@@ -22152,7 +22161,7 @@ function ModelTokenExchange({
|
|
|
22152
22161
|
const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _466 => _466.providerType]) === providerType ? rate : null)));
|
|
22153
22162
|
return {
|
|
22154
22163
|
id: providerType,
|
|
22155
|
-
name:
|
|
22164
|
+
name: _chunkPPORXZI7cjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _467 => _467.providerLabel])),
|
|
22156
22165
|
icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _468 => _468.providerIcon]), "size-8 text-ods-text-secondary")
|
|
22157
22166
|
};
|
|
22158
22167
|
}),
|
|
@@ -22191,7 +22200,7 @@ function ModelTokenExchange({
|
|
|
22191
22200
|
{
|
|
22192
22201
|
size: "plain",
|
|
22193
22202
|
loading,
|
|
22194
|
-
figure:
|
|
22203
|
+
figure: _chunkPPORXZI7cjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _473 => _473.inputTokenRate])),
|
|
22195
22204
|
words: copy.charge.input
|
|
22196
22205
|
}
|
|
22197
22206
|
),
|
|
@@ -22200,7 +22209,7 @@ function ModelTokenExchange({
|
|
|
22200
22209
|
{
|
|
22201
22210
|
size: "plain",
|
|
22202
22211
|
loading,
|
|
22203
|
-
figure:
|
|
22212
|
+
figure: _chunkPPORXZI7cjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _474 => _474.outputTokenRate])),
|
|
22204
22213
|
words: copy.charge.output
|
|
22205
22214
|
}
|
|
22206
22215
|
)
|
|
@@ -22212,9 +22221,9 @@ function ModelTokenExchange({
|
|
|
22212
22221
|
className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
|
|
22213
22222
|
children: [
|
|
22214
22223
|
/* @__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, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-full max-w-xs" }) : copy.charge.so(_nullishCoalesce(balancePrice, () => ( copy.buy.tokens(tokens))), model) }),
|
|
22215
|
-
/* @__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, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) :
|
|
22224
|
+
/* @__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, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) : _chunkPPORXZI7cjs.formatTokenAmount.call(void 0, _chunkPPORXZI7cjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
|
|
22216
22225
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
|
|
22217
|
-
/* @__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, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(
|
|
22226
|
+
/* @__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, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(_chunkPPORXZI7cjs.formatTokenAmount.call(void 0, _chunkPPORXZI7cjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
|
|
22218
22227
|
]
|
|
22219
22228
|
}
|
|
22220
22229
|
)
|
|
@@ -22761,14 +22770,14 @@ var ConfidenceBadge = ({
|
|
|
22761
22770
|
size = "sm",
|
|
22762
22771
|
className
|
|
22763
22772
|
}) => {
|
|
22764
|
-
const level =
|
|
22773
|
+
const level = _chunkPPORXZI7cjs.getConfidenceLevel.call(void 0, confidence);
|
|
22765
22774
|
if (level === "none") {
|
|
22766
22775
|
return null;
|
|
22767
22776
|
}
|
|
22768
|
-
const label =
|
|
22769
|
-
const borderClass =
|
|
22770
|
-
const textClass =
|
|
22771
|
-
const bgClass =
|
|
22777
|
+
const label = _chunkPPORXZI7cjs.getConfidenceLabel.call(void 0, confidence);
|
|
22778
|
+
const borderClass = _chunkPPORXZI7cjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
22779
|
+
const textClass = _chunkPPORXZI7cjs.getConfidenceTextClass.call(void 0, confidence);
|
|
22780
|
+
const bgClass = _chunkPPORXZI7cjs.getConfidenceBgClass.call(void 0, confidence);
|
|
22772
22781
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22773
22782
|
"span",
|
|
22774
22783
|
{
|
|
@@ -22819,9 +22828,9 @@ function SEOEditorPreview({
|
|
|
22819
22828
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
22820
22829
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
22821
22830
|
const seoTitleLength = (seoTitle || "").length;
|
|
22822
|
-
const seoTitleTooLong = seoTitleLength >
|
|
22831
|
+
const seoTitleTooLong = seoTitleLength > _chunkPPORXZI7cjs.SEO_TITLE_MAX_LENGTH;
|
|
22823
22832
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
22824
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
22833
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunkPPORXZI7cjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
22825
22834
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
22826
22835
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
22827
22836
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -22846,10 +22855,10 @@ function SEOEditorPreview({
|
|
|
22846
22855
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22847
22856
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22848
22857
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22849
|
-
|
|
22858
|
+
_chunkPPORXZI7cjs.Field,
|
|
22850
22859
|
{
|
|
22851
22860
|
label: "SEO Title",
|
|
22852
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
22861
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunkPPORXZI7cjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
22853
22862
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22854
22863
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22855
22864
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -22864,7 +22873,7 @@ function SEOEditorPreview({
|
|
|
22864
22873
|
children: [
|
|
22865
22874
|
seoTitleLength,
|
|
22866
22875
|
"/",
|
|
22867
|
-
|
|
22876
|
+
_chunkPPORXZI7cjs.SEO_TITLE_MAX_LENGTH
|
|
22868
22877
|
]
|
|
22869
22878
|
}
|
|
22870
22879
|
),
|
|
@@ -22875,7 +22884,7 @@ function SEOEditorPreview({
|
|
|
22875
22884
|
value: seoTitle || "",
|
|
22876
22885
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
22877
22886
|
disabled,
|
|
22878
|
-
maxLength:
|
|
22887
|
+
maxLength: _chunkPPORXZI7cjs.SEO_TITLE_MAX_LENGTH,
|
|
22879
22888
|
invalid: seoTitleTooLong,
|
|
22880
22889
|
placeholder: "Enter SEO meta title...",
|
|
22881
22890
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -22886,7 +22895,7 @@ function SEOEditorPreview({
|
|
|
22886
22895
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
22887
22896
|
] }),
|
|
22888
22897
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22889
|
-
|
|
22898
|
+
_chunkPPORXZI7cjs.Field,
|
|
22890
22899
|
{
|
|
22891
22900
|
label: "SEO Keywords",
|
|
22892
22901
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -22918,10 +22927,10 @@ function SEOEditorPreview({
|
|
|
22918
22927
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22919
22928
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22920
22929
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22921
|
-
|
|
22930
|
+
_chunkPPORXZI7cjs.Field,
|
|
22922
22931
|
{
|
|
22923
22932
|
label: "SEO Description",
|
|
22924
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
22933
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunkPPORXZI7cjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
22925
22934
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22926
22935
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22927
22936
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -22944,7 +22953,7 @@ function SEOEditorPreview({
|
|
|
22944
22953
|
children: [
|
|
22945
22954
|
seoDescriptionLength,
|
|
22946
22955
|
"/",
|
|
22947
|
-
|
|
22956
|
+
_chunkPPORXZI7cjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
22948
22957
|
]
|
|
22949
22958
|
}
|
|
22950
22959
|
),
|
|
@@ -22955,7 +22964,7 @@ function SEOEditorPreview({
|
|
|
22955
22964
|
value: seoDescription || "",
|
|
22956
22965
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
22957
22966
|
disabled,
|
|
22958
|
-
maxLength:
|
|
22967
|
+
maxLength: _chunkPPORXZI7cjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
22959
22968
|
invalid: seoDescriptionTooLong,
|
|
22960
22969
|
placeholder: "Enter SEO meta description...",
|
|
22961
22970
|
className: _chunk7JWFMAQBcjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -23108,7 +23117,7 @@ function socialIcon(platform) {
|
|
|
23108
23117
|
return _nullishCoalesce(_chunk5RGGUQ4Ycjs.iconOf.call(void 0, SOCIAL_ICONS[platform]), () => ( void 0));
|
|
23109
23118
|
}
|
|
23110
23119
|
function renderSocialIcon(platform) {
|
|
23111
|
-
const key = _nullishCoalesce(
|
|
23120
|
+
const key = _nullishCoalesce(_chunkPPORXZI7cjs.normalizeSocialPlatform.call(void 0, platform), () => ( "website"));
|
|
23112
23121
|
const icon = _nullishCoalesce(socialIcon(key), () => ( socialIcon("website")));
|
|
23113
23122
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5" }) : null;
|
|
23114
23123
|
}
|
|
@@ -23199,7 +23208,7 @@ function SocialLinksManager({
|
|
|
23199
23208
|
};
|
|
23200
23209
|
const getIcon = (link, platform) => {
|
|
23201
23210
|
const iconKey = _optionalChain([platform, 'optionalAccess', _484 => _484.icon_name]) || link.platform;
|
|
23202
|
-
const key =
|
|
23211
|
+
const key = _chunkPPORXZI7cjs.normalizeSocialPlatform.call(void 0, iconKey);
|
|
23203
23212
|
if (!key) return null;
|
|
23204
23213
|
const icon = socialIcon(key);
|
|
23205
23214
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5 text-ods-text-secondary" }) : null;
|
|
@@ -23667,7 +23676,7 @@ function VideoBitesDisplay({
|
|
|
23667
23676
|
filterPublished = true,
|
|
23668
23677
|
showTitle = true
|
|
23669
23678
|
}) {
|
|
23670
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23679
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGRNTIKPDcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
23671
23680
|
}
|
|
23672
23681
|
|
|
23673
23682
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -23697,7 +23706,7 @@ function WalkthroughVideo({
|
|
|
23697
23706
|
onOpenChange,
|
|
23698
23707
|
defaultOpen,
|
|
23699
23708
|
defaultOpenPaused,
|
|
23700
|
-
deepLinkParam =
|
|
23709
|
+
deepLinkParam = _chunkPPORXZI7cjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
23701
23710
|
autoPlayCard = false,
|
|
23702
23711
|
label = "Play Demo Video",
|
|
23703
23712
|
placement,
|
|
@@ -23714,7 +23723,7 @@ function WalkthroughVideo({
|
|
|
23714
23723
|
const inline = placement === "inline";
|
|
23715
23724
|
const inScope = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
|
|
23716
23725
|
const dismissEnabled = dismissal !== false;
|
|
23717
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
23726
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunkPPORXZI7cjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
23718
23727
|
const dismissalId = _optionalChain([video, 'optionalAccess', _490 => _490.id]) != null ? String(video.id) : "dismissed";
|
|
23719
23728
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
23720
23729
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -23726,7 +23735,7 @@ function WalkthroughVideo({
|
|
|
23726
23735
|
let delayElapsed = false;
|
|
23727
23736
|
let interacted = inline;
|
|
23728
23737
|
const reveal = () => {
|
|
23729
|
-
if (dismissEnabled &&
|
|
23738
|
+
if (dismissEnabled && _chunkPPORXZI7cjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
23730
23739
|
setDismissed(true);
|
|
23731
23740
|
return;
|
|
23732
23741
|
}
|
|
@@ -23763,7 +23772,7 @@ function WalkthroughVideo({
|
|
|
23763
23772
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
23764
23773
|
};
|
|
23765
23774
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId, inline]);
|
|
23766
|
-
const hydrated =
|
|
23775
|
+
const hydrated = _chunkGRNTIKPDcjs.useIsHydrated.call(void 0, );
|
|
23767
23776
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
23768
23777
|
if (!hydrated) return false;
|
|
23769
23778
|
try {
|
|
@@ -24013,7 +24022,7 @@ function WalkthroughVideo({
|
|
|
24013
24022
|
(e) => {
|
|
24014
24023
|
e.stopPropagation();
|
|
24015
24024
|
pausePreviewNow();
|
|
24016
|
-
if (dismissEnabled)
|
|
24025
|
+
if (dismissEnabled) _chunkPPORXZI7cjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
24017
24026
|
setDismissed(true);
|
|
24018
24027
|
},
|
|
24019
24028
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -24188,7 +24197,7 @@ function WalkthroughVideo({
|
|
|
24188
24197
|
`card-${embedUrlKey}`
|
|
24189
24198
|
) }),
|
|
24190
24199
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24191
|
-
|
|
24200
|
+
_chunkGRNTIKPDcjs.CardHitLayer,
|
|
24192
24201
|
{
|
|
24193
24202
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
24194
24203
|
onPointerDown: pausePreviewNow,
|
|
@@ -24360,7 +24369,7 @@ function useWalkthroughVideo(opts) {
|
|
|
24360
24369
|
const { endpoint, initialData, enabled: enabledGiven = true, transformCaptionsUrl } = opts;
|
|
24361
24370
|
const inScope = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
|
|
24362
24371
|
const enabled = enabledGiven && !inScope;
|
|
24363
|
-
const captions =
|
|
24372
|
+
const captions = _chunkGRNTIKPDcjs.useCaptions.call(void 0, );
|
|
24364
24373
|
const query = _reactquery.useQuery.call(void 0, {
|
|
24365
24374
|
queryKey: ["walkthrough-video", endpoint],
|
|
24366
24375
|
enabled,
|
|
@@ -25111,7 +25120,7 @@ function HighlightConfigSection({
|
|
|
25111
25120
|
disabled = false,
|
|
25112
25121
|
className = ""
|
|
25113
25122
|
}) {
|
|
25114
|
-
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,
|
|
25123
|
+
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, _chunkPPORXZI7cjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25115
25124
|
_chunkE56LN23Hcjs.Select,
|
|
25116
25125
|
{
|
|
25117
25126
|
value: targetDurationSeconds.toString(),
|
|
@@ -25212,7 +25221,7 @@ var AIStatusIndicator = ({
|
|
|
25212
25221
|
}) => {
|
|
25213
25222
|
const config = statusConfig[status];
|
|
25214
25223
|
const displayText = message || config.label;
|
|
25215
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
25224
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkPPORXZI7cjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
25216
25225
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "inline-flex items-center gap-2 rounded-lg px-3 py-1.5", config.bgColor, className), children: [
|
|
25217
25226
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25218
25227
|
_chunkUNFCRSYIcjs.SparklesIcon,
|
|
@@ -25220,7 +25229,7 @@ var AIStatusIndicator = ({
|
|
|
25220
25229
|
size: 16,
|
|
25221
25230
|
className: _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
25222
25231
|
status === "loading" && _chunk4WIJI4AKcjs.LIVE_PULSE_CLASS,
|
|
25223
|
-
confidence !== void 0 && status === "success" ?
|
|
25232
|
+
confidence !== void 0 && status === "success" ? _chunkPPORXZI7cjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25224
25233
|
)
|
|
25225
25234
|
}
|
|
25226
25235
|
),
|
|
@@ -25229,7 +25238,7 @@ var AIStatusIndicator = ({
|
|
|
25229
25238
|
{
|
|
25230
25239
|
className: _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
25231
25240
|
"text-h6",
|
|
25232
|
-
confidence !== void 0 && status === "success" ?
|
|
25241
|
+
confidence !== void 0 && status === "success" ? _chunkPPORXZI7cjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25233
25242
|
),
|
|
25234
25243
|
children: displayText
|
|
25235
25244
|
}
|
|
@@ -25239,8 +25248,8 @@ var AIStatusIndicator = ({
|
|
|
25239
25248
|
{
|
|
25240
25249
|
className: _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
25241
25250
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
25242
|
-
|
|
25243
|
-
|
|
25251
|
+
_chunkPPORXZI7cjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
25252
|
+
_chunkPPORXZI7cjs.getConfidenceTextClass.call(void 0, confidence)
|
|
25244
25253
|
),
|
|
25245
25254
|
children: confidenceLabel
|
|
25246
25255
|
}
|
|
@@ -26120,7 +26129,7 @@ function OpenPolicyButton({ href, name }) {
|
|
|
26120
26129
|
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,
|
|
26121
26130
|
_chunkAHBTZ7DNcjs.Button,
|
|
26122
26131
|
{
|
|
26123
|
-
onClick: loading ? void 0 :
|
|
26132
|
+
onClick: loading ? void 0 : _chunkPPORXZI7cjs.openInNewTab.call(void 0, href),
|
|
26124
26133
|
disabled: loading,
|
|
26125
26134
|
variant: "outline",
|
|
26126
26135
|
size: "icon",
|
|
@@ -26494,7 +26503,7 @@ function OpenTenantButton({ href, name }) {
|
|
|
26494
26503
|
/* @__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,
|
|
26495
26504
|
_chunkAHBTZ7DNcjs.Button,
|
|
26496
26505
|
{
|
|
26497
|
-
onClick: loading ? void 0 :
|
|
26506
|
+
onClick: loading ? void 0 : _chunkPPORXZI7cjs.openInNewTab.call(void 0, href),
|
|
26498
26507
|
disabled: loading,
|
|
26499
26508
|
variant: "outline",
|
|
26500
26509
|
size: "icon",
|
|
@@ -26629,7 +26638,7 @@ function WaitlistForm({
|
|
|
26629
26638
|
const { toast } = _chunkBWR5ACK3cjs.useToast.call(void 0, );
|
|
26630
26639
|
const { honeypotInputProps, getSignals, resetSignals } = _chunkBWR5ACK3cjs.useHumanitySignals.call(void 0, );
|
|
26631
26640
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26632
|
-
const isClient =
|
|
26641
|
+
const isClient = _chunkGRNTIKPDcjs.useIsHydrated.call(void 0, );
|
|
26633
26642
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26634
26643
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26635
26644
|
const rescue = _chunkBWR5ACK3cjs.useFormRescue.call(void 0, {
|
|
@@ -26644,7 +26653,7 @@ function WaitlistForm({
|
|
|
26644
26653
|
_react.useEffect.call(void 0, () => {
|
|
26645
26654
|
rescue.track({ email, phone }, null);
|
|
26646
26655
|
}, [email, phone, rescue]);
|
|
26647
|
-
const isMailDomainGeneric =
|
|
26656
|
+
const isMailDomainGeneric = _chunkPPORXZI7cjs.hasGenericEmailDomain.call(void 0, email);
|
|
26648
26657
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26649
26658
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
26650
26659
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -26678,7 +26687,7 @@ function WaitlistForm({
|
|
|
26678
26687
|
setShowConsentError(true);
|
|
26679
26688
|
return;
|
|
26680
26689
|
}
|
|
26681
|
-
const finalPhone = phone ?
|
|
26690
|
+
const finalPhone = phone ? _chunkPPORXZI7cjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
26682
26691
|
try {
|
|
26683
26692
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
26684
26693
|
rescue.complete();
|
|
@@ -28833,7 +28842,7 @@ function getDeviceStatusConfig(status) {
|
|
|
28833
28842
|
}
|
|
28834
28843
|
}
|
|
28835
28844
|
function getDeviceOperatingSystem(osType) {
|
|
28836
|
-
return
|
|
28845
|
+
return _chunkPPORXZI7cjs.getOSPlatformId.call(void 0, osType);
|
|
28837
28846
|
}
|
|
28838
28847
|
|
|
28839
28848
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -30408,7 +30417,7 @@ function DevicesPanelView({
|
|
|
30408
30417
|
actionsVariant: "icon-buttons",
|
|
30409
30418
|
className,
|
|
30410
30419
|
selector: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30411
|
-
|
|
30420
|
+
_chunkGRNTIKPDcjs.TabSelector,
|
|
30412
30421
|
{
|
|
30413
30422
|
value: viewMode,
|
|
30414
30423
|
onValueChange: (value) => _optionalChain([onViewModeChange, 'optionalCall', _671 => _671(value)]),
|
|
@@ -30943,11 +30952,11 @@ var ToolBadge = ({
|
|
|
30943
30952
|
iconClassName
|
|
30944
30953
|
}) => {
|
|
30945
30954
|
const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
|
|
30946
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
30955
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkPPORXZI7cjs.getToolLabel.call(void 0, toolType) : "")));
|
|
30947
30956
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHATRCNXJcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
30948
30957
|
if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ToolBadgeSkeleton, { variant, icon: !!mark, className });
|
|
30949
30958
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30950
|
-
|
|
30959
|
+
_chunkGRNTIKPDcjs.NavLinkAnchorViaRuntime,
|
|
30951
30960
|
{
|
|
30952
30961
|
href,
|
|
30953
30962
|
targetPlatform,
|
|
@@ -31097,7 +31106,7 @@ function LogsTableView({
|
|
|
31097
31106
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31098
31107
|
ToolBadge,
|
|
31099
31108
|
{
|
|
31100
|
-
toolType:
|
|
31109
|
+
toolType: _chunkPPORXZI7cjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
31101
31110
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
31102
31111
|
}
|
|
31103
31112
|
),
|
|
@@ -31109,7 +31118,7 @@ function LogsTableView({
|
|
|
31109
31118
|
filter: {
|
|
31110
31119
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _679 => _679.toolTypes, 'access', _680 => _680.map, 'call', _681 => _681((toolType) => ({
|
|
31111
31120
|
id: toolType,
|
|
31112
|
-
label:
|
|
31121
|
+
label: _chunkPPORXZI7cjs.toToolLabel.call(void 0, toolType),
|
|
31113
31122
|
value: toolType
|
|
31114
31123
|
}))]), () => ( []))
|
|
31115
31124
|
}
|
|
@@ -31158,7 +31167,7 @@ function LogsTableView({
|
|
|
31158
31167
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31159
31168
|
LogRowButton,
|
|
31160
31169
|
{
|
|
31161
|
-
onClick: getLogHref ?
|
|
31170
|
+
onClick: getLogHref ? _chunkPPORXZI7cjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
31162
31171
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
31163
31172
|
label: "Open in new tab"
|
|
31164
31173
|
}
|
|
@@ -31480,7 +31489,7 @@ function OpenInNewTabCell({ href }) {
|
|
|
31480
31489
|
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,
|
|
31481
31490
|
_chunkAHBTZ7DNcjs.Button,
|
|
31482
31491
|
{
|
|
31483
|
-
onClick: loading ? void 0 :
|
|
31492
|
+
onClick: loading ? void 0 : _chunkPPORXZI7cjs.openInNewTab.call(void 0, href),
|
|
31484
31493
|
disabled: loading,
|
|
31485
31494
|
variant: "outline",
|
|
31486
31495
|
size: "icon",
|
|
@@ -31669,9 +31678,9 @@ function ScriptSchedulesTable({
|
|
|
31669
31678
|
|
|
31670
31679
|
// src/components/features/scripts/shell-types.ts
|
|
31671
31680
|
var SCRIPT_SHELL_TYPES = [
|
|
31672
|
-
{ id:
|
|
31673
|
-
{ id:
|
|
31674
|
-
{ id:
|
|
31681
|
+
{ id: _chunkPPORXZI7cjs.ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon },
|
|
31682
|
+
{ id: _chunkPPORXZI7cjs.ShellTypeValues.CMD, label: "CMD", value: "cmd", icon: _chunkNIVJEJSGcjs.TerminalSquareIcon },
|
|
31683
|
+
{ id: _chunkPPORXZI7cjs.ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkTRUW6DDAcjs.TerminalIcon }
|
|
31675
31684
|
];
|
|
31676
31685
|
function scriptShellType(value) {
|
|
31677
31686
|
return SCRIPT_SHELL_TYPES.find((shell) => shell.value === value);
|
|
@@ -33128,7 +33137,7 @@ function ScheduleFormFields({
|
|
|
33128
33137
|
disabled = false,
|
|
33129
33138
|
renderScriptSearch,
|
|
33130
33139
|
timeReferenceGate = "off",
|
|
33131
|
-
platforms =
|
|
33140
|
+
platforms = _chunkPPORXZI7cjs.OS_PLATFORMS,
|
|
33132
33141
|
comingSoonPlatforms = [],
|
|
33133
33142
|
getTimeSlots,
|
|
33134
33143
|
nameLayout = "stacked",
|
|
@@ -33274,7 +33283,7 @@ function ScheduleFormFields({
|
|
|
33274
33283
|
// src/components/features/scripts/schedule-form/schedule-script-search-field.tsx
|
|
33275
33284
|
|
|
33276
33285
|
function ScriptPlatformIcons({ platforms }) {
|
|
33277
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children:
|
|
33286
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children: _chunkPPORXZI7cjs.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)) });
|
|
33278
33287
|
}
|
|
33279
33288
|
function ScheduleScriptSearchField({
|
|
33280
33289
|
scriptId,
|
|
@@ -33347,7 +33356,7 @@ function KnowledgeBaseOpenButton({ href }) {
|
|
|
33347
33356
|
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,
|
|
33348
33357
|
_chunkAHBTZ7DNcjs.Button,
|
|
33349
33358
|
{
|
|
33350
|
-
onClick: loading ? void 0 :
|
|
33359
|
+
onClick: loading ? void 0 : _chunkPPORXZI7cjs.openInNewTab.call(void 0, href),
|
|
33351
33360
|
disabled: loading,
|
|
33352
33361
|
variant: "outline",
|
|
33353
33362
|
size: "icon",
|
|
@@ -33698,7 +33707,7 @@ function ConversationCard({
|
|
|
33698
33707
|
style: tint,
|
|
33699
33708
|
onClick: selection && ((event) => {
|
|
33700
33709
|
if (event.button !== 0 || _optionalChain([window, 'access', _745 => _745.getSelection, 'call', _746 => _746(), 'optionalAccess', _747 => _747.toString, 'call', _748 => _748()])) return;
|
|
33701
|
-
if (!
|
|
33710
|
+
if (!_chunkPPORXZI7cjs.isOwnClick.call(void 0, event.target, event.currentTarget, { controls: true })) return;
|
|
33702
33711
|
selection.onToggle();
|
|
33703
33712
|
}),
|
|
33704
33713
|
children: [
|
|
@@ -33721,7 +33730,7 @@ function ConversationCard({
|
|
|
33721
33730
|
)
|
|
33722
33731
|
),
|
|
33723
33732
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33724
|
-
|
|
33733
|
+
_chunkPPORXZI7cjs.ChatTurn,
|
|
33725
33734
|
{
|
|
33726
33735
|
avatar: requester.avatar,
|
|
33727
33736
|
name: requester.name,
|
|
@@ -33742,7 +33751,7 @@ function ConversationCard({
|
|
|
33742
33751
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: CONTEXT_TEXT_CLASS, style: partLinesStyle(_optionalChain([lines, 'optionalAccess', _749 => _749.context])), children: context.text })
|
|
33743
33752
|
] }),
|
|
33744
33753
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33745
|
-
|
|
33754
|
+
_chunkPPORXZI7cjs.ChatTurn,
|
|
33746
33755
|
{
|
|
33747
33756
|
avatar: responder.avatar,
|
|
33748
33757
|
name: responder.name,
|
|
@@ -33787,7 +33796,7 @@ function ConversationCardSkeleton({
|
|
|
33787
33796
|
{
|
|
33788
33797
|
selection: selection && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JWFMAQBcjs.InertWhileLoading, { className: "contents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectionToggle, { pressed: selection.pressed }) }),
|
|
33789
33798
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33790
|
-
|
|
33799
|
+
_chunkPPORXZI7cjs.ChatTurn,
|
|
33791
33800
|
{
|
|
33792
33801
|
loading: true,
|
|
33793
33802
|
name: "",
|
|
@@ -33811,7 +33820,7 @@ function ConversationCardSkeleton({
|
|
|
33811
33820
|
] })
|
|
33812
33821
|
] }),
|
|
33813
33822
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33814
|
-
|
|
33823
|
+
_chunkPPORXZI7cjs.ChatTurn,
|
|
33815
33824
|
{
|
|
33816
33825
|
loading: true,
|
|
33817
33826
|
name: "",
|