@flamingo-stack/openframe-frontend-core 0.0.731 → 0.0.733
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-RAHRDJBP.cjs → chunk-3HPB4H4C.cjs} +4 -4
- package/dist/{chunk-2UNQJVYN.cjs → chunk-3KGICRH7.cjs} +1457 -1187
- package/dist/{chunk-A4HNF4MP.cjs → chunk-3UTPZW36.cjs} +89 -89
- package/dist/{chunk-GID62YEN.cjs → chunk-AAFW4STC.cjs} +3 -3
- package/dist/{chunk-XDBHGWFH.cjs → chunk-ATMBJBOI.cjs} +16 -16
- package/dist/{chunk-YDGBRI3Y.cjs → chunk-AV5533DH.cjs} +15 -15
- package/dist/{chunk-BFHLGEJK.cjs → chunk-BP6R5WDW.cjs} +63 -60
- package/dist/{chunk-CLILWI6O.cjs → chunk-CJVAA7KL.cjs} +32 -32
- package/dist/{chunk-YJFN2W7A.cjs → chunk-DUVOQHQI.cjs} +7 -7
- package/dist/{chunk-E3N24573.cjs → chunk-DUXLZPMJ.cjs} +9 -9
- package/dist/{chunk-TH4N726A.cjs → chunk-E26I4XH6.cjs} +17 -17
- package/dist/{chunk-Y4QRK3CB.cjs → chunk-EMG3T55N.cjs} +7 -7
- package/dist/{chunk-JK75ZZP3.cjs → chunk-EQORT7NK.cjs} +59 -59
- package/dist/chunk-FCGLSWKR.cjs +417 -0
- package/dist/{chunk-MANNIJ42.cjs → chunk-FICJS5OA.cjs} +6 -0
- package/dist/{chunk-QP6QS3YU.cjs → chunk-FNRMDDVN.cjs} +48 -50
- package/dist/{chunk-KLXHCNDC.cjs → chunk-FTTLBMHU.cjs} +3 -3
- package/dist/{chunk-JPZ4Y6X3.cjs → chunk-GB3CHAW7.cjs} +93 -93
- package/dist/{chunk-7DUXR4HL.cjs → chunk-GVTDVS5U.cjs} +3 -3
- package/dist/{chunk-ZV6473Z4.cjs → chunk-HSWHOCZ3.cjs} +20 -20
- package/dist/{chunk-53XZ6MJ5.cjs → chunk-IC4FT3A6.cjs} +28 -28
- package/dist/{chunk-6V4GEE55.cjs → chunk-J7JKPTGO.cjs} +12 -12
- package/dist/{chunk-FKKUQK4C.cjs → chunk-L4ZNR5V7.cjs} +43 -39
- package/dist/{chunk-NYY25425.cjs → chunk-MYBTNOS6.cjs} +2 -2
- package/dist/chunk-NTJE6SM6.cjs +28 -0
- package/dist/{chunk-RBOIGJYF.cjs → chunk-P3R23TOE.cjs} +35 -35
- package/dist/chunk-PX7FY655.cjs +114 -0
- package/dist/{chunk-YUXRIR45.cjs → chunk-SA7LDEVJ.cjs} +98 -50
- package/dist/{chunk-32ENYVFA.cjs → chunk-TIMCHP4X.cjs} +42 -42
- package/dist/{chunk-3SWLL4IM.cjs → chunk-U4T5NLZD.cjs} +8 -8
- package/dist/{chunk-HI7EFAFQ.cjs → chunk-XDWY6HAW.cjs} +28 -28
- package/dist/{chunk-25H2SZH7.cjs → chunk-XY632BCH.cjs} +4 -4
- package/dist/{chunk-HY2KTQSL.cjs → chunk-YIXKH2JO.cjs} +236 -236
- package/dist/{chunk-4YPV4OI4.cjs → chunk-ZBNA6TCW.cjs} +82 -82
- package/dist/{chunk-HLIJ3U2T.cjs → chunk-ZJNYWNCB.cjs} +23 -21
- package/dist/{chunk-HEOD765R.cjs → chunk-ZRYKDN2J.cjs} +32 -379
- package/dist/{cloud-tenants-SC4FNAC2.cjs → cloud-tenants-3GOGR3EN.cjs} +22 -22
- package/dist/components/agent-identity.d.ts +8 -0
- package/dist/components/agent-identity.d.ts.map +1 -1
- package/dist/components/agent-identity.js +13 -1
- package/dist/components/case-studies/index.cjs +35 -35
- package/dist/components/chat/embeddable-chat.d.ts +16 -0
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.js +5 -2
- package/dist/components/chat/index.cjs +16 -16
- package/dist/components/chat/utils/icon-library.d.ts.map +1 -1
- package/dist/components/chat/utils/icon-library.js +6 -0
- package/dist/components/contact/index.cjs +23 -23
- package/dist/components/docs/index.cjs +26 -26
- package/dist/components/embeds/index.cjs +23 -23
- package/dist/components/faq/index.cjs +23 -23
- package/dist/components/features/index.cjs +22 -22
- package/dist/components/help-center-pages/index.cjs +138 -138
- package/dist/components/index.cjs +89 -82
- package/dist/components/meeting-scheduler/index.cjs +67 -67
- package/dist/components/navigation/index.cjs +25 -25
- package/dist/components/onboarding-guides/index.cjs +25 -25
- package/dist/components/product-demo/index.cjs +8 -8
- package/dist/components/product-demo/screens/remote-desktop-picture.d.ts.map +1 -1
- package/dist/components/product-demo/screens/remote-desktop-picture.js +2 -1
- package/dist/components/related-content/index.cjs +10 -10
- package/dist/components/tickets/index.cjs +26 -26
- package/dist/components/ui/device-wallpaper.d.ts +7 -0
- package/dist/components/ui/device-wallpaper.d.ts.map +1 -0
- package/dist/components/ui/device-wallpaper.js +5 -0
- package/dist/components/ui/feature-list.d.ts +9 -4
- package/dist/components/ui/feature-list.d.ts.map +1 -1
- package/dist/components/ui/feature-list.js +26 -35
- package/dist/components/ui/index.cjs +28 -22
- package/dist/components/ui/index.d.ts +3 -1
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +3 -1
- package/dist/components/ui/notification-stack.d.ts +33 -0
- package/dist/components/ui/notification-stack.d.ts.map +1 -0
- package/dist/components/ui/notification-stack.js +78 -0
- package/dist/components/ui/numbered-step.d.ts +29 -0
- package/dist/components/ui/numbered-step.d.ts.map +1 -0
- package/dist/components/ui/numbered-step.js +57 -0
- package/dist/components/ui/phone-frame.d.ts +14 -9
- package/dist/components/ui/phone-frame.d.ts.map +1 -1
- package/dist/components/ui/phone-frame.js +50 -6
- package/dist/components/ui/phone-glyphs/lock-camera-glyph.d.ts +5 -0
- package/dist/components/ui/phone-glyphs/lock-camera-glyph.d.ts.map +1 -0
- package/dist/components/ui/phone-glyphs/lock-camera-glyph.js +14 -0
- package/dist/components/ui/phone-glyphs/lock-flashlight-glyph.d.ts +5 -0
- package/dist/components/ui/phone-glyphs/lock-flashlight-glyph.d.ts.map +1 -0
- package/dist/components/ui/phone-glyphs/lock-flashlight-glyph.js +14 -0
- package/dist/components/ui/phone-glyphs/status-bar-glyphs.d.ts +5 -0
- package/dist/components/ui/phone-glyphs/status-bar-glyphs.d.ts.map +1 -0
- package/dist/components/ui/phone-glyphs/status-bar-glyphs.js +68 -0
- package/dist/components/ui/searchable-select.d.ts +29 -3
- package/dist/components/ui/searchable-select.d.ts.map +1 -1
- package/dist/components/ui/searchable-select.js +101 -45
- package/dist/components/ui/snap-carousel.d.ts +5 -8
- package/dist/components/ui/snap-carousel.d.ts.map +1 -1
- package/dist/components/ui/snap-carousel.js +2 -27
- package/dist/components/ui/tab-navigation.d.ts +8 -1
- package/dist/components/ui/tab-navigation.d.ts.map +1 -1
- package/dist/components/ui/tab-navigation.js +30 -20
- package/dist/{devices-7MHSJNXS.cjs → devices-POZXTP7X.cjs} +23 -23
- package/dist/{embeddable-chat-VPIG3F7E.cjs → embeddable-chat-I3Y5GCCR.cjs} +96 -93
- package/dist/hooks/index.cjs +9 -9
- package/dist/hooks/ui/use-autoplay.d.ts +50 -13
- package/dist/hooks/ui/use-autoplay.d.ts.map +1 -1
- package/dist/hooks/ui/use-autoplay.js +76 -13
- package/dist/hooks/ui/use-in-view.d.ts +8 -0
- package/dist/hooks/ui/use-in-view.d.ts.map +1 -1
- package/dist/hooks/ui/use-in-view.js +21 -36
- package/dist/hooks/use-agent-identities.d.ts +6 -0
- package/dist/hooks/use-agent-identities.d.ts.map +1 -1
- package/dist/hooks/use-scenario-player.d.ts +26 -9
- package/dist/hooks/use-scenario-player.d.ts.map +1 -1
- package/dist/hooks/use-scenario-player.js +12 -9
- package/dist/index.cjs +58 -51
- package/dist/{knowledge-4DREGSOZ.cjs → knowledge-AP34IMXN.cjs} +23 -23
- package/dist/{logs-BWXNT2KP.cjs → logs-CEVMIOPW.cjs} +30 -30
- package/dist/{policies-MGFUI23M.cjs → policies-AMBMRCGB.cjs} +26 -26
- package/dist/{remote-session-O6QGXV2N.cjs → remote-session-Z4YZFG5E.cjs} +10 -9
- package/dist/{software-update-7LF7XEYC.cjs → software-update-Z3MWMSHI.cjs} +26 -26
- package/dist/{tickets-board-KNXK747O.cjs → tickets-board-JOSYLOS7.cjs} +13 -13
- package/package.json +1 -1
- package/src/components/agent-identity.tsx +20 -1
- package/src/components/chat/embeddable-chat.tsx +29 -2
- package/src/components/chat/utils/icon-library.tsx +7 -0
- package/src/components/product-demo/screens/remote-desktop-picture.tsx +2 -1
- package/src/components/ui/device-wallpaper.ts +7 -0
- package/src/components/ui/feature-list.tsx +24 -30
- package/src/components/ui/index.ts +3 -1
- package/src/components/ui/notification-stack.tsx +133 -0
- package/src/components/ui/numbered-step.tsx +81 -0
- package/src/components/ui/phone-frame.tsx +83 -19
- package/src/components/ui/phone-glyphs/lock-camera-glyph.tsx +14 -0
- package/src/components/ui/phone-glyphs/lock-flashlight-glyph.tsx +14 -0
- package/src/components/ui/phone-glyphs/status-bar-glyphs.tsx +45 -0
- package/src/components/ui/searchable-select.tsx +124 -32
- package/src/components/ui/snap-carousel.tsx +6 -38
- package/src/components/ui/tab-navigation.tsx +49 -21
- package/src/hooks/ui/use-autoplay.ts +144 -27
- package/src/hooks/ui/use-in-view.ts +31 -38
- package/src/hooks/use-agent-identities.ts +6 -0
- package/src/hooks/use-scenario-player.ts +44 -20
- package/dist/chunk-2WXLQ5R5.cjs +0 -99
- package/dist/chunk-BE2WAMG5.cjs +0 -54
- package/dist/chunk-LCTDHLDL.cjs +0 -43
- package/dist/components/ui/playback-toggle.d.ts +0 -24
- package/dist/components/ui/playback-toggle.d.ts.map +0 -1
- package/dist/components/ui/playback-toggle.js +0 -32
- package/src/components/ui/playback-toggle.tsx +0 -53
|
@@ -10,7 +10,7 @@ var _chunkA6P6DHEZcjs = require('./chunk-A6P6DHEZ.cjs');
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkDUXLZPMJcjs = require('./chunk-DUXLZPMJ.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
@@ -102,14 +102,14 @@ var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
|
102
102
|
|
|
103
103
|
|
|
104
104
|
|
|
105
|
-
var
|
|
105
|
+
var _chunkFTTLBMHUcjs = require('./chunk-FTTLBMHU.cjs');
|
|
106
106
|
|
|
107
107
|
|
|
108
108
|
var _chunkRUHKTWGBcjs = require('./chunk-RUHKTWGB.cjs');
|
|
109
109
|
|
|
110
110
|
|
|
111
111
|
|
|
112
|
-
var
|
|
112
|
+
var _chunkFICJS5OAcjs = require('./chunk-FICJS5OA.cjs');
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
var _chunkUR4K2NSLcjs = require('./chunk-UR4K2NSL.cjs');
|
|
@@ -411,10 +411,10 @@ function TruncateText({
|
|
|
411
411
|
as = "div"
|
|
412
412
|
}) {
|
|
413
413
|
const isMultiLine = lines > 1;
|
|
414
|
-
const { ref, isTruncated } =
|
|
414
|
+
const { ref, isTruncated } = _chunkFICJS5OAcjs.useIsTruncated.call(void 0, children, { multiline: isMultiLine });
|
|
415
415
|
const clampClass = isMultiLine ? LINE_CLAMP_CLASS[lines] : "truncate block";
|
|
416
416
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
417
|
-
|
|
417
|
+
_chunkFTTLBMHUcjs.FloatingTooltip,
|
|
418
418
|
{
|
|
419
419
|
content: _nullishCoalesce(tooltip, () => ( children)),
|
|
420
420
|
side,
|
|
@@ -741,7 +741,7 @@ function AutocompleteInner(props, ref) {
|
|
|
741
741
|
),
|
|
742
742
|
children: [
|
|
743
743
|
multiple && visibleTags.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
744
|
-
|
|
744
|
+
_chunkFTTLBMHUcjs.Tag,
|
|
745
745
|
{
|
|
746
746
|
variant: "outline",
|
|
747
747
|
className: wrapTags ? "max-w-full" : void 0,
|
|
@@ -966,7 +966,7 @@ function AutocompleteInner(props, ref) {
|
|
|
966
966
|
"aria-hidden": "true",
|
|
967
967
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
968
968
|
children: selectedOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
969
|
-
|
|
969
|
+
_chunkFTTLBMHUcjs.Tag,
|
|
970
970
|
{
|
|
971
971
|
variant: "outline",
|
|
972
972
|
labelClassName: "max-w-[90px] truncate",
|
|
@@ -1446,11 +1446,11 @@ function usePageActionsBottomPadding(variant) {
|
|
|
1446
1446
|
|
|
1447
1447
|
var ENTITY_IMAGE_SIZE = "size-[52px] content-md:size-[60px]";
|
|
1448
1448
|
function EntityImage({ src, alt, fallbackText, sizeClassName, className }) {
|
|
1449
|
-
const resolvedSrc =
|
|
1449
|
+
const resolvedSrc = _chunkFICJS5OAcjs.useAuthedImageSrc.call(void 0, src);
|
|
1450
1450
|
const [failedSrc, setFailedSrc] = _react2.default.useState(null);
|
|
1451
1451
|
const imageFailed = resolvedSrc !== void 0 && failedSrc === resolvedSrc;
|
|
1452
1452
|
const showFallback = imageFailed || !resolvedSrc;
|
|
1453
|
-
const initials =
|
|
1453
|
+
const initials = _chunkFTTLBMHUcjs.personInitials.call(void 0, _nullishCoalesce(fallbackText, () => ( alt)));
|
|
1454
1454
|
if (showFallback) {
|
|
1455
1455
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1456
1456
|
"div",
|
|
@@ -1523,8 +1523,8 @@ function TitleBlock({
|
|
|
1523
1523
|
const titleClass = titleSize === "h1" ? "text-h1" : "text-h2";
|
|
1524
1524
|
const titleOverflowClass = titleWrap ? "break-words" : "truncate";
|
|
1525
1525
|
const skeletonSize = TITLE_SKELETON_SIZE[titleSize];
|
|
1526
|
-
const { ref: titleRef, isTruncated: titleTruncated } =
|
|
1527
|
-
const { ref: subtitleRef, isTruncated: subtitleTruncated } =
|
|
1526
|
+
const { ref: titleRef, isTruncated: titleTruncated } = _chunkFICJS5OAcjs.useIsTruncated.call(void 0, loading ? null : title);
|
|
1527
|
+
const { ref: subtitleRef, isTruncated: subtitleTruncated } = _chunkFICJS5OAcjs.useIsTruncated.call(void 0,
|
|
1528
1528
|
loading ? null : subtitle
|
|
1529
1529
|
);
|
|
1530
1530
|
const titleNode = loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TitleTextSkeleton, { widthClass: skeletonSize.width, heightClass: skeletonSize.height }) : title;
|
|
@@ -1561,7 +1561,7 @@ function TitleBlock({
|
|
|
1561
1561
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
1562
1562
|
(loading || title) && (titleAdornment ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-m)]", children: [
|
|
1563
1563
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1564
|
-
|
|
1564
|
+
_chunkFTTLBMHUcjs.FloatingTooltip,
|
|
1565
1565
|
{
|
|
1566
1566
|
content: title,
|
|
1567
1567
|
side: "bottom",
|
|
@@ -1578,12 +1578,12 @@ function TitleBlock({
|
|
|
1578
1578
|
}
|
|
1579
1579
|
),
|
|
1580
1580
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: titleAdornment })
|
|
1581
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1581
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFTTLBMHUcjs.FloatingTooltip, { content: title, side: "bottom", disabled: !titleTruncated, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOF336YWGcjs.PageTitle, { ref: titleRef, className: _chunk3ATAYP36cjs.cn.call(void 0, titleClass, "text-ods-text-primary", titleOverflowClass), children: titleNode }) })),
|
|
1582
1582
|
hasSubtitleRow && /* The NBSP is a pure spacer, reached only in `'always'` mode: an
|
|
1583
1583
|
empty `p` collapses to zero height (its only content would be
|
|
1584
1584
|
collapsible whitespace), which is exactly the shift that mode
|
|
1585
1585
|
exists to prevent. Hidden from AT — it carries no meaning. */
|
|
1586
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1586
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFTTLBMHUcjs.FloatingTooltip, { content: subtitle, side: "bottom", disabled: !subtitleTruncated, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1587
1587
|
"p",
|
|
1588
1588
|
{
|
|
1589
1589
|
ref: subtitleRef,
|
|
@@ -1594,7 +1594,7 @@ function TitleBlock({
|
|
|
1594
1594
|
) })
|
|
1595
1595
|
] })
|
|
1596
1596
|
] }) : title && (titleAdornment ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-m)]", children: [
|
|
1597
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1597
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFTTLBMHUcjs.FloatingTooltip, { content: title, side: "bottom", disabled: !titleTruncated, triggerClassName: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1598
1598
|
_chunkOF336YWGcjs.PageTitle,
|
|
1599
1599
|
{
|
|
1600
1600
|
ref: titleRef,
|
|
@@ -1720,7 +1720,7 @@ function RemoteSessionViewers({ viewers, max = 4, className }) {
|
|
|
1720
1720
|
children: [
|
|
1721
1721
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center", children: [
|
|
1722
1722
|
faces.map((viewer, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1723
|
-
|
|
1723
|
+
_chunkFTTLBMHUcjs.SquareAvatar,
|
|
1724
1724
|
{
|
|
1725
1725
|
variant: "round",
|
|
1726
1726
|
sizePx: 32,
|
|
@@ -1754,7 +1754,7 @@ function RemoteSessionViewers({ viewers, max = 4, className }) {
|
|
|
1754
1754
|
),
|
|
1755
1755
|
children: [
|
|
1756
1756
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1757
|
-
|
|
1757
|
+
_chunkFTTLBMHUcjs.SquareAvatar,
|
|
1758
1758
|
{
|
|
1759
1759
|
variant: "round",
|
|
1760
1760
|
sizePx: 24,
|
|
@@ -1800,7 +1800,7 @@ function RemoteSessionScope({ children, className }) {
|
|
|
1800
1800
|
function RemoteSessionOrgLogo({ name, logoUrl, sizePx, className }) {
|
|
1801
1801
|
if (logoUrl) {
|
|
1802
1802
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1803
|
-
|
|
1803
|
+
_chunkFTTLBMHUcjs.SquareAvatar,
|
|
1804
1804
|
{
|
|
1805
1805
|
variant: "square",
|
|
1806
1806
|
fit: "contain",
|
|
@@ -1910,7 +1910,7 @@ function RemoteAccessRequestCard({
|
|
|
1910
1910
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, RemoteSessionOrgLogo, { name: organizationName, logoUrl: party.organizationLogoUrl, sizePx: 64 }),
|
|
1911
1911
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
1912
1912
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full truncate text-ods-text-primary text-h3", children: organizationName }),
|
|
1913
|
-
siteUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full truncate text-ods-text-secondary text-h4", children:
|
|
1913
|
+
siteUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full truncate text-ods-text-secondary text-h4", children: _chunkFTTLBMHUcjs.formatUrlForDisplay.call(void 0, siteUrl, { keepWww: true }) })
|
|
1914
1914
|
] }),
|
|
1915
1915
|
openableSite && onOpenSite && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAZL332TKcjs.Button, { variant: "outline", size: "icon", "aria-label": "Open website", onClick: () => onOpenSite(openableSite), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEDVT7OAScjs.ExternalLinkIcon, { size: 24, color: "currentColor" }) })
|
|
1916
1916
|
] }),
|
|
@@ -2029,7 +2029,7 @@ function RemoteSessionSummary({
|
|
|
2029
2029
|
...dragHandlers,
|
|
2030
2030
|
children: [
|
|
2031
2031
|
technician ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2032
|
-
|
|
2032
|
+
_chunkFTTLBMHUcjs.SquareAvatar,
|
|
2033
2033
|
{
|
|
2034
2034
|
variant: "round",
|
|
2035
2035
|
sizePx: 48,
|
|
@@ -2085,7 +2085,7 @@ var RemoteSessionMinimizedChip = _react.forwardRef.call(void 0,
|
|
|
2085
2085
|
...dragHandlers,
|
|
2086
2086
|
children: [
|
|
2087
2087
|
technician ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2088
|
-
|
|
2088
|
+
_chunkFTTLBMHUcjs.SquareAvatar,
|
|
2089
2089
|
{
|
|
2090
2090
|
sizePx: 48,
|
|
2091
2091
|
src: _nullishCoalesce(party.technicianAvatarUrl, () => ( void 0)),
|
|
@@ -2235,7 +2235,7 @@ function RemoteSessionChatMessageRow({
|
|
|
2235
2235
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
2236
2236
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[var(--spacing-system-xs)]", children: [
|
|
2237
2237
|
isTechnician && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2238
|
-
|
|
2238
|
+
_chunkFTTLBMHUcjs.SquareAvatar,
|
|
2239
2239
|
{
|
|
2240
2240
|
variant: "round",
|
|
2241
2241
|
sizePx: 16,
|
|
@@ -2270,7 +2270,7 @@ function RemoteDesktopChatMessageRow({
|
|
|
2270
2270
|
}) {
|
|
2271
2271
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-[var(--spacing-system-xxs)]", children: [
|
|
2272
2272
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
2273
|
-
isTechnician && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2273
|
+
isTechnician && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFTTLBMHUcjs.SquareAvatar, { variant: "round", sizePx: 24, src: avatarUrl, alt: authorName, className: "shrink-0" }),
|
|
2274
2274
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2275
2275
|
"span",
|
|
2276
2276
|
{
|
|
@@ -2281,7 +2281,7 @@ function RemoteDesktopChatMessageRow({
|
|
|
2281
2281
|
children: authorName
|
|
2282
2282
|
}
|
|
2283
2283
|
),
|
|
2284
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { suppressHydrationWarning: true, className: "shrink-0 text-ods-text-secondary text-h6", children:
|
|
2284
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { suppressHydrationWarning: true, className: "shrink-0 text-ods-text-secondary text-h6", children: _chunkDUXLZPMJcjs.formatTime.call(void 0, sentAt) })
|
|
2285
2285
|
] }),
|
|
2286
2286
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "whitespace-pre-wrap text-ods-text-primary text-h4", children: body })
|
|
2287
2287
|
] });
|
|
@@ -2326,7 +2326,7 @@ function RemoteDesktopChatPanel({
|
|
|
2326
2326
|
message.id
|
|
2327
2327
|
)) }) }),
|
|
2328
2328
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2329
|
-
|
|
2329
|
+
_chunkDUXLZPMJcjs.ChatInput,
|
|
2330
2330
|
{
|
|
2331
2331
|
placeholder: "Enter your Message...",
|
|
2332
2332
|
onSend,
|
|
@@ -2690,9 +2690,9 @@ function KeepRecordingModal({
|
|
|
2690
2690
|
if (!canKeep || isPending) return;
|
|
2691
2691
|
onConfirm({ reason, description: reason === "OTHER" ? trimmed : null });
|
|
2692
2692
|
};
|
|
2693
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2693
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDUXLZPMJcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
2694
2694
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
2695
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2695
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDUXLZPMJcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDUXLZPMJcjs.ModalTitle, { children: "Keep this recording" }) }),
|
|
2696
2696
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2697
2697
|
KeepNotice,
|
|
2698
2698
|
{
|
|
@@ -2730,7 +2730,7 @@ function KeepRecordingModal({
|
|
|
2730
2730
|
}
|
|
2731
2731
|
)
|
|
2732
2732
|
] }),
|
|
2733
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2733
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDUXLZPMJcjs.ModalFooter, { children: [
|
|
2734
2734
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAZL332TKcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
2735
2735
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
2736
2736
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -2760,9 +2760,9 @@ function ReleaseKeepingModal({
|
|
|
2760
2760
|
isPending = false,
|
|
2761
2761
|
onConfirm
|
|
2762
2762
|
}) {
|
|
2763
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2763
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDUXLZPMJcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
2764
2764
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
2765
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2765
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDUXLZPMJcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDUXLZPMJcjs.ModalTitle, { children: "Release Keeping" }) }),
|
|
2766
2766
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-xsf)] text-ods-text-primary text-h4", children: [
|
|
2767
2767
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { children: [
|
|
2768
2768
|
"Kept by ",
|
|
@@ -2779,7 +2779,7 @@ function ReleaseKeepingModal({
|
|
|
2779
2779
|
] })
|
|
2780
2780
|
] }),
|
|
2781
2781
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, KeepNotice, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkILWSAV64cjs.HourglassIcon, { size: 24, color: "currentColor" }), title: `It will expire on ${expiresOn}`, children: dueOn ? `It was due to expire on ${dueOn}. Releasing gives it 3 days' grace, and it shows amber until then. Whoever placed the Keep is reminded the day before it goes. Nothing is deleted now.` : "Nothing is deleted now." }),
|
|
2782
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2782
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDUXLZPMJcjs.ModalFooter, { children: [
|
|
2783
2783
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAZL332TKcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
2784
2784
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
2785
2785
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAZL332TKcjs.Button, { type: "button", variant: "accent", onClick: onConfirm, loading: isPending, className: "flex-1", children: "Release Keeping" })
|
|
@@ -2821,9 +2821,9 @@ function AssignTicketModal({
|
|
|
2821
2821
|
if (ticketIds.length === 0 || isPending) return;
|
|
2822
2822
|
onConfirm(ticketIds);
|
|
2823
2823
|
};
|
|
2824
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2824
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDUXLZPMJcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
2825
2825
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
2826
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2826
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDUXLZPMJcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDUXLZPMJcjs.ModalTitle, { children: "Assign Ticket" }) }),
|
|
2827
2827
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2828
2828
|
Autocomplete,
|
|
2829
2829
|
{
|
|
@@ -2842,7 +2842,7 @@ function AssignTicketModal({
|
|
|
2842
2842
|
disabled: isPending
|
|
2843
2843
|
}
|
|
2844
2844
|
),
|
|
2845
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2845
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDUXLZPMJcjs.ModalFooter, { children: [
|
|
2846
2846
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAZL332TKcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
2847
2847
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
2848
2848
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -2861,11 +2861,11 @@ function AssignTicketModal({
|
|
|
2861
2861
|
] });
|
|
2862
2862
|
}
|
|
2863
2863
|
function UnassignTicketModal({ isOpen, onClose, isPending = false, onConfirm }) {
|
|
2864
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2864
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDUXLZPMJcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
2865
2865
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
2866
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2866
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDUXLZPMJcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDUXLZPMJcjs.ModalTitle, { children: "Unassign Ticket" }) }),
|
|
2867
2867
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full text-ods-text-primary text-h4", children: "This Ticket will no longer be linked to this remote session. The ticket itself stays as it is, and you can assign it again anytime." }),
|
|
2868
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2868
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDUXLZPMJcjs.ModalFooter, { children: [
|
|
2869
2869
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAZL332TKcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
2870
2870
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
2871
2871
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAZL332TKcjs.Button, { type: "button", variant: "destructive", onClick: onConfirm, loading: isPending, className: "flex-1", children: "Unassign" })
|
|
@@ -2945,7 +2945,7 @@ var STATUS_TAG = {
|
|
|
2945
2945
|
function RemoteSessionStatusTag({ status, className }) {
|
|
2946
2946
|
const { label, variant } = STATUS_TAG[status];
|
|
2947
2947
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2948
|
-
|
|
2948
|
+
_chunkFTTLBMHUcjs.Tag,
|
|
2949
2949
|
{
|
|
2950
2950
|
label,
|
|
2951
2951
|
variant,
|
|
@@ -2999,6 +2999,8 @@ function RemoteSessionStorageAlert({ scope, capacity, className }) {
|
|
|
2999
2999
|
);
|
|
3000
3000
|
}
|
|
3001
3001
|
|
|
3002
|
+
// src/components/ui/device-wallpaper.ts
|
|
3003
|
+
var DEVICE_WALLPAPER_CLASS = "bg-gradient-to-br from-ods-flamingo-cyan-secondary via-ods-bg-surface to-ods-flamingo-pink-secondary";
|
|
3002
3004
|
|
|
3003
3005
|
|
|
3004
3006
|
|
|
@@ -3056,4 +3058,6 @@ function RemoteSessionStorageAlert({ scope, capacity, className }) {
|
|
|
3056
3058
|
|
|
3057
3059
|
|
|
3058
3060
|
|
|
3059
|
-
|
|
3061
|
+
|
|
3062
|
+
|
|
3063
|
+
exports.SplitButton = SplitButton; exports.HiddenTagsPopup = HiddenTagsPopup; exports.TruncateText = TruncateText; exports.Autocomplete = Autocomplete; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.BACK_BUTTON_SKELETON_CLASS = BACK_BUTTON_SKELETON_CLASS; exports.BackButton = BackButton; exports.PageActions = PageActions; exports.usePageActionsBottomPadding = usePageActionsBottomPadding; exports.EntityImage = EntityImage; exports.TITLE_BLOCK_MIN_HEIGHT = TITLE_BLOCK_MIN_HEIGHT; exports.TitleBlock = TitleBlock; exports.PageLayout = PageLayout; exports.RemoteSessionViewers = RemoteSessionViewers; exports.RemoteSessionScope = RemoteSessionScope; exports.RemoteSessionOrgLogo = RemoteSessionOrgLogo; exports.RemoteSessionRecordingTag = RemoteSessionRecordingTag; exports.REMOTE_SESSION_DRAG_HANDLE_CLASS = REMOTE_SESSION_DRAG_HANDLE_CLASS; exports.RemoteSessionDragger = RemoteSessionDragger; exports.formatRemoteSessionElapsed = formatRemoteSessionElapsed; exports.useRemoteSessionTimer = useRemoteSessionTimer; exports.RemoteAccessRequestCard = RemoteAccessRequestCard; exports.RemoteSessionBlockFrame = RemoteSessionBlockFrame; exports.RemoteSessionEndButton = RemoteSessionEndButton; exports.RemoteSessionSummary = RemoteSessionSummary; exports.RemoteSessionMinimizedChip = RemoteSessionMinimizedChip; exports.RemoteSessionChatPanel = RemoteSessionChatPanel; exports.RemoteDesktopChatMessageRow = RemoteDesktopChatMessageRow; exports.REMOTE_DESKTOP_CHAT_END_USER_NAME = REMOTE_DESKTOP_CHAT_END_USER_NAME; exports.RemoteDesktopChatPanel = RemoteDesktopChatPanel; exports.RemoteDesktopFullscreenToolbar = RemoteDesktopFullscreenToolbar; exports.RemoteDesktopView = RemoteDesktopView; exports.RemoteDesktopViewSkeleton = RemoteDesktopViewSkeleton; exports.RemoteSessionDialog = RemoteSessionDialog; exports.RemoteSessionBorder = RemoteSessionBorder; exports.RemoteSessionPill = RemoteSessionPill; exports.REMOTE_SESSION_KEEP_REASON_LABELS = REMOTE_SESSION_KEEP_REASON_LABELS; exports.KeepRecordingModal = KeepRecordingModal; exports.ReleaseKeepingModal = ReleaseKeepingModal; exports.AssignTicketModal = AssignTicketModal; exports.UnassignTicketModal = UnassignTicketModal; exports.formatRemoteSessionOffset = formatRemoteSessionOffset; exports.RemoteSessionEventList = RemoteSessionEventList; exports.RemoteSessionTimelineMarkers = RemoteSessionTimelineMarkers; exports.RemoteSessionStatusTag = RemoteSessionStatusTag; exports.RemoteSessionExpiry = RemoteSessionExpiry; exports.RemoteSessionStorageAlert = RemoteSessionStorageAlert; exports.DEVICE_WALLPAPER_CLASS = DEVICE_WALLPAPER_CLASS;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkFTTLBMHUcjs = require('./chunk-FTTLBMHU.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
|
|
@@ -44,7 +44,7 @@ function AvatarStack({
|
|
|
44
44
|
"aria-label": `${label}: ${names}${unnamed > 0 ? ` and ${unnamed} more` : ""}`,
|
|
45
45
|
children: [
|
|
46
46
|
visible.map((person, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
47
|
-
|
|
47
|
+
_chunkFTTLBMHUcjs.SquareAvatar,
|
|
48
48
|
{
|
|
49
49
|
variant: "round",
|
|
50
50
|
size,
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkFICJS5OAcjs = require('./chunk-FICJS5OA.cjs');
|
|
5
|
+
|
|
6
|
+
// src/components/tool-icon.tsx
|
|
7
|
+
var _react = require('react');
|
|
8
|
+
var TOOL_ICONS = /* @__PURE__ */ new Map();
|
|
9
|
+
function toolIcon(toolType) {
|
|
10
|
+
const known = TOOL_ICONS.get(toolType);
|
|
11
|
+
if (known !== void 0) return known;
|
|
12
|
+
const words = toolType.toLowerCase().split("_").filter(Boolean);
|
|
13
|
+
let icon = null;
|
|
14
|
+
for (let count = words.length; count >= 1 && !icon; count -= 1) {
|
|
15
|
+
icon = _chunkFICJS5OAcjs.findIcon.call(void 0, `${words.slice(0, count).join("-")}-logo-grey`);
|
|
16
|
+
}
|
|
17
|
+
TOOL_ICONS.set(toolType, icon);
|
|
18
|
+
return icon;
|
|
19
|
+
}
|
|
20
|
+
var ToolIcon = ({ toolType, size = 16, className }) => {
|
|
21
|
+
const icon = toolIcon(toolType);
|
|
22
|
+
return icon ? _react.createElement.call(void 0, icon, { size, className }) : null;
|
|
23
|
+
};
|
|
24
|
+
ToolIcon.displayName = "ToolIcon";
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
exports.ToolIcon = ToolIcon;
|