@flamingo-stack/openframe-frontend-core 0.0.740 → 0.0.742
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-BV5WZVOP.cjs → chunk-32Q7K5OP.cjs} +254 -254
- package/dist/{chunk-ZLTCQKTD.cjs → chunk-3LW43GIJ.cjs} +6 -6
- package/dist/{chunk-VA7OMDZO.cjs → chunk-4FWURR3W.cjs} +50 -50
- package/dist/{chunk-EKGL5K5K.cjs → chunk-4LDU32OB.cjs} +17 -17
- package/dist/{chunk-VC4IV3AY.cjs → chunk-4PKORVOX.cjs} +2804 -954
- package/dist/{chunk-3ZIQOYNX.cjs → chunk-54EA4RLX.cjs} +8 -8
- package/dist/{chunk-YXKB5WRE.cjs → chunk-5MH6BRPY.cjs} +36 -36
- package/dist/{chunk-PQ2M7P2U.cjs → chunk-5TCIRWHL.cjs} +9 -9
- package/dist/{chunk-WFPCCBOM.cjs → chunk-7AM3AFM4.cjs} +10 -10
- package/dist/{chunk-7ZFCR7UY.cjs → chunk-ABLUMGCI.cjs} +3 -3
- package/dist/{chunk-PX7FY655.cjs → chunk-ASMNNSUQ.cjs} +3 -3
- package/dist/{chunk-HF7Z2E4W.cjs → chunk-BI3XBCQX.cjs} +2 -2
- package/dist/{chunk-SA7LDEVJ.cjs → chunk-CSJO7ZGN.cjs} +3 -3
- package/dist/{chunk-VOX4E6AX.cjs → chunk-DGFDBPO7.cjs} +7 -5
- package/dist/{chunk-KHXZFLIN.cjs → chunk-DKOLQPE7.cjs} +8 -2
- package/dist/{chunk-BDA5F6RM.cjs → chunk-DNFSMVXJ.cjs} +16 -16
- package/dist/{chunk-B3XBJCOD.cjs → chunk-H3UA7UY5.cjs} +7 -7
- package/dist/{chunk-2Y5Y4FLM.cjs → chunk-HDBY2URA.cjs} +64 -64
- package/dist/{chunk-UW3YXDC4.cjs → chunk-HIRVNBX5.cjs} +20 -20
- package/dist/{chunk-LLAC2UZ3.cjs → chunk-ISJXKKYW.cjs} +28 -28
- package/dist/{chunk-FICJS5OA.cjs → chunk-KTPR66EE.cjs} +4 -4
- package/dist/{chunk-7UIQPMBJ.cjs → chunk-L34TKFTS.cjs} +21 -164
- package/dist/{chunk-AAFW4STC.cjs → chunk-LU7TD6QS.cjs} +5 -5
- package/dist/{chunk-3HPB4H4C.cjs → chunk-NTGIQP7O.cjs} +7 -7
- package/dist/{chunk-WBANGORJ.cjs → chunk-OBODY7F3.cjs} +3 -3
- package/dist/{chunk-GABDE3FM.cjs → chunk-OWGLRE74.cjs} +19 -19
- package/dist/{chunk-CWRVTQUO.cjs → chunk-PS6T65KA.cjs} +101 -101
- package/dist/{chunk-IFS4AH77.cjs → chunk-QYLIHZKZ.cjs} +10 -10
- package/dist/{chunk-GVTDVS5U.cjs → chunk-R34JD6NP.cjs} +3 -3
- package/dist/{chunk-VU4CKUJW.cjs → chunk-R6SCSV2I.cjs} +103 -103
- package/dist/{chunk-II4QMH26.cjs → chunk-STEJZPIO.cjs} +3 -3
- package/dist/{chunk-4RLGLB45.cjs → chunk-T433HSL6.cjs} +47 -47
- package/dist/{chunk-DSVNFRY5.cjs → chunk-U2O5YQRP.cjs} +38 -38
- package/dist/{chunk-O67V3HJR.cjs → chunk-URVIPSAJ.cjs} +24 -24
- package/dist/{chunk-HYBMADYO.cjs → chunk-UWHCRIQQ.cjs} +22 -22
- package/dist/{chunk-GSWQZX23.cjs → chunk-UY6A6TEY.cjs} +2 -2
- package/dist/{chunk-D5KEWWLW.cjs → chunk-UZLRSFGG.cjs} +32 -32
- package/dist/{chunk-DUVOQHQI.cjs → chunk-W2RM764D.cjs} +7 -7
- package/dist/{chunk-NTJE6SM6.cjs → chunk-WI2OTGKC.cjs} +2 -2
- package/dist/{chunk-SFY4UYPY.cjs → chunk-WIHHA54J.cjs} +44 -44
- package/dist/{chunk-YRE3O65E.cjs → chunk-XAA5EZ5T.cjs} +12 -12
- package/dist/{chunk-KLI4OSRA.cjs → chunk-YQGDXH3M.cjs} +2 -2
- package/dist/{chunk-SWR22DOZ.cjs → chunk-Z2DQYKZA.cjs} +89 -89
- package/dist/{chunk-5SVOGLNK.cjs → chunk-ZIFYSLIM.cjs} +6 -6
- package/dist/{cloud-tenants-PVXDI5MU.cjs → cloud-tenants-6ICAL3HO.cjs} +34 -34
- package/dist/components/case-studies/index.cjs +37 -37
- package/dist/components/chat/index.cjs +17 -17
- package/dist/components/contact/index.cjs +25 -25
- package/dist/components/docs/index.cjs +28 -28
- package/dist/components/embeds/index.cjs +25 -25
- package/dist/components/faq/index.cjs +26 -26
- package/dist/components/features/capability-explorer.d.ts +9 -2
- package/dist/components/features/capability-explorer.d.ts.map +1 -1
- package/dist/components/features/capability-explorer.js +113 -6
- package/dist/components/features/index.cjs +162 -24
- package/dist/components/features/index.d.ts +1 -0
- package/dist/components/features/index.d.ts.map +1 -1
- package/dist/components/features/index.js +1 -0
- package/dist/components/features/scripts/execution-cells.d.ts +65 -0
- package/dist/components/features/scripts/execution-cells.d.ts.map +1 -0
- package/dist/components/features/scripts/execution-cells.js +75 -0
- package/dist/components/features/scripts/execution-status.d.ts +48 -0
- package/dist/components/features/scripts/execution-status.d.ts.map +1 -0
- package/dist/components/features/scripts/execution-status.js +15 -0
- package/dist/components/features/scripts/index.d.ts +20 -0
- package/dist/components/features/scripts/index.d.ts.map +1 -0
- package/dist/components/features/scripts/index.js +59 -0
- package/dist/components/features/scripts/schedule-form/index.d.ts +18 -0
- package/dist/components/features/scripts/schedule-form/index.d.ts.map +1 -0
- package/dist/components/features/scripts/schedule-form/index.js +84 -0
- package/dist/components/features/scripts/schedule-form/schedule-enums.d.ts +24 -0
- package/dist/components/features/scripts/schedule-form/schedule-enums.d.ts.map +1 -0
- package/dist/components/features/scripts/schedule-form/schedule-enums.js +18 -0
- package/dist/components/features/scripts/schedule-form/schedule-form-fields.d.ts +57 -0
- package/dist/components/features/scripts/schedule-form/schedule-form-fields.d.ts.map +1 -0
- package/dist/components/features/scripts/schedule-form/schedule-form-fields.js +169 -0
- package/dist/components/features/scripts/schedule-form/schedule-form-types.d.ts +138 -0
- package/dist/components/features/scripts/schedule-form/schedule-form-types.d.ts.map +1 -0
- package/dist/components/features/scripts/schedule-form/schedule-form-types.js +72 -0
- package/dist/components/features/scripts/schedule-form/schedule-interval-input.d.ts +54 -0
- package/dist/components/features/scripts/schedule-form/schedule-interval-input.d.ts.map +1 -0
- package/dist/components/features/scripts/schedule-form/schedule-interval-input.js +60 -0
- package/dist/components/features/scripts/schedule-form/schedule-offline-fields.d.ts +29 -0
- package/dist/components/features/scripts/schedule-form/schedule-offline-fields.d.ts.map +1 -0
- package/dist/components/features/scripts/schedule-form/schedule-offline-fields.js +124 -0
- package/dist/components/features/scripts/schedule-form/schedule-script-picker-card.d.ts +52 -0
- package/dist/components/features/scripts/schedule-form/schedule-script-picker-card.d.ts.map +1 -0
- package/dist/components/features/scripts/schedule-form/schedule-script-picker-card.js +244 -0
- package/dist/components/features/scripts/schedule-form/schedule-script-search-field.d.ts +35 -0
- package/dist/components/features/scripts/schedule-form/schedule-script-search-field.d.ts.map +1 -0
- package/dist/components/features/scripts/schedule-form/schedule-script-search-field.js +58 -0
- package/dist/components/features/scripts/schedule-form/schedule-scripts-field.d.ts +25 -0
- package/dist/components/features/scripts/schedule-form/schedule-scripts-field.d.ts.map +1 -0
- package/dist/components/features/scripts/schedule-form/schedule-scripts-field.js +66 -0
- package/dist/components/features/scripts/schedule-form/schedule-timing-fields.d.ts +77 -0
- package/dist/components/features/scripts/schedule-form/schedule-timing-fields.d.ts.map +1 -0
- package/dist/components/features/scripts/schedule-form/schedule-timing-fields.js +262 -0
- package/dist/components/features/scripts/schedule-form/schedule-timing.d.ts +288 -0
- package/dist/components/features/scripts/schedule-form/schedule-timing.d.ts.map +1 -0
- package/dist/components/features/scripts/schedule-form/schedule-timing.js +165 -0
- package/dist/components/features/scripts/script-cells.d.ts +11 -0
- package/dist/components/features/scripts/script-cells.d.ts.map +1 -0
- package/dist/components/features/scripts/script-cells.js +19 -0
- package/dist/components/features/scripts/script-executions-table.d.ts +58 -0
- package/dist/components/features/scripts/script-executions-table.d.ts.map +1 -0
- package/dist/components/features/scripts/script-executions-table.js +88 -0
- package/dist/components/features/scripts/script-schedules-table.d.ts +38 -0
- package/dist/components/features/scripts/script-schedules-table.d.ts.map +1 -0
- package/dist/components/features/scripts/script-schedules-table.js +71 -0
- package/dist/components/features/scripts/script-shell-badge.d.ts +9 -0
- package/dist/components/features/scripts/script-shell-badge.d.ts.map +1 -0
- package/dist/components/features/scripts/script-shell-badge.js +15 -0
- package/dist/components/features/scripts/scripts-table-columns.d.ts +162 -0
- package/dist/components/features/scripts/scripts-table-columns.d.ts.map +1 -0
- package/dist/components/features/scripts/scripts-table-columns.js +69 -0
- package/dist/components/features/scripts/scripts-table-shared.d.ts +19 -0
- package/dist/components/features/scripts/scripts-table-shared.d.ts.map +1 -0
- package/dist/components/features/scripts/scripts-table-shared.js +35 -0
- package/dist/components/features/scripts/scripts-table.d.ts +40 -0
- package/dist/components/features/scripts/scripts-table.d.ts.map +1 -0
- package/dist/components/features/scripts/scripts-table.js +84 -0
- package/dist/components/features/scripts/scripts-tabs.d.ts +5 -0
- package/dist/components/features/scripts/scripts-tabs.d.ts.map +1 -0
- package/dist/components/features/scripts/scripts-tabs.js +10 -0
- package/dist/components/features/scripts/shell-types.d.ts +13 -0
- package/dist/components/features/scripts/shell-types.d.ts.map +1 -0
- package/dist/components/features/scripts/shell-types.js +21 -0
- package/dist/components/help-center-pages/index.cjs +144 -144
- package/dist/components/index.cjs +224 -86
- package/dist/components/meeting-scheduler/index.cjs +74 -74
- package/dist/components/navigation/index.cjs +27 -27
- package/dist/components/onboarding-guides/index.cjs +27 -27
- package/dist/components/product-demo/fixtures/scripts.d.ts +34 -0
- package/dist/components/product-demo/fixtures/scripts.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/scripts.js +123 -0
- package/dist/components/product-demo/fixtures/shared.d.ts +8 -0
- package/dist/components/product-demo/fixtures/shared.d.ts.map +1 -1
- package/dist/components/product-demo/fixtures/shared.js +7 -1
- package/dist/components/product-demo/fixtures/software-update.d.ts.map +1 -1
- package/dist/components/product-demo/fixtures/software-update.js +1 -5
- package/dist/components/product-demo/index.cjs +16 -13
- package/dist/components/product-demo/product-screen.d.ts.map +1 -1
- package/dist/components/product-demo/product-screen.js +2 -1
- package/dist/components/product-demo/registry.d.ts.map +1 -1
- package/dist/components/product-demo/registry.js +2 -1
- package/dist/components/product-demo/screen-keys.cjs +2 -1
- package/dist/components/product-demo/screen-keys.d.ts +1 -0
- package/dist/components/product-demo/screen-keys.d.ts.map +1 -1
- package/dist/components/product-demo/screen-keys.js +2 -1
- package/dist/components/product-demo/screens/scripts.d.ts +11 -0
- package/dist/components/product-demo/screens/scripts.d.ts.map +1 -0
- package/dist/components/product-demo/screens/scripts.js +130 -0
- package/dist/components/related-content/index.cjs +12 -12
- package/dist/components/tickets/index.cjs +30 -30
- package/dist/components/ui/index.cjs +24 -24
- package/dist/{devices-TWEA7XOR.cjs → devices-OFP2IBKN.cjs} +30 -30
- package/dist/{embeddable-chat-6JKKFQEB.cjs → embeddable-chat-4C22MGNC.cjs} +92 -92
- package/dist/hooks/index.cjs +10 -10
- package/dist/index.cjs +169 -31
- package/dist/{knowledge-4GQDBNQB.cjs → knowledge-KKBCSNUA.cjs} +29 -29
- package/dist/{logs-EVU6GJHZ.cjs → logs-X2GRNO57.cjs} +46 -46
- package/dist/{policies-OZUEA5YS.cjs → policies-35BXKB6P.cjs} +31 -31
- package/dist/{remote-session-DNFZ5OLY.cjs → remote-session-N4PJB5FW.cjs} +15 -15
- package/dist/scripts-KQYVQOLU.cjs +2112 -0
- package/dist/{software-update-BLIVYOY2.cjs → software-update-ED33WSKT.cjs} +36 -40
- package/dist/{tickets-board-CKZRB6YV.cjs → tickets-board-O753S4ZB.cjs} +31 -31
- package/dist/utils/embed-authed-fetch.d.ts +33 -0
- package/dist/utils/embed-authed-fetch.d.ts.map +1 -1
- package/dist/utils/embed-authed-fetch.js +3 -1
- package/dist/utils/index.cjs +3 -1
- package/dist/{video-file-player-ZH2ILAPO.cjs → video-file-player-QZ3YOLHO.cjs} +2 -2
- package/package.json +1 -1
- package/src/components/features/capability-explorer.tsx +134 -7
- package/src/components/features/index.ts +1 -0
- package/src/components/features/scripts/execution-cells.tsx +149 -0
- package/src/components/features/scripts/execution-status.ts +42 -0
- package/src/components/features/scripts/index.ts +42 -0
- package/src/components/features/scripts/schedule-form/index.ts +59 -0
- package/src/components/features/scripts/schedule-form/schedule-enums.ts +26 -0
- package/src/components/features/scripts/schedule-form/schedule-form-fields.tsx +249 -0
- package/src/components/features/scripts/schedule-form/schedule-form-types.ts +189 -0
- package/src/components/features/scripts/schedule-form/schedule-interval-input.tsx +121 -0
- package/src/components/features/scripts/schedule-form/schedule-offline-fields.tsx +218 -0
- package/src/components/features/scripts/schedule-form/schedule-script-picker-card.tsx +321 -0
- package/src/components/features/scripts/schedule-form/schedule-script-search-field.tsx +115 -0
- package/src/components/features/scripts/schedule-form/schedule-scripts-field.tsx +97 -0
- package/src/components/features/scripts/schedule-form/schedule-timing-fields.tsx +482 -0
- package/src/components/features/scripts/schedule-form/schedule-timing.ts +484 -0
- package/src/components/features/scripts/script-cells.tsx +29 -0
- package/src/components/features/scripts/script-executions-table.tsx +145 -0
- package/src/components/features/scripts/script-schedules-table.tsx +113 -0
- package/src/components/features/scripts/script-shell-badge.tsx +25 -0
- package/src/components/features/scripts/scripts-table-columns.ts +95 -0
- package/src/components/features/scripts/scripts-table-shared.tsx +43 -0
- package/src/components/features/scripts/scripts-table.tsx +124 -0
- package/src/components/features/scripts/scripts-tabs.ts +11 -0
- package/src/components/features/scripts/shell-types.ts +26 -0
- package/src/components/product-demo/fixtures/scripts.ts +186 -0
- package/src/components/product-demo/fixtures/shared.ts +7 -0
- package/src/components/product-demo/fixtures/software-update.ts +1 -7
- package/src/components/product-demo/product-screen.tsx +3 -1
- package/src/components/product-demo/registry.ts +1 -0
- package/src/components/product-demo/screen-keys.ts +1 -0
- package/src/components/product-demo/screens/scripts.tsx +192 -0
- package/src/utils/embed-authed-fetch.ts +42 -1
|
@@ -10,7 +10,7 @@ var _chunkA6P6DHEZcjs = require('./chunk-A6P6DHEZ.cjs');
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunk5TCIRWHLcjs = require('./chunk-5TCIRWHL.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 _chunkABLUMGCIcjs = require('./chunk-ABLUMGCI.cjs');
|
|
106
106
|
|
|
107
107
|
|
|
108
108
|
var _chunkRUHKTWGBcjs = require('./chunk-RUHKTWGB.cjs');
|
|
109
109
|
|
|
110
110
|
|
|
111
111
|
|
|
112
|
-
var
|
|
112
|
+
var _chunkKTPR66EEcjs = require('./chunk-KTPR66EE.cjs');
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
var _chunkHOTM4UM6cjs = require('./chunk-HOTM4UM6.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 } = _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
|
+
_chunkABLUMGCIcjs.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
|
+
_chunkABLUMGCIcjs.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
|
+
_chunkABLUMGCIcjs.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 = _chunkKTPR66EEcjs.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 = _chunkABLUMGCIcjs.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 } = _chunkKTPR66EEcjs.useIsTruncated.call(void 0, loading ? null : title);
|
|
1527
|
+
const { ref: subtitleRef, isTruncated: subtitleTruncated } = _chunkKTPR66EEcjs.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
|
+
_chunkABLUMGCIcjs.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, _chunkABLUMGCIcjs.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, _chunkABLUMGCIcjs.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, _chunkABLUMGCIcjs.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
|
+
_chunkABLUMGCIcjs.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
|
+
_chunkABLUMGCIcjs.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
|
+
_chunkABLUMGCIcjs.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: _chunkABLUMGCIcjs.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
|
+
_chunkABLUMGCIcjs.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
|
+
_chunkABLUMGCIcjs.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
|
+
_chunkABLUMGCIcjs.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, _chunkABLUMGCIcjs.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: _chunk5TCIRWHLcjs.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
|
+
_chunk5TCIRWHLcjs.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, _chunk5TCIRWHLcjs.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, _chunk5TCIRWHLcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5TCIRWHLcjs.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, _chunk5TCIRWHLcjs.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, _chunk5TCIRWHLcjs.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, _chunk5TCIRWHLcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5TCIRWHLcjs.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, _chunk5TCIRWHLcjs.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, _chunk5TCIRWHLcjs.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, _chunk5TCIRWHLcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5TCIRWHLcjs.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, _chunk5TCIRWHLcjs.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, _chunk5TCIRWHLcjs.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, _chunk5TCIRWHLcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5TCIRWHLcjs.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, _chunk5TCIRWHLcjs.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
|
+
_chunkABLUMGCIcjs.Tag,
|
|
2949
2949
|
{
|
|
2950
2950
|
label,
|
|
2951
2951
|
variant,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkLU7TD6QScjs = require('./chunk-LU7TD6QS.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -12,7 +12,7 @@ var _chunkAAFW4STCcjs = require('./chunk-AAFW4STC.cjs');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkOWGLRE74cjs = require('./chunk-OWGLRE74.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
@@ -69,17 +69,17 @@ var _chunkZ7OPT4PNcjs = require('./chunk-Z7OPT4PN.cjs');
|
|
|
69
69
|
var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
70
70
|
|
|
71
71
|
|
|
72
|
-
var
|
|
72
|
+
var _chunkQYLIHZKZcjs = require('./chunk-QYLIHZKZ.cjs');
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
|
|
76
|
-
var
|
|
76
|
+
var _chunkABLUMGCIcjs = require('./chunk-ABLUMGCI.cjs');
|
|
77
77
|
|
|
78
78
|
|
|
79
|
-
var
|
|
79
|
+
var _chunkKTPR66EEcjs = require('./chunk-KTPR66EE.cjs');
|
|
80
80
|
|
|
81
81
|
|
|
82
|
-
var
|
|
82
|
+
var _chunkDGFDBPO7cjs = require('./chunk-DGFDBPO7.cjs');
|
|
83
83
|
|
|
84
84
|
|
|
85
85
|
var _chunk2QMBXGMQcjs = require('./chunk-2QMBXGMQ.cjs');
|
|
@@ -177,7 +177,7 @@ function BoardColumnHeader({
|
|
|
177
177
|
}) {
|
|
178
178
|
const count = _nullishCoalesce(column.total, () => ( column.tickets.length));
|
|
179
179
|
const tagStatus = _nullishCoalesce(column.statusKey, () => ( column.id));
|
|
180
|
-
const useStatusVariant =
|
|
180
|
+
const useStatusVariant = _chunkOWGLRE74cjs.resolveTicketStatus.call(void 0, tagStatus) !== null;
|
|
181
181
|
const actionClass = "h-8 w-8 p-0 content-md:h-8 content-md:w-8";
|
|
182
182
|
if (collapsed) {
|
|
183
183
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
@@ -193,7 +193,7 @@ function BoardColumnHeader({
|
|
|
193
193
|
}
|
|
194
194
|
),
|
|
195
195
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
196
|
-
|
|
196
|
+
_chunkOWGLRE74cjs.TicketStatusTag,
|
|
197
197
|
{
|
|
198
198
|
status: tagStatus,
|
|
199
199
|
label: column.label,
|
|
@@ -206,7 +206,7 @@ function BoardColumnHeader({
|
|
|
206
206
|
}
|
|
207
207
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
208
208
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
209
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
209
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOWGLRE74cjs.TicketStatusTag, { status: tagStatus, label: column.label, color: useStatusVariant ? void 0 : column.color }),
|
|
210
210
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h5", style: useStatusVariant ? void 0 : { color: column.color }, children: count })
|
|
211
211
|
] }),
|
|
212
212
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
@@ -264,7 +264,7 @@ function tintOnDark(hex) {
|
|
|
264
264
|
|
|
265
265
|
function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
266
266
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
267
|
-
const { innerRef, containerStyle } =
|
|
267
|
+
const { innerRef, containerStyle } = _chunkOWGLRE74cjs.useCollapsible.call(void 0, { expanded });
|
|
268
268
|
const isAdmin = pendingApproval.approvalType === "ADMIN";
|
|
269
269
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex flex-col", children: [
|
|
270
270
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -293,7 +293,7 @@ function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
|
293
293
|
}
|
|
294
294
|
),
|
|
295
295
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: containerStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: innerRef, className: "pt-[var(--spacing-system-xs)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
296
|
-
|
|
296
|
+
_chunkOWGLRE74cjs.ApprovalBatchMessage,
|
|
297
297
|
{
|
|
298
298
|
className: "mb-0",
|
|
299
299
|
data: {
|
|
@@ -362,7 +362,7 @@ function cardPositions(root) {
|
|
|
362
362
|
}
|
|
363
363
|
function useLaneScrollAnchor(scrollRef, tickets) {
|
|
364
364
|
const positionsRef = _react.useRef.call(void 0, []);
|
|
365
|
-
|
|
365
|
+
_chunkDGFDBPO7cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
366
366
|
const root = scrollRef.current;
|
|
367
367
|
if (!root) return;
|
|
368
368
|
const previous = positionsRef.current;
|
|
@@ -467,7 +467,7 @@ function TicketCardBody({
|
|
|
467
467
|
onLinkClick
|
|
468
468
|
}) {
|
|
469
469
|
const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
|
|
470
|
-
const newMessageTextColor = columnColor ?
|
|
470
|
+
const newMessageTextColor = columnColor ? _chunkQYLIHZKZcjs.getReadableTextColor.call(void 0, columnColor) : void 0;
|
|
471
471
|
const showDeviceRow = !!(_optionalChain([ticket, 'access', _12 => _12.deviceHostnames, 'optionalAccess', _13 => _13.length]) || ticket.organizationName);
|
|
472
472
|
const deviceText = [_optionalChain([ticket, 'access', _14 => _14.deviceHostnames, 'optionalAccess', _15 => _15.join, 'call', _16 => _16(", ")]), ticket.organizationName].filter(Boolean).join(", ");
|
|
473
473
|
const hasRightSection = !!(ticket.priority || ticket.agent || _optionalChain([ticket, 'access', _17 => _17.assignees, 'optionalAccess', _18 => _18.length]) || renderAssignSlot);
|
|
@@ -485,7 +485,7 @@ function TicketCardBody({
|
|
|
485
485
|
role: "img",
|
|
486
486
|
"aria-label": `Owned by ${ticket.agent === "fae" ? "Fae" : "Mingo"}`,
|
|
487
487
|
className: "flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-full border border-ods-border bg-ods-bg",
|
|
488
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
488
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOWGLRE74cjs.AgentMark, { agent: ticket.agent, className: ticket.agent === "fae" ? "size-full" : "size-5" })
|
|
489
489
|
}
|
|
490
490
|
),
|
|
491
491
|
renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _19 => _19.assignees, 'optionalAccess', _20 => _20.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
|
|
@@ -498,7 +498,7 @@ function TicketCardBody({
|
|
|
498
498
|
},
|
|
499
499
|
a.id
|
|
500
500
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
501
|
-
|
|
501
|
+
_chunkABLUMGCIcjs.SquareAvatar,
|
|
502
502
|
{
|
|
503
503
|
src: a.avatarUrl,
|
|
504
504
|
alt: _nullishCoalesce(_nullishCoalesce(a.name, () => ( a.initials)), () => ( a.id)),
|
|
@@ -515,8 +515,8 @@ function TicketCardBody({
|
|
|
515
515
|
] })
|
|
516
516
|
] }) : null
|
|
517
517
|
] }) : null;
|
|
518
|
-
const timestampLabel = ticket.createdAt ?
|
|
519
|
-
const tooltipLabel = ticket.createdAt ?
|
|
518
|
+
const timestampLabel = ticket.createdAt ? _chunkOWGLRE74cjs.formatTicketRelativeTime.call(void 0, ticket.createdAt) : null;
|
|
519
|
+
const tooltipLabel = ticket.createdAt ? _chunkOWGLRE74cjs.formatTicketFullTimestamp.call(void 0, ticket.createdAt) : null;
|
|
520
520
|
const metaLabel = [ticket.ticketNumber || null, timestampLabel].filter(Boolean).join(" \u2022 ");
|
|
521
521
|
const metaClass = "truncate text-ods-text-secondary text-h6";
|
|
522
522
|
const meta = href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -565,7 +565,7 @@ function TicketCardBody({
|
|
|
565
565
|
}
|
|
566
566
|
),
|
|
567
567
|
showNewMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
568
|
-
|
|
568
|
+
_chunkABLUMGCIcjs.Tag,
|
|
569
569
|
{
|
|
570
570
|
label: "New Message",
|
|
571
571
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJSIUVERGcjs.MessagesIcon, { size: 16, color: newMessageTextColor }),
|
|
@@ -785,8 +785,8 @@ function TicketTagRow({ tags }) {
|
|
|
785
785
|
const visible = tags.slice(0, MAX_VISIBLE_TAGS);
|
|
786
786
|
const hidden = tags.length - visible.length;
|
|
787
787
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-8 flex-wrap items-start gap-[var(--spacing-system-xxs)] overflow-clip", children: [
|
|
788
|
-
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
789
|
-
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
788
|
+
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkABLUMGCIcjs.Tag, { variant: "outline", label: tag }, tag)),
|
|
789
|
+
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkABLUMGCIcjs.Tag, { variant: "outline", label: `+${hidden}` })
|
|
790
790
|
] });
|
|
791
791
|
}
|
|
792
792
|
|
|
@@ -1077,7 +1077,7 @@ function EmptyState({ columnId, touchMode }) {
|
|
|
1077
1077
|
// src/components/features/board/use-board-collapse.ts
|
|
1078
1078
|
|
|
1079
1079
|
function useBoardCollapse(storageKey, initial) {
|
|
1080
|
-
const [persisted, setPersisted] =
|
|
1080
|
+
const [persisted, setPersisted] = _chunkLU7TD6QScjs.useLocalStorage.call(void 0, _nullishCoalesce(storageKey, () => ( "__board_collapse_unused__")), {});
|
|
1081
1081
|
const [memory, setMemory] = _react.useState.call(void 0, _nullishCoalesce(initial, () => ( {})));
|
|
1082
1082
|
const collapsed = storageKey ? persisted : memory;
|
|
1083
1083
|
const setMap = storageKey ? setPersisted : setMemory;
|
|
@@ -1219,7 +1219,7 @@ var DROP_EASING = "cubic-bezier(0.2, 0, 0, 1)";
|
|
|
1219
1219
|
var DRAG_PREVIEW_Z = 1200;
|
|
1220
1220
|
var ARROW_KEYS = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"];
|
|
1221
1221
|
function Board(props) {
|
|
1222
|
-
const dragAndDropEnabled =
|
|
1222
|
+
const dragAndDropEnabled = _chunkKTPR66EEcjs.useMediaQuery.call(void 0, _chunkLU7TD6QScjs.DRAG_AND_DROP_MEDIA_QUERY);
|
|
1223
1223
|
if (dragAndDropEnabled === void 0) {
|
|
1224
1224
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: _chunk3ATAYP36cjs.cn.call(void 0, "flex h-full min-h-0 flex-col", props.className) });
|
|
1225
1225
|
}
|
|
@@ -1253,7 +1253,7 @@ function DragBoard({
|
|
|
1253
1253
|
onThumbPointerMove,
|
|
1254
1254
|
onThumbPointerUp,
|
|
1255
1255
|
onThumbPointerCancel
|
|
1256
|
-
} =
|
|
1256
|
+
} = _chunkLU7TD6QScjs.useHorizontalScrollbar.call(void 0, );
|
|
1257
1257
|
const columnsRef = _react.useRef.call(void 0, columns);
|
|
1258
1258
|
const onChangeRef = _react.useRef.call(void 0, onChange);
|
|
1259
1259
|
const boardRef = _react.useRef.call(void 0, null);
|
|
@@ -1442,7 +1442,7 @@ function DragBoard({
|
|
|
1442
1442
|
})
|
|
1443
1443
|
);
|
|
1444
1444
|
}, []);
|
|
1445
|
-
|
|
1445
|
+
_chunkDGFDBPO7cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
1446
1446
|
if (!landing) return void 0;
|
|
1447
1447
|
const finish = () => {
|
|
1448
1448
|
landingTimer.current = null;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk4FWURR3Wcjs = require('./chunk-4FWURR3W.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkPS6T65KAcjs = require('./chunk-PS6T65KA.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunk32Q7K5OPcjs = require('./chunk-32Q7K5OP.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkCSJO7ZGNcjs = require('./chunk-CSJO7ZGN.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
@@ -25,13 +25,13 @@ var _chunkEWPR7662cjs = require('./chunk-EWPR7662.cjs');
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunkXAA5EZ5Tcjs = require('./chunk-XAA5EZ5T.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var _chunk5MH6BRPYcjs = require('./chunk-5MH6BRPY.cjs');
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
var
|
|
34
|
+
var _chunkASMNNSUQcjs = require('./chunk-ASMNNSUQ.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
var _chunkV45KLJQPcjs = require('./chunk-V45KLJQP.cjs');
|
|
@@ -57,7 +57,7 @@ function FaqAccordion({ items, defaultOpenIds = [] }) {
|
|
|
57
57
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
58
58
|
"div",
|
|
59
59
|
{
|
|
60
|
-
id:
|
|
60
|
+
id: _chunk32Q7K5OPcjs.faqItemAnchor.call(void 0, item.id),
|
|
61
61
|
className: "scroll-mt-24 transition-colors hover:bg-ods-bg-hover",
|
|
62
62
|
children: [
|
|
63
63
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -110,14 +110,14 @@ function FaqAccordion({ items, defaultOpenIds = [] }) {
|
|
|
110
110
|
|
|
111
111
|
var PICK_ROOT_MARGIN = "600px";
|
|
112
112
|
function faqAskCardShown(assistant) {
|
|
113
|
-
return
|
|
113
|
+
return _chunkPS6T65KAcjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
|
|
114
114
|
}
|
|
115
115
|
function FaqAskCard({ topic, exclude, count, title, description, onOpen }) {
|
|
116
|
-
const { ref, inView } =
|
|
116
|
+
const { ref, inView } = _chunkCSJO7ZGNcjs.useInView.call(void 0, { rootMargin: PICK_ROOT_MARGIN });
|
|
117
117
|
const [reached, setReached] = _react.useState.call(void 0, false);
|
|
118
118
|
if (inView && !reached) setReached(true);
|
|
119
119
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
120
|
-
|
|
120
|
+
_chunkPS6T65KAcjs.AssistantAskPrompts,
|
|
121
121
|
{
|
|
122
122
|
variant: "card",
|
|
123
123
|
topic,
|
|
@@ -170,7 +170,7 @@ function pageFaqProps(faq) {
|
|
|
170
170
|
}
|
|
171
171
|
function buildFaqsUrl(entityType, entityId, minResults, apiBaseUrl = "", topic) {
|
|
172
172
|
const entityScoped = !!entityType && entityId !== void 0 && entityId !== null && entityId !== "";
|
|
173
|
-
return
|
|
173
|
+
return _chunkXAA5EZ5Tcjs.buildSuggestionUrl.call(void 0, "/api/faqs", {
|
|
174
174
|
apiBaseUrl,
|
|
175
175
|
entityType,
|
|
176
176
|
entityId,
|
|
@@ -191,7 +191,7 @@ function groupFaqsBySection(faqs) {
|
|
|
191
191
|
}
|
|
192
192
|
let group = byName.get(name);
|
|
193
193
|
if (!group) {
|
|
194
|
-
group = { section: name, slug:
|
|
194
|
+
group = { section: name, slug: _chunk32Q7K5OPcjs.faqSectionSlug.call(void 0, name), items: [] };
|
|
195
195
|
byName.set(name, group);
|
|
196
196
|
}
|
|
197
197
|
group.items.push(item);
|
|
@@ -236,7 +236,7 @@ function GroupedFaqList({
|
|
|
236
236
|
}
|
|
237
237
|
if (bestId) setActiveSlug(bestId);
|
|
238
238
|
},
|
|
239
|
-
{ rootMargin: `-${
|
|
239
|
+
{ rootMargin: `-${_chunkCSJO7ZGNcjs.STICKY_HEADER_OFFSET_PX}px 0px -55% 0px`, threshold: 0 }
|
|
240
240
|
);
|
|
241
241
|
for (const group of navGroupsRef.current) {
|
|
242
242
|
const el = group.slug ? document.getElementById(group.slug) : null;
|
|
@@ -246,7 +246,7 @@ function GroupedFaqList({
|
|
|
246
246
|
}, [slugKey]);
|
|
247
247
|
const [hashTarget, setHashTarget] = _react.useState.call(void 0, null);
|
|
248
248
|
_react.useEffect.call(void 0, () => {
|
|
249
|
-
const refresh = () => setHashTarget(
|
|
249
|
+
const refresh = () => setHashTarget(_chunk32Q7K5OPcjs.parseFaqHash.call(void 0, window.location.hash));
|
|
250
250
|
refresh();
|
|
251
251
|
window.addEventListener("hashchange", refresh);
|
|
252
252
|
return () => window.removeEventListener("hashchange", refresh);
|
|
@@ -263,7 +263,7 @@ function GroupedFaqList({
|
|
|
263
263
|
}, [groups, hashTarget]);
|
|
264
264
|
const accordionKeySuffix = _optionalChain([hashTarget, 'optionalAccess', _8 => _8.kind]) === "item" ? `item:${hashTarget.rawId}` : "default";
|
|
265
265
|
const scrollDep = `${groups.length}|` + (_optionalChain([hashTarget, 'optionalAccess', _9 => _9.kind]) === "item" ? `item:${hashTarget.rawId}` : _optionalChain([hashTarget, 'optionalAccess', _10 => _10.kind]) === "section" ? `section:${hashTarget.slug}` : "none");
|
|
266
|
-
|
|
266
|
+
_chunk4FWURR3Wcjs.useScrollToHash.call(void 0, scrollDep, { headerOffset: _chunkCSJO7ZGNcjs.STICKY_HEADER_OFFSET_PX });
|
|
267
267
|
const [pillSyncedHash, setPillSyncedHash] = _react.useState.call(void 0, hashTarget);
|
|
268
268
|
if (pillSyncedHash !== hashTarget) {
|
|
269
269
|
setPillSyncedHash(hashTarget);
|
|
@@ -271,8 +271,8 @@ function GroupedFaqList({
|
|
|
271
271
|
}
|
|
272
272
|
const handleJump = _react.useCallback.call(void 0, (e, slug) => {
|
|
273
273
|
e.preventDefault();
|
|
274
|
-
|
|
275
|
-
headerOffset:
|
|
274
|
+
_chunkCSJO7ZGNcjs.navigateSamePageHash.call(void 0, "#" + slug, {
|
|
275
|
+
headerOffset: _chunkCSJO7ZGNcjs.STICKY_HEADER_OFFSET_PX,
|
|
276
276
|
history: "replace"
|
|
277
277
|
});
|
|
278
278
|
}, []);
|
|
@@ -296,7 +296,7 @@ function GroupedFaqList({
|
|
|
296
296
|
const questions = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-10", children: groups.map((group) => {
|
|
297
297
|
const key = groupKey(group);
|
|
298
298
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "section", { id: _nullishCoalesce(group.slug, () => ( void 0)), className: "scroll-mt-24 space-y-4", children: [
|
|
299
|
-
group.section && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CategoryHeading, { className:
|
|
299
|
+
group.section && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CategoryHeading, { className: _chunk5MH6BRPYcjs.SECTION_HEADING_CLASS, children: group.section }),
|
|
300
300
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
301
301
|
FaqAccordion,
|
|
302
302
|
{
|
|
@@ -355,11 +355,11 @@ function FaqSection({
|
|
|
355
355
|
() => initialFaqs ? { faqs: initialFaqs } : void 0,
|
|
356
356
|
[initialFaqs]
|
|
357
357
|
);
|
|
358
|
-
const { data, dataUrl, isLoading, error } =
|
|
358
|
+
const { data, dataUrl, isLoading, error } = _chunkXAA5EZ5Tcjs.useSelfFetch.call(void 0, url, { initialData });
|
|
359
359
|
const held = dataUrl === url ? _optionalChain([data, 'optionalAccess', _15 => _15.faqs]) : void 0;
|
|
360
360
|
const faqs = _react.useMemo.call(void 0, () => _nullishCoalesce(held, () => ( [])), [held]);
|
|
361
361
|
const groups = _react.useMemo.call(void 0, () => faqs.length > 0 ? groupFaqsBySection(faqs) : [], [faqs]);
|
|
362
|
-
const titleNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className:
|
|
362
|
+
const titleNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunk5MH6BRPYcjs.SECTION_HEADING_CLASS, children: DEFAULT_HEADING_TEXT }) : heading;
|
|
363
363
|
const headingNode = showTopic && topic ? (
|
|
364
364
|
// The host's heading may arrive from a server component, still streaming: React cannot check such a
|
|
365
365
|
// node when it sits in a list of siblings and warns about a missing key. So it is the ONLY child of its
|
|
@@ -392,7 +392,7 @@ function FaqSection({
|
|
|
392
392
|
"script",
|
|
393
393
|
{
|
|
394
394
|
type: "application/ld+json",
|
|
395
|
-
dangerouslySetInnerHTML: { __html:
|
|
395
|
+
dangerouslySetInnerHTML: { __html: _chunkASMNNSUQcjs.serializeJsonLd.call(void 0, schema) }
|
|
396
396
|
}
|
|
397
397
|
)
|
|
398
398
|
] });
|