@flamingo-stack/openframe-frontend-core 0.0.759 → 0.0.760
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-I4W4DQ6C.cjs → chunk-3LNKXYMI.cjs} +4 -4
- package/dist/{chunk-EFCX5SYN.cjs → chunk-4VRXTQVZ.cjs} +2 -2
- package/dist/{chunk-O75A3FBT.cjs → chunk-4ZMCKCXN.cjs} +36 -36
- package/dist/{chunk-6VDOHVYE.cjs → chunk-BDCEMTWU.cjs} +57 -57
- package/dist/{chunk-SYACKQYF.cjs → chunk-D2HMQUK5.cjs} +13 -13
- package/dist/{chunk-7ITYKDJN.cjs → chunk-EC7VXTJ3.cjs} +3 -3
- package/dist/{chunk-F7WIKBRI.cjs → chunk-EMKGOU54.cjs} +2 -2
- package/dist/{chunk-4IXA5CJT.cjs → chunk-EYVYPX5N.cjs} +76 -76
- package/dist/{chunk-DHFQECP3.cjs → chunk-GL5KJ4PK.cjs} +11 -11
- package/dist/{chunk-G7RDJACG.cjs → chunk-ITO3JRVB.cjs} +2 -2
- package/dist/{chunk-WBSYC6EY.cjs → chunk-NC4QUV73.cjs} +5 -5
- package/dist/{chunk-CDA2MY7U.cjs → chunk-PIV4FVTR.cjs} +10 -10
- package/dist/{chunk-XXM74P3N.cjs → chunk-PSLL4FAS.cjs} +1 -1
- package/dist/{chunk-S23DIVIP.cjs → chunk-QCXE7BSY.cjs} +23 -23
- package/dist/{chunk-SIOSQMIB.cjs → chunk-SULCTARW.cjs} +3 -3
- package/dist/{chunk-WGFTIEHY.cjs → chunk-UT4W73YG.cjs} +39 -39
- package/dist/{cloud-tenants-YUMG3O36.cjs → cloud-tenants-2NMXXIA6.cjs} +3 -3
- package/dist/components/case-studies/index.cjs +11 -11
- package/dist/components/chat/chat-sidebar.js +1 -1
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/docs/index.cjs +7 -7
- package/dist/components/embeds/index.cjs +4 -4
- package/dist/components/faq/index.cjs +5 -5
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/help-center-pages/index.cjs +53 -53
- package/dist/components/index.cjs +32 -32
- package/dist/components/meeting-scheduler/index.cjs +19 -19
- package/dist/components/navigation/index.cjs +6 -6
- package/dist/components/navigation/navigation-sidebar-item.js +1 -1
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/product-demo/index.cjs +7 -7
- package/dist/components/tickets/index.cjs +8 -8
- package/dist/components/ui/index.cjs +3 -3
- package/dist/{devices-EFDFNWIV.cjs → devices-5XZVTD7G.cjs} +4 -4
- package/dist/index.cjs +7 -7
- package/dist/{knowledge-UT2XI45N.cjs → knowledge-7QSJQB4P.cjs} +3 -3
- package/dist/{logs-ZTYEI35Y.cjs → logs-URLNW334.cjs} +11 -11
- package/dist/{policies-S3IF2U3D.cjs → policies-NNW6PMAN.cjs} +7 -7
- package/dist/{scripts-IZWNCX5A.cjs → scripts-WPYKAZYF.cjs} +8 -8
- package/dist/{software-update-6T4GFJPA.cjs → software-update-KB6BIWUT.cjs} +6 -6
- package/package.json +1 -1
- package/src/components/chat/chat-sidebar.tsx +1 -1
- package/src/components/navigation/navigation-sidebar-item.tsx +1 -1
|
@@ -109,7 +109,7 @@ var _chunkYUMFVQINcjs = require('./chunk-YUMFVQIN.cjs');
|
|
|
109
109
|
|
|
110
110
|
|
|
111
111
|
|
|
112
|
-
var
|
|
112
|
+
var _chunkPSLL4FAScjs = require('./chunk-PSLL4FAS.cjs');
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
|
|
@@ -4378,7 +4378,7 @@ function AdminFormDrawer({
|
|
|
4378
4378
|
"form",
|
|
4379
4379
|
{
|
|
4380
4380
|
id: formId,
|
|
4381
|
-
...
|
|
4381
|
+
..._chunkPSLL4FAScjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4382
4382
|
className: "flex flex-col gap-[var(--spacing-system-lf)]",
|
|
4383
4383
|
onSubmit: (e) => {
|
|
4384
4384
|
e.preventDefault();
|
|
@@ -4485,7 +4485,7 @@ function AdminFormModal({
|
|
|
4485
4485
|
"form",
|
|
4486
4486
|
{
|
|
4487
4487
|
id: formId,
|
|
4488
|
-
...
|
|
4488
|
+
..._chunkPSLL4FAScjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4489
4489
|
className: "flex min-h-0 flex-1 flex-col",
|
|
4490
4490
|
onSubmit: (e) => {
|
|
4491
4491
|
e.preventDefault();
|
|
@@ -5804,7 +5804,7 @@ function EmbedViewerFrame({
|
|
|
5804
5804
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
5805
5805
|
_react.useEffect.call(void 0, () => {
|
|
5806
5806
|
if (!fullscreenControl) return void 0;
|
|
5807
|
-
const controller = new (0,
|
|
5807
|
+
const controller = new (0, _chunkPSLL4FAScjs.FullscreenSwitchController)({
|
|
5808
5808
|
target: () => frameRef.current,
|
|
5809
5809
|
onFullscreenChange: setIsFullscreen
|
|
5810
5810
|
});
|
|
@@ -7786,7 +7786,7 @@ var processShortcodes = (content) => {
|
|
|
7786
7786
|
try {
|
|
7787
7787
|
const urlObj = new URL(url);
|
|
7788
7788
|
const hostname = urlObj.hostname.toLowerCase();
|
|
7789
|
-
const hostIs = (domain) =>
|
|
7789
|
+
const hostIs = (domain) => _chunkPSLL4FAScjs.hostMatches.call(void 0, hostname, domain);
|
|
7790
7790
|
const isYouTubeVideo = hostIs("youtube.com") && urlObj.searchParams.has("v") || hostIs("youtu.be");
|
|
7791
7791
|
if (isYouTubeVideo || hostIs("reddit.com") || hostIs("twitter.com") || hostIs("x.com") || hostIs("figma.com")) {
|
|
7792
7792
|
return match;
|
|
@@ -9960,10 +9960,10 @@ var OSTypeBadge = ({
|
|
|
9960
9960
|
if (!osType) {
|
|
9961
9961
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
9962
9962
|
}
|
|
9963
|
-
const normalized =
|
|
9963
|
+
const normalized = _chunkPSLL4FAScjs.normalizeOSType.call(void 0, osType);
|
|
9964
9964
|
if (!normalized && !labelOnly) return null;
|
|
9965
|
-
const label =
|
|
9966
|
-
const IconComponent =
|
|
9965
|
+
const label = _chunkPSLL4FAScjs.getOSLabel.call(void 0, osType);
|
|
9966
|
+
const IconComponent = _chunkPSLL4FAScjs.getOSIcon.call(void 0, osType);
|
|
9967
9967
|
if (iconOnly && IconComponent) {
|
|
9968
9968
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk3ATAYP36cjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
9969
9969
|
}
|
|
@@ -10228,7 +10228,7 @@ function ComplianceLogo({
|
|
|
10228
10228
|
fallback = null,
|
|
10229
10229
|
className
|
|
10230
10230
|
}) {
|
|
10231
|
-
const standard =
|
|
10231
|
+
const standard = _chunkPSLL4FAScjs.complianceStandardForName.call(void 0, ...names);
|
|
10232
10232
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
10233
10233
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
10234
10234
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -11845,7 +11845,7 @@ function TableHeader({
|
|
|
11845
11845
|
onFilterChange
|
|
11846
11846
|
}
|
|
11847
11847
|
),
|
|
11848
|
-
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11848
|
+
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPSLL4FAScjs.InfoHint, { label: column.label, children: column.hint }) : null
|
|
11849
11849
|
] })
|
|
11850
11850
|
) : (
|
|
11851
11851
|
/* Non-filterable column — regular label with optional sort */
|
|
@@ -11871,7 +11871,7 @@ function TableHeader({
|
|
|
11871
11871
|
hint exists, so a hint-less header keeps its DOM. */
|
|
11872
11872
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
11873
11873
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
11874
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11874
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPSLL4FAScjs.InfoHint, { label: column.label, children: column.hint })
|
|
11875
11875
|
] })
|
|
11876
11876
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
11877
11877
|
getSortIcon(column)
|
|
@@ -13220,7 +13220,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13220
13220
|
// child of the cell.
|
|
13221
13221
|
_optionalChain([meta, 'optionalAccess', _235 => _235.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13222
13222
|
filterTrigger,
|
|
13223
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13223
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPSLL4FAScjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13224
13224
|
] }) : filterTrigger
|
|
13225
13225
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13226
13226
|
"div",
|
|
@@ -13245,7 +13245,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13245
13245
|
// centred on the row.
|
|
13246
13246
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13247
13247
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13248
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13248
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPSLL4FAScjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13249
13249
|
] })
|
|
13250
13250
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13251
13251
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -13465,7 +13465,7 @@ function PhoneInput({
|
|
|
13465
13465
|
placeholder = "Phone Number (optional)",
|
|
13466
13466
|
onKeyDown
|
|
13467
13467
|
}) {
|
|
13468
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
13468
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunkPSLL4FAScjs.getCountryPhoneData.call(void 0, ), []);
|
|
13469
13469
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
13470
13470
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
13471
13471
|
[countryCode, priority, others]
|
|
@@ -13480,7 +13480,7 @@ function PhoneInput({
|
|
|
13480
13480
|
_optionalChain([onValidationChange, 'optionalCall', _248 => _248(false)]);
|
|
13481
13481
|
return;
|
|
13482
13482
|
}
|
|
13483
|
-
const invalid = !
|
|
13483
|
+
const invalid = !_chunkPSLL4FAScjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
13484
13484
|
setIsInvalid(invalid);
|
|
13485
13485
|
_optionalChain([onValidationChange, 'optionalCall', _249 => _249(invalid)]);
|
|
13486
13486
|
},
|
|
@@ -17129,7 +17129,7 @@ var TRIAL_TERM_ICONS = {
|
|
|
17129
17129
|
};
|
|
17130
17130
|
var DEFAULT_TRIAL_TERMS = ["cancel", "length", "noContract"];
|
|
17131
17131
|
function trialBenefits(trialDays, terms = DEFAULT_TRIAL_TERMS) {
|
|
17132
|
-
const labels =
|
|
17132
|
+
const labels = _chunkPSLL4FAScjs.trialLabels.call(void 0, trialDays);
|
|
17133
17133
|
return terms.flatMap((term) => {
|
|
17134
17134
|
const label = labels[term];
|
|
17135
17135
|
return label ? [{ icon: TRIAL_TERM_ICONS[term], label }] : [];
|
|
@@ -22325,14 +22325,14 @@ var MODEL_TOKEN_RATES_COPY = {
|
|
|
22325
22325
|
empty: "No token rates are in effect right now."
|
|
22326
22326
|
};
|
|
22327
22327
|
function providerMark(providerType, stated, className) {
|
|
22328
|
-
const Mark = _chunkKTPR66EEcjs.findIcon.call(void 0,
|
|
22328
|
+
const Mark = _chunkKTPR66EEcjs.findIcon.call(void 0, _chunkPSLL4FAScjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
|
|
22329
22329
|
return Mark ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Mark, { className }) : void 0;
|
|
22330
22330
|
}
|
|
22331
22331
|
var PAD_X = "px-[var(--spacing-system-s)]";
|
|
22332
22332
|
var ROW = "flex items-center gap-[var(--spacing-system-s)]";
|
|
22333
22333
|
var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
|
|
22334
22334
|
function useProviderGroup(rates) {
|
|
22335
|
-
const groups =
|
|
22335
|
+
const groups = _chunkPSLL4FAScjs.groupTokenRatesByProvider.call(void 0, rates);
|
|
22336
22336
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
22337
22337
|
return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
|
|
22338
22338
|
}
|
|
@@ -22351,7 +22351,7 @@ function ProviderTabs({
|
|
|
22351
22351
|
onValueChange,
|
|
22352
22352
|
items: groups.map((candidate) => ({
|
|
22353
22353
|
id: candidate.providerType,
|
|
22354
|
-
label:
|
|
22354
|
+
label: _chunkPSLL4FAScjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _443 => _443.rates, 'access', _444 => _444[0], 'optionalAccess', _445 => _445.providerLabel])),
|
|
22355
22355
|
icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _446 => _446.rates, 'access', _447 => _447[0], 'optionalAccess', _448 => _448.providerIcon]), "size-full")
|
|
22356
22356
|
})),
|
|
22357
22357
|
className
|
|
@@ -22452,8 +22452,8 @@ function ModelTokenRatesTable({ rates }) {
|
|
|
22452
22452
|
className: _chunk3ATAYP36cjs.cn.call(void 0, ROW, PAD_X, "py-[var(--spacing-system-xxs)] text-ods-text-primary text-h6"),
|
|
22453
22453
|
children: [
|
|
22454
22454
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
|
|
22455
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22456
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22455
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkPSLL4FAScjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
|
|
22456
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkPSLL4FAScjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
|
|
22457
22457
|
]
|
|
22458
22458
|
},
|
|
22459
22459
|
rate.modelName
|
|
@@ -22519,7 +22519,7 @@ function modelOption(rate) {
|
|
|
22519
22519
|
return {
|
|
22520
22520
|
label: rate.displayName || rate.modelName,
|
|
22521
22521
|
value: rate.modelName,
|
|
22522
|
-
description:
|
|
22522
|
+
description: _chunkPSLL4FAScjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
|
|
22523
22523
|
icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
|
|
22524
22524
|
};
|
|
22525
22525
|
}
|
|
@@ -22573,8 +22573,8 @@ function ModelTokenExchange({
|
|
|
22573
22573
|
const [chosen, setChosen] = _react.useState.call(void 0, null);
|
|
22574
22574
|
const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _449 => _449.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
|
|
22575
22575
|
const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
|
|
22576
|
-
const tokens =
|
|
22577
|
-
const cost =
|
|
22576
|
+
const tokens = _chunkPSLL4FAScjs.formatTokenAmount.call(void 0, balance);
|
|
22577
|
+
const cost = _chunkPSLL4FAScjs.tokenCost.call(void 0, balance, tokenPrice);
|
|
22578
22578
|
const balancePrice = cost === null ? null : _chunkJHQNUWFMcjs.formatPrice.call(void 0, cost);
|
|
22579
22579
|
const model = rate ? rate.displayName || rate.modelName : "";
|
|
22580
22580
|
const options = models.map(modelOption);
|
|
@@ -22616,7 +22616,7 @@ function ModelTokenExchange({
|
|
|
22616
22616
|
variant: preset.tokens === balance ? "accent" : "outline",
|
|
22617
22617
|
size: "small",
|
|
22618
22618
|
onClick: () => setChosen(preset.tokens),
|
|
22619
|
-
children: copy.buy.preset(
|
|
22619
|
+
children: copy.buy.preset(_chunkPSLL4FAScjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
|
|
22620
22620
|
},
|
|
22621
22621
|
preset.label
|
|
22622
22622
|
)) })
|
|
@@ -22635,7 +22635,7 @@ function ModelTokenExchange({
|
|
|
22635
22635
|
const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _450 => _450.providerType]) === providerType ? rate : null)));
|
|
22636
22636
|
return {
|
|
22637
22637
|
id: providerType,
|
|
22638
|
-
name:
|
|
22638
|
+
name: _chunkPSLL4FAScjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _451 => _451.providerLabel])),
|
|
22639
22639
|
icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _452 => _452.providerIcon]), "size-8 text-ods-text-secondary")
|
|
22640
22640
|
};
|
|
22641
22641
|
}),
|
|
@@ -22673,7 +22673,7 @@ function ModelTokenExchange({
|
|
|
22673
22673
|
{
|
|
22674
22674
|
size: "plain",
|
|
22675
22675
|
loading,
|
|
22676
|
-
figure:
|
|
22676
|
+
figure: _chunkPSLL4FAScjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _457 => _457.inputTokenRate])),
|
|
22677
22677
|
words: copy.charge.input
|
|
22678
22678
|
}
|
|
22679
22679
|
),
|
|
@@ -22682,7 +22682,7 @@ function ModelTokenExchange({
|
|
|
22682
22682
|
{
|
|
22683
22683
|
size: "plain",
|
|
22684
22684
|
loading,
|
|
22685
|
-
figure:
|
|
22685
|
+
figure: _chunkPSLL4FAScjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _458 => _458.outputTokenRate])),
|
|
22686
22686
|
words: copy.charge.output
|
|
22687
22687
|
}
|
|
22688
22688
|
)
|
|
@@ -22694,9 +22694,9 @@ function ModelTokenExchange({
|
|
|
22694
22694
|
className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
|
|
22695
22695
|
children: [
|
|
22696
22696
|
/* @__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, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", "aria-hidden": true, className: _chunk3ATAYP36cjs.cn.call(void 0, FIGURE_SKELETON_CLASS, "w-full max-w-xs") }) : copy.charge.so(_nullishCoalesce(balancePrice, () => ( copy.buy.tokens(tokens))), model) }),
|
|
22697
|
-
/* @__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, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", "aria-hidden": true, className: _chunk3ATAYP36cjs.cn.call(void 0, FIGURE_SKELETON_CLASS, "w-40") }) :
|
|
22697
|
+
/* @__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, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", "aria-hidden": true, className: _chunk3ATAYP36cjs.cn.call(void 0, FIGURE_SKELETON_CLASS, "w-40") }) : _chunkPSLL4FAScjs.formatTokenAmount.call(void 0, _chunkPSLL4FAScjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
|
|
22698
22698
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
|
|
22699
|
-
/* @__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, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", "aria-hidden": true, className: _chunk3ATAYP36cjs.cn.call(void 0, FIGURE_SKELETON_CLASS, "w-48") }) : copy.charge.orWritten(
|
|
22699
|
+
/* @__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, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", "aria-hidden": true, className: _chunk3ATAYP36cjs.cn.call(void 0, FIGURE_SKELETON_CLASS, "w-48") }) : copy.charge.orWritten(_chunkPSLL4FAScjs.formatTokenAmount.call(void 0, _chunkPSLL4FAScjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
|
|
22700
22700
|
]
|
|
22701
22701
|
}
|
|
22702
22702
|
)
|
|
@@ -23194,14 +23194,14 @@ var ConfidenceBadge = ({
|
|
|
23194
23194
|
size = "sm",
|
|
23195
23195
|
className
|
|
23196
23196
|
}) => {
|
|
23197
|
-
const level =
|
|
23197
|
+
const level = _chunkPSLL4FAScjs.getConfidenceLevel.call(void 0, confidence);
|
|
23198
23198
|
if (level === "none") {
|
|
23199
23199
|
return null;
|
|
23200
23200
|
}
|
|
23201
|
-
const label =
|
|
23202
|
-
const borderClass =
|
|
23203
|
-
const textClass =
|
|
23204
|
-
const bgClass =
|
|
23201
|
+
const label = _chunkPSLL4FAScjs.getConfidenceLabel.call(void 0, confidence);
|
|
23202
|
+
const borderClass = _chunkPSLL4FAScjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
23203
|
+
const textClass = _chunkPSLL4FAScjs.getConfidenceTextClass.call(void 0, confidence);
|
|
23204
|
+
const bgClass = _chunkPSLL4FAScjs.getConfidenceBgClass.call(void 0, confidence);
|
|
23205
23205
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23206
23206
|
"span",
|
|
23207
23207
|
{
|
|
@@ -23252,9 +23252,9 @@ function SEOEditorPreview({
|
|
|
23252
23252
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
23253
23253
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
23254
23254
|
const seoTitleLength = (seoTitle || "").length;
|
|
23255
|
-
const seoTitleTooLong = seoTitleLength >
|
|
23255
|
+
const seoTitleTooLong = seoTitleLength > _chunkPSLL4FAScjs.SEO_TITLE_MAX_LENGTH;
|
|
23256
23256
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
23257
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
23257
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunkPSLL4FAScjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
23258
23258
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
23259
23259
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
23260
23260
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -23279,10 +23279,10 @@ function SEOEditorPreview({
|
|
|
23279
23279
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
23280
23280
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23281
23281
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23282
|
-
|
|
23282
|
+
_chunkPSLL4FAScjs.Field,
|
|
23283
23283
|
{
|
|
23284
23284
|
label: "SEO Title",
|
|
23285
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
23285
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunkPSLL4FAScjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
23286
23286
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
23287
23287
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
23288
23288
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -23297,7 +23297,7 @@ function SEOEditorPreview({
|
|
|
23297
23297
|
children: [
|
|
23298
23298
|
seoTitleLength,
|
|
23299
23299
|
"/",
|
|
23300
|
-
|
|
23300
|
+
_chunkPSLL4FAScjs.SEO_TITLE_MAX_LENGTH
|
|
23301
23301
|
]
|
|
23302
23302
|
}
|
|
23303
23303
|
),
|
|
@@ -23308,7 +23308,7 @@ function SEOEditorPreview({
|
|
|
23308
23308
|
value: seoTitle || "",
|
|
23309
23309
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
23310
23310
|
disabled,
|
|
23311
|
-
maxLength:
|
|
23311
|
+
maxLength: _chunkPSLL4FAScjs.SEO_TITLE_MAX_LENGTH,
|
|
23312
23312
|
invalid: seoTitleTooLong,
|
|
23313
23313
|
placeholder: "Enter SEO meta title...",
|
|
23314
23314
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -23319,7 +23319,7 @@ function SEOEditorPreview({
|
|
|
23319
23319
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
23320
23320
|
] }),
|
|
23321
23321
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23322
|
-
|
|
23322
|
+
_chunkPSLL4FAScjs.Field,
|
|
23323
23323
|
{
|
|
23324
23324
|
label: "SEO Keywords",
|
|
23325
23325
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -23351,10 +23351,10 @@ function SEOEditorPreview({
|
|
|
23351
23351
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
23352
23352
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23353
23353
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23354
|
-
|
|
23354
|
+
_chunkPSLL4FAScjs.Field,
|
|
23355
23355
|
{
|
|
23356
23356
|
label: "SEO Description",
|
|
23357
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
23357
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunkPSLL4FAScjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
23358
23358
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
23359
23359
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
23360
23360
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -23377,7 +23377,7 @@ function SEOEditorPreview({
|
|
|
23377
23377
|
children: [
|
|
23378
23378
|
seoDescriptionLength,
|
|
23379
23379
|
"/",
|
|
23380
|
-
|
|
23380
|
+
_chunkPSLL4FAScjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
23381
23381
|
]
|
|
23382
23382
|
}
|
|
23383
23383
|
),
|
|
@@ -23388,7 +23388,7 @@ function SEOEditorPreview({
|
|
|
23388
23388
|
value: seoDescription || "",
|
|
23389
23389
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
23390
23390
|
disabled,
|
|
23391
|
-
maxLength:
|
|
23391
|
+
maxLength: _chunkPSLL4FAScjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
23392
23392
|
invalid: seoDescriptionTooLong,
|
|
23393
23393
|
placeholder: "Enter SEO meta description...",
|
|
23394
23394
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -23541,7 +23541,7 @@ function socialIcon(platform) {
|
|
|
23541
23541
|
return _nullishCoalesce(_chunkKTPR66EEcjs.iconOf.call(void 0, SOCIAL_ICONS[platform]), () => ( void 0));
|
|
23542
23542
|
}
|
|
23543
23543
|
function renderSocialIcon(platform) {
|
|
23544
|
-
const key = _nullishCoalesce(
|
|
23544
|
+
const key = _nullishCoalesce(_chunkPSLL4FAScjs.normalizeSocialPlatform.call(void 0, platform), () => ( "website"));
|
|
23545
23545
|
const icon = _nullishCoalesce(socialIcon(key), () => ( socialIcon("website")));
|
|
23546
23546
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5" }) : null;
|
|
23547
23547
|
}
|
|
@@ -23624,7 +23624,7 @@ function SocialLinksManager({
|
|
|
23624
23624
|
};
|
|
23625
23625
|
const getIcon = (link, platform) => {
|
|
23626
23626
|
const iconKey = _optionalChain([platform, 'optionalAccess', _468 => _468.icon_name]) || link.platform;
|
|
23627
|
-
const key =
|
|
23627
|
+
const key = _chunkPSLL4FAScjs.normalizeSocialPlatform.call(void 0, iconKey);
|
|
23628
23628
|
if (!key) return null;
|
|
23629
23629
|
const icon = socialIcon(key);
|
|
23630
23630
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5 text-ods-text-secondary" }) : null;
|
|
@@ -24062,7 +24062,7 @@ function WalkthroughVideo({
|
|
|
24062
24062
|
onOpenChange,
|
|
24063
24063
|
defaultOpen,
|
|
24064
24064
|
defaultOpenPaused,
|
|
24065
|
-
deepLinkParam =
|
|
24065
|
+
deepLinkParam = _chunkPSLL4FAScjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
24066
24066
|
autoPlayCard = false,
|
|
24067
24067
|
label = "Play Demo Video",
|
|
24068
24068
|
placement,
|
|
@@ -24078,7 +24078,7 @@ function WalkthroughVideo({
|
|
|
24078
24078
|
}) {
|
|
24079
24079
|
const inline = placement === "inline";
|
|
24080
24080
|
const dismissEnabled = dismissal !== false;
|
|
24081
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
24081
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunkPSLL4FAScjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
24082
24082
|
const dismissalId = _optionalChain([video, 'optionalAccess', _474 => _474.id]) != null ? String(video.id) : "dismissed";
|
|
24083
24083
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
24084
24084
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -24090,7 +24090,7 @@ function WalkthroughVideo({
|
|
|
24090
24090
|
let delayElapsed = false;
|
|
24091
24091
|
let interacted = inline;
|
|
24092
24092
|
const reveal = () => {
|
|
24093
|
-
if (dismissEnabled &&
|
|
24093
|
+
if (dismissEnabled && _chunkPSLL4FAScjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
24094
24094
|
setDismissed(true);
|
|
24095
24095
|
return;
|
|
24096
24096
|
}
|
|
@@ -24377,7 +24377,7 @@ function WalkthroughVideo({
|
|
|
24377
24377
|
(e) => {
|
|
24378
24378
|
e.stopPropagation();
|
|
24379
24379
|
pausePreviewNow();
|
|
24380
|
-
if (dismissEnabled)
|
|
24380
|
+
if (dismissEnabled) _chunkPSLL4FAScjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
24381
24381
|
setDismissed(true);
|
|
24382
24382
|
},
|
|
24383
24383
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -25465,7 +25465,7 @@ function HighlightConfigSection({
|
|
|
25465
25465
|
disabled = false,
|
|
25466
25466
|
className = ""
|
|
25467
25467
|
}) {
|
|
25468
|
-
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,
|
|
25468
|
+
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, _chunkPSLL4FAScjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25469
25469
|
_chunkAXBVN5SWcjs.Select,
|
|
25470
25470
|
{
|
|
25471
25471
|
value: targetDurationSeconds.toString(),
|
|
@@ -25566,7 +25566,7 @@ var AIStatusIndicator = ({
|
|
|
25566
25566
|
}) => {
|
|
25567
25567
|
const config = statusConfig[status];
|
|
25568
25568
|
const displayText = message || config.label;
|
|
25569
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
25569
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkPSLL4FAScjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
25570
25570
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "inline-flex items-center gap-2 rounded-lg px-3 py-1.5", config.bgColor, className), children: [
|
|
25571
25571
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25572
25572
|
_chunkUNFCRSYIcjs.SparklesIcon,
|
|
@@ -25574,7 +25574,7 @@ var AIStatusIndicator = ({
|
|
|
25574
25574
|
size: 16,
|
|
25575
25575
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
25576
25576
|
status === "loading" && "animate-pulse",
|
|
25577
|
-
confidence !== void 0 && status === "success" ?
|
|
25577
|
+
confidence !== void 0 && status === "success" ? _chunkPSLL4FAScjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25578
25578
|
)
|
|
25579
25579
|
}
|
|
25580
25580
|
),
|
|
@@ -25583,7 +25583,7 @@ var AIStatusIndicator = ({
|
|
|
25583
25583
|
{
|
|
25584
25584
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
25585
25585
|
"text-h6",
|
|
25586
|
-
confidence !== void 0 && status === "success" ?
|
|
25586
|
+
confidence !== void 0 && status === "success" ? _chunkPSLL4FAScjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25587
25587
|
),
|
|
25588
25588
|
children: displayText
|
|
25589
25589
|
}
|
|
@@ -25593,8 +25593,8 @@ var AIStatusIndicator = ({
|
|
|
25593
25593
|
{
|
|
25594
25594
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
25595
25595
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
25596
|
-
|
|
25597
|
-
|
|
25596
|
+
_chunkPSLL4FAScjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
25597
|
+
_chunkPSLL4FAScjs.getConfidenceTextClass.call(void 0, confidence)
|
|
25598
25598
|
),
|
|
25599
25599
|
children: confidenceLabel
|
|
25600
25600
|
}
|
|
@@ -26490,7 +26490,7 @@ function PoliciesTable({
|
|
|
26490
26490
|
cell: ({ row }) => row.original.href ? /* @__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,
|
|
26491
26491
|
_chunk2QMBXGMQcjs.Button,
|
|
26492
26492
|
{
|
|
26493
|
-
onClick:
|
|
26493
|
+
onClick: _chunkPSLL4FAScjs.openInNewTab.call(void 0, row.original.href),
|
|
26494
26494
|
variant: "outline",
|
|
26495
26495
|
size: "icon",
|
|
26496
26496
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -26816,7 +26816,7 @@ function TenantsTableView({
|
|
|
26816
26816
|
/* @__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,
|
|
26817
26817
|
_chunk2QMBXGMQcjs.Button,
|
|
26818
26818
|
{
|
|
26819
|
-
onClick:
|
|
26819
|
+
onClick: _chunkPSLL4FAScjs.openInNewTab.call(void 0, getHref(row.original)),
|
|
26820
26820
|
variant: "outline",
|
|
26821
26821
|
size: "icon",
|
|
26822
26822
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -26912,7 +26912,7 @@ function WaitlistForm({
|
|
|
26912
26912
|
_react.useEffect.call(void 0, () => {
|
|
26913
26913
|
rescue.track({ email, phone }, null);
|
|
26914
26914
|
}, [email, phone, rescue]);
|
|
26915
|
-
const isMailDomainGeneric =
|
|
26915
|
+
const isMailDomainGeneric = _chunkPSLL4FAScjs.hasGenericEmailDomain.call(void 0, email);
|
|
26916
26916
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26917
26917
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
26918
26918
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -26946,7 +26946,7 @@ function WaitlistForm({
|
|
|
26946
26946
|
setShowConsentError(true);
|
|
26947
26947
|
return;
|
|
26948
26948
|
}
|
|
26949
|
-
const finalPhone = phone ?
|
|
26949
|
+
const finalPhone = phone ? _chunkPSLL4FAScjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
26950
26950
|
try {
|
|
26951
26951
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
26952
26952
|
rescue.complete();
|
|
@@ -29063,7 +29063,7 @@ function getDeviceStatusConfig(status) {
|
|
|
29063
29063
|
}
|
|
29064
29064
|
}
|
|
29065
29065
|
function getDeviceOperatingSystem(osType) {
|
|
29066
|
-
return
|
|
29066
|
+
return _chunkPSLL4FAScjs.getOSPlatformId.call(void 0, osType);
|
|
29067
29067
|
}
|
|
29068
29068
|
|
|
29069
29069
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -31134,7 +31134,7 @@ var ToolBadge = ({
|
|
|
31134
31134
|
className,
|
|
31135
31135
|
iconClassName
|
|
31136
31136
|
}) => {
|
|
31137
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
31137
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkPSLL4FAScjs.getToolLabel.call(void 0, toolType) : "")));
|
|
31138
31138
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWI2OTGKCcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
31139
31139
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31140
31140
|
_chunkQTYSYEHKcjs.NavLinkAnchorViaRuntime,
|
|
@@ -31244,7 +31244,7 @@ function LogsTableView({
|
|
|
31244
31244
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31245
31245
|
ToolBadge,
|
|
31246
31246
|
{
|
|
31247
|
-
toolType:
|
|
31247
|
+
toolType: _chunkPSLL4FAScjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
31248
31248
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
31249
31249
|
}
|
|
31250
31250
|
),
|
|
@@ -31256,7 +31256,7 @@ function LogsTableView({
|
|
|
31256
31256
|
filter: {
|
|
31257
31257
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _663 => _663.toolTypes, 'access', _664 => _664.map, 'call', _665 => _665((toolType) => ({
|
|
31258
31258
|
id: toolType,
|
|
31259
|
-
label:
|
|
31259
|
+
label: _chunkPSLL4FAScjs.toToolLabel.call(void 0, toolType),
|
|
31260
31260
|
value: toolType
|
|
31261
31261
|
}))]), () => ( []))
|
|
31262
31262
|
}
|
|
@@ -31314,7 +31314,7 @@ function LogsTableView({
|
|
|
31314
31314
|
cell: ({ row }) => /* @__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,
|
|
31315
31315
|
_chunk2QMBXGMQcjs.Button,
|
|
31316
31316
|
{
|
|
31317
|
-
onClick: getLogHref ?
|
|
31317
|
+
onClick: getLogHref ? _chunkPSLL4FAScjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
31318
31318
|
variant: "outline",
|
|
31319
31319
|
size: "icon",
|
|
31320
31320
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -31689,7 +31689,7 @@ function OpenInNewTabCell({ href }) {
|
|
|
31689
31689
|
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,
|
|
31690
31690
|
_chunk2QMBXGMQcjs.Button,
|
|
31691
31691
|
{
|
|
31692
|
-
onClick:
|
|
31692
|
+
onClick: _chunkPSLL4FAScjs.openInNewTab.call(void 0, href),
|
|
31693
31693
|
variant: "outline",
|
|
31694
31694
|
size: "icon",
|
|
31695
31695
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -31838,9 +31838,9 @@ function ScriptSchedulesTable({
|
|
|
31838
31838
|
|
|
31839
31839
|
// src/components/features/scripts/shell-types.ts
|
|
31840
31840
|
var SCRIPT_SHELL_TYPES = [
|
|
31841
|
-
{ id:
|
|
31842
|
-
{ id:
|
|
31843
|
-
{ id:
|
|
31841
|
+
{ id: _chunkPSLL4FAScjs.ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon },
|
|
31842
|
+
{ id: _chunkPSLL4FAScjs.ShellTypeValues.CMD, label: "CMD", value: "cmd", icon: _chunkNIVJEJSGcjs.TerminalSquareIcon },
|
|
31843
|
+
{ id: _chunkPSLL4FAScjs.ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkTRUW6DDAcjs.TerminalIcon }
|
|
31844
31844
|
];
|
|
31845
31845
|
function scriptShellType(value) {
|
|
31846
31846
|
return SCRIPT_SHELL_TYPES.find((shell) => shell.value === value);
|
|
@@ -33273,7 +33273,7 @@ function ScheduleFormFields({
|
|
|
33273
33273
|
disabled = false,
|
|
33274
33274
|
renderScriptSearch,
|
|
33275
33275
|
timeReferenceGate = "off",
|
|
33276
|
-
platforms =
|
|
33276
|
+
platforms = _chunkPSLL4FAScjs.OS_PLATFORMS,
|
|
33277
33277
|
comingSoonPlatforms = [],
|
|
33278
33278
|
getTimeSlots,
|
|
33279
33279
|
nameLayout = "stacked",
|
|
@@ -33419,7 +33419,7 @@ function ScheduleFormFields({
|
|
|
33419
33419
|
// src/components/features/scripts/schedule-form/schedule-script-search-field.tsx
|
|
33420
33420
|
|
|
33421
33421
|
function ScriptPlatformIcons({ platforms }) {
|
|
33422
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children:
|
|
33422
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children: _chunkPSLL4FAScjs.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)) });
|
|
33423
33423
|
}
|
|
33424
33424
|
function ScheduleScriptSearchField({
|
|
33425
33425
|
scriptId,
|
|
@@ -33492,7 +33492,7 @@ function getKnowledgeBaseOpenColumn(getHref) {
|
|
|
33492
33492
|
cell: ({ row }) => /* @__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,
|
|
33493
33493
|
_chunk2QMBXGMQcjs.Button,
|
|
33494
33494
|
{
|
|
33495
|
-
onClick:
|
|
33495
|
+
onClick: _chunkPSLL4FAScjs.openInNewTab.call(void 0, getHref(row.original)),
|
|
33496
33496
|
variant: "outline",
|
|
33497
33497
|
size: "icon",
|
|
33498
33498
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -33740,13 +33740,13 @@ function ConversationCard({
|
|
|
33740
33740
|
),
|
|
33741
33741
|
style: tint,
|
|
33742
33742
|
children: [
|
|
33743
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33743
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPSLL4FAScjs.ChatTurn, { avatar: requester.avatar, name: requester.name, meta: requester.meta, time: requester.time, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "m-0 line-clamp-2 min-h-[2lh] text-ods-text-primary text-h3", title: request, children: [
|
|
33744
33744
|
"\u201C",
|
|
33745
33745
|
request,
|
|
33746
33746
|
"\u201D"
|
|
33747
33747
|
] }) }),
|
|
33748
33748
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33749
|
-
|
|
33749
|
+
_chunkPSLL4FAScjs.ChatTurn,
|
|
33750
33750
|
{
|
|
33751
33751
|
avatar: responder.avatar,
|
|
33752
33752
|
name: responder.name,
|