@flamingo-stack/openframe-frontend-core 0.0.326 → 0.0.327-snapshot.20260626171732
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-FXY2QIAY.js → chunk-22VBCVLJ.js} +4147 -3945
- package/dist/chunk-22VBCVLJ.js.map +1 -0
- package/dist/{chunk-R2K5STAT.cjs → chunk-5W6MKTGR.cjs} +40 -40
- package/dist/{chunk-R2K5STAT.cjs.map → chunk-5W6MKTGR.cjs.map} +1 -1
- package/dist/{chunk-A6NBGRGZ.js → chunk-65VXW6GZ.js} +2 -2
- package/dist/{chunk-QTHOFU4Y.cjs → chunk-6SGZOIOQ.cjs} +39 -39
- package/dist/{chunk-QTHOFU4Y.cjs.map → chunk-6SGZOIOQ.cjs.map} +1 -1
- package/dist/{chunk-OCE5CI5P.cjs → chunk-7FDLIPBP.cjs} +12 -12
- package/dist/{chunk-OCE5CI5P.cjs.map → chunk-7FDLIPBP.cjs.map} +1 -1
- package/dist/{chunk-4ZP43F2Y.cjs → chunk-7OZROCY7.cjs} +31 -31
- package/dist/{chunk-4ZP43F2Y.cjs.map → chunk-7OZROCY7.cjs.map} +1 -1
- package/dist/{chunk-WFDJDGO6.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-JZY33ZRU.js → chunk-F4WJ6G64.js} +4 -4
- package/dist/{chunk-DRIEQWHS.js → chunk-KS3NQFKW.js} +2 -2
- package/dist/{chunk-D3QAD5DH.cjs → chunk-LM2P7UWU.cjs} +13 -13
- package/dist/{chunk-D3QAD5DH.cjs.map → chunk-LM2P7UWU.cjs.map} +1 -1
- package/dist/{chunk-W3E5SEIR.cjs → chunk-M43DVC6A.cjs} +70 -70
- package/dist/{chunk-W3E5SEIR.cjs.map → chunk-M43DVC6A.cjs.map} +1 -1
- package/dist/{chunk-YRUKVWRV.cjs → chunk-OQPMYUZX.cjs} +19 -19
- package/dist/{chunk-YRUKVWRV.cjs.map → chunk-OQPMYUZX.cjs.map} +1 -1
- package/dist/{chunk-ZYHAFLX7.js → chunk-P4XUTN2Z.js} +5 -5
- package/dist/{chunk-WV65IRWY.cjs → chunk-PZKEQNNK.cjs} +29 -29
- package/dist/{chunk-WV65IRWY.cjs.map → chunk-PZKEQNNK.cjs.map} +1 -1
- package/dist/{chunk-2A7HDFWT.js → chunk-RVSR3M7Y.js} +3 -3
- package/dist/{chunk-LS5NC5OV.js → chunk-SC543SO2.js} +3 -3
- package/dist/{chunk-JCRU2L2D.cjs → chunk-SD36MNVP.cjs} +826 -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-ET6HI2SY.js → chunk-TAIMKJE6.js} +5 -5
- package/dist/{chunk-J3MYVBBB.cjs → chunk-TAKXDI7B.cjs} +73 -73
- package/dist/{chunk-J3MYVBBB.cjs.map → chunk-TAKXDI7B.cjs.map} +1 -1
- package/dist/{chunk-4MD2TPFY.js → chunk-UZTGDV6N.js} +2 -2
- package/dist/{chunk-HPZLBTDP.cjs → chunk-WVIBC2M5.cjs} +5 -5
- package/dist/{chunk-HPZLBTDP.cjs.map → chunk-WVIBC2M5.cjs.map} +1 -1
- package/dist/{chunk-NLDDOARF.js → chunk-XGEF6MVM.js} +2 -2
- package/dist/{chunk-R2YOV7MW.js → chunk-Y6AD3GJG.js} +6 -6
- package/dist/{chunk-HP3IBX4D.js → chunk-YV4PUSAJ.js} +6 -6
- package/dist/{chunk-ANZ24A74.js → chunk-Z2TB777W.js} +3 -3
- package/dist/{chunk-JNU6H67K.cjs → chunk-Z6WEY45X.cjs} +15 -15
- package/dist/{chunk-JNU6H67K.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/page-actions.d.ts +2 -0
- package/dist/components/ui/page-actions.d.ts.map +1 -1
- 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/page-actions.tsx +16 -0
- package/src/components/ui/tag-select-dropdown.tsx +220 -0
- package/dist/chunk-FXY2QIAY.js.map +0 -1
- package/dist/chunk-JCRU2L2D.cjs.map +0 -1
- /package/dist/{chunk-A6NBGRGZ.js.map → chunk-65VXW6GZ.js.map} +0 -0
- /package/dist/{chunk-WFDJDGO6.js.map → chunk-B3YEMD6H.js.map} +0 -0
- /package/dist/{chunk-JZY33ZRU.js.map → chunk-F4WJ6G64.js.map} +0 -0
- /package/dist/{chunk-DRIEQWHS.js.map → chunk-KS3NQFKW.js.map} +0 -0
- /package/dist/{chunk-ZYHAFLX7.js.map → chunk-P4XUTN2Z.js.map} +0 -0
- /package/dist/{chunk-2A7HDFWT.js.map → chunk-RVSR3M7Y.js.map} +0 -0
- /package/dist/{chunk-LS5NC5OV.js.map → chunk-SC543SO2.js.map} +0 -0
- /package/dist/{chunk-7KZJV4MP.js.map → chunk-SWGXCGQ3.js.map} +0 -0
- /package/dist/{chunk-ET6HI2SY.js.map → chunk-TAIMKJE6.js.map} +0 -0
- /package/dist/{chunk-4MD2TPFY.js.map → chunk-UZTGDV6N.js.map} +0 -0
- /package/dist/{chunk-NLDDOARF.js.map → chunk-XGEF6MVM.js.map} +0 -0
- /package/dist/{chunk-R2YOV7MW.js.map → chunk-Y6AD3GJG.js.map} +0 -0
- /package/dist/{chunk-HP3IBX4D.js.map → chunk-YV4PUSAJ.js.map} +0 -0
- /package/dist/{chunk-ANZ24A74.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 })
|
|
@@ -19232,6 +19433,14 @@ function actionToMenuItems(action, idx) {
|
|
|
19232
19433
|
}];
|
|
19233
19434
|
}
|
|
19234
19435
|
function renderActionButton(action, opts = {}) {
|
|
19436
|
+
const button = renderRawActionButton(action, opts);
|
|
19437
|
+
if (!action.tooltip) return button;
|
|
19438
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Tooltip, { children: [
|
|
19439
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipTrigger, { asChild: true, children: button }),
|
|
19440
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipContent, { children: action.tooltip })
|
|
19441
|
+
] }) });
|
|
19442
|
+
}
|
|
19443
|
+
function renderRawActionButton(action, opts = {}) {
|
|
19235
19444
|
if (action.iconAction) {
|
|
19236
19445
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19237
19446
|
_chunkQJGRP2YEcjs.SplitButton,
|
|
@@ -19262,7 +19471,7 @@ function renderActionButton(action, opts = {}) {
|
|
|
19262
19471
|
disabled: action.disabled,
|
|
19263
19472
|
loading: action.loading,
|
|
19264
19473
|
leftIcon: action.icon,
|
|
19265
|
-
splitIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19474
|
+
splitIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Chevron02DownIcon, { className: "h-4 w-4" }),
|
|
19266
19475
|
className: opts.fullWidth ? "flex-1" : void 0,
|
|
19267
19476
|
children: action.label
|
|
19268
19477
|
}
|
|
@@ -19335,7 +19544,7 @@ function IconButtonsVariant({
|
|
|
19335
19544
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
19336
19545
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "hidden md:flex items-center", ACTIONS_GAP, className), children: [
|
|
19337
19546
|
selector,
|
|
19338
|
-
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))),
|
|
19339
19548
|
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionsMenuDropdown, { groups: menuActions })
|
|
19340
19549
|
] }),
|
|
19341
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,
|
|
@@ -19360,7 +19569,7 @@ function PrimaryButtonsVariant({
|
|
|
19360
19569
|
});
|
|
19361
19570
|
const desktopActions = sortedActions.filter((a) => !a.showOnlyMobile);
|
|
19362
19571
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
19363
|
-
/* @__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)}`)) }),
|
|
19364
19573
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileBottomActions, { actions: sortedActions })
|
|
19365
19574
|
] });
|
|
19366
19575
|
}
|
|
@@ -19376,7 +19585,7 @@ function MenuPrimaryVariant({
|
|
|
19376
19585
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "hidden md:flex items-center", ACTIONS_GAP, className), children: [
|
|
19377
19586
|
selector,
|
|
19378
19587
|
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionsMenuDropdown, { groups: menuActions }),
|
|
19379
|
-
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)}`))
|
|
19380
19589
|
] }),
|
|
19381
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,
|
|
19382
19591
|
ActionsMenuDropdown,
|
|
@@ -19395,7 +19604,7 @@ function MobileBottomActions({ actions }) {
|
|
|
19395
19604
|
"bg-ods-card border-t border-ods-border",
|
|
19396
19605
|
"flex items-start pt-6 pb-6 px-6",
|
|
19397
19606
|
ACTIONS_GAP
|
|
19398
|
-
), 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)}`)) });
|
|
19399
19608
|
}
|
|
19400
19609
|
function usePageActionsBottomPadding(variant) {
|
|
19401
19610
|
return variant === "primary-buttons" || variant === "menu-primary" ? "pb-40 md:pb-0" : "";
|
|
@@ -19419,7 +19628,7 @@ function BackButton({ label = "Back", className, type = "button", ...props }) {
|
|
|
19419
19628
|
),
|
|
19420
19629
|
...props,
|
|
19421
19630
|
children: [
|
|
19422
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19631
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Chevron02LeftIcon, { className: "size-6 shrink-0" }),
|
|
19423
19632
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h4", children: label })
|
|
19424
19633
|
]
|
|
19425
19634
|
}
|
|
@@ -19644,7 +19853,7 @@ function ListPageLayout({
|
|
|
19644
19853
|
}) {
|
|
19645
19854
|
const [mobileFilterOpen, setMobileFilterOpen] = _react.useState.call(void 0, false);
|
|
19646
19855
|
const [localSearchValue, setLocalSearchValue] = _react.useState.call(void 0, searchValue);
|
|
19647
|
-
const debouncedSearchValue =
|
|
19856
|
+
const debouncedSearchValue = _chunkDCIB6AK3cjs.useDebounce.call(void 0, localSearchValue, 500);
|
|
19648
19857
|
_react.useEffect.call(void 0, () => {
|
|
19649
19858
|
setLocalSearchValue(searchValue);
|
|
19650
19859
|
}, [searchValue]);
|
|
@@ -19690,7 +19899,7 @@ function ListPageLayout({
|
|
|
19690
19899
|
className: "md:hidden",
|
|
19691
19900
|
onClick: () => setMobileFilterOpen(true),
|
|
19692
19901
|
"aria-label": "Open filters",
|
|
19693
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19902
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Filter02Icon, {})
|
|
19694
19903
|
}
|
|
19695
19904
|
)
|
|
19696
19905
|
] }),
|
|
@@ -19725,8 +19934,8 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
19725
19934
|
|
|
19726
19935
|
|
|
19727
19936
|
function EntityImage({ src, alt, fallbackText, className }) {
|
|
19728
|
-
const [imageFailed, setImageFailed] =
|
|
19729
|
-
|
|
19937
|
+
const [imageFailed, setImageFailed] = React114.default.useState(false);
|
|
19938
|
+
React114.default.useEffect(() => {
|
|
19730
19939
|
setImageFailed(false);
|
|
19731
19940
|
}, [src]);
|
|
19732
19941
|
const showFallback = imageFailed || !src;
|
|
@@ -19920,7 +20129,7 @@ var toggleVariants = _classvarianceauthority.cva.call(void 0,
|
|
|
19920
20129
|
}
|
|
19921
20130
|
}
|
|
19922
20131
|
);
|
|
19923
|
-
var Toggle =
|
|
20132
|
+
var Toggle = React74.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19924
20133
|
TogglePrimitive.Root,
|
|
19925
20134
|
{
|
|
19926
20135
|
ref,
|
|
@@ -19932,11 +20141,11 @@ Toggle.displayName = TogglePrimitive.Root.displayName;
|
|
|
19932
20141
|
|
|
19933
20142
|
// src/components/toggle-group.tsx
|
|
19934
20143
|
|
|
19935
|
-
var ToggleGroupContext =
|
|
20144
|
+
var ToggleGroupContext = React75.createContext({
|
|
19936
20145
|
size: "default",
|
|
19937
20146
|
variant: "default"
|
|
19938
20147
|
});
|
|
19939
|
-
var ToggleGroup =
|
|
20148
|
+
var ToggleGroup = React75.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19940
20149
|
ToggleGroupPrimitive.Root,
|
|
19941
20150
|
{
|
|
19942
20151
|
ref,
|
|
@@ -19946,8 +20155,8 @@ var ToggleGroup = React74.forwardRef(({ className, variant, size, children, ...p
|
|
|
19946
20155
|
}
|
|
19947
20156
|
));
|
|
19948
20157
|
ToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;
|
|
19949
|
-
var ToggleGroupItem =
|
|
19950
|
-
const context =
|
|
20158
|
+
var ToggleGroupItem = React75.forwardRef(({ className, children, variant, size, value, ...props }, ref) => {
|
|
20159
|
+
const context = React75.useContext(ToggleGroupContext);
|
|
19951
20160
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19952
20161
|
ToggleGroupPrimitive.Item,
|
|
19953
20162
|
{
|
|
@@ -20432,7 +20641,7 @@ function toToolLabel(input) {
|
|
|
20432
20641
|
if (!input) return "";
|
|
20433
20642
|
const toolType = normalizeToolType(input);
|
|
20434
20643
|
if (toolType) {
|
|
20435
|
-
return
|
|
20644
|
+
return _chunkDCIB6AK3cjs.toolLabels[toolType];
|
|
20436
20645
|
}
|
|
20437
20646
|
return input;
|
|
20438
20647
|
}
|
|
@@ -20443,7 +20652,7 @@ function getToolTypeAliases(toolType) {
|
|
|
20443
20652
|
return Object.entries(toolAliasMap).filter(([_, value]) => value === toolType).map(([key]) => key);
|
|
20444
20653
|
}
|
|
20445
20654
|
function getToolLabel(toolType) {
|
|
20446
|
-
return
|
|
20655
|
+
return _chunkDCIB6AK3cjs.toolLabels[toolType] || toolType;
|
|
20447
20656
|
}
|
|
20448
20657
|
|
|
20449
20658
|
// src/types/shell.types.ts
|
|
@@ -20457,10 +20666,10 @@ var ShellTypeValues = {
|
|
|
20457
20666
|
SHELL: "SHELL"
|
|
20458
20667
|
};
|
|
20459
20668
|
var SHELL_TYPES = [
|
|
20460
|
-
{ id: ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon:
|
|
20669
|
+
{ id: ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkCCG4DARMcjs.PowershellLogoIcon },
|
|
20461
20670
|
{ id: ShellTypeValues.CMD, label: "Batch", value: "cmd", icon: _chunkLWNPMLIHcjs.CmdIcon },
|
|
20462
20671
|
{ id: ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkLWNPMLIHcjs.BashIcon },
|
|
20463
|
-
{ id: ShellTypeValues.PYTHON, label: "Python", value: "python", icon:
|
|
20672
|
+
{ id: ShellTypeValues.PYTHON, label: "Python", value: "python", icon: _chunkCCG4DARMcjs.PythonLogoIcon },
|
|
20464
20673
|
{ id: ShellTypeValues.NUSHELL, label: "Nu", value: "nushell", icon: _chunkLWNPMLIHcjs.NushellIcon },
|
|
20465
20674
|
{ id: ShellTypeValues.DENO, label: "Deno", value: "deno", icon: _chunkLWNPMLIHcjs.DenoIcon },
|
|
20466
20675
|
{ id: ShellTypeValues.SHELL, label: "Shell", value: "shell", icon: _chunkLWNPMLIHcjs.ShellIcon }
|
|
@@ -20499,7 +20708,7 @@ var OS_TYPES = [
|
|
|
20499
20708
|
id: OSTypeValues.MACOS,
|
|
20500
20709
|
label: "macOS",
|
|
20501
20710
|
value: OSTypeValues.MACOS,
|
|
20502
|
-
icon:
|
|
20711
|
+
icon: _chunkCCG4DARMcjs.AppleLogoIcon,
|
|
20503
20712
|
platformId: "darwin",
|
|
20504
20713
|
aliases: ["darwin", "macos", "mac os", "osx", "os x", "mac"]
|
|
20505
20714
|
// Put more specific ones first, 'mac' last to avoid false matches
|
|
@@ -20508,7 +20717,7 @@ var OS_TYPES = [
|
|
|
20508
20717
|
id: OSTypeValues.WINDOWS,
|
|
20509
20718
|
label: "Windows",
|
|
20510
20719
|
value: OSTypeValues.WINDOWS,
|
|
20511
|
-
icon:
|
|
20720
|
+
icon: _chunkCCG4DARMcjs.WindowsLogoGreyIcon,
|
|
20512
20721
|
platformId: "windows",
|
|
20513
20722
|
aliases: ["windows", "win32", "win64", "win"]
|
|
20514
20723
|
// 'win' last since it's shortest
|
|
@@ -20517,7 +20726,7 @@ var OS_TYPES = [
|
|
|
20517
20726
|
id: OSTypeValues.LINUX,
|
|
20518
20727
|
label: "Linux",
|
|
20519
20728
|
value: OSTypeValues.LINUX,
|
|
20520
|
-
icon:
|
|
20729
|
+
icon: _chunkCCG4DARMcjs.LinuxLogoIcon,
|
|
20521
20730
|
platformId: "linux",
|
|
20522
20731
|
aliases: ["linux", "ubuntu", "debian", "centos", "redhat", "fedora", "pop", "pop!_os", "arch", "manjaro"]
|
|
20523
20732
|
}
|
|
@@ -21966,7 +22175,7 @@ var BenefitCardGrid = ({
|
|
|
21966
22175
|
className = "",
|
|
21967
22176
|
columns = 2
|
|
21968
22177
|
}) => {
|
|
21969
|
-
const childrenArray =
|
|
22178
|
+
const childrenArray = React114.default.Children.toArray(children);
|
|
21970
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";
|
|
21971
22180
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
21972
22181
|
"bg-ods-card rounded-lg shadow-ods-card border border-ods-border overflow-hidden",
|
|
@@ -21987,7 +22196,7 @@ var BenefitCardGrid = ({
|
|
|
21987
22196
|
} else {
|
|
21988
22197
|
borderClass = isLastItem ? "border-b-0" : "border-b md:border-b-0 md:border-r border-ods-border";
|
|
21989
22198
|
}
|
|
21990
|
-
return
|
|
22199
|
+
return React114.default.cloneElement(child, {
|
|
21991
22200
|
key: index,
|
|
21992
22201
|
className: borderClass
|
|
21993
22202
|
});
|
|
@@ -22004,7 +22213,7 @@ function BrandAssociationCard({
|
|
|
22004
22213
|
className = ""
|
|
22005
22214
|
}) {
|
|
22006
22215
|
const renderIcon = () => {
|
|
22007
|
-
if (
|
|
22216
|
+
if (React114.default.isValidElement(item.icon)) {
|
|
22008
22217
|
return item.icon;
|
|
22009
22218
|
}
|
|
22010
22219
|
const IconComponent = item.icon;
|
|
@@ -22108,7 +22317,7 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
22108
22317
|
|
|
22109
22318
|
|
|
22110
22319
|
|
|
22111
|
-
var ChevronButton =
|
|
22320
|
+
var ChevronButton = React78.forwardRef(
|
|
22112
22321
|
({ className, direction = "down", size = "md", isExpanded, backgroundColor, borderColor, ...props }, ref) => {
|
|
22113
22322
|
const Icon2 = (isExpanded ? _lucidereact.ChevronUp : _lucidereact.ChevronDown) || (direction === "up" ? _lucidereact.ChevronUp : _lucidereact.ChevronDown);
|
|
22114
22323
|
const sizeClasses2 = {
|
|
@@ -22305,8 +22514,8 @@ function FloatingTooltip({
|
|
|
22305
22514
|
delayDuration = 0,
|
|
22306
22515
|
disabled = false
|
|
22307
22516
|
}) {
|
|
22308
|
-
const [isOpen, setIsOpen] =
|
|
22309
|
-
const arrowRef =
|
|
22517
|
+
const [isOpen, setIsOpen] = React79.useState(false);
|
|
22518
|
+
const arrowRef = React79.useRef(null);
|
|
22310
22519
|
const { refs, floatingStyles, context, placement, middlewareData } = _react2.useFloating.call(void 0, {
|
|
22311
22520
|
open: isOpen,
|
|
22312
22521
|
onOpenChange: setIsOpen,
|
|
@@ -22336,7 +22545,7 @@ function FloatingTooltip({
|
|
|
22336
22545
|
dismiss,
|
|
22337
22546
|
role
|
|
22338
22547
|
]);
|
|
22339
|
-
const parsedContent =
|
|
22548
|
+
const parsedContent = React79.useMemo(() => {
|
|
22340
22549
|
if (typeof content === "string") {
|
|
22341
22550
|
return parseColoredText(content);
|
|
22342
22551
|
}
|
|
@@ -22427,7 +22636,7 @@ function DashboardInfoCard({
|
|
|
22427
22636
|
percentage,
|
|
22428
22637
|
"%)"
|
|
22429
22638
|
] })),
|
|
22430
|
-
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 }) }) })
|
|
22431
22640
|
] })
|
|
22432
22641
|
] }),
|
|
22433
22642
|
showProgress && percentage !== void 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -22592,7 +22801,7 @@ function DeviceCard({
|
|
|
22592
22801
|
e.stopPropagation();
|
|
22593
22802
|
_optionalChain([actions, 'access', _399 => _399.moreButton, 'optionalAccess', _400 => _400.onClick, 'optionalCall', _401 => _401()]);
|
|
22594
22803
|
},
|
|
22595
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22804
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Ellipsis01Icon, { className: "text-ods-text-primary" })
|
|
22596
22805
|
}
|
|
22597
22806
|
),
|
|
22598
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 }),
|
|
@@ -22957,7 +23166,7 @@ function HighlightCardGrid({
|
|
|
22957
23166
|
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
22958
23167
|
|
|
22959
23168
|
|
|
22960
|
-
var IconsBlock =
|
|
23169
|
+
var IconsBlock = React81.forwardRef(
|
|
22961
23170
|
({ className, icons = [], size = "md", ...props }, ref) => {
|
|
22962
23171
|
const sizeClasses2 = {
|
|
22963
23172
|
sm: "h-4 w-4",
|
|
@@ -23004,8 +23213,8 @@ function DropdownButton({
|
|
|
23004
23213
|
align = "end",
|
|
23005
23214
|
side = "bottom"
|
|
23006
23215
|
}) {
|
|
23007
|
-
const [open, setOpen] =
|
|
23008
|
-
const handleOpenChange =
|
|
23216
|
+
const [open, setOpen] = React114.default.useState(false);
|
|
23217
|
+
const handleOpenChange = React114.default.useCallback(
|
|
23009
23218
|
(next) => {
|
|
23010
23219
|
if (disabled) return;
|
|
23011
23220
|
setOpen(next);
|
|
@@ -23043,7 +23252,7 @@ function DropdownButton({
|
|
|
23043
23252
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: label })
|
|
23044
23253
|
] }),
|
|
23045
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,
|
|
23046
|
-
|
|
23255
|
+
_chunkCCG4DARMcjs.Chevron02DownIcon,
|
|
23047
23256
|
{
|
|
23048
23257
|
className: _chunkFIG2RKZFcjs.cn.call(void 0, "transition-transform duration-fast", open && "rotate-180")
|
|
23049
23258
|
}
|
|
@@ -23081,7 +23290,7 @@ function MoreActionsMenu({
|
|
|
23081
23290
|
size: "icon",
|
|
23082
23291
|
className: className || "bg-ods-card border-ods-border hover:bg-ods-bg-hover flex items-center justify-center",
|
|
23083
23292
|
"aria-label": ariaLabel,
|
|
23084
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23293
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Ellipsis01Icon, { size: 24, className: "text-ods-text-primary" })
|
|
23085
23294
|
}
|
|
23086
23295
|
) }),
|
|
23087
23296
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -23316,14 +23525,14 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
23316
23525
|
var useTheme = _nextthemes.useTheme;
|
|
23317
23526
|
function useThemeToggle() {
|
|
23318
23527
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
23319
|
-
const [mounted, setMounted] =
|
|
23320
|
-
|
|
23528
|
+
const [mounted, setMounted] = React83.useState(false);
|
|
23529
|
+
React83.useEffect(() => setMounted(true), []);
|
|
23321
23530
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
23322
|
-
const setOdsTheme =
|
|
23531
|
+
const setOdsTheme = React83.useCallback(
|
|
23323
23532
|
(next) => setTheme(next),
|
|
23324
23533
|
[setTheme]
|
|
23325
23534
|
);
|
|
23326
|
-
const toggle =
|
|
23535
|
+
const toggle = React83.useCallback(
|
|
23327
23536
|
() => setTheme(active === "dark" ? "light" : "dark"),
|
|
23328
23537
|
[active, setTheme]
|
|
23329
23538
|
);
|
|
@@ -25594,7 +25803,7 @@ function PathsDisplay({
|
|
|
25594
25803
|
onClick: () => onCopyPath(path),
|
|
25595
25804
|
"aria-label": `Copy ${path}`,
|
|
25596
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",
|
|
25597
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25806
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Copy02Icon, { className: copyIconSize })
|
|
25598
25807
|
}
|
|
25599
25808
|
)
|
|
25600
25809
|
]
|
|
@@ -25666,7 +25875,7 @@ function PlatformFilterComponent({
|
|
|
25666
25875
|
variant: selectedPlatform === platform.value ? "accent" : "outline",
|
|
25667
25876
|
size,
|
|
25668
25877
|
onClick: () => onPlatformChange(platform.value),
|
|
25669
|
-
leftIcon: showIcons ?
|
|
25878
|
+
leftIcon: showIcons ? _chunkDCIB6AK3cjs.getSmallPlatformIcon.call(void 0, platform.value) : void 0,
|
|
25670
25879
|
className: "text-h3",
|
|
25671
25880
|
children: platform.label
|
|
25672
25881
|
},
|
|
@@ -26049,7 +26258,7 @@ function ReleaseMediaManager({
|
|
|
26049
26258
|
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
26050
26259
|
|
|
26051
26260
|
|
|
26052
|
-
var SelectButton =
|
|
26261
|
+
var SelectButton = React114.default.forwardRef(
|
|
26053
26262
|
({ title, description, selected = false, disabled = false, icon, image, tag, tagVariant = "outline", onClick, className }, ref) => {
|
|
26054
26263
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
26055
26264
|
"button",
|
|
@@ -26094,7 +26303,7 @@ var SelectButton = React113.default.forwardRef(
|
|
|
26094
26303
|
] }),
|
|
26095
26304
|
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { variant: tagVariant, className: "shrink-0", label: tag }),
|
|
26096
26305
|
selected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26097
|
-
|
|
26306
|
+
_chunkCCG4DARMcjs.CheckCircleIcon,
|
|
26098
26307
|
{
|
|
26099
26308
|
className: "shrink-0 size-4 md:size-6 text-ods-accent"
|
|
26100
26309
|
}
|
|
@@ -26481,7 +26690,7 @@ function SocialLinksManager({
|
|
|
26481
26690
|
_chunkQJGRP2YEcjs.init_button2.call(void 0, );
|
|
26482
26691
|
|
|
26483
26692
|
|
|
26484
|
-
var StartWithOpenFrameButton =
|
|
26693
|
+
var StartWithOpenFrameButton = React88.forwardRef(({ children = "Start Free Trial", mode = "outline", className, buttonSize, loading = false, buttonBackgroundColor, buttonTextColor, ...props }, ref) => {
|
|
26485
26694
|
const isYellow = mode === "yellow";
|
|
26486
26695
|
const isPink = mode === "pink" || mode === "purple";
|
|
26487
26696
|
const isCyan = mode === "cyan";
|
|
@@ -26837,7 +27046,7 @@ function useVideoWarmup({
|
|
|
26837
27046
|
const runtime = _chunkN2DVKXN4cjs.useChatRuntime.call(void 0, );
|
|
26838
27047
|
const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess', _474 => _474.endpoints, 'access', _475 => _475.supabaseStorageOrigin])));
|
|
26839
27048
|
useVideoOriginPreconnect({ supabaseStorageOrigin: resolvedOrigin });
|
|
26840
|
-
const { ref, isNear } =
|
|
27049
|
+
const { ref, isNear } = _chunkDCIB6AK3cjs.useNearViewport.call(void 0, nearMargin);
|
|
26841
27050
|
_react.useEffect.call(void 0, () => {
|
|
26842
27051
|
if (!isNear || !videoUrl || !resolvedOrigin) return;
|
|
26843
27052
|
const conn = navigator.connection;
|
|
@@ -27256,7 +27465,7 @@ function TranscriptSummaryEditor({
|
|
|
27256
27465
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
27257
27466
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { htmlFor: "subtitles", children: subtitlesLabel }),
|
|
27258
27467
|
isAIGenerated && subtitles && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Badge, { variant: "secondary", className: "flex items-center gap-1", children: [
|
|
27259
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27468
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.StandardCcIcon, { size: 12 }),
|
|
27260
27469
|
"AI Generated"
|
|
27261
27470
|
] })
|
|
27262
27471
|
] }),
|
|
@@ -28441,7 +28650,7 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
28441
28650
|
|
|
28442
28651
|
var DropdownMenu2 = DropdownMenuPrimitive2.Root;
|
|
28443
28652
|
var DropdownMenuTrigger2 = DropdownMenuPrimitive2.Trigger;
|
|
28444
|
-
var DropdownMenuSubTrigger =
|
|
28653
|
+
var DropdownMenuSubTrigger = React91.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
28445
28654
|
DropdownMenuPrimitive2.SubTrigger,
|
|
28446
28655
|
{
|
|
28447
28656
|
ref,
|
|
@@ -28458,7 +28667,7 @@ var DropdownMenuSubTrigger = React90.forwardRef(({ className, inset, children, .
|
|
|
28458
28667
|
}
|
|
28459
28668
|
));
|
|
28460
28669
|
DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive2.SubTrigger.displayName;
|
|
28461
|
-
var DropdownMenuSubContent =
|
|
28670
|
+
var DropdownMenuSubContent = React91.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28462
28671
|
DropdownMenuPrimitive2.SubContent,
|
|
28463
28672
|
{
|
|
28464
28673
|
ref,
|
|
@@ -28470,7 +28679,7 @@ var DropdownMenuSubContent = React90.forwardRef(({ className, ...props }, ref) =
|
|
|
28470
28679
|
}
|
|
28471
28680
|
));
|
|
28472
28681
|
DropdownMenuSubContent.displayName = DropdownMenuPrimitive2.SubContent.displayName;
|
|
28473
|
-
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,
|
|
28474
28683
|
DropdownMenuPrimitive2.Content,
|
|
28475
28684
|
{
|
|
28476
28685
|
ref,
|
|
@@ -28483,7 +28692,7 @@ var DropdownMenuContent2 = React90.forwardRef(({ className, sideOffset = 4, ...p
|
|
|
28483
28692
|
}
|
|
28484
28693
|
) }));
|
|
28485
28694
|
DropdownMenuContent2.displayName = DropdownMenuPrimitive2.Content.displayName;
|
|
28486
|
-
var DropdownMenuItem2 =
|
|
28695
|
+
var DropdownMenuItem2 = React91.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28487
28696
|
DropdownMenuPrimitive2.Item,
|
|
28488
28697
|
{
|
|
28489
28698
|
ref,
|
|
@@ -28496,7 +28705,7 @@ var DropdownMenuItem2 = React90.forwardRef(({ className, inset, ...props }, ref)
|
|
|
28496
28705
|
}
|
|
28497
28706
|
));
|
|
28498
28707
|
DropdownMenuItem2.displayName = DropdownMenuPrimitive2.Item.displayName;
|
|
28499
|
-
var DropdownMenuCheckboxItem =
|
|
28708
|
+
var DropdownMenuCheckboxItem = React91.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
28500
28709
|
DropdownMenuPrimitive2.CheckboxItem,
|
|
28501
28710
|
{
|
|
28502
28711
|
ref,
|
|
@@ -28513,7 +28722,7 @@ var DropdownMenuCheckboxItem = React90.forwardRef(({ className, children, checke
|
|
|
28513
28722
|
}
|
|
28514
28723
|
));
|
|
28515
28724
|
DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive2.CheckboxItem.displayName;
|
|
28516
|
-
var DropdownMenuRadioItem =
|
|
28725
|
+
var DropdownMenuRadioItem = React91.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
28517
28726
|
DropdownMenuPrimitive2.RadioItem,
|
|
28518
28727
|
{
|
|
28519
28728
|
ref,
|
|
@@ -28529,7 +28738,7 @@ var DropdownMenuRadioItem = React90.forwardRef(({ className, children, ...props
|
|
|
28529
28738
|
}
|
|
28530
28739
|
));
|
|
28531
28740
|
DropdownMenuRadioItem.displayName = DropdownMenuPrimitive2.RadioItem.displayName;
|
|
28532
|
-
var DropdownMenuLabel =
|
|
28741
|
+
var DropdownMenuLabel = React91.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28533
28742
|
DropdownMenuPrimitive2.Label,
|
|
28534
28743
|
{
|
|
28535
28744
|
ref,
|
|
@@ -28542,7 +28751,7 @@ var DropdownMenuLabel = React90.forwardRef(({ className, inset, ...props }, ref)
|
|
|
28542
28751
|
}
|
|
28543
28752
|
));
|
|
28544
28753
|
DropdownMenuLabel.displayName = DropdownMenuPrimitive2.Label.displayName;
|
|
28545
|
-
var DropdownMenuSeparator =
|
|
28754
|
+
var DropdownMenuSeparator = React91.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28546
28755
|
DropdownMenuPrimitive2.Separator,
|
|
28547
28756
|
{
|
|
28548
28757
|
ref,
|
|
@@ -28582,7 +28791,7 @@ var getApprovalLevelLabel = (level, editMode = false) => {
|
|
|
28582
28791
|
};
|
|
28583
28792
|
var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
28584
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: [
|
|
28585
|
-
/* @__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 }) }),
|
|
28586
28795
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 flex flex-col min-w-0", children: [
|
|
28587
28796
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-[16px] font-medium text-ods-text-primary truncate", title: policy.name, children: policy.name }),
|
|
28588
28797
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-[12px] text-ods-text-secondary break-all font-mono", children: policy.commandPattern })
|
|
@@ -28893,8 +29102,8 @@ function WaitlistForm({
|
|
|
28893
29102
|
const [email, setEmail] = _react.useState.call(void 0, defaultEmail);
|
|
28894
29103
|
const [phone, setPhone] = _react.useState.call(void 0, defaultPhone);
|
|
28895
29104
|
const [countryCode, setCountryCode] = _react.useState.call(void 0, "US");
|
|
28896
|
-
const { toast } =
|
|
28897
|
-
const { honeypotInputProps, getSignals, resetSignals } =
|
|
29105
|
+
const { toast } = _chunkDCIB6AK3cjs.useToast.call(void 0, );
|
|
29106
|
+
const { honeypotInputProps, getSignals, resetSignals } = _chunkDCIB6AK3cjs.useHumanitySignals.call(void 0, );
|
|
28898
29107
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
28899
29108
|
const [isClient, setIsClient] = _react.useState.call(void 0, false);
|
|
28900
29109
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
@@ -29067,7 +29276,7 @@ function WaitlistForm({
|
|
|
29067
29276
|
// src/components/features/notifications/notifications-context.tsx
|
|
29068
29277
|
|
|
29069
29278
|
|
|
29070
|
-
var NotificationsContext =
|
|
29279
|
+
var NotificationsContext = React92.createContext(null);
|
|
29071
29280
|
function mergeNotification(base, incoming) {
|
|
29072
29281
|
const out = { ...base };
|
|
29073
29282
|
for (const key of Object.keys(incoming)) {
|
|
@@ -29146,16 +29355,16 @@ function NotificationsProvider({
|
|
|
29146
29355
|
onLoadMore,
|
|
29147
29356
|
renderTile
|
|
29148
29357
|
}) {
|
|
29149
|
-
const [notifications, dispatch] =
|
|
29150
|
-
const [isOpen, setIsOpen] =
|
|
29151
|
-
const [showPopups, setShowPopupsState] =
|
|
29152
|
-
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);
|
|
29153
29362
|
const desktopPopupsConfigured = onShowDesktopPopupsChange !== void 0;
|
|
29154
|
-
const actionsRef =
|
|
29155
|
-
|
|
29363
|
+
const actionsRef = React92.useRef(actions);
|
|
29364
|
+
React92.useEffect(() => {
|
|
29156
29365
|
actionsRef.current = actions;
|
|
29157
29366
|
}, [actions]);
|
|
29158
|
-
const addNotification =
|
|
29367
|
+
const addNotification = React92.useCallback(
|
|
29159
29368
|
(input) => {
|
|
29160
29369
|
const id = _nullishCoalesce(input.id, () => ( generateId()));
|
|
29161
29370
|
const notification = {
|
|
@@ -29169,7 +29378,7 @@ function NotificationsProvider({
|
|
|
29169
29378
|
},
|
|
29170
29379
|
[maxNotifications]
|
|
29171
29380
|
);
|
|
29172
|
-
const upsertNotification =
|
|
29381
|
+
const upsertNotification = React92.useCallback(
|
|
29173
29382
|
(input) => {
|
|
29174
29383
|
const notification = {
|
|
29175
29384
|
...input,
|
|
@@ -29182,48 +29391,48 @@ function NotificationsProvider({
|
|
|
29182
29391
|
},
|
|
29183
29392
|
[maxNotifications]
|
|
29184
29393
|
);
|
|
29185
|
-
const setNotifications =
|
|
29394
|
+
const setNotifications = React92.useCallback((list) => {
|
|
29186
29395
|
dispatch({ type: "set", notifications: list });
|
|
29187
29396
|
}, []);
|
|
29188
|
-
const markRead =
|
|
29397
|
+
const markRead = React92.useCallback((id) => {
|
|
29189
29398
|
dispatch({ type: "markRead", id });
|
|
29190
29399
|
void _optionalChain([actionsRef, 'access', _493 => _493.current, 'optionalAccess', _494 => _494.onMarkRead, 'optionalCall', _495 => _495(id)]);
|
|
29191
29400
|
}, []);
|
|
29192
|
-
const markAllRead =
|
|
29401
|
+
const markAllRead = React92.useCallback(() => {
|
|
29193
29402
|
dispatch({ type: "markAllRead" });
|
|
29194
29403
|
void _optionalChain([actionsRef, 'access', _496 => _496.current, 'optionalAccess', _497 => _497.onMarkAllRead, 'optionalCall', _498 => _498()]);
|
|
29195
29404
|
}, []);
|
|
29196
|
-
const markSettled =
|
|
29405
|
+
const markSettled = React92.useCallback((id) => {
|
|
29197
29406
|
dispatch({ type: "markSettled", id });
|
|
29198
29407
|
void _optionalChain([actionsRef, 'access', _499 => _499.current, 'optionalAccess', _500 => _500.onMarkSettled, 'optionalCall', _501 => _501(id)]);
|
|
29199
29408
|
}, []);
|
|
29200
|
-
const remove =
|
|
29409
|
+
const remove = React92.useCallback((id) => {
|
|
29201
29410
|
dispatch({ type: "remove", id });
|
|
29202
29411
|
void _optionalChain([actionsRef, 'access', _502 => _502.current, 'optionalAccess', _503 => _503.onRemove, 'optionalCall', _504 => _504(id)]);
|
|
29203
29412
|
}, []);
|
|
29204
|
-
const clear =
|
|
29205
|
-
const open =
|
|
29206
|
-
const close =
|
|
29207
|
-
const toggle =
|
|
29208
|
-
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(
|
|
29209
29418
|
(value2) => {
|
|
29210
29419
|
setShowPopupsState(value2);
|
|
29211
29420
|
_optionalChain([onShowPopupsChange, 'optionalCall', _505 => _505(value2)]);
|
|
29212
29421
|
},
|
|
29213
29422
|
[onShowPopupsChange]
|
|
29214
29423
|
);
|
|
29215
|
-
const setShowDesktopPopups =
|
|
29424
|
+
const setShowDesktopPopups = React92.useCallback(
|
|
29216
29425
|
(value2) => {
|
|
29217
29426
|
setShowDesktopPopupsState(value2);
|
|
29218
29427
|
_optionalChain([onShowDesktopPopupsChange, 'optionalCall', _506 => _506(value2)]);
|
|
29219
29428
|
},
|
|
29220
29429
|
[onShowDesktopPopupsChange]
|
|
29221
29430
|
);
|
|
29222
|
-
const unreadCount =
|
|
29431
|
+
const unreadCount = React92.useMemo(
|
|
29223
29432
|
() => notifications.reduce((acc, n) => n.read ? acc : acc + 1, 0),
|
|
29224
29433
|
[notifications]
|
|
29225
29434
|
);
|
|
29226
|
-
const value =
|
|
29435
|
+
const value = React92.useMemo(
|
|
29227
29436
|
() => ({
|
|
29228
29437
|
notifications,
|
|
29229
29438
|
unreadCount,
|
|
@@ -29282,14 +29491,14 @@ function NotificationsProvider({
|
|
|
29282
29491
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, NotificationsContext.Provider, { value, children });
|
|
29283
29492
|
}
|
|
29284
29493
|
function useNotifications() {
|
|
29285
|
-
const ctx =
|
|
29494
|
+
const ctx = React92.useContext(NotificationsContext);
|
|
29286
29495
|
if (!ctx) {
|
|
29287
29496
|
throw new Error("useNotifications must be used inside <NotificationsProvider>");
|
|
29288
29497
|
}
|
|
29289
29498
|
return ctx;
|
|
29290
29499
|
}
|
|
29291
29500
|
function useOptionalNotifications() {
|
|
29292
|
-
return
|
|
29501
|
+
return React92.useContext(NotificationsContext);
|
|
29293
29502
|
}
|
|
29294
29503
|
|
|
29295
29504
|
// src/components/features/notifications/notification-drawer.tsx
|
|
@@ -29339,7 +29548,7 @@ function NotificationTile({
|
|
|
29339
29548
|
children ? "border-b border-ods-border" : null
|
|
29340
29549
|
),
|
|
29341
29550
|
children: [
|
|
29342
|
-
/* @__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]) }) }),
|
|
29343
29552
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
29344
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,
|
|
29345
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
|
|
@@ -29356,7 +29565,7 @@ function NotificationTile({
|
|
|
29356
29565
|
"shrink-0 hover:text-ods-text-primary",
|
|
29357
29566
|
isLive && "invisible"
|
|
29358
29567
|
),
|
|
29359
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29568
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.CheckCircleIcon, {})
|
|
29360
29569
|
}
|
|
29361
29570
|
),
|
|
29362
29571
|
counting ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -29365,7 +29574,7 @@ function NotificationTile({
|
|
|
29365
29574
|
"aria-hidden": true,
|
|
29366
29575
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
29367
29576
|
"absolute inset-x-0 -bottom-px h-1 origin-left",
|
|
29368
|
-
|
|
29577
|
+
_chunkDCIB6AK3cjs.progressColorByVariant[variant]
|
|
29369
29578
|
),
|
|
29370
29579
|
style: {
|
|
29371
29580
|
animation: `toast-progress ${liveDurationMs}ms linear forwards`,
|
|
@@ -29388,7 +29597,7 @@ function NotificationTile({
|
|
|
29388
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",
|
|
29389
29598
|
!isLive && "pointer-events-none opacity-0"
|
|
29390
29599
|
),
|
|
29391
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29600
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.XmarkIcon, { size: 16 })
|
|
29392
29601
|
}
|
|
29393
29602
|
)
|
|
29394
29603
|
]
|
|
@@ -29568,7 +29777,7 @@ function DrawerLoadingTiles() {
|
|
|
29568
29777
|
}
|
|
29569
29778
|
function EmptyState() {
|
|
29570
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: [
|
|
29571
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29780
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.BellOffIcon, { size: 24, className: "text-ods-text-secondary" }),
|
|
29572
29781
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6 text-ods-text-secondary", children: "No new notifications" })
|
|
29573
29782
|
] });
|
|
29574
29783
|
}
|
|
@@ -29589,7 +29798,7 @@ function ShowNotificationsToggleRow({ checked, onChange }) {
|
|
|
29589
29798
|
] });
|
|
29590
29799
|
}
|
|
29591
29800
|
function DesktopNotificationsToggleRow({ checked, onChange }) {
|
|
29592
|
-
const { supported, permission, request } =
|
|
29801
|
+
const { supported, permission, request } = _chunkDCIB6AK3cjs.useNotificationPermission.call(void 0, );
|
|
29593
29802
|
if (!supported) return null;
|
|
29594
29803
|
const blocked = permission === "denied";
|
|
29595
29804
|
const handleChange = async (value) => {
|
|
@@ -29623,10 +29832,10 @@ function NotificationsHistoryButton({ onClick, historyHref }) {
|
|
|
29623
29832
|
fullWidth: true,
|
|
29624
29833
|
onClick,
|
|
29625
29834
|
mainDisabled: !onClick,
|
|
29626
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29835
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.ClockHistoryIcon, { className: "text-ods-text-secondary" }),
|
|
29627
29836
|
groupAriaLabel: "Notifications history",
|
|
29628
29837
|
iconAction: {
|
|
29629
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29838
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.ArrowRightUpIcon, { className: "text-ods-text-secondary" }),
|
|
29630
29839
|
"aria-label": "Open notifications history in a new tab",
|
|
29631
29840
|
href: historyHref,
|
|
29632
29841
|
openInNewTab: true,
|
|
@@ -30011,24 +30220,24 @@ function ApprovalRequestNotificationTile({
|
|
|
30011
30220
|
// src/components/features/time-tracker/time-tracker-context.tsx
|
|
30012
30221
|
|
|
30013
30222
|
|
|
30014
|
-
var TimeTrackerContext =
|
|
30223
|
+
var TimeTrackerContext = React93.createContext(null);
|
|
30015
30224
|
function TimeTrackerProvider({ children, defaultOpen = false, ...data }) {
|
|
30016
|
-
const [isOpen, setIsOpen] =
|
|
30017
|
-
const open =
|
|
30018
|
-
const close =
|
|
30019
|
-
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), []);
|
|
30020
30229
|
const value = { ...data, isOpen, open, close, toggle };
|
|
30021
30230
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TimeTrackerContext.Provider, { value, children });
|
|
30022
30231
|
}
|
|
30023
30232
|
function useTimeTracker() {
|
|
30024
|
-
const ctx =
|
|
30233
|
+
const ctx = React93.useContext(TimeTrackerContext);
|
|
30025
30234
|
if (!ctx) {
|
|
30026
30235
|
throw new Error("useTimeTracker must be used inside <TimeTrackerProvider>");
|
|
30027
30236
|
}
|
|
30028
30237
|
return ctx;
|
|
30029
30238
|
}
|
|
30030
30239
|
function useOptionalTimeTracker() {
|
|
30031
|
-
return
|
|
30240
|
+
return React93.useContext(TimeTrackerContext);
|
|
30032
30241
|
}
|
|
30033
30242
|
|
|
30034
30243
|
// src/components/features/time-tracker/time-tracker-panel.tsx
|
|
@@ -30140,7 +30349,7 @@ function TimeTrackerPanel({
|
|
|
30140
30349
|
onClick: onClose,
|
|
30141
30350
|
"aria-label": "Close time tracker",
|
|
30142
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",
|
|
30143
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30352
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.XmarkIcon, {})
|
|
30144
30353
|
}
|
|
30145
30354
|
),
|
|
30146
30355
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
@@ -30176,7 +30385,7 @@ function TimeTrackerPanel({
|
|
|
30176
30385
|
disabled: isStarting,
|
|
30177
30386
|
"aria-label": isRunning ? "Pause tracking" : isActive ? "Resume tracking" : "Start tracking",
|
|
30178
30387
|
className: "h-auto w-auto rounded-none transition-none [&_svg]:!size-6",
|
|
30179
|
-
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, {})
|
|
30180
30389
|
}
|
|
30181
30390
|
),
|
|
30182
30391
|
isActive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -30188,7 +30397,7 @@ function TimeTrackerPanel({
|
|
|
30188
30397
|
disabled: isSubmitting,
|
|
30189
30398
|
"aria-label": "Finish and save tracking",
|
|
30190
30399
|
className: "h-auto w-auto rounded-none border-l border-ods-border [&_svg]:!size-6",
|
|
30191
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30400
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.CheckCircleIcon, {})
|
|
30192
30401
|
}
|
|
30193
30402
|
)
|
|
30194
30403
|
] }),
|
|
@@ -30222,7 +30431,7 @@ function TimeTrackerPanel({
|
|
|
30222
30431
|
),
|
|
30223
30432
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
30224
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: [
|
|
30225
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30434
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.ClockHistoryIcon, { className: "size-6" }),
|
|
30226
30435
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
30227
30436
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 font-medium", children: "No time logged" }),
|
|
30228
30437
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6", children: "Last entries will appear here" })
|
|
@@ -30239,7 +30448,7 @@ function TimeTrackerPanel({
|
|
|
30239
30448
|
className: "min-w-0",
|
|
30240
30449
|
onClick: handleManualEntry,
|
|
30241
30450
|
disabled: !onManualEntry,
|
|
30242
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30451
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.PlusCircleIcon, { className: "text-ods-text-secondary" }),
|
|
30243
30452
|
children: "Manual Entry"
|
|
30244
30453
|
}
|
|
30245
30454
|
),
|
|
@@ -30254,7 +30463,7 @@ function TimeTrackerPanel({
|
|
|
30254
30463
|
mainDisabled: !onOpenMyTime,
|
|
30255
30464
|
groupAriaLabel: "Open my time",
|
|
30256
30465
|
iconAction: {
|
|
30257
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30466
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.ArrowRightUpIcon, { size: 24 }),
|
|
30258
30467
|
"aria-label": "Open my time in a new view",
|
|
30259
30468
|
onClick: onOpenMyTimeMenu,
|
|
30260
30469
|
disabled: !onOpenMyTimeMenu
|
|
@@ -30272,10 +30481,10 @@ function TimeTrackerPanel({
|
|
|
30272
30481
|
var STATUS_TAG_SKIN = "gap-[var(--spacing-system-xs)] font-mono font-medium uppercase tracking-tight";
|
|
30273
30482
|
function StatusTag({ status }) {
|
|
30274
30483
|
if (status === "tracking") {
|
|
30275
|
-
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" });
|
|
30276
30485
|
}
|
|
30277
30486
|
if (status === "paused") {
|
|
30278
|
-
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" });
|
|
30279
30488
|
}
|
|
30280
30489
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { variant: "grey", className: STATUS_TAG_SKIN, label: "Ready to Track" });
|
|
30281
30490
|
}
|
|
@@ -30298,7 +30507,7 @@ function LastEntryRow({ entry, onClick }) {
|
|
|
30298
30507
|
disabled: !onClick,
|
|
30299
30508
|
"aria-label": `Open entry: ${entry.title}`,
|
|
30300
30509
|
className: "h-12 w-12 shrink-0 [&_svg]:!size-6",
|
|
30301
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30510
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Chevron02RightIcon, {})
|
|
30302
30511
|
}
|
|
30303
30512
|
)
|
|
30304
30513
|
] });
|
|
@@ -30346,8 +30555,8 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
30346
30555
|
const { isOpen, open, close, status } = ctx;
|
|
30347
30556
|
const isPaused = status === "paused";
|
|
30348
30557
|
const isActive = status === "tracking" || isPaused;
|
|
30349
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30350
|
-
/* @__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,
|
|
30351
30560
|
HeaderButton,
|
|
30352
30561
|
{
|
|
30353
30562
|
"aria-label": "Time tracker",
|
|
@@ -30360,7 +30569,7 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
30360
30569
|
),
|
|
30361
30570
|
icon: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
30362
30571
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30363
|
-
|
|
30572
|
+
_chunkCCG4DARMcjs.ClockHistoryIcon,
|
|
30364
30573
|
{
|
|
30365
30574
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
30366
30575
|
"h-4 w-4 md:h-6 md:w-6",
|
|
@@ -30381,8 +30590,8 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
30381
30590
|
] })
|
|
30382
30591
|
}
|
|
30383
30592
|
) }),
|
|
30384
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30385
|
-
|
|
30593
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverPrimitive5.Portal, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30594
|
+
PopoverPrimitive5.Content,
|
|
30386
30595
|
{
|
|
30387
30596
|
align: "end",
|
|
30388
30597
|
sideOffset: 8,
|
|
@@ -30444,7 +30653,7 @@ function BoardColumnHeader({
|
|
|
30444
30653
|
className: "h-8 w-8 md:h-8 md:w-8 p-0",
|
|
30445
30654
|
onClick: onToggleCollapse,
|
|
30446
30655
|
"aria-label": "Expand column",
|
|
30447
|
-
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" })
|
|
30448
30657
|
}
|
|
30449
30658
|
),
|
|
30450
30659
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -30487,7 +30696,7 @@ function BoardColumnHeader({
|
|
|
30487
30696
|
className: "h-8 w-8 md:h-8 md:w-8 p-0",
|
|
30488
30697
|
onClick: onToggleCollapse,
|
|
30489
30698
|
"aria-label": "Collapse column",
|
|
30490
|
-
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" })
|
|
30491
30700
|
}
|
|
30492
30701
|
),
|
|
30493
30702
|
onArchive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -30498,7 +30707,7 @@ function BoardColumnHeader({
|
|
|
30498
30707
|
className: "h-8 w-8 md:h-8 md:w-8 p-0",
|
|
30499
30708
|
onClick: onArchive,
|
|
30500
30709
|
"aria-label": "Archive resolved tickets",
|
|
30501
|
-
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" })
|
|
30502
30711
|
}
|
|
30503
30712
|
),
|
|
30504
30713
|
onAddTicket && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -30509,7 +30718,7 @@ function BoardColumnHeader({
|
|
|
30509
30718
|
className: "h-8 w-8 md:h-8 md:w-8 p-0",
|
|
30510
30719
|
onClick: onAddTicket,
|
|
30511
30720
|
"aria-label": "Add ticket",
|
|
30512
|
-
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" })
|
|
30513
30722
|
}
|
|
30514
30723
|
)
|
|
30515
30724
|
] })
|
|
@@ -30539,7 +30748,7 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
30539
30748
|
|
|
30540
30749
|
|
|
30541
30750
|
function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
30542
|
-
const [expanded, setExpanded] =
|
|
30751
|
+
const [expanded, setExpanded] = React94.useState(false);
|
|
30543
30752
|
const { innerRef, containerStyle } = useCollapsible({ expanded });
|
|
30544
30753
|
const isAdmin = pendingApproval.approvalType === "ADMIN";
|
|
30545
30754
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex flex-col", children: [
|
|
@@ -30559,12 +30768,12 @@ function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
|
30559
30768
|
isAdmin ? "text-ods-open-yellow" : "text-ods-text-secondary"
|
|
30560
30769
|
),
|
|
30561
30770
|
children: [
|
|
30562
|
-
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" }),
|
|
30563
30772
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex-1 truncate text-left", children: isAdmin ? "Technician approval required" : "Pending client approval" })
|
|
30564
30773
|
]
|
|
30565
30774
|
}
|
|
30566
30775
|
),
|
|
30567
|
-
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" })
|
|
30568
30777
|
]
|
|
30569
30778
|
}
|
|
30570
30779
|
),
|
|
@@ -30607,7 +30816,7 @@ function TicketCard({
|
|
|
30607
30816
|
onApprove,
|
|
30608
30817
|
onReject
|
|
30609
30818
|
}) {
|
|
30610
|
-
const sortableData =
|
|
30819
|
+
const sortableData = React95.useMemo(
|
|
30611
30820
|
() => ({ columnId, type: "ticket" }),
|
|
30612
30821
|
[columnId]
|
|
30613
30822
|
);
|
|
@@ -30634,7 +30843,7 @@ function TicketCard({
|
|
|
30634
30843
|
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _535 => _535.assignees, 'optionalAccess', _536 => _536.length]) || renderAssignSlot);
|
|
30635
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: [
|
|
30636
30845
|
ticket.priority && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30637
|
-
|
|
30846
|
+
_chunkCCG4DARMcjs.Flag02Icon,
|
|
30638
30847
|
{
|
|
30639
30848
|
className: _chunkFIG2RKZFcjs.cn.call(void 0, "size-4", PRIORITY_COLOR_CLASS[ticket.priority]),
|
|
30640
30849
|
"aria-label": `Priority: ${ticket.priority}`
|
|
@@ -30680,7 +30889,7 @@ function TicketCard({
|
|
|
30680
30889
|
Tag,
|
|
30681
30890
|
{
|
|
30682
30891
|
label: "New Message",
|
|
30683
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30892
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.MessagesIcon, { size: 16, color: newMessageTextColor }),
|
|
30684
30893
|
className: "w-fit shrink-0",
|
|
30685
30894
|
style: { backgroundColor: columnColor, color: newMessageTextColor }
|
|
30686
30895
|
}
|
|
@@ -30753,7 +30962,7 @@ function TicketTagRow({ tags }) {
|
|
|
30753
30962
|
|
|
30754
30963
|
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
30755
30964
|
|
|
30756
|
-
var TicketCardSkeleton =
|
|
30965
|
+
var TicketCardSkeleton = React96.forwardRef(
|
|
30757
30966
|
({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30758
30967
|
"div",
|
|
30759
30968
|
{
|
|
@@ -30847,8 +31056,8 @@ function BoardColumn({
|
|
|
30847
31056
|
);
|
|
30848
31057
|
}
|
|
30849
31058
|
function ColumnBody({ column, getTicketHref, renderAssignSlot, onApprove, onReject, onLoadMore, loadMoreRootMargin }) {
|
|
30850
|
-
const ticketIds =
|
|
30851
|
-
const droppableData =
|
|
31059
|
+
const ticketIds = React97.useMemo(() => column.tickets.map((t) => t.id), [column.tickets]);
|
|
31060
|
+
const droppableData = React97.useMemo(
|
|
30852
31061
|
() => ({ columnId: column.id, type: "column" }),
|
|
30853
31062
|
[column.id]
|
|
30854
31063
|
);
|
|
@@ -30857,13 +31066,13 @@ function ColumnBody({ column, getTicketHref, renderAssignSlot, onApprove, onReje
|
|
|
30857
31066
|
data: droppableData,
|
|
30858
31067
|
disabled: column.dropDisabled
|
|
30859
31068
|
});
|
|
30860
|
-
const scrollRef =
|
|
30861
|
-
const sentinelRef =
|
|
30862
|
-
const loadMoreRef =
|
|
31069
|
+
const scrollRef = React97.useRef(null);
|
|
31070
|
+
const sentinelRef = React97.useRef(null);
|
|
31071
|
+
const loadMoreRef = React97.useRef(onLoadMore);
|
|
30863
31072
|
loadMoreRef.current = onLoadMore;
|
|
30864
|
-
const columnIdRef =
|
|
31073
|
+
const columnIdRef = React97.useRef(column.id);
|
|
30865
31074
|
columnIdRef.current = column.id;
|
|
30866
|
-
|
|
31075
|
+
React97.useEffect(() => {
|
|
30867
31076
|
if (!column.hasMore || column.isLoadingMore) return;
|
|
30868
31077
|
const sentinel = sentinelRef.current;
|
|
30869
31078
|
const root = scrollRef.current;
|
|
@@ -30879,7 +31088,7 @@ function ColumnBody({ column, getTicketHref, renderAssignSlot, onApprove, onReje
|
|
|
30879
31088
|
observer.observe(sentinel);
|
|
30880
31089
|
return () => observer.disconnect();
|
|
30881
31090
|
}, [column.hasMore, column.isLoadingMore, loadMoreRootMargin]);
|
|
30882
|
-
const setBodyRef =
|
|
31091
|
+
const setBodyRef = React97.useCallback(
|
|
30883
31092
|
(el) => {
|
|
30884
31093
|
scrollRef.current = el;
|
|
30885
31094
|
setDroppableRef(el);
|
|
@@ -30916,7 +31125,7 @@ function ColumnBody({ column, getTicketHref, renderAssignSlot, onApprove, onReje
|
|
|
30916
31125
|
);
|
|
30917
31126
|
}
|
|
30918
31127
|
function SkeletonStack({ count = 4 }) {
|
|
30919
|
-
const keys =
|
|
31128
|
+
const keys = React97.useMemo(
|
|
30920
31129
|
() => Array.from({ length: count }, () => Math.random().toString(36).slice(2)),
|
|
30921
31130
|
[count]
|
|
30922
31131
|
);
|
|
@@ -30924,7 +31133,7 @@ function SkeletonStack({ count = 4 }) {
|
|
|
30924
31133
|
}
|
|
30925
31134
|
function EmptyState2() {
|
|
30926
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: [
|
|
30927
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31136
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.TagIcon, { className: "h-6 w-6 shrink-0" }),
|
|
30928
31137
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
|
|
30929
31138
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4", children: "No tickets here" }),
|
|
30930
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" })
|
|
@@ -30935,7 +31144,7 @@ function EmptyState2() {
|
|
|
30935
31144
|
// src/components/features/board/use-board-collapse.ts
|
|
30936
31145
|
|
|
30937
31146
|
function useBoardCollapse(storageKey) {
|
|
30938
|
-
const [persisted, setPersisted] =
|
|
31147
|
+
const [persisted, setPersisted] = _chunkDCIB6AK3cjs.useLocalStorage.call(void 0,
|
|
30939
31148
|
_nullishCoalesce(storageKey, () => ( "__board_collapse_unused__")),
|
|
30940
31149
|
{}
|
|
30941
31150
|
);
|
|
@@ -30985,19 +31194,19 @@ function Board({
|
|
|
30985
31194
|
onThumbPointerDown,
|
|
30986
31195
|
onThumbPointerMove,
|
|
30987
31196
|
onThumbPointerUp
|
|
30988
|
-
} =
|
|
30989
|
-
const [items, setItems] =
|
|
30990
|
-
const isDraggingRef =
|
|
30991
|
-
|
|
31197
|
+
} = _chunkDCIB6AK3cjs.useHorizontalScrollbar.call(void 0, );
|
|
31198
|
+
const [items, setItems] = React98.useState(columns);
|
|
31199
|
+
const isDraggingRef = React98.useRef(false);
|
|
31200
|
+
React98.useEffect(() => {
|
|
30992
31201
|
if (!isDraggingRef.current) setItems(columns);
|
|
30993
31202
|
}, [columns]);
|
|
30994
|
-
const dragOriginRef =
|
|
30995
|
-
const [activeTicket, setActiveTicket] =
|
|
31203
|
+
const dragOriginRef = React98.useRef(null);
|
|
31204
|
+
const [activeTicket, setActiveTicket] = React98.useState(null);
|
|
30996
31205
|
const sensors = _core.useSensors.call(void 0,
|
|
30997
31206
|
_core.useSensor.call(void 0, _core.PointerSensor, { activationConstraint: { distance: 6 } }),
|
|
30998
31207
|
_core.useSensor.call(void 0, _core.KeyboardSensor, { coordinateGetter: _sortable.sortableKeyboardCoordinates })
|
|
30999
31208
|
);
|
|
31000
|
-
const collisionDetection =
|
|
31209
|
+
const collisionDetection = React98.useCallback((args) => {
|
|
31001
31210
|
const pointer = _core.pointerWithin.call(void 0, args);
|
|
31002
31211
|
const intersections = pointer.length > 0 ? pointer : _core.rectIntersection.call(void 0, args);
|
|
31003
31212
|
const ticketHit = intersections.find(
|
|
@@ -31151,7 +31360,7 @@ function Board({
|
|
|
31151
31360
|
const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess', _577 => _577.system]));
|
|
31152
31361
|
const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess', _578 => _578.system]));
|
|
31153
31362
|
const showGap = i > 0 && !joinLeft;
|
|
31154
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
31363
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React98.Fragment, { children: [
|
|
31155
31364
|
showGap && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "w-[var(--spacing-system-mf)] shrink-0" }),
|
|
31156
31365
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31157
31366
|
BoardColumn,
|
|
@@ -31309,7 +31518,7 @@ function TicketStatusConfigList({
|
|
|
31309
31518
|
if (oldIndex === -1 || newIndex === -1) return;
|
|
31310
31519
|
onReorder(oldIndex, newIndex);
|
|
31311
31520
|
};
|
|
31312
|
-
const sortableIds =
|
|
31521
|
+
const sortableIds = React99.useMemo(() => items.map((i) => i.id), [items]);
|
|
31313
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)) }) }) });
|
|
31314
31523
|
}
|
|
31315
31524
|
function SortableRow({
|
|
@@ -31400,7 +31609,7 @@ function Header2({ config, platform }) {
|
|
|
31400
31609
|
}, [config.autoHide]);
|
|
31401
31610
|
const renderNavigationItem = (item) => {
|
|
31402
31611
|
if (item.element) {
|
|
31403
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31612
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, React114.default.Fragment, { children: item.element }, item.id);
|
|
31404
31613
|
}
|
|
31405
31614
|
if (item.children && item.children.length > 0) {
|
|
31406
31615
|
const isOpen = openDropdowns[item.id] || false;
|
|
@@ -31586,7 +31795,7 @@ function Header2({ config, platform }) {
|
|
|
31586
31795
|
_optionalChain([config, 'access', _593 => _593.mobile, 'optionalAccess', _594 => _594.onToggle, 'optionalCall', _595 => _595()]);
|
|
31587
31796
|
},
|
|
31588
31797
|
"aria-label": _optionalChain([config, 'access', _596 => _596.mobile, 'optionalAccess', _597 => _597.isOpen]) ? "Close menu" : "Open menu",
|
|
31589
|
-
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, {})
|
|
31590
31799
|
}
|
|
31591
31800
|
)
|
|
31592
31801
|
] })
|
|
@@ -31788,7 +31997,7 @@ _chunkQJGRP2YEcjs.init_button2.call(void 0, );
|
|
|
31788
31997
|
function SlidingSidebar({ config }) {
|
|
31789
31998
|
const [expandedItems, setExpandedItems] = _react.useState.call(void 0, /* @__PURE__ */ new Set());
|
|
31790
31999
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
31791
|
-
const headerHeight =
|
|
32000
|
+
const headerHeight = _chunkDCIB6AK3cjs.useHeaderHeight.call(void 0, );
|
|
31792
32001
|
_react.useEffect.call(void 0, () => {
|
|
31793
32002
|
setMounted(true);
|
|
31794
32003
|
}, []);
|
|
@@ -32021,7 +32230,7 @@ function useSectionNavigation(sections, options) {
|
|
|
32021
32230
|
if (!targetElement) return;
|
|
32022
32231
|
isScrollingFromClick.current = true;
|
|
32023
32232
|
setActiveSection(sectionId);
|
|
32024
|
-
|
|
32233
|
+
_chunkDCIB6AK3cjs.scrollElementIntoView.call(void 0, targetElement, { headerOffset: offset2 });
|
|
32025
32234
|
setTimeout(() => {
|
|
32026
32235
|
isScrollingFromClick.current = false;
|
|
32027
32236
|
}, 500);
|
|
@@ -32187,7 +32396,7 @@ function NavigationSidebarToggle({
|
|
|
32187
32396
|
"aria-label": "Hide Menu",
|
|
32188
32397
|
children: [
|
|
32189
32398
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32190
|
-
|
|
32399
|
+
_chunkCCG4DARMcjs.Chevrons03LeftIcon,
|
|
32191
32400
|
{
|
|
32192
32401
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
32193
32402
|
"text-ods-text-secondary w-6 h-6 transition-transform duration-300",
|
|
@@ -32217,10 +32426,10 @@ var MINIMIZED_WIDTH = 56;
|
|
|
32217
32426
|
var EXPANDED_WIDTH = 224;
|
|
32218
32427
|
var STORAGE_KEY = "of.navigationSidebar.minimized";
|
|
32219
32428
|
function NavigationSidebar({ config, disabled = false }) {
|
|
32220
|
-
const isMdUp = _nullishCoalesce(
|
|
32221
|
-
const isLgUp = _nullishCoalesce(
|
|
32429
|
+
const isMdUp = _nullishCoalesce(_chunkDCIB6AK3cjs.useMdUp.call(void 0, ), () => ( false));
|
|
32430
|
+
const isLgUp = _nullishCoalesce(_chunkDCIB6AK3cjs.useLgUp.call(void 0, ), () => ( false));
|
|
32222
32431
|
const isTablet = isMdUp && !isLgUp;
|
|
32223
|
-
const [desktopMinimized, setDesktopMinimized] =
|
|
32432
|
+
const [desktopMinimized, setDesktopMinimized] = _chunkDCIB6AK3cjs.useLocalStorage.call(void 0,
|
|
32224
32433
|
STORAGE_KEY,
|
|
32225
32434
|
_nullishCoalesce(config.minimized, () => ( false))
|
|
32226
32435
|
);
|
|
@@ -32364,7 +32573,7 @@ function HeaderGlobalSearch({
|
|
|
32364
32573
|
placeholder = "Global Search",
|
|
32365
32574
|
className
|
|
32366
32575
|
}) {
|
|
32367
|
-
const [internalValue, setInternalValue] =
|
|
32576
|
+
const [internalValue, setInternalValue] = React114.default.useState(value);
|
|
32368
32577
|
const currentValue = onChange ? value : internalValue;
|
|
32369
32578
|
const handleChange = (e) => {
|
|
32370
32579
|
const newValue = e.target.value;
|
|
@@ -32443,7 +32652,7 @@ function HeaderMingoButton({
|
|
|
32443
32652
|
// Mobile, drawer open: the icon-only button doubles as the close
|
|
32444
32653
|
// affordance, so swap the Mingo logo for an X. Match the other header
|
|
32445
32654
|
// icons (e.g. notifications): secondary color, w-4 h-4 → md:w-6 h-6.
|
|
32446
|
-
/* @__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" })
|
|
32447
32656
|
) : (
|
|
32448
32657
|
// Outer frame follows the button's text color (currentColor); the eyes
|
|
32449
32658
|
// and corner block are ODS cyan.
|
|
@@ -32488,7 +32697,7 @@ function HeaderOrganizationFilter({
|
|
|
32488
32697
|
className
|
|
32489
32698
|
),
|
|
32490
32699
|
children: [
|
|
32491
|
-
/* @__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" }),
|
|
32492
32701
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-start justify-center min-w-0", children: [
|
|
32493
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 }),
|
|
32494
32703
|
deviceCount !== void 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-sm font-medium leading-5 text-ods-text-secondary truncate", children: [
|
|
@@ -32515,7 +32724,7 @@ function HeaderOrganizationFilter({
|
|
|
32515
32724
|
|
|
32516
32725
|
// src/components/navigation/app-header.tsx
|
|
32517
32726
|
|
|
32518
|
-
var AppHeader =
|
|
32727
|
+
var AppHeader = React114.default.memo(function AppHeader2({
|
|
32519
32728
|
showSearch,
|
|
32520
32729
|
onSearch,
|
|
32521
32730
|
showOrganizations,
|
|
@@ -32539,7 +32748,7 @@ var AppHeader = React113.default.memo(function AppHeader2({
|
|
|
32539
32748
|
onToggleMobileMenu,
|
|
32540
32749
|
disabled = false
|
|
32541
32750
|
}) {
|
|
32542
|
-
const isMdUp = _nullishCoalesce(
|
|
32751
|
+
const isMdUp = _nullishCoalesce(_chunkDCIB6AK3cjs.useMdUp.call(void 0, ), () => ( false));
|
|
32543
32752
|
const dimmedClass = disabled ? "pointer-events-none opacity-50" : "";
|
|
32544
32753
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
32545
32754
|
"header",
|
|
@@ -32554,7 +32763,7 @@ var AppHeader = React113.default.memo(function AppHeader2({
|
|
|
32554
32763
|
{
|
|
32555
32764
|
onClick: onToggleMobileMenu,
|
|
32556
32765
|
isActive: isMobileMenuOpen,
|
|
32557
|
-
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" }),
|
|
32558
32767
|
"aria-label": isMobileMenuOpen ? "Close menu" : "Open menu",
|
|
32559
32768
|
"aria-expanded": isMobileMenuOpen
|
|
32560
32769
|
}
|
|
@@ -32701,7 +32910,7 @@ function NotificationsHeaderButton({
|
|
|
32701
32910
|
HeaderButton,
|
|
32702
32911
|
{
|
|
32703
32912
|
icon: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative w-4 h-4 md:w-6 md:h-6", children: [
|
|
32704
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32913
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.BellIcon, { className: "w-full h-full" }),
|
|
32705
32914
|
hasUnread && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32706
32915
|
"span",
|
|
32707
32916
|
{
|
|
@@ -32725,7 +32934,7 @@ function NotificationsHeaderButton({
|
|
|
32725
32934
|
|
|
32726
32935
|
|
|
32727
32936
|
var HEADER_HEIGHT = 48;
|
|
32728
|
-
var MobileBurgerMenu =
|
|
32937
|
+
var MobileBurgerMenu = React114.default.memo(function MobileBurgerMenu2({
|
|
32729
32938
|
isOpen,
|
|
32730
32939
|
onClose,
|
|
32731
32940
|
config,
|
|
@@ -32786,7 +32995,7 @@ var MobileBurgerMenu = React113.default.memo(function MobileBurgerMenu2({
|
|
|
32786
32995
|
),
|
|
32787
32996
|
"aria-current": isActive ? "page" : void 0,
|
|
32788
32997
|
children: [
|
|
32789
|
-
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, {
|
|
32790
32999
|
size: 16,
|
|
32791
33000
|
color: isActive && !disabled ? "var(--color-accent-primary)" : "var(--color-text-secondary)"
|
|
32792
33001
|
}) }),
|
|
@@ -32805,7 +33014,7 @@ var MobileBurgerMenu = React113.default.memo(function MobileBurgerMenu2({
|
|
|
32805
33014
|
rows.push(items.slice(i, i + 2));
|
|
32806
33015
|
}
|
|
32807
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: [
|
|
32808
|
-
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)),
|
|
32809
33018
|
row.length === 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1" })
|
|
32810
33019
|
] }, rowIndex)) });
|
|
32811
33020
|
};
|
|
@@ -32878,7 +33087,7 @@ var MobileBurgerMenu = React113.default.memo(function MobileBurgerMenu2({
|
|
|
32878
33087
|
onClick: onSearchUser,
|
|
32879
33088
|
variant: "outline",
|
|
32880
33089
|
"aria-label": "Search users",
|
|
32881
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33090
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.UserSearchIcon, { className: "size-4 text-ods-text-primary" })
|
|
32882
33091
|
}
|
|
32883
33092
|
),
|
|
32884
33093
|
onEditProfile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -32888,7 +33097,7 @@ var MobileBurgerMenu = React113.default.memo(function MobileBurgerMenu2({
|
|
|
32888
33097
|
onClick: onEditProfile,
|
|
32889
33098
|
variant: "outline",
|
|
32890
33099
|
"aria-label": "Edit profile",
|
|
32891
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33100
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.PenEditIcon, { className: "size-4 text-ods-text-primary" })
|
|
32892
33101
|
}
|
|
32893
33102
|
)
|
|
32894
33103
|
] })
|
|
@@ -32896,7 +33105,7 @@ var MobileBurgerMenu = React113.default.memo(function MobileBurgerMenu2({
|
|
|
32896
33105
|
}
|
|
32897
33106
|
),
|
|
32898
33107
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "nav", { "aria-label": "Primary navigation", children: renderNavigationGrid(primaryItems) }),
|
|
32899
|
-
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)) }),
|
|
32900
33109
|
onLogout && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
32901
33110
|
"button",
|
|
32902
33111
|
{
|
|
@@ -32908,7 +33117,7 @@ var MobileBurgerMenu = React113.default.memo(function MobileBurgerMenu2({
|
|
|
32908
33117
|
disabled && "cursor-not-allowed opacity-50"
|
|
32909
33118
|
),
|
|
32910
33119
|
children: [
|
|
32911
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33120
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Logout02Icon, { className: "size-4 text-ods-error" }),
|
|
32912
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" })
|
|
32913
33122
|
]
|
|
32914
33123
|
}
|
|
@@ -32988,7 +33197,7 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
32988
33197
|
|
|
32989
33198
|
|
|
32990
33199
|
|
|
32991
|
-
var DrawerOpenContext =
|
|
33200
|
+
var DrawerOpenContext = React107.createContext(false);
|
|
32992
33201
|
var AppLayoutDrawerRoot = ({
|
|
32993
33202
|
open: openProp,
|
|
32994
33203
|
defaultOpen,
|
|
@@ -32997,10 +33206,10 @@ var AppLayoutDrawerRoot = ({
|
|
|
32997
33206
|
children,
|
|
32998
33207
|
...rest
|
|
32999
33208
|
}) => {
|
|
33000
|
-
const [internalOpen, setInternalOpen] =
|
|
33209
|
+
const [internalOpen, setInternalOpen] = React107.useState(_nullishCoalesce(defaultOpen, () => ( false)));
|
|
33001
33210
|
const isControlled = openProp !== void 0;
|
|
33002
33211
|
const open = isControlled ? openProp : internalOpen;
|
|
33003
|
-
const handleOpenChange =
|
|
33212
|
+
const handleOpenChange = React107.useCallback(
|
|
33004
33213
|
(next) => {
|
|
33005
33214
|
if (!isControlled) setInternalOpen(next);
|
|
33006
33215
|
_optionalChain([onOpenChange, 'optionalCall', _644 => _644(next)]);
|
|
@@ -33094,8 +33303,8 @@ function useContainedResizableSize({
|
|
|
33094
33303
|
storageKey,
|
|
33095
33304
|
container
|
|
33096
33305
|
}) {
|
|
33097
|
-
const [available, setAvailable] =
|
|
33098
|
-
|
|
33306
|
+
const [available, setAvailable] = React107.useState(0);
|
|
33307
|
+
React107.useEffect(() => {
|
|
33099
33308
|
if (!enabled || !container) return;
|
|
33100
33309
|
const update = () => {
|
|
33101
33310
|
setAvailable(isHorizontal ? container.clientWidth : container.clientHeight);
|
|
@@ -33105,14 +33314,14 @@ function useContainedResizableSize({
|
|
|
33105
33314
|
ro.observe(container);
|
|
33106
33315
|
return () => ro.disconnect();
|
|
33107
33316
|
}, [enabled, container, isHorizontal]);
|
|
33108
|
-
const clampToContainer =
|
|
33317
|
+
const clampToContainer = React107.useCallback(
|
|
33109
33318
|
(value) => {
|
|
33110
33319
|
const effectiveMax = available > 0 ? Math.min(maxSize, available - 40) : maxSize;
|
|
33111
33320
|
return clamp3(value, minSize, Math.max(minSize, effectiveMax));
|
|
33112
33321
|
},
|
|
33113
33322
|
[available, minSize, maxSize]
|
|
33114
33323
|
);
|
|
33115
|
-
const readInitial =
|
|
33324
|
+
const readInitial = React107.useCallback(() => {
|
|
33116
33325
|
if (!enabled) return defaultSize;
|
|
33117
33326
|
if (typeof window === "undefined") return defaultSize;
|
|
33118
33327
|
if (!storageKey) return defaultSize;
|
|
@@ -33126,19 +33335,19 @@ function useContainedResizableSize({
|
|
|
33126
33335
|
return defaultSize;
|
|
33127
33336
|
}
|
|
33128
33337
|
}, [enabled, storageKey, defaultSize]);
|
|
33129
|
-
const [size, setSizeRaw] =
|
|
33130
|
-
const setSize =
|
|
33338
|
+
const [size, setSizeRaw] = React107.useState(readInitial);
|
|
33339
|
+
const setSize = React107.useCallback(
|
|
33131
33340
|
(next) => setSizeRaw(clampToContainer(next)),
|
|
33132
33341
|
[clampToContainer]
|
|
33133
33342
|
);
|
|
33134
|
-
|
|
33343
|
+
React107.useEffect(() => {
|
|
33135
33344
|
if (!enabled || !storageKey || typeof window === "undefined") return;
|
|
33136
33345
|
try {
|
|
33137
33346
|
window.localStorage.setItem(storageKey, String(Math.round(size)));
|
|
33138
33347
|
} catch (e35) {
|
|
33139
33348
|
}
|
|
33140
33349
|
}, [enabled, size, storageKey]);
|
|
33141
|
-
|
|
33350
|
+
React107.useEffect(() => {
|
|
33142
33351
|
if (!enabled) return;
|
|
33143
33352
|
setSizeRaw((prev) => clampToContainer(prev));
|
|
33144
33353
|
}, [enabled, clampToContainer]);
|
|
@@ -33153,7 +33362,7 @@ function AppLayoutDrawerResizeHandle({
|
|
|
33153
33362
|
ariaLabel
|
|
33154
33363
|
}) {
|
|
33155
33364
|
const isHorizontal = HORIZONTAL_SIDES2.has(side);
|
|
33156
|
-
const startRef =
|
|
33365
|
+
const startRef = React107.useRef(null);
|
|
33157
33366
|
const direction = side === "right" || side === "bottom" ? -1 : 1;
|
|
33158
33367
|
const handlePointerDown = (e) => {
|
|
33159
33368
|
if (e.button !== 0 && e.pointerType === "mouse") return;
|
|
@@ -33243,7 +33452,7 @@ function AppLayoutDrawerResizeHandle({
|
|
|
33243
33452
|
}
|
|
33244
33453
|
);
|
|
33245
33454
|
}
|
|
33246
|
-
var AppLayoutDrawerContent =
|
|
33455
|
+
var AppLayoutDrawerContent = React107.forwardRef(
|
|
33247
33456
|
({
|
|
33248
33457
|
side = "right",
|
|
33249
33458
|
flush = false,
|
|
@@ -33271,13 +33480,13 @@ var AppLayoutDrawerContent = React106.forwardRef(
|
|
|
33271
33480
|
}, ref) => {
|
|
33272
33481
|
const contextContainer = useAppLayoutDrawerContainer();
|
|
33273
33482
|
const portalContainer = container !== void 0 ? container : contextContainer;
|
|
33274
|
-
const open =
|
|
33275
|
-
const [hasOpened, setHasOpened] =
|
|
33276
|
-
|
|
33483
|
+
const open = React107.useContext(DrawerOpenContext);
|
|
33484
|
+
const [hasOpened, setHasOpened] = React107.useState(Boolean(open));
|
|
33485
|
+
React107.useEffect(() => {
|
|
33277
33486
|
if (open) setHasOpened(true);
|
|
33278
33487
|
}, [open]);
|
|
33279
33488
|
const persist = keepMounted && hasOpened;
|
|
33280
|
-
|
|
33489
|
+
React107.useEffect(() => {
|
|
33281
33490
|
if (!debugLayoutShift) return;
|
|
33282
33491
|
if (!open) return;
|
|
33283
33492
|
if (typeof window === "undefined") return;
|
|
@@ -33328,8 +33537,8 @@ var AppLayoutDrawerContent = React106.forwardRef(
|
|
|
33328
33537
|
const resolvedSide = _nullishCoalesce(side, () => ( "right"));
|
|
33329
33538
|
const isHorizontal = HORIZONTAL_SIDES2.has(resolvedSide);
|
|
33330
33539
|
const initialSize = _nullishCoalesce(defaultSize, () => ( (isHorizontal ? 560 : 480)));
|
|
33331
|
-
const [isMobile, setIsMobile] =
|
|
33332
|
-
|
|
33540
|
+
const [isMobile, setIsMobile] = React107.useState(false);
|
|
33541
|
+
React107.useEffect(() => {
|
|
33333
33542
|
if (typeof window === "undefined") return;
|
|
33334
33543
|
const mq = window.matchMedia(`(max-width: ${mobileBreakpoint - 1}px)`);
|
|
33335
33544
|
const update = () => setIsMobile(mq.matches);
|
|
@@ -33752,7 +33961,7 @@ var ToolBadge = ({
|
|
|
33752
33961
|
}) => {
|
|
33753
33962
|
const label = getToolLabel(toolType);
|
|
33754
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: [
|
|
33755
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33964
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDCIB6AK3cjs.ToolIcon, { toolType, className: iconClassName, size: 16 }),
|
|
33756
33965
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-primary text-h4", children: label })
|
|
33757
33966
|
] });
|
|
33758
33967
|
};
|
|
@@ -33763,7 +33972,7 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
33763
33972
|
|
|
33764
33973
|
var shellIconMap = {
|
|
33765
33974
|
[ShellTypeValues.POWERSHELL]: {
|
|
33766
|
-
icon:
|
|
33975
|
+
icon: _chunkCCG4DARMcjs.PowershellLogoGreyIcon,
|
|
33767
33976
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
33768
33977
|
},
|
|
33769
33978
|
[ShellTypeValues.CMD]: {
|
|
@@ -33775,7 +33984,7 @@ var shellIconMap = {
|
|
|
33775
33984
|
props: { size: 16, color: "#888888" }
|
|
33776
33985
|
},
|
|
33777
33986
|
[ShellTypeValues.PYTHON]: {
|
|
33778
|
-
icon:
|
|
33987
|
+
icon: _chunkCCG4DARMcjs.PythonLogoIcon,
|
|
33779
33988
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
33780
33989
|
},
|
|
33781
33990
|
[ShellTypeValues.NUSHELL]: {
|
|
@@ -33991,7 +34200,7 @@ var ScriptArguments = ({
|
|
|
33991
34200
|
onClick: handleAdd,
|
|
33992
34201
|
disabled,
|
|
33993
34202
|
className: "self-start",
|
|
33994
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34203
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.PlusCircleIcon, { className: "text-ods-text-secondary" }),
|
|
33995
34204
|
children: addButtonLabel
|
|
33996
34205
|
}
|
|
33997
34206
|
) })
|
|
@@ -34017,7 +34226,7 @@ function OnboardingStepCard({
|
|
|
34017
34226
|
onSkip,
|
|
34018
34227
|
className
|
|
34019
34228
|
}) {
|
|
34020
|
-
const [isProcessing, setIsProcessing] =
|
|
34229
|
+
const [isProcessing, setIsProcessing] = React114.default.useState(false);
|
|
34021
34230
|
const handleAction = async (e) => {
|
|
34022
34231
|
e.stopPropagation();
|
|
34023
34232
|
setIsProcessing(true);
|
|
@@ -34124,12 +34333,12 @@ function OnboardingWalkthrough({
|
|
|
34124
34333
|
isStepSkipped,
|
|
34125
34334
|
allStepsComplete,
|
|
34126
34335
|
markMultipleComplete
|
|
34127
|
-
} =
|
|
34336
|
+
} = _chunkDCIB6AK3cjs.useOnboardingState.call(void 0, storageKey);
|
|
34128
34337
|
const hasAutoMarkedRef = _react.useRef.call(void 0, false);
|
|
34129
34338
|
const autoMarkingInProgressRef = _react.useRef.call(void 0, false);
|
|
34130
34339
|
const lastCompletionStatusRef = _react.useRef.call(void 0, null);
|
|
34131
34340
|
const actionInProgressRef = _react.useRef.call(void 0, /* @__PURE__ */ new Set());
|
|
34132
|
-
|
|
34341
|
+
React114.default.useEffect(() => {
|
|
34133
34342
|
if (isLoadingCompletion) {
|
|
34134
34343
|
hasAutoMarkedRef.current = false;
|
|
34135
34344
|
return;
|
|
@@ -34260,7 +34469,7 @@ var LOG_SEVERITY_LABELS = {
|
|
|
34260
34469
|
|
|
34261
34470
|
// src/components/log-severity-dot.tsx
|
|
34262
34471
|
|
|
34263
|
-
var LogSeverityDot =
|
|
34472
|
+
var LogSeverityDot = React110.forwardRef(({ severity, size = "md", className }, ref) => {
|
|
34264
34473
|
const sizeClasses2 = {
|
|
34265
34474
|
sm: "w-4 h-4",
|
|
34266
34475
|
md: "w-6 h-6",
|
|
@@ -34331,7 +34540,7 @@ var LogCard = ({ log, isLast, showConnector, onClick }) => {
|
|
|
34331
34540
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-['DM_Sans'] font-medium text-[14px] leading-5 text-white", children: log.title }),
|
|
34332
34541
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
34333
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) }),
|
|
34334
|
-
log.toolType && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34543
|
+
log.toolType && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDCIB6AK3cjs.ToolIcon, { toolType: log.toolType, size: 16 })
|
|
34335
34544
|
] })
|
|
34336
34545
|
] })
|
|
34337
34546
|
]
|
|
@@ -34350,7 +34559,7 @@ var LogCard = ({ log, isLast, showConnector, onClick }) => {
|
|
|
34350
34559
|
)
|
|
34351
34560
|
] });
|
|
34352
34561
|
};
|
|
34353
|
-
var LogsList =
|
|
34562
|
+
var LogsList = React111.forwardRef(({
|
|
34354
34563
|
logs,
|
|
34355
34564
|
maxHeight = "400px",
|
|
34356
34565
|
showConnector = true,
|
|
@@ -34359,7 +34568,7 @@ var LogsList = React110.forwardRef(({
|
|
|
34359
34568
|
emptyMessage = "No logs to display",
|
|
34360
34569
|
className
|
|
34361
34570
|
}, ref) => {
|
|
34362
|
-
const containerRef =
|
|
34571
|
+
const containerRef = React111.useRef(null);
|
|
34363
34572
|
const isFullHeight = maxHeight === "100%";
|
|
34364
34573
|
const getContainerStyles = () => {
|
|
34365
34574
|
if (isFullHeight) return void 0;
|
|
@@ -34468,7 +34677,7 @@ function ServiceCard({ title, subtitle, icon, tag, rows, className }) {
|
|
|
34468
34677
|
}
|
|
34469
34678
|
function ServiceCardRowItem({ row }) {
|
|
34470
34679
|
const [revealed, setRevealed] = _react.useState.call(void 0, false);
|
|
34471
|
-
const { copy, copied } =
|
|
34680
|
+
const { copy, copied } = _chunkDCIB6AK3cjs.useCopyToClipboard.call(void 0, );
|
|
34472
34681
|
const actions = _react.useMemo.call(void 0, () => ({ copy: true, open: !!row.href, reveal: !!row.isSecret, ...row.actions }), [row]);
|
|
34473
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 });
|
|
34474
34683
|
const handleCopy = () => copy(_nullishCoalesce(row.copyValue, () => ( row.value)));
|
|
@@ -34499,7 +34708,7 @@ function ServiceCardRowItem({ row }) {
|
|
|
34499
34708
|
copied ? "text-ods-success" : "text-ods-text-secondary"
|
|
34500
34709
|
),
|
|
34501
34710
|
"aria-label": `Copy ${_nullishCoalesce(row.label, () => ( "value"))}`,
|
|
34502
|
-
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 })
|
|
34503
34712
|
}
|
|
34504
34713
|
),
|
|
34505
34714
|
actions.open && row.href && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -34520,7 +34729,7 @@ function ServiceCardRowItem({ row }) {
|
|
|
34520
34729
|
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
34521
34730
|
|
|
34522
34731
|
|
|
34523
|
-
var Slider =
|
|
34732
|
+
var Slider = React113.forwardRef(
|
|
34524
34733
|
({ className, value = [0], onValueChange, min = 0, max = 100, step = 1, ...props }, ref) => {
|
|
34525
34734
|
const handleChange = (e) => {
|
|
34526
34735
|
const newValue = [Number(e.target.value)];
|
|
@@ -35021,7 +35230,7 @@ function TableColumnFilterDropdown({
|
|
|
35021
35230
|
children: [
|
|
35022
35231
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-medium text-[12px] leading-[16px] uppercase text-ods-text-secondary select-none", children: columnLabel }),
|
|
35023
35232
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
35024
|
-
|
|
35233
|
+
_chunkCCG4DARMcjs.Filter02Icon,
|
|
35025
35234
|
{
|
|
35026
35235
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
35027
35236
|
"w-4 h-4 transition-colors",
|
|
@@ -35123,11 +35332,11 @@ function TableHeader({
|
|
|
35123
35332
|
const columnKey = column.sortKey || column.key;
|
|
35124
35333
|
const isActive = sortBy === columnKey;
|
|
35125
35334
|
if (!isActive) {
|
|
35126
|
-
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" });
|
|
35127
35336
|
}
|
|
35128
|
-
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" });
|
|
35129
35338
|
};
|
|
35130
|
-
const isLgUp = _nullishCoalesce(
|
|
35339
|
+
const isLgUp = _nullishCoalesce(_chunkDCIB6AK3cjs.useLgUp.call(void 0, ), () => ( false));
|
|
35131
35340
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
35132
35341
|
"div",
|
|
35133
35342
|
{
|
|
@@ -35460,7 +35669,7 @@ function injectSyntheticColumns(columns, rowActions, renderRowActions, rowHref)
|
|
|
35460
35669
|
prefetch: false,
|
|
35461
35670
|
variant: "outline",
|
|
35462
35671
|
size: "icon",
|
|
35463
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
35672
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Chevron02RightIcon, { className: "w-6 h-6" }),
|
|
35464
35673
|
"aria-label": "View details"
|
|
35465
35674
|
}
|
|
35466
35675
|
) });
|
|
@@ -36017,7 +36226,7 @@ function QueryReportTable({
|
|
|
36017
36226
|
onThumbPointerDown,
|
|
36018
36227
|
onThumbPointerMove,
|
|
36019
36228
|
onThumbPointerUp
|
|
36020
|
-
} =
|
|
36229
|
+
} = _chunkDCIB6AK3cjs.useHorizontalScrollbar.call(void 0, );
|
|
36021
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: [
|
|
36022
36231
|
!isCompact && (title || headerActions || showExport && data.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-end justify-between pt-6", children: [
|
|
36023
36232
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "font-mono font-semibold text-[32px] leading-[40px] text-ods-text-primary", children: title }),
|
|
@@ -36029,7 +36238,7 @@ function QueryReportTable({
|
|
|
36029
36238
|
className: "bg-ods-card",
|
|
36030
36239
|
variant: "outline",
|
|
36031
36240
|
size: "small-legacy",
|
|
36032
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36241
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Download02Icon, { size: 18 }),
|
|
36033
36242
|
onClick: handleExport,
|
|
36034
36243
|
children: "Export CSV"
|
|
36035
36244
|
}
|
|
@@ -36216,7 +36425,7 @@ function DataTableColumnFilter({
|
|
|
36216
36425
|
children: [
|
|
36217
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 }),
|
|
36218
36427
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36219
|
-
|
|
36428
|
+
_chunkCCG4DARMcjs.Filter02Icon,
|
|
36220
36429
|
{
|
|
36221
36430
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
36222
36431
|
"w-4 h-4 transition-colors",
|
|
@@ -36248,7 +36457,7 @@ function DataTableHeader({
|
|
|
36248
36457
|
onSortChange
|
|
36249
36458
|
}) {
|
|
36250
36459
|
const table = useDataTableContext();
|
|
36251
|
-
const isLgUp = _nullishCoalesce(
|
|
36460
|
+
const isLgUp = _nullishCoalesce(_chunkDCIB6AK3cjs.useLgUp.call(void 0, ), () => ( false));
|
|
36252
36461
|
const headerGroup = table.getHeaderGroups()[0];
|
|
36253
36462
|
if (!headerGroup) return null;
|
|
36254
36463
|
const hasVisibleHeaderCell = headerGroup.headers.some((header) => {
|
|
@@ -36335,9 +36544,9 @@ function HeaderLabel({ header }) {
|
|
|
36335
36544
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: _reacttable.flexRender.call(void 0, headerDef, header.getContext()) });
|
|
36336
36545
|
}
|
|
36337
36546
|
function SortIcon({ sorted }) {
|
|
36338
|
-
if (sorted === "asc") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36339
|
-
if (sorted === "desc") return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36340
|
-
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" });
|
|
36341
36550
|
}
|
|
36342
36551
|
function resolveHeaderLabel(header) {
|
|
36343
36552
|
const h = header.column.columnDef.header;
|
|
@@ -36812,12 +37021,12 @@ function SearchInput({
|
|
|
36812
37021
|
limitTags = "auto",
|
|
36813
37022
|
getLimitTagsText = (more) => `+${more}`
|
|
36814
37023
|
}) {
|
|
36815
|
-
const [internalValue, setInternalValue] =
|
|
37024
|
+
const [internalValue, setInternalValue] = React116.useState(defaultValue);
|
|
36816
37025
|
const currentValue = onChange ? _nullishCoalesce(value, () => ( "")) : internalValue;
|
|
36817
|
-
const debouncedValue =
|
|
36818
|
-
const [isOpen, setIsOpen] =
|
|
36819
|
-
const [highlightedIndex, setHighlightedIndex] =
|
|
36820
|
-
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);
|
|
36821
37030
|
const currentPlaceholder = filterChips.length > 0 ? "Add filter..." : placeholder;
|
|
36822
37031
|
const {
|
|
36823
37032
|
visibleCount: rawVisibleCount,
|
|
@@ -36826,7 +37035,7 @@ function SearchInput({
|
|
|
36826
37035
|
textMeasureRef,
|
|
36827
37036
|
badgeRef,
|
|
36828
37037
|
inputRef
|
|
36829
|
-
} =
|
|
37038
|
+
} = _chunkDCIB6AK3cjs.useAutoLimitTags.call(void 0, {
|
|
36830
37039
|
count: filterChips.length,
|
|
36831
37040
|
limitTags,
|
|
36832
37041
|
// When chips exist, pass empty placeholder so the hook only reserves input minWidth,
|
|
@@ -36834,10 +37043,10 @@ function SearchInput({
|
|
|
36834
37043
|
placeholder: filterChips.length > 0 ? "" : placeholder
|
|
36835
37044
|
});
|
|
36836
37045
|
const visibleCount = filterChips.length > 0 ? Math.max(1, rawVisibleCount) : rawVisibleCount;
|
|
36837
|
-
const hiddenTagsRef =
|
|
36838
|
-
const hiddenTagsPopupRef =
|
|
36839
|
-
const [showHiddenTags, setShowHiddenTags] =
|
|
36840
|
-
|
|
37046
|
+
const hiddenTagsRef = React116.useRef(null);
|
|
37047
|
+
const hiddenTagsPopupRef = React116.useRef(null);
|
|
37048
|
+
const [showHiddenTags, setShowHiddenTags] = React116.useState(false);
|
|
37049
|
+
React116.useEffect(() => {
|
|
36841
37050
|
if (!showHiddenTags) return;
|
|
36842
37051
|
const handleClick = (e) => {
|
|
36843
37052
|
const target = e.target;
|
|
@@ -36851,7 +37060,7 @@ function SearchInput({
|
|
|
36851
37060
|
const hiddenCount = filterChips.length - visibleCount;
|
|
36852
37061
|
const visibleChips = filterChips.slice(0, visibleCount);
|
|
36853
37062
|
const hiddenChips = filterChips.slice(visibleCount);
|
|
36854
|
-
const { flatResults, groups } =
|
|
37063
|
+
const { flatResults, groups } = React116.useMemo(() => {
|
|
36855
37064
|
if (!groupBy) return { flatResults: results, groups: null };
|
|
36856
37065
|
const grouped = /* @__PURE__ */ new Map();
|
|
36857
37066
|
for (const r of results) {
|
|
@@ -36868,7 +37077,7 @@ function SearchInput({
|
|
|
36868
37077
|
const meetsMinQuery = debouncedValue.length >= minQueryLength;
|
|
36869
37078
|
const autoShow = meetsMinQuery;
|
|
36870
37079
|
const dropdownVisible = _nullishCoalesce(showDropdownProp, () => ( (isOpen && autoShow)));
|
|
36871
|
-
|
|
37080
|
+
React116.useEffect(() => {
|
|
36872
37081
|
setHighlightedIndex(-1);
|
|
36873
37082
|
}, [flatResults.length]);
|
|
36874
37083
|
const handleChange = (e) => {
|
|
@@ -36992,8 +37201,8 @@ function SearchInput({
|
|
|
36992
37201
|
};
|
|
36993
37202
|
const hasValue = currentValue.length > 0;
|
|
36994
37203
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "relative", className), ref: containerRef, children: [
|
|
36995
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
36996
|
-
/* @__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,
|
|
36997
37206
|
"div",
|
|
36998
37207
|
{
|
|
36999
37208
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
@@ -37062,7 +37271,7 @@ function SearchInput({
|
|
|
37062
37271
|
onClick: handleClear,
|
|
37063
37272
|
className: "flex items-center justify-center hover:opacity-70 transition-opacity",
|
|
37064
37273
|
"aria-label": "Clear search",
|
|
37065
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
37274
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.XmarkCircleIcon, { className: "text-ods-text-secondary", size: 24 })
|
|
37066
37275
|
}
|
|
37067
37276
|
),
|
|
37068
37277
|
endAdornment
|
|
@@ -37071,7 +37280,7 @@ function SearchInput({
|
|
|
37071
37280
|
}
|
|
37072
37281
|
) }),
|
|
37073
37282
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
37074
|
-
|
|
37283
|
+
PopoverPrimitive6.Content,
|
|
37075
37284
|
{
|
|
37076
37285
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
37077
37286
|
"z-50 w-[var(--radix-popover-trigger-width)] mt-1",
|
|
@@ -37196,7 +37405,7 @@ function FilterListItem({
|
|
|
37196
37405
|
"flex items-start gap-[var(--spacing-system-xxs)] text-h6",
|
|
37197
37406
|
selected ? "text-ods-accent" : "text-ods-text-secondary"
|
|
37198
37407
|
),
|
|
37199
|
-
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: [
|
|
37200
37409
|
index > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", children: "\u2022" }),
|
|
37201
37410
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: item })
|
|
37202
37411
|
] }, index))
|
|
@@ -37293,7 +37502,7 @@ function TagSearchInput({
|
|
|
37293
37502
|
textMeasureRef,
|
|
37294
37503
|
badgeRef,
|
|
37295
37504
|
inputRef
|
|
37296
|
-
} =
|
|
37505
|
+
} = _chunkDCIB6AK3cjs.useAutoLimitTags.call(void 0, {
|
|
37297
37506
|
count: tags.length,
|
|
37298
37507
|
limitTags,
|
|
37299
37508
|
placeholder: currentPlaceholder
|
|
@@ -37404,7 +37613,7 @@ function TagSearchInput({
|
|
|
37404
37613
|
onClick: handleClearAll,
|
|
37405
37614
|
className: "shrink-0 flex items-center justify-center pr-3 hover:opacity-70 transition-opacity cursor-pointer",
|
|
37406
37615
|
"aria-label": "Clear all",
|
|
37407
|
-
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" })
|
|
37408
37617
|
}
|
|
37409
37618
|
)
|
|
37410
37619
|
]
|
|
@@ -37768,6 +37977,7 @@ function FileUpload({
|
|
|
37768
37977
|
onChange,
|
|
37769
37978
|
managedFiles,
|
|
37770
37979
|
onRemoveManagedFile,
|
|
37980
|
+
onDownloadManagedFile,
|
|
37771
37981
|
accept = "*/*",
|
|
37772
37982
|
maxSize = 10 * 1024 * 1024,
|
|
37773
37983
|
maxFiles = 10,
|
|
@@ -37782,11 +37992,11 @@ function FileUpload({
|
|
|
37782
37992
|
maxListHeight,
|
|
37783
37993
|
acceptWindowDrops = false
|
|
37784
37994
|
}) {
|
|
37785
|
-
const [dragActive, setDragActive] =
|
|
37786
|
-
const [validationError, setValidationError] =
|
|
37787
|
-
const fileInputRef =
|
|
37995
|
+
const [dragActive, setDragActive] = React119.useState(false);
|
|
37996
|
+
const [validationError, setValidationError] = React119.useState(null);
|
|
37997
|
+
const fileInputRef = React119.useRef(null);
|
|
37788
37998
|
const isManaged = managedFiles !== void 0;
|
|
37789
|
-
const files =
|
|
37999
|
+
const files = React119.useMemo(() => {
|
|
37790
38000
|
if (!value) return [];
|
|
37791
38001
|
return Array.isArray(value) ? value : [value];
|
|
37792
38002
|
}, [value]);
|
|
@@ -37834,7 +38044,7 @@ function FileUpload({
|
|
|
37834
38044
|
fileInputRef.current.value = "";
|
|
37835
38045
|
}
|
|
37836
38046
|
};
|
|
37837
|
-
const handleFilesRef =
|
|
38047
|
+
const handleFilesRef = React119.useRef(handleFiles);
|
|
37838
38048
|
handleFilesRef.current = handleFiles;
|
|
37839
38049
|
const handleDrag = (e) => {
|
|
37840
38050
|
e.preventDefault();
|
|
@@ -37855,7 +38065,7 @@ function FileUpload({
|
|
|
37855
38065
|
handleFiles(e.dataTransfer.files);
|
|
37856
38066
|
}
|
|
37857
38067
|
};
|
|
37858
|
-
|
|
38068
|
+
React119.useEffect(() => {
|
|
37859
38069
|
if (!acceptWindowDrops || disabled) return;
|
|
37860
38070
|
let dragCounter = 0;
|
|
37861
38071
|
const onWindowDragEnter = (e) => {
|
|
@@ -37922,8 +38132,7 @@ function FileUpload({
|
|
|
37922
38132
|
};
|
|
37923
38133
|
const displayError = error || validationError || void 0;
|
|
37924
38134
|
const hasFiles = isManaged ? managedFiles.length > 0 : files.length > 0;
|
|
37925
|
-
const
|
|
37926
|
-
const canAddMore = multiple && fileCount < maxFiles;
|
|
38135
|
+
const showDropzone = multiple || !hasFiles;
|
|
37927
38136
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQJGRP2YEcjs.FieldWrapper, { label: fieldLabel, error: displayError, className, children: [
|
|
37928
38137
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
37929
38138
|
"input",
|
|
@@ -37937,69 +38146,54 @@ function FileUpload({
|
|
|
37937
38146
|
disabled
|
|
37938
38147
|
}
|
|
37939
38148
|
),
|
|
37940
|
-
|
|
37941
|
-
|
|
37942
|
-
{
|
|
37943
|
-
type: "button",
|
|
37944
|
-
onDragEnter: handleDrag,
|
|
37945
|
-
onDragLeave: handleDrag,
|
|
37946
|
-
onDragOver: handleDrag,
|
|
37947
|
-
onDrop: handleDrop,
|
|
37948
|
-
onClick: openDialog,
|
|
37949
|
-
disabled,
|
|
37950
|
-
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
37951
|
-
"flex w-full items-center gap-2 p-3 rounded-[6px] border border-dashed cursor-pointer text-left",
|
|
37952
|
-
"transition-colors duration-200",
|
|
37953
|
-
"bg-ods-card border-ods-border",
|
|
37954
|
-
dragActive && "border-ods-accent bg-ods-accent/5",
|
|
37955
|
-
!dragActive && "hover:border-ods-accent/30",
|
|
37956
|
-
disabled && "opacity-50 cursor-not-allowed hover:border-ods-border"
|
|
37957
|
-
),
|
|
37958
|
-
children: [
|
|
37959
|
-
/* @__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" }) }),
|
|
37960
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col font-['DM_Sans'] font-medium min-w-0", children: [
|
|
37961
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-heading-4 text-ods-text-primary", children: label }),
|
|
37962
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-heading-5 text-ods-text-secondary", children: description })
|
|
37963
|
-
] })
|
|
37964
|
-
]
|
|
37965
|
-
}
|
|
37966
|
-
),
|
|
37967
|
-
hasFiles && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2", children: [
|
|
37968
|
-
/* @__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,
|
|
37969
38151
|
"div",
|
|
37970
38152
|
{
|
|
37971
38153
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
37972
|
-
"flex flex-col
|
|
37973
|
-
|
|
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"
|
|
37974
38157
|
),
|
|
37975
38158
|
style: maxListHeight ? { maxHeight: typeof maxListHeight === "number" ? `${maxListHeight}px` : maxListHeight, overflowY: "auto" } : void 0,
|
|
37976
38159
|
children: isManaged ? managedFiles.map((entry) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
37977
38160
|
"div",
|
|
37978
38161
|
{
|
|
37979
38162
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
37980
|
-
"flex items-center gap-
|
|
37981
|
-
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"
|
|
37982
38165
|
),
|
|
37983
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" }) }),
|
|
37984
38168
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0", children: [
|
|
37985
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-heading-
|
|
37986
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-
|
|
37987
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-heading-
|
|
37988
|
-
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: [
|
|
37989
38173
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "size-3 animate-spin" }),
|
|
37990
38174
|
"Uploading..."
|
|
37991
38175
|
] }),
|
|
37992
|
-
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" })
|
|
37993
38177
|
] })
|
|
37994
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
|
+
),
|
|
37995
38189
|
!disabled && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
37996
38190
|
"button",
|
|
37997
38191
|
{
|
|
37998
38192
|
type: "button",
|
|
37999
38193
|
onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _779 => _779(entry.id)]),
|
|
38000
|
-
className: "shrink-0
|
|
38194
|
+
className: "shrink-0 text-ods-error hover:opacity-80 transition-opacity",
|
|
38001
38195
|
"aria-label": `Remove ${entry.fileName}`,
|
|
38002
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38196
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.TrashIcon, { className: "size-6" })
|
|
38003
38197
|
}
|
|
38004
38198
|
)
|
|
38005
38199
|
]
|
|
@@ -38008,20 +38202,21 @@ function FileUpload({
|
|
|
38008
38202
|
)) : files.map((file, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
38009
38203
|
"div",
|
|
38010
38204
|
{
|
|
38011
|
-
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",
|
|
38012
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" }) }),
|
|
38013
38208
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0", children: [
|
|
38014
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-heading-
|
|
38015
|
-
/* @__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) })
|
|
38016
38211
|
] }),
|
|
38017
38212
|
!disabled && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38018
38213
|
"button",
|
|
38019
38214
|
{
|
|
38020
38215
|
type: "button",
|
|
38021
38216
|
onClick: () => handleRemoveFile(index),
|
|
38022
|
-
className: "shrink-0
|
|
38217
|
+
className: "shrink-0 text-ods-error hover:opacity-80 transition-opacity",
|
|
38023
38218
|
"aria-label": `Remove ${file.name}`,
|
|
38024
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38219
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.TrashIcon, { className: "size-6" })
|
|
38025
38220
|
}
|
|
38026
38221
|
)
|
|
38027
38222
|
]
|
|
@@ -38030,25 +38225,31 @@ function FileUpload({
|
|
|
38030
38225
|
))
|
|
38031
38226
|
}
|
|
38032
38227
|
),
|
|
38033
|
-
|
|
38228
|
+
showDropzone && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
38034
38229
|
"button",
|
|
38035
38230
|
{
|
|
38036
38231
|
type: "button",
|
|
38037
|
-
onClick: openDialog,
|
|
38038
38232
|
onDragEnter: handleDrag,
|
|
38039
38233
|
onDragLeave: handleDrag,
|
|
38040
38234
|
onDragOver: handleDrag,
|
|
38041
38235
|
onDrop: handleDrop,
|
|
38236
|
+
onClick: openDialog,
|
|
38042
38237
|
disabled,
|
|
38043
38238
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
38044
|
-
"flex
|
|
38045
|
-
"border border-dashed",
|
|
38046
|
-
"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",
|
|
38047
38240
|
"transition-colors duration-200",
|
|
38048
|
-
|
|
38049
|
-
|
|
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"
|
|
38050
38245
|
),
|
|
38051
|
-
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
|
+
]
|
|
38052
38253
|
}
|
|
38053
38254
|
)
|
|
38054
38255
|
] })
|
|
@@ -38097,10 +38298,10 @@ function ImageUploader({
|
|
|
38097
38298
|
alt = "Uploaded image",
|
|
38098
38299
|
className
|
|
38099
38300
|
}) {
|
|
38100
|
-
const inputRef =
|
|
38101
|
-
const [dragActive, setDragActive] =
|
|
38102
|
-
const [pressed, setPressed] =
|
|
38103
|
-
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);
|
|
38104
38305
|
const interactive = !disabled && !loading;
|
|
38105
38306
|
const hasImage = Boolean(value);
|
|
38106
38307
|
const displayError = error || validationError || void 0;
|
|
@@ -38208,7 +38409,7 @@ function ImageUploader({
|
|
|
38208
38409
|
onClick: openDialog,
|
|
38209
38410
|
disabled: !interactive,
|
|
38210
38411
|
ariaLabel: "Replace image",
|
|
38211
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38412
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Refresh02VrIcon, { className: "size-6" })
|
|
38212
38413
|
}
|
|
38213
38414
|
),
|
|
38214
38415
|
onRemove && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -38217,13 +38418,13 @@ function ImageUploader({
|
|
|
38217
38418
|
onClick: onRemove,
|
|
38218
38419
|
disabled: !interactive,
|
|
38219
38420
|
ariaLabel: "Remove image",
|
|
38220
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38421
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.TrashIcon, { className: "size-6" })
|
|
38221
38422
|
}
|
|
38222
38423
|
)
|
|
38223
38424
|
] }),
|
|
38224
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" }) })
|
|
38225
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: [
|
|
38226
|
-
/* @__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" }) }),
|
|
38227
38428
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col items-center text-center", children: [
|
|
38228
38429
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-primary", children: label }),
|
|
38229
38430
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6 text-ods-text-secondary", children: description }),
|
|
@@ -38273,10 +38474,10 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
38273
38474
|
|
|
38274
38475
|
|
|
38275
38476
|
|
|
38276
|
-
var Popover2 =
|
|
38277
|
-
var PopoverTrigger =
|
|
38278
|
-
var PopoverContent =
|
|
38279
|
-
|
|
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,
|
|
38280
38481
|
{
|
|
38281
38482
|
ref,
|
|
38282
38483
|
align,
|
|
@@ -38288,7 +38489,7 @@ var PopoverContent = React120.forwardRef(({ className, align = "center", sideOff
|
|
|
38288
38489
|
...props
|
|
38289
38490
|
}
|
|
38290
38491
|
) }));
|
|
38291
|
-
PopoverContent.displayName =
|
|
38492
|
+
PopoverContent.displayName = PopoverPrimitive7.Content.displayName;
|
|
38292
38493
|
|
|
38293
38494
|
// src/components/ui/color-preset-select.tsx
|
|
38294
38495
|
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
@@ -38311,7 +38512,7 @@ var CUSTOM_PRESET_KEY = "custom";
|
|
|
38311
38512
|
var DEFAULT_CUSTOM_STATUS_COLOR = "#888888";
|
|
38312
38513
|
function TriggerChevron() {
|
|
38313
38514
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38314
|
-
|
|
38515
|
+
_chunkCCG4DARMcjs.Chevron02DownIcon,
|
|
38315
38516
|
{
|
|
38316
38517
|
size: 24,
|
|
38317
38518
|
className: "transition-transform duration-200 group-data-[state=open]:rotate-180"
|
|
@@ -38372,8 +38573,8 @@ var FORMATS = ["HEX", "RGB", "HSL"];
|
|
|
38372
38573
|
var channelInputClass = "flex-1 min-w-0 [&_input]:text-center [&_input]:tabular-nums";
|
|
38373
38574
|
var hexInputClass = "flex-1 min-w-0 [&_input]:uppercase";
|
|
38374
38575
|
function HexInputs({ value, onChange }) {
|
|
38375
|
-
const [draft, setDraft] =
|
|
38376
|
-
|
|
38576
|
+
const [draft, setDraft] = React122.useState(value);
|
|
38577
|
+
React122.useEffect(() => setDraft(value), [value]);
|
|
38377
38578
|
const commit = () => {
|
|
38378
38579
|
const candidate = (draft.startsWith("#") ? draft : `#${draft}`).toLowerCase();
|
|
38379
38580
|
if (HEX_PATTERN.test(candidate)) onChange(candidate);
|
|
@@ -38405,8 +38606,8 @@ function ChannelInput({
|
|
|
38405
38606
|
ariaLabel,
|
|
38406
38607
|
onCommit
|
|
38407
38608
|
}) {
|
|
38408
|
-
const [draft, setDraft] =
|
|
38409
|
-
|
|
38609
|
+
const [draft, setDraft] = React122.useState(String(value));
|
|
38610
|
+
React122.useEffect(() => setDraft(String(value)), [value]);
|
|
38410
38611
|
const commit = () => {
|
|
38411
38612
|
const parsed = Number.parseInt(draft, 10);
|
|
38412
38613
|
if (!Number.isFinite(parsed)) {
|
|
@@ -38466,8 +38667,8 @@ function HslInputs({ value, onChange }) {
|
|
|
38466
38667
|
] });
|
|
38467
38668
|
}
|
|
38468
38669
|
function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
38469
|
-
const [open, setOpen] =
|
|
38470
|
-
const [format2, setFormat] =
|
|
38670
|
+
const [open, setOpen] = React122.useState(false);
|
|
38671
|
+
const [format2, setFormat] = React122.useState("HEX");
|
|
38471
38672
|
const formatGroups = [
|
|
38472
38673
|
{
|
|
38473
38674
|
items: FORMATS.map((f) => ({
|
|
@@ -38532,9 +38733,9 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
38532
38733
|
|
|
38533
38734
|
var dismissOpenTooltip = null;
|
|
38534
38735
|
function WithLeftTooltip({ content, children }) {
|
|
38535
|
-
const [open, setOpen] =
|
|
38536
|
-
const isTouchRef =
|
|
38537
|
-
const close =
|
|
38736
|
+
const [open, setOpen] = React123.useState(false);
|
|
38737
|
+
const isTouchRef = React123.useRef(false);
|
|
38738
|
+
const close = React123.useCallback(() => setOpen(false), []);
|
|
38538
38739
|
if (!content) return children;
|
|
38539
38740
|
const toggleFromTouch = () => {
|
|
38540
38741
|
setOpen((prev) => {
|
|
@@ -38603,7 +38804,7 @@ function TicketStatusConfigRow({
|
|
|
38603
38804
|
isDragging && "opacity-70 shadow-lg"
|
|
38604
38805
|
),
|
|
38605
38806
|
children: [
|
|
38606
|
-
/* @__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,
|
|
38607
38808
|
"button",
|
|
38608
38809
|
{
|
|
38609
38810
|
type: "button",
|
|
@@ -38611,7 +38812,7 @@ function TicketStatusConfigRow({
|
|
|
38611
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",
|
|
38612
38813
|
...dragHandleAttributes,
|
|
38613
38814
|
...dragHandleProps,
|
|
38614
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38815
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.DraggerIcon, { size: 24 })
|
|
38615
38816
|
}
|
|
38616
38817
|
) }),
|
|
38617
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: [
|
|
@@ -38646,7 +38847,7 @@ function TicketStatusConfigRow({
|
|
|
38646
38847
|
type: "button",
|
|
38647
38848
|
"aria-label": _nullishCoalesce(systemTooltip, () => ( "System status")),
|
|
38648
38849
|
className: "flex size-6 items-center justify-center text-ods-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-ods-focus",
|
|
38649
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38850
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.InfoCircleIcon, { size: 24 })
|
|
38650
38851
|
}
|
|
38651
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,
|
|
38652
38853
|
_chunkQJGRP2YEcjs.Button,
|
|
@@ -38658,7 +38859,7 @@ function TicketStatusConfigRow({
|
|
|
38658
38859
|
disabled: deleteDisabled,
|
|
38659
38860
|
onClick: deleteDisabled ? void 0 : onDelete,
|
|
38660
38861
|
className: _chunkFIG2RKZFcjs.cn.call(void 0, "size-11 md:size-12", deleteDisabled && "pointer-events-none"),
|
|
38661
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38862
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.TrashIcon, { className: "text-ods-error" })
|
|
38662
38863
|
}
|
|
38663
38864
|
) }) }) })
|
|
38664
38865
|
]
|
|
@@ -38709,7 +38910,7 @@ function TicketAttachmentsList({ attachments, className, size = "default" }) {
|
|
|
38709
38910
|
"shrink-0 flex items-center justify-center rounded-[6px] bg-ods-card border border-ods-border",
|
|
38710
38911
|
compact ? "size-8" : "size-10"
|
|
38711
38912
|
),
|
|
38712
|
-
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") })
|
|
38713
38914
|
}
|
|
38714
38915
|
),
|
|
38715
38916
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0 overflow-hidden", children: [
|
|
@@ -38730,7 +38931,7 @@ function TicketAttachmentsList({ attachments, className, size = "default" }) {
|
|
|
38730
38931
|
onClick: attachment.onDelete,
|
|
38731
38932
|
className: "shrink-0 text-ods-text-secondary hover:text-ods-error transition-colors",
|
|
38732
38933
|
"aria-label": `Delete ${attachment.fileName}`,
|
|
38733
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38934
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.TrashIcon, { className: compact ? "size-4" : "size-5" })
|
|
38734
38935
|
}
|
|
38735
38936
|
),
|
|
38736
38937
|
attachment.onDownload && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -38740,7 +38941,7 @@ function TicketAttachmentsList({ attachments, className, size = "default" }) {
|
|
|
38740
38941
|
onClick: attachment.onDownload,
|
|
38741
38942
|
className: "shrink-0 text-ods-text-secondary hover:text-ods-text-primary transition-colors",
|
|
38742
38943
|
"aria-label": `Download ${attachment.fileName}`,
|
|
38743
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38944
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Download02Icon, { className: compact ? "size-4" : "size-6" })
|
|
38744
38945
|
}
|
|
38745
38946
|
)
|
|
38746
38947
|
]
|
|
@@ -38758,8 +38959,8 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
38758
38959
|
_chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
38759
38960
|
|
|
38760
38961
|
function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
38761
|
-
const [isEditing, setIsEditing] =
|
|
38762
|
-
const [editText, setEditText] =
|
|
38962
|
+
const [isEditing, setIsEditing] = React124.useState(false);
|
|
38963
|
+
const [editText, setEditText] = React124.useState(note.text);
|
|
38763
38964
|
const handleSave = () => {
|
|
38764
38965
|
const trimmed = editText.trim();
|
|
38765
38966
|
if (!trimmed || !onEdit) return;
|
|
@@ -38817,7 +39018,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
38817
39018
|
disabled: !editText.trim(),
|
|
38818
39019
|
className: "shrink-0 text-ods-success hover:text-ods-success/80 transition-colors disabled:opacity-50",
|
|
38819
39020
|
"aria-label": "Save note",
|
|
38820
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
39021
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.CheckIcon, { className: "size-5" })
|
|
38821
39022
|
}
|
|
38822
39023
|
),
|
|
38823
39024
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -38827,7 +39028,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
38827
39028
|
onClick: handleCancel,
|
|
38828
39029
|
className: "shrink-0 text-ods-text-secondary hover:text-ods-text-primary transition-colors",
|
|
38829
39030
|
"aria-label": "Cancel editing",
|
|
38830
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
39031
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.XmarkIcon, { className: "size-5" })
|
|
38831
39032
|
}
|
|
38832
39033
|
)
|
|
38833
39034
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -38853,7 +39054,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
38853
39054
|
onClick: () => onDelete(note.id),
|
|
38854
39055
|
className: "text-ods-text-secondary hover:text-ods-error transition-colors",
|
|
38855
39056
|
"aria-label": "Delete note",
|
|
38856
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
39057
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.TrashIcon, { className: "size-6" })
|
|
38857
39058
|
}
|
|
38858
39059
|
),
|
|
38859
39060
|
onEdit && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -38863,7 +39064,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
38863
39064
|
onClick: () => setIsEditing(true),
|
|
38864
39065
|
className: "text-ods-text-secondary hover:text-ods-text-primary transition-colors",
|
|
38865
39066
|
"aria-label": "Edit note",
|
|
38866
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
39067
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.PenEditIcon, { className: "size-6" })
|
|
38867
39068
|
}
|
|
38868
39069
|
)
|
|
38869
39070
|
] })
|
|
@@ -38882,7 +39083,7 @@ function TicketNotesSection({
|
|
|
38882
39083
|
isAddingNote,
|
|
38883
39084
|
className
|
|
38884
39085
|
}) {
|
|
38885
|
-
const [noteText, setNoteText] =
|
|
39086
|
+
const [noteText, setNoteText] = React125.useState("");
|
|
38886
39087
|
const handleSend = () => {
|
|
38887
39088
|
const trimmed = noteText.trim();
|
|
38888
39089
|
if (!trimmed || !onAddNote || isAddingNote) return;
|
|
@@ -38929,7 +39130,7 @@ function TicketNotesSection({
|
|
|
38929
39130
|
"disabled:opacity-50 disabled:cursor-not-allowed"
|
|
38930
39131
|
),
|
|
38931
39132
|
"aria-label": "Send note",
|
|
38932
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
39133
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Send03Icon, { className: "size-6 text-ods-text-secondary" })
|
|
38933
39134
|
}
|
|
38934
39135
|
)
|
|
38935
39136
|
] })
|
|
@@ -39012,7 +39213,7 @@ function TicketInfoSection({
|
|
|
39012
39213
|
}
|
|
39013
39214
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0", children: [
|
|
39014
39215
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1 text-h4 text-ods-text-secondary", children: [
|
|
39015
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
39216
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.UserIcon, { className: "size-4 shrink-0" }),
|
|
39016
39217
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: "Unassigned" })
|
|
39017
39218
|
] }),
|
|
39018
39219
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h6 text-ods-text-secondary truncate block", children: "Assigned" })
|
|
@@ -39050,7 +39251,7 @@ function TicketInfoSection({
|
|
|
39050
39251
|
),
|
|
39051
39252
|
"aria-label": expanded ? "Collapse" : "Expand",
|
|
39052
39253
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
39053
|
-
|
|
39254
|
+
_chunkCCG4DARMcjs.Chevron02DownIcon,
|
|
39054
39255
|
{
|
|
39055
39256
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
39056
39257
|
"size-6 text-ods-text-primary transition-transform duration-200",
|
|
@@ -39687,7 +39888,7 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
|
|
|
39687
39888
|
reviewState ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReviewStateBadge, { state: reviewState }) : null,
|
|
39688
39889
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_TITLE, children: primaryText })
|
|
39689
39890
|
] }),
|
|
39690
|
-
/* @__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: [
|
|
39691
39892
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary/40 shrink-0", children: "\xB7" }) : null,
|
|
39692
39893
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
39693
39894
|
] }, i)) }) }),
|
|
@@ -39779,7 +39980,7 @@ function SlackMessageCard({ item, variant = "compact", className, anchorProps })
|
|
|
39779
39980
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
|
|
39780
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 }) }),
|
|
39781
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 }) }),
|
|
39782
|
-
/* @__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: [
|
|
39783
39984
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary/40 shrink-0", children: "\xB7" }) : null,
|
|
39784
39985
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
39785
39986
|
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_SUMMARY, children: COMPACT_CARD_ROW_FILLER }) }) })
|
|
@@ -39891,7 +40092,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
39891
40092
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: item.customerEmail })
|
|
39892
40093
|
] }) : null,
|
|
39893
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." }) }) }),
|
|
39894
|
-
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: [
|
|
39895
40096
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary/40 shrink-0", children: "\xB7" }) : null,
|
|
39896
40097
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
39897
40098
|
] }, i)) }) }) : null
|
|
@@ -41972,7 +42173,7 @@ function useChatCardItem(type, id) {
|
|
|
41972
42173
|
queryKey: ["chat-card-item", type, id],
|
|
41973
42174
|
queryFn: async () => {
|
|
41974
42175
|
if (!url) return null;
|
|
41975
|
-
const res = await
|
|
42176
|
+
const res = await _chunkDCIB6AK3cjs.embedAuthedFetch.call(void 0, url);
|
|
41976
42177
|
if (!res.ok) return null;
|
|
41977
42178
|
const data = await res.json();
|
|
41978
42179
|
const items = extractItems(data);
|
|
@@ -42176,7 +42377,7 @@ function MingoInfoCard({
|
|
|
42176
42377
|
type: "button",
|
|
42177
42378
|
"aria-label": menuAriaLabel,
|
|
42178
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",
|
|
42179
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42380
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Ellipsis01Icon, { size: 24 })
|
|
42180
42381
|
}
|
|
42181
42382
|
)
|
|
42182
42383
|
}
|
|
@@ -42191,12 +42392,12 @@ function MingoInfoCard({
|
|
|
42191
42392
|
function githubKindIcon(kind) {
|
|
42192
42393
|
switch (kind) {
|
|
42193
42394
|
case "pull_request":
|
|
42194
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42395
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.CodingPullRequestIcon, { size: 24 });
|
|
42195
42396
|
case "pr_review":
|
|
42196
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42397
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.CodeIcon, { size: 24 });
|
|
42197
42398
|
case "commit":
|
|
42198
42399
|
default:
|
|
42199
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42400
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.CodingCommitIcon, { size: 24 });
|
|
42200
42401
|
}
|
|
42201
42402
|
}
|
|
42202
42403
|
function reviewStateToVariant(state) {
|
|
@@ -42252,12 +42453,12 @@ function cardMenuGroups(href, discuss, openDetails) {
|
|
|
42252
42453
|
items.push({
|
|
42253
42454
|
id: "open-details",
|
|
42254
42455
|
label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _856 => _856.label]), () => ( "Open Details")),
|
|
42255
|
-
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 }))),
|
|
42256
42457
|
// Main row → open the entity (same tab, soft Link nav).
|
|
42257
42458
|
href,
|
|
42258
42459
|
// Trailing 40px ↗ side-button → open in a new tab.
|
|
42259
42460
|
iconAction: {
|
|
42260
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42461
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.ArrowRightUpIcon, { size: 20 }),
|
|
42261
42462
|
"aria-label": "Open in new tab",
|
|
42262
42463
|
href,
|
|
42263
42464
|
openInNewTab: true
|
|
@@ -42290,12 +42491,12 @@ function HubspotTicketChatCard({
|
|
|
42290
42491
|
{
|
|
42291
42492
|
title: chatRef.title,
|
|
42292
42493
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
42293
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42494
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.TagIcon, { size: 24 }),
|
|
42294
42495
|
status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
|
|
42295
42496
|
anchorProps: buildAnchorProps(chatRef.url, isNewTab),
|
|
42296
42497
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
42297
42498
|
label: "Open Ticket Details",
|
|
42298
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42499
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.TagIcon, { size: 20 })
|
|
42299
42500
|
}),
|
|
42300
42501
|
menuAriaLabel: "Ticket actions"
|
|
42301
42502
|
}
|
|
@@ -42313,7 +42514,7 @@ function FaqChatCard({
|
|
|
42313
42514
|
{
|
|
42314
42515
|
title: chatRef.title,
|
|
42315
42516
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
42316
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42517
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.QuestionCircleIcon, { size: 24 }),
|
|
42317
42518
|
status: { label: statusLabel, variant: "grey" },
|
|
42318
42519
|
anchorProps: buildAnchorProps(chatRef.url, isNewTab),
|
|
42319
42520
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
@@ -42334,7 +42535,7 @@ function SlackChatCard({
|
|
|
42334
42535
|
{
|
|
42335
42536
|
title,
|
|
42336
42537
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
42337
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42538
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.SlackLogoGreyIcon, { size: 24 }),
|
|
42338
42539
|
anchorProps: buildAnchorProps(chatRef.url, isNewTab),
|
|
42339
42540
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
42340
42541
|
menuAriaLabel: "Message actions"
|
|
@@ -42352,7 +42553,7 @@ function DataRoomDocChatCard({
|
|
|
42352
42553
|
{
|
|
42353
42554
|
title: chatRef.title,
|
|
42354
42555
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
42355
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42556
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.FileContentIcon, { size: 24 }),
|
|
42356
42557
|
status: { label: badgeText, variant: "grey" },
|
|
42357
42558
|
anchorProps: buildAnchorProps(chatRef.url, isNewTab),
|
|
42358
42559
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
@@ -42442,7 +42643,7 @@ function ProductReleaseChatCard({
|
|
|
42442
42643
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _869 => _869.title]), () => ( "")),
|
|
42443
42644
|
description: _optionalChain([item, 'optionalAccess', _870 => _870.summary]) || releaseProps.formattedDate || void 0,
|
|
42444
42645
|
cover: releaseProps.coverImage || void 0,
|
|
42445
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42646
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Rocket02Icon, { size: 24 }),
|
|
42446
42647
|
status,
|
|
42447
42648
|
chatRef,
|
|
42448
42649
|
isNewTab,
|
|
@@ -42468,7 +42669,7 @@ function CampaignChatCard({
|
|
|
42468
42669
|
{
|
|
42469
42670
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _873 => _873.name]), () => ( "")),
|
|
42470
42671
|
description: meta || _optionalChain([item, 'optionalAccess', _874 => _874.description]) || void 0,
|
|
42471
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42672
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Megaphone01Icon, { size: 24 }),
|
|
42472
42673
|
chatRef,
|
|
42473
42674
|
isNewTab,
|
|
42474
42675
|
discuss,
|
|
@@ -42528,7 +42729,7 @@ function BlogChatCard({
|
|
|
42528
42729
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _880 => _880.title]), () => ( "")),
|
|
42529
42730
|
description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _881 => _881.summary]), () => ( void 0)),
|
|
42530
42731
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _882 => _882.featured_image]), ogPlaceholder),
|
|
42531
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42732
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.NewspaperIcon, { size: 24 }),
|
|
42532
42733
|
status,
|
|
42533
42734
|
chatRef,
|
|
42534
42735
|
isNewTab,
|
|
@@ -42551,7 +42752,7 @@ function CaseStudyChatCard({
|
|
|
42551
42752
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _887 => _887.title]), () => ( "")),
|
|
42552
42753
|
description: _optionalChain([item, 'optionalAccess', _888 => _888.summary]) || meta || void 0,
|
|
42553
42754
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _889 => _889.featured_image]), ogPlaceholder),
|
|
42554
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42755
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.TrophyIcon, { size: 24 }),
|
|
42555
42756
|
status: { label: "Case study", variant: "grey" },
|
|
42556
42757
|
chatRef,
|
|
42557
42758
|
isNewTab,
|
|
@@ -42574,7 +42775,7 @@ function CustomerInterviewChatCard({
|
|
|
42574
42775
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _894 => _894.title]), () => ( "")),
|
|
42575
42776
|
description: _optionalChain([item, 'optionalAccess', _895 => _895.video_summary]) || meta || void 0,
|
|
42576
42777
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _896 => _896.featured_image]), ogPlaceholder),
|
|
42577
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42778
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.MicrophoneIcon, { size: 24 }),
|
|
42578
42779
|
status: { label: "Interview", variant: "grey" },
|
|
42579
42780
|
chatRef,
|
|
42580
42781
|
isNewTab,
|
|
@@ -42597,7 +42798,7 @@ function InvestorUpdateChatCard({
|
|
|
42597
42798
|
title,
|
|
42598
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,
|
|
42599
42800
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _903 => _903.featured_image]), ogPlaceholder),
|
|
42600
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42801
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.PresentationLineIcon, { size: 24 }),
|
|
42601
42802
|
status: { label: "Investor update", variant: "grey" },
|
|
42602
42803
|
chatRef,
|
|
42603
42804
|
isNewTab,
|
|
@@ -42620,7 +42821,7 @@ function OnboardingGuideChatCard({
|
|
|
42620
42821
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _907 => _907.title]), () => ( "")),
|
|
42621
42822
|
description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _908 => _908.summary]), () => ( _optionalChain([item, 'optionalAccess', _909 => _909.description]))), () => ( void 0)),
|
|
42622
42823
|
cover,
|
|
42623
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42824
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.CompassIcon, { size: 24 }),
|
|
42624
42825
|
status: { label: "Guide", variant: "grey" },
|
|
42625
42826
|
chatRef,
|
|
42626
42827
|
isNewTab,
|
|
@@ -42638,7 +42839,7 @@ function ProgramChatCard({
|
|
|
42638
42839
|
ogPlaceholder,
|
|
42639
42840
|
discuss
|
|
42640
42841
|
}) {
|
|
42641
|
-
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 });
|
|
42642
42843
|
const isScheduled = _optionalChain([item, 'optionalAccess', _910 => _910.status]) === "scheduled";
|
|
42643
42844
|
let typeMeta;
|
|
42644
42845
|
if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _911 => _911.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
|
|
@@ -42676,7 +42877,7 @@ function RoadmapChatCard({
|
|
|
42676
42877
|
}) {
|
|
42677
42878
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _918 => _918.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
42678
42879
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _919 => _919.customItemId]) != null;
|
|
42679
|
-
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 });
|
|
42680
42881
|
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _920 => _920.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
42681
42882
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
42682
42883
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
@@ -42697,11 +42898,11 @@ function RoadmapChatCard({
|
|
|
42697
42898
|
);
|
|
42698
42899
|
}
|
|
42699
42900
|
var FINANCIAL_CARD_CONFIGS = {
|
|
42700
|
-
financial_kpi: { label: "Financial KPI", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42701
|
-
cap_table: { label: "Cap table entry", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42702
|
-
profit_loss: { label: "P&L period", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42703
|
-
balance_sheet: { label: "Balance sheet", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42704
|
-
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 }) }
|
|
42705
42906
|
};
|
|
42706
42907
|
function financialRegistryEntries() {
|
|
42707
42908
|
const out = {};
|
|
@@ -43074,7 +43275,7 @@ function ChatCardLoader({
|
|
|
43074
43275
|
extras
|
|
43075
43276
|
}) {
|
|
43076
43277
|
const runtime = _chunkN2DVKXN4cjs.useRequiredChatRuntime.call(void 0, );
|
|
43077
|
-
const resolvedChatRef =
|
|
43278
|
+
const resolvedChatRef = React114.default.useMemo(() => {
|
|
43078
43279
|
const cta = resolveSourceRowCTA(
|
|
43079
43280
|
{
|
|
43080
43281
|
sourceRepo: chatRef.sourceRepo,
|
|
@@ -43110,7 +43311,7 @@ function ChatCardLoader({
|
|
|
43110
43311
|
const discussFn = useDisplay ? onDisplay : onDiscuss;
|
|
43111
43312
|
const discuss = discussFn ? {
|
|
43112
43313
|
label: useDisplay ? "Display" : "Ask Mingo",
|
|
43113
|
-
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,
|
|
43114
43315
|
_chunkLWNPMLIHcjs.MingoIcon,
|
|
43115
43316
|
{
|
|
43116
43317
|
className: "size-5",
|
|
@@ -44862,7 +45063,7 @@ async function fetchSlashCommands(prefix, signal, commandsUrl) {
|
|
|
44862
45063
|
try {
|
|
44863
45064
|
const url = new URL(commandsUrl, window.location.origin);
|
|
44864
45065
|
if (prefix) url.searchParams.set("q", prefix);
|
|
44865
|
-
const res = await
|
|
45066
|
+
const res = await _chunkDCIB6AK3cjs.embedAuthedFetch.call(void 0, url.toString(), { signal, headers: {} });
|
|
44866
45067
|
if (!res.ok) return [];
|
|
44867
45068
|
const data = await res.json();
|
|
44868
45069
|
return _nullishCoalesce(data.commands, () => ( []));
|
|
@@ -44934,7 +45135,7 @@ var EMPTY_STATE_FALLBACK = {
|
|
|
44934
45135
|
async function fetchEmptyStateConfig(signal, emptyStateUrl) {
|
|
44935
45136
|
try {
|
|
44936
45137
|
const url = new URL(emptyStateUrl, window.location.origin);
|
|
44937
|
-
const res = await
|
|
45138
|
+
const res = await _chunkDCIB6AK3cjs.embedAuthedFetch.call(void 0, url.toString(), { signal, headers: {} });
|
|
44938
45139
|
if (!res.ok) {
|
|
44939
45140
|
if (res.status >= 500) {
|
|
44940
45141
|
console.error(`[chat] empty-state config fetch failed (${res.status}): ${url.pathname}`);
|
|
@@ -45093,7 +45294,7 @@ function useChatAttachments() {
|
|
|
45093
45294
|
);
|
|
45094
45295
|
}
|
|
45095
45296
|
updateOne(att.id, { status: "uploading", progress: 5 });
|
|
45096
|
-
const urlResp = await
|
|
45297
|
+
const urlResp = await _chunkDCIB6AK3cjs.embedAuthedFetch.call(void 0, uploadUrlEndpoint, {
|
|
45097
45298
|
method: "POST",
|
|
45098
45299
|
headers: { "Content-Type": "application/json" },
|
|
45099
45300
|
signal: _optionalChain([ctrl, 'optionalAccess', _1071 => _1071.signal]),
|
|
@@ -45283,7 +45484,7 @@ var ANON_DEFAULTS = {
|
|
|
45283
45484
|
function useResolveChatIdentity(enabled) {
|
|
45284
45485
|
const runtime = _chunkN2DVKXN4cjs.useRequiredChatRuntime.call(void 0, );
|
|
45285
45486
|
const url = runtime.endpoints.identityUrl;
|
|
45286
|
-
const proxyEmail = _nullishCoalesce(_optionalChain([
|
|
45487
|
+
const proxyEmail = _nullishCoalesce(_optionalChain([_chunkDCIB6AK3cjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess', _1077 => _1077.email]), () => ( null));
|
|
45287
45488
|
const [data, setData] = _react.useState.call(void 0, ANON_DEFAULTS);
|
|
45288
45489
|
const [isLoading, setIsLoading] = _react.useState.call(void 0, enabled);
|
|
45289
45490
|
_react.useEffect.call(void 0, () => {
|
|
@@ -45291,7 +45492,7 @@ function useResolveChatIdentity(enabled) {
|
|
|
45291
45492
|
let cancelled = false;
|
|
45292
45493
|
const ctrl = new AbortController();
|
|
45293
45494
|
setIsLoading(true);
|
|
45294
|
-
|
|
45495
|
+
_chunkDCIB6AK3cjs.embedAuthedFetch.call(void 0, url, { signal: ctrl.signal }).then(async (resp) => {
|
|
45295
45496
|
if (!resp.ok) return ANON_DEFAULTS;
|
|
45296
45497
|
return await resp.json();
|
|
45297
45498
|
}).then((next) => {
|
|
@@ -45754,7 +45955,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
|
|
|
45754
45955
|
..._optionalChain([extra, 'optionalAccess', _1092 => _1092.commandOverride]) ? { commandOverride: extra.commandOverride } : {},
|
|
45755
45956
|
..._optionalChain([extra, 'optionalAccess', _1093 => _1093.pendingAttachments]) && extra.pendingAttachments.length > 0 ? { pendingAttachments: extra.pendingAttachments } : {}
|
|
45756
45957
|
};
|
|
45757
|
-
const response = await
|
|
45958
|
+
const response = await _chunkDCIB6AK3cjs.embedAuthedFetch.call(void 0, targetPath, {
|
|
45758
45959
|
method: "POST",
|
|
45759
45960
|
body: JSON.stringify(requestBody),
|
|
45760
45961
|
signal
|
|
@@ -45977,7 +46178,7 @@ var CHAT_STORAGE_VERSION = 1;
|
|
|
45977
46178
|
var DEFAULT_CHAT_SOURCE = "embed";
|
|
45978
46179
|
var chatStorageKey = (source) => {
|
|
45979
46180
|
const base = `mingo-chat-${source}-v${CHAT_STORAGE_VERSION}`;
|
|
45980
|
-
const auth =
|
|
46181
|
+
const auth = _chunkDCIB6AK3cjs.getEmbedProxyAuth.call(void 0, );
|
|
45981
46182
|
if (_optionalChain([auth, 'optionalAccess', _1102 => _1102.email])) {
|
|
45982
46183
|
return `${base}-u-${encodeURIComponent(auth.email.toLowerCase())}`;
|
|
45983
46184
|
}
|
|
@@ -47658,7 +47859,7 @@ var NODES = [
|
|
|
47658
47859
|
];
|
|
47659
47860
|
var Primitive = NODES.reduce((primitive, node) => {
|
|
47660
47861
|
const Slot2 = _reactslot.createSlot.call(void 0, `Primitive.${node}`);
|
|
47661
|
-
const Node2 =
|
|
47862
|
+
const Node2 = React132.forwardRef((props, forwardedRef) => {
|
|
47662
47863
|
const { asChild, ...primitiveProps } = props;
|
|
47663
47864
|
const Comp = asChild ? Slot2 : node;
|
|
47664
47865
|
if (typeof window !== "undefined") {
|
|
@@ -47686,7 +47887,7 @@ var VISUALLY_HIDDEN_STYLES = Object.freeze({
|
|
|
47686
47887
|
wordWrap: "normal"
|
|
47687
47888
|
});
|
|
47688
47889
|
var NAME = "VisuallyHidden";
|
|
47689
|
-
var VisuallyHidden =
|
|
47890
|
+
var VisuallyHidden = React133.forwardRef(
|
|
47690
47891
|
(props, forwardedRef) => {
|
|
47691
47892
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
47692
47893
|
Primitive.span,
|
|
@@ -49787,5 +49988,6 @@ function EmbeddableChatInner({
|
|
|
49787
49988
|
|
|
49788
49989
|
|
|
49789
49990
|
|
|
49790
|
-
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;
|
|
49791
|
-
//# sourceMappingURL=chunk-JCRU2L2D.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
|