@flamingo-stack/openframe-frontend-core 0.0.642 → 0.0.643-snapshot.20260916153353
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/chat-protocol/index.cjs +6 -3
- package/dist/chat-protocol/index.cjs.map +1 -1
- package/dist/chat-protocol/index.js +6 -3
- package/dist/chat-protocol/index.js.map +1 -1
- package/dist/chat-protocol/source-metadata.d.ts +16 -1
- package/dist/chat-protocol/source-metadata.d.ts.map +1 -1
- package/dist/{chunk-YM6L3WM5.js → chunk-27RD5XTP.js} +3 -3
- package/dist/{chunk-POPL3W2S.js → chunk-3DGRXC74.js} +3 -3
- package/dist/{chunk-2Z5FPHOL.cjs → chunk-3UBT2OIX.cjs} +20 -20
- package/dist/{chunk-2Z5FPHOL.cjs.map → chunk-3UBT2OIX.cjs.map} +1 -1
- package/dist/{chunk-6GY6DFIH.js → chunk-4WVWRFGP.js} +6 -6
- package/dist/{chunk-OYI3K5R6.cjs → chunk-65EVGKFV.cjs} +8 -14
- package/dist/chunk-65EVGKFV.cjs.map +1 -0
- package/dist/{chunk-6NHLZORM.js → chunk-7Q5XXPCB.js} +6 -6
- package/dist/{chunk-2NRLRRMR.cjs → chunk-7R2DIGG4.cjs} +319 -293
- package/dist/chunk-7R2DIGG4.cjs.map +1 -0
- package/dist/{chunk-3LXJEXPH.js → chunk-B3Z3RJRW.js} +2 -2
- package/dist/{chunk-N5C5P2LM.cjs → chunk-B5IFXCRF.cjs} +22 -22
- package/dist/{chunk-N5C5P2LM.cjs.map → chunk-B5IFXCRF.cjs.map} +1 -1
- package/dist/{chunk-YRSRP4U3.cjs → chunk-C5Y5T6GC.cjs} +15 -15
- package/dist/{chunk-YRSRP4U3.cjs.map → chunk-C5Y5T6GC.cjs.map} +1 -1
- package/dist/{chunk-VHB3I6F3.cjs → chunk-CBXZSTAG.cjs} +419 -445
- package/dist/chunk-CBXZSTAG.cjs.map +1 -0
- package/dist/{chunk-VKPTN5MT.cjs → chunk-DCCY54LU.cjs} +6 -6
- package/dist/{chunk-VKPTN5MT.cjs.map → chunk-DCCY54LU.cjs.map} +1 -1
- package/dist/{chunk-WL3PNUNY.cjs → chunk-FAD5WURS.cjs} +81 -81
- package/dist/{chunk-WL3PNUNY.cjs.map → chunk-FAD5WURS.cjs.map} +1 -1
- package/dist/{chunk-3IPL6G7S.js → chunk-FOSIR4QF.js} +260 -234
- package/dist/chunk-FOSIR4QF.js.map +1 -0
- package/dist/{chunk-MJ424FEC.js → chunk-HOGOQA2X.js} +2 -2
- package/dist/{chunk-SDGMLXIP.js → chunk-HPWLIYRL.js} +12 -25
- package/dist/chunk-HPWLIYRL.js.map +1 -0
- package/dist/{chunk-3I6XHQUD.js → chunk-I57XLISO.js} +54 -80
- package/dist/chunk-I57XLISO.js.map +1 -0
- package/dist/{chunk-FRCUUK5X.cjs → chunk-IIXB5REN.cjs} +3 -3
- package/dist/{chunk-FRCUUK5X.cjs.map → chunk-IIXB5REN.cjs.map} +1 -1
- package/dist/{chunk-HW7BLVQH.js → chunk-IXD6SHQ6.js} +4 -4
- package/dist/{chunk-XFLJC2WR.cjs → chunk-LZYPSDFE.cjs} +59 -59
- package/dist/{chunk-XFLJC2WR.cjs.map → chunk-LZYPSDFE.cjs.map} +1 -1
- package/dist/{chunk-QY25ZP2V.cjs → chunk-MCQAOIUK.cjs} +28 -28
- package/dist/{chunk-QY25ZP2V.cjs.map → chunk-MCQAOIUK.cjs.map} +1 -1
- package/dist/{chunk-S254VEDE.js → chunk-MRIOYSXH.js} +3 -3
- package/dist/{chunk-OOOOC5O5.cjs → chunk-OMSUWB6A.cjs} +29 -29
- package/dist/{chunk-OOOOC5O5.cjs.map → chunk-OMSUWB6A.cjs.map} +1 -1
- package/dist/{chunk-GEIHTN6J.cjs → chunk-OVXYX47B.cjs} +10 -10
- package/dist/{chunk-GEIHTN6J.cjs.map → chunk-OVXYX47B.cjs.map} +1 -1
- package/dist/{chunk-XWGHLSAL.js → chunk-PFV4DAX5.js} +4 -4
- package/dist/{chunk-O4LL7RQV.cjs → chunk-RB6L5EGM.cjs} +208 -221
- package/dist/chunk-RB6L5EGM.cjs.map +1 -0
- package/dist/{chunk-M4PJVFBF.cjs → chunk-RFFF2EYD.cjs} +11 -11
- package/dist/{chunk-M4PJVFBF.cjs.map → chunk-RFFF2EYD.cjs.map} +1 -1
- package/dist/{chunk-UFBWNVZZ.js → chunk-RNMGKAS6.js} +7 -7
- package/dist/{chunk-SE6YRE3R.cjs → chunk-RWURXICE.cjs} +32 -32
- package/dist/{chunk-SE6YRE3R.cjs.map → chunk-RWURXICE.cjs.map} +1 -1
- package/dist/{chunk-ZAIYD3MZ.js → chunk-S2KMNFFN.js} +3 -3
- package/dist/{chunk-ZGPJ3NVF.js → chunk-SKABQX44.js} +3 -3
- package/dist/{chunk-YE3TFNW6.cjs → chunk-TGUA3C4U.cjs} +5 -5
- package/dist/{chunk-YE3TFNW6.cjs.map → chunk-TGUA3C4U.cjs.map} +1 -1
- package/dist/{chunk-ORFJVMAL.js → chunk-TTVOBWAH.js} +5 -11
- package/dist/chunk-TTVOBWAH.js.map +1 -0
- package/dist/{chunk-M7QROULE.js → chunk-UEXIMEVU.js} +5 -5
- package/dist/{chunk-EW3MSJOE.cjs → chunk-UKV52KAP.cjs} +33 -33
- package/dist/{chunk-EW3MSJOE.cjs.map → chunk-UKV52KAP.cjs.map} +1 -1
- package/dist/{chunk-J4RZVLLQ.js → chunk-VE52MSYC.js} +5 -5
- package/dist/components/case-studies/index.cjs +16 -16
- package/dist/components/case-studies/index.js +4 -4
- package/dist/components/chat/chat-sidebar.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/blog-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/program-card.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +3 -9
- package/dist/components/chat/index.cjs.map +1 -1
- package/dist/components/chat/index.js +2 -8
- package/dist/components/chat/types/entities/investor-update.d.ts.map +1 -1
- package/dist/components/chat/types/entities/program-types.d.ts +8 -18
- package/dist/components/chat/types/entities/program-types.d.ts.map +1 -1
- package/dist/components/chat/utils/compact-card-classes.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +5 -5
- package/dist/components/contact/index.js +4 -4
- package/dist/components/docs/index.cjs +8 -8
- package/dist/components/docs/index.js +7 -7
- package/dist/components/embeds/index.cjs +5 -5
- package/dist/components/embeds/index.js +4 -4
- package/dist/components/faq/index.cjs +5 -5
- package/dist/components/faq/index.js +4 -4
- package/dist/components/features/index.cjs +4 -4
- package/dist/components/features/index.js +3 -3
- package/dist/components/help-center-pages/index.cjs +24 -24
- package/dist/components/help-center-pages/index.js +15 -15
- package/dist/components/index.cjs +53 -59
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +15 -21
- package/dist/components/index.js.map +1 -1
- package/dist/components/logs-list.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/confirmation.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/directory.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +47 -72
- package/dist/components/meeting-scheduler/index.cjs.map +1 -1
- package/dist/components/meeting-scheduler/index.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.js +16 -41
- package/dist/components/meeting-scheduler/index.js.map +1 -1
- package/dist/components/meeting-scheduler/slot-picker.d.ts.map +1 -1
- package/dist/components/navigation/index.cjs +7 -7
- package/dist/components/navigation/index.js +6 -6
- package/dist/components/onboarding-guides/index.cjs +7 -7
- package/dist/components/onboarding-guides/index.js +6 -6
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/shared/article-author-byline.d.ts.map +1 -1
- package/dist/components/tickets/index.cjs +8 -8
- package/dist/components/tickets/index.js +7 -7
- package/dist/components/ui/date-picker.d.ts.map +1 -1
- package/dist/components/ui/device-card.d.ts.map +1 -1
- package/dist/components/ui/drawer.d.ts +19 -5
- package/dist/components/ui/drawer.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +4 -10
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.js +3 -9
- package/dist/components/ui/table/table-timestamp-cell.d.ts.map +1 -1
- package/dist/index.cjs +29 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +35 -23
- package/dist/index.js.map +1 -1
- package/dist/utils/date-formatters.d.ts +7 -2
- package/dist/utils/date-formatters.d.ts.map +1 -1
- package/dist/utils/date-utils.d.ts +4 -1
- package/dist/utils/date-utils.d.ts.map +1 -1
- package/dist/utils/format-date.d.ts.map +1 -1
- package/dist/utils/format.d.ts +155 -11
- package/dist/utils/format.d.ts.map +1 -1
- package/dist/utils/index.cjs +223 -109
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.ts +4 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +211 -110
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/program-instant.d.ts +145 -0
- package/dist/utils/program-instant.d.ts.map +1 -0
- package/dist/utils/program-meta-renderers.d.ts +3 -0
- package/dist/utils/program-meta-renderers.d.ts.map +1 -0
- package/dist/utils/url-safety.d.ts +33 -0
- package/dist/utils/url-safety.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/chat-protocol/__tests__/source-metadata.test.ts +70 -3
- package/src/chat-protocol/source-metadata.ts +22 -6
- package/src/components/chat/chat-sidebar.tsx +4 -11
- package/src/components/chat/entity-cards/.program-card.md +1 -1
- package/src/components/chat/entity-cards/blog-card.tsx +4 -24
- package/src/components/chat/entity-cards/dispatch.tsx +9 -27
- package/src/components/chat/entity-cards/program-card.tsx +42 -81
- package/src/components/chat/types/entities/investor-update.ts +4 -6
- package/src/components/chat/types/entities/program-types.ts +8 -89
- package/src/components/chat/utils/.compact-card-classes.md +1 -1
- package/src/components/chat/utils/compact-card-classes.ts +5 -3
- package/src/components/logs-list.tsx +4 -13
- package/src/components/meeting-scheduler/confirmation.tsx +6 -10
- package/src/components/meeting-scheduler/directory.tsx +2 -12
- package/src/components/meeting-scheduler/index.tsx +3 -11
- package/src/components/meeting-scheduler/slot-picker.tsx +4 -7
- package/src/components/shared/article-author-byline.tsx +4 -13
- package/src/components/ui/.drawer.md +1 -0
- package/src/components/ui/__tests__/drawer-size.test.tsx +38 -0
- package/src/components/ui/date-picker.tsx +6 -13
- package/src/components/ui/device-card.tsx +4 -10
- package/src/components/ui/drawer.tsx +44 -9
- package/src/components/ui/table/table-timestamp-cell.tsx +8 -2
- package/src/utils/.format.md +5 -2
- package/src/utils/__tests__/date-rendering.test.ts +118 -0
- package/src/utils/__tests__/format-program-dates.test.ts +148 -0
- package/src/utils/__tests__/program-instant.test.ts +125 -0
- package/src/utils/__tests__/url-safety.test.ts +44 -0
- package/src/utils/date-formatters.ts +18 -29
- package/src/utils/date-utils.ts +27 -40
- package/src/utils/format-date.ts +14 -16
- package/src/utils/format.ts +367 -66
- package/src/utils/index.ts +24 -0
- package/src/utils/program-instant.ts +180 -0
- package/src/utils/program-meta-renderers.ts +18 -0
- package/src/utils/url-safety.ts +43 -0
- package/dist/chunk-2NRLRRMR.cjs.map +0 -1
- package/dist/chunk-3I6XHQUD.js.map +0 -1
- package/dist/chunk-3IPL6G7S.js.map +0 -1
- package/dist/chunk-O4LL7RQV.cjs.map +0 -1
- package/dist/chunk-ORFJVMAL.js.map +0 -1
- package/dist/chunk-OYI3K5R6.cjs.map +0 -1
- package/dist/chunk-SDGMLXIP.js.map +0 -1
- package/dist/chunk-VHB3I6F3.cjs.map +0 -1
- /package/dist/{chunk-YM6L3WM5.js.map → chunk-27RD5XTP.js.map} +0 -0
- /package/dist/{chunk-POPL3W2S.js.map → chunk-3DGRXC74.js.map} +0 -0
- /package/dist/{chunk-6GY6DFIH.js.map → chunk-4WVWRFGP.js.map} +0 -0
- /package/dist/{chunk-6NHLZORM.js.map → chunk-7Q5XXPCB.js.map} +0 -0
- /package/dist/{chunk-3LXJEXPH.js.map → chunk-B3Z3RJRW.js.map} +0 -0
- /package/dist/{chunk-MJ424FEC.js.map → chunk-HOGOQA2X.js.map} +0 -0
- /package/dist/{chunk-HW7BLVQH.js.map → chunk-IXD6SHQ6.js.map} +0 -0
- /package/dist/{chunk-S254VEDE.js.map → chunk-MRIOYSXH.js.map} +0 -0
- /package/dist/{chunk-XWGHLSAL.js.map → chunk-PFV4DAX5.js.map} +0 -0
- /package/dist/{chunk-UFBWNVZZ.js.map → chunk-RNMGKAS6.js.map} +0 -0
- /package/dist/{chunk-ZAIYD3MZ.js.map → chunk-S2KMNFFN.js.map} +0 -0
- /package/dist/{chunk-ZGPJ3NVF.js.map → chunk-SKABQX44.js.map} +0 -0
- /package/dist/{chunk-M7QROULE.js.map → chunk-UEXIMEVU.js.map} +0 -0
- /package/dist/{chunk-J4RZVLLQ.js.map → chunk-VE52MSYC.js.map} +0 -0
|
@@ -91,7 +91,7 @@ var _chunkN6HNK25Acjs = require('./chunk-N6HNK25A.cjs');
|
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
|
|
94
|
-
var
|
|
94
|
+
var _chunkCBXZSTAGcjs = require('./chunk-CBXZSTAG.cjs');
|
|
95
95
|
|
|
96
96
|
|
|
97
97
|
|
|
@@ -231,7 +231,10 @@ var _chunkXQFFGR6Ucjs = require('./chunk-XQFFGR6U.cjs');
|
|
|
231
231
|
|
|
232
232
|
|
|
233
233
|
|
|
234
|
-
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
var _chunk7R2DIGG4cjs = require('./chunk-7R2DIGG4.cjs');
|
|
235
238
|
|
|
236
239
|
|
|
237
240
|
var _chunkWLSFBRT5cjs = require('./chunk-WLSFBRT5.cjs');
|
|
@@ -346,7 +349,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
346
349
|
var useTheme = _nextthemes.useTheme;
|
|
347
350
|
function useThemeToggle() {
|
|
348
351
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
349
|
-
const mounted =
|
|
352
|
+
const mounted = _chunkCBXZSTAGcjs.useIsHydrated.call(void 0, );
|
|
350
353
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
351
354
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
352
355
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -623,7 +626,7 @@ function TruncateText({
|
|
|
623
626
|
const { ref, isTruncated } = _chunkTLLJIGTPcjs.useIsTruncated.call(void 0, children, { multiline: isMultiLine });
|
|
624
627
|
const clampClass = isMultiLine ? LINE_CLAMP_CLASS[lines] : "truncate block";
|
|
625
628
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
626
|
-
|
|
629
|
+
_chunkCBXZSTAGcjs.FloatingTooltip,
|
|
627
630
|
{
|
|
628
631
|
content: _nullishCoalesce(tooltip, () => ( children)),
|
|
629
632
|
side,
|
|
@@ -930,7 +933,7 @@ function AutocompleteInner(props, ref) {
|
|
|
930
933
|
),
|
|
931
934
|
/* @__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
935
|
multiple && visibleTags.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
933
|
-
|
|
936
|
+
_chunkCBXZSTAGcjs.Tag,
|
|
934
937
|
{
|
|
935
938
|
variant: "outline",
|
|
936
939
|
labelClassName: "max-w-[90px] truncate",
|
|
@@ -1144,7 +1147,7 @@ function AutocompleteInner(props, ref) {
|
|
|
1144
1147
|
"aria-hidden": "true",
|
|
1145
1148
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
1146
1149
|
children: selectedOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1147
|
-
|
|
1150
|
+
_chunkCBXZSTAGcjs.Tag,
|
|
1148
1151
|
{
|
|
1149
1152
|
variant: "outline",
|
|
1150
1153
|
labelClassName: "max-w-[90px] truncate",
|
|
@@ -1458,13 +1461,7 @@ SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
|
|
|
1458
1461
|
|
|
1459
1462
|
// src/components/ui/date-picker.tsx
|
|
1460
1463
|
|
|
1461
|
-
var defaultFormatDate = (date) =>
|
|
1462
|
-
return date.toLocaleDateString("en-US", {
|
|
1463
|
-
month: "2-digit",
|
|
1464
|
-
day: "2-digit",
|
|
1465
|
-
year: "numeric"
|
|
1466
|
-
});
|
|
1467
|
-
};
|
|
1464
|
+
var defaultFormatDate = (date) => _chunk7R2DIGG4cjs.formatDateWithTimezone.call(void 0, date, _chunk7R2DIGG4cjs.VIEWER_TIMEZONE, "numeric");
|
|
1468
1465
|
var formatDateRange = (range, formatFn) => {
|
|
1469
1466
|
if (!_optionalChain([range, 'optionalAccess', _24 => _24.from])) return "";
|
|
1470
1467
|
if (!range.to) return formatFn(range.from);
|
|
@@ -1665,12 +1662,7 @@ function DatePickerCalendar({
|
|
|
1665
1662
|
};
|
|
1666
1663
|
const handlePreviousMonth = () => shiftMonth(-1);
|
|
1667
1664
|
const handleNextMonth = () => shiftMonth(1);
|
|
1668
|
-
const formatMonthYear = (date) =>
|
|
1669
|
-
return date.toLocaleDateString("en-US", {
|
|
1670
|
-
month: "long",
|
|
1671
|
-
year: "numeric"
|
|
1672
|
-
});
|
|
1673
|
-
};
|
|
1665
|
+
const formatMonthYear = (date) => _chunk7R2DIGG4cjs.formatDateWithTimezone.call(void 0, date, _chunk7R2DIGG4cjs.VIEWER_TIMEZONE, "monthYear");
|
|
1674
1666
|
const getSecondMonth = (date) => {
|
|
1675
1667
|
const next = new Date(date);
|
|
1676
1668
|
next.setMonth(next.getMonth() + 1);
|
|
@@ -2534,7 +2526,7 @@ function InfoHint({ children, label, side = "top", className }) {
|
|
|
2534
2526
|
const describedById = _react.useId.call(void 0, );
|
|
2535
2527
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, "inline-flex shrink-0 items-center", className), children: [
|
|
2536
2528
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2537
|
-
|
|
2529
|
+
_chunkCBXZSTAGcjs.FloatingTooltip,
|
|
2538
2530
|
{
|
|
2539
2531
|
content: children,
|
|
2540
2532
|
side,
|
|
@@ -2628,7 +2620,7 @@ function Value2({ value, depth }) {
|
|
|
2628
2620
|
}
|
|
2629
2621
|
if (typeof value === "string") {
|
|
2630
2622
|
if (ISO_DATE.test(value)) {
|
|
2631
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children:
|
|
2623
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children: _chunkCBXZSTAGcjs.formatRelativeTime.call(void 0, value) });
|
|
2632
2624
|
}
|
|
2633
2625
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-pre-wrap text-ods-text-primary", children: value });
|
|
2634
2626
|
}
|
|
@@ -3023,7 +3015,7 @@ function CompactAssigneeDropdown({
|
|
|
3023
3015
|
value: o.value,
|
|
3024
3016
|
label: o.label,
|
|
3025
3017
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3026
|
-
|
|
3018
|
+
_chunk7R2DIGG4cjs.SquareAvatar,
|
|
3027
3019
|
{
|
|
3028
3020
|
src: o.imageUrl,
|
|
3029
3021
|
alt: o.label,
|
|
@@ -3058,7 +3050,7 @@ function CompactAssigneeDropdown({
|
|
|
3058
3050
|
className
|
|
3059
3051
|
),
|
|
3060
3052
|
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
|
-
|
|
3053
|
+
_chunk7R2DIGG4cjs.SquareAvatar,
|
|
3062
3054
|
{
|
|
3063
3055
|
src: currentAssignee.avatarSrc,
|
|
3064
3056
|
alt: currentAssignee.name,
|
|
@@ -3106,7 +3098,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
3106
3098
|
const opt = option;
|
|
3107
3099
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-sf)]", children: [
|
|
3108
3100
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3109
|
-
|
|
3101
|
+
_chunk7R2DIGG4cjs.SquareAvatar,
|
|
3110
3102
|
{
|
|
3111
3103
|
src: opt.imageUrl,
|
|
3112
3104
|
alt: opt.label,
|
|
@@ -3141,7 +3133,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
3141
3133
|
accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}`
|
|
3142
3134
|
}
|
|
3143
3135
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3144
|
-
|
|
3136
|
+
_chunk7R2DIGG4cjs.SquareAvatar,
|
|
3145
3137
|
{
|
|
3146
3138
|
src: currentAssignee.avatarSrc,
|
|
3147
3139
|
alt: currentAssignee.name,
|
|
@@ -3166,7 +3158,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
3166
3158
|
accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}`
|
|
3167
3159
|
}
|
|
3168
3160
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3169
|
-
|
|
3161
|
+
_chunk7R2DIGG4cjs.SquareAvatar,
|
|
3170
3162
|
{
|
|
3171
3163
|
src: currentAssignee.avatarSrc,
|
|
3172
3164
|
alt: currentAssignee.name,
|
|
@@ -3240,7 +3232,7 @@ function TextValue({ value }) {
|
|
|
3240
3232
|
}
|
|
3241
3233
|
) : 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
3234
|
hasImage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3243
|
-
|
|
3235
|
+
_chunk7R2DIGG4cjs.SquareAvatar,
|
|
3244
3236
|
{
|
|
3245
3237
|
src: imageSrc,
|
|
3246
3238
|
alt: text,
|
|
@@ -3260,7 +3252,7 @@ function RowValue({ value }) {
|
|
|
3260
3252
|
}
|
|
3261
3253
|
case "status": {
|
|
3262
3254
|
const { type: _type, ...props } = value;
|
|
3263
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3255
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.TicketStatusTag, { ...props });
|
|
3264
3256
|
}
|
|
3265
3257
|
case "custom":
|
|
3266
3258
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: value.content });
|
|
@@ -4171,7 +4163,7 @@ function TagsManager({
|
|
|
4171
4163
|
}
|
|
4172
4164
|
),
|
|
4173
4165
|
selectedTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4174
|
-
|
|
4166
|
+
_chunkCBXZSTAGcjs.Tag,
|
|
4175
4167
|
{
|
|
4176
4168
|
label: tag.name,
|
|
4177
4169
|
variant: "outline",
|
|
@@ -4716,10 +4708,10 @@ function useConfirm() {
|
|
|
4716
4708
|
},
|
|
4717
4709
|
[]
|
|
4718
4710
|
);
|
|
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,
|
|
4711
|
+
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCBXZSTAGcjs.Modal, { isOpen: open, onClose: () => decide(false), children: [
|
|
4712
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.ModalTitle, { children: pending.title }) }),
|
|
4713
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.ModalContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: pending.body }) }),
|
|
4714
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCBXZSTAGcjs.ModalFooter, { children: [
|
|
4723
4715
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { variant: "outline", onClick: () => decide(false), children: "Cancel" }),
|
|
4724
4716
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { variant: "destructive", onClick: () => decide(true), children: "Confirm" })
|
|
4725
4717
|
] })
|
|
@@ -4782,9 +4774,9 @@ function AdminFormModal({
|
|
|
4782
4774
|
body: "Your edits have not been saved. Close and discard them?"
|
|
4783
4775
|
});
|
|
4784
4776
|
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,
|
|
4777
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCBXZSTAGcjs.Modal, { isOpen: true, onClose: guardedClose, size: effectiveSize, children: [
|
|
4778
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCBXZSTAGcjs.ModalHeader, { children: [
|
|
4779
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.ModalTitle, { children: title }),
|
|
4788
4780
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
4789
4781
|
] }),
|
|
4790
4782
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -4809,7 +4801,7 @@ function AdminFormModal({
|
|
|
4809
4801
|
// a shrink-to-fit flex item pinned to the left of a 1400px panel).
|
|
4810
4802
|
// The placeholder owns its own layout and mirrors the column count so
|
|
4811
4803
|
// the modal doesn't visibly re-flow when the entity lands.
|
|
4812
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4804
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.ModalContent, { children: loadingContent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-busy": "true", children: loadingContent }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4813
4805
|
"div",
|
|
4814
4806
|
{
|
|
4815
4807
|
"aria-busy": "true",
|
|
@@ -4830,12 +4822,12 @@ function AdminFormModal({
|
|
|
4830
4822
|
]
|
|
4831
4823
|
}
|
|
4832
4824
|
) })
|
|
4833
|
-
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4825
|
+
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.ModalTwoColumn, { left: leftColumn, right: rightColumn }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.ModalContent, { className: contentClassName, children }),
|
|
4834
4826
|
error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { role: "alert", className: "shrink-0 text-ods-error text-h6", children: error })
|
|
4835
4827
|
]
|
|
4836
4828
|
}
|
|
4837
4829
|
),
|
|
4838
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4830
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.ModalFooter, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between gap-[var(--spacing-system-xsf)]", children: [
|
|
4839
4831
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: footerExtras }),
|
|
4840
4832
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
4841
4833
|
footerStatus,
|
|
@@ -6981,7 +6973,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
6981
6973
|
};
|
|
6982
6974
|
const displayImageSrc = (url) => transformImageSrc ? transformImageSrc(url) : url;
|
|
6983
6975
|
const renderVideo = (item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6984
|
-
|
|
6976
|
+
_chunkCBXZSTAGcjs.Video,
|
|
6985
6977
|
{
|
|
6986
6978
|
url: item.src,
|
|
6987
6979
|
poster: item.poster ? displayImageSrc(item.poster) : void 0,
|
|
@@ -7413,7 +7405,7 @@ function RedditEmbedClient({ url, maxWidth = 700 }) {
|
|
|
7413
7405
|
width: m.width,
|
|
7414
7406
|
height: m.height
|
|
7415
7407
|
}));
|
|
7416
|
-
const formatNumber2 =
|
|
7408
|
+
const formatNumber2 = _chunk7R2DIGG4cjs.formatLargeNumber;
|
|
7417
7409
|
const truncateText = (text, maxLength = 600) => {
|
|
7418
7410
|
if (text.length <= maxLength) return text;
|
|
7419
7411
|
return text.slice(0, maxLength) + "...";
|
|
@@ -7705,7 +7697,7 @@ function buildRichEmbedOverrides({
|
|
|
7705
7697
|
ogEndpointPath,
|
|
7706
7698
|
textSizes
|
|
7707
7699
|
}) {
|
|
7708
|
-
const standard =
|
|
7700
|
+
const standard = _chunkCBXZSTAGcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7709
7701
|
return {
|
|
7710
7702
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7711
7703
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7715,7 +7707,7 @@ function buildRichEmbedOverrides({
|
|
|
7715
7707
|
const language = match ? match[1] : "";
|
|
7716
7708
|
const fenceText = () => String(children).replace(/\n$/, "").trim();
|
|
7717
7709
|
if (language === "youtube-embed") {
|
|
7718
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7710
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.Video, { kind: "youtube", url: fenceText() });
|
|
7719
7711
|
}
|
|
7720
7712
|
if (language === "reddit-embed") {
|
|
7721
7713
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: fenceText() });
|
|
@@ -7756,7 +7748,7 @@ function buildRichEmbedOverrides({
|
|
|
7756
7748
|
"data-figma-url": figmaUrl
|
|
7757
7749
|
} = divProps;
|
|
7758
7750
|
if (className === "youtube-embed" && videoId) {
|
|
7759
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7751
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.Video, { kind: "youtube", url: videoId });
|
|
7760
7752
|
}
|
|
7761
7753
|
if (className === "reddit-embed" && postUrl) {
|
|
7762
7754
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: postUrl });
|
|
@@ -7841,14 +7833,14 @@ function buildRichEmbedOverrides({
|
|
|
7841
7833
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7842
7834
|
// elsewhere). Guard against empty `![]()`.
|
|
7843
7835
|
img: ({ src, alt }) => {
|
|
7844
|
-
if (!
|
|
7836
|
+
if (!_chunkCBXZSTAGcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7845
7837
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7846
7838
|
},
|
|
7847
7839
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7848
7840
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7849
7841
|
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,
|
|
7842
|
+
if (!_chunkCBXZSTAGcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7843
|
+
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, _chunkCBXZSTAGcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
7852
7844
|
}
|
|
7853
7845
|
};
|
|
7854
7846
|
}
|
|
@@ -8089,13 +8081,13 @@ var RichMarkdownInner = ({
|
|
|
8089
8081
|
},
|
|
8090
8082
|
[resolveLinkEndpointUrl, resolveSource]
|
|
8091
8083
|
);
|
|
8092
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
8084
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkCBXZSTAGcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
8093
8085
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
8094
8086
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
8095
8087
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
8096
8088
|
);
|
|
8097
8089
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8098
|
-
|
|
8090
|
+
_chunkCBXZSTAGcjs.MarkdownEngine,
|
|
8099
8091
|
{
|
|
8100
8092
|
content,
|
|
8101
8093
|
className,
|
|
@@ -8117,7 +8109,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
8117
8109
|
className = "",
|
|
8118
8110
|
sectionIds,
|
|
8119
8111
|
onInternalLinkClick,
|
|
8120
|
-
brokenLinks =
|
|
8112
|
+
brokenLinks = _chunkCBXZSTAGcjs.NO_BROKEN_LINKS,
|
|
8121
8113
|
currentPath,
|
|
8122
8114
|
resolveSource = "openframe-docs",
|
|
8123
8115
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -8690,7 +8682,7 @@ function FilterModal({
|
|
|
8690
8682
|
const dateDefaultSort = _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _167 => _167.defaultSort]), () => ( "desc"));
|
|
8691
8683
|
const [draftDateSort, setDraftDateSort] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _168 => _168.sort]), () => ( dateDefaultSort)));
|
|
8692
8684
|
const [draftDateRange, setDraftDateRange] = _react.useState.call(void 0, _optionalChain([dateFilter, 'optionalAccess', _169 => _169.range]));
|
|
8693
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
8685
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkCBXZSTAGcjs.useScrollFade.call(void 0, );
|
|
8694
8686
|
const seedKey = `${JSON.stringify(currentFilters)}|${JSON.stringify(_nullishCoalesce(selectedTags, () => ( [])))}`;
|
|
8695
8687
|
const seedSourceRef = _react.useRef.call(void 0, { currentFilters, selectedTags, dateFilter, dateDefaultSort });
|
|
8696
8688
|
_react.useEffect.call(void 0, () => {
|
|
@@ -8735,10 +8727,10 @@ function FilterModal({
|
|
|
8735
8727
|
const hasFilterGroups = filterGroups.length > 0;
|
|
8736
8728
|
const hasTagFilter = !!tagFilterKeys && tagFilterKeys.length > 0 && !!onTagsChange;
|
|
8737
8729
|
const isEmpty = !isLoading && !hasSort && !hasFilterGroups && !hasTagFilter && !dateFilter;
|
|
8738
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8739
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8730
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCBXZSTAGcjs.Modal, { isOpen, onClose, className: _chunk23V5BSHDcjs.cn.call(void 0, "max-h-[90vh] max-w-none", className), children: [
|
|
8731
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.ModalTitle, { children: title }) }),
|
|
8740
8732
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8741
|
-
|
|
8733
|
+
_chunkCBXZSTAGcjs.ModalContent,
|
|
8742
8734
|
{
|
|
8743
8735
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
8744
8736
|
"flex min-h-0 flex-1 flex-col",
|
|
@@ -8830,12 +8822,12 @@ function FilterModal({
|
|
|
8830
8822
|
] })
|
|
8831
8823
|
}
|
|
8832
8824
|
),
|
|
8833
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8834
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8825
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
8826
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
8835
8827
|
] })
|
|
8836
8828
|
}
|
|
8837
8829
|
),
|
|
8838
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8830
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCBXZSTAGcjs.ModalFooter, { children: [
|
|
8839
8831
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { variant: "outline", className: "h-11 flex-1", onClick: handleReset, children: resetButtonText }),
|
|
8840
8832
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { variant: "accent", className: "h-11 flex-1", onClick: handleApply, children: applyButtonText })
|
|
8841
8833
|
] })
|
|
@@ -8879,9 +8871,9 @@ function actionToMenuItems(action, idx) {
|
|
|
8879
8871
|
function renderActionButton(action, opts = {}) {
|
|
8880
8872
|
const button = renderRawActionButton(action, opts);
|
|
8881
8873
|
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,
|
|
8874
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCBXZSTAGcjs.Tooltip, { children: [
|
|
8875
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.TooltipTrigger, { asChild: true, children: button }),
|
|
8876
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.TooltipContent, { children: action.tooltip })
|
|
8885
8877
|
] }) });
|
|
8886
8878
|
}
|
|
8887
8879
|
function renderRawActionButton(action, opts = {}) {
|
|
@@ -8905,7 +8897,7 @@ function renderRawActionButton(action, opts = {}) {
|
|
|
8905
8897
|
}
|
|
8906
8898
|
if (action.submenu && action.submenu.length > 0) {
|
|
8907
8899
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8908
|
-
|
|
8900
|
+
_chunkCBXZSTAGcjs.ActionsMenuDropdown,
|
|
8909
8901
|
{
|
|
8910
8902
|
groups: [{ items: action.submenu }],
|
|
8911
8903
|
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -9040,10 +9032,10 @@ function IconButtonsVariant({
|
|
|
9040
9032
|
selector,
|
|
9041
9033
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
9042
9034
|
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,
|
|
9035
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.ActionsMenuDropdown, { groups: menuActions })
|
|
9044
9036
|
] })
|
|
9045
9037
|
] }),
|
|
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,
|
|
9038
|
+
/* @__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, _chunkCBXZSTAGcjs.ActionsMenuDropdown, { groups: mobileMenuGroups }) : null })
|
|
9047
9039
|
] });
|
|
9048
9040
|
}
|
|
9049
9041
|
function PrimaryButtonsVariant({
|
|
@@ -9081,7 +9073,7 @@ function MenuPrimaryVariant({
|
|
|
9081
9073
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "hidden items-center md:flex", ACTIONS_GAP, className), children: [
|
|
9082
9074
|
selector,
|
|
9083
9075
|
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,
|
|
9076
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.ActionsMenuDropdown, { groups: menuActions }),
|
|
9085
9077
|
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
9078
|
] })
|
|
9087
9079
|
] }),
|
|
@@ -9089,7 +9081,7 @@ function MenuPrimaryVariant({
|
|
|
9089
9081
|
// The selector rides into the menu as its header row: on mobile the
|
|
9090
9082
|
// title row has no room for it, and hiding it entirely (what
|
|
9091
9083
|
// `icon-buttons` does) would leave no way to switch views at all.
|
|
9092
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9084
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.ActionsMenuDropdown, { groups: mobileMenuGroups, header: selector })
|
|
9093
9085
|
) : null })
|
|
9094
9086
|
] });
|
|
9095
9087
|
}
|
|
@@ -9384,7 +9376,7 @@ function EntityImage({ src, alt, fallbackText, sizeClassName, className }) {
|
|
|
9384
9376
|
const [failedSrc, setFailedSrc] = _react2.default.useState(null);
|
|
9385
9377
|
const imageFailed = resolvedSrc !== void 0 && failedSrc === resolvedSrc;
|
|
9386
9378
|
const showFallback = imageFailed || !resolvedSrc;
|
|
9387
|
-
const initials =
|
|
9379
|
+
const initials = _chunk7R2DIGG4cjs.personInitials.call(void 0, _nullishCoalesce(fallbackText, () => ( alt)));
|
|
9388
9380
|
if (showFallback) {
|
|
9389
9381
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9390
9382
|
"div",
|
|
@@ -9495,7 +9487,7 @@ function TitleBlock({
|
|
|
9495
9487
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
9496
9488
|
(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
9489
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9498
|
-
|
|
9490
|
+
_chunkCBXZSTAGcjs.FloatingTooltip,
|
|
9499
9491
|
{
|
|
9500
9492
|
content: title,
|
|
9501
9493
|
side: "bottom",
|
|
@@ -9512,12 +9504,12 @@ function TitleBlock({
|
|
|
9512
9504
|
}
|
|
9513
9505
|
),
|
|
9514
9506
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: titleAdornment })
|
|
9515
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9507
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.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
9508
|
hasSubtitleRow && /* The NBSP is a pure spacer, reached only in `'always'` mode: an
|
|
9517
9509
|
empty `p` collapses to zero height (its only content would be
|
|
9518
9510
|
collapsible whitespace), which is exactly the shift that mode
|
|
9519
9511
|
exists to prevent. Hidden from AT — it carries no meaning. */
|
|
9520
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9512
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.FloatingTooltip, { content: subtitle, side: "bottom", disabled: !subtitleTruncated, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9521
9513
|
"p",
|
|
9522
9514
|
{
|
|
9523
9515
|
ref: subtitleRef,
|
|
@@ -9528,7 +9520,7 @@ function TitleBlock({
|
|
|
9528
9520
|
) })
|
|
9529
9521
|
] })
|
|
9530
9522
|
] }) : 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,
|
|
9523
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.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
9524
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: titleAdornment })
|
|
9533
9525
|
] }) : (
|
|
9534
9526
|
/* This branch never had the single-line clamp, so text already
|
|
@@ -10946,7 +10938,7 @@ function lastPathSegment(url) {
|
|
|
10946
10938
|
function makeComposeContentUrl(opts) {
|
|
10947
10939
|
const suffixes = _nullishCoalesce(opts.suffixes, () => ( DEFAULT_CONTENT_SUFFIXES));
|
|
10948
10940
|
return ({ type: rawType, identifier, slug: slugHint, externalUrl, targetPlatform, platforms }) => {
|
|
10949
|
-
const type =
|
|
10941
|
+
const type = _chunk7R2DIGG4cjs.canonicalContentRefType.call(void 0, rawType);
|
|
10950
10942
|
const override = opts.overrides && Object.prototype.hasOwnProperty.call(opts.overrides, type) ? opts.overrides[type] : void 0;
|
|
10951
10943
|
if (override) return { ...override(identifier), hostOverride: true };
|
|
10952
10944
|
const seg = _nullishCoalesce((Object.prototype.hasOwnProperty.call(suffixes, type) ? suffixes[type] : void 0), () => ( type));
|
|
@@ -11133,7 +11125,7 @@ function extractSections(markdown, options = {}) {
|
|
|
11133
11125
|
if (heading.level > opts.maxLevel) continue;
|
|
11134
11126
|
let title = heading.text;
|
|
11135
11127
|
if (opts.stripFormattingMarkers) {
|
|
11136
|
-
title =
|
|
11128
|
+
title = _chunkCBXZSTAGcjs.stripInlineMarkdown.call(void 0, title).trim();
|
|
11137
11129
|
}
|
|
11138
11130
|
const baseId = _chunkTLLJIGTPcjs.slugifyHeadingBase.call(void 0, opts.removeEmojis ? _chunkTLLJIGTPcjs.stripHeadingEmojis.call(void 0, title) : title);
|
|
11139
11131
|
const cleanId = baseId || `section-${sections.length + 1}`;
|
|
@@ -11706,7 +11698,7 @@ function DashboardInfoCard({
|
|
|
11706
11698
|
const asTag = percentageDisplay === "tag" || percentageDisplay === "auto" && (progressVariant === "warning" || progressVariant === "error");
|
|
11707
11699
|
if (asTag) {
|
|
11708
11700
|
const tagVariant = progressVariant === "warning" || progressVariant === "error" ? progressVariant : progressVariant === "success" ? "success" : "grey";
|
|
11709
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11701
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.Tag, { variant: tagVariant, label: `${percentage}%` });
|
|
11710
11702
|
}
|
|
11711
11703
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: [
|
|
11712
11704
|
"(",
|
|
@@ -11760,7 +11752,7 @@ function DashboardInfoCard({
|
|
|
11760
11752
|
/* @__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
11753
|
subValue && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: subValue }),
|
|
11762
11754
|
renderPercentage(),
|
|
11763
|
-
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11755
|
+
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.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
11756
|
] })
|
|
11765
11757
|
] }),
|
|
11766
11758
|
renderProgress()
|
|
@@ -11878,13 +11870,7 @@ function DeviceCard({
|
|
|
11878
11870
|
}) {
|
|
11879
11871
|
const formatLastSeen = (lastSeen) => {
|
|
11880
11872
|
if (!lastSeen) return null;
|
|
11881
|
-
|
|
11882
|
-
const year = date.getUTCFullYear();
|
|
11883
|
-
const month = String(date.getUTCMonth() + 1).padStart(2, "0");
|
|
11884
|
-
const day = String(date.getUTCDate()).padStart(2, "0");
|
|
11885
|
-
const hours = String(date.getUTCHours()).padStart(2, "0");
|
|
11886
|
-
const minutes = String(date.getUTCMinutes()).padStart(2, "0");
|
|
11887
|
-
return `${year}/${month}/${day}, ${hours}:${minutes}`;
|
|
11873
|
+
return _chunk7R2DIGG4cjs.formatDateTimeYmd.call(void 0, lastSeen, null) || null;
|
|
11888
11874
|
};
|
|
11889
11875
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
11890
11876
|
"div",
|
|
@@ -11943,7 +11929,7 @@ function DeviceCard({
|
|
|
11943
11929
|
] }),
|
|
11944
11930
|
(statusTag || device.lastSeen) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-2", children: [
|
|
11945
11931
|
statusTag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11946
|
-
|
|
11932
|
+
_chunkCBXZSTAGcjs.Tag,
|
|
11947
11933
|
{
|
|
11948
11934
|
variant: statusTag.variant,
|
|
11949
11935
|
icon: statusTag.icon,
|
|
@@ -11957,7 +11943,7 @@ function DeviceCard({
|
|
|
11957
11943
|
formatLastSeen(device.lastSeen)
|
|
11958
11944
|
] })
|
|
11959
11945
|
] }),
|
|
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,
|
|
11946
|
+
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, _chunkCBXZSTAGcjs.Tag, { variant: "outline", label: tag }, index)) })
|
|
11961
11947
|
]
|
|
11962
11948
|
}
|
|
11963
11949
|
);
|
|
@@ -12018,7 +12004,7 @@ function FeatureCardGrid({
|
|
|
12018
12004
|
if (allCardsHaveNoBorders) {
|
|
12019
12005
|
finalCardClassName = "bg-transparent p-0 overflow-visible border-0 shadow-none rounded-none";
|
|
12020
12006
|
}
|
|
12021
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12007
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7R2DIGG4cjs.Card, { className: `${finalCardClassName} ${className}`, children: Array.from({ length: rows }, (_, rowIndex) => {
|
|
12022
12008
|
const startIndex = rowIndex * itemsPerRow;
|
|
12023
12009
|
const rowItems = items.slice(startIndex, startIndex + itemsPerRow);
|
|
12024
12010
|
const isLastRow = rowIndex === rows - 1;
|
|
@@ -12048,7 +12034,7 @@ function FeatureCardGrid({
|
|
|
12048
12034
|
item.icon && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between", children: [
|
|
12049
12035
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, item.icon, { size: 80, color: item.iconColor }),
|
|
12050
12036
|
item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12051
|
-
|
|
12037
|
+
_chunk7R2DIGG4cjs.StatusBadge,
|
|
12052
12038
|
{
|
|
12053
12039
|
text: item.badge.text,
|
|
12054
12040
|
variant: item.badge.variant || "card",
|
|
@@ -12057,7 +12043,7 @@ function FeatureCardGrid({
|
|
|
12057
12043
|
)
|
|
12058
12044
|
] }),
|
|
12059
12045
|
!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
|
-
|
|
12046
|
+
_chunk7R2DIGG4cjs.StatusBadge,
|
|
12061
12047
|
{
|
|
12062
12048
|
text: item.badge.text,
|
|
12063
12049
|
variant: item.badge.variant || "card",
|
|
@@ -12105,7 +12091,7 @@ function FeatureList({ items, className = "", iconBoxSize = 72 }) {
|
|
|
12105
12091
|
|
|
12106
12092
|
function SourceTooltip({ intro, sources, note, iconClassName, triggerAnchorProps }) {
|
|
12107
12093
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12108
|
-
|
|
12094
|
+
_chunkCBXZSTAGcjs.FloatingTooltip,
|
|
12109
12095
|
{
|
|
12110
12096
|
as: "span",
|
|
12111
12097
|
side: "top",
|
|
@@ -12289,7 +12275,7 @@ function DropdownButton({
|
|
|
12289
12275
|
)
|
|
12290
12276
|
);
|
|
12291
12277
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12292
|
-
|
|
12278
|
+
_chunkCBXZSTAGcjs.ActionsMenuDropdown,
|
|
12293
12279
|
{
|
|
12294
12280
|
groups: _nullishCoalesce(groups, () => ( [{ items: _nullishCoalesce(items, () => ( [])) }])),
|
|
12295
12281
|
open,
|
|
@@ -12527,7 +12513,7 @@ function ServiceCardRowItem({ row }) {
|
|
|
12527
12513
|
),
|
|
12528
12514
|
children: [
|
|
12529
12515
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12530
|
-
|
|
12516
|
+
_chunkCBXZSTAGcjs.FloatingTooltip,
|
|
12531
12517
|
{
|
|
12532
12518
|
content: row.value,
|
|
12533
12519
|
side: "top",
|
|
@@ -12625,7 +12611,7 @@ function PersonCell({
|
|
|
12625
12611
|
const displayName = name || fallbackName;
|
|
12626
12612
|
const scale = PERSON_CELL_SIZE[size];
|
|
12627
12613
|
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,
|
|
12614
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7R2DIGG4cjs.SquareAvatar, { size: scale.avatar, src: _nullishCoalesce(avatarUrl, () => ( void 0)), alt: displayName, fallback: displayName }),
|
|
12629
12615
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
12630
12616
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12631
12617
|
TruncateText,
|
|
@@ -12665,9 +12651,9 @@ function PeopleCell({ people, fallbackName = "Unassigned" }) {
|
|
|
12665
12651
|
);
|
|
12666
12652
|
}
|
|
12667
12653
|
const fullNames = people.map((p) => p.name || "Unknown").join(", ");
|
|
12668
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12654
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.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
12655
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12670
|
-
|
|
12656
|
+
_chunk7R2DIGG4cjs.AvatarStack,
|
|
12671
12657
|
{
|
|
12672
12658
|
size: "sm",
|
|
12673
12659
|
slots: PEOPLE_CELL_STACK_SLOTS,
|
|
@@ -12675,7 +12661,7 @@ function PeopleCell({ people, fallbackName = "Unassigned" }) {
|
|
|
12675
12661
|
}
|
|
12676
12662
|
) }),
|
|
12677
12663
|
/* @__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) =>
|
|
12664
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": true, children: people.map((p) => _chunk7R2DIGG4cjs.personFirstName.call(void 0, p.name, "Unknown")).join(" & ") }),
|
|
12679
12665
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", children: fullNames })
|
|
12680
12666
|
] })
|
|
12681
12667
|
] }) });
|
|
@@ -12727,9 +12713,9 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
12727
12713
|
return next;
|
|
12728
12714
|
});
|
|
12729
12715
|
};
|
|
12730
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12716
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCBXZSTAGcjs.Tooltip, { open, onOpenChange: setOpen, children: [
|
|
12731
12717
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12732
|
-
|
|
12718
|
+
_chunkCBXZSTAGcjs.TooltipTrigger,
|
|
12733
12719
|
{
|
|
12734
12720
|
asChild: true,
|
|
12735
12721
|
onPointerDown: (e) => {
|
|
@@ -12747,7 +12733,7 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
12747
12733
|
children
|
|
12748
12734
|
}
|
|
12749
12735
|
),
|
|
12750
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12736
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.TooltipContent, { side, className: "max-w-xs", children: content })
|
|
12751
12737
|
] }) });
|
|
12752
12738
|
}
|
|
12753
12739
|
|
|
@@ -13949,9 +13935,10 @@ function TableDescriptionCell({ text, className, maxLines = 3 }) {
|
|
|
13949
13935
|
|
|
13950
13936
|
// src/components/ui/table/table-timestamp-cell.tsx
|
|
13951
13937
|
|
|
13938
|
+
var formatLocalTimestamp = (date) => _chunk7R2DIGG4cjs.formatDateWithTimezone.call(void 0, date, _chunk7R2DIGG4cjs.VIEWER_TIMEZONE, "localeDateTime", { viewerLocale: true });
|
|
13952
13939
|
function formatTimestampValue(timestamp) {
|
|
13953
13940
|
if (timestamp instanceof Date) {
|
|
13954
|
-
return timestamp
|
|
13941
|
+
return formatLocalTimestamp(timestamp);
|
|
13955
13942
|
}
|
|
13956
13943
|
if (typeof timestamp === "string") {
|
|
13957
13944
|
if (timestamp.includes(",") || timestamp.includes("/") && timestamp.includes(":")) {
|
|
@@ -13959,7 +13946,7 @@ function formatTimestampValue(timestamp) {
|
|
|
13959
13946
|
}
|
|
13960
13947
|
const date = new Date(timestamp);
|
|
13961
13948
|
if (!isNaN(date.getTime())) {
|
|
13962
|
-
return date
|
|
13949
|
+
return formatLocalTimestamp(date);
|
|
13963
13950
|
}
|
|
13964
13951
|
}
|
|
13965
13952
|
return String(timestamp);
|
|
@@ -14002,9 +13989,9 @@ function TruncatedHeaderCell({ value, width }) {
|
|
|
14002
13989
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
14003
13990
|
}
|
|
14004
13991
|
}, []);
|
|
14005
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14006
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14007
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13992
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCBXZSTAGcjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
13993
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.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 }) }) }),
|
|
13994
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.TooltipContent, { side: "bottom", className: "max-w-xs break-words", children: value })
|
|
14008
13995
|
] }) });
|
|
14009
13996
|
}
|
|
14010
13997
|
|
|
@@ -14057,9 +14044,9 @@ function TruncatedCell({ value, className }) {
|
|
|
14057
14044
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
14058
14045
|
}
|
|
14059
14046
|
}, []);
|
|
14060
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14061
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14062
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14047
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCBXZSTAGcjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
14048
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.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 }) }),
|
|
14049
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.TooltipContent, { side: "top", className: "max-w-xs break-words", children: value })
|
|
14063
14050
|
] }) });
|
|
14064
14051
|
}
|
|
14065
14052
|
|
|
@@ -15271,7 +15258,7 @@ function SearchInput({
|
|
|
15271
15258
|
/* @__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
15259
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: middleRef, className: "flex min-w-0 flex-1 items-center gap-2 overflow-hidden", children: [
|
|
15273
15260
|
visibleChips.map((chip) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15274
|
-
|
|
15261
|
+
_chunkCBXZSTAGcjs.Tag,
|
|
15275
15262
|
{
|
|
15276
15263
|
variant: chipVariantToTagVariant(chip.variant),
|
|
15277
15264
|
label: chip.label,
|
|
@@ -15387,7 +15374,7 @@ function SearchInput({
|
|
|
15387
15374
|
}
|
|
15388
15375
|
),
|
|
15389
15376
|
/* @__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
|
-
|
|
15377
|
+
_chunkCBXZSTAGcjs.Tag,
|
|
15391
15378
|
{
|
|
15392
15379
|
variant: chipVariantToTagVariant(chip.variant),
|
|
15393
15380
|
label: chip.label,
|
|
@@ -15600,7 +15587,7 @@ function TagSearchInput({
|
|
|
15600
15587
|
/* @__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
15588
|
/* @__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
15589
|
visibleTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15603
|
-
|
|
15590
|
+
_chunkCBXZSTAGcjs.Tag,
|
|
15604
15591
|
{
|
|
15605
15592
|
variant: "outline",
|
|
15606
15593
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -15688,7 +15675,7 @@ function TagSearchInput({
|
|
|
15688
15675
|
"aria-hidden": "true",
|
|
15689
15676
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
15690
15677
|
children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15691
|
-
|
|
15678
|
+
_chunkCBXZSTAGcjs.Tag,
|
|
15692
15679
|
{
|
|
15693
15680
|
variant: "outline",
|
|
15694
15681
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -16619,20 +16606,20 @@ function ColorPresetSelect({
|
|
|
16619
16606
|
...presets.map((p) => ({
|
|
16620
16607
|
id: p.key,
|
|
16621
16608
|
label: p.label,
|
|
16622
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16609
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.ColorSwatch, { color: p.color }),
|
|
16623
16610
|
onClick: () => onChange({ color: p.color, preset: p.key })
|
|
16624
16611
|
})),
|
|
16625
16612
|
{
|
|
16626
16613
|
id: CUSTOM_PRESET_KEY,
|
|
16627
16614
|
label: "Custom",
|
|
16628
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16615
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.ColorSwatch, { color: isCustom ? value : DEFAULT_CUSTOM_STATUS_COLOR }),
|
|
16629
16616
|
onClick: () => onChange({ color: value, preset: void 0 })
|
|
16630
16617
|
}
|
|
16631
16618
|
]
|
|
16632
16619
|
}
|
|
16633
16620
|
];
|
|
16634
16621
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16635
|
-
|
|
16622
|
+
_chunkCBXZSTAGcjs.ActionsMenuDropdown,
|
|
16636
16623
|
{
|
|
16637
16624
|
groups,
|
|
16638
16625
|
align: "start",
|
|
@@ -16642,7 +16629,7 @@ function ColorPresetSelect({
|
|
|
16642
16629
|
{
|
|
16643
16630
|
disabled,
|
|
16644
16631
|
"aria-label": `Color: ${displayLabel}`,
|
|
16645
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16632
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.ColorSwatch, { color: displayColor }),
|
|
16646
16633
|
selectedLabel: displayLabel,
|
|
16647
16634
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
16648
16635
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "group", className)
|
|
@@ -16663,7 +16650,7 @@ function HexInputs({ value, onChange }) {
|
|
|
16663
16650
|
}
|
|
16664
16651
|
const commit = () => {
|
|
16665
16652
|
const candidate = (draft.startsWith("#") ? draft : `#${draft}`).toLowerCase();
|
|
16666
|
-
if (
|
|
16653
|
+
if (_chunkCBXZSTAGcjs.HEX_PATTERN.test(candidate)) onChange(candidate);
|
|
16667
16654
|
else setDraft(value);
|
|
16668
16655
|
};
|
|
16669
16656
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16727,12 +16714,12 @@ function ChannelInput({
|
|
|
16727
16714
|
);
|
|
16728
16715
|
}
|
|
16729
16716
|
function RgbInputs({ value, onChange }) {
|
|
16730
|
-
const rgb = _nullishCoalesce(
|
|
16717
|
+
const rgb = _nullishCoalesce(_chunkCBXZSTAGcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
16731
16718
|
const update = (next) => {
|
|
16732
16719
|
const r = _nullishCoalesce(next.r, () => ( rgb.r));
|
|
16733
16720
|
const g = _nullishCoalesce(next.g, () => ( rgb.g));
|
|
16734
16721
|
const b = _nullishCoalesce(next.b, () => ( rgb.b));
|
|
16735
|
-
onChange(
|
|
16722
|
+
onChange(_chunkCBXZSTAGcjs.rgbToHex.call(void 0, r, g, b));
|
|
16736
16723
|
};
|
|
16737
16724
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16738
16725
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: rgb.r, min: 0, max: 255, ariaLabel: "Red", onCommit: (r) => update({ r }) }),
|
|
@@ -16741,14 +16728,14 @@ function RgbInputs({ value, onChange }) {
|
|
|
16741
16728
|
] });
|
|
16742
16729
|
}
|
|
16743
16730
|
function HslInputs({ value, onChange }) {
|
|
16744
|
-
const rgb = _nullishCoalesce(
|
|
16745
|
-
const hsl =
|
|
16731
|
+
const rgb = _nullishCoalesce(_chunkCBXZSTAGcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
16732
|
+
const hsl = _chunkCBXZSTAGcjs.rgbToHsl.call(void 0, rgb.r, rgb.g, rgb.b);
|
|
16746
16733
|
const update = (next) => {
|
|
16747
16734
|
const h = _nullishCoalesce(next.h, () => ( hsl.h));
|
|
16748
16735
|
const s = _nullishCoalesce(next.s, () => ( hsl.s));
|
|
16749
16736
|
const l = _nullishCoalesce(next.l, () => ( hsl.l));
|
|
16750
|
-
const out =
|
|
16751
|
-
onChange(
|
|
16737
|
+
const out = _chunkCBXZSTAGcjs.hslToRgb.call(void 0, h, s, l);
|
|
16738
|
+
onChange(_chunkCBXZSTAGcjs.rgbToHex.call(void 0, out.r, out.g, out.b));
|
|
16752
16739
|
};
|
|
16753
16740
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16754
16741
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: hsl.h, min: 0, max: 360, ariaLabel: "Hue", onCommit: (h) => update({ h }) }),
|
|
@@ -16774,7 +16761,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
16774
16761
|
{
|
|
16775
16762
|
disabled,
|
|
16776
16763
|
"aria-label": "Pick custom color",
|
|
16777
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16764
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.ColorSwatch, { color: value }),
|
|
16778
16765
|
selectedLabel: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "uppercase", children: value }),
|
|
16779
16766
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
16780
16767
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "group", className)
|
|
@@ -16790,7 +16777,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
16790
16777
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactcolorful.HexColorPicker, { color: value, onChange }),
|
|
16791
16778
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
16792
16779
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16793
|
-
|
|
16780
|
+
_chunkCBXZSTAGcjs.ActionsMenuDropdown,
|
|
16794
16781
|
{
|
|
16795
16782
|
groups: formatGroups,
|
|
16796
16783
|
align: "start",
|
|
@@ -16847,7 +16834,7 @@ function TicketStatusConfigRow({
|
|
|
16847
16834
|
const previewVariant = _nullishCoalesce(systemTagVariant, () => ( (isSystem ? void 0 : "primary")));
|
|
16848
16835
|
const fieldRowOffset = "mt-[calc(var(--font-line-space-h4-body)+0.25rem)]";
|
|
16849
16836
|
const chip = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16850
|
-
|
|
16837
|
+
_chunkCBXZSTAGcjs.TicketStatusTag,
|
|
16851
16838
|
{
|
|
16852
16839
|
status: statusKey,
|
|
16853
16840
|
label: name || " ",
|
|
@@ -16999,7 +16986,7 @@ function formatTestRunDuration(ms) {
|
|
|
16999
16986
|
var RESULT_COLUMN_MIN_WIDTH = 176;
|
|
17000
16987
|
var SKELETON_COLUMNS = 6;
|
|
17001
16988
|
function TestResultsSkeleton() {
|
|
17002
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16989
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-max min-w-full flex-col", children: [
|
|
17003
16990
|
/* @__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
16991
|
/* @__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
16992
|
] }) });
|
|
@@ -17034,7 +17021,7 @@ function TestResultsTable({ rows, loading }) {
|
|
|
17034
17021
|
if (loading) {
|
|
17035
17022
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TestResultsSkeleton, {});
|
|
17036
17023
|
}
|
|
17037
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17024
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.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
17025
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Header, { className: "flex flex-col" }),
|
|
17039
17026
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Body, { loading: false })
|
|
17040
17027
|
] }) }) });
|
|
@@ -17096,7 +17083,7 @@ var TEST_RUN_STATUS_TAGS = {
|
|
|
17096
17083
|
function TestRunStatusStat({ status, className }) {
|
|
17097
17084
|
const tag = status === "idle" ? null : TEST_RUN_STATUS_TAGS[status];
|
|
17098
17085
|
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,
|
|
17086
|
+
tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.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
17087
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: "Status" })
|
|
17101
17088
|
] });
|
|
17102
17089
|
}
|
|
@@ -17140,7 +17127,7 @@ function useTestRunState(campaign) {
|
|
|
17140
17127
|
const stopReason = _nullishCoalesce(campaign.stopReason, () => ( "completed"));
|
|
17141
17128
|
const status = isActive ? "running" : hasRun && isFinished ? stopReason === "completed" ? firstError ? "error" : "success" : stopReason : "idle";
|
|
17142
17129
|
const showTiming = hasRun && campaign.startedAt !== null && (campaign.isRunning || isFinished);
|
|
17143
|
-
const startedLabel = showTiming && campaign.startedAt ?
|
|
17130
|
+
const startedLabel = showTiming && campaign.startedAt ? _chunkCBXZSTAGcjs.formatTime.call(void 0, campaign.startedAt) : "00:00 PM";
|
|
17144
17131
|
const durationLabel = showTiming ? formatTestRunDuration(durationMs) : "00:00:00";
|
|
17145
17132
|
const displayRows = _react.useMemo.call(void 0,
|
|
17146
17133
|
() => campaign.results.map(
|
|
@@ -17179,7 +17166,7 @@ function TicketAttachmentsList({ attachments, className, size = "default" }) {
|
|
|
17179
17166
|
),
|
|
17180
17167
|
children: [
|
|
17181
17168
|
attachment.thumbnailSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17182
|
-
|
|
17169
|
+
_chunk7R2DIGG4cjs.SquareAvatar,
|
|
17183
17170
|
{
|
|
17184
17171
|
src: attachment.thumbnailSrc,
|
|
17185
17172
|
alt: attachment.fileName,
|
|
@@ -17272,7 +17259,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
17272
17259
|
};
|
|
17273
17260
|
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
17261
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17275
|
-
|
|
17262
|
+
_chunk7R2DIGG4cjs.SquareAvatar,
|
|
17276
17263
|
{
|
|
17277
17264
|
src: note.authorAvatar,
|
|
17278
17265
|
alt: note.authorName,
|
|
@@ -17448,7 +17435,7 @@ function TicketInfoSection({
|
|
|
17448
17435
|
/* @__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
17436
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
17450
17437
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17451
|
-
|
|
17438
|
+
_chunk7R2DIGG4cjs.SquareAvatar,
|
|
17452
17439
|
{
|
|
17453
17440
|
src: _optionalChain([organization, 'optionalAccess', _397 => _397.imageSrc]),
|
|
17454
17441
|
alt: _optionalChain([organization, 'optionalAccess', _398 => _398.name]),
|
|
@@ -17478,7 +17465,7 @@ function TicketInfoSection({
|
|
|
17478
17465
|
/* @__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
17466
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
17480
17467
|
(status || statusLabel) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17481
|
-
|
|
17468
|
+
_chunkCBXZSTAGcjs.TicketStatusTag,
|
|
17482
17469
|
{
|
|
17483
17470
|
status: _nullishCoalesce(status, () => ( "")),
|
|
17484
17471
|
label: statusLabel,
|
|
@@ -17517,9 +17504,9 @@ function TicketInfoSection({
|
|
|
17517
17504
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
17518
17505
|
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
17506
|
/* @__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,
|
|
17507
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.SimpleMarkdownRenderer, { content: description }),
|
|
17521
17508
|
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,
|
|
17509
|
+
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, _chunkCBXZSTAGcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
17523
17510
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17524
17511
|
TicketNotesSection,
|
|
17525
17512
|
{
|
|
@@ -17542,7 +17529,7 @@ function renderTicketStatusOption(option, isSelected) {
|
|
|
17542
17529
|
const { label, color } = option;
|
|
17543
17530
|
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
17531
|
/* @__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,
|
|
17532
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.ColorSwatch, { color }),
|
|
17546
17533
|
/* @__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
17534
|
] }),
|
|
17548
17535
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -17552,7 +17539,7 @@ function renderTicketAssigneeOption(option, isSelected) {
|
|
|
17552
17539
|
const { label, imageUrl } = option;
|
|
17553
17540
|
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
17541
|
/* @__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,
|
|
17542
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7R2DIGG4cjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "round" }),
|
|
17556
17543
|
/* @__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
17544
|
] }),
|
|
17558
17545
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -17587,9 +17574,9 @@ function TakeOverTicketModal({
|
|
|
17587
17574
|
if (!selectedStatusId || !assigneeId || isPending) return;
|
|
17588
17575
|
onConfirm({ statusId: selectedStatusId, assigneeId });
|
|
17589
17576
|
};
|
|
17590
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17577
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCBXZSTAGcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17591
17578
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17592
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17579
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.ModalTitle, { children: "Take Over Ticket" }) }),
|
|
17593
17580
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
17594
17581
|
"The ticket ",
|
|
17595
17582
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -17604,7 +17591,7 @@ function TakeOverTicketModal({
|
|
|
17604
17591
|
value: selectedStatusId,
|
|
17605
17592
|
onChange: setStatusId,
|
|
17606
17593
|
placeholder: "Select Status",
|
|
17607
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17594
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
17608
17595
|
renderOption: renderTicketStatusOption
|
|
17609
17596
|
}
|
|
17610
17597
|
) }),
|
|
@@ -17618,7 +17605,7 @@ function TakeOverTicketModal({
|
|
|
17618
17605
|
placeholder: "Select Technician",
|
|
17619
17606
|
loading: assigneesLoading,
|
|
17620
17607
|
startAdornment: selectedAssignee ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17621
|
-
|
|
17608
|
+
_chunk7R2DIGG4cjs.SquareAvatar,
|
|
17622
17609
|
{
|
|
17623
17610
|
src: selectedAssignee.imageUrl,
|
|
17624
17611
|
alt: selectedAssignee.label,
|
|
@@ -17631,7 +17618,7 @@ function TakeOverTicketModal({
|
|
|
17631
17618
|
}
|
|
17632
17619
|
) })
|
|
17633
17620
|
] }),
|
|
17634
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17621
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCBXZSTAGcjs.ModalFooter, { children: [
|
|
17635
17622
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
17636
17623
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
17637
17624
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17690,9 +17677,9 @@ function ReopenTicketModal({
|
|
|
17690
17677
|
reason: trimmedReason ? trimmedReason.slice(0, REASON_MAX_LENGTH) : null
|
|
17691
17678
|
});
|
|
17692
17679
|
};
|
|
17693
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17680
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCBXZSTAGcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17694
17681
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17695
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17682
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
17696
17683
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
17697
17684
|
"The ticket ",
|
|
17698
17685
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -17707,7 +17694,7 @@ function ReopenTicketModal({
|
|
|
17707
17694
|
value: selectedStatusId,
|
|
17708
17695
|
onChange: setStatusId,
|
|
17709
17696
|
placeholder: "Select Status",
|
|
17710
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17697
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
17711
17698
|
renderOption: renderTicketStatusOption
|
|
17712
17699
|
}
|
|
17713
17700
|
) }),
|
|
@@ -17721,7 +17708,7 @@ function ReopenTicketModal({
|
|
|
17721
17708
|
placeholder: "Select Technician",
|
|
17722
17709
|
loading: assigneesLoading,
|
|
17723
17710
|
startAdornment: selectedAssignee ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17724
|
-
|
|
17711
|
+
_chunk7R2DIGG4cjs.SquareAvatar,
|
|
17725
17712
|
{
|
|
17726
17713
|
src: selectedAssignee.imageUrl,
|
|
17727
17714
|
alt: selectedAssignee.label,
|
|
@@ -17745,7 +17732,7 @@ function ReopenTicketModal({
|
|
|
17745
17732
|
disabled: isPending
|
|
17746
17733
|
}
|
|
17747
17734
|
) }),
|
|
17748
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17735
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCBXZSTAGcjs.ModalFooter, { children: [
|
|
17749
17736
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
17750
17737
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
17751
17738
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17793,9 +17780,9 @@ function ReopenTicketRequestModal({
|
|
|
17793
17780
|
...showHandoffOption ? { handoffToTechnician: handoff } : {}
|
|
17794
17781
|
});
|
|
17795
17782
|
};
|
|
17796
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17783
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCBXZSTAGcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17797
17784
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17798
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17785
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
17799
17786
|
/* @__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
17787
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17801
17788
|
Textarea,
|
|
@@ -17819,7 +17806,7 @@ function ReopenTicketRequestModal({
|
|
|
17819
17806
|
disabled: isPending
|
|
17820
17807
|
}
|
|
17821
17808
|
),
|
|
17822
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17809
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCBXZSTAGcjs.ModalFooter, { children: [
|
|
17823
17810
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1", children: "Cancel" }),
|
|
17824
17811
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGBEUGDZGcjs.Button, { type: "button", variant: "accent", onClick: handleConfirm, loading: isPending, className: "flex-1", children: "Reopen Ticket" })
|
|
17825
17812
|
] })
|
|
@@ -19232,7 +19219,7 @@ function SsoJoinForm({
|
|
|
19232
19219
|
] }),
|
|
19233
19220
|
/* @__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
19221
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19235
|
-
|
|
19222
|
+
_chunk7R2DIGG4cjs.SquareAvatar,
|
|
19236
19223
|
{
|
|
19237
19224
|
size: "lg",
|
|
19238
19225
|
variant: "round",
|
|
@@ -19246,7 +19233,7 @@ function SsoJoinForm({
|
|
|
19246
19233
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", children: displayName }),
|
|
19247
19234
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: organizationName })
|
|
19248
19235
|
] }),
|
|
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,
|
|
19236
|
+
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, _chunkCBXZSTAGcjs.Tag, { variant: "grey", label: role }, role)) })
|
|
19250
19237
|
] }),
|
|
19251
19238
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19252
19239
|
CheckboxBlock,
|
|
@@ -19490,7 +19477,7 @@ function ChangelogManager({
|
|
|
19490
19477
|
),
|
|
19491
19478
|
/* @__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
19479
|
tagOptions && tagLabelOf(entry.tag) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19493
|
-
|
|
19480
|
+
_chunk7R2DIGG4cjs.StatusBadge,
|
|
19494
19481
|
{
|
|
19495
19482
|
variant: "button",
|
|
19496
19483
|
singleLine: true,
|
|
@@ -19753,7 +19740,7 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
19753
19740
|
const label = (tag.name || "").toUpperCase();
|
|
19754
19741
|
if (basePath && tag.slug) {
|
|
19755
19742
|
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
|
-
|
|
19743
|
+
_chunk7R2DIGG4cjs.StatusBadge,
|
|
19757
19744
|
{
|
|
19758
19745
|
text: label,
|
|
19759
19746
|
variant: "card",
|
|
@@ -19761,9 +19748,9 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
19761
19748
|
}
|
|
19762
19749
|
) }, key);
|
|
19763
19750
|
}
|
|
19764
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19751
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7R2DIGG4cjs.StatusBadge, { text: label, variant: "card", className: BADGE_CLASS }, key);
|
|
19765
19752
|
}),
|
|
19766
|
-
overflow2 > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19753
|
+
overflow2 > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7R2DIGG4cjs.StatusBadge, { text: `+${overflow2}`, variant: "card", className: `${BADGE_CLASS} text-ods-text-secondary` })
|
|
19767
19754
|
] });
|
|
19768
19755
|
}
|
|
19769
19756
|
|
|
@@ -19840,7 +19827,7 @@ var SectionButton = ({
|
|
|
19840
19827
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap items-center gap-2", children: [
|
|
19841
19828
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk23V5BSHDcjs.cn.call(void 0, titleClasses, "whitespace-normal break-words text-h4"), children: section.title }),
|
|
19842
19829
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19843
|
-
|
|
19830
|
+
_chunk7R2DIGG4cjs.StatusBadge,
|
|
19844
19831
|
{
|
|
19845
19832
|
text: section.badge.text,
|
|
19846
19833
|
variant: section.badge.variant || "button",
|
|
@@ -19859,7 +19846,7 @@ var SectionButton = ({
|
|
|
19859
19846
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-wrap items-start gap-2", children: [
|
|
19860
19847
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, titleClasses, "text-h3"), style: { textAlign: "left" }, children: section.title }),
|
|
19861
19848
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19862
|
-
|
|
19849
|
+
_chunk7R2DIGG4cjs.StatusBadge,
|
|
19863
19850
|
{
|
|
19864
19851
|
text: section.badge.text,
|
|
19865
19852
|
variant: section.badge.variant || "button",
|
|
@@ -20147,7 +20134,7 @@ function UnifiedUI({ state, handlers, config, iframeRef }) {
|
|
|
20147
20134
|
sandbox: "allow-scripts allow-same-origin allow-popups allow-presentation",
|
|
20148
20135
|
title: config.title,
|
|
20149
20136
|
loading: "eager",
|
|
20150
|
-
...
|
|
20137
|
+
..._chunkCBXZSTAGcjs.fetchPriorityProp.call(void 0, "high")
|
|
20151
20138
|
},
|
|
20152
20139
|
iframeKey
|
|
20153
20140
|
),
|
|
@@ -20973,7 +20960,7 @@ function MediaGalleryManager({
|
|
|
20973
20960
|
(mediaItem, index) => {
|
|
20974
20961
|
const isDeleting = deletingIndex === index;
|
|
20975
20962
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
20976
|
-
|
|
20963
|
+
_chunk7R2DIGG4cjs.Card,
|
|
20977
20964
|
{
|
|
20978
20965
|
className: "group relative border-ods-border transition-colors hover:border-ods-accent/30",
|
|
20979
20966
|
draggable: true,
|
|
@@ -20994,10 +20981,10 @@ function MediaGalleryManager({
|
|
|
20994
20981
|
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
20982
|
}
|
|
20996
20983
|
) }),
|
|
20997
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children:
|
|
20984
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children: _chunk7R2DIGG4cjs.isVideoMedia.call(void 0, mediaItem) || mediaItem.media_type === "demo" ? (
|
|
20998
20985
|
// <Video> SSOT (MuxPlayer) — plays Mux HLS + MP4 alike;
|
|
20999
20986
|
// fit="cover" crops to the aspect-video cell.
|
|
21000
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20987
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.Video, { kind: "file", url: mediaItem.media_url, fit: "cover", className: "h-full w-full" })
|
|
21001
20988
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21002
20989
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
21003
20990
|
{
|
|
@@ -21010,7 +20997,7 @@ function MediaGalleryManager({
|
|
|
21010
20997
|
) }),
|
|
21011
20998
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "p-3", children: [
|
|
21012
20999
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-1 flex items-center gap-2", children: [
|
|
21013
|
-
|
|
21000
|
+
_chunk7R2DIGG4cjs.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
21001
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "capitalize text-ods-text-primary text-h6", children: mediaItem.media_type })
|
|
21015
21002
|
] }),
|
|
21016
21003
|
mediaItem.title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: mediaItem.title })
|
|
@@ -23248,9 +23235,9 @@ function PushButtonSelector({
|
|
|
23248
23235
|
option.id
|
|
23249
23236
|
);
|
|
23250
23237
|
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,
|
|
23238
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCBXZSTAGcjs.Tooltip, { children: [
|
|
23239
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.TooltipTrigger, { asChild: true, children: optionEl }),
|
|
23240
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.TooltipContent, { className: "max-w-xs", children: option.disabledReason })
|
|
23254
23241
|
] }, option.id);
|
|
23255
23242
|
}
|
|
23256
23243
|
return optionEl;
|
|
@@ -23295,7 +23282,7 @@ function PushButtonSelector({
|
|
|
23295
23282
|
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
23283
|
] }) : null
|
|
23297
23284
|
] });
|
|
23298
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23285
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `space-y-4 ${className}`, children: [
|
|
23299
23286
|
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-ods-text-primary text-h5", children: title }),
|
|
23300
23287
|
searchInput,
|
|
23301
23288
|
lazyLoad ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -23465,10 +23452,10 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
|
|
|
23465
23452
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-on-dark" })
|
|
23466
23453
|
}
|
|
23467
23454
|
) }),
|
|
23468
|
-
item.media_url && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video bg-ods-bg", children:
|
|
23455
|
+
item.media_url && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video bg-ods-bg", children: _chunk7R2DIGG4cjs.isVideoMedia.call(void 0, item) || item.media_type === "demo" ? (
|
|
23469
23456
|
// <Video> SSOT (MuxPlayer) — plays Mux HLS + MP4 alike;
|
|
23470
23457
|
// fit="cover" crops to the aspect-video cell.
|
|
23471
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23458
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.Video, { kind: "file", url: item.media_url, fit: "cover", className: "h-full w-full" })
|
|
23472
23459
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23473
23460
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
23474
23461
|
{
|
|
@@ -23601,7 +23588,7 @@ var SelectButton = _react2.default.forwardRef(
|
|
|
23601
23588
|
}
|
|
23602
23589
|
)
|
|
23603
23590
|
] }),
|
|
23604
|
-
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23591
|
+
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.Tag, { variant: tagVariant, className: "shrink-0", label: tag }),
|
|
23605
23592
|
selected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckCircleIcon, { className: "size-4 shrink-0 text-ods-accent md:size-6" })
|
|
23606
23593
|
]
|
|
23607
23594
|
}
|
|
@@ -24189,7 +24176,7 @@ var StartWithOpenFrameButton = _react.forwardRef.call(void 0,
|
|
|
24189
24176
|
className: _chunk23V5BSHDcjs.cn.call(void 0, modeClassName, className),
|
|
24190
24177
|
style: customStyle,
|
|
24191
24178
|
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,
|
|
24179
|
+
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7R2DIGG4cjs.StatusBadge, { text: "Beta", variant: "button", colorScheme: "yellow" }),
|
|
24193
24180
|
children
|
|
24194
24181
|
}
|
|
24195
24182
|
);
|
|
@@ -24459,11 +24446,11 @@ function WarningBlock({ title, icon = DEFAULT_ICON, children, className }) {
|
|
|
24459
24446
|
|
|
24460
24447
|
function VideoBitesDisplay({
|
|
24461
24448
|
bites,
|
|
24462
|
-
title =
|
|
24449
|
+
title = _chunk7R2DIGG4cjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
24463
24450
|
filterPublished = true,
|
|
24464
24451
|
showTitle = true
|
|
24465
24452
|
}) {
|
|
24466
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24453
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
24467
24454
|
}
|
|
24468
24455
|
|
|
24469
24456
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -24532,7 +24519,7 @@ function WalkthroughVideo({
|
|
|
24532
24519
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
24533
24520
|
};
|
|
24534
24521
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId]);
|
|
24535
|
-
const hydrated =
|
|
24522
|
+
const hydrated = _chunkCBXZSTAGcjs.useIsHydrated.call(void 0, );
|
|
24536
24523
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
24537
24524
|
if (!hydrated) return false;
|
|
24538
24525
|
try {
|
|
@@ -24929,7 +24916,7 @@ function WalkthroughVideo({
|
|
|
24929
24916
|
},
|
|
24930
24917
|
children: [
|
|
24931
24918
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none absolute inset-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24932
|
-
|
|
24919
|
+
_chunkCBXZSTAGcjs.VideoHoverPreviewSurface,
|
|
24933
24920
|
{
|
|
24934
24921
|
url: video.mainVideoUrl || "",
|
|
24935
24922
|
posterUrl: video.posterUrl,
|
|
@@ -24952,7 +24939,7 @@ function WalkthroughVideo({
|
|
|
24952
24939
|
`card-${embedUrlKey}`
|
|
24953
24940
|
) }),
|
|
24954
24941
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24955
|
-
|
|
24942
|
+
_chunkCBXZSTAGcjs.CardHitLayer,
|
|
24956
24943
|
{
|
|
24957
24944
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
24958
24945
|
onPointerDown: pausePreviewNow,
|
|
@@ -24961,7 +24948,7 @@ function WalkthroughVideo({
|
|
|
24961
24948
|
}
|
|
24962
24949
|
),
|
|
24963
24950
|
/* @__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,
|
|
24951
|
+
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7R2DIGG4cjs.SquareAvatar, { src: presenterAvatarSrc, alt: "", sizePx: 20, variant: "round", className: "shrink-0 border-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.VideoPlayBadge, { size: "sm", className: "h-5 w-5 shrink-0" }),
|
|
24965
24952
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: summaryTitle || label })
|
|
24966
24953
|
] }),
|
|
24967
24954
|
showBigUnmute && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -24974,7 +24961,7 @@ function WalkthroughVideo({
|
|
|
24974
24961
|
onPointerDown: (e) => e.stopPropagation(),
|
|
24975
24962
|
onClick: onUnmuteOrPlay,
|
|
24976
24963
|
className: "absolute inset-0 z-30 m-auto hidden sm:inline-flex",
|
|
24977
|
-
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24964
|
+
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.VideoPlayBadge, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.VideoUnmuteGlyph, {})
|
|
24978
24965
|
}
|
|
24979
24966
|
),
|
|
24980
24967
|
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: [
|
|
@@ -25067,7 +25054,7 @@ function WalkthroughVideo({
|
|
|
25067
25054
|
children: [
|
|
25068
25055
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive2.Title, { className: "sr-only", children: summaryTitle || "Walkthrough video" }),
|
|
25069
25056
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25070
|
-
|
|
25057
|
+
_chunkCBXZSTAGcjs.Video,
|
|
25071
25058
|
{
|
|
25072
25059
|
kind: video.youtubeUrl ? "youtube" : "file",
|
|
25073
25060
|
url: video.youtubeUrl || video.mainVideoUrl,
|
|
@@ -25118,7 +25105,7 @@ function InlineWalkthroughVideo(props) {
|
|
|
25118
25105
|
var _reactquery = require('@tanstack/react-query');
|
|
25119
25106
|
function useWalkthroughVideo(opts) {
|
|
25120
25107
|
const { endpoint, initialData, enabled = true, transformCaptionsUrl } = opts;
|
|
25121
|
-
const captions =
|
|
25108
|
+
const captions = _chunkCBXZSTAGcjs.useCaptions.call(void 0, );
|
|
25122
25109
|
const query = _reactquery.useQuery.call(void 0, {
|
|
25123
25110
|
queryKey: ["walkthrough-video", endpoint],
|
|
25124
25111
|
enabled,
|
|
@@ -25316,7 +25303,7 @@ function VideoSourceSelector({
|
|
|
25316
25303
|
}
|
|
25317
25304
|
function DefaultVideoPreview({ videoUrl, onDelete, disabled }) {
|
|
25318
25305
|
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,
|
|
25306
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.Video, { kind: "file", url: videoUrl }) }),
|
|
25320
25307
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25321
25308
|
"button",
|
|
25322
25309
|
{
|
|
@@ -25840,7 +25827,7 @@ function HighlightVideoSection({
|
|
|
25840
25827
|
// Default simple preview — the <Video> SSOT (MuxPlayer) plays
|
|
25841
25828
|
// MP4 and Mux HLS alike; aspect-video box reserves the height.
|
|
25842
25829
|
/* @__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,
|
|
25830
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.Video, { kind: "file", url: highlightVideoUrl, poster: highlightVideoThumbnail || void 0 }) }),
|
|
25844
25831
|
onDeleteHighlight && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25845
25832
|
"button",
|
|
25846
25833
|
{
|
|
@@ -26576,7 +26563,7 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
26576
26563
|
] });
|
|
26577
26564
|
};
|
|
26578
26565
|
var CategorySection = ({ category, editMode, isExpanded, bulkLevel, onToggle, onBulkLevelChange, onPolicyPermissionChange }) => {
|
|
26579
|
-
const { innerRef, containerStyle } =
|
|
26566
|
+
const { innerRef, containerStyle } = _chunkCBXZSTAGcjs.useCollapsible.call(void 0, { expanded: isExpanded, durationMs: 300 });
|
|
26580
26567
|
const handleBulkChange = (level) => onBulkLevelChange(category.id, level);
|
|
26581
26568
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
26582
26569
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -26744,7 +26731,7 @@ function WaitlistForm({
|
|
|
26744
26731
|
const { toast } = _chunkGNKM6R55cjs.useToast.call(void 0, );
|
|
26745
26732
|
const { honeypotInputProps, getSignals, resetSignals } = _chunkGNKM6R55cjs.useHumanitySignals.call(void 0, );
|
|
26746
26733
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26747
|
-
const isClient =
|
|
26734
|
+
const isClient = _chunkCBXZSTAGcjs.useIsHydrated.call(void 0, );
|
|
26748
26735
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26749
26736
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26750
26737
|
const isMailDomainGeneric = hasGenericEmailDomain(email);
|
|
@@ -27524,7 +27511,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27524
27511
|
"data-state": open ? "open" : "closed",
|
|
27525
27512
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
27526
27513
|
"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
|
-
|
|
27514
|
+
_chunkCBXZSTAGcjs.OVERLAY_BACKDROP_CLASS,
|
|
27528
27515
|
// Persist mode only: hold the fade-out's final (transparent) frame
|
|
27529
27516
|
// so the backdrop doesn't snap back to opacity 1 and dim the whole
|
|
27530
27517
|
// content area while the drawer is "closed" (see PERSIST_CLOSED_HOLD).
|
|
@@ -27600,11 +27587,11 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27600
27587
|
}
|
|
27601
27588
|
);
|
|
27602
27589
|
AppLayoutDrawerContent.displayName = "AppLayoutDrawerContent";
|
|
27603
|
-
var AppLayoutDrawerHeader =
|
|
27604
|
-
var AppLayoutDrawerTitle =
|
|
27605
|
-
var AppLayoutDrawerDescription =
|
|
27606
|
-
var AppLayoutDrawerBody =
|
|
27607
|
-
var AppLayoutDrawerFooter =
|
|
27590
|
+
var AppLayoutDrawerHeader = _chunkCBXZSTAGcjs.DrawerHeader;
|
|
27591
|
+
var AppLayoutDrawerTitle = _chunkCBXZSTAGcjs.DrawerTitle;
|
|
27592
|
+
var AppLayoutDrawerDescription = _chunkCBXZSTAGcjs.DrawerDescription;
|
|
27593
|
+
var AppLayoutDrawerBody = _chunkCBXZSTAGcjs.DrawerBody;
|
|
27594
|
+
var AppLayoutDrawerFooter = _chunkCBXZSTAGcjs.DrawerFooter;
|
|
27608
27595
|
|
|
27609
27596
|
// src/components/features/notifications/notification-tile.tsx
|
|
27610
27597
|
|
|
@@ -27692,7 +27679,7 @@ function NotificationTile({
|
|
|
27692
27679
|
}
|
|
27693
27680
|
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, "size-1.5 rounded-full", _chunkGNKM6R55cjs.dotColorByVariant[accentVariant]) }))) }),
|
|
27694
27681
|
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:
|
|
27682
|
+
!isLive && createdAtIso ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "time", { dateTime: createdAtIso, className: "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", children: _chunkCBXZSTAGcjs.formatTicketRelativeTime.call(void 0, createdAtIso) }) : null,
|
|
27696
27683
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "relative size-4 shrink-0", children: [
|
|
27697
27684
|
{
|
|
27698
27685
|
active: isLive,
|
|
@@ -27789,7 +27776,7 @@ function NotificationDrawer({
|
|
|
27789
27776
|
const unreadNotifications = notifications.filter((n) => !n.read);
|
|
27790
27777
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
27791
27778
|
/* @__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
|
-
|
|
27779
|
+
_chunkCBXZSTAGcjs.DrawerTitle,
|
|
27793
27780
|
{
|
|
27794
27781
|
hideClose: true,
|
|
27795
27782
|
className: "truncate",
|
|
@@ -27848,8 +27835,8 @@ function NotificationDrawer({
|
|
|
27848
27835
|
}
|
|
27849
27836
|
) });
|
|
27850
27837
|
}
|
|
27851
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27852
|
-
|
|
27838
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.Drawer, { open: isOpen, onOpenChange: (v) => v ? open() : close(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27839
|
+
_chunkCBXZSTAGcjs.DrawerContent,
|
|
27853
27840
|
{
|
|
27854
27841
|
side: "right",
|
|
27855
27842
|
"aria-describedby": void 0,
|
|
@@ -28132,13 +28119,13 @@ function getApprovalMeta(notification) {
|
|
|
28132
28119
|
function resolutionToStatus(resolution) {
|
|
28133
28120
|
switch (typeof resolution === "string" ? resolution.toUpperCase() : void 0) {
|
|
28134
28121
|
case "APPROVED":
|
|
28135
|
-
return
|
|
28122
|
+
return _chunkCBXZSTAGcjs.APPROVAL_STATUS.APPROVED;
|
|
28136
28123
|
case "REJECTED":
|
|
28137
|
-
return
|
|
28124
|
+
return _chunkCBXZSTAGcjs.APPROVAL_STATUS.REJECTED;
|
|
28138
28125
|
case "CANCELLED":
|
|
28139
|
-
return
|
|
28126
|
+
return _chunkCBXZSTAGcjs.APPROVAL_STATUS.CANCELLED;
|
|
28140
28127
|
default:
|
|
28141
|
-
return
|
|
28128
|
+
return _chunkCBXZSTAGcjs.APPROVAL_STATUS.PENDING;
|
|
28142
28129
|
}
|
|
28143
28130
|
}
|
|
28144
28131
|
function approvalMetaToBatchData(approval) {
|
|
@@ -28178,7 +28165,7 @@ function ApprovalRequestNotificationTile({
|
|
|
28178
28165
|
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _599 => _599.resolution]));
|
|
28179
28166
|
const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
|
|
28180
28167
|
const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
|
|
28181
|
-
const { innerRef, containerStyle } =
|
|
28168
|
+
const { innerRef, containerStyle } = _chunkCBXZSTAGcjs.useCollapsible.call(void 0, { expanded });
|
|
28182
28169
|
if (!approval || !batchData) return null;
|
|
28183
28170
|
const tileNotification = {
|
|
28184
28171
|
...notification,
|
|
@@ -28231,7 +28218,7 @@ function ApprovalRequestNotificationTile({
|
|
|
28231
28218
|
}
|
|
28232
28219
|
)
|
|
28233
28220
|
] }) : /* @__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,
|
|
28221
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.ApprovalStatusTag, { status }),
|
|
28235
28222
|
approval.resolvedByName ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: [
|
|
28236
28223
|
"by ",
|
|
28237
28224
|
approval.resolvedByName
|
|
@@ -28249,12 +28236,12 @@ function ApprovalRequestNotificationTile({
|
|
|
28249
28236
|
"aria-expanded": expanded,
|
|
28250
28237
|
"aria-label": toggleLabel,
|
|
28251
28238
|
className: "ml-auto w-6 shrink-0 px-0 md:w-8",
|
|
28252
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28239
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.ExpandChevron, { expanded })
|
|
28253
28240
|
}
|
|
28254
28241
|
)
|
|
28255
28242
|
] }),
|
|
28256
28243
|
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
|
-
|
|
28244
|
+
_chunkCBXZSTAGcjs.ApprovalBatchMessage,
|
|
28258
28245
|
{
|
|
28259
28246
|
data: batchData,
|
|
28260
28247
|
showExecutionStatus: false,
|
|
@@ -28327,7 +28314,7 @@ function renderCustomerOption(option, isSelected) {
|
|
|
28327
28314
|
const { label, imageUrl } = option;
|
|
28328
28315
|
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
28316
|
/* @__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,
|
|
28317
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7R2DIGG4cjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "square" }),
|
|
28331
28318
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", title: label, children: label })
|
|
28332
28319
|
] }),
|
|
28333
28320
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -28411,7 +28398,7 @@ function TimeTrackerPanel({
|
|
|
28411
28398
|
}));
|
|
28412
28399
|
const selectedCustomer = customerAutocompleteOptions.find((o) => o.value === selectedCustomerId);
|
|
28413
28400
|
const customerStartAdornment = selectedCustomer ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28414
|
-
|
|
28401
|
+
_chunk7R2DIGG4cjs.SquareAvatar,
|
|
28415
28402
|
{
|
|
28416
28403
|
src: selectedCustomer.imageUrl,
|
|
28417
28404
|
alt: selectedCustomer.label,
|
|
@@ -28590,7 +28577,7 @@ var STATUS_TAG_SKIN = "gap-[var(--spacing-system-xs)] font-mono font-medium uppe
|
|
|
28590
28577
|
function StatusTag({ status }) {
|
|
28591
28578
|
if (status === "tracking") {
|
|
28592
28579
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28593
|
-
|
|
28580
|
+
_chunkCBXZSTAGcjs.Tag,
|
|
28594
28581
|
{
|
|
28595
28582
|
variant: "success",
|
|
28596
28583
|
className: STATUS_TAG_SKIN,
|
|
@@ -28600,9 +28587,9 @@ function StatusTag({ status }) {
|
|
|
28600
28587
|
);
|
|
28601
28588
|
}
|
|
28602
28589
|
if (status === "paused") {
|
|
28603
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28590
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.Tag, { variant: "warning", className: STATUS_TAG_SKIN, icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.PauseIcon, { className: "h-4 w-4" }), label: "Paused" });
|
|
28604
28591
|
}
|
|
28605
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28592
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.Tag, { variant: "grey", className: STATUS_TAG_SKIN, label: "Ready to Track" });
|
|
28606
28593
|
}
|
|
28607
28594
|
function LastEntryRow({ entry, onClick }) {
|
|
28608
28595
|
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: [
|
|
@@ -28771,7 +28758,7 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
28771
28758
|
"data-state": isOpen ? "open" : "closed",
|
|
28772
28759
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
28773
28760
|
layoutContainer ? "absolute inset-0 z-[102]" : "fixed inset-0 z-[1299]",
|
|
28774
|
-
|
|
28761
|
+
_chunkCBXZSTAGcjs.OVERLAY_BACKDROP_CLASS,
|
|
28775
28762
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
28776
28763
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
|
|
28777
28764
|
)
|
|
@@ -28925,7 +28912,7 @@ function BoardColumnHeader({
|
|
|
28925
28912
|
}) {
|
|
28926
28913
|
const count = _nullishCoalesce(column.total, () => ( column.tickets.length));
|
|
28927
28914
|
const tagStatus = _nullishCoalesce(column.statusKey, () => ( column.id));
|
|
28928
|
-
const useStatusVariant =
|
|
28915
|
+
const useStatusVariant = _chunkCBXZSTAGcjs.resolveTicketStatus.call(void 0, tagStatus) !== null;
|
|
28929
28916
|
const actionClass = "h-8 w-8 p-0 md:h-8 md:w-8";
|
|
28930
28917
|
if (collapsed) {
|
|
28931
28918
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
@@ -28941,7 +28928,7 @@ function BoardColumnHeader({
|
|
|
28941
28928
|
}
|
|
28942
28929
|
),
|
|
28943
28930
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28944
|
-
|
|
28931
|
+
_chunkCBXZSTAGcjs.TicketStatusTag,
|
|
28945
28932
|
{
|
|
28946
28933
|
status: tagStatus,
|
|
28947
28934
|
label: column.label,
|
|
@@ -28954,7 +28941,7 @@ function BoardColumnHeader({
|
|
|
28954
28941
|
}
|
|
28955
28942
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28956
28943
|
/* @__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,
|
|
28944
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.TicketStatusTag, { status: tagStatus, label: column.label, color: useStatusVariant ? void 0 : column.color }),
|
|
28958
28945
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h5", style: useStatusVariant ? void 0 : { color: column.color }, children: count })
|
|
28959
28946
|
] }),
|
|
28960
28947
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
@@ -29105,7 +29092,7 @@ function holdMoveDragEffect(element) {
|
|
|
29105
29092
|
|
|
29106
29093
|
function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
29107
29094
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
29108
|
-
const { innerRef, containerStyle } =
|
|
29095
|
+
const { innerRef, containerStyle } = _chunkCBXZSTAGcjs.useCollapsible.call(void 0, { expanded });
|
|
29109
29096
|
const isAdmin = pendingApproval.approvalType === "ADMIN";
|
|
29110
29097
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex flex-col", children: [
|
|
29111
29098
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -29134,7 +29121,7 @@ function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
|
29134
29121
|
}
|
|
29135
29122
|
),
|
|
29136
29123
|
/* @__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
|
-
|
|
29124
|
+
_chunkCBXZSTAGcjs.ApprovalBatchMessage,
|
|
29138
29125
|
{
|
|
29139
29126
|
className: "mb-0",
|
|
29140
29127
|
data: {
|
|
@@ -29206,7 +29193,7 @@ var ACTIVITY_DEFAULT_LABEL = {
|
|
|
29206
29193
|
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
29194
|
function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onReject }) {
|
|
29208
29195
|
const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
|
|
29209
|
-
const newMessageTextColor = columnColor ?
|
|
29196
|
+
const newMessageTextColor = columnColor ? _chunkCBXZSTAGcjs.getReadableTextColor.call(void 0, columnColor) : void 0;
|
|
29210
29197
|
const showDeviceRow = !!(_optionalChain([ticket, 'access', _635 => _635.deviceHostnames, 'optionalAccess', _636 => _636.length]) || ticket.organizationName);
|
|
29211
29198
|
const deviceText = [_optionalChain([ticket, 'access', _637 => _637.deviceHostnames, 'optionalAccess', _638 => _638.join, 'call', _639 => _639(", ")]), ticket.organizationName].filter(Boolean).join(", ");
|
|
29212
29199
|
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _640 => _640.assignees, 'optionalAccess', _641 => _641.length]) || renderAssignSlot);
|
|
@@ -29228,7 +29215,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29228
29215
|
},
|
|
29229
29216
|
a.id
|
|
29230
29217
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29231
|
-
|
|
29218
|
+
_chunk7R2DIGG4cjs.SquareAvatar,
|
|
29232
29219
|
{
|
|
29233
29220
|
src: a.avatarUrl,
|
|
29234
29221
|
alt: _nullishCoalesce(_nullishCoalesce(a.name, () => ( a.initials)), () => ( a.id)),
|
|
@@ -29245,8 +29232,8 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29245
29232
|
] })
|
|
29246
29233
|
] }) : null
|
|
29247
29234
|
] }) : null;
|
|
29248
|
-
const timestampLabel = ticket.createdAt ?
|
|
29249
|
-
const tooltipLabel = ticket.createdAt ?
|
|
29235
|
+
const timestampLabel = ticket.createdAt ? _chunkCBXZSTAGcjs.formatTicketRelativeTime.call(void 0, ticket.createdAt) : null;
|
|
29236
|
+
const tooltipLabel = ticket.createdAt ? _chunkCBXZSTAGcjs.formatTicketFullTimestamp.call(void 0, ticket.createdAt) : null;
|
|
29250
29237
|
const metaLabel = [ticket.ticketNumber || null, timestampLabel].filter(Boolean).join(" \u2022 ");
|
|
29251
29238
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
29252
29239
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-sf)]", children: [
|
|
@@ -29260,9 +29247,9 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29260
29247
|
rightSection
|
|
29261
29248
|
] }),
|
|
29262
29249
|
_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,
|
|
29250
|
+
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkCBXZSTAGcjs.Tooltip, { children: [
|
|
29251
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "pointer-events-auto truncate text-ods-text-secondary text-h6", children: metaLabel }) }),
|
|
29252
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.TooltipContent, { children: tooltipLabel })
|
|
29266
29253
|
] }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: metaLabel })),
|
|
29267
29254
|
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
29255
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.UserCheckIcon, { className: "size-4 shrink-0" }),
|
|
@@ -29282,7 +29269,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29282
29269
|
}
|
|
29283
29270
|
),
|
|
29284
29271
|
showNewMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29285
|
-
|
|
29272
|
+
_chunkCBXZSTAGcjs.Tag,
|
|
29286
29273
|
{
|
|
29287
29274
|
label: "New Message",
|
|
29288
29275
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.MessagesIcon, { size: 16, color: newMessageTextColor }),
|
|
@@ -29497,8 +29484,8 @@ function TicketTagRow({ tags }) {
|
|
|
29497
29484
|
const visible = tags.slice(0, MAX_VISIBLE_TAGS);
|
|
29498
29485
|
const hidden = tags.length - visible.length;
|
|
29499
29486
|
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,
|
|
29487
|
+
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.Tag, { variant: "outline", label: tag }, tag)),
|
|
29488
|
+
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCBXZSTAGcjs.Tag, { variant: "outline", label: `+${hidden}` })
|
|
29502
29489
|
] });
|
|
29503
29490
|
}
|
|
29504
29491
|
|
|
@@ -31187,4 +31174,4 @@ function SortableRow({
|
|
|
31187
31174
|
|
|
31188
31175
|
|
|
31189
31176
|
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-
|
|
31177
|
+
//# sourceMappingURL=chunk-RB6L5EGM.cjs.map
|