@flamingo-stack/openframe-frontend-core 0.0.640 → 0.0.641-2203.6299.1
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-OQHFHKUG.cjs → chunk-2NRLRRMR.cjs} +8 -8
- package/dist/chunk-2NRLRRMR.cjs.map +1 -0
- package/dist/{chunk-QS2QCXBH.js → chunk-3IPL6G7S.js} +2 -2
- package/dist/chunk-3IPL6G7S.js.map +1 -0
- package/dist/{chunk-UBH5ONPB.js → chunk-3LXJEXPH.js} +3 -3
- package/dist/chunk-3LXJEXPH.js.map +1 -0
- package/dist/{chunk-BXKM4GFD.js → chunk-4EEUB62O.js} +1 -1
- package/dist/chunk-4EEUB62O.js.map +1 -0
- package/dist/{chunk-NWE2XGSC.js → chunk-5C22ZEZL.js} +4 -4
- package/dist/{chunk-GLEU3DKT.cjs → chunk-5SNH6YV7.cjs} +42 -42
- package/dist/{chunk-GLEU3DKT.cjs.map → chunk-5SNH6YV7.cjs.map} +1 -1
- package/dist/{chunk-SB4ZIYQF.js → chunk-62CT5VGY.js} +6 -6
- package/dist/{chunk-D4TYGJ5U.js → chunk-6FMSRRZM.js} +5 -5
- package/dist/{chunk-RDCHCMEO.cjs → chunk-7EIUV3EV.cjs} +5 -5
- package/dist/{chunk-RDCHCMEO.cjs.map → chunk-7EIUV3EV.cjs.map} +1 -1
- package/dist/{chunk-3TDQW73P.js → chunk-7GH4I7AL.js} +8 -8
- package/dist/{chunk-BSWD3FAX.cjs → chunk-BGSBHH4X.cjs} +174 -174
- package/dist/{chunk-BSWD3FAX.cjs.map → chunk-BGSBHH4X.cjs.map} +1 -1
- package/dist/{chunk-ECNZCOJD.js → chunk-DVCDYMSZ.js} +9 -9
- package/dist/{chunk-X3LC6R37.js → chunk-G5U4JP45.js} +3 -3
- package/dist/{chunk-WRJVEB2J.cjs → chunk-GBEUGDZG.cjs} +1 -1
- package/dist/{chunk-WRJVEB2J.cjs.map → chunk-GBEUGDZG.cjs.map} +1 -1
- package/dist/{chunk-2MMEPNSX.cjs → chunk-GELNUDBT.cjs} +8 -8
- package/dist/{chunk-2MMEPNSX.cjs.map → chunk-GELNUDBT.cjs.map} +1 -1
- package/dist/{chunk-CRL3LR6Z.js → chunk-GOCM2TRB.js} +6 -6
- package/dist/{chunk-P3GL3PQN.js → chunk-I7AIORKQ.js} +3 -3
- package/dist/{chunk-Z23ZRP6A.js → chunk-IHMTMFNO.js} +3 -3
- package/dist/{chunk-X7LJRNMJ.js → chunk-JOV64HW5.js} +2 -2
- package/dist/{chunk-YQCA4ZEJ.js → chunk-KJWPAJRT.js} +2 -2
- package/dist/{chunk-SDDTMSNK.cjs → chunk-L35UOSEQ.cjs} +18 -18
- package/dist/{chunk-SDDTMSNK.cjs.map → chunk-L35UOSEQ.cjs.map} +1 -1
- package/dist/{chunk-YB6RCW77.cjs → chunk-LCK7T2RM.cjs} +7 -7
- package/dist/{chunk-YB6RCW77.cjs.map → chunk-LCK7T2RM.cjs.map} +1 -1
- package/dist/{chunk-QGY5QUYO.js → chunk-MI7XL4QH.js} +4 -4
- package/dist/{chunk-LMEIB7LK.js → chunk-MULT7VMK.js} +5 -5
- package/dist/{chunk-CSHOX2IA.cjs → chunk-NC7JJCZX.cjs} +28 -28
- package/dist/{chunk-CSHOX2IA.cjs.map → chunk-NC7JJCZX.cjs.map} +1 -1
- package/dist/{chunk-HYBPTBX7.js → chunk-OF5MAFYS.js} +2 -2
- package/dist/{chunk-5DQEPZTV.cjs → chunk-RDEBYNLG.cjs} +3 -3
- package/dist/{chunk-5DQEPZTV.cjs.map → chunk-RDEBYNLG.cjs.map} +1 -1
- package/dist/{chunk-O5SHSHGK.cjs → chunk-RJCIXHIN.cjs} +6 -6
- package/dist/{chunk-O5SHSHGK.cjs.map → chunk-RJCIXHIN.cjs.map} +1 -1
- package/dist/{chunk-AIUMGF4J.js → chunk-RLVMVUCV.js} +5 -5
- package/dist/{chunk-PRJSLQP7.js → chunk-RRIKLBHD.js} +3 -3
- package/dist/{chunk-PRJSLQP7.js.map → chunk-RRIKLBHD.js.map} +1 -1
- package/dist/{chunk-47TANSTC.cjs → chunk-SE6YRE3R.cjs} +39 -39
- package/dist/{chunk-47TANSTC.cjs.map → chunk-SE6YRE3R.cjs.map} +1 -1
- package/dist/{chunk-U7TTQV4N.cjs → chunk-T3C3JLGV.cjs} +3 -3
- package/dist/{chunk-U7TTQV4N.cjs.map → chunk-T3C3JLGV.cjs.map} +1 -1
- package/dist/{chunk-5LMLEKLO.cjs → chunk-TBDJQBPA.cjs} +63 -63
- package/dist/{chunk-5LMLEKLO.cjs.map → chunk-TBDJQBPA.cjs.map} +1 -1
- package/dist/{chunk-GKB5GAUK.cjs → chunk-TBKPAIIK.cjs} +27 -27
- package/dist/{chunk-GKB5GAUK.cjs.map → chunk-TBKPAIIK.cjs.map} +1 -1
- package/dist/{chunk-2TSVC3WA.cjs → chunk-TXLDKXRG.cjs} +11 -11
- package/dist/{chunk-2TSVC3WA.cjs.map → chunk-TXLDKXRG.cjs.map} +1 -1
- package/dist/{chunk-VI7PRLUJ.cjs → chunk-VHWABKMC.cjs} +33 -33
- package/dist/{chunk-VI7PRLUJ.cjs.map → chunk-VHWABKMC.cjs.map} +1 -1
- package/dist/{chunk-LQ7DJCA2.cjs → chunk-VPP6BJPP.cjs} +11 -11
- package/dist/{chunk-LQ7DJCA2.cjs.map → chunk-VPP6BJPP.cjs.map} +1 -1
- package/dist/{chunk-UEQ7ZS62.cjs → chunk-VXZQZZJD.cjs} +12 -12
- package/dist/{chunk-UEQ7ZS62.cjs.map → chunk-VXZQZZJD.cjs.map} +1 -1
- package/dist/{chunk-X64VTFIS.js → chunk-WX45U6RU.js} +4 -4
- package/dist/{chunk-QHRLJLWE.cjs → chunk-WX7AXSVK.cjs} +24 -24
- package/dist/{chunk-QHRLJLWE.cjs.map → chunk-WX7AXSVK.cjs.map} +1 -1
- package/dist/{chunk-NADSM5NR.js → chunk-WZK4NMFB.js} +4 -4
- package/dist/{chunk-KN3EJP4D.js → chunk-YPM65MEQ.js} +4 -4
- package/dist/{chunk-554L55DK.cjs → chunk-YTP6LQCB.cjs} +94 -94
- package/dist/{chunk-554L55DK.cjs.map → chunk-YTP6LQCB.cjs.map} +1 -1
- package/dist/{chunk-WGY4VVB3.cjs → chunk-ZUX7B27J.cjs} +345 -345
- package/dist/{chunk-WGY4VVB3.cjs.map → chunk-ZUX7B27J.cjs.map} +1 -1
- package/dist/components/calendar.cjs +4 -4
- package/dist/components/calendar.js +1 -1
- package/dist/components/case-studies/index.cjs +18 -18
- package/dist/components/case-studies/index.js +6 -6
- package/dist/components/chat/entity-cards/blog-card.d.ts +1 -1
- package/dist/components/chat/entity-cards/blog-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/campaign-card-admin.d.ts +1 -1
- package/dist/components/chat/entity-cards/campaign-card-admin.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/case-study-card.d.ts +1 -1
- package/dist/components/chat/entity-cards/case-study-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/customer-interview-card.d.ts +1 -1
- package/dist/components/chat/entity-cards/customer-interview-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/data-room-doc-card.d.ts +1 -1
- package/dist/components/chat/entity-cards/data-room-doc-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/generic-entity-card.d.ts +1 -1
- package/dist/components/chat/entity-cards/generic-entity-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/github-activity-card.d.ts +1 -1
- package/dist/components/chat/entity-cards/github-activity-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/hubspot-ticket-card.d.ts +1 -1
- package/dist/components/chat/entity-cards/hubspot-ticket-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/investor-update-card.d.ts +1 -1
- package/dist/components/chat/entity-cards/investor-update-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/onboarding-guide-card.d.ts +1 -1
- package/dist/components/chat/entity-cards/onboarding-guide-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/program-card.d.ts +1 -1
- package/dist/components/chat/entity-cards/program-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/roadmap-card.d.ts +1 -1
- package/dist/components/chat/entity-cards/roadmap-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/slack-message-card.d.ts +1 -1
- package/dist/components/chat/entity-cards/slack-message-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/use-entity-card-link.d.ts +2 -2
- package/dist/components/chat/entity-cards/use-entity-card-link.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +4 -4
- package/dist/components/chat/index.js +3 -3
- package/dist/components/chat/utils/nav-anchor-props.d.ts +2 -2
- package/dist/components/chat/utils/nav-anchor-props.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +7 -7
- package/dist/components/contact/index.js +6 -6
- package/dist/components/docs/index.cjs +10 -10
- package/dist/components/docs/index.js +9 -9
- package/dist/components/embeds/index.cjs +7 -7
- package/dist/components/embeds/index.js +6 -6
- package/dist/components/faq/index.cjs +7 -7
- package/dist/components/faq/index.js +6 -6
- package/dist/components/features/index.cjs +6 -6
- package/dist/components/features/index.js +5 -5
- package/dist/components/help-center-pages/index.cjs +28 -28
- package/dist/components/help-center-pages/index.js +19 -19
- package/dist/components/index.cjs +70 -70
- package/dist/components/index.js +19 -19
- package/dist/components/meeting-scheduler/index.cjs +46 -46
- package/dist/components/meeting-scheduler/index.js +7 -7
- package/dist/components/navigation/index.cjs +9 -9
- package/dist/components/navigation/index.js +8 -8
- package/dist/components/onboarding-guides/index.cjs +9 -9
- package/dist/components/onboarding-guides/index.js +8 -8
- package/dist/components/related-content/card-registry.d.ts +3 -1
- package/dist/components/related-content/card-registry.d.ts.map +1 -1
- package/dist/components/related-content/index.cjs +5 -5
- package/dist/components/related-content/index.js +4 -4
- package/dist/components/shared/product-release/product-release-card.d.ts +1 -1
- package/dist/components/shared/product-release/product-release-card.d.ts.map +1 -1
- package/dist/components/tickets/index.cjs +11 -11
- package/dist/components/tickets/index.js +10 -10
- package/dist/components/ui/button/button.d.ts +4 -1
- package/dist/components/ui/button/button.d.ts.map +1 -1
- package/dist/components/ui/file-manager/index.cjs +11 -11
- package/dist/components/ui/file-manager/index.js +1 -1
- package/dist/components/ui/index.cjs +6 -6
- package/dist/components/ui/index.js +5 -5
- package/dist/index.cjs +10 -10
- package/dist/index.js +9 -9
- package/package.json +1 -1
- package/src/components/chat/entity-cards/blog-card.tsx +1 -1
- package/src/components/chat/entity-cards/campaign-card-admin.tsx +1 -1
- package/src/components/chat/entity-cards/case-study-card.tsx +1 -1
- package/src/components/chat/entity-cards/customer-interview-card.tsx +1 -1
- package/src/components/chat/entity-cards/data-room-doc-card.tsx +1 -1
- package/src/components/chat/entity-cards/generic-entity-card.tsx +1 -1
- package/src/components/chat/entity-cards/github-activity-card.tsx +1 -1
- package/src/components/chat/entity-cards/hubspot-ticket-card.tsx +1 -1
- package/src/components/chat/entity-cards/investor-update-card.tsx +1 -1
- package/src/components/chat/entity-cards/onboarding-guide-card.tsx +1 -1
- package/src/components/chat/entity-cards/program-card.tsx +1 -1
- package/src/components/chat/entity-cards/roadmap-card.tsx +1 -1
- package/src/components/chat/entity-cards/slack-message-card.tsx +1 -1
- package/src/components/chat/entity-cards/use-entity-card-link.ts +2 -2
- package/src/components/chat/utils/nav-anchor-props.ts +2 -2
- package/src/components/related-content/card-registry.tsx +3 -1
- package/src/components/shared/product-release/product-release-card.tsx +1 -1
- package/src/components/ui/button/button.tsx +4 -1
- package/dist/chunk-BXKM4GFD.js.map +0 -1
- package/dist/chunk-OQHFHKUG.cjs.map +0 -1
- package/dist/chunk-QS2QCXBH.js.map +0 -1
- package/dist/chunk-UBH5ONPB.js.map +0 -1
- /package/dist/{chunk-NWE2XGSC.js.map → chunk-5C22ZEZL.js.map} +0 -0
- /package/dist/{chunk-SB4ZIYQF.js.map → chunk-62CT5VGY.js.map} +0 -0
- /package/dist/{chunk-D4TYGJ5U.js.map → chunk-6FMSRRZM.js.map} +0 -0
- /package/dist/{chunk-3TDQW73P.js.map → chunk-7GH4I7AL.js.map} +0 -0
- /package/dist/{chunk-ECNZCOJD.js.map → chunk-DVCDYMSZ.js.map} +0 -0
- /package/dist/{chunk-X3LC6R37.js.map → chunk-G5U4JP45.js.map} +0 -0
- /package/dist/{chunk-CRL3LR6Z.js.map → chunk-GOCM2TRB.js.map} +0 -0
- /package/dist/{chunk-P3GL3PQN.js.map → chunk-I7AIORKQ.js.map} +0 -0
- /package/dist/{chunk-Z23ZRP6A.js.map → chunk-IHMTMFNO.js.map} +0 -0
- /package/dist/{chunk-X7LJRNMJ.js.map → chunk-JOV64HW5.js.map} +0 -0
- /package/dist/{chunk-YQCA4ZEJ.js.map → chunk-KJWPAJRT.js.map} +0 -0
- /package/dist/{chunk-QGY5QUYO.js.map → chunk-MI7XL4QH.js.map} +0 -0
- /package/dist/{chunk-LMEIB7LK.js.map → chunk-MULT7VMK.js.map} +0 -0
- /package/dist/{chunk-HYBPTBX7.js.map → chunk-OF5MAFYS.js.map} +0 -0
- /package/dist/{chunk-AIUMGF4J.js.map → chunk-RLVMVUCV.js.map} +0 -0
- /package/dist/{chunk-X64VTFIS.js.map → chunk-WX45U6RU.js.map} +0 -0
- /package/dist/{chunk-NADSM5NR.js.map → chunk-WZK4NMFB.js.map} +0 -0
- /package/dist/{chunk-KN3EJP4D.js.map → chunk-YPM65MEQ.js.map} +0 -0
|
@@ -25,7 +25,7 @@ var _chunkTON3YCCWcjs = require('./chunk-TON3YCCW.cjs');
|
|
|
25
25
|
var _chunkGNKM6R55cjs = require('./chunk-GNKM6R55.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunkLCK7T2RMcjs = require('./chunk-LCK7T2RM.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
@@ -91,7 +91,7 @@ var _chunkN6HNK25Acjs = require('./chunk-N6HNK25A.cjs');
|
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
|
|
94
|
-
var
|
|
94
|
+
var _chunkBGSBHH4Xcjs = require('./chunk-BGSBHH4X.cjs');
|
|
95
95
|
|
|
96
96
|
|
|
97
97
|
|
|
@@ -231,7 +231,7 @@ var _chunkXQFFGR6Ucjs = require('./chunk-XQFFGR6U.cjs');
|
|
|
231
231
|
|
|
232
232
|
|
|
233
233
|
|
|
234
|
-
var
|
|
234
|
+
var _chunk2NRLRRMRcjs = require('./chunk-2NRLRRMR.cjs');
|
|
235
235
|
|
|
236
236
|
|
|
237
237
|
var _chunkWLSFBRT5cjs = require('./chunk-WLSFBRT5.cjs');
|
|
@@ -260,7 +260,7 @@ var _chunkWZW7C7TFcjs = require('./chunk-WZW7C7TF.cjs');
|
|
|
260
260
|
|
|
261
261
|
|
|
262
262
|
|
|
263
|
-
var
|
|
263
|
+
var _chunkGBEUGDZGcjs = require('./chunk-GBEUGDZG.cjs');
|
|
264
264
|
|
|
265
265
|
|
|
266
266
|
var _chunkFCUTPPX5cjs = require('./chunk-FCUTPPX5.cjs');
|
|
@@ -346,7 +346,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
346
346
|
var useTheme = _nextthemes.useTheme;
|
|
347
347
|
function useThemeToggle() {
|
|
348
348
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
349
|
-
const mounted =
|
|
349
|
+
const mounted = _chunkBGSBHH4Xcjs.useIsHydrated.call(void 0, );
|
|
350
350
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
351
351
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
352
352
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -420,7 +420,7 @@ var AllowedDomainsInput = _react.forwardRef.call(void 0,
|
|
|
420
420
|
value.map((domain, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
421
421
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN6HNK25Acjs.Input, { value: domain, disabled: true, className: "flex-1 rounded-[6px] border-ods-border bg-ods-card" }),
|
|
422
422
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
423
|
-
|
|
423
|
+
_chunkGBEUGDZGcjs.Button,
|
|
424
424
|
{
|
|
425
425
|
type: "button",
|
|
426
426
|
variant: "transparent",
|
|
@@ -623,7 +623,7 @@ function TruncateText({
|
|
|
623
623
|
const { ref, isTruncated } = _chunkTLLJIGTPcjs.useIsTruncated.call(void 0, children, { multiline: isMultiLine });
|
|
624
624
|
const clampClass = isMultiLine ? LINE_CLAMP_CLASS[lines] : "truncate block";
|
|
625
625
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
626
|
-
|
|
626
|
+
_chunkBGSBHH4Xcjs.FloatingTooltip,
|
|
627
627
|
{
|
|
628
628
|
content: _nullishCoalesce(tooltip, () => ( children)),
|
|
629
629
|
side,
|
|
@@ -930,7 +930,7 @@ function AutocompleteInner(props, ref) {
|
|
|
930
930
|
),
|
|
931
931
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: middleRef, className: "flex min-w-0 flex-1 items-center gap-2 overflow-hidden px-2", children: [
|
|
932
932
|
multiple && visibleTags.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
933
|
-
|
|
933
|
+
_chunkBGSBHH4Xcjs.Tag,
|
|
934
934
|
{
|
|
935
935
|
variant: "outline",
|
|
936
936
|
labelClassName: "max-w-[90px] truncate",
|
|
@@ -1144,7 +1144,7 @@ function AutocompleteInner(props, ref) {
|
|
|
1144
1144
|
"aria-hidden": "true",
|
|
1145
1145
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
1146
1146
|
children: selectedOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1147
|
-
|
|
1147
|
+
_chunkBGSBHH4Xcjs.Tag,
|
|
1148
1148
|
{
|
|
1149
1149
|
variant: "outline",
|
|
1150
1150
|
labelClassName: "max-w-[90px] truncate",
|
|
@@ -1472,7 +1472,7 @@ var formatDateRange = (range, formatFn) => {
|
|
|
1472
1472
|
};
|
|
1473
1473
|
function CalendarNavButton({ direction, onClick, disabled, "aria-label": ariaLabel }) {
|
|
1474
1474
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1475
|
-
|
|
1475
|
+
_chunkGBEUGDZGcjs.Button,
|
|
1476
1476
|
{
|
|
1477
1477
|
type: "button",
|
|
1478
1478
|
variant: "outline",
|
|
@@ -2358,7 +2358,7 @@ function DateFilterMenu({
|
|
|
2358
2358
|
};
|
|
2359
2359
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Popover.Root, { open, onOpenChange: handleOpenChange, children: [
|
|
2360
2360
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Popover.Trigger, { asChild: true, children: _nullishCoalesce(trigger, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2361
|
-
|
|
2361
|
+
_chunkGBEUGDZGcjs.Button,
|
|
2362
2362
|
{
|
|
2363
2363
|
type: "button",
|
|
2364
2364
|
variant: "outline",
|
|
@@ -2399,8 +2399,8 @@ function DateFilterMenu({
|
|
|
2399
2399
|
}
|
|
2400
2400
|
),
|
|
2401
2401
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-stretch gap-4", children: [
|
|
2402
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2403
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2402
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { type: "button", variant: "outline", fullWidth: true, onClick: hasChanges ? handleReset : handleClose, children: hasChanges ? "Reset" : "Close" }),
|
|
2403
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { type: "button", variant: "accent", fullWidth: true, onClick: handleApply, children: "Apply" })
|
|
2404
2404
|
] })
|
|
2405
2405
|
]
|
|
2406
2406
|
}
|
|
@@ -2534,7 +2534,7 @@ function InfoHint({ children, label, side = "top", className }) {
|
|
|
2534
2534
|
const describedById = _react.useId.call(void 0, );
|
|
2535
2535
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, "inline-flex shrink-0 items-center", className), children: [
|
|
2536
2536
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2537
|
-
|
|
2537
|
+
_chunkBGSBHH4Xcjs.FloatingTooltip,
|
|
2538
2538
|
{
|
|
2539
2539
|
content: children,
|
|
2540
2540
|
side,
|
|
@@ -2542,7 +2542,7 @@ function InfoHint({ children, label, side = "top", className }) {
|
|
|
2542
2542
|
triggerClassName: "inline-flex shrink-0 items-center",
|
|
2543
2543
|
className: "text-h6",
|
|
2544
2544
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2545
|
-
|
|
2545
|
+
_chunkGBEUGDZGcjs.Button,
|
|
2546
2546
|
{
|
|
2547
2547
|
type: "button",
|
|
2548
2548
|
variant: "transparent",
|
|
@@ -2628,7 +2628,7 @@ function Value2({ value, depth }) {
|
|
|
2628
2628
|
}
|
|
2629
2629
|
if (typeof value === "string") {
|
|
2630
2630
|
if (ISO_DATE.test(value)) {
|
|
2631
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children:
|
|
2631
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children: _chunkBGSBHH4Xcjs.formatRelativeTime.call(void 0, value) });
|
|
2632
2632
|
}
|
|
2633
2633
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-pre-wrap text-ods-text-primary", children: value });
|
|
2634
2634
|
}
|
|
@@ -3023,7 +3023,7 @@ function CompactAssigneeDropdown({
|
|
|
3023
3023
|
value: o.value,
|
|
3024
3024
|
label: o.label,
|
|
3025
3025
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3026
|
-
|
|
3026
|
+
_chunk2NRLRRMRcjs.SquareAvatar,
|
|
3027
3027
|
{
|
|
3028
3028
|
src: o.imageUrl,
|
|
3029
3029
|
alt: o.label,
|
|
@@ -3058,7 +3058,7 @@ function CompactAssigneeDropdown({
|
|
|
3058
3058
|
className
|
|
3059
3059
|
),
|
|
3060
3060
|
children: currentAssignee.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeletedUserAvatar, { size: "sm", accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}` }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3061
|
-
|
|
3061
|
+
_chunk2NRLRRMRcjs.SquareAvatar,
|
|
3062
3062
|
{
|
|
3063
3063
|
src: currentAssignee.avatarSrc,
|
|
3064
3064
|
alt: currentAssignee.name,
|
|
@@ -3106,7 +3106,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
3106
3106
|
const opt = option;
|
|
3107
3107
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-sf)]", children: [
|
|
3108
3108
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3109
|
-
|
|
3109
|
+
_chunk2NRLRRMRcjs.SquareAvatar,
|
|
3110
3110
|
{
|
|
3111
3111
|
src: opt.imageUrl,
|
|
3112
3112
|
alt: opt.label,
|
|
@@ -3141,7 +3141,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
3141
3141
|
accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}`
|
|
3142
3142
|
}
|
|
3143
3143
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3144
|
-
|
|
3144
|
+
_chunk2NRLRRMRcjs.SquareAvatar,
|
|
3145
3145
|
{
|
|
3146
3146
|
src: currentAssignee.avatarSrc,
|
|
3147
3147
|
alt: currentAssignee.name,
|
|
@@ -3166,7 +3166,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
3166
3166
|
accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}`
|
|
3167
3167
|
}
|
|
3168
3168
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3169
|
-
|
|
3169
|
+
_chunk2NRLRRMRcjs.SquareAvatar,
|
|
3170
3170
|
{
|
|
3171
3171
|
src: currentAssignee.avatarSrc,
|
|
3172
3172
|
alt: currentAssignee.name,
|
|
@@ -3240,7 +3240,7 @@ function TextValue({ value }) {
|
|
|
3240
3240
|
}
|
|
3241
3241
|
) : onClick ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick, title: text, className: interactiveClass, children: text }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", title: text, children: text }),
|
|
3242
3242
|
hasImage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3243
|
-
|
|
3243
|
+
_chunk2NRLRRMRcjs.SquareAvatar,
|
|
3244
3244
|
{
|
|
3245
3245
|
src: imageSrc,
|
|
3246
3246
|
alt: text,
|
|
@@ -3260,7 +3260,7 @@ function RowValue({ value }) {
|
|
|
3260
3260
|
}
|
|
3261
3261
|
case "status": {
|
|
3262
3262
|
const { type: _type, ...props } = value;
|
|
3263
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3263
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.TicketStatusTag, { ...props });
|
|
3264
3264
|
}
|
|
3265
3265
|
case "custom":
|
|
3266
3266
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: value.content });
|
|
@@ -3482,7 +3482,7 @@ var NoData = _react2.default.forwardRef(function NoDataImpl({
|
|
|
3482
3482
|
const hasMessage = !!(icon || title || description);
|
|
3483
3483
|
const hasActions = !!_optionalChain([actions, 'optionalAccess', _54 => _54.length]);
|
|
3484
3484
|
const footerButton = _nullishCoalesce(button, () => ( (buttonLabel != null ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3485
|
-
|
|
3485
|
+
_chunkGBEUGDZGcjs.Button,
|
|
3486
3486
|
{
|
|
3487
3487
|
variant: "outline",
|
|
3488
3488
|
leftIcon: buttonIcon,
|
|
@@ -3802,7 +3802,7 @@ function TagSelectDropdown({
|
|
|
3802
3802
|
};
|
|
3803
3803
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, PopoverPrimitive3.Root, { open: isOpen, onOpenChange: setIsOpen, modal: false, children: [
|
|
3804
3804
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverPrimitive3.Trigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3805
|
-
|
|
3805
|
+
_chunkGBEUGDZGcjs.Button,
|
|
3806
3806
|
{
|
|
3807
3807
|
type: "button",
|
|
3808
3808
|
variant: "outline",
|
|
@@ -4013,7 +4013,7 @@ function TagsInput({
|
|
|
4013
4013
|
}
|
|
4014
4014
|
),
|
|
4015
4015
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4016
|
-
|
|
4016
|
+
_chunkGBEUGDZGcjs.Button,
|
|
4017
4017
|
{
|
|
4018
4018
|
type: "button",
|
|
4019
4019
|
variant: "outline",
|
|
@@ -4171,7 +4171,7 @@ function TagsManager({
|
|
|
4171
4171
|
}
|
|
4172
4172
|
),
|
|
4173
4173
|
selectedTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4174
|
-
|
|
4174
|
+
_chunkBGSBHH4Xcjs.Tag,
|
|
4175
4175
|
{
|
|
4176
4176
|
label: tag.name,
|
|
4177
4177
|
variant: "outline",
|
|
@@ -4272,7 +4272,7 @@ function TagsManager({
|
|
|
4272
4272
|
}
|
|
4273
4273
|
),
|
|
4274
4274
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4275
|
-
|
|
4275
|
+
_chunkGBEUGDZGcjs.Button,
|
|
4276
4276
|
{
|
|
4277
4277
|
type: "button",
|
|
4278
4278
|
variant: "transparent",
|
|
@@ -4282,7 +4282,7 @@ function TagsManager({
|
|
|
4282
4282
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckIcon, { size: 14, className: "text-ods-success" })
|
|
4283
4283
|
}
|
|
4284
4284
|
),
|
|
4285
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4285
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { type: "button", variant: "transparent", size: "icon", onClick: cancelEdit, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.XmarkIcon, { size: 14, className: "text-ods-text-secondary" }) })
|
|
4286
4286
|
]
|
|
4287
4287
|
},
|
|
4288
4288
|
tag.id
|
|
@@ -4313,7 +4313,7 @@ function TagsManager({
|
|
|
4313
4313
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckIcon, { className: "text-ods-accent", size: 20 }),
|
|
4314
4314
|
(onUpdateTag || onDeleteTag) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-0.5 opacity-0 transition-opacity group-hover/item:opacity-100", children: [
|
|
4315
4315
|
onUpdateTag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4316
|
-
|
|
4316
|
+
_chunkGBEUGDZGcjs.Button,
|
|
4317
4317
|
{
|
|
4318
4318
|
type: "button",
|
|
4319
4319
|
variant: "transparent",
|
|
@@ -4326,7 +4326,7 @@ function TagsManager({
|
|
|
4326
4326
|
}
|
|
4327
4327
|
),
|
|
4328
4328
|
onDeleteTag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4329
|
-
|
|
4329
|
+
_chunkGBEUGDZGcjs.Button,
|
|
4330
4330
|
{
|
|
4331
4331
|
type: "button",
|
|
4332
4332
|
variant: "transparent",
|
|
@@ -4590,13 +4590,13 @@ var AlertDialogTitle = _react.forwardRef.call(void 0, ({ className, ...props },
|
|
|
4590
4590
|
AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;
|
|
4591
4591
|
var AlertDialogDescription = _react.forwardRef.call(void 0, ({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDialogPrimitive.Description, { ref, className: _chunk23V5BSHDcjs.cn.call(void 0, "text-muted-foreground text-h6", className), ...props }));
|
|
4592
4592
|
AlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;
|
|
4593
|
-
var AlertDialogAction = _react.forwardRef.call(void 0, ({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDialogPrimitive.Action, { ref, className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
4593
|
+
var AlertDialogAction = _react.forwardRef.call(void 0, ({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDialogPrimitive.Action, { ref, className: _chunk23V5BSHDcjs.cn.call(void 0, _chunkGBEUGDZGcjs.buttonVariants.call(void 0, ), className), ...props }));
|
|
4594
4594
|
AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;
|
|
4595
4595
|
var AlertDialogCancel = _react.forwardRef.call(void 0, ({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4596
4596
|
AlertDialogPrimitive.Cancel,
|
|
4597
4597
|
{
|
|
4598
4598
|
ref,
|
|
4599
|
-
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
4599
|
+
className: _chunk23V5BSHDcjs.cn.call(void 0, _chunkGBEUGDZGcjs.buttonVariants.call(void 0, { variant: "outline" }), "mt-2 md:mt-0", className),
|
|
4600
4600
|
...props
|
|
4601
4601
|
}
|
|
4602
4602
|
));
|
|
@@ -4716,12 +4716,12 @@ function useConfirm() {
|
|
|
4716
4716
|
},
|
|
4717
4717
|
[]
|
|
4718
4718
|
);
|
|
4719
|
-
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4720
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4721
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4722
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4723
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4724
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4719
|
+
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBGSBHH4Xcjs.Modal, { isOpen: open, onClose: () => decide(false), children: [
|
|
4720
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.ModalTitle, { children: pending.title }) }),
|
|
4721
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.ModalContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: pending.body }) }),
|
|
4722
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBGSBHH4Xcjs.ModalFooter, { children: [
|
|
4723
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { variant: "outline", onClick: () => decide(false), children: "Cancel" }),
|
|
4724
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { variant: "destructive", onClick: () => decide(true), children: "Confirm" })
|
|
4725
4725
|
] })
|
|
4726
4726
|
] }) : null;
|
|
4727
4727
|
return { ask, dialog };
|
|
@@ -4782,9 +4782,9 @@ function AdminFormModal({
|
|
|
4782
4782
|
body: "Your edits have not been saved. Close and discard them?"
|
|
4783
4783
|
});
|
|
4784
4784
|
if (!isOpen) return null;
|
|
4785
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4786
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4787
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4785
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBGSBHH4Xcjs.Modal, { isOpen: true, onClose: guardedClose, size: effectiveSize, children: [
|
|
4786
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBGSBHH4Xcjs.ModalHeader, { children: [
|
|
4787
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.ModalTitle, { children: title }),
|
|
4788
4788
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
4789
4789
|
] }),
|
|
4790
4790
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -4809,7 +4809,7 @@ function AdminFormModal({
|
|
|
4809
4809
|
// a shrink-to-fit flex item pinned to the left of a 1400px panel).
|
|
4810
4810
|
// The placeholder owns its own layout and mirrors the column count so
|
|
4811
4811
|
// the modal doesn't visibly re-flow when the entity lands.
|
|
4812
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4812
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.ModalContent, { children: loadingContent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-busy": "true", children: loadingContent }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4813
4813
|
"div",
|
|
4814
4814
|
{
|
|
4815
4815
|
"aria-busy": "true",
|
|
@@ -4830,20 +4830,20 @@ function AdminFormModal({
|
|
|
4830
4830
|
]
|
|
4831
4831
|
}
|
|
4832
4832
|
) })
|
|
4833
|
-
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4833
|
+
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.ModalTwoColumn, { left: leftColumn, right: rightColumn }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.ModalContent, { className: contentClassName, children }),
|
|
4834
4834
|
error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { role: "alert", className: "shrink-0 text-ods-error text-h6", children: error })
|
|
4835
4835
|
]
|
|
4836
4836
|
}
|
|
4837
4837
|
),
|
|
4838
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4838
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.ModalFooter, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between gap-[var(--spacing-system-xsf)]", children: [
|
|
4839
4839
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: footerExtras }),
|
|
4840
4840
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
4841
4841
|
footerStatus,
|
|
4842
4842
|
dirty && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UnsavedChangesChip, { detail: dirtyDetail }),
|
|
4843
4843
|
footerActions,
|
|
4844
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4844
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { variant: "outline", size: "small-legacy", onClick: guardedClose, disabled: saving, children: "Cancel" }),
|
|
4845
4845
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4846
|
-
|
|
4846
|
+
_chunkGBEUGDZGcjs.Button,
|
|
4847
4847
|
{
|
|
4848
4848
|
size: "small-legacy",
|
|
4849
4849
|
type: "submit",
|
|
@@ -5758,7 +5758,7 @@ function FadePreview({
|
|
|
5758
5758
|
}
|
|
5759
5759
|
),
|
|
5760
5760
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5761
|
-
|
|
5761
|
+
_chunkGBEUGDZGcjs.Button,
|
|
5762
5762
|
{
|
|
5763
5763
|
type: "button",
|
|
5764
5764
|
variant: "link",
|
|
@@ -6063,7 +6063,7 @@ function EmbedViewerFrame({
|
|
|
6063
6063
|
fullscreenControl && src ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xsf)] sm:flex-row sm:items-center", children: [
|
|
6064
6064
|
actions,
|
|
6065
6065
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6066
|
-
|
|
6066
|
+
_chunkGBEUGDZGcjs.Button,
|
|
6067
6067
|
{
|
|
6068
6068
|
variant: "outline",
|
|
6069
6069
|
size: "small-legacy",
|
|
@@ -6137,7 +6137,7 @@ function ClaudeEmbed({ url, kind = "artifact", title, height, loading = "lazy" }
|
|
|
6137
6137
|
titleVariant: "h6",
|
|
6138
6138
|
isLoading: isProbing,
|
|
6139
6139
|
actions: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6140
|
-
|
|
6140
|
+
_chunkGBEUGDZGcjs.Button,
|
|
6141
6141
|
{
|
|
6142
6142
|
variant: "outline",
|
|
6143
6143
|
size: "small-legacy",
|
|
@@ -6227,7 +6227,7 @@ function FigmaEmbed({ url, title, height, loading = "lazy" }) {
|
|
|
6227
6227
|
actions: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2 sm:flex-row sm:items-center", children: [
|
|
6228
6228
|
isSlides && embedSrc && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SlidesViewToggle, { view, onChange: setView }),
|
|
6229
6229
|
originalUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6230
|
-
|
|
6230
|
+
_chunkGBEUGDZGcjs.Button,
|
|
6231
6231
|
{
|
|
6232
6232
|
variant: "outline",
|
|
6233
6233
|
size: "small-legacy",
|
|
@@ -6981,7 +6981,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
6981
6981
|
};
|
|
6982
6982
|
const displayImageSrc = (url) => transformImageSrc ? transformImageSrc(url) : url;
|
|
6983
6983
|
const renderVideo = (item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6984
|
-
|
|
6984
|
+
_chunkBGSBHH4Xcjs.Video,
|
|
6985
6985
|
{
|
|
6986
6986
|
url: item.src,
|
|
6987
6987
|
poster: item.poster ? displayImageSrc(item.poster) : void 0,
|
|
@@ -7085,7 +7085,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
7085
7085
|
renderMainMedia(currentItem, currentIndex),
|
|
7086
7086
|
showArrows && media.length > 1 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
7087
7087
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7088
|
-
|
|
7088
|
+
_chunkGBEUGDZGcjs.Button,
|
|
7089
7089
|
{
|
|
7090
7090
|
variant: "transparent",
|
|
7091
7091
|
onClick: prevSlide,
|
|
@@ -7095,7 +7095,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
7095
7095
|
}
|
|
7096
7096
|
),
|
|
7097
7097
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7098
|
-
|
|
7098
|
+
_chunkGBEUGDZGcjs.Button,
|
|
7099
7099
|
{
|
|
7100
7100
|
variant: "transparent",
|
|
7101
7101
|
onClick: nextSlide,
|
|
@@ -7111,7 +7111,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
7111
7111
|
(media.length > 1 || reserveDotRow) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-6 items-center gap-[var(--spacing-system-xs)]", role: "group", "aria-label": "Choose slide", children: media.length > 1 && media.map((item, index) => {
|
|
7112
7112
|
const isActive = index === currentIndex;
|
|
7113
7113
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7114
|
-
|
|
7114
|
+
_chunkGBEUGDZGcjs.Button,
|
|
7115
7115
|
{
|
|
7116
7116
|
variant: "transparent",
|
|
7117
7117
|
"aria-current": isActive ? "true" : void 0,
|
|
@@ -7413,7 +7413,7 @@ function RedditEmbedClient({ url, maxWidth = 700 }) {
|
|
|
7413
7413
|
width: m.width,
|
|
7414
7414
|
height: m.height
|
|
7415
7415
|
}));
|
|
7416
|
-
const formatNumber2 =
|
|
7416
|
+
const formatNumber2 = _chunk2NRLRRMRcjs.formatLargeNumber;
|
|
7417
7417
|
const truncateText = (text, maxLength = 600) => {
|
|
7418
7418
|
if (text.length <= maxLength) return text;
|
|
7419
7419
|
return text.slice(0, maxLength) + "...";
|
|
@@ -7705,7 +7705,7 @@ function buildRichEmbedOverrides({
|
|
|
7705
7705
|
ogEndpointPath,
|
|
7706
7706
|
textSizes
|
|
7707
7707
|
}) {
|
|
7708
|
-
const standard =
|
|
7708
|
+
const standard = _chunkBGSBHH4Xcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7709
7709
|
return {
|
|
7710
7710
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7711
7711
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7715,7 +7715,7 @@ function buildRichEmbedOverrides({
|
|
|
7715
7715
|
const language = match ? match[1] : "";
|
|
7716
7716
|
const fenceText = () => String(children).replace(/\n$/, "").trim();
|
|
7717
7717
|
if (language === "youtube-embed") {
|
|
7718
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7718
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.Video, { kind: "youtube", url: fenceText() });
|
|
7719
7719
|
}
|
|
7720
7720
|
if (language === "reddit-embed") {
|
|
7721
7721
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: fenceText() });
|
|
@@ -7756,7 +7756,7 @@ function buildRichEmbedOverrides({
|
|
|
7756
7756
|
"data-figma-url": figmaUrl
|
|
7757
7757
|
} = divProps;
|
|
7758
7758
|
if (className === "youtube-embed" && videoId) {
|
|
7759
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7759
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.Video, { kind: "youtube", url: videoId });
|
|
7760
7760
|
}
|
|
7761
7761
|
if (className === "reddit-embed" && postUrl) {
|
|
7762
7762
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: postUrl });
|
|
@@ -7841,14 +7841,14 @@ function buildRichEmbedOverrides({
|
|
|
7841
7841
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7842
7842
|
// elsewhere). Guard against empty `![]()`.
|
|
7843
7843
|
img: ({ src, alt }) => {
|
|
7844
|
-
if (!
|
|
7844
|
+
if (!_chunkBGSBHH4Xcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7845
7845
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7846
7846
|
},
|
|
7847
7847
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7848
7848
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7849
7849
|
video: ({ src, poster, className }) => {
|
|
7850
|
-
if (!
|
|
7851
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `overflow-hidden ${className || "my-8 w-full rounded-lg"}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7850
|
+
if (!_chunkBGSBHH4Xcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7851
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `overflow-hidden ${className || "my-8 w-full rounded-lg"}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
7852
7852
|
}
|
|
7853
7853
|
};
|
|
7854
7854
|
}
|
|
@@ -8089,13 +8089,13 @@ var RichMarkdownInner = ({
|
|
|
8089
8089
|
},
|
|
8090
8090
|
[resolveLinkEndpointUrl, resolveSource]
|
|
8091
8091
|
);
|
|
8092
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
8092
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkBGSBHH4Xcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
8093
8093
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
8094
8094
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
8095
8095
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
8096
8096
|
);
|
|
8097
8097
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8098
|
-
|
|
8098
|
+
_chunkBGSBHH4Xcjs.MarkdownEngine,
|
|
8099
8099
|
{
|
|
8100
8100
|
content,
|
|
8101
8101
|
className,
|
|
@@ -8117,7 +8117,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
8117
8117
|
className = "",
|
|
8118
8118
|
sectionIds,
|
|
8119
8119
|
onInternalLinkClick,
|
|
8120
|
-
brokenLinks =
|
|
8120
|
+
brokenLinks = _chunkBGSBHH4Xcjs.NO_BROKEN_LINKS,
|
|
8121
8121
|
currentPath,
|
|
8122
8122
|
resolveSource = "openframe-docs",
|
|
8123
8123
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -8441,7 +8441,7 @@ function ErrorState({
|
|
|
8441
8441
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk23V5BSHDcjs.cn.call(void 0, "text-h6", styles.text), children: message }),
|
|
8442
8442
|
(showRetry || showHome) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-3 flex gap-2", children: [
|
|
8443
8443
|
showRetry && onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8444
|
-
|
|
8444
|
+
_chunkGBEUGDZGcjs.Button,
|
|
8445
8445
|
{
|
|
8446
8446
|
onClick: onRetry,
|
|
8447
8447
|
variant: "outline",
|
|
@@ -8452,7 +8452,7 @@ function ErrorState({
|
|
|
8452
8452
|
}
|
|
8453
8453
|
),
|
|
8454
8454
|
showHome && onHome && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8455
|
-
|
|
8455
|
+
_chunkGBEUGDZGcjs.Button,
|
|
8456
8456
|
{
|
|
8457
8457
|
onClick: onHome,
|
|
8458
8458
|
variant: "outline",
|
|
@@ -8690,7 +8690,7 @@ function FilterModal({
|
|
|
8690
8690
|
const dateDefaultSort = _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _167 => _167.defaultSort]), () => ( "desc"));
|
|
8691
8691
|
const [draftDateSort, setDraftDateSort] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _168 => _168.sort]), () => ( dateDefaultSort)));
|
|
8692
8692
|
const [draftDateRange, setDraftDateRange] = _react.useState.call(void 0, _optionalChain([dateFilter, 'optionalAccess', _169 => _169.range]));
|
|
8693
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
8693
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkBGSBHH4Xcjs.useScrollFade.call(void 0, );
|
|
8694
8694
|
const seedKey = `${JSON.stringify(currentFilters)}|${JSON.stringify(_nullishCoalesce(selectedTags, () => ( [])))}`;
|
|
8695
8695
|
const seedSourceRef = _react.useRef.call(void 0, { currentFilters, selectedTags, dateFilter, dateDefaultSort });
|
|
8696
8696
|
_react.useEffect.call(void 0, () => {
|
|
@@ -8735,10 +8735,10 @@ function FilterModal({
|
|
|
8735
8735
|
const hasFilterGroups = filterGroups.length > 0;
|
|
8736
8736
|
const hasTagFilter = !!tagFilterKeys && tagFilterKeys.length > 0 && !!onTagsChange;
|
|
8737
8737
|
const isEmpty = !isLoading && !hasSort && !hasFilterGroups && !hasTagFilter && !dateFilter;
|
|
8738
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8739
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8738
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBGSBHH4Xcjs.Modal, { isOpen, onClose, className: _chunk23V5BSHDcjs.cn.call(void 0, "max-h-[90vh] max-w-none", className), children: [
|
|
8739
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.ModalTitle, { children: title }) }),
|
|
8740
8740
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8741
|
-
|
|
8741
|
+
_chunkBGSBHH4Xcjs.ModalContent,
|
|
8742
8742
|
{
|
|
8743
8743
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
8744
8744
|
"flex min-h-0 flex-1 flex-col",
|
|
@@ -8830,14 +8830,14 @@ function FilterModal({
|
|
|
8830
8830
|
] })
|
|
8831
8831
|
}
|
|
8832
8832
|
),
|
|
8833
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8834
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8833
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
8834
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
8835
8835
|
] })
|
|
8836
8836
|
}
|
|
8837
8837
|
),
|
|
8838
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8839
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8840
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8838
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBGSBHH4Xcjs.ModalFooter, { children: [
|
|
8839
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { variant: "outline", className: "h-11 flex-1", onClick: handleReset, children: resetButtonText }),
|
|
8840
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { variant: "accent", className: "h-11 flex-1", onClick: handleApply, children: applyButtonText })
|
|
8841
8841
|
] })
|
|
8842
8842
|
] });
|
|
8843
8843
|
}
|
|
@@ -8879,15 +8879,15 @@ function actionToMenuItems(action, idx) {
|
|
|
8879
8879
|
function renderActionButton(action, opts = {}) {
|
|
8880
8880
|
const button = renderRawActionButton(action, opts);
|
|
8881
8881
|
if (!action.tooltip) return button;
|
|
8882
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8883
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8884
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8882
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBGSBHH4Xcjs.Tooltip, { children: [
|
|
8883
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.TooltipTrigger, { asChild: true, children: button }),
|
|
8884
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.TooltipContent, { children: action.tooltip })
|
|
8885
8885
|
] }) });
|
|
8886
8886
|
}
|
|
8887
8887
|
function renderRawActionButton(action, opts = {}) {
|
|
8888
8888
|
if (action.iconAction) {
|
|
8889
8889
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8890
|
-
|
|
8890
|
+
_chunkGBEUGDZGcjs.SplitButton,
|
|
8891
8891
|
{
|
|
8892
8892
|
variant: _nullishCoalesce(action.variant, () => ( void 0)),
|
|
8893
8893
|
href: action.href,
|
|
@@ -8905,11 +8905,11 @@ function renderRawActionButton(action, opts = {}) {
|
|
|
8905
8905
|
}
|
|
8906
8906
|
if (action.submenu && action.submenu.length > 0) {
|
|
8907
8907
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8908
|
-
|
|
8908
|
+
_chunkBGSBHH4Xcjs.ActionsMenuDropdown,
|
|
8909
8909
|
{
|
|
8910
8910
|
groups: [{ items: action.submenu }],
|
|
8911
8911
|
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8912
|
-
|
|
8912
|
+
_chunkGBEUGDZGcjs.Button,
|
|
8913
8913
|
{
|
|
8914
8914
|
variant: "outline",
|
|
8915
8915
|
disabled: action.disabled,
|
|
@@ -8927,7 +8927,7 @@ function renderRawActionButton(action, opts = {}) {
|
|
|
8927
8927
|
if (isIconOnly) {
|
|
8928
8928
|
const iconNode = action.iconOnlyOnDesktop ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex [&_svg]:!text-ods-text-primary", children: action.icon }) : action.icon;
|
|
8929
8929
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8930
|
-
|
|
8930
|
+
_chunkGBEUGDZGcjs.Button,
|
|
8931
8931
|
{
|
|
8932
8932
|
variant: action.variant,
|
|
8933
8933
|
size: "icon",
|
|
@@ -8943,7 +8943,7 @@ function renderRawActionButton(action, opts = {}) {
|
|
|
8943
8943
|
);
|
|
8944
8944
|
}
|
|
8945
8945
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8946
|
-
|
|
8946
|
+
_chunkGBEUGDZGcjs.Button,
|
|
8947
8947
|
{
|
|
8948
8948
|
variant: action.variant,
|
|
8949
8949
|
href: action.href,
|
|
@@ -9040,10 +9040,10 @@ function IconButtonsVariant({
|
|
|
9040
9040
|
selector,
|
|
9041
9041
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
9042
9042
|
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton(action) }, actionKey(action, idx))),
|
|
9043
|
-
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9043
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.ActionsMenuDropdown, { groups: menuActions })
|
|
9044
9044
|
] })
|
|
9045
9045
|
] }),
|
|
9046
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex md:hidden", className), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileTriggerSkeleton, {}) : useSingleActionMobile && singleAction ? renderActionButton(singleAction, { iconOnly: true }) : hasMobileMenuItems ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9046
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex md:hidden", className), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileTriggerSkeleton, {}) : useSingleActionMobile && singleAction ? renderActionButton(singleAction, { iconOnly: true }) : hasMobileMenuItems ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.ActionsMenuDropdown, { groups: mobileMenuGroups }) : null })
|
|
9047
9047
|
] });
|
|
9048
9048
|
}
|
|
9049
9049
|
function PrimaryButtonsVariant({
|
|
@@ -9081,7 +9081,7 @@ function MenuPrimaryVariant({
|
|
|
9081
9081
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "hidden items-center md:flex", ACTIONS_GAP, className), children: [
|
|
9082
9082
|
selector,
|
|
9083
9083
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
9084
|
-
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9084
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.ActionsMenuDropdown, { groups: menuActions }),
|
|
9085
9085
|
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton({ ...action, variant: action.variant || "accent" }) }, `desktop-${actionKey(action, idx)}`))
|
|
9086
9086
|
] })
|
|
9087
9087
|
] }),
|
|
@@ -9089,7 +9089,7 @@ function MenuPrimaryVariant({
|
|
|
9089
9089
|
// The selector rides into the menu as its header row: on mobile the
|
|
9090
9090
|
// title row has no room for it, and hiding it entirely (what
|
|
9091
9091
|
// `icon-buttons` does) would leave no way to switch views at all.
|
|
9092
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9092
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.ActionsMenuDropdown, { groups: mobileMenuGroups, header: selector })
|
|
9093
9093
|
) : null })
|
|
9094
9094
|
] });
|
|
9095
9095
|
}
|
|
@@ -9342,7 +9342,7 @@ function ListPageLayout({
|
|
|
9342
9342
|
}
|
|
9343
9343
|
),
|
|
9344
9344
|
hasMobileFilter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9345
|
-
|
|
9345
|
+
_chunkGBEUGDZGcjs.Button,
|
|
9346
9346
|
{
|
|
9347
9347
|
variant: "outline",
|
|
9348
9348
|
size: "icon",
|
|
@@ -9384,7 +9384,7 @@ function EntityImage({ src, alt, fallbackText, sizeClassName, className }) {
|
|
|
9384
9384
|
const [failedSrc, setFailedSrc] = _react2.default.useState(null);
|
|
9385
9385
|
const imageFailed = resolvedSrc !== void 0 && failedSrc === resolvedSrc;
|
|
9386
9386
|
const showFallback = imageFailed || !resolvedSrc;
|
|
9387
|
-
const initials =
|
|
9387
|
+
const initials = _chunk2NRLRRMRcjs.personInitials.call(void 0, _nullishCoalesce(fallbackText, () => ( alt)));
|
|
9388
9388
|
if (showFallback) {
|
|
9389
9389
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9390
9390
|
"div",
|
|
@@ -9495,7 +9495,7 @@ function TitleBlock({
|
|
|
9495
9495
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
9496
9496
|
(loading || title) && (titleAdornment ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-m)]", children: [
|
|
9497
9497
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9498
|
-
|
|
9498
|
+
_chunkBGSBHH4Xcjs.FloatingTooltip,
|
|
9499
9499
|
{
|
|
9500
9500
|
content: title,
|
|
9501
9501
|
side: "bottom",
|
|
@@ -9512,12 +9512,12 @@ function TitleBlock({
|
|
|
9512
9512
|
}
|
|
9513
9513
|
),
|
|
9514
9514
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: titleAdornment })
|
|
9515
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9515
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.FloatingTooltip, { content: title, side: "bottom", disabled: !titleTruncated, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { ref: titleRef, className: _chunk23V5BSHDcjs.cn.call(void 0, titleClass, "text-ods-text-primary", titleOverflowClass), children: titleNode }) })),
|
|
9516
9516
|
hasSubtitleRow && /* The NBSP is a pure spacer, reached only in `'always'` mode: an
|
|
9517
9517
|
empty `p` collapses to zero height (its only content would be
|
|
9518
9518
|
collapsible whitespace), which is exactly the shift that mode
|
|
9519
9519
|
exists to prevent. Hidden from AT — it carries no meaning. */
|
|
9520
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9520
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.FloatingTooltip, { content: subtitle, side: "bottom", disabled: !subtitleTruncated, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9521
9521
|
"p",
|
|
9522
9522
|
{
|
|
9523
9523
|
ref: subtitleRef,
|
|
@@ -9528,7 +9528,7 @@ function TitleBlock({
|
|
|
9528
9528
|
) })
|
|
9529
9529
|
] })
|
|
9530
9530
|
] }) : title && (titleAdornment ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-m)]", children: [
|
|
9531
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9531
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.FloatingTooltip, { content: title, side: "bottom", disabled: !titleTruncated, triggerClassName: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { ref: titleRef, className: _chunk23V5BSHDcjs.cn.call(void 0, titleClass, "min-w-0 text-ods-text-primary", titleOverflowClass), children: title }) }),
|
|
9532
9532
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: titleAdornment })
|
|
9533
9533
|
] }) : (
|
|
9534
9534
|
/* This branch never had the single-line clamp, so text already
|
|
@@ -10946,7 +10946,7 @@ function lastPathSegment(url) {
|
|
|
10946
10946
|
function makeComposeContentUrl(opts) {
|
|
10947
10947
|
const suffixes = _nullishCoalesce(opts.suffixes, () => ( DEFAULT_CONTENT_SUFFIXES));
|
|
10948
10948
|
return ({ type: rawType, identifier, slug: slugHint, externalUrl, targetPlatform, platforms }) => {
|
|
10949
|
-
const type =
|
|
10949
|
+
const type = _chunk2NRLRRMRcjs.canonicalContentRefType.call(void 0, rawType);
|
|
10950
10950
|
const override = opts.overrides && Object.prototype.hasOwnProperty.call(opts.overrides, type) ? opts.overrides[type] : void 0;
|
|
10951
10951
|
if (override) return { ...override(identifier), hostOverride: true };
|
|
10952
10952
|
const seg = _nullishCoalesce((Object.prototype.hasOwnProperty.call(suffixes, type) ? suffixes[type] : void 0), () => ( type));
|
|
@@ -11133,7 +11133,7 @@ function extractSections(markdown, options = {}) {
|
|
|
11133
11133
|
if (heading.level > opts.maxLevel) continue;
|
|
11134
11134
|
let title = heading.text;
|
|
11135
11135
|
if (opts.stripFormattingMarkers) {
|
|
11136
|
-
title =
|
|
11136
|
+
title = _chunkBGSBHH4Xcjs.stripInlineMarkdown.call(void 0, title).trim();
|
|
11137
11137
|
}
|
|
11138
11138
|
const baseId = _chunkTLLJIGTPcjs.slugifyHeadingBase.call(void 0, opts.removeEmojis ? _chunkTLLJIGTPcjs.stripHeadingEmojis.call(void 0, title) : title);
|
|
11139
11139
|
const cleanId = baseId || `section-${sections.length + 1}`;
|
|
@@ -11423,7 +11423,7 @@ function BrandAssociationCard({ item, className = "" }) {
|
|
|
11423
11423
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-20 w-20 items-center justify-center", children: renderIcon() }),
|
|
11424
11424
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-ods-text-primary text-h2", children: item.title }),
|
|
11425
11425
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: item.description }),
|
|
11426
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
11426
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkGBEUGDZGcjs.Button, { variant: "outline", href: item.link, openInNewTab: true, rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4" }), children: [
|
|
11427
11427
|
"Browse ",
|
|
11428
11428
|
item.buttonText
|
|
11429
11429
|
] })
|
|
@@ -11706,7 +11706,7 @@ function DashboardInfoCard({
|
|
|
11706
11706
|
const asTag = percentageDisplay === "tag" || percentageDisplay === "auto" && (progressVariant === "warning" || progressVariant === "error");
|
|
11707
11707
|
if (asTag) {
|
|
11708
11708
|
const tagVariant = progressVariant === "warning" || progressVariant === "error" ? progressVariant : progressVariant === "success" ? "success" : "grey";
|
|
11709
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11709
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.Tag, { variant: tagVariant, label: `${percentage}%` });
|
|
11710
11710
|
}
|
|
11711
11711
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: [
|
|
11712
11712
|
"(",
|
|
@@ -11760,7 +11760,7 @@ function DashboardInfoCard({
|
|
|
11760
11760
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk23V5BSHDcjs.cn.call(void 0, "truncate text-ods-text-primary text-h3 md:text-h2", valueClassName), children: formattedValue }),
|
|
11761
11761
|
subValue && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: subValue }),
|
|
11762
11762
|
renderPercentage(),
|
|
11763
|
-
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11763
|
+
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.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, _chunkYRTMAXLEcjs.QuestionCircleIcon, { size: 20 }) }) })
|
|
11764
11764
|
] })
|
|
11765
11765
|
] }),
|
|
11766
11766
|
renderProgress()
|
|
@@ -11943,7 +11943,7 @@ function DeviceCard({
|
|
|
11943
11943
|
] }),
|
|
11944
11944
|
(statusTag || device.lastSeen) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-2", children: [
|
|
11945
11945
|
statusTag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11946
|
-
|
|
11946
|
+
_chunkBGSBHH4Xcjs.Tag,
|
|
11947
11947
|
{
|
|
11948
11948
|
variant: statusTag.variant,
|
|
11949
11949
|
icon: statusTag.icon,
|
|
@@ -11957,7 +11957,7 @@ function DeviceCard({
|
|
|
11957
11957
|
formatLastSeen(device.lastSeen)
|
|
11958
11958
|
] })
|
|
11959
11959
|
] }),
|
|
11960
|
-
device.tags && device.tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-wrap items-center gap-2", children: device.tags.map((tag, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11960
|
+
device.tags && device.tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-wrap items-center gap-2", children: device.tags.map((tag, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.Tag, { variant: "outline", label: tag }, index)) })
|
|
11961
11961
|
]
|
|
11962
11962
|
}
|
|
11963
11963
|
);
|
|
@@ -12018,7 +12018,7 @@ function FeatureCardGrid({
|
|
|
12018
12018
|
if (allCardsHaveNoBorders) {
|
|
12019
12019
|
finalCardClassName = "bg-transparent p-0 overflow-visible border-0 shadow-none rounded-none";
|
|
12020
12020
|
}
|
|
12021
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12021
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.Card, { className: `${finalCardClassName} ${className}`, children: Array.from({ length: rows }, (_, rowIndex) => {
|
|
12022
12022
|
const startIndex = rowIndex * itemsPerRow;
|
|
12023
12023
|
const rowItems = items.slice(startIndex, startIndex + itemsPerRow);
|
|
12024
12024
|
const isLastRow = rowIndex === rows - 1;
|
|
@@ -12048,7 +12048,7 @@ function FeatureCardGrid({
|
|
|
12048
12048
|
item.icon && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between", children: [
|
|
12049
12049
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, item.icon, { size: 80, color: item.iconColor }),
|
|
12050
12050
|
item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12051
|
-
|
|
12051
|
+
_chunk2NRLRRMRcjs.StatusBadge,
|
|
12052
12052
|
{
|
|
12053
12053
|
text: item.badge.text,
|
|
12054
12054
|
variant: item.badge.variant || "card",
|
|
@@ -12057,7 +12057,7 @@ function FeatureCardGrid({
|
|
|
12057
12057
|
)
|
|
12058
12058
|
] }),
|
|
12059
12059
|
!item.icon && item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-start justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12060
|
-
|
|
12060
|
+
_chunk2NRLRRMRcjs.StatusBadge,
|
|
12061
12061
|
{
|
|
12062
12062
|
text: item.badge.text,
|
|
12063
12063
|
variant: item.badge.variant || "card",
|
|
@@ -12105,7 +12105,7 @@ function FeatureList({ items, className = "", iconBoxSize = 72 }) {
|
|
|
12105
12105
|
|
|
12106
12106
|
function SourceTooltip({ intro, sources, note, iconClassName, triggerAnchorProps }) {
|
|
12107
12107
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12108
|
-
|
|
12108
|
+
_chunkBGSBHH4Xcjs.FloatingTooltip,
|
|
12109
12109
|
{
|
|
12110
12110
|
as: "span",
|
|
12111
12111
|
side: "top",
|
|
@@ -12115,7 +12115,7 @@ function SourceTooltip({ intro, sources, note, iconClassName, triggerAnchorProps
|
|
|
12115
12115
|
intro && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-semibold text-ods-text-primary", children: intro }),
|
|
12116
12116
|
sources.map((s) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex flex-col gap-1", children: [
|
|
12117
12117
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
12118
|
-
|
|
12118
|
+
_chunkGBEUGDZGcjs.Button,
|
|
12119
12119
|
{
|
|
12120
12120
|
variant: "outline",
|
|
12121
12121
|
size: "compact",
|
|
@@ -12255,7 +12255,7 @@ function DropdownButton({
|
|
|
12255
12255
|
);
|
|
12256
12256
|
const resolvedAriaLabel = ariaLabel || (typeof label === "string" ? label : void 0);
|
|
12257
12257
|
const trigger = variant ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12258
|
-
|
|
12258
|
+
_chunkGBEUGDZGcjs.Button,
|
|
12259
12259
|
{
|
|
12260
12260
|
variant,
|
|
12261
12261
|
size,
|
|
@@ -12273,7 +12273,7 @@ function DropdownButton({
|
|
|
12273
12273
|
// divider, trailing glyph, one click target) — no bespoke <button> here, so
|
|
12274
12274
|
// the trigger can't drift from the house button chrome.
|
|
12275
12275
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12276
|
-
|
|
12276
|
+
_chunkGBEUGDZGcjs.Button,
|
|
12277
12277
|
{
|
|
12278
12278
|
type: "button",
|
|
12279
12279
|
variant: "outline",
|
|
@@ -12289,7 +12289,7 @@ function DropdownButton({
|
|
|
12289
12289
|
)
|
|
12290
12290
|
);
|
|
12291
12291
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12292
|
-
|
|
12292
|
+
_chunkBGSBHH4Xcjs.ActionsMenuDropdown,
|
|
12293
12293
|
{
|
|
12294
12294
|
groups: _nullishCoalesce(groups, () => ( [{ items: _nullishCoalesce(items, () => ( [])) }])),
|
|
12295
12295
|
open,
|
|
@@ -12320,7 +12320,7 @@ function MoreActionsMenu({
|
|
|
12320
12320
|
}) {
|
|
12321
12321
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCHIHYC7Qcjs.DropdownMenu, { open, onOpenChange, children: [
|
|
12322
12322
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.DropdownMenuTrigger, { asChild: true, children: trigger || /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12323
|
-
|
|
12323
|
+
_chunkGBEUGDZGcjs.Button,
|
|
12324
12324
|
{
|
|
12325
12325
|
variant: "outline",
|
|
12326
12326
|
size: "icon",
|
|
@@ -12527,7 +12527,7 @@ function ServiceCardRowItem({ row }) {
|
|
|
12527
12527
|
),
|
|
12528
12528
|
children: [
|
|
12529
12529
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12530
|
-
|
|
12530
|
+
_chunkBGSBHH4Xcjs.FloatingTooltip,
|
|
12531
12531
|
{
|
|
12532
12532
|
content: row.value,
|
|
12533
12533
|
side: "top",
|
|
@@ -12625,7 +12625,7 @@ function PersonCell({
|
|
|
12625
12625
|
const displayName = name || fallbackName;
|
|
12626
12626
|
const scale = PERSON_CELL_SIZE[size];
|
|
12627
12627
|
const row = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `group/person-cell flex min-w-0 items-center ${scale.gap}`, children: [
|
|
12628
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12628
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.SquareAvatar, { size: scale.avatar, src: _nullishCoalesce(avatarUrl, () => ( void 0)), alt: displayName, fallback: displayName }),
|
|
12629
12629
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
12630
12630
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12631
12631
|
TruncateText,
|
|
@@ -12640,7 +12640,7 @@ function PersonCell({
|
|
|
12640
12640
|
] });
|
|
12641
12641
|
if (!onClick) return row;
|
|
12642
12642
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12643
|
-
|
|
12643
|
+
_chunkGBEUGDZGcjs.Button,
|
|
12644
12644
|
{
|
|
12645
12645
|
variant: "transparent",
|
|
12646
12646
|
onClick,
|
|
@@ -12665,9 +12665,9 @@ function PeopleCell({ people, fallbackName = "Unassigned" }) {
|
|
|
12665
12665
|
);
|
|
12666
12666
|
}
|
|
12667
12667
|
const fullNames = people.map((p) => p.name || "Unknown").join(", ");
|
|
12668
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12668
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.FloatingTooltip, { content: fullNames, triggerClassName: "min-w-0 max-w-full", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-3", children: [
|
|
12669
12669
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12670
|
-
|
|
12670
|
+
_chunk2NRLRRMRcjs.AvatarStack,
|
|
12671
12671
|
{
|
|
12672
12672
|
size: "sm",
|
|
12673
12673
|
slots: PEOPLE_CELL_STACK_SLOTS,
|
|
@@ -12675,7 +12675,7 @@ function PeopleCell({ people, fallbackName = "Unassigned" }) {
|
|
|
12675
12675
|
}
|
|
12676
12676
|
) }),
|
|
12677
12677
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "line-clamp-2 min-w-0 flex-1 break-words text-ods-text-primary text-h6", children: [
|
|
12678
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": true, children: people.map((p) =>
|
|
12678
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": true, children: people.map((p) => _chunk2NRLRRMRcjs.personFirstName.call(void 0, p.name, "Unknown")).join(" & ") }),
|
|
12679
12679
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", children: fullNames })
|
|
12680
12680
|
] })
|
|
12681
12681
|
] }) });
|
|
@@ -12727,9 +12727,9 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
12727
12727
|
return next;
|
|
12728
12728
|
});
|
|
12729
12729
|
};
|
|
12730
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12730
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBGSBHH4Xcjs.Tooltip, { open, onOpenChange: setOpen, children: [
|
|
12731
12731
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12732
|
-
|
|
12732
|
+
_chunkBGSBHH4Xcjs.TooltipTrigger,
|
|
12733
12733
|
{
|
|
12734
12734
|
asChild: true,
|
|
12735
12735
|
onPointerDown: (e) => {
|
|
@@ -12747,7 +12747,7 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
12747
12747
|
children
|
|
12748
12748
|
}
|
|
12749
12749
|
),
|
|
12750
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12750
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.TooltipContent, { side, className: "max-w-xs", children: content })
|
|
12751
12751
|
] }) });
|
|
12752
12752
|
}
|
|
12753
12753
|
|
|
@@ -12877,7 +12877,7 @@ function CursorPagination({
|
|
|
12877
12877
|
showInfo && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: displayText || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "\xA0" }) }),
|
|
12878
12878
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
12879
12879
|
onReset ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12880
|
-
|
|
12880
|
+
_chunkGBEUGDZGcjs.Button,
|
|
12881
12881
|
{
|
|
12882
12882
|
variant: "outline",
|
|
12883
12883
|
size: compact ? "small-legacy" : "default",
|
|
@@ -12889,7 +12889,7 @@ function CursorPagination({
|
|
|
12889
12889
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: compact ? "hidden md:inline" : "", children: resetButtonLabel })
|
|
12890
12890
|
}
|
|
12891
12891
|
) : hasPreviousPage !== void 0 && onPrevious && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12892
|
-
|
|
12892
|
+
_chunkGBEUGDZGcjs.Button,
|
|
12893
12893
|
{
|
|
12894
12894
|
variant: "outline",
|
|
12895
12895
|
size: compact ? "small-legacy" : "default",
|
|
@@ -12902,7 +12902,7 @@ function CursorPagination({
|
|
|
12902
12902
|
}
|
|
12903
12903
|
),
|
|
12904
12904
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12905
|
-
|
|
12905
|
+
_chunkGBEUGDZGcjs.Button,
|
|
12906
12906
|
{
|
|
12907
12907
|
variant: "outline",
|
|
12908
12908
|
size: compact ? "small-legacy" : "default",
|
|
@@ -12929,7 +12929,7 @@ function CursorPaginationSimple({
|
|
|
12929
12929
|
}) {
|
|
12930
12930
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex items-center gap-1", className), children: [
|
|
12931
12931
|
onReset ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12932
|
-
|
|
12932
|
+
_chunkGBEUGDZGcjs.Button,
|
|
12933
12933
|
{
|
|
12934
12934
|
variant: "transparent",
|
|
12935
12935
|
size: "icon",
|
|
@@ -12940,7 +12940,7 @@ function CursorPaginationSimple({
|
|
|
12940
12940
|
"aria-label": "First"
|
|
12941
12941
|
}
|
|
12942
12942
|
) : hasPreviousPage !== void 0 && onPrevious && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12943
|
-
|
|
12943
|
+
_chunkGBEUGDZGcjs.Button,
|
|
12944
12944
|
{
|
|
12945
12945
|
variant: "transparent",
|
|
12946
12946
|
size: "icon",
|
|
@@ -12952,7 +12952,7 @@ function CursorPaginationSimple({
|
|
|
12952
12952
|
}
|
|
12953
12953
|
),
|
|
12954
12954
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12955
|
-
|
|
12955
|
+
_chunkGBEUGDZGcjs.Button,
|
|
12956
12956
|
{
|
|
12957
12957
|
variant: "transparent",
|
|
12958
12958
|
size: "icon",
|
|
@@ -13636,7 +13636,7 @@ function injectSyntheticColumns(columns, rowActions, renderRowActions, rowHref,
|
|
|
13636
13636
|
width: _nullishCoalesce(actionsColumnWidth, () => ( "min-w-[100px] w-auto shrink-0 flex-none")),
|
|
13637
13637
|
align: "right",
|
|
13638
13638
|
renderCell: (item) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-auto flex items-center justify-end gap-2", "data-no-row-click": true, children: renderRowActions ? renderRowActions(item) : actions.map((action, actionIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13639
|
-
|
|
13639
|
+
_chunkGBEUGDZGcjs.Button,
|
|
13640
13640
|
{
|
|
13641
13641
|
variant: "outline",
|
|
13642
13642
|
onClick: (e) => {
|
|
@@ -13662,7 +13662,7 @@ function injectSyntheticColumns(columns, rowActions, renderRowActions, rowHref,
|
|
|
13662
13662
|
const href = rowHref(item);
|
|
13663
13663
|
if (!href) return null;
|
|
13664
13664
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-auto flex items-center justify-end", "data-no-row-click": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13665
|
-
|
|
13665
|
+
_chunkGBEUGDZGcjs.Button,
|
|
13666
13666
|
{
|
|
13667
13667
|
href,
|
|
13668
13668
|
prefetch: false,
|
|
@@ -13916,7 +13916,7 @@ function Table({
|
|
|
13916
13916
|
}
|
|
13917
13917
|
),
|
|
13918
13918
|
!infiniteScroll && pagePagination && !cursorPagination && data.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "mt-2 border-t border-ods-border pt-3", paginationClassName), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13919
|
-
|
|
13919
|
+
_chunkLCK7T2RMcjs.Pagination,
|
|
13920
13920
|
{
|
|
13921
13921
|
currentPage: pagePagination.currentPage,
|
|
13922
13922
|
totalPages: pagePagination.totalPages,
|
|
@@ -14002,9 +14002,9 @@ function TruncatedHeaderCell({ value, width }) {
|
|
|
14002
14002
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
14003
14003
|
}
|
|
14004
14004
|
}, []);
|
|
14005
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14006
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14007
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14005
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBGSBHH4Xcjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
14006
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.TooltipTrigger, { asChild: true, onMouseEnter: checkTruncation, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center", style: { width, height: 48 }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: textRef, className: "truncate text-ods-text-secondary text-h5", children: value }) }) }),
|
|
14007
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.TooltipContent, { side: "bottom", className: "max-w-xs break-words", children: value })
|
|
14008
14008
|
] }) });
|
|
14009
14009
|
}
|
|
14010
14010
|
|
|
@@ -14057,9 +14057,9 @@ function TruncatedCell({ value, className }) {
|
|
|
14057
14057
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
14058
14058
|
}
|
|
14059
14059
|
}, []);
|
|
14060
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14061
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14062
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14060
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBGSBHH4Xcjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
14061
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.TooltipTrigger, { asChild: true, onMouseEnter: checkTruncation, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { ref: textRef, className: _chunk23V5BSHDcjs.cn.call(void 0, "block truncate", className), children: value }) }),
|
|
14062
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.TooltipContent, { side: "top", className: "max-w-xs break-words", children: value })
|
|
14063
14063
|
] }) });
|
|
14064
14064
|
}
|
|
14065
14065
|
|
|
@@ -14181,7 +14181,7 @@ function QueryReportTable({
|
|
|
14181
14181
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-s)]", children: [
|
|
14182
14182
|
headerActions,
|
|
14183
14183
|
showExport && data.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14184
|
-
|
|
14184
|
+
_chunkGBEUGDZGcjs.Button,
|
|
14185
14185
|
{
|
|
14186
14186
|
className: "bg-ods-card max-md:hidden",
|
|
14187
14187
|
variant: "outline",
|
|
@@ -15271,7 +15271,7 @@ function SearchInput({
|
|
|
15271
15271
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex-shrink-0 text-ods-text-secondary transition-colors duration-200 group-has-[:focus]:text-ods-accent [&_svg]:size-4 md:[&_svg]:size-6", children: startAdornment !== void 0 ? startAdornment : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, {}) }),
|
|
15272
15272
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: middleRef, className: "flex min-w-0 flex-1 items-center gap-2 overflow-hidden", children: [
|
|
15273
15273
|
visibleChips.map((chip) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15274
|
-
|
|
15274
|
+
_chunkBGSBHH4Xcjs.Tag,
|
|
15275
15275
|
{
|
|
15276
15276
|
variant: chipVariantToTagVariant(chip.variant),
|
|
15277
15277
|
label: chip.label,
|
|
@@ -15387,7 +15387,7 @@ function SearchInput({
|
|
|
15387
15387
|
}
|
|
15388
15388
|
),
|
|
15389
15389
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: measureRef, "aria-hidden": "true", className: "pointer-events-none fixed -left-[9999px] top-0 flex gap-2", children: filterChips.map((chip) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15390
|
-
|
|
15390
|
+
_chunkBGSBHH4Xcjs.Tag,
|
|
15391
15391
|
{
|
|
15392
15392
|
variant: chipVariantToTagVariant(chip.variant),
|
|
15393
15393
|
label: chip.label,
|
|
@@ -15600,7 +15600,7 @@ function TagSearchInput({
|
|
|
15600
15600
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center pl-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, { className: "size-4 text-ods-text-secondary md:size-6" }) }),
|
|
15601
15601
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: middleRef, className: "flex min-w-0 flex-1 items-center gap-2 overflow-hidden px-2", children: [
|
|
15602
15602
|
visibleTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15603
|
-
|
|
15603
|
+
_chunkBGSBHH4Xcjs.Tag,
|
|
15604
15604
|
{
|
|
15605
15605
|
variant: "outline",
|
|
15606
15606
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -15688,7 +15688,7 @@ function TagSearchInput({
|
|
|
15688
15688
|
"aria-hidden": "true",
|
|
15689
15689
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
15690
15690
|
children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15691
|
-
|
|
15691
|
+
_chunkBGSBHH4Xcjs.Tag,
|
|
15692
15692
|
{
|
|
15693
15693
|
variant: "outline",
|
|
15694
15694
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -16619,20 +16619,20 @@ function ColorPresetSelect({
|
|
|
16619
16619
|
...presets.map((p) => ({
|
|
16620
16620
|
id: p.key,
|
|
16621
16621
|
label: p.label,
|
|
16622
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16622
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.ColorSwatch, { color: p.color }),
|
|
16623
16623
|
onClick: () => onChange({ color: p.color, preset: p.key })
|
|
16624
16624
|
})),
|
|
16625
16625
|
{
|
|
16626
16626
|
id: CUSTOM_PRESET_KEY,
|
|
16627
16627
|
label: "Custom",
|
|
16628
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16628
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.ColorSwatch, { color: isCustom ? value : DEFAULT_CUSTOM_STATUS_COLOR }),
|
|
16629
16629
|
onClick: () => onChange({ color: value, preset: void 0 })
|
|
16630
16630
|
}
|
|
16631
16631
|
]
|
|
16632
16632
|
}
|
|
16633
16633
|
];
|
|
16634
16634
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16635
|
-
|
|
16635
|
+
_chunkBGSBHH4Xcjs.ActionsMenuDropdown,
|
|
16636
16636
|
{
|
|
16637
16637
|
groups,
|
|
16638
16638
|
align: "start",
|
|
@@ -16642,7 +16642,7 @@ function ColorPresetSelect({
|
|
|
16642
16642
|
{
|
|
16643
16643
|
disabled,
|
|
16644
16644
|
"aria-label": `Color: ${displayLabel}`,
|
|
16645
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16645
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.ColorSwatch, { color: displayColor }),
|
|
16646
16646
|
selectedLabel: displayLabel,
|
|
16647
16647
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
16648
16648
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "group", className)
|
|
@@ -16663,7 +16663,7 @@ function HexInputs({ value, onChange }) {
|
|
|
16663
16663
|
}
|
|
16664
16664
|
const commit = () => {
|
|
16665
16665
|
const candidate = (draft.startsWith("#") ? draft : `#${draft}`).toLowerCase();
|
|
16666
|
-
if (
|
|
16666
|
+
if (_chunkBGSBHH4Xcjs.HEX_PATTERN.test(candidate)) onChange(candidate);
|
|
16667
16667
|
else setDraft(value);
|
|
16668
16668
|
};
|
|
16669
16669
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16727,12 +16727,12 @@ function ChannelInput({
|
|
|
16727
16727
|
);
|
|
16728
16728
|
}
|
|
16729
16729
|
function RgbInputs({ value, onChange }) {
|
|
16730
|
-
const rgb = _nullishCoalesce(
|
|
16730
|
+
const rgb = _nullishCoalesce(_chunkBGSBHH4Xcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
16731
16731
|
const update = (next) => {
|
|
16732
16732
|
const r = _nullishCoalesce(next.r, () => ( rgb.r));
|
|
16733
16733
|
const g = _nullishCoalesce(next.g, () => ( rgb.g));
|
|
16734
16734
|
const b = _nullishCoalesce(next.b, () => ( rgb.b));
|
|
16735
|
-
onChange(
|
|
16735
|
+
onChange(_chunkBGSBHH4Xcjs.rgbToHex.call(void 0, r, g, b));
|
|
16736
16736
|
};
|
|
16737
16737
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16738
16738
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: rgb.r, min: 0, max: 255, ariaLabel: "Red", onCommit: (r) => update({ r }) }),
|
|
@@ -16741,14 +16741,14 @@ function RgbInputs({ value, onChange }) {
|
|
|
16741
16741
|
] });
|
|
16742
16742
|
}
|
|
16743
16743
|
function HslInputs({ value, onChange }) {
|
|
16744
|
-
const rgb = _nullishCoalesce(
|
|
16745
|
-
const hsl =
|
|
16744
|
+
const rgb = _nullishCoalesce(_chunkBGSBHH4Xcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
16745
|
+
const hsl = _chunkBGSBHH4Xcjs.rgbToHsl.call(void 0, rgb.r, rgb.g, rgb.b);
|
|
16746
16746
|
const update = (next) => {
|
|
16747
16747
|
const h = _nullishCoalesce(next.h, () => ( hsl.h));
|
|
16748
16748
|
const s = _nullishCoalesce(next.s, () => ( hsl.s));
|
|
16749
16749
|
const l = _nullishCoalesce(next.l, () => ( hsl.l));
|
|
16750
|
-
const out =
|
|
16751
|
-
onChange(
|
|
16750
|
+
const out = _chunkBGSBHH4Xcjs.hslToRgb.call(void 0, h, s, l);
|
|
16751
|
+
onChange(_chunkBGSBHH4Xcjs.rgbToHex.call(void 0, out.r, out.g, out.b));
|
|
16752
16752
|
};
|
|
16753
16753
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16754
16754
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: hsl.h, min: 0, max: 360, ariaLabel: "Hue", onCommit: (h) => update({ h }) }),
|
|
@@ -16774,7 +16774,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
16774
16774
|
{
|
|
16775
16775
|
disabled,
|
|
16776
16776
|
"aria-label": "Pick custom color",
|
|
16777
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16777
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.ColorSwatch, { color: value }),
|
|
16778
16778
|
selectedLabel: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "uppercase", children: value }),
|
|
16779
16779
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
16780
16780
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "group", className)
|
|
@@ -16790,7 +16790,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
16790
16790
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactcolorful.HexColorPicker, { color: value, onChange }),
|
|
16791
16791
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
16792
16792
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16793
|
-
|
|
16793
|
+
_chunkBGSBHH4Xcjs.ActionsMenuDropdown,
|
|
16794
16794
|
{
|
|
16795
16795
|
groups: formatGroups,
|
|
16796
16796
|
align: "start",
|
|
@@ -16847,7 +16847,7 @@ function TicketStatusConfigRow({
|
|
|
16847
16847
|
const previewVariant = _nullishCoalesce(systemTagVariant, () => ( (isSystem ? void 0 : "primary")));
|
|
16848
16848
|
const fieldRowOffset = "mt-[calc(var(--font-line-space-h4-body)+0.25rem)]";
|
|
16849
16849
|
const chip = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16850
|
-
|
|
16850
|
+
_chunkBGSBHH4Xcjs.TicketStatusTag,
|
|
16851
16851
|
{
|
|
16852
16852
|
status: statusKey,
|
|
16853
16853
|
label: name || " ",
|
|
@@ -16963,7 +16963,7 @@ function TicketStatusConfigRow({
|
|
|
16963
16963
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.InfoCircleIcon, { size: 24 })
|
|
16964
16964
|
}
|
|
16965
16965
|
) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TouchFriendlyTooltip, { content: deleteDisabled ? deleteDisabledReason : void 0, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16966
|
-
|
|
16966
|
+
_chunkGBEUGDZGcjs.Button,
|
|
16967
16967
|
{
|
|
16968
16968
|
type: "button",
|
|
16969
16969
|
variant: "outline",
|
|
@@ -16999,7 +16999,7 @@ function formatTestRunDuration(ms) {
|
|
|
16999
16999
|
var RESULT_COLUMN_MIN_WIDTH = 176;
|
|
17000
17000
|
var SKELETON_COLUMNS = 6;
|
|
17001
17001
|
function TestResultsSkeleton() {
|
|
17002
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17002
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-max min-w-full flex-col", children: [
|
|
17003
17003
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)]", children: Array.from({ length: SKELETON_COLUMNS }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-[160px] shrink-0 items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-4 w-3/4 animate-pulse rounded-sm bg-ods-bg-surface" }) }, `skeleton-header-${i}`)) }),
|
|
17004
17004
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "animate-pulse overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[66px] items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)] md:h-[78px]", children: Array.from({ length: SKELETON_COLUMNS }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-[160px] shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-5 w-3/4 rounded-sm bg-ods-bg-surface" }) }, `skeleton-cell-${i}`)) }) })
|
|
17005
17005
|
] }) });
|
|
@@ -17034,7 +17034,7 @@ function TestResultsTable({ rows, loading }) {
|
|
|
17034
17034
|
if (loading) {
|
|
17035
17035
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TestResultsSkeleton, {});
|
|
17036
17036
|
}
|
|
17037
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17037
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { minWidth: Math.max(1, columnKeys.length) * RESULT_COLUMN_MIN_WIDTH }, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DataTable, { table, children: [
|
|
17038
17038
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Header, { className: "flex flex-col" }),
|
|
17039
17039
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Body, { loading: false })
|
|
17040
17040
|
] }) }) });
|
|
@@ -17096,7 +17096,7 @@ var TEST_RUN_STATUS_TAGS = {
|
|
|
17096
17096
|
function TestRunStatusStat({ status, className }) {
|
|
17097
17097
|
const tag = status === "idle" ? null : TEST_RUN_STATUS_TAGS[status];
|
|
17098
17098
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex min-w-0 flex-col items-start justify-center gap-[var(--spacing-system-xxs)]", className), children: [
|
|
17099
|
-
tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17099
|
+
tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.Tag, { label: tag.label, variant: tag.variant, className: "pointer-events-none" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h4", children: "-" }),
|
|
17100
17100
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: "Status" })
|
|
17101
17101
|
] });
|
|
17102
17102
|
}
|
|
@@ -17140,7 +17140,7 @@ function useTestRunState(campaign) {
|
|
|
17140
17140
|
const stopReason = _nullishCoalesce(campaign.stopReason, () => ( "completed"));
|
|
17141
17141
|
const status = isActive ? "running" : hasRun && isFinished ? stopReason === "completed" ? firstError ? "error" : "success" : stopReason : "idle";
|
|
17142
17142
|
const showTiming = hasRun && campaign.startedAt !== null && (campaign.isRunning || isFinished);
|
|
17143
|
-
const startedLabel = showTiming && campaign.startedAt ?
|
|
17143
|
+
const startedLabel = showTiming && campaign.startedAt ? _chunkBGSBHH4Xcjs.formatTime.call(void 0, campaign.startedAt) : "00:00 PM";
|
|
17144
17144
|
const durationLabel = showTiming ? formatTestRunDuration(durationMs) : "00:00:00";
|
|
17145
17145
|
const displayRows = _react.useMemo.call(void 0,
|
|
17146
17146
|
() => campaign.results.map(
|
|
@@ -17179,7 +17179,7 @@ function TicketAttachmentsList({ attachments, className, size = "default" }) {
|
|
|
17179
17179
|
),
|
|
17180
17180
|
children: [
|
|
17181
17181
|
attachment.thumbnailSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17182
|
-
|
|
17182
|
+
_chunk2NRLRRMRcjs.SquareAvatar,
|
|
17183
17183
|
{
|
|
17184
17184
|
src: attachment.thumbnailSrc,
|
|
17185
17185
|
alt: attachment.fileName,
|
|
@@ -17272,7 +17272,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
17272
17272
|
};
|
|
17273
17273
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex items-start gap-4 rounded-[6px] p-3", "border border-ods-border bg-ods-card", className), children: [
|
|
17274
17274
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17275
|
-
|
|
17275
|
+
_chunk2NRLRRMRcjs.SquareAvatar,
|
|
17276
17276
|
{
|
|
17277
17277
|
src: note.authorAvatar,
|
|
17278
17278
|
alt: note.authorName,
|
|
@@ -17448,7 +17448,7 @@ function TicketInfoSection({
|
|
|
17448
17448
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-2 items-center gap-4 border-b border-ods-border bg-ods-card px-4 py-3 lg:grid-cols-[1fr_1fr_1fr_auto]", children: [
|
|
17449
17449
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
17450
17450
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17451
|
-
|
|
17451
|
+
_chunk2NRLRRMRcjs.SquareAvatar,
|
|
17452
17452
|
{
|
|
17453
17453
|
src: _optionalChain([organization, 'optionalAccess', _397 => _397.imageSrc]),
|
|
17454
17454
|
alt: _optionalChain([organization, 'optionalAccess', _398 => _398.name]),
|
|
@@ -17478,7 +17478,7 @@ function TicketInfoSection({
|
|
|
17478
17478
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: _optionalChain([device, 'optionalAccess', _401 => _401.name]) || "Unassigned", label: "Device", icon: _optionalChain([device, 'optionalAccess', _402 => _402.icon]), onClick: _optionalChain([device, 'optionalAccess', _403 => _403.onClick]) }),
|
|
17479
17479
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
17480
17480
|
(status || statusLabel) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17481
|
-
|
|
17481
|
+
_chunkBGSBHH4Xcjs.TicketStatusTag,
|
|
17482
17482
|
{
|
|
17483
17483
|
status: _nullishCoalesce(status, () => ( "")),
|
|
17484
17484
|
label: statusLabel,
|
|
@@ -17517,9 +17517,9 @@ function TicketInfoSection({
|
|
|
17517
17517
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
17518
17518
|
createdAt && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 items-center gap-4 border-b border-ods-border bg-ods-bg px-4 py-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: createdAt, label: "Created" }) }),
|
|
17519
17519
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
17520
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17520
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.SimpleMarkdownRenderer, { content: description }),
|
|
17521
17521
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
17522
|
-
tags && tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Tags", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-wrap gap-2", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17522
|
+
tags && tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Tags", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-wrap gap-2", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
17523
17523
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17524
17524
|
TicketNotesSection,
|
|
17525
17525
|
{
|
|
@@ -17542,7 +17542,7 @@ function renderTicketStatusOption(option, isSelected) {
|
|
|
17542
17542
|
const { label, color } = option;
|
|
17543
17543
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-[var(--spacing-system-xs)]", children: [
|
|
17544
17544
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
17545
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17545
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.ColorSwatch, { color }),
|
|
17546
17546
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TruncateText, { className: "text-inherit", children: label }) })
|
|
17547
17547
|
] }),
|
|
17548
17548
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -17552,7 +17552,7 @@ function renderTicketAssigneeOption(option, isSelected) {
|
|
|
17552
17552
|
const { label, imageUrl } = option;
|
|
17553
17553
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-[var(--spacing-system-xs)]", children: [
|
|
17554
17554
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
17555
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17555
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "round" }),
|
|
17556
17556
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TruncateText, { className: "text-inherit", children: label }) })
|
|
17557
17557
|
] }),
|
|
17558
17558
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -17587,9 +17587,9 @@ function TakeOverTicketModal({
|
|
|
17587
17587
|
if (!selectedStatusId || !assigneeId || isPending) return;
|
|
17588
17588
|
onConfirm({ statusId: selectedStatusId, assigneeId });
|
|
17589
17589
|
};
|
|
17590
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17590
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBGSBHH4Xcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17591
17591
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17592
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17592
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.ModalTitle, { children: "Take Over Ticket" }) }),
|
|
17593
17593
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
17594
17594
|
"The ticket ",
|
|
17595
17595
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -17604,7 +17604,7 @@ function TakeOverTicketModal({
|
|
|
17604
17604
|
value: selectedStatusId,
|
|
17605
17605
|
onChange: setStatusId,
|
|
17606
17606
|
placeholder: "Select Status",
|
|
17607
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17607
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
17608
17608
|
renderOption: renderTicketStatusOption
|
|
17609
17609
|
}
|
|
17610
17610
|
) }),
|
|
@@ -17618,7 +17618,7 @@ function TakeOverTicketModal({
|
|
|
17618
17618
|
placeholder: "Select Technician",
|
|
17619
17619
|
loading: assigneesLoading,
|
|
17620
17620
|
startAdornment: selectedAssignee ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17621
|
-
|
|
17621
|
+
_chunk2NRLRRMRcjs.SquareAvatar,
|
|
17622
17622
|
{
|
|
17623
17623
|
src: selectedAssignee.imageUrl,
|
|
17624
17624
|
alt: selectedAssignee.label,
|
|
@@ -17631,11 +17631,11 @@ function TakeOverTicketModal({
|
|
|
17631
17631
|
}
|
|
17632
17632
|
) })
|
|
17633
17633
|
] }),
|
|
17634
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17635
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17634
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBGSBHH4Xcjs.ModalFooter, { children: [
|
|
17635
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
17636
17636
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
17637
17637
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17638
|
-
|
|
17638
|
+
_chunkGBEUGDZGcjs.Button,
|
|
17639
17639
|
{
|
|
17640
17640
|
type: "button",
|
|
17641
17641
|
variant: "accent",
|
|
@@ -17690,9 +17690,9 @@ function ReopenTicketModal({
|
|
|
17690
17690
|
reason: trimmedReason ? trimmedReason.slice(0, REASON_MAX_LENGTH) : null
|
|
17691
17691
|
});
|
|
17692
17692
|
};
|
|
17693
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17693
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBGSBHH4Xcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17694
17694
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17695
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17695
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
17696
17696
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
17697
17697
|
"The ticket ",
|
|
17698
17698
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -17707,7 +17707,7 @@ function ReopenTicketModal({
|
|
|
17707
17707
|
value: selectedStatusId,
|
|
17708
17708
|
onChange: setStatusId,
|
|
17709
17709
|
placeholder: "Select Status",
|
|
17710
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17710
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
17711
17711
|
renderOption: renderTicketStatusOption
|
|
17712
17712
|
}
|
|
17713
17713
|
) }),
|
|
@@ -17721,7 +17721,7 @@ function ReopenTicketModal({
|
|
|
17721
17721
|
placeholder: "Select Technician",
|
|
17722
17722
|
loading: assigneesLoading,
|
|
17723
17723
|
startAdornment: selectedAssignee ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17724
|
-
|
|
17724
|
+
_chunk2NRLRRMRcjs.SquareAvatar,
|
|
17725
17725
|
{
|
|
17726
17726
|
src: selectedAssignee.imageUrl,
|
|
17727
17727
|
alt: selectedAssignee.label,
|
|
@@ -17745,11 +17745,11 @@ function ReopenTicketModal({
|
|
|
17745
17745
|
disabled: isPending
|
|
17746
17746
|
}
|
|
17747
17747
|
) }),
|
|
17748
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17749
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17748
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBGSBHH4Xcjs.ModalFooter, { children: [
|
|
17749
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
17750
17750
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
17751
17751
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17752
|
-
|
|
17752
|
+
_chunkGBEUGDZGcjs.Button,
|
|
17753
17753
|
{
|
|
17754
17754
|
type: "button",
|
|
17755
17755
|
variant: "accent",
|
|
@@ -17793,9 +17793,9 @@ function ReopenTicketRequestModal({
|
|
|
17793
17793
|
...showHandoffOption ? { handoffToTechnician: handoff } : {}
|
|
17794
17794
|
});
|
|
17795
17795
|
};
|
|
17796
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17796
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBGSBHH4Xcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17797
17797
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17798
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17798
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
17799
17799
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: "This ticket will be reopened and the AI assistant will continue helping you." }),
|
|
17800
17800
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17801
17801
|
Textarea,
|
|
@@ -17819,9 +17819,9 @@ function ReopenTicketRequestModal({
|
|
|
17819
17819
|
disabled: isPending
|
|
17820
17820
|
}
|
|
17821
17821
|
),
|
|
17822
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17823
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17824
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17822
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBGSBHH4Xcjs.ModalFooter, { children: [
|
|
17823
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1", children: "Cancel" }),
|
|
17824
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { type: "button", variant: "accent", onClick: handleConfirm, loading: isPending, className: "flex-1", children: "Reopen Ticket" })
|
|
17825
17825
|
] })
|
|
17826
17826
|
] });
|
|
17827
17827
|
}
|
|
@@ -17843,7 +17843,7 @@ function FilterPillRow({
|
|
|
17843
17843
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h5", children: label })
|
|
17844
17844
|
] }),
|
|
17845
17845
|
children || options.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17846
|
-
|
|
17846
|
+
_chunkGBEUGDZGcjs.Button,
|
|
17847
17847
|
{
|
|
17848
17848
|
type: "button",
|
|
17849
17849
|
variant: selectedValue === opt.value ? "accent" : "outline",
|
|
@@ -17997,7 +17997,7 @@ function ArrayEntryManager({
|
|
|
17997
17997
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.Label, { children: title }),
|
|
17998
17998
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
17999
17999
|
requireSave && isDirty && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18000
|
-
|
|
18000
|
+
_chunkGBEUGDZGcjs.Button,
|
|
18001
18001
|
{
|
|
18002
18002
|
type: "button",
|
|
18003
18003
|
size: "small-legacy",
|
|
@@ -18009,7 +18009,7 @@ function ArrayEntryManager({
|
|
|
18009
18009
|
}
|
|
18010
18010
|
),
|
|
18011
18011
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18012
|
-
|
|
18012
|
+
_chunkGBEUGDZGcjs.Button,
|
|
18013
18013
|
{
|
|
18014
18014
|
type: "button",
|
|
18015
18015
|
variant: "outline",
|
|
@@ -18049,7 +18049,7 @@ function ArrayEntryManager({
|
|
|
18049
18049
|
)
|
|
18050
18050
|
] }),
|
|
18051
18051
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18052
|
-
|
|
18052
|
+
_chunkGBEUGDZGcjs.Button,
|
|
18053
18053
|
{
|
|
18054
18054
|
type: "button",
|
|
18055
18055
|
variant: "transparent",
|
|
@@ -18189,7 +18189,7 @@ function AuthBenefitsPanel({
|
|
|
18189
18189
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap text-ods-text-primary text-h4", children: benefit.label })
|
|
18190
18190
|
] }, benefit.label)) }),
|
|
18191
18191
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18192
|
-
|
|
18192
|
+
_chunkGBEUGDZGcjs.Button,
|
|
18193
18193
|
{
|
|
18194
18194
|
variant: "outline",
|
|
18195
18195
|
href: learnMoreUrl,
|
|
@@ -18333,7 +18333,7 @@ function SsoProviderButtons({
|
|
|
18333
18333
|
const meta = PROVIDER_META[provider];
|
|
18334
18334
|
const Icon2 = meta.Icon;
|
|
18335
18335
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18336
|
-
|
|
18336
|
+
_chunkGBEUGDZGcjs.Button,
|
|
18337
18337
|
{
|
|
18338
18338
|
type: "button",
|
|
18339
18339
|
variant: "outline",
|
|
@@ -18426,7 +18426,7 @@ function CompleteAccountForm({
|
|
|
18426
18426
|
children,
|
|
18427
18427
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-l)]", children: [
|
|
18428
18428
|
onBack ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18429
|
-
|
|
18429
|
+
_chunkGBEUGDZGcjs.Button,
|
|
18430
18430
|
{
|
|
18431
18431
|
type: "button",
|
|
18432
18432
|
variant: "transparent",
|
|
@@ -18441,7 +18441,7 @@ function CompleteAccountForm({
|
|
|
18441
18441
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1" })
|
|
18442
18442
|
),
|
|
18443
18443
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18444
|
-
|
|
18444
|
+
_chunkGBEUGDZGcjs.Button,
|
|
18445
18445
|
{
|
|
18446
18446
|
type: "button",
|
|
18447
18447
|
variant: "accent",
|
|
@@ -18620,7 +18620,7 @@ function CreateOrganizationForm({
|
|
|
18620
18620
|
),
|
|
18621
18621
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-l)]", children: [
|
|
18622
18622
|
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18623
|
-
|
|
18623
|
+
_chunkGBEUGDZGcjs.Button,
|
|
18624
18624
|
{
|
|
18625
18625
|
type: "button",
|
|
18626
18626
|
variant: "transparent",
|
|
@@ -18632,7 +18632,7 @@ function CreateOrganizationForm({
|
|
|
18632
18632
|
}
|
|
18633
18633
|
),
|
|
18634
18634
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18635
|
-
|
|
18635
|
+
_chunkGBEUGDZGcjs.Button,
|
|
18636
18636
|
{
|
|
18637
18637
|
type: "button",
|
|
18638
18638
|
variant: "accent",
|
|
@@ -18696,7 +18696,7 @@ function InviteLinkInvalidModal({
|
|
|
18696
18696
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: description }),
|
|
18697
18697
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-l)]", children: [
|
|
18698
18698
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
18699
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18699
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { type: "button", variant: "accent", fullWidth: true, className: "md:flex-1", onClick: onBackToLogin, children: backLabel })
|
|
18700
18700
|
] })
|
|
18701
18701
|
] })
|
|
18702
18702
|
}
|
|
@@ -18813,7 +18813,7 @@ function LoginForm({
|
|
|
18813
18813
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-l)]", children: [
|
|
18814
18814
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
18815
18815
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18816
|
-
|
|
18816
|
+
_chunkGBEUGDZGcjs.Button,
|
|
18817
18817
|
{
|
|
18818
18818
|
type: "button",
|
|
18819
18819
|
variant: "accent",
|
|
@@ -18853,7 +18853,7 @@ function NoAccountNotice({
|
|
|
18853
18853
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: title }),
|
|
18854
18854
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: description })
|
|
18855
18855
|
] }),
|
|
18856
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18856
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { type: "button", variant: "outline", fullWidth: true, onClick: onBackToLogin, children: backLabel })
|
|
18857
18857
|
] })
|
|
18858
18858
|
}
|
|
18859
18859
|
);
|
|
@@ -18931,7 +18931,7 @@ function OpenFrameSsoLoginForm({
|
|
|
18931
18931
|
),
|
|
18932
18932
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-l)]", children: [
|
|
18933
18933
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18934
|
-
|
|
18934
|
+
_chunkGBEUGDZGcjs.Button,
|
|
18935
18935
|
{
|
|
18936
18936
|
type: "button",
|
|
18937
18937
|
variant: "transparent",
|
|
@@ -18943,7 +18943,7 @@ function OpenFrameSsoLoginForm({
|
|
|
18943
18943
|
}
|
|
18944
18944
|
),
|
|
18945
18945
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18946
|
-
|
|
18946
|
+
_chunkGBEUGDZGcjs.Button,
|
|
18947
18947
|
{
|
|
18948
18948
|
type: "button",
|
|
18949
18949
|
variant: "accent",
|
|
@@ -19039,7 +19039,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
19039
19039
|
),
|
|
19040
19040
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-l)]", children: [
|
|
19041
19041
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19042
|
-
|
|
19042
|
+
_chunkGBEUGDZGcjs.Button,
|
|
19043
19043
|
{
|
|
19044
19044
|
type: "button",
|
|
19045
19045
|
variant: "transparent",
|
|
@@ -19051,7 +19051,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
19051
19051
|
}
|
|
19052
19052
|
),
|
|
19053
19053
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19054
|
-
|
|
19054
|
+
_chunkGBEUGDZGcjs.Button,
|
|
19055
19055
|
{
|
|
19056
19056
|
type: "button",
|
|
19057
19057
|
variant: "accent",
|
|
@@ -19143,7 +19143,7 @@ function PasswordResetForm({
|
|
|
19143
19143
|
),
|
|
19144
19144
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-l)]", children: [
|
|
19145
19145
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19146
|
-
|
|
19146
|
+
_chunkGBEUGDZGcjs.Button,
|
|
19147
19147
|
{
|
|
19148
19148
|
type: "button",
|
|
19149
19149
|
variant: "outline",
|
|
@@ -19155,7 +19155,7 @@ function PasswordResetForm({
|
|
|
19155
19155
|
}
|
|
19156
19156
|
),
|
|
19157
19157
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19158
|
-
|
|
19158
|
+
_chunkGBEUGDZGcjs.Button,
|
|
19159
19159
|
{
|
|
19160
19160
|
type: "button",
|
|
19161
19161
|
variant: "accent",
|
|
@@ -19232,7 +19232,7 @@ function SsoJoinForm({
|
|
|
19232
19232
|
] }),
|
|
19233
19233
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-s)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-m)]", children: [
|
|
19234
19234
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19235
|
-
|
|
19235
|
+
_chunk2NRLRRMRcjs.SquareAvatar,
|
|
19236
19236
|
{
|
|
19237
19237
|
size: "lg",
|
|
19238
19238
|
variant: "round",
|
|
@@ -19246,7 +19246,7 @@ function SsoJoinForm({
|
|
|
19246
19246
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", children: displayName }),
|
|
19247
19247
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: organizationName })
|
|
19248
19248
|
] }),
|
|
19249
|
-
roles.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xs)]", children: roles.map((role) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19249
|
+
roles.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xs)]", children: roles.map((role) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.Tag, { variant: "grey", label: role }, role)) })
|
|
19250
19250
|
] }),
|
|
19251
19251
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19252
19252
|
CheckboxBlock,
|
|
@@ -19259,9 +19259,9 @@ function SsoJoinForm({
|
|
|
19259
19259
|
}
|
|
19260
19260
|
),
|
|
19261
19261
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-l)]", children: [
|
|
19262
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19262
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { type: "button", variant: "outline", fullWidth: true, className: "flex-1", disabled: fieldsDisabled, onClick: onBack, children: backLabel }),
|
|
19263
19263
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19264
|
-
|
|
19264
|
+
_chunkGBEUGDZGcjs.Button,
|
|
19265
19265
|
{
|
|
19266
19266
|
type: "button",
|
|
19267
19267
|
variant: "accent",
|
|
@@ -19329,7 +19329,7 @@ function ProviderButton({ provider, onClick, disabled = false, loading = false }
|
|
|
19329
19329
|
}
|
|
19330
19330
|
};
|
|
19331
19331
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19332
|
-
|
|
19332
|
+
_chunkGBEUGDZGcjs.Button,
|
|
19333
19333
|
{
|
|
19334
19334
|
type: "button",
|
|
19335
19335
|
onClick: handleClick,
|
|
@@ -19460,7 +19460,7 @@ function ChangelogManager({
|
|
|
19460
19460
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between", children: [
|
|
19461
19461
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.Label, { children: title }),
|
|
19462
19462
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19463
|
-
|
|
19463
|
+
_chunkGBEUGDZGcjs.Button,
|
|
19464
19464
|
{
|
|
19465
19465
|
type: "button",
|
|
19466
19466
|
variant: "outline",
|
|
@@ -19478,7 +19478,7 @@ function ChangelogManager({
|
|
|
19478
19478
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "overflow-hidden rounded-lg border border-ods-border bg-ods-bg-surface", children: [
|
|
19479
19479
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3 p-3", children: [
|
|
19480
19480
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19481
|
-
|
|
19481
|
+
_chunkGBEUGDZGcjs.Button,
|
|
19482
19482
|
{
|
|
19483
19483
|
type: "button",
|
|
19484
19484
|
variant: "transparent",
|
|
@@ -19490,7 +19490,7 @@ function ChangelogManager({
|
|
|
19490
19490
|
),
|
|
19491
19491
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: hasContent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h6", children: entry.title }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "italic text-ods-text-secondary text-h6", children: "New entry (click to edit)" }) }),
|
|
19492
19492
|
tagOptions && tagLabelOf(entry.tag) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19493
|
-
|
|
19493
|
+
_chunk2NRLRRMRcjs.StatusBadge,
|
|
19494
19494
|
{
|
|
19495
19495
|
variant: "button",
|
|
19496
19496
|
singleLine: true,
|
|
@@ -19499,7 +19499,7 @@ function ChangelogManager({
|
|
|
19499
19499
|
}
|
|
19500
19500
|
),
|
|
19501
19501
|
showVisibilityToggle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19502
|
-
|
|
19502
|
+
_chunkGBEUGDZGcjs.Button,
|
|
19503
19503
|
{
|
|
19504
19504
|
type: "button",
|
|
19505
19505
|
variant: "transparent",
|
|
@@ -19511,7 +19511,7 @@ function ChangelogManager({
|
|
|
19511
19511
|
}
|
|
19512
19512
|
),
|
|
19513
19513
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19514
|
-
|
|
19514
|
+
_chunkGBEUGDZGcjs.Button,
|
|
19515
19515
|
{
|
|
19516
19516
|
type: "button",
|
|
19517
19517
|
variant: "transparent",
|
|
@@ -19708,7 +19708,7 @@ function CommandBox({
|
|
|
19708
19708
|
] }) : commandText,
|
|
19709
19709
|
(primaryAction || secondaryAction) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-4 flex flex-col gap-3 md:flex-row md:justify-end", children: [
|
|
19710
19710
|
secondaryAction && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19711
|
-
|
|
19711
|
+
_chunkGBEUGDZGcjs.Button,
|
|
19712
19712
|
{
|
|
19713
19713
|
variant: secondaryAction.variant || "outline",
|
|
19714
19714
|
leftIcon: secondaryAction.icon,
|
|
@@ -19720,7 +19720,7 @@ function CommandBox({
|
|
|
19720
19720
|
}
|
|
19721
19721
|
),
|
|
19722
19722
|
primaryAction && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19723
|
-
|
|
19723
|
+
_chunkGBEUGDZGcjs.Button,
|
|
19724
19724
|
{
|
|
19725
19725
|
variant: primaryAction.variant || "accent",
|
|
19726
19726
|
leftIcon: primaryAction.icon,
|
|
@@ -19753,7 +19753,7 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
19753
19753
|
const label = (tag.name || "").toUpperCase();
|
|
19754
19754
|
if (basePath && tag.slug) {
|
|
19755
19755
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: `${basePath}?tags=${tag.slug}`, className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19756
|
-
|
|
19756
|
+
_chunk2NRLRRMRcjs.StatusBadge,
|
|
19757
19757
|
{
|
|
19758
19758
|
text: label,
|
|
19759
19759
|
variant: "card",
|
|
@@ -19761,9 +19761,9 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
19761
19761
|
}
|
|
19762
19762
|
) }, key);
|
|
19763
19763
|
}
|
|
19764
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19764
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.StatusBadge, { text: label, variant: "card", className: BADGE_CLASS }, key);
|
|
19765
19765
|
}),
|
|
19766
|
-
overflow2 > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19766
|
+
overflow2 > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.StatusBadge, { text: `+${overflow2}`, variant: "card", className: `${BADGE_CLASS} text-ods-text-secondary` })
|
|
19767
19767
|
] });
|
|
19768
19768
|
}
|
|
19769
19769
|
|
|
@@ -19810,7 +19810,7 @@ var SectionButton = ({
|
|
|
19810
19810
|
const numberClasses = "text-ods-accent";
|
|
19811
19811
|
const isDisabled = section.disabled || disabled;
|
|
19812
19812
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19813
|
-
|
|
19813
|
+
_chunkGBEUGDZGcjs.Button,
|
|
19814
19814
|
{
|
|
19815
19815
|
onClick,
|
|
19816
19816
|
disabled: isDisabled,
|
|
@@ -19840,7 +19840,7 @@ var SectionButton = ({
|
|
|
19840
19840
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap items-center gap-2", children: [
|
|
19841
19841
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk23V5BSHDcjs.cn.call(void 0, titleClasses, "whitespace-normal break-words text-h4"), children: section.title }),
|
|
19842
19842
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19843
|
-
|
|
19843
|
+
_chunk2NRLRRMRcjs.StatusBadge,
|
|
19844
19844
|
{
|
|
19845
19845
|
text: section.badge.text,
|
|
19846
19846
|
variant: section.badge.variant || "button",
|
|
@@ -19859,7 +19859,7 @@ var SectionButton = ({
|
|
|
19859
19859
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-wrap items-start gap-2", children: [
|
|
19860
19860
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, titleClasses, "text-h3"), style: { textAlign: "left" }, children: section.title }),
|
|
19861
19861
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19862
|
-
|
|
19862
|
+
_chunk2NRLRRMRcjs.StatusBadge,
|
|
19863
19863
|
{
|
|
19864
19864
|
text: section.badge.text,
|
|
19865
19865
|
variant: section.badge.variant || "button",
|
|
@@ -20147,7 +20147,7 @@ function UnifiedUI({ state, handlers, config, iframeRef }) {
|
|
|
20147
20147
|
sandbox: "allow-scripts allow-same-origin allow-popups allow-presentation",
|
|
20148
20148
|
title: config.title,
|
|
20149
20149
|
loading: "eager",
|
|
20150
|
-
...
|
|
20150
|
+
..._chunkBGSBHH4Xcjs.fetchPriorityProp.call(void 0, "high")
|
|
20151
20151
|
},
|
|
20152
20152
|
iframeKey
|
|
20153
20153
|
),
|
|
@@ -20765,8 +20765,8 @@ var FiltersDropdown = ({
|
|
|
20765
20765
|
] }, section.id);
|
|
20766
20766
|
}) }),
|
|
20767
20767
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-4 flex shrink-0 gap-3", children: [
|
|
20768
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20769
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20768
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { variant: "outline", onClick: handleReset, size: "default", className: "md:w-full!", children: "Reset" }),
|
|
20769
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { variant: "accent", onClick: handleApply, size: "default", className: "md:w-full!", children: "Apply" })
|
|
20770
20770
|
] })
|
|
20771
20771
|
] })
|
|
20772
20772
|
}
|
|
@@ -20973,7 +20973,7 @@ function MediaGalleryManager({
|
|
|
20973
20973
|
(mediaItem, index) => {
|
|
20974
20974
|
const isDeleting = deletingIndex === index;
|
|
20975
20975
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
20976
|
-
|
|
20976
|
+
_chunk2NRLRRMRcjs.Card,
|
|
20977
20977
|
{
|
|
20978
20978
|
className: "group relative border-ods-border transition-colors hover:border-ods-accent/30",
|
|
20979
20979
|
draggable: true,
|
|
@@ -20983,7 +20983,7 @@ function MediaGalleryManager({
|
|
|
20983
20983
|
children: [
|
|
20984
20984
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute left-2 top-2 z-10 cursor-move opacity-0 transition-opacity group-hover:opacity-100", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.GripVertical, { className: "h-4 w-4 text-ods-text-on-dark drop-shadow" }) }),
|
|
20985
20985
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute right-2 top-2 z-10 opacity-0 transition-opacity group-hover:opacity-100", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20986
|
-
|
|
20986
|
+
_chunkGBEUGDZGcjs.Button,
|
|
20987
20987
|
{
|
|
20988
20988
|
type: "button",
|
|
20989
20989
|
variant: "outline",
|
|
@@ -20994,10 +20994,10 @@ function MediaGalleryManager({
|
|
|
20994
20994
|
children: isDeleting ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-4 w-4 animate-spin text-ods-text-on-dark" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-on-dark" })
|
|
20995
20995
|
}
|
|
20996
20996
|
) }),
|
|
20997
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children:
|
|
20997
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children: _chunk2NRLRRMRcjs.isVideoMedia.call(void 0, mediaItem) || mediaItem.media_type === "demo" ? (
|
|
20998
20998
|
// <Video> SSOT (MuxPlayer) — plays Mux HLS + MP4 alike;
|
|
20999
20999
|
// fit="cover" crops to the aspect-video cell.
|
|
21000
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21000
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.Video, { kind: "file", url: mediaItem.media_url, fit: "cover", className: "h-full w-full" })
|
|
21001
21001
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21002
21002
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
21003
21003
|
{
|
|
@@ -21010,7 +21010,7 @@ function MediaGalleryManager({
|
|
|
21010
21010
|
) }),
|
|
21011
21011
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "p-3", children: [
|
|
21012
21012
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-1 flex items-center gap-2", children: [
|
|
21013
|
-
|
|
21013
|
+
_chunk2NRLRRMRcjs.isVideoMedia.call(void 0, mediaItem) || mediaItem.media_type === "demo" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Video, { className: "h-4 w-4 text-ods-text-secondary" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Image, { className: "h-4 w-4 text-ods-text-secondary" }),
|
|
21014
21014
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "capitalize text-ods-text-primary text-h6", children: mediaItem.media_type })
|
|
21015
21015
|
] }),
|
|
21016
21016
|
mediaItem.title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: mediaItem.title })
|
|
@@ -21031,7 +21031,7 @@ function MediaGalleryManager({
|
|
|
21031
21031
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "mt-1 text-ods-text-secondary text-h6", children: "Maximum file size: 50MB" })
|
|
21032
21032
|
] }),
|
|
21033
21033
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21034
|
-
|
|
21034
|
+
_chunkGBEUGDZGcjs.Button,
|
|
21035
21035
|
{
|
|
21036
21036
|
type: "button",
|
|
21037
21037
|
variant: "outline",
|
|
@@ -21078,7 +21078,7 @@ function MediaGalleryManager({
|
|
|
21078
21078
|
|
|
21079
21079
|
var MoreAboutButton = ({ href = "/openframe", className = "" }) => {
|
|
21080
21080
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21081
|
-
|
|
21081
|
+
_chunkGBEUGDZGcjs.Button,
|
|
21082
21082
|
{
|
|
21083
21083
|
size: "default",
|
|
21084
21084
|
variant: "transparent",
|
|
@@ -21429,7 +21429,7 @@ function PlatformFilterComponent({
|
|
|
21429
21429
|
}) {
|
|
21430
21430
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex flex-wrap items-center gap-2 ${className}`, children: [
|
|
21431
21431
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21432
|
-
|
|
21432
|
+
_chunkGBEUGDZGcjs.Button,
|
|
21433
21433
|
{
|
|
21434
21434
|
type: "button",
|
|
21435
21435
|
variant: selectedPlatform === "all" ? "accent" : "outline",
|
|
@@ -21440,7 +21440,7 @@ function PlatformFilterComponent({
|
|
|
21440
21440
|
}
|
|
21441
21441
|
),
|
|
21442
21442
|
platforms.map((platform) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21443
|
-
|
|
21443
|
+
_chunkGBEUGDZGcjs.Button,
|
|
21444
21444
|
{
|
|
21445
21445
|
type: "button",
|
|
21446
21446
|
variant: selectedPlatform === platform.value ? "accent" : "outline",
|
|
@@ -23248,9 +23248,9 @@ function PushButtonSelector({
|
|
|
23248
23248
|
option.id
|
|
23249
23249
|
);
|
|
23250
23250
|
if (option.disabled && option.disabledReason) {
|
|
23251
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23252
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23253
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23251
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBGSBHH4Xcjs.Tooltip, { children: [
|
|
23252
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.TooltipTrigger, { asChild: true, children: optionEl }),
|
|
23253
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.TooltipContent, { className: "max-w-xs", children: option.disabledReason })
|
|
23254
23254
|
] }, option.id);
|
|
23255
23255
|
}
|
|
23256
23256
|
return optionEl;
|
|
@@ -23295,7 +23295,7 @@ function PushButtonSelector({
|
|
|
23295
23295
|
lazyLoad.isFetchingMore ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "py-2 text-center text-ods-text-secondary text-h6", children: "Loading more\u2026" }) : null
|
|
23296
23296
|
] }) : null
|
|
23297
23297
|
] });
|
|
23298
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23298
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `space-y-4 ${className}`, children: [
|
|
23299
23299
|
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-ods-text-primary text-h5", children: title }),
|
|
23300
23300
|
searchInput,
|
|
23301
23301
|
lazyLoad ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -23411,7 +23411,7 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
|
|
|
23411
23411
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "mt-1 text-ods-text-secondary text-h6", children: "Maximum file size: 50MB" })
|
|
23412
23412
|
] }),
|
|
23413
23413
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23414
|
-
|
|
23414
|
+
_chunkGBEUGDZGcjs.Button,
|
|
23415
23415
|
{
|
|
23416
23416
|
type: "button",
|
|
23417
23417
|
variant: "outline",
|
|
@@ -23454,7 +23454,7 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
|
|
|
23454
23454
|
children: [
|
|
23455
23455
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute left-2 top-2 z-10 cursor-move opacity-0 transition-opacity group-hover:opacity-100", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.GripVertical, { className: "h-4 w-4 text-ods-text-on-dark drop-shadow" }) }),
|
|
23456
23456
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute right-2 top-2 z-10 opacity-0 transition-opacity group-hover:opacity-100", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23457
|
-
|
|
23457
|
+
_chunkGBEUGDZGcjs.Button,
|
|
23458
23458
|
{
|
|
23459
23459
|
type: "button",
|
|
23460
23460
|
variant: "outline",
|
|
@@ -23465,10 +23465,10 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
|
|
|
23465
23465
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-on-dark" })
|
|
23466
23466
|
}
|
|
23467
23467
|
) }),
|
|
23468
|
-
item.media_url && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video bg-ods-bg", children:
|
|
23468
|
+
item.media_url && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video bg-ods-bg", children: _chunk2NRLRRMRcjs.isVideoMedia.call(void 0, item) || item.media_type === "demo" ? (
|
|
23469
23469
|
// <Video> SSOT (MuxPlayer) — plays Mux HLS + MP4 alike;
|
|
23470
23470
|
// fit="cover" crops to the aspect-video cell.
|
|
23471
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23471
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.Video, { kind: "file", url: item.media_url, fit: "cover", className: "h-full w-full" })
|
|
23472
23472
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23473
23473
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
23474
23474
|
{
|
|
@@ -23601,7 +23601,7 @@ var SelectButton = _react2.default.forwardRef(
|
|
|
23601
23601
|
}
|
|
23602
23602
|
)
|
|
23603
23603
|
] }),
|
|
23604
|
-
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23604
|
+
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.Tag, { variant: tagVariant, className: "shrink-0", label: tag }),
|
|
23605
23605
|
selected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckCircleIcon, { className: "size-4 shrink-0 text-ods-accent md:size-6" })
|
|
23606
23606
|
]
|
|
23607
23607
|
}
|
|
@@ -23848,7 +23848,7 @@ function SEOEditorPreview({
|
|
|
23848
23848
|
),
|
|
23849
23849
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "absolute inset-0 flex items-center justify-center gap-2 rounded-lg bg-black bg-opacity-0 transition-all group-hover:bg-opacity-40", children: [
|
|
23850
23850
|
onOgImageUpload && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23851
|
-
|
|
23851
|
+
_chunkGBEUGDZGcjs.Button,
|
|
23852
23852
|
{
|
|
23853
23853
|
type: "button",
|
|
23854
23854
|
variant: "outline",
|
|
@@ -23860,7 +23860,7 @@ function SEOEditorPreview({
|
|
|
23860
23860
|
}
|
|
23861
23861
|
),
|
|
23862
23862
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23863
|
-
|
|
23863
|
+
_chunkGBEUGDZGcjs.Button,
|
|
23864
23864
|
{
|
|
23865
23865
|
type: "button",
|
|
23866
23866
|
variant: "outline",
|
|
@@ -23985,7 +23985,7 @@ function SocialIconRow({
|
|
|
23985
23985
|
const renderButton = (link, index) => {
|
|
23986
23986
|
const ariaLabel = link.label || link.platform;
|
|
23987
23987
|
return link.onClick ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23988
|
-
|
|
23988
|
+
_chunkGBEUGDZGcjs.Button,
|
|
23989
23989
|
{
|
|
23990
23990
|
type: "button",
|
|
23991
23991
|
variant: resolvedVariant,
|
|
@@ -24001,7 +24001,7 @@ function SocialIconRow({
|
|
|
24001
24001
|
// (openInNewTab carries target="_blank" + rel="noopener noreferrer");
|
|
24002
24002
|
// no asChild/<a> nesting.
|
|
24003
24003
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24004
|
-
|
|
24004
|
+
_chunkGBEUGDZGcjs.Button,
|
|
24005
24005
|
{
|
|
24006
24006
|
variant: resolvedVariant,
|
|
24007
24007
|
size: compact ? "icon-sm" : "icon",
|
|
@@ -24103,7 +24103,7 @@ function SocialLinksManager({
|
|
|
24103
24103
|
}
|
|
24104
24104
|
),
|
|
24105
24105
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24106
|
-
|
|
24106
|
+
_chunkGBEUGDZGcjs.Button,
|
|
24107
24107
|
{
|
|
24108
24108
|
type: "button",
|
|
24109
24109
|
variant: "transparent",
|
|
@@ -24120,7 +24120,7 @@ function SocialLinksManager({
|
|
|
24120
24120
|
}),
|
|
24121
24121
|
links.length === 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "py-8 text-center text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6", children: "No social links added yet." }) }),
|
|
24122
24122
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24123
|
-
|
|
24123
|
+
_chunkGBEUGDZGcjs.Button,
|
|
24124
24124
|
{
|
|
24125
24125
|
variant: "outline",
|
|
24126
24126
|
onClick: addLink,
|
|
@@ -24179,7 +24179,7 @@ var StartWithOpenFrameButton = _react.forwardRef.call(void 0,
|
|
|
24179
24179
|
iconUpperPath = "#1A1A1A";
|
|
24180
24180
|
}
|
|
24181
24181
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24182
|
-
|
|
24182
|
+
_chunkGBEUGDZGcjs.Button,
|
|
24183
24183
|
{
|
|
24184
24184
|
ref,
|
|
24185
24185
|
...props,
|
|
@@ -24189,7 +24189,7 @@ var StartWithOpenFrameButton = _react.forwardRef.call(void 0,
|
|
|
24189
24189
|
className: _chunk23V5BSHDcjs.cn.call(void 0, modeClassName, className),
|
|
24190
24190
|
style: customStyle,
|
|
24191
24191
|
leftIcon: !loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63QUMV72cjs.OpenFrameLogo, { className: "h-5 w-5", lowerPathColor: iconLowerPath, upperPathColor: iconUpperPath }) : void 0,
|
|
24192
|
-
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24192
|
+
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.StatusBadge, { text: "Beta", variant: "button", colorScheme: "yellow" }),
|
|
24193
24193
|
children
|
|
24194
24194
|
}
|
|
24195
24195
|
);
|
|
@@ -24222,7 +24222,7 @@ function StatusFilterComponent({
|
|
|
24222
24222
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h5", children: label })
|
|
24223
24223
|
] }),
|
|
24224
24224
|
showAll && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24225
|
-
|
|
24225
|
+
_chunkGBEUGDZGcjs.Button,
|
|
24226
24226
|
{
|
|
24227
24227
|
type: "button",
|
|
24228
24228
|
variant: selectedStatus === "all" ? "accent" : "outline",
|
|
@@ -24234,7 +24234,7 @@ function StatusFilterComponent({
|
|
|
24234
24234
|
}
|
|
24235
24235
|
),
|
|
24236
24236
|
filteredOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24237
|
-
|
|
24237
|
+
_chunkGBEUGDZGcjs.Button,
|
|
24238
24238
|
{
|
|
24239
24239
|
type: "button",
|
|
24240
24240
|
variant: selectedStatus === option.value ? "accent" : "outline",
|
|
@@ -24380,7 +24380,7 @@ function TagsSelector({
|
|
|
24380
24380
|
}
|
|
24381
24381
|
),
|
|
24382
24382
|
searchQuery && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24383
|
-
|
|
24383
|
+
_chunkGBEUGDZGcjs.Button,
|
|
24384
24384
|
{
|
|
24385
24385
|
variant: "transparent",
|
|
24386
24386
|
type: "button",
|
|
@@ -24398,7 +24398,7 @@ function TagsSelector({
|
|
|
24398
24398
|
),
|
|
24399
24399
|
showDropdown && !disabled && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute z-50 mt-1 max-h-60 w-full overflow-y-auto rounded-lg border border-ods-border bg-ods-card shadow-lg", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "p-3", children: [
|
|
24400
24400
|
canCreateNewTag && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24401
|
-
|
|
24401
|
+
_chunkGBEUGDZGcjs.Button,
|
|
24402
24402
|
{
|
|
24403
24403
|
variant: "outline",
|
|
24404
24404
|
type: "button",
|
|
@@ -24417,7 +24417,7 @@ function TagsSelector({
|
|
|
24417
24417
|
}
|
|
24418
24418
|
),
|
|
24419
24419
|
filteredTags.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-1.5", children: filteredTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24420
|
-
|
|
24420
|
+
_chunkGBEUGDZGcjs.Button,
|
|
24421
24421
|
{
|
|
24422
24422
|
variant: "outline",
|
|
24423
24423
|
type: "button",
|
|
@@ -24459,11 +24459,11 @@ function WarningBlock({ title, icon = DEFAULT_ICON, children, className }) {
|
|
|
24459
24459
|
|
|
24460
24460
|
function VideoBitesDisplay({
|
|
24461
24461
|
bites,
|
|
24462
|
-
title =
|
|
24462
|
+
title = _chunk2NRLRRMRcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
24463
24463
|
filterPublished = true,
|
|
24464
24464
|
showTitle = true
|
|
24465
24465
|
}) {
|
|
24466
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24466
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
24467
24467
|
}
|
|
24468
24468
|
|
|
24469
24469
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -24532,7 +24532,7 @@ function WalkthroughVideo({
|
|
|
24532
24532
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
24533
24533
|
};
|
|
24534
24534
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId]);
|
|
24535
|
-
const hydrated =
|
|
24535
|
+
const hydrated = _chunkBGSBHH4Xcjs.useIsHydrated.call(void 0, );
|
|
24536
24536
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
24537
24537
|
if (!hydrated) return false;
|
|
24538
24538
|
try {
|
|
@@ -24929,7 +24929,7 @@ function WalkthroughVideo({
|
|
|
24929
24929
|
},
|
|
24930
24930
|
children: [
|
|
24931
24931
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none absolute inset-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24932
|
-
|
|
24932
|
+
_chunkBGSBHH4Xcjs.VideoHoverPreviewSurface,
|
|
24933
24933
|
{
|
|
24934
24934
|
url: video.mainVideoUrl || "",
|
|
24935
24935
|
posterUrl: video.posterUrl,
|
|
@@ -24952,7 +24952,7 @@ function WalkthroughVideo({
|
|
|
24952
24952
|
`card-${embedUrlKey}`
|
|
24953
24953
|
) }),
|
|
24954
24954
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24955
|
-
|
|
24955
|
+
_chunkBGSBHH4Xcjs.CardHitLayer,
|
|
24956
24956
|
{
|
|
24957
24957
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
24958
24958
|
onPointerDown: pausePreviewNow,
|
|
@@ -24961,11 +24961,11 @@ function WalkthroughVideo({
|
|
|
24961
24961
|
}
|
|
24962
24962
|
),
|
|
24963
24963
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "pointer-events-none absolute bottom-[var(--spacing-system-xsf)] left-[var(--spacing-system-xsf)] z-20 flex max-w-[calc(100%-2*var(--spacing-system-xsf))] items-center gap-[var(--spacing-system-xsf)] rounded-full bg-ods-overlay py-[var(--spacing-system-xxs)] pl-[var(--spacing-system-xxs)] pr-[var(--spacing-system-sf)] text-ods-text-primary text-h6", children: [
|
|
24964
|
-
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24964
|
+
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.SquareAvatar, { src: presenterAvatarSrc, alt: "", sizePx: 20, variant: "round", className: "shrink-0 border-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.VideoPlayBadge, { size: "sm", className: "h-5 w-5 shrink-0" }),
|
|
24965
24965
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: summaryTitle || label })
|
|
24966
24966
|
] }),
|
|
24967
24967
|
showBigUnmute && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24968
|
-
|
|
24968
|
+
_chunkGBEUGDZGcjs.Button,
|
|
24969
24969
|
{
|
|
24970
24970
|
variant: "glyph",
|
|
24971
24971
|
size: "icon-glyph",
|
|
@@ -24974,12 +24974,12 @@ function WalkthroughVideo({
|
|
|
24974
24974
|
onPointerDown: (e) => e.stopPropagation(),
|
|
24975
24975
|
onClick: onUnmuteOrPlay,
|
|
24976
24976
|
className: "absolute inset-0 z-30 m-auto hidden sm:inline-flex",
|
|
24977
|
-
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24977
|
+
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.VideoPlayBadge, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.VideoUnmuteGlyph, {})
|
|
24978
24978
|
}
|
|
24979
24979
|
),
|
|
24980
24980
|
showPlaybackControls && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "absolute left-[var(--spacing-system-xsf)] top-[var(--spacing-system-xsf)] z-30 flex items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
24981
24981
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24982
|
-
|
|
24982
|
+
_chunkGBEUGDZGcjs.Button,
|
|
24983
24983
|
{
|
|
24984
24984
|
variant: "overlay",
|
|
24985
24985
|
size: "icon-sm",
|
|
@@ -24992,7 +24992,7 @@ function WalkthroughVideo({
|
|
|
24992
24992
|
}
|
|
24993
24993
|
),
|
|
24994
24994
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24995
|
-
|
|
24995
|
+
_chunkGBEUGDZGcjs.Button,
|
|
24996
24996
|
{
|
|
24997
24997
|
variant: "overlay",
|
|
24998
24998
|
size: "icon-sm",
|
|
@@ -25005,7 +25005,7 @@ function WalkthroughVideo({
|
|
|
25005
25005
|
)
|
|
25006
25006
|
] }),
|
|
25007
25007
|
dismissEnabled && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25008
|
-
|
|
25008
|
+
_chunkGBEUGDZGcjs.Button,
|
|
25009
25009
|
{
|
|
25010
25010
|
variant: "overlay",
|
|
25011
25011
|
size: "icon-sm",
|
|
@@ -25067,7 +25067,7 @@ function WalkthroughVideo({
|
|
|
25067
25067
|
children: [
|
|
25068
25068
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive2.Title, { className: "sr-only", children: summaryTitle || "Walkthrough video" }),
|
|
25069
25069
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25070
|
-
|
|
25070
|
+
_chunkBGSBHH4Xcjs.Video,
|
|
25071
25071
|
{
|
|
25072
25072
|
kind: video.youtubeUrl ? "youtube" : "file",
|
|
25073
25073
|
url: video.youtubeUrl || video.mainVideoUrl,
|
|
@@ -25091,7 +25091,7 @@ function WalkthroughVideo({
|
|
|
25091
25091
|
}
|
|
25092
25092
|
),
|
|
25093
25093
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive2.Close, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25094
|
-
|
|
25094
|
+
_chunkGBEUGDZGcjs.Button,
|
|
25095
25095
|
{
|
|
25096
25096
|
ref: closeButtonRef,
|
|
25097
25097
|
variant: "overlay",
|
|
@@ -25118,7 +25118,7 @@ function InlineWalkthroughVideo(props) {
|
|
|
25118
25118
|
var _reactquery = require('@tanstack/react-query');
|
|
25119
25119
|
function useWalkthroughVideo(opts) {
|
|
25120
25120
|
const { endpoint, initialData, enabled = true, transformCaptionsUrl } = opts;
|
|
25121
|
-
const captions =
|
|
25121
|
+
const captions = _chunkBGSBHH4Xcjs.useCaptions.call(void 0, );
|
|
25122
25122
|
const query = _reactquery.useQuery.call(void 0, {
|
|
25123
25123
|
queryKey: ["walkthrough-video", endpoint],
|
|
25124
25124
|
enabled,
|
|
@@ -25230,7 +25230,7 @@ function VideoSourceSelector({
|
|
|
25230
25230
|
] }),
|
|
25231
25231
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2", children: [
|
|
25232
25232
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25233
|
-
|
|
25233
|
+
_chunkGBEUGDZGcjs.Button,
|
|
25234
25234
|
{
|
|
25235
25235
|
type: "button",
|
|
25236
25236
|
variant: videoSourceType === "youtube" ? "accent" : "outline",
|
|
@@ -25241,7 +25241,7 @@ function VideoSourceSelector({
|
|
|
25241
25241
|
}
|
|
25242
25242
|
),
|
|
25243
25243
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25244
|
-
|
|
25244
|
+
_chunkGBEUGDZGcjs.Button,
|
|
25245
25245
|
{
|
|
25246
25246
|
type: "button",
|
|
25247
25247
|
variant: videoSourceType === "uploaded" ? "accent" : "outline",
|
|
@@ -25273,7 +25273,7 @@ function VideoSourceSelector({
|
|
|
25273
25273
|
showAIBadge && isAIGenerated && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {})
|
|
25274
25274
|
] }),
|
|
25275
25275
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25276
|
-
|
|
25276
|
+
_chunkGBEUGDZGcjs.Button,
|
|
25277
25277
|
{
|
|
25278
25278
|
type: "button",
|
|
25279
25279
|
variant: "outline",
|
|
@@ -25316,7 +25316,7 @@ function VideoSourceSelector({
|
|
|
25316
25316
|
}
|
|
25317
25317
|
function DefaultVideoPreview({ videoUrl, onDelete, disabled }) {
|
|
25318
25318
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border", children: [
|
|
25319
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25319
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.Video, { kind: "file", url: videoUrl }) }),
|
|
25320
25320
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25321
25321
|
"button",
|
|
25322
25322
|
{
|
|
@@ -25512,7 +25512,7 @@ var AIEnrichButton = ({
|
|
|
25512
25512
|
className
|
|
25513
25513
|
}) => {
|
|
25514
25514
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25515
|
-
|
|
25515
|
+
_chunkGBEUGDZGcjs.Button,
|
|
25516
25516
|
{
|
|
25517
25517
|
type: "button",
|
|
25518
25518
|
onClick,
|
|
@@ -25658,7 +25658,7 @@ var AIEnrichSection = ({
|
|
|
25658
25658
|
}
|
|
25659
25659
|
),
|
|
25660
25660
|
showCancel && onCancel && loading && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25661
|
-
|
|
25661
|
+
_chunkGBEUGDZGcjs.Button,
|
|
25662
25662
|
{
|
|
25663
25663
|
type: "button",
|
|
25664
25664
|
variant: "outline",
|
|
@@ -25709,7 +25709,7 @@ var AIEnrichSection = ({
|
|
|
25709
25709
|
),
|
|
25710
25710
|
warnings && warnings.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIWarningsSection, { warnings }),
|
|
25711
25711
|
children,
|
|
25712
|
-
showClearButton && onClear && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25712
|
+
showClearButton && onClear && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { type: "button", variant: "outline", size: "small-legacy", onClick: onClear, children: "Clear Results" })
|
|
25713
25713
|
] })
|
|
25714
25714
|
]
|
|
25715
25715
|
}
|
|
@@ -25816,7 +25816,7 @@ function HighlightVideoSection({
|
|
|
25816
25816
|
highlightVideoDurationMs && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "outline", className: "text-h6", children: formatDuration2(highlightVideoDurationMs) })
|
|
25817
25817
|
] }),
|
|
25818
25818
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25819
|
-
|
|
25819
|
+
_chunkGBEUGDZGcjs.Button,
|
|
25820
25820
|
{
|
|
25821
25821
|
type: "button",
|
|
25822
25822
|
variant: "outline",
|
|
@@ -25840,7 +25840,7 @@ function HighlightVideoSection({
|
|
|
25840
25840
|
// Default simple preview — the <Video> SSOT (MuxPlayer) plays
|
|
25841
25841
|
// MP4 and Mux HLS alike; aspect-video box reserves the height.
|
|
25842
25842
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border bg-black", children: [
|
|
25843
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25843
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.Video, { kind: "file", url: highlightVideoUrl, poster: highlightVideoThumbnail || void 0 }) }),
|
|
25844
25844
|
onDeleteHighlight && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25845
25845
|
"button",
|
|
25846
25846
|
{
|
|
@@ -26196,7 +26196,7 @@ function HighlightVideoPreview({
|
|
|
26196
26196
|
highlightVideoDurationMs && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "outline", className: "text-h6", children: formatDuration2(highlightVideoDurationMs) })
|
|
26197
26197
|
] }),
|
|
26198
26198
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26199
|
-
|
|
26199
|
+
_chunkGBEUGDZGcjs.Button,
|
|
26200
26200
|
{
|
|
26201
26201
|
type: "button",
|
|
26202
26202
|
variant: "outline",
|
|
@@ -26404,7 +26404,7 @@ function HighlightVideoCombinedSection({
|
|
|
26404
26404
|
highlightVideoDurationMs && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "outline", className: "text-h6", children: formatDuration2(highlightVideoDurationMs) })
|
|
26405
26405
|
] }),
|
|
26406
26406
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26407
|
-
|
|
26407
|
+
_chunkGBEUGDZGcjs.Button,
|
|
26408
26408
|
{
|
|
26409
26409
|
type: "button",
|
|
26410
26410
|
variant: "outline",
|
|
@@ -26528,7 +26528,7 @@ var CATEGORY_LEVEL_WIDTH = "w-[256px]";
|
|
|
26528
26528
|
var getApprovalLevelLabel = (level) => _nullishCoalesce(approvalLevelLabels[level], () => ( level));
|
|
26529
26529
|
var ApprovalLevelDropdown = ({ value, onChange, allowClear = false, triggerClassName, contentClassName }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCHIHYC7Qcjs.DropdownMenu, { children: [
|
|
26530
26530
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26531
|
-
|
|
26531
|
+
_chunkGBEUGDZGcjs.Button,
|
|
26532
26532
|
{
|
|
26533
26533
|
variant: "outline",
|
|
26534
26534
|
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronDown, { className: "h-6 w-6 text-ods-text-secondary" }),
|
|
@@ -26576,7 +26576,7 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
26576
26576
|
] });
|
|
26577
26577
|
};
|
|
26578
26578
|
var CategorySection = ({ category, editMode, isExpanded, bulkLevel, onToggle, onBulkLevelChange, onPolicyPermissionChange }) => {
|
|
26579
|
-
const { innerRef, containerStyle } =
|
|
26579
|
+
const { innerRef, containerStyle } = _chunkBGSBHH4Xcjs.useCollapsible.call(void 0, { expanded: isExpanded, durationMs: 300 });
|
|
26580
26580
|
const handleBulkChange = (level) => onBulkLevelChange(category.id, level);
|
|
26581
26581
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
26582
26582
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -26622,7 +26622,7 @@ var CategorySection = ({ category, editMode, isExpanded, bulkLevel, onToggle, on
|
|
|
26622
26622
|
}
|
|
26623
26623
|
),
|
|
26624
26624
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26625
|
-
|
|
26625
|
+
_chunkGBEUGDZGcjs.Button,
|
|
26626
26626
|
{
|
|
26627
26627
|
type: "button",
|
|
26628
26628
|
variant: "transparent",
|
|
@@ -26744,7 +26744,7 @@ function WaitlistForm({
|
|
|
26744
26744
|
const { toast } = _chunkGNKM6R55cjs.useToast.call(void 0, );
|
|
26745
26745
|
const { honeypotInputProps, getSignals, resetSignals } = _chunkGNKM6R55cjs.useHumanitySignals.call(void 0, );
|
|
26746
26746
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26747
|
-
const isClient =
|
|
26747
|
+
const isClient = _chunkBGSBHH4Xcjs.useIsHydrated.call(void 0, );
|
|
26748
26748
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26749
26749
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26750
26750
|
const isMailDomainGeneric = hasGenericEmailDomain(email);
|
|
@@ -26891,7 +26891,7 @@ function WaitlistForm({
|
|
|
26891
26891
|
}
|
|
26892
26892
|
),
|
|
26893
26893
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26894
|
-
|
|
26894
|
+
_chunkGBEUGDZGcjs.Button,
|
|
26895
26895
|
{
|
|
26896
26896
|
type: "button",
|
|
26897
26897
|
loading: isSubmitting,
|
|
@@ -27524,7 +27524,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27524
27524
|
"data-state": open ? "open" : "closed",
|
|
27525
27525
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
27526
27526
|
"absolute inset-0 z-[102] outline-none data-[state=closed]:pointer-events-none data-[state=open]:pointer-events-auto data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
27527
|
-
|
|
27527
|
+
_chunkBGSBHH4Xcjs.OVERLAY_BACKDROP_CLASS,
|
|
27528
27528
|
// Persist mode only: hold the fade-out's final (transparent) frame
|
|
27529
27529
|
// so the backdrop doesn't snap back to opacity 1 and dim the whole
|
|
27530
27530
|
// content area while the drawer is "closed" (see PERSIST_CLOSED_HOLD).
|
|
@@ -27600,11 +27600,11 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27600
27600
|
}
|
|
27601
27601
|
);
|
|
27602
27602
|
AppLayoutDrawerContent.displayName = "AppLayoutDrawerContent";
|
|
27603
|
-
var AppLayoutDrawerHeader =
|
|
27604
|
-
var AppLayoutDrawerTitle =
|
|
27605
|
-
var AppLayoutDrawerDescription =
|
|
27606
|
-
var AppLayoutDrawerBody =
|
|
27607
|
-
var AppLayoutDrawerFooter =
|
|
27603
|
+
var AppLayoutDrawerHeader = _chunkBGSBHH4Xcjs.DrawerHeader;
|
|
27604
|
+
var AppLayoutDrawerTitle = _chunkBGSBHH4Xcjs.DrawerTitle;
|
|
27605
|
+
var AppLayoutDrawerDescription = _chunkBGSBHH4Xcjs.DrawerDescription;
|
|
27606
|
+
var AppLayoutDrawerBody = _chunkBGSBHH4Xcjs.DrawerBody;
|
|
27607
|
+
var AppLayoutDrawerFooter = _chunkBGSBHH4Xcjs.DrawerFooter;
|
|
27608
27608
|
|
|
27609
27609
|
// src/components/features/notifications/notification-tile.tsx
|
|
27610
27610
|
|
|
@@ -27692,7 +27692,7 @@ function NotificationTile({
|
|
|
27692
27692
|
}
|
|
27693
27693
|
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, "size-1.5 rounded-full", _chunkGNKM6R55cjs.dotColorByVariant[accentVariant]) }))) }),
|
|
27694
27694
|
type ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk23V5BSHDcjs.cn.call(void 0, "min-w-0 flex-1 truncate text-h5", typeColorByVariant[accentVariant]), title: type, children: type }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1" }),
|
|
27695
|
-
!isLive && createdAtIso ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "time", { dateTime: createdAtIso, className: "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", children:
|
|
27695
|
+
!isLive && createdAtIso ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "time", { dateTime: createdAtIso, className: "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", children: _chunkBGSBHH4Xcjs.formatTicketRelativeTime.call(void 0, createdAtIso) }) : null,
|
|
27696
27696
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "relative size-4 shrink-0", children: [
|
|
27697
27697
|
{
|
|
27698
27698
|
active: isLive,
|
|
@@ -27789,7 +27789,7 @@ function NotificationDrawer({
|
|
|
27789
27789
|
const unreadNotifications = notifications.filter((n) => !n.read);
|
|
27790
27790
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
27791
27791
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "px-[var(--spacing-system-m)] pt-[var(--spacing-system-m)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27792
|
-
|
|
27792
|
+
_chunkBGSBHH4Xcjs.DrawerTitle,
|
|
27793
27793
|
{
|
|
27794
27794
|
hideClose: true,
|
|
27795
27795
|
className: "truncate",
|
|
@@ -27848,8 +27848,8 @@ function NotificationDrawer({
|
|
|
27848
27848
|
}
|
|
27849
27849
|
) });
|
|
27850
27850
|
}
|
|
27851
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27852
|
-
|
|
27851
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.Drawer, { open: isOpen, onOpenChange: (v) => v ? open() : close(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27852
|
+
_chunkBGSBHH4Xcjs.DrawerContent,
|
|
27853
27853
|
{
|
|
27854
27854
|
side: "right",
|
|
27855
27855
|
"aria-describedby": void 0,
|
|
@@ -27982,7 +27982,7 @@ function DesktopNotificationsToggleRow({ checked, onChange }) {
|
|
|
27982
27982
|
}
|
|
27983
27983
|
function NotificationsHistoryButton({ onClick, historyHref }) {
|
|
27984
27984
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27985
|
-
|
|
27985
|
+
_chunkGBEUGDZGcjs.SplitButton,
|
|
27986
27986
|
{
|
|
27987
27987
|
variant: "outline",
|
|
27988
27988
|
fullWidth: true,
|
|
@@ -28132,13 +28132,13 @@ function getApprovalMeta(notification) {
|
|
|
28132
28132
|
function resolutionToStatus(resolution) {
|
|
28133
28133
|
switch (typeof resolution === "string" ? resolution.toUpperCase() : void 0) {
|
|
28134
28134
|
case "APPROVED":
|
|
28135
|
-
return
|
|
28135
|
+
return _chunkBGSBHH4Xcjs.APPROVAL_STATUS.APPROVED;
|
|
28136
28136
|
case "REJECTED":
|
|
28137
|
-
return
|
|
28137
|
+
return _chunkBGSBHH4Xcjs.APPROVAL_STATUS.REJECTED;
|
|
28138
28138
|
case "CANCELLED":
|
|
28139
|
-
return
|
|
28139
|
+
return _chunkBGSBHH4Xcjs.APPROVAL_STATUS.CANCELLED;
|
|
28140
28140
|
default:
|
|
28141
|
-
return
|
|
28141
|
+
return _chunkBGSBHH4Xcjs.APPROVAL_STATUS.PENDING;
|
|
28142
28142
|
}
|
|
28143
28143
|
}
|
|
28144
28144
|
function approvalMetaToBatchData(approval) {
|
|
@@ -28178,7 +28178,7 @@ function ApprovalRequestNotificationTile({
|
|
|
28178
28178
|
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _599 => _599.resolution]));
|
|
28179
28179
|
const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
|
|
28180
28180
|
const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
|
|
28181
|
-
const { innerRef, containerStyle } =
|
|
28181
|
+
const { innerRef, containerStyle } = _chunkBGSBHH4Xcjs.useCollapsible.call(void 0, { expanded });
|
|
28182
28182
|
if (!approval || !batchData) return null;
|
|
28183
28183
|
const tileNotification = {
|
|
28184
28184
|
...notification,
|
|
@@ -28211,7 +28211,7 @@ function ApprovalRequestNotificationTile({
|
|
|
28211
28211
|
actions: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[var(--spacing-system-xs)]", children: [
|
|
28212
28212
|
status === "pending" ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
28213
28213
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28214
|
-
|
|
28214
|
+
_chunkGBEUGDZGcjs.Button,
|
|
28215
28215
|
{
|
|
28216
28216
|
variant: "accent",
|
|
28217
28217
|
size: "small",
|
|
@@ -28221,7 +28221,7 @@ function ApprovalRequestNotificationTile({
|
|
|
28221
28221
|
}
|
|
28222
28222
|
),
|
|
28223
28223
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28224
|
-
|
|
28224
|
+
_chunkGBEUGDZGcjs.Button,
|
|
28225
28225
|
{
|
|
28226
28226
|
variant: "outline",
|
|
28227
28227
|
size: "small",
|
|
@@ -28231,14 +28231,14 @@ function ApprovalRequestNotificationTile({
|
|
|
28231
28231
|
}
|
|
28232
28232
|
)
|
|
28233
28233
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28234
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28234
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.ApprovalStatusTag, { status }),
|
|
28235
28235
|
approval.resolvedByName ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: [
|
|
28236
28236
|
"by ",
|
|
28237
28237
|
approval.resolvedByName
|
|
28238
28238
|
] }) : null
|
|
28239
28239
|
] }),
|
|
28240
28240
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28241
|
-
|
|
28241
|
+
_chunkGBEUGDZGcjs.Button,
|
|
28242
28242
|
{
|
|
28243
28243
|
variant: "outline",
|
|
28244
28244
|
size: "small",
|
|
@@ -28249,12 +28249,12 @@ function ApprovalRequestNotificationTile({
|
|
|
28249
28249
|
"aria-expanded": expanded,
|
|
28250
28250
|
"aria-label": toggleLabel,
|
|
28251
28251
|
className: "ml-auto w-6 shrink-0 px-0 md:w-8",
|
|
28252
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28252
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.ExpandChevron, { expanded })
|
|
28253
28253
|
}
|
|
28254
28254
|
)
|
|
28255
28255
|
] }),
|
|
28256
28256
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: containerStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: innerRef, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-t border-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28257
|
-
|
|
28257
|
+
_chunkBGSBHH4Xcjs.ApprovalBatchMessage,
|
|
28258
28258
|
{
|
|
28259
28259
|
data: batchData,
|
|
28260
28260
|
showExecutionStatus: false,
|
|
@@ -28327,7 +28327,7 @@ function renderCustomerOption(option, isSelected) {
|
|
|
28327
28327
|
const { label, imageUrl } = option;
|
|
28328
28328
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-[var(--spacing-system-xs)]", children: [
|
|
28329
28329
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
28330
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28330
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2NRLRRMRcjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "square" }),
|
|
28331
28331
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", title: label, children: label })
|
|
28332
28332
|
] }),
|
|
28333
28333
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -28411,7 +28411,7 @@ function TimeTrackerPanel({
|
|
|
28411
28411
|
}));
|
|
28412
28412
|
const selectedCustomer = customerAutocompleteOptions.find((o) => o.value === selectedCustomerId);
|
|
28413
28413
|
const customerStartAdornment = selectedCustomer ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28414
|
-
|
|
28414
|
+
_chunk2NRLRRMRcjs.SquareAvatar,
|
|
28415
28415
|
{
|
|
28416
28416
|
src: selectedCustomer.imageUrl,
|
|
28417
28417
|
alt: selectedCustomer.label,
|
|
@@ -28430,7 +28430,7 @@ function TimeTrackerPanel({
|
|
|
28430
28430
|
),
|
|
28431
28431
|
children: [
|
|
28432
28432
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28433
|
-
|
|
28433
|
+
_chunkGBEUGDZGcjs.Button,
|
|
28434
28434
|
{
|
|
28435
28435
|
variant: "transparent",
|
|
28436
28436
|
size: "icon-sm",
|
|
@@ -28444,7 +28444,7 @@ function TimeTrackerPanel({
|
|
|
28444
28444
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-s)]", children: [
|
|
28445
28445
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, StatusTag, { status }),
|
|
28446
28446
|
isActive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28447
|
-
|
|
28447
|
+
_chunkGBEUGDZGcjs.Button,
|
|
28448
28448
|
{
|
|
28449
28449
|
variant: "transparent",
|
|
28450
28450
|
onClick: handleCancel,
|
|
@@ -28465,7 +28465,7 @@ function TimeTrackerPanel({
|
|
|
28465
28465
|
}
|
|
28466
28466
|
) }),
|
|
28467
28467
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28468
|
-
|
|
28468
|
+
_chunkGBEUGDZGcjs.Button,
|
|
28469
28469
|
{
|
|
28470
28470
|
size: "icon",
|
|
28471
28471
|
variant: isActive ? "transparent" : "accent",
|
|
@@ -28477,7 +28477,7 @@ function TimeTrackerPanel({
|
|
|
28477
28477
|
}
|
|
28478
28478
|
),
|
|
28479
28479
|
isActive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28480
|
-
|
|
28480
|
+
_chunkGBEUGDZGcjs.Button,
|
|
28481
28481
|
{
|
|
28482
28482
|
size: "icon",
|
|
28483
28483
|
variant: "accent",
|
|
@@ -28549,7 +28549,7 @@ function TimeTrackerPanel({
|
|
|
28549
28549
|
] }),
|
|
28550
28550
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-2 gap-[var(--spacing-system-m)]", children: [
|
|
28551
28551
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28552
|
-
|
|
28552
|
+
_chunkGBEUGDZGcjs.Button,
|
|
28553
28553
|
{
|
|
28554
28554
|
variant: "outline",
|
|
28555
28555
|
className: "min-w-0",
|
|
@@ -28560,7 +28560,7 @@ function TimeTrackerPanel({
|
|
|
28560
28560
|
}
|
|
28561
28561
|
),
|
|
28562
28562
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28563
|
-
|
|
28563
|
+
_chunkGBEUGDZGcjs.SplitButton,
|
|
28564
28564
|
{
|
|
28565
28565
|
variant: "outline",
|
|
28566
28566
|
fullWidth: true,
|
|
@@ -28581,7 +28581,7 @@ function TimeTrackerPanel({
|
|
|
28581
28581
|
)
|
|
28582
28582
|
] })
|
|
28583
28583
|
] }),
|
|
28584
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28584
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { variant: "outline", fullWidth: true, onClick: onClose, className: "md:hidden", children: "Close" })
|
|
28585
28585
|
]
|
|
28586
28586
|
}
|
|
28587
28587
|
);
|
|
@@ -28590,7 +28590,7 @@ var STATUS_TAG_SKIN = "gap-[var(--spacing-system-xs)] font-mono font-medium uppe
|
|
|
28590
28590
|
function StatusTag({ status }) {
|
|
28591
28591
|
if (status === "tracking") {
|
|
28592
28592
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28593
|
-
|
|
28593
|
+
_chunkBGSBHH4Xcjs.Tag,
|
|
28594
28594
|
{
|
|
28595
28595
|
variant: "success",
|
|
28596
28596
|
className: STATUS_TAG_SKIN,
|
|
@@ -28600,9 +28600,9 @@ function StatusTag({ status }) {
|
|
|
28600
28600
|
);
|
|
28601
28601
|
}
|
|
28602
28602
|
if (status === "paused") {
|
|
28603
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28603
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.Tag, { variant: "warning", className: STATUS_TAG_SKIN, icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.PauseIcon, { className: "h-4 w-4" }), label: "Paused" });
|
|
28604
28604
|
}
|
|
28605
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28605
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.Tag, { variant: "grey", className: STATUS_TAG_SKIN, label: "Ready to Track" });
|
|
28606
28606
|
}
|
|
28607
28607
|
function LastEntryRow({ entry, onClick }) {
|
|
28608
28608
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-m)] border-b border-ods-border bg-ods-bg px-[var(--spacing-system-m)] py-[var(--spacing-system-sf)] last:border-b-0", children: [
|
|
@@ -28615,7 +28615,7 @@ function LastEntryRow({ entry, onClick }) {
|
|
|
28615
28615
|
entry.description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: entry.description })
|
|
28616
28616
|
] }),
|
|
28617
28617
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28618
|
-
|
|
28618
|
+
_chunkGBEUGDZGcjs.Button,
|
|
28619
28619
|
{
|
|
28620
28620
|
variant: "outline",
|
|
28621
28621
|
size: "icon",
|
|
@@ -28771,7 +28771,7 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
28771
28771
|
"data-state": isOpen ? "open" : "closed",
|
|
28772
28772
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
28773
28773
|
layoutContainer ? "absolute inset-0 z-[102]" : "fixed inset-0 z-[1299]",
|
|
28774
|
-
|
|
28774
|
+
_chunkBGSBHH4Xcjs.OVERLAY_BACKDROP_CLASS,
|
|
28775
28775
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
28776
28776
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
|
|
28777
28777
|
)
|
|
@@ -28925,12 +28925,12 @@ function BoardColumnHeader({
|
|
|
28925
28925
|
}) {
|
|
28926
28926
|
const count = _nullishCoalesce(column.total, () => ( column.tickets.length));
|
|
28927
28927
|
const tagStatus = _nullishCoalesce(column.statusKey, () => ( column.id));
|
|
28928
|
-
const useStatusVariant =
|
|
28928
|
+
const useStatusVariant = _chunkBGSBHH4Xcjs.resolveTicketStatus.call(void 0, tagStatus) !== null;
|
|
28929
28929
|
const actionClass = "h-8 w-8 p-0 md:h-8 md:w-8";
|
|
28930
28930
|
if (collapsed) {
|
|
28931
28931
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28932
28932
|
onToggleCollapse && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28933
|
-
|
|
28933
|
+
_chunkGBEUGDZGcjs.Button,
|
|
28934
28934
|
{
|
|
28935
28935
|
variant: "transparent",
|
|
28936
28936
|
size: "icon",
|
|
@@ -28941,7 +28941,7 @@ function BoardColumnHeader({
|
|
|
28941
28941
|
}
|
|
28942
28942
|
),
|
|
28943
28943
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28944
|
-
|
|
28944
|
+
_chunkBGSBHH4Xcjs.TicketStatusTag,
|
|
28945
28945
|
{
|
|
28946
28946
|
status: tagStatus,
|
|
28947
28947
|
label: column.label,
|
|
@@ -28954,13 +28954,13 @@ function BoardColumnHeader({
|
|
|
28954
28954
|
}
|
|
28955
28955
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28956
28956
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28957
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28957
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.TicketStatusTag, { status: tagStatus, label: column.label, color: useStatusVariant ? void 0 : column.color }),
|
|
28958
28958
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h5", style: useStatusVariant ? void 0 : { color: column.color }, children: count })
|
|
28959
28959
|
] }),
|
|
28960
28960
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
28961
|
-
column.tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TouchFriendlyTooltip, { content: column.tooltip, side: "bottom", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28961
|
+
column.tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TouchFriendlyTooltip, { content: column.tooltip, side: "bottom", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { variant: "transparent", size: "icon", className: actionClass, "aria-label": column.tooltip, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.InfoCircleIcon, { className: "h-6 w-6 text-ods-text-secondary" }) }) }),
|
|
28962
28962
|
onToggleCollapse && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28963
|
-
|
|
28963
|
+
_chunkGBEUGDZGcjs.Button,
|
|
28964
28964
|
{
|
|
28965
28965
|
variant: "transparent",
|
|
28966
28966
|
size: "icon",
|
|
@@ -28971,7 +28971,7 @@ function BoardColumnHeader({
|
|
|
28971
28971
|
}
|
|
28972
28972
|
),
|
|
28973
28973
|
onArchive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28974
|
-
|
|
28974
|
+
_chunkGBEUGDZGcjs.Button,
|
|
28975
28975
|
{
|
|
28976
28976
|
variant: "transparent",
|
|
28977
28977
|
size: "icon",
|
|
@@ -28982,7 +28982,7 @@ function BoardColumnHeader({
|
|
|
28982
28982
|
}
|
|
28983
28983
|
),
|
|
28984
28984
|
onAddTicket && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28985
|
-
|
|
28985
|
+
_chunkGBEUGDZGcjs.Button,
|
|
28986
28986
|
{
|
|
28987
28987
|
variant: "transparent",
|
|
28988
28988
|
size: "icon",
|
|
@@ -29105,7 +29105,7 @@ function holdMoveDragEffect(element) {
|
|
|
29105
29105
|
|
|
29106
29106
|
function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
29107
29107
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
29108
|
-
const { innerRef, containerStyle } =
|
|
29108
|
+
const { innerRef, containerStyle } = _chunkBGSBHH4Xcjs.useCollapsible.call(void 0, { expanded });
|
|
29109
29109
|
const isAdmin = pendingApproval.approvalType === "ADMIN";
|
|
29110
29110
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex flex-col", children: [
|
|
29111
29111
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -29134,7 +29134,7 @@ function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
|
29134
29134
|
}
|
|
29135
29135
|
),
|
|
29136
29136
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: containerStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: innerRef, className: "pt-[var(--spacing-system-xs)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29137
|
-
|
|
29137
|
+
_chunkBGSBHH4Xcjs.ApprovalBatchMessage,
|
|
29138
29138
|
{
|
|
29139
29139
|
className: "mb-0",
|
|
29140
29140
|
data: {
|
|
@@ -29206,7 +29206,7 @@ var ACTIVITY_DEFAULT_LABEL = {
|
|
|
29206
29206
|
var TICKET_CARD_SHELL = "relative flex flex-col gap-[var(--spacing-system-sf)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-sf)] select-none text-left";
|
|
29207
29207
|
function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onReject }) {
|
|
29208
29208
|
const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
|
|
29209
|
-
const newMessageTextColor = columnColor ?
|
|
29209
|
+
const newMessageTextColor = columnColor ? _chunkBGSBHH4Xcjs.getReadableTextColor.call(void 0, columnColor) : void 0;
|
|
29210
29210
|
const showDeviceRow = !!(_optionalChain([ticket, 'access', _635 => _635.deviceHostnames, 'optionalAccess', _636 => _636.length]) || ticket.organizationName);
|
|
29211
29211
|
const deviceText = [_optionalChain([ticket, 'access', _637 => _637.deviceHostnames, 'optionalAccess', _638 => _638.join, 'call', _639 => _639(", ")]), ticket.organizationName].filter(Boolean).join(", ");
|
|
29212
29212
|
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _640 => _640.assignees, 'optionalAccess', _641 => _641.length]) || renderAssignSlot);
|
|
@@ -29228,7 +29228,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29228
29228
|
},
|
|
29229
29229
|
a.id
|
|
29230
29230
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29231
|
-
|
|
29231
|
+
_chunk2NRLRRMRcjs.SquareAvatar,
|
|
29232
29232
|
{
|
|
29233
29233
|
src: a.avatarUrl,
|
|
29234
29234
|
alt: _nullishCoalesce(_nullishCoalesce(a.name, () => ( a.initials)), () => ( a.id)),
|
|
@@ -29245,8 +29245,8 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29245
29245
|
] })
|
|
29246
29246
|
] }) : null
|
|
29247
29247
|
] }) : null;
|
|
29248
|
-
const timestampLabel = ticket.createdAt ?
|
|
29249
|
-
const tooltipLabel = ticket.createdAt ?
|
|
29248
|
+
const timestampLabel = ticket.createdAt ? _chunkBGSBHH4Xcjs.formatTicketRelativeTime.call(void 0, ticket.createdAt) : null;
|
|
29249
|
+
const tooltipLabel = ticket.createdAt ? _chunkBGSBHH4Xcjs.formatTicketFullTimestamp.call(void 0, ticket.createdAt) : null;
|
|
29250
29250
|
const metaLabel = [ticket.ticketNumber || null, timestampLabel].filter(Boolean).join(" \u2022 ");
|
|
29251
29251
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
29252
29252
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-sf)]", children: [
|
|
@@ -29260,9 +29260,9 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29260
29260
|
rightSection
|
|
29261
29261
|
] }),
|
|
29262
29262
|
_optionalChain([ticket, 'access', _644 => _644.tags, 'optionalAccess', _645 => _645.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
|
|
29263
|
-
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29264
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29265
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29263
|
+
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBGSBHH4Xcjs.Tooltip, { children: [
|
|
29264
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "pointer-events-auto truncate text-ods-text-secondary text-h6", children: metaLabel }) }),
|
|
29265
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.TooltipContent, { children: tooltipLabel })
|
|
29266
29266
|
] }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: metaLabel })),
|
|
29267
29267
|
ticket.escalatedByUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xxs)] text-ods-open-yellow text-h6", children: [
|
|
29268
29268
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.UserCheckIcon, { className: "size-4 shrink-0" }),
|
|
@@ -29282,7 +29282,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29282
29282
|
}
|
|
29283
29283
|
),
|
|
29284
29284
|
showNewMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29285
|
-
|
|
29285
|
+
_chunkBGSBHH4Xcjs.Tag,
|
|
29286
29286
|
{
|
|
29287
29287
|
label: "New Message",
|
|
29288
29288
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.MessagesIcon, { size: 16, color: newMessageTextColor }),
|
|
@@ -29497,8 +29497,8 @@ function TicketTagRow({ tags }) {
|
|
|
29497
29497
|
const visible = tags.slice(0, MAX_VISIBLE_TAGS);
|
|
29498
29498
|
const hidden = tags.length - visible.length;
|
|
29499
29499
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-8 flex-wrap items-start gap-[var(--spacing-system-xxs)] overflow-clip", children: [
|
|
29500
|
-
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29501
|
-
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29500
|
+
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.Tag, { variant: "outline", label: tag }, tag)),
|
|
29501
|
+
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGSBHH4Xcjs.Tag, { variant: "outline", label: `+${hidden}` })
|
|
29502
29502
|
] });
|
|
29503
29503
|
}
|
|
29504
29504
|
|
|
@@ -30424,7 +30424,7 @@ function SortableMoveButtons({ index, count, label, className }) {
|
|
|
30424
30424
|
const subject = _nullishCoalesce(label, () => ( "item"));
|
|
30425
30425
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "inline-flex shrink-0", className), children: [
|
|
30426
30426
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30427
|
-
|
|
30427
|
+
_chunkGBEUGDZGcjs.Button,
|
|
30428
30428
|
{
|
|
30429
30429
|
ref: upRef,
|
|
30430
30430
|
type: "button",
|
|
@@ -30438,7 +30438,7 @@ function SortableMoveButtons({ index, count, label, className }) {
|
|
|
30438
30438
|
}
|
|
30439
30439
|
),
|
|
30440
30440
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30441
|
-
|
|
30441
|
+
_chunkGBEUGDZGcjs.Button,
|
|
30442
30442
|
{
|
|
30443
30443
|
ref: downRef,
|
|
30444
30444
|
type: "button",
|
|
@@ -31187,4 +31187,4 @@ function SortableRow({
|
|
|
31187
31187
|
|
|
31188
31188
|
|
|
31189
31189
|
exports.AllowedDomainsInput = AllowedDomainsInput; exports.AnnouncementBarView = AnnouncementBarView; exports.HiddenTagsPopup = HiddenTagsPopup; exports.TruncateText = TruncateText; exports.Autocomplete = Autocomplete; 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.DatePickerCalendar = DatePickerCalendar; exports.DatePicker = DatePicker; exports.DatePickerInput = DatePickerInput; exports.DatePickerInputSimple = DatePickerInputSimple; exports.DateFilterPanel = DateFilterPanel; exports.DateFilterMenu = DateFilterMenu; exports.DurationInput = DurationInput; exports.InfoHint = InfoHint; exports.Field = Field; exports.HoneypotField = HoneypotField; exports.JsonDetailList = JsonDetailList; exports.ProgressBar = ProgressBar; exports.InfoCard = InfoCard; exports.InfoRow = InfoRow; exports.DeletedUserAvatar = DeletedUserAvatar; exports.SearchableSelect = SearchableSelect; exports.AssigneeDropdown = AssigneeDropdown; exports.InfoSection = InfoSection; exports.InputTrigger = InputTrigger; exports.MediaTypeSelector = MediaTypeSelector; exports.noDataIconClasses = noDataIconClasses; exports.noDataActionsVariants = noDataActionsVariants; exports.NoDataAction = NoDataAction; exports.NoDataActions = NoDataActions; exports.NoDataMessage = NoDataMessage; 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.useConfirm = useConfirm; exports.useGuardedClose = useGuardedClose; exports.UnsavedChangesChip = UnsavedChangesChip; exports.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS = HUBSPOT_DO_NOT_COLLECT_FORM_PROPS; exports.AdminFormModal = AdminFormModal; 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.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.NavigationMenuViewport = NavigationMenuViewport; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.CrossfadePanels = CrossfadePanels; exports.TabContent = TabContent; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AIGeneratedBadge = AIGeneratedBadge; exports.FadePreview = FadePreview; exports.Progress = Progress; exports.RichMarkdownRuntimeProvider = RichMarkdownRuntimeProvider; exports.useRichMarkdownRuntime = useRichMarkdownRuntime; exports.FullscreenSwitchController = FullscreenSwitchController; exports.EmbedIframe = EmbedIframe; exports.EmbedViewerFrame = EmbedViewerFrame; exports.ClaudeEmbed = ClaudeEmbed; exports.FigmaEmbed = FigmaEmbed; exports.EMBED_SIZES = EMBED_SIZES; exports.EmbedContainer = EmbedContainer; exports.YouTubeContainer = YouTubeContainer; exports.TwitterContainer = TwitterContainer; exports.RedditContainer = RedditContainer; exports.LinkPreviewContainer = LinkPreviewContainer; exports.LinkedInContainer = LinkedInContainer; exports.LinkedInEmbedClient = LinkedInEmbedClient; exports.MarkdownImage = MarkdownImage; exports.OGLinkErrorBoundary = OGLinkErrorBoundary; exports.OGLinkPreview = OGLinkPreview; exports.MediaCarousel = MediaCarousel; exports.RedditEmbedClient = RedditEmbedClient; exports.TwitterEmbedClient = TwitterEmbedClient; exports.SOCIAL_PLATFORM_ALIASES = SOCIAL_PLATFORM_ALIASES; exports.normalizeSocialPlatform = normalizeSocialPlatform; exports.hostMatches = hostMatches; exports.SOCIAL_PLATFORM_ALT_HOSTS = SOCIAL_PLATFORM_ALT_HOSTS; exports.socialPlatformHosts = socialPlatformHosts; exports.classifySocialHost = classifySocialHost; exports.pickSocialLink = pickSocialLink; exports.processShortcodes = processShortcodes; exports.RichMarkdownRenderer = RichMarkdownRenderer; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.StackedRowsPanel = StackedRowsPanel; exports.SlackChannelChip = SlackChannelChip; exports.StatusIndicator = StatusIndicator; exports.BackButton = BackButton; exports.ErrorState = ErrorState; exports.PageError = PageError; exports.LoadError = LoadError; exports.NotFoundError = NotFoundError; 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.SEO_TITLE_MAX_LENGTH = SEO_TITLE_MAX_LENGTH; exports.SEO_DESCRIPTION_MAX_LENGTH = SEO_DESCRIPTION_MAX_LENGTH; exports.BRAND_MARK_SVGS = BRAND_MARK_SVGS; exports.brandMarkDataUri = brandMarkDataUri; 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.TICKET_OPEN_PARAM = TICKET_OPEN_PARAM; exports.buildTicketOpenHref = buildTicketOpenHref; 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.BITE_ID_RE = BITE_ID_RE; exports.generateBiteId = generateBiteId; exports.ensureBiteIds = ensureBiteIds; exports.matchBiteElement = matchBiteElement; 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.isDismissedCookieValue = isDismissedCookieValue; exports.readDismissCookie = readDismissCookie; exports.writeDismissCookie = writeDismissCookie; exports.clearDismissCookie = clearDismissCookie; exports.announcementDismissCookieName = announcementDismissCookieName; exports.dismissAnnouncement = dismissAnnouncement; exports.isAnnouncementDismissed = isAnnouncementDismissed; exports.clearAnnouncementDismissals = clearAnnouncementDismissals; exports.clearLegacyAnnouncementCache = clearLegacyAnnouncementCache; exports.WALKTHROUGH_VIDEO_DISMISS_KEY = WALKTHROUGH_VIDEO_DISMISS_KEY; exports.walkthroughDismissCookieName = walkthroughDismissCookieName; exports.isWalkthroughDismissed = isWalkthroughDismissed; exports.dismissWalkthrough = dismissWalkthrough; exports.clearWalkthroughDismissal = clearWalkthroughDismissal; exports.WALKTHROUGH_OPEN_QUERY_PARAM = WALKTHROUGH_OPEN_QUERY_PARAM; exports.withWalkthroughOpenParam = withWalkthroughOpenParam; exports.createSseSubscription = createSseSubscription; exports.readLeadingDecisionFrame = readLeadingDecisionFrame; exports.ANNOUNCEMENT_CTA_DEFAULTS = ANNOUNCEMENT_CTA_DEFAULTS; 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.ENTITY_QUOTES_TITLE = ENTITY_QUOTES_TITLE; exports.TMCG_ROLES = TMCG_ROLES; exports.TMCG_ROLE_DISPLAY_NAMES = TMCG_ROLE_DISPLAY_NAMES; 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.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.extractSections = extractSections; exports.SCHEDULING_SLUG_SHAPE = SCHEDULING_SLUG_SHAPE; exports.MAX_MONTH_OFFSET = MAX_MONTH_OFFSET; exports.normalizeSchedulingSlug = normalizeSchedulingSlug; exports.isValidSchedulingSlug = isValidSchedulingSlug; exports.parseSchedulingLinkName = parseSchedulingLinkName; exports.isListedSchedulingName = isListedSchedulingName; exports.schedulingAudienceKey = schedulingAudienceKey; exports.SECTION_HERO_ICON_CLASS = SECTION_HERO_ICON_CLASS; exports.FIRST_TOUCH_ATTRIBUTION_KEY = FIRST_TOUCH_ATTRIBUTION_KEY; exports.sanitizeLandingUrl = sanitizeLandingUrl; exports.parseAttributionFromUrl = parseAttributionFromUrl; exports.captureFirstTouchAttribution = captureFirstTouchAttribution; exports.getFirstTouchAttribution = getFirstTouchAttribution; exports.withFirstTouchAttribution = withFirstTouchAttribution; exports.clearFirstTouchAttribution = clearFirstTouchAttribution; exports.ODS_SPACING_TOKENS = ODS_SPACING_TOKENS; exports.ODS_SPACING_TOKEN_PATTERN = ODS_SPACING_TOKEN_PATTERN; exports.ODS_SPACING_PROPS = ODS_SPACING_PROPS; exports.TAILWIND_STEP_TO_ODS_TOKEN = TAILWIND_STEP_TO_ODS_TOKEN; exports.CSV_CONTENT_TYPE = CSV_CONTENT_TYPE; exports.csvEscape = csvEscape; exports.toCsv = toCsv; exports.BenefitCard = BenefitCard; exports.benefitCardBorderClass = benefitCardBorderClass; 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.DashboardInfoCard = DashboardInfoCard; exports.InfoCardRow = InfoCardRow; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.FeatureCardGrid = FeatureCardGrid; exports.FeatureList = FeatureList; exports.SourceTooltip = SourceTooltip; 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.PersonCell = PersonCell; exports.PeopleCell = PeopleCell; exports.TitleContentBlock = TitleContentBlock; exports.TouchFriendlyTooltip = TouchFriendlyTooltip; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE; exports.ROW_SHELL_CLASSES = ROW_SHELL_CLASSES; exports.DataTableSkeleton = DataTableSkeleton; 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.PasswordInput = PasswordInput; exports.AccountDetailsFields = AccountDetailsFields; exports.AuthBenefitsPanel = AuthBenefitsPanel; exports.OpenFrameWordmark = OpenFrameWordmark; exports.PoweredByFlamingo = PoweredByFlamingo; exports.AuthShell = AuthShell; exports.BackToLoginLink = BackToLoginLink; exports.CompactAuthShell = CompactAuthShell; exports.LabeledDivider = LabeledDivider; exports.PROVIDER_META = PROVIDER_META; exports.SsoProviderButtons = SsoProviderButtons; exports.CompleteAccountForm = CompleteAccountForm; exports.PolicyLink = PolicyLink; exports.TermsAgreementLabel = TermsAgreementLabel; exports.CreateOrganizationForm = CreateOrganizationForm; exports.InviteLinkInvalidModal = InviteLinkInvalidModal; exports.LegalLinks = LegalLinks; exports.LoginForm = LoginForm; exports.NoAccountNotice = NoAccountNotice; exports.OpenFrameSsoLoginForm = OpenFrameSsoLoginForm; exports.OpenFrameSsoSignUpForm = OpenFrameSsoSignUpForm; exports.PasswordResetForm = PasswordResetForm; exports.SsoAuthShell = SsoAuthShell; exports.SsoJoinForm = SsoJoinForm; 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.UnifiedSkeleton = UnifiedSkeleton; exports.TextSkeleton = TextSkeleton; exports.InteractiveSkeleton = InteractiveSkeleton; exports.MediaSkeleton = MediaSkeleton; exports.CardSkeleton = CardSkeleton; exports.CardSkeletonGrid = CardSkeletonGrid; exports.AnnouncementBarSkeleton = AnnouncementBarSkeleton; exports.HeroSkeleton = HeroSkeleton; exports.SearchContainerSkeleton = SearchContainerSkeleton; exports.CategorySidebarSkeleton = CategorySidebarSkeleton; exports.BreadcrumbSkeleton = BreadcrumbSkeleton; exports.ResultsHeaderSkeleton = ResultsHeaderSkeleton; exports.TwoColumnLayoutSkeleton = TwoColumnLayoutSkeleton; exports.ArticleLayoutSkeleton = ArticleLayoutSkeleton; exports.VendorDetailLayoutSkeleton = VendorDetailLayoutSkeleton; exports.StatsSectionSkeleton = StatsSectionSkeleton; exports.BlogCardGridSkeleton = BlogCardGridSkeleton; exports.VendorGridSkeleton = VendorGridSkeleton; exports.SlackCommunitySkeleton = SlackCommunitySkeleton; exports.ContentLoadingContainer = ContentLoadingContainer; exports.useContentLoading = useContentLoading; exports.ParagraphSkeleton = ParagraphSkeleton; exports.ListSkeleton = ListSkeleton; exports.TableSkeleton = TableSkeleton; exports.FormSkeleton = FormSkeleton; exports.NavigationSkeleton = NavigationSkeleton; exports.ProfileSkeleton = ProfileSkeleton; exports.CommentSkeleton = CommentSkeleton; exports.FeatureListSkeleton = FeatureListSkeleton; exports.TimelineSkeleton = TimelineSkeleton; exports.PricingSkeleton = PricingSkeleton; exports.ProfileLoadingSkeleton = ProfileLoadingSkeleton; exports.MspProfileFormSkeleton = MspProfileFormSkeleton; exports.CategoryCardSkeleton = CategoryCardSkeleton; exports.CategoryVendorSelectorSkeleton = CategoryVendorSelectorSkeleton; exports.WizardLayoutSkeleton = WizardLayoutSkeleton; exports.MarginReportSkeleton = MarginReportSkeleton; exports.UsersGridSkeleton = UsersGridSkeleton; exports.DynamicSkeleton = DynamicSkeleton; exports.SkeletonPresets = SkeletonPresets; exports.PlatformSkeletonContainer = PlatformSkeletonContainer; exports.ProgressiveSkeleton = ProgressiveSkeleton; exports.OrganizationIconSkeleton = OrganizationIconSkeleton; exports.OrganizationCardSkeleton = OrganizationCardSkeleton; exports.OrganizationCardSkeletonGrid = OrganizationCardSkeletonGrid; exports.DeviceCardSkeleton = DeviceCardSkeleton; exports.DeviceCardSkeletonGrid = DeviceCardSkeletonGrid; exports.PushButtonSelector = PushButtonSelector; exports.ReleaseMediaManager = ReleaseMediaManager; exports.SelectButton = SelectButton; exports.ConfidenceBadge = ConfidenceBadge; exports.SEOEditorPreview = SEOEditorPreview; exports.SOCIAL_ICON_COMPONENTS = SOCIAL_ICON_COMPONENTS; exports.SocialIconRow = SocialIconRow; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.StatusFilterComponent = StatusFilterComponent; exports.TagsSelector = TagsSelector; exports.WarningBlock = WarningBlock; exports.VideoBitesDisplay = VideoBitesDisplay; exports.FloatingWalkthroughVideo = FloatingWalkthroughVideo; exports.InlineWalkthroughVideo = InlineWalkthroughVideo; exports.useWalkthroughVideo = useWalkthroughVideo; exports.VideoSourceSelector = VideoSourceSelector; exports.SubtitlesEditor = SubtitlesEditor; 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.AppLayoutDrawerContainerContext = AppLayoutDrawerContainerContext; exports.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; exports.AppLayoutDrawerCoordinationContext = AppLayoutDrawerCoordinationContext; 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.NotificationTile = NotificationTile; exports.NotificationDrawer = NotificationDrawer; exports.NotificationPopups = NotificationPopups; exports.TICKET_APPROVAL_REQUEST_TYPE = TICKET_APPROVAL_REQUEST_TYPE; exports.MINGO_APPROVAL_REQUEST_TYPE = MINGO_APPROVAL_REQUEST_TYPE; exports.isApprovalNotificationType = isApprovalNotificationType; 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.UnreadDot = UnreadDot; exports.UnreadCountBadge = UnreadCountBadge; exports.HeaderButton = HeaderButton; exports.TimeTrackerHeaderButton = TimeTrackerHeaderButton; exports.BoardColumnHeader = BoardColumnHeader; exports.tintOnDark = tintOnDark; exports.BoardTicketApproval = BoardTicketApproval; exports.TicketCardBody = TicketCardBody; exports.TicketCardView = TicketCardView; exports.TicketCard = TicketCard; exports.TicketCardSkeleton = TicketCardSkeleton; exports.BoardColumn = BoardColumn; exports.useBoardCollapse = useBoardCollapse; exports.Board = Board; exports.columnFromTicketStatus = columnFromTicketStatus; exports.groupTicketsByStatus = groupTicketsByStatus; exports.SLOT_STICKINESS = SLOT_STICKINESS; exports.SortableList = SortableList; exports.SortableMoveButtons = SortableMoveButtons; exports.useSortableItem = useSortableItem; 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.DataTableEmpty = DataTableEmpty; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DataTableHeader = DataTableHeader; exports.DATA_TABLE_HEADER_LABEL_CLASS = DATA_TABLE_HEADER_LABEL_CLASS; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; 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.formatTestRunDuration = formatTestRunDuration; exports.TestResultsSkeleton = TestResultsSkeleton; exports.TestResultsTable = TestResultsTable; exports.TestRunErrorBanner = TestRunErrorBanner; exports.TestRunResults = TestRunResults; exports.TimingStat = TimingStat; exports.TestRunStatusStat = TestRunStatusStat; exports.useTestRunState = useTestRunState; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketDetailSection = TicketDetailSection; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.renderTicketStatusOption = renderTicketStatusOption; exports.renderTicketAssigneeOption = renderTicketAssigneeOption; exports.TakeOverTicketModal = TakeOverTicketModal; exports.ReopenTicketModal = ReopenTicketModal; exports.ReopenTicketRequestModal = ReopenTicketRequestModal; exports.FilterPillRow = FilterPillRow; exports.LazyMount = LazyMount; exports.IconTile = IconTile;
|
|
31190
|
-
//# sourceMappingURL=chunk-
|
|
31190
|
+
//# sourceMappingURL=chunk-ZUX7B27J.cjs.map
|