@flamingo-stack/openframe-frontend-core 0.0.762 → 0.0.764
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/export-map.json +1 -1
- package/dist/{chunk-J4P47JHM.cjs → chunk-3FC6AKEJ.cjs} +7 -7
- package/dist/{chunk-CZ3OVWUL.cjs → chunk-5AV5R5RC.cjs} +6 -6
- package/dist/{chunk-TQPQKBBL.cjs → chunk-74ALTXXC.cjs} +34 -34
- package/dist/{chunk-DZ6BYXQF.cjs → chunk-7GUWPGB4.cjs} +9 -9
- package/dist/{chunk-PE26VSWT.cjs → chunk-BIA77I6B.cjs} +8 -2
- package/dist/{chunk-3WPWUUFU.cjs → chunk-FQWBIKF4.cjs} +17 -17
- package/dist/{chunk-NSR7K57R.cjs → chunk-IDGOMHTC.cjs} +43 -43
- package/dist/{chunk-PFXR3RF3.cjs → chunk-JD7CL2I6.cjs} +4 -4
- package/dist/{chunk-N52HFJTK.cjs → chunk-JJ2S6C5U.cjs} +36 -36
- package/dist/{chunk-AXGTRPF6.cjs → chunk-L2V7K7RR.cjs} +11 -11
- package/dist/{chunk-TGVV7STM.cjs → chunk-LNGR4DXA.cjs} +10 -10
- package/dist/{chunk-QCO32MEE.cjs → chunk-NJS7FQRW.cjs} +4 -4
- package/dist/{chunk-4NGXJA3V.cjs → chunk-PERN37KO.cjs} +4 -4
- package/dist/{chunk-DYJWZIPU.cjs → chunk-RYSNH2VY.cjs} +72 -72
- package/dist/{chunk-CEJDHCFZ.cjs → chunk-T5FRANE6.cjs} +21 -21
- package/dist/{chunk-72XMAKDA.cjs → chunk-VL6IXTAI.cjs} +174 -144
- package/dist/{chunk-TWAHPTWW.cjs → chunk-XFNWHCRM.cjs} +3 -3
- package/dist/{chunk-E4LA4BEH.cjs → chunk-ZCU2PYCW.cjs} +9 -9
- package/dist/{chunk-4VAMNI27.cjs → chunk-ZG6F5A3A.cjs} +27 -27
- package/dist/{cloud-tenants-M5SIL6QZ.cjs → cloud-tenants-N5CLYDPU.cjs} +6 -6
- package/dist/components/case-studies/index.cjs +16 -16
- package/dist/components/chat/index.cjs +4 -4
- package/dist/components/contact/index.cjs +7 -7
- package/dist/components/docs/index.cjs +10 -10
- package/dist/components/embeds/index.cjs +7 -7
- package/dist/components/faq/index.cjs +8 -8
- package/dist/components/features/index.cjs +8 -6
- package/dist/components/features/walkthrough-video.d.ts +7 -0
- package/dist/components/features/walkthrough-video.d.ts.map +1 -1
- package/dist/components/features/walkthrough-video.js +9 -1
- package/dist/components/help-center-pages/index.cjs +58 -58
- package/dist/components/index.cjs +43 -39
- package/dist/components/meeting-scheduler/index.cjs +24 -24
- package/dist/components/navigation/index.cjs +9 -9
- package/dist/components/onboarding-guides/index.cjs +8 -8
- package/dist/components/product-demo/index.cjs +8 -8
- package/dist/components/tickets/index.cjs +11 -11
- package/dist/components/ui/date-picker.d.ts.map +1 -1
- package/dist/components/ui/date-picker.js +2 -2
- package/dist/components/ui/device-card.d.ts.map +1 -1
- package/dist/components/ui/device-card.js +3 -2
- package/dist/components/ui/index.cjs +8 -6
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +1 -0
- package/dist/components/ui/super-user-banner-view.d.ts +24 -0
- package/dist/components/ui/super-user-banner-view.d.ts.map +1 -0
- package/dist/components/ui/super-user-banner-view.js +28 -0
- package/dist/{devices-TZY7RF7M.cjs → devices-557PMFDC.cjs} +7 -7
- package/dist/{embeddable-chat-HWQSP3DY.cjs → embeddable-chat-YFUCVDMV.cjs} +69 -69
- package/dist/index.cjs +14 -10
- package/dist/{knowledge-UKC2BLQP.cjs → knowledge-4JTOUDAR.cjs} +7 -7
- package/dist/{logs-MFVTQ5NN.cjs → logs-7YWAOPZ2.cjs} +14 -14
- package/dist/{policies-BETELENB.cjs → policies-W5JEPQTA.cjs} +10 -10
- package/dist/{scripts-XDT3ZAXU.cjs → scripts-FY5IPOIM.cjs} +11 -11
- package/dist/{software-update-EW5X7R2X.cjs → software-update-5BOGZOHG.cjs} +9 -9
- package/dist/{tickets-board-4PBXPSGJ.cjs → tickets-board-DXMF7IKL.cjs} +7 -7
- package/dist/utils/date-utils.d.ts +7 -2
- package/dist/utils/date-utils.d.ts.map +1 -1
- package/dist/utils/date-utils.js +8 -3
- package/dist/utils/index.cjs +7 -2
- package/package.json +1 -1
- package/src/components/features/walkthrough-video.tsx +17 -0
- package/src/components/ui/date-picker.tsx +6 -3
- package/src/components/ui/device-card.tsx +5 -6
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/super-user-banner-view.tsx +52 -0
- package/src/utils/date-utils.ts +17 -8
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunk74ALTXXCcjs = require('./chunk-74ALTXXC.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkBIA77I6Bcjs = require('./chunk-BIA77I6B.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
var _chunkSXGDKNVEcjs = require('./chunk-SXGDKNVE.cjs');
|
|
@@ -1914,8 +1914,8 @@ function makeComposeContentUrl(opts) {
|
|
|
1914
1914
|
}
|
|
1915
1915
|
if (externalUrl) return { href: externalUrl, targetPlatform: _nullishCoalesce(targetPlatform, () => ( null)) };
|
|
1916
1916
|
const claimedOwner = _nullishCoalesce(targetPlatform, () => ( primaryPlatformOf(platforms)));
|
|
1917
|
-
const owner = claimedOwner &&
|
|
1918
|
-
const origin = owner ?
|
|
1917
|
+
const owner = claimedOwner && _chunk74ALTXXCcjs.byKey.call(void 0, claimedOwner) ? claimedOwner : null;
|
|
1918
|
+
const origin = owner ? _chunk74ALTXXCcjs.getPlatformProductionUrl.call(void 0, owner) : opts.contentOrigin;
|
|
1919
1919
|
return {
|
|
1920
1920
|
href: `${origin.replace(/\/+$/, "")}/${seg}/${_optionalChain([slugHint, 'optionalAccess', _70 => _70.trim, 'call', _71 => _71()]) || identifier}`,
|
|
1921
1921
|
// Report the owner so `decideNewTab` can compare it against the current
|
|
@@ -2096,7 +2096,7 @@ function extractSections(markdown, options = {}) {
|
|
|
2096
2096
|
if (heading.level > opts.maxLevel) continue;
|
|
2097
2097
|
let title = heading.text;
|
|
2098
2098
|
if (opts.stripFormattingMarkers) {
|
|
2099
|
-
title =
|
|
2099
|
+
title = _chunk74ALTXXCcjs.stripInlineMarkdown.call(void 0, title).trim();
|
|
2100
2100
|
}
|
|
2101
2101
|
const baseId = _chunk3RYIF4OWcjs.slugifyHeadingBase.call(void 0, opts.removeEmojis ? _chunk3RYIF4OWcjs.stripHeadingEmojis.call(void 0, title) : title);
|
|
2102
2102
|
const cleanId = baseId || `section-${sections.length + 1}`;
|
|
@@ -2411,7 +2411,7 @@ function demoClockTimes(seed, options = {}) {
|
|
|
2411
2411
|
function openAskAi(source, options) {
|
|
2412
2412
|
const prompt = _optionalChain([options, 'optionalAccess', _78 => _78.prompt, 'optionalAccess', _79 => _79.trim, 'call', _80 => _80()]);
|
|
2413
2413
|
const detail = prompt ? { source: _nullishCoalesce(source, () => ( "")), prompt } : { source: _nullishCoalesce(source, () => ( "")) };
|
|
2414
|
-
window.dispatchEvent(new CustomEvent(
|
|
2414
|
+
window.dispatchEvent(new CustomEvent(_chunk74ALTXXCcjs.ASK_AI_OPEN_EVENT, { detail }));
|
|
2415
2415
|
}
|
|
2416
2416
|
function MingoAiButton({
|
|
2417
2417
|
source,
|
|
@@ -2499,7 +2499,7 @@ function MingoAiButton({
|
|
|
2499
2499
|
children: icon
|
|
2500
2500
|
}
|
|
2501
2501
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2502
|
-
|
|
2502
|
+
_chunkBIA77I6Bcjs.AgentMark,
|
|
2503
2503
|
{
|
|
2504
2504
|
agent: "mingo",
|
|
2505
2505
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "relative shrink-0 text-ods-text-primary", field ? "size-6" : "size-5")
|
|
@@ -2537,7 +2537,7 @@ function MingoAiButton({
|
|
|
2537
2537
|
// src/components/chat/ask-prompts.tsx
|
|
2538
2538
|
|
|
2539
2539
|
function AssistantGlyph({ icon, className }) {
|
|
2540
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "inline-flex shrink-0 items-center justify-center overflow-hidden rounded-full", className), children: _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2540
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "inline-flex shrink-0 items-center justify-center overflow-hidden rounded-full", className), children: _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBIA77I6Bcjs.AgentMark, { agent: "mingo", className: "size-full" }))) });
|
|
2541
2541
|
}
|
|
2542
2542
|
var DEFAULT_LOADING_SLOTS = 2;
|
|
2543
2543
|
var slotCount = (count, loading, prompts) => _nullishCoalesce(count, () => ( (loading ? DEFAULT_LOADING_SLOTS : prompts.length)));
|
|
@@ -2557,13 +2557,13 @@ function QuestionChips({
|
|
|
2557
2557
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: count }, (_, slot) => {
|
|
2558
2558
|
const prompt = loading ? void 0 : prompts[slot];
|
|
2559
2559
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _nullishCoalesce(slotClassName, () => ( CHIP_SLOT_CLASS)), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2560
|
-
|
|
2560
|
+
_chunk74ALTXXCcjs.QuickActionChipSkeleton,
|
|
2561
2561
|
{
|
|
2562
2562
|
variant: "question",
|
|
2563
2563
|
labelCh: SKELETON_LABEL_CH[slot % SKELETON_LABEL_CH.length]
|
|
2564
2564
|
}
|
|
2565
2565
|
) : prompt ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2566
|
-
|
|
2566
|
+
_chunk74ALTXXCcjs.QuickActionChipButton,
|
|
2567
2567
|
{
|
|
2568
2568
|
variant: "question",
|
|
2569
2569
|
label: prompt.label,
|
|
@@ -2595,7 +2595,7 @@ function AskPrompts({
|
|
|
2595
2595
|
if (!loading && prompts.length === 0) return null;
|
|
2596
2596
|
const end = align === "end";
|
|
2597
2597
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2598
|
-
|
|
2598
|
+
_chunk74ALTXXCcjs.ScrollShadow,
|
|
2599
2599
|
{
|
|
2600
2600
|
axis: "horizontal",
|
|
2601
2601
|
color: fadeColor,
|
|
@@ -2899,7 +2899,7 @@ function QuickActionMarquee({
|
|
|
2899
2899
|
);
|
|
2900
2900
|
if (items.length === 0) return null;
|
|
2901
2901
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2902
|
-
|
|
2902
|
+
_chunk74ALTXXCcjs.QuickActionWall,
|
|
2903
2903
|
{
|
|
2904
2904
|
chips,
|
|
2905
2905
|
mode,
|
|
@@ -2948,13 +2948,13 @@ var ChatTicketItem = _react.forwardRef.call(void 0,
|
|
|
2948
2948
|
);
|
|
2949
2949
|
}
|
|
2950
2950
|
if (!ticket) return null;
|
|
2951
|
-
const statusTagProps =
|
|
2951
|
+
const statusTagProps = _chunkBIA77I6Bcjs.resolveStatusTagProps.call(void 0, {
|
|
2952
2952
|
status: ticket.status,
|
|
2953
2953
|
statusKind: ticket.statusKind,
|
|
2954
2954
|
statusName: ticket.statusLabel,
|
|
2955
2955
|
statusColor: ticket.statusColor
|
|
2956
2956
|
});
|
|
2957
|
-
const isResolved = ticket.statusKind === "RESOLVED" ||
|
|
2957
|
+
const isResolved = ticket.statusKind === "RESOLVED" || _chunkBIA77I6Bcjs.resolveTicketStatus.call(void 0, ticket.status) === "RESOLVED";
|
|
2958
2958
|
const composedSubtitle = [ticket.ticketNumber, ticket.category, ticket.timeAgo].filter(Boolean).join(" \u2022 ");
|
|
2959
2959
|
const subtitle = _nullishCoalesce(ticket.subtitle, () => ( (ticket.unread ? UNREAD_NOTICE : composedSubtitle)));
|
|
2960
2960
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -3005,7 +3005,7 @@ var ChatTicketItem = _react.forwardRef.call(void 0,
|
|
|
3005
3005
|
className: "hidden shrink-0 sm:inline-flex"
|
|
3006
3006
|
}
|
|
3007
3007
|
),
|
|
3008
|
-
(statusTagProps.status || statusTagProps.label) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3008
|
+
(statusTagProps.status || statusTagProps.label) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBIA77I6Bcjs.TicketStatusTag, { ...statusTagProps }),
|
|
3009
3009
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3010
3010
|
"div",
|
|
3011
3011
|
{
|
|
@@ -3033,7 +3033,7 @@ ChatTicketItem.displayName = "ChatTicketItem";
|
|
|
3033
3033
|
|
|
3034
3034
|
var ChatTicketList = _react.forwardRef.call(void 0,
|
|
3035
3035
|
({ className, tickets, onTicketClick, isLoading = false, skeletonCount = 5, ...props }, ref) => {
|
|
3036
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
3036
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunk74ALTXXCcjs.useScrollFade.call(void 0, );
|
|
3037
3037
|
if (isLoading) {
|
|
3038
3038
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, className: _chunk3ATAYP36cjs.cn.call(void 0, "flex min-h-0 flex-col gap-2", className), ...props, children: [
|
|
3039
3039
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "shrink-0 text-ods-text-secondary text-h5", children: "Your Chats:" }),
|
|
@@ -3053,8 +3053,8 @@ var ChatTicketList = _react.forwardRef.call(void 0,
|
|
|
3053
3053
|
),
|
|
3054
3054
|
children: [
|
|
3055
3055
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: scrollRef, className: "h-full overflow-y-auto overscroll-contain", onScroll: updateFade, children: tickets.map((ticket) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatTicketItem, { ticket, onClick: onTicketClick }, ticket.id)) }),
|
|
3056
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3057
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3056
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk74ALTXXCcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
3057
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk74ALTXXCcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
3058
3058
|
]
|
|
3059
3059
|
}
|
|
3060
3060
|
)
|
|
@@ -4986,7 +4986,7 @@ function Section({ title, description, children }) {
|
|
|
4986
4986
|
] });
|
|
4987
4987
|
}
|
|
4988
4988
|
function ProxyCredentialsPanel({ description }) {
|
|
4989
|
-
const hydrated =
|
|
4989
|
+
const hydrated = _chunk74ALTXXCcjs.useIsHydrated.call(void 0, );
|
|
4990
4990
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4991
4991
|
ProxyCredentialsForm,
|
|
4992
4992
|
{
|
|
@@ -5150,10 +5150,10 @@ function ProxyCredentialsForm({ description, saved }) {
|
|
|
5150
5150
|
|
|
5151
5151
|
// src/components/chat/index.ts
|
|
5152
5152
|
var LoadedEmbeddableChat = _react.lazy.call(void 0,
|
|
5153
|
-
() => Promise.resolve().then(() => _interopRequireWildcard(require("./embeddable-chat-
|
|
5153
|
+
() => Promise.resolve().then(() => _interopRequireWildcard(require("./embeddable-chat-YFUCVDMV.cjs"))).then((module) => ({ default: module.EmbeddableChat }))
|
|
5154
5154
|
);
|
|
5155
5155
|
var EmbeddableChat = _react.forwardRef.call(void 0, (props, ref) => {
|
|
5156
|
-
_react.useEffect.call(void 0, () =>
|
|
5156
|
+
_react.useEffect.call(void 0, () => _chunk74ALTXXCcjs.holdAskAiOpens.call(void 0, ), []);
|
|
5157
5157
|
return _react.createElement.call(void 0, _react.Suspense, { fallback: null }, _react.createElement.call(void 0, LoadedEmbeddableChat, { ...props, ref }));
|
|
5158
5158
|
});
|
|
5159
5159
|
EmbeddableChat.displayName = "EmbeddableChat";
|