@flamingo-stack/openframe-frontend-core 0.0.292 → 0.0.293-snapshot.20260619104458
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-6FHO73AP.js → chunk-26PKDALD.js} +7 -79
- package/dist/chunk-26PKDALD.js.map +1 -0
- package/dist/{chunk-OXOTKEYY.cjs → chunk-4W7NYJ3B.cjs} +23 -23
- package/dist/{chunk-OXOTKEYY.cjs.map → chunk-4W7NYJ3B.cjs.map} +1 -1
- package/dist/{chunk-KBKZYJRI.cjs → chunk-5E2HOSSH.cjs} +66 -19
- package/dist/chunk-5E2HOSSH.cjs.map +1 -0
- package/dist/{chunk-CUQH4SHH.js → chunk-6GCI7JOE.js} +2 -2
- package/dist/{chunk-2NJ44RTT.cjs → chunk-6LUVYHKD.cjs} +30 -30
- package/dist/{chunk-2NJ44RTT.cjs.map → chunk-6LUVYHKD.cjs.map} +1 -1
- package/dist/{chunk-E2YXRSDG.js → chunk-6SG25O2N.js} +15 -13
- package/dist/chunk-6SG25O2N.js.map +1 -0
- package/dist/{chunk-CDJOKNCS.cjs → chunk-73QT66LJ.cjs} +25 -19
- package/dist/chunk-73QT66LJ.cjs.map +1 -0
- package/dist/{chunk-N6ZM5PYZ.js → chunk-7RIYT7ZH.js} +49 -2
- package/dist/chunk-7RIYT7ZH.js.map +1 -0
- package/dist/{chunk-FFP2A77V.cjs → chunk-AFKRDSRS.cjs} +12 -12
- package/dist/{chunk-FFP2A77V.cjs.map → chunk-AFKRDSRS.cjs.map} +1 -1
- package/dist/{chunk-PZZGDS5I.cjs → chunk-B4T3RTFX.cjs} +24 -22
- package/dist/chunk-B4T3RTFX.cjs.map +1 -0
- package/dist/{chunk-5R5OODNE.cjs → chunk-CLWQ7MHW.cjs} +40 -40
- package/dist/{chunk-5R5OODNE.cjs.map → chunk-CLWQ7MHW.cjs.map} +1 -1
- package/dist/{chunk-C667P6LZ.js → chunk-DEBURY5R.js} +13 -7
- package/dist/{chunk-C667P6LZ.js.map → chunk-DEBURY5R.js.map} +1 -1
- package/dist/{chunk-HTYUZXQP.js → chunk-E24HKKIE.js} +5 -5
- package/dist/{chunk-VK4B6UGU.js → chunk-E4XABBSU.js} +16 -8
- package/dist/{chunk-VK4B6UGU.js.map → chunk-E4XABBSU.js.map} +1 -1
- package/dist/{chunk-DUIWR7RQ.js → chunk-EJXHZX2E.js} +3 -3
- package/dist/{chunk-5PELVUFT.cjs → chunk-EYEW6PTA.cjs} +44 -36
- package/dist/chunk-EYEW6PTA.cjs.map +1 -0
- package/dist/{chunk-SLP4KXP6.js → chunk-FQJK446R.js} +8 -2
- package/dist/chunk-FQJK446R.js.map +1 -0
- package/dist/{chunk-JC5RN7ZS.cjs → chunk-FT4FCV7L.cjs} +6 -6
- package/dist/{chunk-JC5RN7ZS.cjs.map → chunk-FT4FCV7L.cjs.map} +1 -1
- package/dist/{chunk-ZHNL2IPK.cjs → chunk-J54Z3OCR.cjs} +8 -2
- package/dist/chunk-J54Z3OCR.cjs.map +1 -0
- package/dist/{chunk-Z6BK4XHH.cjs → chunk-KXCRGTRN.cjs} +10 -82
- package/dist/chunk-KXCRGTRN.cjs.map +1 -0
- package/dist/{chunk-5KD3S25X.cjs → chunk-LFGGF7OT.cjs} +139 -2
- package/dist/chunk-LFGGF7OT.cjs.map +1 -0
- package/dist/{chunk-N45M3TK3.js → chunk-NSPOYUBH.js} +2 -2
- package/dist/{chunk-TYZEMPPH.js → chunk-OQ6X7ZOC.js} +138 -1
- package/dist/chunk-OQ6X7ZOC.js.map +1 -0
- package/dist/{chunk-B2U6INNO.js → chunk-QFG4G62D.js} +4 -4
- package/dist/{chunk-IXDTNQF4.js → chunk-RT6DJB3C.js} +4 -4
- package/dist/{chunk-MDLWEJAV.cjs → chunk-V6YZGLHZ.cjs} +454 -459
- package/dist/chunk-V6YZGLHZ.cjs.map +1 -0
- package/dist/{chunk-2BMVBPC7.cjs → chunk-YIGPRLQY.cjs} +9 -9
- package/dist/{chunk-2BMVBPC7.cjs.map → chunk-YIGPRLQY.cjs.map} +1 -1
- package/dist/{chunk-5FK7X3EE.js → chunk-ZYZWD7LS.js} +9 -14
- package/dist/chunk-ZYZWD7LS.js.map +1 -0
- package/dist/components/chat/entity-cards/roadmap-card.d.ts +7 -1
- package/dist/components/chat/entity-cards/roadmap-card.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-nats-chat-adapter.d.ts +0 -5
- package/dist/components/chat/hooks/use-nats-chat-adapter.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-realtime-chunk-processor.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +7 -7
- package/dist/components/chat/index.js +6 -6
- package/dist/components/chat/types/api.types.d.ts +0 -6
- package/dist/components/chat/types/api.types.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +8 -8
- package/dist/components/contact/index.js +7 -7
- package/dist/components/docs/index.cjs +6 -6
- package/dist/components/docs/index.js +5 -5
- package/dist/components/docs/use-document-tree.d.ts.map +1 -1
- package/dist/components/embeds/index.cjs +8 -8
- package/dist/components/embeds/index.js +7 -7
- package/dist/components/faq/faq-section.d.ts.map +1 -1
- package/dist/components/faq/index.cjs +8 -8
- package/dist/components/faq/index.js +7 -7
- package/dist/components/features/index.cjs +7 -7
- package/dist/components/features/index.js +6 -6
- package/dist/components/index.cjs +214 -193
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +50 -29
- package/dist/components/index.js.map +1 -1
- package/dist/components/navigation/index.cjs +7 -7
- package/dist/components/navigation/index.js +6 -6
- package/dist/components/onboarding-guides/index.cjs +24 -24
- package/dist/components/onboarding-guides/index.js +4 -4
- package/dist/components/related-content/index.cjs +8 -8
- package/dist/components/related-content/index.js +7 -7
- package/dist/components/shared/delivery/delivery-lists.d.ts.map +1 -1
- package/dist/components/shared/delivery/delivery-row.d.ts +8 -1
- package/dist/components/shared/delivery/delivery-row.d.ts.map +1 -1
- package/dist/components/shared/delivery/delivery-table.d.ts.map +1 -1
- package/dist/components/shared/roadmap/roadmap-grid.d.ts.map +1 -1
- package/dist/components/shared/roadmap/roadmap-view.d.ts.map +1 -1
- package/dist/components/tickets/help-center-card.d.ts +7 -1
- package/dist/components/tickets/help-center-card.d.ts.map +1 -1
- package/dist/components/tickets/help-center-list.d.ts.map +1 -1
- package/dist/components/tickets/index.cjs +82 -73
- package/dist/components/tickets/index.cjs.map +1 -1
- package/dist/components/tickets/index.js +24 -15
- package/dist/components/tickets/index.js.map +1 -1
- package/dist/components/tickets/ticket-center.d.ts.map +1 -1
- package/dist/components/tickets/ticket-row.d.ts +6 -1
- package/dist/components/tickets/ticket-row.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +7 -7
- package/dist/components/ui/index.js +6 -6
- package/dist/hooks/index.cjs +5 -3
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +4 -2
- package/dist/hooks/use-scroll-to-hash.d.ts +17 -0
- package/dist/hooks/use-scroll-to-hash.d.ts.map +1 -0
- package/dist/index.cjs +19 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +19 -7
- package/dist/utils/dev-sections/dev-section-param-keys.d.ts +10 -0
- package/dist/utils/dev-sections/dev-section-param-keys.d.ts.map +1 -1
- package/dist/utils/index.cjs +71 -1
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +67 -2
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/same-page-hash-nav.d.ts +37 -0
- package/dist/utils/same-page-hash-nav.d.ts.map +1 -0
- package/dist/utils/source-icons.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/chat/entity-cards/roadmap-card.tsx +8 -1
- package/src/components/chat/hooks/use-nats-chat-adapter.ts +0 -8
- package/src/components/chat/hooks/use-realtime-chunk-processor.ts +1 -12
- package/src/components/chat/types/api.types.ts +0 -6
- package/src/components/docs/use-document-tree.ts +45 -3
- package/src/components/faq/faq-section.tsx +22 -9
- package/src/components/shared/delivery/delivery-lists.tsx +9 -0
- package/src/components/shared/delivery/delivery-row.tsx +15 -2
- package/src/components/shared/delivery/delivery-table.tsx +7 -1
- package/src/components/shared/roadmap/roadmap-grid.tsx +7 -0
- package/src/components/shared/roadmap/roadmap-view.tsx +11 -0
- package/src/components/tickets/help-center-card.tsx +9 -17
- package/src/components/tickets/help-center-list.tsx +13 -0
- package/src/components/tickets/ticket-center.tsx +2 -0
- package/src/components/tickets/ticket-row.tsx +7 -1
- package/src/hooks/index.ts +5 -0
- package/src/hooks/use-scroll-to-hash.ts +74 -0
- package/src/utils/.source-icons.md +1 -1
- package/src/utils/dev-sections/dev-section-param-keys.ts +14 -0
- package/src/utils/index.ts +17 -1
- package/src/utils/same-page-hash-nav.ts +115 -0
- package/src/utils/source-icons.ts +7 -1
- package/dist/chunk-5FK7X3EE.js.map +0 -1
- package/dist/chunk-5KD3S25X.cjs.map +0 -1
- package/dist/chunk-5PELVUFT.cjs.map +0 -1
- package/dist/chunk-6FHO73AP.js.map +0 -1
- package/dist/chunk-CDJOKNCS.cjs.map +0 -1
- package/dist/chunk-E2YXRSDG.js.map +0 -1
- package/dist/chunk-KBKZYJRI.cjs.map +0 -1
- package/dist/chunk-MDLWEJAV.cjs.map +0 -1
- package/dist/chunk-N6ZM5PYZ.js.map +0 -1
- package/dist/chunk-PZZGDS5I.cjs.map +0 -1
- package/dist/chunk-SLP4KXP6.js.map +0 -1
- package/dist/chunk-TYZEMPPH.js.map +0 -1
- package/dist/chunk-Z6BK4XHH.cjs.map +0 -1
- package/dist/chunk-ZHNL2IPK.cjs.map +0 -1
- /package/dist/{chunk-CUQH4SHH.js.map → chunk-6GCI7JOE.js.map} +0 -0
- /package/dist/{chunk-HTYUZXQP.js.map → chunk-E24HKKIE.js.map} +0 -0
- /package/dist/{chunk-DUIWR7RQ.js.map → chunk-EJXHZX2E.js.map} +0 -0
- /package/dist/{chunk-N45M3TK3.js.map → chunk-NSPOYUBH.js.map} +0 -0
- /package/dist/{chunk-B2U6INNO.js.map → chunk-QFG4G62D.js.map} +0 -0
- /package/dist/{chunk-IXDTNQF4.js.map → chunk-RT6DJB3C.js.map} +0 -0
package/dist/utils/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export * from './confidence-helpers';
|
|
|
13
13
|
export * from './date-formatters';
|
|
14
14
|
export * from './release-badge';
|
|
15
15
|
export * from './release-cover';
|
|
16
|
-
export { DEV_SECTION_PARAM_KEYS } from './dev-sections/dev-section-param-keys';
|
|
16
|
+
export { DEV_SECTION_PARAM_KEYS, devSectionAnchorId, type DevSectionAnchorKind, } from './dev-sections/dev-section-param-keys';
|
|
17
17
|
export { getDynamicIcon, type DynamicIconSize, ICON_REGISTRY, getIconComponent, normalizeIconKey, } from '../components/chat/utils/icon-registry';
|
|
18
18
|
export { getPlatformIconComponent as getPlatformLogo } from './platform-config';
|
|
19
19
|
export * from './tool-utils';
|
|
@@ -41,6 +41,7 @@ export { isCrossOriginUrl } from '../components/chat/utils/is-cross-origin-url';
|
|
|
41
41
|
export { fetchPriorityProp, type FetchPriorityValue } from './fetch-priority';
|
|
42
42
|
export * from './dev-sections';
|
|
43
43
|
export { type ScrollElementIntoViewOptions, scrollElementIntoView, } from './scroll-into-view';
|
|
44
|
+
export { navigateSamePageHash, normalizeHashFragment, STICKY_HEADER_OFFSET_PX, HUB_HEADER_OFFSET_PX, type NavigateSamePageHashOptions, } from './same-page-hash-nav';
|
|
44
45
|
export { buildListUrl, canonicalContentRefType } from './list-url';
|
|
45
46
|
export { faqSectionSlug, faqItemAnchor, parseFaqHash } from './faq-anchor';
|
|
46
47
|
export type { FaqHashTarget } from './faq-anchor';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAA;AA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AkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,8BAA8B,CAAA;AAC5C,cAAc,qBAAqB,CAAA;AACnC,cAAc,wBAAwB,CAAA"}
|
package/dist/utils/index.js
CHANGED
|
@@ -1563,6 +1563,9 @@ var DEV_SECTION_PARAM_KEYS = {
|
|
|
1563
1563
|
/** Delivery (bug-fix / enhancement) task-type filter. */
|
|
1564
1564
|
deliveryTaskType: "task_type"
|
|
1565
1565
|
};
|
|
1566
|
+
function devSectionAnchorId(section, id) {
|
|
1567
|
+
return `${section}-${id}`;
|
|
1568
|
+
}
|
|
1566
1569
|
var OpenFrameLogoIcon = ({ className }) => createElement(OpenFrameLogo, { className, upperPathColor: "currentColor" });
|
|
1567
1570
|
var ICON_REGISTRY = {
|
|
1568
1571
|
// lucide-react (kebab-case)
|
|
@@ -2609,7 +2612,13 @@ var SOURCE_LABELS_BY_TABLE = {
|
|
|
2609
2612
|
"github-pr-reviews-public": "OpenFrame PR Reviews",
|
|
2610
2613
|
// HubSpot
|
|
2611
2614
|
"hubspot-tickets": "HubSpot Tickets",
|
|
2612
|
-
"
|
|
2615
|
+
// Anon + self share the "Tickets" root so the chip vocabulary is
|
|
2616
|
+
// uniform across logged-out (everyone's resolved support tickets,
|
|
2617
|
+
// anonymized → "Tickets") and logged-in (user-scoped → "My Tickets")
|
|
2618
|
+
// surfaces. The full-PII `hubspot-tickets` entry above is product-hub
|
|
2619
|
+
// internal only (admin view), kept as "HubSpot Tickets" to flag the
|
|
2620
|
+
// distinct scope.
|
|
2621
|
+
"hubspot-tickets-anon": "Tickets",
|
|
2613
2622
|
"hubspot-tickets-self": "My Tickets",
|
|
2614
2623
|
// Communications
|
|
2615
2624
|
"slack-messages": "OpenMSP Community"
|
|
@@ -3364,6 +3373,62 @@ function scrollElementIntoView(target, options = {}) {
|
|
|
3364
3373
|
activeRaf = requestAnimationFrame(step);
|
|
3365
3374
|
}
|
|
3366
3375
|
|
|
3376
|
+
// src/utils/same-page-hash-nav.ts
|
|
3377
|
+
var STICKY_HEADER_OFFSET_PX = 96;
|
|
3378
|
+
var HUB_HEADER_OFFSET_PX = 80;
|
|
3379
|
+
function normalizeHashFragment(hash) {
|
|
3380
|
+
if (!hash) return "";
|
|
3381
|
+
const second = hash.indexOf("#", 1);
|
|
3382
|
+
return second < 0 ? hash : hash.slice(0, second);
|
|
3383
|
+
}
|
|
3384
|
+
function navigateSamePageHash(target, options = {}) {
|
|
3385
|
+
if (typeof window === "undefined") return false;
|
|
3386
|
+
const { headerOffset = 0, history: historyMode = "push" } = options;
|
|
3387
|
+
const normalizedTarget = target.startsWith("#") ? window.location.pathname + window.location.search + target : target;
|
|
3388
|
+
let url;
|
|
3389
|
+
try {
|
|
3390
|
+
url = new URL(normalizedTarget, window.location.href);
|
|
3391
|
+
} catch {
|
|
3392
|
+
return false;
|
|
3393
|
+
}
|
|
3394
|
+
if (url.origin !== window.location.origin || url.pathname !== window.location.pathname || url.search !== window.location.search) {
|
|
3395
|
+
return false;
|
|
3396
|
+
}
|
|
3397
|
+
const current = window.location.pathname + window.location.search + window.location.hash;
|
|
3398
|
+
const normalizedHash = normalizeHashFragment(url.hash);
|
|
3399
|
+
if (process.env.NODE_ENV === "development" && normalizedHash !== url.hash) {
|
|
3400
|
+
console.warn(
|
|
3401
|
+
`[navigateSamePageHash] malformed fragment "${url.hash}" \u2192 normalizing to "${normalizedHash}". Fix the upstream composer.`
|
|
3402
|
+
);
|
|
3403
|
+
}
|
|
3404
|
+
const next = url.pathname + url.search + normalizedHash;
|
|
3405
|
+
const id = normalizedHash && normalizedHash !== "#" ? normalizedHash.slice(1) : "";
|
|
3406
|
+
if (!id && next !== current) return false;
|
|
3407
|
+
if (next !== current) {
|
|
3408
|
+
const oldURL = window.location.href;
|
|
3409
|
+
if (historyMode === "replace") {
|
|
3410
|
+
window.history.replaceState(null, "", next);
|
|
3411
|
+
} else {
|
|
3412
|
+
window.history.pushState(null, "", next);
|
|
3413
|
+
}
|
|
3414
|
+
window.dispatchEvent(new HashChangeEvent("hashchange", {
|
|
3415
|
+
oldURL,
|
|
3416
|
+
newURL: window.location.href
|
|
3417
|
+
}));
|
|
3418
|
+
}
|
|
3419
|
+
const el = id ? document.getElementById(id) : null;
|
|
3420
|
+
if (id && !el && process.env.NODE_ENV === "development") {
|
|
3421
|
+
console.warn(
|
|
3422
|
+
`[navigateSamePageHash] anchor "#${id}" not found \u2014 scrolling to top.`
|
|
3423
|
+
);
|
|
3424
|
+
}
|
|
3425
|
+
scrollElementIntoView(el ?? document.documentElement, {
|
|
3426
|
+
behavior: "smooth",
|
|
3427
|
+
headerOffset
|
|
3428
|
+
});
|
|
3429
|
+
return true;
|
|
3430
|
+
}
|
|
3431
|
+
|
|
3367
3432
|
// src/utils/list-url.ts
|
|
3368
3433
|
var ALIASES = { blog_post_existing: "blog_post" };
|
|
3369
3434
|
function canonicalContentRefType(contentRefType) {
|
|
@@ -3815,6 +3880,6 @@ function toFigmaOriginalUrl(url) {
|
|
|
3815
3880
|
return url.replace(/\?.*$/, "");
|
|
3816
3881
|
}
|
|
3817
3882
|
|
|
3818
|
-
export { ANTHROPIC_SUPPORTED_IMAGE_MIME, AUTO_CONTINUATION_DIRECTIVE_PREFIX, CHAT_ATTACHMENT_MARKDOWN_PATTERN, CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM, CHAT_ATTACHMENT_VIEW_URL_PREFIX, CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED, CONTENT_REF_GROUPS, CUSTOM_ITEM_ID, DEFAULT_CONTENT_SUFFIXES, DEFAULT_FOLDER_INDEX_FILE, DEFAULT_MIN_FILL_MS, DEFAULT_OS_PLATFORM, DELIVERY_TASK_TYPE_OPTIONS, DESIGN_PALETTE, DEV_SECTION_PARAM_KEYS, ELAPSED_MS_FIELD, GENERIC_EMAIL_DOMAINS, HEX_PATTERN, HONEYPOT_FIELD, ICON_REGISTRY, OPENFRAME_DEV_SECTIONS, OS_PLATFORMS, PLAY_ICON_PATH, ROADMAP_STATUS_OPTIONS, SCROLL_ANCHOR, SCROLL_ANCHOR_WIRE_KEY, SOURCE_ICON_NAMES, SOURCE_LABELS_BY_TABLE, TICKET_STATUS_OPTIONS, analyzeImageColor, applyProxyAuth, buildAutoContinuationDirective, buildChatAttachmentViewUrl, buildDefaultHref, buildDiscussAddendum, buildDocumentTree, buildListUrl, buildSuggestionUrl, canonicalContentRefType, cleanEmailDomain, clearEmbedProxyAuth, clickupTaskUrl, cn, consumeAccessCode, createUTCTimestamp, deepClone, delay, deriveActiveColor, deriveHoverColor, embedAuthedFetch, escapeMarkdownInline, evaluateHumanitySignals, extractDomainFromEmail, extractDominantColor, extractEntityIdFilter, extractHumanitySignals, extractImageEdgeColorAsync, extractItemId, extractItems, extractSections, faqItemAnchor, faqSectionSlug, fetchPriorityProp, findDocNodeByPath, flattenAssistantContent, formatAbbreviatedNumber, formatAbsoluteDate, formatBioText, formatBytes, formatBytesShort, formatChatAttachmentMarkdownForBubble, formatClassification, formatCompactMetric, formatCurrency, formatDate, formatDateRange, formatDateShort, formatDateSlashUTC, formatDateTime, formatDateTimeAt, formatDateUTC, formatDocName, formatDuration, formatDurationCompact, formatDurationFromMs, formatDurationFromRange, formatDurationMMSS, formatEntryMonthUTC, formatFileSize, formatLargeNumber, formatLegalDate, formatNumber, formatPercent, formatPhoneE164, formatPrice, formatPricingModel, formatRelativeTime, formatReleaseDate, formatSingularLookupInvocation, formatTicketFullTimestamp, formatTicketRelativeTime, formatTimeWithTimezone, formatUnderscoreText, formatWholeDollars, generateImageSizes, generateRandomString, getAllPlatformBaseDomains, getBaseUrl, getBestContrastColor, getConfidenceBgClass, getConfidenceBorderClass, getConfidenceColorClass, getConfidenceLabel, getConfidenceLevel, getConfidenceTextClass, getContentRefLabel, getContentRefLabelOrTitleCase, getContrastRatio, getCountryByCode, getCountryPhoneData, getCurrentPlatform, getDefaultColorForPlatform, getDefaultIconForPlatform, getDetailedTimeDifference, getDocAncestorNodeIds, getDocSourceDefaultPath, getDynamicIcon, getEmbedProxyAuth, getFirstLastInitials, getIconComponent, getInitialExpandedNodeIds, getOSIcon, getOSLabel, getOSPlatformId, getOSTypeDefinition, getPersistedProxyEmail, getPlatformAccentColor, getPlatformColor, getPlatformDescription, getPlatformDisplayName, getPlatformIcon, getPlatformIconComponent, getPlatformIconComponent as getPlatformLogo, getPlatformProductionUrl, getPlatformSlogan, getProxiedImageUrl, getReadableTextColor, getShellIcon, getShellLabel, getSlackCommunityJoinUrl, getSmallPlatformIcon, getSourceIconName, getSourceLabel, getStatusColorScheme, getTaskTypeLabel, getToolLabel, getToolTypeAliases, getTrendColors, hasGenericEmailDomain, hexToRgb, isCrossOriginUrl, isFigmaSlidesUrl, isGenericDomain, isGenericWebsiteDomain, isOSPlatform, isToday, isValidEmailDomain, isValidToolType, isWithinMinutes, makeComposeContentUrl, markdownToPlainText, nameInitials, normalizeDocPath, normalizeDomain, normalizeIconKey, normalizeOSType, normalizeToolType, normalizeToolTypeWithFallback, orderContentRefTypes, parseFaqHash, parseScrollAnchor, parseWireCommandOverride, pathToNodeId, platformColors, platformDescriptions, platformDisplayNames, platformHexColors, platformIconNames, platformIcons, platformSlogans, readLeadingDecisionFrame, releaseTypeToBadgeColor, resolveContentFetchPath, resolveReleaseCover, rgbToHex, sanitizeTitleForChat, scrollElementIntoView, serializeJsonLd, setEmbedAuthAdapter, setEmbedProxyAuth, shouldProxyImage, sortTreeChildren, splitCsvEnv, stripChatAttachmentMarkdown, stripFolderIndexFromPath, stripHtml, stripInlineMarkdown, toDocSlug, toFigmaEmbedUrl, toFigmaOriginalUrl, toGoogleSheetsEmbedUrl, toGoogleSheetsOriginalUrl, toToolLabel, transformPlatformConfigsToOptions, truncateString, urlPathLooksLikeSvg, validateAccessCode, validateAndConsumeAccessCode, validateEmailDomain, validateEmailDomainList, validatePhoneNumber };
|
|
3883
|
+
export { ANTHROPIC_SUPPORTED_IMAGE_MIME, AUTO_CONTINUATION_DIRECTIVE_PREFIX, CHAT_ATTACHMENT_MARKDOWN_PATTERN, CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM, CHAT_ATTACHMENT_VIEW_URL_PREFIX, CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED, CONTENT_REF_GROUPS, CUSTOM_ITEM_ID, DEFAULT_CONTENT_SUFFIXES, DEFAULT_FOLDER_INDEX_FILE, DEFAULT_MIN_FILL_MS, DEFAULT_OS_PLATFORM, DELIVERY_TASK_TYPE_OPTIONS, DESIGN_PALETTE, DEV_SECTION_PARAM_KEYS, ELAPSED_MS_FIELD, GENERIC_EMAIL_DOMAINS, HEX_PATTERN, HONEYPOT_FIELD, HUB_HEADER_OFFSET_PX, ICON_REGISTRY, OPENFRAME_DEV_SECTIONS, OS_PLATFORMS, PLAY_ICON_PATH, ROADMAP_STATUS_OPTIONS, SCROLL_ANCHOR, SCROLL_ANCHOR_WIRE_KEY, SOURCE_ICON_NAMES, SOURCE_LABELS_BY_TABLE, STICKY_HEADER_OFFSET_PX, TICKET_STATUS_OPTIONS, analyzeImageColor, applyProxyAuth, buildAutoContinuationDirective, buildChatAttachmentViewUrl, buildDefaultHref, buildDiscussAddendum, buildDocumentTree, buildListUrl, buildSuggestionUrl, canonicalContentRefType, cleanEmailDomain, clearEmbedProxyAuth, clickupTaskUrl, cn, consumeAccessCode, createUTCTimestamp, deepClone, delay, deriveActiveColor, deriveHoverColor, devSectionAnchorId, embedAuthedFetch, escapeMarkdownInline, evaluateHumanitySignals, extractDomainFromEmail, extractDominantColor, extractEntityIdFilter, extractHumanitySignals, extractImageEdgeColorAsync, extractItemId, extractItems, extractSections, faqItemAnchor, faqSectionSlug, fetchPriorityProp, findDocNodeByPath, flattenAssistantContent, formatAbbreviatedNumber, formatAbsoluteDate, formatBioText, formatBytes, formatBytesShort, formatChatAttachmentMarkdownForBubble, formatClassification, formatCompactMetric, formatCurrency, formatDate, formatDateRange, formatDateShort, formatDateSlashUTC, formatDateTime, formatDateTimeAt, formatDateUTC, formatDocName, formatDuration, formatDurationCompact, formatDurationFromMs, formatDurationFromRange, formatDurationMMSS, formatEntryMonthUTC, formatFileSize, formatLargeNumber, formatLegalDate, formatNumber, formatPercent, formatPhoneE164, formatPrice, formatPricingModel, formatRelativeTime, formatReleaseDate, formatSingularLookupInvocation, formatTicketFullTimestamp, formatTicketRelativeTime, formatTimeWithTimezone, formatUnderscoreText, formatWholeDollars, generateImageSizes, generateRandomString, getAllPlatformBaseDomains, getBaseUrl, getBestContrastColor, getConfidenceBgClass, getConfidenceBorderClass, getConfidenceColorClass, getConfidenceLabel, getConfidenceLevel, getConfidenceTextClass, getContentRefLabel, getContentRefLabelOrTitleCase, getContrastRatio, getCountryByCode, getCountryPhoneData, getCurrentPlatform, getDefaultColorForPlatform, getDefaultIconForPlatform, getDetailedTimeDifference, getDocAncestorNodeIds, getDocSourceDefaultPath, getDynamicIcon, getEmbedProxyAuth, getFirstLastInitials, getIconComponent, getInitialExpandedNodeIds, getOSIcon, getOSLabel, getOSPlatformId, getOSTypeDefinition, getPersistedProxyEmail, getPlatformAccentColor, getPlatformColor, getPlatformDescription, getPlatformDisplayName, getPlatformIcon, getPlatformIconComponent, getPlatformIconComponent as getPlatformLogo, getPlatformProductionUrl, getPlatformSlogan, getProxiedImageUrl, getReadableTextColor, getShellIcon, getShellLabel, getSlackCommunityJoinUrl, getSmallPlatformIcon, getSourceIconName, getSourceLabel, getStatusColorScheme, getTaskTypeLabel, getToolLabel, getToolTypeAliases, getTrendColors, hasGenericEmailDomain, hexToRgb, isCrossOriginUrl, isFigmaSlidesUrl, isGenericDomain, isGenericWebsiteDomain, isOSPlatform, isToday, isValidEmailDomain, isValidToolType, isWithinMinutes, makeComposeContentUrl, markdownToPlainText, nameInitials, navigateSamePageHash, normalizeDocPath, normalizeDomain, normalizeHashFragment, normalizeIconKey, normalizeOSType, normalizeToolType, normalizeToolTypeWithFallback, orderContentRefTypes, parseFaqHash, parseScrollAnchor, parseWireCommandOverride, pathToNodeId, platformColors, platformDescriptions, platformDisplayNames, platformHexColors, platformIconNames, platformIcons, platformSlogans, readLeadingDecisionFrame, releaseTypeToBadgeColor, resolveContentFetchPath, resolveReleaseCover, rgbToHex, sanitizeTitleForChat, scrollElementIntoView, serializeJsonLd, setEmbedAuthAdapter, setEmbedProxyAuth, shouldProxyImage, sortTreeChildren, splitCsvEnv, stripChatAttachmentMarkdown, stripFolderIndexFromPath, stripHtml, stripInlineMarkdown, toDocSlug, toFigmaEmbedUrl, toFigmaOriginalUrl, toGoogleSheetsEmbedUrl, toGoogleSheetsOriginalUrl, toToolLabel, transformPlatformConfigsToOptions, truncateString, urlPathLooksLikeSvg, validateAccessCode, validateAndConsumeAccessCode, validateEmailDomain, validateEmailDomainList, validatePhoneNumber };
|
|
3819
3884
|
//# sourceMappingURL=index.js.map
|
|
3820
3885
|
//# sourceMappingURL=index.js.map
|