@flamingo-stack/openframe-frontend-core 0.0.754 → 0.0.755
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-IVAAQSOU.cjs → chunk-2HWKYPJB.cjs} +2 -2
- package/dist/{chunk-TPJTFN7O.cjs → chunk-32IKIBPY.cjs} +55 -55
- package/dist/{chunk-GQYCVZJI.cjs → chunk-5WHEQ63L.cjs} +2 -2
- package/dist/{chunk-BLZIUELR.cjs → chunk-BQ5KRCSJ.cjs} +5 -5
- package/dist/{chunk-TBDVF4SN.cjs → chunk-BVEUGFIN.cjs} +22 -22
- package/dist/{chunk-FAFFWYEH.cjs → chunk-FOVNP5HU.cjs} +4 -4
- package/dist/{chunk-YSFOYBYC.cjs → chunk-HAL6HBTM.cjs} +76 -76
- package/dist/{chunk-U4I3QR2A.cjs → chunk-HSWNJAIK.cjs} +9 -9
- package/dist/{chunk-EDSFLB7J.cjs → chunk-JV4VVA2V.cjs} +11 -11
- package/dist/{chunk-RTQN35EP.cjs → chunk-NE3T3ZIG.cjs} +1 -1
- package/dist/{chunk-ZNV5FE4T.cjs → chunk-NS5DO6QK.cjs} +13 -13
- package/dist/{chunk-MOEILCEX.cjs → chunk-Q2MSW2IW.cjs} +3 -3
- package/dist/{chunk-JXACH52M.cjs → chunk-RRCHQTZW.cjs} +2 -2
- package/dist/{chunk-BQQ3JGEO.cjs → chunk-RRE6C3ZU.cjs} +3 -3
- package/dist/{chunk-DW5OKTUP.cjs → chunk-SZGUEPJC.cjs} +34 -34
- package/dist/{chunk-OGKV5NOP.cjs → chunk-YXX6UMG3.cjs} +33 -33
- package/dist/{cloud-tenants-5OTPO7FL.cjs → cloud-tenants-S7RR2UDJ.cjs} +3 -3
- package/dist/components/case-studies/index.cjs +11 -11
- package/dist/components/chat/embeddable-chat.js +11 -6
- 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/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-MBGMD7BO.cjs → devices-KCD2WSEV.cjs} +4 -4
- package/dist/{embeddable-chat-CMEHSDV7.cjs → embeddable-chat-OGUGNKLP.cjs} +11 -6
- package/dist/index.cjs +7 -7
- package/dist/{knowledge-LO5RK6PM.cjs → knowledge-OX5PYEPE.cjs} +3 -3
- package/dist/{logs-QRGJSZ4G.cjs → logs-ZVOBADLB.cjs} +11 -11
- package/dist/{policies-OIQDO6F5.cjs → policies-NSHPEZTR.cjs} +7 -7
- package/dist/{scripts-XULUNPDV.cjs → scripts-OHMKBEXO.cjs} +8 -8
- package/dist/{software-update-SRF55434.cjs → software-update-WMLGMSBQ.cjs} +6 -6
- package/package.json +1 -1
- package/src/components/chat/embeddable-chat.tsx +13 -6
|
@@ -109,7 +109,7 @@ var _chunkYUMFVQINcjs = require('./chunk-YUMFVQIN.cjs');
|
|
|
109
109
|
|
|
110
110
|
|
|
111
111
|
|
|
112
|
-
var
|
|
112
|
+
var _chunkNE3T3ZIGcjs = require('./chunk-NE3T3ZIG.cjs');
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
|
|
@@ -4360,7 +4360,7 @@ function AdminFormDrawer({
|
|
|
4360
4360
|
"form",
|
|
4361
4361
|
{
|
|
4362
4362
|
id: formId,
|
|
4363
|
-
...
|
|
4363
|
+
..._chunkNE3T3ZIGcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4364
4364
|
className: "flex flex-col gap-[var(--spacing-system-lf)]",
|
|
4365
4365
|
onSubmit: (e) => {
|
|
4366
4366
|
e.preventDefault();
|
|
@@ -4467,7 +4467,7 @@ function AdminFormModal({
|
|
|
4467
4467
|
"form",
|
|
4468
4468
|
{
|
|
4469
4469
|
id: formId,
|
|
4470
|
-
...
|
|
4470
|
+
..._chunkNE3T3ZIGcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4471
4471
|
className: "flex min-h-0 flex-1 flex-col",
|
|
4472
4472
|
onSubmit: (e) => {
|
|
4473
4473
|
e.preventDefault();
|
|
@@ -5780,7 +5780,7 @@ function EmbedViewerFrame({
|
|
|
5780
5780
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
5781
5781
|
_react.useEffect.call(void 0, () => {
|
|
5782
5782
|
if (!fullscreenControl) return void 0;
|
|
5783
|
-
const controller = new (0,
|
|
5783
|
+
const controller = new (0, _chunkNE3T3ZIGcjs.FullscreenSwitchController)({
|
|
5784
5784
|
target: () => frameRef.current,
|
|
5785
5785
|
onFullscreenChange: setIsFullscreen
|
|
5786
5786
|
});
|
|
@@ -7762,7 +7762,7 @@ var processShortcodes = (content) => {
|
|
|
7762
7762
|
try {
|
|
7763
7763
|
const urlObj = new URL(url);
|
|
7764
7764
|
const hostname = urlObj.hostname.toLowerCase();
|
|
7765
|
-
const hostIs = (domain) =>
|
|
7765
|
+
const hostIs = (domain) => _chunkNE3T3ZIGcjs.hostMatches.call(void 0, hostname, domain);
|
|
7766
7766
|
const isYouTubeVideo = hostIs("youtube.com") && urlObj.searchParams.has("v") || hostIs("youtu.be");
|
|
7767
7767
|
if (isYouTubeVideo || hostIs("reddit.com") || hostIs("twitter.com") || hostIs("x.com") || hostIs("figma.com")) {
|
|
7768
7768
|
return match;
|
|
@@ -9926,10 +9926,10 @@ var OSTypeBadge = ({
|
|
|
9926
9926
|
if (!osType) {
|
|
9927
9927
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
9928
9928
|
}
|
|
9929
|
-
const normalized =
|
|
9929
|
+
const normalized = _chunkNE3T3ZIGcjs.normalizeOSType.call(void 0, osType);
|
|
9930
9930
|
if (!normalized && !labelOnly) return null;
|
|
9931
|
-
const label =
|
|
9932
|
-
const IconComponent =
|
|
9931
|
+
const label = _chunkNE3T3ZIGcjs.getOSLabel.call(void 0, osType);
|
|
9932
|
+
const IconComponent = _chunkNE3T3ZIGcjs.getOSIcon.call(void 0, osType);
|
|
9933
9933
|
if (iconOnly && IconComponent) {
|
|
9934
9934
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk3ATAYP36cjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
9935
9935
|
}
|
|
@@ -10170,7 +10170,7 @@ function ComplianceLogo({
|
|
|
10170
10170
|
fallback = null,
|
|
10171
10171
|
className
|
|
10172
10172
|
}) {
|
|
10173
|
-
const standard =
|
|
10173
|
+
const standard = _chunkNE3T3ZIGcjs.complianceStandardForName.call(void 0, ...names);
|
|
10174
10174
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
10175
10175
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
10176
10176
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -11787,7 +11787,7 @@ function TableHeader({
|
|
|
11787
11787
|
onFilterChange
|
|
11788
11788
|
}
|
|
11789
11789
|
),
|
|
11790
|
-
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11790
|
+
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNE3T3ZIGcjs.InfoHint, { label: column.label, children: column.hint }) : null
|
|
11791
11791
|
] })
|
|
11792
11792
|
) : (
|
|
11793
11793
|
/* Non-filterable column — regular label with optional sort */
|
|
@@ -11813,7 +11813,7 @@ function TableHeader({
|
|
|
11813
11813
|
hint exists, so a hint-less header keeps its DOM. */
|
|
11814
11814
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
11815
11815
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
11816
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11816
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNE3T3ZIGcjs.InfoHint, { label: column.label, children: column.hint })
|
|
11817
11817
|
] })
|
|
11818
11818
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
11819
11819
|
getSortIcon(column)
|
|
@@ -13162,7 +13162,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13162
13162
|
// child of the cell.
|
|
13163
13163
|
_optionalChain([meta, 'optionalAccess', _235 => _235.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13164
13164
|
filterTrigger,
|
|
13165
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13165
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNE3T3ZIGcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13166
13166
|
] }) : filterTrigger
|
|
13167
13167
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13168
13168
|
"div",
|
|
@@ -13187,7 +13187,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13187
13187
|
// centred on the row.
|
|
13188
13188
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13189
13189
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13190
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13190
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNE3T3ZIGcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13191
13191
|
] })
|
|
13192
13192
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13193
13193
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -13407,7 +13407,7 @@ function PhoneInput({
|
|
|
13407
13407
|
placeholder = "Phone Number (optional)",
|
|
13408
13408
|
onKeyDown
|
|
13409
13409
|
}) {
|
|
13410
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
13410
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunkNE3T3ZIGcjs.getCountryPhoneData.call(void 0, ), []);
|
|
13411
13411
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
13412
13412
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
13413
13413
|
[countryCode, priority, others]
|
|
@@ -13422,7 +13422,7 @@ function PhoneInput({
|
|
|
13422
13422
|
_optionalChain([onValidationChange, 'optionalCall', _248 => _248(false)]);
|
|
13423
13423
|
return;
|
|
13424
13424
|
}
|
|
13425
|
-
const invalid = !
|
|
13425
|
+
const invalid = !_chunkNE3T3ZIGcjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
13426
13426
|
setIsInvalid(invalid);
|
|
13427
13427
|
_optionalChain([onValidationChange, 'optionalCall', _249 => _249(invalid)]);
|
|
13428
13428
|
},
|
|
@@ -17070,7 +17070,7 @@ var TRIAL_TERM_ICONS = {
|
|
|
17070
17070
|
};
|
|
17071
17071
|
var DEFAULT_TRIAL_TERMS = ["cancel", "length", "noContract"];
|
|
17072
17072
|
function trialBenefits(trialDays, terms = DEFAULT_TRIAL_TERMS) {
|
|
17073
|
-
const labels =
|
|
17073
|
+
const labels = _chunkNE3T3ZIGcjs.trialLabels.call(void 0, trialDays);
|
|
17074
17074
|
return terms.flatMap((term) => {
|
|
17075
17075
|
const label = labels[term];
|
|
17076
17076
|
return label ? [{ icon: TRIAL_TERM_ICONS[term], label }] : [];
|
|
@@ -22266,14 +22266,14 @@ var MODEL_TOKEN_RATES_COPY = {
|
|
|
22266
22266
|
empty: "No token rates are in effect right now."
|
|
22267
22267
|
};
|
|
22268
22268
|
function providerMark(providerType, stated, className) {
|
|
22269
|
-
const Mark = _chunkKTPR66EEcjs.findIcon.call(void 0,
|
|
22269
|
+
const Mark = _chunkKTPR66EEcjs.findIcon.call(void 0, _chunkNE3T3ZIGcjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
|
|
22270
22270
|
return Mark ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Mark, { className }) : void 0;
|
|
22271
22271
|
}
|
|
22272
22272
|
var PAD_X = "px-[var(--spacing-system-s)]";
|
|
22273
22273
|
var ROW = "flex items-center gap-[var(--spacing-system-s)]";
|
|
22274
22274
|
var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
|
|
22275
22275
|
function useProviderGroup(rates) {
|
|
22276
|
-
const groups =
|
|
22276
|
+
const groups = _chunkNE3T3ZIGcjs.groupTokenRatesByProvider.call(void 0, rates);
|
|
22277
22277
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
22278
22278
|
return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
|
|
22279
22279
|
}
|
|
@@ -22292,7 +22292,7 @@ function ProviderTabs({
|
|
|
22292
22292
|
onValueChange,
|
|
22293
22293
|
items: groups.map((candidate) => ({
|
|
22294
22294
|
id: candidate.providerType,
|
|
22295
|
-
label:
|
|
22295
|
+
label: _chunkNE3T3ZIGcjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _443 => _443.rates, 'access', _444 => _444[0], 'optionalAccess', _445 => _445.providerLabel])),
|
|
22296
22296
|
icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _446 => _446.rates, 'access', _447 => _447[0], 'optionalAccess', _448 => _448.providerIcon]), "size-full")
|
|
22297
22297
|
})),
|
|
22298
22298
|
className
|
|
@@ -22393,8 +22393,8 @@ function ModelTokenRatesTable({ rates }) {
|
|
|
22393
22393
|
className: _chunk3ATAYP36cjs.cn.call(void 0, ROW, PAD_X, "py-[var(--spacing-system-xxs)] text-ods-text-primary text-h6"),
|
|
22394
22394
|
children: [
|
|
22395
22395
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
|
|
22396
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22397
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22396
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkNE3T3ZIGcjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
|
|
22397
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkNE3T3ZIGcjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
|
|
22398
22398
|
]
|
|
22399
22399
|
},
|
|
22400
22400
|
rate.modelName
|
|
@@ -22460,7 +22460,7 @@ function modelOption(rate) {
|
|
|
22460
22460
|
return {
|
|
22461
22461
|
label: rate.displayName || rate.modelName,
|
|
22462
22462
|
value: rate.modelName,
|
|
22463
|
-
description:
|
|
22463
|
+
description: _chunkNE3T3ZIGcjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
|
|
22464
22464
|
icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
|
|
22465
22465
|
};
|
|
22466
22466
|
}
|
|
@@ -22514,8 +22514,8 @@ function ModelTokenExchange({
|
|
|
22514
22514
|
const [chosen, setChosen] = _react.useState.call(void 0, null);
|
|
22515
22515
|
const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _449 => _449.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
|
|
22516
22516
|
const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
|
|
22517
|
-
const tokens =
|
|
22518
|
-
const cost =
|
|
22517
|
+
const tokens = _chunkNE3T3ZIGcjs.formatTokenAmount.call(void 0, balance);
|
|
22518
|
+
const cost = _chunkNE3T3ZIGcjs.tokenCost.call(void 0, balance, tokenPrice);
|
|
22519
22519
|
const balancePrice = cost === null ? null : _chunkJHQNUWFMcjs.formatPrice.call(void 0, cost);
|
|
22520
22520
|
const model = rate ? rate.displayName || rate.modelName : "";
|
|
22521
22521
|
const options = models.map(modelOption);
|
|
@@ -22557,7 +22557,7 @@ function ModelTokenExchange({
|
|
|
22557
22557
|
variant: preset.tokens === balance ? "accent" : "outline",
|
|
22558
22558
|
size: "small",
|
|
22559
22559
|
onClick: () => setChosen(preset.tokens),
|
|
22560
|
-
children: copy.buy.preset(
|
|
22560
|
+
children: copy.buy.preset(_chunkNE3T3ZIGcjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
|
|
22561
22561
|
},
|
|
22562
22562
|
preset.label
|
|
22563
22563
|
)) })
|
|
@@ -22576,7 +22576,7 @@ function ModelTokenExchange({
|
|
|
22576
22576
|
const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _450 => _450.providerType]) === providerType ? rate : null)));
|
|
22577
22577
|
return {
|
|
22578
22578
|
id: providerType,
|
|
22579
|
-
name:
|
|
22579
|
+
name: _chunkNE3T3ZIGcjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _451 => _451.providerLabel])),
|
|
22580
22580
|
icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _452 => _452.providerIcon]), "size-8 text-ods-text-secondary")
|
|
22581
22581
|
};
|
|
22582
22582
|
}),
|
|
@@ -22614,7 +22614,7 @@ function ModelTokenExchange({
|
|
|
22614
22614
|
{
|
|
22615
22615
|
size: "plain",
|
|
22616
22616
|
loading,
|
|
22617
|
-
figure:
|
|
22617
|
+
figure: _chunkNE3T3ZIGcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _457 => _457.inputTokenRate])),
|
|
22618
22618
|
words: copy.charge.input
|
|
22619
22619
|
}
|
|
22620
22620
|
),
|
|
@@ -22623,7 +22623,7 @@ function ModelTokenExchange({
|
|
|
22623
22623
|
{
|
|
22624
22624
|
size: "plain",
|
|
22625
22625
|
loading,
|
|
22626
|
-
figure:
|
|
22626
|
+
figure: _chunkNE3T3ZIGcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _458 => _458.outputTokenRate])),
|
|
22627
22627
|
words: copy.charge.output
|
|
22628
22628
|
}
|
|
22629
22629
|
)
|
|
@@ -22635,9 +22635,9 @@ function ModelTokenExchange({
|
|
|
22635
22635
|
className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
|
|
22636
22636
|
children: [
|
|
22637
22637
|
/* @__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) }),
|
|
22638
|
-
/* @__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") }) :
|
|
22638
|
+
/* @__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") }) : _chunkNE3T3ZIGcjs.formatTokenAmount.call(void 0, _chunkNE3T3ZIGcjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
|
|
22639
22639
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
|
|
22640
|
-
/* @__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(
|
|
22640
|
+
/* @__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(_chunkNE3T3ZIGcjs.formatTokenAmount.call(void 0, _chunkNE3T3ZIGcjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
|
|
22641
22641
|
]
|
|
22642
22642
|
}
|
|
22643
22643
|
)
|
|
@@ -23135,14 +23135,14 @@ var ConfidenceBadge = ({
|
|
|
23135
23135
|
size = "sm",
|
|
23136
23136
|
className
|
|
23137
23137
|
}) => {
|
|
23138
|
-
const level =
|
|
23138
|
+
const level = _chunkNE3T3ZIGcjs.getConfidenceLevel.call(void 0, confidence);
|
|
23139
23139
|
if (level === "none") {
|
|
23140
23140
|
return null;
|
|
23141
23141
|
}
|
|
23142
|
-
const label =
|
|
23143
|
-
const borderClass =
|
|
23144
|
-
const textClass =
|
|
23145
|
-
const bgClass =
|
|
23142
|
+
const label = _chunkNE3T3ZIGcjs.getConfidenceLabel.call(void 0, confidence);
|
|
23143
|
+
const borderClass = _chunkNE3T3ZIGcjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
23144
|
+
const textClass = _chunkNE3T3ZIGcjs.getConfidenceTextClass.call(void 0, confidence);
|
|
23145
|
+
const bgClass = _chunkNE3T3ZIGcjs.getConfidenceBgClass.call(void 0, confidence);
|
|
23146
23146
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23147
23147
|
"span",
|
|
23148
23148
|
{
|
|
@@ -23193,9 +23193,9 @@ function SEOEditorPreview({
|
|
|
23193
23193
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
23194
23194
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
23195
23195
|
const seoTitleLength = (seoTitle || "").length;
|
|
23196
|
-
const seoTitleTooLong = seoTitleLength >
|
|
23196
|
+
const seoTitleTooLong = seoTitleLength > _chunkNE3T3ZIGcjs.SEO_TITLE_MAX_LENGTH;
|
|
23197
23197
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
23198
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
23198
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunkNE3T3ZIGcjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
23199
23199
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
23200
23200
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
23201
23201
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -23220,10 +23220,10 @@ function SEOEditorPreview({
|
|
|
23220
23220
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
23221
23221
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23222
23222
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23223
|
-
|
|
23223
|
+
_chunkNE3T3ZIGcjs.Field,
|
|
23224
23224
|
{
|
|
23225
23225
|
label: "SEO Title",
|
|
23226
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
23226
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunkNE3T3ZIGcjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
23227
23227
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
23228
23228
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
23229
23229
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -23238,7 +23238,7 @@ function SEOEditorPreview({
|
|
|
23238
23238
|
children: [
|
|
23239
23239
|
seoTitleLength,
|
|
23240
23240
|
"/",
|
|
23241
|
-
|
|
23241
|
+
_chunkNE3T3ZIGcjs.SEO_TITLE_MAX_LENGTH
|
|
23242
23242
|
]
|
|
23243
23243
|
}
|
|
23244
23244
|
),
|
|
@@ -23249,7 +23249,7 @@ function SEOEditorPreview({
|
|
|
23249
23249
|
value: seoTitle || "",
|
|
23250
23250
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
23251
23251
|
disabled,
|
|
23252
|
-
maxLength:
|
|
23252
|
+
maxLength: _chunkNE3T3ZIGcjs.SEO_TITLE_MAX_LENGTH,
|
|
23253
23253
|
invalid: seoTitleTooLong,
|
|
23254
23254
|
placeholder: "Enter SEO meta title...",
|
|
23255
23255
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -23260,7 +23260,7 @@ function SEOEditorPreview({
|
|
|
23260
23260
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
23261
23261
|
] }),
|
|
23262
23262
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23263
|
-
|
|
23263
|
+
_chunkNE3T3ZIGcjs.Field,
|
|
23264
23264
|
{
|
|
23265
23265
|
label: "SEO Keywords",
|
|
23266
23266
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -23292,10 +23292,10 @@ function SEOEditorPreview({
|
|
|
23292
23292
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
23293
23293
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23294
23294
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23295
|
-
|
|
23295
|
+
_chunkNE3T3ZIGcjs.Field,
|
|
23296
23296
|
{
|
|
23297
23297
|
label: "SEO Description",
|
|
23298
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
23298
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunkNE3T3ZIGcjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
23299
23299
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
23300
23300
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
23301
23301
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -23318,7 +23318,7 @@ function SEOEditorPreview({
|
|
|
23318
23318
|
children: [
|
|
23319
23319
|
seoDescriptionLength,
|
|
23320
23320
|
"/",
|
|
23321
|
-
|
|
23321
|
+
_chunkNE3T3ZIGcjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
23322
23322
|
]
|
|
23323
23323
|
}
|
|
23324
23324
|
),
|
|
@@ -23329,7 +23329,7 @@ function SEOEditorPreview({
|
|
|
23329
23329
|
value: seoDescription || "",
|
|
23330
23330
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
23331
23331
|
disabled,
|
|
23332
|
-
maxLength:
|
|
23332
|
+
maxLength: _chunkNE3T3ZIGcjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
23333
23333
|
invalid: seoDescriptionTooLong,
|
|
23334
23334
|
placeholder: "Enter SEO meta description...",
|
|
23335
23335
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -23482,7 +23482,7 @@ function socialIcon(platform) {
|
|
|
23482
23482
|
return _nullishCoalesce(_chunkKTPR66EEcjs.iconOf.call(void 0, SOCIAL_ICONS[platform]), () => ( void 0));
|
|
23483
23483
|
}
|
|
23484
23484
|
function renderSocialIcon(platform) {
|
|
23485
|
-
const key = _nullishCoalesce(
|
|
23485
|
+
const key = _nullishCoalesce(_chunkNE3T3ZIGcjs.normalizeSocialPlatform.call(void 0, platform), () => ( "website"));
|
|
23486
23486
|
const icon = _nullishCoalesce(socialIcon(key), () => ( socialIcon("website")));
|
|
23487
23487
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5" }) : null;
|
|
23488
23488
|
}
|
|
@@ -23565,7 +23565,7 @@ function SocialLinksManager({
|
|
|
23565
23565
|
};
|
|
23566
23566
|
const getIcon = (link, platform) => {
|
|
23567
23567
|
const iconKey = _optionalChain([platform, 'optionalAccess', _468 => _468.icon_name]) || link.platform;
|
|
23568
|
-
const key =
|
|
23568
|
+
const key = _chunkNE3T3ZIGcjs.normalizeSocialPlatform.call(void 0, iconKey);
|
|
23569
23569
|
if (!key) return null;
|
|
23570
23570
|
const icon = socialIcon(key);
|
|
23571
23571
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5 text-ods-text-secondary" }) : null;
|
|
@@ -24003,7 +24003,7 @@ function WalkthroughVideo({
|
|
|
24003
24003
|
onOpenChange,
|
|
24004
24004
|
defaultOpen,
|
|
24005
24005
|
defaultOpenPaused,
|
|
24006
|
-
deepLinkParam =
|
|
24006
|
+
deepLinkParam = _chunkNE3T3ZIGcjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
24007
24007
|
autoPlayCard = false,
|
|
24008
24008
|
label = "Play Demo Video",
|
|
24009
24009
|
placement,
|
|
@@ -24019,7 +24019,7 @@ function WalkthroughVideo({
|
|
|
24019
24019
|
}) {
|
|
24020
24020
|
const inline = placement === "inline";
|
|
24021
24021
|
const dismissEnabled = dismissal !== false;
|
|
24022
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
24022
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunkNE3T3ZIGcjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
24023
24023
|
const dismissalId = _optionalChain([video, 'optionalAccess', _474 => _474.id]) != null ? String(video.id) : "dismissed";
|
|
24024
24024
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
24025
24025
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -24031,7 +24031,7 @@ function WalkthroughVideo({
|
|
|
24031
24031
|
let delayElapsed = false;
|
|
24032
24032
|
let interacted = inline;
|
|
24033
24033
|
const reveal = () => {
|
|
24034
|
-
if (dismissEnabled &&
|
|
24034
|
+
if (dismissEnabled && _chunkNE3T3ZIGcjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
24035
24035
|
setDismissed(true);
|
|
24036
24036
|
return;
|
|
24037
24037
|
}
|
|
@@ -24318,7 +24318,7 @@ function WalkthroughVideo({
|
|
|
24318
24318
|
(e) => {
|
|
24319
24319
|
e.stopPropagation();
|
|
24320
24320
|
pausePreviewNow();
|
|
24321
|
-
if (dismissEnabled)
|
|
24321
|
+
if (dismissEnabled) _chunkNE3T3ZIGcjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
24322
24322
|
setDismissed(true);
|
|
24323
24323
|
},
|
|
24324
24324
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -25406,7 +25406,7 @@ function HighlightConfigSection({
|
|
|
25406
25406
|
disabled = false,
|
|
25407
25407
|
className = ""
|
|
25408
25408
|
}) {
|
|
25409
|
-
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,
|
|
25409
|
+
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, _chunkNE3T3ZIGcjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25410
25410
|
_chunk3GG3QAPTcjs.Select,
|
|
25411
25411
|
{
|
|
25412
25412
|
value: targetDurationSeconds.toString(),
|
|
@@ -25507,7 +25507,7 @@ var AIStatusIndicator = ({
|
|
|
25507
25507
|
}) => {
|
|
25508
25508
|
const config = statusConfig[status];
|
|
25509
25509
|
const displayText = message || config.label;
|
|
25510
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
25510
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkNE3T3ZIGcjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
25511
25511
|
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: [
|
|
25512
25512
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25513
25513
|
_chunkUNFCRSYIcjs.SparklesIcon,
|
|
@@ -25515,7 +25515,7 @@ var AIStatusIndicator = ({
|
|
|
25515
25515
|
size: 16,
|
|
25516
25516
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
25517
25517
|
status === "loading" && "animate-pulse",
|
|
25518
|
-
confidence !== void 0 && status === "success" ?
|
|
25518
|
+
confidence !== void 0 && status === "success" ? _chunkNE3T3ZIGcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25519
25519
|
)
|
|
25520
25520
|
}
|
|
25521
25521
|
),
|
|
@@ -25524,7 +25524,7 @@ var AIStatusIndicator = ({
|
|
|
25524
25524
|
{
|
|
25525
25525
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
25526
25526
|
"text-h6",
|
|
25527
|
-
confidence !== void 0 && status === "success" ?
|
|
25527
|
+
confidence !== void 0 && status === "success" ? _chunkNE3T3ZIGcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25528
25528
|
),
|
|
25529
25529
|
children: displayText
|
|
25530
25530
|
}
|
|
@@ -25534,8 +25534,8 @@ var AIStatusIndicator = ({
|
|
|
25534
25534
|
{
|
|
25535
25535
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
25536
25536
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
25537
|
-
|
|
25538
|
-
|
|
25537
|
+
_chunkNE3T3ZIGcjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
25538
|
+
_chunkNE3T3ZIGcjs.getConfidenceTextClass.call(void 0, confidence)
|
|
25539
25539
|
),
|
|
25540
25540
|
children: confidenceLabel
|
|
25541
25541
|
}
|
|
@@ -26431,7 +26431,7 @@ function PoliciesTable({
|
|
|
26431
26431
|
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,
|
|
26432
26432
|
_chunk2QMBXGMQcjs.Button,
|
|
26433
26433
|
{
|
|
26434
|
-
onClick:
|
|
26434
|
+
onClick: _chunkNE3T3ZIGcjs.openInNewTab.call(void 0, row.original.href),
|
|
26435
26435
|
variant: "outline",
|
|
26436
26436
|
size: "icon",
|
|
26437
26437
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -26757,7 +26757,7 @@ function TenantsTableView({
|
|
|
26757
26757
|
/* @__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,
|
|
26758
26758
|
_chunk2QMBXGMQcjs.Button,
|
|
26759
26759
|
{
|
|
26760
|
-
onClick:
|
|
26760
|
+
onClick: _chunkNE3T3ZIGcjs.openInNewTab.call(void 0, getHref(row.original)),
|
|
26761
26761
|
variant: "outline",
|
|
26762
26762
|
size: "icon",
|
|
26763
26763
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -26853,7 +26853,7 @@ function WaitlistForm({
|
|
|
26853
26853
|
_react.useEffect.call(void 0, () => {
|
|
26854
26854
|
rescue.track({ email, phone }, null);
|
|
26855
26855
|
}, [email, phone, rescue]);
|
|
26856
|
-
const isMailDomainGeneric =
|
|
26856
|
+
const isMailDomainGeneric = _chunkNE3T3ZIGcjs.hasGenericEmailDomain.call(void 0, email);
|
|
26857
26857
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26858
26858
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
26859
26859
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -26887,7 +26887,7 @@ function WaitlistForm({
|
|
|
26887
26887
|
setShowConsentError(true);
|
|
26888
26888
|
return;
|
|
26889
26889
|
}
|
|
26890
|
-
const finalPhone = phone ?
|
|
26890
|
+
const finalPhone = phone ? _chunkNE3T3ZIGcjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
26891
26891
|
try {
|
|
26892
26892
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
26893
26893
|
rescue.complete();
|
|
@@ -29003,7 +29003,7 @@ function getDeviceStatusConfig(status) {
|
|
|
29003
29003
|
}
|
|
29004
29004
|
}
|
|
29005
29005
|
function getDeviceOperatingSystem(osType) {
|
|
29006
|
-
return
|
|
29006
|
+
return _chunkNE3T3ZIGcjs.getOSPlatformId.call(void 0, osType);
|
|
29007
29007
|
}
|
|
29008
29008
|
|
|
29009
29009
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -31074,7 +31074,7 @@ var ToolBadge = ({
|
|
|
31074
31074
|
className,
|
|
31075
31075
|
iconClassName
|
|
31076
31076
|
}) => {
|
|
31077
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
31077
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkNE3T3ZIGcjs.getToolLabel.call(void 0, toolType) : "")));
|
|
31078
31078
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWI2OTGKCcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
31079
31079
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31080
31080
|
_chunkSDF5UUTEcjs.NavLinkAnchorViaRuntime,
|
|
@@ -31184,7 +31184,7 @@ function LogsTableView({
|
|
|
31184
31184
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31185
31185
|
ToolBadge,
|
|
31186
31186
|
{
|
|
31187
|
-
toolType:
|
|
31187
|
+
toolType: _chunkNE3T3ZIGcjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
31188
31188
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
31189
31189
|
}
|
|
31190
31190
|
),
|
|
@@ -31196,7 +31196,7 @@ function LogsTableView({
|
|
|
31196
31196
|
filter: {
|
|
31197
31197
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _663 => _663.toolTypes, 'access', _664 => _664.map, 'call', _665 => _665((toolType) => ({
|
|
31198
31198
|
id: toolType,
|
|
31199
|
-
label:
|
|
31199
|
+
label: _chunkNE3T3ZIGcjs.toToolLabel.call(void 0, toolType),
|
|
31200
31200
|
value: toolType
|
|
31201
31201
|
}))]), () => ( []))
|
|
31202
31202
|
}
|
|
@@ -31254,7 +31254,7 @@ function LogsTableView({
|
|
|
31254
31254
|
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,
|
|
31255
31255
|
_chunk2QMBXGMQcjs.Button,
|
|
31256
31256
|
{
|
|
31257
|
-
onClick: getLogHref ?
|
|
31257
|
+
onClick: getLogHref ? _chunkNE3T3ZIGcjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
31258
31258
|
variant: "outline",
|
|
31259
31259
|
size: "icon",
|
|
31260
31260
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -31629,7 +31629,7 @@ function OpenInNewTabCell({ href }) {
|
|
|
31629
31629
|
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,
|
|
31630
31630
|
_chunk2QMBXGMQcjs.Button,
|
|
31631
31631
|
{
|
|
31632
|
-
onClick:
|
|
31632
|
+
onClick: _chunkNE3T3ZIGcjs.openInNewTab.call(void 0, href),
|
|
31633
31633
|
variant: "outline",
|
|
31634
31634
|
size: "icon",
|
|
31635
31635
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -31778,9 +31778,9 @@ function ScriptSchedulesTable({
|
|
|
31778
31778
|
|
|
31779
31779
|
// src/components/features/scripts/shell-types.ts
|
|
31780
31780
|
var SCRIPT_SHELL_TYPES = [
|
|
31781
|
-
{ id:
|
|
31782
|
-
{ id:
|
|
31783
|
-
{ id:
|
|
31781
|
+
{ id: _chunkNE3T3ZIGcjs.ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon },
|
|
31782
|
+
{ id: _chunkNE3T3ZIGcjs.ShellTypeValues.CMD, label: "CMD", value: "cmd", icon: _chunkNIVJEJSGcjs.TerminalSquareIcon },
|
|
31783
|
+
{ id: _chunkNE3T3ZIGcjs.ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkTRUW6DDAcjs.TerminalIcon }
|
|
31784
31784
|
];
|
|
31785
31785
|
function scriptShellType(value) {
|
|
31786
31786
|
return SCRIPT_SHELL_TYPES.find((shell) => shell.value === value);
|
|
@@ -33213,7 +33213,7 @@ function ScheduleFormFields({
|
|
|
33213
33213
|
disabled = false,
|
|
33214
33214
|
renderScriptSearch,
|
|
33215
33215
|
timeReferenceGate = "off",
|
|
33216
|
-
platforms =
|
|
33216
|
+
platforms = _chunkNE3T3ZIGcjs.OS_PLATFORMS,
|
|
33217
33217
|
comingSoonPlatforms = [],
|
|
33218
33218
|
getTimeSlots,
|
|
33219
33219
|
nameLayout = "stacked",
|
|
@@ -33359,7 +33359,7 @@ function ScheduleFormFields({
|
|
|
33359
33359
|
// src/components/features/scripts/schedule-form/schedule-script-search-field.tsx
|
|
33360
33360
|
|
|
33361
33361
|
function ScriptPlatformIcons({ platforms }) {
|
|
33362
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children:
|
|
33362
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children: _chunkNE3T3ZIGcjs.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)) });
|
|
33363
33363
|
}
|
|
33364
33364
|
function ScheduleScriptSearchField({
|
|
33365
33365
|
scriptId,
|
|
@@ -33432,7 +33432,7 @@ function getKnowledgeBaseOpenColumn(getHref) {
|
|
|
33432
33432
|
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,
|
|
33433
33433
|
_chunk2QMBXGMQcjs.Button,
|
|
33434
33434
|
{
|
|
33435
|
-
onClick:
|
|
33435
|
+
onClick: _chunkNE3T3ZIGcjs.openInNewTab.call(void 0, getHref(row.original)),
|
|
33436
33436
|
variant: "outline",
|
|
33437
33437
|
size: "icon",
|
|
33438
33438
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -33680,13 +33680,13 @@ function ConversationCard({
|
|
|
33680
33680
|
),
|
|
33681
33681
|
style: tint,
|
|
33682
33682
|
children: [
|
|
33683
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33683
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNE3T3ZIGcjs.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: [
|
|
33684
33684
|
"\u201C",
|
|
33685
33685
|
request,
|
|
33686
33686
|
"\u201D"
|
|
33687
33687
|
] }) }),
|
|
33688
33688
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33689
|
-
|
|
33689
|
+
_chunkNE3T3ZIGcjs.ChatTurn,
|
|
33690
33690
|
{
|
|
33691
33691
|
avatar: responder.avatar,
|
|
33692
33692
|
name: responder.name,
|