@flamingo-stack/openframe-frontend-core 0.0.840 → 0.0.842
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build/route-styles.cjs +3 -1
- package/dist/build/style-sources.cjs +15 -2
- package/dist/build/style-sources.d.ts +3 -0
- package/dist/{case-study-card-TK7ZCNLM.cjs → case-study-card-VN3JBNF5.cjs} +3 -3
- package/dist/{chunk-RSJYTQEA.cjs → chunk-23DVVS4I.cjs} +104 -104
- package/dist/{chunk-GMK4JGC2.cjs → chunk-2HRQU4ZL.cjs} +44 -44
- package/dist/{chunk-HXTZZE3R.cjs → chunk-3ONBCAD2.cjs} +59 -59
- package/dist/{chunk-DGY5KEPY.cjs → chunk-4ASUUB3A.cjs} +83 -83
- package/dist/{chunk-WCOSGDGA.cjs → chunk-4R4HAFXI.cjs} +2 -2
- package/dist/{chunk-INBFKUZA.cjs → chunk-5CPEMPNP.cjs} +15 -15
- package/dist/{chunk-CCRXBFNL.cjs → chunk-6HFTSVVC.cjs} +8 -8
- package/dist/{chunk-FHI4I3TQ.cjs → chunk-6M764K5Z.cjs} +12 -12
- package/dist/{chunk-275AQ6LC.cjs → chunk-7UZYI4GV.cjs} +4 -4
- package/dist/{chunk-SOCCHWDK.cjs → chunk-BHOVF4KP.cjs} +2 -2
- package/dist/{chunk-WVNUCKB7.cjs → chunk-CNMXP77I.cjs} +4 -4
- package/dist/{chunk-Q6WUHYOG.cjs → chunk-CQQRGM6D.cjs} +85 -85
- package/dist/{chunk-TD4CC4KV.cjs → chunk-EUEPGHY4.cjs} +6 -6
- package/dist/{chunk-DYDQLS2R.cjs → chunk-GQJXOX5S.cjs} +213 -213
- package/dist/{chunk-AT6D7BAZ.cjs → chunk-IVM35OAW.cjs} +3 -3
- package/dist/{chunk-JM2XA7VY.cjs → chunk-IVS23CAK.cjs} +15 -15
- package/dist/{chunk-ZAO5SYBJ.cjs → chunk-MWQOM2EI.cjs} +4 -4
- package/dist/{chunk-WI7EXAZT.cjs → chunk-NMLNZCK2.cjs} +2 -2
- package/dist/{chunk-APNONOHY.cjs → chunk-PZNWIJRZ.cjs} +13 -10
- package/dist/{chunk-MYAPG3FQ.cjs → chunk-QPJUQ5YU.cjs} +21 -21
- package/dist/{chunk-VBH2RCFM.cjs → chunk-RAFWT3WG.cjs} +78 -78
- package/dist/{chunk-JUEAZCD6.cjs → chunk-RSZZTB5T.cjs} +54 -54
- package/dist/{chunk-7WKRMJI6.cjs → chunk-SC36S7DJ.cjs} +2 -2
- package/dist/{chunk-UZPYYHF5.cjs → chunk-SOTTMZ6U.cjs} +19 -19
- package/dist/{chunk-E7M54JWW.cjs → chunk-SSSI2RBV.cjs} +14 -14
- package/dist/{chunk-Z35PL3UR.cjs → chunk-WOYARKPQ.cjs} +34 -34
- package/dist/{chunk-EV6BPF47.cjs → chunk-WPMJUYW3.cjs} +143 -143
- package/dist/{chunk-FRL2ZN4O.cjs → chunk-XCVH5BCZ.cjs} +6 -6
- package/dist/{chunk-IELPVUPR.cjs → chunk-YNKXXDOI.cjs} +23 -23
- package/dist/{chunk-GUKFMMDZ.cjs → chunk-ZOWAYKDN.cjs} +3 -3
- package/dist/{cloud-tenants-PV63RZ73.cjs → cloud-tenants-U6Y2UZVF.cjs} +11 -11
- package/dist/components/case-studies/index.cjs +26 -26
- package/dist/components/chat/index.cjs +8 -8
- package/dist/components/contact/index.cjs +12 -12
- package/dist/components/docs/index.cjs +15 -15
- package/dist/components/embeds/index.cjs +12 -12
- package/dist/components/faq/index.cjs +13 -13
- package/dist/components/features/index.cjs +11 -11
- package/dist/components/help-center-pages/index.cjs +105 -105
- package/dist/components/index.cjs +65 -65
- package/dist/components/meeting-scheduler/index.cjs +50 -50
- package/dist/components/navigation/index.cjs +14 -14
- package/dist/components/onboarding-guides/index.cjs +14 -14
- package/dist/components/product-demo/index.cjs +20 -20
- package/dist/components/related-content/index.cjs +7 -7
- package/dist/components/tickets/index.cjs +18 -18
- package/dist/components/ui/index.cjs +11 -11
- package/dist/{devices-VECG5JNC.cjs → devices-HB4GEMJH.cjs} +12 -12
- package/dist/{embeddable-chat-VRYAQQF6.cjs → embeddable-chat-C6DUH2JL.cjs} +78 -78
- package/dist/hooks/index.cjs +4 -4
- package/dist/index.cjs +15 -15
- package/dist/{knowledge-YJSDJIXT.cjs → knowledge-I53Z6DV7.cjs} +12 -12
- package/dist/{logs-42JG3NZ5.cjs → logs-SFLAZIQG.cjs} +18 -18
- package/dist/platform-domains.cjs +14 -10
- package/dist/platform-domains.d.ts +12 -7
- package/dist/platform-domains.d.ts.map +1 -1
- package/dist/platform-domains.js +14 -10
- package/dist/{policies-D4QNVJ26.cjs → policies-EIAGQO6T.cjs} +15 -15
- package/dist/{scripts-4VFYBXBE.cjs → scripts-SNJ4UVRF.cjs} +16 -16
- package/dist/{software-update-OSDZQ5CP.cjs → software-update-AZFRUC5N.cjs} +14 -14
- package/dist/utils/index.cjs +13 -10
- package/package.json +1 -1
- package/src/platform-domains.ts +28 -20
|
@@ -18,7 +18,7 @@ var _chunkOT6P57ZScjs = require('./chunk-OT6P57ZS.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkWPMJUYW3cjs = require('./chunk-WPMJUYW3.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -100,7 +100,7 @@ var _chunkBFMRU3R6cjs = require('./chunk-BFMRU3R6.cjs');
|
|
|
100
100
|
|
|
101
101
|
|
|
102
102
|
|
|
103
|
-
var
|
|
103
|
+
var _chunkXCVH5BCZcjs = require('./chunk-XCVH5BCZ.cjs');
|
|
104
104
|
|
|
105
105
|
|
|
106
106
|
var _chunkJKX2C3I2cjs = require('./chunk-JKX2C3I2.cjs');
|
|
@@ -113,13 +113,13 @@ var _chunkEWPR7662cjs = require('./chunk-EWPR7662.cjs');
|
|
|
113
113
|
var _chunkIX2E3AN7cjs = require('./chunk-IX2E3AN7.cjs');
|
|
114
114
|
|
|
115
115
|
|
|
116
|
-
var
|
|
116
|
+
var _chunk6HFTSVVCcjs = require('./chunk-6HFTSVVC.cjs');
|
|
117
117
|
|
|
118
118
|
|
|
119
119
|
|
|
120
120
|
|
|
121
121
|
|
|
122
|
-
var
|
|
122
|
+
var _chunk23DVVS4Icjs = require('./chunk-23DVVS4I.cjs');
|
|
123
123
|
|
|
124
124
|
|
|
125
125
|
|
|
@@ -147,14 +147,14 @@ var _chunkNFNSPLGCcjs = require('./chunk-NFNSPLGC.cjs');
|
|
|
147
147
|
|
|
148
148
|
|
|
149
149
|
|
|
150
|
-
var
|
|
150
|
+
var _chunkEUEPGHY4cjs = require('./chunk-EUEPGHY4.cjs');
|
|
151
151
|
|
|
152
152
|
|
|
153
153
|
var _chunkYSDB6HGQcjs = require('./chunk-YSDB6HGQ.cjs');
|
|
154
154
|
|
|
155
155
|
|
|
156
156
|
|
|
157
|
-
var
|
|
157
|
+
var _chunkPZNWIJRZcjs = require('./chunk-PZNWIJRZ.cjs');
|
|
158
158
|
|
|
159
159
|
|
|
160
160
|
|
|
@@ -218,7 +218,7 @@ function ChatMessageRow(props) {
|
|
|
218
218
|
}
|
|
219
219
|
function ChatMessageRowLoaded(props) {
|
|
220
220
|
const { displayName, avatarUrl, timeLabel, body, footer } = props;
|
|
221
|
-
const proxiedAvatar =
|
|
221
|
+
const proxiedAvatar = _chunk23DVVS4Icjs.useProxiedImageUrl.call(void 0, _nullishCoalesce(avatarUrl, () => ( "")));
|
|
222
222
|
const resolvedAvatar = proxiedAvatar || avatarUrl || void 0;
|
|
223
223
|
const [failedSrc, setFailedSrc] = _react.useState.call(void 0, null);
|
|
224
224
|
const src = resolvedAvatar && resolvedAvatar !== failedSrc ? resolvedAvatar : void 0;
|
|
@@ -953,7 +953,7 @@ function isOSPlatform(deviceOS, targetPlatform) {
|
|
|
953
953
|
// src/utils/mobile-app.ts
|
|
954
954
|
var DOWNLOAD_PAGE_PATH = "/download";
|
|
955
955
|
function resolveMobileStoreUrl(links, userAgent, maxTouchPoints) {
|
|
956
|
-
const os =
|
|
956
|
+
const os = _chunkXCVH5BCZcjs.detectVisitorOs.call(void 0, userAgent, { maxTouchPoints });
|
|
957
957
|
if (os === "ios") return links.appStoreUrl;
|
|
958
958
|
if (os === "android") return links.googlePlayUrl;
|
|
959
959
|
return null;
|
|
@@ -1921,7 +1921,7 @@ var OPENFRAME_DEV_SECTIONS = {
|
|
|
1921
1921
|
function openInNewTab(href) {
|
|
1922
1922
|
return (event) => {
|
|
1923
1923
|
event.preventDefault();
|
|
1924
|
-
|
|
1924
|
+
_chunkXCVH5BCZcjs.executeNewTabNavigation.call(void 0, { runtime: null, href });
|
|
1925
1925
|
};
|
|
1926
1926
|
}
|
|
1927
1927
|
|
|
@@ -2060,7 +2060,7 @@ function lastPathSegment(url) {
|
|
|
2060
2060
|
function makeComposeContentUrl(opts) {
|
|
2061
2061
|
const suffixes = _nullishCoalesce(opts.suffixes, () => ( DEFAULT_CONTENT_SUFFIXES));
|
|
2062
2062
|
return ({ type: rawType, identifier, slug: slugHint, externalUrl, targetPlatform, platforms }) => {
|
|
2063
|
-
const type =
|
|
2063
|
+
const type = _chunk23DVVS4Icjs.canonicalContentRefType.call(void 0, rawType);
|
|
2064
2064
|
const override = opts.overrides && Object.prototype.hasOwnProperty.call(opts.overrides, type) ? opts.overrides[type] : void 0;
|
|
2065
2065
|
if (override) return { ...override(identifier), hostOverride: true };
|
|
2066
2066
|
const seg = _nullishCoalesce((Object.prototype.hasOwnProperty.call(suffixes, type) ? suffixes[type] : void 0), () => ( type));
|
|
@@ -2071,8 +2071,8 @@ function makeComposeContentUrl(opts) {
|
|
|
2071
2071
|
}
|
|
2072
2072
|
if (externalUrl) return { href: externalUrl, targetPlatform: _nullishCoalesce(targetPlatform, () => ( null)) };
|
|
2073
2073
|
const claimedOwner = _nullishCoalesce(targetPlatform, () => ( primaryPlatformOf(platforms)));
|
|
2074
|
-
const owner = claimedOwner &&
|
|
2075
|
-
const origin = owner ?
|
|
2074
|
+
const owner = claimedOwner && _chunkPZNWIJRZcjs.byKey.call(void 0, claimedOwner) ? claimedOwner : null;
|
|
2075
|
+
const origin = owner ? _chunkPZNWIJRZcjs.getPlatformProductionUrl.call(void 0, owner) : opts.contentOrigin;
|
|
2076
2076
|
return {
|
|
2077
2077
|
href: `${origin.replace(/\/+$/, "")}/${seg}/${_optionalChain([slugHint, 'optionalAccess', _88 => _88.trim, 'call', _89 => _89()]) || identifier}`,
|
|
2078
2078
|
// Report the owner so `decideNewTab` can compare it against the current
|
|
@@ -2244,8 +2244,8 @@ var DEFAULT_OPTIONS = {
|
|
|
2244
2244
|
function extractSections(markdown, options = {}) {
|
|
2245
2245
|
const opts = { ...DEFAULT_OPTIONS, ...options };
|
|
2246
2246
|
const sections = [];
|
|
2247
|
-
const dedupe =
|
|
2248
|
-
const scanned =
|
|
2247
|
+
const dedupe = _chunkXCVH5BCZcjs.createHeadingIdDeduper.call(void 0, );
|
|
2248
|
+
const scanned = _chunkXCVH5BCZcjs.scanHeadings.call(void 0, markdown, {
|
|
2249
2249
|
skipFrontmatter: opts.skipCodeAndYamlBlocks,
|
|
2250
2250
|
skipFences: opts.skipCodeAndYamlBlocks
|
|
2251
2251
|
});
|
|
@@ -2253,9 +2253,9 @@ function extractSections(markdown, options = {}) {
|
|
|
2253
2253
|
if (heading.level > opts.maxLevel) continue;
|
|
2254
2254
|
let title = heading.text;
|
|
2255
2255
|
if (opts.stripFormattingMarkers) {
|
|
2256
|
-
title =
|
|
2256
|
+
title = _chunkWPMJUYW3cjs.stripInlineMarkdown.call(void 0, title).trim();
|
|
2257
2257
|
}
|
|
2258
|
-
const baseId =
|
|
2258
|
+
const baseId = _chunkXCVH5BCZcjs.slugifyHeadingBase.call(void 0, opts.removeEmojis ? _chunkXCVH5BCZcjs.stripHeadingEmojis.call(void 0, title) : title);
|
|
2259
2259
|
const cleanId = baseId || `section-${sections.length + 1}`;
|
|
2260
2260
|
sections.push({
|
|
2261
2261
|
id: opts.handleDuplicateIds ? dedupe(cleanId) : cleanId,
|
|
@@ -2510,7 +2510,7 @@ function demoClockTimes(seed, options = {}) {
|
|
|
2510
2510
|
function openAskAi(source, options) {
|
|
2511
2511
|
const prompt = _optionalChain([options, 'optionalAccess', _96 => _96.prompt, 'optionalAccess', _97 => _97.trim, 'call', _98 => _98()]);
|
|
2512
2512
|
const detail = prompt ? { source: _nullishCoalesce(source, () => ( "")), prompt } : { source: _nullishCoalesce(source, () => ( "")) };
|
|
2513
|
-
window.dispatchEvent(new CustomEvent(
|
|
2513
|
+
window.dispatchEvent(new CustomEvent(_chunkWPMJUYW3cjs.ASK_AI_OPEN_EVENT, { detail }));
|
|
2514
2514
|
}
|
|
2515
2515
|
function MingoAiButton({
|
|
2516
2516
|
source,
|
|
@@ -2522,10 +2522,10 @@ function MingoAiButton({
|
|
|
2522
2522
|
onClick,
|
|
2523
2523
|
...props
|
|
2524
2524
|
}) {
|
|
2525
|
-
const visitor =
|
|
2525
|
+
const visitor = _chunkXCVH5BCZcjs.useVisitorOs.call(void 0, );
|
|
2526
2526
|
const field = variant === "field";
|
|
2527
2527
|
const inPage = variant === "button";
|
|
2528
|
-
const commandKey = visitor.known &&
|
|
2528
|
+
const commandKey = visitor.known && _chunkXCVH5BCZcjs.usesCommandKey.call(void 0, visitor.os);
|
|
2529
2529
|
const assistant = _chunkEWPR7662cjs.useAssistantRuntime.call(void 0, );
|
|
2530
2530
|
const label = _nullishCoalesce(labelProp, () => ( _optionalChain([assistant, 'optionalAccess', _99 => _99.name])));
|
|
2531
2531
|
const icon = _nullishCoalesce(iconProp, () => ( _optionalChain([assistant, 'optionalAccess', _100 => _100.icon])));
|
|
@@ -2553,7 +2553,7 @@ function MingoAiButton({
|
|
|
2553
2553
|
{
|
|
2554
2554
|
...props,
|
|
2555
2555
|
type: "button",
|
|
2556
|
-
...{ [
|
|
2556
|
+
...{ [_chunkWPMJUYW3cjs.ASK_AI_TRIGGER_ATTRIBUTE]: "" },
|
|
2557
2557
|
variant: field ? "glyph" : "transparent",
|
|
2558
2558
|
size: "wrap",
|
|
2559
2559
|
font: "regular",
|
|
@@ -2578,7 +2578,7 @@ function MingoAiButton({
|
|
|
2578
2578
|
),
|
|
2579
2579
|
children: [
|
|
2580
2580
|
!field && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
2581
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2581
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPMJUYW3cjs.MingoEdgeLight, { className: "rounded-md" }),
|
|
2582
2582
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: "pointer-events-none absolute inset-0 overflow-hidden rounded-md", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2583
2583
|
"span",
|
|
2584
2584
|
{
|
|
@@ -2626,7 +2626,7 @@ function MingoAiButton({
|
|
|
2626
2626
|
"relative h-6 min-w-9 items-center justify-center rounded border border-ods-border px-[var(--spacing-system-xxs)] text-h6",
|
|
2627
2627
|
inPage ? "inline-flex" : "hidden lg:inline-flex"
|
|
2628
2628
|
),
|
|
2629
|
-
children: visitor.known ?
|
|
2629
|
+
children: visitor.known ? _chunkXCVH5BCZcjs.shortcutLabel.call(void 0, visitor.os, "K") : ""
|
|
2630
2630
|
}
|
|
2631
2631
|
)
|
|
2632
2632
|
]
|
|
@@ -2655,7 +2655,7 @@ function useAskPrompts({
|
|
|
2655
2655
|
const assistant = _chunkEWPR7662cjs.useAssistantRuntime.call(void 0, );
|
|
2656
2656
|
const base = assistantAvailable(assistant) ? assistant.askPromptsUrl : void 0;
|
|
2657
2657
|
const url = base && enabled ? buildAskPromptsUrl(base, { count, topic, exclude }) : null;
|
|
2658
|
-
const { data, dataUrl, error } =
|
|
2658
|
+
const { data, dataUrl, error } = _chunk6HFTSVVCcjs.useSelfFetch.call(void 0, url);
|
|
2659
2659
|
const landed = url !== null && (dataUrl === url || error);
|
|
2660
2660
|
return { prompts: landed ? _nullishCoalesce(_optionalChain([data, 'optionalAccess', _105 => _105.prompts]), () => ( [])) : [], isLoading: !!base && !landed, supported: !!base };
|
|
2661
2661
|
}
|
|
@@ -2794,9 +2794,9 @@ function QuestionChips({
|
|
|
2794
2794
|
{
|
|
2795
2795
|
"data-loading-item": true,
|
|
2796
2796
|
className: _nullishCoalesce(slotClassName, () => ( CHIP_SLOT_CLASS)),
|
|
2797
|
-
...prompt ? { [
|
|
2797
|
+
...prompt ? { [_chunkWPMJUYW3cjs.ASK_AI_TRIGGER_ATTRIBUTE]: "" } : {},
|
|
2798
2798
|
children: (loading || prompt) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2799
|
-
|
|
2799
|
+
_chunkWPMJUYW3cjs.QuickActionChipButton,
|
|
2800
2800
|
{
|
|
2801
2801
|
loading,
|
|
2802
2802
|
variant: "question",
|
|
@@ -3007,7 +3007,7 @@ function QuickActionMarquee({
|
|
|
3007
3007
|
);
|
|
3008
3008
|
if (items.length === 0) return null;
|
|
3009
3009
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3010
|
-
|
|
3010
|
+
_chunkWPMJUYW3cjs.QuickActionWall,
|
|
3011
3011
|
{
|
|
3012
3012
|
chips,
|
|
3013
3013
|
mode,
|
|
@@ -3253,7 +3253,7 @@ function ComposerSheet({
|
|
|
3253
3253
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabFoot, { side: "left" }),
|
|
3254
3254
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabFoot, { side: "right" }),
|
|
3255
3255
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3256
|
-
|
|
3256
|
+
_chunkWPMJUYW3cjs.PanelResizeHandle,
|
|
3257
3257
|
{
|
|
3258
3258
|
side: "bottom",
|
|
3259
3259
|
size: _nullishCoalesce(resolved, () => ( floor)),
|
|
@@ -3356,7 +3356,7 @@ var ChatSidebar = _react.forwardRef.call(void 0,
|
|
|
3356
3356
|
hasNextPage,
|
|
3357
3357
|
isFetchingNextPage,
|
|
3358
3358
|
onLoadMore,
|
|
3359
|
-
pageSize =
|
|
3359
|
+
pageSize = _chunkWPMJUYW3cjs.CHAT_HISTORY_PAGE_SIZE,
|
|
3360
3360
|
...props
|
|
3361
3361
|
}, ref) => {
|
|
3362
3362
|
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, ) || !!isLoading && dialogs.length === 0 && !children;
|
|
@@ -3640,7 +3640,7 @@ function OnboardingCarousel({
|
|
|
3640
3640
|
|
|
3641
3641
|
var ADMIN_CONTENT_CARD_GRID_CLASS = "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-[var(--spacing-system-lf)]";
|
|
3642
3642
|
var GRID_CELL_CLASS = "h-full";
|
|
3643
|
-
var DEFAULT_LOADING_CARD = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3643
|
+
var DEFAULT_LOADING_CARD = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk23DVVS4Icjs.AdminContentCard, { loading: true, reserveRows: true, title: "", actions: true });
|
|
3644
3644
|
function loadingCardOf(loadingCard, Skeleton) {
|
|
3645
3645
|
if (loadingCard !== void 0) return loadingCard;
|
|
3646
3646
|
return Skeleton ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, {}) : DEFAULT_LOADING_CARD;
|
|
@@ -3654,7 +3654,7 @@ function AdminContentCardGridSkeleton({
|
|
|
3654
3654
|
label = "Loading",
|
|
3655
3655
|
region = true
|
|
3656
3656
|
}) {
|
|
3657
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3657
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPMJUYW3cjs.LoadingFallback, { label, status: region, className: _chunk63A4GZMBcjs.cn.call(void 0, ADMIN_CONTENT_CARD_GRID_CLASS, className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.LoadingItems, { count, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: GRID_CELL_CLASS, "data-loading-item": true, children: loadingCardOf(loadingCard, Skeleton) }) }) });
|
|
3658
3658
|
}
|
|
3659
3659
|
function AdminContentCardGrid({
|
|
3660
3660
|
items,
|
|
@@ -3744,23 +3744,23 @@ function SlackMessageCard({ item, variant = "compact", className, anchorProps })
|
|
|
3744
3744
|
metaParts.push(
|
|
3745
3745
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
3746
3746
|
);
|
|
3747
|
-
const href =
|
|
3747
|
+
const href = _chunkEUEPGHY4cjs.safeHref.call(void 0, item.url);
|
|
3748
3748
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3749
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3750
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3751
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3752
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3753
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3749
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOWDRZM73cjs.SlackIcon, { className: "h-5 w-5" }) }),
|
|
3750
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3751
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_TITLE, children: item.title }) }),
|
|
3752
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_SUMMARY, children: item.preview || _chunkEUEPGHY4cjs.COMPACT_CARD_ROW_FILLER }) }),
|
|
3753
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_META_ROW, children: metaParts.length > 0 ? metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
3754
3754
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
3755
3755
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
3756
|
-
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3756
|
+
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_SUMMARY, children: _chunkEUEPGHY4cjs.COMPACT_CARD_ROW_FILLER }) }) })
|
|
3757
3757
|
] }),
|
|
3758
3758
|
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-3.5 w-3.5" }) }) : null
|
|
3759
3759
|
] });
|
|
3760
3760
|
if (anchorProps) {
|
|
3761
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
3761
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkEUEPGHY4cjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
3762
3762
|
}
|
|
3763
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
3763
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkEUEPGHY4cjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEUEPGHY4cjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
3764
3764
|
}
|
|
3765
3765
|
function SlackMessageCardSkeleton({
|
|
3766
3766
|
variant = "compact",
|
|
@@ -3768,7 +3768,7 @@ function SlackMessageCardSkeleton({
|
|
|
3768
3768
|
}) {
|
|
3769
3769
|
if (variant === "row") {
|
|
3770
3770
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3771
|
-
|
|
3771
|
+
_chunkEUEPGHY4cjs.ActivityRowSkeleton,
|
|
3772
3772
|
{
|
|
3773
3773
|
lead: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3774
3774
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.UnifiedSkeleton, { className: "h-3.5 w-3.5 shrink-0 rounded" }),
|
|
@@ -3780,7 +3780,7 @@ function SlackMessageCardSkeleton({
|
|
|
3780
3780
|
);
|
|
3781
3781
|
}
|
|
3782
3782
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3783
|
-
|
|
3783
|
+
_chunkEUEPGHY4cjs.CompactCardSkeleton,
|
|
3784
3784
|
{
|
|
3785
3785
|
titleWidth: "w-2/3",
|
|
3786
3786
|
rows: [{ width: "w-5/6" }, { width: "w-1/3" }],
|
|
@@ -3821,7 +3821,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
3821
3821
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
3822
3822
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "max-w-[260px] shrink-0 truncate text-ods-text-primary text-h6", children: item.title }),
|
|
3823
3823
|
item.preview ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1 truncate text-ods-text-secondary text-h6", children: item.preview }) : null,
|
|
3824
|
-
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3824
|
+
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEUEPGHY4cjs.StatusBadge, { text: statusText, variant: "button", colorScheme: statusScheme(item.status) }) : null,
|
|
3825
3825
|
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "w-24 shrink-0 text-right text-ods-text-secondary text-h6", children: dateText }) : null
|
|
3826
3826
|
] });
|
|
3827
3827
|
}
|
|
@@ -3835,13 +3835,13 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
3835
3835
|
metaParts.push(
|
|
3836
3836
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
3837
3837
|
);
|
|
3838
|
-
const href =
|
|
3838
|
+
const href = _chunkEUEPGHY4cjs.safeHref.call(void 0, item.url);
|
|
3839
3839
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3840
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3840
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3841
3841
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
3842
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
3842
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEUEPGHY4cjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
3843
3843
|
priorityText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3844
|
-
|
|
3844
|
+
_chunkEUEPGHY4cjs.StatusBadge,
|
|
3845
3845
|
{
|
|
3846
3846
|
text: priorityText,
|
|
3847
3847
|
variant: "button",
|
|
@@ -3850,7 +3850,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
3850
3850
|
}
|
|
3851
3851
|
) : null,
|
|
3852
3852
|
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3853
|
-
|
|
3853
|
+
_chunkEUEPGHY4cjs.StatusBadge,
|
|
3854
3854
|
{
|
|
3855
3855
|
text: statusText,
|
|
3856
3856
|
variant: "button",
|
|
@@ -3864,7 +3864,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
3864
3864
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: item.customerEmail })
|
|
3865
3865
|
] }) : null,
|
|
3866
3866
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "line-clamp-4 whitespace-pre-wrap break-words text-ods-text-secondary text-h6", children: item.preview || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "italic text-ods-text-secondary/60", children: "No description provided." }) }) }),
|
|
3867
|
-
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3867
|
+
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
3868
3868
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
3869
3869
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
3870
3870
|
] }, i)) }) }) : null
|
|
@@ -3872,9 +3872,9 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
3872
3872
|
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-3.5 w-3.5" }) }) : null
|
|
3873
3873
|
] });
|
|
3874
3874
|
if (anchorProps) {
|
|
3875
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
3875
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkEUEPGHY4cjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
3876
3876
|
}
|
|
3877
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
3877
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkEUEPGHY4cjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEUEPGHY4cjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
3878
3878
|
}
|
|
3879
3879
|
function HubspotTicketCardSkeleton({
|
|
3880
3880
|
variant = "compact",
|
|
@@ -3889,7 +3889,7 @@ function HubspotTicketCardSkeleton({
|
|
|
3889
3889
|
] });
|
|
3890
3890
|
}
|
|
3891
3891
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3892
|
-
|
|
3892
|
+
_chunkEUEPGHY4cjs.CompactCardSkeleton,
|
|
3893
3893
|
{
|
|
3894
3894
|
slot: false,
|
|
3895
3895
|
titleWidth: "w-2/3",
|
|
@@ -3907,10 +3907,10 @@ function HubspotTicketCardSkeleton({
|
|
|
3907
3907
|
function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
3908
3908
|
if (_chunk63A4GZMBcjs.useLoadingScope.call(void 0, )) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataRoomDocCardSkeleton, { className });
|
|
3909
3909
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3910
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3910
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3911
3911
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
3912
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
3913
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3912
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEUEPGHY4cjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
3913
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEUEPGHY4cjs.StatusBadge, { text: badgeText, variant: "button", colorScheme: "cyan", className: "shrink-0" })
|
|
3914
3914
|
] }),
|
|
3915
3915
|
item.path ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1 text-ods-text-secondary text-h6", children: [
|
|
3916
3916
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/70", children: "Path:" }),
|
|
@@ -3921,13 +3921,13 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
|
3921
3921
|
_optionalChain([anchorProps, 'optionalAccess', _136 => _136.href]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-3.5 w-3.5" }) }) : null
|
|
3922
3922
|
] });
|
|
3923
3923
|
if (!anchorProps) {
|
|
3924
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
3924
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEUEPGHY4cjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
3925
3925
|
}
|
|
3926
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
3926
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkEUEPGHY4cjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
3927
3927
|
}
|
|
3928
3928
|
function DataRoomDocCardSkeleton({ className }) {
|
|
3929
3929
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3930
|
-
|
|
3930
|
+
_chunkEUEPGHY4cjs.CompactCardSkeleton,
|
|
3931
3931
|
{
|
|
3932
3932
|
slot: false,
|
|
3933
3933
|
titleWidth: "w-2/3",
|
|
@@ -3946,24 +3946,24 @@ function CampaignCardAdmin({ campaign, className, anchorProps }) {
|
|
|
3946
3946
|
if (_chunk63A4GZMBcjs.useLoadingScope.call(void 0, )) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CampaignCardAdminSkeleton, { className });
|
|
3947
3947
|
const goalsCount = _optionalChain([campaign, 'access', _137 => _137.goals, 'optionalAccess', _138 => _138.length]) || 0;
|
|
3948
3948
|
const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3949
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3950
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3951
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3952
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3953
|
-
campaign.start_date ?
|
|
3949
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Megaphone, { className: "h-5 w-5" }) }),
|
|
3950
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3951
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_TITLE, children: campaign.name }) }),
|
|
3952
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_SUBTITLE, children: [
|
|
3953
|
+
campaign.start_date ? _chunk23DVVS4Icjs.formatDateShort.call(void 0, campaign.start_date) : null,
|
|
3954
3954
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
3955
3955
|
"Marketing campaign"
|
|
3956
3956
|
].filter(Boolean).join(" \xB7 ") }) }),
|
|
3957
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3957
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_SUMMARY, children: campaign.description || _chunkEUEPGHY4cjs.COMPACT_CARD_ROW_FILLER }) })
|
|
3958
3958
|
] })
|
|
3959
3959
|
] });
|
|
3960
3960
|
if (anchorProps) {
|
|
3961
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
3961
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkEUEPGHY4cjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: innerChildren });
|
|
3962
3962
|
}
|
|
3963
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
3963
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEUEPGHY4cjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: innerChildren });
|
|
3964
3964
|
}
|
|
3965
3965
|
function CampaignCardAdminSkeleton({ className }) {
|
|
3966
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3966
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEUEPGHY4cjs.CompactCardSkeleton, { rows: [{ width: "w-1/2" }, { width: "w-11/12" }], className });
|
|
3967
3967
|
}
|
|
3968
3968
|
|
|
3969
3969
|
// src/components/chat/entity-cards/generic-entity-card.tsx
|
|
@@ -3971,14 +3971,14 @@ function CampaignCardAdminSkeleton({ className }) {
|
|
|
3971
3971
|
|
|
3972
3972
|
function GenericEntityCard({ item, className, anchorProps }) {
|
|
3973
3973
|
if (_chunk63A4GZMBcjs.useLoadingScope.call(void 0, )) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, GenericEntityCardSkeleton, { className });
|
|
3974
|
-
const href =
|
|
3974
|
+
const href = _chunkEUEPGHY4cjs.safeHref.call(void 0, item.url);
|
|
3975
3975
|
const dateText = _chunkNFNSPLGCcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
3976
3976
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3977
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3977
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3978
3978
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
3979
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
3979
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEUEPGHY4cjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
3980
3980
|
item.badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3981
|
-
|
|
3981
|
+
_chunkEUEPGHY4cjs.StatusBadge,
|
|
3982
3982
|
{
|
|
3983
3983
|
text: item.badge.text,
|
|
3984
3984
|
variant: "button",
|
|
@@ -3996,18 +3996,18 @@ function GenericEntityCard({ item, className, anchorProps }) {
|
|
|
3996
3996
|
] }),
|
|
3997
3997
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate font-medium text-ods-text-primary", children: f.value })
|
|
3998
3998
|
] }, i)) }) : null,
|
|
3999
|
-
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3999
|
+
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEUEPGHY4cjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }) }) }) : null
|
|
4000
4000
|
] }),
|
|
4001
4001
|
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-3.5 w-3.5" }) }) : null
|
|
4002
4002
|
] });
|
|
4003
4003
|
if (anchorProps) {
|
|
4004
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
4004
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkEUEPGHY4cjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
4005
4005
|
}
|
|
4006
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, className: `${
|
|
4006
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, className: `${_chunkEUEPGHY4cjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEUEPGHY4cjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
4007
4007
|
}
|
|
4008
4008
|
function GenericEntityCardSkeleton({ className }) {
|
|
4009
4009
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4010
|
-
|
|
4010
|
+
_chunkEUEPGHY4cjs.CompactCardSkeleton,
|
|
4011
4011
|
{
|
|
4012
4012
|
slot: false,
|
|
4013
4013
|
titleWidth: "w-2/3",
|
|
@@ -5246,7 +5246,7 @@ function Section({ title, description, children }) {
|
|
|
5246
5246
|
] });
|
|
5247
5247
|
}
|
|
5248
5248
|
function ProxyCredentialsPanel({ description }) {
|
|
5249
|
-
const hydrated =
|
|
5249
|
+
const hydrated = _chunkWPMJUYW3cjs.useIsHydrated.call(void 0, );
|
|
5250
5250
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5251
5251
|
ProxyCredentialsForm,
|
|
5252
5252
|
{
|
|
@@ -5307,13 +5307,13 @@ function ProxyCredentialsForm({ description, saved }) {
|
|
|
5307
5307
|
setStatus("Cleared. Requests use the session again.");
|
|
5308
5308
|
};
|
|
5309
5309
|
const setField = (field, value) => setOptional((prev) => ({ ...prev, [field]: value }));
|
|
5310
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5310
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEUEPGHY4cjs.Card, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkEUEPGHY4cjs.CardContent, { className: "space-y-[var(--spacing-system-lf)] p-[var(--spacing-system-mf)]", children: [
|
|
5311
5311
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "header", { className: "flex flex-col gap-[var(--spacing-system-sf)] sm:flex-row sm:items-start sm:justify-between", children: [
|
|
5312
5312
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
5313
5313
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h3", children: "Proxy credentials" }),
|
|
5314
5314
|
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: description })
|
|
5315
5315
|
] }),
|
|
5316
|
-
activeEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5316
|
+
activeEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEUEPGHY4cjs.StatusBadge, { singleLine: true, colorScheme: "success", text: `Active: ${activeEmail}` }) })
|
|
5317
5317
|
] }),
|
|
5318
5318
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5319
5319
|
Section,
|
|
@@ -5410,12 +5410,12 @@ function ProxyCredentialsForm({ description, saved }) {
|
|
|
5410
5410
|
|
|
5411
5411
|
// src/components/chat/index.ts
|
|
5412
5412
|
var LoadedEmbeddableChat = _react.lazy.call(void 0,
|
|
5413
|
-
() => Promise.resolve().then(() => _interopRequireWildcard(require("./embeddable-chat-
|
|
5413
|
+
() => Promise.resolve().then(() => _interopRequireWildcard(require("./embeddable-chat-C6DUH2JL.cjs"))).then((module) => ({ default: module.EmbeddableChat }))
|
|
5414
5414
|
);
|
|
5415
5415
|
var EmbeddableChat = _react.forwardRef.call(void 0, (props, ref) => {
|
|
5416
5416
|
const [loadRequested, setLoadRequested] = _react.useState.call(void 0, false);
|
|
5417
5417
|
const load = loadRequested || Boolean(props.open) || Boolean(props.defaultOpen);
|
|
5418
|
-
_react.useEffect.call(void 0, () =>
|
|
5418
|
+
_react.useEffect.call(void 0, () => _chunkWPMJUYW3cjs.holdAskAiOpens.call(void 0, ), []);
|
|
5419
5419
|
const { loadStyles } = props;
|
|
5420
5420
|
_react.useEffect.call(void 0, () => {
|
|
5421
5421
|
if (load) _optionalChain([loadStyles, 'optionalCall', _204 => _204()]);
|
|
@@ -5423,12 +5423,12 @@ var EmbeddableChat = _react.forwardRef.call(void 0, (props, ref) => {
|
|
|
5423
5423
|
_react.useEffect.call(void 0, () => {
|
|
5424
5424
|
if (load) return void 0;
|
|
5425
5425
|
const start = () => setLoadRequested(true);
|
|
5426
|
-
if (
|
|
5427
|
-
for (const name of
|
|
5428
|
-
const cancel =
|
|
5426
|
+
if (_chunkWPMJUYW3cjs.askAiOpenIsHeld.call(void 0, )) queueMicrotask(start);
|
|
5427
|
+
for (const name of _chunkWPMJUYW3cjs.ASK_AI_OPEN_EVENTS) window.addEventListener(name, start);
|
|
5428
|
+
const cancel = _chunkWPMJUYW3cjs.onAskAiIntent.call(void 0, start);
|
|
5429
5429
|
return () => {
|
|
5430
5430
|
cancel();
|
|
5431
|
-
for (const name of
|
|
5431
|
+
for (const name of _chunkWPMJUYW3cjs.ASK_AI_OPEN_EVENTS) window.removeEventListener(name, start);
|
|
5432
5432
|
};
|
|
5433
5433
|
}, [load]);
|
|
5434
5434
|
if (!load) return null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkPZNWIJRZcjs = require('./chunk-PZNWIJRZ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk3TOWCFIKcjs = require('./chunk-3TOWCFIK.cjs');
|
|
@@ -49,7 +49,7 @@ function PaginationControl({
|
|
|
49
49
|
);
|
|
50
50
|
}
|
|
51
51
|
const handleClick = (event) => {
|
|
52
|
-
if (
|
|
52
|
+
if (_chunkPZNWIJRZcjs.isModifierClick.call(void 0, event)) return;
|
|
53
53
|
event.preventDefault();
|
|
54
54
|
onPageChange(page);
|
|
55
55
|
};
|