@flamingo-stack/openframe-frontend-core 0.0.745 → 0.0.747
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-PM5ELQBL.cjs → chunk-2CEQGGRN.cjs} +32 -32
- package/dist/{chunk-6IQDQQ56.cjs → chunk-4AWI6CCU.cjs} +38 -38
- package/dist/{chunk-75BF7YJR.cjs → chunk-4DT5YXTM.cjs} +13 -13
- package/dist/{chunk-YJRMCFX3.cjs → chunk-4MGZYY6U.cjs} +7 -7
- package/dist/{chunk-HVR7DPAY.cjs → chunk-6RTHHU3S.cjs} +4 -4
- package/dist/{chunk-DJO7YMT3.cjs → chunk-7Y5U3Y4S.cjs} +194 -194
- package/dist/{chunk-GAGNKWOC.cjs → chunk-BBM2ICOY.cjs} +2 -2
- package/dist/{chunk-4N7KGOBS.cjs → chunk-BEC43GHL.cjs} +3 -3
- package/dist/{chunk-GOTEXQZN.cjs → chunk-C7NTL2GV.cjs} +80 -80
- package/dist/{chunk-NFINQ7IZ.cjs → chunk-FCQCEQBY.cjs} +6 -6
- package/dist/{chunk-URVIPSAJ.cjs → chunk-HNLI4OU5.cjs} +14 -14
- package/dist/{chunk-HMSCUL4R.cjs → chunk-HTMHDEIV.cjs} +4 -4
- package/dist/{chunk-3LX5AGZO.cjs → chunk-IJA3OZWF.cjs} +24 -24
- package/dist/{chunk-ABLUMGCI.cjs → chunk-JHQNUWFM.cjs} +83 -33
- package/dist/{chunk-RIGSZEXS.cjs → chunk-JPSMPXCH.cjs} +90 -90
- package/dist/{chunk-UY6A6TEY.cjs → chunk-L2IQESTQ.cjs} +2 -2
- package/dist/{chunk-M4FKV2U5.cjs → chunk-LLAKQT3B.cjs} +12 -12
- package/dist/{chunk-GQ2TRIOV.cjs → chunk-MA7T36JY.cjs} +35 -35
- package/dist/{chunk-7KHQHYXL.cjs → chunk-O6QQ44I3.cjs} +18 -18
- package/dist/{chunk-LJ46XYYP.cjs → chunk-P7KTAXXE.cjs} +41 -27
- package/dist/{chunk-FNIFUCXU.cjs → chunk-PIQRV4EQ.cjs} +5 -5
- package/dist/{chunk-OWGLRE74.cjs → chunk-PSIKUDUV.cjs} +8 -8
- package/dist/{chunk-4A6OF4HI.cjs → chunk-PSSGIZXZ.cjs} +44 -44
- package/dist/{chunk-YIOWV7LS.cjs → chunk-QPSQ5WLG.cjs} +2 -2
- package/dist/{chunk-QES5NV4T.cjs → chunk-R3FXJXSQ.cjs} +1040 -1010
- package/dist/{chunk-7PQOZLVP.cjs → chunk-TYW7NBP7.cjs} +20 -20
- package/dist/{chunk-U2O5YQRP.cjs → chunk-U6XWGK53.cjs} +33 -33
- package/dist/{chunk-GEEKJ7SH.cjs → chunk-WY4FKKCV.cjs} +74 -74
- package/dist/{chunk-JGZEHBBD.cjs → chunk-YIRX6C7V.cjs} +10 -10
- package/dist/{chunk-5TCIRWHL.cjs → chunk-YRULLK7N.cjs} +5 -5
- package/dist/{cloud-tenants-DECPWIYQ.cjs → cloud-tenants-QJZIF2JS.cjs} +13 -13
- package/dist/components/case-studies/index.cjs +31 -29
- package/dist/components/case-studies/share-experience-section.d.ts.map +1 -1
- package/dist/components/case-studies/share-experience-section.js +6 -5
- package/dist/components/chat/index.cjs +9 -9
- package/dist/components/contact/index.cjs +14 -14
- package/dist/components/docs/index.cjs +17 -17
- package/dist/components/embeds/index.cjs +14 -14
- package/dist/components/faq/index.cjs +15 -15
- package/dist/components/features/index.cjs +13 -13
- package/dist/components/help-center-pages/index.cjs +116 -116
- package/dist/components/index.cjs +121 -125
- package/dist/components/layout/page-heading.d.ts +16 -0
- package/dist/components/layout/page-heading.d.ts.map +1 -1
- package/dist/components/layout/page-heading.js +16 -2
- package/dist/components/meeting-scheduler/index.cjs +63 -63
- package/dist/components/navigation/index.cjs +16 -16
- package/dist/components/onboarding-guides/index.cjs +16 -16
- package/dist/components/product-demo/index.cjs +9 -9
- package/dist/components/related-content/index.cjs +7 -7
- package/dist/components/tickets/index.cjs +19 -19
- package/dist/components/ui/filter-checkbox-item.d.ts +8 -2
- package/dist/components/ui/filter-checkbox-item.d.ts.map +1 -1
- package/dist/components/ui/filter-checkbox-item.js +14 -4
- package/dist/components/ui/index.cjs +15 -13
- package/dist/components/ui/layout-hold.d.ts +4 -3
- package/dist/components/ui/layout-hold.d.ts.map +1 -1
- package/dist/components/ui/layout-hold.js +29 -9
- package/dist/components/unified-filter-logic.js +1 -1
- package/dist/components/vendor-tag.d.ts +12 -0
- package/dist/components/vendor-tag.d.ts.map +1 -1
- package/dist/components/vendor-tag.js +50 -47
- package/dist/{devices-HJKDRWQX.cjs → devices-V55KQCAL.cjs} +14 -14
- package/dist/{embeddable-chat-3SKFBO2P.cjs → embeddable-chat-5CDR4I6E.cjs} +80 -80
- package/dist/index.cjs +22 -18
- package/dist/{knowledge-NH2CGY2C.cjs → knowledge-S3VGDRKR.cjs} +14 -14
- package/dist/{logs-KZYIDYQK.cjs → logs-K5E2BGZE.cjs} +21 -21
- package/dist/{policies-UAVTPIKM.cjs → policies-BWU4FRFE.cjs} +17 -17
- package/dist/{remote-session-N4PJB5FW.cjs → remote-session-IYT4LWJC.cjs} +7 -7
- package/dist/{scripts-FRPY43KU.cjs → scripts-25UPGXZU.cjs} +20 -20
- package/dist/{software-update-AEJJNLX5.cjs → software-update-F6UC7ULZ.cjs} +17 -17
- package/dist/{tickets-board-O753S4ZB.cjs → tickets-board-4MT6ZB4F.cjs} +8 -8
- package/dist/utils/format.d.ts.map +1 -1
- package/dist/utils/format.js +2 -3
- package/dist/utils/index.cjs +74 -24
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +8 -6
- package/dist/utils/vendor-classification.d.ts +43 -17
- package/dist/utils/vendor-classification.d.ts.map +1 -1
- package/dist/utils/vendor-classification.js +73 -22
- package/package.json +1 -1
- package/src/components/case-studies/share-experience-section.tsx +9 -6
- package/src/components/layout/page-heading.tsx +52 -11
- package/src/components/ui/filter-checkbox-item.tsx +21 -5
- package/src/components/ui/layout-hold.tsx +38 -10
- package/src/components/unified-filter-logic.tsx +1 -1
- package/src/components/vendor-tag.tsx +73 -69
- package/src/utils/format.ts +2 -3
- package/src/utils/index.ts +7 -5
- package/src/utils/vendor-classification.ts +113 -34
- package/dist/utils/format-text-stub.d.ts +0 -5
- package/dist/utils/format-text-stub.d.ts.map +0 -1
- package/dist/utils/format-text-stub.js +0 -20
- package/src/utils/format-text-stub.ts +0 -17
|
@@ -1,11 +1,11 @@
|
|
|
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 _chunkBEC43GHLcjs = require('./chunk-BEC43GHL.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunk4DT5YXTMcjs = require('./chunk-4DT5YXTM.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -14,13 +14,13 @@ var _chunkHEVW75L3cjs = require('./chunk-HEVW75L3.cjs');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkR3FXJXSQcjs = require('./chunk-R3FXJXSQ.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkU6XWGK53cjs = require('./chunk-U6XWGK53.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkC7NTL2GVcjs = require('./chunk-C7NTL2GV.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
@@ -29,10 +29,10 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkP7KTAXXEcjs = require('./chunk-P7KTAXXE.cjs');
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
var
|
|
35
|
+
var _chunkL2IQESTQcjs = require('./chunk-L2IQESTQ.cjs');
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
var _chunkV45KLJQPcjs = require('./chunk-V45KLJQP.cjs');
|
|
@@ -45,7 +45,7 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
45
45
|
function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
46
46
|
if (isFiltered) {
|
|
47
47
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
48
|
-
|
|
48
|
+
_chunkBEC43GHLcjs.EmptyState,
|
|
49
49
|
{
|
|
50
50
|
type: "search",
|
|
51
51
|
title: filtered.title,
|
|
@@ -58,7 +58,7 @@ function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
|
58
58
|
}
|
|
59
59
|
const hasCta = Boolean(empty.ctaText && (empty.onCtaClick || empty.ctaHref));
|
|
60
60
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
61
|
-
|
|
61
|
+
_chunkBEC43GHLcjs.EmptyState,
|
|
62
62
|
{
|
|
63
63
|
type: "generic",
|
|
64
64
|
title: empty.title,
|
|
@@ -75,7 +75,7 @@ function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
|
|
|
75
75
|
var _react = require('react');
|
|
76
76
|
|
|
77
77
|
function DevSectionView({ sectionKey, hero, preControls, children, showHeading = true }) {
|
|
78
|
-
const section =
|
|
78
|
+
const section = _chunkC7NTL2GVcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
79
79
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
80
80
|
const pathname = _chunk7DNL734Scjs.usePathname.call(void 0, );
|
|
81
81
|
const searchParams = _chunk7DNL734Scjs.useSearchParams.call(void 0, );
|
|
@@ -126,7 +126,7 @@ function DevSectionView({ sectionKey, hero, preControls, children, showHeading =
|
|
|
126
126
|
preControls,
|
|
127
127
|
(search || filter) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
128
128
|
search && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
129
|
-
|
|
129
|
+
_chunkR3FXJXSQcjs.SearchInput,
|
|
130
130
|
{
|
|
131
131
|
showDropdown: false,
|
|
132
132
|
placeholder: search.placeholder,
|
|
@@ -136,7 +136,7 @@ function DevSectionView({ sectionKey, hero, preControls, children, showHeading =
|
|
|
136
136
|
}
|
|
137
137
|
),
|
|
138
138
|
filter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
139
|
-
|
|
139
|
+
_chunkR3FXJXSQcjs.StatusFilterComponent,
|
|
140
140
|
{
|
|
141
141
|
selectedStatus: currentFilterValue,
|
|
142
142
|
onStatusChange: handleFilterChange,
|
|
@@ -161,7 +161,7 @@ function DevSectionPage({
|
|
|
161
161
|
shell = true
|
|
162
162
|
}) {
|
|
163
163
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
164
|
-
const section =
|
|
164
|
+
const section = _chunkC7NTL2GVcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
|
|
165
165
|
const backCfg = backButton === false ? void 0 : {
|
|
166
166
|
label: _nullishCoalesce((backButton ? backButton.label : void 0), () => ( "Back to home")),
|
|
167
167
|
onClick: () => router.push(_nullishCoalesce((backButton ? backButton.href : void 0), () => ( "/")))
|
|
@@ -174,7 +174,7 @@ function DevSectionPage({
|
|
|
174
174
|
// duplicate title. (The hero icon is intentionally dropped: TitleBlock is
|
|
175
175
|
// frozen and renders title-only.)
|
|
176
176
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
177
|
-
|
|
177
|
+
_chunkU6XWGK53cjs.PageLayout,
|
|
178
178
|
{
|
|
179
179
|
title: _nullishCoalesce(title, () => ( section.hero.title)),
|
|
180
180
|
subtitle: _nullishCoalesce(subtitle, () => ( section.hero.description)),
|
|
@@ -183,12 +183,12 @@ function DevSectionPage({
|
|
|
183
183
|
backButton: backCfg,
|
|
184
184
|
children: [
|
|
185
185
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DevSectionView, { sectionKey, showHeading: false, preControls, children }),
|
|
186
|
-
faq && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
186
|
+
faq && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4DT5YXTMcjs.FaqSection, { ..._chunk4DT5YXTMcjs.pageFaqProps.call(void 0, faq) })
|
|
187
187
|
]
|
|
188
188
|
}
|
|
189
189
|
)
|
|
190
190
|
);
|
|
191
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
191
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkR3FXJXSQcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
// src/components/shared/dev-section/dev-card-row.tsx
|
|
@@ -248,7 +248,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
248
248
|
const taskType = item.taskType;
|
|
249
249
|
const typeBadgeLabel = _chunkHEVW75L3cjs.TASK_TYPE_LABELS[taskType] || "TASK";
|
|
250
250
|
const typeBadgeTextColor = _chunkHEVW75L3cjs.TASK_TYPE_TEXT_COLORS[taskType] || "";
|
|
251
|
-
const statusBadgeScheme =
|
|
251
|
+
const statusBadgeScheme = _chunkP7KTAXXEcjs.getStatusColorScheme.call(void 0, item.status);
|
|
252
252
|
const relativeTime = getRelativeTime(item.dateUpdated);
|
|
253
253
|
const subtitle = `ACTIVE ${relativeTime}${item.listNames.length > 0 ? `, ${item.listNames.join(", ")}` : ""}, ${item.id}`;
|
|
254
254
|
const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col items-start justify-between gap-[12px] content-md:flex-row content-md:gap-[16px]", children: [
|
|
@@ -260,7 +260,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
260
260
|
] }),
|
|
261
261
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-shrink-0 flex-row items-center gap-2 self-stretch content-md:w-auto content-md:flex-col content-md:items-end content-md:self-start", children: [
|
|
262
262
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
263
|
-
|
|
263
|
+
_chunkP7KTAXXEcjs.StatusBadge,
|
|
264
264
|
{
|
|
265
265
|
text: item.status.toUpperCase(),
|
|
266
266
|
colorScheme: statusBadgeScheme,
|
|
@@ -269,7 +269,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
269
269
|
}
|
|
270
270
|
),
|
|
271
271
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
272
|
-
|
|
272
|
+
_chunkP7KTAXXEcjs.StatusBadge,
|
|
273
273
|
{
|
|
274
274
|
text: typeBadgeLabel,
|
|
275
275
|
variant: "card",
|
|
@@ -277,7 +277,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
|
|
|
277
277
|
}
|
|
278
278
|
),
|
|
279
279
|
item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
280
|
-
|
|
280
|
+
_chunkL2IQESTQcjs.AvatarStack,
|
|
281
281
|
{
|
|
282
282
|
size: "xs",
|
|
283
283
|
className: "ml-auto content-md:ml-0",
|
|
@@ -10,7 +10,7 @@ var _chunkA6P6DHEZcjs = require('./chunk-A6P6DHEZ.cjs');
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkYRULLK7Ncjs = require('./chunk-YRULLK7N.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
@@ -102,7 +102,7 @@ var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
|
102
102
|
|
|
103
103
|
|
|
104
104
|
|
|
105
|
-
var
|
|
105
|
+
var _chunkJHQNUWFMcjs = require('./chunk-JHQNUWFM.cjs');
|
|
106
106
|
|
|
107
107
|
|
|
108
108
|
var _chunkRUHKTWGBcjs = require('./chunk-RUHKTWGB.cjs');
|
|
@@ -414,7 +414,7 @@ function TruncateText({
|
|
|
414
414
|
const { ref, isTruncated } = _chunkKTPR66EEcjs.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
|
+
_chunkJHQNUWFMcjs.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
|
+
_chunkJHQNUWFMcjs.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
|
+
_chunkJHQNUWFMcjs.Tag,
|
|
970
970
|
{
|
|
971
971
|
variant: "outline",
|
|
972
972
|
labelClassName: "max-w-[90px] truncate",
|
|
@@ -1450,7 +1450,7 @@ function EntityImage({ src, alt, fallbackText, sizeClassName, className }) {
|
|
|
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 = _chunkJHQNUWFMcjs.personInitials.call(void 0, _nullishCoalesce(fallbackText, () => ( alt)));
|
|
1454
1454
|
if (showFallback) {
|
|
1455
1455
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1456
1456
|
"div",
|
|
@@ -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
|
+
_chunkJHQNUWFMcjs.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, _chunkJHQNUWFMcjs.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, _chunkJHQNUWFMcjs.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, _chunkJHQNUWFMcjs.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
|
+
_chunkJHQNUWFMcjs.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
|
+
_chunkJHQNUWFMcjs.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
|
+
_chunkJHQNUWFMcjs.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: _chunkJHQNUWFMcjs.formatUrlForDisplay.call(void 0, siteUrl, { keepWww: true }) })
|
|
1914
1914
|
] }),
|
|
1915
1915
|
openableSite && onOpenSite && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.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
|
+
_chunkJHQNUWFMcjs.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
|
+
_chunkJHQNUWFMcjs.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
|
+
_chunkJHQNUWFMcjs.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, _chunkJHQNUWFMcjs.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: _chunkYRULLK7Ncjs.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
|
+
_chunkYRULLK7Ncjs.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, _chunkYRULLK7Ncjs.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, _chunkYRULLK7Ncjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRULLK7Ncjs.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, _chunkYRULLK7Ncjs.ModalFooter, { children: [
|
|
2734
2734
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.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, _chunkYRULLK7Ncjs.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, _chunkYRULLK7Ncjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRULLK7Ncjs.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, _chunkYRULLK7Ncjs.ModalFooter, { children: [
|
|
2783
2783
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.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, _chunk2QMBXGMQcjs.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, _chunkYRULLK7Ncjs.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, _chunkYRULLK7Ncjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRULLK7Ncjs.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, _chunkYRULLK7Ncjs.ModalFooter, { children: [
|
|
2846
2846
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.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, _chunkYRULLK7Ncjs.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, _chunkYRULLK7Ncjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRULLK7Ncjs.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, _chunkYRULLK7Ncjs.ModalFooter, { children: [
|
|
2869
2869
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.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, _chunk2QMBXGMQcjs.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
|
+
_chunkJHQNUWFMcjs.Tag,
|
|
2949
2949
|
{
|
|
2950
2950
|
label,
|
|
2951
2951
|
variant,
|