@flamingo-stack/openframe-frontend-core 0.0.814 → 0.0.815
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/README.md +26 -5
- package/dist/build/next-styles.cjs +170 -0
- package/dist/build/next-styles.d.ts +21 -0
- package/dist/build/style-sources.cjs +262 -0
- package/dist/build/style-sources.d.ts +12 -0
- package/dist/{chunk-ZNZ6453J.cjs → chunk-3E4FIJAM.cjs} +5 -5
- package/dist/{chunk-UTRRECPV.cjs → chunk-3ELDGEM2.cjs} +41 -41
- package/dist/{chunk-ILV243HM.cjs → chunk-53JJLHJM.cjs} +3 -3
- package/dist/{chunk-M6VLEXN3.cjs → chunk-5TUR7O7H.cjs} +42 -42
- package/dist/{chunk-WJPEDREU.cjs → chunk-633NTKO2.cjs} +2 -2
- package/dist/{chunk-2H7XPKKT.cjs → chunk-7NYWHEQM.cjs} +2 -2
- package/dist/{chunk-D23VVC3K.cjs → chunk-EB7YAUER.cjs} +11 -11
- package/dist/{chunk-E5VF3IXO.cjs → chunk-EJCUAADF.cjs} +2 -2
- package/dist/{chunk-IDEOLXY6.cjs → chunk-FUEK43FL.cjs} +79 -79
- package/dist/{chunk-AYMKG55T.cjs → chunk-JH65CEO4.cjs} +13 -13
- package/dist/{chunk-LUR2ED43.cjs → chunk-JOOZTRXQ.cjs} +4 -4
- package/dist/{chunk-IBYT5I7K.cjs → chunk-L7W4455K.cjs} +3 -3
- package/dist/{chunk-G5CCYMCU.cjs → chunk-O6VWD2SB.cjs} +3 -3
- package/dist/{chunk-KNGULKOU.cjs → chunk-RYJJHSHV.cjs} +10 -10
- package/dist/{chunk-CVPHODOE.cjs → chunk-SWBLTIN4.cjs} +28 -28
- package/dist/{chunk-KINBPFAC.cjs → chunk-VDXI26G7.cjs} +4 -0
- package/dist/{chunk-G2B6EA4J.cjs → chunk-ZAWHRYJZ.cjs} +35 -35
- package/dist/{cloud-tenants-JSH6AQMZ.cjs → cloud-tenants-SRTX2FZC.cjs} +3 -3
- package/dist/components/case-studies/index.cjs +12 -12
- package/dist/components/chat/embeddable-chat.d.ts +6 -0
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +4 -0
- 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 +58 -58
- package/dist/components/index.cjs +33 -33
- package/dist/components/meeting-scheduler/index.cjs +26 -26
- package/dist/components/navigation/index.cjs +6 -6
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/product-demo/index.cjs +12 -12
- package/dist/components/tickets/index.cjs +8 -8
- package/dist/components/ui/index.cjs +3 -3
- package/dist/{devices-OCEOO6OW.cjs → devices-DL4YU64N.cjs} +4 -4
- package/dist/index.cjs +7 -7
- package/dist/{knowledge-3GEE4LPY.cjs → knowledge-VQW5JL2Z.cjs} +3 -3
- package/dist/{logs-7GGUZSDB.cjs → logs-IY3WBLMW.cjs} +11 -11
- package/dist/{policies-S74WTNL4.cjs → policies-IXWTWMJO.cjs} +7 -7
- package/dist/{scripts-G4QAT4NZ.cjs → scripts-D5CLO5EG.cjs} +8 -8
- package/dist/{software-update-IYHJABLP.cjs → software-update-ULNP6CKJ.cjs} +6 -6
- package/package.json +17 -2
- package/src/components/chat/embeddable-chat.tsx +6 -0
- package/src/components/chat/index.ts +6 -1
|
@@ -110,7 +110,7 @@ var _chunk5SZ4ILU3cjs = require('./chunk-5SZ4ILU3.cjs');
|
|
|
110
110
|
|
|
111
111
|
|
|
112
112
|
|
|
113
|
-
var
|
|
113
|
+
var _chunkVDXI26G7cjs = require('./chunk-VDXI26G7.cjs');
|
|
114
114
|
|
|
115
115
|
|
|
116
116
|
|
|
@@ -4576,7 +4576,7 @@ function AdminFormDrawer({
|
|
|
4576
4576
|
"form",
|
|
4577
4577
|
{
|
|
4578
4578
|
id: formId,
|
|
4579
|
-
...
|
|
4579
|
+
..._chunkVDXI26G7cjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4580
4580
|
className: "flex flex-col gap-[var(--spacing-system-lf)]",
|
|
4581
4581
|
onSubmit: (e) => {
|
|
4582
4582
|
e.preventDefault();
|
|
@@ -4683,7 +4683,7 @@ function AdminFormModal({
|
|
|
4683
4683
|
"form",
|
|
4684
4684
|
{
|
|
4685
4685
|
id: formId,
|
|
4686
|
-
...
|
|
4686
|
+
..._chunkVDXI26G7cjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4687
4687
|
className: "flex min-h-0 flex-1 flex-col",
|
|
4688
4688
|
onSubmit: (e) => {
|
|
4689
4689
|
e.preventDefault();
|
|
@@ -6053,7 +6053,7 @@ function EmbedViewerFrame({
|
|
|
6053
6053
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
6054
6054
|
_react.useEffect.call(void 0, () => {
|
|
6055
6055
|
if (!fullscreenControl) return void 0;
|
|
6056
|
-
const controller = new (0,
|
|
6056
|
+
const controller = new (0, _chunkVDXI26G7cjs.FullscreenSwitchController)({
|
|
6057
6057
|
target: () => frameRef.current,
|
|
6058
6058
|
onFullscreenChange: setIsFullscreen
|
|
6059
6059
|
});
|
|
@@ -8096,7 +8096,7 @@ var processShortcodes = (content) => {
|
|
|
8096
8096
|
try {
|
|
8097
8097
|
const urlObj = new URL(url);
|
|
8098
8098
|
const hostname = urlObj.hostname.toLowerCase();
|
|
8099
|
-
const hostIs = (domain) =>
|
|
8099
|
+
const hostIs = (domain) => _chunkVDXI26G7cjs.hostMatches.call(void 0, hostname, domain);
|
|
8100
8100
|
const isYouTubeVideo = hostIs("youtube.com") && urlObj.searchParams.has("v") || hostIs("youtu.be");
|
|
8101
8101
|
if (isYouTubeVideo || hostIs("reddit.com") || hostIs("twitter.com") || hostIs("x.com") || hostIs("figma.com")) {
|
|
8102
8102
|
return match;
|
|
@@ -10495,10 +10495,10 @@ var OSTypeBadge = ({
|
|
|
10495
10495
|
if (!osType) {
|
|
10496
10496
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
10497
10497
|
}
|
|
10498
|
-
const normalized =
|
|
10498
|
+
const normalized = _chunkVDXI26G7cjs.normalizeOSType.call(void 0, osType);
|
|
10499
10499
|
if (!normalized && !labelOnly) return null;
|
|
10500
|
-
const label =
|
|
10501
|
-
const IconComponent =
|
|
10500
|
+
const label = _chunkVDXI26G7cjs.getOSLabel.call(void 0, osType);
|
|
10501
|
+
const IconComponent = _chunkVDXI26G7cjs.getOSIcon.call(void 0, osType);
|
|
10502
10502
|
if (iconOnly && IconComponent) {
|
|
10503
10503
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk63A4GZMBcjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
10504
10504
|
}
|
|
@@ -10795,7 +10795,7 @@ function ComplianceLogo({
|
|
|
10795
10795
|
fallback = null,
|
|
10796
10796
|
className
|
|
10797
10797
|
}) {
|
|
10798
|
-
const standard =
|
|
10798
|
+
const standard = _chunkVDXI26G7cjs.complianceStandardForName.call(void 0, ...names);
|
|
10799
10799
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
10800
10800
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
10801
10801
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -12836,7 +12836,7 @@ function DataTableRowImpl({
|
|
|
12836
12836
|
const containerRef = _react.useRef.call(void 0, null);
|
|
12837
12837
|
const handleClick = _react.useCallback.call(void 0,
|
|
12838
12838
|
(e) => {
|
|
12839
|
-
if (!
|
|
12839
|
+
if (!_chunkVDXI26G7cjs.isOwnClick.call(void 0, e.target, containerRef.current)) {
|
|
12840
12840
|
if (isLinkMode) e.preventDefault();
|
|
12841
12841
|
return;
|
|
12842
12842
|
}
|
|
@@ -12850,7 +12850,7 @@ function DataTableRowImpl({
|
|
|
12850
12850
|
if (!(target instanceof Element) || !_optionalChain([container, 'optionalAccess', _224 => _224.contains, 'call', _225 => _225(target)])) return;
|
|
12851
12851
|
const nestedLink = target.closest("a");
|
|
12852
12852
|
if (nestedLink && nestedLink !== container && container.contains(nestedLink)) return;
|
|
12853
|
-
if (!
|
|
12853
|
+
if (!_chunkVDXI26G7cjs.isOwnClick.call(void 0, target, container) || target.closest(ROW_LINK_CONTROL_SELECTOR)) e.preventDefault();
|
|
12854
12854
|
}, []);
|
|
12855
12855
|
const containerClassName = _chunk63A4GZMBcjs.cn.call(void 0,
|
|
12856
12856
|
DATA_TABLE_ROW_FRAME_CLASS,
|
|
@@ -13329,7 +13329,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13329
13329
|
// child of the cell.
|
|
13330
13330
|
_optionalChain([meta, 'optionalAccess', _244 => _244.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13331
13331
|
filterTrigger,
|
|
13332
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13332
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVDXI26G7cjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13333
13333
|
] }) : filterTrigger
|
|
13334
13334
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13335
13335
|
"div",
|
|
@@ -13354,7 +13354,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13354
13354
|
// centred on the row.
|
|
13355
13355
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13356
13356
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13357
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13357
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVDXI26G7cjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13358
13358
|
] })
|
|
13359
13359
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13360
13360
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -13593,7 +13593,7 @@ function PhoneInput({
|
|
|
13593
13593
|
placeholder = "Phone Number (optional)",
|
|
13594
13594
|
onKeyDown
|
|
13595
13595
|
}) {
|
|
13596
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
13596
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunkVDXI26G7cjs.getCountryPhoneData.call(void 0, ), []);
|
|
13597
13597
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
13598
13598
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
13599
13599
|
[countryCode, priority, others]
|
|
@@ -13608,7 +13608,7 @@ function PhoneInput({
|
|
|
13608
13608
|
_optionalChain([onValidationChange, 'optionalCall', _261 => _261(false)]);
|
|
13609
13609
|
return;
|
|
13610
13610
|
}
|
|
13611
|
-
const invalid = !
|
|
13611
|
+
const invalid = !_chunkVDXI26G7cjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
13612
13612
|
setIsInvalid(invalid);
|
|
13613
13613
|
_optionalChain([onValidationChange, 'optionalCall', _262 => _262(invalid)]);
|
|
13614
13614
|
},
|
|
@@ -17456,7 +17456,7 @@ var TRIAL_TERM_ICONS = {
|
|
|
17456
17456
|
};
|
|
17457
17457
|
var DEFAULT_TRIAL_TERMS = ["cancel", "length", "noContract"];
|
|
17458
17458
|
function trialBenefits(trialDays, terms = DEFAULT_TRIAL_TERMS) {
|
|
17459
|
-
const labels =
|
|
17459
|
+
const labels = _chunkVDXI26G7cjs.trialLabels.call(void 0, trialDays);
|
|
17460
17460
|
return terms.flatMap((term) => {
|
|
17461
17461
|
const label = labels[term];
|
|
17462
17462
|
return label ? [{ icon: TRIAL_TERM_ICONS[term], label }] : [];
|
|
@@ -21887,7 +21887,7 @@ var MODEL_TOKEN_RATES_COPY = {
|
|
|
21887
21887
|
empty: "No token rates are in effect right now."
|
|
21888
21888
|
};
|
|
21889
21889
|
function providerMark(providerType, stated, className) {
|
|
21890
|
-
const Mark = _chunkQOAA7ZHBcjs.findIcon.call(void 0,
|
|
21890
|
+
const Mark = _chunkQOAA7ZHBcjs.findIcon.call(void 0, _chunkVDXI26G7cjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
|
|
21891
21891
|
return Mark ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Mark, { className }) : void 0;
|
|
21892
21892
|
}
|
|
21893
21893
|
var PAD_X = "px-[var(--spacing-system-s)]";
|
|
@@ -21905,7 +21905,7 @@ var UNIT_LINE_CLASS = _chunk63A4GZMBcjs.cn.call(void 0,
|
|
|
21905
21905
|
var TABS_ROW_CLASS = _chunk63A4GZMBcjs.cn.call(void 0, "shrink-0 border-b border-ods-border py-[var(--spacing-system-xs)]", PAD_X);
|
|
21906
21906
|
var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
|
|
21907
21907
|
function useProviderGroup(rates) {
|
|
21908
|
-
const groups =
|
|
21908
|
+
const groups = _chunkVDXI26G7cjs.groupTokenRatesByProvider.call(void 0, rates);
|
|
21909
21909
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
21910
21910
|
return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
|
|
21911
21911
|
}
|
|
@@ -21924,7 +21924,7 @@ function ProviderTabs({
|
|
|
21924
21924
|
onValueChange,
|
|
21925
21925
|
items: groups.map((candidate) => ({
|
|
21926
21926
|
id: candidate.providerType,
|
|
21927
|
-
label:
|
|
21927
|
+
label: _chunkVDXI26G7cjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _462 => _462.rates, 'access', _463 => _463[0], 'optionalAccess', _464 => _464.providerLabel])),
|
|
21928
21928
|
icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _465 => _465.rates, 'access', _466 => _466[0], 'optionalAccess', _467 => _467.providerIcon]), "size-full")
|
|
21929
21929
|
})),
|
|
21930
21930
|
className
|
|
@@ -22001,8 +22001,8 @@ function ModelTokenRatesTable({ rates }) {
|
|
|
22001
22001
|
] }),
|
|
22002
22002
|
/* @__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: [
|
|
22003
22003
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
|
|
22004
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22005
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22004
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkVDXI26G7cjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
|
|
22005
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkVDXI26G7cjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
|
|
22006
22006
|
] }, rate.modelName)) })
|
|
22007
22007
|
] }),
|
|
22008
22008
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: UNIT_LINE_CLASS, children: MODEL_TOKEN_RATES_COPY.unit })
|
|
@@ -22049,7 +22049,7 @@ function modelOption(rate) {
|
|
|
22049
22049
|
return {
|
|
22050
22050
|
label: rate.displayName || rate.modelName,
|
|
22051
22051
|
value: rate.modelName,
|
|
22052
|
-
description:
|
|
22052
|
+
description: _chunkVDXI26G7cjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
|
|
22053
22053
|
icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
|
|
22054
22054
|
};
|
|
22055
22055
|
}
|
|
@@ -22104,8 +22104,8 @@ function ModelTokenExchange({
|
|
|
22104
22104
|
const [chosen, setChosen] = _react.useState.call(void 0, null);
|
|
22105
22105
|
const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _468 => _468.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
|
|
22106
22106
|
const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
|
|
22107
|
-
const tokens =
|
|
22108
|
-
const cost =
|
|
22107
|
+
const tokens = _chunkVDXI26G7cjs.formatTokenAmount.call(void 0, balance);
|
|
22108
|
+
const cost = _chunkVDXI26G7cjs.tokenCost.call(void 0, balance, tokenPrice);
|
|
22109
22109
|
const balancePrice = cost === null ? null : _chunkBOS7OIC4cjs.formatPrice.call(void 0, cost);
|
|
22110
22110
|
const model = rate ? rate.displayName || rate.modelName : "";
|
|
22111
22111
|
const options = models.map(modelOption);
|
|
@@ -22148,7 +22148,7 @@ function ModelTokenExchange({
|
|
|
22148
22148
|
variant: preset.tokens === balance ? "accent" : "outline",
|
|
22149
22149
|
size: "small",
|
|
22150
22150
|
onClick: () => setChosen(preset.tokens),
|
|
22151
|
-
children: copy.buy.preset(
|
|
22151
|
+
children: copy.buy.preset(_chunkVDXI26G7cjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
|
|
22152
22152
|
},
|
|
22153
22153
|
preset.label
|
|
22154
22154
|
)) })
|
|
@@ -22165,7 +22165,7 @@ function ModelTokenExchange({
|
|
|
22165
22165
|
const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _469 => _469.providerType]) === providerType ? rate : null)));
|
|
22166
22166
|
return {
|
|
22167
22167
|
id: providerType,
|
|
22168
|
-
name:
|
|
22168
|
+
name: _chunkVDXI26G7cjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _470 => _470.providerLabel])),
|
|
22169
22169
|
icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _471 => _471.providerIcon]), "size-8 text-ods-text-secondary")
|
|
22170
22170
|
};
|
|
22171
22171
|
}),
|
|
@@ -22204,7 +22204,7 @@ function ModelTokenExchange({
|
|
|
22204
22204
|
{
|
|
22205
22205
|
size: "plain",
|
|
22206
22206
|
loading,
|
|
22207
|
-
figure:
|
|
22207
|
+
figure: _chunkVDXI26G7cjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _476 => _476.inputTokenRate])),
|
|
22208
22208
|
words: copy.charge.input
|
|
22209
22209
|
}
|
|
22210
22210
|
),
|
|
@@ -22213,7 +22213,7 @@ function ModelTokenExchange({
|
|
|
22213
22213
|
{
|
|
22214
22214
|
size: "plain",
|
|
22215
22215
|
loading,
|
|
22216
|
-
figure:
|
|
22216
|
+
figure: _chunkVDXI26G7cjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _477 => _477.outputTokenRate])),
|
|
22217
22217
|
words: copy.charge.output
|
|
22218
22218
|
}
|
|
22219
22219
|
)
|
|
@@ -22225,9 +22225,9 @@ function ModelTokenExchange({
|
|
|
22225
22225
|
className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
|
|
22226
22226
|
children: [
|
|
22227
22227
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[2lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-full max-w-xs" }) : copy.charge.so(_nullishCoalesce(balancePrice, () => ( copy.buy.tokens(tokens))), model) }),
|
|
22228
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] whitespace-nowrap tabular-nums text-ods-text-primary text-h1", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) :
|
|
22228
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] whitespace-nowrap tabular-nums text-ods-text-primary text-h1", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) : _chunkVDXI26G7cjs.formatTokenAmount.call(void 0, _chunkVDXI26G7cjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
|
|
22229
22229
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
|
|
22230
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(
|
|
22230
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(_chunkVDXI26G7cjs.formatTokenAmount.call(void 0, _chunkVDXI26G7cjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
|
|
22231
22231
|
]
|
|
22232
22232
|
}
|
|
22233
22233
|
)
|
|
@@ -22747,14 +22747,14 @@ var ConfidenceBadge = ({
|
|
|
22747
22747
|
size = "sm",
|
|
22748
22748
|
className
|
|
22749
22749
|
}) => {
|
|
22750
|
-
const level =
|
|
22750
|
+
const level = _chunkVDXI26G7cjs.getConfidenceLevel.call(void 0, confidence);
|
|
22751
22751
|
if (level === "none") {
|
|
22752
22752
|
return null;
|
|
22753
22753
|
}
|
|
22754
|
-
const label =
|
|
22755
|
-
const borderClass =
|
|
22756
|
-
const textClass =
|
|
22757
|
-
const bgClass =
|
|
22754
|
+
const label = _chunkVDXI26G7cjs.getConfidenceLabel.call(void 0, confidence);
|
|
22755
|
+
const borderClass = _chunkVDXI26G7cjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
22756
|
+
const textClass = _chunkVDXI26G7cjs.getConfidenceTextClass.call(void 0, confidence);
|
|
22757
|
+
const bgClass = _chunkVDXI26G7cjs.getConfidenceBgClass.call(void 0, confidence);
|
|
22758
22758
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22759
22759
|
"span",
|
|
22760
22760
|
{
|
|
@@ -22805,9 +22805,9 @@ function SEOEditorPreview({
|
|
|
22805
22805
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
22806
22806
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
22807
22807
|
const seoTitleLength = (seoTitle || "").length;
|
|
22808
|
-
const seoTitleTooLong = seoTitleLength >
|
|
22808
|
+
const seoTitleTooLong = seoTitleLength > _chunkVDXI26G7cjs.SEO_TITLE_MAX_LENGTH;
|
|
22809
22809
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
22810
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
22810
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunkVDXI26G7cjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
22811
22811
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
22812
22812
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
22813
22813
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -22832,10 +22832,10 @@ function SEOEditorPreview({
|
|
|
22832
22832
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22833
22833
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22834
22834
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22835
|
-
|
|
22835
|
+
_chunkVDXI26G7cjs.Field,
|
|
22836
22836
|
{
|
|
22837
22837
|
label: "SEO Title",
|
|
22838
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
22838
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunkVDXI26G7cjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
22839
22839
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22840
22840
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22841
22841
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -22850,7 +22850,7 @@ function SEOEditorPreview({
|
|
|
22850
22850
|
children: [
|
|
22851
22851
|
seoTitleLength,
|
|
22852
22852
|
"/",
|
|
22853
|
-
|
|
22853
|
+
_chunkVDXI26G7cjs.SEO_TITLE_MAX_LENGTH
|
|
22854
22854
|
]
|
|
22855
22855
|
}
|
|
22856
22856
|
),
|
|
@@ -22861,7 +22861,7 @@ function SEOEditorPreview({
|
|
|
22861
22861
|
value: seoTitle || "",
|
|
22862
22862
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
22863
22863
|
disabled,
|
|
22864
|
-
maxLength:
|
|
22864
|
+
maxLength: _chunkVDXI26G7cjs.SEO_TITLE_MAX_LENGTH,
|
|
22865
22865
|
invalid: seoTitleTooLong,
|
|
22866
22866
|
placeholder: "Enter SEO meta title...",
|
|
22867
22867
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -22872,7 +22872,7 @@ function SEOEditorPreview({
|
|
|
22872
22872
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
22873
22873
|
] }),
|
|
22874
22874
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22875
|
-
|
|
22875
|
+
_chunkVDXI26G7cjs.Field,
|
|
22876
22876
|
{
|
|
22877
22877
|
label: "SEO Keywords",
|
|
22878
22878
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -22904,10 +22904,10 @@ function SEOEditorPreview({
|
|
|
22904
22904
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22905
22905
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22906
22906
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22907
|
-
|
|
22907
|
+
_chunkVDXI26G7cjs.Field,
|
|
22908
22908
|
{
|
|
22909
22909
|
label: "SEO Description",
|
|
22910
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
22910
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunkVDXI26G7cjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
22911
22911
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22912
22912
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22913
22913
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -22930,7 +22930,7 @@ function SEOEditorPreview({
|
|
|
22930
22930
|
children: [
|
|
22931
22931
|
seoDescriptionLength,
|
|
22932
22932
|
"/",
|
|
22933
|
-
|
|
22933
|
+
_chunkVDXI26G7cjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
22934
22934
|
]
|
|
22935
22935
|
}
|
|
22936
22936
|
),
|
|
@@ -22941,7 +22941,7 @@ function SEOEditorPreview({
|
|
|
22941
22941
|
value: seoDescription || "",
|
|
22942
22942
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
22943
22943
|
disabled,
|
|
22944
|
-
maxLength:
|
|
22944
|
+
maxLength: _chunkVDXI26G7cjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
22945
22945
|
invalid: seoDescriptionTooLong,
|
|
22946
22946
|
placeholder: "Enter SEO meta description...",
|
|
22947
22947
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -23094,7 +23094,7 @@ function socialIcon(platform) {
|
|
|
23094
23094
|
return _nullishCoalesce(_chunkQOAA7ZHBcjs.iconOf.call(void 0, SOCIAL_ICONS[platform]), () => ( void 0));
|
|
23095
23095
|
}
|
|
23096
23096
|
function renderSocialIcon(platform) {
|
|
23097
|
-
const key = _nullishCoalesce(
|
|
23097
|
+
const key = _nullishCoalesce(_chunkVDXI26G7cjs.normalizeSocialPlatform.call(void 0, platform), () => ( "website"));
|
|
23098
23098
|
const icon = _nullishCoalesce(socialIcon(key), () => ( socialIcon("website")));
|
|
23099
23099
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5" }) : null;
|
|
23100
23100
|
}
|
|
@@ -23185,7 +23185,7 @@ function SocialLinksManager({
|
|
|
23185
23185
|
};
|
|
23186
23186
|
const getIcon = (link, platform) => {
|
|
23187
23187
|
const iconKey = _optionalChain([platform, 'optionalAccess', _487 => _487.icon_name]) || link.platform;
|
|
23188
|
-
const key =
|
|
23188
|
+
const key = _chunkVDXI26G7cjs.normalizeSocialPlatform.call(void 0, iconKey);
|
|
23189
23189
|
if (!key) return null;
|
|
23190
23190
|
const icon = socialIcon(key);
|
|
23191
23191
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5 text-ods-text-secondary" }) : null;
|
|
@@ -23682,7 +23682,7 @@ function WalkthroughVideo({
|
|
|
23682
23682
|
onOpenChange,
|
|
23683
23683
|
defaultOpen,
|
|
23684
23684
|
defaultOpenPaused,
|
|
23685
|
-
deepLinkParam =
|
|
23685
|
+
deepLinkParam = _chunkVDXI26G7cjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
23686
23686
|
autoPlayCard = false,
|
|
23687
23687
|
label = "Play Demo Video",
|
|
23688
23688
|
placement,
|
|
@@ -23699,7 +23699,7 @@ function WalkthroughVideo({
|
|
|
23699
23699
|
const inline = placement === "inline";
|
|
23700
23700
|
const inScope = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
23701
23701
|
const dismissEnabled = dismissal !== false;
|
|
23702
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
23702
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunkVDXI26G7cjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
23703
23703
|
const dismissalId = _optionalChain([video, 'optionalAccess', _493 => _493.id]) != null ? String(video.id) : "dismissed";
|
|
23704
23704
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
23705
23705
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -23711,7 +23711,7 @@ function WalkthroughVideo({
|
|
|
23711
23711
|
let delayElapsed = false;
|
|
23712
23712
|
let interacted = inline;
|
|
23713
23713
|
const reveal = () => {
|
|
23714
|
-
if (dismissEnabled &&
|
|
23714
|
+
if (dismissEnabled && _chunkVDXI26G7cjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
23715
23715
|
setDismissed(true);
|
|
23716
23716
|
return;
|
|
23717
23717
|
}
|
|
@@ -23998,7 +23998,7 @@ function WalkthroughVideo({
|
|
|
23998
23998
|
(e) => {
|
|
23999
23999
|
e.stopPropagation();
|
|
24000
24000
|
pausePreviewNow();
|
|
24001
|
-
if (dismissEnabled)
|
|
24001
|
+
if (dismissEnabled) _chunkVDXI26G7cjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
24002
24002
|
setDismissed(true);
|
|
24003
24003
|
},
|
|
24004
24004
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -25096,7 +25096,7 @@ function HighlightConfigSection({
|
|
|
25096
25096
|
disabled = false,
|
|
25097
25097
|
className = ""
|
|
25098
25098
|
}) {
|
|
25099
|
-
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,
|
|
25099
|
+
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, _chunkVDXI26G7cjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25100
25100
|
_chunkIJCSQFLDcjs.Select,
|
|
25101
25101
|
{
|
|
25102
25102
|
value: targetDurationSeconds.toString(),
|
|
@@ -25197,7 +25197,7 @@ var AIStatusIndicator = ({
|
|
|
25197
25197
|
}) => {
|
|
25198
25198
|
const config = statusConfig[status];
|
|
25199
25199
|
const displayText = message || config.label;
|
|
25200
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
25200
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkVDXI26G7cjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
25201
25201
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "inline-flex items-center gap-2 rounded-lg px-3 py-1.5", config.bgColor, className), children: [
|
|
25202
25202
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25203
25203
|
_chunkUNFCRSYIcjs.SparklesIcon,
|
|
@@ -25205,7 +25205,7 @@ var AIStatusIndicator = ({
|
|
|
25205
25205
|
size: 16,
|
|
25206
25206
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
25207
25207
|
status === "loading" && _chunk3TOWCFIKcjs.LIVE_PULSE_CLASS,
|
|
25208
|
-
confidence !== void 0 && status === "success" ?
|
|
25208
|
+
confidence !== void 0 && status === "success" ? _chunkVDXI26G7cjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25209
25209
|
)
|
|
25210
25210
|
}
|
|
25211
25211
|
),
|
|
@@ -25214,7 +25214,7 @@ var AIStatusIndicator = ({
|
|
|
25214
25214
|
{
|
|
25215
25215
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
25216
25216
|
"text-h6",
|
|
25217
|
-
confidence !== void 0 && status === "success" ?
|
|
25217
|
+
confidence !== void 0 && status === "success" ? _chunkVDXI26G7cjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25218
25218
|
),
|
|
25219
25219
|
children: displayText
|
|
25220
25220
|
}
|
|
@@ -25224,8 +25224,8 @@ var AIStatusIndicator = ({
|
|
|
25224
25224
|
{
|
|
25225
25225
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
25226
25226
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
25227
|
-
|
|
25228
|
-
|
|
25227
|
+
_chunkVDXI26G7cjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
25228
|
+
_chunkVDXI26G7cjs.getConfidenceTextClass.call(void 0, confidence)
|
|
25229
25229
|
),
|
|
25230
25230
|
children: confidenceLabel
|
|
25231
25231
|
}
|
|
@@ -26105,7 +26105,7 @@ function OpenPolicyButton({ href, name }) {
|
|
|
26105
26105
|
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,
|
|
26106
26106
|
_chunkFCZAUK4Dcjs.Button,
|
|
26107
26107
|
{
|
|
26108
|
-
onClick: loading ? void 0 :
|
|
26108
|
+
onClick: loading ? void 0 : _chunkVDXI26G7cjs.openInNewTab.call(void 0, href),
|
|
26109
26109
|
disabled: loading,
|
|
26110
26110
|
variant: "outline",
|
|
26111
26111
|
size: "icon",
|
|
@@ -26479,7 +26479,7 @@ function OpenTenantButton({ href, name }) {
|
|
|
26479
26479
|
/* @__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,
|
|
26480
26480
|
_chunkFCZAUK4Dcjs.Button,
|
|
26481
26481
|
{
|
|
26482
|
-
onClick: loading ? void 0 :
|
|
26482
|
+
onClick: loading ? void 0 : _chunkVDXI26G7cjs.openInNewTab.call(void 0, href),
|
|
26483
26483
|
disabled: loading,
|
|
26484
26484
|
variant: "outline",
|
|
26485
26485
|
size: "icon",
|
|
@@ -26629,7 +26629,7 @@ function WaitlistForm({
|
|
|
26629
26629
|
_react.useEffect.call(void 0, () => {
|
|
26630
26630
|
rescue.track({ email, phone }, null);
|
|
26631
26631
|
}, [email, phone, rescue]);
|
|
26632
|
-
const isMailDomainGeneric =
|
|
26632
|
+
const isMailDomainGeneric = _chunkVDXI26G7cjs.hasGenericEmailDomain.call(void 0, email);
|
|
26633
26633
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26634
26634
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
26635
26635
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -26663,7 +26663,7 @@ function WaitlistForm({
|
|
|
26663
26663
|
setShowConsentError(true);
|
|
26664
26664
|
return;
|
|
26665
26665
|
}
|
|
26666
|
-
const finalPhone = phone ?
|
|
26666
|
+
const finalPhone = phone ? _chunkVDXI26G7cjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
26667
26667
|
try {
|
|
26668
26668
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
26669
26669
|
rescue.complete();
|
|
@@ -28818,7 +28818,7 @@ function getDeviceStatusConfig(status) {
|
|
|
28818
28818
|
}
|
|
28819
28819
|
}
|
|
28820
28820
|
function getDeviceOperatingSystem(osType) {
|
|
28821
|
-
return
|
|
28821
|
+
return _chunkVDXI26G7cjs.getOSPlatformId.call(void 0, osType);
|
|
28822
28822
|
}
|
|
28823
28823
|
|
|
28824
28824
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -30928,7 +30928,7 @@ var ToolBadge = ({
|
|
|
30928
30928
|
iconClassName
|
|
30929
30929
|
}) => {
|
|
30930
30930
|
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
30931
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
30931
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkVDXI26G7cjs.getToolLabel.call(void 0, toolType) : "")));
|
|
30932
30932
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDDBOCG3cjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
30933
30933
|
if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ToolBadgeSkeleton, { variant, icon: !!mark, className });
|
|
30934
30934
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -31082,7 +31082,7 @@ function LogsTableView({
|
|
|
31082
31082
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31083
31083
|
ToolBadge,
|
|
31084
31084
|
{
|
|
31085
|
-
toolType:
|
|
31085
|
+
toolType: _chunkVDXI26G7cjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
31086
31086
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
31087
31087
|
}
|
|
31088
31088
|
),
|
|
@@ -31094,7 +31094,7 @@ function LogsTableView({
|
|
|
31094
31094
|
filter: {
|
|
31095
31095
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _682 => _682.toolTypes, 'access', _683 => _683.map, 'call', _684 => _684((toolType) => ({
|
|
31096
31096
|
id: toolType,
|
|
31097
|
-
label:
|
|
31097
|
+
label: _chunkVDXI26G7cjs.toToolLabel.call(void 0, toolType),
|
|
31098
31098
|
value: toolType
|
|
31099
31099
|
}))]), () => ( []))
|
|
31100
31100
|
}
|
|
@@ -31143,7 +31143,7 @@ function LogsTableView({
|
|
|
31143
31143
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31144
31144
|
LogRowButton,
|
|
31145
31145
|
{
|
|
31146
|
-
onClick: getLogHref ?
|
|
31146
|
+
onClick: getLogHref ? _chunkVDXI26G7cjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
31147
31147
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
31148
31148
|
label: "Open in new tab"
|
|
31149
31149
|
}
|
|
@@ -31465,7 +31465,7 @@ function OpenInNewTabCell({ href }) {
|
|
|
31465
31465
|
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,
|
|
31466
31466
|
_chunkFCZAUK4Dcjs.Button,
|
|
31467
31467
|
{
|
|
31468
|
-
onClick: loading ? void 0 :
|
|
31468
|
+
onClick: loading ? void 0 : _chunkVDXI26G7cjs.openInNewTab.call(void 0, href),
|
|
31469
31469
|
disabled: loading,
|
|
31470
31470
|
variant: "outline",
|
|
31471
31471
|
size: "icon",
|
|
@@ -31654,9 +31654,9 @@ function ScriptSchedulesTable({
|
|
|
31654
31654
|
|
|
31655
31655
|
// src/components/features/scripts/shell-types.ts
|
|
31656
31656
|
var SCRIPT_SHELL_TYPES = [
|
|
31657
|
-
{ id:
|
|
31658
|
-
{ id:
|
|
31659
|
-
{ id:
|
|
31657
|
+
{ id: _chunkVDXI26G7cjs.ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon },
|
|
31658
|
+
{ id: _chunkVDXI26G7cjs.ShellTypeValues.CMD, label: "CMD", value: "cmd", icon: _chunkNIVJEJSGcjs.TerminalSquareIcon },
|
|
31659
|
+
{ id: _chunkVDXI26G7cjs.ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkTRUW6DDAcjs.TerminalIcon }
|
|
31660
31660
|
];
|
|
31661
31661
|
function scriptShellType(value) {
|
|
31662
31662
|
return SCRIPT_SHELL_TYPES.find((shell) => shell.value === value);
|
|
@@ -33132,7 +33132,7 @@ function ScheduleFormFields({
|
|
|
33132
33132
|
disabled = false,
|
|
33133
33133
|
renderScriptSearch,
|
|
33134
33134
|
timeReferenceGate = "off",
|
|
33135
|
-
platforms =
|
|
33135
|
+
platforms = _chunkVDXI26G7cjs.OS_PLATFORMS,
|
|
33136
33136
|
comingSoonPlatforms = [],
|
|
33137
33137
|
getTimeSlots,
|
|
33138
33138
|
nameLayout = "stacked",
|
|
@@ -33278,7 +33278,7 @@ function ScheduleFormFields({
|
|
|
33278
33278
|
// src/components/features/scripts/schedule-form/schedule-script-search-field.tsx
|
|
33279
33279
|
|
|
33280
33280
|
function ScriptPlatformIcons({ platforms }) {
|
|
33281
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children:
|
|
33281
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children: _chunkVDXI26G7cjs.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)) });
|
|
33282
33282
|
}
|
|
33283
33283
|
function ScheduleScriptSearchField({
|
|
33284
33284
|
scriptId,
|
|
@@ -33351,7 +33351,7 @@ function KnowledgeBaseOpenButton({ href }) {
|
|
|
33351
33351
|
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,
|
|
33352
33352
|
_chunkFCZAUK4Dcjs.Button,
|
|
33353
33353
|
{
|
|
33354
|
-
onClick: loading ? void 0 :
|
|
33354
|
+
onClick: loading ? void 0 : _chunkVDXI26G7cjs.openInNewTab.call(void 0, href),
|
|
33355
33355
|
disabled: loading,
|
|
33356
33356
|
variant: "outline",
|
|
33357
33357
|
size: "icon",
|
|
@@ -33702,7 +33702,7 @@ function ConversationCard({
|
|
|
33702
33702
|
style: tint,
|
|
33703
33703
|
onClick: selection && ((event) => {
|
|
33704
33704
|
if (event.button !== 0 || _optionalChain([window, 'access', _748 => _748.getSelection, 'call', _749 => _749(), 'optionalAccess', _750 => _750.toString, 'call', _751 => _751()])) return;
|
|
33705
|
-
if (!
|
|
33705
|
+
if (!_chunkVDXI26G7cjs.isOwnClick.call(void 0, event.target, event.currentTarget, { controls: true })) return;
|
|
33706
33706
|
selection.onToggle();
|
|
33707
33707
|
}),
|
|
33708
33708
|
children: [
|
|
@@ -33725,7 +33725,7 @@ function ConversationCard({
|
|
|
33725
33725
|
)
|
|
33726
33726
|
),
|
|
33727
33727
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33728
|
-
|
|
33728
|
+
_chunkVDXI26G7cjs.ChatTurn,
|
|
33729
33729
|
{
|
|
33730
33730
|
avatar: requester.avatar,
|
|
33731
33731
|
name: requester.name,
|
|
@@ -33746,7 +33746,7 @@ function ConversationCard({
|
|
|
33746
33746
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: CONTEXT_TEXT_CLASS, style: partLinesStyle(_optionalChain([lines, 'optionalAccess', _752 => _752.context])), children: context.text })
|
|
33747
33747
|
] }),
|
|
33748
33748
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33749
|
-
|
|
33749
|
+
_chunkVDXI26G7cjs.ChatTurn,
|
|
33750
33750
|
{
|
|
33751
33751
|
avatar: responder.avatar,
|
|
33752
33752
|
name: responder.name,
|
|
@@ -33791,7 +33791,7 @@ function ConversationCardSkeleton({
|
|
|
33791
33791
|
{
|
|
33792
33792
|
selection: selection && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.InertWhileLoading, { className: "contents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectionToggle, { pressed: selection.pressed }) }),
|
|
33793
33793
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33794
|
-
|
|
33794
|
+
_chunkVDXI26G7cjs.ChatTurn,
|
|
33795
33795
|
{
|
|
33796
33796
|
loading: true,
|
|
33797
33797
|
name: "",
|
|
@@ -33815,7 +33815,7 @@ function ConversationCardSkeleton({
|
|
|
33815
33815
|
] })
|
|
33816
33816
|
] }),
|
|
33817
33817
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33818
|
-
|
|
33818
|
+
_chunkVDXI26G7cjs.ChatTurn,
|
|
33819
33819
|
{
|
|
33820
33820
|
loading: true,
|
|
33821
33821
|
name: "",
|