@flamingo-stack/openframe-frontend-core 0.0.327 → 0.0.328
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-CWXO6VCD.js → chunk-22VBCVLJ.js} +4142 -3948
- package/dist/chunk-22VBCVLJ.js.map +1 -0
- package/dist/{chunk-4ZHA24HS.cjs → chunk-5W6MKTGR.cjs} +40 -40
- package/dist/{chunk-4ZHA24HS.cjs.map → chunk-5W6MKTGR.cjs.map} +1 -1
- package/dist/{chunk-A6NBGRGZ.js → chunk-65VXW6GZ.js} +2 -2
- package/dist/{chunk-7FY2OM5W.cjs → chunk-6SGZOIOQ.cjs} +39 -39
- package/dist/{chunk-7FY2OM5W.cjs.map → chunk-6SGZOIOQ.cjs.map} +1 -1
- package/dist/{chunk-MWAEG3XK.cjs → chunk-7FDLIPBP.cjs} +12 -12
- package/dist/{chunk-MWAEG3XK.cjs.map → chunk-7FDLIPBP.cjs.map} +1 -1
- package/dist/{chunk-HQ6BILVP.cjs → chunk-7OZROCY7.cjs} +31 -31
- package/dist/{chunk-HQ6BILVP.cjs.map → chunk-7OZROCY7.cjs.map} +1 -1
- package/dist/{chunk-5WDRXBM3.js → chunk-B3YEMD6H.js} +3 -3
- package/dist/{chunk-GXRWE7NB.cjs → chunk-CCG4DARM.cjs} +2 -2
- package/dist/{chunk-GXRWE7NB.cjs.map → chunk-CCG4DARM.cjs.map} +1 -1
- package/dist/{chunk-27IO7V3P.cjs → chunk-DCIB6AK3.cjs} +9 -9
- package/dist/{chunk-27IO7V3P.cjs.map → chunk-DCIB6AK3.cjs.map} +1 -1
- package/dist/{chunk-IDMM6DVL.js → chunk-F4WJ6G64.js} +4 -4
- package/dist/{chunk-62O2VTR2.js → chunk-KS3NQFKW.js} +2 -2
- package/dist/{chunk-PGFQ6WQR.cjs → chunk-LM2P7UWU.cjs} +13 -13
- package/dist/{chunk-PGFQ6WQR.cjs.map → chunk-LM2P7UWU.cjs.map} +1 -1
- package/dist/{chunk-CRHOAKG5.cjs → chunk-M43DVC6A.cjs} +70 -70
- package/dist/{chunk-CRHOAKG5.cjs.map → chunk-M43DVC6A.cjs.map} +1 -1
- package/dist/{chunk-I4OFXYJR.cjs → chunk-OQPMYUZX.cjs} +19 -19
- package/dist/{chunk-I4OFXYJR.cjs.map → chunk-OQPMYUZX.cjs.map} +1 -1
- package/dist/{chunk-U7GDY7Y3.js → chunk-P4XUTN2Z.js} +5 -5
- package/dist/{chunk-3AXH7BDM.cjs → chunk-PZKEQNNK.cjs} +29 -29
- package/dist/{chunk-3AXH7BDM.cjs.map → chunk-PZKEQNNK.cjs.map} +1 -1
- package/dist/{chunk-MJUYWNQB.js → chunk-RVSR3M7Y.js} +3 -3
- package/dist/{chunk-LESTX5DM.js → chunk-SC543SO2.js} +3 -3
- package/dist/{chunk-GABTFTDE.cjs → chunk-SD36MNVP.cjs} +818 -624
- package/dist/chunk-SD36MNVP.cjs.map +1 -0
- package/dist/{chunk-7KZJV4MP.js → chunk-SWGXCGQ3.js} +2 -2
- package/dist/{chunk-K5HBVPJ5.cjs → chunk-SY37FQHF.cjs} +3 -3
- package/dist/{chunk-K5HBVPJ5.cjs.map → chunk-SY37FQHF.cjs.map} +1 -1
- package/dist/{chunk-46GJFN4V.js → chunk-TAIMKJE6.js} +5 -5
- package/dist/{chunk-BWWUHOE3.cjs → chunk-TAKXDI7B.cjs} +73 -73
- package/dist/{chunk-BWWUHOE3.cjs.map → chunk-TAKXDI7B.cjs.map} +1 -1
- package/dist/{chunk-4MD2TPFY.js → chunk-UZTGDV6N.js} +2 -2
- package/dist/{chunk-XDNQJQGP.cjs → chunk-WVIBC2M5.cjs} +5 -5
- package/dist/{chunk-XDNQJQGP.cjs.map → chunk-WVIBC2M5.cjs.map} +1 -1
- package/dist/{chunk-QF4XERYJ.js → chunk-XGEF6MVM.js} +2 -2
- package/dist/{chunk-UHHJIHUZ.js → chunk-Y6AD3GJG.js} +6 -6
- package/dist/{chunk-J4HHXHMC.js → chunk-YV4PUSAJ.js} +6 -6
- package/dist/{chunk-3UVR2JIB.js → chunk-Z2TB777W.js} +3 -3
- package/dist/{chunk-NROSNR5J.cjs → chunk-Z6WEY45X.cjs} +15 -15
- package/dist/{chunk-NROSNR5J.cjs.map → chunk-Z6WEY45X.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 +127 -125
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +14 -12
- 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 +5 -0
- package/dist/components/ui/autocomplete.d.ts.map +1 -1
- package/dist/components/ui/file-upload.d.ts +3 -1
- package/dist/components/ui/file-upload.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +6 -4
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +5 -3
- package/dist/components/ui/tag-select-dropdown.d.ts +36 -0
- package/dist/components/ui/tag-select-dropdown.d.ts.map +1 -0
- package/dist/hooks/index.cjs +3 -3
- package/dist/hooks/index.js +2 -2
- package/dist/index.cjs +6 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -3
- package/package.json +1 -1
- package/src/components/ui/autocomplete.tsx +50 -18
- package/src/components/ui/file-upload.tsx +74 -76
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/tag-select-dropdown.tsx +220 -0
- package/dist/chunk-CWXO6VCD.js.map +0 -1
- package/dist/chunk-GABTFTDE.cjs.map +0 -1
- /package/dist/{chunk-A6NBGRGZ.js.map → chunk-65VXW6GZ.js.map} +0 -0
- /package/dist/{chunk-5WDRXBM3.js.map → chunk-B3YEMD6H.js.map} +0 -0
- /package/dist/{chunk-IDMM6DVL.js.map → chunk-F4WJ6G64.js.map} +0 -0
- /package/dist/{chunk-62O2VTR2.js.map → chunk-KS3NQFKW.js.map} +0 -0
- /package/dist/{chunk-U7GDY7Y3.js.map → chunk-P4XUTN2Z.js.map} +0 -0
- /package/dist/{chunk-MJUYWNQB.js.map → chunk-RVSR3M7Y.js.map} +0 -0
- /package/dist/{chunk-LESTX5DM.js.map → chunk-SC543SO2.js.map} +0 -0
- /package/dist/{chunk-7KZJV4MP.js.map → chunk-SWGXCGQ3.js.map} +0 -0
- /package/dist/{chunk-46GJFN4V.js.map → chunk-TAIMKJE6.js.map} +0 -0
- /package/dist/{chunk-4MD2TPFY.js.map → chunk-UZTGDV6N.js.map} +0 -0
- /package/dist/{chunk-QF4XERYJ.js.map → chunk-XGEF6MVM.js.map} +0 -0
- /package/dist/{chunk-UHHJIHUZ.js.map → chunk-Y6AD3GJG.js.map} +0 -0
- /package/dist/{chunk-J4HHXHMC.js.map → chunk-YV4PUSAJ.js.map} +0 -0
- /package/dist/{chunk-3UVR2JIB.js.map → chunk-Z2TB777W.js.map} +0 -0
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunkDCIB6AK3cjs = require('./chunk-DCIB6AK3.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
@@ -138,7 +138,7 @@ var _chunk27IO7V3Pcjs = require('./chunk-27IO7V3P.cjs');
|
|
|
138
138
|
|
|
139
139
|
|
|
140
140
|
|
|
141
|
-
var
|
|
141
|
+
var _chunkCCG4DARMcjs = require('./chunk-CCG4DARM.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 React114 = _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 React62 = _interopRequireWildcard(_react); var React64 = _interopRequireWildcard(_react); var React65 = _interopRequireWildcard(_react); var React75 = _interopRequireWildcard(_react); var React74 = _interopRequireWildcard(_react); var React78 = _interopRequireWildcard(_react); var React79 = _interopRequireWildcard(_react); var React81 = _interopRequireWildcard(_react); var React83 = _interopRequireWildcard(_react); var React88 = _interopRequireWildcard(_react); var React91 = _interopRequireWildcard(_react); var React92 = _interopRequireWildcard(_react); var React93 = _interopRequireWildcard(_react); var React98 = _interopRequireWildcard(_react); var React97 = _interopRequireWildcard(_react); var React95 = _interopRequireWildcard(_react); var React94 = _interopRequireWildcard(_react); var React96 = _interopRequireWildcard(_react); var React99 = _interopRequireWildcard(_react); var React107 = _interopRequireWildcard(_react); var React111 = _interopRequireWildcard(_react); var React110 = _interopRequireWildcard(_react); var React113 = _interopRequireWildcard(_react); var React116 = _interopRequireWildcard(_react); var React117 = _interopRequireWildcard(_react); var React119 = _interopRequireWildcard(_react); var React120 = _interopRequireWildcard(_react); var React123 = _interopRequireWildcard(_react); var React122 = _interopRequireWildcard(_react); var React121 = _interopRequireWildcard(_react); var React125 = _interopRequireWildcard(_react); var React124 = _interopRequireWildcard(_react); var React133 = _interopRequireWildcard(_react); var React132 = _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 = React114.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 = React114.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 = React114.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 = React114.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 = React114.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 = React114.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, _chunkCCG4DARMcjs.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
|
+
_chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.DotsLoaderIcon, { size: 16, className: "text-ods-text-secondary" });
|
|
830
|
+
if (execution.success === false) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.XmarkCircleIcon, { className: "w-4 h-4 text-ods-error" });
|
|
831
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.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, _chunkDCIB6AK3cjs.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, _chunkCCG4DARMcjs.DotsLoaderIcon, { size: 16, className: "text-ods-text-secondary" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, React114.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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: _chunkCCG4DARMcjs.ClickupLogoGreyIcon,
|
|
3302
|
+
slack: _chunkCCG4DARMcjs.SlackLogoGreyIcon,
|
|
3303
|
+
hubspot: _chunkCCG4DARMcjs.HubspotLogoGreyIcon,
|
|
3304
|
+
github: _chunkCCG4DARMcjs.GithubIcon,
|
|
3305
3305
|
openframe: LogoOpenframeIcon,
|
|
3306
|
-
newspaper:
|
|
3307
|
-
rocket:
|
|
3308
|
-
briefcase:
|
|
3309
|
-
"graduation-cap":
|
|
3310
|
-
video:
|
|
3311
|
-
headphones:
|
|
3312
|
-
calendar:
|
|
3313
|
-
compass:
|
|
3306
|
+
newspaper: _chunkCCG4DARMcjs.NewspaperIcon,
|
|
3307
|
+
rocket: _chunkCCG4DARMcjs.Rocket02Icon,
|
|
3308
|
+
briefcase: _chunkCCG4DARMcjs.BriefcaseIcon,
|
|
3309
|
+
"graduation-cap": _chunkCCG4DARMcjs.GraduationCapIcon,
|
|
3310
|
+
video: _chunkCCG4DARMcjs.VideoRecorderIcon,
|
|
3311
|
+
headphones: _chunkCCG4DARMcjs.HeadphoneIcon,
|
|
3312
|
+
calendar: _chunkCCG4DARMcjs.CalendarIcon,
|
|
3313
|
+
compass: _chunkCCG4DARMcjs.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": _chunkCCG4DARMcjs.ClickupLogoGreyIcon,
|
|
3317
|
+
"clickup-logo-grey": _chunkCCG4DARMcjs.ClickupLogoGreyIcon,
|
|
3318
|
+
"slack-logo": _chunkCCG4DARMcjs.SlackLogoGreyIcon,
|
|
3319
|
+
"slack-logo-grey": _chunkCCG4DARMcjs.SlackLogoGreyIcon,
|
|
3320
|
+
"hubspot-logo": _chunkCCG4DARMcjs.HubspotLogoGreyIcon,
|
|
3321
|
+
"hubspot-logo-grey": _chunkCCG4DARMcjs.HubspotLogoGreyIcon,
|
|
3322
|
+
"github-logo": _chunkCCG4DARMcjs.GithubIcon,
|
|
3323
3323
|
"logo-openframe": LogoOpenframeIcon,
|
|
3324
|
-
"rocket-01":
|
|
3325
|
-
"rocket-02":
|
|
3324
|
+
"rocket-01": _chunkCCG4DARMcjs.Rocket02Icon,
|
|
3325
|
+
"rocket-02": _chunkCCG4DARMcjs.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: _chunkCCG4DARMcjs.TicketIcon,
|
|
3330
|
+
book: _chunkCCG4DARMcjs.BookIcon,
|
|
3331
|
+
"book-open": _chunkCCG4DARMcjs.BookIcon,
|
|
3332
|
+
bug: _chunkCCG4DARMcjs.BugIcon,
|
|
3333
|
+
layers: _chunkCCG4DARMcjs.LayersIcon,
|
|
3334
|
+
file: _chunkCCG4DARMcjs.FileIcon,
|
|
3335
|
+
"file-text": _chunkCCG4DARMcjs.FileIcon,
|
|
3336
|
+
chats: _chunkCCG4DARMcjs.ChatsIcon,
|
|
3337
|
+
"message-square": _chunkCCG4DARMcjs.ChatsIcon,
|
|
3338
|
+
"message-circle": _chunkCCG4DARMcjs.ChatsIcon,
|
|
3339
|
+
"bracket-curly": _chunkCCG4DARMcjs.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 = _chunkCCG4DARMcjs.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 _chunkCCG4DARMcjs.FileIcon;
|
|
3358
|
+
return _nullishCoalesce(_nullishCoalesce(ONBOARDING_ICONS[iconName], () => ( resolveFromLibrary(iconName))), () => ( _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.StopCircleIcon, { size: 20 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.DotsLoaderIcon, { size: 16, className: "text-ods-text-secondary" });
|
|
4131
|
+
if (isExecuted && message2.success === true) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.CheckCircleIcon, { className: "w-4 h-4 text-ods-success" });
|
|
4132
|
+
if (isExecuted && message2.success === false) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.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, _chunkDCIB6AK3cjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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 (React114.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, _chunkCCG4DARMcjs.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 = _chunkDCIB6AK3cjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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 = _chunkDCIB6AK3cjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.ClockHistoryIcon, { size: 24 }) }),
|
|
7211
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onClose, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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 = React114.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 = React114.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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, _chunkCCG4DARMcjs.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("#") && _chunkDCIB6AK3cjs.navigateSamePageHash.call(void 0, target, { headerOffset: _chunkDCIB6AK3cjs.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 = _chunkDCIB6AK3cjs.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((React114.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, _chunkCCG4DARMcjs.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 } = _chunkDCIB6AK3cjs.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 = React114.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 = _chunkDCIB6AK3cjs.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); var PopoverPrimitive7 = _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, _chunkCCG4DARMcjs.XmarkCircleIcon, { size: 20 })
|
|
11231
11231
|
}
|
|
11232
11232
|
)
|
|
11233
11233
|
]
|
|
@@ -11267,6 +11267,9 @@ function AutocompleteInner(props, ref) {
|
|
|
11267
11267
|
loadingText = "Loading...",
|
|
11268
11268
|
creatable = false,
|
|
11269
11269
|
onCreateOption,
|
|
11270
|
+
maxCreateLength,
|
|
11271
|
+
onDeleteOption,
|
|
11272
|
+
isDeletingOption = false,
|
|
11270
11273
|
disableClientFilter = false,
|
|
11271
11274
|
showChevron = true,
|
|
11272
11275
|
clearOnOpen = true
|
|
@@ -11298,7 +11301,7 @@ function AutocompleteInner(props, ref) {
|
|
|
11298
11301
|
}, [valueArray, options]);
|
|
11299
11302
|
const selectedOption = !multiple && selectedOptions.length > 0 ? selectedOptions[0] : null;
|
|
11300
11303
|
const inputPlaceholder = multiple ? valueArray.length === 0 ? placeholder : "Add More..." : placeholder;
|
|
11301
|
-
const autoLimitTags =
|
|
11304
|
+
const autoLimitTags = _chunkDCIB6AK3cjs.useAutoLimitTags.call(void 0, {
|
|
11302
11305
|
count: multiple ? selectedOptions.length : 0,
|
|
11303
11306
|
limitTags: multiple ? limitTagsProp : 0,
|
|
11304
11307
|
placeholder: inputPlaceholder
|
|
@@ -11346,9 +11349,10 @@ function AutocompleteInner(props, ref) {
|
|
|
11346
11349
|
);
|
|
11347
11350
|
}, [options, inputValue, filterOptions, disableClientFilter]);
|
|
11348
11351
|
const showCreateOption = creatable && inputValue.trim().length > 0 && filteredOptions.length === 0;
|
|
11352
|
+
const isCreateTooLong = maxCreateLength != null && inputValue.trim().length > maxCreateLength;
|
|
11349
11353
|
const handleCreate = () => {
|
|
11350
11354
|
const trimmed = inputValue.trim();
|
|
11351
|
-
if (!trimmed) return;
|
|
11355
|
+
if (!trimmed || maxCreateLength != null && trimmed.length > maxCreateLength) return;
|
|
11352
11356
|
const newValue = trimmed;
|
|
11353
11357
|
if (multiple) {
|
|
11354
11358
|
if (maxItems && valueArray.length >= maxItems) return;
|
|
@@ -11552,7 +11556,7 @@ function AutocompleteInner(props, ref) {
|
|
|
11552
11556
|
onClick: handleClearAll,
|
|
11553
11557
|
className: "flex items-center justify-center hover:opacity-70 transition-opacity",
|
|
11554
11558
|
"aria-label": "Clear all",
|
|
11555
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11559
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.XmarkCircleIcon, { className: "text-ods-text-secondary size-4 md:size-6" })
|
|
11556
11560
|
}
|
|
11557
11561
|
),
|
|
11558
11562
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -11564,7 +11568,7 @@ function AutocompleteInner(props, ref) {
|
|
|
11564
11568
|
)
|
|
11565
11569
|
}
|
|
11566
11570
|
) : showChevron && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11567
|
-
|
|
11571
|
+
_chunkCCG4DARMcjs.Chevron02DownIcon,
|
|
11568
11572
|
{
|
|
11569
11573
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
11570
11574
|
"transition-all duration-200 size-4 md:size-6",
|
|
@@ -11601,13 +11605,17 @@ function AutocompleteInner(props, ref) {
|
|
|
11601
11605
|
}
|
|
11602
11606
|
},
|
|
11603
11607
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, ScrollAreaPrimitive.Root, { className: "overflow-hidden", children: [
|
|
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.
|
|
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 ? isCreateTooLong ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center h-11 md:h-12 px-[var(--spacing-system-mf)] text-h5 text-ods-error min-w-0", children: [
|
|
11609
|
+
"Maximum ",
|
|
11610
|
+
maxCreateLength,
|
|
11611
|
+
" characters"
|
|
11612
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11605
11613
|
"div",
|
|
11606
11614
|
{
|
|
11607
11615
|
role: "option",
|
|
11608
11616
|
"aria-selected": false,
|
|
11609
11617
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
11610
|
-
"flex items-center h-11 md:h-12 px-
|
|
11618
|
+
"flex items-center h-11 md:h-12 px-[var(--spacing-system-mf)] cursor-pointer transition-colors min-w-0",
|
|
11611
11619
|
"text-h4 text-ods-accent",
|
|
11612
11620
|
"hover:bg-ods-bg-hover"
|
|
11613
11621
|
),
|
|
@@ -11631,7 +11639,7 @@ function AutocompleteInner(props, ref) {
|
|
|
11631
11639
|
role: "option",
|
|
11632
11640
|
"aria-selected": isSelected,
|
|
11633
11641
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
11634
|
-
"flex items-center h-11 md:h-12 px-
|
|
11642
|
+
"group/item flex items-center h-11 md:h-12 px-[var(--spacing-system-mf)] cursor-pointer transition-colors border-b border-ods-border last:border-b-0",
|
|
11635
11643
|
"text-h4",
|
|
11636
11644
|
isHighlighted && "bg-ods-bg-surface",
|
|
11637
11645
|
isSelected ? "text-ods-accent" : "text-ods-text-primary",
|
|
@@ -11639,9 +11647,25 @@ function AutocompleteInner(props, ref) {
|
|
|
11639
11647
|
),
|
|
11640
11648
|
onClick: () => handleSelect(option),
|
|
11641
11649
|
onMouseEnter: () => setHighlightedIndex(index),
|
|
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: [
|
|
11650
|
+
children: renderOption ? renderOption(option, isSelected) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-[var(--spacing-system-xsf)] w-full min-w-0", children: [
|
|
11643
11651
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", title: option.label, children: option.label }),
|
|
11644
|
-
|
|
11652
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)] shrink-0", children: [
|
|
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
|
+
] })
|
|
11645
11669
|
] })
|
|
11646
11670
|
},
|
|
11647
11671
|
String(option.value)
|
|
@@ -11878,7 +11902,7 @@ var SelectTrigger = React37.forwardRef(({ className, children, invalid, label, e
|
|
|
11878
11902
|
...props,
|
|
11879
11903
|
children: [
|
|
11880
11904
|
children,
|
|
11881
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11905
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Chevron02DownIcon, { className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
11882
11906
|
"shrink-0 text-ods-text-secondary transition-all duration-200 group-data-[state=open]:rotate-180",
|
|
11883
11907
|
isInvalid ? "text-ods-error" : "group-data-[state=open]:text-ods-accent"
|
|
11884
11908
|
), size: 24 }) })
|
|
@@ -11964,7 +11988,7 @@ var SelectItem = React37.forwardRef(({ className, children, ...props }, ref) =>
|
|
|
11964
11988
|
...props,
|
|
11965
11989
|
children: [
|
|
11966
11990
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectPrimitive.ItemText, { children }),
|
|
11967
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11991
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.CheckIcon, { className: "text-ods-accent", size: 20 }) })
|
|
11968
11992
|
]
|
|
11969
11993
|
}
|
|
11970
11994
|
));
|
|
@@ -12017,7 +12041,7 @@ function DatePickerCalendar({
|
|
|
12017
12041
|
fluid = false
|
|
12018
12042
|
}) {
|
|
12019
12043
|
const today = /* @__PURE__ */ new Date();
|
|
12020
|
-
const isMdUp = _nullishCoalesce(
|
|
12044
|
+
const isMdUp = _nullishCoalesce(_chunkDCIB6AK3cjs.useMdUp.call(void 0, ), () => ( true));
|
|
12021
12045
|
const monthsToShow = isMdUp ? numberOfMonths : 1;
|
|
12022
12046
|
const [draftRange, setDraftRange] = React38.useState(
|
|
12023
12047
|
mode === "range" ? selected : void 0
|
|
@@ -12992,7 +13016,7 @@ var ProgressBar = ({
|
|
|
12992
13016
|
mobileHeight = 8,
|
|
12993
13017
|
inverted = false
|
|
12994
13018
|
}) => {
|
|
12995
|
-
const isMdUp = _nullishCoalesce(
|
|
13019
|
+
const isMdUp = _nullishCoalesce(_chunkDCIB6AK3cjs.useMdUp.call(void 0, ), () => ( true));
|
|
12996
13020
|
const effectiveSegmentWidth = isMdUp ? segmentWidth : mobileSegmentWidth;
|
|
12997
13021
|
const effectiveHeight = isMdUp ? height : mobileHeight;
|
|
12998
13022
|
const containerRef = _react.useRef.call(void 0, null);
|
|
@@ -13062,7 +13086,7 @@ function InfoCard({ data, className = "" }) {
|
|
|
13062
13086
|
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 }),
|
|
13063
13087
|
data.items.map((item, index) => {
|
|
13064
13088
|
const values = Array.isArray(item.value) ? item.value : [item.value];
|
|
13065
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13089
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, React114.default.Fragment, { children: values.map((val, valIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13066
13090
|
InfoCardValueRow,
|
|
13067
13091
|
{
|
|
13068
13092
|
label: item.label,
|
|
@@ -13111,7 +13135,7 @@ function InfoCardFooter({ footer }) {
|
|
|
13111
13135
|
] });
|
|
13112
13136
|
}
|
|
13113
13137
|
function InfoCardValueRow({ label, value, showLabel, copyable, copyAriaLabel }) {
|
|
13114
|
-
const { copy, copied } =
|
|
13138
|
+
const { copy, copied } = _chunkDCIB6AK3cjs.useCopyToClipboard.call(void 0, );
|
|
13115
13139
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-6 items-center gap-[var(--spacing-system-xs)] self-stretch w-full", children: [
|
|
13116
13140
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h4 text-ods-text-primary whitespace-nowrap", children: showLabel ? label : "" }),
|
|
13117
13141
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1 h-px bg-ods-divider" }),
|
|
@@ -13134,7 +13158,7 @@ function InfoCardValueRow({ label, value, showLabel, copyable, copyAriaLabel })
|
|
|
13134
13158
|
copied ? "text-ods-success" : "text-ods-text-secondary hover:text-ods-text-primary"
|
|
13135
13159
|
),
|
|
13136
13160
|
"aria-label": copyAriaLabel,
|
|
13137
|
-
children: copied ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13161
|
+
children: copied ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.CheckIcon, { size: 16 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Copy01Icon, { size: 16 })
|
|
13138
13162
|
}
|
|
13139
13163
|
)
|
|
13140
13164
|
] })
|
|
@@ -13229,7 +13253,7 @@ function CompactAssigneeDropdown({
|
|
|
13229
13253
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ods-focus",
|
|
13230
13254
|
className
|
|
13231
13255
|
),
|
|
13232
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13256
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.UserPlusIcon, { className: "size-4" })
|
|
13233
13257
|
}
|
|
13234
13258
|
);
|
|
13235
13259
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, PopoverPrimitive2.Root, { open: isOpen, onOpenChange: setIsOpen, modal: false, children: [
|
|
@@ -13285,7 +13309,7 @@ function CompactAssigneeDropdown({
|
|
|
13285
13309
|
}
|
|
13286
13310
|
),
|
|
13287
13311
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex-1 truncate text-h4 text-ods-text-primary", title: opt.label, children: opt.label }),
|
|
13288
|
-
isCurrent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13312
|
+
isCurrent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.CheckIcon, { className: "size-4 shrink-0 text-ods-accent" })
|
|
13289
13313
|
]
|
|
13290
13314
|
},
|
|
13291
13315
|
opt.value
|
|
@@ -13346,7 +13370,7 @@ function DefaultAssigneeDropdown({
|
|
|
13346
13370
|
variant: "round",
|
|
13347
13371
|
className: "h-6 w-6"
|
|
13348
13372
|
}
|
|
13349
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13373
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.UserIcon, { className: "size-5 text-ods-text-secondary" }),
|
|
13350
13374
|
renderOption
|
|
13351
13375
|
}
|
|
13352
13376
|
),
|
|
@@ -13374,7 +13398,7 @@ function DefaultAssigneeDropdown({
|
|
|
13374
13398
|
onClick: () => setIsEditing(true),
|
|
13375
13399
|
className: "flex items-center gap-[var(--spacing-system-xxs)] cursor-pointer group text-left",
|
|
13376
13400
|
children: [
|
|
13377
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13401
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.PenEditIcon, { className: "size-4 shrink-0 text-ods-text-secondary group-hover:text-ods-accent transition-colors" }),
|
|
13378
13402
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h4 text-ods-text-primary truncate", title: currentAssignee.name, children: currentAssignee.name })
|
|
13379
13403
|
]
|
|
13380
13404
|
}
|
|
@@ -13391,7 +13415,7 @@ function DefaultAssigneeDropdown({
|
|
|
13391
13415
|
onClick: () => setIsEditing(true),
|
|
13392
13416
|
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",
|
|
13393
13417
|
children: [
|
|
13394
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13418
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.UserIcon, { className: "size-4 shrink-0" }),
|
|
13395
13419
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Assign User" })
|
|
13396
13420
|
]
|
|
13397
13421
|
}
|
|
@@ -13574,7 +13598,7 @@ var noDataActionsVariants = _classvarianceauthority.cva.call(void 0, "overflow-h
|
|
|
13574
13598
|
|
|
13575
13599
|
// src/components/ui/no-data/no-data-message.tsx
|
|
13576
13600
|
|
|
13577
|
-
var NoDataMessage =
|
|
13601
|
+
var NoDataMessage = React114.default.forwardRef(
|
|
13578
13602
|
function NoDataMessage2({ icon, title, description, className, ...props }, ref) {
|
|
13579
13603
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13580
13604
|
"div",
|
|
@@ -13601,7 +13625,7 @@ var NoDataMessage = React113.default.forwardRef(
|
|
|
13601
13625
|
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
13602
13626
|
|
|
13603
13627
|
|
|
13604
|
-
var NoDataAction =
|
|
13628
|
+
var NoDataAction = React114.default.forwardRef(
|
|
13605
13629
|
function NoDataAction2({ icon, label, children, className, ...props }, ref) {
|
|
13606
13630
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13607
13631
|
"div",
|
|
@@ -13621,16 +13645,16 @@ var NoDataAction = React113.default.forwardRef(
|
|
|
13621
13645
|
);
|
|
13622
13646
|
}
|
|
13623
13647
|
);
|
|
13624
|
-
var NoDataActions =
|
|
13648
|
+
var NoDataActions = React114.default.forwardRef(
|
|
13625
13649
|
function NoDataActions2({ actions, variant = "outline", className, children, ...props }, ref) {
|
|
13626
|
-
const blocks = actions ? actions.map((action, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, NoDataAction, { ...action }, index)) :
|
|
13650
|
+
const blocks = actions ? actions.map((action, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, NoDataAction, { ...action }, index)) : React114.default.Children.toArray(children);
|
|
13627
13651
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13628
13652
|
"div",
|
|
13629
13653
|
{
|
|
13630
13654
|
ref,
|
|
13631
13655
|
className: _chunkFIG2RKZFcjs.cn.call(void 0, noDataActionsVariants({ variant }), "flex w-full flex-col md:w-auto md:flex-row", className),
|
|
13632
13656
|
...props,
|
|
13633
|
-
children: blocks.map((block, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13657
|
+
children: blocks.map((block, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React114.default.Fragment, { children: [
|
|
13634
13658
|
index > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13635
13659
|
"div",
|
|
13636
13660
|
{
|
|
@@ -13647,7 +13671,7 @@ var NoDataActions = React113.default.forwardRef(
|
|
|
13647
13671
|
|
|
13648
13672
|
// src/components/ui/no-data/no-data.tsx
|
|
13649
13673
|
|
|
13650
|
-
var NoData =
|
|
13674
|
+
var NoData = React114.default.forwardRef(function NoData2({
|
|
13651
13675
|
icon,
|
|
13652
13676
|
title,
|
|
13653
13677
|
description,
|
|
@@ -13935,6 +13959,183 @@ var Switch = React48.forwardRef(({ className, checked, onCheckedChange, ...props
|
|
|
13935
13959
|
});
|
|
13936
13960
|
Switch.displayName = SwitchPrimitives.Root.displayName;
|
|
13937
13961
|
|
|
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
|
+
|
|
13938
14139
|
// src/components/ui/tags-input.tsx
|
|
13939
14140
|
|
|
13940
14141
|
|
|
@@ -13980,7 +14181,7 @@ function TagsInput({
|
|
|
13980
14181
|
badgeClassName,
|
|
13981
14182
|
label
|
|
13982
14183
|
}) {
|
|
13983
|
-
const [inputValue, setInputValue] =
|
|
14184
|
+
const [inputValue, setInputValue] = React50.useState("");
|
|
13984
14185
|
const handleAddTag = () => {
|
|
13985
14186
|
const trimmedValue = inputValue.trim();
|
|
13986
14187
|
if (!trimmedValue) return;
|
|
@@ -14086,19 +14287,19 @@ function TagsManager({
|
|
|
14086
14287
|
disabled = false,
|
|
14087
14288
|
className
|
|
14088
14289
|
}) {
|
|
14089
|
-
const [open, setOpen] =
|
|
14090
|
-
const [search, setSearch] =
|
|
14091
|
-
const [editingId, setEditingId] =
|
|
14092
|
-
const [editingName, setEditingName] =
|
|
14093
|
-
const editInputRef =
|
|
14094
|
-
const inputRef =
|
|
14095
|
-
const containerRef =
|
|
14290
|
+
const [open, setOpen] = React51.useState(false);
|
|
14291
|
+
const [search, setSearch] = React51.useState("");
|
|
14292
|
+
const [editingId, setEditingId] = React51.useState(null);
|
|
14293
|
+
const [editingName, setEditingName] = React51.useState("");
|
|
14294
|
+
const editInputRef = React51.useRef(null);
|
|
14295
|
+
const inputRef = React51.useRef(null);
|
|
14296
|
+
const containerRef = React51.useRef(null);
|
|
14096
14297
|
const selectedTags = tags.filter((t) => selectedIds.includes(t.id));
|
|
14097
14298
|
const filtered = tags.filter(
|
|
14098
14299
|
(t) => t.name.toLowerCase().includes(search.toLowerCase())
|
|
14099
14300
|
);
|
|
14100
14301
|
const showCreateOption = onCreateTag && search.trim() && !tags.some((t) => t.name.toLowerCase() === search.trim().toLowerCase());
|
|
14101
|
-
const toggleTag =
|
|
14302
|
+
const toggleTag = React51.useCallback(
|
|
14102
14303
|
(id) => {
|
|
14103
14304
|
if (selectedIds.includes(id)) {
|
|
14104
14305
|
onChange(selectedIds.filter((i) => i !== id));
|
|
@@ -14108,7 +14309,7 @@ function TagsManager({
|
|
|
14108
14309
|
},
|
|
14109
14310
|
[selectedIds, onChange]
|
|
14110
14311
|
);
|
|
14111
|
-
const handleCreate =
|
|
14312
|
+
const handleCreate = React51.useCallback(async () => {
|
|
14112
14313
|
if (!onCreateTag) return;
|
|
14113
14314
|
const name = search.trim();
|
|
14114
14315
|
if (!name) return;
|
|
@@ -14118,22 +14319,22 @@ function TagsManager({
|
|
|
14118
14319
|
setSearch("");
|
|
14119
14320
|
}
|
|
14120
14321
|
}, [search, onCreateTag, selectedIds, onChange]);
|
|
14121
|
-
const startEdit =
|
|
14322
|
+
const startEdit = React51.useCallback((id, name) => {
|
|
14122
14323
|
setEditingId(id);
|
|
14123
14324
|
setEditingName(name);
|
|
14124
14325
|
setTimeout(() => _optionalChain([editInputRef, 'access', _265 => _265.current, 'optionalAccess', _266 => _266.focus, 'call', _267 => _267()]), 0);
|
|
14125
14326
|
}, []);
|
|
14126
|
-
const confirmEdit =
|
|
14327
|
+
const confirmEdit = React51.useCallback(async () => {
|
|
14127
14328
|
if (!onUpdateTag || !editingId || !editingName.trim()) return;
|
|
14128
14329
|
await onUpdateTag(editingId, editingName.trim());
|
|
14129
14330
|
setEditingId(null);
|
|
14130
14331
|
setEditingName("");
|
|
14131
14332
|
}, [editingId, editingName, onUpdateTag]);
|
|
14132
|
-
const cancelEdit =
|
|
14333
|
+
const cancelEdit = React51.useCallback(() => {
|
|
14133
14334
|
setEditingId(null);
|
|
14134
14335
|
setEditingName("");
|
|
14135
14336
|
}, []);
|
|
14136
|
-
const handleDelete =
|
|
14337
|
+
const handleDelete = React51.useCallback(
|
|
14137
14338
|
async (id) => {
|
|
14138
14339
|
if (!onDeleteTag) return;
|
|
14139
14340
|
await onDeleteTag(id);
|
|
@@ -14143,7 +14344,7 @@ function TagsManager({
|
|
|
14143
14344
|
},
|
|
14144
14345
|
[onDeleteTag, selectedIds, onChange]
|
|
14145
14346
|
);
|
|
14146
|
-
const handleClearAll =
|
|
14347
|
+
const handleClearAll = React51.useCallback(
|
|
14147
14348
|
(e) => {
|
|
14148
14349
|
e.stopPropagation();
|
|
14149
14350
|
onChange([]);
|
|
@@ -14152,8 +14353,8 @@ function TagsManager({
|
|
|
14152
14353
|
},
|
|
14153
14354
|
[onChange]
|
|
14154
14355
|
);
|
|
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,
|
|
14156
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
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, PopoverPrimitive4.Root, { open, onOpenChange: setOpen, children: [
|
|
14357
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverPrimitive4.Anchor, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14157
14358
|
"label",
|
|
14158
14359
|
{
|
|
14159
14360
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
@@ -14226,14 +14427,14 @@ function TagsManager({
|
|
|
14226
14427
|
onClick: handleClearAll,
|
|
14227
14428
|
className: "flex-shrink-0 flex items-center justify-center hover:opacity-70 transition-opacity [&_svg]:size-4 md:[&_svg]:size-6",
|
|
14228
14429
|
"aria-label": "Clear all tags",
|
|
14229
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14430
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.XmarkCircleIcon, { className: "text-ods-text-secondary" })
|
|
14230
14431
|
}
|
|
14231
14432
|
)
|
|
14232
14433
|
]
|
|
14233
14434
|
}
|
|
14234
14435
|
) }),
|
|
14235
14436
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14236
|
-
|
|
14437
|
+
PopoverPrimitive4.Content,
|
|
14237
14438
|
{
|
|
14238
14439
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
14239
14440
|
"z-50 w-[var(--radix-popover-trigger-width)] mt-1",
|
|
@@ -14286,7 +14487,7 @@ function TagsManager({
|
|
|
14286
14487
|
size: "icon",
|
|
14287
14488
|
onClick: confirmEdit,
|
|
14288
14489
|
disabled: isUpdating,
|
|
14289
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14490
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.CheckIcon, { size: 14, className: "text-ods-success" })
|
|
14290
14491
|
}
|
|
14291
14492
|
),
|
|
14292
14493
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -14297,7 +14498,7 @@ function TagsManager({
|
|
|
14297
14498
|
size: "icon",
|
|
14298
14499
|
onClick: cancelEdit,
|
|
14299
14500
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14300
|
-
|
|
14501
|
+
_chunkCCG4DARMcjs.XmarkIcon,
|
|
14301
14502
|
{
|
|
14302
14503
|
size: 14,
|
|
14303
14504
|
className: "text-ods-text-secondary"
|
|
@@ -14333,7 +14534,7 @@ function TagsManager({
|
|
|
14333
14534
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", title: tag.name, children: tag.name }),
|
|
14334
14535
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1 shrink-0", children: [
|
|
14335
14536
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14336
|
-
|
|
14537
|
+
_chunkCCG4DARMcjs.CheckIcon,
|
|
14337
14538
|
{
|
|
14338
14539
|
className: "text-ods-accent",
|
|
14339
14540
|
size: 20
|
|
@@ -14351,7 +14552,7 @@ function TagsManager({
|
|
|
14351
14552
|
startEdit(tag.id, tag.name);
|
|
14352
14553
|
},
|
|
14353
14554
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14354
|
-
|
|
14555
|
+
_chunkCCG4DARMcjs.PencilIcon,
|
|
14355
14556
|
{
|
|
14356
14557
|
size: 14,
|
|
14357
14558
|
className: "text-ods-text-secondary"
|
|
@@ -14371,7 +14572,7 @@ function TagsManager({
|
|
|
14371
14572
|
},
|
|
14372
14573
|
disabled: isDeleting,
|
|
14373
14574
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14374
|
-
|
|
14575
|
+
_chunkCCG4DARMcjs.TrashIcon,
|
|
14375
14576
|
{
|
|
14376
14577
|
size: 14,
|
|
14377
14578
|
className: "text-ods-error"
|
|
@@ -14405,7 +14606,7 @@ function TagsManager({
|
|
|
14405
14606
|
},
|
|
14406
14607
|
children: [
|
|
14407
14608
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14408
|
-
|
|
14609
|
+
_chunkCCG4DARMcjs.PlusIcon,
|
|
14409
14610
|
{
|
|
14410
14611
|
size: 16,
|
|
14411
14612
|
className: "text-ods-accent shrink-0"
|
|
@@ -14439,11 +14640,11 @@ function TagsManager({
|
|
|
14439
14640
|
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
14440
14641
|
|
|
14441
14642
|
|
|
14442
|
-
var Textarea =
|
|
14643
|
+
var Textarea = React52.forwardRef(
|
|
14443
14644
|
({ className, invalid = false, label, error, endIcon, endIconAsButton = false, endIconButtonProps, startIcon, hideBorder = false, ...props }, ref) => {
|
|
14444
14645
|
const isInvalid = invalid || !!error;
|
|
14445
14646
|
const hasAdornment = !!endIcon || !!startIcon;
|
|
14446
|
-
const reactId =
|
|
14647
|
+
const reactId = React52.useId();
|
|
14447
14648
|
const fieldId = _nullishCoalesce(props.id, () => ( reactId));
|
|
14448
14649
|
if (!hasAdornment) {
|
|
14449
14650
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQJGRP2YEcjs.FieldWrapper, { label, error, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -14582,7 +14783,7 @@ var _reactalertdialog = require('@radix-ui/react-alert-dialog'); var AlertDialog
|
|
|
14582
14783
|
var AlertDialog = AlertDialogPrimitive.Root;
|
|
14583
14784
|
var AlertDialogTrigger = AlertDialogPrimitive.Trigger;
|
|
14584
14785
|
var AlertDialogPortal = AlertDialogPrimitive.Portal;
|
|
14585
|
-
var AlertDialogOverlay =
|
|
14786
|
+
var AlertDialogOverlay = React53.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14586
14787
|
AlertDialogPrimitive.Overlay,
|
|
14587
14788
|
{
|
|
14588
14789
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
@@ -14594,7 +14795,7 @@ var AlertDialogOverlay = React52.forwardRef(({ className, ...props }, ref) => /*
|
|
|
14594
14795
|
}
|
|
14595
14796
|
));
|
|
14596
14797
|
AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;
|
|
14597
|
-
var AlertDialogContent =
|
|
14798
|
+
var AlertDialogContent = React53.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, AlertDialogPortal, { children: [
|
|
14598
14799
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDialogOverlay, {}),
|
|
14599
14800
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14600
14801
|
AlertDialogPrimitive.Content,
|
|
@@ -14637,7 +14838,7 @@ var AlertDialogFooter = ({
|
|
|
14637
14838
|
}
|
|
14638
14839
|
);
|
|
14639
14840
|
AlertDialogFooter.displayName = "AlertDialogFooter";
|
|
14640
|
-
var AlertDialogTitle =
|
|
14841
|
+
var AlertDialogTitle = React53.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14641
14842
|
AlertDialogPrimitive.Title,
|
|
14642
14843
|
{
|
|
14643
14844
|
ref,
|
|
@@ -14646,7 +14847,7 @@ var AlertDialogTitle = React52.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
14646
14847
|
}
|
|
14647
14848
|
));
|
|
14648
14849
|
AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;
|
|
14649
|
-
var AlertDialogDescription =
|
|
14850
|
+
var AlertDialogDescription = React53.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14650
14851
|
AlertDialogPrimitive.Description,
|
|
14651
14852
|
{
|
|
14652
14853
|
ref,
|
|
@@ -14655,7 +14856,7 @@ var AlertDialogDescription = React52.forwardRef(({ className, ...props }, ref) =
|
|
|
14655
14856
|
}
|
|
14656
14857
|
));
|
|
14657
14858
|
AlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;
|
|
14658
|
-
var AlertDialogAction =
|
|
14859
|
+
var AlertDialogAction = React53.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14659
14860
|
AlertDialogPrimitive.Action,
|
|
14660
14861
|
{
|
|
14661
14862
|
ref,
|
|
@@ -14664,7 +14865,7 @@ var AlertDialogAction = React52.forwardRef(({ className, ...props }, ref) => /*
|
|
|
14664
14865
|
}
|
|
14665
14866
|
));
|
|
14666
14867
|
AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;
|
|
14667
|
-
var AlertDialogCancel =
|
|
14868
|
+
var AlertDialogCancel = React53.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14668
14869
|
AlertDialogPrimitive.Cancel,
|
|
14669
14870
|
{
|
|
14670
14871
|
ref,
|
|
@@ -14692,7 +14893,7 @@ var Dialog = DialogPrimitive.Root;
|
|
|
14692
14893
|
var DialogTrigger = DialogPrimitive.Trigger;
|
|
14693
14894
|
var DialogPortal = DialogPrimitive.Portal;
|
|
14694
14895
|
var DialogClose = DialogPrimitive.Close;
|
|
14695
|
-
var DialogOverlay =
|
|
14896
|
+
var DialogOverlay = React54.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14696
14897
|
DialogPrimitive.Overlay,
|
|
14697
14898
|
{
|
|
14698
14899
|
ref,
|
|
@@ -14704,7 +14905,7 @@ var DialogOverlay = React53.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
|
14704
14905
|
}
|
|
14705
14906
|
));
|
|
14706
14907
|
DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
|
|
14707
|
-
var DialogContent =
|
|
14908
|
+
var DialogContent = React54.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DialogPortal, { children: [
|
|
14708
14909
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogOverlay, {}),
|
|
14709
14910
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14710
14911
|
DialogPrimitive.Content,
|
|
@@ -14730,7 +14931,7 @@ var DialogHeader = ({ className, ...props }) => /* @__PURE__ */ _jsxruntime.jsx.
|
|
|
14730
14931
|
DialogHeader.displayName = "DialogHeader";
|
|
14731
14932
|
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 });
|
|
14732
14933
|
DialogFooter.displayName = "DialogFooter";
|
|
14733
|
-
var DialogTitle =
|
|
14934
|
+
var DialogTitle = React54.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14734
14935
|
DialogPrimitive.Title,
|
|
14735
14936
|
{
|
|
14736
14937
|
ref,
|
|
@@ -14739,7 +14940,7 @@ var DialogTitle = React53.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
14739
14940
|
}
|
|
14740
14941
|
));
|
|
14741
14942
|
DialogTitle.displayName = DialogPrimitive.Title.displayName;
|
|
14742
|
-
var DialogDescription =
|
|
14943
|
+
var DialogDescription = React54.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 }));
|
|
14743
14944
|
DialogDescription.displayName = DialogPrimitive.Description.displayName;
|
|
14744
14945
|
|
|
14745
14946
|
// src/components/ui/modal.tsx
|
|
@@ -14747,7 +14948,7 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
14747
14948
|
|
|
14748
14949
|
|
|
14749
14950
|
|
|
14750
|
-
var Modal2 =
|
|
14951
|
+
var Modal2 = React55.forwardRef(
|
|
14751
14952
|
({ isOpen, onClose, children, className }, ref) => {
|
|
14752
14953
|
_react.useEffect.call(void 0, () => {
|
|
14753
14954
|
const handleKeyDown = (event) => {
|
|
@@ -14791,11 +14992,11 @@ var Modal2 = React54.forwardRef(
|
|
|
14791
14992
|
}
|
|
14792
14993
|
);
|
|
14793
14994
|
Modal2.displayName = "Modal";
|
|
14794
|
-
var ModalContent2 =
|
|
14995
|
+
var ModalContent2 = React55.forwardRef(
|
|
14795
14996
|
({ 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 })
|
|
14796
14997
|
);
|
|
14797
14998
|
ModalContent2.displayName = "ModalContent";
|
|
14798
|
-
var ModalHeader2 =
|
|
14999
|
+
var ModalHeader2 = React55.forwardRef(
|
|
14799
15000
|
({ children, className }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14800
15001
|
"div",
|
|
14801
15002
|
{
|
|
@@ -14806,7 +15007,7 @@ var ModalHeader2 = React54.forwardRef(
|
|
|
14806
15007
|
)
|
|
14807
15008
|
);
|
|
14808
15009
|
ModalHeader2.displayName = "ModalHeader";
|
|
14809
|
-
var ModalTitle2 =
|
|
15010
|
+
var ModalTitle2 = React55.forwardRef(
|
|
14810
15011
|
({ children, className }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14811
15012
|
"h2",
|
|
14812
15013
|
{
|
|
@@ -14817,7 +15018,7 @@ var ModalTitle2 = React54.forwardRef(
|
|
|
14817
15018
|
)
|
|
14818
15019
|
);
|
|
14819
15020
|
ModalTitle2.displayName = "ModalTitle";
|
|
14820
|
-
var ModalFooter2 =
|
|
15021
|
+
var ModalFooter2 = React55.forwardRef(
|
|
14821
15022
|
({ children, className }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14822
15023
|
"div",
|
|
14823
15024
|
{
|
|
@@ -14834,7 +15035,7 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
14834
15035
|
|
|
14835
15036
|
var _reactseparator = require('@radix-ui/react-separator'); var SeparatorPrimitive = _interopRequireWildcard(_reactseparator);
|
|
14836
15037
|
|
|
14837
|
-
var Separator2 =
|
|
15038
|
+
var Separator2 = React56.forwardRef(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14838
15039
|
SeparatorPrimitive.Root,
|
|
14839
15040
|
{
|
|
14840
15041
|
ref,
|
|
@@ -14857,7 +15058,7 @@ var Sheet = SheetPrimitive.Root;
|
|
|
14857
15058
|
var SheetTrigger = SheetPrimitive.Trigger;
|
|
14858
15059
|
var SheetClose = SheetPrimitive.Close;
|
|
14859
15060
|
var SheetPortal = SheetPrimitive.Portal;
|
|
14860
|
-
var SheetOverlay =
|
|
15061
|
+
var SheetOverlay = React57.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14861
15062
|
SheetPrimitive.Overlay,
|
|
14862
15063
|
{
|
|
14863
15064
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
@@ -14885,7 +15086,7 @@ var sheetVariants = _classvarianceauthority.cva.call(void 0,
|
|
|
14885
15086
|
}
|
|
14886
15087
|
}
|
|
14887
15088
|
);
|
|
14888
|
-
var SheetContent =
|
|
15089
|
+
var SheetContent = React57.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, SheetPortal, { children: [
|
|
14889
15090
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SheetOverlay, {}),
|
|
14890
15091
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14891
15092
|
SheetPrimitive.Content,
|
|
@@ -14932,7 +15133,7 @@ var SheetFooter = ({
|
|
|
14932
15133
|
}
|
|
14933
15134
|
);
|
|
14934
15135
|
SheetFooter.displayName = "SheetFooter";
|
|
14935
|
-
var SheetTitle =
|
|
15136
|
+
var SheetTitle = React57.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14936
15137
|
SheetPrimitive.Title,
|
|
14937
15138
|
{
|
|
14938
15139
|
ref,
|
|
@@ -14941,7 +15142,7 @@ var SheetTitle = React56.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
14941
15142
|
}
|
|
14942
15143
|
));
|
|
14943
15144
|
SheetTitle.displayName = SheetPrimitive.Title.displayName;
|
|
14944
|
-
var SheetDescription =
|
|
15145
|
+
var SheetDescription = React57.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14945
15146
|
SheetPrimitive.Description,
|
|
14946
15147
|
{
|
|
14947
15148
|
ref,
|
|
@@ -14962,7 +15163,7 @@ var Drawer = DialogPrimitive2.Root;
|
|
|
14962
15163
|
var DrawerTrigger = DialogPrimitive2.Trigger;
|
|
14963
15164
|
var DrawerClose = DialogPrimitive2.Close;
|
|
14964
15165
|
var DrawerPortal = DialogPrimitive2.Portal;
|
|
14965
|
-
var DrawerOverlay =
|
|
15166
|
+
var DrawerOverlay = React58.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14966
15167
|
DialogPrimitive2.Overlay,
|
|
14967
15168
|
{
|
|
14968
15169
|
ref,
|
|
@@ -15058,7 +15259,7 @@ function useResizableSize({
|
|
|
15058
15259
|
defaultSize,
|
|
15059
15260
|
storageKey
|
|
15060
15261
|
}) {
|
|
15061
|
-
const clampToViewport =
|
|
15262
|
+
const clampToViewport = React58.useCallback(
|
|
15062
15263
|
(value) => {
|
|
15063
15264
|
const vp = viewportSize(isHorizontal);
|
|
15064
15265
|
const effectiveMax = vp > 0 ? Math.min(maxSize, vp - 80) : maxSize;
|
|
@@ -15066,7 +15267,7 @@ function useResizableSize({
|
|
|
15066
15267
|
},
|
|
15067
15268
|
[isHorizontal, minSize, maxSize]
|
|
15068
15269
|
);
|
|
15069
|
-
const readInitial =
|
|
15270
|
+
const readInitial = React58.useCallback(() => {
|
|
15070
15271
|
if (!enabled) return defaultSize;
|
|
15071
15272
|
if (typeof window === "undefined") return defaultSize;
|
|
15072
15273
|
if (!storageKey) return clampToViewport(defaultSize);
|
|
@@ -15080,19 +15281,19 @@ function useResizableSize({
|
|
|
15080
15281
|
return clampToViewport(defaultSize);
|
|
15081
15282
|
}
|
|
15082
15283
|
}, [enabled, storageKey, defaultSize, clampToViewport]);
|
|
15083
|
-
const [size, setSizeRaw] =
|
|
15084
|
-
const setSize =
|
|
15284
|
+
const [size, setSizeRaw] = React58.useState(readInitial);
|
|
15285
|
+
const setSize = React58.useCallback(
|
|
15085
15286
|
(next) => setSizeRaw(clampToViewport(next)),
|
|
15086
15287
|
[clampToViewport]
|
|
15087
15288
|
);
|
|
15088
|
-
|
|
15289
|
+
React58.useEffect(() => {
|
|
15089
15290
|
if (!enabled || !storageKey || typeof window === "undefined") return;
|
|
15090
15291
|
try {
|
|
15091
15292
|
window.localStorage.setItem(storageKey, String(Math.round(size)));
|
|
15092
15293
|
} catch (e17) {
|
|
15093
15294
|
}
|
|
15094
15295
|
}, [enabled, size, storageKey]);
|
|
15095
|
-
|
|
15296
|
+
React58.useEffect(() => {
|
|
15096
15297
|
if (!enabled || typeof window === "undefined") return;
|
|
15097
15298
|
const onResize = () => setSizeRaw((prev) => clampToViewport(prev));
|
|
15098
15299
|
window.addEventListener("resize", onResize);
|
|
@@ -15109,7 +15310,7 @@ function DrawerResizeHandle({
|
|
|
15109
15310
|
ariaLabel
|
|
15110
15311
|
}) {
|
|
15111
15312
|
const isHorizontal = HORIZONTAL_SIDES.has(side);
|
|
15112
|
-
const startRef =
|
|
15313
|
+
const startRef = React58.useRef(
|
|
15113
15314
|
null
|
|
15114
15315
|
);
|
|
15115
15316
|
const direction = side === "right" || side === "bottom" ? -1 : 1;
|
|
@@ -15201,7 +15402,7 @@ function DrawerResizeHandle({
|
|
|
15201
15402
|
}
|
|
15202
15403
|
);
|
|
15203
15404
|
}
|
|
15204
|
-
var DrawerContent =
|
|
15405
|
+
var DrawerContent = React58.forwardRef(
|
|
15205
15406
|
({
|
|
15206
15407
|
side = "right",
|
|
15207
15408
|
flush = false,
|
|
@@ -15224,9 +15425,9 @@ var DrawerContent = React57.forwardRef(
|
|
|
15224
15425
|
const resolvedSide = _nullishCoalesce(side, () => ( "right"));
|
|
15225
15426
|
const isHorizontal = HORIZONTAL_SIDES.has(resolvedSide);
|
|
15226
15427
|
const initialSize = _nullishCoalesce(defaultSize, () => ( (isHorizontal ? 560 : 480)));
|
|
15227
|
-
const headerHeight =
|
|
15228
|
-
const [isMobile, setIsMobile] =
|
|
15229
|
-
|
|
15428
|
+
const headerHeight = _chunkDCIB6AK3cjs.useHeaderHeight.call(void 0, );
|
|
15429
|
+
const [isMobile, setIsMobile] = React58.useState(false);
|
|
15430
|
+
React58.useEffect(() => {
|
|
15230
15431
|
if (typeof window === "undefined") return;
|
|
15231
15432
|
const mq = window.matchMedia(`(max-width: ${mobileBreakpoint - 1}px)`);
|
|
15232
15433
|
const update = () => setIsMobile(mq.matches);
|
|
@@ -15297,7 +15498,7 @@ var DrawerHeader = ({
|
|
|
15297
15498
|
}
|
|
15298
15499
|
);
|
|
15299
15500
|
DrawerHeader.displayName = "DrawerHeader";
|
|
15300
|
-
var DrawerTitle =
|
|
15501
|
+
var DrawerTitle = React58.forwardRef(({ className, children, actions, hideClose, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-4", children: [
|
|
15301
15502
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15302
15503
|
DialogPrimitive2.Title,
|
|
15303
15504
|
{
|
|
@@ -15317,7 +15518,7 @@ var DrawerTitle = React57.forwardRef(({ className, children, actions, hideClose,
|
|
|
15317
15518
|
] })
|
|
15318
15519
|
] }));
|
|
15319
15520
|
DrawerTitle.displayName = "DrawerTitle";
|
|
15320
|
-
var DrawerDescription =
|
|
15521
|
+
var DrawerDescription = React58.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15321
15522
|
DialogPrimitive2.Description,
|
|
15322
15523
|
{
|
|
15323
15524
|
ref,
|
|
@@ -15359,9 +15560,9 @@ var _reactaccordion = require('@radix-ui/react-accordion'); var AccordionPrimiti
|
|
|
15359
15560
|
|
|
15360
15561
|
|
|
15361
15562
|
var Accordion = AccordionPrimitive.Root;
|
|
15362
|
-
var AccordionItem =
|
|
15563
|
+
var AccordionItem = React59.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AccordionPrimitive.Item, { ref, className: _chunkFIG2RKZFcjs.cn.call(void 0, "border-b", className), ...props }));
|
|
15363
15564
|
AccordionItem.displayName = "AccordionItem";
|
|
15364
|
-
var AccordionTrigger =
|
|
15565
|
+
var AccordionTrigger = React59.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AccordionPrimitive.Header, { className: "flex", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15365
15566
|
AccordionPrimitive.Trigger,
|
|
15366
15567
|
{
|
|
15367
15568
|
ref,
|
|
@@ -15377,7 +15578,7 @@ var AccordionTrigger = React58.forwardRef(({ className, children, ...props }, re
|
|
|
15377
15578
|
}
|
|
15378
15579
|
) }));
|
|
15379
15580
|
AccordionTrigger.displayName = "AccordionTrigger";
|
|
15380
|
-
var AccordionContent =
|
|
15581
|
+
var AccordionContent = React59.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15381
15582
|
AccordionPrimitive.Content,
|
|
15382
15583
|
{
|
|
15383
15584
|
ref,
|
|
@@ -15397,9 +15598,9 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
15397
15598
|
var _reactslot = require('@radix-ui/react-slot');
|
|
15398
15599
|
|
|
15399
15600
|
|
|
15400
|
-
var Breadcrumb =
|
|
15601
|
+
var Breadcrumb = React60.forwardRef(({ ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "nav", { ref, "aria-label": "breadcrumb", ...props }));
|
|
15401
15602
|
Breadcrumb.displayName = "Breadcrumb";
|
|
15402
|
-
var BreadcrumbList =
|
|
15603
|
+
var BreadcrumbList = React60.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15403
15604
|
"ol",
|
|
15404
15605
|
{
|
|
15405
15606
|
ref,
|
|
@@ -15411,7 +15612,7 @@ var BreadcrumbList = React59.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
15411
15612
|
}
|
|
15412
15613
|
));
|
|
15413
15614
|
BreadcrumbList.displayName = "BreadcrumbList";
|
|
15414
|
-
var BreadcrumbItem =
|
|
15615
|
+
var BreadcrumbItem = React60.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15415
15616
|
"li",
|
|
15416
15617
|
{
|
|
15417
15618
|
ref,
|
|
@@ -15420,7 +15621,7 @@ var BreadcrumbItem = React59.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
15420
15621
|
}
|
|
15421
15622
|
));
|
|
15422
15623
|
BreadcrumbItem.displayName = "BreadcrumbItem";
|
|
15423
|
-
var BreadcrumbLink =
|
|
15624
|
+
var BreadcrumbLink = React60.forwardRef(({ asChild, className, ...props }, ref) => {
|
|
15424
15625
|
const Comp = asChild ? _reactslot.Slot : "a";
|
|
15425
15626
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15426
15627
|
Comp,
|
|
@@ -15432,7 +15633,7 @@ var BreadcrumbLink = React59.forwardRef(({ asChild, className, ...props }, ref)
|
|
|
15432
15633
|
);
|
|
15433
15634
|
});
|
|
15434
15635
|
BreadcrumbLink.displayName = "BreadcrumbLink";
|
|
15435
|
-
var BreadcrumbPage =
|
|
15636
|
+
var BreadcrumbPage = React60.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15436
15637
|
"span",
|
|
15437
15638
|
{
|
|
15438
15639
|
ref,
|
|
@@ -15488,7 +15689,7 @@ var MenubarGroup = MenubarPrimitive.Group;
|
|
|
15488
15689
|
var MenubarPortal = MenubarPrimitive.Portal;
|
|
15489
15690
|
var MenubarSub = MenubarPrimitive.Sub;
|
|
15490
15691
|
var MenubarRadioGroup = MenubarPrimitive.RadioGroup;
|
|
15491
|
-
var Menubar =
|
|
15692
|
+
var Menubar = React61.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15492
15693
|
MenubarPrimitive.Root,
|
|
15493
15694
|
{
|
|
15494
15695
|
ref,
|
|
@@ -15500,7 +15701,7 @@ var Menubar = React60.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
15500
15701
|
}
|
|
15501
15702
|
));
|
|
15502
15703
|
Menubar.displayName = MenubarPrimitive.Root.displayName;
|
|
15503
|
-
var MenubarTrigger =
|
|
15704
|
+
var MenubarTrigger = React61.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15504
15705
|
MenubarPrimitive.Trigger,
|
|
15505
15706
|
{
|
|
15506
15707
|
ref,
|
|
@@ -15512,7 +15713,7 @@ var MenubarTrigger = React60.forwardRef(({ className, ...props }, ref) => /* @__
|
|
|
15512
15713
|
}
|
|
15513
15714
|
));
|
|
15514
15715
|
MenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;
|
|
15515
|
-
var MenubarSubTrigger =
|
|
15716
|
+
var MenubarSubTrigger = React61.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15516
15717
|
MenubarPrimitive.SubTrigger,
|
|
15517
15718
|
{
|
|
15518
15719
|
ref,
|
|
@@ -15529,7 +15730,7 @@ var MenubarSubTrigger = React60.forwardRef(({ className, inset, children, ...pro
|
|
|
15529
15730
|
}
|
|
15530
15731
|
));
|
|
15531
15732
|
MenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;
|
|
15532
|
-
var MenubarSubContent =
|
|
15733
|
+
var MenubarSubContent = React61.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15533
15734
|
MenubarPrimitive.SubContent,
|
|
15534
15735
|
{
|
|
15535
15736
|
ref,
|
|
@@ -15541,7 +15742,7 @@ var MenubarSubContent = React60.forwardRef(({ className, ...props }, ref) => /*
|
|
|
15541
15742
|
}
|
|
15542
15743
|
));
|
|
15543
15744
|
MenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;
|
|
15544
|
-
var MenubarContent =
|
|
15745
|
+
var MenubarContent = React61.forwardRef(
|
|
15545
15746
|
({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MenubarPrimitive.Portal, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15546
15747
|
MenubarPrimitive.Content,
|
|
15547
15748
|
{
|
|
@@ -15558,7 +15759,7 @@ var MenubarContent = React60.forwardRef(
|
|
|
15558
15759
|
) })
|
|
15559
15760
|
);
|
|
15560
15761
|
MenubarContent.displayName = MenubarPrimitive.Content.displayName;
|
|
15561
|
-
var MenubarItem =
|
|
15762
|
+
var MenubarItem = React61.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15562
15763
|
MenubarPrimitive.Item,
|
|
15563
15764
|
{
|
|
15564
15765
|
ref,
|
|
@@ -15571,7 +15772,7 @@ var MenubarItem = React60.forwardRef(({ className, inset, ...props }, ref) => /*
|
|
|
15571
15772
|
}
|
|
15572
15773
|
));
|
|
15573
15774
|
MenubarItem.displayName = MenubarPrimitive.Item.displayName;
|
|
15574
|
-
var MenubarCheckboxItem =
|
|
15775
|
+
var MenubarCheckboxItem = React61.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15575
15776
|
MenubarPrimitive.CheckboxItem,
|
|
15576
15777
|
{
|
|
15577
15778
|
ref,
|
|
@@ -15588,7 +15789,7 @@ var MenubarCheckboxItem = React60.forwardRef(({ className, children, checked, ..
|
|
|
15588
15789
|
}
|
|
15589
15790
|
));
|
|
15590
15791
|
MenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;
|
|
15591
|
-
var MenubarRadioItem =
|
|
15792
|
+
var MenubarRadioItem = React61.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15592
15793
|
MenubarPrimitive.RadioItem,
|
|
15593
15794
|
{
|
|
15594
15795
|
ref,
|
|
@@ -15604,7 +15805,7 @@ var MenubarRadioItem = React60.forwardRef(({ className, children, ...props }, re
|
|
|
15604
15805
|
}
|
|
15605
15806
|
));
|
|
15606
15807
|
MenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;
|
|
15607
|
-
var MenubarLabel =
|
|
15808
|
+
var MenubarLabel = React61.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15608
15809
|
MenubarPrimitive.Label,
|
|
15609
15810
|
{
|
|
15610
15811
|
ref,
|
|
@@ -15617,7 +15818,7 @@ var MenubarLabel = React60.forwardRef(({ className, inset, ...props }, ref) => /
|
|
|
15617
15818
|
}
|
|
15618
15819
|
));
|
|
15619
15820
|
MenubarLabel.displayName = MenubarPrimitive.Label.displayName;
|
|
15620
|
-
var MenubarSeparator =
|
|
15821
|
+
var MenubarSeparator = React61.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15621
15822
|
MenubarPrimitive.Separator,
|
|
15622
15823
|
{
|
|
15623
15824
|
ref,
|
|
@@ -15650,7 +15851,7 @@ var _reactnavigationmenu = require('@radix-ui/react-navigation-menu'); var Navig
|
|
|
15650
15851
|
|
|
15651
15852
|
|
|
15652
15853
|
|
|
15653
|
-
var NavigationMenu =
|
|
15854
|
+
var NavigationMenu = React62.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15654
15855
|
NavigationMenuPrimitive.Root,
|
|
15655
15856
|
{
|
|
15656
15857
|
ref,
|
|
@@ -15666,7 +15867,7 @@ var NavigationMenu = React61.forwardRef(({ className, children, ...props }, ref)
|
|
|
15666
15867
|
}
|
|
15667
15868
|
));
|
|
15668
15869
|
NavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;
|
|
15669
|
-
var NavigationMenuList =
|
|
15870
|
+
var NavigationMenuList = React62.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15670
15871
|
NavigationMenuPrimitive.List,
|
|
15671
15872
|
{
|
|
15672
15873
|
ref,
|
|
@@ -15682,7 +15883,7 @@ var NavigationMenuItem = NavigationMenuPrimitive.Item;
|
|
|
15682
15883
|
var navigationMenuTriggerStyle = _classvarianceauthority.cva.call(void 0,
|
|
15683
15884
|
"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"
|
|
15684
15885
|
);
|
|
15685
|
-
var NavigationMenuTrigger =
|
|
15886
|
+
var NavigationMenuTrigger = React62.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15686
15887
|
NavigationMenuPrimitive.Trigger,
|
|
15687
15888
|
{
|
|
15688
15889
|
ref,
|
|
@@ -15702,7 +15903,7 @@ var NavigationMenuTrigger = React61.forwardRef(({ className, children, ...props
|
|
|
15702
15903
|
}
|
|
15703
15904
|
));
|
|
15704
15905
|
NavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;
|
|
15705
|
-
var NavigationMenuContent =
|
|
15906
|
+
var NavigationMenuContent = React62.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15706
15907
|
NavigationMenuPrimitive.Content,
|
|
15707
15908
|
{
|
|
15708
15909
|
ref,
|
|
@@ -15715,7 +15916,7 @@ var NavigationMenuContent = React61.forwardRef(({ className, ...props }, ref) =>
|
|
|
15715
15916
|
));
|
|
15716
15917
|
NavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;
|
|
15717
15918
|
var NavigationMenuLink = NavigationMenuPrimitive.Link;
|
|
15718
|
-
var NavigationMenuViewport =
|
|
15919
|
+
var NavigationMenuViewport = React62.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,
|
|
15719
15920
|
NavigationMenuPrimitive.Viewport,
|
|
15720
15921
|
{
|
|
15721
15922
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
@@ -15727,7 +15928,7 @@ var NavigationMenuViewport = React61.forwardRef(({ className, ...props }, ref) =
|
|
|
15727
15928
|
}
|
|
15728
15929
|
) }));
|
|
15729
15930
|
NavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;
|
|
15730
|
-
var NavigationMenuIndicator =
|
|
15931
|
+
var NavigationMenuIndicator = React62.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15731
15932
|
NavigationMenuPrimitive.Indicator,
|
|
15732
15933
|
{
|
|
15733
15934
|
ref,
|
|
@@ -15922,7 +16123,7 @@ var alertVariants = _classvarianceauthority.cva.call(void 0,
|
|
|
15922
16123
|
}
|
|
15923
16124
|
}
|
|
15924
16125
|
);
|
|
15925
|
-
var Alert =
|
|
16126
|
+
var Alert = React64.forwardRef(({ className, variant, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15926
16127
|
"div",
|
|
15927
16128
|
{
|
|
15928
16129
|
ref,
|
|
@@ -15932,7 +16133,7 @@ var Alert = React63.forwardRef(({ className, variant, ...props }, ref) => /* @__
|
|
|
15932
16133
|
}
|
|
15933
16134
|
));
|
|
15934
16135
|
Alert.displayName = "Alert";
|
|
15935
|
-
var AlertTitle =
|
|
16136
|
+
var AlertTitle = React64.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15936
16137
|
"h5",
|
|
15937
16138
|
{
|
|
15938
16139
|
ref,
|
|
@@ -15941,7 +16142,7 @@ var AlertTitle = React63.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
15941
16142
|
}
|
|
15942
16143
|
));
|
|
15943
16144
|
AlertTitle.displayName = "AlertTitle";
|
|
15944
|
-
var AlertDescription =
|
|
16145
|
+
var AlertDescription = React64.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15945
16146
|
"div",
|
|
15946
16147
|
{
|
|
15947
16148
|
ref,
|
|
@@ -15956,7 +16157,7 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
15956
16157
|
|
|
15957
16158
|
var _reactprogress = require('@radix-ui/react-progress'); var ProgressPrimitive = _interopRequireWildcard(_reactprogress);
|
|
15958
16159
|
|
|
15959
|
-
var Progress =
|
|
16160
|
+
var Progress = React65.forwardRef(({ className, value, indicatorClassName, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15960
16161
|
ProgressPrimitive.Root,
|
|
15961
16162
|
{
|
|
15962
16163
|
ref,
|
|
@@ -16409,7 +16610,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarousel2({
|
|
|
16409
16610
|
loading: "lazy"
|
|
16410
16611
|
}
|
|
16411
16612
|
),
|
|
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,
|
|
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, _chunkCCG4DARMcjs.PlayIcon, { size: 12, color: "white" }) }) }),
|
|
16413
16614
|
isActive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute bottom-1 right-1 w-2 h-2 bg-[#FFC008] rounded-full" })
|
|
16414
16615
|
]
|
|
16415
16616
|
},
|
|
@@ -17121,7 +17322,7 @@ function LinkedInEmbedClient({ url, height = 600 }) {
|
|
|
17121
17322
|
if (!embedUrl) {
|
|
17122
17323
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LinkedInContainer, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "p-6", children: [
|
|
17123
17324
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center space-x-3 text-ods-text-secondary mb-4", children: [
|
|
17124
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17325
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.LinkedinIcon, { className: "w-5 h-5 shrink-0" }),
|
|
17125
17326
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "LinkedIn post" })
|
|
17126
17327
|
] }),
|
|
17127
17328
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -17132,7 +17333,7 @@ function LinkedInEmbedClient({ url, height = 600 }) {
|
|
|
17132
17333
|
rel: "noopener noreferrer",
|
|
17133
17334
|
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",
|
|
17134
17335
|
children: [
|
|
17135
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17336
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.LinkedinIcon, { className: "w-4 h-4" }),
|
|
17136
17337
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "View on LinkedIn" })
|
|
17137
17338
|
]
|
|
17138
17339
|
}
|
|
@@ -17291,7 +17492,7 @@ var OGLinkPreview = ({
|
|
|
17291
17492
|
const hasImage = !!resolvedImageUrl;
|
|
17292
17493
|
const isFallbackImage = resolvedImageUrl === fallbackImage;
|
|
17293
17494
|
const isPlaceholder = resolvedImageUrl === placeholderImageUrl && !isFallbackImage;
|
|
17294
|
-
const bgColor =
|
|
17495
|
+
const bgColor = _chunkDCIB6AK3cjs.useImageEdgeColor.call(void 0, _nullishCoalesce(resolvedImageUrl, () => ( null)), "var(--ods-bg-secondary)");
|
|
17295
17496
|
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: [
|
|
17296
17497
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-[200px] h-full flex-shrink-0 bg-ods-border animate-pulse" }),
|
|
17297
17498
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 p-3 flex flex-col justify-center", children: [
|
|
@@ -17684,7 +17885,7 @@ function FigmaEmbed({ url, title, height, loading = "lazy" }) {
|
|
|
17684
17885
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "my-6 space-y-3", children: [
|
|
17685
17886
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between", children: [
|
|
17686
17887
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2 min-w-0", children: [
|
|
17687
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17888
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.FigmaIcon, { className: "w-5 h-5 shrink-0" }),
|
|
17688
17889
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-sans text-base font-semibold text-ods-text-primary truncate", children: heading })
|
|
17689
17890
|
] }),
|
|
17690
17891
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2 sm:flex-row sm:items-center", children: [
|
|
@@ -17696,7 +17897,7 @@ function FigmaEmbed({ url, title, height, loading = "lazy" }) {
|
|
|
17696
17897
|
size: "small-legacy",
|
|
17697
17898
|
href: originalUrl,
|
|
17698
17899
|
openInNewTab: true,
|
|
17699
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17900
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.FigmaIcon, { className: "w-4 h-4" }),
|
|
17700
17901
|
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "w-4 h-4" }),
|
|
17701
17902
|
className: "w-full sm:w-auto",
|
|
17702
17903
|
children: "Open in Figma"
|
|
@@ -17715,7 +17916,7 @@ function FigmaEmbed({ url, title, height, loading = "lazy" }) {
|
|
|
17715
17916
|
allowFullScreen: true
|
|
17716
17917
|
}
|
|
17717
17918
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-center justify-center py-16 text-center", children: [
|
|
17718
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17919
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.FigmaIcon, { className: "w-16 h-16 text-ods-text-secondary mb-4" }),
|
|
17719
17920
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary", children: "Figma URL not configured" })
|
|
17720
17921
|
] })
|
|
17721
17922
|
] });
|
|
@@ -18938,12 +19139,12 @@ function SortColumnItem({ column, currentDirection, onSort, onClear }) {
|
|
|
18938
19139
|
};
|
|
18939
19140
|
const getSortIcon = () => {
|
|
18940
19141
|
if (currentDirection === "asc") {
|
|
18941
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19142
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Arrow01UpIcon, { className: "w-4 h-4 text-ods-accent" });
|
|
18942
19143
|
}
|
|
18943
19144
|
if (currentDirection === "desc") {
|
|
18944
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19145
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Arrow01DownIcon, { className: "w-4 h-4 text-ods-accent" });
|
|
18945
19146
|
}
|
|
18946
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19147
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.SwitchVrIcon, { className: "w-4 h-4 text-ods-text-secondary" });
|
|
18947
19148
|
};
|
|
18948
19149
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18949
19150
|
"div",
|
|
@@ -19138,7 +19339,7 @@ function FilterModal({
|
|
|
19138
19339
|
row
|
|
19139
19340
|
)) })
|
|
19140
19341
|
] }, group)) }) : isEmpty ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-center justify-center gap-6 h-[240px] p-6", children: [
|
|
19141
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19342
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Filter02Icon, { className: "text-ods-text-secondary", size: 24 }),
|
|
19142
19343
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-center text-center text-ods-text-secondary", children: [
|
|
19143
19344
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4", children: emptyStateTitle }),
|
|
19144
19345
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6", children: emptyStateDescription })
|
|
@@ -19270,7 +19471,7 @@ function renderRawActionButton(action, opts = {}) {
|
|
|
19270
19471
|
disabled: action.disabled,
|
|
19271
19472
|
loading: action.loading,
|
|
19272
19473
|
leftIcon: action.icon,
|
|
19273
|
-
splitIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19474
|
+
splitIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Chevron02DownIcon, { className: "h-4 w-4" }),
|
|
19274
19475
|
className: opts.fullWidth ? "flex-1" : void 0,
|
|
19275
19476
|
children: action.label
|
|
19276
19477
|
}
|
|
@@ -19343,7 +19544,7 @@ function IconButtonsVariant({
|
|
|
19343
19544
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
19344
19545
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "hidden md:flex items-center", ACTIONS_GAP, className), children: [
|
|
19345
19546
|
selector,
|
|
19346
|
-
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19547
|
+
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, React114.default.Fragment, { children: renderActionButton(action) }, actionKey(action, idx))),
|
|
19347
19548
|
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionsMenuDropdown, { groups: menuActions })
|
|
19348
19549
|
] }),
|
|
19349
19550
|
/* @__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,
|
|
@@ -19368,7 +19569,7 @@ function PrimaryButtonsVariant({
|
|
|
19368
19569
|
});
|
|
19369
19570
|
const desktopActions = sortedActions.filter((a) => !a.showOnlyMobile);
|
|
19370
19571
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
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,
|
|
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, React114.default.Fragment, { children: renderActionButton(action) }, `desktop-${actionKey(action, idx)}`)) }),
|
|
19372
19573
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileBottomActions, { actions: sortedActions })
|
|
19373
19574
|
] });
|
|
19374
19575
|
}
|
|
@@ -19384,7 +19585,7 @@ function MenuPrimaryVariant({
|
|
|
19384
19585
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "hidden md:flex items-center", ACTIONS_GAP, className), children: [
|
|
19385
19586
|
selector,
|
|
19386
19587
|
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionsMenuDropdown, { groups: menuActions }),
|
|
19387
|
-
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19588
|
+
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, React114.default.Fragment, { children: renderActionButton({ ...action, variant: action.variant || "accent" }) }, `desktop-${actionKey(action, idx)}`))
|
|
19388
19589
|
] }),
|
|
19389
19590
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex md:hidden", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19390
19591
|
ActionsMenuDropdown,
|
|
@@ -19403,7 +19604,7 @@ function MobileBottomActions({ actions }) {
|
|
|
19403
19604
|
"bg-ods-card border-t border-ods-border",
|
|
19404
19605
|
"flex items-start pt-6 pb-6 px-6",
|
|
19405
19606
|
ACTIONS_GAP
|
|
19406
|
-
), children: actions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19607
|
+
), children: actions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, React114.default.Fragment, { children: renderActionButton(action, { fullWidth: !!action.label }) }, `mobile-${actionKey(action, idx)}`)) });
|
|
19407
19608
|
}
|
|
19408
19609
|
function usePageActionsBottomPadding(variant) {
|
|
19409
19610
|
return variant === "primary-buttons" || variant === "menu-primary" ? "pb-40 md:pb-0" : "";
|
|
@@ -19427,7 +19628,7 @@ function BackButton({ label = "Back", className, type = "button", ...props }) {
|
|
|
19427
19628
|
),
|
|
19428
19629
|
...props,
|
|
19429
19630
|
children: [
|
|
19430
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19631
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Chevron02LeftIcon, { className: "size-6 shrink-0" }),
|
|
19431
19632
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h4", children: label })
|
|
19432
19633
|
]
|
|
19433
19634
|
}
|
|
@@ -19652,7 +19853,7 @@ function ListPageLayout({
|
|
|
19652
19853
|
}) {
|
|
19653
19854
|
const [mobileFilterOpen, setMobileFilterOpen] = _react.useState.call(void 0, false);
|
|
19654
19855
|
const [localSearchValue, setLocalSearchValue] = _react.useState.call(void 0, searchValue);
|
|
19655
|
-
const debouncedSearchValue =
|
|
19856
|
+
const debouncedSearchValue = _chunkDCIB6AK3cjs.useDebounce.call(void 0, localSearchValue, 500);
|
|
19656
19857
|
_react.useEffect.call(void 0, () => {
|
|
19657
19858
|
setLocalSearchValue(searchValue);
|
|
19658
19859
|
}, [searchValue]);
|
|
@@ -19698,7 +19899,7 @@ function ListPageLayout({
|
|
|
19698
19899
|
className: "md:hidden",
|
|
19699
19900
|
onClick: () => setMobileFilterOpen(true),
|
|
19700
19901
|
"aria-label": "Open filters",
|
|
19701
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19902
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Filter02Icon, {})
|
|
19702
19903
|
}
|
|
19703
19904
|
)
|
|
19704
19905
|
] }),
|
|
@@ -19733,8 +19934,8 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
19733
19934
|
|
|
19734
19935
|
|
|
19735
19936
|
function EntityImage({ src, alt, fallbackText, className }) {
|
|
19736
|
-
const [imageFailed, setImageFailed] =
|
|
19737
|
-
|
|
19937
|
+
const [imageFailed, setImageFailed] = React114.default.useState(false);
|
|
19938
|
+
React114.default.useEffect(() => {
|
|
19738
19939
|
setImageFailed(false);
|
|
19739
19940
|
}, [src]);
|
|
19740
19941
|
const showFallback = imageFailed || !src;
|
|
@@ -19928,7 +20129,7 @@ var toggleVariants = _classvarianceauthority.cva.call(void 0,
|
|
|
19928
20129
|
}
|
|
19929
20130
|
}
|
|
19930
20131
|
);
|
|
19931
|
-
var Toggle =
|
|
20132
|
+
var Toggle = React74.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19932
20133
|
TogglePrimitive.Root,
|
|
19933
20134
|
{
|
|
19934
20135
|
ref,
|
|
@@ -19940,11 +20141,11 @@ Toggle.displayName = TogglePrimitive.Root.displayName;
|
|
|
19940
20141
|
|
|
19941
20142
|
// src/components/toggle-group.tsx
|
|
19942
20143
|
|
|
19943
|
-
var ToggleGroupContext =
|
|
20144
|
+
var ToggleGroupContext = React75.createContext({
|
|
19944
20145
|
size: "default",
|
|
19945
20146
|
variant: "default"
|
|
19946
20147
|
});
|
|
19947
|
-
var ToggleGroup =
|
|
20148
|
+
var ToggleGroup = React75.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19948
20149
|
ToggleGroupPrimitive.Root,
|
|
19949
20150
|
{
|
|
19950
20151
|
ref,
|
|
@@ -19954,8 +20155,8 @@ var ToggleGroup = React74.forwardRef(({ className, variant, size, children, ...p
|
|
|
19954
20155
|
}
|
|
19955
20156
|
));
|
|
19956
20157
|
ToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;
|
|
19957
|
-
var ToggleGroupItem =
|
|
19958
|
-
const context =
|
|
20158
|
+
var ToggleGroupItem = React75.forwardRef(({ className, children, variant, size, value, ...props }, ref) => {
|
|
20159
|
+
const context = React75.useContext(ToggleGroupContext);
|
|
19959
20160
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19960
20161
|
ToggleGroupPrimitive.Item,
|
|
19961
20162
|
{
|
|
@@ -20440,7 +20641,7 @@ function toToolLabel(input) {
|
|
|
20440
20641
|
if (!input) return "";
|
|
20441
20642
|
const toolType = normalizeToolType(input);
|
|
20442
20643
|
if (toolType) {
|
|
20443
|
-
return
|
|
20644
|
+
return _chunkDCIB6AK3cjs.toolLabels[toolType];
|
|
20444
20645
|
}
|
|
20445
20646
|
return input;
|
|
20446
20647
|
}
|
|
@@ -20451,7 +20652,7 @@ function getToolTypeAliases(toolType) {
|
|
|
20451
20652
|
return Object.entries(toolAliasMap).filter(([_, value]) => value === toolType).map(([key]) => key);
|
|
20452
20653
|
}
|
|
20453
20654
|
function getToolLabel(toolType) {
|
|
20454
|
-
return
|
|
20655
|
+
return _chunkDCIB6AK3cjs.toolLabels[toolType] || toolType;
|
|
20455
20656
|
}
|
|
20456
20657
|
|
|
20457
20658
|
// src/types/shell.types.ts
|
|
@@ -20465,10 +20666,10 @@ var ShellTypeValues = {
|
|
|
20465
20666
|
SHELL: "SHELL"
|
|
20466
20667
|
};
|
|
20467
20668
|
var SHELL_TYPES = [
|
|
20468
|
-
{ id: ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon:
|
|
20669
|
+
{ id: ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkCCG4DARMcjs.PowershellLogoIcon },
|
|
20469
20670
|
{ id: ShellTypeValues.CMD, label: "Batch", value: "cmd", icon: _chunkLWNPMLIHcjs.CmdIcon },
|
|
20470
20671
|
{ id: ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkLWNPMLIHcjs.BashIcon },
|
|
20471
|
-
{ id: ShellTypeValues.PYTHON, label: "Python", value: "python", icon:
|
|
20672
|
+
{ id: ShellTypeValues.PYTHON, label: "Python", value: "python", icon: _chunkCCG4DARMcjs.PythonLogoIcon },
|
|
20472
20673
|
{ id: ShellTypeValues.NUSHELL, label: "Nu", value: "nushell", icon: _chunkLWNPMLIHcjs.NushellIcon },
|
|
20473
20674
|
{ id: ShellTypeValues.DENO, label: "Deno", value: "deno", icon: _chunkLWNPMLIHcjs.DenoIcon },
|
|
20474
20675
|
{ id: ShellTypeValues.SHELL, label: "Shell", value: "shell", icon: _chunkLWNPMLIHcjs.ShellIcon }
|
|
@@ -20507,7 +20708,7 @@ var OS_TYPES = [
|
|
|
20507
20708
|
id: OSTypeValues.MACOS,
|
|
20508
20709
|
label: "macOS",
|
|
20509
20710
|
value: OSTypeValues.MACOS,
|
|
20510
|
-
icon:
|
|
20711
|
+
icon: _chunkCCG4DARMcjs.AppleLogoIcon,
|
|
20511
20712
|
platformId: "darwin",
|
|
20512
20713
|
aliases: ["darwin", "macos", "mac os", "osx", "os x", "mac"]
|
|
20513
20714
|
// Put more specific ones first, 'mac' last to avoid false matches
|
|
@@ -20516,7 +20717,7 @@ var OS_TYPES = [
|
|
|
20516
20717
|
id: OSTypeValues.WINDOWS,
|
|
20517
20718
|
label: "Windows",
|
|
20518
20719
|
value: OSTypeValues.WINDOWS,
|
|
20519
|
-
icon:
|
|
20720
|
+
icon: _chunkCCG4DARMcjs.WindowsLogoGreyIcon,
|
|
20520
20721
|
platformId: "windows",
|
|
20521
20722
|
aliases: ["windows", "win32", "win64", "win"]
|
|
20522
20723
|
// 'win' last since it's shortest
|
|
@@ -20525,7 +20726,7 @@ var OS_TYPES = [
|
|
|
20525
20726
|
id: OSTypeValues.LINUX,
|
|
20526
20727
|
label: "Linux",
|
|
20527
20728
|
value: OSTypeValues.LINUX,
|
|
20528
|
-
icon:
|
|
20729
|
+
icon: _chunkCCG4DARMcjs.LinuxLogoIcon,
|
|
20529
20730
|
platformId: "linux",
|
|
20530
20731
|
aliases: ["linux", "ubuntu", "debian", "centos", "redhat", "fedora", "pop", "pop!_os", "arch", "manjaro"]
|
|
20531
20732
|
}
|
|
@@ -21974,7 +22175,7 @@ var BenefitCardGrid = ({
|
|
|
21974
22175
|
className = "",
|
|
21975
22176
|
columns = 2
|
|
21976
22177
|
}) => {
|
|
21977
|
-
const childrenArray =
|
|
22178
|
+
const childrenArray = React114.default.Children.toArray(children);
|
|
21978
22179
|
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";
|
|
21979
22180
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
21980
22181
|
"bg-ods-card rounded-lg shadow-ods-card border border-ods-border overflow-hidden",
|
|
@@ -21995,7 +22196,7 @@ var BenefitCardGrid = ({
|
|
|
21995
22196
|
} else {
|
|
21996
22197
|
borderClass = isLastItem ? "border-b-0" : "border-b md:border-b-0 md:border-r border-ods-border";
|
|
21997
22198
|
}
|
|
21998
|
-
return
|
|
22199
|
+
return React114.default.cloneElement(child, {
|
|
21999
22200
|
key: index,
|
|
22000
22201
|
className: borderClass
|
|
22001
22202
|
});
|
|
@@ -22012,7 +22213,7 @@ function BrandAssociationCard({
|
|
|
22012
22213
|
className = ""
|
|
22013
22214
|
}) {
|
|
22014
22215
|
const renderIcon = () => {
|
|
22015
|
-
if (
|
|
22216
|
+
if (React114.default.isValidElement(item.icon)) {
|
|
22016
22217
|
return item.icon;
|
|
22017
22218
|
}
|
|
22018
22219
|
const IconComponent = item.icon;
|
|
@@ -22116,7 +22317,7 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
22116
22317
|
|
|
22117
22318
|
|
|
22118
22319
|
|
|
22119
|
-
var ChevronButton =
|
|
22320
|
+
var ChevronButton = React78.forwardRef(
|
|
22120
22321
|
({ className, direction = "down", size = "md", isExpanded, backgroundColor, borderColor, ...props }, ref) => {
|
|
22121
22322
|
const Icon2 = (isExpanded ? _lucidereact.ChevronUp : _lucidereact.ChevronDown) || (direction === "up" ? _lucidereact.ChevronUp : _lucidereact.ChevronDown);
|
|
22122
22323
|
const sizeClasses2 = {
|
|
@@ -22313,8 +22514,8 @@ function FloatingTooltip({
|
|
|
22313
22514
|
delayDuration = 0,
|
|
22314
22515
|
disabled = false
|
|
22315
22516
|
}) {
|
|
22316
|
-
const [isOpen, setIsOpen] =
|
|
22317
|
-
const arrowRef =
|
|
22517
|
+
const [isOpen, setIsOpen] = React79.useState(false);
|
|
22518
|
+
const arrowRef = React79.useRef(null);
|
|
22318
22519
|
const { refs, floatingStyles, context, placement, middlewareData } = _react2.useFloating.call(void 0, {
|
|
22319
22520
|
open: isOpen,
|
|
22320
22521
|
onOpenChange: setIsOpen,
|
|
@@ -22344,7 +22545,7 @@ function FloatingTooltip({
|
|
|
22344
22545
|
dismiss,
|
|
22345
22546
|
role
|
|
22346
22547
|
]);
|
|
22347
|
-
const parsedContent =
|
|
22548
|
+
const parsedContent = React79.useMemo(() => {
|
|
22348
22549
|
if (typeof content === "string") {
|
|
22349
22550
|
return parseColoredText(content);
|
|
22350
22551
|
}
|
|
@@ -22435,7 +22636,7 @@ function DashboardInfoCard({
|
|
|
22435
22636
|
percentage,
|
|
22436
22637
|
"%)"
|
|
22437
22638
|
] })),
|
|
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,
|
|
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, _chunkCCG4DARMcjs.QuestionCircleIcon, { size: 20 }) }) })
|
|
22439
22640
|
] })
|
|
22440
22641
|
] }),
|
|
22441
22642
|
showProgress && percentage !== void 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -22600,7 +22801,7 @@ function DeviceCard({
|
|
|
22600
22801
|
e.stopPropagation();
|
|
22601
22802
|
_optionalChain([actions, 'access', _399 => _399.moreButton, 'optionalAccess', _400 => _400.onClick, 'optionalCall', _401 => _401()]);
|
|
22602
22803
|
},
|
|
22603
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22804
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Ellipsis01Icon, { className: "text-ods-text-primary" })
|
|
22604
22805
|
}
|
|
22605
22806
|
),
|
|
22606
22807
|
_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 }),
|
|
@@ -22965,7 +23166,7 @@ function HighlightCardGrid({
|
|
|
22965
23166
|
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
22966
23167
|
|
|
22967
23168
|
|
|
22968
|
-
var IconsBlock =
|
|
23169
|
+
var IconsBlock = React81.forwardRef(
|
|
22969
23170
|
({ className, icons = [], size = "md", ...props }, ref) => {
|
|
22970
23171
|
const sizeClasses2 = {
|
|
22971
23172
|
sm: "h-4 w-4",
|
|
@@ -23012,8 +23213,8 @@ function DropdownButton({
|
|
|
23012
23213
|
align = "end",
|
|
23013
23214
|
side = "bottom"
|
|
23014
23215
|
}) {
|
|
23015
|
-
const [open, setOpen] =
|
|
23016
|
-
const handleOpenChange =
|
|
23216
|
+
const [open, setOpen] = React114.default.useState(false);
|
|
23217
|
+
const handleOpenChange = React114.default.useCallback(
|
|
23017
23218
|
(next) => {
|
|
23018
23219
|
if (disabled) return;
|
|
23019
23220
|
setOpen(next);
|
|
@@ -23051,7 +23252,7 @@ function DropdownButton({
|
|
|
23051
23252
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: label })
|
|
23052
23253
|
] }),
|
|
23053
23254
|
/* @__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,
|
|
23054
|
-
|
|
23255
|
+
_chunkCCG4DARMcjs.Chevron02DownIcon,
|
|
23055
23256
|
{
|
|
23056
23257
|
className: _chunkFIG2RKZFcjs.cn.call(void 0, "transition-transform duration-fast", open && "rotate-180")
|
|
23057
23258
|
}
|
|
@@ -23089,7 +23290,7 @@ function MoreActionsMenu({
|
|
|
23089
23290
|
size: "icon",
|
|
23090
23291
|
className: className || "bg-ods-card border-ods-border hover:bg-ods-bg-hover flex items-center justify-center",
|
|
23091
23292
|
"aria-label": ariaLabel,
|
|
23092
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23293
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Ellipsis01Icon, { size: 24, className: "text-ods-text-primary" })
|
|
23093
23294
|
}
|
|
23094
23295
|
) }),
|
|
23095
23296
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -23324,14 +23525,14 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
23324
23525
|
var useTheme = _nextthemes.useTheme;
|
|
23325
23526
|
function useThemeToggle() {
|
|
23326
23527
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
23327
|
-
const [mounted, setMounted] =
|
|
23328
|
-
|
|
23528
|
+
const [mounted, setMounted] = React83.useState(false);
|
|
23529
|
+
React83.useEffect(() => setMounted(true), []);
|
|
23329
23530
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
23330
|
-
const setOdsTheme =
|
|
23531
|
+
const setOdsTheme = React83.useCallback(
|
|
23331
23532
|
(next) => setTheme(next),
|
|
23332
23533
|
[setTheme]
|
|
23333
23534
|
);
|
|
23334
|
-
const toggle =
|
|
23535
|
+
const toggle = React83.useCallback(
|
|
23335
23536
|
() => setTheme(active === "dark" ? "light" : "dark"),
|
|
23336
23537
|
[active, setTheme]
|
|
23337
23538
|
);
|
|
@@ -25602,7 +25803,7 @@ function PathsDisplay({
|
|
|
25602
25803
|
onClick: () => onCopyPath(path),
|
|
25603
25804
|
"aria-label": `Copy ${path}`,
|
|
25604
25805
|
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",
|
|
25605
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25806
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Copy02Icon, { className: copyIconSize })
|
|
25606
25807
|
}
|
|
25607
25808
|
)
|
|
25608
25809
|
]
|
|
@@ -25674,7 +25875,7 @@ function PlatformFilterComponent({
|
|
|
25674
25875
|
variant: selectedPlatform === platform.value ? "accent" : "outline",
|
|
25675
25876
|
size,
|
|
25676
25877
|
onClick: () => onPlatformChange(platform.value),
|
|
25677
|
-
leftIcon: showIcons ?
|
|
25878
|
+
leftIcon: showIcons ? _chunkDCIB6AK3cjs.getSmallPlatformIcon.call(void 0, platform.value) : void 0,
|
|
25678
25879
|
className: "text-h3",
|
|
25679
25880
|
children: platform.label
|
|
25680
25881
|
},
|
|
@@ -26057,7 +26258,7 @@ function ReleaseMediaManager({
|
|
|
26057
26258
|
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
26058
26259
|
|
|
26059
26260
|
|
|
26060
|
-
var SelectButton =
|
|
26261
|
+
var SelectButton = React114.default.forwardRef(
|
|
26061
26262
|
({ title, description, selected = false, disabled = false, icon, image, tag, tagVariant = "outline", onClick, className }, ref) => {
|
|
26062
26263
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
26063
26264
|
"button",
|
|
@@ -26102,7 +26303,7 @@ var SelectButton = React113.default.forwardRef(
|
|
|
26102
26303
|
] }),
|
|
26103
26304
|
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { variant: tagVariant, className: "shrink-0", label: tag }),
|
|
26104
26305
|
selected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26105
|
-
|
|
26306
|
+
_chunkCCG4DARMcjs.CheckCircleIcon,
|
|
26106
26307
|
{
|
|
26107
26308
|
className: "shrink-0 size-4 md:size-6 text-ods-accent"
|
|
26108
26309
|
}
|
|
@@ -26489,7 +26690,7 @@ function SocialLinksManager({
|
|
|
26489
26690
|
_chunkQJGRP2YEcjs.init_button2.call(void 0, );
|
|
26490
26691
|
|
|
26491
26692
|
|
|
26492
|
-
var StartWithOpenFrameButton =
|
|
26693
|
+
var StartWithOpenFrameButton = React88.forwardRef(({ children = "Start Free Trial", mode = "outline", className, buttonSize, loading = false, buttonBackgroundColor, buttonTextColor, ...props }, ref) => {
|
|
26493
26694
|
const isYellow = mode === "yellow";
|
|
26494
26695
|
const isPink = mode === "pink" || mode === "purple";
|
|
26495
26696
|
const isCyan = mode === "cyan";
|
|
@@ -26845,7 +27046,7 @@ function useVideoWarmup({
|
|
|
26845
27046
|
const runtime = _chunkN2DVKXN4cjs.useChatRuntime.call(void 0, );
|
|
26846
27047
|
const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess', _474 => _474.endpoints, 'access', _475 => _475.supabaseStorageOrigin])));
|
|
26847
27048
|
useVideoOriginPreconnect({ supabaseStorageOrigin: resolvedOrigin });
|
|
26848
|
-
const { ref, isNear } =
|
|
27049
|
+
const { ref, isNear } = _chunkDCIB6AK3cjs.useNearViewport.call(void 0, nearMargin);
|
|
26849
27050
|
_react.useEffect.call(void 0, () => {
|
|
26850
27051
|
if (!isNear || !videoUrl || !resolvedOrigin) return;
|
|
26851
27052
|
const conn = navigator.connection;
|
|
@@ -27264,7 +27465,7 @@ function TranscriptSummaryEditor({
|
|
|
27264
27465
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
27265
27466
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { htmlFor: "subtitles", children: subtitlesLabel }),
|
|
27266
27467
|
isAIGenerated && subtitles && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Badge, { variant: "secondary", className: "flex items-center gap-1", children: [
|
|
27267
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27468
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.StandardCcIcon, { size: 12 }),
|
|
27268
27469
|
"AI Generated"
|
|
27269
27470
|
] })
|
|
27270
27471
|
] }),
|
|
@@ -28449,7 +28650,7 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
28449
28650
|
|
|
28450
28651
|
var DropdownMenu2 = DropdownMenuPrimitive2.Root;
|
|
28451
28652
|
var DropdownMenuTrigger2 = DropdownMenuPrimitive2.Trigger;
|
|
28452
|
-
var DropdownMenuSubTrigger =
|
|
28653
|
+
var DropdownMenuSubTrigger = React91.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
28453
28654
|
DropdownMenuPrimitive2.SubTrigger,
|
|
28454
28655
|
{
|
|
28455
28656
|
ref,
|
|
@@ -28466,7 +28667,7 @@ var DropdownMenuSubTrigger = React90.forwardRef(({ className, inset, children, .
|
|
|
28466
28667
|
}
|
|
28467
28668
|
));
|
|
28468
28669
|
DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive2.SubTrigger.displayName;
|
|
28469
|
-
var DropdownMenuSubContent =
|
|
28670
|
+
var DropdownMenuSubContent = React91.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28470
28671
|
DropdownMenuPrimitive2.SubContent,
|
|
28471
28672
|
{
|
|
28472
28673
|
ref,
|
|
@@ -28478,7 +28679,7 @@ var DropdownMenuSubContent = React90.forwardRef(({ className, ...props }, ref) =
|
|
|
28478
28679
|
}
|
|
28479
28680
|
));
|
|
28480
28681
|
DropdownMenuSubContent.displayName = DropdownMenuPrimitive2.SubContent.displayName;
|
|
28481
|
-
var DropdownMenuContent2 =
|
|
28682
|
+
var DropdownMenuContent2 = React91.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DropdownMenuPrimitive2.Portal, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28482
28683
|
DropdownMenuPrimitive2.Content,
|
|
28483
28684
|
{
|
|
28484
28685
|
ref,
|
|
@@ -28491,7 +28692,7 @@ var DropdownMenuContent2 = React90.forwardRef(({ className, sideOffset = 4, ...p
|
|
|
28491
28692
|
}
|
|
28492
28693
|
) }));
|
|
28493
28694
|
DropdownMenuContent2.displayName = DropdownMenuPrimitive2.Content.displayName;
|
|
28494
|
-
var DropdownMenuItem2 =
|
|
28695
|
+
var DropdownMenuItem2 = React91.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28495
28696
|
DropdownMenuPrimitive2.Item,
|
|
28496
28697
|
{
|
|
28497
28698
|
ref,
|
|
@@ -28504,7 +28705,7 @@ var DropdownMenuItem2 = React90.forwardRef(({ className, inset, ...props }, ref)
|
|
|
28504
28705
|
}
|
|
28505
28706
|
));
|
|
28506
28707
|
DropdownMenuItem2.displayName = DropdownMenuPrimitive2.Item.displayName;
|
|
28507
|
-
var DropdownMenuCheckboxItem =
|
|
28708
|
+
var DropdownMenuCheckboxItem = React91.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
28508
28709
|
DropdownMenuPrimitive2.CheckboxItem,
|
|
28509
28710
|
{
|
|
28510
28711
|
ref,
|
|
@@ -28521,7 +28722,7 @@ var DropdownMenuCheckboxItem = React90.forwardRef(({ className, children, checke
|
|
|
28521
28722
|
}
|
|
28522
28723
|
));
|
|
28523
28724
|
DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive2.CheckboxItem.displayName;
|
|
28524
|
-
var DropdownMenuRadioItem =
|
|
28725
|
+
var DropdownMenuRadioItem = React91.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
28525
28726
|
DropdownMenuPrimitive2.RadioItem,
|
|
28526
28727
|
{
|
|
28527
28728
|
ref,
|
|
@@ -28537,7 +28738,7 @@ var DropdownMenuRadioItem = React90.forwardRef(({ className, children, ...props
|
|
|
28537
28738
|
}
|
|
28538
28739
|
));
|
|
28539
28740
|
DropdownMenuRadioItem.displayName = DropdownMenuPrimitive2.RadioItem.displayName;
|
|
28540
|
-
var DropdownMenuLabel =
|
|
28741
|
+
var DropdownMenuLabel = React91.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28541
28742
|
DropdownMenuPrimitive2.Label,
|
|
28542
28743
|
{
|
|
28543
28744
|
ref,
|
|
@@ -28550,7 +28751,7 @@ var DropdownMenuLabel = React90.forwardRef(({ className, inset, ...props }, ref)
|
|
|
28550
28751
|
}
|
|
28551
28752
|
));
|
|
28552
28753
|
DropdownMenuLabel.displayName = DropdownMenuPrimitive2.Label.displayName;
|
|
28553
|
-
var DropdownMenuSeparator =
|
|
28754
|
+
var DropdownMenuSeparator = React91.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28554
28755
|
DropdownMenuPrimitive2.Separator,
|
|
28555
28756
|
{
|
|
28556
28757
|
ref,
|
|
@@ -28590,7 +28791,7 @@ var getApprovalLevelLabel = (level, editMode = false) => {
|
|
|
28590
28791
|
};
|
|
28591
28792
|
var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
28592
28793
|
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: [
|
|
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,
|
|
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, _chunkDCIB6AK3cjs.ToolIcon, { toolType: policy.toolName, size: 16 }) }),
|
|
28594
28795
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 flex flex-col min-w-0", children: [
|
|
28595
28796
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-[16px] font-medium text-ods-text-primary truncate", title: policy.name, children: policy.name }),
|
|
28596
28797
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-[12px] text-ods-text-secondary break-all font-mono", children: policy.commandPattern })
|
|
@@ -28901,8 +29102,8 @@ function WaitlistForm({
|
|
|
28901
29102
|
const [email, setEmail] = _react.useState.call(void 0, defaultEmail);
|
|
28902
29103
|
const [phone, setPhone] = _react.useState.call(void 0, defaultPhone);
|
|
28903
29104
|
const [countryCode, setCountryCode] = _react.useState.call(void 0, "US");
|
|
28904
|
-
const { toast } =
|
|
28905
|
-
const { honeypotInputProps, getSignals, resetSignals } =
|
|
29105
|
+
const { toast } = _chunkDCIB6AK3cjs.useToast.call(void 0, );
|
|
29106
|
+
const { honeypotInputProps, getSignals, resetSignals } = _chunkDCIB6AK3cjs.useHumanitySignals.call(void 0, );
|
|
28906
29107
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
28907
29108
|
const [isClient, setIsClient] = _react.useState.call(void 0, false);
|
|
28908
29109
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
@@ -29075,7 +29276,7 @@ function WaitlistForm({
|
|
|
29075
29276
|
// src/components/features/notifications/notifications-context.tsx
|
|
29076
29277
|
|
|
29077
29278
|
|
|
29078
|
-
var NotificationsContext =
|
|
29279
|
+
var NotificationsContext = React92.createContext(null);
|
|
29079
29280
|
function mergeNotification(base, incoming) {
|
|
29080
29281
|
const out = { ...base };
|
|
29081
29282
|
for (const key of Object.keys(incoming)) {
|
|
@@ -29154,16 +29355,16 @@ function NotificationsProvider({
|
|
|
29154
29355
|
onLoadMore,
|
|
29155
29356
|
renderTile
|
|
29156
29357
|
}) {
|
|
29157
|
-
const [notifications, dispatch] =
|
|
29158
|
-
const [isOpen, setIsOpen] =
|
|
29159
|
-
const [showPopups, setShowPopupsState] =
|
|
29160
|
-
const [showDesktopPopups, setShowDesktopPopupsState] =
|
|
29358
|
+
const [notifications, dispatch] = React92.useReducer(reducer, initialNotifications);
|
|
29359
|
+
const [isOpen, setIsOpen] = React92.useState(false);
|
|
29360
|
+
const [showPopups, setShowPopupsState] = React92.useState(defaultShowPopups);
|
|
29361
|
+
const [showDesktopPopups, setShowDesktopPopupsState] = React92.useState(defaultShowDesktopPopups);
|
|
29161
29362
|
const desktopPopupsConfigured = onShowDesktopPopupsChange !== void 0;
|
|
29162
|
-
const actionsRef =
|
|
29163
|
-
|
|
29363
|
+
const actionsRef = React92.useRef(actions);
|
|
29364
|
+
React92.useEffect(() => {
|
|
29164
29365
|
actionsRef.current = actions;
|
|
29165
29366
|
}, [actions]);
|
|
29166
|
-
const addNotification =
|
|
29367
|
+
const addNotification = React92.useCallback(
|
|
29167
29368
|
(input) => {
|
|
29168
29369
|
const id = _nullishCoalesce(input.id, () => ( generateId()));
|
|
29169
29370
|
const notification = {
|
|
@@ -29177,7 +29378,7 @@ function NotificationsProvider({
|
|
|
29177
29378
|
},
|
|
29178
29379
|
[maxNotifications]
|
|
29179
29380
|
);
|
|
29180
|
-
const upsertNotification =
|
|
29381
|
+
const upsertNotification = React92.useCallback(
|
|
29181
29382
|
(input) => {
|
|
29182
29383
|
const notification = {
|
|
29183
29384
|
...input,
|
|
@@ -29190,48 +29391,48 @@ function NotificationsProvider({
|
|
|
29190
29391
|
},
|
|
29191
29392
|
[maxNotifications]
|
|
29192
29393
|
);
|
|
29193
|
-
const setNotifications =
|
|
29394
|
+
const setNotifications = React92.useCallback((list) => {
|
|
29194
29395
|
dispatch({ type: "set", notifications: list });
|
|
29195
29396
|
}, []);
|
|
29196
|
-
const markRead =
|
|
29397
|
+
const markRead = React92.useCallback((id) => {
|
|
29197
29398
|
dispatch({ type: "markRead", id });
|
|
29198
29399
|
void _optionalChain([actionsRef, 'access', _493 => _493.current, 'optionalAccess', _494 => _494.onMarkRead, 'optionalCall', _495 => _495(id)]);
|
|
29199
29400
|
}, []);
|
|
29200
|
-
const markAllRead =
|
|
29401
|
+
const markAllRead = React92.useCallback(() => {
|
|
29201
29402
|
dispatch({ type: "markAllRead" });
|
|
29202
29403
|
void _optionalChain([actionsRef, 'access', _496 => _496.current, 'optionalAccess', _497 => _497.onMarkAllRead, 'optionalCall', _498 => _498()]);
|
|
29203
29404
|
}, []);
|
|
29204
|
-
const markSettled =
|
|
29405
|
+
const markSettled = React92.useCallback((id) => {
|
|
29205
29406
|
dispatch({ type: "markSettled", id });
|
|
29206
29407
|
void _optionalChain([actionsRef, 'access', _499 => _499.current, 'optionalAccess', _500 => _500.onMarkSettled, 'optionalCall', _501 => _501(id)]);
|
|
29207
29408
|
}, []);
|
|
29208
|
-
const remove =
|
|
29409
|
+
const remove = React92.useCallback((id) => {
|
|
29209
29410
|
dispatch({ type: "remove", id });
|
|
29210
29411
|
void _optionalChain([actionsRef, 'access', _502 => _502.current, 'optionalAccess', _503 => _503.onRemove, 'optionalCall', _504 => _504(id)]);
|
|
29211
29412
|
}, []);
|
|
29212
|
-
const clear =
|
|
29213
|
-
const open =
|
|
29214
|
-
const close =
|
|
29215
|
-
const toggle =
|
|
29216
|
-
const setShowPopups =
|
|
29413
|
+
const clear = React92.useCallback(() => dispatch({ type: "clear" }), []);
|
|
29414
|
+
const open = React92.useCallback(() => setIsOpen(true), []);
|
|
29415
|
+
const close = React92.useCallback(() => setIsOpen(false), []);
|
|
29416
|
+
const toggle = React92.useCallback(() => setIsOpen((v) => !v), []);
|
|
29417
|
+
const setShowPopups = React92.useCallback(
|
|
29217
29418
|
(value2) => {
|
|
29218
29419
|
setShowPopupsState(value2);
|
|
29219
29420
|
_optionalChain([onShowPopupsChange, 'optionalCall', _505 => _505(value2)]);
|
|
29220
29421
|
},
|
|
29221
29422
|
[onShowPopupsChange]
|
|
29222
29423
|
);
|
|
29223
|
-
const setShowDesktopPopups =
|
|
29424
|
+
const setShowDesktopPopups = React92.useCallback(
|
|
29224
29425
|
(value2) => {
|
|
29225
29426
|
setShowDesktopPopupsState(value2);
|
|
29226
29427
|
_optionalChain([onShowDesktopPopupsChange, 'optionalCall', _506 => _506(value2)]);
|
|
29227
29428
|
},
|
|
29228
29429
|
[onShowDesktopPopupsChange]
|
|
29229
29430
|
);
|
|
29230
|
-
const unreadCount =
|
|
29431
|
+
const unreadCount = React92.useMemo(
|
|
29231
29432
|
() => notifications.reduce((acc, n) => n.read ? acc : acc + 1, 0),
|
|
29232
29433
|
[notifications]
|
|
29233
29434
|
);
|
|
29234
|
-
const value =
|
|
29435
|
+
const value = React92.useMemo(
|
|
29235
29436
|
() => ({
|
|
29236
29437
|
notifications,
|
|
29237
29438
|
unreadCount,
|
|
@@ -29290,14 +29491,14 @@ function NotificationsProvider({
|
|
|
29290
29491
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, NotificationsContext.Provider, { value, children });
|
|
29291
29492
|
}
|
|
29292
29493
|
function useNotifications() {
|
|
29293
|
-
const ctx =
|
|
29494
|
+
const ctx = React92.useContext(NotificationsContext);
|
|
29294
29495
|
if (!ctx) {
|
|
29295
29496
|
throw new Error("useNotifications must be used inside <NotificationsProvider>");
|
|
29296
29497
|
}
|
|
29297
29498
|
return ctx;
|
|
29298
29499
|
}
|
|
29299
29500
|
function useOptionalNotifications() {
|
|
29300
|
-
return
|
|
29501
|
+
return React92.useContext(NotificationsContext);
|
|
29301
29502
|
}
|
|
29302
29503
|
|
|
29303
29504
|
// src/components/features/notifications/notification-drawer.tsx
|
|
@@ -29347,7 +29548,7 @@ function NotificationTile({
|
|
|
29347
29548
|
children ? "border-b border-ods-border" : null
|
|
29348
29549
|
),
|
|
29349
29550
|
children: [
|
|
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",
|
|
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", _chunkDCIB6AK3cjs.dotColorByVariant[variant]) }) }),
|
|
29351
29552
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
29352
29553
|
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,
|
|
29353
29554
|
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
|
|
@@ -29364,7 +29565,7 @@ function NotificationTile({
|
|
|
29364
29565
|
"shrink-0 hover:text-ods-text-primary",
|
|
29365
29566
|
isLive && "invisible"
|
|
29366
29567
|
),
|
|
29367
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29568
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.CheckCircleIcon, {})
|
|
29368
29569
|
}
|
|
29369
29570
|
),
|
|
29370
29571
|
counting ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -29373,7 +29574,7 @@ function NotificationTile({
|
|
|
29373
29574
|
"aria-hidden": true,
|
|
29374
29575
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
29375
29576
|
"absolute inset-x-0 -bottom-px h-1 origin-left",
|
|
29376
|
-
|
|
29577
|
+
_chunkDCIB6AK3cjs.progressColorByVariant[variant]
|
|
29377
29578
|
),
|
|
29378
29579
|
style: {
|
|
29379
29580
|
animation: `toast-progress ${liveDurationMs}ms linear forwards`,
|
|
@@ -29396,7 +29597,7 @@ function NotificationTile({
|
|
|
29396
29597
|
"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",
|
|
29397
29598
|
!isLive && "pointer-events-none opacity-0"
|
|
29398
29599
|
),
|
|
29399
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29600
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.XmarkIcon, { size: 16 })
|
|
29400
29601
|
}
|
|
29401
29602
|
)
|
|
29402
29603
|
]
|
|
@@ -29576,7 +29777,7 @@ function DrawerLoadingTiles() {
|
|
|
29576
29777
|
}
|
|
29577
29778
|
function EmptyState() {
|
|
29578
29779
|
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: [
|
|
29579
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29780
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.BellOffIcon, { size: 24, className: "text-ods-text-secondary" }),
|
|
29580
29781
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6 text-ods-text-secondary", children: "No new notifications" })
|
|
29581
29782
|
] });
|
|
29582
29783
|
}
|
|
@@ -29597,7 +29798,7 @@ function ShowNotificationsToggleRow({ checked, onChange }) {
|
|
|
29597
29798
|
] });
|
|
29598
29799
|
}
|
|
29599
29800
|
function DesktopNotificationsToggleRow({ checked, onChange }) {
|
|
29600
|
-
const { supported, permission, request } =
|
|
29801
|
+
const { supported, permission, request } = _chunkDCIB6AK3cjs.useNotificationPermission.call(void 0, );
|
|
29601
29802
|
if (!supported) return null;
|
|
29602
29803
|
const blocked = permission === "denied";
|
|
29603
29804
|
const handleChange = async (value) => {
|
|
@@ -29631,10 +29832,10 @@ function NotificationsHistoryButton({ onClick, historyHref }) {
|
|
|
29631
29832
|
fullWidth: true,
|
|
29632
29833
|
onClick,
|
|
29633
29834
|
mainDisabled: !onClick,
|
|
29634
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29835
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.ClockHistoryIcon, { className: "text-ods-text-secondary" }),
|
|
29635
29836
|
groupAriaLabel: "Notifications history",
|
|
29636
29837
|
iconAction: {
|
|
29637
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29838
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.ArrowRightUpIcon, { className: "text-ods-text-secondary" }),
|
|
29638
29839
|
"aria-label": "Open notifications history in a new tab",
|
|
29639
29840
|
href: historyHref,
|
|
29640
29841
|
openInNewTab: true,
|
|
@@ -30019,24 +30220,24 @@ function ApprovalRequestNotificationTile({
|
|
|
30019
30220
|
// src/components/features/time-tracker/time-tracker-context.tsx
|
|
30020
30221
|
|
|
30021
30222
|
|
|
30022
|
-
var TimeTrackerContext =
|
|
30223
|
+
var TimeTrackerContext = React93.createContext(null);
|
|
30023
30224
|
function TimeTrackerProvider({ children, defaultOpen = false, ...data }) {
|
|
30024
|
-
const [isOpen, setIsOpen] =
|
|
30025
|
-
const open =
|
|
30026
|
-
const close =
|
|
30027
|
-
const toggle =
|
|
30225
|
+
const [isOpen, setIsOpen] = React93.useState(defaultOpen);
|
|
30226
|
+
const open = React93.useCallback(() => setIsOpen(true), []);
|
|
30227
|
+
const close = React93.useCallback(() => setIsOpen(false), []);
|
|
30228
|
+
const toggle = React93.useCallback(() => setIsOpen((v) => !v), []);
|
|
30028
30229
|
const value = { ...data, isOpen, open, close, toggle };
|
|
30029
30230
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TimeTrackerContext.Provider, { value, children });
|
|
30030
30231
|
}
|
|
30031
30232
|
function useTimeTracker() {
|
|
30032
|
-
const ctx =
|
|
30233
|
+
const ctx = React93.useContext(TimeTrackerContext);
|
|
30033
30234
|
if (!ctx) {
|
|
30034
30235
|
throw new Error("useTimeTracker must be used inside <TimeTrackerProvider>");
|
|
30035
30236
|
}
|
|
30036
30237
|
return ctx;
|
|
30037
30238
|
}
|
|
30038
30239
|
function useOptionalTimeTracker() {
|
|
30039
|
-
return
|
|
30240
|
+
return React93.useContext(TimeTrackerContext);
|
|
30040
30241
|
}
|
|
30041
30242
|
|
|
30042
30243
|
// src/components/features/time-tracker/time-tracker-panel.tsx
|
|
@@ -30148,7 +30349,7 @@ function TimeTrackerPanel({
|
|
|
30148
30349
|
onClick: onClose,
|
|
30149
30350
|
"aria-label": "Close time tracker",
|
|
30150
30351
|
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",
|
|
30151
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30352
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.XmarkIcon, {})
|
|
30152
30353
|
}
|
|
30153
30354
|
),
|
|
30154
30355
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
@@ -30184,7 +30385,7 @@ function TimeTrackerPanel({
|
|
|
30184
30385
|
disabled: isStarting,
|
|
30185
30386
|
"aria-label": isRunning ? "Pause tracking" : isActive ? "Resume tracking" : "Start tracking",
|
|
30186
30387
|
className: "h-auto w-auto rounded-none transition-none [&_svg]:!size-6",
|
|
30187
|
-
children: isRunning ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30388
|
+
children: isRunning ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.PauseIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.PlayIcon, {})
|
|
30188
30389
|
}
|
|
30189
30390
|
),
|
|
30190
30391
|
isActive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -30196,7 +30397,7 @@ function TimeTrackerPanel({
|
|
|
30196
30397
|
disabled: isSubmitting,
|
|
30197
30398
|
"aria-label": "Finish and save tracking",
|
|
30198
30399
|
className: "h-auto w-auto rounded-none border-l border-ods-border [&_svg]:!size-6",
|
|
30199
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30400
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.CheckCircleIcon, {})
|
|
30200
30401
|
}
|
|
30201
30402
|
)
|
|
30202
30403
|
] }),
|
|
@@ -30230,7 +30431,7 @@ function TimeTrackerPanel({
|
|
|
30230
30431
|
),
|
|
30231
30432
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
30232
30433
|
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: [
|
|
30233
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30434
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.ClockHistoryIcon, { className: "size-6" }),
|
|
30234
30435
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
30235
30436
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 font-medium", children: "No time logged" }),
|
|
30236
30437
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6", children: "Last entries will appear here" })
|
|
@@ -30247,7 +30448,7 @@ function TimeTrackerPanel({
|
|
|
30247
30448
|
className: "min-w-0",
|
|
30248
30449
|
onClick: handleManualEntry,
|
|
30249
30450
|
disabled: !onManualEntry,
|
|
30250
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30451
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.PlusCircleIcon, { className: "text-ods-text-secondary" }),
|
|
30251
30452
|
children: "Manual Entry"
|
|
30252
30453
|
}
|
|
30253
30454
|
),
|
|
@@ -30262,7 +30463,7 @@ function TimeTrackerPanel({
|
|
|
30262
30463
|
mainDisabled: !onOpenMyTime,
|
|
30263
30464
|
groupAriaLabel: "Open my time",
|
|
30264
30465
|
iconAction: {
|
|
30265
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30466
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.ArrowRightUpIcon, { size: 24 }),
|
|
30266
30467
|
"aria-label": "Open my time in a new view",
|
|
30267
30468
|
onClick: onOpenMyTimeMenu,
|
|
30268
30469
|
disabled: !onOpenMyTimeMenu
|
|
@@ -30280,10 +30481,10 @@ function TimeTrackerPanel({
|
|
|
30280
30481
|
var STATUS_TAG_SKIN = "gap-[var(--spacing-system-xs)] font-mono font-medium uppercase tracking-tight";
|
|
30281
30482
|
function StatusTag({ status }) {
|
|
30282
30483
|
if (status === "tracking") {
|
|
30283
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { variant: "success", className: STATUS_TAG_SKIN, icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30484
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { variant: "success", className: STATUS_TAG_SKIN, icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.DotsLoaderIcon, { className: "h-4 w-4" }), label: "Tracking" });
|
|
30284
30485
|
}
|
|
30285
30486
|
if (status === "paused") {
|
|
30286
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { variant: "warning", className: STATUS_TAG_SKIN, icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30487
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { variant: "warning", className: STATUS_TAG_SKIN, icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.PauseIcon, { className: "h-4 w-4" }), label: "Paused" });
|
|
30287
30488
|
}
|
|
30288
30489
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { variant: "grey", className: STATUS_TAG_SKIN, label: "Ready to Track" });
|
|
30289
30490
|
}
|
|
@@ -30306,7 +30507,7 @@ function LastEntryRow({ entry, onClick }) {
|
|
|
30306
30507
|
disabled: !onClick,
|
|
30307
30508
|
"aria-label": `Open entry: ${entry.title}`,
|
|
30308
30509
|
className: "h-12 w-12 shrink-0 [&_svg]:!size-6",
|
|
30309
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30510
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Chevron02RightIcon, {})
|
|
30310
30511
|
}
|
|
30311
30512
|
)
|
|
30312
30513
|
] });
|
|
@@ -30354,8 +30555,8 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
30354
30555
|
const { isOpen, open, close, status } = ctx;
|
|
30355
30556
|
const isPaused = status === "paused";
|
|
30356
30557
|
const isActive = status === "tracking" || isPaused;
|
|
30357
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30358
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30558
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, PopoverPrimitive5.Root, { open: isOpen, onOpenChange: (next) => next ? open() : close(), children: [
|
|
30559
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverPrimitive5.Trigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30359
30560
|
HeaderButton,
|
|
30360
30561
|
{
|
|
30361
30562
|
"aria-label": "Time tracker",
|
|
@@ -30368,7 +30569,7 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
30368
30569
|
),
|
|
30369
30570
|
icon: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
30370
30571
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30371
|
-
|
|
30572
|
+
_chunkCCG4DARMcjs.ClockHistoryIcon,
|
|
30372
30573
|
{
|
|
30373
30574
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
30374
30575
|
"h-4 w-4 md:h-6 md:w-6",
|
|
@@ -30389,8 +30590,8 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
30389
30590
|
] })
|
|
30390
30591
|
}
|
|
30391
30592
|
) }),
|
|
30392
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30393
|
-
|
|
30593
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverPrimitive5.Portal, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30594
|
+
PopoverPrimitive5.Content,
|
|
30394
30595
|
{
|
|
30395
30596
|
align: "end",
|
|
30396
30597
|
sideOffset: 8,
|
|
@@ -30452,7 +30653,7 @@ function BoardColumnHeader({
|
|
|
30452
30653
|
className: "h-8 w-8 md:h-8 md:w-8 p-0",
|
|
30453
30654
|
onClick: onToggleCollapse,
|
|
30454
30655
|
"aria-label": "Expand column",
|
|
30455
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30656
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Arrow02RightIcon, { className: "h-6 w-6 text-ods-text-secondary" })
|
|
30456
30657
|
}
|
|
30457
30658
|
),
|
|
30458
30659
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -30495,7 +30696,7 @@ function BoardColumnHeader({
|
|
|
30495
30696
|
className: "h-8 w-8 md:h-8 md:w-8 p-0",
|
|
30496
30697
|
onClick: onToggleCollapse,
|
|
30497
30698
|
"aria-label": "Collapse column",
|
|
30498
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30699
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Arrow02LeftIcon, { className: "h-6 w-6 text-ods-text-secondary" })
|
|
30499
30700
|
}
|
|
30500
30701
|
),
|
|
30501
30702
|
onArchive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -30506,7 +30707,7 @@ function BoardColumnHeader({
|
|
|
30506
30707
|
className: "h-8 w-8 md:h-8 md:w-8 p-0",
|
|
30507
30708
|
onClick: onArchive,
|
|
30508
30709
|
"aria-label": "Archive resolved tickets",
|
|
30509
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30710
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.BoxArchiveIcon, { className: "h-6 w-6 text-ods-text-secondary" })
|
|
30510
30711
|
}
|
|
30511
30712
|
),
|
|
30512
30713
|
onAddTicket && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -30517,7 +30718,7 @@ function BoardColumnHeader({
|
|
|
30517
30718
|
className: "h-8 w-8 md:h-8 md:w-8 p-0",
|
|
30518
30719
|
onClick: onAddTicket,
|
|
30519
30720
|
"aria-label": "Add ticket",
|
|
30520
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30721
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.PlusIcon, { className: "h-6 w-6 text-ods-text-secondary" })
|
|
30521
30722
|
}
|
|
30522
30723
|
)
|
|
30523
30724
|
] })
|
|
@@ -30547,7 +30748,7 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
30547
30748
|
|
|
30548
30749
|
|
|
30549
30750
|
function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
30550
|
-
const [expanded, setExpanded] =
|
|
30751
|
+
const [expanded, setExpanded] = React94.useState(false);
|
|
30551
30752
|
const { innerRef, containerStyle } = useCollapsible({ expanded });
|
|
30552
30753
|
const isAdmin = pendingApproval.approvalType === "ADMIN";
|
|
30553
30754
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex flex-col", children: [
|
|
@@ -30567,12 +30768,12 @@ function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
|
30567
30768
|
isAdmin ? "text-ods-open-yellow" : "text-ods-text-secondary"
|
|
30568
30769
|
),
|
|
30569
30770
|
children: [
|
|
30570
|
-
isAdmin ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30771
|
+
isAdmin ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.ShieldCheckIcon, { className: "size-4 shrink-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.DotsLoaderIcon, { size: 16, className: "shrink-0" }),
|
|
30571
30772
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex-1 truncate text-left", children: isAdmin ? "Technician approval required" : "Pending client approval" })
|
|
30572
30773
|
]
|
|
30573
30774
|
}
|
|
30574
30775
|
),
|
|
30575
|
-
expanded ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30776
|
+
expanded ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Chevron02UpIcon, { className: "size-4 shrink-0 text-ods-text-secondary" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Chevron02DownIcon, { className: "size-4 shrink-0 text-ods-text-secondary" })
|
|
30576
30777
|
]
|
|
30577
30778
|
}
|
|
30578
30779
|
),
|
|
@@ -30615,7 +30816,7 @@ function TicketCard({
|
|
|
30615
30816
|
onApprove,
|
|
30616
30817
|
onReject
|
|
30617
30818
|
}) {
|
|
30618
|
-
const sortableData =
|
|
30819
|
+
const sortableData = React95.useMemo(
|
|
30619
30820
|
() => ({ columnId, type: "ticket" }),
|
|
30620
30821
|
[columnId]
|
|
30621
30822
|
);
|
|
@@ -30642,7 +30843,7 @@ function TicketCard({
|
|
|
30642
30843
|
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _535 => _535.assignees, 'optionalAccess', _536 => _536.length]) || renderAssignSlot);
|
|
30643
30844
|
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: [
|
|
30644
30845
|
ticket.priority && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30645
|
-
|
|
30846
|
+
_chunkCCG4DARMcjs.Flag02Icon,
|
|
30646
30847
|
{
|
|
30647
30848
|
className: _chunkFIG2RKZFcjs.cn.call(void 0, "size-4", PRIORITY_COLOR_CLASS[ticket.priority]),
|
|
30648
30849
|
"aria-label": `Priority: ${ticket.priority}`
|
|
@@ -30688,7 +30889,7 @@ function TicketCard({
|
|
|
30688
30889
|
Tag,
|
|
30689
30890
|
{
|
|
30690
30891
|
label: "New Message",
|
|
30691
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30892
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.MessagesIcon, { size: 16, color: newMessageTextColor }),
|
|
30692
30893
|
className: "w-fit shrink-0",
|
|
30693
30894
|
style: { backgroundColor: columnColor, color: newMessageTextColor }
|
|
30694
30895
|
}
|
|
@@ -30761,7 +30962,7 @@ function TicketTagRow({ tags }) {
|
|
|
30761
30962
|
|
|
30762
30963
|
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
30763
30964
|
|
|
30764
|
-
var TicketCardSkeleton =
|
|
30965
|
+
var TicketCardSkeleton = React96.forwardRef(
|
|
30765
30966
|
({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30766
30967
|
"div",
|
|
30767
30968
|
{
|
|
@@ -30855,8 +31056,8 @@ function BoardColumn({
|
|
|
30855
31056
|
);
|
|
30856
31057
|
}
|
|
30857
31058
|
function ColumnBody({ column, getTicketHref, renderAssignSlot, onApprove, onReject, onLoadMore, loadMoreRootMargin }) {
|
|
30858
|
-
const ticketIds =
|
|
30859
|
-
const droppableData =
|
|
31059
|
+
const ticketIds = React97.useMemo(() => column.tickets.map((t) => t.id), [column.tickets]);
|
|
31060
|
+
const droppableData = React97.useMemo(
|
|
30860
31061
|
() => ({ columnId: column.id, type: "column" }),
|
|
30861
31062
|
[column.id]
|
|
30862
31063
|
);
|
|
@@ -30865,13 +31066,13 @@ function ColumnBody({ column, getTicketHref, renderAssignSlot, onApprove, onReje
|
|
|
30865
31066
|
data: droppableData,
|
|
30866
31067
|
disabled: column.dropDisabled
|
|
30867
31068
|
});
|
|
30868
|
-
const scrollRef =
|
|
30869
|
-
const sentinelRef =
|
|
30870
|
-
const loadMoreRef =
|
|
31069
|
+
const scrollRef = React97.useRef(null);
|
|
31070
|
+
const sentinelRef = React97.useRef(null);
|
|
31071
|
+
const loadMoreRef = React97.useRef(onLoadMore);
|
|
30871
31072
|
loadMoreRef.current = onLoadMore;
|
|
30872
|
-
const columnIdRef =
|
|
31073
|
+
const columnIdRef = React97.useRef(column.id);
|
|
30873
31074
|
columnIdRef.current = column.id;
|
|
30874
|
-
|
|
31075
|
+
React97.useEffect(() => {
|
|
30875
31076
|
if (!column.hasMore || column.isLoadingMore) return;
|
|
30876
31077
|
const sentinel = sentinelRef.current;
|
|
30877
31078
|
const root = scrollRef.current;
|
|
@@ -30887,7 +31088,7 @@ function ColumnBody({ column, getTicketHref, renderAssignSlot, onApprove, onReje
|
|
|
30887
31088
|
observer.observe(sentinel);
|
|
30888
31089
|
return () => observer.disconnect();
|
|
30889
31090
|
}, [column.hasMore, column.isLoadingMore, loadMoreRootMargin]);
|
|
30890
|
-
const setBodyRef =
|
|
31091
|
+
const setBodyRef = React97.useCallback(
|
|
30891
31092
|
(el) => {
|
|
30892
31093
|
scrollRef.current = el;
|
|
30893
31094
|
setDroppableRef(el);
|
|
@@ -30924,7 +31125,7 @@ function ColumnBody({ column, getTicketHref, renderAssignSlot, onApprove, onReje
|
|
|
30924
31125
|
);
|
|
30925
31126
|
}
|
|
30926
31127
|
function SkeletonStack({ count = 4 }) {
|
|
30927
|
-
const keys =
|
|
31128
|
+
const keys = React97.useMemo(
|
|
30928
31129
|
() => Array.from({ length: count }, () => Math.random().toString(36).slice(2)),
|
|
30929
31130
|
[count]
|
|
30930
31131
|
);
|
|
@@ -30932,7 +31133,7 @@ function SkeletonStack({ count = 4 }) {
|
|
|
30932
31133
|
}
|
|
30933
31134
|
function EmptyState2() {
|
|
30934
31135
|
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: [
|
|
30935
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31136
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.TagIcon, { className: "h-6 w-6 shrink-0" }),
|
|
30936
31137
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
30937
31138
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4", children: "No tickets here" }),
|
|
30938
31139
|
/* @__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" })
|
|
@@ -30943,7 +31144,7 @@ function EmptyState2() {
|
|
|
30943
31144
|
// src/components/features/board/use-board-collapse.ts
|
|
30944
31145
|
|
|
30945
31146
|
function useBoardCollapse(storageKey) {
|
|
30946
|
-
const [persisted, setPersisted] =
|
|
31147
|
+
const [persisted, setPersisted] = _chunkDCIB6AK3cjs.useLocalStorage.call(void 0,
|
|
30947
31148
|
_nullishCoalesce(storageKey, () => ( "__board_collapse_unused__")),
|
|
30948
31149
|
{}
|
|
30949
31150
|
);
|
|
@@ -30993,19 +31194,19 @@ function Board({
|
|
|
30993
31194
|
onThumbPointerDown,
|
|
30994
31195
|
onThumbPointerMove,
|
|
30995
31196
|
onThumbPointerUp
|
|
30996
|
-
} =
|
|
30997
|
-
const [items, setItems] =
|
|
30998
|
-
const isDraggingRef =
|
|
30999
|
-
|
|
31197
|
+
} = _chunkDCIB6AK3cjs.useHorizontalScrollbar.call(void 0, );
|
|
31198
|
+
const [items, setItems] = React98.useState(columns);
|
|
31199
|
+
const isDraggingRef = React98.useRef(false);
|
|
31200
|
+
React98.useEffect(() => {
|
|
31000
31201
|
if (!isDraggingRef.current) setItems(columns);
|
|
31001
31202
|
}, [columns]);
|
|
31002
|
-
const dragOriginRef =
|
|
31003
|
-
const [activeTicket, setActiveTicket] =
|
|
31203
|
+
const dragOriginRef = React98.useRef(null);
|
|
31204
|
+
const [activeTicket, setActiveTicket] = React98.useState(null);
|
|
31004
31205
|
const sensors = _core.useSensors.call(void 0,
|
|
31005
31206
|
_core.useSensor.call(void 0, _core.PointerSensor, { activationConstraint: { distance: 6 } }),
|
|
31006
31207
|
_core.useSensor.call(void 0, _core.KeyboardSensor, { coordinateGetter: _sortable.sortableKeyboardCoordinates })
|
|
31007
31208
|
);
|
|
31008
|
-
const collisionDetection =
|
|
31209
|
+
const collisionDetection = React98.useCallback((args) => {
|
|
31009
31210
|
const pointer = _core.pointerWithin.call(void 0, args);
|
|
31010
31211
|
const intersections = pointer.length > 0 ? pointer : _core.rectIntersection.call(void 0, args);
|
|
31011
31212
|
const ticketHit = intersections.find(
|
|
@@ -31159,7 +31360,7 @@ function Board({
|
|
|
31159
31360
|
const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess', _577 => _577.system]));
|
|
31160
31361
|
const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess', _578 => _578.system]));
|
|
31161
31362
|
const showGap = i > 0 && !joinLeft;
|
|
31162
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
31363
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React98.Fragment, { children: [
|
|
31163
31364
|
showGap && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "w-[var(--spacing-system-mf)] shrink-0" }),
|
|
31164
31365
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31165
31366
|
BoardColumn,
|
|
@@ -31317,7 +31518,7 @@ function TicketStatusConfigList({
|
|
|
31317
31518
|
if (oldIndex === -1 || newIndex === -1) return;
|
|
31318
31519
|
onReorder(oldIndex, newIndex);
|
|
31319
31520
|
};
|
|
31320
|
-
const sortableIds =
|
|
31521
|
+
const sortableIds = React99.useMemo(() => items.map((i) => i.id), [items]);
|
|
31321
31522
|
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)) }) }) });
|
|
31322
31523
|
}
|
|
31323
31524
|
function SortableRow({
|
|
@@ -31408,7 +31609,7 @@ function Header2({ config, platform }) {
|
|
|
31408
31609
|
}, [config.autoHide]);
|
|
31409
31610
|
const renderNavigationItem = (item) => {
|
|
31410
31611
|
if (item.element) {
|
|
31411
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31612
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, React114.default.Fragment, { children: item.element }, item.id);
|
|
31412
31613
|
}
|
|
31413
31614
|
if (item.children && item.children.length > 0) {
|
|
31414
31615
|
const isOpen = openDropdowns[item.id] || false;
|
|
@@ -31594,7 +31795,7 @@ function Header2({ config, platform }) {
|
|
|
31594
31795
|
_optionalChain([config, 'access', _593 => _593.mobile, 'optionalAccess', _594 => _594.onToggle, 'optionalCall', _595 => _595()]);
|
|
31595
31796
|
},
|
|
31596
31797
|
"aria-label": _optionalChain([config, 'access', _596 => _596.mobile, 'optionalAccess', _597 => _597.isOpen]) ? "Close menu" : "Open menu",
|
|
31597
|
-
leftIcon: _optionalChain([config, 'access', _598 => _598.mobile, 'optionalAccess', _599 => _599.menuIcon]) || /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31798
|
+
leftIcon: _optionalChain([config, 'access', _598 => _598.mobile, 'optionalAccess', _599 => _599.menuIcon]) || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Menu01Icon, {})
|
|
31598
31799
|
}
|
|
31599
31800
|
)
|
|
31600
31801
|
] })
|
|
@@ -31796,7 +31997,7 @@ _chunkQJGRP2YEcjs.init_button2.call(void 0, );
|
|
|
31796
31997
|
function SlidingSidebar({ config }) {
|
|
31797
31998
|
const [expandedItems, setExpandedItems] = _react.useState.call(void 0, /* @__PURE__ */ new Set());
|
|
31798
31999
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
31799
|
-
const headerHeight =
|
|
32000
|
+
const headerHeight = _chunkDCIB6AK3cjs.useHeaderHeight.call(void 0, );
|
|
31800
32001
|
_react.useEffect.call(void 0, () => {
|
|
31801
32002
|
setMounted(true);
|
|
31802
32003
|
}, []);
|
|
@@ -32029,7 +32230,7 @@ function useSectionNavigation(sections, options) {
|
|
|
32029
32230
|
if (!targetElement) return;
|
|
32030
32231
|
isScrollingFromClick.current = true;
|
|
32031
32232
|
setActiveSection(sectionId);
|
|
32032
|
-
|
|
32233
|
+
_chunkDCIB6AK3cjs.scrollElementIntoView.call(void 0, targetElement, { headerOffset: offset2 });
|
|
32033
32234
|
setTimeout(() => {
|
|
32034
32235
|
isScrollingFromClick.current = false;
|
|
32035
32236
|
}, 500);
|
|
@@ -32195,7 +32396,7 @@ function NavigationSidebarToggle({
|
|
|
32195
32396
|
"aria-label": "Hide Menu",
|
|
32196
32397
|
children: [
|
|
32197
32398
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32198
|
-
|
|
32399
|
+
_chunkCCG4DARMcjs.Chevrons03LeftIcon,
|
|
32199
32400
|
{
|
|
32200
32401
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
32201
32402
|
"text-ods-text-secondary w-6 h-6 transition-transform duration-300",
|
|
@@ -32225,10 +32426,10 @@ var MINIMIZED_WIDTH = 56;
|
|
|
32225
32426
|
var EXPANDED_WIDTH = 224;
|
|
32226
32427
|
var STORAGE_KEY = "of.navigationSidebar.minimized";
|
|
32227
32428
|
function NavigationSidebar({ config, disabled = false }) {
|
|
32228
|
-
const isMdUp = _nullishCoalesce(
|
|
32229
|
-
const isLgUp = _nullishCoalesce(
|
|
32429
|
+
const isMdUp = _nullishCoalesce(_chunkDCIB6AK3cjs.useMdUp.call(void 0, ), () => ( false));
|
|
32430
|
+
const isLgUp = _nullishCoalesce(_chunkDCIB6AK3cjs.useLgUp.call(void 0, ), () => ( false));
|
|
32230
32431
|
const isTablet = isMdUp && !isLgUp;
|
|
32231
|
-
const [desktopMinimized, setDesktopMinimized] =
|
|
32432
|
+
const [desktopMinimized, setDesktopMinimized] = _chunkDCIB6AK3cjs.useLocalStorage.call(void 0,
|
|
32232
32433
|
STORAGE_KEY,
|
|
32233
32434
|
_nullishCoalesce(config.minimized, () => ( false))
|
|
32234
32435
|
);
|
|
@@ -32372,7 +32573,7 @@ function HeaderGlobalSearch({
|
|
|
32372
32573
|
placeholder = "Global Search",
|
|
32373
32574
|
className
|
|
32374
32575
|
}) {
|
|
32375
|
-
const [internalValue, setInternalValue] =
|
|
32576
|
+
const [internalValue, setInternalValue] = React114.default.useState(value);
|
|
32376
32577
|
const currentValue = onChange ? value : internalValue;
|
|
32377
32578
|
const handleChange = (e) => {
|
|
32378
32579
|
const newValue = e.target.value;
|
|
@@ -32451,7 +32652,7 @@ function HeaderMingoButton({
|
|
|
32451
32652
|
// Mobile, drawer open: the icon-only button doubles as the close
|
|
32452
32653
|
// affordance, so swap the Mingo logo for an X. Match the other header
|
|
32453
32654
|
// icons (e.g. notifications): secondary color, w-4 h-4 → md:w-6 h-6.
|
|
32454
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32655
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.XmarkIcon, { className: "w-4 h-4 md:w-6 md:h-6 shrink-0 text-ods-text-secondary" })
|
|
32455
32656
|
) : (
|
|
32456
32657
|
// Outer frame follows the button's text color (currentColor); the eyes
|
|
32457
32658
|
// and corner block are ODS cyan.
|
|
@@ -32496,7 +32697,7 @@ function HeaderOrganizationFilter({
|
|
|
32496
32697
|
className
|
|
32497
32698
|
),
|
|
32498
32699
|
children: [
|
|
32499
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32700
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Filter02Icon, { className: "w-4 h-4 shrink-0 text-ods-text-secondary" }),
|
|
32500
32701
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-start justify-center min-w-0", children: [
|
|
32501
32702
|
/* @__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 }),
|
|
32502
32703
|
deviceCount !== void 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-sm font-medium leading-5 text-ods-text-secondary truncate", children: [
|
|
@@ -32523,7 +32724,7 @@ function HeaderOrganizationFilter({
|
|
|
32523
32724
|
|
|
32524
32725
|
// src/components/navigation/app-header.tsx
|
|
32525
32726
|
|
|
32526
|
-
var AppHeader =
|
|
32727
|
+
var AppHeader = React114.default.memo(function AppHeader2({
|
|
32527
32728
|
showSearch,
|
|
32528
32729
|
onSearch,
|
|
32529
32730
|
showOrganizations,
|
|
@@ -32547,7 +32748,7 @@ var AppHeader = React113.default.memo(function AppHeader2({
|
|
|
32547
32748
|
onToggleMobileMenu,
|
|
32548
32749
|
disabled = false
|
|
32549
32750
|
}) {
|
|
32550
|
-
const isMdUp = _nullishCoalesce(
|
|
32751
|
+
const isMdUp = _nullishCoalesce(_chunkDCIB6AK3cjs.useMdUp.call(void 0, ), () => ( false));
|
|
32551
32752
|
const dimmedClass = disabled ? "pointer-events-none opacity-50" : "";
|
|
32552
32753
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
32553
32754
|
"header",
|
|
@@ -32562,7 +32763,7 @@ var AppHeader = React113.default.memo(function AppHeader2({
|
|
|
32562
32763
|
{
|
|
32563
32764
|
onClick: onToggleMobileMenu,
|
|
32564
32765
|
isActive: isMobileMenuOpen,
|
|
32565
|
-
icon: isMobileMenuOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32766
|
+
icon: isMobileMenuOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.XmarkIcon, { className: "w-4 h-4" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Menu01Icon, { className: "w-4 h-4" }),
|
|
32566
32767
|
"aria-label": isMobileMenuOpen ? "Close menu" : "Open menu",
|
|
32567
32768
|
"aria-expanded": isMobileMenuOpen
|
|
32568
32769
|
}
|
|
@@ -32709,7 +32910,7 @@ function NotificationsHeaderButton({
|
|
|
32709
32910
|
HeaderButton,
|
|
32710
32911
|
{
|
|
32711
32912
|
icon: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative w-4 h-4 md:w-6 md:h-6", children: [
|
|
32712
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32913
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.BellIcon, { className: "w-full h-full" }),
|
|
32713
32914
|
hasUnread && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32714
32915
|
"span",
|
|
32715
32916
|
{
|
|
@@ -32733,7 +32934,7 @@ function NotificationsHeaderButton({
|
|
|
32733
32934
|
|
|
32734
32935
|
|
|
32735
32936
|
var HEADER_HEIGHT = 48;
|
|
32736
|
-
var MobileBurgerMenu =
|
|
32937
|
+
var MobileBurgerMenu = React114.default.memo(function MobileBurgerMenu2({
|
|
32737
32938
|
isOpen,
|
|
32738
32939
|
onClose,
|
|
32739
32940
|
config,
|
|
@@ -32794,7 +32995,7 @@ var MobileBurgerMenu = React113.default.memo(function MobileBurgerMenu2({
|
|
|
32794
32995
|
),
|
|
32795
32996
|
"aria-current": isActive ? "page" : void 0,
|
|
32796
32997
|
children: [
|
|
32797
|
-
item.icon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-shrink-0 size-4 flex items-center justify-center", children:
|
|
32998
|
+
item.icon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-shrink-0 size-4 flex items-center justify-center", children: React114.default.cloneElement(item.icon, {
|
|
32798
32999
|
size: 16,
|
|
32799
33000
|
color: isActive && !disabled ? "var(--color-accent-primary)" : "var(--color-text-secondary)"
|
|
32800
33001
|
}) }),
|
|
@@ -32813,7 +33014,7 @@ var MobileBurgerMenu = React113.default.memo(function MobileBurgerMenu2({
|
|
|
32813
33014
|
rows.push(items.slice(i, i + 2));
|
|
32814
33015
|
}
|
|
32815
33016
|
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: [
|
|
32816
|
-
row.map((item) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33017
|
+
row.map((item) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, React114.default.Fragment, { children: renderNavigationItem(item, true) }, item.id)),
|
|
32817
33018
|
row.length === 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1" })
|
|
32818
33019
|
] }, rowIndex)) });
|
|
32819
33020
|
};
|
|
@@ -32886,7 +33087,7 @@ var MobileBurgerMenu = React113.default.memo(function MobileBurgerMenu2({
|
|
|
32886
33087
|
onClick: onSearchUser,
|
|
32887
33088
|
variant: "outline",
|
|
32888
33089
|
"aria-label": "Search users",
|
|
32889
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33090
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.UserSearchIcon, { className: "size-4 text-ods-text-primary" })
|
|
32890
33091
|
}
|
|
32891
33092
|
),
|
|
32892
33093
|
onEditProfile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -32896,7 +33097,7 @@ var MobileBurgerMenu = React113.default.memo(function MobileBurgerMenu2({
|
|
|
32896
33097
|
onClick: onEditProfile,
|
|
32897
33098
|
variant: "outline",
|
|
32898
33099
|
"aria-label": "Edit profile",
|
|
32899
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33100
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.PenEditIcon, { className: "size-4 text-ods-text-primary" })
|
|
32900
33101
|
}
|
|
32901
33102
|
)
|
|
32902
33103
|
] })
|
|
@@ -32904,7 +33105,7 @@ var MobileBurgerMenu = React113.default.memo(function MobileBurgerMenu2({
|
|
|
32904
33105
|
}
|
|
32905
33106
|
),
|
|
32906
33107
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "nav", { "aria-label": "Primary navigation", children: renderNavigationGrid(primaryItems) }),
|
|
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,
|
|
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, React114.default.Fragment, { children: renderNavigationItem(item, false) }, item.id)) }),
|
|
32908
33109
|
onLogout && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
32909
33110
|
"button",
|
|
32910
33111
|
{
|
|
@@ -32916,7 +33117,7 @@ var MobileBurgerMenu = React113.default.memo(function MobileBurgerMenu2({
|
|
|
32916
33117
|
disabled && "cursor-not-allowed opacity-50"
|
|
32917
33118
|
),
|
|
32918
33119
|
children: [
|
|
32919
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33120
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Logout02Icon, { className: "size-4 text-ods-error" }),
|
|
32920
33121
|
/* @__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" })
|
|
32921
33122
|
]
|
|
32922
33123
|
}
|
|
@@ -32996,7 +33197,7 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
32996
33197
|
|
|
32997
33198
|
|
|
32998
33199
|
|
|
32999
|
-
var DrawerOpenContext =
|
|
33200
|
+
var DrawerOpenContext = React107.createContext(false);
|
|
33000
33201
|
var AppLayoutDrawerRoot = ({
|
|
33001
33202
|
open: openProp,
|
|
33002
33203
|
defaultOpen,
|
|
@@ -33005,10 +33206,10 @@ var AppLayoutDrawerRoot = ({
|
|
|
33005
33206
|
children,
|
|
33006
33207
|
...rest
|
|
33007
33208
|
}) => {
|
|
33008
|
-
const [internalOpen, setInternalOpen] =
|
|
33209
|
+
const [internalOpen, setInternalOpen] = React107.useState(_nullishCoalesce(defaultOpen, () => ( false)));
|
|
33009
33210
|
const isControlled = openProp !== void 0;
|
|
33010
33211
|
const open = isControlled ? openProp : internalOpen;
|
|
33011
|
-
const handleOpenChange =
|
|
33212
|
+
const handleOpenChange = React107.useCallback(
|
|
33012
33213
|
(next) => {
|
|
33013
33214
|
if (!isControlled) setInternalOpen(next);
|
|
33014
33215
|
_optionalChain([onOpenChange, 'optionalCall', _644 => _644(next)]);
|
|
@@ -33102,8 +33303,8 @@ function useContainedResizableSize({
|
|
|
33102
33303
|
storageKey,
|
|
33103
33304
|
container
|
|
33104
33305
|
}) {
|
|
33105
|
-
const [available, setAvailable] =
|
|
33106
|
-
|
|
33306
|
+
const [available, setAvailable] = React107.useState(0);
|
|
33307
|
+
React107.useEffect(() => {
|
|
33107
33308
|
if (!enabled || !container) return;
|
|
33108
33309
|
const update = () => {
|
|
33109
33310
|
setAvailable(isHorizontal ? container.clientWidth : container.clientHeight);
|
|
@@ -33113,14 +33314,14 @@ function useContainedResizableSize({
|
|
|
33113
33314
|
ro.observe(container);
|
|
33114
33315
|
return () => ro.disconnect();
|
|
33115
33316
|
}, [enabled, container, isHorizontal]);
|
|
33116
|
-
const clampToContainer =
|
|
33317
|
+
const clampToContainer = React107.useCallback(
|
|
33117
33318
|
(value) => {
|
|
33118
33319
|
const effectiveMax = available > 0 ? Math.min(maxSize, available - 40) : maxSize;
|
|
33119
33320
|
return clamp3(value, minSize, Math.max(minSize, effectiveMax));
|
|
33120
33321
|
},
|
|
33121
33322
|
[available, minSize, maxSize]
|
|
33122
33323
|
);
|
|
33123
|
-
const readInitial =
|
|
33324
|
+
const readInitial = React107.useCallback(() => {
|
|
33124
33325
|
if (!enabled) return defaultSize;
|
|
33125
33326
|
if (typeof window === "undefined") return defaultSize;
|
|
33126
33327
|
if (!storageKey) return defaultSize;
|
|
@@ -33134,19 +33335,19 @@ function useContainedResizableSize({
|
|
|
33134
33335
|
return defaultSize;
|
|
33135
33336
|
}
|
|
33136
33337
|
}, [enabled, storageKey, defaultSize]);
|
|
33137
|
-
const [size, setSizeRaw] =
|
|
33138
|
-
const setSize =
|
|
33338
|
+
const [size, setSizeRaw] = React107.useState(readInitial);
|
|
33339
|
+
const setSize = React107.useCallback(
|
|
33139
33340
|
(next) => setSizeRaw(clampToContainer(next)),
|
|
33140
33341
|
[clampToContainer]
|
|
33141
33342
|
);
|
|
33142
|
-
|
|
33343
|
+
React107.useEffect(() => {
|
|
33143
33344
|
if (!enabled || !storageKey || typeof window === "undefined") return;
|
|
33144
33345
|
try {
|
|
33145
33346
|
window.localStorage.setItem(storageKey, String(Math.round(size)));
|
|
33146
33347
|
} catch (e35) {
|
|
33147
33348
|
}
|
|
33148
33349
|
}, [enabled, size, storageKey]);
|
|
33149
|
-
|
|
33350
|
+
React107.useEffect(() => {
|
|
33150
33351
|
if (!enabled) return;
|
|
33151
33352
|
setSizeRaw((prev) => clampToContainer(prev));
|
|
33152
33353
|
}, [enabled, clampToContainer]);
|
|
@@ -33161,7 +33362,7 @@ function AppLayoutDrawerResizeHandle({
|
|
|
33161
33362
|
ariaLabel
|
|
33162
33363
|
}) {
|
|
33163
33364
|
const isHorizontal = HORIZONTAL_SIDES2.has(side);
|
|
33164
|
-
const startRef =
|
|
33365
|
+
const startRef = React107.useRef(null);
|
|
33165
33366
|
const direction = side === "right" || side === "bottom" ? -1 : 1;
|
|
33166
33367
|
const handlePointerDown = (e) => {
|
|
33167
33368
|
if (e.button !== 0 && e.pointerType === "mouse") return;
|
|
@@ -33251,7 +33452,7 @@ function AppLayoutDrawerResizeHandle({
|
|
|
33251
33452
|
}
|
|
33252
33453
|
);
|
|
33253
33454
|
}
|
|
33254
|
-
var AppLayoutDrawerContent =
|
|
33455
|
+
var AppLayoutDrawerContent = React107.forwardRef(
|
|
33255
33456
|
({
|
|
33256
33457
|
side = "right",
|
|
33257
33458
|
flush = false,
|
|
@@ -33279,13 +33480,13 @@ var AppLayoutDrawerContent = React106.forwardRef(
|
|
|
33279
33480
|
}, ref) => {
|
|
33280
33481
|
const contextContainer = useAppLayoutDrawerContainer();
|
|
33281
33482
|
const portalContainer = container !== void 0 ? container : contextContainer;
|
|
33282
|
-
const open =
|
|
33283
|
-
const [hasOpened, setHasOpened] =
|
|
33284
|
-
|
|
33483
|
+
const open = React107.useContext(DrawerOpenContext);
|
|
33484
|
+
const [hasOpened, setHasOpened] = React107.useState(Boolean(open));
|
|
33485
|
+
React107.useEffect(() => {
|
|
33285
33486
|
if (open) setHasOpened(true);
|
|
33286
33487
|
}, [open]);
|
|
33287
33488
|
const persist = keepMounted && hasOpened;
|
|
33288
|
-
|
|
33489
|
+
React107.useEffect(() => {
|
|
33289
33490
|
if (!debugLayoutShift) return;
|
|
33290
33491
|
if (!open) return;
|
|
33291
33492
|
if (typeof window === "undefined") return;
|
|
@@ -33336,8 +33537,8 @@ var AppLayoutDrawerContent = React106.forwardRef(
|
|
|
33336
33537
|
const resolvedSide = _nullishCoalesce(side, () => ( "right"));
|
|
33337
33538
|
const isHorizontal = HORIZONTAL_SIDES2.has(resolvedSide);
|
|
33338
33539
|
const initialSize = _nullishCoalesce(defaultSize, () => ( (isHorizontal ? 560 : 480)));
|
|
33339
|
-
const [isMobile, setIsMobile] =
|
|
33340
|
-
|
|
33540
|
+
const [isMobile, setIsMobile] = React107.useState(false);
|
|
33541
|
+
React107.useEffect(() => {
|
|
33341
33542
|
if (typeof window === "undefined") return;
|
|
33342
33543
|
const mq = window.matchMedia(`(max-width: ${mobileBreakpoint - 1}px)`);
|
|
33343
33544
|
const update = () => setIsMobile(mq.matches);
|
|
@@ -33760,7 +33961,7 @@ var ToolBadge = ({
|
|
|
33760
33961
|
}) => {
|
|
33761
33962
|
const label = getToolLabel(toolType);
|
|
33762
33963
|
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: [
|
|
33763
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33964
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDCIB6AK3cjs.ToolIcon, { toolType, className: iconClassName, size: 16 }),
|
|
33764
33965
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-primary text-h4", children: label })
|
|
33765
33966
|
] });
|
|
33766
33967
|
};
|
|
@@ -33771,7 +33972,7 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
33771
33972
|
|
|
33772
33973
|
var shellIconMap = {
|
|
33773
33974
|
[ShellTypeValues.POWERSHELL]: {
|
|
33774
|
-
icon:
|
|
33975
|
+
icon: _chunkCCG4DARMcjs.PowershellLogoGreyIcon,
|
|
33775
33976
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
33776
33977
|
},
|
|
33777
33978
|
[ShellTypeValues.CMD]: {
|
|
@@ -33783,7 +33984,7 @@ var shellIconMap = {
|
|
|
33783
33984
|
props: { size: 16, color: "#888888" }
|
|
33784
33985
|
},
|
|
33785
33986
|
[ShellTypeValues.PYTHON]: {
|
|
33786
|
-
icon:
|
|
33987
|
+
icon: _chunkCCG4DARMcjs.PythonLogoIcon,
|
|
33787
33988
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
33788
33989
|
},
|
|
33789
33990
|
[ShellTypeValues.NUSHELL]: {
|
|
@@ -33999,7 +34200,7 @@ var ScriptArguments = ({
|
|
|
33999
34200
|
onClick: handleAdd,
|
|
34000
34201
|
disabled,
|
|
34001
34202
|
className: "self-start",
|
|
34002
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34203
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.PlusCircleIcon, { className: "text-ods-text-secondary" }),
|
|
34003
34204
|
children: addButtonLabel
|
|
34004
34205
|
}
|
|
34005
34206
|
) })
|
|
@@ -34025,7 +34226,7 @@ function OnboardingStepCard({
|
|
|
34025
34226
|
onSkip,
|
|
34026
34227
|
className
|
|
34027
34228
|
}) {
|
|
34028
|
-
const [isProcessing, setIsProcessing] =
|
|
34229
|
+
const [isProcessing, setIsProcessing] = React114.default.useState(false);
|
|
34029
34230
|
const handleAction = async (e) => {
|
|
34030
34231
|
e.stopPropagation();
|
|
34031
34232
|
setIsProcessing(true);
|
|
@@ -34132,12 +34333,12 @@ function OnboardingWalkthrough({
|
|
|
34132
34333
|
isStepSkipped,
|
|
34133
34334
|
allStepsComplete,
|
|
34134
34335
|
markMultipleComplete
|
|
34135
|
-
} =
|
|
34336
|
+
} = _chunkDCIB6AK3cjs.useOnboardingState.call(void 0, storageKey);
|
|
34136
34337
|
const hasAutoMarkedRef = _react.useRef.call(void 0, false);
|
|
34137
34338
|
const autoMarkingInProgressRef = _react.useRef.call(void 0, false);
|
|
34138
34339
|
const lastCompletionStatusRef = _react.useRef.call(void 0, null);
|
|
34139
34340
|
const actionInProgressRef = _react.useRef.call(void 0, /* @__PURE__ */ new Set());
|
|
34140
|
-
|
|
34341
|
+
React114.default.useEffect(() => {
|
|
34141
34342
|
if (isLoadingCompletion) {
|
|
34142
34343
|
hasAutoMarkedRef.current = false;
|
|
34143
34344
|
return;
|
|
@@ -34268,7 +34469,7 @@ var LOG_SEVERITY_LABELS = {
|
|
|
34268
34469
|
|
|
34269
34470
|
// src/components/log-severity-dot.tsx
|
|
34270
34471
|
|
|
34271
|
-
var LogSeverityDot =
|
|
34472
|
+
var LogSeverityDot = React110.forwardRef(({ severity, size = "md", className }, ref) => {
|
|
34272
34473
|
const sizeClasses2 = {
|
|
34273
34474
|
sm: "w-4 h-4",
|
|
34274
34475
|
md: "w-6 h-6",
|
|
@@ -34339,7 +34540,7 @@ var LogCard = ({ log, isLast, showConnector, onClick }) => {
|
|
|
34339
34540
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-['DM_Sans'] font-medium text-[14px] leading-5 text-white", children: log.title }),
|
|
34340
34541
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
34341
34542
|
/* @__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) }),
|
|
34342
|
-
log.toolType && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34543
|
+
log.toolType && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDCIB6AK3cjs.ToolIcon, { toolType: log.toolType, size: 16 })
|
|
34343
34544
|
] })
|
|
34344
34545
|
] })
|
|
34345
34546
|
]
|
|
@@ -34358,7 +34559,7 @@ var LogCard = ({ log, isLast, showConnector, onClick }) => {
|
|
|
34358
34559
|
)
|
|
34359
34560
|
] });
|
|
34360
34561
|
};
|
|
34361
|
-
var LogsList =
|
|
34562
|
+
var LogsList = React111.forwardRef(({
|
|
34362
34563
|
logs,
|
|
34363
34564
|
maxHeight = "400px",
|
|
34364
34565
|
showConnector = true,
|
|
@@ -34367,7 +34568,7 @@ var LogsList = React110.forwardRef(({
|
|
|
34367
34568
|
emptyMessage = "No logs to display",
|
|
34368
34569
|
className
|
|
34369
34570
|
}, ref) => {
|
|
34370
|
-
const containerRef =
|
|
34571
|
+
const containerRef = React111.useRef(null);
|
|
34371
34572
|
const isFullHeight = maxHeight === "100%";
|
|
34372
34573
|
const getContainerStyles = () => {
|
|
34373
34574
|
if (isFullHeight) return void 0;
|
|
@@ -34476,7 +34677,7 @@ function ServiceCard({ title, subtitle, icon, tag, rows, className }) {
|
|
|
34476
34677
|
}
|
|
34477
34678
|
function ServiceCardRowItem({ row }) {
|
|
34478
34679
|
const [revealed, setRevealed] = _react.useState.call(void 0, false);
|
|
34479
|
-
const { copy, copied } =
|
|
34680
|
+
const { copy, copied } = _chunkDCIB6AK3cjs.useCopyToClipboard.call(void 0, );
|
|
34480
34681
|
const actions = _react.useMemo.call(void 0, () => ({ copy: true, open: !!row.href, reveal: !!row.isSecret, ...row.actions }), [row]);
|
|
34481
34682
|
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 });
|
|
34482
34683
|
const handleCopy = () => copy(_nullishCoalesce(row.copyValue, () => ( row.value)));
|
|
@@ -34507,7 +34708,7 @@ function ServiceCardRowItem({ row }) {
|
|
|
34507
34708
|
copied ? "text-ods-success" : "text-ods-text-secondary"
|
|
34508
34709
|
),
|
|
34509
34710
|
"aria-label": `Copy ${_nullishCoalesce(row.label, () => ( "value"))}`,
|
|
34510
|
-
children: copied ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34711
|
+
children: copied ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.CheckIcon, { size: 20 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Copy01Icon, { size: 20 })
|
|
34511
34712
|
}
|
|
34512
34713
|
),
|
|
34513
34714
|
actions.open && row.href && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -34528,7 +34729,7 @@ function ServiceCardRowItem({ row }) {
|
|
|
34528
34729
|
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
34529
34730
|
|
|
34530
34731
|
|
|
34531
|
-
var Slider =
|
|
34732
|
+
var Slider = React113.forwardRef(
|
|
34532
34733
|
({ className, value = [0], onValueChange, min = 0, max = 100, step = 1, ...props }, ref) => {
|
|
34533
34734
|
const handleChange = (e) => {
|
|
34534
34735
|
const newValue = [Number(e.target.value)];
|
|
@@ -35029,7 +35230,7 @@ function TableColumnFilterDropdown({
|
|
|
35029
35230
|
children: [
|
|
35030
35231
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-medium text-[12px] leading-[16px] uppercase text-ods-text-secondary select-none", children: columnLabel }),
|
|
35031
35232
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
35032
|
-
|
|
35233
|
+
_chunkCCG4DARMcjs.Filter02Icon,
|
|
35033
35234
|
{
|
|
35034
35235
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
35035
35236
|
"w-4 h-4 transition-colors",
|
|
@@ -35131,11 +35332,11 @@ function TableHeader({
|
|
|
35131
35332
|
const columnKey = column.sortKey || column.key;
|
|
35132
35333
|
const isActive = sortBy === columnKey;
|
|
35133
35334
|
if (!isActive) {
|
|
35134
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
35335
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.SwitchVrIcon, { className: "w-4 h-4 text-ods-text-secondary" });
|
|
35135
35336
|
}
|
|
35136
|
-
return sortDirection === "asc" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
35337
|
+
return sortDirection === "asc" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Arrow01UpIcon, { className: "w-4 h-4 text-ods-accent" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Arrow01DownIcon, { className: "w-4 h-4 text-ods-accent" });
|
|
35137
35338
|
};
|
|
35138
|
-
const isLgUp = _nullishCoalesce(
|
|
35339
|
+
const isLgUp = _nullishCoalesce(_chunkDCIB6AK3cjs.useLgUp.call(void 0, ), () => ( false));
|
|
35139
35340
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
35140
35341
|
"div",
|
|
35141
35342
|
{
|
|
@@ -35468,7 +35669,7 @@ function injectSyntheticColumns(columns, rowActions, renderRowActions, rowHref)
|
|
|
35468
35669
|
prefetch: false,
|
|
35469
35670
|
variant: "outline",
|
|
35470
35671
|
size: "icon",
|
|
35471
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
35672
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Chevron02RightIcon, { className: "w-6 h-6" }),
|
|
35472
35673
|
"aria-label": "View details"
|
|
35473
35674
|
}
|
|
35474
35675
|
) });
|
|
@@ -36025,7 +36226,7 @@ function QueryReportTable({
|
|
|
36025
36226
|
onThumbPointerDown,
|
|
36026
36227
|
onThumbPointerMove,
|
|
36027
36228
|
onThumbPointerUp
|
|
36028
|
-
} =
|
|
36229
|
+
} = _chunkDCIB6AK3cjs.useHorizontalScrollbar.call(void 0, );
|
|
36029
36230
|
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: [
|
|
36030
36231
|
!isCompact && (title || headerActions || showExport && data.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-end justify-between pt-6", children: [
|
|
36031
36232
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "font-mono font-semibold text-[32px] leading-[40px] text-ods-text-primary", children: title }),
|
|
@@ -36037,7 +36238,7 @@ function QueryReportTable({
|
|
|
36037
36238
|
className: "bg-ods-card",
|
|
36038
36239
|
variant: "outline",
|
|
36039
36240
|
size: "small-legacy",
|
|
36040
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36241
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Download02Icon, { size: 18 }),
|
|
36041
36242
|
onClick: handleExport,
|
|
36042
36243
|
children: "Export CSV"
|
|
36043
36244
|
}
|
|
@@ -36224,7 +36425,7 @@ function DataTableColumnFilter({
|
|
|
36224
36425
|
children: [
|
|
36225
36426
|
/* @__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 }),
|
|
36226
36427
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36227
|
-
|
|
36428
|
+
_chunkCCG4DARMcjs.Filter02Icon,
|
|
36228
36429
|
{
|
|
36229
36430
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
36230
36431
|
"w-4 h-4 transition-colors",
|
|
@@ -36256,7 +36457,7 @@ function DataTableHeader({
|
|
|
36256
36457
|
onSortChange
|
|
36257
36458
|
}) {
|
|
36258
36459
|
const table = useDataTableContext();
|
|
36259
|
-
const isLgUp = _nullishCoalesce(
|
|
36460
|
+
const isLgUp = _nullishCoalesce(_chunkDCIB6AK3cjs.useLgUp.call(void 0, ), () => ( false));
|
|
36260
36461
|
const headerGroup = table.getHeaderGroups()[0];
|
|
36261
36462
|
if (!headerGroup) return null;
|
|
36262
36463
|
const hasVisibleHeaderCell = headerGroup.headers.some((header) => {
|
|
@@ -36343,9 +36544,9 @@ function HeaderLabel({ header }) {
|
|
|
36343
36544
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: _reacttable.flexRender.call(void 0, headerDef, header.getContext()) });
|
|
36344
36545
|
}
|
|
36345
36546
|
function SortIcon({ sorted }) {
|
|
36346
|
-
if (sorted === "asc") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36347
|
-
if (sorted === "desc") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36348
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36547
|
+
if (sorted === "asc") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Arrow01UpIcon, { className: "w-4 h-4 text-ods-accent" });
|
|
36548
|
+
if (sorted === "desc") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Arrow01DownIcon, { className: "w-4 h-4 text-ods-accent" });
|
|
36549
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.SwitchVrIcon, { className: "w-4 h-4 text-ods-text-secondary transition-colors duration-200 group-hover:text-ods-text-primary" });
|
|
36349
36550
|
}
|
|
36350
36551
|
function resolveHeaderLabel(header) {
|
|
36351
36552
|
const h = header.column.columnDef.header;
|
|
@@ -36820,12 +37021,12 @@ function SearchInput({
|
|
|
36820
37021
|
limitTags = "auto",
|
|
36821
37022
|
getLimitTagsText = (more) => `+${more}`
|
|
36822
37023
|
}) {
|
|
36823
|
-
const [internalValue, setInternalValue] =
|
|
37024
|
+
const [internalValue, setInternalValue] = React116.useState(defaultValue);
|
|
36824
37025
|
const currentValue = onChange ? _nullishCoalesce(value, () => ( "")) : internalValue;
|
|
36825
|
-
const debouncedValue =
|
|
36826
|
-
const [isOpen, setIsOpen] =
|
|
36827
|
-
const [highlightedIndex, setHighlightedIndex] =
|
|
36828
|
-
const containerRef =
|
|
37026
|
+
const debouncedValue = _chunkDCIB6AK3cjs.useDebounce.call(void 0, currentValue, debounceMs);
|
|
37027
|
+
const [isOpen, setIsOpen] = React116.useState(false);
|
|
37028
|
+
const [highlightedIndex, setHighlightedIndex] = React116.useState(-1);
|
|
37029
|
+
const containerRef = React116.useRef(null);
|
|
36829
37030
|
const currentPlaceholder = filterChips.length > 0 ? "Add filter..." : placeholder;
|
|
36830
37031
|
const {
|
|
36831
37032
|
visibleCount: rawVisibleCount,
|
|
@@ -36834,7 +37035,7 @@ function SearchInput({
|
|
|
36834
37035
|
textMeasureRef,
|
|
36835
37036
|
badgeRef,
|
|
36836
37037
|
inputRef
|
|
36837
|
-
} =
|
|
37038
|
+
} = _chunkDCIB6AK3cjs.useAutoLimitTags.call(void 0, {
|
|
36838
37039
|
count: filterChips.length,
|
|
36839
37040
|
limitTags,
|
|
36840
37041
|
// When chips exist, pass empty placeholder so the hook only reserves input minWidth,
|
|
@@ -36842,10 +37043,10 @@ function SearchInput({
|
|
|
36842
37043
|
placeholder: filterChips.length > 0 ? "" : placeholder
|
|
36843
37044
|
});
|
|
36844
37045
|
const visibleCount = filterChips.length > 0 ? Math.max(1, rawVisibleCount) : rawVisibleCount;
|
|
36845
|
-
const hiddenTagsRef =
|
|
36846
|
-
const hiddenTagsPopupRef =
|
|
36847
|
-
const [showHiddenTags, setShowHiddenTags] =
|
|
36848
|
-
|
|
37046
|
+
const hiddenTagsRef = React116.useRef(null);
|
|
37047
|
+
const hiddenTagsPopupRef = React116.useRef(null);
|
|
37048
|
+
const [showHiddenTags, setShowHiddenTags] = React116.useState(false);
|
|
37049
|
+
React116.useEffect(() => {
|
|
36849
37050
|
if (!showHiddenTags) return;
|
|
36850
37051
|
const handleClick = (e) => {
|
|
36851
37052
|
const target = e.target;
|
|
@@ -36859,7 +37060,7 @@ function SearchInput({
|
|
|
36859
37060
|
const hiddenCount = filterChips.length - visibleCount;
|
|
36860
37061
|
const visibleChips = filterChips.slice(0, visibleCount);
|
|
36861
37062
|
const hiddenChips = filterChips.slice(visibleCount);
|
|
36862
|
-
const { flatResults, groups } =
|
|
37063
|
+
const { flatResults, groups } = React116.useMemo(() => {
|
|
36863
37064
|
if (!groupBy) return { flatResults: results, groups: null };
|
|
36864
37065
|
const grouped = /* @__PURE__ */ new Map();
|
|
36865
37066
|
for (const r of results) {
|
|
@@ -36876,7 +37077,7 @@ function SearchInput({
|
|
|
36876
37077
|
const meetsMinQuery = debouncedValue.length >= minQueryLength;
|
|
36877
37078
|
const autoShow = meetsMinQuery;
|
|
36878
37079
|
const dropdownVisible = _nullishCoalesce(showDropdownProp, () => ( (isOpen && autoShow)));
|
|
36879
|
-
|
|
37080
|
+
React116.useEffect(() => {
|
|
36880
37081
|
setHighlightedIndex(-1);
|
|
36881
37082
|
}, [flatResults.length]);
|
|
36882
37083
|
const handleChange = (e) => {
|
|
@@ -37000,8 +37201,8 @@ function SearchInput({
|
|
|
37000
37201
|
};
|
|
37001
37202
|
const hasValue = currentValue.length > 0;
|
|
37002
37203
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "relative", className), ref: containerRef, children: [
|
|
37003
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
37004
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
37204
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, PopoverPrimitive6.Root, { open: dropdownVisible, onOpenChange: handleOpenChange, modal: false, children: [
|
|
37205
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverPrimitive6.Anchor, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
37005
37206
|
"div",
|
|
37006
37207
|
{
|
|
37007
37208
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
@@ -37070,7 +37271,7 @@ function SearchInput({
|
|
|
37070
37271
|
onClick: handleClear,
|
|
37071
37272
|
className: "flex items-center justify-center hover:opacity-70 transition-opacity",
|
|
37072
37273
|
"aria-label": "Clear search",
|
|
37073
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
37274
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.XmarkCircleIcon, { className: "text-ods-text-secondary", size: 24 })
|
|
37074
37275
|
}
|
|
37075
37276
|
),
|
|
37076
37277
|
endAdornment
|
|
@@ -37079,7 +37280,7 @@ function SearchInput({
|
|
|
37079
37280
|
}
|
|
37080
37281
|
) }),
|
|
37081
37282
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
37082
|
-
|
|
37283
|
+
PopoverPrimitive6.Content,
|
|
37083
37284
|
{
|
|
37084
37285
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
37085
37286
|
"z-50 w-[var(--radix-popover-trigger-width)] mt-1",
|
|
@@ -37204,7 +37405,7 @@ function FilterListItem({
|
|
|
37204
37405
|
"flex items-start gap-[var(--spacing-system-xxs)] text-h6",
|
|
37205
37406
|
selected ? "text-ods-accent" : "text-ods-text-secondary"
|
|
37206
37407
|
),
|
|
37207
|
-
children: meta.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
37408
|
+
children: meta.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React117.Fragment, { children: [
|
|
37208
37409
|
index > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", children: "\u2022" }),
|
|
37209
37410
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: item })
|
|
37210
37411
|
] }, index))
|
|
@@ -37301,7 +37502,7 @@ function TagSearchInput({
|
|
|
37301
37502
|
textMeasureRef,
|
|
37302
37503
|
badgeRef,
|
|
37303
37504
|
inputRef
|
|
37304
|
-
} =
|
|
37505
|
+
} = _chunkDCIB6AK3cjs.useAutoLimitTags.call(void 0, {
|
|
37305
37506
|
count: tags.length,
|
|
37306
37507
|
limitTags,
|
|
37307
37508
|
placeholder: currentPlaceholder
|
|
@@ -37412,7 +37613,7 @@ function TagSearchInput({
|
|
|
37412
37613
|
onClick: handleClearAll,
|
|
37413
37614
|
className: "shrink-0 flex items-center justify-center pr-3 hover:opacity-70 transition-opacity cursor-pointer",
|
|
37414
37615
|
"aria-label": "Clear all",
|
|
37415
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
37616
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.XmarkCircleIcon, { className: "text-ods-text-secondary size-4 md:size-6" })
|
|
37416
37617
|
}
|
|
37417
37618
|
)
|
|
37418
37619
|
]
|
|
@@ -37776,6 +37977,7 @@ function FileUpload({
|
|
|
37776
37977
|
onChange,
|
|
37777
37978
|
managedFiles,
|
|
37778
37979
|
onRemoveManagedFile,
|
|
37980
|
+
onDownloadManagedFile,
|
|
37779
37981
|
accept = "*/*",
|
|
37780
37982
|
maxSize = 10 * 1024 * 1024,
|
|
37781
37983
|
maxFiles = 10,
|
|
@@ -37790,11 +37992,11 @@ function FileUpload({
|
|
|
37790
37992
|
maxListHeight,
|
|
37791
37993
|
acceptWindowDrops = false
|
|
37792
37994
|
}) {
|
|
37793
|
-
const [dragActive, setDragActive] =
|
|
37794
|
-
const [validationError, setValidationError] =
|
|
37795
|
-
const fileInputRef =
|
|
37995
|
+
const [dragActive, setDragActive] = React119.useState(false);
|
|
37996
|
+
const [validationError, setValidationError] = React119.useState(null);
|
|
37997
|
+
const fileInputRef = React119.useRef(null);
|
|
37796
37998
|
const isManaged = managedFiles !== void 0;
|
|
37797
|
-
const files =
|
|
37999
|
+
const files = React119.useMemo(() => {
|
|
37798
38000
|
if (!value) return [];
|
|
37799
38001
|
return Array.isArray(value) ? value : [value];
|
|
37800
38002
|
}, [value]);
|
|
@@ -37842,7 +38044,7 @@ function FileUpload({
|
|
|
37842
38044
|
fileInputRef.current.value = "";
|
|
37843
38045
|
}
|
|
37844
38046
|
};
|
|
37845
|
-
const handleFilesRef =
|
|
38047
|
+
const handleFilesRef = React119.useRef(handleFiles);
|
|
37846
38048
|
handleFilesRef.current = handleFiles;
|
|
37847
38049
|
const handleDrag = (e) => {
|
|
37848
38050
|
e.preventDefault();
|
|
@@ -37863,7 +38065,7 @@ function FileUpload({
|
|
|
37863
38065
|
handleFiles(e.dataTransfer.files);
|
|
37864
38066
|
}
|
|
37865
38067
|
};
|
|
37866
|
-
|
|
38068
|
+
React119.useEffect(() => {
|
|
37867
38069
|
if (!acceptWindowDrops || disabled) return;
|
|
37868
38070
|
let dragCounter = 0;
|
|
37869
38071
|
const onWindowDragEnter = (e) => {
|
|
@@ -37930,8 +38132,7 @@ function FileUpload({
|
|
|
37930
38132
|
};
|
|
37931
38133
|
const displayError = error || validationError || void 0;
|
|
37932
38134
|
const hasFiles = isManaged ? managedFiles.length > 0 : files.length > 0;
|
|
37933
|
-
const
|
|
37934
|
-
const canAddMore = multiple && fileCount < maxFiles;
|
|
38135
|
+
const showDropzone = multiple || !hasFiles;
|
|
37935
38136
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQJGRP2YEcjs.FieldWrapper, { label: fieldLabel, error: displayError, className, children: [
|
|
37936
38137
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
37937
38138
|
"input",
|
|
@@ -37945,69 +38146,54 @@ function FileUpload({
|
|
|
37945
38146
|
disabled
|
|
37946
38147
|
}
|
|
37947
38148
|
),
|
|
37948
|
-
|
|
37949
|
-
|
|
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,
|
|
38149
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xsf)]", children: [
|
|
38150
|
+
hasFiles && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
37977
38151
|
"div",
|
|
37978
38152
|
{
|
|
37979
38153
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
37980
|
-
"flex flex-col
|
|
37981
|
-
|
|
38154
|
+
"flex flex-col rounded-[6px] border border-ods-border bg-ods-card transition-colors duration-200",
|
|
38155
|
+
!maxListHeight && "overflow-hidden",
|
|
38156
|
+
dragActive && "border-ods-accent"
|
|
37982
38157
|
),
|
|
37983
38158
|
style: maxListHeight ? { maxHeight: typeof maxListHeight === "number" ? `${maxListHeight}px` : maxListHeight, overflowY: "auto" } : void 0,
|
|
37984
38159
|
children: isManaged ? managedFiles.map((entry) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
37985
38160
|
"div",
|
|
37986
38161
|
{
|
|
37987
38162
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
37988
|
-
"flex items-center gap-
|
|
37989
|
-
entry.status === "error"
|
|
38163
|
+
"flex items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)] py-[var(--spacing-system-sf)] border-b border-ods-border last:border-b-0",
|
|
38164
|
+
entry.status === "error" && "bg-ods-error/5"
|
|
37990
38165
|
),
|
|
37991
38166
|
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" }) }),
|
|
37992
38168
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0", children: [
|
|
37993
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-heading-
|
|
37994
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-
|
|
37995
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-heading-
|
|
37996
|
-
entry.status === "uploading" && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-
|
|
38169
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-heading-4 font-medium text-ods-text-primary truncate", title: entry.fileName, children: entry.fileName }),
|
|
38170
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
38171
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-heading-5 text-ods-text-secondary", children: formatFileSize2(entry.fileSize) }),
|
|
38172
|
+
entry.status === "uploading" && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-[var(--spacing-system-xxs)] text-heading-5 text-ods-text-secondary", children: [
|
|
37997
38173
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "size-3 animate-spin" }),
|
|
37998
38174
|
"Uploading..."
|
|
37999
38175
|
] }),
|
|
38000
|
-
entry.status === "error" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-heading-
|
|
38176
|
+
entry.status === "error" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-heading-5 text-ods-error", children: entry.error || "Upload failed" })
|
|
38001
38177
|
] })
|
|
38002
38178
|
] }),
|
|
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
|
+
),
|
|
38003
38189
|
!disabled && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38004
38190
|
"button",
|
|
38005
38191
|
{
|
|
38006
38192
|
type: "button",
|
|
38007
38193
|
onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _779 => _779(entry.id)]),
|
|
38008
|
-
className: "shrink-0
|
|
38194
|
+
className: "shrink-0 text-ods-error hover:opacity-80 transition-opacity",
|
|
38009
38195
|
"aria-label": `Remove ${entry.fileName}`,
|
|
38010
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38196
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.TrashIcon, { className: "size-6" })
|
|
38011
38197
|
}
|
|
38012
38198
|
)
|
|
38013
38199
|
]
|
|
@@ -38016,20 +38202,21 @@ function FileUpload({
|
|
|
38016
38202
|
)) : files.map((file, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
38017
38203
|
"div",
|
|
38018
38204
|
{
|
|
38019
|
-
className: "flex items-center gap-
|
|
38205
|
+
className: "flex items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)] py-[var(--spacing-system-sf)] border-b border-ods-border last:border-b-0",
|
|
38020
38206
|
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" }) }),
|
|
38021
38208
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0", children: [
|
|
38022
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-heading-
|
|
38023
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-heading-
|
|
38209
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-heading-4 font-medium text-ods-text-primary truncate", title: file.name, children: file.name }),
|
|
38210
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-heading-5 text-ods-text-secondary", children: formatFileSize2(file.size) })
|
|
38024
38211
|
] }),
|
|
38025
38212
|
!disabled && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38026
38213
|
"button",
|
|
38027
38214
|
{
|
|
38028
38215
|
type: "button",
|
|
38029
38216
|
onClick: () => handleRemoveFile(index),
|
|
38030
|
-
className: "shrink-0
|
|
38217
|
+
className: "shrink-0 text-ods-error hover:opacity-80 transition-opacity",
|
|
38031
38218
|
"aria-label": `Remove ${file.name}`,
|
|
38032
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38219
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.TrashIcon, { className: "size-6" })
|
|
38033
38220
|
}
|
|
38034
38221
|
)
|
|
38035
38222
|
]
|
|
@@ -38038,25 +38225,31 @@ function FileUpload({
|
|
|
38038
38225
|
))
|
|
38039
38226
|
}
|
|
38040
38227
|
),
|
|
38041
|
-
|
|
38228
|
+
showDropzone && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
38042
38229
|
"button",
|
|
38043
38230
|
{
|
|
38044
38231
|
type: "button",
|
|
38045
|
-
onClick: openDialog,
|
|
38046
38232
|
onDragEnter: handleDrag,
|
|
38047
38233
|
onDragLeave: handleDrag,
|
|
38048
38234
|
onDragOver: handleDrag,
|
|
38049
38235
|
onDrop: handleDrop,
|
|
38236
|
+
onClick: openDialog,
|
|
38050
38237
|
disabled,
|
|
38051
38238
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
38052
|
-
"flex
|
|
38053
|
-
"border border-dashed",
|
|
38054
|
-
"text-heading-5 font-medium",
|
|
38239
|
+
"flex w-full items-center gap-[var(--spacing-system-xsf)] p-[var(--spacing-system-sf)] rounded-[6px] border border-dashed cursor-pointer text-left",
|
|
38055
38240
|
"transition-colors duration-200",
|
|
38056
|
-
|
|
38057
|
-
|
|
38241
|
+
"bg-ods-card border-ods-border",
|
|
38242
|
+
dragActive && "border-ods-accent bg-ods-accent/5",
|
|
38243
|
+
!dragActive && "hover:border-ods-accent/30",
|
|
38244
|
+
disabled && "opacity-50 cursor-not-allowed hover:border-ods-border"
|
|
38058
38245
|
),
|
|
38059
|
-
children:
|
|
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
|
+
]
|
|
38060
38253
|
}
|
|
38061
38254
|
)
|
|
38062
38255
|
] })
|
|
@@ -38105,10 +38298,10 @@ function ImageUploader({
|
|
|
38105
38298
|
alt = "Uploaded image",
|
|
38106
38299
|
className
|
|
38107
38300
|
}) {
|
|
38108
|
-
const inputRef =
|
|
38109
|
-
const [dragActive, setDragActive] =
|
|
38110
|
-
const [pressed, setPressed] =
|
|
38111
|
-
const [validationError, setValidationError] =
|
|
38301
|
+
const inputRef = React120.useRef(null);
|
|
38302
|
+
const [dragActive, setDragActive] = React120.useState(false);
|
|
38303
|
+
const [pressed, setPressed] = React120.useState(false);
|
|
38304
|
+
const [validationError, setValidationError] = React120.useState(null);
|
|
38112
38305
|
const interactive = !disabled && !loading;
|
|
38113
38306
|
const hasImage = Boolean(value);
|
|
38114
38307
|
const displayError = error || validationError || void 0;
|
|
@@ -38216,7 +38409,7 @@ function ImageUploader({
|
|
|
38216
38409
|
onClick: openDialog,
|
|
38217
38410
|
disabled: !interactive,
|
|
38218
38411
|
ariaLabel: "Replace image",
|
|
38219
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38412
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Refresh02VrIcon, { className: "size-6" })
|
|
38220
38413
|
}
|
|
38221
38414
|
),
|
|
38222
38415
|
onRemove && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -38225,13 +38418,13 @@ function ImageUploader({
|
|
|
38225
38418
|
onClick: onRemove,
|
|
38226
38419
|
disabled: !interactive,
|
|
38227
38420
|
ariaLabel: "Remove image",
|
|
38228
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38421
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.TrashIcon, { className: "size-6" })
|
|
38229
38422
|
}
|
|
38230
38423
|
)
|
|
38231
38424
|
] }),
|
|
38232
38425
|
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" }) })
|
|
38233
38426
|
] }) : 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: [
|
|
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,
|
|
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, _chunkCCG4DARMcjs.ImagePlusIcon, { className: "size-6 text-ods-text-primary" }) }),
|
|
38235
38428
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col items-center text-center", children: [
|
|
38236
38429
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-primary", children: label }),
|
|
38237
38430
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6 text-ods-text-secondary", children: description }),
|
|
@@ -38281,10 +38474,10 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
38281
38474
|
|
|
38282
38475
|
|
|
38283
38476
|
|
|
38284
|
-
var Popover2 =
|
|
38285
|
-
var PopoverTrigger =
|
|
38286
|
-
var PopoverContent =
|
|
38287
|
-
|
|
38477
|
+
var Popover2 = PopoverPrimitive7.Root;
|
|
38478
|
+
var PopoverTrigger = PopoverPrimitive7.Trigger;
|
|
38479
|
+
var PopoverContent = React121.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverPrimitive7.Portal, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38480
|
+
PopoverPrimitive7.Content,
|
|
38288
38481
|
{
|
|
38289
38482
|
ref,
|
|
38290
38483
|
align,
|
|
@@ -38296,7 +38489,7 @@ var PopoverContent = React120.forwardRef(({ className, align = "center", sideOff
|
|
|
38296
38489
|
...props
|
|
38297
38490
|
}
|
|
38298
38491
|
) }));
|
|
38299
|
-
PopoverContent.displayName =
|
|
38492
|
+
PopoverContent.displayName = PopoverPrimitive7.Content.displayName;
|
|
38300
38493
|
|
|
38301
38494
|
// src/components/ui/color-preset-select.tsx
|
|
38302
38495
|
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
@@ -38319,7 +38512,7 @@ var CUSTOM_PRESET_KEY = "custom";
|
|
|
38319
38512
|
var DEFAULT_CUSTOM_STATUS_COLOR = "#888888";
|
|
38320
38513
|
function TriggerChevron() {
|
|
38321
38514
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38322
|
-
|
|
38515
|
+
_chunkCCG4DARMcjs.Chevron02DownIcon,
|
|
38323
38516
|
{
|
|
38324
38517
|
size: 24,
|
|
38325
38518
|
className: "transition-transform duration-200 group-data-[state=open]:rotate-180"
|
|
@@ -38380,8 +38573,8 @@ var FORMATS = ["HEX", "RGB", "HSL"];
|
|
|
38380
38573
|
var channelInputClass = "flex-1 min-w-0 [&_input]:text-center [&_input]:tabular-nums";
|
|
38381
38574
|
var hexInputClass = "flex-1 min-w-0 [&_input]:uppercase";
|
|
38382
38575
|
function HexInputs({ value, onChange }) {
|
|
38383
|
-
const [draft, setDraft] =
|
|
38384
|
-
|
|
38576
|
+
const [draft, setDraft] = React122.useState(value);
|
|
38577
|
+
React122.useEffect(() => setDraft(value), [value]);
|
|
38385
38578
|
const commit = () => {
|
|
38386
38579
|
const candidate = (draft.startsWith("#") ? draft : `#${draft}`).toLowerCase();
|
|
38387
38580
|
if (HEX_PATTERN.test(candidate)) onChange(candidate);
|
|
@@ -38413,8 +38606,8 @@ function ChannelInput({
|
|
|
38413
38606
|
ariaLabel,
|
|
38414
38607
|
onCommit
|
|
38415
38608
|
}) {
|
|
38416
|
-
const [draft, setDraft] =
|
|
38417
|
-
|
|
38609
|
+
const [draft, setDraft] = React122.useState(String(value));
|
|
38610
|
+
React122.useEffect(() => setDraft(String(value)), [value]);
|
|
38418
38611
|
const commit = () => {
|
|
38419
38612
|
const parsed = Number.parseInt(draft, 10);
|
|
38420
38613
|
if (!Number.isFinite(parsed)) {
|
|
@@ -38474,8 +38667,8 @@ function HslInputs({ value, onChange }) {
|
|
|
38474
38667
|
] });
|
|
38475
38668
|
}
|
|
38476
38669
|
function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
38477
|
-
const [open, setOpen] =
|
|
38478
|
-
const [format2, setFormat] =
|
|
38670
|
+
const [open, setOpen] = React122.useState(false);
|
|
38671
|
+
const [format2, setFormat] = React122.useState("HEX");
|
|
38479
38672
|
const formatGroups = [
|
|
38480
38673
|
{
|
|
38481
38674
|
items: FORMATS.map((f) => ({
|
|
@@ -38540,9 +38733,9 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
38540
38733
|
|
|
38541
38734
|
var dismissOpenTooltip = null;
|
|
38542
38735
|
function WithLeftTooltip({ content, children }) {
|
|
38543
|
-
const [open, setOpen] =
|
|
38544
|
-
const isTouchRef =
|
|
38545
|
-
const close =
|
|
38736
|
+
const [open, setOpen] = React123.useState(false);
|
|
38737
|
+
const isTouchRef = React123.useRef(false);
|
|
38738
|
+
const close = React123.useCallback(() => setOpen(false), []);
|
|
38546
38739
|
if (!content) return children;
|
|
38547
38740
|
const toggleFromTouch = () => {
|
|
38548
38741
|
setOpen((prev) => {
|
|
@@ -38611,7 +38804,7 @@ function TicketStatusConfigRow({
|
|
|
38611
38804
|
isDragging && "opacity-70 shadow-lg"
|
|
38612
38805
|
),
|
|
38613
38806
|
children: [
|
|
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,
|
|
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, _chunkCCG4DARMcjs.DraggerIcon, { size: 24, "aria-hidden": true, className: "opacity-40" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38615
38808
|
"button",
|
|
38616
38809
|
{
|
|
38617
38810
|
type: "button",
|
|
@@ -38619,7 +38812,7 @@ function TicketStatusConfigRow({
|
|
|
38619
38812
|
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",
|
|
38620
38813
|
...dragHandleAttributes,
|
|
38621
38814
|
...dragHandleProps,
|
|
38622
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38815
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.DraggerIcon, { size: 24 })
|
|
38623
38816
|
}
|
|
38624
38817
|
) }),
|
|
38625
38818
|
/* @__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: [
|
|
@@ -38654,7 +38847,7 @@ function TicketStatusConfigRow({
|
|
|
38654
38847
|
type: "button",
|
|
38655
38848
|
"aria-label": _nullishCoalesce(systemTooltip, () => ( "System status")),
|
|
38656
38849
|
className: "flex size-6 items-center justify-center text-ods-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-ods-focus",
|
|
38657
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38850
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.InfoCircleIcon, { size: 24 })
|
|
38658
38851
|
}
|
|
38659
38852
|
) }) : /* @__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,
|
|
38660
38853
|
_chunkQJGRP2YEcjs.Button,
|
|
@@ -38666,7 +38859,7 @@ function TicketStatusConfigRow({
|
|
|
38666
38859
|
disabled: deleteDisabled,
|
|
38667
38860
|
onClick: deleteDisabled ? void 0 : onDelete,
|
|
38668
38861
|
className: _chunkFIG2RKZFcjs.cn.call(void 0, "size-11 md:size-12", deleteDisabled && "pointer-events-none"),
|
|
38669
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38862
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.TrashIcon, { className: "text-ods-error" })
|
|
38670
38863
|
}
|
|
38671
38864
|
) }) }) })
|
|
38672
38865
|
]
|
|
@@ -38717,7 +38910,7 @@ function TicketAttachmentsList({ attachments, className, size = "default" }) {
|
|
|
38717
38910
|
"shrink-0 flex items-center justify-center rounded-[6px] bg-ods-card border border-ods-border",
|
|
38718
38911
|
compact ? "size-8" : "size-10"
|
|
38719
38912
|
),
|
|
38720
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38913
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.FileIcon, { className: _chunkFIG2RKZFcjs.cn.call(void 0, "text-ods-text-secondary", compact ? "size-4" : "size-6") })
|
|
38721
38914
|
}
|
|
38722
38915
|
),
|
|
38723
38916
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0 overflow-hidden", children: [
|
|
@@ -38738,7 +38931,7 @@ function TicketAttachmentsList({ attachments, className, size = "default" }) {
|
|
|
38738
38931
|
onClick: attachment.onDelete,
|
|
38739
38932
|
className: "shrink-0 text-ods-text-secondary hover:text-ods-error transition-colors",
|
|
38740
38933
|
"aria-label": `Delete ${attachment.fileName}`,
|
|
38741
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38934
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.TrashIcon, { className: compact ? "size-4" : "size-5" })
|
|
38742
38935
|
}
|
|
38743
38936
|
),
|
|
38744
38937
|
attachment.onDownload && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -38748,7 +38941,7 @@ function TicketAttachmentsList({ attachments, className, size = "default" }) {
|
|
|
38748
38941
|
onClick: attachment.onDownload,
|
|
38749
38942
|
className: "shrink-0 text-ods-text-secondary hover:text-ods-text-primary transition-colors",
|
|
38750
38943
|
"aria-label": `Download ${attachment.fileName}`,
|
|
38751
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38944
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Download02Icon, { className: compact ? "size-4" : "size-6" })
|
|
38752
38945
|
}
|
|
38753
38946
|
)
|
|
38754
38947
|
]
|
|
@@ -38766,8 +38959,8 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
38766
38959
|
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
38767
38960
|
|
|
38768
38961
|
function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
38769
|
-
const [isEditing, setIsEditing] =
|
|
38770
|
-
const [editText, setEditText] =
|
|
38962
|
+
const [isEditing, setIsEditing] = React124.useState(false);
|
|
38963
|
+
const [editText, setEditText] = React124.useState(note.text);
|
|
38771
38964
|
const handleSave = () => {
|
|
38772
38965
|
const trimmed = editText.trim();
|
|
38773
38966
|
if (!trimmed || !onEdit) return;
|
|
@@ -38825,7 +39018,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
38825
39018
|
disabled: !editText.trim(),
|
|
38826
39019
|
className: "shrink-0 text-ods-success hover:text-ods-success/80 transition-colors disabled:opacity-50",
|
|
38827
39020
|
"aria-label": "Save note",
|
|
38828
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
39021
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.CheckIcon, { className: "size-5" })
|
|
38829
39022
|
}
|
|
38830
39023
|
),
|
|
38831
39024
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -38835,7 +39028,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
38835
39028
|
onClick: handleCancel,
|
|
38836
39029
|
className: "shrink-0 text-ods-text-secondary hover:text-ods-text-primary transition-colors",
|
|
38837
39030
|
"aria-label": "Cancel editing",
|
|
38838
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
39031
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.XmarkIcon, { className: "size-5" })
|
|
38839
39032
|
}
|
|
38840
39033
|
)
|
|
38841
39034
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -38861,7 +39054,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
38861
39054
|
onClick: () => onDelete(note.id),
|
|
38862
39055
|
className: "text-ods-text-secondary hover:text-ods-error transition-colors",
|
|
38863
39056
|
"aria-label": "Delete note",
|
|
38864
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
39057
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.TrashIcon, { className: "size-6" })
|
|
38865
39058
|
}
|
|
38866
39059
|
),
|
|
38867
39060
|
onEdit && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -38871,7 +39064,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
38871
39064
|
onClick: () => setIsEditing(true),
|
|
38872
39065
|
className: "text-ods-text-secondary hover:text-ods-text-primary transition-colors",
|
|
38873
39066
|
"aria-label": "Edit note",
|
|
38874
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
39067
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.PenEditIcon, { className: "size-6" })
|
|
38875
39068
|
}
|
|
38876
39069
|
)
|
|
38877
39070
|
] })
|
|
@@ -38890,7 +39083,7 @@ function TicketNotesSection({
|
|
|
38890
39083
|
isAddingNote,
|
|
38891
39084
|
className
|
|
38892
39085
|
}) {
|
|
38893
|
-
const [noteText, setNoteText] =
|
|
39086
|
+
const [noteText, setNoteText] = React125.useState("");
|
|
38894
39087
|
const handleSend = () => {
|
|
38895
39088
|
const trimmed = noteText.trim();
|
|
38896
39089
|
if (!trimmed || !onAddNote || isAddingNote) return;
|
|
@@ -38937,7 +39130,7 @@ function TicketNotesSection({
|
|
|
38937
39130
|
"disabled:opacity-50 disabled:cursor-not-allowed"
|
|
38938
39131
|
),
|
|
38939
39132
|
"aria-label": "Send note",
|
|
38940
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
39133
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Send03Icon, { className: "size-6 text-ods-text-secondary" })
|
|
38941
39134
|
}
|
|
38942
39135
|
)
|
|
38943
39136
|
] })
|
|
@@ -39020,7 +39213,7 @@ function TicketInfoSection({
|
|
|
39020
39213
|
}
|
|
39021
39214
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0", children: [
|
|
39022
39215
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1 text-h4 text-ods-text-secondary", children: [
|
|
39023
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
39216
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.UserIcon, { className: "size-4 shrink-0" }),
|
|
39024
39217
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: "Unassigned" })
|
|
39025
39218
|
] }),
|
|
39026
39219
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h6 text-ods-text-secondary truncate block", children: "Assigned" })
|
|
@@ -39058,7 +39251,7 @@ function TicketInfoSection({
|
|
|
39058
39251
|
),
|
|
39059
39252
|
"aria-label": expanded ? "Collapse" : "Expand",
|
|
39060
39253
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
39061
|
-
|
|
39254
|
+
_chunkCCG4DARMcjs.Chevron02DownIcon,
|
|
39062
39255
|
{
|
|
39063
39256
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
39064
39257
|
"size-6 text-ods-text-primary transition-transform duration-200",
|
|
@@ -39695,7 +39888,7 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
|
|
|
39695
39888
|
reviewState ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReviewStateBadge, { state: reviewState }) : null,
|
|
39696
39889
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_TITLE, children: primaryText })
|
|
39697
39890
|
] }),
|
|
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,
|
|
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, React114.default.Fragment, { children: [
|
|
39699
39892
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary/40 shrink-0", children: "\xB7" }) : null,
|
|
39700
39893
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
39701
39894
|
] }, i)) }) }),
|
|
@@ -39787,7 +39980,7 @@ function SlackMessageCard({ item, variant = "compact", className, anchorProps })
|
|
|
39787
39980
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
|
|
39788
39981
|
/* @__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 }) }),
|
|
39789
39982
|
/* @__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 }) }),
|
|
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,
|
|
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, React114.default.Fragment, { children: [
|
|
39791
39984
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary/40 shrink-0", children: "\xB7" }) : null,
|
|
39792
39985
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
39793
39986
|
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_SUMMARY, children: COMPACT_CARD_ROW_FILLER }) }) })
|
|
@@ -39899,7 +40092,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
39899
40092
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: item.customerEmail })
|
|
39900
40093
|
] }) : null,
|
|
39901
40094
|
/* @__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." }) }) }),
|
|
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,
|
|
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, React114.default.Fragment, { children: [
|
|
39903
40096
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary/40 shrink-0", children: "\xB7" }) : null,
|
|
39904
40097
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
39905
40098
|
] }, i)) }) }) : null
|
|
@@ -41980,7 +42173,7 @@ function useChatCardItem(type, id) {
|
|
|
41980
42173
|
queryKey: ["chat-card-item", type, id],
|
|
41981
42174
|
queryFn: async () => {
|
|
41982
42175
|
if (!url) return null;
|
|
41983
|
-
const res = await
|
|
42176
|
+
const res = await _chunkDCIB6AK3cjs.embedAuthedFetch.call(void 0, url);
|
|
41984
42177
|
if (!res.ok) return null;
|
|
41985
42178
|
const data = await res.json();
|
|
41986
42179
|
const items = extractItems(data);
|
|
@@ -42184,7 +42377,7 @@ function MingoInfoCard({
|
|
|
42184
42377
|
type: "button",
|
|
42185
42378
|
"aria-label": menuAriaLabel,
|
|
42186
42379
|
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",
|
|
42187
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42380
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Ellipsis01Icon, { size: 24 })
|
|
42188
42381
|
}
|
|
42189
42382
|
)
|
|
42190
42383
|
}
|
|
@@ -42199,12 +42392,12 @@ function MingoInfoCard({
|
|
|
42199
42392
|
function githubKindIcon(kind) {
|
|
42200
42393
|
switch (kind) {
|
|
42201
42394
|
case "pull_request":
|
|
42202
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42395
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.CodingPullRequestIcon, { size: 24 });
|
|
42203
42396
|
case "pr_review":
|
|
42204
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42397
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.CodeIcon, { size: 24 });
|
|
42205
42398
|
case "commit":
|
|
42206
42399
|
default:
|
|
42207
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42400
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.CodingCommitIcon, { size: 24 });
|
|
42208
42401
|
}
|
|
42209
42402
|
}
|
|
42210
42403
|
function reviewStateToVariant(state) {
|
|
@@ -42260,12 +42453,12 @@ function cardMenuGroups(href, discuss, openDetails) {
|
|
|
42260
42453
|
items.push({
|
|
42261
42454
|
id: "open-details",
|
|
42262
42455
|
label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _856 => _856.label]), () => ( "Open Details")),
|
|
42263
|
-
icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _857 => _857.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42456
|
+
icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _857 => _857.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.EyeIcon, { size: 20 }))),
|
|
42264
42457
|
// Main row → open the entity (same tab, soft Link nav).
|
|
42265
42458
|
href,
|
|
42266
42459
|
// Trailing 40px ↗ side-button → open in a new tab.
|
|
42267
42460
|
iconAction: {
|
|
42268
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42461
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.ArrowRightUpIcon, { size: 20 }),
|
|
42269
42462
|
"aria-label": "Open in new tab",
|
|
42270
42463
|
href,
|
|
42271
42464
|
openInNewTab: true
|
|
@@ -42298,12 +42491,12 @@ function HubspotTicketChatCard({
|
|
|
42298
42491
|
{
|
|
42299
42492
|
title: chatRef.title,
|
|
42300
42493
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
42301
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42494
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.TagIcon, { size: 24 }),
|
|
42302
42495
|
status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
|
|
42303
42496
|
anchorProps: buildAnchorProps(chatRef.url, isNewTab),
|
|
42304
42497
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
42305
42498
|
label: "Open Ticket Details",
|
|
42306
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42499
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.TagIcon, { size: 20 })
|
|
42307
42500
|
}),
|
|
42308
42501
|
menuAriaLabel: "Ticket actions"
|
|
42309
42502
|
}
|
|
@@ -42321,7 +42514,7 @@ function FaqChatCard({
|
|
|
42321
42514
|
{
|
|
42322
42515
|
title: chatRef.title,
|
|
42323
42516
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
42324
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42517
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.QuestionCircleIcon, { size: 24 }),
|
|
42325
42518
|
status: { label: statusLabel, variant: "grey" },
|
|
42326
42519
|
anchorProps: buildAnchorProps(chatRef.url, isNewTab),
|
|
42327
42520
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
@@ -42342,7 +42535,7 @@ function SlackChatCard({
|
|
|
42342
42535
|
{
|
|
42343
42536
|
title,
|
|
42344
42537
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
42345
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42538
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.SlackLogoGreyIcon, { size: 24 }),
|
|
42346
42539
|
anchorProps: buildAnchorProps(chatRef.url, isNewTab),
|
|
42347
42540
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
42348
42541
|
menuAriaLabel: "Message actions"
|
|
@@ -42360,7 +42553,7 @@ function DataRoomDocChatCard({
|
|
|
42360
42553
|
{
|
|
42361
42554
|
title: chatRef.title,
|
|
42362
42555
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
42363
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42556
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.FileContentIcon, { size: 24 }),
|
|
42364
42557
|
status: { label: badgeText, variant: "grey" },
|
|
42365
42558
|
anchorProps: buildAnchorProps(chatRef.url, isNewTab),
|
|
42366
42559
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
@@ -42450,7 +42643,7 @@ function ProductReleaseChatCard({
|
|
|
42450
42643
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _869 => _869.title]), () => ( "")),
|
|
42451
42644
|
description: _optionalChain([item, 'optionalAccess', _870 => _870.summary]) || releaseProps.formattedDate || void 0,
|
|
42452
42645
|
cover: releaseProps.coverImage || void 0,
|
|
42453
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42646
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Rocket02Icon, { size: 24 }),
|
|
42454
42647
|
status,
|
|
42455
42648
|
chatRef,
|
|
42456
42649
|
isNewTab,
|
|
@@ -42476,7 +42669,7 @@ function CampaignChatCard({
|
|
|
42476
42669
|
{
|
|
42477
42670
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _873 => _873.name]), () => ( "")),
|
|
42478
42671
|
description: meta || _optionalChain([item, 'optionalAccess', _874 => _874.description]) || void 0,
|
|
42479
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42672
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Megaphone01Icon, { size: 24 }),
|
|
42480
42673
|
chatRef,
|
|
42481
42674
|
isNewTab,
|
|
42482
42675
|
discuss,
|
|
@@ -42536,7 +42729,7 @@ function BlogChatCard({
|
|
|
42536
42729
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _880 => _880.title]), () => ( "")),
|
|
42537
42730
|
description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _881 => _881.summary]), () => ( void 0)),
|
|
42538
42731
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _882 => _882.featured_image]), ogPlaceholder),
|
|
42539
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42732
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.NewspaperIcon, { size: 24 }),
|
|
42540
42733
|
status,
|
|
42541
42734
|
chatRef,
|
|
42542
42735
|
isNewTab,
|
|
@@ -42559,7 +42752,7 @@ function CaseStudyChatCard({
|
|
|
42559
42752
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _887 => _887.title]), () => ( "")),
|
|
42560
42753
|
description: _optionalChain([item, 'optionalAccess', _888 => _888.summary]) || meta || void 0,
|
|
42561
42754
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _889 => _889.featured_image]), ogPlaceholder),
|
|
42562
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42755
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.TrophyIcon, { size: 24 }),
|
|
42563
42756
|
status: { label: "Case study", variant: "grey" },
|
|
42564
42757
|
chatRef,
|
|
42565
42758
|
isNewTab,
|
|
@@ -42582,7 +42775,7 @@ function CustomerInterviewChatCard({
|
|
|
42582
42775
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _894 => _894.title]), () => ( "")),
|
|
42583
42776
|
description: _optionalChain([item, 'optionalAccess', _895 => _895.video_summary]) || meta || void 0,
|
|
42584
42777
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _896 => _896.featured_image]), ogPlaceholder),
|
|
42585
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42778
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.MicrophoneIcon, { size: 24 }),
|
|
42586
42779
|
status: { label: "Interview", variant: "grey" },
|
|
42587
42780
|
chatRef,
|
|
42588
42781
|
isNewTab,
|
|
@@ -42605,7 +42798,7 @@ function InvestorUpdateChatCard({
|
|
|
42605
42798
|
title,
|
|
42606
42799
|
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,
|
|
42607
42800
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _903 => _903.featured_image]), ogPlaceholder),
|
|
42608
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42801
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.PresentationLineIcon, { size: 24 }),
|
|
42609
42802
|
status: { label: "Investor update", variant: "grey" },
|
|
42610
42803
|
chatRef,
|
|
42611
42804
|
isNewTab,
|
|
@@ -42628,7 +42821,7 @@ function OnboardingGuideChatCard({
|
|
|
42628
42821
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _907 => _907.title]), () => ( "")),
|
|
42629
42822
|
description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _908 => _908.summary]), () => ( _optionalChain([item, 'optionalAccess', _909 => _909.description]))), () => ( void 0)),
|
|
42630
42823
|
cover,
|
|
42631
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42824
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.CompassIcon, { size: 24 }),
|
|
42632
42825
|
status: { label: "Guide", variant: "grey" },
|
|
42633
42826
|
chatRef,
|
|
42634
42827
|
isNewTab,
|
|
@@ -42646,7 +42839,7 @@ function ProgramChatCard({
|
|
|
42646
42839
|
ogPlaceholder,
|
|
42647
42840
|
discuss
|
|
42648
42841
|
}) {
|
|
42649
|
-
const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42842
|
+
const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.PresentationBarIcon, { size: 24 }) : configKey === "event" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.CalendarIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.MicrophoneIcon, { size: 24 });
|
|
42650
42843
|
const isScheduled = _optionalChain([item, 'optionalAccess', _910 => _910.status]) === "scheduled";
|
|
42651
42844
|
let typeMeta;
|
|
42652
42845
|
if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _911 => _911.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
|
|
@@ -42684,7 +42877,7 @@ function RoadmapChatCard({
|
|
|
42684
42877
|
}) {
|
|
42685
42878
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _918 => _918.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
42686
42879
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _919 => _919.customItemId]) != null;
|
|
42687
|
-
const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42880
|
+
const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.MapIcon, { size: 24 });
|
|
42688
42881
|
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _920 => _920.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
42689
42882
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
42690
42883
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
@@ -42705,11 +42898,11 @@ function RoadmapChatCard({
|
|
|
42705
42898
|
);
|
|
42706
42899
|
}
|
|
42707
42900
|
var FINANCIAL_CARD_CONFIGS = {
|
|
42708
|
-
financial_kpi: { label: "Financial KPI", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42709
|
-
cap_table: { label: "Cap table entry", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42710
|
-
profit_loss: { label: "P&L period", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42711
|
-
balance_sheet: { label: "Balance sheet", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42712
|
-
cash_flow: { label: "Cash flow", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42901
|
+
financial_kpi: { label: "Financial KPI", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.ChartBar01VerIcon, { size: 24 }) },
|
|
42902
|
+
cap_table: { label: "Cap table entry", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.ChartPieIcon, { size: 24 }) },
|
|
42903
|
+
profit_loss: { label: "P&L period", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.MoneyBillDollarIcon, { size: 24 }) },
|
|
42904
|
+
balance_sheet: { label: "Balance sheet", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.BankIcon, { size: 24 }) },
|
|
42905
|
+
cash_flow: { label: "Cash flow", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.CoinsExchangeCurrencyIcon, { size: 24 }) }
|
|
42713
42906
|
};
|
|
42714
42907
|
function financialRegistryEntries() {
|
|
42715
42908
|
const out = {};
|
|
@@ -43082,7 +43275,7 @@ function ChatCardLoader({
|
|
|
43082
43275
|
extras
|
|
43083
43276
|
}) {
|
|
43084
43277
|
const runtime = _chunkN2DVKXN4cjs.useRequiredChatRuntime.call(void 0, );
|
|
43085
|
-
const resolvedChatRef =
|
|
43278
|
+
const resolvedChatRef = React114.default.useMemo(() => {
|
|
43086
43279
|
const cta = resolveSourceRowCTA(
|
|
43087
43280
|
{
|
|
43088
43281
|
sourceRepo: chatRef.sourceRepo,
|
|
@@ -43118,7 +43311,7 @@ function ChatCardLoader({
|
|
|
43118
43311
|
const discussFn = useDisplay ? onDisplay : onDiscuss;
|
|
43119
43312
|
const discuss = discussFn ? {
|
|
43120
43313
|
label: useDisplay ? "Display" : "Ask Mingo",
|
|
43121
|
-
icon: useDisplay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
43314
|
+
icon: useDisplay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.FileContentIcon, { size: 20 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
43122
43315
|
_chunkLWNPMLIHcjs.MingoIcon,
|
|
43123
43316
|
{
|
|
43124
43317
|
className: "size-5",
|
|
@@ -44870,7 +45063,7 @@ async function fetchSlashCommands(prefix, signal, commandsUrl) {
|
|
|
44870
45063
|
try {
|
|
44871
45064
|
const url = new URL(commandsUrl, window.location.origin);
|
|
44872
45065
|
if (prefix) url.searchParams.set("q", prefix);
|
|
44873
|
-
const res = await
|
|
45066
|
+
const res = await _chunkDCIB6AK3cjs.embedAuthedFetch.call(void 0, url.toString(), { signal, headers: {} });
|
|
44874
45067
|
if (!res.ok) return [];
|
|
44875
45068
|
const data = await res.json();
|
|
44876
45069
|
return _nullishCoalesce(data.commands, () => ( []));
|
|
@@ -44942,7 +45135,7 @@ var EMPTY_STATE_FALLBACK = {
|
|
|
44942
45135
|
async function fetchEmptyStateConfig(signal, emptyStateUrl) {
|
|
44943
45136
|
try {
|
|
44944
45137
|
const url = new URL(emptyStateUrl, window.location.origin);
|
|
44945
|
-
const res = await
|
|
45138
|
+
const res = await _chunkDCIB6AK3cjs.embedAuthedFetch.call(void 0, url.toString(), { signal, headers: {} });
|
|
44946
45139
|
if (!res.ok) {
|
|
44947
45140
|
if (res.status >= 500) {
|
|
44948
45141
|
console.error(`[chat] empty-state config fetch failed (${res.status}): ${url.pathname}`);
|
|
@@ -45101,7 +45294,7 @@ function useChatAttachments() {
|
|
|
45101
45294
|
);
|
|
45102
45295
|
}
|
|
45103
45296
|
updateOne(att.id, { status: "uploading", progress: 5 });
|
|
45104
|
-
const urlResp = await
|
|
45297
|
+
const urlResp = await _chunkDCIB6AK3cjs.embedAuthedFetch.call(void 0, uploadUrlEndpoint, {
|
|
45105
45298
|
method: "POST",
|
|
45106
45299
|
headers: { "Content-Type": "application/json" },
|
|
45107
45300
|
signal: _optionalChain([ctrl, 'optionalAccess', _1071 => _1071.signal]),
|
|
@@ -45291,7 +45484,7 @@ var ANON_DEFAULTS = {
|
|
|
45291
45484
|
function useResolveChatIdentity(enabled) {
|
|
45292
45485
|
const runtime = _chunkN2DVKXN4cjs.useRequiredChatRuntime.call(void 0, );
|
|
45293
45486
|
const url = runtime.endpoints.identityUrl;
|
|
45294
|
-
const proxyEmail = _nullishCoalesce(_optionalChain([
|
|
45487
|
+
const proxyEmail = _nullishCoalesce(_optionalChain([_chunkDCIB6AK3cjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess', _1077 => _1077.email]), () => ( null));
|
|
45295
45488
|
const [data, setData] = _react.useState.call(void 0, ANON_DEFAULTS);
|
|
45296
45489
|
const [isLoading, setIsLoading] = _react.useState.call(void 0, enabled);
|
|
45297
45490
|
_react.useEffect.call(void 0, () => {
|
|
@@ -45299,7 +45492,7 @@ function useResolveChatIdentity(enabled) {
|
|
|
45299
45492
|
let cancelled = false;
|
|
45300
45493
|
const ctrl = new AbortController();
|
|
45301
45494
|
setIsLoading(true);
|
|
45302
|
-
|
|
45495
|
+
_chunkDCIB6AK3cjs.embedAuthedFetch.call(void 0, url, { signal: ctrl.signal }).then(async (resp) => {
|
|
45303
45496
|
if (!resp.ok) return ANON_DEFAULTS;
|
|
45304
45497
|
return await resp.json();
|
|
45305
45498
|
}).then((next) => {
|
|
@@ -45762,7 +45955,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
|
|
|
45762
45955
|
..._optionalChain([extra, 'optionalAccess', _1092 => _1092.commandOverride]) ? { commandOverride: extra.commandOverride } : {},
|
|
45763
45956
|
..._optionalChain([extra, 'optionalAccess', _1093 => _1093.pendingAttachments]) && extra.pendingAttachments.length > 0 ? { pendingAttachments: extra.pendingAttachments } : {}
|
|
45764
45957
|
};
|
|
45765
|
-
const response = await
|
|
45958
|
+
const response = await _chunkDCIB6AK3cjs.embedAuthedFetch.call(void 0, targetPath, {
|
|
45766
45959
|
method: "POST",
|
|
45767
45960
|
body: JSON.stringify(requestBody),
|
|
45768
45961
|
signal
|
|
@@ -45985,7 +46178,7 @@ var CHAT_STORAGE_VERSION = 1;
|
|
|
45985
46178
|
var DEFAULT_CHAT_SOURCE = "embed";
|
|
45986
46179
|
var chatStorageKey = (source) => {
|
|
45987
46180
|
const base = `mingo-chat-${source}-v${CHAT_STORAGE_VERSION}`;
|
|
45988
|
-
const auth =
|
|
46181
|
+
const auth = _chunkDCIB6AK3cjs.getEmbedProxyAuth.call(void 0, );
|
|
45989
46182
|
if (_optionalChain([auth, 'optionalAccess', _1102 => _1102.email])) {
|
|
45990
46183
|
return `${base}-u-${encodeURIComponent(auth.email.toLowerCase())}`;
|
|
45991
46184
|
}
|
|
@@ -47666,7 +47859,7 @@ var NODES = [
|
|
|
47666
47859
|
];
|
|
47667
47860
|
var Primitive = NODES.reduce((primitive, node) => {
|
|
47668
47861
|
const Slot2 = _reactslot.createSlot.call(void 0, `Primitive.${node}`);
|
|
47669
|
-
const Node2 =
|
|
47862
|
+
const Node2 = React132.forwardRef((props, forwardedRef) => {
|
|
47670
47863
|
const { asChild, ...primitiveProps } = props;
|
|
47671
47864
|
const Comp = asChild ? Slot2 : node;
|
|
47672
47865
|
if (typeof window !== "undefined") {
|
|
@@ -47694,7 +47887,7 @@ var VISUALLY_HIDDEN_STYLES = Object.freeze({
|
|
|
47694
47887
|
wordWrap: "normal"
|
|
47695
47888
|
});
|
|
47696
47889
|
var NAME = "VisuallyHidden";
|
|
47697
|
-
var VisuallyHidden =
|
|
47890
|
+
var VisuallyHidden = React133.forwardRef(
|
|
47698
47891
|
(props, forwardedRef) => {
|
|
47699
47892
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
47700
47893
|
Primitive.span,
|
|
@@ -49795,5 +49988,6 @@ function EmbeddableChatInner({
|
|
|
49795
49988
|
|
|
49796
49989
|
|
|
49797
49990
|
|
|
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
|
|
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
|