@flamingo-stack/openframe-frontend-core 0.0.327-snapshot.20260626171732 → 0.0.327
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-DCIB6AK3.cjs → chunk-27IO7V3P.cjs} +9 -9
- package/dist/{chunk-DCIB6AK3.cjs.map → chunk-27IO7V3P.cjs.map} +1 -1
- package/dist/{chunk-PZKEQNNK.cjs → chunk-3AXH7BDM.cjs} +29 -29
- package/dist/{chunk-PZKEQNNK.cjs.map → chunk-3AXH7BDM.cjs.map} +1 -1
- package/dist/{chunk-Z2TB777W.js → chunk-3UVR2JIB.js} +3 -3
- package/dist/{chunk-TAIMKJE6.js → chunk-46GJFN4V.js} +5 -5
- package/dist/{chunk-UZTGDV6N.js → chunk-4MD2TPFY.js} +2 -2
- package/dist/{chunk-5W6MKTGR.cjs → chunk-4ZHA24HS.cjs} +40 -40
- package/dist/{chunk-5W6MKTGR.cjs.map → chunk-4ZHA24HS.cjs.map} +1 -1
- package/dist/{chunk-B3YEMD6H.js → chunk-5WDRXBM3.js} +3 -3
- package/dist/{chunk-KS3NQFKW.js → chunk-62O2VTR2.js} +2 -2
- package/dist/{chunk-6SGZOIOQ.cjs → chunk-7FY2OM5W.cjs} +39 -39
- package/dist/{chunk-6SGZOIOQ.cjs.map → chunk-7FY2OM5W.cjs.map} +1 -1
- package/dist/{chunk-SWGXCGQ3.js → chunk-7KZJV4MP.js} +2 -2
- package/dist/{chunk-65VXW6GZ.js → chunk-A6NBGRGZ.js} +2 -2
- package/dist/{chunk-TAKXDI7B.cjs → chunk-BWWUHOE3.cjs} +73 -73
- package/dist/{chunk-TAKXDI7B.cjs.map → chunk-BWWUHOE3.cjs.map} +1 -1
- package/dist/{chunk-M43DVC6A.cjs → chunk-CRHOAKG5.cjs} +70 -70
- package/dist/{chunk-M43DVC6A.cjs.map → chunk-CRHOAKG5.cjs.map} +1 -1
- package/dist/{chunk-22VBCVLJ.js → chunk-CWXO6VCD.js} +3948 -4142
- package/dist/chunk-CWXO6VCD.js.map +1 -0
- package/dist/{chunk-SD36MNVP.cjs → chunk-GABTFTDE.cjs} +624 -818
- package/dist/chunk-GABTFTDE.cjs.map +1 -0
- package/dist/{chunk-CCG4DARM.cjs → chunk-GXRWE7NB.cjs} +2 -2
- package/dist/{chunk-CCG4DARM.cjs.map → chunk-GXRWE7NB.cjs.map} +1 -1
- package/dist/{chunk-7OZROCY7.cjs → chunk-HQ6BILVP.cjs} +31 -31
- package/dist/{chunk-7OZROCY7.cjs.map → chunk-HQ6BILVP.cjs.map} +1 -1
- package/dist/{chunk-OQPMYUZX.cjs → chunk-I4OFXYJR.cjs} +19 -19
- package/dist/{chunk-OQPMYUZX.cjs.map → chunk-I4OFXYJR.cjs.map} +1 -1
- package/dist/{chunk-F4WJ6G64.js → chunk-IDMM6DVL.js} +4 -4
- package/dist/{chunk-YV4PUSAJ.js → chunk-J4HHXHMC.js} +6 -6
- package/dist/{chunk-SY37FQHF.cjs → chunk-K5HBVPJ5.cjs} +3 -3
- package/dist/{chunk-SY37FQHF.cjs.map → chunk-K5HBVPJ5.cjs.map} +1 -1
- package/dist/{chunk-SC543SO2.js → chunk-LESTX5DM.js} +3 -3
- package/dist/{chunk-RVSR3M7Y.js → chunk-MJUYWNQB.js} +3 -3
- package/dist/{chunk-7FDLIPBP.cjs → chunk-MWAEG3XK.cjs} +12 -12
- package/dist/{chunk-7FDLIPBP.cjs.map → chunk-MWAEG3XK.cjs.map} +1 -1
- package/dist/{chunk-Z6WEY45X.cjs → chunk-NROSNR5J.cjs} +15 -15
- package/dist/{chunk-Z6WEY45X.cjs.map → chunk-NROSNR5J.cjs.map} +1 -1
- package/dist/{chunk-LM2P7UWU.cjs → chunk-PGFQ6WQR.cjs} +13 -13
- package/dist/{chunk-LM2P7UWU.cjs.map → chunk-PGFQ6WQR.cjs.map} +1 -1
- package/dist/{chunk-XGEF6MVM.js → chunk-QF4XERYJ.js} +2 -2
- package/dist/{chunk-P4XUTN2Z.js → chunk-U7GDY7Y3.js} +5 -5
- package/dist/{chunk-Y6AD3GJG.js → chunk-UHHJIHUZ.js} +6 -6
- package/dist/{chunk-WVIBC2M5.cjs → chunk-XDNQJQGP.cjs} +5 -5
- package/dist/{chunk-WVIBC2M5.cjs.map → chunk-XDNQJQGP.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +10 -10
- package/dist/components/case-studies/index.js +4 -4
- package/dist/components/chat/index.cjs +4 -4
- package/dist/components/chat/index.js +3 -3
- package/dist/components/contact/index.cjs +5 -5
- package/dist/components/contact/index.js +4 -4
- package/dist/components/docs/index.cjs +7 -7
- package/dist/components/docs/index.js +6 -6
- package/dist/components/embeds/index.cjs +5 -5
- package/dist/components/embeds/index.js +4 -4
- package/dist/components/faq/index.cjs +6 -6
- package/dist/components/faq/index.js +5 -5
- package/dist/components/features/index.cjs +4 -4
- package/dist/components/features/index.js +3 -3
- package/dist/components/help-center-pages/index.cjs +23 -23
- package/dist/components/help-center-pages/index.js +14 -14
- package/dist/components/icons-v2-generated/index.cjs +2 -2
- package/dist/components/icons-v2-generated/index.js +1 -1
- package/dist/components/index.cjs +125 -127
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +12 -14
- package/dist/components/index.js.map +1 -1
- package/dist/components/navigation/index.cjs +4 -4
- package/dist/components/navigation/index.js +3 -3
- package/dist/components/onboarding-guides/index.cjs +8 -8
- package/dist/components/onboarding-guides/index.js +7 -7
- package/dist/components/related-content/index.cjs +6 -6
- package/dist/components/related-content/index.js +5 -5
- package/dist/components/tickets/index.cjs +7 -7
- package/dist/components/tickets/index.js +6 -6
- package/dist/components/ui/autocomplete.d.ts +0 -5
- package/dist/components/ui/autocomplete.d.ts.map +1 -1
- package/dist/components/ui/file-upload.d.ts +1 -3
- package/dist/components/ui/file-upload.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +4 -6
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.d.ts +0 -1
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +3 -5
- package/dist/hooks/index.cjs +3 -3
- package/dist/hooks/index.js +2 -2
- package/dist/index.cjs +4 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -5
- package/package.json +1 -1
- package/src/components/ui/autocomplete.tsx +18 -50
- package/src/components/ui/file-upload.tsx +76 -74
- package/src/components/ui/index.ts +0 -1
- package/dist/chunk-22VBCVLJ.js.map +0 -1
- package/dist/chunk-SD36MNVP.cjs.map +0 -1
- package/dist/components/ui/tag-select-dropdown.d.ts +0 -36
- package/dist/components/ui/tag-select-dropdown.d.ts.map +0 -1
- package/src/components/ui/tag-select-dropdown.tsx +0 -220
- /package/dist/{chunk-Z2TB777W.js.map → chunk-3UVR2JIB.js.map} +0 -0
- /package/dist/{chunk-TAIMKJE6.js.map → chunk-46GJFN4V.js.map} +0 -0
- /package/dist/{chunk-UZTGDV6N.js.map → chunk-4MD2TPFY.js.map} +0 -0
- /package/dist/{chunk-B3YEMD6H.js.map → chunk-5WDRXBM3.js.map} +0 -0
- /package/dist/{chunk-KS3NQFKW.js.map → chunk-62O2VTR2.js.map} +0 -0
- /package/dist/{chunk-SWGXCGQ3.js.map → chunk-7KZJV4MP.js.map} +0 -0
- /package/dist/{chunk-65VXW6GZ.js.map → chunk-A6NBGRGZ.js.map} +0 -0
- /package/dist/{chunk-F4WJ6G64.js.map → chunk-IDMM6DVL.js.map} +0 -0
- /package/dist/{chunk-YV4PUSAJ.js.map → chunk-J4HHXHMC.js.map} +0 -0
- /package/dist/{chunk-SC543SO2.js.map → chunk-LESTX5DM.js.map} +0 -0
- /package/dist/{chunk-RVSR3M7Y.js.map → chunk-MJUYWNQB.js.map} +0 -0
- /package/dist/{chunk-XGEF6MVM.js.map → chunk-QF4XERYJ.js.map} +0 -0
- /package/dist/{chunk-P4XUTN2Z.js.map → chunk-U7GDY7Y3.js.map} +0 -0
- /package/dist/{chunk-Y6AD3GJG.js.map → chunk-UHHJIHUZ.js.map} +0 -0
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunk27IO7V3Pcjs = require('./chunk-27IO7V3P.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
@@ -138,7 +138,7 @@ var _chunkDCIB6AK3cjs = require('./chunk-DCIB6AK3.cjs');
|
|
|
138
138
|
|
|
139
139
|
|
|
140
140
|
|
|
141
|
-
var
|
|
141
|
+
var _chunkGXRWE7NBcjs = require('./chunk-GXRWE7NB.cjs');
|
|
142
142
|
|
|
143
143
|
|
|
144
144
|
|
|
@@ -243,7 +243,7 @@ var _chunkVRHGVLSLcjs = require('./chunk-VRHGVLSL.cjs');
|
|
|
243
243
|
|
|
244
244
|
// src/components/pagination.tsx
|
|
245
245
|
var _lucidereact = require('lucide-react');
|
|
246
|
-
var _react = require('react'); var
|
|
246
|
+
var _react = require('react'); var React113 = _interopRequireWildcard(_react); var React6 = _interopRequireWildcard(_react); var React2 = _interopRequireWildcard(_react); var React4 = _interopRequireWildcard(_react); var React3 = _interopRequireWildcard(_react); var React22 = _interopRequireWildcard(_react); var React7 = _interopRequireWildcard(_react); var React8 = _interopRequireWildcard(_react); var React10 = _interopRequireWildcard(_react); var React12 = _interopRequireWildcard(_react); var React11 = _interopRequireWildcard(_react); var React14 = _interopRequireWildcard(_react); var React13 = _interopRequireWildcard(_react); var React15 = _interopRequireWildcard(_react); var React16 = _interopRequireWildcard(_react); var React18 = _interopRequireWildcard(_react); var React17 = _interopRequireWildcard(_react); var React19 = _interopRequireWildcard(_react); var React23 = _interopRequireWildcard(_react); var React20 = _interopRequireWildcard(_react); var React24 = _interopRequireWildcard(_react); var React26 = _interopRequireWildcard(_react); var React29 = _interopRequireWildcard(_react); var React34 = _interopRequireWildcard(_react); var React33 = _interopRequireWildcard(_react); var React35 = _interopRequireWildcard(_react); var React36 = _interopRequireWildcard(_react); var React38 = _interopRequireWildcard(_react); var React37 = _interopRequireWildcard(_react); var React41 = _interopRequireWildcard(_react); var React42 = _interopRequireWildcard(_react); var React43 = _interopRequireWildcard(_react); var React47 = _interopRequireWildcard(_react); var React48 = _interopRequireWildcard(_react); var React49 = _interopRequireWildcard(_react); var React50 = _interopRequireWildcard(_react); var React51 = _interopRequireWildcard(_react); var React52 = _interopRequireWildcard(_react); var React53 = _interopRequireWildcard(_react); var React54 = _interopRequireWildcard(_react); var React55 = _interopRequireWildcard(_react); var React56 = _interopRequireWildcard(_react); var React57 = _interopRequireWildcard(_react); var React58 = _interopRequireWildcard(_react); var React59 = _interopRequireWildcard(_react); var React60 = _interopRequireWildcard(_react); var React61 = _interopRequireWildcard(_react); var React63 = _interopRequireWildcard(_react); var React64 = _interopRequireWildcard(_react); var React74 = _interopRequireWildcard(_react); var React73 = _interopRequireWildcard(_react); var React77 = _interopRequireWildcard(_react); var React78 = _interopRequireWildcard(_react); var React80 = _interopRequireWildcard(_react); var React82 = _interopRequireWildcard(_react); var React87 = _interopRequireWildcard(_react); var React90 = _interopRequireWildcard(_react); var React91 = _interopRequireWildcard(_react); var React92 = _interopRequireWildcard(_react); var React97 = _interopRequireWildcard(_react); var React96 = _interopRequireWildcard(_react); var React94 = _interopRequireWildcard(_react); var React93 = _interopRequireWildcard(_react); var React95 = _interopRequireWildcard(_react); var React98 = _interopRequireWildcard(_react); var React106 = _interopRequireWildcard(_react); var React110 = _interopRequireWildcard(_react); var React109 = _interopRequireWildcard(_react); var React112 = _interopRequireWildcard(_react); var React115 = _interopRequireWildcard(_react); var React116 = _interopRequireWildcard(_react); var React118 = _interopRequireWildcard(_react); var React119 = _interopRequireWildcard(_react); var React122 = _interopRequireWildcard(_react); var React121 = _interopRequireWildcard(_react); var React120 = _interopRequireWildcard(_react); var React124 = _interopRequireWildcard(_react); var React123 = _interopRequireWildcard(_react); var React132 = _interopRequireWildcard(_react); var React131 = _interopRequireWildcard(_react);
|
|
247
247
|
var _jsxruntime = require('react/jsx-runtime');
|
|
248
248
|
var Pagination, PaginationContent, PaginationItem, PaginationLink, PaginationEllipsis, PaginationPrevious, PaginationNext;
|
|
249
249
|
var init_pagination = _chunkVRHGVLSLcjs.__esm.call(void 0, {
|
|
@@ -335,19 +335,19 @@ var init_pagination = _chunkVRHGVLSLcjs.__esm.call(void 0, {
|
|
|
335
335
|
) })
|
|
336
336
|
] }) });
|
|
337
337
|
};
|
|
338
|
-
PaginationContent = exports.PaginationContent =
|
|
338
|
+
PaginationContent = exports.PaginationContent = React113.forwardRef(
|
|
339
339
|
({ className, ...props }, ref) => {
|
|
340
340
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { ref, className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex items-center justify-center", className), ...props });
|
|
341
341
|
}
|
|
342
342
|
);
|
|
343
343
|
PaginationContent.displayName = "PaginationContent";
|
|
344
|
-
PaginationItem = exports.PaginationItem =
|
|
344
|
+
PaginationItem = exports.PaginationItem = React113.forwardRef(
|
|
345
345
|
({ className, ...props }, ref) => {
|
|
346
346
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { ref, className: _chunkFIG2RKZFcjs.cn.call(void 0, "", className), ...props });
|
|
347
347
|
}
|
|
348
348
|
);
|
|
349
349
|
PaginationItem.displayName = "PaginationItem";
|
|
350
|
-
PaginationLink = exports.PaginationLink =
|
|
350
|
+
PaginationLink = exports.PaginationLink = React113.forwardRef(
|
|
351
351
|
({ className, ...props }, ref) => {
|
|
352
352
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
353
353
|
"button",
|
|
@@ -363,7 +363,7 @@ var init_pagination = _chunkVRHGVLSLcjs.__esm.call(void 0, {
|
|
|
363
363
|
}
|
|
364
364
|
);
|
|
365
365
|
PaginationLink.displayName = "PaginationLink";
|
|
366
|
-
PaginationEllipsis = exports.PaginationEllipsis =
|
|
366
|
+
PaginationEllipsis = exports.PaginationEllipsis = React113.forwardRef(
|
|
367
367
|
({ className, ...props }, ref) => {
|
|
368
368
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
369
369
|
"span",
|
|
@@ -380,7 +380,7 @@ var init_pagination = _chunkVRHGVLSLcjs.__esm.call(void 0, {
|
|
|
380
380
|
}
|
|
381
381
|
);
|
|
382
382
|
PaginationEllipsis.displayName = "PaginationEllipsis";
|
|
383
|
-
PaginationPrevious = exports.PaginationPrevious =
|
|
383
|
+
PaginationPrevious = exports.PaginationPrevious = React113.forwardRef(
|
|
384
384
|
({ className, ...props }, ref) => {
|
|
385
385
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQJGRP2YEcjs.Button, { ref, variant: "outline", size: "icon", className: _chunkFIG2RKZFcjs.cn.call(void 0, "h-10 w-10", className), ...props, children: [
|
|
386
386
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" }),
|
|
@@ -389,7 +389,7 @@ var init_pagination = _chunkVRHGVLSLcjs.__esm.call(void 0, {
|
|
|
389
389
|
}
|
|
390
390
|
);
|
|
391
391
|
PaginationPrevious.displayName = "PaginationPrevious";
|
|
392
|
-
PaginationNext = exports.PaginationNext =
|
|
392
|
+
PaginationNext = exports.PaginationNext = React113.forwardRef(
|
|
393
393
|
({ className, ...props }, ref) => {
|
|
394
394
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQJGRP2YEcjs.Button, { ref, variant: "outline", size: "icon", className: _chunkFIG2RKZFcjs.cn.call(void 0, "h-10 w-10", className), ...props, children: [
|
|
395
395
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" }),
|
|
@@ -505,7 +505,7 @@ function Tag({
|
|
|
505
505
|
disabled ? "cursor-not-allowed" : "hover:opacity-100"
|
|
506
506
|
),
|
|
507
507
|
"aria-label": "Remove",
|
|
508
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
508
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.XmarkCircleIcon, { className: "size-4" })
|
|
509
509
|
}
|
|
510
510
|
)
|
|
511
511
|
]
|
|
@@ -619,7 +619,7 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
619
619
|
|
|
620
620
|
function ExpandChevron({ expanded, className }) {
|
|
621
621
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
622
|
-
|
|
622
|
+
_chunkGXRWE7NBcjs.Chevron02DownIcon,
|
|
623
623
|
{
|
|
624
624
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
625
625
|
"w-4 h-4 text-ods-text-secondary shrink-0 transition-transform duration-200",
|
|
@@ -809,12 +809,12 @@ function ResultBlock({ result, className }) {
|
|
|
809
809
|
var COMMAND_BODY_KEYS = new Set(COMMAND_BODY_ARG_KEYS);
|
|
810
810
|
function renderStatusTag(status) {
|
|
811
811
|
if (status === "approved") {
|
|
812
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { label: "Approved", variant: "success", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
812
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { label: "Approved", variant: "success", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.CheckCircleIcon, { className: "w-4 h-4" }) });
|
|
813
813
|
}
|
|
814
814
|
if (status === "cancelled") {
|
|
815
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { label: "Cancelled", variant: "grey", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
815
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { label: "Cancelled", variant: "grey", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.BannedIcon, { className: "w-4 h-4" }) });
|
|
816
816
|
}
|
|
817
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { label: "Rejected", variant: "error", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
817
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { label: "Rejected", variant: "error", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.XmarkCircleIcon, { className: "w-4 h-4" }) });
|
|
818
818
|
}
|
|
819
819
|
function getArgEntries(call) {
|
|
820
820
|
const args = call.toolCallArguments;
|
|
@@ -826,9 +826,9 @@ function ExecutionStatusIcon({
|
|
|
826
826
|
execution
|
|
827
827
|
}) {
|
|
828
828
|
if (batchStatus !== "approved") return null;
|
|
829
|
-
if (!execution || execution.status === "executing") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
830
|
-
if (execution.success === false) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
831
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
829
|
+
if (!execution || execution.status === "executing") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.DotsLoaderIcon, { size: 16, className: "text-ods-text-secondary" });
|
|
830
|
+
if (execution.success === false) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.XmarkCircleIcon, { className: "w-4 h-4 text-ods-error" });
|
|
831
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.CheckCircleIcon, { className: "w-4 h-4 text-ods-success" });
|
|
832
832
|
}
|
|
833
833
|
function ToolCallRow({ call, expanded, onToggle, batchStatus, execution, showExecutionStatus }) {
|
|
834
834
|
const command = getCommandText(call);
|
|
@@ -845,7 +845,7 @@ function ToolCallRow({ call, expanded, onToggle, batchStatus, execution, showExe
|
|
|
845
845
|
onClick: onToggle,
|
|
846
846
|
className: "flex gap-2 items-start w-full p-3 cursor-pointer text-left",
|
|
847
847
|
children: [
|
|
848
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center justify-center shrink-0 w-5 h-5", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
848
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center justify-center shrink-0 w-5 h-5", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk27IO7V3Pcjs.ToolIcon, { toolType, size: 16 }) }),
|
|
849
849
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
850
850
|
"div",
|
|
851
851
|
{
|
|
@@ -987,7 +987,7 @@ var ContextCompactionDisplay = _react.forwardRef.call(void 0,
|
|
|
987
987
|
...props,
|
|
988
988
|
children: [
|
|
989
989
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-sm font-medium text-ods-text-secondary flex-1 min-w-0", children: label }),
|
|
990
|
-
isStarted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
990
|
+
isStarted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.DotsLoaderIcon, { size: 16, className: "text-ods-text-secondary" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.CheckCircleIcon, { className: "w-4 h-4 text-ods-success shrink-0" })
|
|
991
991
|
]
|
|
992
992
|
}
|
|
993
993
|
);
|
|
@@ -1319,7 +1319,7 @@ var MermaidDiagram = ({ chart }) => {
|
|
|
1319
1319
|
}, [chart, mounted]);
|
|
1320
1320
|
if (error) {
|
|
1321
1321
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "error-state bg-ods-card border border-ods-border rounded-lg p-6 my-6", children: [
|
|
1322
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "error-icon flex justify-center mb-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1322
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "error-icon flex justify-center mb-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.AlertCircleIcon, { className: "w-12 h-12 text-ods-error" }) }),
|
|
1323
1323
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "error-title text-center font-sans font-semibold text-lg text-ods-error mb-2", children: "Diagram Error" }),
|
|
1324
1324
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "error-description text-center font-sans text-sm text-ods-text-secondary mb-4 break-words overflow-hidden max-w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-x-auto", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "pre", { className: "whitespace-pre-wrap break-words text-xs", children: error }) }) })
|
|
1325
1325
|
] });
|
|
@@ -1743,7 +1743,7 @@ var ThinkingDisplay = _react.forwardRef.call(void 0,
|
|
|
1743
1743
|
label,
|
|
1744
1744
|
":"
|
|
1745
1745
|
] }),
|
|
1746
|
-
isStreaming && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1746
|
+
isStreaming && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.DotsLoaderIcon, { size: 16, className: "text-ods-text-secondary" })
|
|
1747
1747
|
] }),
|
|
1748
1748
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1 min-w-0", style: containerStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1749
1749
|
"div",
|
|
@@ -1800,7 +1800,7 @@ var ErrorMessageDisplay = _react.forwardRef.call(void 0,
|
|
|
1800
1800
|
hasDetails ? "cursor-pointer" : "cursor-default"
|
|
1801
1801
|
),
|
|
1802
1802
|
children: [
|
|
1803
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1803
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.AlertCircleIcon, { size: 16, className: _chunkFIG2RKZFcjs.cn.call(void 0, "shrink-0", iconTint[type]) }),
|
|
1804
1804
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1805
1805
|
"span",
|
|
1806
1806
|
{
|
|
@@ -2475,7 +2475,7 @@ var MenuItem = ({ item, onItemClick }) => {
|
|
|
2475
2475
|
children: item.checked && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Check, { className: "w-3 h-3 md:w-4 md:h-4 text-ods-text-on-accent", strokeWidth: 3 })
|
|
2476
2476
|
}
|
|
2477
2477
|
),
|
|
2478
|
-
item.type === "submenu" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2478
|
+
item.type === "submenu" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Chevron02RightIcon, { className: "w-4 h-4 md:w-6 md:h-6 text-ods-text-secondary" })
|
|
2479
2479
|
] });
|
|
2480
2480
|
if (renderAsLink && item.href) {
|
|
2481
2481
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: WRAPPER_CLASSES, children: [
|
|
@@ -2552,7 +2552,7 @@ var ActionsMenu = ({
|
|
|
2552
2552
|
className: `relative min-w-[256px] max-h-[var(--radix-popper-available-height)] bg-ods-bg border border-ods-border rounded-md shadow-lg overflow-y-auto ${className}`,
|
|
2553
2553
|
children: groups.map((group, groupIndex) => {
|
|
2554
2554
|
const groupKey = group.id || group.items.map((i) => i.id).join("|");
|
|
2555
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2555
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React113.default.Fragment, { children: [
|
|
2556
2556
|
group.items.map((item, itemIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2557
2557
|
MenuItem,
|
|
2558
2558
|
{
|
|
@@ -2605,7 +2605,7 @@ var ActionsMenuDropdown = ({
|
|
|
2605
2605
|
size: "icon",
|
|
2606
2606
|
"aria-label": triggerAriaLabel,
|
|
2607
2607
|
className: triggerClassName || "bg-ods-card border-ods-border hover:bg-ods-bg-hover flex items-center justify-center focus-visible:ring-0",
|
|
2608
|
-
leftIcon: _nullishCoalesce(trigger, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2608
|
+
leftIcon: _nullishCoalesce(trigger, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Ellipsis01Icon, { size: 24, className: "text-ods-text-primary" })))
|
|
2609
2609
|
}
|
|
2610
2610
|
))) }),
|
|
2611
2611
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -2772,7 +2772,7 @@ var STATUS_CONFIG = {
|
|
|
2772
2772
|
RESOLVED: {
|
|
2773
2773
|
label: "Resolved",
|
|
2774
2774
|
variant: "outline",
|
|
2775
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2775
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.CheckCircleIcon, { size: 16, color: "var(--ods-attention-green-success)" })
|
|
2776
2776
|
},
|
|
2777
2777
|
ARCHIVED: {
|
|
2778
2778
|
label: "Archived",
|
|
@@ -2911,7 +2911,7 @@ function TicketStatusTag({
|
|
|
2911
2911
|
showIcon && config.icon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex items-center justify-center size-5 shrink-0", children: config.icon }),
|
|
2912
2912
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: _nullishCoalesce(label, () => ( config.label)) })
|
|
2913
2913
|
] }),
|
|
2914
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex items-center justify-center self-stretch border-l border-ods-border px-[var(--spacing-system-xsf)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2914
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex items-center justify-center self-stretch border-l border-ods-border px-[var(--spacing-system-xsf)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Chevron02DownIcon, { className: "size-4 shrink-0" }) })
|
|
2915
2915
|
]
|
|
2916
2916
|
}
|
|
2917
2917
|
)
|
|
@@ -2990,7 +2990,7 @@ var ChatHeader = React6.forwardRef(
|
|
|
2990
2990
|
variant: "transparent",
|
|
2991
2991
|
size: "icon",
|
|
2992
2992
|
"aria-label": "Back",
|
|
2993
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2993
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Chevron02LeftIcon, { size: 24, className: "text-ods-text-primary" }),
|
|
2994
2994
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
2995
2995
|
cardClasses,
|
|
2996
2996
|
"absolute top-0 right-full mr-[var(--spacing-system-s)] hover:bg-ods-bg-hover"
|
|
@@ -3045,7 +3045,7 @@ var ChatHeader = React6.forwardRef(
|
|
|
3045
3045
|
size: "small-legacy",
|
|
3046
3046
|
"aria-label": "Close",
|
|
3047
3047
|
className: "text-ods-text-muted hover:text-ods-text-primary hover:bg-ods-bg-hover !p-1.5",
|
|
3048
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3048
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.XmarkIcon, { size: 16 })
|
|
3049
3049
|
}
|
|
3050
3050
|
),
|
|
3051
3051
|
headerActions
|
|
@@ -3298,45 +3298,45 @@ function LogoOpenframeIcon({
|
|
|
3298
3298
|
}
|
|
3299
3299
|
var ONBOARDING_ICONS = {
|
|
3300
3300
|
// Production `/api/docs/commands` keys (multi-platform-hub contract)
|
|
3301
|
-
clickup:
|
|
3302
|
-
slack:
|
|
3303
|
-
hubspot:
|
|
3304
|
-
github:
|
|
3301
|
+
clickup: _chunkGXRWE7NBcjs.ClickupLogoGreyIcon,
|
|
3302
|
+
slack: _chunkGXRWE7NBcjs.SlackLogoGreyIcon,
|
|
3303
|
+
hubspot: _chunkGXRWE7NBcjs.HubspotLogoGreyIcon,
|
|
3304
|
+
github: _chunkGXRWE7NBcjs.GithubIcon,
|
|
3305
3305
|
openframe: LogoOpenframeIcon,
|
|
3306
|
-
newspaper:
|
|
3307
|
-
rocket:
|
|
3308
|
-
briefcase:
|
|
3309
|
-
"graduation-cap":
|
|
3310
|
-
video:
|
|
3311
|
-
headphones:
|
|
3312
|
-
calendar:
|
|
3313
|
-
compass:
|
|
3306
|
+
newspaper: _chunkGXRWE7NBcjs.NewspaperIcon,
|
|
3307
|
+
rocket: _chunkGXRWE7NBcjs.Rocket02Icon,
|
|
3308
|
+
briefcase: _chunkGXRWE7NBcjs.BriefcaseIcon,
|
|
3309
|
+
"graduation-cap": _chunkGXRWE7NBcjs.GraduationCapIcon,
|
|
3310
|
+
video: _chunkGXRWE7NBcjs.VideoRecorderIcon,
|
|
3311
|
+
headphones: _chunkGXRWE7NBcjs.HeadphoneIcon,
|
|
3312
|
+
calendar: _chunkGXRWE7NBcjs.CalendarIcon,
|
|
3313
|
+
compass: _chunkGXRWE7NBcjs.CompassIcon,
|
|
3314
3314
|
// Figma-canonical aliases (node 7363:205938) — kept for Storybook
|
|
3315
3315
|
// fixtures and any older feed entries still using the long names.
|
|
3316
|
-
"clickup-logo":
|
|
3317
|
-
"clickup-logo-grey":
|
|
3318
|
-
"slack-logo":
|
|
3319
|
-
"slack-logo-grey":
|
|
3320
|
-
"hubspot-logo":
|
|
3321
|
-
"hubspot-logo-grey":
|
|
3322
|
-
"github-logo":
|
|
3316
|
+
"clickup-logo": _chunkGXRWE7NBcjs.ClickupLogoGreyIcon,
|
|
3317
|
+
"clickup-logo-grey": _chunkGXRWE7NBcjs.ClickupLogoGreyIcon,
|
|
3318
|
+
"slack-logo": _chunkGXRWE7NBcjs.SlackLogoGreyIcon,
|
|
3319
|
+
"slack-logo-grey": _chunkGXRWE7NBcjs.SlackLogoGreyIcon,
|
|
3320
|
+
"hubspot-logo": _chunkGXRWE7NBcjs.HubspotLogoGreyIcon,
|
|
3321
|
+
"hubspot-logo-grey": _chunkGXRWE7NBcjs.HubspotLogoGreyIcon,
|
|
3322
|
+
"github-logo": _chunkGXRWE7NBcjs.GithubIcon,
|
|
3323
3323
|
"logo-openframe": LogoOpenframeIcon,
|
|
3324
|
-
"rocket-01":
|
|
3325
|
-
"rocket-02":
|
|
3324
|
+
"rocket-01": _chunkGXRWE7NBcjs.Rocket02Icon,
|
|
3325
|
+
"rocket-02": _chunkGXRWE7NBcjs.Rocket02Icon,
|
|
3326
3326
|
// Generic v2-native keys — useful fall-throughs for slash commands that
|
|
3327
3327
|
// don't have a brand-specific glyph in the design.
|
|
3328
3328
|
search: _chunkWZW7C7TFcjs.SearchIcon,
|
|
3329
|
-
ticket:
|
|
3330
|
-
book:
|
|
3331
|
-
"book-open":
|
|
3332
|
-
bug:
|
|
3333
|
-
layers:
|
|
3334
|
-
file:
|
|
3335
|
-
"file-text":
|
|
3336
|
-
chats:
|
|
3337
|
-
"message-square":
|
|
3338
|
-
"message-circle":
|
|
3339
|
-
"bracket-curly":
|
|
3329
|
+
ticket: _chunkGXRWE7NBcjs.TicketIcon,
|
|
3330
|
+
book: _chunkGXRWE7NBcjs.BookIcon,
|
|
3331
|
+
"book-open": _chunkGXRWE7NBcjs.BookIcon,
|
|
3332
|
+
bug: _chunkGXRWE7NBcjs.BugIcon,
|
|
3333
|
+
layers: _chunkGXRWE7NBcjs.LayersIcon,
|
|
3334
|
+
file: _chunkGXRWE7NBcjs.FileIcon,
|
|
3335
|
+
"file-text": _chunkGXRWE7NBcjs.FileIcon,
|
|
3336
|
+
chats: _chunkGXRWE7NBcjs.ChatsIcon,
|
|
3337
|
+
"message-square": _chunkGXRWE7NBcjs.ChatsIcon,
|
|
3338
|
+
"message-circle": _chunkGXRWE7NBcjs.ChatsIcon,
|
|
3339
|
+
"bracket-curly": _chunkGXRWE7NBcjs.BracketCurlyIcon
|
|
3340
3340
|
};
|
|
3341
3341
|
function resolveFromLibrary(iconName) {
|
|
3342
3342
|
const tokens = iconName.trim().toLowerCase().replace(/_/g, "-").split("-");
|
|
@@ -3346,7 +3346,7 @@ function resolveFromLibrary(iconName) {
|
|
|
3346
3346
|
`${tokens.map(cap).join("")}Icon`,
|
|
3347
3347
|
`${tokens.map((t) => t === "ai" ? "AI" : cap(t)).join("")}Icon`
|
|
3348
3348
|
];
|
|
3349
|
-
const registry =
|
|
3349
|
+
const registry = _chunkGXRWE7NBcjs.icons_v2_generated_exports;
|
|
3350
3350
|
for (const name of candidates) {
|
|
3351
3351
|
const Icon2 = registry[name];
|
|
3352
3352
|
if (Icon2) return Icon2;
|
|
@@ -3354,8 +3354,8 @@ function resolveFromLibrary(iconName) {
|
|
|
3354
3354
|
return void 0;
|
|
3355
3355
|
}
|
|
3356
3356
|
function resolveOnboardingIcon(iconName) {
|
|
3357
|
-
if (!iconName) return
|
|
3358
|
-
return _nullishCoalesce(_nullishCoalesce(ONBOARDING_ICONS[iconName], () => ( resolveFromLibrary(iconName))), () => (
|
|
3357
|
+
if (!iconName) return _chunkGXRWE7NBcjs.FileIcon;
|
|
3358
|
+
return _nullishCoalesce(_nullishCoalesce(ONBOARDING_ICONS[iconName], () => ( resolveFromLibrary(iconName))), () => ( _chunkGXRWE7NBcjs.FileIcon));
|
|
3359
3359
|
}
|
|
3360
3360
|
var ONBOARDING_ICON_OPTIONS = [
|
|
3361
3361
|
// Brands
|
|
@@ -4082,7 +4082,7 @@ var ChatInput = _react.forwardRef.call(void 0, (allProps, ref) => {
|
|
|
4082
4082
|
"focus-visible:outline-none focus-visible:text-ods-accent",
|
|
4083
4083
|
"disabled:cursor-not-allowed disabled:opacity-40 disabled:hover:text-ods-text-secondary"
|
|
4084
4084
|
),
|
|
4085
|
-
children: isStopMode ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4085
|
+
children: isStopMode ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.StopCircleIcon, { size: 20 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Send01Icon, { size: 20 })
|
|
4086
4086
|
}
|
|
4087
4087
|
)
|
|
4088
4088
|
]
|
|
@@ -4127,9 +4127,9 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
|
|
|
4127
4127
|
const hasResult = isExecuted && typeof message2.result === "string" && message2.result.length > 0;
|
|
4128
4128
|
const hasBody = argEntries.length > 0 || hasResult || isExecuting;
|
|
4129
4129
|
const renderStatusIcon = () => {
|
|
4130
|
-
if (isExecuting) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4131
|
-
if (isExecuted && message2.success === true) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4132
|
-
if (isExecuted && message2.success === false) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4130
|
+
if (isExecuting) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.DotsLoaderIcon, { size: 16, className: "text-ods-text-secondary" });
|
|
4131
|
+
if (isExecuted && message2.success === true) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.CheckCircleIcon, { className: "w-4 h-4 text-ods-success" });
|
|
4132
|
+
if (isExecuted && message2.success === false) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.XmarkCircleIcon, { className: "w-4 h-4 text-ods-error" });
|
|
4133
4133
|
return null;
|
|
4134
4134
|
};
|
|
4135
4135
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -4149,7 +4149,7 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
|
|
|
4149
4149
|
className: "flex gap-[var(--spacing-system-xs)] items-start p-[var(--spacing-system-s)] cursor-pointer text-left w-full",
|
|
4150
4150
|
onClick: () => setExpanded((prev) => !prev),
|
|
4151
4151
|
children: [
|
|
4152
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center justify-center shrink-0 w-5 h-5", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4152
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center justify-center shrink-0 w-5 h-5", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk27IO7V3Pcjs.ToolIcon, { toolType: integratedToolType, size: 16 }) }),
|
|
4153
4153
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4154
4154
|
"div",
|
|
4155
4155
|
{
|
|
@@ -4170,7 +4170,7 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
|
|
|
4170
4170
|
hasResult && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ResultBlock, { result: message2.result }),
|
|
4171
4171
|
isExecuting && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-1 items-start w-full", children: [
|
|
4172
4172
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary", children: "Result:" }),
|
|
4173
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4173
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.DotsLoaderIcon, { size: 16, className: "text-ods-text-secondary" })
|
|
4174
4174
|
] })
|
|
4175
4175
|
] }) }) })
|
|
4176
4176
|
]
|
|
@@ -4359,7 +4359,7 @@ function ContextItemsList({
|
|
|
4359
4359
|
onClick: () => onToggle(item),
|
|
4360
4360
|
label: item.label,
|
|
4361
4361
|
title: !selected && atLimit ? "Selection limit reached" : void 0,
|
|
4362
|
-
trailing: selected ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4362
|
+
trailing: selected ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.CheckFillIcon, { className: "size-4 shrink-0 text-ods-accent md:size-6" }) : void 0
|
|
4363
4363
|
},
|
|
4364
4364
|
itemKey(item)
|
|
4365
4365
|
);
|
|
@@ -4422,7 +4422,7 @@ function ChatComposerPlusMenu({
|
|
|
4422
4422
|
open ? "text-ods-accent" : "text-ods-text-secondary hover:text-ods-text-primary active:text-ods-accent",
|
|
4423
4423
|
"focus-visible:text-ods-text-primary disabled:cursor-not-allowed disabled:opacity-40"
|
|
4424
4424
|
),
|
|
4425
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4425
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.PlusIcon, { className: "h-6 w-6" })
|
|
4426
4426
|
}
|
|
4427
4427
|
),
|
|
4428
4428
|
dropdown
|
|
@@ -4551,12 +4551,12 @@ function ChatContextPicker({
|
|
|
4551
4551
|
config.onUploadFile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4552
4552
|
ContextMenuRow,
|
|
4553
4553
|
{
|
|
4554
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4554
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Upload02Icon, { size: 24 }),
|
|
4555
4555
|
label: "Upload File",
|
|
4556
4556
|
onClick: () => _optionalChain([config, 'access', _67 => _67.onUploadFile, 'optionalCall', _68 => _68()])
|
|
4557
4557
|
}
|
|
4558
4558
|
),
|
|
4559
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContextMenuRow, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4559
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContextMenuRow, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.PackagePlusIcon, { size: 24 }), label: "Assign Item", onClick: () => setView("types") })
|
|
4560
4560
|
] })
|
|
4561
4561
|
) : view === "types" ? (
|
|
4562
4562
|
/* Level 1 — Back + entity-type list (Figma 31:28708). Back stays pinned;
|
|
@@ -4569,7 +4569,7 @@ function ChatContextPicker({
|
|
|
4569
4569
|
onClick: () => setView("root"),
|
|
4570
4570
|
className: _chunkFIG2RKZFcjs.cn.call(void 0, CONTEXT_BACK_CLASS, "sticky top-0 z-10"),
|
|
4571
4571
|
children: [
|
|
4572
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4572
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Chevron02LeftIcon, { size: 24, className: "shrink-0" }),
|
|
4573
4573
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: "Back" })
|
|
4574
4574
|
]
|
|
4575
4575
|
}
|
|
@@ -4580,7 +4580,7 @@ function ChatContextPicker({
|
|
|
4580
4580
|
/* Level 2 — Back + search + HOST-rendered items (Figma 31:29102). */
|
|
4581
4581
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
4582
4582
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "button", { type: "button", onClick: backToTypes, className: _chunkFIG2RKZFcjs.cn.call(void 0, CONTEXT_BACK_CLASS, "sticky top-0 z-10"), children: [
|
|
4583
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4583
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Chevron02LeftIcon, { size: 24, className: "shrink-0" }),
|
|
4584
4584
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: "Back" })
|
|
4585
4585
|
] }),
|
|
4586
4586
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-2 border-b border-ods-border bg-ods-card p-3", children: [
|
|
@@ -4674,7 +4674,7 @@ function ChatContextChipStrip({
|
|
|
4674
4674
|
disabled,
|
|
4675
4675
|
"aria-label": `Remove ${item.label}`,
|
|
4676
4676
|
className: "flex size-4 shrink-0 items-center justify-center text-ods-text-secondary outline-none transition-colors hover:text-ods-text-primary focus-visible:text-ods-text-primary disabled:cursor-not-allowed disabled:opacity-40 [&_svg]:size-4",
|
|
4677
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4677
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.XmarkCircleIcon, { size: 16 })
|
|
4678
4678
|
}
|
|
4679
4679
|
)
|
|
4680
4680
|
]
|
|
@@ -4761,7 +4761,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
4761
4761
|
cache.set(key, entry);
|
|
4762
4762
|
}
|
|
4763
4763
|
const rendered = entry.node;
|
|
4764
|
-
if (
|
|
4764
|
+
if (React113.default.isValidElement(rendered) && rendered.type === BlockCard) {
|
|
4765
4765
|
const props2 = rendered.props;
|
|
4766
4766
|
const markerEnd = match2.index + match2[0].length;
|
|
4767
4767
|
parts.push({ kind: "text", text: text.slice(cursor, markerEnd) });
|
|
@@ -5484,7 +5484,7 @@ var ChatMessageList = _react.forwardRef.call(void 0,
|
|
|
5484
5484
|
role: "status",
|
|
5485
5485
|
"aria-live": "polite",
|
|
5486
5486
|
children: [
|
|
5487
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5487
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.DotsLoaderIcon, { className: "w-6 h-6" }),
|
|
5488
5488
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CyclingPhrase, { words: STREAMING_WORDS, className: "text-sm" })
|
|
5489
5489
|
]
|
|
5490
5490
|
}
|
|
@@ -5682,7 +5682,7 @@ function ChatQuickActionRow({
|
|
|
5682
5682
|
chips,
|
|
5683
5683
|
className
|
|
5684
5684
|
}) {
|
|
5685
|
-
const auto =
|
|
5685
|
+
const auto = _chunk27IO7V3Pcjs.useAutoLimitTags.call(void 0, {
|
|
5686
5686
|
count: chips.length,
|
|
5687
5687
|
reserveInputWidth: false
|
|
5688
5688
|
});
|
|
@@ -5726,7 +5726,7 @@ function ChatQuickActionRow({
|
|
|
5726
5726
|
type: "button",
|
|
5727
5727
|
"aria-label": "More quick actions",
|
|
5728
5728
|
className: "shrink-0 rounded-md focus:outline-none focus-visible:ring-2 focus-visible:ring-ods-accent",
|
|
5729
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { variant: "outline", label: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5729
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { variant: "outline", label: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Ellipsis01Icon, { size: 16 }) })
|
|
5730
5730
|
}
|
|
5731
5731
|
)
|
|
5732
5732
|
}
|
|
@@ -5847,7 +5847,7 @@ var ChatTicketItem = React11.forwardRef(
|
|
|
5847
5847
|
{
|
|
5848
5848
|
label: ticket.linkedTaskLabel,
|
|
5849
5849
|
variant: "outline",
|
|
5850
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5850
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.WrenchIcon, { size: 14, color: "var(--ods-text-secondary)" }),
|
|
5851
5851
|
className: "shrink-0 hidden sm:inline-flex"
|
|
5852
5852
|
}
|
|
5853
5853
|
),
|
|
@@ -6135,7 +6135,7 @@ function MingoChatHistoryRow({
|
|
|
6135
6135
|
size: "icon",
|
|
6136
6136
|
"aria-label": "Chat actions",
|
|
6137
6137
|
className: "h-full md:h-full rounded-none p-0 text-ods-text-secondary hover:text-ods-text-primary",
|
|
6138
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6138
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Ellipsis01Icon, {})
|
|
6139
6139
|
}
|
|
6140
6140
|
)
|
|
6141
6141
|
}
|
|
@@ -6191,7 +6191,7 @@ function DialogSearchBar({
|
|
|
6191
6191
|
onSearchChange
|
|
6192
6192
|
}) {
|
|
6193
6193
|
const [value, setValue] = React13.useState(_nullishCoalesce(initialValue, () => ( "")));
|
|
6194
|
-
const debounced =
|
|
6194
|
+
const debounced = _chunk27IO7V3Pcjs.useDebounce.call(void 0, value, 300);
|
|
6195
6195
|
const lastEmitted = React13.useRef(_nullishCoalesce(initialValue, () => ( "")));
|
|
6196
6196
|
React13.useEffect(() => {
|
|
6197
6197
|
if (debounced === lastEmitted.current) return;
|
|
@@ -6336,12 +6336,12 @@ var DEFAULT_SUBTITLE = "Ready to help with your technical tasks. What can I do f
|
|
|
6336
6336
|
var DEFAULT_FEATURE_CARDS = [
|
|
6337
6337
|
{
|
|
6338
6338
|
id: "answers",
|
|
6339
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6339
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Rocket01Icon, { size: 16 }),
|
|
6340
6340
|
text: "Get instant answers about\ndevices, tickets, and clients"
|
|
6341
6341
|
},
|
|
6342
6342
|
{
|
|
6343
6343
|
id: "scripts",
|
|
6344
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6344
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.BracketCurlyIcon, { size: 16 }),
|
|
6345
6345
|
text: "Run scripts and queries\nthrough natural language"
|
|
6346
6346
|
},
|
|
6347
6347
|
{
|
|
@@ -6351,7 +6351,7 @@ var DEFAULT_FEATURE_CARDS = [
|
|
|
6351
6351
|
},
|
|
6352
6352
|
{
|
|
6353
6353
|
id: "delegate",
|
|
6354
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6354
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.LayersIcon, { size: 16 }),
|
|
6355
6355
|
text: "Delegate tasks, let Mingo\nwork in the background"
|
|
6356
6356
|
}
|
|
6357
6357
|
];
|
|
@@ -6431,7 +6431,7 @@ function MingoWelcome({
|
|
|
6431
6431
|
),
|
|
6432
6432
|
children: [
|
|
6433
6433
|
_nullishCoalesce(dialogHistory, () => ( (loadError ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 min-h-0 flex-col items-center justify-center gap-[var(--spacing-system-m)] text-center", children: [
|
|
6434
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6434
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.AlertCircleIcon, { className: "h-8 w-8 text-ods-text-secondary shrink-0" }),
|
|
6435
6435
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
6436
6436
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-primary", children: "Couldn\u2019t load your chats" }),
|
|
6437
6437
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-body-sm text-ods-text-secondary", children: "Something went wrong reaching the server. Check your connection and try again." })
|
|
@@ -6441,7 +6441,7 @@ function MingoWelcome({
|
|
|
6441
6441
|
{
|
|
6442
6442
|
variant: "outline",
|
|
6443
6443
|
size: "small",
|
|
6444
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6444
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Refresh01RightIcon, {}),
|
|
6445
6445
|
onClick: onRetry,
|
|
6446
6446
|
children: "Try again"
|
|
6447
6447
|
}
|
|
@@ -6516,7 +6516,7 @@ function MingoWelcome({
|
|
|
6516
6516
|
] }) })))),
|
|
6517
6517
|
showPinnedRegion && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 flex-col gap-[var(--spacing-system-m)]", children: [
|
|
6518
6518
|
resolvedPromo && !promoDismissed && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative shrink-0 flex items-center gap-[var(--spacing-system-m)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-m)] pr-[var(--spacing-system-xl)]", children: [
|
|
6519
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "hidden @2xl:flex size-4 shrink-0 items-center justify-center text-ods-text-primary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6519
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "hidden @2xl:flex size-4 shrink-0 items-center justify-center text-ods-text-primary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Arrow01DownIcon, { size: 16 }) }),
|
|
6520
6520
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col items-start gap-1", children: [
|
|
6521
6521
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h3 text-ods-text-primary", children: resolvedPromo.title }),
|
|
6522
6522
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h6 text-ods-text-secondary", children: resolvedPromo.description })
|
|
@@ -6528,7 +6528,7 @@ function MingoWelcome({
|
|
|
6528
6528
|
onClick: dismissPromo,
|
|
6529
6529
|
"aria-label": "Dismiss",
|
|
6530
6530
|
className: "absolute right-2 top-2 text-ods-text-secondary transition-colors hover:text-ods-text-primary focus:outline-none focus-visible:ring-2 focus-visible:ring-ods-accent rounded-sm",
|
|
6531
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6531
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.XmarkIcon, { size: 16 })
|
|
6532
6532
|
}
|
|
6533
6533
|
)
|
|
6534
6534
|
] }),
|
|
@@ -6545,7 +6545,7 @@ function MingoWelcome({
|
|
|
6545
6545
|
Tag,
|
|
6546
6546
|
{
|
|
6547
6547
|
variant: hasExistingChats ? "outline" : "primary",
|
|
6548
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6548
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.CompassIcon, { size: 16 }),
|
|
6549
6549
|
label: "Start Guide Chat"
|
|
6550
6550
|
}
|
|
6551
6551
|
)
|
|
@@ -6705,7 +6705,7 @@ function MspOrganizationCard({
|
|
|
6705
6705
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-h3 text-ods-text-primary", children: _nullishCoalesce(title, () => ( `Your IT is managed by ${name}`)) }),
|
|
6706
6706
|
website ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-h4 text-ods-text-secondary", children: website }) : null
|
|
6707
6707
|
] }),
|
|
6708
|
-
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQJGRP2YEcjs.Button, { asChild: true, variant: "outline", size: "icon", "aria-label": actionLabel, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noreferrer noopener", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6708
|
+
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQJGRP2YEcjs.Button, { asChild: true, variant: "outline", size: "icon", "aria-label": actionLabel, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noreferrer noopener", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.ExternalLinkIcon, {}) }) }) : onOpenWebsite ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQJGRP2YEcjs.Button, { variant: "outline", size: "icon", "aria-label": actionLabel, onClick: onOpenWebsite, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.ExternalLinkIcon, {}) }) : null
|
|
6709
6709
|
]
|
|
6710
6710
|
}
|
|
6711
6711
|
);
|
|
@@ -6779,7 +6779,7 @@ function GuideModeBanner({
|
|
|
6779
6779
|
className
|
|
6780
6780
|
),
|
|
6781
6781
|
children: [
|
|
6782
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6782
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.CompassIcon, { size: 16, className: "shrink-0 text-ods-text-on-accent" }),
|
|
6783
6783
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "flex-1 truncate text-h5 uppercase text-ods-text-on-accent", children: label }),
|
|
6784
6784
|
tooltip != null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Tooltip, { children: [
|
|
6785
6785
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -6788,7 +6788,7 @@ function GuideModeBanner({
|
|
|
6788
6788
|
type: "button",
|
|
6789
6789
|
"aria-label": "About Guide Mode",
|
|
6790
6790
|
className: "shrink-0 rounded-sm text-ods-text-on-accent focus:outline-none focus-visible:ring-2 focus-visible:ring-ods-text-on-accent",
|
|
6791
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6791
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.QuestionCircleIcon, { size: 16 })
|
|
6792
6792
|
}
|
|
6793
6793
|
) }),
|
|
6794
6794
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -6915,7 +6915,7 @@ var ModalHeader = React17.forwardRef(
|
|
|
6915
6915
|
onClick: onClose,
|
|
6916
6916
|
className: "hidden md:flex shrink-0 text-ods-text-secondary hover:text-ods-text-primary transition-colors",
|
|
6917
6917
|
"aria-label": "Close",
|
|
6918
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6918
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.XmarkIcon, { className: "size-6" })
|
|
6919
6919
|
}
|
|
6920
6920
|
)
|
|
6921
6921
|
]
|
|
@@ -7106,7 +7106,7 @@ function ChatPanelHeaderMobile({
|
|
|
7106
7106
|
className
|
|
7107
7107
|
}) {
|
|
7108
7108
|
const menuItems = [
|
|
7109
|
-
!showBack && onOpenArchive && { id: "open-archive", label: "Chat archive", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7109
|
+
!showBack && onOpenArchive && { id: "open-archive", label: "Chat archive", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.ClockHistoryIcon, { className: "w-full h-full" }), onClick: onOpenArchive },
|
|
7110
7110
|
isArchivedView && onRestore && { id: "unarchive", label: "Unarchive chat", onClick: onRestore },
|
|
7111
7111
|
!isArchivedView && onRename && { id: "rename", label: "Rename chat", onClick: onRename },
|
|
7112
7112
|
!isArchivedView && onArchive && { id: "archive", label: "Archive chat", onClick: onArchive }
|
|
@@ -7128,7 +7128,7 @@ function ChatPanelHeaderMobile({
|
|
|
7128
7128
|
"aria-label": backAriaLabel,
|
|
7129
7129
|
onClick: onBack,
|
|
7130
7130
|
className: "shrink-0",
|
|
7131
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7131
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Chevron02LeftIcon, {})
|
|
7132
7132
|
}
|
|
7133
7133
|
),
|
|
7134
7134
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 min-w-0 items-end gap-[var(--spacing-system-m)] pt-[var(--spacing-system-xl)]", children: [
|
|
@@ -7192,23 +7192,23 @@ function ChatPanelHeader({
|
|
|
7192
7192
|
onClick: onBack,
|
|
7193
7193
|
"aria-label": backAriaLabel,
|
|
7194
7194
|
className: `${COMPACT_HEADER_BUTTON} -ml-1`,
|
|
7195
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7195
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Chevron01LeftIcon, { size: 20 })
|
|
7196
7196
|
}
|
|
7197
7197
|
),
|
|
7198
7198
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-h3 text-ods-text-primary", children: title })
|
|
7199
7199
|
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-h3 text-ods-text-primary", children: title }) }),
|
|
7200
|
-
isArchivedView && onRestore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7200
|
+
isArchivedView && onRestore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Refresh01LeftIcon, { size: 24 }) }),
|
|
7201
7201
|
showBack && !isArchivedView && menuItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7202
7202
|
ActionsMenuDropdown,
|
|
7203
7203
|
{
|
|
7204
7204
|
triggerAriaLabel: "Chat actions",
|
|
7205
7205
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
7206
7206
|
groups: [{ items: menuItems }],
|
|
7207
|
-
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { "aria-label": "Chat actions", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7207
|
+
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { "aria-label": "Chat actions", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Ellipsis01Icon, { size: 24 }) })
|
|
7208
7208
|
}
|
|
7209
7209
|
),
|
|
7210
|
-
!showBack && onOpenArchive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onOpenArchive, "aria-label": "Chat archive", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7211
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onClose, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7210
|
+
!showBack && onOpenArchive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onOpenArchive, "aria-label": "Chat archive", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.ClockHistoryIcon, { size: 24 }) }),
|
|
7211
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onClose, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.XmarkIcon, { size: 24 }) })
|
|
7212
7212
|
] })
|
|
7213
7213
|
] });
|
|
7214
7214
|
}
|
|
@@ -7338,7 +7338,7 @@ function ChatAttachmentAddButton({
|
|
|
7338
7338
|
disabled: !canAddMore,
|
|
7339
7339
|
"aria-label": canAddMore ? "Add attachments" : "Attachment limit reached",
|
|
7340
7340
|
title: canAddMore ? "Add attachments" : `Limit reached (${CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER})`,
|
|
7341
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7341
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.PlusIcon, { className: compact ? "h-3.5 w-3.5" : "h-4 w-4" }),
|
|
7342
7342
|
className: _chunkFIG2RKZFcjs.cn.call(void 0, "!p-0 shrink-0 text-ods-text-muted hover:text-ods-text-primary", compact ? "!h-6 !w-6" : "!h-7 !w-7")
|
|
7343
7343
|
}
|
|
7344
7344
|
)
|
|
@@ -7420,7 +7420,7 @@ function AttachmentChip({ attachment, onRemove, disabled, size = "default" }) {
|
|
|
7420
7420
|
onClick: onRemove,
|
|
7421
7421
|
disabled,
|
|
7422
7422
|
"aria-label": `Remove ${file.name}`,
|
|
7423
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7423
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.XmarkIcon, { className: compact ? "h-3 w-3" : "h-3.5 w-3.5" }),
|
|
7424
7424
|
className: _chunkFIG2RKZFcjs.cn.call(void 0, "!p-0 shrink-0 text-ods-text-muted hover:text-ods-text-primary", compact ? "!h-4 !w-4" : "!h-5 !w-5")
|
|
7425
7425
|
}
|
|
7426
7426
|
)
|
|
@@ -7481,14 +7481,14 @@ var getProviderIcon = (provider) => {
|
|
|
7481
7481
|
switch (providerLower) {
|
|
7482
7482
|
case "anthropic":
|
|
7483
7483
|
case "claude":
|
|
7484
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7484
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.AnthropicLogoGreyIcon, { className: "w-4 h-4" });
|
|
7485
7485
|
case "openai":
|
|
7486
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7486
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.OpenaiLogoGreyIcon, { size: 16, color: "currentColor" });
|
|
7487
7487
|
case "google":
|
|
7488
7488
|
case "gemini":
|
|
7489
7489
|
case "google-gemini":
|
|
7490
7490
|
case "google_gemini":
|
|
7491
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7491
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.GeminiLogoGreyIcon, { size: 16 });
|
|
7492
7492
|
default:
|
|
7493
7493
|
return null;
|
|
7494
7494
|
}
|
|
@@ -7505,7 +7505,7 @@ var formatTokenCount = (count) => {
|
|
|
7505
7505
|
return String(count);
|
|
7506
7506
|
};
|
|
7507
7507
|
var hasAnyBreakdownRow = (breakdown) => !!breakdown && !!(breakdown.haikuRewriter || breakdown.haikuClassifier || breakdown.haikuSummarizer);
|
|
7508
|
-
var ModelDisplay =
|
|
7508
|
+
var ModelDisplay = React113.default.forwardRef(
|
|
7509
7509
|
({
|
|
7510
7510
|
className,
|
|
7511
7511
|
provider,
|
|
@@ -7627,7 +7627,7 @@ function BreakdownRow({
|
|
|
7627
7627
|
] });
|
|
7628
7628
|
}
|
|
7629
7629
|
ModelDisplay.displayName = "ModelDisplay";
|
|
7630
|
-
var ModelDisplaySkeleton =
|
|
7630
|
+
var ModelDisplaySkeleton = React113.default.forwardRef(
|
|
7631
7631
|
({ className, showTokens = false, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
7632
7632
|
"div",
|
|
7633
7633
|
{
|
|
@@ -7730,7 +7730,7 @@ function ChatComposer({
|
|
|
7730
7730
|
},
|
|
7731
7731
|
children: [
|
|
7732
7732
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatFooter, { className: "!p-0", fullWidth: true, children: archived ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-center gap-[var(--spacing-system-xs)] rounded-md border border-ods-border bg-ods-card p-[var(--spacing-system-sf)]", children: [
|
|
7733
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7733
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.BoxArchiveIcon, { size: 24, className: "shrink-0 text-ods-text-secondary" }),
|
|
7734
7734
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-h4 text-ods-text-secondary", children: "Unarchive the chat to continue" })
|
|
7735
7735
|
] }) : contextEnabled ? (
|
|
7736
7736
|
// Unified card (Figma 1:6073): a context-chip header strip
|
|
@@ -7805,12 +7805,12 @@ function ChatArchivePage({
|
|
|
7805
7805
|
onClick: onBack,
|
|
7806
7806
|
"aria-label": "Back",
|
|
7807
7807
|
className: `${COMPACT_HEADER_BUTTON} -ml-1`,
|
|
7808
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7808
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Chevron02LeftIcon, { size: 20 })
|
|
7809
7809
|
}
|
|
7810
7810
|
),
|
|
7811
7811
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-h3 text-ods-text-primary", children: "Chat Archive" })
|
|
7812
7812
|
] }),
|
|
7813
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onClose, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7813
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onClose, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.XmarkIcon, { size: 24 }) })
|
|
7814
7814
|
] }),
|
|
7815
7815
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-1 min-h-0 flex-col p-[var(--spacing-system-m)]", children: dialogs.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7816
7816
|
MingoChatHistory,
|
|
@@ -7837,7 +7837,7 @@ function ChatArchivePage({
|
|
|
7837
7837
|
// mirroring the panel's other empty surfaces (icon in a muted token,
|
|
7838
7838
|
// h-scale title, secondary body copy). Pure ODS tokens.
|
|
7839
7839
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col items-center justify-center gap-[var(--spacing-system-s)] px-[var(--spacing-system-l)] text-center", children: [
|
|
7840
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex size-14 items-center justify-center rounded-full bg-ods-bg-secondary text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7840
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex size-14 items-center justify-center rounded-full bg-ods-bg-secondary text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.BoxArchiveIcon, { size: 28 }) }),
|
|
7841
7841
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
7842
7842
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h3 text-ods-text-primary", children: "No archived chats" }),
|
|
7843
7843
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "max-w-xs text-h5 text-ods-text-secondary", children: "Chats you archive will appear here. Archive a chat from its actions menu to tuck it away without deleting it." })
|
|
@@ -7902,7 +7902,7 @@ var ChatSidebarSkeleton = React24.forwardRef(
|
|
|
7902
7902
|
{
|
|
7903
7903
|
variant: "transparent",
|
|
7904
7904
|
disabled: true,
|
|
7905
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7905
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.ChatPlusIcon, { className: "size-6 text-ods-text-secondary" }),
|
|
7906
7906
|
className: "flex-1 justify-center text-lg font-bold text-ods-text-secondary cursor-not-allowed hover:bg-transparent",
|
|
7907
7907
|
children: "Start New Chat"
|
|
7908
7908
|
}
|
|
@@ -7956,7 +7956,7 @@ var DialogListItem = _react.forwardRef.call(void 0,
|
|
|
7956
7956
|
), title: dialog.title || "Untitled Chat", children: dialog.title || "Untitled Chat" }) }),
|
|
7957
7957
|
dialog.timestamp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm text-ods-text-secondary truncate w-full min-w-0", children: formatTimestamp2(dialog.timestamp) })
|
|
7958
7958
|
] }),
|
|
7959
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-shrink-0 ml-2", children: dialog.unreadMessagesCount && dialog.unreadMessagesCount > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-ods-accent flex items-center justify-center p-2 rounded-md size-6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-xs font-medium text-ods-text-on-accent", children: dialog.unreadMessagesCount > 99 ? "99+" : dialog.unreadMessagesCount }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7959
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-shrink-0 ml-2", children: dialog.unreadMessagesCount && dialog.unreadMessagesCount > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-ods-accent flex items-center justify-center p-2 rounded-md size-6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-xs font-medium text-ods-text-on-accent", children: dialog.unreadMessagesCount > 99 ? "99+" : dialog.unreadMessagesCount }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Chevron02RightIcon, { className: "size-6 text-ods-text-secondary" }) })
|
|
7960
7960
|
]
|
|
7961
7961
|
}
|
|
7962
7962
|
);
|
|
@@ -8016,7 +8016,7 @@ var ChatSidebar = _react.forwardRef.call(void 0,
|
|
|
8016
8016
|
onClick: onNewChat,
|
|
8017
8017
|
variant: "transparent",
|
|
8018
8018
|
disabled: isLoading || isCreatingDialog,
|
|
8019
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8019
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.ChatPlusIcon, { className: "size-6 text-ods-text-secondary" }),
|
|
8020
8020
|
className: "flex-1 justify-center text-lg font-bold text-ods-text-primary hover:bg-ods-bg-hover focus-visible:ring-0",
|
|
8021
8021
|
children: "Start New Chat"
|
|
8022
8022
|
}
|
|
@@ -8024,7 +8024,7 @@ var ChatSidebar = _react.forwardRef.call(void 0,
|
|
|
8024
8024
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1 flex flex-col min-h-0", children: showEmptyState ? (
|
|
8025
8025
|
/* Empty State */
|
|
8026
8026
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 flex flex-col items-center justify-center gap-6 p-6", children: [
|
|
8027
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8027
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.ChatsIcon, { className: "w-6 h-6 text-ods-text-secondary" }),
|
|
8028
8028
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-center space-y-2", children: [
|
|
8029
8029
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-lg font-medium text-ods-text-secondary", children: "No Current Chats" }),
|
|
8030
8030
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm font-medium text-ods-text-secondary", children: "Previous Mingo sessions will show here" })
|
|
@@ -8165,7 +8165,7 @@ function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
|
|
|
8165
8165
|
return;
|
|
8166
8166
|
}
|
|
8167
8167
|
const target = stripSameOriginToPath(href);
|
|
8168
|
-
if (target.includes("#") &&
|
|
8168
|
+
if (target.includes("#") && _chunk27IO7V3Pcjs.navigateSamePageHash.call(void 0, target, { headerOffset: _chunk27IO7V3Pcjs.STICKY_HEADER_OFFSET_PX })) {
|
|
8169
8169
|
return;
|
|
8170
8170
|
}
|
|
8171
8171
|
const handled = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _121 => _121.navigation, 'access', _122 => _122.navigate, 'optionalCall', _123 => _123({ href, path, targetPlatform })]), () => ( false));
|
|
@@ -8649,7 +8649,7 @@ function AdminContentCard({
|
|
|
8649
8649
|
const [imageError, setImageError] = _react.useState.call(void 0, false);
|
|
8650
8650
|
const [imageLoaded, setImageLoaded] = _react.useState.call(void 0, false);
|
|
8651
8651
|
const displayUrl = imageUrl && !imageError ? imageUrl : placeholderUrl;
|
|
8652
|
-
const imageBgColor =
|
|
8652
|
+
const imageBgColor = _chunk27IO7V3Pcjs.useImageEdgeColor.call(void 0, displayUrl || null, "transparent");
|
|
8653
8653
|
_react.useEffect.call(void 0, () => {
|
|
8654
8654
|
setImageLoaded(false);
|
|
8655
8655
|
}, [displayUrl]);
|
|
@@ -8826,7 +8826,7 @@ var _muxplayerreact = require('@mux/mux-player-react'); var _muxplayerreact2 = _
|
|
|
8826
8826
|
|
|
8827
8827
|
// src/utils/fetch-priority.ts
|
|
8828
8828
|
|
|
8829
|
-
var REACT_MAJOR = parseInt((
|
|
8829
|
+
var REACT_MAJOR = parseInt((React113.default.version || "0").split(".")[0], 10);
|
|
8830
8830
|
var USE_CAMEL_CASE_FETCH_PRIORITY = REACT_MAJOR >= 19;
|
|
8831
8831
|
function fetchPriorityProp(priority) {
|
|
8832
8832
|
const value = priority === void 0 ? "auto" : typeof priority === "boolean" ? priority ? "high" : "low" : priority;
|
|
@@ -9103,7 +9103,7 @@ function YouTubeFacadeInner({
|
|
|
9103
9103
|
}
|
|
9104
9104
|
)
|
|
9105
9105
|
] }),
|
|
9106
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute inset-0 flex items-center justify-center bg-ods-bg-inverse bg-opacity-20 transition-opacity duration-200 group-hover:bg-opacity-30", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex items-center justify-center w-16 h-16 rounded-full bg-ods-accent text-ods-text-on-accent shadow-lg transition-transform duration-200 group-hover:scale-110", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9106
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute inset-0 flex items-center justify-center bg-ods-bg-inverse bg-opacity-20 transition-opacity duration-200 group-hover:bg-opacity-30", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex items-center justify-center w-16 h-16 rounded-full bg-ods-accent text-ods-text-on-accent shadow-lg transition-transform duration-200 group-hover:scale-110", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.PlayIcon, { size: 24, color: "currentColor", className: "ml-1" }) }) })
|
|
9107
9107
|
]
|
|
9108
9108
|
}
|
|
9109
9109
|
) });
|
|
@@ -9295,7 +9295,7 @@ var RATIO_TO_CSS_ASPECT = {
|
|
|
9295
9295
|
landscape: "16 / 9"
|
|
9296
9296
|
};
|
|
9297
9297
|
function LazyBite({ ratio, children }) {
|
|
9298
|
-
const { ref, isNear } =
|
|
9298
|
+
const { ref, isNear } = _chunk27IO7V3Pcjs.useNearViewport.call(void 0, "500px");
|
|
9299
9299
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, style: { aspectRatio: RATIO_TO_CSS_ASPECT[ratio] }, children: isNear ? children : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full h-full bg-ods-card rounded-md" }) });
|
|
9300
9300
|
}
|
|
9301
9301
|
function VideoBitesDisplay({
|
|
@@ -9492,7 +9492,7 @@ function ChatVideoEntityCard({
|
|
|
9492
9492
|
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
9493
9493
|
|
|
9494
9494
|
|
|
9495
|
-
var InteractiveCard =
|
|
9495
|
+
var InteractiveCard = React113.default.forwardRef(
|
|
9496
9496
|
({
|
|
9497
9497
|
children,
|
|
9498
9498
|
onClick,
|
|
@@ -10128,7 +10128,7 @@ function useEntityCardPlaceholder({
|
|
|
10128
10128
|
siteName = "",
|
|
10129
10129
|
aspect = "wide"
|
|
10130
10130
|
}) {
|
|
10131
|
-
const derived =
|
|
10131
|
+
const derived = _chunk27IO7V3Pcjs.useOgPlaceholderUrl.call(void 0, { title, siteName, aspect });
|
|
10132
10132
|
return placeholderUrl !== void 0 ? placeholderUrl : derived;
|
|
10133
10133
|
}
|
|
10134
10134
|
|
|
@@ -11185,7 +11185,7 @@ AllowedDomainsInput.displayName = "AllowedDomainsInput";
|
|
|
11185
11185
|
|
|
11186
11186
|
|
|
11187
11187
|
|
|
11188
|
-
var _reactpopover = require('@radix-ui/react-popover'); var PopoverPrimitive = _interopRequireWildcard(_reactpopover); var Popover = _interopRequireWildcard(_reactpopover); var PopoverPrimitive2 = _interopRequireWildcard(_reactpopover); var PopoverPrimitive3 = _interopRequireWildcard(_reactpopover); var PopoverPrimitive4 = _interopRequireWildcard(_reactpopover); var PopoverPrimitive5 = _interopRequireWildcard(_reactpopover); var PopoverPrimitive6 = _interopRequireWildcard(_reactpopover);
|
|
11188
|
+
var _reactpopover = require('@radix-ui/react-popover'); var PopoverPrimitive = _interopRequireWildcard(_reactpopover); var Popover = _interopRequireWildcard(_reactpopover); var PopoverPrimitive2 = _interopRequireWildcard(_reactpopover); var PopoverPrimitive3 = _interopRequireWildcard(_reactpopover); var PopoverPrimitive4 = _interopRequireWildcard(_reactpopover); var PopoverPrimitive5 = _interopRequireWildcard(_reactpopover); var PopoverPrimitive6 = _interopRequireWildcard(_reactpopover);
|
|
11189
11189
|
var _reactscrollarea = require('@radix-ui/react-scroll-area'); var ScrollAreaPrimitive = _interopRequireWildcard(_reactscrollarea); var ScrollAreaPrimitive2 = _interopRequireWildcard(_reactscrollarea); var ScrollAreaPrimitive3 = _interopRequireWildcard(_reactscrollarea);
|
|
11190
11190
|
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
11191
11191
|
|
|
@@ -11227,7 +11227,7 @@ var HiddenTagsPopup = _react.forwardRef.call(void 0, function HiddenTagsPopup2({
|
|
|
11227
11227
|
},
|
|
11228
11228
|
className: "shrink-0 text-ods-text-secondary hover:text-ods-text-primary transition-colors",
|
|
11229
11229
|
"aria-label": `Remove ${String(item.label)}`,
|
|
11230
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11230
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.XmarkCircleIcon, { size: 20 })
|
|
11231
11231
|
}
|
|
11232
11232
|
)
|
|
11233
11233
|
]
|
|
@@ -11267,9 +11267,6 @@ function AutocompleteInner(props, ref) {
|
|
|
11267
11267
|
loadingText = "Loading...",
|
|
11268
11268
|
creatable = false,
|
|
11269
11269
|
onCreateOption,
|
|
11270
|
-
maxCreateLength,
|
|
11271
|
-
onDeleteOption,
|
|
11272
|
-
isDeletingOption = false,
|
|
11273
11270
|
disableClientFilter = false,
|
|
11274
11271
|
showChevron = true,
|
|
11275
11272
|
clearOnOpen = true
|
|
@@ -11301,7 +11298,7 @@ function AutocompleteInner(props, ref) {
|
|
|
11301
11298
|
}, [valueArray, options]);
|
|
11302
11299
|
const selectedOption = !multiple && selectedOptions.length > 0 ? selectedOptions[0] : null;
|
|
11303
11300
|
const inputPlaceholder = multiple ? valueArray.length === 0 ? placeholder : "Add More..." : placeholder;
|
|
11304
|
-
const autoLimitTags =
|
|
11301
|
+
const autoLimitTags = _chunk27IO7V3Pcjs.useAutoLimitTags.call(void 0, {
|
|
11305
11302
|
count: multiple ? selectedOptions.length : 0,
|
|
11306
11303
|
limitTags: multiple ? limitTagsProp : 0,
|
|
11307
11304
|
placeholder: inputPlaceholder
|
|
@@ -11349,10 +11346,9 @@ function AutocompleteInner(props, ref) {
|
|
|
11349
11346
|
);
|
|
11350
11347
|
}, [options, inputValue, filterOptions, disableClientFilter]);
|
|
11351
11348
|
const showCreateOption = creatable && inputValue.trim().length > 0 && filteredOptions.length === 0;
|
|
11352
|
-
const isCreateTooLong = maxCreateLength != null && inputValue.trim().length > maxCreateLength;
|
|
11353
11349
|
const handleCreate = () => {
|
|
11354
11350
|
const trimmed = inputValue.trim();
|
|
11355
|
-
if (!trimmed
|
|
11351
|
+
if (!trimmed) return;
|
|
11356
11352
|
const newValue = trimmed;
|
|
11357
11353
|
if (multiple) {
|
|
11358
11354
|
if (maxItems && valueArray.length >= maxItems) return;
|
|
@@ -11556,7 +11552,7 @@ function AutocompleteInner(props, ref) {
|
|
|
11556
11552
|
onClick: handleClearAll,
|
|
11557
11553
|
className: "flex items-center justify-center hover:opacity-70 transition-opacity",
|
|
11558
11554
|
"aria-label": "Clear all",
|
|
11559
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11555
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.XmarkCircleIcon, { className: "text-ods-text-secondary size-4 md:size-6" })
|
|
11560
11556
|
}
|
|
11561
11557
|
),
|
|
11562
11558
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -11568,7 +11564,7 @@ function AutocompleteInner(props, ref) {
|
|
|
11568
11564
|
)
|
|
11569
11565
|
}
|
|
11570
11566
|
) : showChevron && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11571
|
-
|
|
11567
|
+
_chunkGXRWE7NBcjs.Chevron02DownIcon,
|
|
11572
11568
|
{
|
|
11573
11569
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
11574
11570
|
"transition-all duration-200 size-4 md:size-6",
|
|
@@ -11605,17 +11601,13 @@ function AutocompleteInner(props, ref) {
|
|
|
11605
11601
|
}
|
|
11606
11602
|
},
|
|
11607
11603
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, ScrollAreaPrimitive.Root, { className: "overflow-hidden", children: [
|
|
11608
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ScrollAreaPrimitive.Viewport, { className: "max-h-[240px] w-full [&>div]:!block", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { role: "listbox", children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "px-3 py-2 text-ods-text-secondary text-[14px]", children: loadingText }) : filteredOptions.length === 0 ? showCreateOption ?
|
|
11609
|
-
"Maximum ",
|
|
11610
|
-
maxCreateLength,
|
|
11611
|
-
" characters"
|
|
11612
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11604
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ScrollAreaPrimitive.Viewport, { className: "max-h-[240px] w-full [&>div]:!block", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { role: "listbox", children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "px-3 py-2 text-ods-text-secondary text-[14px]", children: loadingText }) : filteredOptions.length === 0 ? showCreateOption ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11613
11605
|
"div",
|
|
11614
11606
|
{
|
|
11615
11607
|
role: "option",
|
|
11616
11608
|
"aria-selected": false,
|
|
11617
11609
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
11618
|
-
"flex items-center h-11 md:h-12 px-
|
|
11610
|
+
"flex items-center h-11 md:h-12 px-4 cursor-pointer transition-colors min-w-0",
|
|
11619
11611
|
"text-h4 text-ods-accent",
|
|
11620
11612
|
"hover:bg-ods-bg-hover"
|
|
11621
11613
|
),
|
|
@@ -11639,7 +11631,7 @@ function AutocompleteInner(props, ref) {
|
|
|
11639
11631
|
role: "option",
|
|
11640
11632
|
"aria-selected": isSelected,
|
|
11641
11633
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
11642
|
-
"
|
|
11634
|
+
"flex items-center h-11 md:h-12 px-4 cursor-pointer transition-colors border-b border-ods-border last:border-b-0",
|
|
11643
11635
|
"text-h4",
|
|
11644
11636
|
isHighlighted && "bg-ods-bg-surface",
|
|
11645
11637
|
isSelected ? "text-ods-accent" : "text-ods-text-primary",
|
|
@@ -11647,25 +11639,9 @@ function AutocompleteInner(props, ref) {
|
|
|
11647
11639
|
),
|
|
11648
11640
|
onClick: () => handleSelect(option),
|
|
11649
11641
|
onMouseEnter: () => setHighlightedIndex(index),
|
|
11650
|
-
children: renderOption ? renderOption(option, isSelected) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between
|
|
11642
|
+
children: renderOption ? renderOption(option, isSelected) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between w-full min-w-0", children: [
|
|
11651
11643
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", title: option.label, children: option.label }),
|
|
11652
|
-
/* @__PURE__ */ _jsxruntime.
|
|
11653
|
-
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.CheckIcon, { className: "text-ods-accent", size: 20 }),
|
|
11654
|
-
onDeleteOption && !isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11655
|
-
"button",
|
|
11656
|
-
{
|
|
11657
|
-
type: "button",
|
|
11658
|
-
"aria-label": `Delete ${option.label}`,
|
|
11659
|
-
onClick: (e) => {
|
|
11660
|
-
e.stopPropagation();
|
|
11661
|
-
onDeleteOption(option.value);
|
|
11662
|
-
},
|
|
11663
|
-
disabled: isDeletingOption,
|
|
11664
|
-
className: "opacity-0 transition-opacity group-hover/item:opacity-100 focus-visible:opacity-100 disabled:opacity-50 disabled:pointer-events-none",
|
|
11665
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.TrashIcon, { className: "size-4 text-ods-error" })
|
|
11666
|
-
}
|
|
11667
|
-
)
|
|
11668
|
-
] })
|
|
11644
|
+
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
11669
11645
|
] })
|
|
11670
11646
|
},
|
|
11671
11647
|
String(option.value)
|
|
@@ -11902,7 +11878,7 @@ var SelectTrigger = React37.forwardRef(({ className, children, invalid, label, e
|
|
|
11902
11878
|
...props,
|
|
11903
11879
|
children: [
|
|
11904
11880
|
children,
|
|
11905
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11881
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Chevron02DownIcon, { className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
11906
11882
|
"shrink-0 text-ods-text-secondary transition-all duration-200 group-data-[state=open]:rotate-180",
|
|
11907
11883
|
isInvalid ? "text-ods-error" : "group-data-[state=open]:text-ods-accent"
|
|
11908
11884
|
), size: 24 }) })
|
|
@@ -11988,7 +11964,7 @@ var SelectItem = React37.forwardRef(({ className, children, ...props }, ref) =>
|
|
|
11988
11964
|
...props,
|
|
11989
11965
|
children: [
|
|
11990
11966
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectPrimitive.ItemText, { children }),
|
|
11991
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11967
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.CheckIcon, { className: "text-ods-accent", size: 20 }) })
|
|
11992
11968
|
]
|
|
11993
11969
|
}
|
|
11994
11970
|
));
|
|
@@ -12041,7 +12017,7 @@ function DatePickerCalendar({
|
|
|
12041
12017
|
fluid = false
|
|
12042
12018
|
}) {
|
|
12043
12019
|
const today = /* @__PURE__ */ new Date();
|
|
12044
|
-
const isMdUp = _nullishCoalesce(
|
|
12020
|
+
const isMdUp = _nullishCoalesce(_chunk27IO7V3Pcjs.useMdUp.call(void 0, ), () => ( true));
|
|
12045
12021
|
const monthsToShow = isMdUp ? numberOfMonths : 1;
|
|
12046
12022
|
const [draftRange, setDraftRange] = React38.useState(
|
|
12047
12023
|
mode === "range" ? selected : void 0
|
|
@@ -13016,7 +12992,7 @@ var ProgressBar = ({
|
|
|
13016
12992
|
mobileHeight = 8,
|
|
13017
12993
|
inverted = false
|
|
13018
12994
|
}) => {
|
|
13019
|
-
const isMdUp = _nullishCoalesce(
|
|
12995
|
+
const isMdUp = _nullishCoalesce(_chunk27IO7V3Pcjs.useMdUp.call(void 0, ), () => ( true));
|
|
13020
12996
|
const effectiveSegmentWidth = isMdUp ? segmentWidth : mobileSegmentWidth;
|
|
13021
12997
|
const effectiveHeight = isMdUp ? height : mobileHeight;
|
|
13022
12998
|
const containerRef = _react.useRef.call(void 0, null);
|
|
@@ -13086,7 +13062,7 @@ function InfoCard({ data, className = "" }) {
|
|
|
13086
13062
|
data.subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h4 text-ods-text-secondary truncate self-stretch", title: data.subtitle, children: data.subtitle }),
|
|
13087
13063
|
data.items.map((item, index) => {
|
|
13088
13064
|
const values = Array.isArray(item.value) ? item.value : [item.value];
|
|
13089
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13065
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, React113.default.Fragment, { children: values.map((val, valIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13090
13066
|
InfoCardValueRow,
|
|
13091
13067
|
{
|
|
13092
13068
|
label: item.label,
|
|
@@ -13135,7 +13111,7 @@ function InfoCardFooter({ footer }) {
|
|
|
13135
13111
|
] });
|
|
13136
13112
|
}
|
|
13137
13113
|
function InfoCardValueRow({ label, value, showLabel, copyable, copyAriaLabel }) {
|
|
13138
|
-
const { copy, copied } =
|
|
13114
|
+
const { copy, copied } = _chunk27IO7V3Pcjs.useCopyToClipboard.call(void 0, );
|
|
13139
13115
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-6 items-center gap-[var(--spacing-system-xs)] self-stretch w-full", children: [
|
|
13140
13116
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h4 text-ods-text-primary whitespace-nowrap", children: showLabel ? label : "" }),
|
|
13141
13117
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1 h-px bg-ods-divider" }),
|
|
@@ -13158,7 +13134,7 @@ function InfoCardValueRow({ label, value, showLabel, copyable, copyAriaLabel })
|
|
|
13158
13134
|
copied ? "text-ods-success" : "text-ods-text-secondary hover:text-ods-text-primary"
|
|
13159
13135
|
),
|
|
13160
13136
|
"aria-label": copyAriaLabel,
|
|
13161
|
-
children: copied ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13137
|
+
children: copied ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.CheckIcon, { size: 16 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Copy01Icon, { size: 16 })
|
|
13162
13138
|
}
|
|
13163
13139
|
)
|
|
13164
13140
|
] })
|
|
@@ -13253,7 +13229,7 @@ function CompactAssigneeDropdown({
|
|
|
13253
13229
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ods-focus",
|
|
13254
13230
|
className
|
|
13255
13231
|
),
|
|
13256
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13232
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.UserPlusIcon, { className: "size-4" })
|
|
13257
13233
|
}
|
|
13258
13234
|
);
|
|
13259
13235
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, PopoverPrimitive2.Root, { open: isOpen, onOpenChange: setIsOpen, modal: false, children: [
|
|
@@ -13309,7 +13285,7 @@ function CompactAssigneeDropdown({
|
|
|
13309
13285
|
}
|
|
13310
13286
|
),
|
|
13311
13287
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex-1 truncate text-h4 text-ods-text-primary", title: opt.label, children: opt.label }),
|
|
13312
|
-
isCurrent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13288
|
+
isCurrent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.CheckIcon, { className: "size-4 shrink-0 text-ods-accent" })
|
|
13313
13289
|
]
|
|
13314
13290
|
},
|
|
13315
13291
|
opt.value
|
|
@@ -13370,7 +13346,7 @@ function DefaultAssigneeDropdown({
|
|
|
13370
13346
|
variant: "round",
|
|
13371
13347
|
className: "h-6 w-6"
|
|
13372
13348
|
}
|
|
13373
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13349
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.UserIcon, { className: "size-5 text-ods-text-secondary" }),
|
|
13374
13350
|
renderOption
|
|
13375
13351
|
}
|
|
13376
13352
|
),
|
|
@@ -13398,7 +13374,7 @@ function DefaultAssigneeDropdown({
|
|
|
13398
13374
|
onClick: () => setIsEditing(true),
|
|
13399
13375
|
className: "flex items-center gap-[var(--spacing-system-xxs)] cursor-pointer group text-left",
|
|
13400
13376
|
children: [
|
|
13401
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13377
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.PenEditIcon, { className: "size-4 shrink-0 text-ods-text-secondary group-hover:text-ods-accent transition-colors" }),
|
|
13402
13378
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h4 text-ods-text-primary truncate", title: currentAssignee.name, children: currentAssignee.name })
|
|
13403
13379
|
]
|
|
13404
13380
|
}
|
|
@@ -13415,7 +13391,7 @@ function DefaultAssigneeDropdown({
|
|
|
13415
13391
|
onClick: () => setIsEditing(true),
|
|
13416
13392
|
className: "flex items-center gap-[var(--spacing-system-xxs)] text-h4 text-ods-accent underline truncate cursor-pointer hover:opacity-80 transition-opacity text-left",
|
|
13417
13393
|
children: [
|
|
13418
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13394
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.UserIcon, { className: "size-4 shrink-0" }),
|
|
13419
13395
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Assign User" })
|
|
13420
13396
|
]
|
|
13421
13397
|
}
|
|
@@ -13598,7 +13574,7 @@ var noDataActionsVariants = _classvarianceauthority.cva.call(void 0, "overflow-h
|
|
|
13598
13574
|
|
|
13599
13575
|
// src/components/ui/no-data/no-data-message.tsx
|
|
13600
13576
|
|
|
13601
|
-
var NoDataMessage =
|
|
13577
|
+
var NoDataMessage = React113.default.forwardRef(
|
|
13602
13578
|
function NoDataMessage2({ icon, title, description, className, ...props }, ref) {
|
|
13603
13579
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13604
13580
|
"div",
|
|
@@ -13625,7 +13601,7 @@ var NoDataMessage = React114.default.forwardRef(
|
|
|
13625
13601
|
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
13626
13602
|
|
|
13627
13603
|
|
|
13628
|
-
var NoDataAction =
|
|
13604
|
+
var NoDataAction = React113.default.forwardRef(
|
|
13629
13605
|
function NoDataAction2({ icon, label, children, className, ...props }, ref) {
|
|
13630
13606
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13631
13607
|
"div",
|
|
@@ -13645,16 +13621,16 @@ var NoDataAction = React114.default.forwardRef(
|
|
|
13645
13621
|
);
|
|
13646
13622
|
}
|
|
13647
13623
|
);
|
|
13648
|
-
var NoDataActions =
|
|
13624
|
+
var NoDataActions = React113.default.forwardRef(
|
|
13649
13625
|
function NoDataActions2({ actions, variant = "outline", className, children, ...props }, ref) {
|
|
13650
|
-
const blocks = actions ? actions.map((action, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, NoDataAction, { ...action }, index)) :
|
|
13626
|
+
const blocks = actions ? actions.map((action, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, NoDataAction, { ...action }, index)) : React113.default.Children.toArray(children);
|
|
13651
13627
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13652
13628
|
"div",
|
|
13653
13629
|
{
|
|
13654
13630
|
ref,
|
|
13655
13631
|
className: _chunkFIG2RKZFcjs.cn.call(void 0, noDataActionsVariants({ variant }), "flex w-full flex-col md:w-auto md:flex-row", className),
|
|
13656
13632
|
...props,
|
|
13657
|
-
children: blocks.map((block, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13633
|
+
children: blocks.map((block, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React113.default.Fragment, { children: [
|
|
13658
13634
|
index > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13659
13635
|
"div",
|
|
13660
13636
|
{
|
|
@@ -13671,7 +13647,7 @@ var NoDataActions = React114.default.forwardRef(
|
|
|
13671
13647
|
|
|
13672
13648
|
// src/components/ui/no-data/no-data.tsx
|
|
13673
13649
|
|
|
13674
|
-
var NoData =
|
|
13650
|
+
var NoData = React113.default.forwardRef(function NoData2({
|
|
13675
13651
|
icon,
|
|
13676
13652
|
title,
|
|
13677
13653
|
description,
|
|
@@ -13959,183 +13935,6 @@ var Switch = React48.forwardRef(({ className, checked, onCheckedChange, ...props
|
|
|
13959
13935
|
});
|
|
13960
13936
|
Switch.displayName = SwitchPrimitives.Root.displayName;
|
|
13961
13937
|
|
|
13962
|
-
// src/components/ui/tag-select-dropdown.tsx
|
|
13963
|
-
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
13964
|
-
|
|
13965
|
-
|
|
13966
|
-
_chunkQJGRP2YEcjs.init_button2.call(void 0, );
|
|
13967
|
-
|
|
13968
|
-
function TagSelectDropdown({
|
|
13969
|
-
options,
|
|
13970
|
-
selectedIds,
|
|
13971
|
-
onChange,
|
|
13972
|
-
onCreate,
|
|
13973
|
-
maxCreateLength,
|
|
13974
|
-
onDelete,
|
|
13975
|
-
isCreating = false,
|
|
13976
|
-
isDeleting = false,
|
|
13977
|
-
triggerLabel = "Add Tags",
|
|
13978
|
-
searchPlaceholder = "Search or create tags...",
|
|
13979
|
-
disabled = false,
|
|
13980
|
-
align = "start",
|
|
13981
|
-
className
|
|
13982
|
-
}) {
|
|
13983
|
-
const [isOpen, setIsOpen] = React49.useState(false);
|
|
13984
|
-
const [search, setSearch] = React49.useState("");
|
|
13985
|
-
React49.useEffect(() => {
|
|
13986
|
-
if (!isOpen) setSearch("");
|
|
13987
|
-
}, [isOpen]);
|
|
13988
|
-
const query = search.trim();
|
|
13989
|
-
const filtered = React49.useMemo(() => {
|
|
13990
|
-
const q = query.toLowerCase();
|
|
13991
|
-
if (!q) return options;
|
|
13992
|
-
return options.filter((o) => o.label.toLowerCase().includes(q));
|
|
13993
|
-
}, [options, query]);
|
|
13994
|
-
const ordered = React49.useMemo(() => {
|
|
13995
|
-
const selected = filtered.filter((o) => selectedIds.includes(o.id));
|
|
13996
|
-
const rest = filtered.filter((o) => !selectedIds.includes(o.id));
|
|
13997
|
-
return [...selected, ...rest];
|
|
13998
|
-
}, [filtered, selectedIds]);
|
|
13999
|
-
const showCreate = !!onCreate && !!query && !options.some((o) => o.label.toLowerCase() === query.toLowerCase());
|
|
14000
|
-
const isCreateTooLong = maxCreateLength != null && query.length > maxCreateLength;
|
|
14001
|
-
const canCreate = showCreate && !isCreateTooLong;
|
|
14002
|
-
const toggle = (id) => {
|
|
14003
|
-
onChange(selectedIds.includes(id) ? selectedIds.filter((i) => i !== id) : [...selectedIds, id]);
|
|
14004
|
-
};
|
|
14005
|
-
const handleCreate = () => {
|
|
14006
|
-
if (!onCreate || !canCreate) return;
|
|
14007
|
-
onCreate(query);
|
|
14008
|
-
setSearch("");
|
|
14009
|
-
};
|
|
14010
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, PopoverPrimitive3.Root, { open: isOpen, onOpenChange: setIsOpen, modal: false, children: [
|
|
14011
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverPrimitive3.Trigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14012
|
-
_chunkQJGRP2YEcjs.Button,
|
|
14013
|
-
{
|
|
14014
|
-
type: "button",
|
|
14015
|
-
variant: "outline",
|
|
14016
|
-
size: "small",
|
|
14017
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.PlusIcon, {}),
|
|
14018
|
-
disabled,
|
|
14019
|
-
className: _chunkFIG2RKZFcjs.cn.call(void 0, "w-fit focus-visible:ring-0", className),
|
|
14020
|
-
children: triggerLabel
|
|
14021
|
-
}
|
|
14022
|
-
) }),
|
|
14023
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverPrimitive3.Portal, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14024
|
-
PopoverPrimitive3.Content,
|
|
14025
|
-
{
|
|
14026
|
-
align,
|
|
14027
|
-
sideOffset: 6,
|
|
14028
|
-
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
14029
|
-
"z-50 w-72 bg-ods-card border border-ods-border rounded-[6px] shadow-lg overflow-hidden",
|
|
14030
|
-
"data-[state=open]:animate-in data-[state=closed]:animate-out",
|
|
14031
|
-
"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
14032
|
-
"data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95",
|
|
14033
|
-
"data-[side=bottom]:slide-in-from-top-2 data-[side=top]:slide-in-from-bottom-2"
|
|
14034
|
-
),
|
|
14035
|
-
children: [
|
|
14036
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-b border-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14037
|
-
_chunkQJGRP2YEcjs.Input,
|
|
14038
|
-
{
|
|
14039
|
-
autoFocus: true,
|
|
14040
|
-
value: search,
|
|
14041
|
-
onChange: (e) => setSearch(e.target.value),
|
|
14042
|
-
onKeyDown: (e) => {
|
|
14043
|
-
if (e.key === "Enter" && canCreate) {
|
|
14044
|
-
e.preventDefault();
|
|
14045
|
-
handleCreate();
|
|
14046
|
-
}
|
|
14047
|
-
},
|
|
14048
|
-
placeholder: searchPlaceholder,
|
|
14049
|
-
startAdornment: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, { className: "size-4 text-ods-text-secondary" }),
|
|
14050
|
-
className: "rounded-none border-0"
|
|
14051
|
-
}
|
|
14052
|
-
) }),
|
|
14053
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "max-h-72 overflow-y-auto py-[var(--spacing-system-xs)]", role: "listbox", children: [
|
|
14054
|
-
ordered.map((opt) => {
|
|
14055
|
-
const isSelected = selectedIds.includes(opt.id);
|
|
14056
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14057
|
-
"div",
|
|
14058
|
-
{
|
|
14059
|
-
role: "option",
|
|
14060
|
-
"aria-selected": isSelected,
|
|
14061
|
-
tabIndex: 0,
|
|
14062
|
-
onClick: () => toggle(opt.id),
|
|
14063
|
-
onKeyDown: (e) => {
|
|
14064
|
-
if (e.key === "Enter" || e.key === " ") {
|
|
14065
|
-
e.preventDefault();
|
|
14066
|
-
toggle(opt.id);
|
|
14067
|
-
}
|
|
14068
|
-
},
|
|
14069
|
-
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
14070
|
-
"group/item flex items-center gap-[var(--spacing-system-xs)] w-full cursor-pointer text-left",
|
|
14071
|
-
"px-[var(--spacing-system-sf)] py-[var(--spacing-system-xs)]",
|
|
14072
|
-
"hover:bg-ods-bg-hover transition-colors",
|
|
14073
|
-
isSelected && "bg-ods-bg-hover"
|
|
14074
|
-
),
|
|
14075
|
-
children: [
|
|
14076
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14077
|
-
"span",
|
|
14078
|
-
{
|
|
14079
|
-
className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex-1 truncate text-h4", isSelected ? "text-ods-accent" : "text-ods-text-primary"),
|
|
14080
|
-
title: opt.label,
|
|
14081
|
-
children: opt.label
|
|
14082
|
-
}
|
|
14083
|
-
),
|
|
14084
|
-
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.CheckIcon, { className: "size-4 shrink-0 text-ods-accent" }),
|
|
14085
|
-
onDelete && !isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14086
|
-
"button",
|
|
14087
|
-
{
|
|
14088
|
-
type: "button",
|
|
14089
|
-
"aria-label": `Delete tag ${opt.label}`,
|
|
14090
|
-
onClick: (e) => {
|
|
14091
|
-
e.stopPropagation();
|
|
14092
|
-
onDelete(opt.id);
|
|
14093
|
-
},
|
|
14094
|
-
disabled: isDeleting,
|
|
14095
|
-
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
14096
|
-
"shrink-0 opacity-0 transition-opacity group-hover/item:opacity-100 focus-visible:opacity-100",
|
|
14097
|
-
"disabled:opacity-50 disabled:pointer-events-none"
|
|
14098
|
-
),
|
|
14099
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.TrashIcon, { className: "size-4 text-ods-error" })
|
|
14100
|
-
}
|
|
14101
|
-
)
|
|
14102
|
-
]
|
|
14103
|
-
},
|
|
14104
|
-
opt.id
|
|
14105
|
-
);
|
|
14106
|
-
}),
|
|
14107
|
-
showCreate && (isCreateTooLong ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)] w-full px-[var(--spacing-system-sf)] py-[var(--spacing-system-xs)] text-h5 text-ods-error", children: [
|
|
14108
|
-
"Maximum ",
|
|
14109
|
-
maxCreateLength,
|
|
14110
|
-
" characters"
|
|
14111
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14112
|
-
"button",
|
|
14113
|
-
{
|
|
14114
|
-
type: "button",
|
|
14115
|
-
onClick: handleCreate,
|
|
14116
|
-
disabled: isCreating,
|
|
14117
|
-
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
14118
|
-
"flex items-center gap-[var(--spacing-system-xs)] w-full px-[var(--spacing-system-sf)] py-[var(--spacing-system-xs)] text-left",
|
|
14119
|
-
"hover:bg-ods-bg-hover transition-colors disabled:opacity-50 disabled:pointer-events-none"
|
|
14120
|
-
),
|
|
14121
|
-
children: [
|
|
14122
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.PlusIcon, { className: "size-4 shrink-0 text-ods-accent" }),
|
|
14123
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex-1 truncate text-h4 text-ods-accent", title: `Create "${query}"`, children: [
|
|
14124
|
-
"Create \u201C",
|
|
14125
|
-
query,
|
|
14126
|
-
"\u201D"
|
|
14127
|
-
] })
|
|
14128
|
-
]
|
|
14129
|
-
}
|
|
14130
|
-
)),
|
|
14131
|
-
filtered.length === 0 && !showCreate && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "px-[var(--spacing-system-sf)] py-[var(--spacing-system-s)] text-h5 text-ods-text-secondary", children: "No tags found" })
|
|
14132
|
-
] })
|
|
14133
|
-
]
|
|
14134
|
-
}
|
|
14135
|
-
) })
|
|
14136
|
-
] });
|
|
14137
|
-
}
|
|
14138
|
-
|
|
14139
13938
|
// src/components/ui/tags-input.tsx
|
|
14140
13939
|
|
|
14141
13940
|
|
|
@@ -14181,7 +13980,7 @@ function TagsInput({
|
|
|
14181
13980
|
badgeClassName,
|
|
14182
13981
|
label
|
|
14183
13982
|
}) {
|
|
14184
|
-
const [inputValue, setInputValue] =
|
|
13983
|
+
const [inputValue, setInputValue] = React49.useState("");
|
|
14185
13984
|
const handleAddTag = () => {
|
|
14186
13985
|
const trimmedValue = inputValue.trim();
|
|
14187
13986
|
if (!trimmedValue) return;
|
|
@@ -14287,19 +14086,19 @@ function TagsManager({
|
|
|
14287
14086
|
disabled = false,
|
|
14288
14087
|
className
|
|
14289
14088
|
}) {
|
|
14290
|
-
const [open, setOpen] =
|
|
14291
|
-
const [search, setSearch] =
|
|
14292
|
-
const [editingId, setEditingId] =
|
|
14293
|
-
const [editingName, setEditingName] =
|
|
14294
|
-
const editInputRef =
|
|
14295
|
-
const inputRef =
|
|
14296
|
-
const containerRef =
|
|
14089
|
+
const [open, setOpen] = React50.useState(false);
|
|
14090
|
+
const [search, setSearch] = React50.useState("");
|
|
14091
|
+
const [editingId, setEditingId] = React50.useState(null);
|
|
14092
|
+
const [editingName, setEditingName] = React50.useState("");
|
|
14093
|
+
const editInputRef = React50.useRef(null);
|
|
14094
|
+
const inputRef = React50.useRef(null);
|
|
14095
|
+
const containerRef = React50.useRef(null);
|
|
14297
14096
|
const selectedTags = tags.filter((t) => selectedIds.includes(t.id));
|
|
14298
14097
|
const filtered = tags.filter(
|
|
14299
14098
|
(t) => t.name.toLowerCase().includes(search.toLowerCase())
|
|
14300
14099
|
);
|
|
14301
14100
|
const showCreateOption = onCreateTag && search.trim() && !tags.some((t) => t.name.toLowerCase() === search.trim().toLowerCase());
|
|
14302
|
-
const toggleTag =
|
|
14101
|
+
const toggleTag = React50.useCallback(
|
|
14303
14102
|
(id) => {
|
|
14304
14103
|
if (selectedIds.includes(id)) {
|
|
14305
14104
|
onChange(selectedIds.filter((i) => i !== id));
|
|
@@ -14309,7 +14108,7 @@ function TagsManager({
|
|
|
14309
14108
|
},
|
|
14310
14109
|
[selectedIds, onChange]
|
|
14311
14110
|
);
|
|
14312
|
-
const handleCreate =
|
|
14111
|
+
const handleCreate = React50.useCallback(async () => {
|
|
14313
14112
|
if (!onCreateTag) return;
|
|
14314
14113
|
const name = search.trim();
|
|
14315
14114
|
if (!name) return;
|
|
@@ -14319,22 +14118,22 @@ function TagsManager({
|
|
|
14319
14118
|
setSearch("");
|
|
14320
14119
|
}
|
|
14321
14120
|
}, [search, onCreateTag, selectedIds, onChange]);
|
|
14322
|
-
const startEdit =
|
|
14121
|
+
const startEdit = React50.useCallback((id, name) => {
|
|
14323
14122
|
setEditingId(id);
|
|
14324
14123
|
setEditingName(name);
|
|
14325
14124
|
setTimeout(() => _optionalChain([editInputRef, 'access', _265 => _265.current, 'optionalAccess', _266 => _266.focus, 'call', _267 => _267()]), 0);
|
|
14326
14125
|
}, []);
|
|
14327
|
-
const confirmEdit =
|
|
14126
|
+
const confirmEdit = React50.useCallback(async () => {
|
|
14328
14127
|
if (!onUpdateTag || !editingId || !editingName.trim()) return;
|
|
14329
14128
|
await onUpdateTag(editingId, editingName.trim());
|
|
14330
14129
|
setEditingId(null);
|
|
14331
14130
|
setEditingName("");
|
|
14332
14131
|
}, [editingId, editingName, onUpdateTag]);
|
|
14333
|
-
const cancelEdit =
|
|
14132
|
+
const cancelEdit = React50.useCallback(() => {
|
|
14334
14133
|
setEditingId(null);
|
|
14335
14134
|
setEditingName("");
|
|
14336
14135
|
}, []);
|
|
14337
|
-
const handleDelete =
|
|
14136
|
+
const handleDelete = React50.useCallback(
|
|
14338
14137
|
async (id) => {
|
|
14339
14138
|
if (!onDeleteTag) return;
|
|
14340
14139
|
await onDeleteTag(id);
|
|
@@ -14344,7 +14143,7 @@ function TagsManager({
|
|
|
14344
14143
|
},
|
|
14345
14144
|
[onDeleteTag, selectedIds, onChange]
|
|
14346
14145
|
);
|
|
14347
|
-
const handleClearAll =
|
|
14146
|
+
const handleClearAll = React50.useCallback(
|
|
14348
14147
|
(e) => {
|
|
14349
14148
|
e.stopPropagation();
|
|
14350
14149
|
onChange([]);
|
|
@@ -14353,8 +14152,8 @@ function TagsManager({
|
|
|
14353
14152
|
},
|
|
14354
14153
|
[onChange]
|
|
14355
14154
|
);
|
|
14356
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQJGRP2YEcjs.FieldWrapper, { label, className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative", ref: containerRef, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14357
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14155
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQJGRP2YEcjs.FieldWrapper, { label, className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative", ref: containerRef, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, PopoverPrimitive3.Root, { open, onOpenChange: setOpen, children: [
|
|
14156
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverPrimitive3.Anchor, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14358
14157
|
"label",
|
|
14359
14158
|
{
|
|
14360
14159
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
@@ -14427,14 +14226,14 @@ function TagsManager({
|
|
|
14427
14226
|
onClick: handleClearAll,
|
|
14428
14227
|
className: "flex-shrink-0 flex items-center justify-center hover:opacity-70 transition-opacity [&_svg]:size-4 md:[&_svg]:size-6",
|
|
14429
14228
|
"aria-label": "Clear all tags",
|
|
14430
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14229
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.XmarkCircleIcon, { className: "text-ods-text-secondary" })
|
|
14431
14230
|
}
|
|
14432
14231
|
)
|
|
14433
14232
|
]
|
|
14434
14233
|
}
|
|
14435
14234
|
) }),
|
|
14436
14235
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14437
|
-
|
|
14236
|
+
PopoverPrimitive3.Content,
|
|
14438
14237
|
{
|
|
14439
14238
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
14440
14239
|
"z-50 w-[var(--radix-popover-trigger-width)] mt-1",
|
|
@@ -14487,7 +14286,7 @@ function TagsManager({
|
|
|
14487
14286
|
size: "icon",
|
|
14488
14287
|
onClick: confirmEdit,
|
|
14489
14288
|
disabled: isUpdating,
|
|
14490
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14289
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.CheckIcon, { size: 14, className: "text-ods-success" })
|
|
14491
14290
|
}
|
|
14492
14291
|
),
|
|
14493
14292
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -14498,7 +14297,7 @@ function TagsManager({
|
|
|
14498
14297
|
size: "icon",
|
|
14499
14298
|
onClick: cancelEdit,
|
|
14500
14299
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14501
|
-
|
|
14300
|
+
_chunkGXRWE7NBcjs.XmarkIcon,
|
|
14502
14301
|
{
|
|
14503
14302
|
size: 14,
|
|
14504
14303
|
className: "text-ods-text-secondary"
|
|
@@ -14534,7 +14333,7 @@ function TagsManager({
|
|
|
14534
14333
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", title: tag.name, children: tag.name }),
|
|
14535
14334
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1 shrink-0", children: [
|
|
14536
14335
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14537
|
-
|
|
14336
|
+
_chunkGXRWE7NBcjs.CheckIcon,
|
|
14538
14337
|
{
|
|
14539
14338
|
className: "text-ods-accent",
|
|
14540
14339
|
size: 20
|
|
@@ -14552,7 +14351,7 @@ function TagsManager({
|
|
|
14552
14351
|
startEdit(tag.id, tag.name);
|
|
14553
14352
|
},
|
|
14554
14353
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14555
|
-
|
|
14354
|
+
_chunkGXRWE7NBcjs.PencilIcon,
|
|
14556
14355
|
{
|
|
14557
14356
|
size: 14,
|
|
14558
14357
|
className: "text-ods-text-secondary"
|
|
@@ -14572,7 +14371,7 @@ function TagsManager({
|
|
|
14572
14371
|
},
|
|
14573
14372
|
disabled: isDeleting,
|
|
14574
14373
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14575
|
-
|
|
14374
|
+
_chunkGXRWE7NBcjs.TrashIcon,
|
|
14576
14375
|
{
|
|
14577
14376
|
size: 14,
|
|
14578
14377
|
className: "text-ods-error"
|
|
@@ -14606,7 +14405,7 @@ function TagsManager({
|
|
|
14606
14405
|
},
|
|
14607
14406
|
children: [
|
|
14608
14407
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14609
|
-
|
|
14408
|
+
_chunkGXRWE7NBcjs.PlusIcon,
|
|
14610
14409
|
{
|
|
14611
14410
|
size: 16,
|
|
14612
14411
|
className: "text-ods-accent shrink-0"
|
|
@@ -14640,11 +14439,11 @@ function TagsManager({
|
|
|
14640
14439
|
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
14641
14440
|
|
|
14642
14441
|
|
|
14643
|
-
var Textarea =
|
|
14442
|
+
var Textarea = React51.forwardRef(
|
|
14644
14443
|
({ className, invalid = false, label, error, endIcon, endIconAsButton = false, endIconButtonProps, startIcon, hideBorder = false, ...props }, ref) => {
|
|
14645
14444
|
const isInvalid = invalid || !!error;
|
|
14646
14445
|
const hasAdornment = !!endIcon || !!startIcon;
|
|
14647
|
-
const reactId =
|
|
14446
|
+
const reactId = React51.useId();
|
|
14648
14447
|
const fieldId = _nullishCoalesce(props.id, () => ( reactId));
|
|
14649
14448
|
if (!hasAdornment) {
|
|
14650
14449
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQJGRP2YEcjs.FieldWrapper, { label, error, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -14783,7 +14582,7 @@ var _reactalertdialog = require('@radix-ui/react-alert-dialog'); var AlertDialog
|
|
|
14783
14582
|
var AlertDialog = AlertDialogPrimitive.Root;
|
|
14784
14583
|
var AlertDialogTrigger = AlertDialogPrimitive.Trigger;
|
|
14785
14584
|
var AlertDialogPortal = AlertDialogPrimitive.Portal;
|
|
14786
|
-
var AlertDialogOverlay =
|
|
14585
|
+
var AlertDialogOverlay = React52.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14787
14586
|
AlertDialogPrimitive.Overlay,
|
|
14788
14587
|
{
|
|
14789
14588
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
@@ -14795,7 +14594,7 @@ var AlertDialogOverlay = React53.forwardRef(({ className, ...props }, ref) => /*
|
|
|
14795
14594
|
}
|
|
14796
14595
|
));
|
|
14797
14596
|
AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;
|
|
14798
|
-
var AlertDialogContent =
|
|
14597
|
+
var AlertDialogContent = React52.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, AlertDialogPortal, { children: [
|
|
14799
14598
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDialogOverlay, {}),
|
|
14800
14599
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14801
14600
|
AlertDialogPrimitive.Content,
|
|
@@ -14838,7 +14637,7 @@ var AlertDialogFooter = ({
|
|
|
14838
14637
|
}
|
|
14839
14638
|
);
|
|
14840
14639
|
AlertDialogFooter.displayName = "AlertDialogFooter";
|
|
14841
|
-
var AlertDialogTitle =
|
|
14640
|
+
var AlertDialogTitle = React52.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14842
14641
|
AlertDialogPrimitive.Title,
|
|
14843
14642
|
{
|
|
14844
14643
|
ref,
|
|
@@ -14847,7 +14646,7 @@ var AlertDialogTitle = React53.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
14847
14646
|
}
|
|
14848
14647
|
));
|
|
14849
14648
|
AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;
|
|
14850
|
-
var AlertDialogDescription =
|
|
14649
|
+
var AlertDialogDescription = React52.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14851
14650
|
AlertDialogPrimitive.Description,
|
|
14852
14651
|
{
|
|
14853
14652
|
ref,
|
|
@@ -14856,7 +14655,7 @@ var AlertDialogDescription = React53.forwardRef(({ className, ...props }, ref) =
|
|
|
14856
14655
|
}
|
|
14857
14656
|
));
|
|
14858
14657
|
AlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;
|
|
14859
|
-
var AlertDialogAction =
|
|
14658
|
+
var AlertDialogAction = React52.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14860
14659
|
AlertDialogPrimitive.Action,
|
|
14861
14660
|
{
|
|
14862
14661
|
ref,
|
|
@@ -14865,7 +14664,7 @@ var AlertDialogAction = React53.forwardRef(({ className, ...props }, ref) => /*
|
|
|
14865
14664
|
}
|
|
14866
14665
|
));
|
|
14867
14666
|
AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;
|
|
14868
|
-
var AlertDialogCancel =
|
|
14667
|
+
var AlertDialogCancel = React52.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14869
14668
|
AlertDialogPrimitive.Cancel,
|
|
14870
14669
|
{
|
|
14871
14670
|
ref,
|
|
@@ -14893,7 +14692,7 @@ var Dialog = DialogPrimitive.Root;
|
|
|
14893
14692
|
var DialogTrigger = DialogPrimitive.Trigger;
|
|
14894
14693
|
var DialogPortal = DialogPrimitive.Portal;
|
|
14895
14694
|
var DialogClose = DialogPrimitive.Close;
|
|
14896
|
-
var DialogOverlay =
|
|
14695
|
+
var DialogOverlay = React53.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14897
14696
|
DialogPrimitive.Overlay,
|
|
14898
14697
|
{
|
|
14899
14698
|
ref,
|
|
@@ -14905,7 +14704,7 @@ var DialogOverlay = React54.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
|
14905
14704
|
}
|
|
14906
14705
|
));
|
|
14907
14706
|
DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
|
|
14908
|
-
var DialogContent =
|
|
14707
|
+
var DialogContent = React53.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DialogPortal, { children: [
|
|
14909
14708
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogOverlay, {}),
|
|
14910
14709
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14911
14710
|
DialogPrimitive.Content,
|
|
@@ -14931,7 +14730,7 @@ var DialogHeader = ({ className, ...props }) => /* @__PURE__ */ _jsxruntime.jsx.
|
|
|
14931
14730
|
DialogHeader.displayName = "DialogHeader";
|
|
14932
14731
|
var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex flex-col-reverse md:flex-row md:justify-end md:space-x-2", className), ...props });
|
|
14933
14732
|
DialogFooter.displayName = "DialogFooter";
|
|
14934
|
-
var DialogTitle =
|
|
14733
|
+
var DialogTitle = React53.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14935
14734
|
DialogPrimitive.Title,
|
|
14936
14735
|
{
|
|
14937
14736
|
ref,
|
|
@@ -14940,7 +14739,7 @@ var DialogTitle = React54.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
14940
14739
|
}
|
|
14941
14740
|
));
|
|
14942
14741
|
DialogTitle.displayName = DialogPrimitive.Title.displayName;
|
|
14943
|
-
var DialogDescription =
|
|
14742
|
+
var DialogDescription = React53.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive.Description, { ref, className: _chunkFIG2RKZFcjs.cn.call(void 0, "text-sm text-muted-foreground", className), ...props }));
|
|
14944
14743
|
DialogDescription.displayName = DialogPrimitive.Description.displayName;
|
|
14945
14744
|
|
|
14946
14745
|
// src/components/ui/modal.tsx
|
|
@@ -14948,7 +14747,7 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
14948
14747
|
|
|
14949
14748
|
|
|
14950
14749
|
|
|
14951
|
-
var Modal2 =
|
|
14750
|
+
var Modal2 = React54.forwardRef(
|
|
14952
14751
|
({ isOpen, onClose, children, className }, ref) => {
|
|
14953
14752
|
_react.useEffect.call(void 0, () => {
|
|
14954
14753
|
const handleKeyDown = (event) => {
|
|
@@ -14992,11 +14791,11 @@ var Modal2 = React55.forwardRef(
|
|
|
14992
14791
|
}
|
|
14993
14792
|
);
|
|
14994
14793
|
Modal2.displayName = "Modal";
|
|
14995
|
-
var ModalContent2 =
|
|
14794
|
+
var ModalContent2 = React54.forwardRef(
|
|
14996
14795
|
({ children, className }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunkFIG2RKZFcjs.cn.call(void 0, "overflow-y-auto min-h-0 flex-1", className), children })
|
|
14997
14796
|
);
|
|
14998
14797
|
ModalContent2.displayName = "ModalContent";
|
|
14999
|
-
var ModalHeader2 =
|
|
14798
|
+
var ModalHeader2 = React54.forwardRef(
|
|
15000
14799
|
({ children, className }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15001
14800
|
"div",
|
|
15002
14801
|
{
|
|
@@ -15007,7 +14806,7 @@ var ModalHeader2 = React55.forwardRef(
|
|
|
15007
14806
|
)
|
|
15008
14807
|
);
|
|
15009
14808
|
ModalHeader2.displayName = "ModalHeader";
|
|
15010
|
-
var ModalTitle2 =
|
|
14809
|
+
var ModalTitle2 = React54.forwardRef(
|
|
15011
14810
|
({ children, className }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15012
14811
|
"h2",
|
|
15013
14812
|
{
|
|
@@ -15018,7 +14817,7 @@ var ModalTitle2 = React55.forwardRef(
|
|
|
15018
14817
|
)
|
|
15019
14818
|
);
|
|
15020
14819
|
ModalTitle2.displayName = "ModalTitle";
|
|
15021
|
-
var ModalFooter2 =
|
|
14820
|
+
var ModalFooter2 = React54.forwardRef(
|
|
15022
14821
|
({ children, className }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15023
14822
|
"div",
|
|
15024
14823
|
{
|
|
@@ -15035,7 +14834,7 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
15035
14834
|
|
|
15036
14835
|
var _reactseparator = require('@radix-ui/react-separator'); var SeparatorPrimitive = _interopRequireWildcard(_reactseparator);
|
|
15037
14836
|
|
|
15038
|
-
var Separator2 =
|
|
14837
|
+
var Separator2 = React55.forwardRef(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15039
14838
|
SeparatorPrimitive.Root,
|
|
15040
14839
|
{
|
|
15041
14840
|
ref,
|
|
@@ -15058,7 +14857,7 @@ var Sheet = SheetPrimitive.Root;
|
|
|
15058
14857
|
var SheetTrigger = SheetPrimitive.Trigger;
|
|
15059
14858
|
var SheetClose = SheetPrimitive.Close;
|
|
15060
14859
|
var SheetPortal = SheetPrimitive.Portal;
|
|
15061
|
-
var SheetOverlay =
|
|
14860
|
+
var SheetOverlay = React56.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15062
14861
|
SheetPrimitive.Overlay,
|
|
15063
14862
|
{
|
|
15064
14863
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
@@ -15086,7 +14885,7 @@ var sheetVariants = _classvarianceauthority.cva.call(void 0,
|
|
|
15086
14885
|
}
|
|
15087
14886
|
}
|
|
15088
14887
|
);
|
|
15089
|
-
var SheetContent =
|
|
14888
|
+
var SheetContent = React56.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, SheetPortal, { children: [
|
|
15090
14889
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SheetOverlay, {}),
|
|
15091
14890
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15092
14891
|
SheetPrimitive.Content,
|
|
@@ -15133,7 +14932,7 @@ var SheetFooter = ({
|
|
|
15133
14932
|
}
|
|
15134
14933
|
);
|
|
15135
14934
|
SheetFooter.displayName = "SheetFooter";
|
|
15136
|
-
var SheetTitle =
|
|
14935
|
+
var SheetTitle = React56.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15137
14936
|
SheetPrimitive.Title,
|
|
15138
14937
|
{
|
|
15139
14938
|
ref,
|
|
@@ -15142,7 +14941,7 @@ var SheetTitle = React57.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
15142
14941
|
}
|
|
15143
14942
|
));
|
|
15144
14943
|
SheetTitle.displayName = SheetPrimitive.Title.displayName;
|
|
15145
|
-
var SheetDescription =
|
|
14944
|
+
var SheetDescription = React56.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15146
14945
|
SheetPrimitive.Description,
|
|
15147
14946
|
{
|
|
15148
14947
|
ref,
|
|
@@ -15163,7 +14962,7 @@ var Drawer = DialogPrimitive2.Root;
|
|
|
15163
14962
|
var DrawerTrigger = DialogPrimitive2.Trigger;
|
|
15164
14963
|
var DrawerClose = DialogPrimitive2.Close;
|
|
15165
14964
|
var DrawerPortal = DialogPrimitive2.Portal;
|
|
15166
|
-
var DrawerOverlay =
|
|
14965
|
+
var DrawerOverlay = React57.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15167
14966
|
DialogPrimitive2.Overlay,
|
|
15168
14967
|
{
|
|
15169
14968
|
ref,
|
|
@@ -15259,7 +15058,7 @@ function useResizableSize({
|
|
|
15259
15058
|
defaultSize,
|
|
15260
15059
|
storageKey
|
|
15261
15060
|
}) {
|
|
15262
|
-
const clampToViewport =
|
|
15061
|
+
const clampToViewport = React57.useCallback(
|
|
15263
15062
|
(value) => {
|
|
15264
15063
|
const vp = viewportSize(isHorizontal);
|
|
15265
15064
|
const effectiveMax = vp > 0 ? Math.min(maxSize, vp - 80) : maxSize;
|
|
@@ -15267,7 +15066,7 @@ function useResizableSize({
|
|
|
15267
15066
|
},
|
|
15268
15067
|
[isHorizontal, minSize, maxSize]
|
|
15269
15068
|
);
|
|
15270
|
-
const readInitial =
|
|
15069
|
+
const readInitial = React57.useCallback(() => {
|
|
15271
15070
|
if (!enabled) return defaultSize;
|
|
15272
15071
|
if (typeof window === "undefined") return defaultSize;
|
|
15273
15072
|
if (!storageKey) return clampToViewport(defaultSize);
|
|
@@ -15281,19 +15080,19 @@ function useResizableSize({
|
|
|
15281
15080
|
return clampToViewport(defaultSize);
|
|
15282
15081
|
}
|
|
15283
15082
|
}, [enabled, storageKey, defaultSize, clampToViewport]);
|
|
15284
|
-
const [size, setSizeRaw] =
|
|
15285
|
-
const setSize =
|
|
15083
|
+
const [size, setSizeRaw] = React57.useState(readInitial);
|
|
15084
|
+
const setSize = React57.useCallback(
|
|
15286
15085
|
(next) => setSizeRaw(clampToViewport(next)),
|
|
15287
15086
|
[clampToViewport]
|
|
15288
15087
|
);
|
|
15289
|
-
|
|
15088
|
+
React57.useEffect(() => {
|
|
15290
15089
|
if (!enabled || !storageKey || typeof window === "undefined") return;
|
|
15291
15090
|
try {
|
|
15292
15091
|
window.localStorage.setItem(storageKey, String(Math.round(size)));
|
|
15293
15092
|
} catch (e17) {
|
|
15294
15093
|
}
|
|
15295
15094
|
}, [enabled, size, storageKey]);
|
|
15296
|
-
|
|
15095
|
+
React57.useEffect(() => {
|
|
15297
15096
|
if (!enabled || typeof window === "undefined") return;
|
|
15298
15097
|
const onResize = () => setSizeRaw((prev) => clampToViewport(prev));
|
|
15299
15098
|
window.addEventListener("resize", onResize);
|
|
@@ -15310,7 +15109,7 @@ function DrawerResizeHandle({
|
|
|
15310
15109
|
ariaLabel
|
|
15311
15110
|
}) {
|
|
15312
15111
|
const isHorizontal = HORIZONTAL_SIDES.has(side);
|
|
15313
|
-
const startRef =
|
|
15112
|
+
const startRef = React57.useRef(
|
|
15314
15113
|
null
|
|
15315
15114
|
);
|
|
15316
15115
|
const direction = side === "right" || side === "bottom" ? -1 : 1;
|
|
@@ -15402,7 +15201,7 @@ function DrawerResizeHandle({
|
|
|
15402
15201
|
}
|
|
15403
15202
|
);
|
|
15404
15203
|
}
|
|
15405
|
-
var DrawerContent =
|
|
15204
|
+
var DrawerContent = React57.forwardRef(
|
|
15406
15205
|
({
|
|
15407
15206
|
side = "right",
|
|
15408
15207
|
flush = false,
|
|
@@ -15425,9 +15224,9 @@ var DrawerContent = React58.forwardRef(
|
|
|
15425
15224
|
const resolvedSide = _nullishCoalesce(side, () => ( "right"));
|
|
15426
15225
|
const isHorizontal = HORIZONTAL_SIDES.has(resolvedSide);
|
|
15427
15226
|
const initialSize = _nullishCoalesce(defaultSize, () => ( (isHorizontal ? 560 : 480)));
|
|
15428
|
-
const headerHeight =
|
|
15429
|
-
const [isMobile, setIsMobile] =
|
|
15430
|
-
|
|
15227
|
+
const headerHeight = _chunk27IO7V3Pcjs.useHeaderHeight.call(void 0, );
|
|
15228
|
+
const [isMobile, setIsMobile] = React57.useState(false);
|
|
15229
|
+
React57.useEffect(() => {
|
|
15431
15230
|
if (typeof window === "undefined") return;
|
|
15432
15231
|
const mq = window.matchMedia(`(max-width: ${mobileBreakpoint - 1}px)`);
|
|
15433
15232
|
const update = () => setIsMobile(mq.matches);
|
|
@@ -15498,7 +15297,7 @@ var DrawerHeader = ({
|
|
|
15498
15297
|
}
|
|
15499
15298
|
);
|
|
15500
15299
|
DrawerHeader.displayName = "DrawerHeader";
|
|
15501
|
-
var DrawerTitle =
|
|
15300
|
+
var DrawerTitle = React57.forwardRef(({ className, children, actions, hideClose, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-4", children: [
|
|
15502
15301
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15503
15302
|
DialogPrimitive2.Title,
|
|
15504
15303
|
{
|
|
@@ -15518,7 +15317,7 @@ var DrawerTitle = React58.forwardRef(({ className, children, actions, hideClose,
|
|
|
15518
15317
|
] })
|
|
15519
15318
|
] }));
|
|
15520
15319
|
DrawerTitle.displayName = "DrawerTitle";
|
|
15521
|
-
var DrawerDescription =
|
|
15320
|
+
var DrawerDescription = React57.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15522
15321
|
DialogPrimitive2.Description,
|
|
15523
15322
|
{
|
|
15524
15323
|
ref,
|
|
@@ -15560,9 +15359,9 @@ var _reactaccordion = require('@radix-ui/react-accordion'); var AccordionPrimiti
|
|
|
15560
15359
|
|
|
15561
15360
|
|
|
15562
15361
|
var Accordion = AccordionPrimitive.Root;
|
|
15563
|
-
var AccordionItem =
|
|
15362
|
+
var AccordionItem = React58.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AccordionPrimitive.Item, { ref, className: _chunkFIG2RKZFcjs.cn.call(void 0, "border-b", className), ...props }));
|
|
15564
15363
|
AccordionItem.displayName = "AccordionItem";
|
|
15565
|
-
var AccordionTrigger =
|
|
15364
|
+
var AccordionTrigger = React58.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AccordionPrimitive.Header, { className: "flex", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15566
15365
|
AccordionPrimitive.Trigger,
|
|
15567
15366
|
{
|
|
15568
15367
|
ref,
|
|
@@ -15578,7 +15377,7 @@ var AccordionTrigger = React59.forwardRef(({ className, children, ...props }, re
|
|
|
15578
15377
|
}
|
|
15579
15378
|
) }));
|
|
15580
15379
|
AccordionTrigger.displayName = "AccordionTrigger";
|
|
15581
|
-
var AccordionContent =
|
|
15380
|
+
var AccordionContent = React58.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15582
15381
|
AccordionPrimitive.Content,
|
|
15583
15382
|
{
|
|
15584
15383
|
ref,
|
|
@@ -15598,9 +15397,9 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
15598
15397
|
var _reactslot = require('@radix-ui/react-slot');
|
|
15599
15398
|
|
|
15600
15399
|
|
|
15601
|
-
var Breadcrumb =
|
|
15400
|
+
var Breadcrumb = React59.forwardRef(({ ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "nav", { ref, "aria-label": "breadcrumb", ...props }));
|
|
15602
15401
|
Breadcrumb.displayName = "Breadcrumb";
|
|
15603
|
-
var BreadcrumbList =
|
|
15402
|
+
var BreadcrumbList = React59.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15604
15403
|
"ol",
|
|
15605
15404
|
{
|
|
15606
15405
|
ref,
|
|
@@ -15612,7 +15411,7 @@ var BreadcrumbList = React60.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
15612
15411
|
}
|
|
15613
15412
|
));
|
|
15614
15413
|
BreadcrumbList.displayName = "BreadcrumbList";
|
|
15615
|
-
var BreadcrumbItem =
|
|
15414
|
+
var BreadcrumbItem = React59.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15616
15415
|
"li",
|
|
15617
15416
|
{
|
|
15618
15417
|
ref,
|
|
@@ -15621,7 +15420,7 @@ var BreadcrumbItem = React60.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
15621
15420
|
}
|
|
15622
15421
|
));
|
|
15623
15422
|
BreadcrumbItem.displayName = "BreadcrumbItem";
|
|
15624
|
-
var BreadcrumbLink =
|
|
15423
|
+
var BreadcrumbLink = React59.forwardRef(({ asChild, className, ...props }, ref) => {
|
|
15625
15424
|
const Comp = asChild ? _reactslot.Slot : "a";
|
|
15626
15425
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15627
15426
|
Comp,
|
|
@@ -15633,7 +15432,7 @@ var BreadcrumbLink = React60.forwardRef(({ asChild, className, ...props }, ref)
|
|
|
15633
15432
|
);
|
|
15634
15433
|
});
|
|
15635
15434
|
BreadcrumbLink.displayName = "BreadcrumbLink";
|
|
15636
|
-
var BreadcrumbPage =
|
|
15435
|
+
var BreadcrumbPage = React59.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15637
15436
|
"span",
|
|
15638
15437
|
{
|
|
15639
15438
|
ref,
|
|
@@ -15689,7 +15488,7 @@ var MenubarGroup = MenubarPrimitive.Group;
|
|
|
15689
15488
|
var MenubarPortal = MenubarPrimitive.Portal;
|
|
15690
15489
|
var MenubarSub = MenubarPrimitive.Sub;
|
|
15691
15490
|
var MenubarRadioGroup = MenubarPrimitive.RadioGroup;
|
|
15692
|
-
var Menubar =
|
|
15491
|
+
var Menubar = React60.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15693
15492
|
MenubarPrimitive.Root,
|
|
15694
15493
|
{
|
|
15695
15494
|
ref,
|
|
@@ -15701,7 +15500,7 @@ var Menubar = React61.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
15701
15500
|
}
|
|
15702
15501
|
));
|
|
15703
15502
|
Menubar.displayName = MenubarPrimitive.Root.displayName;
|
|
15704
|
-
var MenubarTrigger =
|
|
15503
|
+
var MenubarTrigger = React60.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15705
15504
|
MenubarPrimitive.Trigger,
|
|
15706
15505
|
{
|
|
15707
15506
|
ref,
|
|
@@ -15713,7 +15512,7 @@ var MenubarTrigger = React61.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
15713
15512
|
}
|
|
15714
15513
|
));
|
|
15715
15514
|
MenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;
|
|
15716
|
-
var MenubarSubTrigger =
|
|
15515
|
+
var MenubarSubTrigger = React60.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15717
15516
|
MenubarPrimitive.SubTrigger,
|
|
15718
15517
|
{
|
|
15719
15518
|
ref,
|
|
@@ -15730,7 +15529,7 @@ var MenubarSubTrigger = React61.forwardRef(({ className, inset, children, ...pro
|
|
|
15730
15529
|
}
|
|
15731
15530
|
));
|
|
15732
15531
|
MenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;
|
|
15733
|
-
var MenubarSubContent =
|
|
15532
|
+
var MenubarSubContent = React60.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15734
15533
|
MenubarPrimitive.SubContent,
|
|
15735
15534
|
{
|
|
15736
15535
|
ref,
|
|
@@ -15742,7 +15541,7 @@ var MenubarSubContent = React61.forwardRef(({ className, ...props }, ref) => /*
|
|
|
15742
15541
|
}
|
|
15743
15542
|
));
|
|
15744
15543
|
MenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;
|
|
15745
|
-
var MenubarContent =
|
|
15544
|
+
var MenubarContent = React60.forwardRef(
|
|
15746
15545
|
({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MenubarPrimitive.Portal, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15747
15546
|
MenubarPrimitive.Content,
|
|
15748
15547
|
{
|
|
@@ -15759,7 +15558,7 @@ var MenubarContent = React61.forwardRef(
|
|
|
15759
15558
|
) })
|
|
15760
15559
|
);
|
|
15761
15560
|
MenubarContent.displayName = MenubarPrimitive.Content.displayName;
|
|
15762
|
-
var MenubarItem =
|
|
15561
|
+
var MenubarItem = React60.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15763
15562
|
MenubarPrimitive.Item,
|
|
15764
15563
|
{
|
|
15765
15564
|
ref,
|
|
@@ -15772,7 +15571,7 @@ var MenubarItem = React61.forwardRef(({ className, inset, ...props }, ref) => /*
|
|
|
15772
15571
|
}
|
|
15773
15572
|
));
|
|
15774
15573
|
MenubarItem.displayName = MenubarPrimitive.Item.displayName;
|
|
15775
|
-
var MenubarCheckboxItem =
|
|
15574
|
+
var MenubarCheckboxItem = React60.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15776
15575
|
MenubarPrimitive.CheckboxItem,
|
|
15777
15576
|
{
|
|
15778
15577
|
ref,
|
|
@@ -15789,7 +15588,7 @@ var MenubarCheckboxItem = React61.forwardRef(({ className, children, checked, ..
|
|
|
15789
15588
|
}
|
|
15790
15589
|
));
|
|
15791
15590
|
MenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;
|
|
15792
|
-
var MenubarRadioItem =
|
|
15591
|
+
var MenubarRadioItem = React60.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15793
15592
|
MenubarPrimitive.RadioItem,
|
|
15794
15593
|
{
|
|
15795
15594
|
ref,
|
|
@@ -15805,7 +15604,7 @@ var MenubarRadioItem = React61.forwardRef(({ className, children, ...props }, re
|
|
|
15805
15604
|
}
|
|
15806
15605
|
));
|
|
15807
15606
|
MenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;
|
|
15808
|
-
var MenubarLabel =
|
|
15607
|
+
var MenubarLabel = React60.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15809
15608
|
MenubarPrimitive.Label,
|
|
15810
15609
|
{
|
|
15811
15610
|
ref,
|
|
@@ -15818,7 +15617,7 @@ var MenubarLabel = React61.forwardRef(({ className, inset, ...props }, ref) => /
|
|
|
15818
15617
|
}
|
|
15819
15618
|
));
|
|
15820
15619
|
MenubarLabel.displayName = MenubarPrimitive.Label.displayName;
|
|
15821
|
-
var MenubarSeparator =
|
|
15620
|
+
var MenubarSeparator = React60.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15822
15621
|
MenubarPrimitive.Separator,
|
|
15823
15622
|
{
|
|
15824
15623
|
ref,
|
|
@@ -15851,7 +15650,7 @@ var _reactnavigationmenu = require('@radix-ui/react-navigation-menu'); var Navig
|
|
|
15851
15650
|
|
|
15852
15651
|
|
|
15853
15652
|
|
|
15854
|
-
var NavigationMenu =
|
|
15653
|
+
var NavigationMenu = React61.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15855
15654
|
NavigationMenuPrimitive.Root,
|
|
15856
15655
|
{
|
|
15857
15656
|
ref,
|
|
@@ -15867,7 +15666,7 @@ var NavigationMenu = React62.forwardRef(({ className, children, ...props }, ref)
|
|
|
15867
15666
|
}
|
|
15868
15667
|
));
|
|
15869
15668
|
NavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;
|
|
15870
|
-
var NavigationMenuList =
|
|
15669
|
+
var NavigationMenuList = React61.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15871
15670
|
NavigationMenuPrimitive.List,
|
|
15872
15671
|
{
|
|
15873
15672
|
ref,
|
|
@@ -15883,7 +15682,7 @@ var NavigationMenuItem = NavigationMenuPrimitive.Item;
|
|
|
15883
15682
|
var navigationMenuTriggerStyle = _classvarianceauthority.cva.call(void 0,
|
|
15884
15683
|
"group inline-flex h-10 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50"
|
|
15885
15684
|
);
|
|
15886
|
-
var NavigationMenuTrigger =
|
|
15685
|
+
var NavigationMenuTrigger = React61.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15887
15686
|
NavigationMenuPrimitive.Trigger,
|
|
15888
15687
|
{
|
|
15889
15688
|
ref,
|
|
@@ -15903,7 +15702,7 @@ var NavigationMenuTrigger = React62.forwardRef(({ className, children, ...props
|
|
|
15903
15702
|
}
|
|
15904
15703
|
));
|
|
15905
15704
|
NavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;
|
|
15906
|
-
var NavigationMenuContent =
|
|
15705
|
+
var NavigationMenuContent = React61.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15907
15706
|
NavigationMenuPrimitive.Content,
|
|
15908
15707
|
{
|
|
15909
15708
|
ref,
|
|
@@ -15916,7 +15715,7 @@ var NavigationMenuContent = React62.forwardRef(({ className, ...props }, ref) =>
|
|
|
15916
15715
|
));
|
|
15917
15716
|
NavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;
|
|
15918
15717
|
var NavigationMenuLink = NavigationMenuPrimitive.Link;
|
|
15919
|
-
var NavigationMenuViewport =
|
|
15718
|
+
var NavigationMenuViewport = React61.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15920
15719
|
NavigationMenuPrimitive.Viewport,
|
|
15921
15720
|
{
|
|
15922
15721
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
@@ -15928,7 +15727,7 @@ var NavigationMenuViewport = React62.forwardRef(({ className, ...props }, ref) =
|
|
|
15928
15727
|
}
|
|
15929
15728
|
) }));
|
|
15930
15729
|
NavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;
|
|
15931
|
-
var NavigationMenuIndicator =
|
|
15730
|
+
var NavigationMenuIndicator = React61.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15932
15731
|
NavigationMenuPrimitive.Indicator,
|
|
15933
15732
|
{
|
|
15934
15733
|
ref,
|
|
@@ -16123,7 +15922,7 @@ var alertVariants = _classvarianceauthority.cva.call(void 0,
|
|
|
16123
15922
|
}
|
|
16124
15923
|
}
|
|
16125
15924
|
);
|
|
16126
|
-
var Alert =
|
|
15925
|
+
var Alert = React63.forwardRef(({ className, variant, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16127
15926
|
"div",
|
|
16128
15927
|
{
|
|
16129
15928
|
ref,
|
|
@@ -16133,7 +15932,7 @@ var Alert = React64.forwardRef(({ className, variant, ...props }, ref) => /* @__
|
|
|
16133
15932
|
}
|
|
16134
15933
|
));
|
|
16135
15934
|
Alert.displayName = "Alert";
|
|
16136
|
-
var AlertTitle =
|
|
15935
|
+
var AlertTitle = React63.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16137
15936
|
"h5",
|
|
16138
15937
|
{
|
|
16139
15938
|
ref,
|
|
@@ -16142,7 +15941,7 @@ var AlertTitle = React64.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
16142
15941
|
}
|
|
16143
15942
|
));
|
|
16144
15943
|
AlertTitle.displayName = "AlertTitle";
|
|
16145
|
-
var AlertDescription =
|
|
15944
|
+
var AlertDescription = React63.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16146
15945
|
"div",
|
|
16147
15946
|
{
|
|
16148
15947
|
ref,
|
|
@@ -16157,7 +15956,7 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
16157
15956
|
|
|
16158
15957
|
var _reactprogress = require('@radix-ui/react-progress'); var ProgressPrimitive = _interopRequireWildcard(_reactprogress);
|
|
16159
15958
|
|
|
16160
|
-
var Progress =
|
|
15959
|
+
var Progress = React64.forwardRef(({ className, value, indicatorClassName, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16161
15960
|
ProgressPrimitive.Root,
|
|
16162
15961
|
{
|
|
16163
15962
|
ref,
|
|
@@ -16610,7 +16409,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarousel2({
|
|
|
16610
16409
|
loading: "lazy"
|
|
16611
16410
|
}
|
|
16612
16411
|
),
|
|
16613
|
-
(item.type === "video" || item.type === "youtube") && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute inset-0 flex items-center justify-center bg-black/30", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-black/70 rounded-full p-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16412
|
+
(item.type === "video" || item.type === "youtube") && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute inset-0 flex items-center justify-center bg-black/30", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-black/70 rounded-full p-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.PlayIcon, { size: 12, color: "white" }) }) }),
|
|
16614
16413
|
isActive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute bottom-1 right-1 w-2 h-2 bg-[#FFC008] rounded-full" })
|
|
16615
16414
|
]
|
|
16616
16415
|
},
|
|
@@ -17322,7 +17121,7 @@ function LinkedInEmbedClient({ url, height = 600 }) {
|
|
|
17322
17121
|
if (!embedUrl) {
|
|
17323
17122
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LinkedInContainer, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "p-6", children: [
|
|
17324
17123
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center space-x-3 text-ods-text-secondary mb-4", children: [
|
|
17325
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17124
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.LinkedinIcon, { className: "w-5 h-5 shrink-0" }),
|
|
17326
17125
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "LinkedIn post" })
|
|
17327
17126
|
] }),
|
|
17328
17127
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -17333,7 +17132,7 @@ function LinkedInEmbedClient({ url, height = 600 }) {
|
|
|
17333
17132
|
rel: "noopener noreferrer",
|
|
17334
17133
|
className: "inline-flex items-center space-x-2 px-4 py-2 bg-ods-card border border-ods-border text-ods-text-primary rounded-md text-sm font-medium hover:bg-ods-bg-secondary transition-colors",
|
|
17335
17134
|
children: [
|
|
17336
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17135
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.LinkedinIcon, { className: "w-4 h-4" }),
|
|
17337
17136
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "View on LinkedIn" })
|
|
17338
17137
|
]
|
|
17339
17138
|
}
|
|
@@ -17492,7 +17291,7 @@ var OGLinkPreview = ({
|
|
|
17492
17291
|
const hasImage = !!resolvedImageUrl;
|
|
17493
17292
|
const isFallbackImage = resolvedImageUrl === fallbackImage;
|
|
17494
17293
|
const isPlaceholder = resolvedImageUrl === placeholderImageUrl && !isFallbackImage;
|
|
17495
|
-
const bgColor =
|
|
17294
|
+
const bgColor = _chunk27IO7V3Pcjs.useImageEdgeColor.call(void 0, _nullishCoalesce(resolvedImageUrl, () => ( null)), "var(--ods-bg-secondary)");
|
|
17496
17295
|
const renderSkeleton = () => isCompact ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "my-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-row border border-ods-border rounded-lg overflow-hidden bg-ods-card h-[120px]", children: [
|
|
17497
17296
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-[200px] h-full flex-shrink-0 bg-ods-border animate-pulse" }),
|
|
17498
17297
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 p-3 flex flex-col justify-center", children: [
|
|
@@ -17885,7 +17684,7 @@ function FigmaEmbed({ url, title, height, loading = "lazy" }) {
|
|
|
17885
17684
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "my-6 space-y-3", children: [
|
|
17886
17685
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between", children: [
|
|
17887
17686
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2 min-w-0", children: [
|
|
17888
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17687
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.FigmaIcon, { className: "w-5 h-5 shrink-0" }),
|
|
17889
17688
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-sans text-base font-semibold text-ods-text-primary truncate", children: heading })
|
|
17890
17689
|
] }),
|
|
17891
17690
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2 sm:flex-row sm:items-center", children: [
|
|
@@ -17897,7 +17696,7 @@ function FigmaEmbed({ url, title, height, loading = "lazy" }) {
|
|
|
17897
17696
|
size: "small-legacy",
|
|
17898
17697
|
href: originalUrl,
|
|
17899
17698
|
openInNewTab: true,
|
|
17900
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17699
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.FigmaIcon, { className: "w-4 h-4" }),
|
|
17901
17700
|
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "w-4 h-4" }),
|
|
17902
17701
|
className: "w-full sm:w-auto",
|
|
17903
17702
|
children: "Open in Figma"
|
|
@@ -17916,7 +17715,7 @@ function FigmaEmbed({ url, title, height, loading = "lazy" }) {
|
|
|
17916
17715
|
allowFullScreen: true
|
|
17917
17716
|
}
|
|
17918
17717
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-center justify-center py-16 text-center", children: [
|
|
17919
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17718
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.FigmaIcon, { className: "w-16 h-16 text-ods-text-secondary mb-4" }),
|
|
17920
17719
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary", children: "Figma URL not configured" })
|
|
17921
17720
|
] })
|
|
17922
17721
|
] });
|
|
@@ -19139,12 +18938,12 @@ function SortColumnItem({ column, currentDirection, onSort, onClear }) {
|
|
|
19139
18938
|
};
|
|
19140
18939
|
const getSortIcon = () => {
|
|
19141
18940
|
if (currentDirection === "asc") {
|
|
19142
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18941
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Arrow01UpIcon, { className: "w-4 h-4 text-ods-accent" });
|
|
19143
18942
|
}
|
|
19144
18943
|
if (currentDirection === "desc") {
|
|
19145
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18944
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Arrow01DownIcon, { className: "w-4 h-4 text-ods-accent" });
|
|
19146
18945
|
}
|
|
19147
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18946
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.SwitchVrIcon, { className: "w-4 h-4 text-ods-text-secondary" });
|
|
19148
18947
|
};
|
|
19149
18948
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19150
18949
|
"div",
|
|
@@ -19339,7 +19138,7 @@ function FilterModal({
|
|
|
19339
19138
|
row
|
|
19340
19139
|
)) })
|
|
19341
19140
|
] }, group)) }) : isEmpty ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-center justify-center gap-6 h-[240px] p-6", children: [
|
|
19342
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19141
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Filter02Icon, { className: "text-ods-text-secondary", size: 24 }),
|
|
19343
19142
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-center text-center text-ods-text-secondary", children: [
|
|
19344
19143
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4", children: emptyStateTitle }),
|
|
19345
19144
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6", children: emptyStateDescription })
|
|
@@ -19471,7 +19270,7 @@ function renderRawActionButton(action, opts = {}) {
|
|
|
19471
19270
|
disabled: action.disabled,
|
|
19472
19271
|
loading: action.loading,
|
|
19473
19272
|
leftIcon: action.icon,
|
|
19474
|
-
splitIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19273
|
+
splitIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Chevron02DownIcon, { className: "h-4 w-4" }),
|
|
19475
19274
|
className: opts.fullWidth ? "flex-1" : void 0,
|
|
19476
19275
|
children: action.label
|
|
19477
19276
|
}
|
|
@@ -19544,7 +19343,7 @@ function IconButtonsVariant({
|
|
|
19544
19343
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
19545
19344
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "hidden md:flex items-center", ACTIONS_GAP, className), children: [
|
|
19546
19345
|
selector,
|
|
19547
|
-
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19346
|
+
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, React113.default.Fragment, { children: renderActionButton(action) }, actionKey(action, idx))),
|
|
19548
19347
|
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionsMenuDropdown, { groups: menuActions })
|
|
19549
19348
|
] }),
|
|
19550
19349
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex md:hidden", className), children: useSingleActionMobile && singleAction ? renderActionButton(singleAction, { iconOnly: true }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -19569,7 +19368,7 @@ function PrimaryButtonsVariant({
|
|
|
19569
19368
|
});
|
|
19570
19369
|
const desktopActions = sortedActions.filter((a) => !a.showOnlyMobile);
|
|
19571
19370
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
19572
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "hidden md:flex items-center", ACTIONS_GAP, className), children: desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19371
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "hidden md:flex items-center", ACTIONS_GAP, className), children: desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, React113.default.Fragment, { children: renderActionButton(action) }, `desktop-${actionKey(action, idx)}`)) }),
|
|
19573
19372
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileBottomActions, { actions: sortedActions })
|
|
19574
19373
|
] });
|
|
19575
19374
|
}
|
|
@@ -19585,7 +19384,7 @@ function MenuPrimaryVariant({
|
|
|
19585
19384
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "hidden md:flex items-center", ACTIONS_GAP, className), children: [
|
|
19586
19385
|
selector,
|
|
19587
19386
|
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionsMenuDropdown, { groups: menuActions }),
|
|
19588
|
-
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19387
|
+
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, React113.default.Fragment, { children: renderActionButton({ ...action, variant: action.variant || "accent" }) }, `desktop-${actionKey(action, idx)}`))
|
|
19589
19388
|
] }),
|
|
19590
19389
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex md:hidden", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19591
19390
|
ActionsMenuDropdown,
|
|
@@ -19604,7 +19403,7 @@ function MobileBottomActions({ actions }) {
|
|
|
19604
19403
|
"bg-ods-card border-t border-ods-border",
|
|
19605
19404
|
"flex items-start pt-6 pb-6 px-6",
|
|
19606
19405
|
ACTIONS_GAP
|
|
19607
|
-
), children: actions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19406
|
+
), children: actions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, React113.default.Fragment, { children: renderActionButton(action, { fullWidth: !!action.label }) }, `mobile-${actionKey(action, idx)}`)) });
|
|
19608
19407
|
}
|
|
19609
19408
|
function usePageActionsBottomPadding(variant) {
|
|
19610
19409
|
return variant === "primary-buttons" || variant === "menu-primary" ? "pb-40 md:pb-0" : "";
|
|
@@ -19628,7 +19427,7 @@ function BackButton({ label = "Back", className, type = "button", ...props }) {
|
|
|
19628
19427
|
),
|
|
19629
19428
|
...props,
|
|
19630
19429
|
children: [
|
|
19631
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19430
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Chevron02LeftIcon, { className: "size-6 shrink-0" }),
|
|
19632
19431
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h4", children: label })
|
|
19633
19432
|
]
|
|
19634
19433
|
}
|
|
@@ -19853,7 +19652,7 @@ function ListPageLayout({
|
|
|
19853
19652
|
}) {
|
|
19854
19653
|
const [mobileFilterOpen, setMobileFilterOpen] = _react.useState.call(void 0, false);
|
|
19855
19654
|
const [localSearchValue, setLocalSearchValue] = _react.useState.call(void 0, searchValue);
|
|
19856
|
-
const debouncedSearchValue =
|
|
19655
|
+
const debouncedSearchValue = _chunk27IO7V3Pcjs.useDebounce.call(void 0, localSearchValue, 500);
|
|
19857
19656
|
_react.useEffect.call(void 0, () => {
|
|
19858
19657
|
setLocalSearchValue(searchValue);
|
|
19859
19658
|
}, [searchValue]);
|
|
@@ -19899,7 +19698,7 @@ function ListPageLayout({
|
|
|
19899
19698
|
className: "md:hidden",
|
|
19900
19699
|
onClick: () => setMobileFilterOpen(true),
|
|
19901
19700
|
"aria-label": "Open filters",
|
|
19902
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19701
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Filter02Icon, {})
|
|
19903
19702
|
}
|
|
19904
19703
|
)
|
|
19905
19704
|
] }),
|
|
@@ -19934,8 +19733,8 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
19934
19733
|
|
|
19935
19734
|
|
|
19936
19735
|
function EntityImage({ src, alt, fallbackText, className }) {
|
|
19937
|
-
const [imageFailed, setImageFailed] =
|
|
19938
|
-
|
|
19736
|
+
const [imageFailed, setImageFailed] = React113.default.useState(false);
|
|
19737
|
+
React113.default.useEffect(() => {
|
|
19939
19738
|
setImageFailed(false);
|
|
19940
19739
|
}, [src]);
|
|
19941
19740
|
const showFallback = imageFailed || !src;
|
|
@@ -20129,7 +19928,7 @@ var toggleVariants = _classvarianceauthority.cva.call(void 0,
|
|
|
20129
19928
|
}
|
|
20130
19929
|
}
|
|
20131
19930
|
);
|
|
20132
|
-
var Toggle =
|
|
19931
|
+
var Toggle = React73.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20133
19932
|
TogglePrimitive.Root,
|
|
20134
19933
|
{
|
|
20135
19934
|
ref,
|
|
@@ -20141,11 +19940,11 @@ Toggle.displayName = TogglePrimitive.Root.displayName;
|
|
|
20141
19940
|
|
|
20142
19941
|
// src/components/toggle-group.tsx
|
|
20143
19942
|
|
|
20144
|
-
var ToggleGroupContext =
|
|
19943
|
+
var ToggleGroupContext = React74.createContext({
|
|
20145
19944
|
size: "default",
|
|
20146
19945
|
variant: "default"
|
|
20147
19946
|
});
|
|
20148
|
-
var ToggleGroup =
|
|
19947
|
+
var ToggleGroup = React74.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20149
19948
|
ToggleGroupPrimitive.Root,
|
|
20150
19949
|
{
|
|
20151
19950
|
ref,
|
|
@@ -20155,8 +19954,8 @@ var ToggleGroup = React75.forwardRef(({ className, variant, size, children, ...p
|
|
|
20155
19954
|
}
|
|
20156
19955
|
));
|
|
20157
19956
|
ToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;
|
|
20158
|
-
var ToggleGroupItem =
|
|
20159
|
-
const context =
|
|
19957
|
+
var ToggleGroupItem = React74.forwardRef(({ className, children, variant, size, value, ...props }, ref) => {
|
|
19958
|
+
const context = React74.useContext(ToggleGroupContext);
|
|
20160
19959
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20161
19960
|
ToggleGroupPrimitive.Item,
|
|
20162
19961
|
{
|
|
@@ -20641,7 +20440,7 @@ function toToolLabel(input) {
|
|
|
20641
20440
|
if (!input) return "";
|
|
20642
20441
|
const toolType = normalizeToolType(input);
|
|
20643
20442
|
if (toolType) {
|
|
20644
|
-
return
|
|
20443
|
+
return _chunk27IO7V3Pcjs.toolLabels[toolType];
|
|
20645
20444
|
}
|
|
20646
20445
|
return input;
|
|
20647
20446
|
}
|
|
@@ -20652,7 +20451,7 @@ function getToolTypeAliases(toolType) {
|
|
|
20652
20451
|
return Object.entries(toolAliasMap).filter(([_, value]) => value === toolType).map(([key]) => key);
|
|
20653
20452
|
}
|
|
20654
20453
|
function getToolLabel(toolType) {
|
|
20655
|
-
return
|
|
20454
|
+
return _chunk27IO7V3Pcjs.toolLabels[toolType] || toolType;
|
|
20656
20455
|
}
|
|
20657
20456
|
|
|
20658
20457
|
// src/types/shell.types.ts
|
|
@@ -20666,10 +20465,10 @@ var ShellTypeValues = {
|
|
|
20666
20465
|
SHELL: "SHELL"
|
|
20667
20466
|
};
|
|
20668
20467
|
var SHELL_TYPES = [
|
|
20669
|
-
{ id: ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon:
|
|
20468
|
+
{ id: ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkGXRWE7NBcjs.PowershellLogoIcon },
|
|
20670
20469
|
{ id: ShellTypeValues.CMD, label: "Batch", value: "cmd", icon: _chunkLWNPMLIHcjs.CmdIcon },
|
|
20671
20470
|
{ id: ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkLWNPMLIHcjs.BashIcon },
|
|
20672
|
-
{ id: ShellTypeValues.PYTHON, label: "Python", value: "python", icon:
|
|
20471
|
+
{ id: ShellTypeValues.PYTHON, label: "Python", value: "python", icon: _chunkGXRWE7NBcjs.PythonLogoIcon },
|
|
20673
20472
|
{ id: ShellTypeValues.NUSHELL, label: "Nu", value: "nushell", icon: _chunkLWNPMLIHcjs.NushellIcon },
|
|
20674
20473
|
{ id: ShellTypeValues.DENO, label: "Deno", value: "deno", icon: _chunkLWNPMLIHcjs.DenoIcon },
|
|
20675
20474
|
{ id: ShellTypeValues.SHELL, label: "Shell", value: "shell", icon: _chunkLWNPMLIHcjs.ShellIcon }
|
|
@@ -20708,7 +20507,7 @@ var OS_TYPES = [
|
|
|
20708
20507
|
id: OSTypeValues.MACOS,
|
|
20709
20508
|
label: "macOS",
|
|
20710
20509
|
value: OSTypeValues.MACOS,
|
|
20711
|
-
icon:
|
|
20510
|
+
icon: _chunkGXRWE7NBcjs.AppleLogoIcon,
|
|
20712
20511
|
platformId: "darwin",
|
|
20713
20512
|
aliases: ["darwin", "macos", "mac os", "osx", "os x", "mac"]
|
|
20714
20513
|
// Put more specific ones first, 'mac' last to avoid false matches
|
|
@@ -20717,7 +20516,7 @@ var OS_TYPES = [
|
|
|
20717
20516
|
id: OSTypeValues.WINDOWS,
|
|
20718
20517
|
label: "Windows",
|
|
20719
20518
|
value: OSTypeValues.WINDOWS,
|
|
20720
|
-
icon:
|
|
20519
|
+
icon: _chunkGXRWE7NBcjs.WindowsLogoGreyIcon,
|
|
20721
20520
|
platformId: "windows",
|
|
20722
20521
|
aliases: ["windows", "win32", "win64", "win"]
|
|
20723
20522
|
// 'win' last since it's shortest
|
|
@@ -20726,7 +20525,7 @@ var OS_TYPES = [
|
|
|
20726
20525
|
id: OSTypeValues.LINUX,
|
|
20727
20526
|
label: "Linux",
|
|
20728
20527
|
value: OSTypeValues.LINUX,
|
|
20729
|
-
icon:
|
|
20528
|
+
icon: _chunkGXRWE7NBcjs.LinuxLogoIcon,
|
|
20730
20529
|
platformId: "linux",
|
|
20731
20530
|
aliases: ["linux", "ubuntu", "debian", "centos", "redhat", "fedora", "pop", "pop!_os", "arch", "manjaro"]
|
|
20732
20531
|
}
|
|
@@ -22175,7 +21974,7 @@ var BenefitCardGrid = ({
|
|
|
22175
21974
|
className = "",
|
|
22176
21975
|
columns = 2
|
|
22177
21976
|
}) => {
|
|
22178
|
-
const childrenArray =
|
|
21977
|
+
const childrenArray = React113.default.Children.toArray(children);
|
|
22179
21978
|
const gridClass = columns === 4 ? "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4" : columns === 3 ? "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3" : "flex flex-col md:flex-row";
|
|
22180
21979
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
22181
21980
|
"bg-ods-card rounded-lg shadow-ods-card border border-ods-border overflow-hidden",
|
|
@@ -22196,7 +21995,7 @@ var BenefitCardGrid = ({
|
|
|
22196
21995
|
} else {
|
|
22197
21996
|
borderClass = isLastItem ? "border-b-0" : "border-b md:border-b-0 md:border-r border-ods-border";
|
|
22198
21997
|
}
|
|
22199
|
-
return
|
|
21998
|
+
return React113.default.cloneElement(child, {
|
|
22200
21999
|
key: index,
|
|
22201
22000
|
className: borderClass
|
|
22202
22001
|
});
|
|
@@ -22213,7 +22012,7 @@ function BrandAssociationCard({
|
|
|
22213
22012
|
className = ""
|
|
22214
22013
|
}) {
|
|
22215
22014
|
const renderIcon = () => {
|
|
22216
|
-
if (
|
|
22015
|
+
if (React113.default.isValidElement(item.icon)) {
|
|
22217
22016
|
return item.icon;
|
|
22218
22017
|
}
|
|
22219
22018
|
const IconComponent = item.icon;
|
|
@@ -22317,7 +22116,7 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
22317
22116
|
|
|
22318
22117
|
|
|
22319
22118
|
|
|
22320
|
-
var ChevronButton =
|
|
22119
|
+
var ChevronButton = React77.forwardRef(
|
|
22321
22120
|
({ className, direction = "down", size = "md", isExpanded, backgroundColor, borderColor, ...props }, ref) => {
|
|
22322
22121
|
const Icon2 = (isExpanded ? _lucidereact.ChevronUp : _lucidereact.ChevronDown) || (direction === "up" ? _lucidereact.ChevronUp : _lucidereact.ChevronDown);
|
|
22323
22122
|
const sizeClasses2 = {
|
|
@@ -22514,8 +22313,8 @@ function FloatingTooltip({
|
|
|
22514
22313
|
delayDuration = 0,
|
|
22515
22314
|
disabled = false
|
|
22516
22315
|
}) {
|
|
22517
|
-
const [isOpen, setIsOpen] =
|
|
22518
|
-
const arrowRef =
|
|
22316
|
+
const [isOpen, setIsOpen] = React78.useState(false);
|
|
22317
|
+
const arrowRef = React78.useRef(null);
|
|
22519
22318
|
const { refs, floatingStyles, context, placement, middlewareData } = _react2.useFloating.call(void 0, {
|
|
22520
22319
|
open: isOpen,
|
|
22521
22320
|
onOpenChange: setIsOpen,
|
|
@@ -22545,7 +22344,7 @@ function FloatingTooltip({
|
|
|
22545
22344
|
dismiss,
|
|
22546
22345
|
role
|
|
22547
22346
|
]);
|
|
22548
|
-
const parsedContent =
|
|
22347
|
+
const parsedContent = React78.useMemo(() => {
|
|
22549
22348
|
if (typeof content === "string") {
|
|
22550
22349
|
return parseColoredText(content);
|
|
22551
22350
|
}
|
|
@@ -22636,7 +22435,7 @@ function DashboardInfoCard({
|
|
|
22636
22435
|
percentage,
|
|
22637
22436
|
"%)"
|
|
22638
22437
|
] })),
|
|
22639
|
-
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FloatingTooltip, { content: tooltip, side: "top", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "cursor-help text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22438
|
+
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FloatingTooltip, { content: tooltip, side: "top", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "cursor-help text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.QuestionCircleIcon, { size: 20 }) }) })
|
|
22640
22439
|
] })
|
|
22641
22440
|
] }),
|
|
22642
22441
|
showProgress && percentage !== void 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -22801,7 +22600,7 @@ function DeviceCard({
|
|
|
22801
22600
|
e.stopPropagation();
|
|
22802
22601
|
_optionalChain([actions, 'access', _399 => _399.moreButton, 'optionalAccess', _400 => _400.onClick, 'optionalCall', _401 => _401()]);
|
|
22803
22602
|
},
|
|
22804
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22603
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Ellipsis01Icon, { className: "text-ods-text-primary" })
|
|
22805
22604
|
}
|
|
22806
22605
|
),
|
|
22807
22606
|
_optionalChain([actions, 'access', _402 => _402.detailsButton, 'optionalAccess', _403 => _403.visible]) !== false && _optionalChain([actions, 'access', _404 => _404.detailsButton, 'optionalAccess', _405 => _405.component]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0", onClick: (e) => e.stopPropagation(), children: actions.detailsButton.component }),
|
|
@@ -23166,7 +22965,7 @@ function HighlightCardGrid({
|
|
|
23166
22965
|
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
23167
22966
|
|
|
23168
22967
|
|
|
23169
|
-
var IconsBlock =
|
|
22968
|
+
var IconsBlock = React80.forwardRef(
|
|
23170
22969
|
({ className, icons = [], size = "md", ...props }, ref) => {
|
|
23171
22970
|
const sizeClasses2 = {
|
|
23172
22971
|
sm: "h-4 w-4",
|
|
@@ -23213,8 +23012,8 @@ function DropdownButton({
|
|
|
23213
23012
|
align = "end",
|
|
23214
23013
|
side = "bottom"
|
|
23215
23014
|
}) {
|
|
23216
|
-
const [open, setOpen] =
|
|
23217
|
-
const handleOpenChange =
|
|
23015
|
+
const [open, setOpen] = React113.default.useState(false);
|
|
23016
|
+
const handleOpenChange = React113.default.useCallback(
|
|
23218
23017
|
(next) => {
|
|
23219
23018
|
if (disabled) return;
|
|
23220
23019
|
setOpen(next);
|
|
@@ -23252,7 +23051,7 @@ function DropdownButton({
|
|
|
23252
23051
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: label })
|
|
23253
23052
|
] }),
|
|
23254
23053
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex items-center justify-center border-l border-ods-border p-[var(--spacing-system-sf)] [&_svg]:w-6 [&_svg]:h-6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23255
|
-
|
|
23054
|
+
_chunkGXRWE7NBcjs.Chevron02DownIcon,
|
|
23256
23055
|
{
|
|
23257
23056
|
className: _chunkFIG2RKZFcjs.cn.call(void 0, "transition-transform duration-fast", open && "rotate-180")
|
|
23258
23057
|
}
|
|
@@ -23290,7 +23089,7 @@ function MoreActionsMenu({
|
|
|
23290
23089
|
size: "icon",
|
|
23291
23090
|
className: className || "bg-ods-card border-ods-border hover:bg-ods-bg-hover flex items-center justify-center",
|
|
23292
23091
|
"aria-label": ariaLabel,
|
|
23293
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23092
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Ellipsis01Icon, { size: 24, className: "text-ods-text-primary" })
|
|
23294
23093
|
}
|
|
23295
23094
|
) }),
|
|
23296
23095
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -23525,14 +23324,14 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
23525
23324
|
var useTheme = _nextthemes.useTheme;
|
|
23526
23325
|
function useThemeToggle() {
|
|
23527
23326
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
23528
|
-
const [mounted, setMounted] =
|
|
23529
|
-
|
|
23327
|
+
const [mounted, setMounted] = React82.useState(false);
|
|
23328
|
+
React82.useEffect(() => setMounted(true), []);
|
|
23530
23329
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
23531
|
-
const setOdsTheme =
|
|
23330
|
+
const setOdsTheme = React82.useCallback(
|
|
23532
23331
|
(next) => setTheme(next),
|
|
23533
23332
|
[setTheme]
|
|
23534
23333
|
);
|
|
23535
|
-
const toggle =
|
|
23334
|
+
const toggle = React82.useCallback(
|
|
23536
23335
|
() => setTheme(active === "dark" ? "light" : "dark"),
|
|
23537
23336
|
[active, setTheme]
|
|
23538
23337
|
);
|
|
@@ -25803,7 +25602,7 @@ function PathsDisplay({
|
|
|
25803
25602
|
onClick: () => onCopyPath(path),
|
|
25804
25603
|
"aria-label": `Copy ${path}`,
|
|
25805
25604
|
className: "shrink-0 rounded-md text-ods-text-secondary transition-colors hover:text-ods-text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ods-focus",
|
|
25806
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25605
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Copy02Icon, { className: copyIconSize })
|
|
25807
25606
|
}
|
|
25808
25607
|
)
|
|
25809
25608
|
]
|
|
@@ -25875,7 +25674,7 @@ function PlatformFilterComponent({
|
|
|
25875
25674
|
variant: selectedPlatform === platform.value ? "accent" : "outline",
|
|
25876
25675
|
size,
|
|
25877
25676
|
onClick: () => onPlatformChange(platform.value),
|
|
25878
|
-
leftIcon: showIcons ?
|
|
25677
|
+
leftIcon: showIcons ? _chunk27IO7V3Pcjs.getSmallPlatformIcon.call(void 0, platform.value) : void 0,
|
|
25879
25678
|
className: "text-h3",
|
|
25880
25679
|
children: platform.label
|
|
25881
25680
|
},
|
|
@@ -26258,7 +26057,7 @@ function ReleaseMediaManager({
|
|
|
26258
26057
|
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
26259
26058
|
|
|
26260
26059
|
|
|
26261
|
-
var SelectButton =
|
|
26060
|
+
var SelectButton = React113.default.forwardRef(
|
|
26262
26061
|
({ title, description, selected = false, disabled = false, icon, image, tag, tagVariant = "outline", onClick, className }, ref) => {
|
|
26263
26062
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
26264
26063
|
"button",
|
|
@@ -26303,7 +26102,7 @@ var SelectButton = React114.default.forwardRef(
|
|
|
26303
26102
|
] }),
|
|
26304
26103
|
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { variant: tagVariant, className: "shrink-0", label: tag }),
|
|
26305
26104
|
selected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26306
|
-
|
|
26105
|
+
_chunkGXRWE7NBcjs.CheckCircleIcon,
|
|
26307
26106
|
{
|
|
26308
26107
|
className: "shrink-0 size-4 md:size-6 text-ods-accent"
|
|
26309
26108
|
}
|
|
@@ -26690,7 +26489,7 @@ function SocialLinksManager({
|
|
|
26690
26489
|
_chunkQJGRP2YEcjs.init_button2.call(void 0, );
|
|
26691
26490
|
|
|
26692
26491
|
|
|
26693
|
-
var StartWithOpenFrameButton =
|
|
26492
|
+
var StartWithOpenFrameButton = React87.forwardRef(({ children = "Start Free Trial", mode = "outline", className, buttonSize, loading = false, buttonBackgroundColor, buttonTextColor, ...props }, ref) => {
|
|
26694
26493
|
const isYellow = mode === "yellow";
|
|
26695
26494
|
const isPink = mode === "pink" || mode === "purple";
|
|
26696
26495
|
const isCyan = mode === "cyan";
|
|
@@ -27046,7 +26845,7 @@ function useVideoWarmup({
|
|
|
27046
26845
|
const runtime = _chunkN2DVKXN4cjs.useChatRuntime.call(void 0, );
|
|
27047
26846
|
const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess', _474 => _474.endpoints, 'access', _475 => _475.supabaseStorageOrigin])));
|
|
27048
26847
|
useVideoOriginPreconnect({ supabaseStorageOrigin: resolvedOrigin });
|
|
27049
|
-
const { ref, isNear } =
|
|
26848
|
+
const { ref, isNear } = _chunk27IO7V3Pcjs.useNearViewport.call(void 0, nearMargin);
|
|
27050
26849
|
_react.useEffect.call(void 0, () => {
|
|
27051
26850
|
if (!isNear || !videoUrl || !resolvedOrigin) return;
|
|
27052
26851
|
const conn = navigator.connection;
|
|
@@ -27465,7 +27264,7 @@ function TranscriptSummaryEditor({
|
|
|
27465
27264
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
27466
27265
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { htmlFor: "subtitles", children: subtitlesLabel }),
|
|
27467
27266
|
isAIGenerated && subtitles && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Badge, { variant: "secondary", className: "flex items-center gap-1", children: [
|
|
27468
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27267
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.StandardCcIcon, { size: 12 }),
|
|
27469
27268
|
"AI Generated"
|
|
27470
27269
|
] })
|
|
27471
27270
|
] }),
|
|
@@ -28650,7 +28449,7 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
28650
28449
|
|
|
28651
28450
|
var DropdownMenu2 = DropdownMenuPrimitive2.Root;
|
|
28652
28451
|
var DropdownMenuTrigger2 = DropdownMenuPrimitive2.Trigger;
|
|
28653
|
-
var DropdownMenuSubTrigger =
|
|
28452
|
+
var DropdownMenuSubTrigger = React90.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
28654
28453
|
DropdownMenuPrimitive2.SubTrigger,
|
|
28655
28454
|
{
|
|
28656
28455
|
ref,
|
|
@@ -28667,7 +28466,7 @@ var DropdownMenuSubTrigger = React91.forwardRef(({ className, inset, children, .
|
|
|
28667
28466
|
}
|
|
28668
28467
|
));
|
|
28669
28468
|
DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive2.SubTrigger.displayName;
|
|
28670
|
-
var DropdownMenuSubContent =
|
|
28469
|
+
var DropdownMenuSubContent = React90.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28671
28470
|
DropdownMenuPrimitive2.SubContent,
|
|
28672
28471
|
{
|
|
28673
28472
|
ref,
|
|
@@ -28679,7 +28478,7 @@ var DropdownMenuSubContent = React91.forwardRef(({ className, ...props }, ref) =
|
|
|
28679
28478
|
}
|
|
28680
28479
|
));
|
|
28681
28480
|
DropdownMenuSubContent.displayName = DropdownMenuPrimitive2.SubContent.displayName;
|
|
28682
|
-
var DropdownMenuContent2 =
|
|
28481
|
+
var DropdownMenuContent2 = React90.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DropdownMenuPrimitive2.Portal, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28683
28482
|
DropdownMenuPrimitive2.Content,
|
|
28684
28483
|
{
|
|
28685
28484
|
ref,
|
|
@@ -28692,7 +28491,7 @@ var DropdownMenuContent2 = React91.forwardRef(({ className, sideOffset = 4, ...p
|
|
|
28692
28491
|
}
|
|
28693
28492
|
) }));
|
|
28694
28493
|
DropdownMenuContent2.displayName = DropdownMenuPrimitive2.Content.displayName;
|
|
28695
|
-
var DropdownMenuItem2 =
|
|
28494
|
+
var DropdownMenuItem2 = React90.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28696
28495
|
DropdownMenuPrimitive2.Item,
|
|
28697
28496
|
{
|
|
28698
28497
|
ref,
|
|
@@ -28705,7 +28504,7 @@ var DropdownMenuItem2 = React91.forwardRef(({ className, inset, ...props }, ref)
|
|
|
28705
28504
|
}
|
|
28706
28505
|
));
|
|
28707
28506
|
DropdownMenuItem2.displayName = DropdownMenuPrimitive2.Item.displayName;
|
|
28708
|
-
var DropdownMenuCheckboxItem =
|
|
28507
|
+
var DropdownMenuCheckboxItem = React90.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
28709
28508
|
DropdownMenuPrimitive2.CheckboxItem,
|
|
28710
28509
|
{
|
|
28711
28510
|
ref,
|
|
@@ -28722,7 +28521,7 @@ var DropdownMenuCheckboxItem = React91.forwardRef(({ className, children, checke
|
|
|
28722
28521
|
}
|
|
28723
28522
|
));
|
|
28724
28523
|
DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive2.CheckboxItem.displayName;
|
|
28725
|
-
var DropdownMenuRadioItem =
|
|
28524
|
+
var DropdownMenuRadioItem = React90.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
28726
28525
|
DropdownMenuPrimitive2.RadioItem,
|
|
28727
28526
|
{
|
|
28728
28527
|
ref,
|
|
@@ -28738,7 +28537,7 @@ var DropdownMenuRadioItem = React91.forwardRef(({ className, children, ...props
|
|
|
28738
28537
|
}
|
|
28739
28538
|
));
|
|
28740
28539
|
DropdownMenuRadioItem.displayName = DropdownMenuPrimitive2.RadioItem.displayName;
|
|
28741
|
-
var DropdownMenuLabel =
|
|
28540
|
+
var DropdownMenuLabel = React90.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28742
28541
|
DropdownMenuPrimitive2.Label,
|
|
28743
28542
|
{
|
|
28744
28543
|
ref,
|
|
@@ -28751,7 +28550,7 @@ var DropdownMenuLabel = React91.forwardRef(({ className, inset, ...props }, ref)
|
|
|
28751
28550
|
}
|
|
28752
28551
|
));
|
|
28753
28552
|
DropdownMenuLabel.displayName = DropdownMenuPrimitive2.Label.displayName;
|
|
28754
|
-
var DropdownMenuSeparator =
|
|
28553
|
+
var DropdownMenuSeparator = React90.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28755
28554
|
DropdownMenuPrimitive2.Separator,
|
|
28756
28555
|
{
|
|
28757
28556
|
ref,
|
|
@@ -28791,7 +28590,7 @@ var getApprovalLevelLabel = (level, editMode = false) => {
|
|
|
28791
28590
|
};
|
|
28792
28591
|
var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
28793
28592
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "bg-ods-bg border-b border-ods-border flex gap-4 items-center px-4 py-3", children: [
|
|
28794
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-ods-bg border border-ods-border rounded-md flex items-center justify-center w-8 h-8", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28593
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-ods-bg border border-ods-border rounded-md flex items-center justify-center w-8 h-8", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk27IO7V3Pcjs.ToolIcon, { toolType: policy.toolName, size: 16 }) }),
|
|
28795
28594
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 flex flex-col min-w-0", children: [
|
|
28796
28595
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-[16px] font-medium text-ods-text-primary truncate", title: policy.name, children: policy.name }),
|
|
28797
28596
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-[12px] text-ods-text-secondary break-all font-mono", children: policy.commandPattern })
|
|
@@ -29102,8 +28901,8 @@ function WaitlistForm({
|
|
|
29102
28901
|
const [email, setEmail] = _react.useState.call(void 0, defaultEmail);
|
|
29103
28902
|
const [phone, setPhone] = _react.useState.call(void 0, defaultPhone);
|
|
29104
28903
|
const [countryCode, setCountryCode] = _react.useState.call(void 0, "US");
|
|
29105
|
-
const { toast } =
|
|
29106
|
-
const { honeypotInputProps, getSignals, resetSignals } =
|
|
28904
|
+
const { toast } = _chunk27IO7V3Pcjs.useToast.call(void 0, );
|
|
28905
|
+
const { honeypotInputProps, getSignals, resetSignals } = _chunk27IO7V3Pcjs.useHumanitySignals.call(void 0, );
|
|
29107
28906
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
29108
28907
|
const [isClient, setIsClient] = _react.useState.call(void 0, false);
|
|
29109
28908
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
@@ -29276,7 +29075,7 @@ function WaitlistForm({
|
|
|
29276
29075
|
// src/components/features/notifications/notifications-context.tsx
|
|
29277
29076
|
|
|
29278
29077
|
|
|
29279
|
-
var NotificationsContext =
|
|
29078
|
+
var NotificationsContext = React91.createContext(null);
|
|
29280
29079
|
function mergeNotification(base, incoming) {
|
|
29281
29080
|
const out = { ...base };
|
|
29282
29081
|
for (const key of Object.keys(incoming)) {
|
|
@@ -29355,16 +29154,16 @@ function NotificationsProvider({
|
|
|
29355
29154
|
onLoadMore,
|
|
29356
29155
|
renderTile
|
|
29357
29156
|
}) {
|
|
29358
|
-
const [notifications, dispatch] =
|
|
29359
|
-
const [isOpen, setIsOpen] =
|
|
29360
|
-
const [showPopups, setShowPopupsState] =
|
|
29361
|
-
const [showDesktopPopups, setShowDesktopPopupsState] =
|
|
29157
|
+
const [notifications, dispatch] = React91.useReducer(reducer, initialNotifications);
|
|
29158
|
+
const [isOpen, setIsOpen] = React91.useState(false);
|
|
29159
|
+
const [showPopups, setShowPopupsState] = React91.useState(defaultShowPopups);
|
|
29160
|
+
const [showDesktopPopups, setShowDesktopPopupsState] = React91.useState(defaultShowDesktopPopups);
|
|
29362
29161
|
const desktopPopupsConfigured = onShowDesktopPopupsChange !== void 0;
|
|
29363
|
-
const actionsRef =
|
|
29364
|
-
|
|
29162
|
+
const actionsRef = React91.useRef(actions);
|
|
29163
|
+
React91.useEffect(() => {
|
|
29365
29164
|
actionsRef.current = actions;
|
|
29366
29165
|
}, [actions]);
|
|
29367
|
-
const addNotification =
|
|
29166
|
+
const addNotification = React91.useCallback(
|
|
29368
29167
|
(input) => {
|
|
29369
29168
|
const id = _nullishCoalesce(input.id, () => ( generateId()));
|
|
29370
29169
|
const notification = {
|
|
@@ -29378,7 +29177,7 @@ function NotificationsProvider({
|
|
|
29378
29177
|
},
|
|
29379
29178
|
[maxNotifications]
|
|
29380
29179
|
);
|
|
29381
|
-
const upsertNotification =
|
|
29180
|
+
const upsertNotification = React91.useCallback(
|
|
29382
29181
|
(input) => {
|
|
29383
29182
|
const notification = {
|
|
29384
29183
|
...input,
|
|
@@ -29391,48 +29190,48 @@ function NotificationsProvider({
|
|
|
29391
29190
|
},
|
|
29392
29191
|
[maxNotifications]
|
|
29393
29192
|
);
|
|
29394
|
-
const setNotifications =
|
|
29193
|
+
const setNotifications = React91.useCallback((list) => {
|
|
29395
29194
|
dispatch({ type: "set", notifications: list });
|
|
29396
29195
|
}, []);
|
|
29397
|
-
const markRead =
|
|
29196
|
+
const markRead = React91.useCallback((id) => {
|
|
29398
29197
|
dispatch({ type: "markRead", id });
|
|
29399
29198
|
void _optionalChain([actionsRef, 'access', _493 => _493.current, 'optionalAccess', _494 => _494.onMarkRead, 'optionalCall', _495 => _495(id)]);
|
|
29400
29199
|
}, []);
|
|
29401
|
-
const markAllRead =
|
|
29200
|
+
const markAllRead = React91.useCallback(() => {
|
|
29402
29201
|
dispatch({ type: "markAllRead" });
|
|
29403
29202
|
void _optionalChain([actionsRef, 'access', _496 => _496.current, 'optionalAccess', _497 => _497.onMarkAllRead, 'optionalCall', _498 => _498()]);
|
|
29404
29203
|
}, []);
|
|
29405
|
-
const markSettled =
|
|
29204
|
+
const markSettled = React91.useCallback((id) => {
|
|
29406
29205
|
dispatch({ type: "markSettled", id });
|
|
29407
29206
|
void _optionalChain([actionsRef, 'access', _499 => _499.current, 'optionalAccess', _500 => _500.onMarkSettled, 'optionalCall', _501 => _501(id)]);
|
|
29408
29207
|
}, []);
|
|
29409
|
-
const remove =
|
|
29208
|
+
const remove = React91.useCallback((id) => {
|
|
29410
29209
|
dispatch({ type: "remove", id });
|
|
29411
29210
|
void _optionalChain([actionsRef, 'access', _502 => _502.current, 'optionalAccess', _503 => _503.onRemove, 'optionalCall', _504 => _504(id)]);
|
|
29412
29211
|
}, []);
|
|
29413
|
-
const clear =
|
|
29414
|
-
const open =
|
|
29415
|
-
const close =
|
|
29416
|
-
const toggle =
|
|
29417
|
-
const setShowPopups =
|
|
29212
|
+
const clear = React91.useCallback(() => dispatch({ type: "clear" }), []);
|
|
29213
|
+
const open = React91.useCallback(() => setIsOpen(true), []);
|
|
29214
|
+
const close = React91.useCallback(() => setIsOpen(false), []);
|
|
29215
|
+
const toggle = React91.useCallback(() => setIsOpen((v) => !v), []);
|
|
29216
|
+
const setShowPopups = React91.useCallback(
|
|
29418
29217
|
(value2) => {
|
|
29419
29218
|
setShowPopupsState(value2);
|
|
29420
29219
|
_optionalChain([onShowPopupsChange, 'optionalCall', _505 => _505(value2)]);
|
|
29421
29220
|
},
|
|
29422
29221
|
[onShowPopupsChange]
|
|
29423
29222
|
);
|
|
29424
|
-
const setShowDesktopPopups =
|
|
29223
|
+
const setShowDesktopPopups = React91.useCallback(
|
|
29425
29224
|
(value2) => {
|
|
29426
29225
|
setShowDesktopPopupsState(value2);
|
|
29427
29226
|
_optionalChain([onShowDesktopPopupsChange, 'optionalCall', _506 => _506(value2)]);
|
|
29428
29227
|
},
|
|
29429
29228
|
[onShowDesktopPopupsChange]
|
|
29430
29229
|
);
|
|
29431
|
-
const unreadCount =
|
|
29230
|
+
const unreadCount = React91.useMemo(
|
|
29432
29231
|
() => notifications.reduce((acc, n) => n.read ? acc : acc + 1, 0),
|
|
29433
29232
|
[notifications]
|
|
29434
29233
|
);
|
|
29435
|
-
const value =
|
|
29234
|
+
const value = React91.useMemo(
|
|
29436
29235
|
() => ({
|
|
29437
29236
|
notifications,
|
|
29438
29237
|
unreadCount,
|
|
@@ -29491,14 +29290,14 @@ function NotificationsProvider({
|
|
|
29491
29290
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, NotificationsContext.Provider, { value, children });
|
|
29492
29291
|
}
|
|
29493
29292
|
function useNotifications() {
|
|
29494
|
-
const ctx =
|
|
29293
|
+
const ctx = React91.useContext(NotificationsContext);
|
|
29495
29294
|
if (!ctx) {
|
|
29496
29295
|
throw new Error("useNotifications must be used inside <NotificationsProvider>");
|
|
29497
29296
|
}
|
|
29498
29297
|
return ctx;
|
|
29499
29298
|
}
|
|
29500
29299
|
function useOptionalNotifications() {
|
|
29501
|
-
return
|
|
29300
|
+
return React91.useContext(NotificationsContext);
|
|
29502
29301
|
}
|
|
29503
29302
|
|
|
29504
29303
|
// src/components/features/notifications/notification-drawer.tsx
|
|
@@ -29548,7 +29347,7 @@ function NotificationTile({
|
|
|
29548
29347
|
children ? "border-b border-ods-border" : null
|
|
29549
29348
|
),
|
|
29550
29349
|
children: [
|
|
29551
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex size-6 shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "size-1.5 rounded-full",
|
|
29350
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex size-6 shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "size-1.5 rounded-full", _chunk27IO7V3Pcjs.dotColorByVariant[variant]) }) }),
|
|
29552
29351
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
29553
29352
|
title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-h4 text-ods-text-primary", title: typeof title === "string" ? title : void 0, children: title }) : null,
|
|
29554
29353
|
description ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6 line-clamp-2 text-ods-text-secondary", title: typeof description === "string" ? description : void 0, children: description }) : null
|
|
@@ -29565,7 +29364,7 @@ function NotificationTile({
|
|
|
29565
29364
|
"shrink-0 hover:text-ods-text-primary",
|
|
29566
29365
|
isLive && "invisible"
|
|
29567
29366
|
),
|
|
29568
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29367
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.CheckCircleIcon, {})
|
|
29569
29368
|
}
|
|
29570
29369
|
),
|
|
29571
29370
|
counting ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -29574,7 +29373,7 @@ function NotificationTile({
|
|
|
29574
29373
|
"aria-hidden": true,
|
|
29575
29374
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
29576
29375
|
"absolute inset-x-0 -bottom-px h-1 origin-left",
|
|
29577
|
-
|
|
29376
|
+
_chunk27IO7V3Pcjs.progressColorByVariant[variant]
|
|
29578
29377
|
),
|
|
29579
29378
|
style: {
|
|
29580
29379
|
animation: `toast-progress ${liveDurationMs}ms linear forwards`,
|
|
@@ -29597,7 +29396,7 @@ function NotificationTile({
|
|
|
29597
29396
|
"absolute right-[var(--spacing-system-xsf)] top-[var(--spacing-system-xsf)] flex size-4 items-center justify-center text-ods-text-secondary transition-opacity duration-200 hover:text-ods-text-primary",
|
|
29598
29397
|
!isLive && "pointer-events-none opacity-0"
|
|
29599
29398
|
),
|
|
29600
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29399
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.XmarkIcon, { size: 16 })
|
|
29601
29400
|
}
|
|
29602
29401
|
)
|
|
29603
29402
|
]
|
|
@@ -29777,7 +29576,7 @@ function DrawerLoadingTiles() {
|
|
|
29777
29576
|
}
|
|
29778
29577
|
function EmptyState() {
|
|
29779
29578
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col items-center justify-center gap-[var(--spacing-system-xs)] py-[var(--spacing-system-l)]", children: [
|
|
29780
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29579
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.BellOffIcon, { size: 24, className: "text-ods-text-secondary" }),
|
|
29781
29580
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6 text-ods-text-secondary", children: "No new notifications" })
|
|
29782
29581
|
] });
|
|
29783
29582
|
}
|
|
@@ -29798,7 +29597,7 @@ function ShowNotificationsToggleRow({ checked, onChange }) {
|
|
|
29798
29597
|
] });
|
|
29799
29598
|
}
|
|
29800
29599
|
function DesktopNotificationsToggleRow({ checked, onChange }) {
|
|
29801
|
-
const { supported, permission, request } =
|
|
29600
|
+
const { supported, permission, request } = _chunk27IO7V3Pcjs.useNotificationPermission.call(void 0, );
|
|
29802
29601
|
if (!supported) return null;
|
|
29803
29602
|
const blocked = permission === "denied";
|
|
29804
29603
|
const handleChange = async (value) => {
|
|
@@ -29832,10 +29631,10 @@ function NotificationsHistoryButton({ onClick, historyHref }) {
|
|
|
29832
29631
|
fullWidth: true,
|
|
29833
29632
|
onClick,
|
|
29834
29633
|
mainDisabled: !onClick,
|
|
29835
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29634
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.ClockHistoryIcon, { className: "text-ods-text-secondary" }),
|
|
29836
29635
|
groupAriaLabel: "Notifications history",
|
|
29837
29636
|
iconAction: {
|
|
29838
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29637
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.ArrowRightUpIcon, { className: "text-ods-text-secondary" }),
|
|
29839
29638
|
"aria-label": "Open notifications history in a new tab",
|
|
29840
29639
|
href: historyHref,
|
|
29841
29640
|
openInNewTab: true,
|
|
@@ -30220,24 +30019,24 @@ function ApprovalRequestNotificationTile({
|
|
|
30220
30019
|
// src/components/features/time-tracker/time-tracker-context.tsx
|
|
30221
30020
|
|
|
30222
30021
|
|
|
30223
|
-
var TimeTrackerContext =
|
|
30022
|
+
var TimeTrackerContext = React92.createContext(null);
|
|
30224
30023
|
function TimeTrackerProvider({ children, defaultOpen = false, ...data }) {
|
|
30225
|
-
const [isOpen, setIsOpen] =
|
|
30226
|
-
const open =
|
|
30227
|
-
const close =
|
|
30228
|
-
const toggle =
|
|
30024
|
+
const [isOpen, setIsOpen] = React92.useState(defaultOpen);
|
|
30025
|
+
const open = React92.useCallback(() => setIsOpen(true), []);
|
|
30026
|
+
const close = React92.useCallback(() => setIsOpen(false), []);
|
|
30027
|
+
const toggle = React92.useCallback(() => setIsOpen((v) => !v), []);
|
|
30229
30028
|
const value = { ...data, isOpen, open, close, toggle };
|
|
30230
30029
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TimeTrackerContext.Provider, { value, children });
|
|
30231
30030
|
}
|
|
30232
30031
|
function useTimeTracker() {
|
|
30233
|
-
const ctx =
|
|
30032
|
+
const ctx = React92.useContext(TimeTrackerContext);
|
|
30234
30033
|
if (!ctx) {
|
|
30235
30034
|
throw new Error("useTimeTracker must be used inside <TimeTrackerProvider>");
|
|
30236
30035
|
}
|
|
30237
30036
|
return ctx;
|
|
30238
30037
|
}
|
|
30239
30038
|
function useOptionalTimeTracker() {
|
|
30240
|
-
return
|
|
30039
|
+
return React92.useContext(TimeTrackerContext);
|
|
30241
30040
|
}
|
|
30242
30041
|
|
|
30243
30042
|
// src/components/features/time-tracker/time-tracker-panel.tsx
|
|
@@ -30349,7 +30148,7 @@ function TimeTrackerPanel({
|
|
|
30349
30148
|
onClick: onClose,
|
|
30350
30149
|
"aria-label": "Close time tracker",
|
|
30351
30150
|
className: "absolute right-[var(--spacing-system-sf)] top-[var(--spacing-system-sf)] hidden text-ods-text-secondary hover:text-ods-text-primary md:inline-flex [&_svg]:!size-6",
|
|
30352
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30151
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.XmarkIcon, {})
|
|
30353
30152
|
}
|
|
30354
30153
|
),
|
|
30355
30154
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
@@ -30385,7 +30184,7 @@ function TimeTrackerPanel({
|
|
|
30385
30184
|
disabled: isStarting,
|
|
30386
30185
|
"aria-label": isRunning ? "Pause tracking" : isActive ? "Resume tracking" : "Start tracking",
|
|
30387
30186
|
className: "h-auto w-auto rounded-none transition-none [&_svg]:!size-6",
|
|
30388
|
-
children: isRunning ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30187
|
+
children: isRunning ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.PauseIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.PlayIcon, {})
|
|
30389
30188
|
}
|
|
30390
30189
|
),
|
|
30391
30190
|
isActive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -30397,7 +30196,7 @@ function TimeTrackerPanel({
|
|
|
30397
30196
|
disabled: isSubmitting,
|
|
30398
30197
|
"aria-label": "Finish and save tracking",
|
|
30399
30198
|
className: "h-auto w-auto rounded-none border-l border-ods-border [&_svg]:!size-6",
|
|
30400
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30199
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.CheckCircleIcon, {})
|
|
30401
30200
|
}
|
|
30402
30201
|
)
|
|
30403
30202
|
] }),
|
|
@@ -30431,7 +30230,7 @@ function TimeTrackerPanel({
|
|
|
30431
30230
|
),
|
|
30432
30231
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
30433
30232
|
visibleEntries.length === 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-h-[268px] flex-col items-center justify-center gap-[var(--spacing-system-l)] p-[var(--spacing-system-l)] text-center text-ods-text-secondary", children: [
|
|
30434
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30233
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.ClockHistoryIcon, { className: "size-6" }),
|
|
30435
30234
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
30436
30235
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 font-medium", children: "No time logged" }),
|
|
30437
30236
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6", children: "Last entries will appear here" })
|
|
@@ -30448,7 +30247,7 @@ function TimeTrackerPanel({
|
|
|
30448
30247
|
className: "min-w-0",
|
|
30449
30248
|
onClick: handleManualEntry,
|
|
30450
30249
|
disabled: !onManualEntry,
|
|
30451
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30250
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.PlusCircleIcon, { className: "text-ods-text-secondary" }),
|
|
30452
30251
|
children: "Manual Entry"
|
|
30453
30252
|
}
|
|
30454
30253
|
),
|
|
@@ -30463,7 +30262,7 @@ function TimeTrackerPanel({
|
|
|
30463
30262
|
mainDisabled: !onOpenMyTime,
|
|
30464
30263
|
groupAriaLabel: "Open my time",
|
|
30465
30264
|
iconAction: {
|
|
30466
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30265
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.ArrowRightUpIcon, { size: 24 }),
|
|
30467
30266
|
"aria-label": "Open my time in a new view",
|
|
30468
30267
|
onClick: onOpenMyTimeMenu,
|
|
30469
30268
|
disabled: !onOpenMyTimeMenu
|
|
@@ -30481,10 +30280,10 @@ function TimeTrackerPanel({
|
|
|
30481
30280
|
var STATUS_TAG_SKIN = "gap-[var(--spacing-system-xs)] font-mono font-medium uppercase tracking-tight";
|
|
30482
30281
|
function StatusTag({ status }) {
|
|
30483
30282
|
if (status === "tracking") {
|
|
30484
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { variant: "success", className: STATUS_TAG_SKIN, icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30283
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { variant: "success", className: STATUS_TAG_SKIN, icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.DotsLoaderIcon, { className: "h-4 w-4" }), label: "Tracking" });
|
|
30485
30284
|
}
|
|
30486
30285
|
if (status === "paused") {
|
|
30487
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { variant: "warning", className: STATUS_TAG_SKIN, icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30286
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { variant: "warning", className: STATUS_TAG_SKIN, icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.PauseIcon, { className: "h-4 w-4" }), label: "Paused" });
|
|
30488
30287
|
}
|
|
30489
30288
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { variant: "grey", className: STATUS_TAG_SKIN, label: "Ready to Track" });
|
|
30490
30289
|
}
|
|
@@ -30507,7 +30306,7 @@ function LastEntryRow({ entry, onClick }) {
|
|
|
30507
30306
|
disabled: !onClick,
|
|
30508
30307
|
"aria-label": `Open entry: ${entry.title}`,
|
|
30509
30308
|
className: "h-12 w-12 shrink-0 [&_svg]:!size-6",
|
|
30510
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30309
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Chevron02RightIcon, {})
|
|
30511
30310
|
}
|
|
30512
30311
|
)
|
|
30513
30312
|
] });
|
|
@@ -30555,8 +30354,8 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
30555
30354
|
const { isOpen, open, close, status } = ctx;
|
|
30556
30355
|
const isPaused = status === "paused";
|
|
30557
30356
|
const isActive = status === "tracking" || isPaused;
|
|
30558
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30559
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30357
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, PopoverPrimitive4.Root, { open: isOpen, onOpenChange: (next) => next ? open() : close(), children: [
|
|
30358
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverPrimitive4.Trigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30560
30359
|
HeaderButton,
|
|
30561
30360
|
{
|
|
30562
30361
|
"aria-label": "Time tracker",
|
|
@@ -30569,7 +30368,7 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
30569
30368
|
),
|
|
30570
30369
|
icon: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
30571
30370
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30572
|
-
|
|
30371
|
+
_chunkGXRWE7NBcjs.ClockHistoryIcon,
|
|
30573
30372
|
{
|
|
30574
30373
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
30575
30374
|
"h-4 w-4 md:h-6 md:w-6",
|
|
@@ -30590,8 +30389,8 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
30590
30389
|
] })
|
|
30591
30390
|
}
|
|
30592
30391
|
) }),
|
|
30593
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30594
|
-
|
|
30392
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverPrimitive4.Portal, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30393
|
+
PopoverPrimitive4.Content,
|
|
30595
30394
|
{
|
|
30596
30395
|
align: "end",
|
|
30597
30396
|
sideOffset: 8,
|
|
@@ -30653,7 +30452,7 @@ function BoardColumnHeader({
|
|
|
30653
30452
|
className: "h-8 w-8 md:h-8 md:w-8 p-0",
|
|
30654
30453
|
onClick: onToggleCollapse,
|
|
30655
30454
|
"aria-label": "Expand column",
|
|
30656
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30455
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Arrow02RightIcon, { className: "h-6 w-6 text-ods-text-secondary" })
|
|
30657
30456
|
}
|
|
30658
30457
|
),
|
|
30659
30458
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -30696,7 +30495,7 @@ function BoardColumnHeader({
|
|
|
30696
30495
|
className: "h-8 w-8 md:h-8 md:w-8 p-0",
|
|
30697
30496
|
onClick: onToggleCollapse,
|
|
30698
30497
|
"aria-label": "Collapse column",
|
|
30699
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30498
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Arrow02LeftIcon, { className: "h-6 w-6 text-ods-text-secondary" })
|
|
30700
30499
|
}
|
|
30701
30500
|
),
|
|
30702
30501
|
onArchive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -30707,7 +30506,7 @@ function BoardColumnHeader({
|
|
|
30707
30506
|
className: "h-8 w-8 md:h-8 md:w-8 p-0",
|
|
30708
30507
|
onClick: onArchive,
|
|
30709
30508
|
"aria-label": "Archive resolved tickets",
|
|
30710
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30509
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.BoxArchiveIcon, { className: "h-6 w-6 text-ods-text-secondary" })
|
|
30711
30510
|
}
|
|
30712
30511
|
),
|
|
30713
30512
|
onAddTicket && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -30718,7 +30517,7 @@ function BoardColumnHeader({
|
|
|
30718
30517
|
className: "h-8 w-8 md:h-8 md:w-8 p-0",
|
|
30719
30518
|
onClick: onAddTicket,
|
|
30720
30519
|
"aria-label": "Add ticket",
|
|
30721
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30520
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.PlusIcon, { className: "h-6 w-6 text-ods-text-secondary" })
|
|
30722
30521
|
}
|
|
30723
30522
|
)
|
|
30724
30523
|
] })
|
|
@@ -30748,7 +30547,7 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
30748
30547
|
|
|
30749
30548
|
|
|
30750
30549
|
function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
30751
|
-
const [expanded, setExpanded] =
|
|
30550
|
+
const [expanded, setExpanded] = React93.useState(false);
|
|
30752
30551
|
const { innerRef, containerStyle } = useCollapsible({ expanded });
|
|
30753
30552
|
const isAdmin = pendingApproval.approvalType === "ADMIN";
|
|
30754
30553
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex flex-col", children: [
|
|
@@ -30768,12 +30567,12 @@ function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
|
30768
30567
|
isAdmin ? "text-ods-open-yellow" : "text-ods-text-secondary"
|
|
30769
30568
|
),
|
|
30770
30569
|
children: [
|
|
30771
|
-
isAdmin ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30570
|
+
isAdmin ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.ShieldCheckIcon, { className: "size-4 shrink-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.DotsLoaderIcon, { size: 16, className: "shrink-0" }),
|
|
30772
30571
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex-1 truncate text-left", children: isAdmin ? "Technician approval required" : "Pending client approval" })
|
|
30773
30572
|
]
|
|
30774
30573
|
}
|
|
30775
30574
|
),
|
|
30776
|
-
expanded ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30575
|
+
expanded ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Chevron02UpIcon, { className: "size-4 shrink-0 text-ods-text-secondary" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Chevron02DownIcon, { className: "size-4 shrink-0 text-ods-text-secondary" })
|
|
30777
30576
|
]
|
|
30778
30577
|
}
|
|
30779
30578
|
),
|
|
@@ -30816,7 +30615,7 @@ function TicketCard({
|
|
|
30816
30615
|
onApprove,
|
|
30817
30616
|
onReject
|
|
30818
30617
|
}) {
|
|
30819
|
-
const sortableData =
|
|
30618
|
+
const sortableData = React94.useMemo(
|
|
30820
30619
|
() => ({ columnId, type: "ticket" }),
|
|
30821
30620
|
[columnId]
|
|
30822
30621
|
);
|
|
@@ -30843,7 +30642,7 @@ function TicketCard({
|
|
|
30843
30642
|
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _535 => _535.assignees, 'optionalAccess', _536 => _536.length]) || renderAssignSlot);
|
|
30844
30643
|
const rightSection = hasRightSection ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex shrink-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
30845
30644
|
ticket.priority && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30846
|
-
|
|
30645
|
+
_chunkGXRWE7NBcjs.Flag02Icon,
|
|
30847
30646
|
{
|
|
30848
30647
|
className: _chunkFIG2RKZFcjs.cn.call(void 0, "size-4", PRIORITY_COLOR_CLASS[ticket.priority]),
|
|
30849
30648
|
"aria-label": `Priority: ${ticket.priority}`
|
|
@@ -30889,7 +30688,7 @@ function TicketCard({
|
|
|
30889
30688
|
Tag,
|
|
30890
30689
|
{
|
|
30891
30690
|
label: "New Message",
|
|
30892
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30691
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.MessagesIcon, { size: 16, color: newMessageTextColor }),
|
|
30893
30692
|
className: "w-fit shrink-0",
|
|
30894
30693
|
style: { backgroundColor: columnColor, color: newMessageTextColor }
|
|
30895
30694
|
}
|
|
@@ -30962,7 +30761,7 @@ function TicketTagRow({ tags }) {
|
|
|
30962
30761
|
|
|
30963
30762
|
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
30964
30763
|
|
|
30965
|
-
var TicketCardSkeleton =
|
|
30764
|
+
var TicketCardSkeleton = React95.forwardRef(
|
|
30966
30765
|
({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30967
30766
|
"div",
|
|
30968
30767
|
{
|
|
@@ -31056,8 +30855,8 @@ function BoardColumn({
|
|
|
31056
30855
|
);
|
|
31057
30856
|
}
|
|
31058
30857
|
function ColumnBody({ column, getTicketHref, renderAssignSlot, onApprove, onReject, onLoadMore, loadMoreRootMargin }) {
|
|
31059
|
-
const ticketIds =
|
|
31060
|
-
const droppableData =
|
|
30858
|
+
const ticketIds = React96.useMemo(() => column.tickets.map((t) => t.id), [column.tickets]);
|
|
30859
|
+
const droppableData = React96.useMemo(
|
|
31061
30860
|
() => ({ columnId: column.id, type: "column" }),
|
|
31062
30861
|
[column.id]
|
|
31063
30862
|
);
|
|
@@ -31066,13 +30865,13 @@ function ColumnBody({ column, getTicketHref, renderAssignSlot, onApprove, onReje
|
|
|
31066
30865
|
data: droppableData,
|
|
31067
30866
|
disabled: column.dropDisabled
|
|
31068
30867
|
});
|
|
31069
|
-
const scrollRef =
|
|
31070
|
-
const sentinelRef =
|
|
31071
|
-
const loadMoreRef =
|
|
30868
|
+
const scrollRef = React96.useRef(null);
|
|
30869
|
+
const sentinelRef = React96.useRef(null);
|
|
30870
|
+
const loadMoreRef = React96.useRef(onLoadMore);
|
|
31072
30871
|
loadMoreRef.current = onLoadMore;
|
|
31073
|
-
const columnIdRef =
|
|
30872
|
+
const columnIdRef = React96.useRef(column.id);
|
|
31074
30873
|
columnIdRef.current = column.id;
|
|
31075
|
-
|
|
30874
|
+
React96.useEffect(() => {
|
|
31076
30875
|
if (!column.hasMore || column.isLoadingMore) return;
|
|
31077
30876
|
const sentinel = sentinelRef.current;
|
|
31078
30877
|
const root = scrollRef.current;
|
|
@@ -31088,7 +30887,7 @@ function ColumnBody({ column, getTicketHref, renderAssignSlot, onApprove, onReje
|
|
|
31088
30887
|
observer.observe(sentinel);
|
|
31089
30888
|
return () => observer.disconnect();
|
|
31090
30889
|
}, [column.hasMore, column.isLoadingMore, loadMoreRootMargin]);
|
|
31091
|
-
const setBodyRef =
|
|
30890
|
+
const setBodyRef = React96.useCallback(
|
|
31092
30891
|
(el) => {
|
|
31093
30892
|
scrollRef.current = el;
|
|
31094
30893
|
setDroppableRef(el);
|
|
@@ -31125,7 +30924,7 @@ function ColumnBody({ column, getTicketHref, renderAssignSlot, onApprove, onReje
|
|
|
31125
30924
|
);
|
|
31126
30925
|
}
|
|
31127
30926
|
function SkeletonStack({ count = 4 }) {
|
|
31128
|
-
const keys =
|
|
30927
|
+
const keys = React96.useMemo(
|
|
31129
30928
|
() => Array.from({ length: count }, () => Math.random().toString(36).slice(2)),
|
|
31130
30929
|
[count]
|
|
31131
30930
|
);
|
|
@@ -31133,7 +30932,7 @@ function SkeletonStack({ count = 4 }) {
|
|
|
31133
30932
|
}
|
|
31134
30933
|
function EmptyState2() {
|
|
31135
30934
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col items-center justify-center gap-[var(--spacing-system-lf)] p-[var(--spacing-system-lf)] text-center text-ods-text-secondary", children: [
|
|
31136
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30935
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.TagIcon, { className: "h-6 w-6 shrink-0" }),
|
|
31137
30936
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
31138
30937
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4", children: "No tickets here" }),
|
|
31139
30938
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6", children: "Drag a ticket here or change its status to move it to this column" })
|
|
@@ -31144,7 +30943,7 @@ function EmptyState2() {
|
|
|
31144
30943
|
// src/components/features/board/use-board-collapse.ts
|
|
31145
30944
|
|
|
31146
30945
|
function useBoardCollapse(storageKey) {
|
|
31147
|
-
const [persisted, setPersisted] =
|
|
30946
|
+
const [persisted, setPersisted] = _chunk27IO7V3Pcjs.useLocalStorage.call(void 0,
|
|
31148
30947
|
_nullishCoalesce(storageKey, () => ( "__board_collapse_unused__")),
|
|
31149
30948
|
{}
|
|
31150
30949
|
);
|
|
@@ -31194,19 +30993,19 @@ function Board({
|
|
|
31194
30993
|
onThumbPointerDown,
|
|
31195
30994
|
onThumbPointerMove,
|
|
31196
30995
|
onThumbPointerUp
|
|
31197
|
-
} =
|
|
31198
|
-
const [items, setItems] =
|
|
31199
|
-
const isDraggingRef =
|
|
31200
|
-
|
|
30996
|
+
} = _chunk27IO7V3Pcjs.useHorizontalScrollbar.call(void 0, );
|
|
30997
|
+
const [items, setItems] = React97.useState(columns);
|
|
30998
|
+
const isDraggingRef = React97.useRef(false);
|
|
30999
|
+
React97.useEffect(() => {
|
|
31201
31000
|
if (!isDraggingRef.current) setItems(columns);
|
|
31202
31001
|
}, [columns]);
|
|
31203
|
-
const dragOriginRef =
|
|
31204
|
-
const [activeTicket, setActiveTicket] =
|
|
31002
|
+
const dragOriginRef = React97.useRef(null);
|
|
31003
|
+
const [activeTicket, setActiveTicket] = React97.useState(null);
|
|
31205
31004
|
const sensors = _core.useSensors.call(void 0,
|
|
31206
31005
|
_core.useSensor.call(void 0, _core.PointerSensor, { activationConstraint: { distance: 6 } }),
|
|
31207
31006
|
_core.useSensor.call(void 0, _core.KeyboardSensor, { coordinateGetter: _sortable.sortableKeyboardCoordinates })
|
|
31208
31007
|
);
|
|
31209
|
-
const collisionDetection =
|
|
31008
|
+
const collisionDetection = React97.useCallback((args) => {
|
|
31210
31009
|
const pointer = _core.pointerWithin.call(void 0, args);
|
|
31211
31010
|
const intersections = pointer.length > 0 ? pointer : _core.rectIntersection.call(void 0, args);
|
|
31212
31011
|
const ticketHit = intersections.find(
|
|
@@ -31360,7 +31159,7 @@ function Board({
|
|
|
31360
31159
|
const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess', _577 => _577.system]));
|
|
31361
31160
|
const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess', _578 => _578.system]));
|
|
31362
31161
|
const showGap = i > 0 && !joinLeft;
|
|
31363
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
31162
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React97.Fragment, { children: [
|
|
31364
31163
|
showGap && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "w-[var(--spacing-system-mf)] shrink-0" }),
|
|
31365
31164
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31366
31165
|
BoardColumn,
|
|
@@ -31518,7 +31317,7 @@ function TicketStatusConfigList({
|
|
|
31518
31317
|
if (oldIndex === -1 || newIndex === -1) return;
|
|
31519
31318
|
onReorder(oldIndex, newIndex);
|
|
31520
31319
|
};
|
|
31521
|
-
const sortableIds =
|
|
31320
|
+
const sortableIds = React98.useMemo(() => items.map((i) => i.id), [items]);
|
|
31522
31321
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _core.DndContext, { sensors, collisionDetection: _core.closestCenter, onDragEnd: handleDragEnd, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _sortable.SortableContext, { items: sortableIds, strategy: _sortable.verticalListSortingStrategy, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex w-full flex-col gap-[var(--spacing-system-xs)]", className), children: items.map((item) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortableRow, { id: item.id, children: (args) => renderRow(item, args) }, item.id)) }) }) });
|
|
31523
31322
|
}
|
|
31524
31323
|
function SortableRow({
|
|
@@ -31609,7 +31408,7 @@ function Header2({ config, platform }) {
|
|
|
31609
31408
|
}, [config.autoHide]);
|
|
31610
31409
|
const renderNavigationItem = (item) => {
|
|
31611
31410
|
if (item.element) {
|
|
31612
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31411
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, React113.default.Fragment, { children: item.element }, item.id);
|
|
31613
31412
|
}
|
|
31614
31413
|
if (item.children && item.children.length > 0) {
|
|
31615
31414
|
const isOpen = openDropdowns[item.id] || false;
|
|
@@ -31795,7 +31594,7 @@ function Header2({ config, platform }) {
|
|
|
31795
31594
|
_optionalChain([config, 'access', _593 => _593.mobile, 'optionalAccess', _594 => _594.onToggle, 'optionalCall', _595 => _595()]);
|
|
31796
31595
|
},
|
|
31797
31596
|
"aria-label": _optionalChain([config, 'access', _596 => _596.mobile, 'optionalAccess', _597 => _597.isOpen]) ? "Close menu" : "Open menu",
|
|
31798
|
-
leftIcon: _optionalChain([config, 'access', _598 => _598.mobile, 'optionalAccess', _599 => _599.menuIcon]) || /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31597
|
+
leftIcon: _optionalChain([config, 'access', _598 => _598.mobile, 'optionalAccess', _599 => _599.menuIcon]) || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Menu01Icon, {})
|
|
31799
31598
|
}
|
|
31800
31599
|
)
|
|
31801
31600
|
] })
|
|
@@ -31997,7 +31796,7 @@ _chunkQJGRP2YEcjs.init_button2.call(void 0, );
|
|
|
31997
31796
|
function SlidingSidebar({ config }) {
|
|
31998
31797
|
const [expandedItems, setExpandedItems] = _react.useState.call(void 0, /* @__PURE__ */ new Set());
|
|
31999
31798
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
32000
|
-
const headerHeight =
|
|
31799
|
+
const headerHeight = _chunk27IO7V3Pcjs.useHeaderHeight.call(void 0, );
|
|
32001
31800
|
_react.useEffect.call(void 0, () => {
|
|
32002
31801
|
setMounted(true);
|
|
32003
31802
|
}, []);
|
|
@@ -32230,7 +32029,7 @@ function useSectionNavigation(sections, options) {
|
|
|
32230
32029
|
if (!targetElement) return;
|
|
32231
32030
|
isScrollingFromClick.current = true;
|
|
32232
32031
|
setActiveSection(sectionId);
|
|
32233
|
-
|
|
32032
|
+
_chunk27IO7V3Pcjs.scrollElementIntoView.call(void 0, targetElement, { headerOffset: offset2 });
|
|
32234
32033
|
setTimeout(() => {
|
|
32235
32034
|
isScrollingFromClick.current = false;
|
|
32236
32035
|
}, 500);
|
|
@@ -32396,7 +32195,7 @@ function NavigationSidebarToggle({
|
|
|
32396
32195
|
"aria-label": "Hide Menu",
|
|
32397
32196
|
children: [
|
|
32398
32197
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32399
|
-
|
|
32198
|
+
_chunkGXRWE7NBcjs.Chevrons03LeftIcon,
|
|
32400
32199
|
{
|
|
32401
32200
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
32402
32201
|
"text-ods-text-secondary w-6 h-6 transition-transform duration-300",
|
|
@@ -32426,10 +32225,10 @@ var MINIMIZED_WIDTH = 56;
|
|
|
32426
32225
|
var EXPANDED_WIDTH = 224;
|
|
32427
32226
|
var STORAGE_KEY = "of.navigationSidebar.minimized";
|
|
32428
32227
|
function NavigationSidebar({ config, disabled = false }) {
|
|
32429
|
-
const isMdUp = _nullishCoalesce(
|
|
32430
|
-
const isLgUp = _nullishCoalesce(
|
|
32228
|
+
const isMdUp = _nullishCoalesce(_chunk27IO7V3Pcjs.useMdUp.call(void 0, ), () => ( false));
|
|
32229
|
+
const isLgUp = _nullishCoalesce(_chunk27IO7V3Pcjs.useLgUp.call(void 0, ), () => ( false));
|
|
32431
32230
|
const isTablet = isMdUp && !isLgUp;
|
|
32432
|
-
const [desktopMinimized, setDesktopMinimized] =
|
|
32231
|
+
const [desktopMinimized, setDesktopMinimized] = _chunk27IO7V3Pcjs.useLocalStorage.call(void 0,
|
|
32433
32232
|
STORAGE_KEY,
|
|
32434
32233
|
_nullishCoalesce(config.minimized, () => ( false))
|
|
32435
32234
|
);
|
|
@@ -32573,7 +32372,7 @@ function HeaderGlobalSearch({
|
|
|
32573
32372
|
placeholder = "Global Search",
|
|
32574
32373
|
className
|
|
32575
32374
|
}) {
|
|
32576
|
-
const [internalValue, setInternalValue] =
|
|
32375
|
+
const [internalValue, setInternalValue] = React113.default.useState(value);
|
|
32577
32376
|
const currentValue = onChange ? value : internalValue;
|
|
32578
32377
|
const handleChange = (e) => {
|
|
32579
32378
|
const newValue = e.target.value;
|
|
@@ -32652,7 +32451,7 @@ function HeaderMingoButton({
|
|
|
32652
32451
|
// Mobile, drawer open: the icon-only button doubles as the close
|
|
32653
32452
|
// affordance, so swap the Mingo logo for an X. Match the other header
|
|
32654
32453
|
// icons (e.g. notifications): secondary color, w-4 h-4 → md:w-6 h-6.
|
|
32655
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32454
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.XmarkIcon, { className: "w-4 h-4 md:w-6 md:h-6 shrink-0 text-ods-text-secondary" })
|
|
32656
32455
|
) : (
|
|
32657
32456
|
// Outer frame follows the button's text color (currentColor); the eyes
|
|
32658
32457
|
// and corner block are ODS cyan.
|
|
@@ -32697,7 +32496,7 @@ function HeaderOrganizationFilter({
|
|
|
32697
32496
|
className
|
|
32698
32497
|
),
|
|
32699
32498
|
children: [
|
|
32700
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32499
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Filter02Icon, { className: "w-4 h-4 shrink-0 text-ods-text-secondary" }),
|
|
32701
32500
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-start justify-center min-w-0", children: [
|
|
32702
32501
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-mono text-sm font-medium leading-5 text-ods-text-primary uppercase tracking-tight truncate", title: displayName, children: displayName }),
|
|
32703
32502
|
deviceCount !== void 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-sm font-medium leading-5 text-ods-text-secondary truncate", children: [
|
|
@@ -32724,7 +32523,7 @@ function HeaderOrganizationFilter({
|
|
|
32724
32523
|
|
|
32725
32524
|
// src/components/navigation/app-header.tsx
|
|
32726
32525
|
|
|
32727
|
-
var AppHeader =
|
|
32526
|
+
var AppHeader = React113.default.memo(function AppHeader2({
|
|
32728
32527
|
showSearch,
|
|
32729
32528
|
onSearch,
|
|
32730
32529
|
showOrganizations,
|
|
@@ -32748,7 +32547,7 @@ var AppHeader = React114.default.memo(function AppHeader2({
|
|
|
32748
32547
|
onToggleMobileMenu,
|
|
32749
32548
|
disabled = false
|
|
32750
32549
|
}) {
|
|
32751
|
-
const isMdUp = _nullishCoalesce(
|
|
32550
|
+
const isMdUp = _nullishCoalesce(_chunk27IO7V3Pcjs.useMdUp.call(void 0, ), () => ( false));
|
|
32752
32551
|
const dimmedClass = disabled ? "pointer-events-none opacity-50" : "";
|
|
32753
32552
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
32754
32553
|
"header",
|
|
@@ -32763,7 +32562,7 @@ var AppHeader = React114.default.memo(function AppHeader2({
|
|
|
32763
32562
|
{
|
|
32764
32563
|
onClick: onToggleMobileMenu,
|
|
32765
32564
|
isActive: isMobileMenuOpen,
|
|
32766
|
-
icon: isMobileMenuOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32565
|
+
icon: isMobileMenuOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.XmarkIcon, { className: "w-4 h-4" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Menu01Icon, { className: "w-4 h-4" }),
|
|
32767
32566
|
"aria-label": isMobileMenuOpen ? "Close menu" : "Open menu",
|
|
32768
32567
|
"aria-expanded": isMobileMenuOpen
|
|
32769
32568
|
}
|
|
@@ -32910,7 +32709,7 @@ function NotificationsHeaderButton({
|
|
|
32910
32709
|
HeaderButton,
|
|
32911
32710
|
{
|
|
32912
32711
|
icon: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative w-4 h-4 md:w-6 md:h-6", children: [
|
|
32913
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32712
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.BellIcon, { className: "w-full h-full" }),
|
|
32914
32713
|
hasUnread && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32915
32714
|
"span",
|
|
32916
32715
|
{
|
|
@@ -32934,7 +32733,7 @@ function NotificationsHeaderButton({
|
|
|
32934
32733
|
|
|
32935
32734
|
|
|
32936
32735
|
var HEADER_HEIGHT = 48;
|
|
32937
|
-
var MobileBurgerMenu =
|
|
32736
|
+
var MobileBurgerMenu = React113.default.memo(function MobileBurgerMenu2({
|
|
32938
32737
|
isOpen,
|
|
32939
32738
|
onClose,
|
|
32940
32739
|
config,
|
|
@@ -32995,7 +32794,7 @@ var MobileBurgerMenu = React114.default.memo(function MobileBurgerMenu2({
|
|
|
32995
32794
|
),
|
|
32996
32795
|
"aria-current": isActive ? "page" : void 0,
|
|
32997
32796
|
children: [
|
|
32998
|
-
item.icon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-shrink-0 size-4 flex items-center justify-center", children:
|
|
32797
|
+
item.icon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-shrink-0 size-4 flex items-center justify-center", children: React113.default.cloneElement(item.icon, {
|
|
32999
32798
|
size: 16,
|
|
33000
32799
|
color: isActive && !disabled ? "var(--color-accent-primary)" : "var(--color-text-secondary)"
|
|
33001
32800
|
}) }),
|
|
@@ -33014,7 +32813,7 @@ var MobileBurgerMenu = React114.default.memo(function MobileBurgerMenu2({
|
|
|
33014
32813
|
rows.push(items.slice(i, i + 2));
|
|
33015
32814
|
}
|
|
33016
32815
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-col gap-3", children: rows.map((row, rowIndex) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-3", children: [
|
|
33017
|
-
row.map((item) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32816
|
+
row.map((item) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, React113.default.Fragment, { children: renderNavigationItem(item, true) }, item.id)),
|
|
33018
32817
|
row.length === 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1" })
|
|
33019
32818
|
] }, rowIndex)) });
|
|
33020
32819
|
};
|
|
@@ -33087,7 +32886,7 @@ var MobileBurgerMenu = React114.default.memo(function MobileBurgerMenu2({
|
|
|
33087
32886
|
onClick: onSearchUser,
|
|
33088
32887
|
variant: "outline",
|
|
33089
32888
|
"aria-label": "Search users",
|
|
33090
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32889
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.UserSearchIcon, { className: "size-4 text-ods-text-primary" })
|
|
33091
32890
|
}
|
|
33092
32891
|
),
|
|
33093
32892
|
onEditProfile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -33097,7 +32896,7 @@ var MobileBurgerMenu = React114.default.memo(function MobileBurgerMenu2({
|
|
|
33097
32896
|
onClick: onEditProfile,
|
|
33098
32897
|
variant: "outline",
|
|
33099
32898
|
"aria-label": "Edit profile",
|
|
33100
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32899
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.PenEditIcon, { className: "size-4 text-ods-text-primary" })
|
|
33101
32900
|
}
|
|
33102
32901
|
)
|
|
33103
32902
|
] })
|
|
@@ -33105,7 +32904,7 @@ var MobileBurgerMenu = React114.default.memo(function MobileBurgerMenu2({
|
|
|
33105
32904
|
}
|
|
33106
32905
|
),
|
|
33107
32906
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "nav", { "aria-label": "Primary navigation", children: renderNavigationGrid(primaryItems) }),
|
|
33108
|
-
secondaryItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "nav", { "aria-label": "Secondary navigation", className: "flex flex-col gap-3", children: secondaryItems.map((item) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32907
|
+
secondaryItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "nav", { "aria-label": "Secondary navigation", className: "flex flex-col gap-3", children: secondaryItems.map((item) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, React113.default.Fragment, { children: renderNavigationItem(item, false) }, item.id)) }),
|
|
33109
32908
|
onLogout && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33110
32909
|
"button",
|
|
33111
32910
|
{
|
|
@@ -33117,7 +32916,7 @@ var MobileBurgerMenu = React114.default.memo(function MobileBurgerMenu2({
|
|
|
33117
32916
|
disabled && "cursor-not-allowed opacity-50"
|
|
33118
32917
|
),
|
|
33119
32918
|
children: [
|
|
33120
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32919
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Logout02Icon, { className: "size-4 text-ods-error" }),
|
|
33121
32920
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-['DM_Sans'] font-medium text-sm leading-5 flex-1 text-left text-ods-text-primary", children: "Log Out" })
|
|
33122
32921
|
]
|
|
33123
32922
|
}
|
|
@@ -33197,7 +32996,7 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
33197
32996
|
|
|
33198
32997
|
|
|
33199
32998
|
|
|
33200
|
-
var DrawerOpenContext =
|
|
32999
|
+
var DrawerOpenContext = React106.createContext(false);
|
|
33201
33000
|
var AppLayoutDrawerRoot = ({
|
|
33202
33001
|
open: openProp,
|
|
33203
33002
|
defaultOpen,
|
|
@@ -33206,10 +33005,10 @@ var AppLayoutDrawerRoot = ({
|
|
|
33206
33005
|
children,
|
|
33207
33006
|
...rest
|
|
33208
33007
|
}) => {
|
|
33209
|
-
const [internalOpen, setInternalOpen] =
|
|
33008
|
+
const [internalOpen, setInternalOpen] = React106.useState(_nullishCoalesce(defaultOpen, () => ( false)));
|
|
33210
33009
|
const isControlled = openProp !== void 0;
|
|
33211
33010
|
const open = isControlled ? openProp : internalOpen;
|
|
33212
|
-
const handleOpenChange =
|
|
33011
|
+
const handleOpenChange = React106.useCallback(
|
|
33213
33012
|
(next) => {
|
|
33214
33013
|
if (!isControlled) setInternalOpen(next);
|
|
33215
33014
|
_optionalChain([onOpenChange, 'optionalCall', _644 => _644(next)]);
|
|
@@ -33303,8 +33102,8 @@ function useContainedResizableSize({
|
|
|
33303
33102
|
storageKey,
|
|
33304
33103
|
container
|
|
33305
33104
|
}) {
|
|
33306
|
-
const [available, setAvailable] =
|
|
33307
|
-
|
|
33105
|
+
const [available, setAvailable] = React106.useState(0);
|
|
33106
|
+
React106.useEffect(() => {
|
|
33308
33107
|
if (!enabled || !container) return;
|
|
33309
33108
|
const update = () => {
|
|
33310
33109
|
setAvailable(isHorizontal ? container.clientWidth : container.clientHeight);
|
|
@@ -33314,14 +33113,14 @@ function useContainedResizableSize({
|
|
|
33314
33113
|
ro.observe(container);
|
|
33315
33114
|
return () => ro.disconnect();
|
|
33316
33115
|
}, [enabled, container, isHorizontal]);
|
|
33317
|
-
const clampToContainer =
|
|
33116
|
+
const clampToContainer = React106.useCallback(
|
|
33318
33117
|
(value) => {
|
|
33319
33118
|
const effectiveMax = available > 0 ? Math.min(maxSize, available - 40) : maxSize;
|
|
33320
33119
|
return clamp3(value, minSize, Math.max(minSize, effectiveMax));
|
|
33321
33120
|
},
|
|
33322
33121
|
[available, minSize, maxSize]
|
|
33323
33122
|
);
|
|
33324
|
-
const readInitial =
|
|
33123
|
+
const readInitial = React106.useCallback(() => {
|
|
33325
33124
|
if (!enabled) return defaultSize;
|
|
33326
33125
|
if (typeof window === "undefined") return defaultSize;
|
|
33327
33126
|
if (!storageKey) return defaultSize;
|
|
@@ -33335,19 +33134,19 @@ function useContainedResizableSize({
|
|
|
33335
33134
|
return defaultSize;
|
|
33336
33135
|
}
|
|
33337
33136
|
}, [enabled, storageKey, defaultSize]);
|
|
33338
|
-
const [size, setSizeRaw] =
|
|
33339
|
-
const setSize =
|
|
33137
|
+
const [size, setSizeRaw] = React106.useState(readInitial);
|
|
33138
|
+
const setSize = React106.useCallback(
|
|
33340
33139
|
(next) => setSizeRaw(clampToContainer(next)),
|
|
33341
33140
|
[clampToContainer]
|
|
33342
33141
|
);
|
|
33343
|
-
|
|
33142
|
+
React106.useEffect(() => {
|
|
33344
33143
|
if (!enabled || !storageKey || typeof window === "undefined") return;
|
|
33345
33144
|
try {
|
|
33346
33145
|
window.localStorage.setItem(storageKey, String(Math.round(size)));
|
|
33347
33146
|
} catch (e35) {
|
|
33348
33147
|
}
|
|
33349
33148
|
}, [enabled, size, storageKey]);
|
|
33350
|
-
|
|
33149
|
+
React106.useEffect(() => {
|
|
33351
33150
|
if (!enabled) return;
|
|
33352
33151
|
setSizeRaw((prev) => clampToContainer(prev));
|
|
33353
33152
|
}, [enabled, clampToContainer]);
|
|
@@ -33362,7 +33161,7 @@ function AppLayoutDrawerResizeHandle({
|
|
|
33362
33161
|
ariaLabel
|
|
33363
33162
|
}) {
|
|
33364
33163
|
const isHorizontal = HORIZONTAL_SIDES2.has(side);
|
|
33365
|
-
const startRef =
|
|
33164
|
+
const startRef = React106.useRef(null);
|
|
33366
33165
|
const direction = side === "right" || side === "bottom" ? -1 : 1;
|
|
33367
33166
|
const handlePointerDown = (e) => {
|
|
33368
33167
|
if (e.button !== 0 && e.pointerType === "mouse") return;
|
|
@@ -33452,7 +33251,7 @@ function AppLayoutDrawerResizeHandle({
|
|
|
33452
33251
|
}
|
|
33453
33252
|
);
|
|
33454
33253
|
}
|
|
33455
|
-
var AppLayoutDrawerContent =
|
|
33254
|
+
var AppLayoutDrawerContent = React106.forwardRef(
|
|
33456
33255
|
({
|
|
33457
33256
|
side = "right",
|
|
33458
33257
|
flush = false,
|
|
@@ -33480,13 +33279,13 @@ var AppLayoutDrawerContent = React107.forwardRef(
|
|
|
33480
33279
|
}, ref) => {
|
|
33481
33280
|
const contextContainer = useAppLayoutDrawerContainer();
|
|
33482
33281
|
const portalContainer = container !== void 0 ? container : contextContainer;
|
|
33483
|
-
const open =
|
|
33484
|
-
const [hasOpened, setHasOpened] =
|
|
33485
|
-
|
|
33282
|
+
const open = React106.useContext(DrawerOpenContext);
|
|
33283
|
+
const [hasOpened, setHasOpened] = React106.useState(Boolean(open));
|
|
33284
|
+
React106.useEffect(() => {
|
|
33486
33285
|
if (open) setHasOpened(true);
|
|
33487
33286
|
}, [open]);
|
|
33488
33287
|
const persist = keepMounted && hasOpened;
|
|
33489
|
-
|
|
33288
|
+
React106.useEffect(() => {
|
|
33490
33289
|
if (!debugLayoutShift) return;
|
|
33491
33290
|
if (!open) return;
|
|
33492
33291
|
if (typeof window === "undefined") return;
|
|
@@ -33537,8 +33336,8 @@ var AppLayoutDrawerContent = React107.forwardRef(
|
|
|
33537
33336
|
const resolvedSide = _nullishCoalesce(side, () => ( "right"));
|
|
33538
33337
|
const isHorizontal = HORIZONTAL_SIDES2.has(resolvedSide);
|
|
33539
33338
|
const initialSize = _nullishCoalesce(defaultSize, () => ( (isHorizontal ? 560 : 480)));
|
|
33540
|
-
const [isMobile, setIsMobile] =
|
|
33541
|
-
|
|
33339
|
+
const [isMobile, setIsMobile] = React106.useState(false);
|
|
33340
|
+
React106.useEffect(() => {
|
|
33542
33341
|
if (typeof window === "undefined") return;
|
|
33543
33342
|
const mq = window.matchMedia(`(max-width: ${mobileBreakpoint - 1}px)`);
|
|
33544
33343
|
const update = () => setIsMobile(mq.matches);
|
|
@@ -33961,7 +33760,7 @@ var ToolBadge = ({
|
|
|
33961
33760
|
}) => {
|
|
33962
33761
|
const label = getToolLabel(toolType);
|
|
33963
33762
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex items-center gap-1 text-ods-text-secondary", className), children: [
|
|
33964
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33763
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk27IO7V3Pcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }),
|
|
33965
33764
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-primary text-h4", children: label })
|
|
33966
33765
|
] });
|
|
33967
33766
|
};
|
|
@@ -33972,7 +33771,7 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
33972
33771
|
|
|
33973
33772
|
var shellIconMap = {
|
|
33974
33773
|
[ShellTypeValues.POWERSHELL]: {
|
|
33975
|
-
icon:
|
|
33774
|
+
icon: _chunkGXRWE7NBcjs.PowershellLogoGreyIcon,
|
|
33976
33775
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
33977
33776
|
},
|
|
33978
33777
|
[ShellTypeValues.CMD]: {
|
|
@@ -33984,7 +33783,7 @@ var shellIconMap = {
|
|
|
33984
33783
|
props: { size: 16, color: "#888888" }
|
|
33985
33784
|
},
|
|
33986
33785
|
[ShellTypeValues.PYTHON]: {
|
|
33987
|
-
icon:
|
|
33786
|
+
icon: _chunkGXRWE7NBcjs.PythonLogoIcon,
|
|
33988
33787
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
33989
33788
|
},
|
|
33990
33789
|
[ShellTypeValues.NUSHELL]: {
|
|
@@ -34200,7 +33999,7 @@ var ScriptArguments = ({
|
|
|
34200
33999
|
onClick: handleAdd,
|
|
34201
34000
|
disabled,
|
|
34202
34001
|
className: "self-start",
|
|
34203
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34002
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.PlusCircleIcon, { className: "text-ods-text-secondary" }),
|
|
34204
34003
|
children: addButtonLabel
|
|
34205
34004
|
}
|
|
34206
34005
|
) })
|
|
@@ -34226,7 +34025,7 @@ function OnboardingStepCard({
|
|
|
34226
34025
|
onSkip,
|
|
34227
34026
|
className
|
|
34228
34027
|
}) {
|
|
34229
|
-
const [isProcessing, setIsProcessing] =
|
|
34028
|
+
const [isProcessing, setIsProcessing] = React113.default.useState(false);
|
|
34230
34029
|
const handleAction = async (e) => {
|
|
34231
34030
|
e.stopPropagation();
|
|
34232
34031
|
setIsProcessing(true);
|
|
@@ -34333,12 +34132,12 @@ function OnboardingWalkthrough({
|
|
|
34333
34132
|
isStepSkipped,
|
|
34334
34133
|
allStepsComplete,
|
|
34335
34134
|
markMultipleComplete
|
|
34336
|
-
} =
|
|
34135
|
+
} = _chunk27IO7V3Pcjs.useOnboardingState.call(void 0, storageKey);
|
|
34337
34136
|
const hasAutoMarkedRef = _react.useRef.call(void 0, false);
|
|
34338
34137
|
const autoMarkingInProgressRef = _react.useRef.call(void 0, false);
|
|
34339
34138
|
const lastCompletionStatusRef = _react.useRef.call(void 0, null);
|
|
34340
34139
|
const actionInProgressRef = _react.useRef.call(void 0, /* @__PURE__ */ new Set());
|
|
34341
|
-
|
|
34140
|
+
React113.default.useEffect(() => {
|
|
34342
34141
|
if (isLoadingCompletion) {
|
|
34343
34142
|
hasAutoMarkedRef.current = false;
|
|
34344
34143
|
return;
|
|
@@ -34469,7 +34268,7 @@ var LOG_SEVERITY_LABELS = {
|
|
|
34469
34268
|
|
|
34470
34269
|
// src/components/log-severity-dot.tsx
|
|
34471
34270
|
|
|
34472
|
-
var LogSeverityDot =
|
|
34271
|
+
var LogSeverityDot = React109.forwardRef(({ severity, size = "md", className }, ref) => {
|
|
34473
34272
|
const sizeClasses2 = {
|
|
34474
34273
|
sm: "w-4 h-4",
|
|
34475
34274
|
md: "w-6 h-6",
|
|
@@ -34540,7 +34339,7 @@ var LogCard = ({ log, isLast, showConnector, onClick }) => {
|
|
|
34540
34339
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-['DM_Sans'] font-medium text-[14px] leading-5 text-white", children: log.title }),
|
|
34541
34340
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
34542
34341
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-['Azeret_Mono'] font-normal text-[13px] leading-4 text-ods-text-secondary uppercase tracking-wider", children: formatTimestamp(log.timestamp) }),
|
|
34543
|
-
log.toolType && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34342
|
+
log.toolType && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk27IO7V3Pcjs.ToolIcon, { toolType: log.toolType, size: 16 })
|
|
34544
34343
|
] })
|
|
34545
34344
|
] })
|
|
34546
34345
|
]
|
|
@@ -34559,7 +34358,7 @@ var LogCard = ({ log, isLast, showConnector, onClick }) => {
|
|
|
34559
34358
|
)
|
|
34560
34359
|
] });
|
|
34561
34360
|
};
|
|
34562
|
-
var LogsList =
|
|
34361
|
+
var LogsList = React110.forwardRef(({
|
|
34563
34362
|
logs,
|
|
34564
34363
|
maxHeight = "400px",
|
|
34565
34364
|
showConnector = true,
|
|
@@ -34568,7 +34367,7 @@ var LogsList = React111.forwardRef(({
|
|
|
34568
34367
|
emptyMessage = "No logs to display",
|
|
34569
34368
|
className
|
|
34570
34369
|
}, ref) => {
|
|
34571
|
-
const containerRef =
|
|
34370
|
+
const containerRef = React110.useRef(null);
|
|
34572
34371
|
const isFullHeight = maxHeight === "100%";
|
|
34573
34372
|
const getContainerStyles = () => {
|
|
34574
34373
|
if (isFullHeight) return void 0;
|
|
@@ -34677,7 +34476,7 @@ function ServiceCard({ title, subtitle, icon, tag, rows, className }) {
|
|
|
34677
34476
|
}
|
|
34678
34477
|
function ServiceCardRowItem({ row }) {
|
|
34679
34478
|
const [revealed, setRevealed] = _react.useState.call(void 0, false);
|
|
34680
|
-
const { copy, copied } =
|
|
34479
|
+
const { copy, copied } = _chunk27IO7V3Pcjs.useCopyToClipboard.call(void 0, );
|
|
34681
34480
|
const actions = _react.useMemo.call(void 0, () => ({ copy: true, open: !!row.href, reveal: !!row.isSecret, ...row.actions }), [row]);
|
|
34682
34481
|
const displayValue = row.isSecret ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MaskedValue, { value: row.value, isRevealed: revealed }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: row.value });
|
|
34683
34482
|
const handleCopy = () => copy(_nullishCoalesce(row.copyValue, () => ( row.value)));
|
|
@@ -34708,7 +34507,7 @@ function ServiceCardRowItem({ row }) {
|
|
|
34708
34507
|
copied ? "text-ods-success" : "text-ods-text-secondary"
|
|
34709
34508
|
),
|
|
34710
34509
|
"aria-label": `Copy ${_nullishCoalesce(row.label, () => ( "value"))}`,
|
|
34711
|
-
children: copied ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34510
|
+
children: copied ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.CheckIcon, { size: 20 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Copy01Icon, { size: 20 })
|
|
34712
34511
|
}
|
|
34713
34512
|
),
|
|
34714
34513
|
actions.open && row.href && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -34729,7 +34528,7 @@ function ServiceCardRowItem({ row }) {
|
|
|
34729
34528
|
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
34730
34529
|
|
|
34731
34530
|
|
|
34732
|
-
var Slider =
|
|
34531
|
+
var Slider = React112.forwardRef(
|
|
34733
34532
|
({ className, value = [0], onValueChange, min = 0, max = 100, step = 1, ...props }, ref) => {
|
|
34734
34533
|
const handleChange = (e) => {
|
|
34735
34534
|
const newValue = [Number(e.target.value)];
|
|
@@ -35230,7 +35029,7 @@ function TableColumnFilterDropdown({
|
|
|
35230
35029
|
children: [
|
|
35231
35030
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-medium text-[12px] leading-[16px] uppercase text-ods-text-secondary select-none", children: columnLabel }),
|
|
35232
35031
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
35233
|
-
|
|
35032
|
+
_chunkGXRWE7NBcjs.Filter02Icon,
|
|
35234
35033
|
{
|
|
35235
35034
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
35236
35035
|
"w-4 h-4 transition-colors",
|
|
@@ -35332,11 +35131,11 @@ function TableHeader({
|
|
|
35332
35131
|
const columnKey = column.sortKey || column.key;
|
|
35333
35132
|
const isActive = sortBy === columnKey;
|
|
35334
35133
|
if (!isActive) {
|
|
35335
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
35134
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.SwitchVrIcon, { className: "w-4 h-4 text-ods-text-secondary" });
|
|
35336
35135
|
}
|
|
35337
|
-
return sortDirection === "asc" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
35136
|
+
return sortDirection === "asc" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Arrow01UpIcon, { className: "w-4 h-4 text-ods-accent" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Arrow01DownIcon, { className: "w-4 h-4 text-ods-accent" });
|
|
35338
35137
|
};
|
|
35339
|
-
const isLgUp = _nullishCoalesce(
|
|
35138
|
+
const isLgUp = _nullishCoalesce(_chunk27IO7V3Pcjs.useLgUp.call(void 0, ), () => ( false));
|
|
35340
35139
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
35341
35140
|
"div",
|
|
35342
35141
|
{
|
|
@@ -35669,7 +35468,7 @@ function injectSyntheticColumns(columns, rowActions, renderRowActions, rowHref)
|
|
|
35669
35468
|
prefetch: false,
|
|
35670
35469
|
variant: "outline",
|
|
35671
35470
|
size: "icon",
|
|
35672
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
35471
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Chevron02RightIcon, { className: "w-6 h-6" }),
|
|
35673
35472
|
"aria-label": "View details"
|
|
35674
35473
|
}
|
|
35675
35474
|
) });
|
|
@@ -36226,7 +36025,7 @@ function QueryReportTable({
|
|
|
36226
36025
|
onThumbPointerDown,
|
|
36227
36026
|
onThumbPointerMove,
|
|
36228
36027
|
onThumbPointerUp
|
|
36229
|
-
} =
|
|
36028
|
+
} = _chunk27IO7V3Pcjs.useHorizontalScrollbar.call(void 0, );
|
|
36230
36029
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex flex-col w-full", isCompact ? "gap-0" : "gap-6", className), children: [
|
|
36231
36030
|
!isCompact && (title || headerActions || showExport && data.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-end justify-between pt-6", children: [
|
|
36232
36031
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "font-mono font-semibold text-[32px] leading-[40px] text-ods-text-primary", children: title }),
|
|
@@ -36238,7 +36037,7 @@ function QueryReportTable({
|
|
|
36238
36037
|
className: "bg-ods-card",
|
|
36239
36038
|
variant: "outline",
|
|
36240
36039
|
size: "small-legacy",
|
|
36241
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36040
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Download02Icon, { size: 18 }),
|
|
36242
36041
|
onClick: handleExport,
|
|
36243
36042
|
children: "Export CSV"
|
|
36244
36043
|
}
|
|
@@ -36425,7 +36224,7 @@ function DataTableColumnFilter({
|
|
|
36425
36224
|
children: [
|
|
36426
36225
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h5 text-ods-text-secondary whitespace-nowrap transition-colors duration-200 group-hover:text-ods-text-primary", children: label }),
|
|
36427
36226
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36428
|
-
|
|
36227
|
+
_chunkGXRWE7NBcjs.Filter02Icon,
|
|
36429
36228
|
{
|
|
36430
36229
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
36431
36230
|
"w-4 h-4 transition-colors",
|
|
@@ -36457,7 +36256,7 @@ function DataTableHeader({
|
|
|
36457
36256
|
onSortChange
|
|
36458
36257
|
}) {
|
|
36459
36258
|
const table = useDataTableContext();
|
|
36460
|
-
const isLgUp = _nullishCoalesce(
|
|
36259
|
+
const isLgUp = _nullishCoalesce(_chunk27IO7V3Pcjs.useLgUp.call(void 0, ), () => ( false));
|
|
36461
36260
|
const headerGroup = table.getHeaderGroups()[0];
|
|
36462
36261
|
if (!headerGroup) return null;
|
|
36463
36262
|
const hasVisibleHeaderCell = headerGroup.headers.some((header) => {
|
|
@@ -36544,9 +36343,9 @@ function HeaderLabel({ header }) {
|
|
|
36544
36343
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: _reacttable.flexRender.call(void 0, headerDef, header.getContext()) });
|
|
36545
36344
|
}
|
|
36546
36345
|
function SortIcon({ sorted }) {
|
|
36547
|
-
if (sorted === "asc") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36548
|
-
if (sorted === "desc") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36549
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36346
|
+
if (sorted === "asc") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Arrow01UpIcon, { className: "w-4 h-4 text-ods-accent" });
|
|
36347
|
+
if (sorted === "desc") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Arrow01DownIcon, { className: "w-4 h-4 text-ods-accent" });
|
|
36348
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.SwitchVrIcon, { className: "w-4 h-4 text-ods-text-secondary transition-colors duration-200 group-hover:text-ods-text-primary" });
|
|
36550
36349
|
}
|
|
36551
36350
|
function resolveHeaderLabel(header) {
|
|
36552
36351
|
const h = header.column.columnDef.header;
|
|
@@ -37021,12 +36820,12 @@ function SearchInput({
|
|
|
37021
36820
|
limitTags = "auto",
|
|
37022
36821
|
getLimitTagsText = (more) => `+${more}`
|
|
37023
36822
|
}) {
|
|
37024
|
-
const [internalValue, setInternalValue] =
|
|
36823
|
+
const [internalValue, setInternalValue] = React115.useState(defaultValue);
|
|
37025
36824
|
const currentValue = onChange ? _nullishCoalesce(value, () => ( "")) : internalValue;
|
|
37026
|
-
const debouncedValue =
|
|
37027
|
-
const [isOpen, setIsOpen] =
|
|
37028
|
-
const [highlightedIndex, setHighlightedIndex] =
|
|
37029
|
-
const containerRef =
|
|
36825
|
+
const debouncedValue = _chunk27IO7V3Pcjs.useDebounce.call(void 0, currentValue, debounceMs);
|
|
36826
|
+
const [isOpen, setIsOpen] = React115.useState(false);
|
|
36827
|
+
const [highlightedIndex, setHighlightedIndex] = React115.useState(-1);
|
|
36828
|
+
const containerRef = React115.useRef(null);
|
|
37030
36829
|
const currentPlaceholder = filterChips.length > 0 ? "Add filter..." : placeholder;
|
|
37031
36830
|
const {
|
|
37032
36831
|
visibleCount: rawVisibleCount,
|
|
@@ -37035,7 +36834,7 @@ function SearchInput({
|
|
|
37035
36834
|
textMeasureRef,
|
|
37036
36835
|
badgeRef,
|
|
37037
36836
|
inputRef
|
|
37038
|
-
} =
|
|
36837
|
+
} = _chunk27IO7V3Pcjs.useAutoLimitTags.call(void 0, {
|
|
37039
36838
|
count: filterChips.length,
|
|
37040
36839
|
limitTags,
|
|
37041
36840
|
// When chips exist, pass empty placeholder so the hook only reserves input minWidth,
|
|
@@ -37043,10 +36842,10 @@ function SearchInput({
|
|
|
37043
36842
|
placeholder: filterChips.length > 0 ? "" : placeholder
|
|
37044
36843
|
});
|
|
37045
36844
|
const visibleCount = filterChips.length > 0 ? Math.max(1, rawVisibleCount) : rawVisibleCount;
|
|
37046
|
-
const hiddenTagsRef =
|
|
37047
|
-
const hiddenTagsPopupRef =
|
|
37048
|
-
const [showHiddenTags, setShowHiddenTags] =
|
|
37049
|
-
|
|
36845
|
+
const hiddenTagsRef = React115.useRef(null);
|
|
36846
|
+
const hiddenTagsPopupRef = React115.useRef(null);
|
|
36847
|
+
const [showHiddenTags, setShowHiddenTags] = React115.useState(false);
|
|
36848
|
+
React115.useEffect(() => {
|
|
37050
36849
|
if (!showHiddenTags) return;
|
|
37051
36850
|
const handleClick = (e) => {
|
|
37052
36851
|
const target = e.target;
|
|
@@ -37060,7 +36859,7 @@ function SearchInput({
|
|
|
37060
36859
|
const hiddenCount = filterChips.length - visibleCount;
|
|
37061
36860
|
const visibleChips = filterChips.slice(0, visibleCount);
|
|
37062
36861
|
const hiddenChips = filterChips.slice(visibleCount);
|
|
37063
|
-
const { flatResults, groups } =
|
|
36862
|
+
const { flatResults, groups } = React115.useMemo(() => {
|
|
37064
36863
|
if (!groupBy) return { flatResults: results, groups: null };
|
|
37065
36864
|
const grouped = /* @__PURE__ */ new Map();
|
|
37066
36865
|
for (const r of results) {
|
|
@@ -37077,7 +36876,7 @@ function SearchInput({
|
|
|
37077
36876
|
const meetsMinQuery = debouncedValue.length >= minQueryLength;
|
|
37078
36877
|
const autoShow = meetsMinQuery;
|
|
37079
36878
|
const dropdownVisible = _nullishCoalesce(showDropdownProp, () => ( (isOpen && autoShow)));
|
|
37080
|
-
|
|
36879
|
+
React115.useEffect(() => {
|
|
37081
36880
|
setHighlightedIndex(-1);
|
|
37082
36881
|
}, [flatResults.length]);
|
|
37083
36882
|
const handleChange = (e) => {
|
|
@@ -37201,8 +37000,8 @@ function SearchInput({
|
|
|
37201
37000
|
};
|
|
37202
37001
|
const hasValue = currentValue.length > 0;
|
|
37203
37002
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "relative", className), ref: containerRef, children: [
|
|
37204
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
37205
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
37003
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, PopoverPrimitive5.Root, { open: dropdownVisible, onOpenChange: handleOpenChange, modal: false, children: [
|
|
37004
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverPrimitive5.Anchor, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
37206
37005
|
"div",
|
|
37207
37006
|
{
|
|
37208
37007
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
@@ -37271,7 +37070,7 @@ function SearchInput({
|
|
|
37271
37070
|
onClick: handleClear,
|
|
37272
37071
|
className: "flex items-center justify-center hover:opacity-70 transition-opacity",
|
|
37273
37072
|
"aria-label": "Clear search",
|
|
37274
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
37073
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.XmarkCircleIcon, { className: "text-ods-text-secondary", size: 24 })
|
|
37275
37074
|
}
|
|
37276
37075
|
),
|
|
37277
37076
|
endAdornment
|
|
@@ -37280,7 +37079,7 @@ function SearchInput({
|
|
|
37280
37079
|
}
|
|
37281
37080
|
) }),
|
|
37282
37081
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
37283
|
-
|
|
37082
|
+
PopoverPrimitive5.Content,
|
|
37284
37083
|
{
|
|
37285
37084
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
37286
37085
|
"z-50 w-[var(--radix-popover-trigger-width)] mt-1",
|
|
@@ -37405,7 +37204,7 @@ function FilterListItem({
|
|
|
37405
37204
|
"flex items-start gap-[var(--spacing-system-xxs)] text-h6",
|
|
37406
37205
|
selected ? "text-ods-accent" : "text-ods-text-secondary"
|
|
37407
37206
|
),
|
|
37408
|
-
children: meta.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
37207
|
+
children: meta.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React116.Fragment, { children: [
|
|
37409
37208
|
index > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", children: "\u2022" }),
|
|
37410
37209
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: item })
|
|
37411
37210
|
] }, index))
|
|
@@ -37502,7 +37301,7 @@ function TagSearchInput({
|
|
|
37502
37301
|
textMeasureRef,
|
|
37503
37302
|
badgeRef,
|
|
37504
37303
|
inputRef
|
|
37505
|
-
} =
|
|
37304
|
+
} = _chunk27IO7V3Pcjs.useAutoLimitTags.call(void 0, {
|
|
37506
37305
|
count: tags.length,
|
|
37507
37306
|
limitTags,
|
|
37508
37307
|
placeholder: currentPlaceholder
|
|
@@ -37613,7 +37412,7 @@ function TagSearchInput({
|
|
|
37613
37412
|
onClick: handleClearAll,
|
|
37614
37413
|
className: "shrink-0 flex items-center justify-center pr-3 hover:opacity-70 transition-opacity cursor-pointer",
|
|
37615
37414
|
"aria-label": "Clear all",
|
|
37616
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
37415
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.XmarkCircleIcon, { className: "text-ods-text-secondary size-4 md:size-6" })
|
|
37617
37416
|
}
|
|
37618
37417
|
)
|
|
37619
37418
|
]
|
|
@@ -37977,7 +37776,6 @@ function FileUpload({
|
|
|
37977
37776
|
onChange,
|
|
37978
37777
|
managedFiles,
|
|
37979
37778
|
onRemoveManagedFile,
|
|
37980
|
-
onDownloadManagedFile,
|
|
37981
37779
|
accept = "*/*",
|
|
37982
37780
|
maxSize = 10 * 1024 * 1024,
|
|
37983
37781
|
maxFiles = 10,
|
|
@@ -37992,11 +37790,11 @@ function FileUpload({
|
|
|
37992
37790
|
maxListHeight,
|
|
37993
37791
|
acceptWindowDrops = false
|
|
37994
37792
|
}) {
|
|
37995
|
-
const [dragActive, setDragActive] =
|
|
37996
|
-
const [validationError, setValidationError] =
|
|
37997
|
-
const fileInputRef =
|
|
37793
|
+
const [dragActive, setDragActive] = React118.useState(false);
|
|
37794
|
+
const [validationError, setValidationError] = React118.useState(null);
|
|
37795
|
+
const fileInputRef = React118.useRef(null);
|
|
37998
37796
|
const isManaged = managedFiles !== void 0;
|
|
37999
|
-
const files =
|
|
37797
|
+
const files = React118.useMemo(() => {
|
|
38000
37798
|
if (!value) return [];
|
|
38001
37799
|
return Array.isArray(value) ? value : [value];
|
|
38002
37800
|
}, [value]);
|
|
@@ -38044,7 +37842,7 @@ function FileUpload({
|
|
|
38044
37842
|
fileInputRef.current.value = "";
|
|
38045
37843
|
}
|
|
38046
37844
|
};
|
|
38047
|
-
const handleFilesRef =
|
|
37845
|
+
const handleFilesRef = React118.useRef(handleFiles);
|
|
38048
37846
|
handleFilesRef.current = handleFiles;
|
|
38049
37847
|
const handleDrag = (e) => {
|
|
38050
37848
|
e.preventDefault();
|
|
@@ -38065,7 +37863,7 @@ function FileUpload({
|
|
|
38065
37863
|
handleFiles(e.dataTransfer.files);
|
|
38066
37864
|
}
|
|
38067
37865
|
};
|
|
38068
|
-
|
|
37866
|
+
React118.useEffect(() => {
|
|
38069
37867
|
if (!acceptWindowDrops || disabled) return;
|
|
38070
37868
|
let dragCounter = 0;
|
|
38071
37869
|
const onWindowDragEnter = (e) => {
|
|
@@ -38132,7 +37930,8 @@ function FileUpload({
|
|
|
38132
37930
|
};
|
|
38133
37931
|
const displayError = error || validationError || void 0;
|
|
38134
37932
|
const hasFiles = isManaged ? managedFiles.length > 0 : files.length > 0;
|
|
38135
|
-
const
|
|
37933
|
+
const fileCount = currentCount;
|
|
37934
|
+
const canAddMore = multiple && fileCount < maxFiles;
|
|
38136
37935
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQJGRP2YEcjs.FieldWrapper, { label: fieldLabel, error: displayError, className, children: [
|
|
38137
37936
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38138
37937
|
"input",
|
|
@@ -38146,54 +37945,69 @@ function FileUpload({
|
|
|
38146
37945
|
disabled
|
|
38147
37946
|
}
|
|
38148
37947
|
),
|
|
38149
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
38150
|
-
|
|
37948
|
+
!hasFiles && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
37949
|
+
"button",
|
|
37950
|
+
{
|
|
37951
|
+
type: "button",
|
|
37952
|
+
onDragEnter: handleDrag,
|
|
37953
|
+
onDragLeave: handleDrag,
|
|
37954
|
+
onDragOver: handleDrag,
|
|
37955
|
+
onDrop: handleDrop,
|
|
37956
|
+
onClick: openDialog,
|
|
37957
|
+
disabled,
|
|
37958
|
+
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
37959
|
+
"flex w-full items-center gap-2 p-3 rounded-[6px] border border-dashed cursor-pointer text-left",
|
|
37960
|
+
"transition-colors duration-200",
|
|
37961
|
+
"bg-ods-card border-ods-border",
|
|
37962
|
+
dragActive && "border-ods-accent bg-ods-accent/5",
|
|
37963
|
+
!dragActive && "hover:border-ods-accent/30",
|
|
37964
|
+
disabled && "opacity-50 cursor-not-allowed hover:border-ods-border"
|
|
37965
|
+
),
|
|
37966
|
+
children: [
|
|
37967
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center p-3 rounded-full bg-ods-card border border-ods-border shrink-0", children: icon || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.ImagePlusIcon, { className: "size-6 text-ods-text-primary" }) }),
|
|
37968
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col font-['DM_Sans'] font-medium min-w-0", children: [
|
|
37969
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-heading-4 text-ods-text-primary", children: label }),
|
|
37970
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-heading-5 text-ods-text-secondary", children: description })
|
|
37971
|
+
] })
|
|
37972
|
+
]
|
|
37973
|
+
}
|
|
37974
|
+
),
|
|
37975
|
+
hasFiles && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2", children: [
|
|
37976
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38151
37977
|
"div",
|
|
38152
37978
|
{
|
|
38153
37979
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
38154
|
-
"flex flex-col rounded-[6px]
|
|
38155
|
-
|
|
38156
|
-
dragActive && "border-ods-accent"
|
|
37980
|
+
"flex flex-col gap-2 rounded-[6px] transition-colors duration-200",
|
|
37981
|
+
dragActive && "bg-ods-accent/5"
|
|
38157
37982
|
),
|
|
38158
37983
|
style: maxListHeight ? { maxHeight: typeof maxListHeight === "number" ? `${maxListHeight}px` : maxListHeight, overflowY: "auto" } : void 0,
|
|
38159
37984
|
children: isManaged ? managedFiles.map((entry) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
38160
37985
|
"div",
|
|
38161
37986
|
{
|
|
38162
37987
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
38163
|
-
"flex items-center gap-
|
|
38164
|
-
entry.status === "error"
|
|
37988
|
+
"flex items-center gap-3 p-3 rounded-[6px] bg-ods-card border",
|
|
37989
|
+
entry.status === "error" ? "border-[var(--ods-attention-red-error)]/40" : "border-ods-border"
|
|
38165
37990
|
),
|
|
38166
37991
|
children: [
|
|
38167
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center justify-center size-10 rounded-[6px] border border-ods-border bg-ods-card shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.FileIcon, { className: "size-6 text-ods-text-secondary" }) }),
|
|
38168
37992
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0", children: [
|
|
38169
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-heading-
|
|
38170
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-
|
|
38171
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-heading-
|
|
38172
|
-
entry.status === "uploading" && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-
|
|
37993
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-heading-5 font-medium text-ods-text-primary truncate", title: entry.fileName, children: entry.fileName }),
|
|
37994
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
37995
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-heading-6 text-ods-text-secondary", children: formatFileSize2(entry.fileSize) }),
|
|
37996
|
+
entry.status === "uploading" && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-1 text-heading-6 text-ods-text-secondary", children: [
|
|
38173
37997
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "size-3 animate-spin" }),
|
|
38174
37998
|
"Uploading..."
|
|
38175
37999
|
] }),
|
|
38176
|
-
entry.status === "error" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-heading-
|
|
38000
|
+
entry.status === "error" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-heading-6 text-[var(--ods-attention-red-error)]", children: entry.error || "Upload failed" })
|
|
38177
38001
|
] })
|
|
38178
38002
|
] }),
|
|
38179
|
-
onDownloadManagedFile && entry.status === "uploaded" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38180
|
-
"button",
|
|
38181
|
-
{
|
|
38182
|
-
type: "button",
|
|
38183
|
-
onClick: () => onDownloadManagedFile(entry.id),
|
|
38184
|
-
className: "shrink-0 text-ods-text-secondary hover:text-ods-text-primary transition-colors",
|
|
38185
|
-
"aria-label": `Download ${entry.fileName}`,
|
|
38186
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Download02Icon, { className: "size-6" })
|
|
38187
|
-
}
|
|
38188
|
-
),
|
|
38189
38003
|
!disabled && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38190
38004
|
"button",
|
|
38191
38005
|
{
|
|
38192
38006
|
type: "button",
|
|
38193
38007
|
onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _779 => _779(entry.id)]),
|
|
38194
|
-
className: "shrink-0
|
|
38008
|
+
className: "shrink-0 p-1 rounded hover:bg-ods-bg transition-colors",
|
|
38195
38009
|
"aria-label": `Remove ${entry.fileName}`,
|
|
38196
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38010
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.X, { className: "size-4 text-ods-text-secondary" })
|
|
38197
38011
|
}
|
|
38198
38012
|
)
|
|
38199
38013
|
]
|
|
@@ -38202,21 +38016,20 @@ function FileUpload({
|
|
|
38202
38016
|
)) : files.map((file, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
38203
38017
|
"div",
|
|
38204
38018
|
{
|
|
38205
|
-
className: "flex items-center gap-
|
|
38019
|
+
className: "flex items-center gap-3 p-3 rounded-[6px] bg-ods-card border border-ods-border",
|
|
38206
38020
|
children: [
|
|
38207
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center justify-center size-10 rounded-[6px] border border-ods-border bg-ods-card shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.FileIcon, { className: "size-6 text-ods-text-secondary" }) }),
|
|
38208
38021
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0", children: [
|
|
38209
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-heading-
|
|
38210
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-heading-
|
|
38022
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-heading-5 font-medium text-ods-text-primary truncate", title: file.name, children: file.name }),
|
|
38023
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-heading-6 text-ods-text-secondary", children: formatFileSize2(file.size) })
|
|
38211
38024
|
] }),
|
|
38212
38025
|
!disabled && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38213
38026
|
"button",
|
|
38214
38027
|
{
|
|
38215
38028
|
type: "button",
|
|
38216
38029
|
onClick: () => handleRemoveFile(index),
|
|
38217
|
-
className: "shrink-0
|
|
38030
|
+
className: "shrink-0 p-1 rounded hover:bg-ods-bg transition-colors",
|
|
38218
38031
|
"aria-label": `Remove ${file.name}`,
|
|
38219
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38032
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.X, { className: "size-4 text-ods-text-secondary" })
|
|
38220
38033
|
}
|
|
38221
38034
|
)
|
|
38222
38035
|
]
|
|
@@ -38225,31 +38038,25 @@ function FileUpload({
|
|
|
38225
38038
|
))
|
|
38226
38039
|
}
|
|
38227
38040
|
),
|
|
38228
|
-
|
|
38041
|
+
canAddMore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38229
38042
|
"button",
|
|
38230
38043
|
{
|
|
38231
38044
|
type: "button",
|
|
38045
|
+
onClick: openDialog,
|
|
38232
38046
|
onDragEnter: handleDrag,
|
|
38233
38047
|
onDragLeave: handleDrag,
|
|
38234
38048
|
onDragOver: handleDrag,
|
|
38235
38049
|
onDrop: handleDrop,
|
|
38236
|
-
onClick: openDialog,
|
|
38237
38050
|
disabled,
|
|
38238
38051
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
38239
|
-
"flex
|
|
38052
|
+
"flex items-center justify-center gap-2 p-3 rounded-[6px]",
|
|
38053
|
+
"border border-dashed",
|
|
38054
|
+
"text-heading-5 font-medium",
|
|
38240
38055
|
"transition-colors duration-200",
|
|
38241
|
-
"bg-ods-
|
|
38242
|
-
|
|
38243
|
-
!dragActive && "hover:border-ods-accent/30",
|
|
38244
|
-
disabled && "opacity-50 cursor-not-allowed hover:border-ods-border"
|
|
38056
|
+
dragActive ? "border-ods-accent bg-ods-accent/5 text-ods-text-primary" : "border-ods-border text-ods-text-secondary hover:border-ods-accent/30 hover:text-ods-text-primary",
|
|
38057
|
+
disabled && "opacity-50 cursor-not-allowed"
|
|
38245
38058
|
),
|
|
38246
|
-
children:
|
|
38247
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center p-[var(--spacing-system-sf)] rounded-full bg-ods-card border border-ods-border shrink-0", children: icon || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.ImagePlusIcon, { className: "size-6 text-ods-text-primary" }) }),
|
|
38248
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col font-['DM_Sans'] font-medium min-w-0", children: [
|
|
38249
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-heading-4 text-ods-text-primary", children: label }),
|
|
38250
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-heading-5 text-ods-text-secondary", children: description })
|
|
38251
|
-
] })
|
|
38252
|
-
]
|
|
38059
|
+
children: "Add more files"
|
|
38253
38060
|
}
|
|
38254
38061
|
)
|
|
38255
38062
|
] })
|
|
@@ -38298,10 +38105,10 @@ function ImageUploader({
|
|
|
38298
38105
|
alt = "Uploaded image",
|
|
38299
38106
|
className
|
|
38300
38107
|
}) {
|
|
38301
|
-
const inputRef =
|
|
38302
|
-
const [dragActive, setDragActive] =
|
|
38303
|
-
const [pressed, setPressed] =
|
|
38304
|
-
const [validationError, setValidationError] =
|
|
38108
|
+
const inputRef = React119.useRef(null);
|
|
38109
|
+
const [dragActive, setDragActive] = React119.useState(false);
|
|
38110
|
+
const [pressed, setPressed] = React119.useState(false);
|
|
38111
|
+
const [validationError, setValidationError] = React119.useState(null);
|
|
38305
38112
|
const interactive = !disabled && !loading;
|
|
38306
38113
|
const hasImage = Boolean(value);
|
|
38307
38114
|
const displayError = error || validationError || void 0;
|
|
@@ -38409,7 +38216,7 @@ function ImageUploader({
|
|
|
38409
38216
|
onClick: openDialog,
|
|
38410
38217
|
disabled: !interactive,
|
|
38411
38218
|
ariaLabel: "Replace image",
|
|
38412
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38219
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Refresh02VrIcon, { className: "size-6" })
|
|
38413
38220
|
}
|
|
38414
38221
|
),
|
|
38415
38222
|
onRemove && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -38418,13 +38225,13 @@ function ImageUploader({
|
|
|
38418
38225
|
onClick: onRemove,
|
|
38419
38226
|
disabled: !interactive,
|
|
38420
38227
|
ariaLabel: "Remove image",
|
|
38421
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38228
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.TrashIcon, { className: "size-6" })
|
|
38422
38229
|
}
|
|
38423
38230
|
)
|
|
38424
38231
|
] }),
|
|
38425
38232
|
loading && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute inset-0 flex items-center justify-center rounded-md bg-ods-overlay", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "size-8 animate-spin text-ods-text-on-dark" }) })
|
|
38426
38233
|
] }) : loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "size-8 animate-spin text-ods-accent" }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
38427
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center justify-center rounded-full border border-ods-border bg-ods-card p-[var(--spacing-system-s)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38234
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center justify-center rounded-full border border-ods-border bg-ods-card p-[var(--spacing-system-s)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.ImagePlusIcon, { className: "size-6 text-ods-text-primary" }) }),
|
|
38428
38235
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col items-center text-center", children: [
|
|
38429
38236
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-primary", children: label }),
|
|
38430
38237
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6 text-ods-text-secondary", children: description }),
|
|
@@ -38474,10 +38281,10 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
38474
38281
|
|
|
38475
38282
|
|
|
38476
38283
|
|
|
38477
|
-
var Popover2 =
|
|
38478
|
-
var PopoverTrigger =
|
|
38479
|
-
var PopoverContent =
|
|
38480
|
-
|
|
38284
|
+
var Popover2 = PopoverPrimitive6.Root;
|
|
38285
|
+
var PopoverTrigger = PopoverPrimitive6.Trigger;
|
|
38286
|
+
var PopoverContent = React120.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverPrimitive6.Portal, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38287
|
+
PopoverPrimitive6.Content,
|
|
38481
38288
|
{
|
|
38482
38289
|
ref,
|
|
38483
38290
|
align,
|
|
@@ -38489,7 +38296,7 @@ var PopoverContent = React121.forwardRef(({ className, align = "center", sideOff
|
|
|
38489
38296
|
...props
|
|
38490
38297
|
}
|
|
38491
38298
|
) }));
|
|
38492
|
-
PopoverContent.displayName =
|
|
38299
|
+
PopoverContent.displayName = PopoverPrimitive6.Content.displayName;
|
|
38493
38300
|
|
|
38494
38301
|
// src/components/ui/color-preset-select.tsx
|
|
38495
38302
|
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
@@ -38512,7 +38319,7 @@ var CUSTOM_PRESET_KEY = "custom";
|
|
|
38512
38319
|
var DEFAULT_CUSTOM_STATUS_COLOR = "#888888";
|
|
38513
38320
|
function TriggerChevron() {
|
|
38514
38321
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38515
|
-
|
|
38322
|
+
_chunkGXRWE7NBcjs.Chevron02DownIcon,
|
|
38516
38323
|
{
|
|
38517
38324
|
size: 24,
|
|
38518
38325
|
className: "transition-transform duration-200 group-data-[state=open]:rotate-180"
|
|
@@ -38573,8 +38380,8 @@ var FORMATS = ["HEX", "RGB", "HSL"];
|
|
|
38573
38380
|
var channelInputClass = "flex-1 min-w-0 [&_input]:text-center [&_input]:tabular-nums";
|
|
38574
38381
|
var hexInputClass = "flex-1 min-w-0 [&_input]:uppercase";
|
|
38575
38382
|
function HexInputs({ value, onChange }) {
|
|
38576
|
-
const [draft, setDraft] =
|
|
38577
|
-
|
|
38383
|
+
const [draft, setDraft] = React121.useState(value);
|
|
38384
|
+
React121.useEffect(() => setDraft(value), [value]);
|
|
38578
38385
|
const commit = () => {
|
|
38579
38386
|
const candidate = (draft.startsWith("#") ? draft : `#${draft}`).toLowerCase();
|
|
38580
38387
|
if (HEX_PATTERN.test(candidate)) onChange(candidate);
|
|
@@ -38606,8 +38413,8 @@ function ChannelInput({
|
|
|
38606
38413
|
ariaLabel,
|
|
38607
38414
|
onCommit
|
|
38608
38415
|
}) {
|
|
38609
|
-
const [draft, setDraft] =
|
|
38610
|
-
|
|
38416
|
+
const [draft, setDraft] = React121.useState(String(value));
|
|
38417
|
+
React121.useEffect(() => setDraft(String(value)), [value]);
|
|
38611
38418
|
const commit = () => {
|
|
38612
38419
|
const parsed = Number.parseInt(draft, 10);
|
|
38613
38420
|
if (!Number.isFinite(parsed)) {
|
|
@@ -38667,8 +38474,8 @@ function HslInputs({ value, onChange }) {
|
|
|
38667
38474
|
] });
|
|
38668
38475
|
}
|
|
38669
38476
|
function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
38670
|
-
const [open, setOpen] =
|
|
38671
|
-
const [format2, setFormat] =
|
|
38477
|
+
const [open, setOpen] = React121.useState(false);
|
|
38478
|
+
const [format2, setFormat] = React121.useState("HEX");
|
|
38672
38479
|
const formatGroups = [
|
|
38673
38480
|
{
|
|
38674
38481
|
items: FORMATS.map((f) => ({
|
|
@@ -38733,9 +38540,9 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
38733
38540
|
|
|
38734
38541
|
var dismissOpenTooltip = null;
|
|
38735
38542
|
function WithLeftTooltip({ content, children }) {
|
|
38736
|
-
const [open, setOpen] =
|
|
38737
|
-
const isTouchRef =
|
|
38738
|
-
const close =
|
|
38543
|
+
const [open, setOpen] = React122.useState(false);
|
|
38544
|
+
const isTouchRef = React122.useRef(false);
|
|
38545
|
+
const close = React122.useCallback(() => setOpen(false), []);
|
|
38739
38546
|
if (!content) return children;
|
|
38740
38547
|
const toggleFromTouch = () => {
|
|
38741
38548
|
setOpen((prev) => {
|
|
@@ -38804,7 +38611,7 @@ function TicketStatusConfigRow({
|
|
|
38804
38611
|
isDragging && "opacity-70 shadow-lg"
|
|
38805
38612
|
),
|
|
38806
38613
|
children: [
|
|
38807
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-11 w-8 shrink-0 items-center justify-center text-ods-text-secondary md:h-12", children: isSystem ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38614
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-11 w-8 shrink-0 items-center justify-center text-ods-text-secondary md:h-12", children: isSystem ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.DraggerIcon, { size: 24, "aria-hidden": true, className: "opacity-40" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38808
38615
|
"button",
|
|
38809
38616
|
{
|
|
38810
38617
|
type: "button",
|
|
@@ -38812,7 +38619,7 @@ function TicketStatusConfigRow({
|
|
|
38812
38619
|
className: "flex size-6 cursor-grab items-center justify-center rounded-sm outline-none focus-visible:ring-2 focus-visible:ring-ods-focus active:cursor-grabbing",
|
|
38813
38620
|
...dragHandleAttributes,
|
|
38814
38621
|
...dragHandleProps,
|
|
38815
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38622
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.DraggerIcon, { size: 24 })
|
|
38816
38623
|
}
|
|
38817
38624
|
) }),
|
|
38818
38625
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-wrap items-start gap-x-3 gap-y-4 md:flex-nowrap md:gap-[var(--spacing-system-m)]", children: [
|
|
@@ -38847,7 +38654,7 @@ function TicketStatusConfigRow({
|
|
|
38847
38654
|
type: "button",
|
|
38848
38655
|
"aria-label": _nullishCoalesce(systemTooltip, () => ( "System status")),
|
|
38849
38656
|
className: "flex size-6 items-center justify-center text-ods-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-ods-focus",
|
|
38850
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38657
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.InfoCircleIcon, { size: 24 })
|
|
38851
38658
|
}
|
|
38852
38659
|
) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, WithLeftTooltip, { content: deleteDisabled ? deleteDisabledReason : void 0, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38853
38660
|
_chunkQJGRP2YEcjs.Button,
|
|
@@ -38859,7 +38666,7 @@ function TicketStatusConfigRow({
|
|
|
38859
38666
|
disabled: deleteDisabled,
|
|
38860
38667
|
onClick: deleteDisabled ? void 0 : onDelete,
|
|
38861
38668
|
className: _chunkFIG2RKZFcjs.cn.call(void 0, "size-11 md:size-12", deleteDisabled && "pointer-events-none"),
|
|
38862
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38669
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.TrashIcon, { className: "text-ods-error" })
|
|
38863
38670
|
}
|
|
38864
38671
|
) }) }) })
|
|
38865
38672
|
]
|
|
@@ -38910,7 +38717,7 @@ function TicketAttachmentsList({ attachments, className, size = "default" }) {
|
|
|
38910
38717
|
"shrink-0 flex items-center justify-center rounded-[6px] bg-ods-card border border-ods-border",
|
|
38911
38718
|
compact ? "size-8" : "size-10"
|
|
38912
38719
|
),
|
|
38913
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38720
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.FileIcon, { className: _chunkFIG2RKZFcjs.cn.call(void 0, "text-ods-text-secondary", compact ? "size-4" : "size-6") })
|
|
38914
38721
|
}
|
|
38915
38722
|
),
|
|
38916
38723
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0 overflow-hidden", children: [
|
|
@@ -38931,7 +38738,7 @@ function TicketAttachmentsList({ attachments, className, size = "default" }) {
|
|
|
38931
38738
|
onClick: attachment.onDelete,
|
|
38932
38739
|
className: "shrink-0 text-ods-text-secondary hover:text-ods-error transition-colors",
|
|
38933
38740
|
"aria-label": `Delete ${attachment.fileName}`,
|
|
38934
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38741
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.TrashIcon, { className: compact ? "size-4" : "size-5" })
|
|
38935
38742
|
}
|
|
38936
38743
|
),
|
|
38937
38744
|
attachment.onDownload && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -38941,7 +38748,7 @@ function TicketAttachmentsList({ attachments, className, size = "default" }) {
|
|
|
38941
38748
|
onClick: attachment.onDownload,
|
|
38942
38749
|
className: "shrink-0 text-ods-text-secondary hover:text-ods-text-primary transition-colors",
|
|
38943
38750
|
"aria-label": `Download ${attachment.fileName}`,
|
|
38944
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38751
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Download02Icon, { className: compact ? "size-4" : "size-6" })
|
|
38945
38752
|
}
|
|
38946
38753
|
)
|
|
38947
38754
|
]
|
|
@@ -38959,8 +38766,8 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
38959
38766
|
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
38960
38767
|
|
|
38961
38768
|
function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
38962
|
-
const [isEditing, setIsEditing] =
|
|
38963
|
-
const [editText, setEditText] =
|
|
38769
|
+
const [isEditing, setIsEditing] = React123.useState(false);
|
|
38770
|
+
const [editText, setEditText] = React123.useState(note.text);
|
|
38964
38771
|
const handleSave = () => {
|
|
38965
38772
|
const trimmed = editText.trim();
|
|
38966
38773
|
if (!trimmed || !onEdit) return;
|
|
@@ -39018,7 +38825,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
39018
38825
|
disabled: !editText.trim(),
|
|
39019
38826
|
className: "shrink-0 text-ods-success hover:text-ods-success/80 transition-colors disabled:opacity-50",
|
|
39020
38827
|
"aria-label": "Save note",
|
|
39021
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38828
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.CheckIcon, { className: "size-5" })
|
|
39022
38829
|
}
|
|
39023
38830
|
),
|
|
39024
38831
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -39028,7 +38835,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
39028
38835
|
onClick: handleCancel,
|
|
39029
38836
|
className: "shrink-0 text-ods-text-secondary hover:text-ods-text-primary transition-colors",
|
|
39030
38837
|
"aria-label": "Cancel editing",
|
|
39031
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38838
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.XmarkIcon, { className: "size-5" })
|
|
39032
38839
|
}
|
|
39033
38840
|
)
|
|
39034
38841
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -39054,7 +38861,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
39054
38861
|
onClick: () => onDelete(note.id),
|
|
39055
38862
|
className: "text-ods-text-secondary hover:text-ods-error transition-colors",
|
|
39056
38863
|
"aria-label": "Delete note",
|
|
39057
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38864
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.TrashIcon, { className: "size-6" })
|
|
39058
38865
|
}
|
|
39059
38866
|
),
|
|
39060
38867
|
onEdit && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -39064,7 +38871,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
39064
38871
|
onClick: () => setIsEditing(true),
|
|
39065
38872
|
className: "text-ods-text-secondary hover:text-ods-text-primary transition-colors",
|
|
39066
38873
|
"aria-label": "Edit note",
|
|
39067
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38874
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.PenEditIcon, { className: "size-6" })
|
|
39068
38875
|
}
|
|
39069
38876
|
)
|
|
39070
38877
|
] })
|
|
@@ -39083,7 +38890,7 @@ function TicketNotesSection({
|
|
|
39083
38890
|
isAddingNote,
|
|
39084
38891
|
className
|
|
39085
38892
|
}) {
|
|
39086
|
-
const [noteText, setNoteText] =
|
|
38893
|
+
const [noteText, setNoteText] = React124.useState("");
|
|
39087
38894
|
const handleSend = () => {
|
|
39088
38895
|
const trimmed = noteText.trim();
|
|
39089
38896
|
if (!trimmed || !onAddNote || isAddingNote) return;
|
|
@@ -39130,7 +38937,7 @@ function TicketNotesSection({
|
|
|
39130
38937
|
"disabled:opacity-50 disabled:cursor-not-allowed"
|
|
39131
38938
|
),
|
|
39132
38939
|
"aria-label": "Send note",
|
|
39133
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38940
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Send03Icon, { className: "size-6 text-ods-text-secondary" })
|
|
39134
38941
|
}
|
|
39135
38942
|
)
|
|
39136
38943
|
] })
|
|
@@ -39213,7 +39020,7 @@ function TicketInfoSection({
|
|
|
39213
39020
|
}
|
|
39214
39021
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0", children: [
|
|
39215
39022
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1 text-h4 text-ods-text-secondary", children: [
|
|
39216
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
39023
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.UserIcon, { className: "size-4 shrink-0" }),
|
|
39217
39024
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: "Unassigned" })
|
|
39218
39025
|
] }),
|
|
39219
39026
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h6 text-ods-text-secondary truncate block", children: "Assigned" })
|
|
@@ -39251,7 +39058,7 @@ function TicketInfoSection({
|
|
|
39251
39058
|
),
|
|
39252
39059
|
"aria-label": expanded ? "Collapse" : "Expand",
|
|
39253
39060
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
39254
|
-
|
|
39061
|
+
_chunkGXRWE7NBcjs.Chevron02DownIcon,
|
|
39255
39062
|
{
|
|
39256
39063
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
39257
39064
|
"size-6 text-ods-text-primary transition-transform duration-200",
|
|
@@ -39888,7 +39695,7 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
|
|
|
39888
39695
|
reviewState ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReviewStateBadge, { state: reviewState }) : null,
|
|
39889
39696
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_TITLE, children: primaryText })
|
|
39890
39697
|
] }),
|
|
39891
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
39698
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React113.default.Fragment, { children: [
|
|
39892
39699
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary/40 shrink-0", children: "\xB7" }) : null,
|
|
39893
39700
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
39894
39701
|
] }, i)) }) }),
|
|
@@ -39980,7 +39787,7 @@ function SlackMessageCard({ item, variant = "compact", className, anchorProps })
|
|
|
39980
39787
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
|
|
39981
39788
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_TITLE, children: item.title }) }),
|
|
39982
39789
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_SUMMARY, children: item.preview || COMPACT_CARD_ROW_FILLER }) }),
|
|
39983
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW, children: metaParts.length > 0 ? metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
39790
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW, children: metaParts.length > 0 ? metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React113.default.Fragment, { children: [
|
|
39984
39791
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary/40 shrink-0", children: "\xB7" }) : null,
|
|
39985
39792
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
39986
39793
|
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_SUMMARY, children: COMPACT_CARD_ROW_FILLER }) }) })
|
|
@@ -40092,7 +39899,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
40092
39899
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: item.customerEmail })
|
|
40093
39900
|
] }) : null,
|
|
40094
39901
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "line-clamp-4 whitespace-pre-wrap break-words text-[13px] leading-5 text-ods-text-secondary", children: item.preview || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "italic text-ods-text-secondary/60", children: "No description provided." }) }) }),
|
|
40095
|
-
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
39902
|
+
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React113.default.Fragment, { children: [
|
|
40096
39903
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary/40 shrink-0", children: "\xB7" }) : null,
|
|
40097
39904
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
40098
39905
|
] }, i)) }) }) : null
|
|
@@ -42173,7 +41980,7 @@ function useChatCardItem(type, id) {
|
|
|
42173
41980
|
queryKey: ["chat-card-item", type, id],
|
|
42174
41981
|
queryFn: async () => {
|
|
42175
41982
|
if (!url) return null;
|
|
42176
|
-
const res = await
|
|
41983
|
+
const res = await _chunk27IO7V3Pcjs.embedAuthedFetch.call(void 0, url);
|
|
42177
41984
|
if (!res.ok) return null;
|
|
42178
41985
|
const data = await res.json();
|
|
42179
41986
|
const items = extractItems(data);
|
|
@@ -42377,7 +42184,7 @@ function MingoInfoCard({
|
|
|
42377
42184
|
type: "button",
|
|
42378
42185
|
"aria-label": menuAriaLabel,
|
|
42379
42186
|
className: "flex w-[56px] md:w-[68px] shrink-0 items-center justify-center self-stretch text-ods-text-secondary transition-colors hover:bg-ods-bg-hover hover:text-ods-text-primary active:bg-ods-bg-active active:text-ods-text-primary focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ods-accent",
|
|
42380
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42187
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Ellipsis01Icon, { size: 24 })
|
|
42381
42188
|
}
|
|
42382
42189
|
)
|
|
42383
42190
|
}
|
|
@@ -42392,12 +42199,12 @@ function MingoInfoCard({
|
|
|
42392
42199
|
function githubKindIcon(kind) {
|
|
42393
42200
|
switch (kind) {
|
|
42394
42201
|
case "pull_request":
|
|
42395
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42202
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.CodingPullRequestIcon, { size: 24 });
|
|
42396
42203
|
case "pr_review":
|
|
42397
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42204
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.CodeIcon, { size: 24 });
|
|
42398
42205
|
case "commit":
|
|
42399
42206
|
default:
|
|
42400
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42207
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.CodingCommitIcon, { size: 24 });
|
|
42401
42208
|
}
|
|
42402
42209
|
}
|
|
42403
42210
|
function reviewStateToVariant(state) {
|
|
@@ -42453,12 +42260,12 @@ function cardMenuGroups(href, discuss, openDetails) {
|
|
|
42453
42260
|
items.push({
|
|
42454
42261
|
id: "open-details",
|
|
42455
42262
|
label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _856 => _856.label]), () => ( "Open Details")),
|
|
42456
|
-
icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _857 => _857.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42263
|
+
icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _857 => _857.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.EyeIcon, { size: 20 }))),
|
|
42457
42264
|
// Main row → open the entity (same tab, soft Link nav).
|
|
42458
42265
|
href,
|
|
42459
42266
|
// Trailing 40px ↗ side-button → open in a new tab.
|
|
42460
42267
|
iconAction: {
|
|
42461
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42268
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.ArrowRightUpIcon, { size: 20 }),
|
|
42462
42269
|
"aria-label": "Open in new tab",
|
|
42463
42270
|
href,
|
|
42464
42271
|
openInNewTab: true
|
|
@@ -42491,12 +42298,12 @@ function HubspotTicketChatCard({
|
|
|
42491
42298
|
{
|
|
42492
42299
|
title: chatRef.title,
|
|
42493
42300
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
42494
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42301
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.TagIcon, { size: 24 }),
|
|
42495
42302
|
status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
|
|
42496
42303
|
anchorProps: buildAnchorProps(chatRef.url, isNewTab),
|
|
42497
42304
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
42498
42305
|
label: "Open Ticket Details",
|
|
42499
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42306
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.TagIcon, { size: 20 })
|
|
42500
42307
|
}),
|
|
42501
42308
|
menuAriaLabel: "Ticket actions"
|
|
42502
42309
|
}
|
|
@@ -42514,7 +42321,7 @@ function FaqChatCard({
|
|
|
42514
42321
|
{
|
|
42515
42322
|
title: chatRef.title,
|
|
42516
42323
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
42517
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42324
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.QuestionCircleIcon, { size: 24 }),
|
|
42518
42325
|
status: { label: statusLabel, variant: "grey" },
|
|
42519
42326
|
anchorProps: buildAnchorProps(chatRef.url, isNewTab),
|
|
42520
42327
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
@@ -42535,7 +42342,7 @@ function SlackChatCard({
|
|
|
42535
42342
|
{
|
|
42536
42343
|
title,
|
|
42537
42344
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
42538
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42345
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.SlackLogoGreyIcon, { size: 24 }),
|
|
42539
42346
|
anchorProps: buildAnchorProps(chatRef.url, isNewTab),
|
|
42540
42347
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
42541
42348
|
menuAriaLabel: "Message actions"
|
|
@@ -42553,7 +42360,7 @@ function DataRoomDocChatCard({
|
|
|
42553
42360
|
{
|
|
42554
42361
|
title: chatRef.title,
|
|
42555
42362
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
42556
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42363
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.FileContentIcon, { size: 24 }),
|
|
42557
42364
|
status: { label: badgeText, variant: "grey" },
|
|
42558
42365
|
anchorProps: buildAnchorProps(chatRef.url, isNewTab),
|
|
42559
42366
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
@@ -42643,7 +42450,7 @@ function ProductReleaseChatCard({
|
|
|
42643
42450
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _869 => _869.title]), () => ( "")),
|
|
42644
42451
|
description: _optionalChain([item, 'optionalAccess', _870 => _870.summary]) || releaseProps.formattedDate || void 0,
|
|
42645
42452
|
cover: releaseProps.coverImage || void 0,
|
|
42646
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42453
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Rocket02Icon, { size: 24 }),
|
|
42647
42454
|
status,
|
|
42648
42455
|
chatRef,
|
|
42649
42456
|
isNewTab,
|
|
@@ -42669,7 +42476,7 @@ function CampaignChatCard({
|
|
|
42669
42476
|
{
|
|
42670
42477
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _873 => _873.name]), () => ( "")),
|
|
42671
42478
|
description: meta || _optionalChain([item, 'optionalAccess', _874 => _874.description]) || void 0,
|
|
42672
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42479
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Megaphone01Icon, { size: 24 }),
|
|
42673
42480
|
chatRef,
|
|
42674
42481
|
isNewTab,
|
|
42675
42482
|
discuss,
|
|
@@ -42729,7 +42536,7 @@ function BlogChatCard({
|
|
|
42729
42536
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _880 => _880.title]), () => ( "")),
|
|
42730
42537
|
description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _881 => _881.summary]), () => ( void 0)),
|
|
42731
42538
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _882 => _882.featured_image]), ogPlaceholder),
|
|
42732
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42539
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.NewspaperIcon, { size: 24 }),
|
|
42733
42540
|
status,
|
|
42734
42541
|
chatRef,
|
|
42735
42542
|
isNewTab,
|
|
@@ -42752,7 +42559,7 @@ function CaseStudyChatCard({
|
|
|
42752
42559
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _887 => _887.title]), () => ( "")),
|
|
42753
42560
|
description: _optionalChain([item, 'optionalAccess', _888 => _888.summary]) || meta || void 0,
|
|
42754
42561
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _889 => _889.featured_image]), ogPlaceholder),
|
|
42755
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42562
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.TrophyIcon, { size: 24 }),
|
|
42756
42563
|
status: { label: "Case study", variant: "grey" },
|
|
42757
42564
|
chatRef,
|
|
42758
42565
|
isNewTab,
|
|
@@ -42775,7 +42582,7 @@ function CustomerInterviewChatCard({
|
|
|
42775
42582
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _894 => _894.title]), () => ( "")),
|
|
42776
42583
|
description: _optionalChain([item, 'optionalAccess', _895 => _895.video_summary]) || meta || void 0,
|
|
42777
42584
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _896 => _896.featured_image]), ogPlaceholder),
|
|
42778
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42585
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.MicrophoneIcon, { size: 24 }),
|
|
42779
42586
|
status: { label: "Interview", variant: "grey" },
|
|
42780
42587
|
chatRef,
|
|
42781
42588
|
isNewTab,
|
|
@@ -42798,7 +42605,7 @@ function InvestorUpdateChatCard({
|
|
|
42798
42605
|
title,
|
|
42799
42606
|
description: _optionalChain([item, 'optionalAccess', _899 => _899.strategic_update]) || _optionalChain([item, 'optionalAccess', _900 => _900.content]) || formatInvestorUpdatePeriod(_optionalChain([item, 'optionalAccess', _901 => _901.period_start]), _optionalChain([item, 'optionalAccess', _902 => _902.period_end])) || void 0,
|
|
42800
42607
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _903 => _903.featured_image]), ogPlaceholder),
|
|
42801
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42608
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.PresentationLineIcon, { size: 24 }),
|
|
42802
42609
|
status: { label: "Investor update", variant: "grey" },
|
|
42803
42610
|
chatRef,
|
|
42804
42611
|
isNewTab,
|
|
@@ -42821,7 +42628,7 @@ function OnboardingGuideChatCard({
|
|
|
42821
42628
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _907 => _907.title]), () => ( "")),
|
|
42822
42629
|
description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _908 => _908.summary]), () => ( _optionalChain([item, 'optionalAccess', _909 => _909.description]))), () => ( void 0)),
|
|
42823
42630
|
cover,
|
|
42824
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42631
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.CompassIcon, { size: 24 }),
|
|
42825
42632
|
status: { label: "Guide", variant: "grey" },
|
|
42826
42633
|
chatRef,
|
|
42827
42634
|
isNewTab,
|
|
@@ -42839,7 +42646,7 @@ function ProgramChatCard({
|
|
|
42839
42646
|
ogPlaceholder,
|
|
42840
42647
|
discuss
|
|
42841
42648
|
}) {
|
|
42842
|
-
const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42649
|
+
const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.PresentationBarIcon, { size: 24 }) : configKey === "event" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.CalendarIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.MicrophoneIcon, { size: 24 });
|
|
42843
42650
|
const isScheduled = _optionalChain([item, 'optionalAccess', _910 => _910.status]) === "scheduled";
|
|
42844
42651
|
let typeMeta;
|
|
42845
42652
|
if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _911 => _911.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
|
|
@@ -42877,7 +42684,7 @@ function RoadmapChatCard({
|
|
|
42877
42684
|
}) {
|
|
42878
42685
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _918 => _918.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
42879
42686
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _919 => _919.customItemId]) != null;
|
|
42880
|
-
const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42687
|
+
const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.MapIcon, { size: 24 });
|
|
42881
42688
|
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _920 => _920.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
42882
42689
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
42883
42690
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
@@ -42898,11 +42705,11 @@ function RoadmapChatCard({
|
|
|
42898
42705
|
);
|
|
42899
42706
|
}
|
|
42900
42707
|
var FINANCIAL_CARD_CONFIGS = {
|
|
42901
|
-
financial_kpi: { label: "Financial KPI", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42902
|
-
cap_table: { label: "Cap table entry", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42903
|
-
profit_loss: { label: "P&L period", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42904
|
-
balance_sheet: { label: "Balance sheet", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42905
|
-
cash_flow: { label: "Cash flow", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42708
|
+
financial_kpi: { label: "Financial KPI", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.ChartBar01VerIcon, { size: 24 }) },
|
|
42709
|
+
cap_table: { label: "Cap table entry", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.ChartPieIcon, { size: 24 }) },
|
|
42710
|
+
profit_loss: { label: "P&L period", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.MoneyBillDollarIcon, { size: 24 }) },
|
|
42711
|
+
balance_sheet: { label: "Balance sheet", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.BankIcon, { size: 24 }) },
|
|
42712
|
+
cash_flow: { label: "Cash flow", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.CoinsExchangeCurrencyIcon, { size: 24 }) }
|
|
42906
42713
|
};
|
|
42907
42714
|
function financialRegistryEntries() {
|
|
42908
42715
|
const out = {};
|
|
@@ -43275,7 +43082,7 @@ function ChatCardLoader({
|
|
|
43275
43082
|
extras
|
|
43276
43083
|
}) {
|
|
43277
43084
|
const runtime = _chunkN2DVKXN4cjs.useRequiredChatRuntime.call(void 0, );
|
|
43278
|
-
const resolvedChatRef =
|
|
43085
|
+
const resolvedChatRef = React113.default.useMemo(() => {
|
|
43279
43086
|
const cta = resolveSourceRowCTA(
|
|
43280
43087
|
{
|
|
43281
43088
|
sourceRepo: chatRef.sourceRepo,
|
|
@@ -43311,7 +43118,7 @@ function ChatCardLoader({
|
|
|
43311
43118
|
const discussFn = useDisplay ? onDisplay : onDiscuss;
|
|
43312
43119
|
const discuss = discussFn ? {
|
|
43313
43120
|
label: useDisplay ? "Display" : "Ask Mingo",
|
|
43314
|
-
icon: useDisplay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
43121
|
+
icon: useDisplay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.FileContentIcon, { size: 20 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
43315
43122
|
_chunkLWNPMLIHcjs.MingoIcon,
|
|
43316
43123
|
{
|
|
43317
43124
|
className: "size-5",
|
|
@@ -45063,7 +44870,7 @@ async function fetchSlashCommands(prefix, signal, commandsUrl) {
|
|
|
45063
44870
|
try {
|
|
45064
44871
|
const url = new URL(commandsUrl, window.location.origin);
|
|
45065
44872
|
if (prefix) url.searchParams.set("q", prefix);
|
|
45066
|
-
const res = await
|
|
44873
|
+
const res = await _chunk27IO7V3Pcjs.embedAuthedFetch.call(void 0, url.toString(), { signal, headers: {} });
|
|
45067
44874
|
if (!res.ok) return [];
|
|
45068
44875
|
const data = await res.json();
|
|
45069
44876
|
return _nullishCoalesce(data.commands, () => ( []));
|
|
@@ -45135,7 +44942,7 @@ var EMPTY_STATE_FALLBACK = {
|
|
|
45135
44942
|
async function fetchEmptyStateConfig(signal, emptyStateUrl) {
|
|
45136
44943
|
try {
|
|
45137
44944
|
const url = new URL(emptyStateUrl, window.location.origin);
|
|
45138
|
-
const res = await
|
|
44945
|
+
const res = await _chunk27IO7V3Pcjs.embedAuthedFetch.call(void 0, url.toString(), { signal, headers: {} });
|
|
45139
44946
|
if (!res.ok) {
|
|
45140
44947
|
if (res.status >= 500) {
|
|
45141
44948
|
console.error(`[chat] empty-state config fetch failed (${res.status}): ${url.pathname}`);
|
|
@@ -45294,7 +45101,7 @@ function useChatAttachments() {
|
|
|
45294
45101
|
);
|
|
45295
45102
|
}
|
|
45296
45103
|
updateOne(att.id, { status: "uploading", progress: 5 });
|
|
45297
|
-
const urlResp = await
|
|
45104
|
+
const urlResp = await _chunk27IO7V3Pcjs.embedAuthedFetch.call(void 0, uploadUrlEndpoint, {
|
|
45298
45105
|
method: "POST",
|
|
45299
45106
|
headers: { "Content-Type": "application/json" },
|
|
45300
45107
|
signal: _optionalChain([ctrl, 'optionalAccess', _1071 => _1071.signal]),
|
|
@@ -45484,7 +45291,7 @@ var ANON_DEFAULTS = {
|
|
|
45484
45291
|
function useResolveChatIdentity(enabled) {
|
|
45485
45292
|
const runtime = _chunkN2DVKXN4cjs.useRequiredChatRuntime.call(void 0, );
|
|
45486
45293
|
const url = runtime.endpoints.identityUrl;
|
|
45487
|
-
const proxyEmail = _nullishCoalesce(_optionalChain([
|
|
45294
|
+
const proxyEmail = _nullishCoalesce(_optionalChain([_chunk27IO7V3Pcjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess', _1077 => _1077.email]), () => ( null));
|
|
45488
45295
|
const [data, setData] = _react.useState.call(void 0, ANON_DEFAULTS);
|
|
45489
45296
|
const [isLoading, setIsLoading] = _react.useState.call(void 0, enabled);
|
|
45490
45297
|
_react.useEffect.call(void 0, () => {
|
|
@@ -45492,7 +45299,7 @@ function useResolveChatIdentity(enabled) {
|
|
|
45492
45299
|
let cancelled = false;
|
|
45493
45300
|
const ctrl = new AbortController();
|
|
45494
45301
|
setIsLoading(true);
|
|
45495
|
-
|
|
45302
|
+
_chunk27IO7V3Pcjs.embedAuthedFetch.call(void 0, url, { signal: ctrl.signal }).then(async (resp) => {
|
|
45496
45303
|
if (!resp.ok) return ANON_DEFAULTS;
|
|
45497
45304
|
return await resp.json();
|
|
45498
45305
|
}).then((next) => {
|
|
@@ -45955,7 +45762,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
|
|
|
45955
45762
|
..._optionalChain([extra, 'optionalAccess', _1092 => _1092.commandOverride]) ? { commandOverride: extra.commandOverride } : {},
|
|
45956
45763
|
..._optionalChain([extra, 'optionalAccess', _1093 => _1093.pendingAttachments]) && extra.pendingAttachments.length > 0 ? { pendingAttachments: extra.pendingAttachments } : {}
|
|
45957
45764
|
};
|
|
45958
|
-
const response = await
|
|
45765
|
+
const response = await _chunk27IO7V3Pcjs.embedAuthedFetch.call(void 0, targetPath, {
|
|
45959
45766
|
method: "POST",
|
|
45960
45767
|
body: JSON.stringify(requestBody),
|
|
45961
45768
|
signal
|
|
@@ -46178,7 +45985,7 @@ var CHAT_STORAGE_VERSION = 1;
|
|
|
46178
45985
|
var DEFAULT_CHAT_SOURCE = "embed";
|
|
46179
45986
|
var chatStorageKey = (source) => {
|
|
46180
45987
|
const base = `mingo-chat-${source}-v${CHAT_STORAGE_VERSION}`;
|
|
46181
|
-
const auth =
|
|
45988
|
+
const auth = _chunk27IO7V3Pcjs.getEmbedProxyAuth.call(void 0, );
|
|
46182
45989
|
if (_optionalChain([auth, 'optionalAccess', _1102 => _1102.email])) {
|
|
46183
45990
|
return `${base}-u-${encodeURIComponent(auth.email.toLowerCase())}`;
|
|
46184
45991
|
}
|
|
@@ -47859,7 +47666,7 @@ var NODES = [
|
|
|
47859
47666
|
];
|
|
47860
47667
|
var Primitive = NODES.reduce((primitive, node) => {
|
|
47861
47668
|
const Slot2 = _reactslot.createSlot.call(void 0, `Primitive.${node}`);
|
|
47862
|
-
const Node2 =
|
|
47669
|
+
const Node2 = React131.forwardRef((props, forwardedRef) => {
|
|
47863
47670
|
const { asChild, ...primitiveProps } = props;
|
|
47864
47671
|
const Comp = asChild ? Slot2 : node;
|
|
47865
47672
|
if (typeof window !== "undefined") {
|
|
@@ -47887,7 +47694,7 @@ var VISUALLY_HIDDEN_STYLES = Object.freeze({
|
|
|
47887
47694
|
wordWrap: "normal"
|
|
47888
47695
|
});
|
|
47889
47696
|
var NAME = "VisuallyHidden";
|
|
47890
|
-
var VisuallyHidden =
|
|
47697
|
+
var VisuallyHidden = React132.forwardRef(
|
|
47891
47698
|
(props, forwardedRef) => {
|
|
47892
47699
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
47893
47700
|
Primitive.span,
|
|
@@ -49988,6 +49795,5 @@ function EmbeddableChatInner({
|
|
|
49988
49795
|
|
|
49989
49796
|
|
|
49990
49797
|
|
|
49991
|
-
|
|
49992
|
-
exports.Label = Label; exports.AllowedDomainsInput = AllowedDomainsInput; exports.HiddenTagsPopup = HiddenTagsPopup; exports.tagVariants = tagVariants; exports.Tag = Tag; exports.Autocomplete = Autocomplete; exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.CardHorizontal = CardHorizontal; exports.CheckboxBlock = CheckboxBlock; exports.CheckboxWithDescription = CheckboxWithDescription; 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.DatePicker = DatePicker; exports.DatePickerInput = DatePickerInput; exports.DatePickerInputSimple = DatePickerInputSimple; exports.DateFilterMenu = DateFilterMenu; exports.DurationInput = DurationInput; exports.HoneypotField = HoneypotField; exports.ProgressBar = ProgressBar; exports.InfoCard = InfoCard; exports.InfoRow = InfoRow; exports.formatDate = formatDate; exports.formatNumber = formatNumber; exports.formatPrice = formatPrice; exports.formatBytes = formatBytes; exports.formatBytesShort = formatBytesShort; exports.formatFileSize = formatFileSize; exports.formatLargeNumber = formatLargeNumber; exports.formatAbbreviatedNumber = formatAbbreviatedNumber; exports.getFirstLastInitials = getFirstLastInitials; exports.nameInitials = nameInitials; exports.formatDurationMMSS = formatDurationMMSS; exports.formatDurationCompact = formatDurationCompact; exports.formatTimeWithTimezone = formatTimeWithTimezone; exports.formatDurationFromRange = formatDurationFromRange; exports.formatDateUTC = formatDateUTC; exports.formatEntryMonthUTC = formatEntryMonthUTC; exports.formatLegalDate = formatLegalDate; exports.formatCurrency = formatCurrency; exports.formatPercent = formatPercent; exports.formatWholeDollars = formatWholeDollars; exports.formatCompactMetric = formatCompactMetric; exports.getTrendColors = getTrendColors; exports.formatDateRange = formatDateRange; exports.formatDateTimeAt = formatDateTimeAt; exports.formatDurationFromMs = formatDurationFromMs; exports.formatDuration = formatDuration; exports.formatUnderscoreText = formatUnderscoreText; exports.stripHtml = stripHtml; exports.formatClassification = formatClassification; exports.formatPricingModel = formatPricingModel; exports.formatBioText = formatBioText; exports.SquareAvatar = SquareAvatar; exports.AssigneeDropdown = AssigneeDropdown; exports.ActionsMenu = ActionsMenu; exports.ActionsMenuDropdown = ActionsMenuDropdown; exports.ColorSwatch = ColorSwatch; exports.getPlatformAccentColor = getPlatformAccentColor; exports.getCurrentPlatform = getCurrentPlatform; exports.getReadableTextColor = getReadableTextColor; exports.HEX_PATTERN = HEX_PATTERN; exports.hexToRgb = hexToRgb; exports.rgbToHex = rgbToHex; exports.deriveHoverColor = deriveHoverColor; exports.deriveActiveColor = deriveActiveColor; exports.resolveTicketStatus = resolveTicketStatus; exports.getTicketStatusConfig = getTicketStatusConfig; exports.getTicketStatusTag = getTicketStatusTag; exports.kindToCanonicalStatus = kindToCanonicalStatus; exports.usesCanonicalStatusStyle = usesCanonicalStatusStyle; exports.resolveStatusTagProps = resolveStatusTagProps; exports.TicketStatusTag = TicketStatusTag; exports.InfoSection = InfoSection; exports.InputTrigger = InputTrigger; exports.InteractiveCard = InteractiveCard; exports.MediaTypeSelector = MediaTypeSelector; exports.noDataIconClasses = noDataIconClasses; exports.noDataActionsVariants = noDataActionsVariants; exports.NoDataMessage = NoDataMessage; exports.NoDataAction = NoDataAction; exports.NoDataActions = NoDataActions; exports.NoData = NoData; exports.PageLoader = PageLoader; exports.CompactPageLoader = CompactPageLoader; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.RadioGroupBlock = RadioGroupBlock; exports.Switch = Switch; exports.TagSelectDropdown = TagSelectDropdown; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.TagsInput = TagsInput; exports.TagsManager = TagsManager; exports.Textarea = Textarea; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.AspectRatio = AspectRatio; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.ImageGalleryModal = ImageGalleryModal; exports.Modal = Modal2; exports.ModalContent = ModalContent2; exports.ModalHeader = ModalHeader2; exports.ModalTitle = ModalTitle2; exports.ModalFooter = ModalFooter2; exports.Modal2 = Modal; exports.ModalContent2 = ModalContent; exports.ModalHeader2 = ModalHeader; exports.ModalTitle2 = ModalTitle; exports.ModalFooter2 = ModalFooter; exports.Separator = Separator2; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetPortal = SheetPortal; exports.SheetOverlay = SheetOverlay; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerClose = DrawerClose; exports.DrawerPortal = DrawerPortal; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DrawerBody = DrawerBody; exports.DrawerFooter = DrawerFooter; exports.Tabs = Tabs; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.MenubarMenu = MenubarMenu; exports.MenubarGroup = MenubarGroup; exports.MenubarPortal = MenubarPortal; exports.MenubarSub = MenubarSub; exports.MenubarRadioGroup = MenubarRadioGroup; exports.Menubar = Menubar; exports.MenubarTrigger = MenubarTrigger; exports.MenubarSubTrigger = MenubarSubTrigger; exports.MenubarSubContent = MenubarSubContent; exports.MenubarContent = MenubarContent; exports.MenubarItem = MenubarItem; exports.MenubarCheckboxItem = MenubarCheckboxItem; exports.MenubarRadioItem = MenubarRadioItem; exports.MenubarLabel = MenubarLabel; exports.MenubarSeparator = MenubarSeparator; exports.MenubarShortcut = MenubarShortcut; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuViewport = NavigationMenuViewport; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.TabContent = TabContent; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.Progress = Progress; exports.fetchPriorityProp = fetchPriorityProp; exports.extractYouTubeId = extractYouTubeId; exports.Video = Video; exports.MediaCarousel = MediaCarousel; exports.EMBED_SIZES = EMBED_SIZES; exports.EmbedContainer = EmbedContainer; exports.YouTubeContainer = YouTubeContainer; exports.TwitterContainer = TwitterContainer; exports.RedditContainer = RedditContainer; exports.LinkPreviewContainer = LinkPreviewContainer; exports.LinkedInContainer = LinkedInContainer; exports.RichMarkdownRuntimeProvider = RichMarkdownRuntimeProvider; exports.useRichMarkdownRuntime = useRichMarkdownRuntime; exports.RedditEmbedClient = RedditEmbedClient; exports.TwitterEmbedClient = TwitterEmbedClient; exports.LinkedInEmbedClient = LinkedInEmbedClient; exports.OGLinkErrorBoundary = OGLinkErrorBoundary; exports.OGLinkPreview = OGLinkPreview; exports.toGoogleSheetsEmbedUrl = toGoogleSheetsEmbedUrl; exports.toGoogleSheetsOriginalUrl = toGoogleSheetsOriginalUrl; exports.toFigmaEmbedUrl = toFigmaEmbedUrl; exports.isFigmaSlidesUrl = isFigmaSlidesUrl; exports.toFigmaOriginalUrl = toFigmaOriginalUrl; exports.EmbedIframe = EmbedIframe; exports.FigmaEmbed = FigmaEmbed; exports.MarkdownImage = MarkdownImage; exports.RichMarkdownRenderer = RichMarkdownRenderer; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.statusBadgeVariants = statusBadgeVariants; exports.StatusBadge = StatusBadge; exports.StatusIndicator = StatusIndicator; exports.HoverDropdown = HoverDropdown; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.ExpandChevron = ExpandChevron; exports.useCollapsible = useCollapsible; exports.getCommandText = getCommandText; exports.ArgRow = ArgRow; exports.ResultBlock = ResultBlock; exports.ApprovalBatchMessage = ApprovalBatchMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.ThinkingDisplay = ThinkingDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.ChatTypingIndicator = ChatTypingIndicator; exports.MingoOnboardingCard = MingoOnboardingCard; exports.ONBOARDING_ICONS = ONBOARDING_ICONS; exports.resolveOnboardingIcon = resolveOnboardingIcon; exports.ONBOARDING_ICON_OPTIONS = ONBOARDING_ICON_OPTIONS; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; exports.ToolExecutionDisplay = ToolExecutionDisplay; exports.remarkCardLinks = remarkCardLinks; exports.remarkMentionChips = remarkMentionChips; exports.BlockCard = BlockCard; exports.CONTEXT_ROW_CLASS = CONTEXT_ROW_CLASS; exports.CONTEXT_ICON_CLASS = CONTEXT_ICON_CLASS; exports.CONTEXT_LABEL_CLASS = CONTEXT_LABEL_CLASS; exports.CONTEXT_BACK_CLASS = CONTEXT_BACK_CLASS; exports.CONTEXT_STATE_CLASS = CONTEXT_STATE_CLASS; exports.ContextMenuRow = ContextMenuRow; exports.ContextItemsSkeleton = ContextItemsSkeleton; exports.ContextItemsList = ContextItemsList; exports.ContextErrorBoundary = ContextErrorBoundary; exports.CHAT_CONTEXT_ITEMS_DEFAULT_MAX = CHAT_CONTEXT_ITEMS_DEFAULT_MAX; exports.ChatComposerPlusMenu = ChatComposerPlusMenu; exports.ChatContextPicker = ChatContextPicker; exports.ChatContextChipStrip = ChatContextChipStrip; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.ChatMessageSkeleton = ChatMessageSkeleton; exports.ChatMessageListSkeleton = ChatMessageListSkeleton; exports.MESSAGE_TYPE = MESSAGE_TYPE; exports.SCROLL_ANCHOR = SCROLL_ANCHOR; exports.ChatMessageList = ChatMessageList; exports.getProxiedImageUrl = getProxiedImageUrl; exports.urlPathLooksLikeSvg = urlPathLooksLikeSvg; exports.shouldProxyImage = shouldProxyImage; exports.generateImageSizes = generateImageSizes; exports.useProxiedImageUrl = useProxiedImageUrl; exports.ChatMessageRow = ChatMessageRow; exports.ChatMessageRowSkeleton = ChatMessageRowSkeleton; exports.ChatQuickAction = ChatQuickAction; exports.ChatQuickActionRow = ChatQuickActionRow; exports.ChatQuickActionRowSkeleton = ChatQuickActionRowSkeleton; exports.ChatTicketItem = ChatTicketItem; exports.ChatTicketList = ChatTicketList; exports.MingoOnboardingCardSkeleton = MingoOnboardingCardSkeleton; exports.MingoOnboardingListSkeleton = MingoOnboardingListSkeleton; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.MspOrganizationCard = MspOrganizationCard; exports.MspOrganizationCardSkeleton = MspOrganizationCardSkeleton; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.GuideModeBanner = GuideModeBanner; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.COMPACT_HEADER_BUTTON = COMPACT_HEADER_BUTTON; exports.ChatPanelHeader = ChatPanelHeader; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX = CHAT_ATTACHMENT_VIEW_URL_PREFIX; exports.CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM = CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM; exports.ANTHROPIC_SUPPORTED_IMAGE_MIME = ANTHROPIC_SUPPORTED_IMAGE_MIME; exports.buildChatAttachmentViewUrl = buildChatAttachmentViewUrl; exports.escapeMarkdownInline = escapeMarkdownInline; exports.formatChatAttachmentMarkdownForBubble = formatChatAttachmentMarkdownForBubble; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED; exports.CHAT_ATTACHMENT_MARKDOWN_PATTERN = CHAT_ATTACHMENT_MARKDOWN_PATTERN; exports.stripChatAttachmentMarkdown = stripChatAttachmentMarkdown; exports.CHAT_ATTACHMENT_MIME_TYPES = CHAT_ATTACHMENT_MIME_TYPES; exports.CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER = CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER; exports.ChatAttachmentAddButton = ChatAttachmentAddButton; exports.ChatAttachmentChipStrip = ChatAttachmentChipStrip; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.ModelDisplay = ModelDisplay; exports.ModelDisplaySkeleton = ModelDisplaySkeleton; exports.ChatComposer = ChatComposer; exports.ChatArchivePage = ChatArchivePage; exports.DialogListItem = DialogListItem; exports.ChatSidebar = ChatSidebar; exports.isCrossOriginUrl = isCrossOriginUrl; exports.decideNewTab = decideNewTab; exports.computeIsNewTab = computeIsNewTab; exports.newTabAnchorAttrs = newTabAnchorAttrs; exports.buildAnchorProps = buildAnchorProps; exports.NEW_TAB_FEATURES = NEW_TAB_FEATURES; exports.isModifierClick = isModifierClick; exports.stripSameOriginToPath = stripSameOriginToPath; exports.resolveExternalNavigation = resolveExternalNavigation; exports.executeNavigation = executeNavigation; exports.executeNavigationImperative = executeNavigationImperative; exports.handleChatNavClick = handleChatNavClick; exports.NavLinkAnchorViaRuntime = NavLinkAnchorViaRuntime; exports.SourceActionButton = SourceActionButton; exports.EMPTY_AUTHOR_PLACEHOLDER = EMPTY_AUTHOR_PLACEHOLDER; exports.EntityMetadataValueCell = EntityMetadataValueCell; exports.EntityMetadataAuthorCell = EntityMetadataAuthorCell; exports.EntityAuthorCard = EntityAuthorCard; exports.BlogImagePlaceholder = BlogImagePlaceholder; exports.FlamingoLogo = FlamingoLogo; exports.OpenmspLogo = OpenmspLogo; exports.PlatformBadge = PlatformBadge; exports.AdminContentCard = AdminContentCard; exports.getProxiedImageUrl2 = getProxiedImageUrl2; exports.WhatIShippedCard = WhatIShippedCard; exports.WhatIShippedCardSkeleton = WhatIShippedCardSkeleton; exports.PAGE_HEADING_CLASS = PAGE_HEADING_CLASS; exports.SECTION_HEADING_CLASS = SECTION_HEADING_CLASS; exports.PageHeading = PageHeading; exports.RATIO_GRID_CLASS = RATIO_GRID_CLASS; exports.RATIO_DISPLAY_GRID_CLASS = RATIO_DISPLAY_GRID_CLASS; exports.RatioTabs = RatioTabs; exports.detectAspectRatio = detectAspectRatio; exports.ratioToCategory = ratioToCategory; exports.groupByAspectRatio = groupByAspectRatio; exports.VideoBitesDisplay = VideoBitesDisplay; exports.VideoBiteCard = VideoBiteCard; exports.EntityVideoSection = EntityVideoSection; exports.ChatVideoEntityCard = ChatVideoEntityCard; exports.ProductReleaseCard = ProductReleaseCard; exports.ProductReleaseCardSkeleton = ProductReleaseCardSkeleton; exports.formatReleaseDate = formatReleaseDate; exports.formatDateShort = formatDateShort; exports.formatDateSlashUTC = formatDateSlashUTC; exports.resolveReleaseCover = resolveReleaseCover; exports.releaseTypeToBadgeColor = releaseTypeToBadgeColor; exports.defaultBuildProductReleaseCardProps = defaultBuildProductReleaseCardProps; exports.buildProductReleaseCardProps = buildProductReleaseCardProps; exports.useEntityCardLink = useEntityCardLink; exports.COMPACT_CARD_OUTER = COMPACT_CARD_OUTER; exports.COMPACT_CARD_OUTER_STATIC = COMPACT_CARD_OUTER_STATIC; exports.COMPACT_CARD_SKELETON_OUTER = COMPACT_CARD_SKELETON_OUTER; exports.COMPACT_CARD_IMAGE_SLOT = COMPACT_CARD_IMAGE_SLOT; exports.COMPACT_CARD_SKELETON_IMAGE_SLOT = COMPACT_CARD_SKELETON_IMAGE_SLOT; exports.COMPACT_CARD_ICON_SLOT = COMPACT_CARD_ICON_SLOT; exports.COMPACT_CARD_TEXT_COL = COMPACT_CARD_TEXT_COL; exports.COMPACT_CARD_TITLE_ROW = COMPACT_CARD_TITLE_ROW; exports.COMPACT_CARD_META_ROW_BOX = COMPACT_CARD_META_ROW_BOX; exports.COMPACT_CARD_TITLE = COMPACT_CARD_TITLE; exports.COMPACT_CARD_SUBTITLE = COMPACT_CARD_SUBTITLE; exports.COMPACT_CARD_SUMMARY = COMPACT_CARD_SUMMARY; exports.COMPACT_CARD_META_ROW = COMPACT_CARD_META_ROW; exports.COMPACT_CARD_ROW_FILLER = COMPACT_CARD_ROW_FILLER; exports.safeHref = safeHref; exports.BlogCardSkeleton = BlogCardSkeleton; exports.BlogCard = BlogCard; exports.CaseStudyCardSkeleton = CaseStudyCardSkeleton; exports.CaseStudyCard = CaseStudyCard; exports.CustomerInterviewCardSkeleton = CustomerInterviewCardSkeleton; exports.CustomerInterviewCard = CustomerInterviewCard; exports.formatInvestorUpdatePeriod = formatInvestorUpdatePeriod; exports.InvestorUpdateCardSkeleton = InvestorUpdateCardSkeleton; exports.InvestorUpdateCard = InvestorUpdateCard; exports.OnboardingGuideCardSkeleton = OnboardingGuideCardSkeleton; exports.OnboardingGuideCard = OnboardingGuideCard; exports.RoadmapVoteButton = RoadmapVoteButton; exports.getStatusColorScheme = getStatusColorScheme; exports.CUSTOM_ITEM_ID = CUSTOM_ITEM_ID; exports.getTaskTypeLabel = getTaskTypeLabel; exports.TaskTypeIcon = TaskTypeIcon; exports.RoadmapCardSkeleton = RoadmapCardSkeleton; exports.RoadmapCard = RoadmapCard; exports.GitHubActivityCard = GitHubActivityCard; exports.GitHubActivityCardSkeleton = GitHubActivityCardSkeleton; exports.SlackMessageCard = SlackMessageCard; exports.SlackMessageCardSkeleton = SlackMessageCardSkeleton; exports.HubspotTicketCard = HubspotTicketCard; exports.HubspotTicketCardSkeleton = HubspotTicketCardSkeleton; exports.DataRoomDocCard = DataRoomDocCard; exports.DataRoomDocCardSkeleton = DataRoomDocCardSkeleton; exports.ProgramCardSkeleton = ProgramCardSkeleton; exports.ProgramCard = ProgramCard; exports.CampaignCardAdmin = CampaignCardAdmin; exports.CampaignCardAdminSkeleton = CampaignCardAdminSkeleton; exports.GenericEntityCard = GenericEntityCard; exports.GenericEntityCardSkeleton = GenericEntityCardSkeleton; exports.extractItems = extractItems; exports.extractItemId = extractItemId; exports.useChatCardItem = useChatCardItem; exports.SOURCE_ICON_NAMES = SOURCE_ICON_NAMES; exports.getSourceIconName = getSourceIconName; exports.SOURCE_LABELS_BY_TABLE = SOURCE_LABELS_BY_TABLE; exports.getSourceLabel = getSourceLabel; exports.DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID = DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID; exports.defaultTableIdForDocumentType = defaultTableIdForDocumentType; exports.ICON_REGISTRY = ICON_REGISTRY; exports.normalizeIconKey = normalizeIconKey; exports.getIconComponent = getIconComponent; exports.getDynamicIcon = getDynamicIcon; exports.resolveSourceRowCTA = resolveSourceRowCTA; exports.resolveSourceIcon = resolveSourceIcon; exports.ChatCardLoader = ChatCardLoader; exports.renderChatInlineEntityCard = renderChatInlineEntityCard; exports.CHAT_TYPE = CHAT_TYPE; exports.OWNER_TYPE = OWNER_TYPE; exports.MESSAGE_ROLE = MESSAGE_ROLE; exports.ASSISTANT_TYPE = ASSISTANT_TYPE; exports.AUTHOR_TYPE = AUTHOR_TYPE; exports.APPROVAL_STATUS = APPROVAL_STATUS; exports.CONNECTION_STATUS = CONNECTION_STATUS; exports.buildChatRefKey = buildChatRefKey; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent2; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.transformEventToProgram = transformEventToProgram; exports.transformPodcastToProgram = transformPodcastToProgram; exports.transformWebinarToProgram = transformWebinarToProgram; exports.useChunkCatchup = useChunkCatchup; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; exports.useNatsDialogSubscription = useNatsDialogSubscription; exports.buildNatsWsUrl = buildNatsWsUrl; exports.parseChunkToAction = parseChunkToAction; exports.isControlChunk = isControlChunk; exports.isErrorChunk = isErrorChunk; exports.isMetadataChunk = isMetadataChunk; exports.extractTextFromChunk = extractTextFromChunk; exports.MessageSegmentAccumulator = MessageSegmentAccumulator; exports.createMessageSegmentAccumulator = createMessageSegmentAccumulator; exports.useRealtimeChunkProcessor = useRealtimeChunkProcessor; exports.fetchSlashCommands = fetchSlashCommands; exports.useSlashCommands = useSlashCommands; exports.useSlashCommandRegistry = useSlashCommandRegistry; exports.fetchEmptyStateConfig = fetchEmptyStateConfig; exports.useEmptyStateConfig = useEmptyStateConfig; exports.useChatAttachments = useChatAttachments; exports.useChatAttachmentImageGallery = useChatAttachmentImageGallery; exports.ChatIdentityProvider = ChatIdentityProvider; exports.useChatIdentity = useChatIdentity; exports.useCloseOnNavigation = useCloseOnNavigation; exports.useSSE = useSSE; exports.useChat = useChat; exports.SCROLL_ANCHOR_WIRE_KEY = SCROLL_ANCHOR_WIRE_KEY; exports.parseScrollAnchor = parseScrollAnchor; exports.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.flattenAssistantContent = flattenAssistantContent; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.useSseChatAdapter = useSseChatAdapter; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.useNatsChatAdapter = useNatsChatAdapter; exports.useUnifiedChat = useUnifiedChat; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.SYNTHETIC_REALTIME_ID_PREFIXES = SYNTHETIC_REALTIME_ID_PREFIXES; exports.flattenMessagePagesChronological = flattenMessagePagesChronological; exports.maxPersistedStreamSeq = maxPersistedStreamSeq; exports.mergeHistoryWithRealtime = mergeHistoryWithRealtime; exports.computeHistoryPrepend = computeHistoryPrepend; exports.CHIP_ACTION_BUTTON_CLASS = CHIP_ACTION_BUTTON_CLASS; exports.chatChipClass = chatChipClass; exports.clickupTaskUrl = clickupTaskUrl; exports.EmbeddableChat = EmbeddableChat; exports.FilterCheckboxItem = FilterCheckboxItem; exports.TagKeyValueFilter = TagKeyValueFilter; exports.FilterModal = FilterModal; exports.PageActions = PageActions; exports.usePageActionsBottomPadding = usePageActionsBottomPadding; exports.PageContainer = PageContainer; exports.ListPageContainer = ListPageContainer; exports.DetailPageContainer = DetailPageContainer; exports.FormPageContainer = FormPageContainer; exports.ContentPageContainer = ContentPageContainer; exports.ListPageLayout = ListPageLayout; exports.EntityImage = EntityImage; exports.TITLE_BLOCK_MIN_HEIGHT = TITLE_BLOCK_MIN_HEIGHT; exports.TitleBlock = TitleBlock; exports.PageLayout = PageLayout; exports.PageShell = PageShell; exports.ArticleDetailLayout = ArticleDetailLayout; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.ToggleGroup = ToggleGroup; exports.ToggleGroupItem = ToggleGroupItem; exports.delay = delay; exports.generateRandomString = generateRandomString; exports.truncateString = truncateString; exports.serializeJsonLd = serializeJsonLd; exports.deepClone = deepClone; exports.getSlackCommunityJoinUrl = getSlackCommunityJoinUrl; exports.SEO_TITLE_MAX_LENGTH = SEO_TITLE_MAX_LENGTH; exports.OS_PLATFORMS = OS_PLATFORMS; exports.DEFAULT_OS_PLATFORM = DEFAULT_OS_PLATFORM; exports.isValidEmailDomain = isValidEmailDomain; exports.validateEmailDomain = validateEmailDomain; exports.validateEmailDomainList = validateEmailDomainList; exports.cleanEmailDomain = cleanEmailDomain; exports.getConfidenceColorClass = getConfidenceColorClass; exports.getConfidenceLevel = getConfidenceLevel; exports.getConfidenceBorderClass = getConfidenceBorderClass; exports.getConfidenceTextClass = getConfidenceTextClass; exports.getConfidenceBgClass = getConfidenceBgClass; exports.getConfidenceLabel = getConfidenceLabel; exports.DEV_SECTION_PARAM_KEYS = DEV_SECTION_PARAM_KEYS; exports.devSectionAnchorId = devSectionAnchorId; exports.normalizeToolType = normalizeToolType; exports.normalizeToolTypeWithFallback = normalizeToolTypeWithFallback; exports.toToolLabel = toToolLabel; exports.isValidToolType = isValidToolType; exports.getToolTypeAliases = getToolTypeAliases; exports.getToolLabel = getToolLabel; exports.ShellTypeValues = ShellTypeValues; exports.SHELL_TYPES = SHELL_TYPES; exports.shellLabels = shellLabels; exports.getShellLabel = getShellLabel; exports.getShellIcon = getShellIcon; exports.OSTypeValues = OSTypeValues; exports.OS_TYPES = OS_TYPES; exports.osLabels = osLabels; exports.normalizeOSType = normalizeOSType; exports.getOSLabel = getOSLabel; exports.getOSIcon = getOSIcon; exports.getOSTypeDefinition = getOSTypeDefinition; exports.getOSPlatformId = getOSPlatformId; exports.isOSPlatform = isOSPlatform; exports.getCountryPhoneData = getCountryPhoneData; exports.getCountryByCode = getCountryByCode; exports.validatePhoneNumber = validatePhoneNumber; exports.formatPhoneE164 = formatPhoneE164; exports.GENERIC_EMAIL_DOMAINS = GENERIC_EMAIL_DOMAINS; exports.extractDomainFromEmail = extractDomainFromEmail; exports.normalizeDomain = normalizeDomain; exports.isGenericDomain = isGenericDomain; exports.hasGenericEmailDomain = hasGenericEmailDomain; exports.isGenericWebsiteDomain = isGenericWebsiteDomain; exports.DESIGN_PALETTE = DESIGN_PALETTE; exports.getContrastRatio = getContrastRatio; exports.extractDominantColor = extractDominantColor; exports.getBestContrastColor = getBestContrastColor; exports.analyzeImageColor = analyzeImageColor; exports.extractImageEdgeColorAsync = extractImageEdgeColorAsync; exports.formatTicketRelativeTime = formatTicketRelativeTime; exports.formatTicketFullTimestamp = formatTicketFullTimestamp; exports.formatRelativeTime = formatRelativeTime; exports.formatAbsoluteDate = formatAbsoluteDate; exports.formatDateTime = formatDateTime; exports.getDetailedTimeDifference = getDetailedTimeDifference; exports.isToday = isToday; exports.isWithinMinutes = isWithinMinutes; exports.createUTCTimestamp = createUTCTimestamp; exports.readLeadingDecisionFrame = readLeadingDecisionFrame; exports.AVAILABLE_SVG_ICONS = AVAILABLE_SVG_ICONS; exports.releaseTypeOptions = releaseTypeOptions; exports.releaseStatusOptions = releaseStatusOptions; exports.changelogLabels = changelogLabels; exports.SEMVER_REGEX = SEMVER_REGEX; exports.TASK_TYPE_LABELS = TASK_TYPE_LABELS; exports.TASK_TYPE_TEXT_COLORS = TASK_TYPE_TEXT_COLORS; exports.TMCG_ROLES = TMCG_ROLES; exports.TMCG_ROLE_DISPLAY_NAMES = TMCG_ROLE_DISPLAY_NAMES; exports.TMCG_SOCIAL_PLATFORMS = TMCG_SOCIAL_PLATFORMS; exports.ROADMAP_STATUS_OPTIONS = ROADMAP_STATUS_OPTIONS; exports.DELIVERY_TASK_TYPE_OPTIONS = DELIVERY_TASK_TYPE_OPTIONS; exports.TICKET_STATUS_OPTIONS = TICKET_STATUS_OPTIONS; exports.OPENFRAME_DEV_SECTIONS = OPENFRAME_DEV_SECTIONS; exports.canonicalContentRefType = canonicalContentRefType; exports.buildListUrl = buildListUrl; exports.faqSectionSlug = faqSectionSlug; exports.faqItemAnchor = faqItemAnchor; exports.parseFaqHash = parseFaqHash; exports.CONTENT_REF_GROUPS = CONTENT_REF_GROUPS; exports.getContentRefLabel = getContentRefLabel; exports.getContentRefLabelOrTitleCase = getContentRefLabelOrTitleCase; exports.orderContentRefTypes = orderContentRefTypes; exports.buildSuggestionUrl = buildSuggestionUrl; exports.DEFAULT_CONTENT_SUFFIXES = DEFAULT_CONTENT_SUFFIXES; exports.makeComposeContentUrl = makeComposeContentUrl; exports.buildDefaultHref = buildDefaultHref; exports.resolveContentHref = resolveContentHref; exports.DEFAULT_FOLDER_INDEX_FILE = DEFAULT_FOLDER_INDEX_FILE; exports.stripFolderIndexFromPath = stripFolderIndexFromPath; exports.findDocNodeByPath = findDocNodeByPath; exports.getDocAncestorNodeIds = getDocAncestorNodeIds; exports.resolveContentFetchPath = resolveContentFetchPath; exports.getInitialExpandedNodeIds = getInitialExpandedNodeIds; exports.getDocSourceDefaultPath = getDocSourceDefaultPath; exports.toDocSlug = toDocSlug; exports.pathToNodeId = pathToNodeId; exports.normalizeDocPath = normalizeDocPath; exports.formatDocName = formatDocName; exports.sortTreeChildren = sortTreeChildren; exports.buildDocumentTree = buildDocumentTree; exports.stripInlineMarkdown = stripInlineMarkdown; exports.markdownToPlainText = markdownToPlainText; exports.extractSections = extractSections; exports.SECTION_HERO_ICON_CLASS = SECTION_HERO_ICON_CLASS; exports.BenefitCard = BenefitCard; exports.BenefitCardGrid = BenefitCardGrid; exports.BrandAssociationCard = BrandAssociationCard; exports.BrandAssociationGrid = BrandAssociationGrid; exports.BulletList = BulletList; exports.ChevronButton = ChevronButton; exports.CircularProgress = CircularProgress; exports.CheckIcon = CheckIcon2; exports.XIcon = XIcon2; exports.MinusIcon = MinusIcon; exports.CheckCircleIcon = CheckCircleIcon2; exports.XCircleIcon = XCircleIcon; exports.FloatingTooltip = FloatingTooltip; exports.DashboardInfoCard = DashboardInfoCard; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.FeatureCardGrid = FeatureCardGrid; exports.FeatureList = FeatureList; exports.TruncateText = TruncateText; exports.HighlightCard = HighlightCard; exports.HighlightCardGrid = HighlightCardGrid; exports.IconsBlock = IconsBlock; exports.DropdownButton = DropdownButton; exports.MoreActionsMenu = MoreActionsMenu; exports.OrganizationCard = OrganizationCard; exports.ServiceCard = ServiceCard; exports.Slider = Slider; exports.TabSelector = TabSelector; exports.TitleContentBlock = TitleContentBlock; exports.ErrorState = ErrorState; exports.PageError = PageError; exports.LoadError = LoadError; exports.NotFoundError = NotFoundError; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.Pagination = Pagination; exports.PaginationContent = PaginationContent; exports.PaginationItem = PaginationItem; exports.PaginationLink = PaginationLink; exports.PaginationEllipsis = PaginationEllipsis; exports.PaginationPrevious = PaginationPrevious; exports.PaginationNext = PaginationNext; exports.init_pagination = init_pagination; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.TableEmptyState = TableEmptyState; exports.DynamicThemeProvider = DynamicThemeProvider; exports.useDynamicTheme = useDynamicTheme; exports.THEME_STORAGE_KEY = THEME_STORAGE_KEY; exports.THEME_ATTRIBUTE = THEME_ATTRIBUTE; exports.DEFAULT_THEME = DEFAULT_THEME; exports.ThemeProvider = ThemeProvider; exports.useTheme = useTheme; exports.useThemeToggle = useThemeToggle; exports.ArrayEntryManager = ArrayEntryManager; exports.ProviderButton = ProviderButton; exports.AuthProvidersList = AuthProvidersList; exports.ChangelogManager = ChangelogManager; exports.ChangelogSectionsManager = ChangelogSectionsManager; exports.ClickUpTasksManager = ClickUpTasksManager; exports.CommandBox = CommandBox; exports.TAG_BADGE_CLASS = TAG_BADGE_CLASS; exports.EntityTagBadges = EntityTagBadges; exports.ErrorBoundary = ErrorBoundary; exports.SectionSelector = SectionSelector; exports.FigmaPrototypeViewer = FigmaPrototypeViewer; exports.FiltersDropdown = FiltersDropdown; exports.useFiltersDropdown = useFiltersDropdown; exports.GitHubReleasesManager = GitHubReleasesManager; exports.KnowledgeBaseLinksManager = KnowledgeBaseLinksManager; exports.LoadingProvider = LoadingProvider; exports.useLoading = useLoading; exports.MediaGalleryManager = MediaGalleryManager; exports.MoreAboutButton = MoreAboutButton; exports.OSTypeBadgeGroup = OSTypeBadgeGroup; exports.ParallaxImageShowcase = ParallaxImageShowcase; exports.PathsDisplay = PathsDisplay; exports.OPENFRAME_PATHS = OPENFRAME_PATHS; exports.getOpenFramePaths = getOpenFramePaths; exports.OPENFRAME_DOCTOR_COMMANDS = OPENFRAME_DOCTOR_COMMANDS; exports.getOpenFrameDoctorCommand = getOpenFrameDoctorCommand; exports.PlatformFilterComponent = PlatformFilterComponent; exports.PushButtonSelector = PushButtonSelector; exports.ReleaseMediaManager = ReleaseMediaManager; exports.SelectButton = SelectButton; exports.SEOEditorPreview = SEOEditorPreview; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.StatusFilterComponent = StatusFilterComponent; exports.TagsSelector = TagsSelector; exports.WarningBlock = WarningBlock; exports.MUX_STREAM_ORIGIN = MUX_STREAM_ORIGIN; exports.MUX_IMAGE_ORIGIN = MUX_IMAGE_ORIGIN; exports.useVideoOriginPreconnect = useVideoOriginPreconnect; exports.useVideoWarmup = useVideoWarmup; exports.getCaptionsUrl = getCaptionsUrl; exports.VideoSourceSelector = VideoSourceSelector; exports.ConfidenceBadge = ConfidenceBadge; exports.TranscriptSummaryEditor = TranscriptSummaryEditor; exports.AIEnrichButton = AIEnrichButton; exports.AIWarningsSection = AIWarningsSection; exports.AIEnrichSection = AIEnrichSection; exports.HighlightVideoSection = HighlightVideoSection; exports.HighlightConfigSection = HighlightConfigSection; exports.EntitySummaryEditor = EntitySummaryEditor; exports.AIStatusIndicator = AIStatusIndicator; exports.AIRequiredBadge = AIRequiredBadge; exports.TranscribeSummarizeSection = TranscribeSummarizeSection; exports.VideoClipsSection = VideoClipsSection; exports.HighlightGenerationSection = HighlightGenerationSection; exports.HighlightVideoPreview = HighlightVideoPreview; exports.TranscribeAndSummarizeCombinedSection = TranscribeAndSummarizeCombinedSection; exports.HighlightVideoCombinedSection = HighlightVideoCombinedSection; exports.ViewToggle = ViewToggle; exports.PolicyConfigurationPanel = PolicyConfigurationPanel; exports.PhoneInput = PhoneInput; exports.WaitlistForm = WaitlistForm; exports.NotificationsProvider = NotificationsProvider; exports.useNotifications = useNotifications; exports.useOptionalNotifications = useOptionalNotifications; exports.NotificationTile = NotificationTile; exports.NotificationDrawer = NotificationDrawer; exports.NotificationPopups = NotificationPopups; exports.ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE; exports.isApprovalNotification = isApprovalNotification; exports.getApprovalMeta = getApprovalMeta; exports.resolutionToStatus = resolutionToStatus; exports.approvalMetaToBatchData = approvalMetaToBatchData; exports.ApprovalRequestNotificationTile = ApprovalRequestNotificationTile; exports.TimeTrackerProvider = TimeTrackerProvider; exports.useTimeTracker = useTimeTracker; exports.useOptionalTimeTracker = useOptionalTimeTracker; exports.useTrackerClock = useTrackerClock; exports.TimeTrackerPanel = TimeTrackerPanel; exports.HeaderButton = HeaderButton; exports.TimeTrackerHeaderButton = TimeTrackerHeaderButton; exports.BoardColumnHeader = BoardColumnHeader; exports.tintOnDark = tintOnDark; exports.BoardTicketApproval = BoardTicketApproval; exports.TicketCard = TicketCard; exports.TicketCardSkeleton = TicketCardSkeleton; exports.BoardColumn = BoardColumn; exports.useBoardCollapse = useBoardCollapse; exports.Board = Board; exports.columnFromTicketStatus = columnFromTicketStatus; exports.groupTicketsByStatus = groupTicketsByStatus; exports.TicketStatusConfigList = TicketStatusConfigList; exports.TableHeader = TableHeader; exports.TableCell = TableCell; exports.TableCardSkeleton = TableCardSkeleton; exports.TableRow = TableRow; exports.Table = Table; exports.TableDescriptionCell = TableDescriptionCell; exports.TableTimestampCell = TableTimestampCell; exports.QueryReportTableHeader = QueryReportTableHeader; exports.QueryReportTableRow = QueryReportTableRow; exports.QueryReportTableSkeleton = QueryReportTableSkeleton; exports.deriveColumns = deriveColumns; exports.exportToCSV = exportToCSV; exports.QueryReportTable = QueryReportTable; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses2; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.DataTableHeader = DataTableHeader; exports.DataTableEmpty = DataTableEmpty; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP2; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE2; exports.DataTableSkeleton = DataTableSkeleton; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DataTableRowCount = DataTableRowCount; exports.useDataTable = useDataTable; exports.DataTable = DataTable; exports.flexRender = _reacttable.flexRender; exports.createColumnHelper = _reacttable.createColumnHelper; exports.getCoreRowModel = _reacttable.getCoreRowModel; exports.getExpandedRowModel = _reacttable.getExpandedRowModel; exports.getFacetedRowModel = _reacttable.getFacetedRowModel; exports.getFacetedUniqueValues = _reacttable.getFacetedUniqueValues; exports.getFilteredRowModel = _reacttable.getFilteredRowModel; exports.getGroupedRowModel = _reacttable.getGroupedRowModel; exports.getPaginationRowModel = _reacttable.getPaginationRowModel; exports.getSortedRowModel = _reacttable.getSortedRowModel; exports.SearchInput = SearchInput; exports.FilterListItem = FilterListItem; exports.FilterList = FilterList; exports.TagSearchInput = TagSearchInput; exports.MarkdownEditor = MarkdownEditor; exports.FileUpload = FileUpload; exports.ImageUploader = ImageUploader; exports.TICKET_STATUS_COLOR_PRESETS = TICKET_STATUS_COLOR_PRESETS; exports.CUSTOM_PRESET_KEY = CUSTOM_PRESET_KEY; exports.DEFAULT_CUSTOM_STATUS_COLOR = DEFAULT_CUSTOM_STATUS_COLOR; exports.ColorPresetSelect = ColorPresetSelect; exports.ColorPickerInput = ColorPickerInput; exports.TicketStatusConfigRow = TicketStatusConfigRow; exports.TicketDetailSection = TicketDetailSection; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.FilterPillRow = FilterPillRow; exports.Header = Header2; exports.HeaderSkeleton = HeaderSkeleton; exports.ClientOnlyHeader = ClientOnlyHeader; exports.MobileNavPanel = MobileNavPanel; exports.SlidingSidebar = SlidingSidebar; exports.StickySectionNav = StickySectionNav; exports.useSectionNavigation = useSectionNavigation; exports.NavigationSidebar = NavigationSidebar; exports.HeaderGlobalSearch = HeaderGlobalSearch; exports.HeaderMingoButton = HeaderMingoButton; exports.HeaderOrganizationFilter = HeaderOrganizationFilter; exports.AppHeader = AppHeader; exports.MobileBurgerMenu = MobileBurgerMenu; exports.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; exports.AppLayout = AppLayout; exports.AppLayoutDrawerRoot = AppLayoutDrawerRoot; exports.AppLayoutDrawerTrigger = AppLayoutDrawerTrigger; exports.AppLayoutDrawerClose = AppLayoutDrawerClose; exports.AppLayoutDrawerContent = AppLayoutDrawerContent; exports.AppLayoutDrawerHeader = AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = AppLayoutDrawerTitle; exports.AppLayoutDrawerDescription = AppLayoutDrawerDescription; exports.AppLayoutDrawerBody = AppLayoutDrawerBody; exports.AppLayoutDrawerFooter = AppLayoutDrawerFooter; exports.MultiLevelNavigation = MultiLevelNavigation; exports.MobileNavigationDropdown = MobileNavigationDropdown; exports.SoftwareInfo = SoftwareInfo; exports.SoftwareSourceBadge = SoftwareSourceBadge; exports.CveLink = CveLink; exports.ToolBadge = ToolBadge; exports.ShellTypeBadge = ShellTypeBadge; exports.ScriptInfoSection = ScriptInfoSection; exports.ScriptArguments = ScriptArguments; exports.OnboardingStepCard = OnboardingStepCard; exports.OnboardingWalkthrough = OnboardingWalkthrough; exports.LOG_SEVERITY_COLORS = LOG_SEVERITY_COLORS; exports.LOG_SEVERITY_LABELS = LOG_SEVERITY_LABELS; exports.LogSeverityDot = LogSeverityDot; exports.LogsList = LogsList; exports.assets = assets;
|
|
49993
|
-
//# sourceMappingURL=chunk-SD36MNVP.cjs.map
|
|
49798
|
+
exports.Label = Label; exports.AllowedDomainsInput = AllowedDomainsInput; exports.HiddenTagsPopup = HiddenTagsPopup; exports.tagVariants = tagVariants; exports.Tag = Tag; exports.Autocomplete = Autocomplete; exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.CardHorizontal = CardHorizontal; exports.CheckboxBlock = CheckboxBlock; exports.CheckboxWithDescription = CheckboxWithDescription; 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.DatePicker = DatePicker; exports.DatePickerInput = DatePickerInput; exports.DatePickerInputSimple = DatePickerInputSimple; exports.DateFilterMenu = DateFilterMenu; exports.DurationInput = DurationInput; exports.HoneypotField = HoneypotField; exports.ProgressBar = ProgressBar; exports.InfoCard = InfoCard; exports.InfoRow = InfoRow; exports.formatDate = formatDate; exports.formatNumber = formatNumber; exports.formatPrice = formatPrice; exports.formatBytes = formatBytes; exports.formatBytesShort = formatBytesShort; exports.formatFileSize = formatFileSize; exports.formatLargeNumber = formatLargeNumber; exports.formatAbbreviatedNumber = formatAbbreviatedNumber; exports.getFirstLastInitials = getFirstLastInitials; exports.nameInitials = nameInitials; exports.formatDurationMMSS = formatDurationMMSS; exports.formatDurationCompact = formatDurationCompact; exports.formatTimeWithTimezone = formatTimeWithTimezone; exports.formatDurationFromRange = formatDurationFromRange; exports.formatDateUTC = formatDateUTC; exports.formatEntryMonthUTC = formatEntryMonthUTC; exports.formatLegalDate = formatLegalDate; exports.formatCurrency = formatCurrency; exports.formatPercent = formatPercent; exports.formatWholeDollars = formatWholeDollars; exports.formatCompactMetric = formatCompactMetric; exports.getTrendColors = getTrendColors; exports.formatDateRange = formatDateRange; exports.formatDateTimeAt = formatDateTimeAt; exports.formatDurationFromMs = formatDurationFromMs; exports.formatDuration = formatDuration; exports.formatUnderscoreText = formatUnderscoreText; exports.stripHtml = stripHtml; exports.formatClassification = formatClassification; exports.formatPricingModel = formatPricingModel; exports.formatBioText = formatBioText; exports.SquareAvatar = SquareAvatar; exports.AssigneeDropdown = AssigneeDropdown; exports.ActionsMenu = ActionsMenu; exports.ActionsMenuDropdown = ActionsMenuDropdown; exports.ColorSwatch = ColorSwatch; exports.getPlatformAccentColor = getPlatformAccentColor; exports.getCurrentPlatform = getCurrentPlatform; exports.getReadableTextColor = getReadableTextColor; exports.HEX_PATTERN = HEX_PATTERN; exports.hexToRgb = hexToRgb; exports.rgbToHex = rgbToHex; exports.deriveHoverColor = deriveHoverColor; exports.deriveActiveColor = deriveActiveColor; exports.resolveTicketStatus = resolveTicketStatus; exports.getTicketStatusConfig = getTicketStatusConfig; exports.getTicketStatusTag = getTicketStatusTag; exports.kindToCanonicalStatus = kindToCanonicalStatus; exports.usesCanonicalStatusStyle = usesCanonicalStatusStyle; exports.resolveStatusTagProps = resolveStatusTagProps; exports.TicketStatusTag = TicketStatusTag; exports.InfoSection = InfoSection; exports.InputTrigger = InputTrigger; exports.InteractiveCard = InteractiveCard; exports.MediaTypeSelector = MediaTypeSelector; exports.noDataIconClasses = noDataIconClasses; exports.noDataActionsVariants = noDataActionsVariants; exports.NoDataMessage = NoDataMessage; exports.NoDataAction = NoDataAction; exports.NoDataActions = NoDataActions; exports.NoData = NoData; exports.PageLoader = PageLoader; exports.CompactPageLoader = CompactPageLoader; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.RadioGroupBlock = RadioGroupBlock; exports.Switch = Switch; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.TagsInput = TagsInput; exports.TagsManager = TagsManager; exports.Textarea = Textarea; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.AspectRatio = AspectRatio; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.ImageGalleryModal = ImageGalleryModal; exports.Modal = Modal2; exports.ModalContent = ModalContent2; exports.ModalHeader = ModalHeader2; exports.ModalTitle = ModalTitle2; exports.ModalFooter = ModalFooter2; exports.Modal2 = Modal; exports.ModalContent2 = ModalContent; exports.ModalHeader2 = ModalHeader; exports.ModalTitle2 = ModalTitle; exports.ModalFooter2 = ModalFooter; exports.Separator = Separator2; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetPortal = SheetPortal; exports.SheetOverlay = SheetOverlay; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerClose = DrawerClose; exports.DrawerPortal = DrawerPortal; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DrawerBody = DrawerBody; exports.DrawerFooter = DrawerFooter; exports.Tabs = Tabs; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.MenubarMenu = MenubarMenu; exports.MenubarGroup = MenubarGroup; exports.MenubarPortal = MenubarPortal; exports.MenubarSub = MenubarSub; exports.MenubarRadioGroup = MenubarRadioGroup; exports.Menubar = Menubar; exports.MenubarTrigger = MenubarTrigger; exports.MenubarSubTrigger = MenubarSubTrigger; exports.MenubarSubContent = MenubarSubContent; exports.MenubarContent = MenubarContent; exports.MenubarItem = MenubarItem; exports.MenubarCheckboxItem = MenubarCheckboxItem; exports.MenubarRadioItem = MenubarRadioItem; exports.MenubarLabel = MenubarLabel; exports.MenubarSeparator = MenubarSeparator; exports.MenubarShortcut = MenubarShortcut; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuViewport = NavigationMenuViewport; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.TabContent = TabContent; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.Progress = Progress; exports.fetchPriorityProp = fetchPriorityProp; exports.extractYouTubeId = extractYouTubeId; exports.Video = Video; exports.MediaCarousel = MediaCarousel; exports.EMBED_SIZES = EMBED_SIZES; exports.EmbedContainer = EmbedContainer; exports.YouTubeContainer = YouTubeContainer; exports.TwitterContainer = TwitterContainer; exports.RedditContainer = RedditContainer; exports.LinkPreviewContainer = LinkPreviewContainer; exports.LinkedInContainer = LinkedInContainer; exports.RichMarkdownRuntimeProvider = RichMarkdownRuntimeProvider; exports.useRichMarkdownRuntime = useRichMarkdownRuntime; exports.RedditEmbedClient = RedditEmbedClient; exports.TwitterEmbedClient = TwitterEmbedClient; exports.LinkedInEmbedClient = LinkedInEmbedClient; exports.OGLinkErrorBoundary = OGLinkErrorBoundary; exports.OGLinkPreview = OGLinkPreview; exports.toGoogleSheetsEmbedUrl = toGoogleSheetsEmbedUrl; exports.toGoogleSheetsOriginalUrl = toGoogleSheetsOriginalUrl; exports.toFigmaEmbedUrl = toFigmaEmbedUrl; exports.isFigmaSlidesUrl = isFigmaSlidesUrl; exports.toFigmaOriginalUrl = toFigmaOriginalUrl; exports.EmbedIframe = EmbedIframe; exports.FigmaEmbed = FigmaEmbed; exports.MarkdownImage = MarkdownImage; exports.RichMarkdownRenderer = RichMarkdownRenderer; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.statusBadgeVariants = statusBadgeVariants; exports.StatusBadge = StatusBadge; exports.StatusIndicator = StatusIndicator; exports.HoverDropdown = HoverDropdown; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.ExpandChevron = ExpandChevron; exports.useCollapsible = useCollapsible; exports.getCommandText = getCommandText; exports.ArgRow = ArgRow; exports.ResultBlock = ResultBlock; exports.ApprovalBatchMessage = ApprovalBatchMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.ThinkingDisplay = ThinkingDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.ChatTypingIndicator = ChatTypingIndicator; exports.MingoOnboardingCard = MingoOnboardingCard; exports.ONBOARDING_ICONS = ONBOARDING_ICONS; exports.resolveOnboardingIcon = resolveOnboardingIcon; exports.ONBOARDING_ICON_OPTIONS = ONBOARDING_ICON_OPTIONS; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; exports.ToolExecutionDisplay = ToolExecutionDisplay; exports.remarkCardLinks = remarkCardLinks; exports.remarkMentionChips = remarkMentionChips; exports.BlockCard = BlockCard; exports.CONTEXT_ROW_CLASS = CONTEXT_ROW_CLASS; exports.CONTEXT_ICON_CLASS = CONTEXT_ICON_CLASS; exports.CONTEXT_LABEL_CLASS = CONTEXT_LABEL_CLASS; exports.CONTEXT_BACK_CLASS = CONTEXT_BACK_CLASS; exports.CONTEXT_STATE_CLASS = CONTEXT_STATE_CLASS; exports.ContextMenuRow = ContextMenuRow; exports.ContextItemsSkeleton = ContextItemsSkeleton; exports.ContextItemsList = ContextItemsList; exports.ContextErrorBoundary = ContextErrorBoundary; exports.CHAT_CONTEXT_ITEMS_DEFAULT_MAX = CHAT_CONTEXT_ITEMS_DEFAULT_MAX; exports.ChatComposerPlusMenu = ChatComposerPlusMenu; exports.ChatContextPicker = ChatContextPicker; exports.ChatContextChipStrip = ChatContextChipStrip; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.ChatMessageSkeleton = ChatMessageSkeleton; exports.ChatMessageListSkeleton = ChatMessageListSkeleton; exports.MESSAGE_TYPE = MESSAGE_TYPE; exports.SCROLL_ANCHOR = SCROLL_ANCHOR; exports.ChatMessageList = ChatMessageList; exports.getProxiedImageUrl = getProxiedImageUrl; exports.urlPathLooksLikeSvg = urlPathLooksLikeSvg; exports.shouldProxyImage = shouldProxyImage; exports.generateImageSizes = generateImageSizes; exports.useProxiedImageUrl = useProxiedImageUrl; exports.ChatMessageRow = ChatMessageRow; exports.ChatMessageRowSkeleton = ChatMessageRowSkeleton; exports.ChatQuickAction = ChatQuickAction; exports.ChatQuickActionRow = ChatQuickActionRow; exports.ChatQuickActionRowSkeleton = ChatQuickActionRowSkeleton; exports.ChatTicketItem = ChatTicketItem; exports.ChatTicketList = ChatTicketList; exports.MingoOnboardingCardSkeleton = MingoOnboardingCardSkeleton; exports.MingoOnboardingListSkeleton = MingoOnboardingListSkeleton; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.MspOrganizationCard = MspOrganizationCard; exports.MspOrganizationCardSkeleton = MspOrganizationCardSkeleton; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.GuideModeBanner = GuideModeBanner; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.COMPACT_HEADER_BUTTON = COMPACT_HEADER_BUTTON; exports.ChatPanelHeader = ChatPanelHeader; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX = CHAT_ATTACHMENT_VIEW_URL_PREFIX; exports.CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM = CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM; exports.ANTHROPIC_SUPPORTED_IMAGE_MIME = ANTHROPIC_SUPPORTED_IMAGE_MIME; exports.buildChatAttachmentViewUrl = buildChatAttachmentViewUrl; exports.escapeMarkdownInline = escapeMarkdownInline; exports.formatChatAttachmentMarkdownForBubble = formatChatAttachmentMarkdownForBubble; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED; exports.CHAT_ATTACHMENT_MARKDOWN_PATTERN = CHAT_ATTACHMENT_MARKDOWN_PATTERN; exports.stripChatAttachmentMarkdown = stripChatAttachmentMarkdown; exports.CHAT_ATTACHMENT_MIME_TYPES = CHAT_ATTACHMENT_MIME_TYPES; exports.CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER = CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER; exports.ChatAttachmentAddButton = ChatAttachmentAddButton; exports.ChatAttachmentChipStrip = ChatAttachmentChipStrip; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.ModelDisplay = ModelDisplay; exports.ModelDisplaySkeleton = ModelDisplaySkeleton; exports.ChatComposer = ChatComposer; exports.ChatArchivePage = ChatArchivePage; exports.DialogListItem = DialogListItem; exports.ChatSidebar = ChatSidebar; exports.isCrossOriginUrl = isCrossOriginUrl; exports.decideNewTab = decideNewTab; exports.computeIsNewTab = computeIsNewTab; exports.newTabAnchorAttrs = newTabAnchorAttrs; exports.buildAnchorProps = buildAnchorProps; exports.NEW_TAB_FEATURES = NEW_TAB_FEATURES; exports.isModifierClick = isModifierClick; exports.stripSameOriginToPath = stripSameOriginToPath; exports.resolveExternalNavigation = resolveExternalNavigation; exports.executeNavigation = executeNavigation; exports.executeNavigationImperative = executeNavigationImperative; exports.handleChatNavClick = handleChatNavClick; exports.NavLinkAnchorViaRuntime = NavLinkAnchorViaRuntime; exports.SourceActionButton = SourceActionButton; exports.EMPTY_AUTHOR_PLACEHOLDER = EMPTY_AUTHOR_PLACEHOLDER; exports.EntityMetadataValueCell = EntityMetadataValueCell; exports.EntityMetadataAuthorCell = EntityMetadataAuthorCell; exports.EntityAuthorCard = EntityAuthorCard; exports.BlogImagePlaceholder = BlogImagePlaceholder; exports.FlamingoLogo = FlamingoLogo; exports.OpenmspLogo = OpenmspLogo; exports.PlatformBadge = PlatformBadge; exports.AdminContentCard = AdminContentCard; exports.getProxiedImageUrl2 = getProxiedImageUrl2; exports.WhatIShippedCard = WhatIShippedCard; exports.WhatIShippedCardSkeleton = WhatIShippedCardSkeleton; exports.PAGE_HEADING_CLASS = PAGE_HEADING_CLASS; exports.SECTION_HEADING_CLASS = SECTION_HEADING_CLASS; exports.PageHeading = PageHeading; exports.RATIO_GRID_CLASS = RATIO_GRID_CLASS; exports.RATIO_DISPLAY_GRID_CLASS = RATIO_DISPLAY_GRID_CLASS; exports.RatioTabs = RatioTabs; exports.detectAspectRatio = detectAspectRatio; exports.ratioToCategory = ratioToCategory; exports.groupByAspectRatio = groupByAspectRatio; exports.VideoBitesDisplay = VideoBitesDisplay; exports.VideoBiteCard = VideoBiteCard; exports.EntityVideoSection = EntityVideoSection; exports.ChatVideoEntityCard = ChatVideoEntityCard; exports.ProductReleaseCard = ProductReleaseCard; exports.ProductReleaseCardSkeleton = ProductReleaseCardSkeleton; exports.formatReleaseDate = formatReleaseDate; exports.formatDateShort = formatDateShort; exports.formatDateSlashUTC = formatDateSlashUTC; exports.resolveReleaseCover = resolveReleaseCover; exports.releaseTypeToBadgeColor = releaseTypeToBadgeColor; exports.defaultBuildProductReleaseCardProps = defaultBuildProductReleaseCardProps; exports.buildProductReleaseCardProps = buildProductReleaseCardProps; exports.useEntityCardLink = useEntityCardLink; exports.COMPACT_CARD_OUTER = COMPACT_CARD_OUTER; exports.COMPACT_CARD_OUTER_STATIC = COMPACT_CARD_OUTER_STATIC; exports.COMPACT_CARD_SKELETON_OUTER = COMPACT_CARD_SKELETON_OUTER; exports.COMPACT_CARD_IMAGE_SLOT = COMPACT_CARD_IMAGE_SLOT; exports.COMPACT_CARD_SKELETON_IMAGE_SLOT = COMPACT_CARD_SKELETON_IMAGE_SLOT; exports.COMPACT_CARD_ICON_SLOT = COMPACT_CARD_ICON_SLOT; exports.COMPACT_CARD_TEXT_COL = COMPACT_CARD_TEXT_COL; exports.COMPACT_CARD_TITLE_ROW = COMPACT_CARD_TITLE_ROW; exports.COMPACT_CARD_META_ROW_BOX = COMPACT_CARD_META_ROW_BOX; exports.COMPACT_CARD_TITLE = COMPACT_CARD_TITLE; exports.COMPACT_CARD_SUBTITLE = COMPACT_CARD_SUBTITLE; exports.COMPACT_CARD_SUMMARY = COMPACT_CARD_SUMMARY; exports.COMPACT_CARD_META_ROW = COMPACT_CARD_META_ROW; exports.COMPACT_CARD_ROW_FILLER = COMPACT_CARD_ROW_FILLER; exports.safeHref = safeHref; exports.BlogCardSkeleton = BlogCardSkeleton; exports.BlogCard = BlogCard; exports.CaseStudyCardSkeleton = CaseStudyCardSkeleton; exports.CaseStudyCard = CaseStudyCard; exports.CustomerInterviewCardSkeleton = CustomerInterviewCardSkeleton; exports.CustomerInterviewCard = CustomerInterviewCard; exports.formatInvestorUpdatePeriod = formatInvestorUpdatePeriod; exports.InvestorUpdateCardSkeleton = InvestorUpdateCardSkeleton; exports.InvestorUpdateCard = InvestorUpdateCard; exports.OnboardingGuideCardSkeleton = OnboardingGuideCardSkeleton; exports.OnboardingGuideCard = OnboardingGuideCard; exports.RoadmapVoteButton = RoadmapVoteButton; exports.getStatusColorScheme = getStatusColorScheme; exports.CUSTOM_ITEM_ID = CUSTOM_ITEM_ID; exports.getTaskTypeLabel = getTaskTypeLabel; exports.TaskTypeIcon = TaskTypeIcon; exports.RoadmapCardSkeleton = RoadmapCardSkeleton; exports.RoadmapCard = RoadmapCard; exports.GitHubActivityCard = GitHubActivityCard; exports.GitHubActivityCardSkeleton = GitHubActivityCardSkeleton; exports.SlackMessageCard = SlackMessageCard; exports.SlackMessageCardSkeleton = SlackMessageCardSkeleton; exports.HubspotTicketCard = HubspotTicketCard; exports.HubspotTicketCardSkeleton = HubspotTicketCardSkeleton; exports.DataRoomDocCard = DataRoomDocCard; exports.DataRoomDocCardSkeleton = DataRoomDocCardSkeleton; exports.ProgramCardSkeleton = ProgramCardSkeleton; exports.ProgramCard = ProgramCard; exports.CampaignCardAdmin = CampaignCardAdmin; exports.CampaignCardAdminSkeleton = CampaignCardAdminSkeleton; exports.GenericEntityCard = GenericEntityCard; exports.GenericEntityCardSkeleton = GenericEntityCardSkeleton; exports.extractItems = extractItems; exports.extractItemId = extractItemId; exports.useChatCardItem = useChatCardItem; exports.SOURCE_ICON_NAMES = SOURCE_ICON_NAMES; exports.getSourceIconName = getSourceIconName; exports.SOURCE_LABELS_BY_TABLE = SOURCE_LABELS_BY_TABLE; exports.getSourceLabel = getSourceLabel; exports.DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID = DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID; exports.defaultTableIdForDocumentType = defaultTableIdForDocumentType; exports.ICON_REGISTRY = ICON_REGISTRY; exports.normalizeIconKey = normalizeIconKey; exports.getIconComponent = getIconComponent; exports.getDynamicIcon = getDynamicIcon; exports.resolveSourceRowCTA = resolveSourceRowCTA; exports.resolveSourceIcon = resolveSourceIcon; exports.ChatCardLoader = ChatCardLoader; exports.renderChatInlineEntityCard = renderChatInlineEntityCard; exports.CHAT_TYPE = CHAT_TYPE; exports.OWNER_TYPE = OWNER_TYPE; exports.MESSAGE_ROLE = MESSAGE_ROLE; exports.ASSISTANT_TYPE = ASSISTANT_TYPE; exports.AUTHOR_TYPE = AUTHOR_TYPE; exports.APPROVAL_STATUS = APPROVAL_STATUS; exports.CONNECTION_STATUS = CONNECTION_STATUS; exports.buildChatRefKey = buildChatRefKey; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent2; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.transformEventToProgram = transformEventToProgram; exports.transformPodcastToProgram = transformPodcastToProgram; exports.transformWebinarToProgram = transformWebinarToProgram; exports.useChunkCatchup = useChunkCatchup; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; exports.useNatsDialogSubscription = useNatsDialogSubscription; exports.buildNatsWsUrl = buildNatsWsUrl; exports.parseChunkToAction = parseChunkToAction; exports.isControlChunk = isControlChunk; exports.isErrorChunk = isErrorChunk; exports.isMetadataChunk = isMetadataChunk; exports.extractTextFromChunk = extractTextFromChunk; exports.MessageSegmentAccumulator = MessageSegmentAccumulator; exports.createMessageSegmentAccumulator = createMessageSegmentAccumulator; exports.useRealtimeChunkProcessor = useRealtimeChunkProcessor; exports.fetchSlashCommands = fetchSlashCommands; exports.useSlashCommands = useSlashCommands; exports.useSlashCommandRegistry = useSlashCommandRegistry; exports.fetchEmptyStateConfig = fetchEmptyStateConfig; exports.useEmptyStateConfig = useEmptyStateConfig; exports.useChatAttachments = useChatAttachments; exports.useChatAttachmentImageGallery = useChatAttachmentImageGallery; exports.ChatIdentityProvider = ChatIdentityProvider; exports.useChatIdentity = useChatIdentity; exports.useCloseOnNavigation = useCloseOnNavigation; exports.useSSE = useSSE; exports.useChat = useChat; exports.SCROLL_ANCHOR_WIRE_KEY = SCROLL_ANCHOR_WIRE_KEY; exports.parseScrollAnchor = parseScrollAnchor; exports.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.flattenAssistantContent = flattenAssistantContent; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.useSseChatAdapter = useSseChatAdapter; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.useNatsChatAdapter = useNatsChatAdapter; exports.useUnifiedChat = useUnifiedChat; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.SYNTHETIC_REALTIME_ID_PREFIXES = SYNTHETIC_REALTIME_ID_PREFIXES; exports.flattenMessagePagesChronological = flattenMessagePagesChronological; exports.maxPersistedStreamSeq = maxPersistedStreamSeq; exports.mergeHistoryWithRealtime = mergeHistoryWithRealtime; exports.computeHistoryPrepend = computeHistoryPrepend; exports.CHIP_ACTION_BUTTON_CLASS = CHIP_ACTION_BUTTON_CLASS; exports.chatChipClass = chatChipClass; exports.clickupTaskUrl = clickupTaskUrl; exports.EmbeddableChat = EmbeddableChat; exports.FilterCheckboxItem = FilterCheckboxItem; exports.TagKeyValueFilter = TagKeyValueFilter; exports.FilterModal = FilterModal; exports.PageActions = PageActions; exports.usePageActionsBottomPadding = usePageActionsBottomPadding; exports.PageContainer = PageContainer; exports.ListPageContainer = ListPageContainer; exports.DetailPageContainer = DetailPageContainer; exports.FormPageContainer = FormPageContainer; exports.ContentPageContainer = ContentPageContainer; exports.ListPageLayout = ListPageLayout; exports.EntityImage = EntityImage; exports.TITLE_BLOCK_MIN_HEIGHT = TITLE_BLOCK_MIN_HEIGHT; exports.TitleBlock = TitleBlock; exports.PageLayout = PageLayout; exports.PageShell = PageShell; exports.ArticleDetailLayout = ArticleDetailLayout; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.ToggleGroup = ToggleGroup; exports.ToggleGroupItem = ToggleGroupItem; exports.delay = delay; exports.generateRandomString = generateRandomString; exports.truncateString = truncateString; exports.serializeJsonLd = serializeJsonLd; exports.deepClone = deepClone; exports.getSlackCommunityJoinUrl = getSlackCommunityJoinUrl; exports.SEO_TITLE_MAX_LENGTH = SEO_TITLE_MAX_LENGTH; exports.OS_PLATFORMS = OS_PLATFORMS; exports.DEFAULT_OS_PLATFORM = DEFAULT_OS_PLATFORM; exports.isValidEmailDomain = isValidEmailDomain; exports.validateEmailDomain = validateEmailDomain; exports.validateEmailDomainList = validateEmailDomainList; exports.cleanEmailDomain = cleanEmailDomain; exports.getConfidenceColorClass = getConfidenceColorClass; exports.getConfidenceLevel = getConfidenceLevel; exports.getConfidenceBorderClass = getConfidenceBorderClass; exports.getConfidenceTextClass = getConfidenceTextClass; exports.getConfidenceBgClass = getConfidenceBgClass; exports.getConfidenceLabel = getConfidenceLabel; exports.DEV_SECTION_PARAM_KEYS = DEV_SECTION_PARAM_KEYS; exports.devSectionAnchorId = devSectionAnchorId; exports.normalizeToolType = normalizeToolType; exports.normalizeToolTypeWithFallback = normalizeToolTypeWithFallback; exports.toToolLabel = toToolLabel; exports.isValidToolType = isValidToolType; exports.getToolTypeAliases = getToolTypeAliases; exports.getToolLabel = getToolLabel; exports.ShellTypeValues = ShellTypeValues; exports.SHELL_TYPES = SHELL_TYPES; exports.shellLabels = shellLabels; exports.getShellLabel = getShellLabel; exports.getShellIcon = getShellIcon; exports.OSTypeValues = OSTypeValues; exports.OS_TYPES = OS_TYPES; exports.osLabels = osLabels; exports.normalizeOSType = normalizeOSType; exports.getOSLabel = getOSLabel; exports.getOSIcon = getOSIcon; exports.getOSTypeDefinition = getOSTypeDefinition; exports.getOSPlatformId = getOSPlatformId; exports.isOSPlatform = isOSPlatform; exports.getCountryPhoneData = getCountryPhoneData; exports.getCountryByCode = getCountryByCode; exports.validatePhoneNumber = validatePhoneNumber; exports.formatPhoneE164 = formatPhoneE164; exports.GENERIC_EMAIL_DOMAINS = GENERIC_EMAIL_DOMAINS; exports.extractDomainFromEmail = extractDomainFromEmail; exports.normalizeDomain = normalizeDomain; exports.isGenericDomain = isGenericDomain; exports.hasGenericEmailDomain = hasGenericEmailDomain; exports.isGenericWebsiteDomain = isGenericWebsiteDomain; exports.DESIGN_PALETTE = DESIGN_PALETTE; exports.getContrastRatio = getContrastRatio; exports.extractDominantColor = extractDominantColor; exports.getBestContrastColor = getBestContrastColor; exports.analyzeImageColor = analyzeImageColor; exports.extractImageEdgeColorAsync = extractImageEdgeColorAsync; exports.formatTicketRelativeTime = formatTicketRelativeTime; exports.formatTicketFullTimestamp = formatTicketFullTimestamp; exports.formatRelativeTime = formatRelativeTime; exports.formatAbsoluteDate = formatAbsoluteDate; exports.formatDateTime = formatDateTime; exports.getDetailedTimeDifference = getDetailedTimeDifference; exports.isToday = isToday; exports.isWithinMinutes = isWithinMinutes; exports.createUTCTimestamp = createUTCTimestamp; exports.readLeadingDecisionFrame = readLeadingDecisionFrame; exports.AVAILABLE_SVG_ICONS = AVAILABLE_SVG_ICONS; exports.releaseTypeOptions = releaseTypeOptions; exports.releaseStatusOptions = releaseStatusOptions; exports.changelogLabels = changelogLabels; exports.SEMVER_REGEX = SEMVER_REGEX; exports.TASK_TYPE_LABELS = TASK_TYPE_LABELS; exports.TASK_TYPE_TEXT_COLORS = TASK_TYPE_TEXT_COLORS; exports.TMCG_ROLES = TMCG_ROLES; exports.TMCG_ROLE_DISPLAY_NAMES = TMCG_ROLE_DISPLAY_NAMES; exports.TMCG_SOCIAL_PLATFORMS = TMCG_SOCIAL_PLATFORMS; exports.ROADMAP_STATUS_OPTIONS = ROADMAP_STATUS_OPTIONS; exports.DELIVERY_TASK_TYPE_OPTIONS = DELIVERY_TASK_TYPE_OPTIONS; exports.TICKET_STATUS_OPTIONS = TICKET_STATUS_OPTIONS; exports.OPENFRAME_DEV_SECTIONS = OPENFRAME_DEV_SECTIONS; exports.canonicalContentRefType = canonicalContentRefType; exports.buildListUrl = buildListUrl; exports.faqSectionSlug = faqSectionSlug; exports.faqItemAnchor = faqItemAnchor; exports.parseFaqHash = parseFaqHash; exports.CONTENT_REF_GROUPS = CONTENT_REF_GROUPS; exports.getContentRefLabel = getContentRefLabel; exports.getContentRefLabelOrTitleCase = getContentRefLabelOrTitleCase; exports.orderContentRefTypes = orderContentRefTypes; exports.buildSuggestionUrl = buildSuggestionUrl; exports.DEFAULT_CONTENT_SUFFIXES = DEFAULT_CONTENT_SUFFIXES; exports.makeComposeContentUrl = makeComposeContentUrl; exports.buildDefaultHref = buildDefaultHref; exports.resolveContentHref = resolveContentHref; exports.DEFAULT_FOLDER_INDEX_FILE = DEFAULT_FOLDER_INDEX_FILE; exports.stripFolderIndexFromPath = stripFolderIndexFromPath; exports.findDocNodeByPath = findDocNodeByPath; exports.getDocAncestorNodeIds = getDocAncestorNodeIds; exports.resolveContentFetchPath = resolveContentFetchPath; exports.getInitialExpandedNodeIds = getInitialExpandedNodeIds; exports.getDocSourceDefaultPath = getDocSourceDefaultPath; exports.toDocSlug = toDocSlug; exports.pathToNodeId = pathToNodeId; exports.normalizeDocPath = normalizeDocPath; exports.formatDocName = formatDocName; exports.sortTreeChildren = sortTreeChildren; exports.buildDocumentTree = buildDocumentTree; exports.stripInlineMarkdown = stripInlineMarkdown; exports.markdownToPlainText = markdownToPlainText; exports.extractSections = extractSections; exports.SECTION_HERO_ICON_CLASS = SECTION_HERO_ICON_CLASS; exports.BenefitCard = BenefitCard; exports.BenefitCardGrid = BenefitCardGrid; exports.BrandAssociationCard = BrandAssociationCard; exports.BrandAssociationGrid = BrandAssociationGrid; exports.BulletList = BulletList; exports.ChevronButton = ChevronButton; exports.CircularProgress = CircularProgress; exports.CheckIcon = CheckIcon2; exports.XIcon = XIcon2; exports.MinusIcon = MinusIcon; exports.CheckCircleIcon = CheckCircleIcon2; exports.XCircleIcon = XCircleIcon; exports.FloatingTooltip = FloatingTooltip; exports.DashboardInfoCard = DashboardInfoCard; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.FeatureCardGrid = FeatureCardGrid; exports.FeatureList = FeatureList; exports.TruncateText = TruncateText; exports.HighlightCard = HighlightCard; exports.HighlightCardGrid = HighlightCardGrid; exports.IconsBlock = IconsBlock; exports.DropdownButton = DropdownButton; exports.MoreActionsMenu = MoreActionsMenu; exports.OrganizationCard = OrganizationCard; exports.ServiceCard = ServiceCard; exports.Slider = Slider; exports.TabSelector = TabSelector; exports.TitleContentBlock = TitleContentBlock; exports.ErrorState = ErrorState; exports.PageError = PageError; exports.LoadError = LoadError; exports.NotFoundError = NotFoundError; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.Pagination = Pagination; exports.PaginationContent = PaginationContent; exports.PaginationItem = PaginationItem; exports.PaginationLink = PaginationLink; exports.PaginationEllipsis = PaginationEllipsis; exports.PaginationPrevious = PaginationPrevious; exports.PaginationNext = PaginationNext; exports.init_pagination = init_pagination; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.TableEmptyState = TableEmptyState; exports.DynamicThemeProvider = DynamicThemeProvider; exports.useDynamicTheme = useDynamicTheme; exports.THEME_STORAGE_KEY = THEME_STORAGE_KEY; exports.THEME_ATTRIBUTE = THEME_ATTRIBUTE; exports.DEFAULT_THEME = DEFAULT_THEME; exports.ThemeProvider = ThemeProvider; exports.useTheme = useTheme; exports.useThemeToggle = useThemeToggle; exports.ArrayEntryManager = ArrayEntryManager; exports.ProviderButton = ProviderButton; exports.AuthProvidersList = AuthProvidersList; exports.ChangelogManager = ChangelogManager; exports.ChangelogSectionsManager = ChangelogSectionsManager; exports.ClickUpTasksManager = ClickUpTasksManager; exports.CommandBox = CommandBox; exports.TAG_BADGE_CLASS = TAG_BADGE_CLASS; exports.EntityTagBadges = EntityTagBadges; exports.ErrorBoundary = ErrorBoundary; exports.SectionSelector = SectionSelector; exports.FigmaPrototypeViewer = FigmaPrototypeViewer; exports.FiltersDropdown = FiltersDropdown; exports.useFiltersDropdown = useFiltersDropdown; exports.GitHubReleasesManager = GitHubReleasesManager; exports.KnowledgeBaseLinksManager = KnowledgeBaseLinksManager; exports.LoadingProvider = LoadingProvider; exports.useLoading = useLoading; exports.MediaGalleryManager = MediaGalleryManager; exports.MoreAboutButton = MoreAboutButton; exports.OSTypeBadgeGroup = OSTypeBadgeGroup; exports.ParallaxImageShowcase = ParallaxImageShowcase; exports.PathsDisplay = PathsDisplay; exports.OPENFRAME_PATHS = OPENFRAME_PATHS; exports.getOpenFramePaths = getOpenFramePaths; exports.OPENFRAME_DOCTOR_COMMANDS = OPENFRAME_DOCTOR_COMMANDS; exports.getOpenFrameDoctorCommand = getOpenFrameDoctorCommand; exports.PlatformFilterComponent = PlatformFilterComponent; exports.PushButtonSelector = PushButtonSelector; exports.ReleaseMediaManager = ReleaseMediaManager; exports.SelectButton = SelectButton; exports.SEOEditorPreview = SEOEditorPreview; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.StatusFilterComponent = StatusFilterComponent; exports.TagsSelector = TagsSelector; exports.WarningBlock = WarningBlock; exports.MUX_STREAM_ORIGIN = MUX_STREAM_ORIGIN; exports.MUX_IMAGE_ORIGIN = MUX_IMAGE_ORIGIN; exports.useVideoOriginPreconnect = useVideoOriginPreconnect; exports.useVideoWarmup = useVideoWarmup; exports.getCaptionsUrl = getCaptionsUrl; exports.VideoSourceSelector = VideoSourceSelector; exports.ConfidenceBadge = ConfidenceBadge; exports.TranscriptSummaryEditor = TranscriptSummaryEditor; exports.AIEnrichButton = AIEnrichButton; exports.AIWarningsSection = AIWarningsSection; exports.AIEnrichSection = AIEnrichSection; exports.HighlightVideoSection = HighlightVideoSection; exports.HighlightConfigSection = HighlightConfigSection; exports.EntitySummaryEditor = EntitySummaryEditor; exports.AIStatusIndicator = AIStatusIndicator; exports.AIRequiredBadge = AIRequiredBadge; exports.TranscribeSummarizeSection = TranscribeSummarizeSection; exports.VideoClipsSection = VideoClipsSection; exports.HighlightGenerationSection = HighlightGenerationSection; exports.HighlightVideoPreview = HighlightVideoPreview; exports.TranscribeAndSummarizeCombinedSection = TranscribeAndSummarizeCombinedSection; exports.HighlightVideoCombinedSection = HighlightVideoCombinedSection; exports.ViewToggle = ViewToggle; exports.PolicyConfigurationPanel = PolicyConfigurationPanel; exports.PhoneInput = PhoneInput; exports.WaitlistForm = WaitlistForm; exports.NotificationsProvider = NotificationsProvider; exports.useNotifications = useNotifications; exports.useOptionalNotifications = useOptionalNotifications; exports.NotificationTile = NotificationTile; exports.NotificationDrawer = NotificationDrawer; exports.NotificationPopups = NotificationPopups; exports.ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE; exports.isApprovalNotification = isApprovalNotification; exports.getApprovalMeta = getApprovalMeta; exports.resolutionToStatus = resolutionToStatus; exports.approvalMetaToBatchData = approvalMetaToBatchData; exports.ApprovalRequestNotificationTile = ApprovalRequestNotificationTile; exports.TimeTrackerProvider = TimeTrackerProvider; exports.useTimeTracker = useTimeTracker; exports.useOptionalTimeTracker = useOptionalTimeTracker; exports.useTrackerClock = useTrackerClock; exports.TimeTrackerPanel = TimeTrackerPanel; exports.HeaderButton = HeaderButton; exports.TimeTrackerHeaderButton = TimeTrackerHeaderButton; exports.BoardColumnHeader = BoardColumnHeader; exports.tintOnDark = tintOnDark; exports.BoardTicketApproval = BoardTicketApproval; exports.TicketCard = TicketCard; exports.TicketCardSkeleton = TicketCardSkeleton; exports.BoardColumn = BoardColumn; exports.useBoardCollapse = useBoardCollapse; exports.Board = Board; exports.columnFromTicketStatus = columnFromTicketStatus; exports.groupTicketsByStatus = groupTicketsByStatus; exports.TicketStatusConfigList = TicketStatusConfigList; exports.TableHeader = TableHeader; exports.TableCell = TableCell; exports.TableCardSkeleton = TableCardSkeleton; exports.TableRow = TableRow; exports.Table = Table; exports.TableDescriptionCell = TableDescriptionCell; exports.TableTimestampCell = TableTimestampCell; exports.QueryReportTableHeader = QueryReportTableHeader; exports.QueryReportTableRow = QueryReportTableRow; exports.QueryReportTableSkeleton = QueryReportTableSkeleton; exports.deriveColumns = deriveColumns; exports.exportToCSV = exportToCSV; exports.QueryReportTable = QueryReportTable; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses2; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.DataTableHeader = DataTableHeader; exports.DataTableEmpty = DataTableEmpty; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP2; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE2; exports.DataTableSkeleton = DataTableSkeleton; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DataTableRowCount = DataTableRowCount; exports.useDataTable = useDataTable; exports.DataTable = DataTable; exports.flexRender = _reacttable.flexRender; exports.createColumnHelper = _reacttable.createColumnHelper; exports.getCoreRowModel = _reacttable.getCoreRowModel; exports.getExpandedRowModel = _reacttable.getExpandedRowModel; exports.getFacetedRowModel = _reacttable.getFacetedRowModel; exports.getFacetedUniqueValues = _reacttable.getFacetedUniqueValues; exports.getFilteredRowModel = _reacttable.getFilteredRowModel; exports.getGroupedRowModel = _reacttable.getGroupedRowModel; exports.getPaginationRowModel = _reacttable.getPaginationRowModel; exports.getSortedRowModel = _reacttable.getSortedRowModel; exports.SearchInput = SearchInput; exports.FilterListItem = FilterListItem; exports.FilterList = FilterList; exports.TagSearchInput = TagSearchInput; exports.MarkdownEditor = MarkdownEditor; exports.FileUpload = FileUpload; exports.ImageUploader = ImageUploader; exports.TICKET_STATUS_COLOR_PRESETS = TICKET_STATUS_COLOR_PRESETS; exports.CUSTOM_PRESET_KEY = CUSTOM_PRESET_KEY; exports.DEFAULT_CUSTOM_STATUS_COLOR = DEFAULT_CUSTOM_STATUS_COLOR; exports.ColorPresetSelect = ColorPresetSelect; exports.ColorPickerInput = ColorPickerInput; exports.TicketStatusConfigRow = TicketStatusConfigRow; exports.TicketDetailSection = TicketDetailSection; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.FilterPillRow = FilterPillRow; exports.Header = Header2; exports.HeaderSkeleton = HeaderSkeleton; exports.ClientOnlyHeader = ClientOnlyHeader; exports.MobileNavPanel = MobileNavPanel; exports.SlidingSidebar = SlidingSidebar; exports.StickySectionNav = StickySectionNav; exports.useSectionNavigation = useSectionNavigation; exports.NavigationSidebar = NavigationSidebar; exports.HeaderGlobalSearch = HeaderGlobalSearch; exports.HeaderMingoButton = HeaderMingoButton; exports.HeaderOrganizationFilter = HeaderOrganizationFilter; exports.AppHeader = AppHeader; exports.MobileBurgerMenu = MobileBurgerMenu; exports.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; exports.AppLayout = AppLayout; exports.AppLayoutDrawerRoot = AppLayoutDrawerRoot; exports.AppLayoutDrawerTrigger = AppLayoutDrawerTrigger; exports.AppLayoutDrawerClose = AppLayoutDrawerClose; exports.AppLayoutDrawerContent = AppLayoutDrawerContent; exports.AppLayoutDrawerHeader = AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = AppLayoutDrawerTitle; exports.AppLayoutDrawerDescription = AppLayoutDrawerDescription; exports.AppLayoutDrawerBody = AppLayoutDrawerBody; exports.AppLayoutDrawerFooter = AppLayoutDrawerFooter; exports.MultiLevelNavigation = MultiLevelNavigation; exports.MobileNavigationDropdown = MobileNavigationDropdown; exports.SoftwareInfo = SoftwareInfo; exports.SoftwareSourceBadge = SoftwareSourceBadge; exports.CveLink = CveLink; exports.ToolBadge = ToolBadge; exports.ShellTypeBadge = ShellTypeBadge; exports.ScriptInfoSection = ScriptInfoSection; exports.ScriptArguments = ScriptArguments; exports.OnboardingStepCard = OnboardingStepCard; exports.OnboardingWalkthrough = OnboardingWalkthrough; exports.LOG_SEVERITY_COLORS = LOG_SEVERITY_COLORS; exports.LOG_SEVERITY_LABELS = LOG_SEVERITY_LABELS; exports.LogSeverityDot = LogSeverityDot; exports.LogsList = LogsList; exports.assets = assets;
|
|
49799
|
+
//# sourceMappingURL=chunk-GABTFTDE.cjs.map
|