@flamingo-stack/openframe-frontend-core 0.0.652-2251.6519.1 → 0.0.652
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-6RJQVSJ3.cjs → chunk-27OZEE3E.cjs} +12 -12
- package/dist/{chunk-6RJQVSJ3.cjs.map → chunk-27OZEE3E.cjs.map} +1 -1
- package/dist/{chunk-Z5DLDFQN.js → chunk-2FWS52HR.js} +5 -5
- package/dist/{chunk-WQJQ734M.js → chunk-3DWDJ54N.js} +2 -7
- package/dist/{chunk-WQJQ734M.js.map → chunk-3DWDJ54N.js.map} +1 -1
- package/dist/{chunk-7CUXXKED.cjs → chunk-4T7E2SWL.cjs} +20 -20
- package/dist/{chunk-7CUXXKED.cjs.map → chunk-4T7E2SWL.cjs.map} +1 -1
- package/dist/{chunk-Y5ULSHXI.js → chunk-74EGKPX3.js} +4 -4
- package/dist/{chunk-4JVFUZWM.cjs → chunk-AAITIXRL.cjs} +28 -28
- package/dist/{chunk-4JVFUZWM.cjs.map → chunk-AAITIXRL.cjs.map} +1 -1
- package/dist/{chunk-NTFCOLBN.js → chunk-ADXTLFG7.js} +5 -5
- package/dist/{chunk-5Q2WO6BM.js → chunk-AGQZRNYV.js} +6 -6
- package/dist/{chunk-7VXLH5OR.js → chunk-BRIJIC6E.js} +6 -6
- package/dist/{chunk-AKG6O27E.cjs → chunk-BXE3DLIC.cjs} +22 -22
- package/dist/{chunk-AKG6O27E.cjs.map → chunk-BXE3DLIC.cjs.map} +1 -1
- package/dist/{chunk-HXZKMQRX.js → chunk-DPXRYIMC.js} +6 -28
- package/dist/{chunk-HXZKMQRX.js.map → chunk-DPXRYIMC.js.map} +1 -1
- package/dist/{chunk-XQBG3YDI.cjs → chunk-DVT5JCLD.cjs} +3 -3
- package/dist/{chunk-XQBG3YDI.cjs.map → chunk-DVT5JCLD.cjs.map} +1 -1
- package/dist/{chunk-EDQDGO7M.cjs → chunk-ERFHLMWM.cjs} +386 -350
- package/dist/chunk-ERFHLMWM.cjs.map +1 -0
- package/dist/{chunk-H5DPPRPE.cjs → chunk-EX5PJGVA.cjs} +2 -7
- package/dist/chunk-EX5PJGVA.cjs.map +1 -0
- package/dist/{chunk-FIB2BVCL.cjs → chunk-EY2OVL3Z.cjs} +15 -15
- package/dist/{chunk-FIB2BVCL.cjs.map → chunk-EY2OVL3Z.cjs.map} +1 -1
- package/dist/{chunk-HUSOLDNQ.cjs → chunk-FBKB4HCZ.cjs} +7 -7
- package/dist/{chunk-HUSOLDNQ.cjs.map → chunk-FBKB4HCZ.cjs.map} +1 -1
- package/dist/{chunk-JGTPRGJK.js → chunk-HM6D2YHS.js} +3 -3
- package/dist/{chunk-PPWZY57I.js → chunk-HSPLCV56.js} +3 -3
- package/dist/{chunk-7DZOKU3K.cjs → chunk-I3KD7T6K.cjs} +59 -59
- package/dist/{chunk-7DZOKU3K.cjs.map → chunk-I3KD7T6K.cjs.map} +1 -1
- package/dist/{chunk-MQLAONRH.cjs → chunk-I5Y6ZALR.cjs} +81 -81
- package/dist/{chunk-MQLAONRH.cjs.map → chunk-I5Y6ZALR.cjs.map} +1 -1
- package/dist/{chunk-QCDQOY2G.cjs → chunk-JCVGQDQV.cjs} +33 -33
- package/dist/{chunk-QCDQOY2G.cjs.map → chunk-JCVGQDQV.cjs.map} +1 -1
- package/dist/{chunk-2556C4VD.cjs → chunk-JWY5ES3H.cjs} +10 -10
- package/dist/{chunk-2556C4VD.cjs.map → chunk-JWY5ES3H.cjs.map} +1 -1
- package/dist/{chunk-F3YAIR6Z.js → chunk-LDC37FG4.js} +3 -3
- package/dist/{chunk-E4R52QDU.js → chunk-LECSFMGM.js} +185 -149
- package/dist/{chunk-E4R52QDU.js.map → chunk-LECSFMGM.js.map} +1 -1
- package/dist/{chunk-EENH7NU2.js → chunk-LUEURQOY.js} +7 -7
- package/dist/{chunk-243ZVXD3.js → chunk-M4AD2PHE.js} +2 -2
- package/dist/{chunk-NBTIWREJ.js → chunk-N4RVPWPM.js} +3 -3
- package/dist/{chunk-JTR4RHTD.js → chunk-NTJUFHX2.js} +2 -2
- package/dist/{chunk-EC5HDDZR.cjs → chunk-OFLGZRJW.cjs} +154 -176
- package/dist/chunk-OFLGZRJW.cjs.map +1 -0
- package/dist/{chunk-OW3QFWPW.js → chunk-QUNY6URW.js} +3 -3
- package/dist/{chunk-QAVM7AAM.js → chunk-QZJ4K7SG.js} +4 -4
- package/dist/{chunk-YEPWMJ56.js → chunk-TGHSQUTD.js} +3 -3
- package/dist/{chunk-VG2HD22L.cjs → chunk-UEFHMMJX.cjs} +29 -29
- package/dist/{chunk-VG2HD22L.cjs.map → chunk-UEFHMMJX.cjs.map} +1 -1
- package/dist/{chunk-LX5I5TAZ.cjs → chunk-VIHX7ADQ.cjs} +5 -5
- package/dist/{chunk-LX5I5TAZ.cjs.map → chunk-VIHX7ADQ.cjs.map} +1 -1
- package/dist/{chunk-SFVK5HWQ.cjs → chunk-XGD6SCHN.cjs} +32 -32
- package/dist/{chunk-SFVK5HWQ.cjs.map → chunk-XGD6SCHN.cjs.map} +1 -1
- package/dist/{chunk-MVRLLLM6.cjs → chunk-ZVLOG2AV.cjs} +6 -6
- package/dist/{chunk-MVRLLLM6.cjs.map → chunk-ZVLOG2AV.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +16 -16
- package/dist/components/case-studies/index.js +4 -4
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/chat/index.js +2 -2
- 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/features/section-selector.d.ts +13 -0
- package/dist/components/features/section-selector.d.ts.map +1 -1
- 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 +54 -54
- package/dist/components/index.js +15 -15
- package/dist/components/meeting-scheduler/index.cjs +40 -40
- package/dist/components/meeting-scheduler/index.js +3 -3
- 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/tickets/index.cjs +8 -8
- package/dist/components/tickets/index.js +7 -7
- package/dist/components/ui/index.cjs +4 -4
- package/dist/components/ui/index.js +3 -3
- package/dist/index.cjs +9 -9
- package/dist/index.js +7 -7
- package/dist/utils/index.cjs +4 -21
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.js +4 -21
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/list-url.d.ts.map +1 -1
- package/dist/utils/source-icons.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/chat/entity-cards/dispatch.tsx +0 -10
- package/src/components/features/section-selector.tsx +79 -6
- package/src/utils/__tests__/list-url.test.ts +0 -5
- package/src/utils/list-url.ts +0 -5
- package/src/utils/source-icons.ts +0 -15
- package/dist/chunk-EC5HDDZR.cjs.map +0 -1
- package/dist/chunk-EDQDGO7M.cjs.map +0 -1
- package/dist/chunk-H5DPPRPE.cjs.map +0 -1
- /package/dist/{chunk-Z5DLDFQN.js.map → chunk-2FWS52HR.js.map} +0 -0
- /package/dist/{chunk-Y5ULSHXI.js.map → chunk-74EGKPX3.js.map} +0 -0
- /package/dist/{chunk-NTFCOLBN.js.map → chunk-ADXTLFG7.js.map} +0 -0
- /package/dist/{chunk-5Q2WO6BM.js.map → chunk-AGQZRNYV.js.map} +0 -0
- /package/dist/{chunk-7VXLH5OR.js.map → chunk-BRIJIC6E.js.map} +0 -0
- /package/dist/{chunk-JGTPRGJK.js.map → chunk-HM6D2YHS.js.map} +0 -0
- /package/dist/{chunk-PPWZY57I.js.map → chunk-HSPLCV56.js.map} +0 -0
- /package/dist/{chunk-F3YAIR6Z.js.map → chunk-LDC37FG4.js.map} +0 -0
- /package/dist/{chunk-EENH7NU2.js.map → chunk-LUEURQOY.js.map} +0 -0
- /package/dist/{chunk-243ZVXD3.js.map → chunk-M4AD2PHE.js.map} +0 -0
- /package/dist/{chunk-NBTIWREJ.js.map → chunk-N4RVPWPM.js.map} +0 -0
- /package/dist/{chunk-JTR4RHTD.js.map → chunk-NTJUFHX2.js.map} +0 -0
- /package/dist/{chunk-OW3QFWPW.js.map → chunk-QUNY6URW.js.map} +0 -0
- /package/dist/{chunk-QAVM7AAM.js.map → chunk-QZJ4K7SG.js.map} +0 -0
- /package/dist/{chunk-YEPWMJ56.js.map → chunk-TGHSQUTD.js.map} +0 -0
|
@@ -93,7 +93,7 @@ var _chunkYWUZL3RTcjs = require('./chunk-YWUZL3RT.cjs');
|
|
|
93
93
|
|
|
94
94
|
|
|
95
95
|
|
|
96
|
-
var
|
|
96
|
+
var _chunkOFLGZRJWcjs = require('./chunk-OFLGZRJW.cjs');
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
|
|
@@ -236,7 +236,7 @@ var _chunkXQFFGR6Ucjs = require('./chunk-XQFFGR6U.cjs');
|
|
|
236
236
|
|
|
237
237
|
|
|
238
238
|
|
|
239
|
-
var
|
|
239
|
+
var _chunkEX5PJGVAcjs = require('./chunk-EX5PJGVA.cjs');
|
|
240
240
|
|
|
241
241
|
|
|
242
242
|
var _chunkWLSFBRT5cjs = require('./chunk-WLSFBRT5.cjs');
|
|
@@ -349,7 +349,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
349
349
|
var useTheme = _nextthemes.useTheme;
|
|
350
350
|
function useThemeToggle() {
|
|
351
351
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
352
|
-
const mounted =
|
|
352
|
+
const mounted = _chunkOFLGZRJWcjs.useIsHydrated.call(void 0, );
|
|
353
353
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
354
354
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
355
355
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -626,7 +626,7 @@ function TruncateText({
|
|
|
626
626
|
const { ref, isTruncated } = _chunkTLLJIGTPcjs.useIsTruncated.call(void 0, children, { multiline: isMultiLine });
|
|
627
627
|
const clampClass = isMultiLine ? LINE_CLAMP_CLASS[lines] : "truncate block";
|
|
628
628
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
629
|
-
|
|
629
|
+
_chunkOFLGZRJWcjs.FloatingTooltip,
|
|
630
630
|
{
|
|
631
631
|
content: _nullishCoalesce(tooltip, () => ( children)),
|
|
632
632
|
side,
|
|
@@ -933,7 +933,7 @@ function AutocompleteInner(props, ref) {
|
|
|
933
933
|
),
|
|
934
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: [
|
|
935
935
|
multiple && visibleTags.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
936
|
-
|
|
936
|
+
_chunkOFLGZRJWcjs.Tag,
|
|
937
937
|
{
|
|
938
938
|
variant: "outline",
|
|
939
939
|
labelClassName: "max-w-[90px] truncate",
|
|
@@ -1147,7 +1147,7 @@ function AutocompleteInner(props, ref) {
|
|
|
1147
1147
|
"aria-hidden": "true",
|
|
1148
1148
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
1149
1149
|
children: selectedOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1150
|
-
|
|
1150
|
+
_chunkOFLGZRJWcjs.Tag,
|
|
1151
1151
|
{
|
|
1152
1152
|
variant: "outline",
|
|
1153
1153
|
labelClassName: "max-w-[90px] truncate",
|
|
@@ -1461,7 +1461,7 @@ SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
|
|
|
1461
1461
|
|
|
1462
1462
|
// src/components/ui/date-picker.tsx
|
|
1463
1463
|
|
|
1464
|
-
var defaultFormatDate = (date) =>
|
|
1464
|
+
var defaultFormatDate = (date) => _chunkEX5PJGVAcjs.formatDateWithTimezone.call(void 0, date, _chunkEX5PJGVAcjs.VIEWER_TIMEZONE, "numeric");
|
|
1465
1465
|
var formatDateRange = (range, formatFn) => {
|
|
1466
1466
|
if (!_optionalChain([range, 'optionalAccess', _24 => _24.from])) return "";
|
|
1467
1467
|
if (!range.to) return formatFn(range.from);
|
|
@@ -1662,7 +1662,7 @@ function DatePickerCalendar({
|
|
|
1662
1662
|
};
|
|
1663
1663
|
const handlePreviousMonth = () => shiftMonth(-1);
|
|
1664
1664
|
const handleNextMonth = () => shiftMonth(1);
|
|
1665
|
-
const formatMonthYear = (date) =>
|
|
1665
|
+
const formatMonthYear = (date) => _chunkEX5PJGVAcjs.formatDateWithTimezone.call(void 0, date, _chunkEX5PJGVAcjs.VIEWER_TIMEZONE, "monthYear");
|
|
1666
1666
|
const getSecondMonth = (date) => {
|
|
1667
1667
|
const next = new Date(date);
|
|
1668
1668
|
next.setMonth(next.getMonth() + 1);
|
|
@@ -2526,7 +2526,7 @@ function InfoHint({ children, label, side = "top", className }) {
|
|
|
2526
2526
|
const describedById = _react.useId.call(void 0, );
|
|
2527
2527
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "inline-flex shrink-0 items-center", className), children: [
|
|
2528
2528
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2529
|
-
|
|
2529
|
+
_chunkOFLGZRJWcjs.FloatingTooltip,
|
|
2530
2530
|
{
|
|
2531
2531
|
content: children,
|
|
2532
2532
|
side,
|
|
@@ -2620,7 +2620,7 @@ function Value2({ value, depth }) {
|
|
|
2620
2620
|
}
|
|
2621
2621
|
if (typeof value === "string") {
|
|
2622
2622
|
if (ISO_DATE.test(value)) {
|
|
2623
|
-
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: _chunkOFLGZRJWcjs.formatRelativeTime.call(void 0, value) });
|
|
2624
2624
|
}
|
|
2625
2625
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-pre-wrap text-ods-text-primary", children: value });
|
|
2626
2626
|
}
|
|
@@ -3015,7 +3015,7 @@ function CompactAssigneeDropdown({
|
|
|
3015
3015
|
value: o.value,
|
|
3016
3016
|
label: o.label,
|
|
3017
3017
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3018
|
-
|
|
3018
|
+
_chunkEX5PJGVAcjs.SquareAvatar,
|
|
3019
3019
|
{
|
|
3020
3020
|
src: o.imageUrl,
|
|
3021
3021
|
alt: o.label,
|
|
@@ -3050,7 +3050,7 @@ function CompactAssigneeDropdown({
|
|
|
3050
3050
|
className
|
|
3051
3051
|
),
|
|
3052
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,
|
|
3053
|
-
|
|
3053
|
+
_chunkEX5PJGVAcjs.SquareAvatar,
|
|
3054
3054
|
{
|
|
3055
3055
|
src: currentAssignee.avatarSrc,
|
|
3056
3056
|
alt: currentAssignee.name,
|
|
@@ -3098,7 +3098,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
3098
3098
|
const opt = option;
|
|
3099
3099
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-sf)]", children: [
|
|
3100
3100
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3101
|
-
|
|
3101
|
+
_chunkEX5PJGVAcjs.SquareAvatar,
|
|
3102
3102
|
{
|
|
3103
3103
|
src: opt.imageUrl,
|
|
3104
3104
|
alt: opt.label,
|
|
@@ -3133,7 +3133,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
3133
3133
|
accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}`
|
|
3134
3134
|
}
|
|
3135
3135
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3136
|
-
|
|
3136
|
+
_chunkEX5PJGVAcjs.SquareAvatar,
|
|
3137
3137
|
{
|
|
3138
3138
|
src: currentAssignee.avatarSrc,
|
|
3139
3139
|
alt: currentAssignee.name,
|
|
@@ -3158,7 +3158,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
3158
3158
|
accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}`
|
|
3159
3159
|
}
|
|
3160
3160
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3161
|
-
|
|
3161
|
+
_chunkEX5PJGVAcjs.SquareAvatar,
|
|
3162
3162
|
{
|
|
3163
3163
|
src: currentAssignee.avatarSrc,
|
|
3164
3164
|
alt: currentAssignee.name,
|
|
@@ -3232,7 +3232,7 @@ function TextValue({ value }) {
|
|
|
3232
3232
|
}
|
|
3233
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 }),
|
|
3234
3234
|
hasImage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3235
|
-
|
|
3235
|
+
_chunkEX5PJGVAcjs.SquareAvatar,
|
|
3236
3236
|
{
|
|
3237
3237
|
src: imageSrc,
|
|
3238
3238
|
alt: text,
|
|
@@ -3252,7 +3252,7 @@ function RowValue({ value }) {
|
|
|
3252
3252
|
}
|
|
3253
3253
|
case "status": {
|
|
3254
3254
|
const { type: _type, ...props } = value;
|
|
3255
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3255
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.TicketStatusTag, { ...props });
|
|
3256
3256
|
}
|
|
3257
3257
|
case "custom":
|
|
3258
3258
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: value.content });
|
|
@@ -4163,7 +4163,7 @@ function TagsManager({
|
|
|
4163
4163
|
}
|
|
4164
4164
|
),
|
|
4165
4165
|
selectedTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4166
|
-
|
|
4166
|
+
_chunkOFLGZRJWcjs.Tag,
|
|
4167
4167
|
{
|
|
4168
4168
|
label: tag.name,
|
|
4169
4169
|
variant: "outline",
|
|
@@ -4708,10 +4708,10 @@ function useConfirm() {
|
|
|
4708
4708
|
},
|
|
4709
4709
|
[]
|
|
4710
4710
|
);
|
|
4711
|
-
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4712
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4713
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4714
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4711
|
+
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOFLGZRJWcjs.Modal, { isOpen: open, onClose: () => decide(false), children: [
|
|
4712
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.ModalTitle, { children: pending.title }) }),
|
|
4713
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.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, _chunkOFLGZRJWcjs.ModalFooter, { children: [
|
|
4715
4715
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { variant: "outline", onClick: () => decide(false), children: "Cancel" }),
|
|
4716
4716
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { variant: "destructive", onClick: () => decide(true), children: "Confirm" })
|
|
4717
4717
|
] })
|
|
@@ -4774,9 +4774,9 @@ function AdminFormModal({
|
|
|
4774
4774
|
body: "Your edits have not been saved. Close and discard them?"
|
|
4775
4775
|
});
|
|
4776
4776
|
if (!isOpen) return null;
|
|
4777
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4778
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4779
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4777
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOFLGZRJWcjs.Modal, { isOpen: true, onClose: guardedClose, size: effectiveSize, children: [
|
|
4778
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOFLGZRJWcjs.ModalHeader, { children: [
|
|
4779
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.ModalTitle, { children: title }),
|
|
4780
4780
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
4781
4781
|
] }),
|
|
4782
4782
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -4801,7 +4801,7 @@ function AdminFormModal({
|
|
|
4801
4801
|
// a shrink-to-fit flex item pinned to the left of a 1400px panel).
|
|
4802
4802
|
// The placeholder owns its own layout and mirrors the column count so
|
|
4803
4803
|
// the modal doesn't visibly re-flow when the entity lands.
|
|
4804
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4804
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.ModalContent, { children: loadingContent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-busy": "true", children: loadingContent }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4805
4805
|
"div",
|
|
4806
4806
|
{
|
|
4807
4807
|
"aria-busy": "true",
|
|
@@ -4822,12 +4822,12 @@ function AdminFormModal({
|
|
|
4822
4822
|
]
|
|
4823
4823
|
}
|
|
4824
4824
|
) })
|
|
4825
|
-
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4825
|
+
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.ModalTwoColumn, { left: leftColumn, right: rightColumn }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.ModalContent, { className: contentClassName, children }),
|
|
4826
4826
|
error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { role: "alert", className: "shrink-0 text-ods-error text-h6", children: error })
|
|
4827
4827
|
]
|
|
4828
4828
|
}
|
|
4829
4829
|
),
|
|
4830
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4830
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.ModalFooter, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between gap-[var(--spacing-system-xsf)]", children: [
|
|
4831
4831
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: footerExtras }),
|
|
4832
4832
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
4833
4833
|
footerStatus,
|
|
@@ -6973,7 +6973,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
6973
6973
|
};
|
|
6974
6974
|
const displayImageSrc = (url) => transformImageSrc ? transformImageSrc(url) : url;
|
|
6975
6975
|
const renderVideo = (item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6976
|
-
|
|
6976
|
+
_chunkOFLGZRJWcjs.Video,
|
|
6977
6977
|
{
|
|
6978
6978
|
url: item.src,
|
|
6979
6979
|
poster: item.poster ? displayImageSrc(item.poster) : void 0,
|
|
@@ -7405,7 +7405,7 @@ function RedditEmbedClient({ url, maxWidth = 700 }) {
|
|
|
7405
7405
|
width: m.width,
|
|
7406
7406
|
height: m.height
|
|
7407
7407
|
}));
|
|
7408
|
-
const formatNumber2 =
|
|
7408
|
+
const formatNumber2 = _chunkEX5PJGVAcjs.formatLargeNumber;
|
|
7409
7409
|
const truncateText = (text, maxLength = 600) => {
|
|
7410
7410
|
if (text.length <= maxLength) return text;
|
|
7411
7411
|
return text.slice(0, maxLength) + "...";
|
|
@@ -7697,7 +7697,7 @@ function buildRichEmbedOverrides({
|
|
|
7697
7697
|
ogEndpointPath,
|
|
7698
7698
|
textSizes
|
|
7699
7699
|
}) {
|
|
7700
|
-
const standard =
|
|
7700
|
+
const standard = _chunkOFLGZRJWcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7701
7701
|
return {
|
|
7702
7702
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7703
7703
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7707,7 +7707,7 @@ function buildRichEmbedOverrides({
|
|
|
7707
7707
|
const language = match ? match[1] : "";
|
|
7708
7708
|
const fenceText = () => String(children).replace(/\n$/, "").trim();
|
|
7709
7709
|
if (language === "youtube-embed") {
|
|
7710
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7710
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.Video, { kind: "youtube", url: fenceText() });
|
|
7711
7711
|
}
|
|
7712
7712
|
if (language === "reddit-embed") {
|
|
7713
7713
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: fenceText() });
|
|
@@ -7748,7 +7748,7 @@ function buildRichEmbedOverrides({
|
|
|
7748
7748
|
"data-figma-url": figmaUrl
|
|
7749
7749
|
} = divProps;
|
|
7750
7750
|
if (className === "youtube-embed" && videoId) {
|
|
7751
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7751
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.Video, { kind: "youtube", url: videoId });
|
|
7752
7752
|
}
|
|
7753
7753
|
if (className === "reddit-embed" && postUrl) {
|
|
7754
7754
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: postUrl });
|
|
@@ -7833,14 +7833,14 @@ function buildRichEmbedOverrides({
|
|
|
7833
7833
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7834
7834
|
// elsewhere). Guard against empty `![]()`.
|
|
7835
7835
|
img: ({ src, alt }) => {
|
|
7836
|
-
if (!
|
|
7836
|
+
if (!_chunkOFLGZRJWcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7837
7837
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7838
7838
|
},
|
|
7839
7839
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7840
7840
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7841
7841
|
video: ({ src, poster, className }) => {
|
|
7842
|
-
if (!
|
|
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,
|
|
7842
|
+
if (!_chunkOFLGZRJWcjs.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, _chunkOFLGZRJWcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
7844
7844
|
}
|
|
7845
7845
|
};
|
|
7846
7846
|
}
|
|
@@ -8081,13 +8081,13 @@ var RichMarkdownInner = ({
|
|
|
8081
8081
|
},
|
|
8082
8082
|
[resolveLinkEndpointUrl, resolveSource]
|
|
8083
8083
|
);
|
|
8084
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
8084
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkOFLGZRJWcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
8085
8085
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
8086
8086
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
8087
8087
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
8088
8088
|
);
|
|
8089
8089
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8090
|
-
|
|
8090
|
+
_chunkOFLGZRJWcjs.MarkdownEngine,
|
|
8091
8091
|
{
|
|
8092
8092
|
content,
|
|
8093
8093
|
className,
|
|
@@ -8109,7 +8109,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
8109
8109
|
className = "",
|
|
8110
8110
|
sectionIds,
|
|
8111
8111
|
onInternalLinkClick,
|
|
8112
|
-
brokenLinks =
|
|
8112
|
+
brokenLinks = _chunkOFLGZRJWcjs.NO_BROKEN_LINKS,
|
|
8113
8113
|
currentPath,
|
|
8114
8114
|
resolveSource = "openframe-docs",
|
|
8115
8115
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -8682,7 +8682,7 @@ function FilterModal({
|
|
|
8682
8682
|
const dateDefaultSort = _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _167 => _167.defaultSort]), () => ( "desc"));
|
|
8683
8683
|
const [draftDateSort, setDraftDateSort] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _168 => _168.sort]), () => ( dateDefaultSort)));
|
|
8684
8684
|
const [draftDateRange, setDraftDateRange] = _react.useState.call(void 0, _optionalChain([dateFilter, 'optionalAccess', _169 => _169.range]));
|
|
8685
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
8685
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkOFLGZRJWcjs.useScrollFade.call(void 0, );
|
|
8686
8686
|
const seedKey = `${JSON.stringify(currentFilters)}|${JSON.stringify(_nullishCoalesce(selectedTags, () => ( [])))}`;
|
|
8687
8687
|
const seedSourceRef = _react.useRef.call(void 0, { currentFilters, selectedTags, dateFilter, dateDefaultSort });
|
|
8688
8688
|
_react.useEffect.call(void 0, () => {
|
|
@@ -8727,10 +8727,10 @@ function FilterModal({
|
|
|
8727
8727
|
const hasFilterGroups = filterGroups.length > 0;
|
|
8728
8728
|
const hasTagFilter = !!tagFilterKeys && tagFilterKeys.length > 0 && !!onTagsChange;
|
|
8729
8729
|
const isEmpty = !isLoading && !hasSort && !hasFilterGroups && !hasTagFilter && !dateFilter;
|
|
8730
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8731
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8730
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOFLGZRJWcjs.Modal, { isOpen, onClose, className: _chunkX7CEWD6Vcjs.cn.call(void 0, "max-h-[90vh] max-w-none", className), children: [
|
|
8731
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.ModalTitle, { children: title }) }),
|
|
8732
8732
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8733
|
-
|
|
8733
|
+
_chunkOFLGZRJWcjs.ModalContent,
|
|
8734
8734
|
{
|
|
8735
8735
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0,
|
|
8736
8736
|
"flex min-h-0 flex-1 flex-col",
|
|
@@ -8822,12 +8822,12 @@ function FilterModal({
|
|
|
8822
8822
|
] })
|
|
8823
8823
|
}
|
|
8824
8824
|
),
|
|
8825
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8826
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8825
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
8826
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
8827
8827
|
] })
|
|
8828
8828
|
}
|
|
8829
8829
|
),
|
|
8830
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8830
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOFLGZRJWcjs.ModalFooter, { children: [
|
|
8831
8831
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { variant: "outline", className: "h-11 flex-1", onClick: handleReset, children: resetButtonText }),
|
|
8832
8832
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { variant: "accent", className: "h-11 flex-1", onClick: handleApply, children: applyButtonText })
|
|
8833
8833
|
] })
|
|
@@ -8871,9 +8871,9 @@ function actionToMenuItems(action, idx) {
|
|
|
8871
8871
|
function renderActionButton(action, opts = {}) {
|
|
8872
8872
|
const button = renderRawActionButton(action, opts);
|
|
8873
8873
|
if (!action.tooltip) return button;
|
|
8874
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8875
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8876
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8874
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOFLGZRJWcjs.Tooltip, { children: [
|
|
8875
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.TooltipTrigger, { asChild: true, children: button }),
|
|
8876
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.TooltipContent, { children: action.tooltip })
|
|
8877
8877
|
] }) });
|
|
8878
8878
|
}
|
|
8879
8879
|
function renderRawActionButton(action, opts = {}) {
|
|
@@ -8897,7 +8897,7 @@ function renderRawActionButton(action, opts = {}) {
|
|
|
8897
8897
|
}
|
|
8898
8898
|
if (action.submenu && action.submenu.length > 0) {
|
|
8899
8899
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8900
|
-
|
|
8900
|
+
_chunkOFLGZRJWcjs.ActionsMenuDropdown,
|
|
8901
8901
|
{
|
|
8902
8902
|
groups: [{ items: action.submenu }],
|
|
8903
8903
|
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -9032,10 +9032,10 @@ function IconButtonsVariant({
|
|
|
9032
9032
|
selector,
|
|
9033
9033
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
9034
9034
|
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton(action) }, actionKey(action, idx))),
|
|
9035
|
-
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9035
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.ActionsMenuDropdown, { groups: menuActions })
|
|
9036
9036
|
] })
|
|
9037
9037
|
] }),
|
|
9038
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.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: _chunkX7CEWD6Vcjs.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, _chunkOFLGZRJWcjs.ActionsMenuDropdown, { groups: mobileMenuGroups }) : null })
|
|
9039
9039
|
] });
|
|
9040
9040
|
}
|
|
9041
9041
|
function PrimaryButtonsVariant({
|
|
@@ -9073,7 +9073,7 @@ function MenuPrimaryVariant({
|
|
|
9073
9073
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "hidden items-center md:flex", ACTIONS_GAP, className), children: [
|
|
9074
9074
|
selector,
|
|
9075
9075
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
9076
|
-
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9076
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.ActionsMenuDropdown, { groups: menuActions }),
|
|
9077
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)}`))
|
|
9078
9078
|
] })
|
|
9079
9079
|
] }),
|
|
@@ -9081,7 +9081,7 @@ function MenuPrimaryVariant({
|
|
|
9081
9081
|
// The selector rides into the menu as its header row: on mobile the
|
|
9082
9082
|
// title row has no room for it, and hiding it entirely (what
|
|
9083
9083
|
// `icon-buttons` does) would leave no way to switch views at all.
|
|
9084
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9084
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.ActionsMenuDropdown, { groups: mobileMenuGroups, header: selector })
|
|
9085
9085
|
) : null })
|
|
9086
9086
|
] });
|
|
9087
9087
|
}
|
|
@@ -9376,7 +9376,7 @@ function EntityImage({ src, alt, fallbackText, sizeClassName, className }) {
|
|
|
9376
9376
|
const [failedSrc, setFailedSrc] = _react2.default.useState(null);
|
|
9377
9377
|
const imageFailed = resolvedSrc !== void 0 && failedSrc === resolvedSrc;
|
|
9378
9378
|
const showFallback = imageFailed || !resolvedSrc;
|
|
9379
|
-
const initials =
|
|
9379
|
+
const initials = _chunkEX5PJGVAcjs.personInitials.call(void 0, _nullishCoalesce(fallbackText, () => ( alt)));
|
|
9380
9380
|
if (showFallback) {
|
|
9381
9381
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9382
9382
|
"div",
|
|
@@ -9487,7 +9487,7 @@ function TitleBlock({
|
|
|
9487
9487
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
9488
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: [
|
|
9489
9489
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9490
|
-
|
|
9490
|
+
_chunkOFLGZRJWcjs.FloatingTooltip,
|
|
9491
9491
|
{
|
|
9492
9492
|
content: title,
|
|
9493
9493
|
side: "bottom",
|
|
@@ -9504,12 +9504,12 @@ function TitleBlock({
|
|
|
9504
9504
|
}
|
|
9505
9505
|
),
|
|
9506
9506
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: titleAdornment })
|
|
9507
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9507
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.FloatingTooltip, { content: title, side: "bottom", disabled: !titleTruncated, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { ref: titleRef, className: _chunkX7CEWD6Vcjs.cn.call(void 0, titleClass, "text-ods-text-primary", titleOverflowClass), children: titleNode }) })),
|
|
9508
9508
|
hasSubtitleRow && /* The NBSP is a pure spacer, reached only in `'always'` mode: an
|
|
9509
9509
|
empty `p` collapses to zero height (its only content would be
|
|
9510
9510
|
collapsible whitespace), which is exactly the shift that mode
|
|
9511
9511
|
exists to prevent. Hidden from AT — it carries no meaning. */
|
|
9512
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9512
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.FloatingTooltip, { content: subtitle, side: "bottom", disabled: !subtitleTruncated, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9513
9513
|
"p",
|
|
9514
9514
|
{
|
|
9515
9515
|
ref: subtitleRef,
|
|
@@ -9520,7 +9520,7 @@ function TitleBlock({
|
|
|
9520
9520
|
) })
|
|
9521
9521
|
] })
|
|
9522
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: [
|
|
9523
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9523
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.FloatingTooltip, { content: title, side: "bottom", disabled: !titleTruncated, triggerClassName: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { ref: titleRef, className: _chunkX7CEWD6Vcjs.cn.call(void 0, titleClass, "min-w-0 text-ods-text-primary", titleOverflowClass), children: title }) }),
|
|
9524
9524
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: titleAdornment })
|
|
9525
9525
|
] }) : (
|
|
9526
9526
|
/* This branch never had the single-line clamp, so text already
|
|
@@ -10938,7 +10938,7 @@ function lastPathSegment(url) {
|
|
|
10938
10938
|
function makeComposeContentUrl(opts) {
|
|
10939
10939
|
const suffixes = _nullishCoalesce(opts.suffixes, () => ( DEFAULT_CONTENT_SUFFIXES));
|
|
10940
10940
|
return ({ type: rawType, identifier, slug: slugHint, externalUrl, targetPlatform, platforms }) => {
|
|
10941
|
-
const type =
|
|
10941
|
+
const type = _chunkEX5PJGVAcjs.canonicalContentRefType.call(void 0, rawType);
|
|
10942
10942
|
const override = opts.overrides && Object.prototype.hasOwnProperty.call(opts.overrides, type) ? opts.overrides[type] : void 0;
|
|
10943
10943
|
if (override) return { ...override(identifier), hostOverride: true };
|
|
10944
10944
|
const seg = _nullishCoalesce((Object.prototype.hasOwnProperty.call(suffixes, type) ? suffixes[type] : void 0), () => ( type));
|
|
@@ -10949,8 +10949,8 @@ function makeComposeContentUrl(opts) {
|
|
|
10949
10949
|
}
|
|
10950
10950
|
if (externalUrl) return { href: externalUrl, targetPlatform: _nullishCoalesce(targetPlatform, () => ( null)) };
|
|
10951
10951
|
const claimedOwner = _nullishCoalesce(targetPlatform, () => ( primaryPlatformOf(platforms)));
|
|
10952
|
-
const owner = claimedOwner &&
|
|
10953
|
-
const origin = owner ?
|
|
10952
|
+
const owner = claimedOwner && _chunkOFLGZRJWcjs.byKey.call(void 0, claimedOwner) ? claimedOwner : null;
|
|
10953
|
+
const origin = owner ? _chunkOFLGZRJWcjs.getPlatformProductionUrl.call(void 0, owner) : opts.contentOrigin;
|
|
10954
10954
|
return {
|
|
10955
10955
|
href: `${origin.replace(/\/+$/, "")}/${seg}/${_optionalChain([slugHint, 'optionalAccess', _227 => _227.trim, 'call', _228 => _228()]) || identifier}`,
|
|
10956
10956
|
// Report the owner so `decideNewTab` can compare it against the current
|
|
@@ -11125,7 +11125,7 @@ function extractSections(markdown, options = {}) {
|
|
|
11125
11125
|
if (heading.level > opts.maxLevel) continue;
|
|
11126
11126
|
let title = heading.text;
|
|
11127
11127
|
if (opts.stripFormattingMarkers) {
|
|
11128
|
-
title =
|
|
11128
|
+
title = _chunkOFLGZRJWcjs.stripInlineMarkdown.call(void 0, title).trim();
|
|
11129
11129
|
}
|
|
11130
11130
|
const baseId = _chunkTLLJIGTPcjs.slugifyHeadingBase.call(void 0, opts.removeEmojis ? _chunkTLLJIGTPcjs.stripHeadingEmojis.call(void 0, title) : title);
|
|
11131
11131
|
const cleanId = baseId || `section-${sections.length + 1}`;
|
|
@@ -11698,7 +11698,7 @@ function DashboardInfoCard({
|
|
|
11698
11698
|
const asTag = percentageDisplay === "tag" || percentageDisplay === "auto" && (progressVariant === "warning" || progressVariant === "error");
|
|
11699
11699
|
if (asTag) {
|
|
11700
11700
|
const tagVariant = progressVariant === "warning" || progressVariant === "error" ? progressVariant : progressVariant === "success" ? "success" : "grey";
|
|
11701
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11701
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.Tag, { variant: tagVariant, label: `${percentage}%` });
|
|
11702
11702
|
}
|
|
11703
11703
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: [
|
|
11704
11704
|
"(",
|
|
@@ -11752,7 +11752,7 @@ function DashboardInfoCard({
|
|
|
11752
11752
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "truncate text-ods-text-primary text-h3 md:text-h2", valueClassName), children: formattedValue }),
|
|
11753
11753
|
subValue && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: subValue }),
|
|
11754
11754
|
renderPercentage(),
|
|
11755
|
-
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11755
|
+
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.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 }) }) })
|
|
11756
11756
|
] })
|
|
11757
11757
|
] }),
|
|
11758
11758
|
renderProgress()
|
|
@@ -11870,7 +11870,7 @@ function DeviceCard({
|
|
|
11870
11870
|
}) {
|
|
11871
11871
|
const formatLastSeen = (lastSeen) => {
|
|
11872
11872
|
if (!lastSeen) return null;
|
|
11873
|
-
return
|
|
11873
|
+
return _chunkEX5PJGVAcjs.formatDateTimeYmd.call(void 0, lastSeen, null) || null;
|
|
11874
11874
|
};
|
|
11875
11875
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
11876
11876
|
"div",
|
|
@@ -11929,7 +11929,7 @@ function DeviceCard({
|
|
|
11929
11929
|
] }),
|
|
11930
11930
|
(statusTag || device.lastSeen) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-2", children: [
|
|
11931
11931
|
statusTag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11932
|
-
|
|
11932
|
+
_chunkOFLGZRJWcjs.Tag,
|
|
11933
11933
|
{
|
|
11934
11934
|
variant: statusTag.variant,
|
|
11935
11935
|
icon: statusTag.icon,
|
|
@@ -11943,7 +11943,7 @@ function DeviceCard({
|
|
|
11943
11943
|
formatLastSeen(device.lastSeen)
|
|
11944
11944
|
] })
|
|
11945
11945
|
] }),
|
|
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,
|
|
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, _chunkOFLGZRJWcjs.Tag, { variant: "outline", label: tag }, index)) })
|
|
11947
11947
|
]
|
|
11948
11948
|
}
|
|
11949
11949
|
);
|
|
@@ -12004,7 +12004,7 @@ function FeatureCardGrid({
|
|
|
12004
12004
|
if (allCardsHaveNoBorders) {
|
|
12005
12005
|
finalCardClassName = "bg-transparent p-0 overflow-visible border-0 shadow-none rounded-none";
|
|
12006
12006
|
}
|
|
12007
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12007
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEX5PJGVAcjs.Card, { className: `${finalCardClassName} ${className}`, children: Array.from({ length: rows }, (_, rowIndex) => {
|
|
12008
12008
|
const startIndex = rowIndex * itemsPerRow;
|
|
12009
12009
|
const rowItems = items.slice(startIndex, startIndex + itemsPerRow);
|
|
12010
12010
|
const isLastRow = rowIndex === rows - 1;
|
|
@@ -12034,7 +12034,7 @@ function FeatureCardGrid({
|
|
|
12034
12034
|
item.icon && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between", children: [
|
|
12035
12035
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, item.icon, { size: 80, color: item.iconColor }),
|
|
12036
12036
|
item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12037
|
-
|
|
12037
|
+
_chunkEX5PJGVAcjs.StatusBadge,
|
|
12038
12038
|
{
|
|
12039
12039
|
text: item.badge.text,
|
|
12040
12040
|
variant: item.badge.variant || "card",
|
|
@@ -12043,7 +12043,7 @@ function FeatureCardGrid({
|
|
|
12043
12043
|
)
|
|
12044
12044
|
] }),
|
|
12045
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,
|
|
12046
|
-
|
|
12046
|
+
_chunkEX5PJGVAcjs.StatusBadge,
|
|
12047
12047
|
{
|
|
12048
12048
|
text: item.badge.text,
|
|
12049
12049
|
variant: item.badge.variant || "card",
|
|
@@ -12091,7 +12091,7 @@ function FeatureList({ items, className = "", iconBoxSize = 72 }) {
|
|
|
12091
12091
|
|
|
12092
12092
|
function SourceTooltip({ intro, sources, note, iconClassName, triggerAnchorProps }) {
|
|
12093
12093
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12094
|
-
|
|
12094
|
+
_chunkOFLGZRJWcjs.FloatingTooltip,
|
|
12095
12095
|
{
|
|
12096
12096
|
as: "span",
|
|
12097
12097
|
side: "top",
|
|
@@ -12276,7 +12276,7 @@ function DropdownButton({
|
|
|
12276
12276
|
)
|
|
12277
12277
|
);
|
|
12278
12278
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12279
|
-
|
|
12279
|
+
_chunkOFLGZRJWcjs.ActionsMenuDropdown,
|
|
12280
12280
|
{
|
|
12281
12281
|
groups: _nullishCoalesce(groups, () => ( [{ items: _nullishCoalesce(items, () => ( [])) }])),
|
|
12282
12282
|
open,
|
|
@@ -12514,7 +12514,7 @@ function ServiceCardRowItem({ row }) {
|
|
|
12514
12514
|
),
|
|
12515
12515
|
children: [
|
|
12516
12516
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12517
|
-
|
|
12517
|
+
_chunkOFLGZRJWcjs.FloatingTooltip,
|
|
12518
12518
|
{
|
|
12519
12519
|
content: row.value,
|
|
12520
12520
|
side: "top",
|
|
@@ -12612,7 +12612,7 @@ function PersonCell({
|
|
|
12612
12612
|
const displayName = name || fallbackName;
|
|
12613
12613
|
const scale = PERSON_CELL_SIZE[size];
|
|
12614
12614
|
const row = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `group/person-cell flex min-w-0 items-center ${scale.gap}`, children: [
|
|
12615
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12615
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEX5PJGVAcjs.SquareAvatar, { size: scale.avatar, src: _nullishCoalesce(avatarUrl, () => ( void 0)), alt: displayName, fallback: displayName }),
|
|
12616
12616
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
12617
12617
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12618
12618
|
TruncateText,
|
|
@@ -12652,9 +12652,9 @@ function PeopleCell({ people, fallbackName = "Unassigned" }) {
|
|
|
12652
12652
|
);
|
|
12653
12653
|
}
|
|
12654
12654
|
const fullNames = people.map((p) => p.name || "Unknown").join(", ");
|
|
12655
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12655
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.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: [
|
|
12656
12656
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12657
|
-
|
|
12657
|
+
_chunkEX5PJGVAcjs.AvatarStack,
|
|
12658
12658
|
{
|
|
12659
12659
|
size: "sm",
|
|
12660
12660
|
slots: PEOPLE_CELL_STACK_SLOTS,
|
|
@@ -12662,7 +12662,7 @@ function PeopleCell({ people, fallbackName = "Unassigned" }) {
|
|
|
12662
12662
|
}
|
|
12663
12663
|
) }),
|
|
12664
12664
|
/* @__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: [
|
|
12665
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": true, children: people.map((p) =>
|
|
12665
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": true, children: people.map((p) => _chunkEX5PJGVAcjs.personFirstName.call(void 0, p.name, "Unknown")).join(" & ") }),
|
|
12666
12666
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", children: fullNames })
|
|
12667
12667
|
] })
|
|
12668
12668
|
] }) });
|
|
@@ -12714,9 +12714,9 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
12714
12714
|
return next;
|
|
12715
12715
|
});
|
|
12716
12716
|
};
|
|
12717
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12717
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOFLGZRJWcjs.Tooltip, { open, onOpenChange: setOpen, children: [
|
|
12718
12718
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12719
|
-
|
|
12719
|
+
_chunkOFLGZRJWcjs.TooltipTrigger,
|
|
12720
12720
|
{
|
|
12721
12721
|
asChild: true,
|
|
12722
12722
|
onPointerDown: (e) => {
|
|
@@ -12734,7 +12734,7 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
12734
12734
|
children
|
|
12735
12735
|
}
|
|
12736
12736
|
),
|
|
12737
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12737
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.TooltipContent, { side, className: "max-w-xs", children: content })
|
|
12738
12738
|
] }) });
|
|
12739
12739
|
}
|
|
12740
12740
|
|
|
@@ -13936,7 +13936,7 @@ function TableDescriptionCell({ text, className, maxLines = 3 }) {
|
|
|
13936
13936
|
|
|
13937
13937
|
// src/components/ui/table/table-timestamp-cell.tsx
|
|
13938
13938
|
|
|
13939
|
-
var formatLocalTimestamp = (date) =>
|
|
13939
|
+
var formatLocalTimestamp = (date) => _chunkEX5PJGVAcjs.formatDateWithTimezone.call(void 0, date, _chunkEX5PJGVAcjs.VIEWER_TIMEZONE, "localeDateTime", { viewerLocale: true });
|
|
13940
13940
|
function formatTimestampValue(timestamp) {
|
|
13941
13941
|
if (timestamp instanceof Date) {
|
|
13942
13942
|
return formatLocalTimestamp(timestamp);
|
|
@@ -13990,9 +13990,9 @@ function TruncatedHeaderCell({ value, width }) {
|
|
|
13990
13990
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
13991
13991
|
}
|
|
13992
13992
|
}, []);
|
|
13993
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13994
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13995
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13993
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOFLGZRJWcjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
13994
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.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 }) }) }),
|
|
13995
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.TooltipContent, { side: "bottom", className: "max-w-xs break-words", children: value })
|
|
13996
13996
|
] }) });
|
|
13997
13997
|
}
|
|
13998
13998
|
|
|
@@ -14045,9 +14045,9 @@ function TruncatedCell({ value, className }) {
|
|
|
14045
14045
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
14046
14046
|
}
|
|
14047
14047
|
}, []);
|
|
14048
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14049
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14050
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14048
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOFLGZRJWcjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
14049
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.TooltipTrigger, { asChild: true, onMouseEnter: checkTruncation, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { ref: textRef, className: _chunkX7CEWD6Vcjs.cn.call(void 0, "block truncate", className), children: value }) }),
|
|
14050
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.TooltipContent, { side: "top", className: "max-w-xs break-words", children: value })
|
|
14051
14051
|
] }) });
|
|
14052
14052
|
}
|
|
14053
14053
|
|
|
@@ -15261,7 +15261,7 @@ function SearchInput({
|
|
|
15261
15261
|
/* @__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, {}) }),
|
|
15262
15262
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: middleRef, className: "flex min-w-0 flex-1 items-center gap-2 overflow-hidden", children: [
|
|
15263
15263
|
visibleChips.map((chip) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15264
|
-
|
|
15264
|
+
_chunkOFLGZRJWcjs.Tag,
|
|
15265
15265
|
{
|
|
15266
15266
|
variant: chipVariantToTagVariant(chip.variant),
|
|
15267
15267
|
label: chip.label,
|
|
@@ -15377,7 +15377,7 @@ function SearchInput({
|
|
|
15377
15377
|
}
|
|
15378
15378
|
),
|
|
15379
15379
|
/* @__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,
|
|
15380
|
-
|
|
15380
|
+
_chunkOFLGZRJWcjs.Tag,
|
|
15381
15381
|
{
|
|
15382
15382
|
variant: chipVariantToTagVariant(chip.variant),
|
|
15383
15383
|
label: chip.label,
|
|
@@ -15590,7 +15590,7 @@ function TagSearchInput({
|
|
|
15590
15590
|
/* @__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" }) }),
|
|
15591
15591
|
/* @__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: [
|
|
15592
15592
|
visibleTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15593
|
-
|
|
15593
|
+
_chunkOFLGZRJWcjs.Tag,
|
|
15594
15594
|
{
|
|
15595
15595
|
variant: "outline",
|
|
15596
15596
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -15678,7 +15678,7 @@ function TagSearchInput({
|
|
|
15678
15678
|
"aria-hidden": "true",
|
|
15679
15679
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
15680
15680
|
children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15681
|
-
|
|
15681
|
+
_chunkOFLGZRJWcjs.Tag,
|
|
15682
15682
|
{
|
|
15683
15683
|
variant: "outline",
|
|
15684
15684
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -16609,20 +16609,20 @@ function ColorPresetSelect({
|
|
|
16609
16609
|
...presets.map((p) => ({
|
|
16610
16610
|
id: p.key,
|
|
16611
16611
|
label: p.label,
|
|
16612
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16612
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.ColorSwatch, { color: p.color }),
|
|
16613
16613
|
onClick: () => onChange({ color: p.color, preset: p.key })
|
|
16614
16614
|
})),
|
|
16615
16615
|
{
|
|
16616
16616
|
id: CUSTOM_PRESET_KEY,
|
|
16617
16617
|
label: "Custom",
|
|
16618
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16618
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.ColorSwatch, { color: isCustom ? value : DEFAULT_CUSTOM_STATUS_COLOR }),
|
|
16619
16619
|
onClick: () => onChange({ color: value, preset: void 0 })
|
|
16620
16620
|
}
|
|
16621
16621
|
]
|
|
16622
16622
|
}
|
|
16623
16623
|
];
|
|
16624
16624
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16625
|
-
|
|
16625
|
+
_chunkOFLGZRJWcjs.ActionsMenuDropdown,
|
|
16626
16626
|
{
|
|
16627
16627
|
groups,
|
|
16628
16628
|
align: "start",
|
|
@@ -16632,7 +16632,7 @@ function ColorPresetSelect({
|
|
|
16632
16632
|
{
|
|
16633
16633
|
disabled,
|
|
16634
16634
|
"aria-label": `Color: ${displayLabel}`,
|
|
16635
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16635
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.ColorSwatch, { color: displayColor }),
|
|
16636
16636
|
selectedLabel: displayLabel,
|
|
16637
16637
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
16638
16638
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0, "group", className)
|
|
@@ -16653,7 +16653,7 @@ function HexInputs({ value, onChange }) {
|
|
|
16653
16653
|
}
|
|
16654
16654
|
const commit = () => {
|
|
16655
16655
|
const candidate = (draft.startsWith("#") ? draft : `#${draft}`).toLowerCase();
|
|
16656
|
-
if (
|
|
16656
|
+
if (_chunkOFLGZRJWcjs.HEX_PATTERN.test(candidate)) onChange(candidate);
|
|
16657
16657
|
else setDraft(value);
|
|
16658
16658
|
};
|
|
16659
16659
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16717,12 +16717,12 @@ function ChannelInput({
|
|
|
16717
16717
|
);
|
|
16718
16718
|
}
|
|
16719
16719
|
function RgbInputs({ value, onChange }) {
|
|
16720
|
-
const rgb = _nullishCoalesce(
|
|
16720
|
+
const rgb = _nullishCoalesce(_chunkOFLGZRJWcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
16721
16721
|
const update = (next) => {
|
|
16722
16722
|
const r = _nullishCoalesce(next.r, () => ( rgb.r));
|
|
16723
16723
|
const g = _nullishCoalesce(next.g, () => ( rgb.g));
|
|
16724
16724
|
const b = _nullishCoalesce(next.b, () => ( rgb.b));
|
|
16725
|
-
onChange(
|
|
16725
|
+
onChange(_chunkOFLGZRJWcjs.rgbToHex.call(void 0, r, g, b));
|
|
16726
16726
|
};
|
|
16727
16727
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16728
16728
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: rgb.r, min: 0, max: 255, ariaLabel: "Red", onCommit: (r) => update({ r }) }),
|
|
@@ -16731,14 +16731,14 @@ function RgbInputs({ value, onChange }) {
|
|
|
16731
16731
|
] });
|
|
16732
16732
|
}
|
|
16733
16733
|
function HslInputs({ value, onChange }) {
|
|
16734
|
-
const rgb = _nullishCoalesce(
|
|
16735
|
-
const hsl =
|
|
16734
|
+
const rgb = _nullishCoalesce(_chunkOFLGZRJWcjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
16735
|
+
const hsl = _chunkOFLGZRJWcjs.rgbToHsl.call(void 0, rgb.r, rgb.g, rgb.b);
|
|
16736
16736
|
const update = (next) => {
|
|
16737
16737
|
const h = _nullishCoalesce(next.h, () => ( hsl.h));
|
|
16738
16738
|
const s = _nullishCoalesce(next.s, () => ( hsl.s));
|
|
16739
16739
|
const l = _nullishCoalesce(next.l, () => ( hsl.l));
|
|
16740
|
-
const out =
|
|
16741
|
-
onChange(
|
|
16740
|
+
const out = _chunkOFLGZRJWcjs.hslToRgb.call(void 0, h, s, l);
|
|
16741
|
+
onChange(_chunkOFLGZRJWcjs.rgbToHex.call(void 0, out.r, out.g, out.b));
|
|
16742
16742
|
};
|
|
16743
16743
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16744
16744
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: hsl.h, min: 0, max: 360, ariaLabel: "Hue", onCommit: (h) => update({ h }) }),
|
|
@@ -16764,7 +16764,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
16764
16764
|
{
|
|
16765
16765
|
disabled,
|
|
16766
16766
|
"aria-label": "Pick custom color",
|
|
16767
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16767
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.ColorSwatch, { color: value }),
|
|
16768
16768
|
selectedLabel: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "uppercase", children: value }),
|
|
16769
16769
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
16770
16770
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0, "group", className)
|
|
@@ -16780,7 +16780,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
16780
16780
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactcolorful.HexColorPicker, { color: value, onChange }),
|
|
16781
16781
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
16782
16782
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16783
|
-
|
|
16783
|
+
_chunkOFLGZRJWcjs.ActionsMenuDropdown,
|
|
16784
16784
|
{
|
|
16785
16785
|
groups: formatGroups,
|
|
16786
16786
|
align: "start",
|
|
@@ -16837,7 +16837,7 @@ function TicketStatusConfigRow({
|
|
|
16837
16837
|
const previewVariant = _nullishCoalesce(systemTagVariant, () => ( (isSystem ? void 0 : "primary")));
|
|
16838
16838
|
const fieldRowOffset = "mt-[calc(var(--font-line-space-h4-body)+0.25rem)]";
|
|
16839
16839
|
const chip = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16840
|
-
|
|
16840
|
+
_chunkOFLGZRJWcjs.TicketStatusTag,
|
|
16841
16841
|
{
|
|
16842
16842
|
status: statusKey,
|
|
16843
16843
|
label: name || " ",
|
|
@@ -16989,7 +16989,7 @@ function formatTestRunDuration(ms) {
|
|
|
16989
16989
|
var RESULT_COLUMN_MIN_WIDTH = 176;
|
|
16990
16990
|
var SKELETON_COLUMNS = 6;
|
|
16991
16991
|
function TestResultsSkeleton() {
|
|
16992
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16992
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-max min-w-full flex-col", children: [
|
|
16993
16993
|
/* @__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}`)) }),
|
|
16994
16994
|
/* @__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}`)) }) })
|
|
16995
16995
|
] }) });
|
|
@@ -17024,7 +17024,7 @@ function TestResultsTable({ rows, loading }) {
|
|
|
17024
17024
|
if (loading) {
|
|
17025
17025
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TestResultsSkeleton, {});
|
|
17026
17026
|
}
|
|
17027
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17027
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.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: [
|
|
17028
17028
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Header, { className: "flex flex-col" }),
|
|
17029
17029
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Body, { loading: false })
|
|
17030
17030
|
] }) }) });
|
|
@@ -17086,7 +17086,7 @@ var TEST_RUN_STATUS_TAGS = {
|
|
|
17086
17086
|
function TestRunStatusStat({ status, className }) {
|
|
17087
17087
|
const tag = status === "idle" ? null : TEST_RUN_STATUS_TAGS[status];
|
|
17088
17088
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "flex min-w-0 flex-col items-start justify-center gap-[var(--spacing-system-xxs)]", className), children: [
|
|
17089
|
-
tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17089
|
+
tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.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: "-" }),
|
|
17090
17090
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: "Status" })
|
|
17091
17091
|
] });
|
|
17092
17092
|
}
|
|
@@ -17130,7 +17130,7 @@ function useTestRunState(campaign) {
|
|
|
17130
17130
|
const stopReason = _nullishCoalesce(campaign.stopReason, () => ( "completed"));
|
|
17131
17131
|
const status = isActive ? "running" : hasRun && isFinished ? stopReason === "completed" ? firstError ? "error" : "success" : stopReason : "idle";
|
|
17132
17132
|
const showTiming = hasRun && campaign.startedAt !== null && (campaign.isRunning || isFinished);
|
|
17133
|
-
const startedLabel = showTiming && campaign.startedAt ?
|
|
17133
|
+
const startedLabel = showTiming && campaign.startedAt ? _chunkOFLGZRJWcjs.formatTime.call(void 0, campaign.startedAt) : "00:00 PM";
|
|
17134
17134
|
const durationLabel = showTiming ? formatTestRunDuration(durationMs) : "00:00:00";
|
|
17135
17135
|
const displayRows = _react.useMemo.call(void 0,
|
|
17136
17136
|
() => campaign.results.map(
|
|
@@ -17169,7 +17169,7 @@ function TicketAttachmentsList({ attachments, className, size = "default" }) {
|
|
|
17169
17169
|
),
|
|
17170
17170
|
children: [
|
|
17171
17171
|
attachment.thumbnailSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17172
|
-
|
|
17172
|
+
_chunkEX5PJGVAcjs.SquareAvatar,
|
|
17173
17173
|
{
|
|
17174
17174
|
src: attachment.thumbnailSrc,
|
|
17175
17175
|
alt: attachment.fileName,
|
|
@@ -17262,7 +17262,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
17262
17262
|
};
|
|
17263
17263
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "flex items-start gap-4 rounded-[6px] p-3", "border border-ods-border bg-ods-card", className), children: [
|
|
17264
17264
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17265
|
-
|
|
17265
|
+
_chunkEX5PJGVAcjs.SquareAvatar,
|
|
17266
17266
|
{
|
|
17267
17267
|
src: note.authorAvatar,
|
|
17268
17268
|
alt: note.authorName,
|
|
@@ -17438,7 +17438,7 @@ function TicketInfoSection({
|
|
|
17438
17438
|
/* @__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: [
|
|
17439
17439
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
17440
17440
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17441
|
-
|
|
17441
|
+
_chunkEX5PJGVAcjs.SquareAvatar,
|
|
17442
17442
|
{
|
|
17443
17443
|
src: _optionalChain([organization, 'optionalAccess', _397 => _397.imageSrc]),
|
|
17444
17444
|
alt: _optionalChain([organization, 'optionalAccess', _398 => _398.name]),
|
|
@@ -17468,7 +17468,7 @@ function TicketInfoSection({
|
|
|
17468
17468
|
/* @__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]) }),
|
|
17469
17469
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
17470
17470
|
(status || statusLabel) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17471
|
-
|
|
17471
|
+
_chunkOFLGZRJWcjs.TicketStatusTag,
|
|
17472
17472
|
{
|
|
17473
17473
|
status: _nullishCoalesce(status, () => ( "")),
|
|
17474
17474
|
label: statusLabel,
|
|
@@ -17507,9 +17507,9 @@ function TicketInfoSection({
|
|
|
17507
17507
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
17508
17508
|
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" }) }),
|
|
17509
17509
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
17510
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17510
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.SimpleMarkdownRenderer, { content: description }),
|
|
17511
17511
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
17512
|
-
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,
|
|
17512
|
+
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, _chunkOFLGZRJWcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
17513
17513
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17514
17514
|
TicketNotesSection,
|
|
17515
17515
|
{
|
|
@@ -17532,7 +17532,7 @@ function renderTicketStatusOption(option, isSelected) {
|
|
|
17532
17532
|
const { label, color } = option;
|
|
17533
17533
|
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: [
|
|
17534
17534
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
17535
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17535
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.ColorSwatch, { color }),
|
|
17536
17536
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TruncateText, { className: "text-inherit", children: label }) })
|
|
17537
17537
|
] }),
|
|
17538
17538
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -17542,7 +17542,7 @@ function renderTicketAssigneeOption(option, isSelected) {
|
|
|
17542
17542
|
const { label, imageUrl } = option;
|
|
17543
17543
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center justify-between gap-[var(--spacing-system-xs)]", children: [
|
|
17544
17544
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
17545
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17545
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEX5PJGVAcjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "round" }),
|
|
17546
17546
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TruncateText, { className: "text-inherit", children: label }) })
|
|
17547
17547
|
] }),
|
|
17548
17548
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -17577,9 +17577,9 @@ function TakeOverTicketModal({
|
|
|
17577
17577
|
if (!selectedStatusId || !assigneeId || isPending) return;
|
|
17578
17578
|
onConfirm({ statusId: selectedStatusId, assigneeId });
|
|
17579
17579
|
};
|
|
17580
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17580
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOFLGZRJWcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17581
17581
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17582
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17582
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.ModalTitle, { children: "Take Over Ticket" }) }),
|
|
17583
17583
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
17584
17584
|
"The ticket ",
|
|
17585
17585
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -17594,7 +17594,7 @@ function TakeOverTicketModal({
|
|
|
17594
17594
|
value: selectedStatusId,
|
|
17595
17595
|
onChange: setStatusId,
|
|
17596
17596
|
placeholder: "Select Status",
|
|
17597
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17597
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
17598
17598
|
renderOption: renderTicketStatusOption
|
|
17599
17599
|
}
|
|
17600
17600
|
) }),
|
|
@@ -17608,7 +17608,7 @@ function TakeOverTicketModal({
|
|
|
17608
17608
|
placeholder: "Select Technician",
|
|
17609
17609
|
loading: assigneesLoading,
|
|
17610
17610
|
startAdornment: selectedAssignee ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17611
|
-
|
|
17611
|
+
_chunkEX5PJGVAcjs.SquareAvatar,
|
|
17612
17612
|
{
|
|
17613
17613
|
src: selectedAssignee.imageUrl,
|
|
17614
17614
|
alt: selectedAssignee.label,
|
|
@@ -17621,7 +17621,7 @@ function TakeOverTicketModal({
|
|
|
17621
17621
|
}
|
|
17622
17622
|
) })
|
|
17623
17623
|
] }),
|
|
17624
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17624
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOFLGZRJWcjs.ModalFooter, { children: [
|
|
17625
17625
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
17626
17626
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
17627
17627
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17680,9 +17680,9 @@ function ReopenTicketModal({
|
|
|
17680
17680
|
reason: trimmedReason ? trimmedReason.slice(0, REASON_MAX_LENGTH) : null
|
|
17681
17681
|
});
|
|
17682
17682
|
};
|
|
17683
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17683
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOFLGZRJWcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17684
17684
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17685
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17685
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
17686
17686
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
17687
17687
|
"The ticket ",
|
|
17688
17688
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -17697,7 +17697,7 @@ function ReopenTicketModal({
|
|
|
17697
17697
|
value: selectedStatusId,
|
|
17698
17698
|
onChange: setStatusId,
|
|
17699
17699
|
placeholder: "Select Status",
|
|
17700
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17700
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
17701
17701
|
renderOption: renderTicketStatusOption
|
|
17702
17702
|
}
|
|
17703
17703
|
) }),
|
|
@@ -17711,7 +17711,7 @@ function ReopenTicketModal({
|
|
|
17711
17711
|
placeholder: "Select Technician",
|
|
17712
17712
|
loading: assigneesLoading,
|
|
17713
17713
|
startAdornment: selectedAssignee ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17714
|
-
|
|
17714
|
+
_chunkEX5PJGVAcjs.SquareAvatar,
|
|
17715
17715
|
{
|
|
17716
17716
|
src: selectedAssignee.imageUrl,
|
|
17717
17717
|
alt: selectedAssignee.label,
|
|
@@ -17735,7 +17735,7 @@ function ReopenTicketModal({
|
|
|
17735
17735
|
disabled: isPending
|
|
17736
17736
|
}
|
|
17737
17737
|
) }),
|
|
17738
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17738
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOFLGZRJWcjs.ModalFooter, { children: [
|
|
17739
17739
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
17740
17740
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
17741
17741
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17783,9 +17783,9 @@ function ReopenTicketRequestModal({
|
|
|
17783
17783
|
...showHandoffOption ? { handoffToTechnician: handoff } : {}
|
|
17784
17784
|
});
|
|
17785
17785
|
};
|
|
17786
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17786
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOFLGZRJWcjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17787
17787
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17788
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17788
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
17789
17789
|
/* @__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." }),
|
|
17790
17790
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17791
17791
|
Textarea,
|
|
@@ -17809,7 +17809,7 @@ function ReopenTicketRequestModal({
|
|
|
17809
17809
|
disabled: isPending
|
|
17810
17810
|
}
|
|
17811
17811
|
),
|
|
17812
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17812
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOFLGZRJWcjs.ModalFooter, { children: [
|
|
17813
17813
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1", children: "Cancel" }),
|
|
17814
17814
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { type: "button", variant: "accent", onClick: handleConfirm, loading: isPending, className: "flex-1", children: "Reopen Ticket" })
|
|
17815
17815
|
] })
|
|
@@ -19222,7 +19222,7 @@ function SsoJoinForm({
|
|
|
19222
19222
|
] }),
|
|
19223
19223
|
/* @__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: [
|
|
19224
19224
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19225
|
-
|
|
19225
|
+
_chunkEX5PJGVAcjs.SquareAvatar,
|
|
19226
19226
|
{
|
|
19227
19227
|
size: "lg",
|
|
19228
19228
|
variant: "round",
|
|
@@ -19236,7 +19236,7 @@ function SsoJoinForm({
|
|
|
19236
19236
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", children: displayName }),
|
|
19237
19237
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: organizationName })
|
|
19238
19238
|
] }),
|
|
19239
|
-
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,
|
|
19239
|
+
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, _chunkOFLGZRJWcjs.Tag, { variant: "grey", label: role }, role)) })
|
|
19240
19240
|
] }),
|
|
19241
19241
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19242
19242
|
CheckboxBlock,
|
|
@@ -19480,7 +19480,7 @@ function ChangelogManager({
|
|
|
19480
19480
|
),
|
|
19481
19481
|
/* @__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)" }) }),
|
|
19482
19482
|
tagOptions && tagLabelOf(entry.tag) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19483
|
-
|
|
19483
|
+
_chunkEX5PJGVAcjs.StatusBadge,
|
|
19484
19484
|
{
|
|
19485
19485
|
variant: "button",
|
|
19486
19486
|
singleLine: true,
|
|
@@ -19743,7 +19743,7 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
19743
19743
|
const label = (tag.name || "").toUpperCase();
|
|
19744
19744
|
if (basePath && tag.slug) {
|
|
19745
19745
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: `${basePath}?tags=${tag.slug}`, className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19746
|
-
|
|
19746
|
+
_chunkEX5PJGVAcjs.StatusBadge,
|
|
19747
19747
|
{
|
|
19748
19748
|
text: label,
|
|
19749
19749
|
variant: "card",
|
|
@@ -19751,9 +19751,9 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
19751
19751
|
}
|
|
19752
19752
|
) }, key);
|
|
19753
19753
|
}
|
|
19754
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19754
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEX5PJGVAcjs.StatusBadge, { text: label, variant: "card", className: BADGE_CLASS }, key);
|
|
19755
19755
|
}),
|
|
19756
|
-
overflow2 > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19756
|
+
overflow2 > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEX5PJGVAcjs.StatusBadge, { text: `+${overflow2}`, variant: "card", className: `${BADGE_CLASS} text-ods-text-secondary` })
|
|
19757
19757
|
] });
|
|
19758
19758
|
}
|
|
19759
19759
|
|
|
@@ -19783,11 +19783,13 @@ var ErrorBoundary = class extends _react.Component {
|
|
|
19783
19783
|
|
|
19784
19784
|
// src/components/features/section-selector.tsx
|
|
19785
19785
|
|
|
19786
|
+
|
|
19786
19787
|
var SectionButton = ({
|
|
19787
19788
|
section,
|
|
19788
19789
|
isActive,
|
|
19789
19790
|
disabled,
|
|
19790
19791
|
onClick,
|
|
19792
|
+
isTabStop,
|
|
19791
19793
|
layout,
|
|
19792
19794
|
widthClasses,
|
|
19793
19795
|
buttonClassName,
|
|
@@ -19805,16 +19807,24 @@ var SectionButton = ({
|
|
|
19805
19807
|
onClick,
|
|
19806
19808
|
disabled: isDisabled,
|
|
19807
19809
|
variant: "outline",
|
|
19810
|
+
role: "tab",
|
|
19811
|
+
"aria-selected": isActive,
|
|
19812
|
+
tabIndex: isTabStop ? 0 : -1,
|
|
19808
19813
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0,
|
|
19809
19814
|
"!items-start !justify-start bg-ods-card !text-left shadow-ods-card hover:bg-ods-card-hover",
|
|
19810
19815
|
isActive && "border-ods-accent",
|
|
19811
19816
|
widthClasses,
|
|
19812
19817
|
buttonClassName,
|
|
19813
19818
|
isActive && activeButtonClassName,
|
|
19814
|
-
layout === "vertical" ?
|
|
19819
|
+
layout === "vertical" ? (
|
|
19820
|
+
// Strip below lg: a compact, non-shrinking tab. Side list from lg: the full card.
|
|
19821
|
+
"!h-auto !min-h-12 shrink-0 !px-[var(--spacing-system-mf)] !py-[var(--spacing-system-sf)] lg:!min-h-[var(--section-min-height)] lg:shrink lg:!py-[var(--spacing-system-mf)]"
|
|
19822
|
+
) : "!h-auto !min-h-[76px] !whitespace-normal !text-left"
|
|
19815
19823
|
),
|
|
19816
19824
|
style: {
|
|
19817
|
-
|
|
19825
|
+
// The side list's height is a CSS variable so the strip can ignore it; an
|
|
19826
|
+
// inline `minHeight` would make every strip tab as tall as a side card.
|
|
19827
|
+
...layout === "vertical" ? { "--section-min-height": minHeight } : { minHeight },
|
|
19818
19828
|
touchAction: "manipulation",
|
|
19819
19829
|
WebkitTapHighlightColor: "transparent",
|
|
19820
19830
|
textAlign: "left",
|
|
@@ -19828,9 +19838,9 @@ var SectionButton = ({
|
|
|
19828
19838
|
section.number && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, numberClasses, "shrink-0 text-h3"), children: section.number }),
|
|
19829
19839
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1 text-left", children: [
|
|
19830
19840
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap items-center gap-2", children: [
|
|
19831
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, titleClasses, "whitespace-normal break-words
|
|
19841
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, titleClasses, "whitespace-nowrap text-h4 lg:whitespace-normal lg:break-words"), children: section.title }),
|
|
19832
19842
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19833
|
-
|
|
19843
|
+
_chunkEX5PJGVAcjs.StatusBadge,
|
|
19834
19844
|
{
|
|
19835
19845
|
text: section.badge.text,
|
|
19836
19846
|
variant: section.badge.variant || "button",
|
|
@@ -19838,7 +19848,7 @@ var SectionButton = ({
|
|
|
19838
19848
|
}
|
|
19839
19849
|
)
|
|
19840
19850
|
] }),
|
|
19841
|
-
section.description && showDescription && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, subtitleClasses, "mt-1 whitespace-normal break-words text-h6"), children: section.description })
|
|
19851
|
+
section.description && showDescription && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, subtitleClasses, "mt-1 hidden whitespace-normal break-words text-h6 lg:block"), children: section.description })
|
|
19842
19852
|
] })
|
|
19843
19853
|
] })
|
|
19844
19854
|
) : (
|
|
@@ -19849,7 +19859,7 @@ var SectionButton = ({
|
|
|
19849
19859
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-wrap items-start gap-2", children: [
|
|
19850
19860
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, titleClasses, "text-h3"), style: { textAlign: "left" }, children: section.title }),
|
|
19851
19861
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19852
|
-
|
|
19862
|
+
_chunkEX5PJGVAcjs.StatusBadge,
|
|
19853
19863
|
{
|
|
19854
19864
|
text: section.badge.text,
|
|
19855
19865
|
variant: section.badge.variant || "button",
|
|
@@ -19878,9 +19888,34 @@ var SectionSelector = ({
|
|
|
19878
19888
|
showDescription = true
|
|
19879
19889
|
}) => {
|
|
19880
19890
|
const containerClasses = _chunkX7CEWD6Vcjs.cn.call(void 0,
|
|
19881
|
-
layout === "wrap" ? "flex flex-wrap gap-2 md:gap-4 lg:gap-6" : "flex flex-
|
|
19891
|
+
layout === "wrap" ? "flex flex-wrap gap-2 md:gap-4 lg:gap-6" : "flex flex-row gap-[var(--spacing-system-xsf)] overflow-x-auto [scrollbar-width:none] lg:flex-col lg:overflow-visible [&::-webkit-scrollbar]:hidden",
|
|
19882
19892
|
className
|
|
19883
19893
|
);
|
|
19894
|
+
const listRef = _react.useRef.call(void 0, null);
|
|
19895
|
+
_react.useEffect.call(void 0, () => {
|
|
19896
|
+
const list = listRef.current;
|
|
19897
|
+
const active = _optionalChain([list, 'optionalAccess', _439 => _439.querySelector, 'call', _440 => _440('[role="tab"][aria-selected="true"]')]);
|
|
19898
|
+
if (!list || !active || list.scrollWidth <= list.clientWidth) return;
|
|
19899
|
+
const offset = active.getBoundingClientRect().left - list.getBoundingClientRect().left;
|
|
19900
|
+
list.scrollLeft += offset - (list.clientWidth - active.clientWidth) / 2;
|
|
19901
|
+
}, [activeSection]);
|
|
19902
|
+
const enabled = sections.filter((section) => !section.disabled && !disabled);
|
|
19903
|
+
const tabStopId = enabled.some((section) => section.id === activeSection) ? activeSection : _optionalChain([enabled, 'access', _441 => _441[0], 'optionalAccess', _442 => _442.id]);
|
|
19904
|
+
const onKeyDown = (event) => {
|
|
19905
|
+
const step = event.key === "ArrowRight" || event.key === "ArrowDown" ? 1 : event.key === "ArrowLeft" || event.key === "ArrowUp" ? -1 : 0;
|
|
19906
|
+
if (!step && event.key !== "Home" && event.key !== "End") return;
|
|
19907
|
+
if (enabled.length === 0) return;
|
|
19908
|
+
event.preventDefault();
|
|
19909
|
+
const at = Math.max(
|
|
19910
|
+
0,
|
|
19911
|
+
enabled.findIndex((section) => section.id === activeSection)
|
|
19912
|
+
);
|
|
19913
|
+
const next = event.key === "Home" ? enabled[0] : event.key === "End" ? enabled[enabled.length - 1] : enabled[(at + step + enabled.length) % enabled.length];
|
|
19914
|
+
onSectionChange(next.id);
|
|
19915
|
+
requestAnimationFrame(
|
|
19916
|
+
() => _optionalChain([listRef, 'access', _443 => _443.current, 'optionalAccess', _444 => _444.querySelector, 'call', _445 => _445('[role="tab"][aria-selected="true"]'), 'optionalAccess', _446 => _446.focus, 'call', _447 => _447()])
|
|
19917
|
+
);
|
|
19918
|
+
};
|
|
19884
19919
|
const getButtonWidthClasses = () => {
|
|
19885
19920
|
switch (buttonWidth) {
|
|
19886
19921
|
case "full":
|
|
@@ -19892,7 +19927,7 @@ var SectionSelector = ({
|
|
|
19892
19927
|
}
|
|
19893
19928
|
};
|
|
19894
19929
|
const widthClasses = getButtonWidthClasses();
|
|
19895
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: containerClasses, children: sections.map((section) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19930
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: listRef, role: "tablist", onKeyDown, className: containerClasses, children: sections.map((section) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19896
19931
|
SectionButton,
|
|
19897
19932
|
{
|
|
19898
19933
|
section,
|
|
@@ -19904,7 +19939,8 @@ var SectionSelector = ({
|
|
|
19904
19939
|
buttonClassName,
|
|
19905
19940
|
activeButtonClassName,
|
|
19906
19941
|
minHeight,
|
|
19907
|
-
showDescription
|
|
19942
|
+
showDescription,
|
|
19943
|
+
isTabStop: section.id === tabStopId
|
|
19908
19944
|
},
|
|
19909
19945
|
section.id
|
|
19910
19946
|
)) });
|
|
@@ -19920,10 +19956,10 @@ var getContentDimensions = (config) => {
|
|
|
19920
19956
|
const envMobileHeight = process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT) : null;
|
|
19921
19957
|
const envDesktopWidth = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH) : null;
|
|
19922
19958
|
const envDesktopHeight = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT) : null;
|
|
19923
|
-
const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess',
|
|
19924
|
-
const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess',
|
|
19925
|
-
const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess',
|
|
19926
|
-
const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess',
|
|
19959
|
+
const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess', _448 => _448.mobileContentDimensions, 'optionalAccess', _449 => _449.width]))), () => ( defaultMobile.width));
|
|
19960
|
+
const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess', _450 => _450.mobileContentDimensions, 'optionalAccess', _451 => _451.height]))), () => ( defaultMobile.height));
|
|
19961
|
+
const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess', _452 => _452.desktopContentDimensions, 'optionalAccess', _453 => _453.width]))), () => ( defaultDesktop.width));
|
|
19962
|
+
const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess', _454 => _454.desktopContentDimensions, 'optionalAccess', _455 => _455.height]))), () => ( defaultDesktop.height));
|
|
19927
19963
|
return {
|
|
19928
19964
|
mobile: { width: mobileWidth, height: mobileHeight },
|
|
19929
19965
|
desktop: { width: desktopWidth, height: desktopHeight }
|
|
@@ -20079,7 +20115,7 @@ function UnifiedUI({ state, handlers, config, iframeRef }) {
|
|
|
20079
20115
|
const contentDimensions = getContentDimensions(config);
|
|
20080
20116
|
const mobileHeight = contentDimensions.mobile.height;
|
|
20081
20117
|
const calculatedHeight = Math.max(mobileHeight + 100, 400);
|
|
20082
|
-
return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess',
|
|
20118
|
+
return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess', _456 => _456.innerHeight]) * 0.85 || 650)}px`;
|
|
20083
20119
|
})(),
|
|
20084
20120
|
minHeight: viewMode === "DESKTOP" ? "auto" : (() => {
|
|
20085
20121
|
const contentDimensions = getContentDimensions(config);
|
|
@@ -20137,7 +20173,7 @@ function UnifiedUI({ state, handlers, config, iframeRef }) {
|
|
|
20137
20173
|
sandbox: "allow-scripts allow-same-origin allow-popups allow-presentation",
|
|
20138
20174
|
title: config.title,
|
|
20139
20175
|
loading: "eager",
|
|
20140
|
-
...
|
|
20176
|
+
..._chunkOFLGZRJWcjs.fetchPriorityProp.call(void 0, "high")
|
|
20141
20177
|
},
|
|
20142
20178
|
iframeKey
|
|
20143
20179
|
),
|
|
@@ -20182,7 +20218,7 @@ var FigmaPrototypeViewer = ({
|
|
|
20182
20218
|
const [isInitialized, setIsInitialized] = _react.useState.call(void 0, false);
|
|
20183
20219
|
const [currentNodeId, setCurrentNodeId] = _react.useState.call(void 0, null);
|
|
20184
20220
|
const [internalActiveSection, setInternalActiveSection] = _react.useState.call(void 0,
|
|
20185
|
-
config.defaultSectionId || _optionalChain([config, 'access',
|
|
20221
|
+
config.defaultSectionId || _optionalChain([config, 'access', _457 => _457.sections, 'access', _458 => _458[0], 'optionalAccess', _459 => _459.id]) || ""
|
|
20186
20222
|
);
|
|
20187
20223
|
const activeSection = externalActiveSection || internalActiveSection;
|
|
20188
20224
|
const [isNavigating, setIsNavigating] = _react.useState.call(void 0, false);
|
|
@@ -20280,19 +20316,19 @@ var FigmaPrototypeViewer = ({
|
|
|
20280
20316
|
setIframeState("READY");
|
|
20281
20317
|
break;
|
|
20282
20318
|
case "PRESENTED_NODE_CHANGED":
|
|
20283
|
-
if (_optionalChain([figmaEvent, 'access',
|
|
20319
|
+
if (_optionalChain([figmaEvent, 'access', _460 => _460.data, 'optionalAccess', _461 => _461.presentedNodeId])) {
|
|
20284
20320
|
setCurrentNodeId(figmaEvent.data.presentedNodeId);
|
|
20285
20321
|
if (!isNavigating) {
|
|
20286
20322
|
const matchingSection = configSections.find((s) => {
|
|
20287
|
-
const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access',
|
|
20288
|
-
const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access',
|
|
20323
|
+
const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access', _462 => _462.data, 'optionalAccess', _463 => _463.presentedNodeId]) || s.startingNodeId.replace(":", "-") === _optionalChain([figmaEvent, 'access', _464 => _464.data, 'optionalAccess', _465 => _465.presentedNodeId]);
|
|
20324
|
+
const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access', _466 => _466.data, 'optionalAccess', _467 => _467.presentedNodeId]) || _optionalChain([s, 'access', _468 => _468.mobileStartingNodeId, 'optionalAccess', _469 => _469.replace, 'call', _470 => _470(":", "-")]) === _optionalChain([figmaEvent, 'access', _471 => _471.data, 'optionalAccess', _472 => _472.presentedNodeId]);
|
|
20289
20325
|
return desktopMatch || mobileMatch;
|
|
20290
20326
|
});
|
|
20291
20327
|
if (matchingSection && matchingSection.id !== activeSection) {
|
|
20292
20328
|
if (!externalActiveSection) {
|
|
20293
20329
|
setInternalActiveSection(matchingSection.id);
|
|
20294
20330
|
}
|
|
20295
|
-
_optionalChain([onSectionChange, 'optionalCall',
|
|
20331
|
+
_optionalChain([onSectionChange, 'optionalCall', _473 => _473(matchingSection.id)]);
|
|
20296
20332
|
}
|
|
20297
20333
|
}
|
|
20298
20334
|
}
|
|
@@ -20306,7 +20342,7 @@ var FigmaPrototypeViewer = ({
|
|
|
20306
20342
|
const navigateToSection = _react.useCallback.call(void 0,
|
|
20307
20343
|
(sectionId) => {
|
|
20308
20344
|
const section = config.sections.find((s) => s.id === sectionId);
|
|
20309
|
-
if (!section || !_optionalChain([iframeRef, 'access',
|
|
20345
|
+
if (!section || !_optionalChain([iframeRef, 'access', _474 => _474.current, 'optionalAccess', _475 => _475.contentWindow]) || !isInitialized) {
|
|
20310
20346
|
return;
|
|
20311
20347
|
}
|
|
20312
20348
|
setIsNavigating(true);
|
|
@@ -20314,7 +20350,7 @@ var FigmaPrototypeViewer = ({
|
|
|
20314
20350
|
if (!externalActiveSection) {
|
|
20315
20351
|
setInternalActiveSection(sectionId);
|
|
20316
20352
|
}
|
|
20317
|
-
_optionalChain([config, 'access',
|
|
20353
|
+
_optionalChain([config, 'access', _476 => _476.onSectionChange, 'optionalCall', _477 => _477(sectionId)]);
|
|
20318
20354
|
const command = {
|
|
20319
20355
|
type: "NAVIGATE_TO_FRAME_AND_CLOSE_OVERLAYS",
|
|
20320
20356
|
data: { nodeId }
|
|
@@ -20651,7 +20687,7 @@ var FiltersDropdown = ({
|
|
|
20651
20687
|
defaults[section.id] = section.defaultSelected || [];
|
|
20652
20688
|
});
|
|
20653
20689
|
setSelectedFilters(defaults);
|
|
20654
|
-
_optionalChain([onReset, 'optionalCall',
|
|
20690
|
+
_optionalChain([onReset, 'optionalCall', _478 => _478()]);
|
|
20655
20691
|
setIsOpen(false);
|
|
20656
20692
|
};
|
|
20657
20693
|
const handleApply = () => {
|
|
@@ -20900,7 +20936,7 @@ function MediaGalleryManager({
|
|
|
20900
20936
|
const [draggedIndex, setDraggedIndex] = _react.useState.call(void 0, null);
|
|
20901
20937
|
const handleFileSelect = _react.useCallback.call(void 0,
|
|
20902
20938
|
async (event) => {
|
|
20903
|
-
const file = _optionalChain([event, 'access',
|
|
20939
|
+
const file = _optionalChain([event, 'access', _479 => _479.target, 'access', _480 => _480.files, 'optionalAccess', _481 => _481[0]]);
|
|
20904
20940
|
if (!file) return;
|
|
20905
20941
|
let mediaType;
|
|
20906
20942
|
if (file.type.startsWith("image/")) {
|
|
@@ -20963,7 +20999,7 @@ function MediaGalleryManager({
|
|
|
20963
20999
|
(mediaItem, index) => {
|
|
20964
21000
|
const isDeleting = deletingIndex === index;
|
|
20965
21001
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
20966
|
-
|
|
21002
|
+
_chunkEX5PJGVAcjs.Card,
|
|
20967
21003
|
{
|
|
20968
21004
|
className: "group relative border-ods-border transition-colors hover:border-ods-accent/30",
|
|
20969
21005
|
draggable: true,
|
|
@@ -20984,10 +21020,10 @@ function MediaGalleryManager({
|
|
|
20984
21020
|
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" })
|
|
20985
21021
|
}
|
|
20986
21022
|
) }),
|
|
20987
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children:
|
|
21023
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children: _chunkEX5PJGVAcjs.isVideoMedia.call(void 0, mediaItem) || mediaItem.media_type === "demo" ? (
|
|
20988
21024
|
// <Video> SSOT (MuxPlayer) — plays Mux HLS + MP4 alike;
|
|
20989
21025
|
// fit="cover" crops to the aspect-video cell.
|
|
20990
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21026
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.Video, { kind: "file", url: mediaItem.media_url, fit: "cover", className: "h-full w-full" })
|
|
20991
21027
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20992
21028
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
20993
21029
|
{
|
|
@@ -21000,7 +21036,7 @@ function MediaGalleryManager({
|
|
|
21000
21036
|
) }),
|
|
21001
21037
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "p-3", children: [
|
|
21002
21038
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-1 flex items-center gap-2", children: [
|
|
21003
|
-
|
|
21039
|
+
_chunkEX5PJGVAcjs.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" }),
|
|
21004
21040
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "capitalize text-ods-text-primary text-h6", children: mediaItem.media_type })
|
|
21005
21041
|
] }),
|
|
21006
21042
|
mediaItem.title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: mediaItem.title })
|
|
@@ -21025,7 +21061,7 @@ function MediaGalleryManager({
|
|
|
21025
21061
|
{
|
|
21026
21062
|
type: "button",
|
|
21027
21063
|
variant: "outline",
|
|
21028
|
-
onClick: () => _optionalChain([fileInputRef, 'access',
|
|
21064
|
+
onClick: () => _optionalChain([fileInputRef, 'access', _482 => _482.current, 'optionalAccess', _483 => _483.click, 'call', _484 => _484()]),
|
|
21029
21065
|
disabled: isUploading,
|
|
21030
21066
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
|
|
21031
21067
|
className: "font-bold text-h6",
|
|
@@ -23150,9 +23186,9 @@ function PushButtonSelector({
|
|
|
23150
23186
|
}) {
|
|
23151
23187
|
const scrollRef = _react.useRef.call(void 0, null);
|
|
23152
23188
|
const sentinelRef = _react.useRef.call(void 0, null);
|
|
23153
|
-
const lazyHasMore = _nullishCoalesce(_optionalChain([lazyLoad, 'optionalAccess',
|
|
23154
|
-
const lazyFetching = _nullishCoalesce(_optionalChain([lazyLoad, 'optionalAccess',
|
|
23155
|
-
const onLoadMore = _optionalChain([lazyLoad, 'optionalAccess',
|
|
23189
|
+
const lazyHasMore = _nullishCoalesce(_optionalChain([lazyLoad, 'optionalAccess', _485 => _485.hasMore]), () => ( false));
|
|
23190
|
+
const lazyFetching = _nullishCoalesce(_optionalChain([lazyLoad, 'optionalAccess', _486 => _486.isFetchingMore]), () => ( false));
|
|
23191
|
+
const onLoadMore = _optionalChain([lazyLoad, 'optionalAccess', _487 => _487.onLoadMore]);
|
|
23156
23192
|
const optionCount = options.length;
|
|
23157
23193
|
_react.useEffect.call(void 0, () => {
|
|
23158
23194
|
const sentinel = sentinelRef.current;
|
|
@@ -23238,9 +23274,9 @@ function PushButtonSelector({
|
|
|
23238
23274
|
option.id
|
|
23239
23275
|
);
|
|
23240
23276
|
if (option.disabled && option.disabledReason) {
|
|
23241
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23242
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23243
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23277
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOFLGZRJWcjs.Tooltip, { children: [
|
|
23278
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.TooltipTrigger, { asChild: true, children: optionEl }),
|
|
23279
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.TooltipContent, { className: "max-w-xs", children: option.disabledReason })
|
|
23244
23280
|
] }, option.id);
|
|
23245
23281
|
}
|
|
23246
23282
|
return optionEl;
|
|
@@ -23285,7 +23321,7 @@ function PushButtonSelector({
|
|
|
23285
23321
|
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
|
|
23286
23322
|
] }) : null
|
|
23287
23323
|
] });
|
|
23288
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23324
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `space-y-4 ${className}`, children: [
|
|
23289
23325
|
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-ods-text-primary text-h5", children: title }),
|
|
23290
23326
|
searchInput,
|
|
23291
23327
|
lazyLoad ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -23323,7 +23359,7 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
|
|
|
23323
23359
|
const fileInputRef = _react.useRef.call(void 0, null);
|
|
23324
23360
|
const [uploadingIndex, setUploadingIndex] = _react.useState.call(void 0, null);
|
|
23325
23361
|
const handleFileSelect = async (event) => {
|
|
23326
|
-
const file = _optionalChain([event, 'access',
|
|
23362
|
+
const file = _optionalChain([event, 'access', _488 => _488.target, 'access', _489 => _489.files, 'optionalAccess', _490 => _490[0]]);
|
|
23327
23363
|
if (!file) return;
|
|
23328
23364
|
let mediaType;
|
|
23329
23365
|
if (file.type.startsWith("image/")) {
|
|
@@ -23405,7 +23441,7 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
|
|
|
23405
23441
|
{
|
|
23406
23442
|
type: "button",
|
|
23407
23443
|
variant: "outline",
|
|
23408
|
-
onClick: () => _optionalChain([fileInputRef, 'access',
|
|
23444
|
+
onClick: () => _optionalChain([fileInputRef, 'access', _491 => _491.current, 'optionalAccess', _492 => _492.click, 'call', _493 => _493()]),
|
|
23409
23445
|
disabled: uploadingIndex !== null,
|
|
23410
23446
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
|
|
23411
23447
|
className: "font-bold text-h6",
|
|
@@ -23455,10 +23491,10 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
|
|
|
23455
23491
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-on-dark" })
|
|
23456
23492
|
}
|
|
23457
23493
|
) }),
|
|
23458
|
-
item.media_url && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video bg-ods-bg", children:
|
|
23494
|
+
item.media_url && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video bg-ods-bg", children: _chunkEX5PJGVAcjs.isVideoMedia.call(void 0, item) || item.media_type === "demo" ? (
|
|
23459
23495
|
// <Video> SSOT (MuxPlayer) — plays Mux HLS + MP4 alike;
|
|
23460
23496
|
// fit="cover" crops to the aspect-video cell.
|
|
23461
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23497
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.Video, { kind: "file", url: item.media_url, fit: "cover", className: "h-full w-full" })
|
|
23462
23498
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23463
23499
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
23464
23500
|
{
|
|
@@ -23591,7 +23627,7 @@ var SelectButton = _react2.default.forwardRef(
|
|
|
23591
23627
|
}
|
|
23592
23628
|
)
|
|
23593
23629
|
] }),
|
|
23594
|
-
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23630
|
+
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.Tag, { variant: tagVariant, className: "shrink-0", label: tag }),
|
|
23595
23631
|
selected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckCircleIcon, { className: "size-4 shrink-0 text-ods-accent md:size-6" })
|
|
23596
23632
|
]
|
|
23597
23633
|
}
|
|
@@ -23686,7 +23722,7 @@ function SEOEditorPreview({
|
|
|
23686
23722
|
const displayImage = hasOgImage || hasFeaturedImage;
|
|
23687
23723
|
const handleImageUpload = async (event) => {
|
|
23688
23724
|
if (!onOgImageUpload) return;
|
|
23689
|
-
const file = _optionalChain([event, 'access',
|
|
23725
|
+
const file = _optionalChain([event, 'access', _494 => _494.target, 'access', _495 => _495.files, 'optionalAccess', _496 => _496[0]]);
|
|
23690
23726
|
if (!file) return;
|
|
23691
23727
|
setIsUploading(true);
|
|
23692
23728
|
try {
|
|
@@ -23843,7 +23879,7 @@ function SEOEditorPreview({
|
|
|
23843
23879
|
type: "button",
|
|
23844
23880
|
variant: "outline",
|
|
23845
23881
|
size: "icon",
|
|
23846
|
-
onClick: () => _optionalChain([fileInputRef, 'optionalAccess',
|
|
23882
|
+
onClick: () => _optionalChain([fileInputRef, 'optionalAccess', _497 => _497.click, 'call', _498 => _498()]),
|
|
23847
23883
|
disabled: disabled || isUploading,
|
|
23848
23884
|
className: "rounded-full bg-white text-black opacity-0 hover:bg-gray-100 group-hover:opacity-100",
|
|
23849
23885
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-4 w-4" })
|
|
@@ -23869,7 +23905,7 @@ function SEOEditorPreview({
|
|
|
23869
23905
|
SEO_MEDIA_BOX_HEIGHT,
|
|
23870
23906
|
"flex cursor-pointer flex-col items-center justify-center rounded-lg border-2 border-dashed border-ods-border bg-ods-bg-hover transition-colors hover:border-ods-accent"
|
|
23871
23907
|
),
|
|
23872
|
-
onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess',
|
|
23908
|
+
onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess', _499 => _499.click, 'call', _500 => _500()]),
|
|
23873
23909
|
children: isUploading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-8 w-8 animate-spin text-ods-accent" }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
23874
23910
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "mb-2 h-8 w-8 text-ods-text-secondary" }),
|
|
23875
23911
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h6", children: onOgImageUpload ? "Click to upload OG image" : "No image" })
|
|
@@ -24030,7 +24066,7 @@ function SocialLinksManager({
|
|
|
24030
24066
|
className = ""
|
|
24031
24067
|
}) {
|
|
24032
24068
|
const addLink = () => {
|
|
24033
|
-
const firstPlatform = _optionalChain([platforms, 'access',
|
|
24069
|
+
const firstPlatform = _optionalChain([platforms, 'access', _501 => _501[0], 'optionalAccess', _502 => _502.name]) || "website";
|
|
24034
24070
|
onChange([...links, { platform: firstPlatform, url: "" }]);
|
|
24035
24071
|
};
|
|
24036
24072
|
const removeLink = (index) => {
|
|
@@ -24042,7 +24078,7 @@ function SocialLinksManager({
|
|
|
24042
24078
|
onChange(updated);
|
|
24043
24079
|
};
|
|
24044
24080
|
const getIcon = (link, platform) => {
|
|
24045
|
-
const iconKey = _optionalChain([platform, 'optionalAccess',
|
|
24081
|
+
const iconKey = _optionalChain([platform, 'optionalAccess', _503 => _503.icon_name]) || link.platform;
|
|
24046
24082
|
const key = normalizeSocialPlatform(iconKey);
|
|
24047
24083
|
if (!key) return null;
|
|
24048
24084
|
const IconComponent = SOCIAL_ICON_COMPONENTS[key];
|
|
@@ -24066,7 +24102,7 @@ function SocialLinksManager({
|
|
|
24066
24102
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24067
24103
|
_chunkYWUZL3RTcjs.Input,
|
|
24068
24104
|
{
|
|
24069
|
-
placeholder: _optionalChain([platform, 'optionalAccess',
|
|
24105
|
+
placeholder: _optionalChain([platform, 'optionalAccess', _504 => _504.placeholder]) || "Profile URL",
|
|
24070
24106
|
value: link.url,
|
|
24071
24107
|
onChange: (e) => updateLink(index, "url", e.target.value),
|
|
24072
24108
|
onKeyDown: (e) => {
|
|
@@ -24179,7 +24215,7 @@ var StartWithOpenFrameButton = _react.forwardRef.call(void 0,
|
|
|
24179
24215
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0, modeClassName, className),
|
|
24180
24216
|
style: customStyle,
|
|
24181
24217
|
leftIcon: !loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63QUMV72cjs.OpenFrameLogo, { className: "h-5 w-5", lowerPathColor: iconLowerPath, upperPathColor: iconUpperPath }) : void 0,
|
|
24182
|
-
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24218
|
+
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEX5PJGVAcjs.StatusBadge, { text: "Beta", variant: "button", colorScheme: "yellow" }),
|
|
24183
24219
|
children
|
|
24184
24220
|
}
|
|
24185
24221
|
);
|
|
@@ -24449,11 +24485,11 @@ function WarningBlock({ title, icon = DEFAULT_ICON, children, className }) {
|
|
|
24449
24485
|
|
|
24450
24486
|
function VideoBitesDisplay({
|
|
24451
24487
|
bites,
|
|
24452
|
-
title =
|
|
24488
|
+
title = _chunkEX5PJGVAcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
24453
24489
|
filterPublished = true,
|
|
24454
24490
|
showTitle = true
|
|
24455
24491
|
}) {
|
|
24456
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24492
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
24457
24493
|
}
|
|
24458
24494
|
|
|
24459
24495
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -24462,8 +24498,8 @@ function VideoBitesDisplay({
|
|
|
24462
24498
|
|
|
24463
24499
|
var isAtEnd = (duration, time) => duration > 0 && duration - time < 1;
|
|
24464
24500
|
function theaterSeedFromLive(live, fallbackTime, fallbackMuted) {
|
|
24465
|
-
const time = _nullishCoalesce(_optionalChain([live, 'optionalAccess',
|
|
24466
|
-
const atEnd = isAtEnd(_nullishCoalesce(_optionalChain([live, 'optionalAccess',
|
|
24501
|
+
const time = _nullishCoalesce(_optionalChain([live, 'optionalAccess', _505 => _505.getCurrentTime, 'call', _506 => _506()]), () => ( 0));
|
|
24502
|
+
const atEnd = isAtEnd(_nullishCoalesce(_optionalChain([live, 'optionalAccess', _507 => _507.getDuration, 'call', _508 => _508()]), () => ( 0)), time);
|
|
24467
24503
|
return {
|
|
24468
24504
|
// At end -> start over, never rewind to an unrelated older anchor.
|
|
24469
24505
|
time: atEnd ? 0 : time > 0.5 ? time : fallbackTime,
|
|
@@ -24495,11 +24531,11 @@ function WalkthroughVideo({
|
|
|
24495
24531
|
const inline = placement === "inline";
|
|
24496
24532
|
const dismissEnabled = dismissal !== false;
|
|
24497
24533
|
const storageKey = dismissEnabled && dismissal.storageKey || WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
24498
|
-
const dismissalId = _optionalChain([video, 'optionalAccess',
|
|
24534
|
+
const dismissalId = _optionalChain([video, 'optionalAccess', _509 => _509.id]) != null ? String(video.id) : "dismissed";
|
|
24499
24535
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
24500
24536
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
24501
24537
|
const hasVideo = video != null;
|
|
24502
|
-
const videoId = _optionalChain([video, 'optionalAccess',
|
|
24538
|
+
const videoId = _optionalChain([video, 'optionalAccess', _510 => _510.id]);
|
|
24503
24539
|
_react.useEffect.call(void 0, () => {
|
|
24504
24540
|
let idleHandle = null;
|
|
24505
24541
|
if (!hasVideo) return void 0;
|
|
@@ -24522,13 +24558,13 @@ function WalkthroughVideo({
|
|
|
24522
24558
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
24523
24559
|
};
|
|
24524
24560
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId]);
|
|
24525
|
-
const hydrated =
|
|
24561
|
+
const hydrated = _chunkOFLGZRJWcjs.useIsHydrated.call(void 0, );
|
|
24526
24562
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
24527
24563
|
if (!hydrated) return false;
|
|
24528
24564
|
try {
|
|
24529
|
-
const reducedMotion = _nullishCoalesce(_optionalChain([window, 'access',
|
|
24565
|
+
const reducedMotion = _nullishCoalesce(_optionalChain([window, 'access', _511 => _511.matchMedia, 'optionalCall', _512 => _512("(prefers-reduced-motion: reduce)"), 'access', _513 => _513.matches]), () => ( false));
|
|
24530
24566
|
const conn = navigator.connection;
|
|
24531
|
-
const saveData = _optionalChain([conn, 'optionalAccess',
|
|
24567
|
+
const saveData = _optionalChain([conn, 'optionalAccess', _514 => _514.saveData]) === true || _optionalChain([conn, 'optionalAccess', _515 => _515.effectiveType]) === "2g" || _optionalChain([conn, 'optionalAccess', _516 => _516.effectiveType]) === "slow-2g";
|
|
24532
24568
|
return Boolean(reducedMotion || saveData);
|
|
24533
24569
|
} catch (e28) {
|
|
24534
24570
|
return false;
|
|
@@ -24561,18 +24597,18 @@ function WalkthroughVideo({
|
|
|
24561
24597
|
const [cardMuted, setCardMuted] = _react.useState.call(void 0, false);
|
|
24562
24598
|
const [cardPaused, setCardPaused] = _react.useState.call(void 0, false);
|
|
24563
24599
|
const [userMuted, setUserMuted] = _react.useState.call(void 0, false);
|
|
24564
|
-
const isYouTube = Boolean(_optionalChain([video, 'optionalAccess',
|
|
24600
|
+
const isYouTube = Boolean(_optionalChain([video, 'optionalAccess', _517 => _517.youtubeUrl]));
|
|
24565
24601
|
const resumeMode = !open && handoff !== null && !isYouTube;
|
|
24566
24602
|
const previewAllowed = !previewSuppressed && !isYouTube;
|
|
24567
24603
|
const footerFadeKey = `${mounted ? 1 : 0}|${inline ? 1 : 0}|${hideNearSelector}|${pathname}`;
|
|
24568
|
-
const footerHidden = _optionalChain([footerObservation, 'optionalAccess',
|
|
24604
|
+
const footerHidden = _optionalChain([footerObservation, 'optionalAccess', _518 => _518.key]) === footerFadeKey && footerObservation.hidden;
|
|
24569
24605
|
_react.useEffect.call(void 0, () => {
|
|
24570
24606
|
if (!mounted) return void 0;
|
|
24571
24607
|
if (inline) return void 0;
|
|
24572
24608
|
const el = typeof document !== "undefined" ? document.querySelector(hideNearSelector) : null;
|
|
24573
24609
|
if (!el || typeof IntersectionObserver === "undefined") return void 0;
|
|
24574
24610
|
const io = new IntersectionObserver(
|
|
24575
|
-
(entries) => setFooterObservation({ key: footerFadeKey, hidden: _nullishCoalesce(_optionalChain([entries, 'access',
|
|
24611
|
+
(entries) => setFooterObservation({ key: footerFadeKey, hidden: _nullishCoalesce(_optionalChain([entries, 'access', _519 => _519[0], 'optionalAccess', _520 => _520.isIntersecting]), () => ( false)) }),
|
|
24576
24612
|
{ rootMargin: "0px 0px -40px 0px" }
|
|
24577
24613
|
);
|
|
24578
24614
|
io.observe(el);
|
|
@@ -24598,7 +24634,7 @@ function WalkthroughVideo({
|
|
|
24598
24634
|
if (!footerHidden) return;
|
|
24599
24635
|
const h = _nullishCoalesce(resumeHandleRef.current, () => ( previewHandleRef.current));
|
|
24600
24636
|
try {
|
|
24601
|
-
_optionalChain([h, 'optionalAccess',
|
|
24637
|
+
_optionalChain([h, 'optionalAccess', _521 => _521.pause, 'call', _522 => _522()]);
|
|
24602
24638
|
} catch (e30) {
|
|
24603
24639
|
}
|
|
24604
24640
|
}, [footerHidden, resumeMode, hovered]);
|
|
@@ -24617,30 +24653,30 @@ function WalkthroughVideo({
|
|
|
24617
24653
|
}, 400);
|
|
24618
24654
|
}
|
|
24619
24655
|
if (openProp === void 0) setOpenState(next);
|
|
24620
|
-
_optionalChain([onOpenChange, 'optionalCall',
|
|
24656
|
+
_optionalChain([onOpenChange, 'optionalCall', _523 => _523(next)]);
|
|
24621
24657
|
},
|
|
24622
24658
|
[openProp, onOpenChange]
|
|
24623
24659
|
);
|
|
24624
24660
|
const pausePreviewNow = _react.useCallback.call(void 0, () => {
|
|
24625
24661
|
const h = _nullishCoalesce(resumeHandleRef.current, () => ( previewHandleRef.current));
|
|
24626
24662
|
try {
|
|
24627
|
-
_optionalChain([h, 'optionalAccess',
|
|
24663
|
+
_optionalChain([h, 'optionalAccess', _524 => _524.pause, 'call', _525 => _525()]);
|
|
24628
24664
|
} catch (e31) {
|
|
24629
24665
|
}
|
|
24630
24666
|
setCardPaused(true);
|
|
24631
24667
|
}, [setCardPaused]);
|
|
24632
24668
|
const openTheater = _react.useCallback.call(void 0, () => {
|
|
24633
24669
|
const handleBeforePause = _nullishCoalesce(resumeHandleRef.current, () => ( previewHandleRef.current));
|
|
24634
|
-
const liveWasPlaying = _optionalChain([handleBeforePause, 'optionalAccess',
|
|
24670
|
+
const liveWasPlaying = _optionalChain([handleBeforePause, 'optionalAccess', _526 => _526.getPaused, 'call', _527 => _527()]) === false;
|
|
24635
24671
|
pausePreviewNow();
|
|
24636
24672
|
const liveHandle = _nullishCoalesce(resumeHandleRef.current, () => ( (cardModeRef.current === "preview" ? previewHandleRef.current : null)));
|
|
24637
|
-
const liveTime = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess',
|
|
24638
|
-
const liveDuration = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess',
|
|
24673
|
+
const liveTime = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess', _528 => _528.getCurrentTime, 'call', _529 => _529()]), () => ( 0));
|
|
24674
|
+
const liveDuration = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess', _530 => _530.getDuration, 'call', _531 => _531()]), () => ( 0));
|
|
24639
24675
|
const liveAtEnd = isAtEnd(liveDuration, liveTime);
|
|
24640
24676
|
const start = {
|
|
24641
24677
|
// At end -> start over. Falling back to `handoff.time` here would rewind
|
|
24642
24678
|
// to an unrelated older anchor (e.g. 3:20) instead of restarting.
|
|
24643
|
-
time: liveAtEnd ? 0 : liveTime > 0.5 ? liveTime : _nullishCoalesce(_optionalChain([handoff, 'optionalAccess',
|
|
24679
|
+
time: liveAtEnd ? 0 : liveTime > 0.5 ? liveTime : _nullishCoalesce(_optionalChain([handoff, 'optionalAccess', _532 => _532.time]), () => ( 0)),
|
|
24644
24680
|
// Live element wins over remembered intent (the theater's own chrome may
|
|
24645
24681
|
// have changed it) — EXCEPT when the element is muted only because
|
|
24646
24682
|
// autoplay policy forced it, which is not intent.
|
|
@@ -24668,7 +24704,7 @@ function WalkthroughVideo({
|
|
|
24668
24704
|
const selfDriven = selfDrivenFor === open;
|
|
24669
24705
|
if (openProp !== void 0 && !selfDriven) {
|
|
24670
24706
|
if (open) {
|
|
24671
|
-
setTheaterStart(theaterSeedFromLive(resumeHandleRef.current, _nullishCoalesce(_optionalChain([handoff, 'optionalAccess',
|
|
24707
|
+
setTheaterStart(theaterSeedFromLive(resumeHandleRef.current, _nullishCoalesce(_optionalChain([handoff, 'optionalAccess', _533 => _533.time]), () => ( 0)), userMuted));
|
|
24672
24708
|
setHovered(false);
|
|
24673
24709
|
setSuspended(false);
|
|
24674
24710
|
setHandoff(null);
|
|
@@ -24754,8 +24790,8 @@ function WalkthroughVideo({
|
|
|
24754
24790
|
});
|
|
24755
24791
|
_react.useEffect.call(void 0, () => {
|
|
24756
24792
|
if (resumeMode) {
|
|
24757
|
-
setCardMuted(_nullishCoalesce(_optionalChain([handoffRef, 'access',
|
|
24758
|
-
setCardPaused(_optionalChain([handoffRef, 'access',
|
|
24793
|
+
setCardMuted(_nullishCoalesce(_optionalChain([handoffRef, 'access', _534 => _534.current, 'optionalAccess', _535 => _535.muted]), () => ( false)));
|
|
24794
|
+
setCardPaused(_optionalChain([handoffRef, 'access', _536 => _536.current, 'optionalAccess', _537 => _537.playing]) === false);
|
|
24759
24795
|
}
|
|
24760
24796
|
}, [resumeMode]);
|
|
24761
24797
|
const [hoverSeeded, setHoverSeeded] = _react.useState.call(void 0, hovered);
|
|
@@ -24837,11 +24873,11 @@ function WalkthroughVideo({
|
|
|
24837
24873
|
},
|
|
24838
24874
|
[cardFallback.blocked, cardPaused, activeHandle, setCardPaused]
|
|
24839
24875
|
);
|
|
24840
|
-
const summaryTitle = _optionalChain([video, 'optionalAccess',
|
|
24841
|
-
const presenterAvatarSrc = _nullishCoalesce(_optionalChain([video, 'optionalAccess',
|
|
24876
|
+
const summaryTitle = _optionalChain([video, 'optionalAccess', _538 => _538.title]) || void 0;
|
|
24877
|
+
const presenterAvatarSrc = _nullishCoalesce(_optionalChain([video, 'optionalAccess', _539 => _539.presenterAvatarUrl]), () => ( null));
|
|
24842
24878
|
const embedUrlKey = _react.useMemo.call(void 0,
|
|
24843
|
-
() => `${_nullishCoalesce(_optionalChain([video, 'optionalAccess',
|
|
24844
|
-
[_optionalChain([video, 'optionalAccess',
|
|
24879
|
+
() => `${_nullishCoalesce(_optionalChain([video, 'optionalAccess', _540 => _540.mainVideoUrl]), () => ( ""))}|${_nullishCoalesce(_optionalChain([video, 'optionalAccess', _541 => _541.youtubeUrl]), () => ( ""))}`,
|
|
24880
|
+
[_optionalChain([video, 'optionalAccess', _542 => _542.mainVideoUrl]), _optionalChain([video, 'optionalAccess', _543 => _543.youtubeUrl])]
|
|
24845
24881
|
);
|
|
24846
24882
|
const cardActive = !open && previewAllowed && hovered && !resumeMode;
|
|
24847
24883
|
const cardMode = resumeMode ? "resume" : cardActive ? "preview" : "poster";
|
|
@@ -24900,7 +24936,7 @@ function WalkthroughVideo({
|
|
|
24900
24936
|
const el = e.target;
|
|
24901
24937
|
let keyboard = false;
|
|
24902
24938
|
try {
|
|
24903
|
-
keyboard = _nullishCoalesce(_optionalChain([el, 'access',
|
|
24939
|
+
keyboard = _nullishCoalesce(_optionalChain([el, 'access', _544 => _544.matches, 'optionalCall', _545 => _545(":focus-visible")]), () => ( false));
|
|
24904
24940
|
} catch (e36) {
|
|
24905
24941
|
keyboard = false;
|
|
24906
24942
|
}
|
|
@@ -24919,7 +24955,7 @@ function WalkthroughVideo({
|
|
|
24919
24955
|
},
|
|
24920
24956
|
children: [
|
|
24921
24957
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none absolute inset-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24922
|
-
|
|
24958
|
+
_chunkOFLGZRJWcjs.VideoHoverPreviewSurface,
|
|
24923
24959
|
{
|
|
24924
24960
|
url: video.mainVideoUrl || "",
|
|
24925
24961
|
posterUrl: video.posterUrl,
|
|
@@ -24934,15 +24970,15 @@ function WalkthroughVideo({
|
|
|
24934
24970
|
previewHandleRef: cardMode === "resume" ? resumeHandleRef : previewHandleRef,
|
|
24935
24971
|
mutedIntent: userMuted,
|
|
24936
24972
|
continuation: cardMode === "resume",
|
|
24937
|
-
autoPlay: cardMode === "resume" && _optionalChain([handoff, 'optionalAccess',
|
|
24938
|
-
startTime: _optionalChain([resumeHandoff, 'optionalAccess',
|
|
24939
|
-
startMuted: _nullishCoalesce(_optionalChain([resumeHandoff, 'optionalAccess',
|
|
24973
|
+
autoPlay: cardMode === "resume" && _optionalChain([handoff, 'optionalAccess', _546 => _546.playing]) !== false && !footerHidden,
|
|
24974
|
+
startTime: _optionalChain([resumeHandoff, 'optionalAccess', _547 => _547.time]),
|
|
24975
|
+
startMuted: _nullishCoalesce(_optionalChain([resumeHandoff, 'optionalAccess', _548 => _548.muted]), () => ( false)),
|
|
24940
24976
|
onEnded: cardMode === "resume" ? () => setHandoff(null) : () => setCardPaused(true)
|
|
24941
24977
|
},
|
|
24942
24978
|
`card-${embedUrlKey}`
|
|
24943
24979
|
) }),
|
|
24944
24980
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24945
|
-
|
|
24981
|
+
_chunkOFLGZRJWcjs.CardHitLayer,
|
|
24946
24982
|
{
|
|
24947
24983
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
24948
24984
|
onPointerDown: pausePreviewNow,
|
|
@@ -24951,7 +24987,7 @@ function WalkthroughVideo({
|
|
|
24951
24987
|
}
|
|
24952
24988
|
),
|
|
24953
24989
|
/* @__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: [
|
|
24954
|
-
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24990
|
+
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEX5PJGVAcjs.SquareAvatar, { src: presenterAvatarSrc, alt: "", sizePx: 20, variant: "round", className: "shrink-0 border-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.VideoPlayBadge, { size: "sm", className: "h-5 w-5 shrink-0" }),
|
|
24955
24991
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: summaryTitle || label })
|
|
24956
24992
|
] }),
|
|
24957
24993
|
showBigUnmute && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -24964,7 +25000,7 @@ function WalkthroughVideo({
|
|
|
24964
25000
|
onPointerDown: (e) => e.stopPropagation(),
|
|
24965
25001
|
onClick: onUnmuteOrPlay,
|
|
24966
25002
|
className: "absolute inset-0 z-30 m-auto hidden sm:inline-flex",
|
|
24967
|
-
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25003
|
+
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.VideoPlayBadge, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.VideoUnmuteGlyph, {})
|
|
24968
25004
|
}
|
|
24969
25005
|
),
|
|
24970
25006
|
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: [
|
|
@@ -25033,7 +25069,7 @@ function WalkthroughVideo({
|
|
|
25033
25069
|
{
|
|
25034
25070
|
onOpenAutoFocus: (e) => {
|
|
25035
25071
|
e.preventDefault();
|
|
25036
|
-
_optionalChain([closeButtonRef, 'access',
|
|
25072
|
+
_optionalChain([closeButtonRef, 'access', _549 => _549.current, 'optionalAccess', _550 => _550.focus, 'call', _551 => _551()]);
|
|
25037
25073
|
},
|
|
25038
25074
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0,
|
|
25039
25075
|
// PURE theater: just the video, centered on a dimmed backdrop.
|
|
@@ -25057,7 +25093,7 @@ function WalkthroughVideo({
|
|
|
25057
25093
|
children: [
|
|
25058
25094
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive2.Title, { className: "sr-only", children: summaryTitle || "Walkthrough video" }),
|
|
25059
25095
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25060
|
-
|
|
25096
|
+
_chunkOFLGZRJWcjs.Video,
|
|
25061
25097
|
{
|
|
25062
25098
|
kind: video.youtubeUrl ? "youtube" : "file",
|
|
25063
25099
|
url: video.youtubeUrl || video.mainVideoUrl,
|
|
@@ -25108,7 +25144,7 @@ function InlineWalkthroughVideo(props) {
|
|
|
25108
25144
|
var _reactquery = require('@tanstack/react-query');
|
|
25109
25145
|
function useWalkthroughVideo(opts) {
|
|
25110
25146
|
const { endpoint, initialData, enabled = true, transformCaptionsUrl } = opts;
|
|
25111
|
-
const captions =
|
|
25147
|
+
const captions = _chunkOFLGZRJWcjs.useCaptions.call(void 0, );
|
|
25112
25148
|
const query = _reactquery.useQuery.call(void 0, {
|
|
25113
25149
|
queryKey: ["walkthrough-video", endpoint],
|
|
25114
25150
|
enabled,
|
|
@@ -25127,14 +25163,14 @@ function useWalkthroughVideo(opts) {
|
|
|
25127
25163
|
if (res.status === 404) return null;
|
|
25128
25164
|
if (!res.ok) throw new Error(`Walkthrough video request failed (${res.status})`);
|
|
25129
25165
|
const body = await res.json();
|
|
25130
|
-
return _nullishCoalesce(_optionalChain([body, 'optionalAccess',
|
|
25166
|
+
return _nullishCoalesce(_optionalChain([body, 'optionalAccess', _552 => _552.walkthroughVideo]), () => ( null));
|
|
25131
25167
|
},
|
|
25132
25168
|
// Per-observer transform — NEVER mutate the cached data. `select` also runs
|
|
25133
25169
|
// over `initialData`, so the SSR seed is rewritten too. Keeping the proxy
|
|
25134
25170
|
// rewrite here (not in queryFn) means a second consumer of the same
|
|
25135
25171
|
// endpoint can't inherit this observer's proxied captionsUrl from the cache.
|
|
25136
25172
|
select: (video) => {
|
|
25137
|
-
if (!_optionalChain([video, 'optionalAccess',
|
|
25173
|
+
if (!_optionalChain([video, 'optionalAccess', _553 => _553.captionsUrl])) return video;
|
|
25138
25174
|
if (transformCaptionsUrl && video.captionsUrl.startsWith("/")) {
|
|
25139
25175
|
return { ...video, captionsUrl: transformCaptionsUrl(video.captionsUrl) };
|
|
25140
25176
|
}
|
|
@@ -25181,7 +25217,7 @@ function VideoSourceSelector({
|
|
|
25181
25217
|
input.accept = "video/*";
|
|
25182
25218
|
input.onchange = async (e) => {
|
|
25183
25219
|
const target = e.target;
|
|
25184
|
-
const file = _optionalChain([target, 'access',
|
|
25220
|
+
const file = _optionalChain([target, 'access', _554 => _554.files, 'optionalAccess', _555 => _555[0]]);
|
|
25185
25221
|
if (!file) return;
|
|
25186
25222
|
setIsUploading(true);
|
|
25187
25223
|
setUploadProgress(0);
|
|
@@ -25306,7 +25342,7 @@ function VideoSourceSelector({
|
|
|
25306
25342
|
}
|
|
25307
25343
|
function DefaultVideoPreview({ videoUrl, onDelete, disabled }) {
|
|
25308
25344
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border", children: [
|
|
25309
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25345
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.Video, { kind: "file", url: videoUrl }) }),
|
|
25310
25346
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25311
25347
|
"button",
|
|
25312
25348
|
{
|
|
@@ -25357,7 +25393,7 @@ function SubtitlesEditor({
|
|
|
25357
25393
|
{
|
|
25358
25394
|
id,
|
|
25359
25395
|
value: subtitles || "",
|
|
25360
|
-
onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall',
|
|
25396
|
+
onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall', _556 => _556(e.target.value)]),
|
|
25361
25397
|
placeholder,
|
|
25362
25398
|
disabled: disabled || !onSubtitlesChange,
|
|
25363
25399
|
className: "h-full w-full resize-none border-0 bg-transparent p-4 text-ods-text-primary text-code placeholder:text-ods-text-secondary/50 focus:outline-none focus:ring-0",
|
|
@@ -25586,7 +25622,7 @@ var AIEnrichSection = ({
|
|
|
25586
25622
|
}) => {
|
|
25587
25623
|
const hasResults = status === "success" || status === "error";
|
|
25588
25624
|
const shouldDisable = disabled || !canEnrich;
|
|
25589
|
-
const unfilledFields = _optionalChain([requiredFields, 'optionalAccess',
|
|
25625
|
+
const unfilledFields = _optionalChain([requiredFields, 'optionalAccess', _557 => _557.filter, 'call', _558 => _558((f) => !f.isFilled)]) || [];
|
|
25590
25626
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25591
25627
|
"div",
|
|
25592
25628
|
{
|
|
@@ -25618,7 +25654,7 @@ var AIEnrichSection = ({
|
|
|
25618
25654
|
{
|
|
25619
25655
|
id: "ai-enrich-custom-instructions",
|
|
25620
25656
|
value: _nullishCoalesce(customInstructions, () => ( "")),
|
|
25621
|
-
onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall',
|
|
25657
|
+
onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall', _559 => _559(e.target.value)]),
|
|
25622
25658
|
placeholder: customInstructionsPlaceholder,
|
|
25623
25659
|
disabled: loading,
|
|
25624
25660
|
maxLength: customInstructionsMaxLength,
|
|
@@ -25740,7 +25776,7 @@ function HighlightVideoSection({
|
|
|
25740
25776
|
input.accept = "video/*";
|
|
25741
25777
|
input.onchange = async (e) => {
|
|
25742
25778
|
const target = e.target;
|
|
25743
|
-
const file = _optionalChain([target, 'access',
|
|
25779
|
+
const file = _optionalChain([target, 'access', _560 => _560.files, 'optionalAccess', _561 => _561[0]]);
|
|
25744
25780
|
if (!file) return;
|
|
25745
25781
|
setUploadError(null);
|
|
25746
25782
|
try {
|
|
@@ -25830,7 +25866,7 @@ function HighlightVideoSection({
|
|
|
25830
25866
|
// Default simple preview — the <Video> SSOT (MuxPlayer) plays
|
|
25831
25867
|
// MP4 and Mux HLS alike; aspect-video box reserves the height.
|
|
25832
25868
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border bg-black", children: [
|
|
25833
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25869
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.Video, { kind: "file", url: highlightVideoUrl, poster: highlightVideoThumbnail || void 0 }) }),
|
|
25834
25870
|
onDeleteHighlight && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25835
25871
|
"button",
|
|
25836
25872
|
{
|
|
@@ -26167,7 +26203,7 @@ function HighlightVideoPreview({
|
|
|
26167
26203
|
input.accept = "video/*";
|
|
26168
26204
|
input.onchange = async (e) => {
|
|
26169
26205
|
const target = e.target;
|
|
26170
|
-
const file = _optionalChain([target, 'access',
|
|
26206
|
+
const file = _optionalChain([target, 'access', _562 => _562.files, 'optionalAccess', _563 => _563[0]]);
|
|
26171
26207
|
if (!file) return;
|
|
26172
26208
|
await onUpload(file);
|
|
26173
26209
|
};
|
|
@@ -26351,7 +26387,7 @@ function HighlightVideoCombinedSection({
|
|
|
26351
26387
|
input.accept = "video/*";
|
|
26352
26388
|
input.onchange = async (e) => {
|
|
26353
26389
|
const target = e.target;
|
|
26354
|
-
const file = _optionalChain([target, 'access',
|
|
26390
|
+
const file = _optionalChain([target, 'access', _564 => _564.files, 'optionalAccess', _565 => _565[0]]);
|
|
26355
26391
|
if (!file) return;
|
|
26356
26392
|
await onUpload(file);
|
|
26357
26393
|
};
|
|
@@ -26566,7 +26602,7 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
26566
26602
|
] });
|
|
26567
26603
|
};
|
|
26568
26604
|
var CategorySection = ({ category, editMode, isExpanded, bulkLevel, onToggle, onBulkLevelChange, onPolicyPermissionChange }) => {
|
|
26569
|
-
const { innerRef, containerStyle } =
|
|
26605
|
+
const { innerRef, containerStyle } = _chunkOFLGZRJWcjs.useCollapsible.call(void 0, { expanded: isExpanded, durationMs: 300 });
|
|
26570
26606
|
const handleBulkChange = (level) => onBulkLevelChange(category.id, level);
|
|
26571
26607
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
26572
26608
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -26734,7 +26770,7 @@ function WaitlistForm({
|
|
|
26734
26770
|
const { toast } = _chunkEKAWIHWWcjs.useToast.call(void 0, );
|
|
26735
26771
|
const { honeypotInputProps, getSignals, resetSignals } = _chunkEKAWIHWWcjs.useHumanitySignals.call(void 0, );
|
|
26736
26772
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26737
|
-
const isClient =
|
|
26773
|
+
const isClient = _chunkOFLGZRJWcjs.useIsHydrated.call(void 0, );
|
|
26738
26774
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26739
26775
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26740
26776
|
const isMailDomainGeneric = hasGenericEmailDomain(email);
|
|
@@ -27030,19 +27066,19 @@ function NotificationsProvider({
|
|
|
27030
27066
|
}, []);
|
|
27031
27067
|
const markRead = _react.useCallback.call(void 0, (id) => {
|
|
27032
27068
|
dispatch({ type: "markRead", id });
|
|
27033
|
-
void _optionalChain([actionsRef, 'access',
|
|
27069
|
+
void _optionalChain([actionsRef, 'access', _566 => _566.current, 'optionalAccess', _567 => _567.onMarkRead, 'optionalCall', _568 => _568(id)]);
|
|
27034
27070
|
}, []);
|
|
27035
27071
|
const markAllRead = _react.useCallback.call(void 0, () => {
|
|
27036
27072
|
dispatch({ type: "markAllRead" });
|
|
27037
|
-
void _optionalChain([actionsRef, 'access',
|
|
27073
|
+
void _optionalChain([actionsRef, 'access', _569 => _569.current, 'optionalAccess', _570 => _570.onMarkAllRead, 'optionalCall', _571 => _571()]);
|
|
27038
27074
|
}, []);
|
|
27039
27075
|
const markSettled = _react.useCallback.call(void 0, (id) => {
|
|
27040
27076
|
dispatch({ type: "markSettled", id });
|
|
27041
|
-
void _optionalChain([actionsRef, 'access',
|
|
27077
|
+
void _optionalChain([actionsRef, 'access', _572 => _572.current, 'optionalAccess', _573 => _573.onMarkSettled, 'optionalCall', _574 => _574(id)]);
|
|
27042
27078
|
}, []);
|
|
27043
27079
|
const remove = _react.useCallback.call(void 0, (id) => {
|
|
27044
27080
|
dispatch({ type: "remove", id });
|
|
27045
|
-
void _optionalChain([actionsRef, 'access',
|
|
27081
|
+
void _optionalChain([actionsRef, 'access', _575 => _575.current, 'optionalAccess', _576 => _576.onRemove, 'optionalCall', _577 => _577(id)]);
|
|
27046
27082
|
}, []);
|
|
27047
27083
|
const clear = _react.useCallback.call(void 0, () => dispatch({ type: "clear" }), []);
|
|
27048
27084
|
const open = _react.useCallback.call(void 0, () => setIsOpen(true), []);
|
|
@@ -27051,14 +27087,14 @@ function NotificationsProvider({
|
|
|
27051
27087
|
const setShowPopups = _react.useCallback.call(void 0,
|
|
27052
27088
|
(value2) => {
|
|
27053
27089
|
setShowPopupsState(value2);
|
|
27054
|
-
_optionalChain([onShowPopupsChange, 'optionalCall',
|
|
27090
|
+
_optionalChain([onShowPopupsChange, 'optionalCall', _578 => _578(value2)]);
|
|
27055
27091
|
},
|
|
27056
27092
|
[onShowPopupsChange]
|
|
27057
27093
|
);
|
|
27058
27094
|
const setShowDesktopPopups = _react.useCallback.call(void 0,
|
|
27059
27095
|
(value2) => {
|
|
27060
27096
|
setShowDesktopPopupsState(value2);
|
|
27061
|
-
_optionalChain([onShowDesktopPopupsChange, 'optionalCall',
|
|
27097
|
+
_optionalChain([onShowDesktopPopupsChange, 'optionalCall', _579 => _579(value2)]);
|
|
27062
27098
|
},
|
|
27063
27099
|
[onShowDesktopPopupsChange]
|
|
27064
27100
|
);
|
|
@@ -27174,7 +27210,7 @@ var AppLayoutDrawerRoot = ({
|
|
|
27174
27210
|
const handleOpenChange = _react.useCallback.call(void 0,
|
|
27175
27211
|
(next) => {
|
|
27176
27212
|
if (!isControlled) setInternalOpen(next);
|
|
27177
|
-
_optionalChain([onOpenChange, 'optionalCall',
|
|
27213
|
+
_optionalChain([onOpenChange, 'optionalCall', _580 => _580(next)]);
|
|
27178
27214
|
},
|
|
27179
27215
|
[isControlled, onOpenChange]
|
|
27180
27216
|
);
|
|
@@ -27191,9 +27227,9 @@ var AppLayoutDrawerRoot = ({
|
|
|
27191
27227
|
}
|
|
27192
27228
|
}));
|
|
27193
27229
|
_react.useEffect.call(void 0, () => {
|
|
27194
|
-
if (open) _optionalChain([coordination, 'optionalAccess',
|
|
27230
|
+
if (open) _optionalChain([coordination, 'optionalAccess', _581 => _581.notifyDrawerDidOpen, 'call', _582 => _582(selfHandle)]);
|
|
27195
27231
|
}, [open, coordination, selfHandle]);
|
|
27196
|
-
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess',
|
|
27232
|
+
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess', _583 => _583.registerDrawer, 'call', _584 => _584(selfHandle)]), [coordination, selfHandle]);
|
|
27197
27233
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DrawerOpenContext.Provider, { value: open, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive3.Root, { ...rest, open, onOpenChange: handleOpenChange, modal, children }) });
|
|
27198
27234
|
};
|
|
27199
27235
|
AppLayoutDrawerRoot.displayName = "AppLayoutDrawer";
|
|
@@ -27514,7 +27550,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27514
27550
|
"data-state": open ? "open" : "closed",
|
|
27515
27551
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0,
|
|
27516
27552
|
"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",
|
|
27517
|
-
|
|
27553
|
+
_chunkOFLGZRJWcjs.OVERLAY_BACKDROP_CLASS,
|
|
27518
27554
|
// Persist mode only: hold the fade-out's final (transparent) frame
|
|
27519
27555
|
// so the backdrop doesn't snap back to opacity 1 and dim the whole
|
|
27520
27556
|
// content area while the drawer is "closed" (see PERSIST_CLOSED_HOLD).
|
|
@@ -27542,10 +27578,10 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27542
27578
|
),
|
|
27543
27579
|
style,
|
|
27544
27580
|
onInteractOutside: (event) => {
|
|
27545
|
-
_optionalChain([onInteractOutside, 'optionalCall',
|
|
27581
|
+
_optionalChain([onInteractOutside, 'optionalCall', _585 => _585(event)]);
|
|
27546
27582
|
if (event.defaultPrevented) return;
|
|
27547
27583
|
const target = event.target;
|
|
27548
|
-
const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess',
|
|
27584
|
+
const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess', _586 => _586.contains, 'call', _587 => _587(target)]);
|
|
27549
27585
|
if (!isInsideContainer) {
|
|
27550
27586
|
event.preventDefault();
|
|
27551
27587
|
return;
|
|
@@ -27590,11 +27626,11 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27590
27626
|
}
|
|
27591
27627
|
);
|
|
27592
27628
|
AppLayoutDrawerContent.displayName = "AppLayoutDrawerContent";
|
|
27593
|
-
var AppLayoutDrawerHeader =
|
|
27594
|
-
var AppLayoutDrawerTitle =
|
|
27595
|
-
var AppLayoutDrawerDescription =
|
|
27596
|
-
var AppLayoutDrawerBody =
|
|
27597
|
-
var AppLayoutDrawerFooter =
|
|
27629
|
+
var AppLayoutDrawerHeader = _chunkOFLGZRJWcjs.DrawerHeader;
|
|
27630
|
+
var AppLayoutDrawerTitle = _chunkOFLGZRJWcjs.DrawerTitle;
|
|
27631
|
+
var AppLayoutDrawerDescription = _chunkOFLGZRJWcjs.DrawerDescription;
|
|
27632
|
+
var AppLayoutDrawerBody = _chunkOFLGZRJWcjs.DrawerBody;
|
|
27633
|
+
var AppLayoutDrawerFooter = _chunkOFLGZRJWcjs.DrawerFooter;
|
|
27598
27634
|
|
|
27599
27635
|
// src/components/features/notifications/notification-tile.tsx
|
|
27600
27636
|
|
|
@@ -27649,7 +27685,7 @@ function NotificationTile({
|
|
|
27649
27685
|
if (!counting) return void 0;
|
|
27650
27686
|
const remaining = Math.max(0, liveDurationMs - initialElapsed);
|
|
27651
27687
|
const timer = window.setTimeout(() => {
|
|
27652
|
-
_optionalChain([onSettle, 'optionalCall',
|
|
27688
|
+
_optionalChain([onSettle, 'optionalCall', _588 => _588(id)]);
|
|
27653
27689
|
}, remaining);
|
|
27654
27690
|
return () => window.clearTimeout(timer);
|
|
27655
27691
|
}, [id, counting, initialElapsed, liveDurationMs, onSettle]);
|
|
@@ -27683,13 +27719,13 @@ function NotificationTile({
|
|
|
27683
27719
|
}
|
|
27684
27720
|
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "size-1.5 rounded-full", _chunkEKAWIHWWcjs.dotColorByVariant[accentVariant]) }))) }),
|
|
27685
27721
|
type ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunkX7CEWD6Vcjs.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" }),
|
|
27686
|
-
!isLive && createdAtIso ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "time", { dateTime: createdAtIso, className: "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", children:
|
|
27722
|
+
!isLive && createdAtIso ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "time", { dateTime: createdAtIso, className: "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", children: _chunkOFLGZRJWcjs.formatTicketRelativeTime.call(void 0, createdAtIso) }) : null,
|
|
27687
27723
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "relative size-4 shrink-0", children: [
|
|
27688
27724
|
{
|
|
27689
27725
|
active: isLive,
|
|
27690
27726
|
label: "Dismiss notification",
|
|
27691
27727
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.XmarkIcon, { size: 16 }),
|
|
27692
|
-
onClick: () => _optionalChain([onSettle, 'optionalCall',
|
|
27728
|
+
onClick: () => _optionalChain([onSettle, 'optionalCall', _589 => _589(id)])
|
|
27693
27729
|
},
|
|
27694
27730
|
{
|
|
27695
27731
|
active: !isLive,
|
|
@@ -27790,7 +27826,7 @@ function NotificationDrawer({
|
|
|
27790
27826
|
const unreadNotifications = notifications.filter((n) => !n.read);
|
|
27791
27827
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
27792
27828
|
/* @__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,
|
|
27793
|
-
|
|
27829
|
+
_chunkOFLGZRJWcjs.DrawerTitle,
|
|
27794
27830
|
{
|
|
27795
27831
|
hideClose: true,
|
|
27796
27832
|
className: "truncate",
|
|
@@ -27849,8 +27885,8 @@ function NotificationDrawer({
|
|
|
27849
27885
|
}
|
|
27850
27886
|
) });
|
|
27851
27887
|
}
|
|
27852
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27853
|
-
|
|
27888
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.Drawer, { open: isOpen, onOpenChange: (v) => v ? open() : close(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27889
|
+
_chunkOFLGZRJWcjs.DrawerContent,
|
|
27854
27890
|
{
|
|
27855
27891
|
side: "right",
|
|
27856
27892
|
"aria-describedby": void 0,
|
|
@@ -27887,7 +27923,7 @@ function DrawerScrollList({
|
|
|
27887
27923
|
if (!sentinel || !root) return void 0;
|
|
27888
27924
|
const observer = new IntersectionObserver(
|
|
27889
27925
|
(entries) => {
|
|
27890
|
-
if (_optionalChain([entries, 'access',
|
|
27926
|
+
if (_optionalChain([entries, 'access', _590 => _590[0], 'optionalAccess', _591 => _591.isIntersecting])) _optionalChain([loadMoreRef, 'access', _592 => _592.current, 'optionalCall', _593 => _593()]);
|
|
27891
27927
|
},
|
|
27892
27928
|
{ root, rootMargin: loadMoreRootMargin }
|
|
27893
27929
|
);
|
|
@@ -27902,7 +27938,7 @@ function DrawerScrollList({
|
|
|
27902
27938
|
className: "flex flex-1 flex-col gap-[var(--spacing-system-xs)] overflow-y-auto px-[var(--spacing-system-m)]",
|
|
27903
27939
|
children: isEmpty && !isLoadingMore ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmptyState, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
27904
27940
|
unreadNotifications.map((n) => {
|
|
27905
|
-
const custom = _optionalChain([renderTile, 'optionalCall',
|
|
27941
|
+
const custom = _optionalChain([renderTile, 'optionalCall', _594 => _594(n, { onComplete, onSettle, liveDurationMs })]);
|
|
27906
27942
|
if (custom) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: custom }, n.id);
|
|
27907
27943
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27908
27944
|
NotificationTile,
|
|
@@ -28022,7 +28058,7 @@ function NotificationPopups({
|
|
|
28022
28058
|
}) {
|
|
28023
28059
|
const ctx = useOptionalNotifications();
|
|
28024
28060
|
const [now, setNow] = _react.useState.call(void 0, () => Date.now());
|
|
28025
|
-
const hasAgeingNotifications = Boolean(_optionalChain([ctx, 'optionalAccess',
|
|
28061
|
+
const hasAgeingNotifications = Boolean(_optionalChain([ctx, 'optionalAccess', _595 => _595.notifications, 'access', _596 => _596.some, 'call', _597 => _597((n) => !n.read && !n.settled)]));
|
|
28026
28062
|
_react.useEffect.call(void 0, () => {
|
|
28027
28063
|
if (!hasAgeingNotifications) return void 0;
|
|
28028
28064
|
const id = setInterval(() => setNow(Date.now()), 500);
|
|
@@ -28065,7 +28101,7 @@ function NotificationPopups({
|
|
|
28065
28101
|
className
|
|
28066
28102
|
),
|
|
28067
28103
|
children: live.map((n) => {
|
|
28068
|
-
const custom = _optionalChain([renderTile, 'optionalCall',
|
|
28104
|
+
const custom = _optionalChain([renderTile, 'optionalCall', _598 => _598(n, { onComplete: markRead, onSettle: markSettled, liveDurationMs })]);
|
|
28069
28105
|
if (custom) {
|
|
28070
28106
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-auto", children: custom }, n.id);
|
|
28071
28107
|
}
|
|
@@ -28112,34 +28148,34 @@ function isApprovalNotificationType(type) {
|
|
|
28112
28148
|
return typeof type === "string" && APPROVAL_REQUEST_TYPES.has(type);
|
|
28113
28149
|
}
|
|
28114
28150
|
function isApprovalNotification(notification) {
|
|
28115
|
-
return isApprovalNotificationType(_optionalChain([notification, 'access',
|
|
28151
|
+
return isApprovalNotificationType(_optionalChain([notification, 'access', _599 => _599.meta, 'optionalAccess', _600 => _600.notificationType]));
|
|
28116
28152
|
}
|
|
28117
28153
|
function getApprovalMeta(notification) {
|
|
28118
28154
|
if (!isApprovalNotification(notification)) return null;
|
|
28119
28155
|
const meta = notification.meta;
|
|
28120
|
-
const approvalRequestId = _optionalChain([meta, 'optionalAccess',
|
|
28121
|
-
const toolCalls = _optionalChain([meta, 'optionalAccess',
|
|
28156
|
+
const approvalRequestId = _optionalChain([meta, 'optionalAccess', _601 => _601.approvalRequestId]);
|
|
28157
|
+
const toolCalls = _optionalChain([meta, 'optionalAccess', _602 => _602.toolCalls]);
|
|
28122
28158
|
if (typeof approvalRequestId !== "string" || !Array.isArray(toolCalls)) return null;
|
|
28123
28159
|
return {
|
|
28124
28160
|
approvalRequestId,
|
|
28125
|
-
dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
28126
|
-
ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
28127
|
-
approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
28128
|
-
resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
28129
|
-
resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
28161
|
+
dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _603 => _603.dialogId]), () => ( null)),
|
|
28162
|
+
ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _604 => _604.ticketId]), () => ( null)),
|
|
28163
|
+
approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _605 => _605.approvalType]), () => ( null)),
|
|
28164
|
+
resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _606 => _606.resolution]), () => ( null)),
|
|
28165
|
+
resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _607 => _607.resolvedByName]), () => ( null)),
|
|
28130
28166
|
toolCalls
|
|
28131
28167
|
};
|
|
28132
28168
|
}
|
|
28133
28169
|
function resolutionToStatus(resolution) {
|
|
28134
28170
|
switch (typeof resolution === "string" ? resolution.toUpperCase() : void 0) {
|
|
28135
28171
|
case "APPROVED":
|
|
28136
|
-
return
|
|
28172
|
+
return _chunkOFLGZRJWcjs.APPROVAL_STATUS.APPROVED;
|
|
28137
28173
|
case "REJECTED":
|
|
28138
|
-
return
|
|
28174
|
+
return _chunkOFLGZRJWcjs.APPROVAL_STATUS.REJECTED;
|
|
28139
28175
|
case "CANCELLED":
|
|
28140
|
-
return
|
|
28176
|
+
return _chunkOFLGZRJWcjs.APPROVAL_STATUS.CANCELLED;
|
|
28141
28177
|
default:
|
|
28142
|
-
return
|
|
28178
|
+
return _chunkOFLGZRJWcjs.APPROVAL_STATUS.PENDING;
|
|
28143
28179
|
}
|
|
28144
28180
|
}
|
|
28145
28181
|
function approvalMetaToBatchData(approval) {
|
|
@@ -28177,10 +28213,10 @@ function ApprovalRequestNotificationTile({
|
|
|
28177
28213
|
const [processing, setProcessing] = _react.useState.call(void 0, false);
|
|
28178
28214
|
const [localStatus, setLocalStatus] = _react.useState.call(void 0, null);
|
|
28179
28215
|
const approval = getApprovalMeta(notification);
|
|
28180
|
-
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess',
|
|
28216
|
+
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _608 => _608.resolution]));
|
|
28181
28217
|
const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
|
|
28182
28218
|
const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
|
|
28183
|
-
const { innerRef, containerStyle } =
|
|
28219
|
+
const { innerRef, containerStyle } = _chunkOFLGZRJWcjs.useCollapsible.call(void 0, { expanded });
|
|
28184
28220
|
if (!approval || !batchData) return null;
|
|
28185
28221
|
const tileNotification = {
|
|
28186
28222
|
...notification,
|
|
@@ -28234,7 +28270,7 @@ function ApprovalRequestNotificationTile({
|
|
|
28234
28270
|
}
|
|
28235
28271
|
)
|
|
28236
28272
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28237
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28273
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.ApprovalStatusTag, { status }),
|
|
28238
28274
|
approval.resolvedByName ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: [
|
|
28239
28275
|
"by ",
|
|
28240
28276
|
approval.resolvedByName
|
|
@@ -28252,12 +28288,12 @@ function ApprovalRequestNotificationTile({
|
|
|
28252
28288
|
"aria-expanded": expanded,
|
|
28253
28289
|
"aria-label": toggleLabel,
|
|
28254
28290
|
className: "ml-auto w-6 shrink-0 px-0 md:w-8",
|
|
28255
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28291
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.ExpandChevron, { expanded })
|
|
28256
28292
|
}
|
|
28257
28293
|
)
|
|
28258
28294
|
] }),
|
|
28259
28295
|
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,
|
|
28260
|
-
|
|
28296
|
+
_chunkOFLGZRJWcjs.ApprovalBatchMessage,
|
|
28261
28297
|
{
|
|
28262
28298
|
data: batchData,
|
|
28263
28299
|
showExecutionStatus: false,
|
|
@@ -28330,7 +28366,7 @@ function renderCustomerOption(option, isSelected) {
|
|
|
28330
28366
|
const { label, imageUrl } = option;
|
|
28331
28367
|
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: [
|
|
28332
28368
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
28333
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28369
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEX5PJGVAcjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "square" }),
|
|
28334
28370
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", title: label, children: label })
|
|
28335
28371
|
] }),
|
|
28336
28372
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -28414,7 +28450,7 @@ function TimeTrackerPanel({
|
|
|
28414
28450
|
}));
|
|
28415
28451
|
const selectedCustomer = customerAutocompleteOptions.find((o) => o.value === selectedCustomerId);
|
|
28416
28452
|
const customerStartAdornment = selectedCustomer ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28417
|
-
|
|
28453
|
+
_chunkEX5PJGVAcjs.SquareAvatar,
|
|
28418
28454
|
{
|
|
28419
28455
|
src: selectedCustomer.imageUrl,
|
|
28420
28456
|
alt: selectedCustomer.label,
|
|
@@ -28505,7 +28541,7 @@ function TimeTrackerPanel({
|
|
|
28505
28541
|
error: showFieldError ? "Required if no notes added" : void 0,
|
|
28506
28542
|
disableClientFilter: !!onTicketSearch,
|
|
28507
28543
|
onInputChange: (value, reason) => {
|
|
28508
|
-
if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall',
|
|
28544
|
+
if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall', _609 => _609(value)]);
|
|
28509
28545
|
}
|
|
28510
28546
|
}
|
|
28511
28547
|
),
|
|
@@ -28520,7 +28556,7 @@ function TimeTrackerPanel({
|
|
|
28520
28556
|
disabled: customerLocked,
|
|
28521
28557
|
disableClientFilter: !!onCustomerSearch,
|
|
28522
28558
|
onInputChange: (value, reason) => {
|
|
28523
|
-
if (reason === "input") _optionalChain([onCustomerSearch, 'optionalCall',
|
|
28559
|
+
if (reason === "input") _optionalChain([onCustomerSearch, 'optionalCall', _610 => _610(value)]);
|
|
28524
28560
|
},
|
|
28525
28561
|
startAdornment: customerStartAdornment,
|
|
28526
28562
|
renderOption: renderCustomerOption
|
|
@@ -28593,7 +28629,7 @@ var STATUS_TAG_SKIN = "gap-[var(--spacing-system-xs)] font-mono font-medium uppe
|
|
|
28593
28629
|
function StatusTag({ status }) {
|
|
28594
28630
|
if (status === "tracking") {
|
|
28595
28631
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28596
|
-
|
|
28632
|
+
_chunkOFLGZRJWcjs.Tag,
|
|
28597
28633
|
{
|
|
28598
28634
|
variant: "success",
|
|
28599
28635
|
className: STATUS_TAG_SKIN,
|
|
@@ -28603,9 +28639,9 @@ function StatusTag({ status }) {
|
|
|
28603
28639
|
);
|
|
28604
28640
|
}
|
|
28605
28641
|
if (status === "paused") {
|
|
28606
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28642
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.Tag, { variant: "warning", className: STATUS_TAG_SKIN, icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.PauseIcon, { className: "h-4 w-4" }), label: "Paused" });
|
|
28607
28643
|
}
|
|
28608
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28644
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.Tag, { variant: "grey", className: STATUS_TAG_SKIN, label: "Ready to Track" });
|
|
28609
28645
|
}
|
|
28610
28646
|
function LastEntryRow({ entry, onClick }) {
|
|
28611
28647
|
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: [
|
|
@@ -28622,7 +28658,7 @@ function LastEntryRow({ entry, onClick }) {
|
|
|
28622
28658
|
{
|
|
28623
28659
|
variant: "outline",
|
|
28624
28660
|
size: "icon",
|
|
28625
|
-
onClick: () => _optionalChain([onClick, 'optionalCall',
|
|
28661
|
+
onClick: () => _optionalChain([onClick, 'optionalCall', _611 => _611(entry)]),
|
|
28626
28662
|
disabled: !onClick,
|
|
28627
28663
|
"aria-label": `Open entry: ${entry.title}`,
|
|
28628
28664
|
className: "h-12 w-12 shrink-0 [&_svg]:!size-6",
|
|
@@ -28706,28 +28742,28 @@ function HeaderButton({
|
|
|
28706
28742
|
function TimeTrackerHeaderButton({ className, disabled }) {
|
|
28707
28743
|
const ctx = useOptionalTimeTracker();
|
|
28708
28744
|
const elapsedLabel = useTrackerClock({
|
|
28709
|
-
status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess',
|
|
28710
|
-
runningSince: _optionalChain([ctx, 'optionalAccess',
|
|
28711
|
-
accumulatedMs: _optionalChain([ctx, 'optionalAccess',
|
|
28745
|
+
status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _612 => _612.status]), () => ( "ready")),
|
|
28746
|
+
runningSince: _optionalChain([ctx, 'optionalAccess', _613 => _613.runningSince]),
|
|
28747
|
+
accumulatedMs: _optionalChain([ctx, 'optionalAccess', _614 => _614.accumulatedMs])
|
|
28712
28748
|
});
|
|
28713
28749
|
const layoutContainer = useAppLayoutDrawerContainer();
|
|
28714
28750
|
const coordination = useAppLayoutDrawerCoordination();
|
|
28715
|
-
const isOpen = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess',
|
|
28751
|
+
const isOpen = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _615 => _615.isOpen]), () => ( false));
|
|
28716
28752
|
const isOpenRef = _react.useRef.call(void 0, isOpen);
|
|
28717
|
-
const closeRef = _react.useRef.call(void 0, _optionalChain([ctx, 'optionalAccess',
|
|
28753
|
+
const closeRef = _react.useRef.call(void 0, _optionalChain([ctx, 'optionalAccess', _616 => _616.close]));
|
|
28718
28754
|
_react.useEffect.call(void 0, () => {
|
|
28719
28755
|
isOpenRef.current = isOpen;
|
|
28720
|
-
closeRef.current = _optionalChain([ctx, 'optionalAccess',
|
|
28756
|
+
closeRef.current = _optionalChain([ctx, 'optionalAccess', _617 => _617.close]);
|
|
28721
28757
|
});
|
|
28722
28758
|
const [selfHandle] = _react.useState.call(void 0, () => ({
|
|
28723
28759
|
close: () => {
|
|
28724
|
-
if (isOpenRef.current) _optionalChain([closeRef, 'access',
|
|
28760
|
+
if (isOpenRef.current) _optionalChain([closeRef, 'access', _618 => _618.current, 'optionalCall', _619 => _619()]);
|
|
28725
28761
|
}
|
|
28726
28762
|
}));
|
|
28727
28763
|
_react.useEffect.call(void 0, () => {
|
|
28728
|
-
if (isOpen) _optionalChain([coordination, 'optionalAccess',
|
|
28764
|
+
if (isOpen) _optionalChain([coordination, 'optionalAccess', _620 => _620.notifyDrawerDidOpen, 'call', _621 => _621(selfHandle)]);
|
|
28729
28765
|
}, [isOpen, coordination, selfHandle]);
|
|
28730
|
-
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess',
|
|
28766
|
+
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess', _622 => _622.registerDrawer, 'call', _623 => _623(selfHandle)]), [coordination, selfHandle]);
|
|
28731
28767
|
if (!ctx) return null;
|
|
28732
28768
|
const { open, close, status } = ctx;
|
|
28733
28769
|
const isPaused = status === "paused";
|
|
@@ -28774,7 +28810,7 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
28774
28810
|
"data-state": isOpen ? "open" : "closed",
|
|
28775
28811
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0,
|
|
28776
28812
|
layoutContainer ? "absolute inset-0 z-[102]" : "fixed inset-0 z-[1299]",
|
|
28777
|
-
|
|
28813
|
+
_chunkOFLGZRJWcjs.OVERLAY_BACKDROP_CLASS,
|
|
28778
28814
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
28779
28815
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
|
|
28780
28816
|
)
|
|
@@ -28859,7 +28895,7 @@ function autoScrollAncestors(element) {
|
|
|
28859
28895
|
|
|
28860
28896
|
// src/components/features/board/aim.ts
|
|
28861
28897
|
var _closestedge = require('@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge');
|
|
28862
|
-
var othersIn = (columns, columnId, ticketId) => (_nullishCoalesce(_optionalChain([columns, 'access',
|
|
28898
|
+
var othersIn = (columns, columnId, ticketId) => (_nullishCoalesce(_optionalChain([columns, 'access', _624 => _624.find, 'call', _625 => _625((c) => c.id === columnId), 'optionalAccess', _626 => _626.tickets]), () => ( []))).filter((t) => t.id !== ticketId);
|
|
28863
28899
|
function laneOf(columns, ticketId) {
|
|
28864
28900
|
return _nullishCoalesce(columns.find((c) => c.tickets.some((t) => t.id === ticketId)), () => ( null));
|
|
28865
28901
|
}
|
|
@@ -28903,11 +28939,11 @@ function aimToChange(columns, ticketId, aim) {
|
|
|
28903
28939
|
const lane = laneOf(columns, ticketId);
|
|
28904
28940
|
if (!lane) return null;
|
|
28905
28941
|
const others = othersIn(columns, aim.columnId, ticketId);
|
|
28906
|
-
const afterTicketId = _nullishCoalesce(_optionalChain([others, 'access',
|
|
28907
|
-
const beforeTicketId = _nullishCoalesce(_optionalChain([others, 'access',
|
|
28942
|
+
const afterTicketId = _nullishCoalesce(_optionalChain([others, 'access', _627 => _627[aim.index - 1], 'optionalAccess', _628 => _628.id]), () => ( null));
|
|
28943
|
+
const beforeTicketId = _nullishCoalesce(_optionalChain([others, 'access', _629 => _629[aim.index], 'optionalAccess', _630 => _630.id]), () => ( null));
|
|
28908
28944
|
if (lane.id === aim.columnId) {
|
|
28909
28945
|
const currentIndex = lane.tickets.findIndex((t) => t.id === ticketId);
|
|
28910
|
-
if ((_nullishCoalesce(_optionalChain([lane, 'access',
|
|
28946
|
+
if ((_nullishCoalesce(_optionalChain([lane, 'access', _631 => _631.tickets, 'access', _632 => _632[currentIndex - 1], 'optionalAccess', _633 => _633.id]), () => ( null))) === afterTicketId) return null;
|
|
28911
28947
|
}
|
|
28912
28948
|
return { ticketId, fromColumnId: lane.id, toColumnId: aim.columnId, afterTicketId, beforeTicketId };
|
|
28913
28949
|
}
|
|
@@ -28928,7 +28964,7 @@ function BoardColumnHeader({
|
|
|
28928
28964
|
}) {
|
|
28929
28965
|
const count = _nullishCoalesce(column.total, () => ( column.tickets.length));
|
|
28930
28966
|
const tagStatus = _nullishCoalesce(column.statusKey, () => ( column.id));
|
|
28931
|
-
const useStatusVariant =
|
|
28967
|
+
const useStatusVariant = _chunkOFLGZRJWcjs.resolveTicketStatus.call(void 0, tagStatus) !== null;
|
|
28932
28968
|
const actionClass = "h-8 w-8 p-0 md:h-8 md:w-8";
|
|
28933
28969
|
if (collapsed) {
|
|
28934
28970
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
@@ -28944,7 +28980,7 @@ function BoardColumnHeader({
|
|
|
28944
28980
|
}
|
|
28945
28981
|
),
|
|
28946
28982
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28947
|
-
|
|
28983
|
+
_chunkOFLGZRJWcjs.TicketStatusTag,
|
|
28948
28984
|
{
|
|
28949
28985
|
status: tagStatus,
|
|
28950
28986
|
label: column.label,
|
|
@@ -28957,7 +28993,7 @@ function BoardColumnHeader({
|
|
|
28957
28993
|
}
|
|
28958
28994
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28959
28995
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28960
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28996
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.TicketStatusTag, { status: tagStatus, label: column.label, color: useStatusVariant ? void 0 : column.color }),
|
|
28961
28997
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h5", style: useStatusVariant ? void 0 : { color: column.color }, children: count })
|
|
28962
28998
|
] }),
|
|
28963
28999
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
@@ -29108,7 +29144,7 @@ function holdMoveDragEffect(element) {
|
|
|
29108
29144
|
|
|
29109
29145
|
function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
29110
29146
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
29111
|
-
const { innerRef, containerStyle } =
|
|
29147
|
+
const { innerRef, containerStyle } = _chunkOFLGZRJWcjs.useCollapsible.call(void 0, { expanded });
|
|
29112
29148
|
const isAdmin = pendingApproval.approvalType === "ADMIN";
|
|
29113
29149
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex flex-col", children: [
|
|
29114
29150
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -29137,7 +29173,7 @@ function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
|
29137
29173
|
}
|
|
29138
29174
|
),
|
|
29139
29175
|
/* @__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,
|
|
29140
|
-
|
|
29176
|
+
_chunkOFLGZRJWcjs.ApprovalBatchMessage,
|
|
29141
29177
|
{
|
|
29142
29178
|
className: "mb-0",
|
|
29143
29179
|
data: {
|
|
@@ -29178,14 +29214,14 @@ function useIsLanding(ticketId) {
|
|
|
29178
29214
|
return _react.useContext.call(void 0, LandingCardContext) === ticketId;
|
|
29179
29215
|
}
|
|
29180
29216
|
function hasMoveSettled(columns, move) {
|
|
29181
|
-
const tickets = _optionalChain([columns, 'access',
|
|
29217
|
+
const tickets = _optionalChain([columns, 'access', _634 => _634.find, 'call', _635 => _635((c) => c.id === move.toColumnId), 'optionalAccess', _636 => _636.tickets]);
|
|
29182
29218
|
if (!tickets) return false;
|
|
29183
29219
|
const index = tickets.findIndex((t) => t.id === move.ticketId);
|
|
29184
29220
|
if (index < 0) return false;
|
|
29185
29221
|
if (move.fromColumnId === move.toColumnId) {
|
|
29186
|
-
return (_nullishCoalesce(_optionalChain([tickets, 'access',
|
|
29222
|
+
return (_nullishCoalesce(_optionalChain([tickets, 'access', _637 => _637[index - 1], 'optionalAccess', _638 => _638.id]), () => ( null))) === move.afterTicketId;
|
|
29187
29223
|
}
|
|
29188
|
-
return !_optionalChain([columns, 'access',
|
|
29224
|
+
return !_optionalChain([columns, 'access', _639 => _639.find, 'call', _640 => _640((c) => c.id === move.fromColumnId), 'optionalAccess', _641 => _641.tickets, 'access', _642 => _642.some, 'call', _643 => _643((t) => t.id === move.ticketId)]);
|
|
29189
29225
|
}
|
|
29190
29226
|
|
|
29191
29227
|
// src/components/features/board/ticket-card.tsx
|
|
@@ -29209,10 +29245,10 @@ var ACTIVITY_DEFAULT_LABEL = {
|
|
|
29209
29245
|
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";
|
|
29210
29246
|
function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onReject }) {
|
|
29211
29247
|
const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
|
|
29212
|
-
const newMessageTextColor = columnColor ?
|
|
29213
|
-
const showDeviceRow = !!(_optionalChain([ticket, 'access',
|
|
29214
|
-
const deviceText = [_optionalChain([ticket, 'access',
|
|
29215
|
-
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access',
|
|
29248
|
+
const newMessageTextColor = columnColor ? _chunkOFLGZRJWcjs.getReadableTextColor.call(void 0, columnColor) : void 0;
|
|
29249
|
+
const showDeviceRow = !!(_optionalChain([ticket, 'access', _644 => _644.deviceHostnames, 'optionalAccess', _645 => _645.length]) || ticket.organizationName);
|
|
29250
|
+
const deviceText = [_optionalChain([ticket, 'access', _646 => _646.deviceHostnames, 'optionalAccess', _647 => _647.join, 'call', _648 => _648(", ")]), ticket.organizationName].filter(Boolean).join(", ");
|
|
29251
|
+
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _649 => _649.assignees, 'optionalAccess', _650 => _650.length]) || renderAssignSlot);
|
|
29216
29252
|
const rightSection = hasRightSection ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex shrink-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
29217
29253
|
ticket.priority && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29218
29254
|
_chunkYRTMAXLEcjs.Flag02Icon,
|
|
@@ -29221,7 +29257,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29221
29257
|
"aria-label": `Priority: ${ticket.priority}`
|
|
29222
29258
|
}
|
|
29223
29259
|
),
|
|
29224
|
-
renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access',
|
|
29260
|
+
renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _651 => _651.assignees, 'optionalAccess', _652 => _652.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
|
|
29225
29261
|
ticket.assignees.slice(0, MAX_VISIBLE_ASSIGNEES).map(
|
|
29226
29262
|
(a) => a.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29227
29263
|
DeletedUserAvatar,
|
|
@@ -29231,7 +29267,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29231
29267
|
},
|
|
29232
29268
|
a.id
|
|
29233
29269
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29234
|
-
|
|
29270
|
+
_chunkEX5PJGVAcjs.SquareAvatar,
|
|
29235
29271
|
{
|
|
29236
29272
|
src: a.avatarUrl,
|
|
29237
29273
|
alt: _nullishCoalesce(_nullishCoalesce(a.name, () => ( a.initials)), () => ( a.id)),
|
|
@@ -29248,8 +29284,8 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29248
29284
|
] })
|
|
29249
29285
|
] }) : null
|
|
29250
29286
|
] }) : null;
|
|
29251
|
-
const timestampLabel = ticket.createdAt ?
|
|
29252
|
-
const tooltipLabel = ticket.createdAt ?
|
|
29287
|
+
const timestampLabel = ticket.createdAt ? _chunkOFLGZRJWcjs.formatTicketRelativeTime.call(void 0, ticket.createdAt) : null;
|
|
29288
|
+
const tooltipLabel = ticket.createdAt ? _chunkOFLGZRJWcjs.formatTicketFullTimestamp.call(void 0, ticket.createdAt) : null;
|
|
29253
29289
|
const metaLabel = [ticket.ticketNumber || null, timestampLabel].filter(Boolean).join(" \u2022 ");
|
|
29254
29290
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
29255
29291
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-sf)]", children: [
|
|
@@ -29262,10 +29298,10 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29262
29298
|
] }),
|
|
29263
29299
|
rightSection
|
|
29264
29300
|
] }),
|
|
29265
|
-
_optionalChain([ticket, 'access',
|
|
29266
|
-
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29267
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29268
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29301
|
+
_optionalChain([ticket, 'access', _653 => _653.tags, 'optionalAccess', _654 => _654.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
|
|
29302
|
+
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOFLGZRJWcjs.Tooltip, { children: [
|
|
29303
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "pointer-events-auto truncate text-ods-text-secondary text-h6", children: metaLabel }) }),
|
|
29304
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.TooltipContent, { children: tooltipLabel })
|
|
29269
29305
|
] }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: metaLabel })),
|
|
29270
29306
|
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: [
|
|
29271
29307
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.UserCheckIcon, { className: "size-4 shrink-0" }),
|
|
@@ -29285,7 +29321,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29285
29321
|
}
|
|
29286
29322
|
),
|
|
29287
29323
|
showNewMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29288
|
-
|
|
29324
|
+
_chunkOFLGZRJWcjs.Tag,
|
|
29289
29325
|
{
|
|
29290
29326
|
label: "New Message",
|
|
29291
29327
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.MessagesIcon, { size: 16, color: newMessageTextColor }),
|
|
@@ -29329,7 +29365,7 @@ var TicketCard = _react.memo.call(void 0, function TicketCardImpl({
|
|
|
29329
29365
|
const isLanding = useIsLanding(ticket.id);
|
|
29330
29366
|
const aim = useDropAim();
|
|
29331
29367
|
const closestEdge = aim && aim.columnId === columnId && aim.ticketId === ticket.id ? aim.edge : null;
|
|
29332
|
-
const isSource = isDragging || _optionalChain([aim, 'optionalAccess',
|
|
29368
|
+
const isSource = isDragging || _optionalChain([aim, 'optionalAccess', _655 => _655.ticket, 'access', _656 => _656.id]) === ticket.id;
|
|
29333
29369
|
const lift = useBoardLift();
|
|
29334
29370
|
const handleKeyDown = (e) => {
|
|
29335
29371
|
if (e.key !== " " || dragDisabled || !lift) return;
|
|
@@ -29500,8 +29536,8 @@ function TicketTagRow({ tags }) {
|
|
|
29500
29536
|
const visible = tags.slice(0, MAX_VISIBLE_TAGS);
|
|
29501
29537
|
const hidden = tags.length - visible.length;
|
|
29502
29538
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-8 flex-wrap items-start gap-[var(--spacing-system-xxs)] overflow-clip", children: [
|
|
29503
|
-
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29504
|
-
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29539
|
+
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.Tag, { variant: "outline", label: tag }, tag)),
|
|
29540
|
+
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.Tag, { variant: "outline", label: `+${hidden}` })
|
|
29505
29541
|
] });
|
|
29506
29542
|
}
|
|
29507
29543
|
|
|
@@ -29582,7 +29618,7 @@ var BoardColumn = _react.memo.call(void 0, function BoardColumnImpl({
|
|
|
29582
29618
|
// large ones like the only thing that did.
|
|
29583
29619
|
getData: ({ input, element: lane, source }) => {
|
|
29584
29620
|
const nearest = nearestCardIn(lane, input.clientY, String(source.data.ticketId));
|
|
29585
|
-
const ticketId = _optionalChain([nearest, 'optionalAccess',
|
|
29621
|
+
const ticketId = _optionalChain([nearest, 'optionalAccess', _657 => _657.dataset, 'access', _658 => _658.ticketId]);
|
|
29586
29622
|
if (!nearest || !ticketId) return { type: "column", columnId: column.id };
|
|
29587
29623
|
return _closestedge.attachClosestEdge.call(void 0,
|
|
29588
29624
|
{ type: "ticket", ticketId, columnId: column.id },
|
|
@@ -29594,7 +29630,7 @@ var BoardColumn = _react.memo.call(void 0, function BoardColumnImpl({
|
|
|
29594
29630
|
onDrop: () => setIsOver(false)
|
|
29595
29631
|
});
|
|
29596
29632
|
}, [column.id, column.dropDisabled, column.allowedFromColumns, collapsed, touchMode]);
|
|
29597
|
-
const handleToggleCollapse = _react.useCallback.call(void 0, () => _optionalChain([onToggleCollapse, 'optionalCall',
|
|
29633
|
+
const handleToggleCollapse = _react.useCallback.call(void 0, () => _optionalChain([onToggleCollapse, 'optionalCall', _659 => _659(column.id)]), [onToggleCollapse, column.id]);
|
|
29598
29634
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
29599
29635
|
"div",
|
|
29600
29636
|
{
|
|
@@ -29673,7 +29709,7 @@ function ColumnBody({
|
|
|
29673
29709
|
const observer = new IntersectionObserver(
|
|
29674
29710
|
(entries) => {
|
|
29675
29711
|
if (entries.some((e) => e.isIntersecting)) {
|
|
29676
|
-
_optionalChain([loadMoreRef, 'access',
|
|
29712
|
+
_optionalChain([loadMoreRef, 'access', _660 => _660.current, 'optionalCall', _661 => _661(columnIdRef.current)]);
|
|
29677
29713
|
}
|
|
29678
29714
|
},
|
|
29679
29715
|
{ root, rootMargin: loadMoreRootMargin }
|
|
@@ -29698,7 +29734,7 @@ function ColumnBody({
|
|
|
29698
29734
|
ticket: t,
|
|
29699
29735
|
columnId: column.id,
|
|
29700
29736
|
columnColor: column.color,
|
|
29701
|
-
href: _optionalChain([getTicketHref, 'optionalCall',
|
|
29737
|
+
href: _optionalChain([getTicketHref, 'optionalCall', _662 => _662(t.id)]),
|
|
29702
29738
|
renderAssignSlot,
|
|
29703
29739
|
onApprove,
|
|
29704
29740
|
onReject,
|
|
@@ -29875,7 +29911,7 @@ function DragBoard({
|
|
|
29875
29911
|
const [landing, setLanding] = _react.useState.call(void 0, null);
|
|
29876
29912
|
const landingTimer = _react.useRef.call(void 0, null);
|
|
29877
29913
|
const pointRef = _react.useRef.call(void 0, { x: 0, y: 0 });
|
|
29878
|
-
const laneLabel = _react.useCallback.call(void 0, (columnId) => _nullishCoalesce(_optionalChain([view, 'access',
|
|
29914
|
+
const laneLabel = _react.useCallback.call(void 0, (columnId) => _nullishCoalesce(_optionalChain([view, 'access', _663 => _663.find, 'call', _664 => _664((c) => c.id === columnId), 'optionalAccess', _665 => _665.label]), () => ( columnId)), [view]);
|
|
29879
29915
|
const acceptsLifted = _react.useCallback.call(void 0,
|
|
29880
29916
|
(fromColumnId) => (column) => {
|
|
29881
29917
|
if (column.dropDisabled || collapsed[column.id]) return false;
|
|
@@ -29889,7 +29925,7 @@ function DragBoard({
|
|
|
29889
29925
|
const start = initialAim(view, ticketId);
|
|
29890
29926
|
if (!start) return;
|
|
29891
29927
|
setLifted({ ticketId, aim: start });
|
|
29892
|
-
const title = _nullishCoalesce(_optionalChain([laneOf, 'call',
|
|
29928
|
+
const title = _nullishCoalesce(_optionalChain([laneOf, 'call', _666 => _666(view, ticketId), 'optionalAccess', _667 => _667.tickets, 'access', _668 => _668.find, 'call', _669 => _669((t) => t.id === ticketId), 'optionalAccess', _670 => _670.title]), () => ( "Ticket"));
|
|
29893
29929
|
setAnnouncement(`${title} lifted. Use the arrow keys to move it, space to drop it, escape to put it back.`);
|
|
29894
29930
|
},
|
|
29895
29931
|
[view]
|
|
@@ -29914,11 +29950,11 @@ function DragBoard({
|
|
|
29914
29950
|
const walk = _react.useCallback.call(void 0,
|
|
29915
29951
|
(key) => {
|
|
29916
29952
|
if (!lifted) return;
|
|
29917
|
-
const from = _nullishCoalesce(_optionalChain([laneOf, 'call',
|
|
29953
|
+
const from = _nullishCoalesce(_optionalChain([laneOf, 'call', _671 => _671(view, lifted.ticketId), 'optionalAccess', _672 => _672.id]), () => ( lifted.aim.columnId));
|
|
29918
29954
|
const next = moveAim(view, lifted.ticketId, lifted.aim, key, acceptsLifted(from));
|
|
29919
29955
|
if (next === lifted.aim) return;
|
|
29920
29956
|
setLifted({ ...lifted, aim: next });
|
|
29921
|
-
const total = (_nullishCoalesce(_optionalChain([view, 'access',
|
|
29957
|
+
const total = (_nullishCoalesce(_optionalChain([view, 'access', _673 => _673.find, 'call', _674 => _674((c) => c.id === next.columnId), 'optionalAccess', _675 => _675.tickets]), () => ( []))).filter(
|
|
29922
29958
|
(t) => t.id !== lifted.ticketId
|
|
29923
29959
|
).length;
|
|
29924
29960
|
setAnnouncement(`${laneLabel(next.columnId)}, position ${next.index + 1} of ${total + 1}.`);
|
|
@@ -29945,11 +29981,11 @@ function DragBoard({
|
|
|
29945
29981
|
}, [lifted, drop, walk]);
|
|
29946
29982
|
_react.useEffect.call(void 0, () => {
|
|
29947
29983
|
if (!lifted) return;
|
|
29948
|
-
_optionalChain([boardRef, 'access',
|
|
29984
|
+
_optionalChain([boardRef, 'access', _676 => _676.current, 'optionalAccess', _677 => _677.querySelector, 'call', _678 => _678(`[${DROP_LINE_ATTRIBUTE}]`), 'optionalAccess', _679 => _679.scrollIntoView, 'call', _680 => _680({ block: "nearest", inline: "nearest" })]);
|
|
29949
29985
|
}, [lifted]);
|
|
29950
29986
|
const keyboardAim = _react.useMemo.call(void 0, () => {
|
|
29951
29987
|
if (!lifted) return null;
|
|
29952
|
-
const ticket = _optionalChain([laneOf, 'call',
|
|
29988
|
+
const ticket = _optionalChain([laneOf, 'call', _681 => _681(view, lifted.ticketId), 'optionalAccess', _682 => _682.tickets, 'access', _683 => _683.find, 'call', _684 => _684((t) => t.id === lifted.ticketId)]);
|
|
29953
29989
|
if (!ticket) return null;
|
|
29954
29990
|
const anchor = aimToChange(view, lifted.ticketId, lifted.aim) ? aimAnchor(view, lifted.ticketId, lifted.aim) : { ticketId: null, edge: null };
|
|
29955
29991
|
return { columnId: lifted.aim.columnId, ...anchor, ticket };
|
|
@@ -29971,7 +30007,7 @@ function DragBoard({
|
|
|
29971
30007
|
return { columnId: slot.columnId, ...anchor, ticket };
|
|
29972
30008
|
};
|
|
29973
30009
|
const aimAt = (source, targets) => {
|
|
29974
|
-
const next = readAim(source, _optionalChain([targets, 'access',
|
|
30010
|
+
const next = readAim(source, _optionalChain([targets, 'access', _685 => _685[0], 'optionalAccess', _686 => _686.data]));
|
|
29975
30011
|
setAim((prev) => isSameAim(prev, next) ? prev : next);
|
|
29976
30012
|
};
|
|
29977
30013
|
return _combine.combine.call(void 0,
|
|
@@ -30000,7 +30036,7 @@ function DragBoard({
|
|
|
30000
30036
|
setLanding(null);
|
|
30001
30037
|
dragGeometry.current = {
|
|
30002
30038
|
ticket,
|
|
30003
|
-
columnColor: _optionalChain([columnsRef, 'access',
|
|
30039
|
+
columnColor: _optionalChain([columnsRef, 'access', _687 => _687.current, 'access', _688 => _688.find, 'call', _689 => _689((c) => c.id === source.data.columnId), 'optionalAccess', _690 => _690.color]),
|
|
30004
30040
|
width: rect.width,
|
|
30005
30041
|
grabX: clientX - rect.left,
|
|
30006
30042
|
grabY: clientY - rect.top
|
|
@@ -30017,7 +30053,7 @@ function DragBoard({
|
|
|
30017
30053
|
setAim(null);
|
|
30018
30054
|
const change = resolveBoardDrop(columnsRef.current, {
|
|
30019
30055
|
source: source.data,
|
|
30020
|
-
target: _optionalChain([location, 'access',
|
|
30056
|
+
target: _optionalChain([location, 'access', _691 => _691.current, 'access', _692 => _692.dropTargets, 'access', _693 => _693[0], 'optionalAccess', _694 => _694.data])
|
|
30021
30057
|
});
|
|
30022
30058
|
if (!change) return;
|
|
30023
30059
|
setPendingMove({
|
|
@@ -30050,7 +30086,7 @@ function DragBoard({
|
|
|
30050
30086
|
return void 0;
|
|
30051
30087
|
}
|
|
30052
30088
|
const to = card.getBoundingClientRect();
|
|
30053
|
-
const lane = _optionalChain([nearestScrollableAncestor, 'call',
|
|
30089
|
+
const lane = _optionalChain([nearestScrollableAncestor, 'call', _695 => _695(card), 'optionalAccess', _696 => _696.getBoundingClientRect, 'call', _697 => _697()]);
|
|
30054
30090
|
if (lane && (to.top < lane.top || to.bottom > lane.bottom)) {
|
|
30055
30091
|
finish();
|
|
30056
30092
|
return void 0;
|
|
@@ -30109,8 +30145,8 @@ function DragBoard({
|
|
|
30109
30145
|
children: view.map((column, i) => {
|
|
30110
30146
|
const prev = view[i - 1];
|
|
30111
30147
|
const next = view[i + 1];
|
|
30112
|
-
const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess',
|
|
30113
|
-
const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess',
|
|
30148
|
+
const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess', _698 => _698.system]));
|
|
30149
|
+
const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess', _699 => _699.system]));
|
|
30114
30150
|
const showGap = i > 0 && !joinLeft;
|
|
30115
30151
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
30116
30152
|
showGap && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "w-[var(--spacing-system-mf)] shrink-0" }),
|
|
@@ -30291,13 +30327,13 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
|
|
|
30291
30327
|
const [flipTick, setFlipTick] = _react.useState.call(void 0, 0);
|
|
30292
30328
|
const flipTimer = _react.useRef.call(void 0, null);
|
|
30293
30329
|
const readItems = _react.useCallback.call(void 0,
|
|
30294
|
-
() => [..._nullishCoalesce(_optionalChain([listRef, 'access',
|
|
30330
|
+
() => [..._nullishCoalesce(_optionalChain([listRef, 'access', _700 => _700.current, 'optionalAccess', _701 => _701.querySelectorAll, 'call', _702 => _702(`[${SORTABLE_ITEM_ATTRIBUTE}]`)]), () => ( []))],
|
|
30295
30331
|
[]
|
|
30296
30332
|
);
|
|
30297
30333
|
const reorder = _react.useCallback.call(void 0,
|
|
30298
30334
|
(from, to) => {
|
|
30299
30335
|
if (from === to) return;
|
|
30300
|
-
const label = _nullishCoalesce(_optionalChain([getItemLabelRef, 'access',
|
|
30336
|
+
const label = _nullishCoalesce(_optionalChain([getItemLabelRef, 'access', _703 => _703.current, 'optionalCall', _704 => _704(from)]), () => ( "Item"));
|
|
30301
30337
|
setAnnouncement(`${label} moved to position ${to + 1} of ${readItems().length}.`);
|
|
30302
30338
|
onReorderRef.current(from, to);
|
|
30303
30339
|
},
|
|
@@ -30385,7 +30421,7 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
|
|
|
30385
30421
|
moving.push(item);
|
|
30386
30422
|
}
|
|
30387
30423
|
if (moving.length === 0) return;
|
|
30388
|
-
void _optionalChain([listRef, 'access',
|
|
30424
|
+
void _optionalChain([listRef, 'access', _705 => _705.current, 'optionalAccess', _706 => _706.offsetHeight]);
|
|
30389
30425
|
for (const item of moving) {
|
|
30390
30426
|
item.style.transition = `transform ${DROP_MS2}ms ${EASING}`;
|
|
30391
30427
|
item.style.transform = "";
|
|
@@ -30422,8 +30458,8 @@ function SortableMoveButtons({ index, count, label, className }) {
|
|
|
30422
30458
|
if (to < 0 || to >= count) return;
|
|
30423
30459
|
reorder(index, to);
|
|
30424
30460
|
requestAnimationFrame(() => {
|
|
30425
|
-
if (step === -1 && to === 0) _optionalChain([downRef, 'access',
|
|
30426
|
-
if (step === 1 && to === count - 1) _optionalChain([upRef, 'access',
|
|
30461
|
+
if (step === -1 && to === 0) _optionalChain([downRef, 'access', _707 => _707.current, 'optionalAccess', _708 => _708.focus, 'call', _709 => _709()]);
|
|
30462
|
+
if (step === 1 && to === count - 1) _optionalChain([upRef, 'access', _710 => _710.current, 'optionalAccess', _711 => _711.focus, 'call', _712 => _712()]);
|
|
30427
30463
|
});
|
|
30428
30464
|
};
|
|
30429
30465
|
const subject = _nullishCoalesce(label, () => ( "item"));
|
|
@@ -30471,7 +30507,7 @@ function useSortableItem() {
|
|
|
30471
30507
|
const [handle, setHandle] = _react.useState.call(void 0, null);
|
|
30472
30508
|
const [isDragging, setIsDragging] = _react.useState.call(void 0, false);
|
|
30473
30509
|
const itemRef = _react.useCallback.call(void 0, (node) => {
|
|
30474
|
-
_optionalChain([node, 'optionalAccess',
|
|
30510
|
+
_optionalChain([node, 'optionalAccess', _713 => _713.setAttribute, 'call', _714 => _714(SORTABLE_ITEM_ATTRIBUTE, "")]);
|
|
30475
30511
|
setItem(node);
|
|
30476
30512
|
}, []);
|
|
30477
30513
|
_react.useEffect.call(void 0, () => {
|
|
@@ -30501,7 +30537,7 @@ function useSortableItem() {
|
|
|
30501
30537
|
if (from < 0 || to < 0 || to >= items.length) return;
|
|
30502
30538
|
event.preventDefault();
|
|
30503
30539
|
reorder(from, to);
|
|
30504
|
-
requestAnimationFrame(() => _optionalChain([handle, 'optionalAccess',
|
|
30540
|
+
requestAnimationFrame(() => _optionalChain([handle, 'optionalAccess', _715 => _715.focus, 'call', _716 => _716()]));
|
|
30505
30541
|
},
|
|
30506
30542
|
[inert, readItems, reorder, handle]
|
|
30507
30543
|
);
|
|
@@ -30523,7 +30559,7 @@ function TicketStatusConfigList({
|
|
|
30523
30559
|
onReorder,
|
|
30524
30560
|
getItemLabel,
|
|
30525
30561
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0, "flex w-full flex-col gap-[var(--spacing-system-xs)]", className),
|
|
30526
|
-
children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortableRow, { index, count: items.length, label: _optionalChain([getItemLabel, 'optionalCall',
|
|
30562
|
+
children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortableRow, { index, count: items.length, label: _optionalChain([getItemLabel, 'optionalCall', _717 => _717(index)]), children: (args) => renderRow(item, args) }, item.id))
|
|
30527
30563
|
}
|
|
30528
30564
|
);
|
|
30529
30565
|
}
|
|
@@ -31192,4 +31228,4 @@ function SortableRow({
|
|
|
31192
31228
|
|
|
31193
31229
|
|
|
31194
31230
|
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;
|
|
31195
|
-
//# sourceMappingURL=chunk-
|
|
31231
|
+
//# sourceMappingURL=chunk-ERFHLMWM.cjs.map
|