@flamingo-stack/openframe-frontend-core 0.0.616 → 0.0.617-snapshot.20260912211033
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-NLKYBYPV.js → chunk-2DTZXXY3.js} +5 -5
- package/dist/{chunk-F7R7J4HK.cjs → chunk-3FTNQDLP.cjs} +5 -5
- package/dist/{chunk-F7R7J4HK.cjs.map → chunk-3FTNQDLP.cjs.map} +1 -1
- package/dist/{chunk-JYHDJD3U.js → chunk-5P74E24M.js} +5 -5
- package/dist/{chunk-BLUL2TE3.js → chunk-6XJS3WU7.js} +2 -2
- package/dist/{chunk-QPAPUIF3.cjs → chunk-7ZEQMFP3.cjs} +30 -30
- package/dist/{chunk-QPAPUIF3.cjs.map → chunk-7ZEQMFP3.cjs.map} +1 -1
- package/dist/{chunk-OKWHWDA3.js → chunk-ANMD7SM4.js} +3 -3
- package/dist/{chunk-TDA355L7.cjs → chunk-BGDYSUA2.cjs} +11 -11
- package/dist/{chunk-TDA355L7.cjs.map → chunk-BGDYSUA2.cjs.map} +1 -1
- package/dist/{chunk-X6G7JIX6.cjs → chunk-BXNSKTEG.cjs} +57 -57
- package/dist/{chunk-X6G7JIX6.cjs.map → chunk-BXNSKTEG.cjs.map} +1 -1
- package/dist/{chunk-N3G3YG3V.cjs → chunk-CM6DNLK7.cjs} +579 -471
- package/dist/chunk-CM6DNLK7.cjs.map +1 -0
- package/dist/{chunk-TOAJWB3V.js → chunk-CWMKY2UJ.js} +3 -3
- package/dist/{chunk-UQEOAPAI.cjs → chunk-E2EGTHYA.cjs} +28 -12
- package/dist/chunk-E2EGTHYA.cjs.map +1 -0
- package/dist/{chunk-YSG26SQ7.cjs → chunk-E7VXPU3R.cjs} +33 -33
- package/dist/{chunk-YSG26SQ7.cjs.map → chunk-E7VXPU3R.cjs.map} +1 -1
- package/dist/{chunk-TOXJS4HN.cjs → chunk-EJGZIYC7.cjs} +6 -6
- package/dist/{chunk-TOXJS4HN.cjs.map → chunk-EJGZIYC7.cjs.map} +1 -1
- package/dist/{chunk-NLYWRJ6J.cjs → chunk-EXEXX34Q.cjs} +28 -28
- package/dist/{chunk-NLYWRJ6J.cjs.map → chunk-EXEXX34Q.cjs.map} +1 -1
- package/dist/{chunk-FP5WYJ3S.js → chunk-FCN2HN6Q.js} +2 -2
- package/dist/{chunk-KIQNMCOO.cjs → chunk-G7NEMLNW.cjs} +10 -10
- package/dist/{chunk-KIQNMCOO.cjs.map → chunk-G7NEMLNW.cjs.map} +1 -1
- package/dist/{chunk-4C3BOBV6.js → chunk-GD7CV2JI.js} +6 -6
- package/dist/{chunk-KKYE3E66.js → chunk-GFWKEWEH.js} +4 -4
- package/dist/{chunk-RU3IKVY2.js → chunk-GXUGYZ6H.js} +27 -11
- package/dist/chunk-GXUGYZ6H.js.map +1 -0
- package/dist/{chunk-FBL32U6S.cjs → chunk-IDMEC4ZK.cjs} +22 -22
- package/dist/{chunk-FBL32U6S.cjs.map → chunk-IDMEC4ZK.cjs.map} +1 -1
- package/dist/{chunk-646YZIUK.js → chunk-IPHA3AQ6.js} +7 -7
- package/dist/{chunk-A6ZMLRBR.js → chunk-J25M43YI.js} +6 -6
- package/dist/{chunk-RJT7I2Y4.cjs → chunk-K26VN65M.cjs} +15 -15
- package/dist/{chunk-RJT7I2Y4.cjs.map → chunk-K26VN65M.cjs.map} +1 -1
- package/dist/{chunk-5WHUUHSH.cjs → chunk-MOC7JLEP.cjs} +80 -80
- package/dist/{chunk-5WHUUHSH.cjs.map → chunk-MOC7JLEP.cjs.map} +1 -1
- package/dist/{chunk-TWE6KYQM.js → chunk-NUU5ZEEG.js} +4 -4
- package/dist/{chunk-GHMTJJCC.cjs → chunk-PIJK3FV6.cjs} +3 -3
- package/dist/{chunk-GHMTJJCC.cjs.map → chunk-PIJK3FV6.cjs.map} +1 -1
- package/dist/{chunk-L6UVTIJP.cjs → chunk-RDEFB354.cjs} +6 -6
- package/dist/{chunk-L6UVTIJP.cjs.map → chunk-RDEFB354.cjs.map} +1 -1
- package/dist/{chunk-7GLJC4EO.cjs → chunk-ROQTWRV7.cjs} +145 -145
- package/dist/{chunk-7GLJC4EO.cjs.map → chunk-ROQTWRV7.cjs.map} +1 -1
- package/dist/{chunk-L3H6VYDB.js → chunk-RROIA6WY.js} +2 -2
- package/dist/{chunk-H6TOSMGU.cjs → chunk-U6B3MM4U.cjs} +20 -20
- package/dist/{chunk-H6TOSMGU.cjs.map → chunk-U6B3MM4U.cjs.map} +1 -1
- package/dist/{chunk-BESOUYM7.cjs → chunk-UKFBPJBK.cjs} +29 -29
- package/dist/{chunk-BESOUYM7.cjs.map → chunk-UKFBPJBK.cjs.map} +1 -1
- package/dist/{chunk-RRGQTQ6T.js → chunk-UUXLDIK3.js} +3 -3
- package/dist/{chunk-UMVCVMCG.js → chunk-VRN5YYD3.js} +3 -3
- package/dist/{chunk-XJ5KH37F.js → chunk-WVRXDGGP.js} +3 -3
- package/dist/{chunk-HIMST6NK.js → chunk-XUNFDRMP.js} +3 -3
- package/dist/{chunk-AJRHEX5D.js → chunk-YCZBCEQO.js} +2577 -2469
- package/dist/chunk-YCZBCEQO.js.map +1 -0
- package/dist/components/case-studies/index.cjs +10 -10
- package/dist/components/case-studies/index.js +4 -4
- 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/help-center-pages/index.cjs +24 -24
- package/dist/components/help-center-pages/index.js +15 -15
- package/dist/components/index.cjs +57 -53
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +19 -15
- package/dist/components/index.js.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +34 -34
- package/dist/components/meeting-scheduler/index.cjs.map +1 -1
- package/dist/components/meeting-scheduler/index.js +5 -5
- package/dist/components/meeting-scheduler/index.js.map +1 -1
- package/dist/components/navigation/index.cjs +7 -7
- package/dist/components/navigation/index.js +6 -6
- package/dist/components/onboarding-guides/index.cjs +7 -7
- package/dist/components/onboarding-guides/index.js +6 -6
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/tickets/index.cjs +8 -8
- package/dist/components/tickets/index.js +7 -7
- package/dist/components/ui/avatar-stack.d.ts +16 -3
- package/dist/components/ui/avatar-stack.d.ts.map +1 -1
- package/dist/components/ui/data-table/data-table-header.d.ts +9 -1
- package/dist/components/ui/data-table/data-table-header.d.ts.map +1 -1
- package/dist/components/ui/data-table/types.d.ts +9 -0
- package/dist/components/ui/data-table/types.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +8 -4
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +7 -3
- package/dist/components/ui/people-cell.d.ts +46 -0
- package/dist/components/ui/people-cell.d.ts.map +1 -0
- package/dist/components/ui/table/table-header.d.ts.map +1 -1
- package/dist/components/ui/table/types.d.ts +7 -0
- package/dist/components/ui/table/types.d.ts.map +1 -1
- package/dist/index.cjs +14 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +13 -7
- package/dist/index.js.map +1 -1
- package/dist/utils/format.d.ts +8 -0
- package/dist/utils/format.d.ts.map +1 -1
- package/dist/utils/index.cjs +5 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +5 -1
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/src/__tests__/data-table-header-hint.test.tsx +69 -0
- package/src/components/meeting-scheduler/context-panel.tsx +1 -1
- package/src/components/meeting-scheduler/directory.tsx +1 -1
- package/src/components/ui/__tests__/people-cell.test.tsx +97 -0
- package/src/components/ui/avatar-stack.tsx +40 -13
- package/src/components/ui/data-table/data-table-header.tsx +47 -11
- package/src/components/ui/data-table/types.ts +9 -0
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/people-cell.tsx +133 -0
- package/src/components/ui/table/__tests__/header-hint.test.tsx +85 -0
- package/src/components/ui/table/table-header.tsx +34 -9
- package/src/components/ui/table/types.ts +7 -0
- package/src/utils/format.ts +13 -0
- package/src/utils/index.ts +1 -0
- package/dist/chunk-AJRHEX5D.js.map +0 -1
- package/dist/chunk-N3G3YG3V.cjs.map +0 -1
- package/dist/chunk-RU3IKVY2.js.map +0 -1
- package/dist/chunk-UQEOAPAI.cjs.map +0 -1
- /package/dist/{chunk-NLKYBYPV.js.map → chunk-2DTZXXY3.js.map} +0 -0
- /package/dist/{chunk-JYHDJD3U.js.map → chunk-5P74E24M.js.map} +0 -0
- /package/dist/{chunk-BLUL2TE3.js.map → chunk-6XJS3WU7.js.map} +0 -0
- /package/dist/{chunk-OKWHWDA3.js.map → chunk-ANMD7SM4.js.map} +0 -0
- /package/dist/{chunk-TOAJWB3V.js.map → chunk-CWMKY2UJ.js.map} +0 -0
- /package/dist/{chunk-FP5WYJ3S.js.map → chunk-FCN2HN6Q.js.map} +0 -0
- /package/dist/{chunk-4C3BOBV6.js.map → chunk-GD7CV2JI.js.map} +0 -0
- /package/dist/{chunk-KKYE3E66.js.map → chunk-GFWKEWEH.js.map} +0 -0
- /package/dist/{chunk-646YZIUK.js.map → chunk-IPHA3AQ6.js.map} +0 -0
- /package/dist/{chunk-A6ZMLRBR.js.map → chunk-J25M43YI.js.map} +0 -0
- /package/dist/{chunk-TWE6KYQM.js.map → chunk-NUU5ZEEG.js.map} +0 -0
- /package/dist/{chunk-L3H6VYDB.js.map → chunk-RROIA6WY.js.map} +0 -0
- /package/dist/{chunk-RRGQTQ6T.js.map → chunk-UUXLDIK3.js.map} +0 -0
- /package/dist/{chunk-UMVCVMCG.js.map → chunk-VRN5YYD3.js.map} +0 -0
- /package/dist/{chunk-XJ5KH37F.js.map → chunk-WVRXDGGP.js.map} +0 -0
- /package/dist/{chunk-HIMST6NK.js.map → chunk-XUNFDRMP.js.map} +0 -0
|
@@ -91,7 +91,7 @@ var _chunkN6HNK25Acjs = require('./chunk-N6HNK25A.cjs');
|
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
|
|
94
|
-
var
|
|
94
|
+
var _chunkROQTWRV7cjs = require('./chunk-ROQTWRV7.cjs');
|
|
95
95
|
|
|
96
96
|
|
|
97
97
|
|
|
@@ -229,7 +229,9 @@ var _chunkXQFFGR6Ucjs = require('./chunk-XQFFGR6U.cjs');
|
|
|
229
229
|
|
|
230
230
|
|
|
231
231
|
|
|
232
|
-
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
var _chunkE2EGTHYAcjs = require('./chunk-E2EGTHYA.cjs');
|
|
233
235
|
|
|
234
236
|
|
|
235
237
|
var _chunkWLSFBRT5cjs = require('./chunk-WLSFBRT5.cjs');
|
|
@@ -344,7 +346,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
344
346
|
var useTheme = _nextthemes.useTheme;
|
|
345
347
|
function useThemeToggle() {
|
|
346
348
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
347
|
-
const mounted =
|
|
349
|
+
const mounted = _chunkROQTWRV7cjs.useIsHydrated.call(void 0, );
|
|
348
350
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
349
351
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
350
352
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -621,7 +623,7 @@ function TruncateText({
|
|
|
621
623
|
const { ref, isTruncated } = _chunkYXWGSDK4cjs.useIsTruncated.call(void 0, children, { multiline: isMultiLine });
|
|
622
624
|
const clampClass = isMultiLine ? LINE_CLAMP_CLASS[lines] : "truncate block";
|
|
623
625
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
624
|
-
|
|
626
|
+
_chunkROQTWRV7cjs.FloatingTooltip,
|
|
625
627
|
{
|
|
626
628
|
content: _nullishCoalesce(tooltip, () => ( children)),
|
|
627
629
|
side,
|
|
@@ -928,7 +930,7 @@ function AutocompleteInner(props, ref) {
|
|
|
928
930
|
),
|
|
929
931
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: middleRef, className: "flex min-w-0 flex-1 items-center gap-2 overflow-hidden px-2", children: [
|
|
930
932
|
multiple && visibleTags.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
931
|
-
|
|
933
|
+
_chunkROQTWRV7cjs.Tag,
|
|
932
934
|
{
|
|
933
935
|
variant: "outline",
|
|
934
936
|
labelClassName: "max-w-[90px] truncate",
|
|
@@ -1142,7 +1144,7 @@ function AutocompleteInner(props, ref) {
|
|
|
1142
1144
|
"aria-hidden": "true",
|
|
1143
1145
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
1144
1146
|
children: selectedOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1145
|
-
|
|
1147
|
+
_chunkROQTWRV7cjs.Tag,
|
|
1146
1148
|
{
|
|
1147
1149
|
variant: "outline",
|
|
1148
1150
|
labelClassName: "max-w-[90px] truncate",
|
|
@@ -2532,7 +2534,7 @@ function InfoHint({ children, label, side = "top", className }) {
|
|
|
2532
2534
|
const describedById = _react.useId.call(void 0, );
|
|
2533
2535
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, "inline-flex shrink-0 items-center", className), children: [
|
|
2534
2536
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2535
|
-
|
|
2537
|
+
_chunkROQTWRV7cjs.FloatingTooltip,
|
|
2536
2538
|
{
|
|
2537
2539
|
content: children,
|
|
2538
2540
|
side,
|
|
@@ -2626,7 +2628,7 @@ function Value2({ value, depth }) {
|
|
|
2626
2628
|
}
|
|
2627
2629
|
if (typeof value === "string") {
|
|
2628
2630
|
if (ISO_DATE.test(value)) {
|
|
2629
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children:
|
|
2631
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: value, className: "text-ods-text-secondary", children: _chunkROQTWRV7cjs.formatRelativeTime.call(void 0, value) });
|
|
2630
2632
|
}
|
|
2631
2633
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-pre-wrap text-ods-text-primary", children: value });
|
|
2632
2634
|
}
|
|
@@ -3021,7 +3023,7 @@ function CompactAssigneeDropdown({
|
|
|
3021
3023
|
value: o.value,
|
|
3022
3024
|
label: o.label,
|
|
3023
3025
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3024
|
-
|
|
3026
|
+
_chunkE2EGTHYAcjs.SquareAvatar,
|
|
3025
3027
|
{
|
|
3026
3028
|
src: o.imageUrl,
|
|
3027
3029
|
alt: o.label,
|
|
@@ -3056,7 +3058,7 @@ function CompactAssigneeDropdown({
|
|
|
3056
3058
|
className
|
|
3057
3059
|
),
|
|
3058
3060
|
children: currentAssignee.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DeletedUserAvatar, { size: "sm", accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}` }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3059
|
-
|
|
3061
|
+
_chunkE2EGTHYAcjs.SquareAvatar,
|
|
3060
3062
|
{
|
|
3061
3063
|
src: currentAssignee.avatarSrc,
|
|
3062
3064
|
alt: currentAssignee.name,
|
|
@@ -3104,7 +3106,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
3104
3106
|
const opt = option;
|
|
3105
3107
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-sf)]", children: [
|
|
3106
3108
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3107
|
-
|
|
3109
|
+
_chunkE2EGTHYAcjs.SquareAvatar,
|
|
3108
3110
|
{
|
|
3109
3111
|
src: opt.imageUrl,
|
|
3110
3112
|
alt: opt.label,
|
|
@@ -3139,7 +3141,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
3139
3141
|
accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}`
|
|
3140
3142
|
}
|
|
3141
3143
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3142
|
-
|
|
3144
|
+
_chunkE2EGTHYAcjs.SquareAvatar,
|
|
3143
3145
|
{
|
|
3144
3146
|
src: currentAssignee.avatarSrc,
|
|
3145
3147
|
alt: currentAssignee.name,
|
|
@@ -3164,7 +3166,7 @@ function DefaultAssigneeDropdown({ currentAssignee, options, isLoading, onAssign
|
|
|
3164
3166
|
accessibleLabel: `Deleted user: ${currentAssignee.name || currentAssignee.id}`
|
|
3165
3167
|
}
|
|
3166
3168
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3167
|
-
|
|
3169
|
+
_chunkE2EGTHYAcjs.SquareAvatar,
|
|
3168
3170
|
{
|
|
3169
3171
|
src: currentAssignee.avatarSrc,
|
|
3170
3172
|
alt: currentAssignee.name,
|
|
@@ -3238,7 +3240,7 @@ function TextValue({ value }) {
|
|
|
3238
3240
|
}
|
|
3239
3241
|
) : onClick ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick, title: text, className: interactiveClass, children: text }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", title: text, children: text }),
|
|
3240
3242
|
hasImage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3241
|
-
|
|
3243
|
+
_chunkE2EGTHYAcjs.SquareAvatar,
|
|
3242
3244
|
{
|
|
3243
3245
|
src: imageSrc,
|
|
3244
3246
|
alt: text,
|
|
@@ -3258,7 +3260,7 @@ function RowValue({ value }) {
|
|
|
3258
3260
|
}
|
|
3259
3261
|
case "status": {
|
|
3260
3262
|
const { type: _type, ...props } = value;
|
|
3261
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3263
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.TicketStatusTag, { ...props });
|
|
3262
3264
|
}
|
|
3263
3265
|
case "custom":
|
|
3264
3266
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: value.content });
|
|
@@ -4169,7 +4171,7 @@ function TagsManager({
|
|
|
4169
4171
|
}
|
|
4170
4172
|
),
|
|
4171
4173
|
selectedTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4172
|
-
|
|
4174
|
+
_chunkROQTWRV7cjs.Tag,
|
|
4173
4175
|
{
|
|
4174
4176
|
label: tag.name,
|
|
4175
4177
|
variant: "outline",
|
|
@@ -4714,10 +4716,10 @@ function useConfirm() {
|
|
|
4714
4716
|
},
|
|
4715
4717
|
[]
|
|
4716
4718
|
);
|
|
4717
|
-
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4718
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4719
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4720
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4719
|
+
const dialog = pending ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkROQTWRV7cjs.Modal, { isOpen: open, onClose: () => decide(false), children: [
|
|
4720
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.ModalTitle, { children: pending.title }) }),
|
|
4721
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.ModalContent, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: pending.body }) }),
|
|
4722
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkROQTWRV7cjs.ModalFooter, { children: [
|
|
4721
4723
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCJBSU3XBcjs.Button, { variant: "outline", onClick: () => decide(false), children: "Cancel" }),
|
|
4722
4724
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCJBSU3XBcjs.Button, { variant: "destructive", onClick: () => decide(true), children: "Confirm" })
|
|
4723
4725
|
] })
|
|
@@ -4780,9 +4782,9 @@ function AdminFormModal({
|
|
|
4780
4782
|
body: "Your edits have not been saved. Close and discard them?"
|
|
4781
4783
|
});
|
|
4782
4784
|
if (!isOpen) return null;
|
|
4783
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4784
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4785
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4785
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkROQTWRV7cjs.Modal, { isOpen: true, onClose: guardedClose, size: effectiveSize, children: [
|
|
4786
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkROQTWRV7cjs.ModalHeader, { children: [
|
|
4787
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.ModalTitle, { children: title }),
|
|
4786
4788
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-ods-text-secondary text-h6", children: subtitle })
|
|
4787
4789
|
] }),
|
|
4788
4790
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -4807,7 +4809,7 @@ function AdminFormModal({
|
|
|
4807
4809
|
// a shrink-to-fit flex item pinned to the left of a 1400px panel).
|
|
4808
4810
|
// The placeholder owns its own layout and mirrors the column count so
|
|
4809
4811
|
// the modal doesn't visibly re-flow when the entity lands.
|
|
4810
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4812
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.ModalContent, { children: loadingContent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-busy": "true", children: loadingContent }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4811
4813
|
"div",
|
|
4812
4814
|
{
|
|
4813
4815
|
"aria-busy": "true",
|
|
@@ -4828,12 +4830,12 @@ function AdminFormModal({
|
|
|
4828
4830
|
]
|
|
4829
4831
|
}
|
|
4830
4832
|
) })
|
|
4831
|
-
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4833
|
+
) : twoColumn ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.ModalTwoColumn, { left: leftColumn, right: rightColumn }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.ModalContent, { className: contentClassName, children }),
|
|
4832
4834
|
error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { role: "alert", className: "shrink-0 text-ods-error text-h6", children: error })
|
|
4833
4835
|
]
|
|
4834
4836
|
}
|
|
4835
4837
|
),
|
|
4836
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4838
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.ModalFooter, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between gap-[var(--spacing-system-xsf)]", children: [
|
|
4837
4839
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: footerExtras }),
|
|
4838
4840
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
4839
4841
|
footerStatus,
|
|
@@ -6936,7 +6938,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
6936
6938
|
};
|
|
6937
6939
|
const displayImageSrc = (url) => transformImageSrc ? transformImageSrc(url) : url;
|
|
6938
6940
|
const renderVideo = (item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6939
|
-
|
|
6941
|
+
_chunkROQTWRV7cjs.Video,
|
|
6940
6942
|
{
|
|
6941
6943
|
url: item.src,
|
|
6942
6944
|
poster: item.poster ? displayImageSrc(item.poster) : void 0,
|
|
@@ -7368,7 +7370,7 @@ function RedditEmbedClient({ url, maxWidth = 700 }) {
|
|
|
7368
7370
|
width: m.width,
|
|
7369
7371
|
height: m.height
|
|
7370
7372
|
}));
|
|
7371
|
-
const formatNumber2 =
|
|
7373
|
+
const formatNumber2 = _chunkE2EGTHYAcjs.formatLargeNumber;
|
|
7372
7374
|
const truncateText = (text, maxLength = 600) => {
|
|
7373
7375
|
if (text.length <= maxLength) return text;
|
|
7374
7376
|
return text.slice(0, maxLength) + "...";
|
|
@@ -7660,7 +7662,7 @@ function buildRichEmbedOverrides({
|
|
|
7660
7662
|
ogEndpointPath,
|
|
7661
7663
|
textSizes
|
|
7662
7664
|
}) {
|
|
7663
|
-
const standard =
|
|
7665
|
+
const standard = _chunkROQTWRV7cjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7664
7666
|
return {
|
|
7665
7667
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7666
7668
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7670,7 +7672,7 @@ function buildRichEmbedOverrides({
|
|
|
7670
7672
|
const language = match ? match[1] : "";
|
|
7671
7673
|
const fenceText = () => String(children).replace(/\n$/, "").trim();
|
|
7672
7674
|
if (language === "youtube-embed") {
|
|
7673
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7675
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.Video, { kind: "youtube", url: fenceText() });
|
|
7674
7676
|
}
|
|
7675
7677
|
if (language === "reddit-embed") {
|
|
7676
7678
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: fenceText() });
|
|
@@ -7711,7 +7713,7 @@ function buildRichEmbedOverrides({
|
|
|
7711
7713
|
"data-figma-url": figmaUrl
|
|
7712
7714
|
} = divProps;
|
|
7713
7715
|
if (className === "youtube-embed" && videoId) {
|
|
7714
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7716
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.Video, { kind: "youtube", url: videoId });
|
|
7715
7717
|
}
|
|
7716
7718
|
if (className === "reddit-embed" && postUrl) {
|
|
7717
7719
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: postUrl });
|
|
@@ -7796,14 +7798,14 @@ function buildRichEmbedOverrides({
|
|
|
7796
7798
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7797
7799
|
// elsewhere). Guard against empty `![]()`.
|
|
7798
7800
|
img: ({ src, alt }) => {
|
|
7799
|
-
if (!
|
|
7801
|
+
if (!_chunkROQTWRV7cjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7800
7802
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7801
7803
|
},
|
|
7802
7804
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7803
7805
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7804
7806
|
video: ({ src, poster, className }) => {
|
|
7805
|
-
if (!
|
|
7806
|
-
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,
|
|
7807
|
+
if (!_chunkROQTWRV7cjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7808
|
+
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, _chunkROQTWRV7cjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
7807
7809
|
}
|
|
7808
7810
|
};
|
|
7809
7811
|
}
|
|
@@ -8044,13 +8046,13 @@ var RichMarkdownInner = ({
|
|
|
8044
8046
|
},
|
|
8045
8047
|
[resolveLinkEndpointUrl, resolveSource]
|
|
8046
8048
|
);
|
|
8047
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
8049
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkROQTWRV7cjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
8048
8050
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
8049
8051
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
8050
8052
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
8051
8053
|
);
|
|
8052
8054
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8053
|
-
|
|
8055
|
+
_chunkROQTWRV7cjs.MarkdownEngine,
|
|
8054
8056
|
{
|
|
8055
8057
|
content,
|
|
8056
8058
|
className,
|
|
@@ -8072,7 +8074,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
8072
8074
|
className = "",
|
|
8073
8075
|
sectionIds,
|
|
8074
8076
|
onInternalLinkClick,
|
|
8075
|
-
brokenLinks =
|
|
8077
|
+
brokenLinks = _chunkROQTWRV7cjs.NO_BROKEN_LINKS,
|
|
8076
8078
|
currentPath,
|
|
8077
8079
|
resolveSource = "openframe-docs",
|
|
8078
8080
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -8645,7 +8647,7 @@ function FilterModal({
|
|
|
8645
8647
|
const dateDefaultSort = _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _165 => _165.defaultSort]), () => ( "desc"));
|
|
8646
8648
|
const [draftDateSort, setDraftDateSort] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _166 => _166.sort]), () => ( dateDefaultSort)));
|
|
8647
8649
|
const [draftDateRange, setDraftDateRange] = _react.useState.call(void 0, _optionalChain([dateFilter, 'optionalAccess', _167 => _167.range]));
|
|
8648
|
-
const { scrollRef, fadeTop, fadeBottom, update: updateFade } =
|
|
8650
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkROQTWRV7cjs.useScrollFade.call(void 0, );
|
|
8649
8651
|
const seedKey = `${JSON.stringify(currentFilters)}|${JSON.stringify(_nullishCoalesce(selectedTags, () => ( [])))}`;
|
|
8650
8652
|
const seedSourceRef = _react.useRef.call(void 0, { currentFilters, selectedTags, dateFilter, dateDefaultSort });
|
|
8651
8653
|
_react.useEffect.call(void 0, () => {
|
|
@@ -8690,10 +8692,10 @@ function FilterModal({
|
|
|
8690
8692
|
const hasFilterGroups = filterGroups.length > 0;
|
|
8691
8693
|
const hasTagFilter = !!tagFilterKeys && tagFilterKeys.length > 0 && !!onTagsChange;
|
|
8692
8694
|
const isEmpty = !isLoading && !hasSort && !hasFilterGroups && !hasTagFilter && !dateFilter;
|
|
8693
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8694
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8695
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkROQTWRV7cjs.Modal, { isOpen, onClose, className: _chunk23V5BSHDcjs.cn.call(void 0, "max-h-[90vh] max-w-none", className), children: [
|
|
8696
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.ModalTitle, { children: title }) }),
|
|
8695
8697
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8696
|
-
|
|
8698
|
+
_chunkROQTWRV7cjs.ModalContent,
|
|
8697
8699
|
{
|
|
8698
8700
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
8699
8701
|
"flex min-h-0 flex-1 flex-col",
|
|
@@ -8785,12 +8787,12 @@ function FilterModal({
|
|
|
8785
8787
|
] })
|
|
8786
8788
|
}
|
|
8787
8789
|
),
|
|
8788
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8789
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8790
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop }),
|
|
8791
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom })
|
|
8790
8792
|
] })
|
|
8791
8793
|
}
|
|
8792
8794
|
),
|
|
8793
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8795
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkROQTWRV7cjs.ModalFooter, { children: [
|
|
8794
8796
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCJBSU3XBcjs.Button, { variant: "outline", className: "h-11 flex-1", onClick: handleReset, children: resetButtonText }),
|
|
8795
8797
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCJBSU3XBcjs.Button, { variant: "accent", className: "h-11 flex-1", onClick: handleApply, children: applyButtonText })
|
|
8796
8798
|
] })
|
|
@@ -8834,9 +8836,9 @@ function actionToMenuItems(action, idx) {
|
|
|
8834
8836
|
function renderActionButton(action, opts = {}) {
|
|
8835
8837
|
const button = renderRawActionButton(action, opts);
|
|
8836
8838
|
if (!action.tooltip) return button;
|
|
8837
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8838
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8839
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8839
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkROQTWRV7cjs.Tooltip, { children: [
|
|
8840
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.TooltipTrigger, { asChild: true, children: button }),
|
|
8841
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.TooltipContent, { children: action.tooltip })
|
|
8840
8842
|
] }) });
|
|
8841
8843
|
}
|
|
8842
8844
|
function renderRawActionButton(action, opts = {}) {
|
|
@@ -8860,7 +8862,7 @@ function renderRawActionButton(action, opts = {}) {
|
|
|
8860
8862
|
}
|
|
8861
8863
|
if (action.submenu && action.submenu.length > 0) {
|
|
8862
8864
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8863
|
-
|
|
8865
|
+
_chunkROQTWRV7cjs.ActionsMenuDropdown,
|
|
8864
8866
|
{
|
|
8865
8867
|
groups: [{ items: action.submenu }],
|
|
8866
8868
|
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -8995,10 +8997,10 @@ function IconButtonsVariant({
|
|
|
8995
8997
|
selector,
|
|
8996
8998
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
8997
8999
|
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton(action) }, actionKey(action, idx))),
|
|
8998
|
-
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9000
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.ActionsMenuDropdown, { groups: menuActions })
|
|
8999
9001
|
] })
|
|
9000
9002
|
] }),
|
|
9001
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex md:hidden", className), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileTriggerSkeleton, {}) : useSingleActionMobile && singleAction ? renderActionButton(singleAction, { iconOnly: true }) : hasMobileMenuItems ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9003
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex md:hidden", className), children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MobileTriggerSkeleton, {}) : useSingleActionMobile && singleAction ? renderActionButton(singleAction, { iconOnly: true }) : hasMobileMenuItems ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.ActionsMenuDropdown, { groups: mobileMenuGroups }) : null })
|
|
9002
9004
|
] });
|
|
9003
9005
|
}
|
|
9004
9006
|
function PrimaryButtonsVariant({
|
|
@@ -9036,7 +9038,7 @@ function MenuPrimaryVariant({
|
|
|
9036
9038
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "hidden items-center md:flex", ACTIONS_GAP, className), children: [
|
|
9037
9039
|
selector,
|
|
9038
9040
|
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ActionSkeletons, { actions: desktopActions }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
9039
|
-
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9041
|
+
hasMenuActions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.ActionsMenuDropdown, { groups: menuActions }),
|
|
9040
9042
|
desktopActions.map((action, idx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react2.default.Fragment, { children: renderActionButton({ ...action, variant: action.variant || "accent" }) }, `desktop-${actionKey(action, idx)}`))
|
|
9041
9043
|
] })
|
|
9042
9044
|
] }),
|
|
@@ -9044,7 +9046,7 @@ function MenuPrimaryVariant({
|
|
|
9044
9046
|
// The selector rides into the menu as its header row: on mobile the
|
|
9045
9047
|
// title row has no room for it, and hiding it entirely (what
|
|
9046
9048
|
// `icon-buttons` does) would leave no way to switch views at all.
|
|
9047
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9049
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.ActionsMenuDropdown, { groups: mobileMenuGroups, header: selector })
|
|
9048
9050
|
) : null })
|
|
9049
9051
|
] });
|
|
9050
9052
|
}
|
|
@@ -9339,7 +9341,7 @@ function EntityImage({ src, alt, fallbackText, sizeClassName, className }) {
|
|
|
9339
9341
|
const [failedSrc, setFailedSrc] = _react2.default.useState(null);
|
|
9340
9342
|
const imageFailed = resolvedSrc !== void 0 && failedSrc === resolvedSrc;
|
|
9341
9343
|
const showFallback = imageFailed || !resolvedSrc;
|
|
9342
|
-
const initials =
|
|
9344
|
+
const initials = _chunkE2EGTHYAcjs.personInitials.call(void 0, _nullishCoalesce(fallbackText, () => ( alt)));
|
|
9343
9345
|
if (showFallback) {
|
|
9344
9346
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9345
9347
|
"div",
|
|
@@ -9450,7 +9452,7 @@ function TitleBlock({
|
|
|
9450
9452
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
9451
9453
|
(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: [
|
|
9452
9454
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9453
|
-
|
|
9455
|
+
_chunkROQTWRV7cjs.FloatingTooltip,
|
|
9454
9456
|
{
|
|
9455
9457
|
content: title,
|
|
9456
9458
|
side: "bottom",
|
|
@@ -9467,12 +9469,12 @@ function TitleBlock({
|
|
|
9467
9469
|
}
|
|
9468
9470
|
),
|
|
9469
9471
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: titleAdornment })
|
|
9470
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9472
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.FloatingTooltip, { content: title, side: "bottom", disabled: !titleTruncated, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { ref: titleRef, className: _chunk23V5BSHDcjs.cn.call(void 0, titleClass, "text-ods-text-primary", titleOverflowClass), children: titleNode }) })),
|
|
9471
9473
|
hasSubtitleRow && /* The NBSP is a pure spacer, reached only in `'always'` mode: an
|
|
9472
9474
|
empty `p` collapses to zero height (its only content would be
|
|
9473
9475
|
collapsible whitespace), which is exactly the shift that mode
|
|
9474
9476
|
exists to prevent. Hidden from AT — it carries no meaning. */
|
|
9475
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9477
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.FloatingTooltip, { content: subtitle, side: "bottom", disabled: !subtitleTruncated, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9476
9478
|
"p",
|
|
9477
9479
|
{
|
|
9478
9480
|
ref: subtitleRef,
|
|
@@ -9483,7 +9485,7 @@ function TitleBlock({
|
|
|
9483
9485
|
) })
|
|
9484
9486
|
] })
|
|
9485
9487
|
] }) : title && (titleAdornment ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 items-center gap-[var(--spacing-system-m)]", children: [
|
|
9486
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9488
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.FloatingTooltip, { content: title, side: "bottom", disabled: !titleTruncated, triggerClassName: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { ref: titleRef, className: _chunk23V5BSHDcjs.cn.call(void 0, titleClass, "min-w-0 text-ods-text-primary", titleOverflowClass), children: title }) }),
|
|
9487
9489
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: titleAdornment })
|
|
9488
9490
|
] }) : (
|
|
9489
9491
|
/* This branch never had the single-line clamp, so text already
|
|
@@ -10898,7 +10900,7 @@ function lastPathSegment(url) {
|
|
|
10898
10900
|
function makeComposeContentUrl(opts) {
|
|
10899
10901
|
const suffixes = _nullishCoalesce(opts.suffixes, () => ( DEFAULT_CONTENT_SUFFIXES));
|
|
10900
10902
|
return ({ type: rawType, identifier, slug: slugHint, externalUrl, targetPlatform, platforms }) => {
|
|
10901
|
-
const type =
|
|
10903
|
+
const type = _chunkE2EGTHYAcjs.canonicalContentRefType.call(void 0, rawType);
|
|
10902
10904
|
const override = opts.overrides && Object.prototype.hasOwnProperty.call(opts.overrides, type) ? opts.overrides[type] : void 0;
|
|
10903
10905
|
if (override) return { ...override(identifier), hostOverride: true };
|
|
10904
10906
|
const seg = _nullishCoalesce((Object.prototype.hasOwnProperty.call(suffixes, type) ? suffixes[type] : void 0), () => ( type));
|
|
@@ -11085,7 +11087,7 @@ function extractSections(markdown, options = {}) {
|
|
|
11085
11087
|
if (heading.level > opts.maxLevel) continue;
|
|
11086
11088
|
let title = heading.text;
|
|
11087
11089
|
if (opts.stripFormattingMarkers) {
|
|
11088
|
-
title =
|
|
11090
|
+
title = _chunkROQTWRV7cjs.stripInlineMarkdown.call(void 0, title).trim();
|
|
11089
11091
|
}
|
|
11090
11092
|
const baseId = _chunkYXWGSDK4cjs.slugifyHeadingBase.call(void 0, opts.removeEmojis ? _chunkYXWGSDK4cjs.stripHeadingEmojis.call(void 0, title) : title);
|
|
11091
11093
|
const cleanId = baseId || `section-${sections.length + 1}`;
|
|
@@ -11658,7 +11660,7 @@ function DashboardInfoCard({
|
|
|
11658
11660
|
const asTag = percentageDisplay === "tag" || percentageDisplay === "auto" && (progressVariant === "warning" || progressVariant === "error");
|
|
11659
11661
|
if (asTag) {
|
|
11660
11662
|
const tagVariant = progressVariant === "warning" || progressVariant === "error" ? progressVariant : progressVariant === "success" ? "success" : "grey";
|
|
11661
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11663
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.Tag, { variant: tagVariant, label: `${percentage}%` });
|
|
11662
11664
|
}
|
|
11663
11665
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: [
|
|
11664
11666
|
"(",
|
|
@@ -11712,7 +11714,7 @@ function DashboardInfoCard({
|
|
|
11712
11714
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk23V5BSHDcjs.cn.call(void 0, "truncate text-ods-text-primary text-h3 md:text-h2", valueClassName), children: formattedValue }),
|
|
11713
11715
|
subValue && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: subValue }),
|
|
11714
11716
|
renderPercentage(),
|
|
11715
|
-
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11717
|
+
tooltip && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.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, _chunkGSQM4PDRcjs.QuestionCircleIcon, { size: 20 }) }) })
|
|
11716
11718
|
] })
|
|
11717
11719
|
] }),
|
|
11718
11720
|
renderProgress()
|
|
@@ -11895,7 +11897,7 @@ function DeviceCard({
|
|
|
11895
11897
|
] }),
|
|
11896
11898
|
(statusTag || device.lastSeen) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-2", children: [
|
|
11897
11899
|
statusTag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11898
|
-
|
|
11900
|
+
_chunkROQTWRV7cjs.Tag,
|
|
11899
11901
|
{
|
|
11900
11902
|
variant: statusTag.variant,
|
|
11901
11903
|
icon: statusTag.icon,
|
|
@@ -11909,7 +11911,7 @@ function DeviceCard({
|
|
|
11909
11911
|
formatLastSeen(device.lastSeen)
|
|
11910
11912
|
] })
|
|
11911
11913
|
] }),
|
|
11912
|
-
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,
|
|
11914
|
+
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, _chunkROQTWRV7cjs.Tag, { variant: "outline", label: tag }, index)) })
|
|
11913
11915
|
]
|
|
11914
11916
|
}
|
|
11915
11917
|
);
|
|
@@ -11970,7 +11972,7 @@ function FeatureCardGrid({
|
|
|
11970
11972
|
if (allCardsHaveNoBorders) {
|
|
11971
11973
|
finalCardClassName = "bg-transparent p-0 overflow-visible border-0 shadow-none rounded-none";
|
|
11972
11974
|
}
|
|
11973
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11975
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE2EGTHYAcjs.Card, { className: `${finalCardClassName} ${className}`, children: Array.from({ length: rows }, (_, rowIndex) => {
|
|
11974
11976
|
const startIndex = rowIndex * itemsPerRow;
|
|
11975
11977
|
const rowItems = items.slice(startIndex, startIndex + itemsPerRow);
|
|
11976
11978
|
const isLastRow = rowIndex === rows - 1;
|
|
@@ -12000,7 +12002,7 @@ function FeatureCardGrid({
|
|
|
12000
12002
|
item.icon && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between", children: [
|
|
12001
12003
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, item.icon, { size: 80, color: item.iconColor }),
|
|
12002
12004
|
item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12003
|
-
|
|
12005
|
+
_chunkE2EGTHYAcjs.StatusBadge,
|
|
12004
12006
|
{
|
|
12005
12007
|
text: item.badge.text,
|
|
12006
12008
|
variant: item.badge.variant || "card",
|
|
@@ -12009,7 +12011,7 @@ function FeatureCardGrid({
|
|
|
12009
12011
|
)
|
|
12010
12012
|
] }),
|
|
12011
12013
|
!item.icon && item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-start justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12012
|
-
|
|
12014
|
+
_chunkE2EGTHYAcjs.StatusBadge,
|
|
12013
12015
|
{
|
|
12014
12016
|
text: item.badge.text,
|
|
12015
12017
|
variant: item.badge.variant || "card",
|
|
@@ -12057,7 +12059,7 @@ function FeatureList({ items, className = "", iconBoxSize = 72 }) {
|
|
|
12057
12059
|
|
|
12058
12060
|
function SourceTooltip({ intro, sources, note, iconClassName, triggerAnchorProps }) {
|
|
12059
12061
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12060
|
-
|
|
12062
|
+
_chunkROQTWRV7cjs.FloatingTooltip,
|
|
12061
12063
|
{
|
|
12062
12064
|
as: "span",
|
|
12063
12065
|
side: "top",
|
|
@@ -12241,7 +12243,7 @@ function DropdownButton({
|
|
|
12241
12243
|
)
|
|
12242
12244
|
);
|
|
12243
12245
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12244
|
-
|
|
12246
|
+
_chunkROQTWRV7cjs.ActionsMenuDropdown,
|
|
12245
12247
|
{
|
|
12246
12248
|
groups: _nullishCoalesce(groups, () => ( [{ items: _nullishCoalesce(items, () => ( [])) }])),
|
|
12247
12249
|
open,
|
|
@@ -12479,7 +12481,7 @@ function ServiceCardRowItem({ row }) {
|
|
|
12479
12481
|
),
|
|
12480
12482
|
children: [
|
|
12481
12483
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12482
|
-
|
|
12484
|
+
_chunkROQTWRV7cjs.FloatingTooltip,
|
|
12483
12485
|
{
|
|
12484
12486
|
content: row.value,
|
|
12485
12487
|
side: "top",
|
|
@@ -12559,6 +12561,74 @@ var Slider = _react.forwardRef.call(void 0,
|
|
|
12559
12561
|
);
|
|
12560
12562
|
Slider.displayName = "Slider";
|
|
12561
12563
|
|
|
12564
|
+
// src/components/ui/people-cell.tsx
|
|
12565
|
+
|
|
12566
|
+
function PersonCell({
|
|
12567
|
+
name,
|
|
12568
|
+
avatarUrl,
|
|
12569
|
+
secondary,
|
|
12570
|
+
fallbackName = "Unassigned",
|
|
12571
|
+
onClick,
|
|
12572
|
+
actionTitle
|
|
12573
|
+
}) {
|
|
12574
|
+
const displayName = name || fallbackName;
|
|
12575
|
+
const row = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "group/person-cell flex min-w-0 items-center gap-3", children: [
|
|
12576
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE2EGTHYAcjs.SquareAvatar, { size: "sm", src: _nullishCoalesce(avatarUrl, () => ( void 0)), alt: displayName, fallback: displayName }),
|
|
12577
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
12578
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12579
|
+
TruncateText,
|
|
12580
|
+
{
|
|
12581
|
+
variant: "h6",
|
|
12582
|
+
className: onClick ? "text-ods-accent group-hover/person-cell:underline" : void 0,
|
|
12583
|
+
children: displayName
|
|
12584
|
+
}
|
|
12585
|
+
),
|
|
12586
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TruncateText, { variant: "h6", tone: "secondary", children: secondary === void 0 ? "\xA0" : secondary || "\xB7" })
|
|
12587
|
+
] })
|
|
12588
|
+
] });
|
|
12589
|
+
if (!onClick) return row;
|
|
12590
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12591
|
+
_chunkCJBSU3XBcjs.Button,
|
|
12592
|
+
{
|
|
12593
|
+
variant: "transparent",
|
|
12594
|
+
onClick,
|
|
12595
|
+
title: actionTitle,
|
|
12596
|
+
className: "h-auto w-full min-w-0 cursor-pointer justify-start bg-transparent p-0 text-left hover:bg-transparent focus:bg-transparent",
|
|
12597
|
+
children: row
|
|
12598
|
+
}
|
|
12599
|
+
);
|
|
12600
|
+
}
|
|
12601
|
+
var PEOPLE_CELL_STACK_SLOTS = 2;
|
|
12602
|
+
function PeopleCell({ people, fallbackName = "Unassigned" }) {
|
|
12603
|
+
if (people.length <= 1) {
|
|
12604
|
+
const [person] = people;
|
|
12605
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12606
|
+
PersonCell,
|
|
12607
|
+
{
|
|
12608
|
+
name: _optionalChain([person, 'optionalAccess', _249 => _249.name]),
|
|
12609
|
+
avatarUrl: _optionalChain([person, 'optionalAccess', _250 => _250.avatarUrl]),
|
|
12610
|
+
secondary: person ? person.secondary : void 0,
|
|
12611
|
+
fallbackName
|
|
12612
|
+
}
|
|
12613
|
+
);
|
|
12614
|
+
}
|
|
12615
|
+
const fullNames = people.map((p) => p.name || "Unknown").join(", ");
|
|
12616
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.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: [
|
|
12617
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12618
|
+
_chunkE2EGTHYAcjs.AvatarStack,
|
|
12619
|
+
{
|
|
12620
|
+
size: "sm",
|
|
12621
|
+
slots: PEOPLE_CELL_STACK_SLOTS,
|
|
12622
|
+
people: people.map((p) => ({ key: p.key, name: p.name || "Unknown", avatarUrl: p.avatarUrl }))
|
|
12623
|
+
}
|
|
12624
|
+
) }),
|
|
12625
|
+
/* @__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: [
|
|
12626
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": true, children: people.map((p) => _chunkE2EGTHYAcjs.personFirstName.call(void 0, p.name, "Unknown")).join(" & ") }),
|
|
12627
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", children: fullNames })
|
|
12628
|
+
] })
|
|
12629
|
+
] }) });
|
|
12630
|
+
}
|
|
12631
|
+
|
|
12562
12632
|
// src/components/ui/title-content-block.tsx
|
|
12563
12633
|
|
|
12564
12634
|
var spacingMap2 = {
|
|
@@ -12605,9 +12675,9 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
12605
12675
|
return next;
|
|
12606
12676
|
});
|
|
12607
12677
|
};
|
|
12608
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12678
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkROQTWRV7cjs.Tooltip, { open, onOpenChange: setOpen, children: [
|
|
12609
12679
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12610
|
-
|
|
12680
|
+
_chunkROQTWRV7cjs.TooltipTrigger,
|
|
12611
12681
|
{
|
|
12612
12682
|
asChild: true,
|
|
12613
12683
|
onPointerDown: (e) => {
|
|
@@ -12625,7 +12695,7 @@ function TouchFriendlyTooltip({ content, side = "left", children }) {
|
|
|
12625
12695
|
children
|
|
12626
12696
|
}
|
|
12627
12697
|
),
|
|
12628
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12698
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.TooltipContent, { side, className: "max-w-xs", children: content })
|
|
12629
12699
|
] }) });
|
|
12630
12700
|
}
|
|
12631
12701
|
|
|
@@ -12822,7 +12892,7 @@ function CursorPaginationSimple({
|
|
|
12822
12892
|
{
|
|
12823
12893
|
variant: "transparent",
|
|
12824
12894
|
size: "icon",
|
|
12825
|
-
onClick: () => _optionalChain([onPrevious, 'optionalCall',
|
|
12895
|
+
onClick: () => _optionalChain([onPrevious, 'optionalCall', _251 => _251("")]),
|
|
12826
12896
|
disabled: !hasPreviousPage || loading,
|
|
12827
12897
|
className: "h-8 w-8",
|
|
12828
12898
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" }),
|
|
@@ -12834,7 +12904,7 @@ function CursorPaginationSimple({
|
|
|
12834
12904
|
{
|
|
12835
12905
|
variant: "transparent",
|
|
12836
12906
|
size: "icon",
|
|
12837
|
-
onClick: () => _optionalChain([onNext, 'optionalCall',
|
|
12907
|
+
onClick: () => _optionalChain([onNext, 'optionalCall', _252 => _252("")]),
|
|
12838
12908
|
disabled: !hasNextPage || loading,
|
|
12839
12909
|
className: "h-8 w-8",
|
|
12840
12910
|
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" }),
|
|
@@ -12916,7 +12986,7 @@ var ROW_SHELL_CLASSES = "items-center gap-[var(--spacing-system-mf)] px-[var(--s
|
|
|
12916
12986
|
function DataTableSkeleton({ rows = 10, className, rowClassName, rowHeightClassName }) {
|
|
12917
12987
|
const table = useDataTableContext();
|
|
12918
12988
|
const columns = table.getVisibleFlatColumns();
|
|
12919
|
-
const firstColumnId = _optionalChain([columns, 'access',
|
|
12989
|
+
const firstColumnId = _optionalChain([columns, 'access', _253 => _253[0], 'optionalAccess', _254 => _254.id]);
|
|
12920
12990
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
12921
12991
|
"div",
|
|
12922
12992
|
{
|
|
@@ -12943,13 +13013,13 @@ function DataTableSkeleton({ rows = 10, className, rowClassName, rowHeightClassN
|
|
|
12943
13013
|
{
|
|
12944
13014
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
12945
13015
|
"flex shrink-0 flex-col justify-center",
|
|
12946
|
-
_optionalChain([meta, 'optionalAccess',
|
|
13016
|
+
_optionalChain([meta, 'optionalAccess', _255 => _255.width]) || "flex-1",
|
|
12947
13017
|
// Same responsive hiding the real header and row apply.
|
|
12948
13018
|
// Without it a `hideAt` column was drawn in the skeleton and
|
|
12949
13019
|
// absent from the loaded table, so below that breakpoint the
|
|
12950
13020
|
// remaining columns were sized against a different total and
|
|
12951
13021
|
// the whole row re-laid-out the moment data arrived.
|
|
12952
|
-
getHideClasses(_optionalChain([meta, 'optionalAccess',
|
|
13022
|
+
getHideClasses(_optionalChain([meta, 'optionalAccess', _256 => _256.hideAt]))
|
|
12953
13023
|
),
|
|
12954
13024
|
children: [
|
|
12955
13025
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-[var(--spacing-system-xxs)] h-5 w-3/4 rounded-sm bg-ods-bg-surface" }),
|
|
@@ -13053,8 +13123,8 @@ function TableEmptyState({ message, description, emptyState, icon, action, class
|
|
|
13053
13123
|
icon: _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, {}))),
|
|
13054
13124
|
title: _nullishCoalesce(message, () => ( "No results found")),
|
|
13055
13125
|
description: _nullishCoalesce(description, () => ( (message == null ? "Try adjusting your search or filters" : void 0))),
|
|
13056
|
-
buttonLabel: _optionalChain([action, 'optionalAccess',
|
|
13057
|
-
onButtonClick: _optionalChain([action, 'optionalAccess',
|
|
13126
|
+
buttonLabel: _optionalChain([action, 'optionalAccess', _257 => _257.label]),
|
|
13127
|
+
onButtonClick: _optionalChain([action, 'optionalAccess', _258 => _258.onClick]),
|
|
13058
13128
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "py-[var(--spacing-system-xxl)]", className),
|
|
13059
13129
|
...emptyState
|
|
13060
13130
|
}
|
|
@@ -13072,7 +13142,7 @@ function TableColumnFilterDropdown({
|
|
|
13072
13142
|
placement = "bottom-start",
|
|
13073
13143
|
dropdownClassName = "min-w-[240px]"
|
|
13074
13144
|
}) {
|
|
13075
|
-
const activeCount = _optionalChain([filters, 'optionalAccess',
|
|
13145
|
+
const activeCount = _optionalChain([filters, 'optionalAccess', _259 => _259[columnKey], 'optionalAccess', _260 => _260.length]) || 0;
|
|
13076
13146
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13077
13147
|
FiltersDropdown,
|
|
13078
13148
|
{
|
|
@@ -13112,7 +13182,7 @@ function TableColumnFilterDropdown({
|
|
|
13112
13182
|
delete newFilters[columnKey];
|
|
13113
13183
|
onFilterChange(newFilters);
|
|
13114
13184
|
},
|
|
13115
|
-
currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess',
|
|
13185
|
+
currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess', _261 => _261[columnKey]]) || [] },
|
|
13116
13186
|
placement,
|
|
13117
13187
|
dropdownClassName
|
|
13118
13188
|
}
|
|
@@ -13141,6 +13211,7 @@ function getHideClasses2(hideAt) {
|
|
|
13141
13211
|
|
|
13142
13212
|
// src/components/ui/table/table-header.tsx
|
|
13143
13213
|
|
|
13214
|
+
var TABLE_HEADER_LABEL_CLASS = "min-w-0 text-balance uppercase text-ods-text-secondary text-h5";
|
|
13144
13215
|
function TableHeader({
|
|
13145
13216
|
columns,
|
|
13146
13217
|
className,
|
|
@@ -13231,23 +13302,28 @@ function TableHeader({
|
|
|
13231
13302
|
] })
|
|
13232
13303
|
) : column.filterable && column.filterOptions && onFilterChange ? (
|
|
13233
13304
|
/* Filterable column — label + icon are both inside the dropdown trigger */
|
|
13234
|
-
/* @__PURE__ */ _jsxruntime.
|
|
13235
|
-
|
|
13236
|
-
|
|
13237
|
-
|
|
13238
|
-
|
|
13239
|
-
|
|
13240
|
-
|
|
13241
|
-
|
|
13242
|
-
|
|
13243
|
-
|
|
13305
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
13306
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13307
|
+
TableColumnFilterDropdown,
|
|
13308
|
+
{
|
|
13309
|
+
columnKey: column.key,
|
|
13310
|
+
columnLabel: column.label,
|
|
13311
|
+
filterOptions: column.filterOptions,
|
|
13312
|
+
filters,
|
|
13313
|
+
onFilterChange
|
|
13314
|
+
}
|
|
13315
|
+
),
|
|
13316
|
+
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoHint, { label: column.label, children: column.hint }) : null
|
|
13317
|
+
] })
|
|
13244
13318
|
) : (
|
|
13245
13319
|
/* Non-filterable column — regular label with optional sort */
|
|
13246
13320
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13247
13321
|
"div",
|
|
13248
13322
|
{
|
|
13249
13323
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
13250
|
-
|
|
13324
|
+
// `min-w-0` lets the row shrink to its column, so a long label
|
|
13325
|
+
// wraps inside the cell instead of forcing the row past it.
|
|
13326
|
+
"flex min-w-0 items-center gap-2",
|
|
13251
13327
|
column.sortable && "cursor-pointer transition-colors hover:text-ods-text-primary"
|
|
13252
13328
|
),
|
|
13253
13329
|
onClick: () => handleSort(column),
|
|
@@ -13255,7 +13331,17 @@ function TableHeader({
|
|
|
13255
13331
|
column.renderHeader(),
|
|
13256
13332
|
getSortIcon(column)
|
|
13257
13333
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
13258
|
-
|
|
13334
|
+
column.hint ? (
|
|
13335
|
+
/* The hint sits in a LABEL GROUP with the text, pinned to the
|
|
13336
|
+
FIRST line (`items-start`): on a label that breaks onto a
|
|
13337
|
+
second line it reads beside the opening word instead of
|
|
13338
|
+
floating in the gap between the two. Added only when a
|
|
13339
|
+
hint exists, so a hint-less header keeps its DOM. */
|
|
13340
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13341
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
13342
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoHint, { label: column.label, children: column.hint })
|
|
13343
|
+
] })
|
|
13344
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
13259
13345
|
getSortIcon(column)
|
|
13260
13346
|
] })
|
|
13261
13347
|
}
|
|
@@ -13300,7 +13386,7 @@ function TableCardSkeleton({
|
|
|
13300
13386
|
className,
|
|
13301
13387
|
rowClassName
|
|
13302
13388
|
}) {
|
|
13303
|
-
const primaryKey = _optionalChain([(_nullishCoalesce(columns.find((c) => /flex-(1|\[)/.test(c.width || "")), () => ( columns[0]))), 'optionalAccess',
|
|
13389
|
+
const primaryKey = _optionalChain([(_nullishCoalesce(columns.find((c) => /flex-(1|\[)/.test(c.width || "")), () => ( columns[0]))), 'optionalAccess', _262 => _262.key]);
|
|
13304
13390
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13305
13391
|
"div",
|
|
13306
13392
|
{
|
|
@@ -13485,7 +13571,7 @@ function useTableMotion(enabled) {
|
|
|
13485
13571
|
// src/components/ui/table/table.tsx
|
|
13486
13572
|
|
|
13487
13573
|
function injectSyntheticColumns(columns, rowActions, renderRowActions, rowHref, actionsColumnWidth) {
|
|
13488
|
-
const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess',
|
|
13574
|
+
const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess', _263 => _263.length])) || Boolean(renderRowActions);
|
|
13489
13575
|
const result = [...columns];
|
|
13490
13576
|
const actions = _nullishCoalesce(rowActions, () => ( []));
|
|
13491
13577
|
if (hasActions) {
|
|
@@ -13592,7 +13678,7 @@ function Table({
|
|
|
13592
13678
|
return rowKey(item);
|
|
13593
13679
|
}
|
|
13594
13680
|
const key = item[rowKey];
|
|
13595
|
-
return _optionalChain([key, 'optionalAccess',
|
|
13681
|
+
return _optionalChain([key, 'optionalAccess', _264 => _264.toString, 'call', _265 => _265()]) || index.toString();
|
|
13596
13682
|
};
|
|
13597
13683
|
const getRowClassName = (item, index) => {
|
|
13598
13684
|
if (typeof rowClassName === "function") {
|
|
@@ -13626,25 +13712,25 @@ function Table({
|
|
|
13626
13712
|
const allSelected = selectedRows.length > 0 && selectedRows.length === data.length;
|
|
13627
13713
|
const someSelected = selectedRows.length > 0 && selectedRows.length < data.length;
|
|
13628
13714
|
const sentinelRef = _react.useRef.call(void 0, null);
|
|
13629
|
-
const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess',
|
|
13715
|
+
const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess', _266 => _266.onLoadMore]));
|
|
13630
13716
|
_react.useEffect.call(void 0, () => {
|
|
13631
|
-
onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess',
|
|
13717
|
+
onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess', _267 => _267.onLoadMore]);
|
|
13632
13718
|
});
|
|
13633
13719
|
_react.useEffect.call(void 0, () => {
|
|
13634
|
-
if (!_optionalChain([infiniteScroll, 'optionalAccess',
|
|
13720
|
+
if (!_optionalChain([infiniteScroll, 'optionalAccess', _268 => _268.hasNextPage]) || infiniteScroll.isFetchingNextPage) return void 0;
|
|
13635
13721
|
const sentinel = sentinelRef.current;
|
|
13636
13722
|
if (!sentinel) return void 0;
|
|
13637
13723
|
const observer = new IntersectionObserver(
|
|
13638
13724
|
(entries) => {
|
|
13639
|
-
if (_optionalChain([entries, 'access',
|
|
13640
|
-
_optionalChain([onLoadMoreRef, 'access',
|
|
13725
|
+
if (_optionalChain([entries, 'access', _269 => _269[0], 'optionalAccess', _270 => _270.isIntersecting])) {
|
|
13726
|
+
_optionalChain([onLoadMoreRef, 'access', _271 => _271.current, 'optionalCall', _272 => _272()]);
|
|
13641
13727
|
}
|
|
13642
13728
|
},
|
|
13643
13729
|
{ rootMargin: "200px" }
|
|
13644
13730
|
);
|
|
13645
13731
|
observer.observe(sentinel);
|
|
13646
13732
|
return () => observer.disconnect();
|
|
13647
|
-
}, [_optionalChain([infiniteScroll, 'optionalAccess',
|
|
13733
|
+
}, [_optionalChain([infiniteScroll, 'optionalAccess', _273 => _273.hasNextPage]), _optionalChain([infiniteScroll, 'optionalAccess', _274 => _274.isFetchingNextPage])]);
|
|
13648
13734
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex w-full flex-col gap-1", containerClassName), children: [
|
|
13649
13735
|
showToolbar && bulkActions && selectedRows.length > 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-2 flex items-center justify-between rounded-[6px] border border-ods-border bg-ods-card p-3", children: [
|
|
13650
13736
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary text-h6", children: [
|
|
@@ -13696,7 +13782,7 @@ function Table({
|
|
|
13696
13782
|
columns,
|
|
13697
13783
|
rows: skeletonRows,
|
|
13698
13784
|
compact,
|
|
13699
|
-
hasActions: (_nullishCoalesce(_optionalChain([rowActions, 'optionalAccess',
|
|
13785
|
+
hasActions: (_nullishCoalesce(_optionalChain([rowActions, 'optionalAccess', _275 => _275.length]), () => ( 0))) > 0,
|
|
13700
13786
|
hasChevron: Boolean(rowHref)
|
|
13701
13787
|
}
|
|
13702
13788
|
) : data.length === 0 ? (
|
|
@@ -13730,23 +13816,23 @@ function Table({
|
|
|
13730
13816
|
selected: isRowSelected(item),
|
|
13731
13817
|
onSelect: handleSelectRow,
|
|
13732
13818
|
animateRowReorder,
|
|
13733
|
-
motionDiv: _optionalChain([tableMotion, 'optionalAccess',
|
|
13819
|
+
motionDiv: _optionalChain([tableMotion, 'optionalAccess', _276 => _276.motionDiv])
|
|
13734
13820
|
},
|
|
13735
13821
|
getRowKey(item, index)
|
|
13736
13822
|
));
|
|
13737
|
-
const LayoutGroup = _optionalChain([tableMotion, 'optionalAccess',
|
|
13823
|
+
const LayoutGroup = _optionalChain([tableMotion, 'optionalAccess', _277 => _277.LayoutGroup]);
|
|
13738
13824
|
return animateRowReorder && LayoutGroup ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LayoutGroup, { children: rows }) : rows;
|
|
13739
13825
|
})(),
|
|
13740
|
-
_optionalChain([infiniteScroll, 'optionalAccess',
|
|
13826
|
+
_optionalChain([infiniteScroll, 'optionalAccess', _278 => _278.isFetchingNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13741
13827
|
TableCardSkeleton,
|
|
13742
13828
|
{
|
|
13743
13829
|
columns,
|
|
13744
13830
|
rows: _nullishCoalesce(infiniteScroll.skeletonRows, () => ( 3)),
|
|
13745
|
-
hasActions: (_nullishCoalesce(_optionalChain([rowActions, 'optionalAccess',
|
|
13831
|
+
hasActions: (_nullishCoalesce(_optionalChain([rowActions, 'optionalAccess', _279 => _279.length]), () => ( 0))) > 0,
|
|
13746
13832
|
hasChevron: Boolean(rowHref)
|
|
13747
13833
|
}
|
|
13748
13834
|
),
|
|
13749
|
-
_optionalChain([infiniteScroll, 'optionalAccess',
|
|
13835
|
+
_optionalChain([infiniteScroll, 'optionalAccess', _280 => _280.hasNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: sentinelRef, className: "h-1", "aria-hidden": "true" }),
|
|
13750
13836
|
!infiniteScroll && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13751
13837
|
PlaceholderRows,
|
|
13752
13838
|
{
|
|
@@ -13864,9 +13950,9 @@ function TruncatedHeaderCell({ value, width }) {
|
|
|
13864
13950
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
13865
13951
|
}
|
|
13866
13952
|
}, []);
|
|
13867
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13868
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13869
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13953
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkROQTWRV7cjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
13954
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.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 }) }) }),
|
|
13955
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.TooltipContent, { side: "bottom", className: "max-w-xs break-words", children: value })
|
|
13870
13956
|
] }) });
|
|
13871
13957
|
}
|
|
13872
13958
|
|
|
@@ -13919,9 +14005,9 @@ function TruncatedCell({ value, className }) {
|
|
|
13919
14005
|
setIsTruncated(el.scrollWidth > el.clientWidth);
|
|
13920
14006
|
}
|
|
13921
14007
|
}, []);
|
|
13922
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13923
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13924
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14008
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.TooltipProvider, { delayDuration: 300, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkROQTWRV7cjs.Tooltip, { open: isTruncated ? void 0 : false, children: [
|
|
14009
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.TooltipTrigger, { asChild: true, onMouseEnter: checkTruncation, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { ref: textRef, className: _chunk23V5BSHDcjs.cn.call(void 0, "block truncate", className), children: value }) }),
|
|
14010
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.TooltipContent, { side: "top", className: "max-w-xs break-words", children: value })
|
|
13925
14011
|
] }) });
|
|
13926
14012
|
}
|
|
13927
14013
|
|
|
@@ -14020,7 +14106,7 @@ function QueryReportTable({
|
|
|
14020
14106
|
const columns = _react.useMemo.call(void 0, () => deriveColumns(data, columnOrder), [data, columnOrder]);
|
|
14021
14107
|
const handleExport = () => {
|
|
14022
14108
|
exportToCSV(data, columns, exportFilename);
|
|
14023
|
-
_optionalChain([onExport, 'optionalCall',
|
|
14109
|
+
_optionalChain([onExport, 'optionalCall', _281 => _281()]);
|
|
14024
14110
|
};
|
|
14025
14111
|
const tableMinWidth = columns.length * (columnWidth + 16);
|
|
14026
14112
|
const {
|
|
@@ -14146,7 +14232,7 @@ function DataTableRowImpl({
|
|
|
14146
14232
|
const handleClick = _react.useCallback.call(void 0,
|
|
14147
14233
|
(e) => {
|
|
14148
14234
|
const target = e.target;
|
|
14149
|
-
if (!_optionalChain([containerRef, 'access',
|
|
14235
|
+
if (!_optionalChain([containerRef, 'access', _282 => _282.current, 'optionalAccess', _283 => _283.contains, 'call', _284 => _284(target)])) {
|
|
14150
14236
|
if (isLinkMode) e.preventDefault();
|
|
14151
14237
|
return;
|
|
14152
14238
|
}
|
|
@@ -14154,7 +14240,7 @@ function DataTableRowImpl({
|
|
|
14154
14240
|
if (isLinkMode) e.preventDefault();
|
|
14155
14241
|
return;
|
|
14156
14242
|
}
|
|
14157
|
-
_optionalChain([onClick, 'optionalCall',
|
|
14243
|
+
_optionalChain([onClick, 'optionalCall', _285 => _285(row.original)]);
|
|
14158
14244
|
},
|
|
14159
14245
|
[onClick, row.original, isLinkMode]
|
|
14160
14246
|
);
|
|
@@ -14184,10 +14270,10 @@ function DataTableRowImpl({
|
|
|
14184
14270
|
{
|
|
14185
14271
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
14186
14272
|
"flex flex-col overflow-hidden",
|
|
14187
|
-
alignJustify(_optionalChain([meta, 'optionalAccess',
|
|
14188
|
-
_optionalChain([meta, 'optionalAccess',
|
|
14189
|
-
_optionalChain([meta, 'optionalAccess',
|
|
14190
|
-
getHideClasses(_optionalChain([meta, 'optionalAccess',
|
|
14273
|
+
alignJustify(_optionalChain([meta, 'optionalAccess', _286 => _286.align])),
|
|
14274
|
+
_optionalChain([meta, 'optionalAccess', _287 => _287.width]) || "min-w-0 flex-1",
|
|
14275
|
+
_optionalChain([meta, 'optionalAccess', _288 => _288.cellClassName]),
|
|
14276
|
+
getHideClasses(_optionalChain([meta, 'optionalAccess', _289 => _289.hideAt]))
|
|
14191
14277
|
),
|
|
14192
14278
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CellContent, { children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) })
|
|
14193
14279
|
},
|
|
@@ -14283,7 +14369,7 @@ function DataTableBody({
|
|
|
14283
14369
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex w-full flex-col gap-[var(--spacing-system-xsf)]", className), children: [
|
|
14284
14370
|
rows.map((row, index) => {
|
|
14285
14371
|
const item = row.original;
|
|
14286
|
-
const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall',
|
|
14372
|
+
const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall', _290 => _290(item)]), () => ( void 0));
|
|
14287
14373
|
const cls = typeof rowClassName === "function" ? rowClassName(item, index) : rowClassName;
|
|
14288
14374
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14289
14375
|
DataTableRow,
|
|
@@ -14295,7 +14381,7 @@ function DataTableBody({
|
|
|
14295
14381
|
autoHeight,
|
|
14296
14382
|
rowHeightClassName,
|
|
14297
14383
|
className: cls,
|
|
14298
|
-
subRow: _optionalChain([renderSubRow, 'optionalCall',
|
|
14384
|
+
subRow: _optionalChain([renderSubRow, 'optionalCall', _291 => _291(item)])
|
|
14299
14385
|
},
|
|
14300
14386
|
row.id
|
|
14301
14387
|
);
|
|
@@ -14339,7 +14425,7 @@ function DataTableColumnFilter({
|
|
|
14339
14425
|
pending = false
|
|
14340
14426
|
}) {
|
|
14341
14427
|
const currentValue = column.getFilterValue();
|
|
14342
|
-
const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess',
|
|
14428
|
+
const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess', _292 => _292.length]), () => ( 0));
|
|
14343
14429
|
const sections = _react.useMemo.call(void 0,
|
|
14344
14430
|
() => [
|
|
14345
14431
|
{
|
|
@@ -14471,7 +14557,7 @@ function DataTableHeader({
|
|
|
14471
14557
|
);
|
|
14472
14558
|
}
|
|
14473
14559
|
function keepsCellOnTablet(meta) {
|
|
14474
|
-
return Boolean(_optionalChain([meta, 'optionalAccess',
|
|
14560
|
+
return Boolean(_optionalChain([meta, 'optionalAccess', _293 => _293.filter])) || _optionalChain([meta, 'optionalAccess', _294 => _294.sortable]) === true || _optionalChain([meta, 'optionalAccess', _295 => _295.alwaysShowHeader]) === true;
|
|
14475
14561
|
}
|
|
14476
14562
|
var SHOW_FROM = {
|
|
14477
14563
|
md: "md:flex",
|
|
@@ -14509,11 +14595,22 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
14509
14595
|
if (header.isPlaceholder) return null;
|
|
14510
14596
|
const column = header.column;
|
|
14511
14597
|
const meta = column.columnDef.meta;
|
|
14512
|
-
const filter = _optionalChain([meta, 'optionalAccess',
|
|
14598
|
+
const filter = _optionalChain([meta, 'optionalAccess', _296 => _296.filter]);
|
|
14513
14599
|
const keepOnTablet = keepsCellOnTablet(meta);
|
|
14514
|
-
const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
14515
|
-
const canSort = _optionalChain([meta, 'optionalAccess',
|
|
14516
|
-
const sortDir = _optionalChain([sort, 'optionalAccess',
|
|
14600
|
+
const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _297 => _297.align]), () => ( "left"));
|
|
14601
|
+
const canSort = _optionalChain([meta, 'optionalAccess', _298 => _298.sortable]) === true;
|
|
14602
|
+
const sortDir = _optionalChain([sort, 'optionalAccess', _299 => _299.id]) === column.id ? sort.desc ? "desc" : "asc" : false;
|
|
14603
|
+
const filterTrigger = filter ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14604
|
+
DataTableColumnFilter,
|
|
14605
|
+
{
|
|
14606
|
+
column,
|
|
14607
|
+
options: filter.options,
|
|
14608
|
+
placement: filter.placement,
|
|
14609
|
+
pending: filter.pending,
|
|
14610
|
+
label: resolveHeaderLabel(header),
|
|
14611
|
+
align
|
|
14612
|
+
}
|
|
14613
|
+
) : null;
|
|
14517
14614
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14518
14615
|
"div",
|
|
14519
14616
|
{
|
|
@@ -14521,7 +14618,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
14521
14618
|
"items-stretch",
|
|
14522
14619
|
// Cells are hidden rather than dropped from the tree, so which columns
|
|
14523
14620
|
// exist never depends on when an effect ran.
|
|
14524
|
-
getCellVisibilityClasses(keepOnTablet, _optionalChain([meta, 'optionalAccess',
|
|
14621
|
+
getCellVisibilityClasses(keepOnTablet, _optionalChain([meta, 'optionalAccess', _300 => _300.hideAt])),
|
|
14525
14622
|
// Width applies from lg only. Stated as "always, neutralized below lg"
|
|
14526
14623
|
// because `meta.width` is an opaque consumer string that cannot be
|
|
14527
14624
|
// prefixed. Only `keepOnTablet` cells need the override — the rest are
|
|
@@ -14539,20 +14636,18 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
14539
14636
|
// Specificity rather than `!important`: it stays a normal declaration, so a
|
|
14540
14637
|
// consumer that genuinely needs a tablet width can still take it back with a
|
|
14541
14638
|
// more specific rule — `!important` could only be answered with another one.
|
|
14542
|
-
_optionalChain([meta, 'optionalAccess',
|
|
14639
|
+
_optionalChain([meta, 'optionalAccess', _301 => _301.width]) || "min-w-0 flex-1",
|
|
14543
14640
|
keepOnTablet && "max-lg:[&&]:w-auto max-lg:[&&]:flex-none max-lg:[&&]:basis-auto",
|
|
14544
|
-
_optionalChain([meta, 'optionalAccess',
|
|
14641
|
+
_optionalChain([meta, 'optionalAccess', _302 => _302.headerClassName])
|
|
14545
14642
|
),
|
|
14546
|
-
children:
|
|
14547
|
-
|
|
14548
|
-
|
|
14549
|
-
|
|
14550
|
-
|
|
14551
|
-
|
|
14552
|
-
|
|
14553
|
-
|
|
14554
|
-
align
|
|
14555
|
-
}
|
|
14643
|
+
children: filterTrigger ? (
|
|
14644
|
+
// Only a column that HAS a hint gets the extra row, so every existing
|
|
14645
|
+
// filter header keeps its exact structure — the trigger stays a direct
|
|
14646
|
+
// child of the cell.
|
|
14647
|
+
_optionalChain([meta, 'optionalAccess', _303 => _303.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
14648
|
+
filterTrigger,
|
|
14649
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
14650
|
+
] }) : filterTrigger
|
|
14556
14651
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14557
14652
|
"div",
|
|
14558
14653
|
{
|
|
@@ -14565,9 +14660,20 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
14565
14660
|
keepOnTablet && "max-lg:justify-start",
|
|
14566
14661
|
canSort && "group cursor-pointer"
|
|
14567
14662
|
),
|
|
14568
|
-
onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall',
|
|
14663
|
+
onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall', _304 => _304(column.id)]) : void 0,
|
|
14569
14664
|
children: [
|
|
14570
|
-
|
|
14665
|
+
_optionalChain([meta, 'optionalAccess', _305 => _305.hint]) ? (
|
|
14666
|
+
// The hint shares a LABEL GROUP with the text, pinned to the FIRST
|
|
14667
|
+
// line (`items-start`): on a label that breaks onto a second line it
|
|
14668
|
+
// reads beside the opening word instead of floating in the gap
|
|
14669
|
+
// between the two. Only a column WITH a hint gets the group, so a
|
|
14670
|
+
// hint-less header keeps its DOM. The sort icon stays outside it,
|
|
14671
|
+
// centred on the row.
|
|
14672
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
14673
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
14674
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
14675
|
+
] })
|
|
14676
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
14571
14677
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
14572
14678
|
]
|
|
14573
14679
|
}
|
|
@@ -14575,7 +14681,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
14575
14681
|
}
|
|
14576
14682
|
);
|
|
14577
14683
|
}
|
|
14578
|
-
var DATA_TABLE_HEADER_LABEL_CLASS = "
|
|
14684
|
+
var DATA_TABLE_HEADER_LABEL_CLASS = "min-w-0 text-balance uppercase text-ods-text-secondary transition-colors duration-200 text-h5 group-hover:text-ods-text-primary";
|
|
14579
14685
|
function HeaderLabel({ header }) {
|
|
14580
14686
|
const headerDef = header.column.columnDef.header;
|
|
14581
14687
|
if (headerDef === void 0) return null;
|
|
@@ -14615,7 +14721,7 @@ function DataTableInfiniteFooter({
|
|
|
14615
14721
|
if (!sentinel) return void 0;
|
|
14616
14722
|
const observer = new IntersectionObserver(
|
|
14617
14723
|
(entries) => {
|
|
14618
|
-
if (_optionalChain([entries, 'access',
|
|
14724
|
+
if (_optionalChain([entries, 'access', _306 => _306[0], 'optionalAccess', _307 => _307.isIntersecting])) onLoadMoreRef.current();
|
|
14619
14725
|
},
|
|
14620
14726
|
{ rootMargin }
|
|
14621
14727
|
);
|
|
@@ -14640,7 +14746,7 @@ function DataTableRowCount({
|
|
|
14640
14746
|
const table = useDataTableContext();
|
|
14641
14747
|
const count = _nullishCoalesce(totalCount, () => ( table.getRowModel().rows.length));
|
|
14642
14748
|
if (hideWhenEmpty && count === 0) return null;
|
|
14643
|
-
const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall',
|
|
14749
|
+
const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _308 => _308(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
|
|
14644
14750
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, "whitespace-nowrap text-ods-text-secondary text-h6", className), children: [
|
|
14645
14751
|
count,
|
|
14646
14752
|
" ",
|
|
@@ -14759,12 +14865,12 @@ function PhoneInput({
|
|
|
14759
14865
|
(phone) => {
|
|
14760
14866
|
if (!phone || digitCount(phone) === 0) {
|
|
14761
14867
|
setIsInvalid(false);
|
|
14762
|
-
_optionalChain([onValidationChange, 'optionalCall',
|
|
14868
|
+
_optionalChain([onValidationChange, 'optionalCall', _309 => _309(false)]);
|
|
14763
14869
|
return;
|
|
14764
14870
|
}
|
|
14765
14871
|
const invalid = !validatePhoneNumber(phone, countryCode);
|
|
14766
14872
|
setIsInvalid(invalid);
|
|
14767
|
-
_optionalChain([onValidationChange, 'optionalCall',
|
|
14873
|
+
_optionalChain([onValidationChange, 'optionalCall', _310 => _310(invalid)]);
|
|
14768
14874
|
},
|
|
14769
14875
|
[countryCode, digitCount, onValidationChange]
|
|
14770
14876
|
);
|
|
@@ -14818,7 +14924,7 @@ function PhoneInput({
|
|
|
14818
14924
|
debouncedValidation(val);
|
|
14819
14925
|
} else if (digitCount(val) === 0) {
|
|
14820
14926
|
setIsInvalid(false);
|
|
14821
|
-
_optionalChain([onValidationChange, 'optionalCall',
|
|
14927
|
+
_optionalChain([onValidationChange, 'optionalCall', _311 => _311(false)]);
|
|
14822
14928
|
}
|
|
14823
14929
|
}
|
|
14824
14930
|
},
|
|
@@ -14935,7 +15041,7 @@ function SearchInput({
|
|
|
14935
15041
|
if (!showHiddenTags) return void 0;
|
|
14936
15042
|
const handleClick = (e) => {
|
|
14937
15043
|
const target = e.target;
|
|
14938
|
-
if (!_optionalChain([hiddenTagsRef, 'access',
|
|
15044
|
+
if (!_optionalChain([hiddenTagsRef, 'access', _312 => _312.current, 'optionalAccess', _313 => _313.contains, 'call', _314 => _314(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _315 => _315.current, 'optionalAccess', _316 => _316.contains, 'call', _317 => _317(target)])) {
|
|
14939
15045
|
setShowHiddenTags(false);
|
|
14940
15046
|
}
|
|
14941
15047
|
};
|
|
@@ -14946,7 +15052,7 @@ function SearchInput({
|
|
|
14946
15052
|
const popup = hiddenTagsPopupRef.current;
|
|
14947
15053
|
const badge = badgeRef.current;
|
|
14948
15054
|
if (!popup || !badge) return;
|
|
14949
|
-
const originLeft = _nullishCoalesce(_optionalChain([containerRef, 'access',
|
|
15055
|
+
const originLeft = _nullishCoalesce(_optionalChain([containerRef, 'access', _318 => _318.current, 'optionalAccess', _319 => _319.getBoundingClientRect, 'call', _320 => _320(), 'access', _321 => _321.left]), () => ( 0));
|
|
14950
15056
|
popup.style.left = `${badge.getBoundingClientRect().left - originLeft}px`;
|
|
14951
15057
|
});
|
|
14952
15058
|
const hiddenCount = filterChips.length - visibleCount;
|
|
@@ -14992,10 +15098,10 @@ function SearchInput({
|
|
|
14992
15098
|
} else {
|
|
14993
15099
|
setInternalValue("");
|
|
14994
15100
|
}
|
|
14995
|
-
_optionalChain([inputRef, 'access',
|
|
15101
|
+
_optionalChain([inputRef, 'access', _322 => _322.current, 'optionalAccess', _323 => _323.focus, 'call', _324 => _324()]);
|
|
14996
15102
|
};
|
|
14997
15103
|
const handleResultClick = (result, e) => {
|
|
14998
|
-
_optionalChain([onResultSelect, 'optionalCall',
|
|
15104
|
+
_optionalChain([onResultSelect, 'optionalCall', _325 => _325(
|
|
14999
15105
|
result,
|
|
15000
15106
|
e ? {
|
|
15001
15107
|
metaKey: e.metaKey,
|
|
@@ -15023,7 +15129,7 @@ function SearchInput({
|
|
|
15023
15129
|
if (highlightedIndex >= 0 && flatResults[highlightedIndex]) {
|
|
15024
15130
|
handleResultClick(flatResults[highlightedIndex]);
|
|
15025
15131
|
} else {
|
|
15026
|
-
_optionalChain([onSubmit, 'optionalCall',
|
|
15132
|
+
_optionalChain([onSubmit, 'optionalCall', _326 => _326(currentValue)]);
|
|
15027
15133
|
}
|
|
15028
15134
|
break;
|
|
15029
15135
|
case "Escape":
|
|
@@ -15106,14 +15212,14 @@ function SearchInput({
|
|
|
15106
15212
|
),
|
|
15107
15213
|
onClick: () => {
|
|
15108
15214
|
if (disabled) return;
|
|
15109
|
-
_optionalChain([inputRef, 'access',
|
|
15215
|
+
_optionalChain([inputRef, 'access', _327 => _327.current, 'optionalAccess', _328 => _328.focus, 'call', _329 => _329()]);
|
|
15110
15216
|
setIsOpen(true);
|
|
15111
15217
|
},
|
|
15112
15218
|
children: [
|
|
15113
15219
|
/* @__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, {}) }),
|
|
15114
15220
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: middleRef, className: "flex min-w-0 flex-1 items-center gap-2 overflow-hidden", children: [
|
|
15115
15221
|
visibleChips.map((chip) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15116
|
-
|
|
15222
|
+
_chunkROQTWRV7cjs.Tag,
|
|
15117
15223
|
{
|
|
15118
15224
|
variant: chipVariantToTagVariant(chip.variant),
|
|
15119
15225
|
label: chip.label,
|
|
@@ -15194,10 +15300,10 @@ function SearchInput({
|
|
|
15194
15300
|
collisionPadding: { bottom: keyboardPadding },
|
|
15195
15301
|
onOpenAutoFocus: (e) => {
|
|
15196
15302
|
e.preventDefault();
|
|
15197
|
-
_optionalChain([inputRef, 'access',
|
|
15303
|
+
_optionalChain([inputRef, 'access', _330 => _330.current, 'optionalAccess', _331 => _331.focus, 'call', _332 => _332()]);
|
|
15198
15304
|
},
|
|
15199
15305
|
onInteractOutside: (e) => {
|
|
15200
|
-
if (_optionalChain([containerRef, 'access',
|
|
15306
|
+
if (_optionalChain([containerRef, 'access', _333 => _333.current, 'optionalAccess', _334 => _334.contains, 'call', _335 => _335(e.target)])) {
|
|
15201
15307
|
e.preventDefault();
|
|
15202
15308
|
}
|
|
15203
15309
|
},
|
|
@@ -15214,7 +15320,7 @@ function SearchInput({
|
|
|
15214
15320
|
ref: hiddenTagsPopupRef,
|
|
15215
15321
|
items: hiddenChips.map((chip) => ({ label: chip.label, value: chip.id })),
|
|
15216
15322
|
onRemove: (removedTag) => {
|
|
15217
|
-
_optionalChain([onFilterRemove, 'optionalCall',
|
|
15323
|
+
_optionalChain([onFilterRemove, 'optionalCall', _336 => _336(removedTag)]);
|
|
15218
15324
|
if (hiddenCount <= 1) setShowHiddenTags(false);
|
|
15219
15325
|
}
|
|
15220
15326
|
}
|
|
@@ -15229,7 +15335,7 @@ function SearchInput({
|
|
|
15229
15335
|
}
|
|
15230
15336
|
),
|
|
15231
15337
|
/* @__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,
|
|
15232
|
-
|
|
15338
|
+
_chunkROQTWRV7cjs.Tag,
|
|
15233
15339
|
{
|
|
15234
15340
|
variant: chipVariantToTagVariant(chip.variant),
|
|
15235
15341
|
label: chip.label,
|
|
@@ -15256,7 +15362,7 @@ function FilterListItem({
|
|
|
15256
15362
|
}) {
|
|
15257
15363
|
const handleToggle = () => {
|
|
15258
15364
|
if (disabled) return;
|
|
15259
|
-
_optionalChain([onToggle, 'optionalCall',
|
|
15365
|
+
_optionalChain([onToggle, 'optionalCall', _337 => _337(!selected)]);
|
|
15260
15366
|
};
|
|
15261
15367
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
15262
15368
|
"div",
|
|
@@ -15303,7 +15409,7 @@ function FilterListItem({
|
|
|
15303
15409
|
CheckboxPrimitive4.Root,
|
|
15304
15410
|
{
|
|
15305
15411
|
checked: selected,
|
|
15306
|
-
onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall',
|
|
15412
|
+
onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _338 => _338(c === true)]),
|
|
15307
15413
|
onClick: (e) => e.stopPropagation(),
|
|
15308
15414
|
disabled,
|
|
15309
15415
|
"aria-label": title,
|
|
@@ -15384,7 +15490,7 @@ function TagSearchInput({
|
|
|
15384
15490
|
if (!showHiddenTags) return void 0;
|
|
15385
15491
|
const handleClick = (e) => {
|
|
15386
15492
|
const target = e.target;
|
|
15387
|
-
if (!_optionalChain([hiddenTagsRef, 'access',
|
|
15493
|
+
if (!_optionalChain([hiddenTagsRef, 'access', _339 => _339.current, 'optionalAccess', _340 => _340.contains, 'call', _341 => _341(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _342 => _342.current, 'optionalAccess', _343 => _343.contains, 'call', _344 => _344(target)])) {
|
|
15388
15494
|
setShowHiddenTags(false);
|
|
15389
15495
|
}
|
|
15390
15496
|
};
|
|
@@ -15395,7 +15501,7 @@ function TagSearchInput({
|
|
|
15395
15501
|
const popup = hiddenTagsPopupRef.current;
|
|
15396
15502
|
const badge = badgeRef.current;
|
|
15397
15503
|
if (!popup || !badge) return;
|
|
15398
|
-
const originLeft = _nullishCoalesce(_optionalChain([wrapperRef, 'access',
|
|
15504
|
+
const originLeft = _nullishCoalesce(_optionalChain([wrapperRef, 'access', _345 => _345.current, 'optionalAccess', _346 => _346.getBoundingClientRect, 'call', _347 => _347(), 'access', _348 => _348.left]), () => ( 0));
|
|
15399
15505
|
popup.style.left = `${badge.getBoundingClientRect().left - originLeft}px`;
|
|
15400
15506
|
});
|
|
15401
15507
|
const hiddenCount = tags.length - visibleCount;
|
|
@@ -15407,13 +15513,13 @@ function TagSearchInput({
|
|
|
15407
15513
|
e.preventDefault();
|
|
15408
15514
|
onSubmit(searchValue);
|
|
15409
15515
|
}
|
|
15410
|
-
_optionalChain([onKeyDown, 'optionalCall',
|
|
15516
|
+
_optionalChain([onKeyDown, 'optionalCall', _349 => _349(e)]);
|
|
15411
15517
|
};
|
|
15412
15518
|
const handleClearAll = (e) => {
|
|
15413
15519
|
e.stopPropagation();
|
|
15414
15520
|
e.preventDefault();
|
|
15415
|
-
_optionalChain([onClearAll, 'optionalCall',
|
|
15416
|
-
_optionalChain([inputRef, 'access',
|
|
15521
|
+
_optionalChain([onClearAll, 'optionalCall', _350 => _350()]);
|
|
15522
|
+
_optionalChain([inputRef, 'access', _351 => _351.current, 'optionalAccess', _352 => _352.focus, 'call', _353 => _353()]);
|
|
15417
15523
|
};
|
|
15418
15524
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: wrapperRef, className: "relative", children: [
|
|
15419
15525
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -15436,13 +15542,13 @@ function TagSearchInput({
|
|
|
15436
15542
|
className
|
|
15437
15543
|
),
|
|
15438
15544
|
onClick: () => {
|
|
15439
|
-
if (!disabled) _optionalChain([inputRef, 'access',
|
|
15545
|
+
if (!disabled) _optionalChain([inputRef, 'access', _354 => _354.current, 'optionalAccess', _355 => _355.focus, 'call', _356 => _356()]);
|
|
15440
15546
|
},
|
|
15441
15547
|
children: [
|
|
15442
15548
|
/* @__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" }) }),
|
|
15443
15549
|
/* @__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: [
|
|
15444
15550
|
visibleTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15445
|
-
|
|
15551
|
+
_chunkROQTWRV7cjs.Tag,
|
|
15446
15552
|
{
|
|
15447
15553
|
variant: "outline",
|
|
15448
15554
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -15530,7 +15636,7 @@ function TagSearchInput({
|
|
|
15530
15636
|
"aria-hidden": "true",
|
|
15531
15637
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-2",
|
|
15532
15638
|
children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15533
|
-
|
|
15639
|
+
_chunkROQTWRV7cjs.Tag,
|
|
15534
15640
|
{
|
|
15535
15641
|
variant: "outline",
|
|
15536
15642
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -15652,7 +15758,7 @@ function MarkdownEditor({
|
|
|
15652
15758
|
try {
|
|
15653
15759
|
const mod = await Promise.resolve().then(() => _interopRequireWildcard(require("@uiw/react-md-editor")));
|
|
15654
15760
|
if (cancelled) return;
|
|
15655
|
-
if (_optionalChain([mod, 'access',
|
|
15761
|
+
if (_optionalChain([mod, 'access', _357 => _357.commands, 'optionalAccess', _358 => _358.getExtraCommands])) {
|
|
15656
15762
|
setDefaultExtraCommands(mod.commands.getExtraCommands());
|
|
15657
15763
|
}
|
|
15658
15764
|
} catch (error) {
|
|
@@ -15690,7 +15796,7 @@ function MarkdownEditor({
|
|
|
15690
15796
|
const isImage = file.type.startsWith("image/");
|
|
15691
15797
|
const markdown = isImage ? `` : `[${file.name}](${url})`;
|
|
15692
15798
|
insertTextAtCursor(markdown);
|
|
15693
|
-
_optionalChain([onFileUploaded, 'optionalCall',
|
|
15799
|
+
_optionalChain([onFileUploaded, 'optionalCall', _359 => _359(url, file.name)]);
|
|
15694
15800
|
} catch (error) {
|
|
15695
15801
|
console.error("File upload failed:", error);
|
|
15696
15802
|
setUploadProgress("Upload failed. Please try again.");
|
|
@@ -15704,7 +15810,7 @@ function MarkdownEditor({
|
|
|
15704
15810
|
const handleFileInputChange = _react.useCallback.call(void 0,
|
|
15705
15811
|
(e) => {
|
|
15706
15812
|
const input = e.target;
|
|
15707
|
-
const file = _optionalChain([input, 'access',
|
|
15813
|
+
const file = _optionalChain([input, 'access', _360 => _360.files, 'optionalAccess', _361 => _361[0]]);
|
|
15708
15814
|
if (file) {
|
|
15709
15815
|
void handleFileUpload(file);
|
|
15710
15816
|
input.value = "";
|
|
@@ -15715,7 +15821,7 @@ function MarkdownEditor({
|
|
|
15715
15821
|
const handlePaste = _react.useCallback.call(void 0,
|
|
15716
15822
|
(e) => {
|
|
15717
15823
|
if (!onUploadFile) return;
|
|
15718
|
-
const items = _optionalChain([e, 'access',
|
|
15824
|
+
const items = _optionalChain([e, 'access', _362 => _362.clipboardData, 'optionalAccess', _363 => _363.items]);
|
|
15719
15825
|
if (!items) return;
|
|
15720
15826
|
for (const item of items) {
|
|
15721
15827
|
if (item.type.startsWith("image/")) {
|
|
@@ -15740,7 +15846,7 @@ function MarkdownEditor({
|
|
|
15740
15846
|
buttonProps: { "aria-label": "Upload file", title: "Upload file" },
|
|
15741
15847
|
icon: isUploading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-3 w-3 animate-spin" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-3 w-3" }),
|
|
15742
15848
|
execute: () => {
|
|
15743
|
-
_optionalChain([fileInputRef, 'access',
|
|
15849
|
+
_optionalChain([fileInputRef, 'access', _364 => _364.current, 'optionalAccess', _365 => _365.click, 'call', _366 => _366()]);
|
|
15744
15850
|
}
|
|
15745
15851
|
} : null;
|
|
15746
15852
|
const extraCommands = uploadCommand ? [...defaultExtraCommands, uploadCommand] : defaultExtraCommands;
|
|
@@ -15752,7 +15858,7 @@ function MarkdownEditor({
|
|
|
15752
15858
|
const EDGE_ZONE = 60;
|
|
15753
15859
|
const MAX_SCROLL_SPEED = 15;
|
|
15754
15860
|
const findScrollParent = _react.useCallback.call(void 0, (el) => {
|
|
15755
|
-
let node = _optionalChain([el, 'optionalAccess',
|
|
15861
|
+
let node = _optionalChain([el, 'optionalAccess', _367 => _367.parentElement]);
|
|
15756
15862
|
while (node && node !== document.documentElement) {
|
|
15757
15863
|
const { overflowY } = window.getComputedStyle(node);
|
|
15758
15864
|
if ((overflowY === "auto" || overflowY === "scroll") && node.scrollHeight > node.clientHeight) {
|
|
@@ -15891,7 +15997,7 @@ function matchesAccept(file, accept) {
|
|
|
15891
15997
|
});
|
|
15892
15998
|
}
|
|
15893
15999
|
function dragHasFiles(e) {
|
|
15894
|
-
const types = _optionalChain([e, 'access',
|
|
16000
|
+
const types = _optionalChain([e, 'access', _368 => _368.dataTransfer, 'optionalAccess', _369 => _369.types]);
|
|
15895
16001
|
if (!types) return false;
|
|
15896
16002
|
for (let i = 0; i < types.length; i++) {
|
|
15897
16003
|
if (types[i] === "Files") return true;
|
|
@@ -15990,7 +16096,7 @@ function FileUpload({
|
|
|
15990
16096
|
e.stopPropagation();
|
|
15991
16097
|
setDragActive(false);
|
|
15992
16098
|
if (disabled) return;
|
|
15993
|
-
if (_optionalChain([e, 'access',
|
|
16099
|
+
if (_optionalChain([e, 'access', _370 => _370.dataTransfer, 'access', _371 => _371.files, 'optionalAccess', _372 => _372.length])) {
|
|
15994
16100
|
handleFiles(e.dataTransfer.files);
|
|
15995
16101
|
}
|
|
15996
16102
|
};
|
|
@@ -16018,7 +16124,7 @@ function FileUpload({
|
|
|
16018
16124
|
e.preventDefault();
|
|
16019
16125
|
dragCounter = 0;
|
|
16020
16126
|
setDragActive(false);
|
|
16021
|
-
if (_optionalChain([e, 'access',
|
|
16127
|
+
if (_optionalChain([e, 'access', _373 => _373.dataTransfer, 'optionalAccess', _374 => _374.files, 'optionalAccess', _375 => _375.length])) {
|
|
16022
16128
|
handleFilesRef.current(e.dataTransfer.files);
|
|
16023
16129
|
}
|
|
16024
16130
|
};
|
|
@@ -16040,7 +16146,7 @@ function FileUpload({
|
|
|
16040
16146
|
};
|
|
16041
16147
|
}, [acceptWindowDrops, disabled]);
|
|
16042
16148
|
const handleFileSelect = (e) => {
|
|
16043
|
-
if (_optionalChain([e, 'access',
|
|
16149
|
+
if (_optionalChain([e, 'access', _376 => _376.target, 'access', _377 => _377.files, 'optionalAccess', _378 => _378.length])) {
|
|
16044
16150
|
handleFiles(e.target.files);
|
|
16045
16151
|
}
|
|
16046
16152
|
};
|
|
@@ -16058,7 +16164,7 @@ function FileUpload({
|
|
|
16058
16164
|
const openDialog = async () => {
|
|
16059
16165
|
if (disabled) return;
|
|
16060
16166
|
if (!pickFiles) {
|
|
16061
|
-
_optionalChain([fileInputRef, 'access',
|
|
16167
|
+
_optionalChain([fileInputRef, 'access', _379 => _379.current, 'optionalAccess', _380 => _380.click, 'call', _381 => _381()]);
|
|
16062
16168
|
return;
|
|
16063
16169
|
}
|
|
16064
16170
|
try {
|
|
@@ -16131,7 +16237,7 @@ function FileUpload({
|
|
|
16131
16237
|
"button",
|
|
16132
16238
|
{
|
|
16133
16239
|
type: "button",
|
|
16134
|
-
onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall',
|
|
16240
|
+
onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _382 => _382(entry.id)]),
|
|
16135
16241
|
className: "shrink-0 text-ods-error transition-opacity hover:opacity-80",
|
|
16136
16242
|
"aria-label": `Remove ${entry.fileName}`,
|
|
16137
16243
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.TrashIcon, { className: "size-6" })
|
|
@@ -16262,7 +16368,7 @@ function ImageUploader({
|
|
|
16262
16368
|
onChange(file);
|
|
16263
16369
|
};
|
|
16264
16370
|
const handleFileSelect = (e) => {
|
|
16265
|
-
validateAndEmit(_optionalChain([e, 'access',
|
|
16371
|
+
validateAndEmit(_optionalChain([e, 'access', _383 => _383.target, 'access', _384 => _384.files, 'optionalAccess', _385 => _385[0]]));
|
|
16266
16372
|
if (inputRef.current) inputRef.current.value = "";
|
|
16267
16373
|
};
|
|
16268
16374
|
const handleDrag = (e) => {
|
|
@@ -16277,11 +16383,11 @@ function ImageUploader({
|
|
|
16277
16383
|
e.stopPropagation();
|
|
16278
16384
|
setDragActive(false);
|
|
16279
16385
|
if (!interactive) return;
|
|
16280
|
-
validateAndEmit(_optionalChain([e, 'access',
|
|
16386
|
+
validateAndEmit(_optionalChain([e, 'access', _386 => _386.dataTransfer, 'access', _387 => _387.files, 'optionalAccess', _388 => _388[0]]));
|
|
16281
16387
|
};
|
|
16282
16388
|
const openDialog = () => {
|
|
16283
16389
|
if (!interactive) return;
|
|
16284
|
-
_optionalChain([inputRef, 'access',
|
|
16390
|
+
_optionalChain([inputRef, 'access', _389 => _389.current, 'optionalAccess', _390 => _390.click, 'call', _391 => _391()]);
|
|
16285
16391
|
};
|
|
16286
16392
|
const handleRootKeyDown = (e) => {
|
|
16287
16393
|
if (hasImage || !interactive) return;
|
|
@@ -16453,28 +16559,28 @@ function ColorPresetSelect({
|
|
|
16453
16559
|
}) {
|
|
16454
16560
|
const selectedPreset = presets.find((p) => p.key === presetKey);
|
|
16455
16561
|
const isCustom = !selectedPreset;
|
|
16456
|
-
const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess',
|
|
16457
|
-
const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess',
|
|
16562
|
+
const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _392 => _392.label]), () => ( "Custom"));
|
|
16563
|
+
const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _393 => _393.color]), () => ( value));
|
|
16458
16564
|
const groups = [
|
|
16459
16565
|
{
|
|
16460
16566
|
items: [
|
|
16461
16567
|
...presets.map((p) => ({
|
|
16462
16568
|
id: p.key,
|
|
16463
16569
|
label: p.label,
|
|
16464
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16570
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.ColorSwatch, { color: p.color }),
|
|
16465
16571
|
onClick: () => onChange({ color: p.color, preset: p.key })
|
|
16466
16572
|
})),
|
|
16467
16573
|
{
|
|
16468
16574
|
id: CUSTOM_PRESET_KEY,
|
|
16469
16575
|
label: "Custom",
|
|
16470
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16576
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.ColorSwatch, { color: isCustom ? value : DEFAULT_CUSTOM_STATUS_COLOR }),
|
|
16471
16577
|
onClick: () => onChange({ color: value, preset: void 0 })
|
|
16472
16578
|
}
|
|
16473
16579
|
]
|
|
16474
16580
|
}
|
|
16475
16581
|
];
|
|
16476
16582
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16477
|
-
|
|
16583
|
+
_chunkROQTWRV7cjs.ActionsMenuDropdown,
|
|
16478
16584
|
{
|
|
16479
16585
|
groups,
|
|
16480
16586
|
align: "start",
|
|
@@ -16484,7 +16590,7 @@ function ColorPresetSelect({
|
|
|
16484
16590
|
{
|
|
16485
16591
|
disabled,
|
|
16486
16592
|
"aria-label": `Color: ${displayLabel}`,
|
|
16487
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16593
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.ColorSwatch, { color: displayColor }),
|
|
16488
16594
|
selectedLabel: displayLabel,
|
|
16489
16595
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
16490
16596
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "group", className)
|
|
@@ -16505,7 +16611,7 @@ function HexInputs({ value, onChange }) {
|
|
|
16505
16611
|
}
|
|
16506
16612
|
const commit = () => {
|
|
16507
16613
|
const candidate = (draft.startsWith("#") ? draft : `#${draft}`).toLowerCase();
|
|
16508
|
-
if (
|
|
16614
|
+
if (_chunkROQTWRV7cjs.HEX_PATTERN.test(candidate)) onChange(candidate);
|
|
16509
16615
|
else setDraft(value);
|
|
16510
16616
|
};
|
|
16511
16617
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16569,12 +16675,12 @@ function ChannelInput({
|
|
|
16569
16675
|
);
|
|
16570
16676
|
}
|
|
16571
16677
|
function RgbInputs({ value, onChange }) {
|
|
16572
|
-
const rgb = _nullishCoalesce(
|
|
16678
|
+
const rgb = _nullishCoalesce(_chunkROQTWRV7cjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
16573
16679
|
const update = (next) => {
|
|
16574
16680
|
const r = _nullishCoalesce(next.r, () => ( rgb.r));
|
|
16575
16681
|
const g = _nullishCoalesce(next.g, () => ( rgb.g));
|
|
16576
16682
|
const b = _nullishCoalesce(next.b, () => ( rgb.b));
|
|
16577
|
-
onChange(
|
|
16683
|
+
onChange(_chunkROQTWRV7cjs.rgbToHex.call(void 0, r, g, b));
|
|
16578
16684
|
};
|
|
16579
16685
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16580
16686
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: rgb.r, min: 0, max: 255, ariaLabel: "Red", onCommit: (r) => update({ r }) }),
|
|
@@ -16583,14 +16689,14 @@ function RgbInputs({ value, onChange }) {
|
|
|
16583
16689
|
] });
|
|
16584
16690
|
}
|
|
16585
16691
|
function HslInputs({ value, onChange }) {
|
|
16586
|
-
const rgb = _nullishCoalesce(
|
|
16587
|
-
const hsl =
|
|
16692
|
+
const rgb = _nullishCoalesce(_chunkROQTWRV7cjs.hexToRgb.call(void 0, value), () => ( { r: 0, g: 0, b: 0 }));
|
|
16693
|
+
const hsl = _chunkROQTWRV7cjs.rgbToHsl.call(void 0, rgb.r, rgb.g, rgb.b);
|
|
16588
16694
|
const update = (next) => {
|
|
16589
16695
|
const h = _nullishCoalesce(next.h, () => ( hsl.h));
|
|
16590
16696
|
const s = _nullishCoalesce(next.s, () => ( hsl.s));
|
|
16591
16697
|
const l = _nullishCoalesce(next.l, () => ( hsl.l));
|
|
16592
|
-
const out =
|
|
16593
|
-
onChange(
|
|
16698
|
+
const out = _chunkROQTWRV7cjs.hslToRgb.call(void 0, h, s, l);
|
|
16699
|
+
onChange(_chunkROQTWRV7cjs.rgbToHex.call(void 0, out.r, out.g, out.b));
|
|
16594
16700
|
};
|
|
16595
16701
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16596
16702
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChannelInput, { value: hsl.h, min: 0, max: 360, ariaLabel: "Hue", onCommit: (h) => update({ h }) }),
|
|
@@ -16616,7 +16722,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
16616
16722
|
{
|
|
16617
16723
|
disabled,
|
|
16618
16724
|
"aria-label": "Pick custom color",
|
|
16619
|
-
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16725
|
+
startIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.ColorSwatch, { color: value }),
|
|
16620
16726
|
selectedLabel: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "uppercase", children: value }),
|
|
16621
16727
|
endIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TriggerChevron, {}),
|
|
16622
16728
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "group", className)
|
|
@@ -16632,7 +16738,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
16632
16738
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactcolorful.HexColorPicker, { color: value, onChange }),
|
|
16633
16739
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
16634
16740
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16635
|
-
|
|
16741
|
+
_chunkROQTWRV7cjs.ActionsMenuDropdown,
|
|
16636
16742
|
{
|
|
16637
16743
|
groups: formatGroups,
|
|
16638
16744
|
align: "start",
|
|
@@ -16689,7 +16795,7 @@ function TicketStatusConfigRow({
|
|
|
16689
16795
|
const previewVariant = _nullishCoalesce(systemTagVariant, () => ( (isSystem ? void 0 : "primary")));
|
|
16690
16796
|
const fieldRowOffset = "mt-[calc(var(--font-line-space-h4-body)+0.25rem)]";
|
|
16691
16797
|
const chip = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16692
|
-
|
|
16798
|
+
_chunkROQTWRV7cjs.TicketStatusTag,
|
|
16693
16799
|
{
|
|
16694
16800
|
status: statusKey,
|
|
16695
16801
|
label: name || " ",
|
|
@@ -16750,7 +16856,7 @@ function TicketStatusConfigRow({
|
|
|
16750
16856
|
{
|
|
16751
16857
|
id: nameInputId,
|
|
16752
16858
|
value: name,
|
|
16753
|
-
onChange: (e) => _optionalChain([onNameChange, 'optionalCall',
|
|
16859
|
+
onChange: (e) => _optionalChain([onNameChange, 'optionalCall', _394 => _394(e.target.value)]),
|
|
16754
16860
|
disabled: isSystem,
|
|
16755
16861
|
readOnly: isSystem,
|
|
16756
16862
|
maxLength: 50
|
|
@@ -16841,7 +16947,7 @@ function formatTestRunDuration(ms) {
|
|
|
16841
16947
|
var RESULT_COLUMN_MIN_WIDTH = 176;
|
|
16842
16948
|
var SKELETON_COLUMNS = 6;
|
|
16843
16949
|
function TestResultsSkeleton() {
|
|
16844
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16950
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.ScrollShadow, { axis: "horizontal", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-max min-w-full flex-col", children: [
|
|
16845
16951
|
/* @__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}`)) }),
|
|
16846
16952
|
/* @__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}`)) }) })
|
|
16847
16953
|
] }) });
|
|
@@ -16876,7 +16982,7 @@ function TestResultsTable({ rows, loading }) {
|
|
|
16876
16982
|
if (loading) {
|
|
16877
16983
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TestResultsSkeleton, {});
|
|
16878
16984
|
}
|
|
16879
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16985
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.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: [
|
|
16880
16986
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Header, { className: "flex flex-col" }),
|
|
16881
16987
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTable.Body, { loading: false })
|
|
16882
16988
|
] }) }) });
|
|
@@ -16936,7 +17042,7 @@ var TEST_RUN_STATUS_TAGS = {
|
|
|
16936
17042
|
function TestRunStatusStat({ status, className }) {
|
|
16937
17043
|
const tag = status === "idle" ? null : TEST_RUN_STATUS_TAGS[status];
|
|
16938
17044
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex min-w-0 flex-col items-start justify-center gap-[var(--spacing-system-xxs)]", className), children: [
|
|
16939
|
-
tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17045
|
+
tag ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.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: "-" }),
|
|
16940
17046
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: "Status" })
|
|
16941
17047
|
] });
|
|
16942
17048
|
}
|
|
@@ -16979,7 +17085,7 @@ function useTestRunState(campaign) {
|
|
|
16979
17085
|
const firstError = isFinished && campaign.errors.length > 0 ? campaign.errors[0].error : null;
|
|
16980
17086
|
const status = isActive ? "running" : hasRun && isFinished ? firstError ? "error" : "success" : "idle";
|
|
16981
17087
|
const showTiming = hasRun && campaign.startedAt !== null && (campaign.isRunning || isFinished);
|
|
16982
|
-
const startedLabel = showTiming && campaign.startedAt ?
|
|
17088
|
+
const startedLabel = showTiming && campaign.startedAt ? _chunkROQTWRV7cjs.formatTime.call(void 0, campaign.startedAt) : "00:00 PM";
|
|
16983
17089
|
const durationLabel = showTiming ? formatTestRunDuration(durationMs) : "00:00:00";
|
|
16984
17090
|
const displayRows = _react.useMemo.call(void 0,
|
|
16985
17091
|
() => campaign.results.map(
|
|
@@ -17018,7 +17124,7 @@ function TicketAttachmentsList({ attachments, className, size = "default" }) {
|
|
|
17018
17124
|
),
|
|
17019
17125
|
children: [
|
|
17020
17126
|
attachment.thumbnailSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17021
|
-
|
|
17127
|
+
_chunkE2EGTHYAcjs.SquareAvatar,
|
|
17022
17128
|
{
|
|
17023
17129
|
src: attachment.thumbnailSrc,
|
|
17024
17130
|
alt: attachment.fileName,
|
|
@@ -17111,7 +17217,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
17111
17217
|
};
|
|
17112
17218
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex items-start gap-4 rounded-[6px] p-3", "border border-ods-border bg-ods-card", className), children: [
|
|
17113
17219
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17114
|
-
|
|
17220
|
+
_chunkE2EGTHYAcjs.SquareAvatar,
|
|
17115
17221
|
{
|
|
17116
17222
|
src: note.authorAvatar,
|
|
17117
17223
|
alt: note.authorName,
|
|
@@ -17287,16 +17393,16 @@ function TicketInfoSection({
|
|
|
17287
17393
|
/* @__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: [
|
|
17288
17394
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
17289
17395
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17290
|
-
|
|
17396
|
+
_chunkE2EGTHYAcjs.SquareAvatar,
|
|
17291
17397
|
{
|
|
17292
|
-
src: _optionalChain([organization, 'optionalAccess',
|
|
17293
|
-
alt: _optionalChain([organization, 'optionalAccess',
|
|
17294
|
-
fallback: _optionalChain([organization, 'optionalAccess',
|
|
17398
|
+
src: _optionalChain([organization, 'optionalAccess', _395 => _395.imageSrc]),
|
|
17399
|
+
alt: _optionalChain([organization, 'optionalAccess', _396 => _396.name]),
|
|
17400
|
+
fallback: _optionalChain([organization, 'optionalAccess', _397 => _397.name]) || "Org",
|
|
17295
17401
|
size: "md",
|
|
17296
17402
|
className: "shrink-0"
|
|
17297
17403
|
}
|
|
17298
17404
|
),
|
|
17299
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: _optionalChain([organization, 'optionalAccess',
|
|
17405
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: _optionalChain([organization, 'optionalAccess', _398 => _398.name]) || "Unassigned", label: "Organization" })
|
|
17300
17406
|
] }),
|
|
17301
17407
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: assigned ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17302
17408
|
AssigneeDropdown,
|
|
@@ -17314,10 +17420,10 @@ function TicketInfoSection({
|
|
|
17314
17420
|
] }),
|
|
17315
17421
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "block truncate text-ods-text-secondary text-h6", children: "Assigned" })
|
|
17316
17422
|
] }) }),
|
|
17317
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: _optionalChain([device, 'optionalAccess',
|
|
17423
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: _optionalChain([device, 'optionalAccess', _399 => _399.name]) || "Unassigned", label: "Device", icon: _optionalChain([device, 'optionalAccess', _400 => _400.icon]), onClick: _optionalChain([device, 'optionalAccess', _401 => _401.onClick]) }),
|
|
17318
17424
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
17319
17425
|
(status || statusLabel) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17320
|
-
|
|
17426
|
+
_chunkROQTWRV7cjs.TicketStatusTag,
|
|
17321
17427
|
{
|
|
17322
17428
|
status: _nullishCoalesce(status, () => ( "")),
|
|
17323
17429
|
label: statusLabel,
|
|
@@ -17356,9 +17462,9 @@ function TicketInfoSection({
|
|
|
17356
17462
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
17357
17463
|
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" }) }),
|
|
17358
17464
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
17359
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17465
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.SimpleMarkdownRenderer, { content: description }),
|
|
17360
17466
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
17361
|
-
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,
|
|
17467
|
+
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, _chunkROQTWRV7cjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
17362
17468
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17363
17469
|
TicketNotesSection,
|
|
17364
17470
|
{
|
|
@@ -17381,7 +17487,7 @@ function renderTicketStatusOption(option, isSelected) {
|
|
|
17381
17487
|
const { label, color } = option;
|
|
17382
17488
|
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: [
|
|
17383
17489
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
17384
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17490
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.ColorSwatch, { color }),
|
|
17385
17491
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TruncateText, { className: "text-inherit", children: label }) })
|
|
17386
17492
|
] }),
|
|
17387
17493
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -17391,7 +17497,7 @@ function renderTicketAssigneeOption(option, isSelected) {
|
|
|
17391
17497
|
const { label, imageUrl } = option;
|
|
17392
17498
|
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: [
|
|
17393
17499
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
17394
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17500
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE2EGTHYAcjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "round" }),
|
|
17395
17501
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TruncateText, { className: "text-inherit", children: label }) })
|
|
17396
17502
|
] }),
|
|
17397
17503
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -17419,16 +17525,16 @@ function TakeOverTicketModal({
|
|
|
17419
17525
|
setAssigneeId(_nullishCoalesce(initialAssigneeId, () => ( null)));
|
|
17420
17526
|
}
|
|
17421
17527
|
}
|
|
17422
|
-
const selectedStatusId = _nullishCoalesce(_nullishCoalesce(statusId, () => ( _optionalChain([statusOptions, 'access',
|
|
17528
|
+
const selectedStatusId = _nullishCoalesce(_nullishCoalesce(statusId, () => ( _optionalChain([statusOptions, 'access', _402 => _402[0], 'optionalAccess', _403 => _403.value]))), () => ( null));
|
|
17423
17529
|
const selectedStatus = statusOptions.find((o) => o.value === selectedStatusId);
|
|
17424
17530
|
const selectedAssignee = assigneeOptions.find((o) => o.value === assigneeId);
|
|
17425
17531
|
const handleConfirm = () => {
|
|
17426
17532
|
if (!selectedStatusId || !assigneeId || isPending) return;
|
|
17427
17533
|
onConfirm({ statusId: selectedStatusId, assigneeId });
|
|
17428
17534
|
};
|
|
17429
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17535
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkROQTWRV7cjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17430
17536
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17431
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17537
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.ModalTitle, { children: "Take Over Ticket" }) }),
|
|
17432
17538
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
17433
17539
|
"The ticket ",
|
|
17434
17540
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -17443,7 +17549,7 @@ function TakeOverTicketModal({
|
|
|
17443
17549
|
value: selectedStatusId,
|
|
17444
17550
|
onChange: setStatusId,
|
|
17445
17551
|
placeholder: "Select Status",
|
|
17446
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17552
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
17447
17553
|
renderOption: renderTicketStatusOption
|
|
17448
17554
|
}
|
|
17449
17555
|
) }),
|
|
@@ -17457,7 +17563,7 @@ function TakeOverTicketModal({
|
|
|
17457
17563
|
placeholder: "Select Technician",
|
|
17458
17564
|
loading: assigneesLoading,
|
|
17459
17565
|
startAdornment: selectedAssignee ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17460
|
-
|
|
17566
|
+
_chunkE2EGTHYAcjs.SquareAvatar,
|
|
17461
17567
|
{
|
|
17462
17568
|
src: selectedAssignee.imageUrl,
|
|
17463
17569
|
alt: selectedAssignee.label,
|
|
@@ -17470,7 +17576,7 @@ function TakeOverTicketModal({
|
|
|
17470
17576
|
}
|
|
17471
17577
|
) })
|
|
17472
17578
|
] }),
|
|
17473
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17579
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkROQTWRV7cjs.ModalFooter, { children: [
|
|
17474
17580
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCJBSU3XBcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
17475
17581
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
17476
17582
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17517,7 +17623,7 @@ function ReopenTicketModal({
|
|
|
17517
17623
|
setReason("");
|
|
17518
17624
|
}
|
|
17519
17625
|
}
|
|
17520
|
-
const selectedStatusId = _nullishCoalesce(_nullishCoalesce(statusId, () => ( _optionalChain([statusOptions, 'access',
|
|
17626
|
+
const selectedStatusId = _nullishCoalesce(_nullishCoalesce(statusId, () => ( _optionalChain([statusOptions, 'access', _404 => _404[0], 'optionalAccess', _405 => _405.value]))), () => ( null));
|
|
17521
17627
|
const selectedStatus = statusOptions.find((o) => o.value === selectedStatusId);
|
|
17522
17628
|
const selectedAssignee = assigneeOptions.find((o) => o.value === assigneeId);
|
|
17523
17629
|
const handleConfirm = () => {
|
|
@@ -17529,9 +17635,9 @@ function ReopenTicketModal({
|
|
|
17529
17635
|
reason: trimmedReason ? trimmedReason.slice(0, REASON_MAX_LENGTH) : null
|
|
17530
17636
|
});
|
|
17531
17637
|
};
|
|
17532
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17638
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkROQTWRV7cjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17533
17639
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17534
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17640
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
17535
17641
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
17536
17642
|
"The ticket ",
|
|
17537
17643
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-accent", children: ticketRef }),
|
|
@@ -17546,7 +17652,7 @@ function ReopenTicketModal({
|
|
|
17546
17652
|
value: selectedStatusId,
|
|
17547
17653
|
onChange: setStatusId,
|
|
17548
17654
|
placeholder: "Select Status",
|
|
17549
|
-
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17655
|
+
startAdornment: selectedStatus ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.ColorSwatch, { color: selectedStatus.color }) : void 0,
|
|
17550
17656
|
renderOption: renderTicketStatusOption
|
|
17551
17657
|
}
|
|
17552
17658
|
) }),
|
|
@@ -17560,7 +17666,7 @@ function ReopenTicketModal({
|
|
|
17560
17666
|
placeholder: "Select Technician",
|
|
17561
17667
|
loading: assigneesLoading,
|
|
17562
17668
|
startAdornment: selectedAssignee ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17563
|
-
|
|
17669
|
+
_chunkE2EGTHYAcjs.SquareAvatar,
|
|
17564
17670
|
{
|
|
17565
17671
|
src: selectedAssignee.imageUrl,
|
|
17566
17672
|
alt: selectedAssignee.label,
|
|
@@ -17584,7 +17690,7 @@ function ReopenTicketModal({
|
|
|
17584
17690
|
disabled: isPending
|
|
17585
17691
|
}
|
|
17586
17692
|
) }),
|
|
17587
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17693
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkROQTWRV7cjs.ModalFooter, { children: [
|
|
17588
17694
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCJBSU3XBcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1 md:hidden", children: "Cancel" }),
|
|
17589
17695
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden flex-1 md:block" }),
|
|
17590
17696
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17632,9 +17738,9 @@ function ReopenTicketRequestModal({
|
|
|
17632
17738
|
...showHandoffOption ? { handoffToTechnician: handoff } : {}
|
|
17633
17739
|
});
|
|
17634
17740
|
};
|
|
17635
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17741
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkROQTWRV7cjs.Modal, { isOpen, onClose: isPending ? () => {
|
|
17636
17742
|
} : onClose, className: "text-left md:max-w-[600px]", children: [
|
|
17637
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17743
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.ModalTitle, { children: "Reopen Ticket" }) }),
|
|
17638
17744
|
/* @__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." }),
|
|
17639
17745
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17640
17746
|
Textarea,
|
|
@@ -17658,7 +17764,7 @@ function ReopenTicketRequestModal({
|
|
|
17658
17764
|
disabled: isPending
|
|
17659
17765
|
}
|
|
17660
17766
|
),
|
|
17661
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
17767
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkROQTWRV7cjs.ModalFooter, { children: [
|
|
17662
17768
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCJBSU3XBcjs.Button, { type: "button", variant: "outline", onClick: onClose, disabled: isPending, className: "flex-1", children: "Cancel" }),
|
|
17663
17769
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCJBSU3XBcjs.Button, { type: "button", variant: "accent", onClick: handleConfirm, loading: isPending, className: "flex-1", children: "Reopen Ticket" })
|
|
17664
17770
|
] })
|
|
@@ -17919,10 +18025,10 @@ function AccountDetailsFields({
|
|
|
17919
18025
|
onKeyDown,
|
|
17920
18026
|
layout = "stacked"
|
|
17921
18027
|
}) {
|
|
17922
|
-
const firstNameErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess',
|
|
17923
|
-
const lastNameErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess',
|
|
17924
|
-
const passwordErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess',
|
|
17925
|
-
const confirmErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess',
|
|
18028
|
+
const firstNameErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _406 => _406.firstName]), firstName);
|
|
18029
|
+
const lastNameErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _407 => _407.lastName]), lastName);
|
|
18030
|
+
const passwordErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _408 => _408.password]), password);
|
|
18031
|
+
const confirmErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _409 => _409.confirmPassword]), confirmPassword);
|
|
17926
18032
|
const names = [
|
|
17927
18033
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17928
18034
|
_chunkN6HNK25Acjs.Input,
|
|
@@ -18162,7 +18268,7 @@ function SsoProviderButtons({
|
|
|
18162
18268
|
disabled: disabled || (enabledProviders ? !enabledProviders.includes(provider) : false),
|
|
18163
18269
|
className: "disabled:bg-ods-bg",
|
|
18164
18270
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon2, { className: "h-5 w-5" }),
|
|
18165
|
-
onClick: () => _optionalChain([onSsoClick, 'optionalCall',
|
|
18271
|
+
onClick: () => _optionalChain([onSsoClick, 'optionalCall', _410 => _410(provider)]),
|
|
18166
18272
|
children: `${actionLabel} ${meta.name}`
|
|
18167
18273
|
},
|
|
18168
18274
|
provider
|
|
@@ -18340,9 +18446,9 @@ function CreateOrganizationForm({
|
|
|
18340
18446
|
}) {
|
|
18341
18447
|
const hasSso = !!ssoProviders && ssoProviders.length > 0;
|
|
18342
18448
|
const fieldsDisabled = disabled || loading;
|
|
18343
|
-
const emailErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess',
|
|
18344
|
-
const orgNameErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess',
|
|
18345
|
-
const domainErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess',
|
|
18449
|
+
const emailErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _411 => _411.email]), _nullishCoalesce(email, () => ( "")));
|
|
18450
|
+
const orgNameErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _412 => _412.organizationName]), organizationName);
|
|
18451
|
+
const domainErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _413 => _413.domain]), domain);
|
|
18346
18452
|
const handleKeyDown = (event) => {
|
|
18347
18453
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18348
18454
|
onSubmit();
|
|
@@ -18367,11 +18473,11 @@ function CreateOrganizationForm({
|
|
|
18367
18473
|
label: "Email",
|
|
18368
18474
|
placeholder: "username@mail.com",
|
|
18369
18475
|
value: email,
|
|
18370
|
-
error: _nullishCoalesce(emailErr.error, () => ( _optionalChain([emailStatus, 'optionalAccess',
|
|
18371
|
-
errorVariant: emailErr.error ? "error" : _optionalChain([emailStatus, 'optionalAccess',
|
|
18476
|
+
error: _nullishCoalesce(emailErr.error, () => ( _optionalChain([emailStatus, 'optionalAccess', _414 => _414.message]))),
|
|
18477
|
+
errorVariant: emailErr.error ? "error" : _optionalChain([emailStatus, 'optionalAccess', _415 => _415.variant]),
|
|
18372
18478
|
disabled: fieldsDisabled,
|
|
18373
18479
|
onBlur: emailErr.onBlur,
|
|
18374
|
-
onChange: (event) => _optionalChain([onEmailChange, 'optionalCall',
|
|
18480
|
+
onChange: (event) => _optionalChain([onEmailChange, 'optionalCall', _416 => _416(event.target.value)]),
|
|
18375
18481
|
onKeyDown: handleKeyDown
|
|
18376
18482
|
}
|
|
18377
18483
|
),
|
|
@@ -18395,8 +18501,8 @@ function CreateOrganizationForm({
|
|
|
18395
18501
|
label: "Domain",
|
|
18396
18502
|
placeholder: domainPlaceholder,
|
|
18397
18503
|
value: domain,
|
|
18398
|
-
error: _nullishCoalesce(domainErr.error, () => ( _optionalChain([domainStatus, 'optionalAccess',
|
|
18399
|
-
errorVariant: domainErr.error ? "error" : _optionalChain([domainStatus, 'optionalAccess',
|
|
18504
|
+
error: _nullishCoalesce(domainErr.error, () => ( _optionalChain([domainStatus, 'optionalAccess', _417 => _417.message]))),
|
|
18505
|
+
errorVariant: domainErr.error ? "error" : _optionalChain([domainStatus, 'optionalAccess', _418 => _418.variant]),
|
|
18400
18506
|
disabled: fieldsDisabled,
|
|
18401
18507
|
onBlur: domainErr.onBlur,
|
|
18402
18508
|
endAdornment: domainSuffix ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: domainSuffix }) : void 0,
|
|
@@ -18431,7 +18537,7 @@ function CreateOrganizationForm({
|
|
|
18431
18537
|
label: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TermsAgreementLabel, { termsUrl, privacyPolicyUrl }),
|
|
18432
18538
|
checked: agreedToTerms,
|
|
18433
18539
|
disabled: fieldsDisabled,
|
|
18434
|
-
error: _optionalChain([errors, 'optionalAccess',
|
|
18540
|
+
error: _optionalChain([errors, 'optionalAccess', _419 => _419.terms]),
|
|
18435
18541
|
onCheckedChange: onAgreedToTermsChange
|
|
18436
18542
|
}
|
|
18437
18543
|
),
|
|
@@ -18558,10 +18664,10 @@ function LoginForm({
|
|
|
18558
18664
|
className
|
|
18559
18665
|
}) {
|
|
18560
18666
|
const fieldDisabled = disabled || loading;
|
|
18561
|
-
const emailErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess',
|
|
18667
|
+
const emailErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _420 => _420.email]), email);
|
|
18562
18668
|
const handleKeyDown = (event) => {
|
|
18563
18669
|
if (event.key !== "Enter" || fieldDisabled || submitDisabled) return;
|
|
18564
|
-
_optionalChain([onSubmitClick, 'optionalCall',
|
|
18670
|
+
_optionalChain([onSubmitClick, 'optionalCall', _421 => _421()]);
|
|
18565
18671
|
};
|
|
18566
18672
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18567
18673
|
"div",
|
|
@@ -18593,8 +18699,8 @@ function LoginForm({
|
|
|
18593
18699
|
label: "Email",
|
|
18594
18700
|
placeholder: emailPlaceholder,
|
|
18595
18701
|
value: email,
|
|
18596
|
-
error: _nullishCoalesce(emailErr.error, () => ( _optionalChain([emailStatus, 'optionalAccess',
|
|
18597
|
-
errorVariant: emailErr.error ? "error" : _optionalChain([emailStatus, 'optionalAccess',
|
|
18702
|
+
error: _nullishCoalesce(emailErr.error, () => ( _optionalChain([emailStatus, 'optionalAccess', _422 => _422.message]))),
|
|
18703
|
+
errorVariant: emailErr.error ? "error" : _optionalChain([emailStatus, 'optionalAccess', _423 => _423.variant]),
|
|
18598
18704
|
disabled: fieldDisabled,
|
|
18599
18705
|
onBlur: emailErr.onBlur,
|
|
18600
18706
|
onChange: (event) => onEmailChange(event.target.value),
|
|
@@ -18673,8 +18779,8 @@ function OpenFrameSsoLoginForm({
|
|
|
18673
18779
|
className
|
|
18674
18780
|
}) {
|
|
18675
18781
|
const fieldsDisabled = disabled || loading;
|
|
18676
|
-
const emailErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess',
|
|
18677
|
-
const passwordErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess',
|
|
18782
|
+
const emailErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _424 => _424.email]), email);
|
|
18783
|
+
const passwordErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _425 => _425.password]), password);
|
|
18678
18784
|
const handleKeyDown = (event) => {
|
|
18679
18785
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18680
18786
|
onSubmit();
|
|
@@ -18779,7 +18885,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
18779
18885
|
className
|
|
18780
18886
|
}) {
|
|
18781
18887
|
const fieldsDisabled = disabled || loading;
|
|
18782
|
-
const emailErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess',
|
|
18888
|
+
const emailErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _426 => _426.email]), email);
|
|
18783
18889
|
const handleKeyDown = (event) => {
|
|
18784
18890
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18785
18891
|
onSubmit();
|
|
@@ -18884,8 +18990,8 @@ function PasswordResetForm({
|
|
|
18884
18990
|
className
|
|
18885
18991
|
}) {
|
|
18886
18992
|
const fieldsDisabled = disabled || loading;
|
|
18887
|
-
const passwordErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess',
|
|
18888
|
-
const confirmErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess',
|
|
18993
|
+
const passwordErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _427 => _427.password]), password);
|
|
18994
|
+
const confirmErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _428 => _428.confirmPassword]), confirmPassword);
|
|
18889
18995
|
const handleKeyDown = (event) => {
|
|
18890
18996
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18891
18997
|
onSubmit();
|
|
@@ -19006,7 +19112,7 @@ function SsoJoinForm({
|
|
|
19006
19112
|
className
|
|
19007
19113
|
}) {
|
|
19008
19114
|
const fieldsDisabled = disabled || loading;
|
|
19009
|
-
const displayName = _optionalChain([name, 'optionalAccess',
|
|
19115
|
+
const displayName = _optionalChain([name, 'optionalAccess', _429 => _429.trim, 'call', _430 => _430()]) || _optionalChain([email, 'optionalAccess', _431 => _431.trim, 'call', _432 => _432()]) || "";
|
|
19010
19116
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19011
19117
|
"div",
|
|
19012
19118
|
{
|
|
@@ -19021,7 +19127,7 @@ function SsoJoinForm({
|
|
|
19021
19127
|
] }),
|
|
19022
19128
|
/* @__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: [
|
|
19023
19129
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19024
|
-
|
|
19130
|
+
_chunkE2EGTHYAcjs.SquareAvatar,
|
|
19025
19131
|
{
|
|
19026
19132
|
size: "lg",
|
|
19027
19133
|
variant: "round",
|
|
@@ -19035,7 +19141,7 @@ function SsoJoinForm({
|
|
|
19035
19141
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", children: displayName }),
|
|
19036
19142
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: organizationName })
|
|
19037
19143
|
] }),
|
|
19038
|
-
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,
|
|
19144
|
+
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, _chunkROQTWRV7cjs.Tag, { variant: "grey", label: role }, role)) })
|
|
19039
19145
|
] }),
|
|
19040
19146
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19041
19147
|
CheckboxBlock,
|
|
@@ -19504,7 +19610,7 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
19504
19610
|
const label = (tag.name || "").toUpperCase();
|
|
19505
19611
|
if (basePath && tag.slug) {
|
|
19506
19612
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: `${basePath}?tags=${tag.slug}`, className: "inline-flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19507
|
-
|
|
19613
|
+
_chunkE2EGTHYAcjs.StatusBadge,
|
|
19508
19614
|
{
|
|
19509
19615
|
text: label,
|
|
19510
19616
|
variant: "card",
|
|
@@ -19512,9 +19618,9 @@ function EntityTagBadges({ tags, basePath, max, className }) {
|
|
|
19512
19618
|
}
|
|
19513
19619
|
) }, key);
|
|
19514
19620
|
}
|
|
19515
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19621
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE2EGTHYAcjs.StatusBadge, { text: label, variant: "card", className: BADGE_CLASS }, key);
|
|
19516
19622
|
}),
|
|
19517
|
-
overflow2 > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19623
|
+
overflow2 > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE2EGTHYAcjs.StatusBadge, { text: `+${overflow2}`, variant: "card", className: `${BADGE_CLASS} text-ods-text-secondary` })
|
|
19518
19624
|
] });
|
|
19519
19625
|
}
|
|
19520
19626
|
|
|
@@ -19591,7 +19697,7 @@ var SectionButton = ({
|
|
|
19591
19697
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap items-center gap-2", children: [
|
|
19592
19698
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk23V5BSHDcjs.cn.call(void 0, titleClasses, "whitespace-normal break-words text-h4"), children: section.title }),
|
|
19593
19699
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19594
|
-
|
|
19700
|
+
_chunkE2EGTHYAcjs.StatusBadge,
|
|
19595
19701
|
{
|
|
19596
19702
|
text: section.badge.text,
|
|
19597
19703
|
variant: section.badge.variant || "button",
|
|
@@ -19610,7 +19716,7 @@ var SectionButton = ({
|
|
|
19610
19716
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-wrap items-start gap-2", children: [
|
|
19611
19717
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, titleClasses, "text-h3"), style: { textAlign: "left" }, children: section.title }),
|
|
19612
19718
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19613
|
-
|
|
19719
|
+
_chunkE2EGTHYAcjs.StatusBadge,
|
|
19614
19720
|
{
|
|
19615
19721
|
text: section.badge.text,
|
|
19616
19722
|
variant: section.badge.variant || "button",
|
|
@@ -19681,10 +19787,10 @@ var getContentDimensions = (config) => {
|
|
|
19681
19787
|
const envMobileHeight = process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT) : null;
|
|
19682
19788
|
const envDesktopWidth = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH) : null;
|
|
19683
19789
|
const envDesktopHeight = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT) : null;
|
|
19684
|
-
const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess',
|
|
19685
|
-
const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess',
|
|
19686
|
-
const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess',
|
|
19687
|
-
const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess',
|
|
19790
|
+
const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess', _433 => _433.mobileContentDimensions, 'optionalAccess', _434 => _434.width]))), () => ( defaultMobile.width));
|
|
19791
|
+
const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess', _435 => _435.mobileContentDimensions, 'optionalAccess', _436 => _436.height]))), () => ( defaultMobile.height));
|
|
19792
|
+
const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess', _437 => _437.desktopContentDimensions, 'optionalAccess', _438 => _438.width]))), () => ( defaultDesktop.width));
|
|
19793
|
+
const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess', _439 => _439.desktopContentDimensions, 'optionalAccess', _440 => _440.height]))), () => ( defaultDesktop.height));
|
|
19688
19794
|
return {
|
|
19689
19795
|
mobile: { width: mobileWidth, height: mobileHeight },
|
|
19690
19796
|
desktop: { width: desktopWidth, height: desktopHeight }
|
|
@@ -19840,7 +19946,7 @@ function UnifiedUI({ state, handlers, config, iframeRef }) {
|
|
|
19840
19946
|
const contentDimensions = getContentDimensions(config);
|
|
19841
19947
|
const mobileHeight = contentDimensions.mobile.height;
|
|
19842
19948
|
const calculatedHeight = Math.max(mobileHeight + 100, 400);
|
|
19843
|
-
return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess',
|
|
19949
|
+
return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess', _441 => _441.innerHeight]) * 0.85 || 650)}px`;
|
|
19844
19950
|
})(),
|
|
19845
19951
|
minHeight: viewMode === "DESKTOP" ? "auto" : (() => {
|
|
19846
19952
|
const contentDimensions = getContentDimensions(config);
|
|
@@ -19898,7 +20004,7 @@ function UnifiedUI({ state, handlers, config, iframeRef }) {
|
|
|
19898
20004
|
sandbox: "allow-scripts allow-same-origin allow-popups allow-presentation",
|
|
19899
20005
|
title: config.title,
|
|
19900
20006
|
loading: "eager",
|
|
19901
|
-
...
|
|
20007
|
+
..._chunkROQTWRV7cjs.fetchPriorityProp.call(void 0, "high")
|
|
19902
20008
|
},
|
|
19903
20009
|
iframeKey
|
|
19904
20010
|
),
|
|
@@ -19943,7 +20049,7 @@ var FigmaPrototypeViewer = ({
|
|
|
19943
20049
|
const [isInitialized, setIsInitialized] = _react.useState.call(void 0, false);
|
|
19944
20050
|
const [currentNodeId, setCurrentNodeId] = _react.useState.call(void 0, null);
|
|
19945
20051
|
const [internalActiveSection, setInternalActiveSection] = _react.useState.call(void 0,
|
|
19946
|
-
config.defaultSectionId || _optionalChain([config, 'access',
|
|
20052
|
+
config.defaultSectionId || _optionalChain([config, 'access', _442 => _442.sections, 'access', _443 => _443[0], 'optionalAccess', _444 => _444.id]) || ""
|
|
19947
20053
|
);
|
|
19948
20054
|
const activeSection = externalActiveSection || internalActiveSection;
|
|
19949
20055
|
const [isNavigating, setIsNavigating] = _react.useState.call(void 0, false);
|
|
@@ -20041,19 +20147,19 @@ var FigmaPrototypeViewer = ({
|
|
|
20041
20147
|
setIframeState("READY");
|
|
20042
20148
|
break;
|
|
20043
20149
|
case "PRESENTED_NODE_CHANGED":
|
|
20044
|
-
if (_optionalChain([figmaEvent, 'access',
|
|
20150
|
+
if (_optionalChain([figmaEvent, 'access', _445 => _445.data, 'optionalAccess', _446 => _446.presentedNodeId])) {
|
|
20045
20151
|
setCurrentNodeId(figmaEvent.data.presentedNodeId);
|
|
20046
20152
|
if (!isNavigating) {
|
|
20047
20153
|
const matchingSection = configSections.find((s) => {
|
|
20048
|
-
const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access',
|
|
20049
|
-
const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access',
|
|
20154
|
+
const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access', _447 => _447.data, 'optionalAccess', _448 => _448.presentedNodeId]) || s.startingNodeId.replace(":", "-") === _optionalChain([figmaEvent, 'access', _449 => _449.data, 'optionalAccess', _450 => _450.presentedNodeId]);
|
|
20155
|
+
const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access', _451 => _451.data, 'optionalAccess', _452 => _452.presentedNodeId]) || _optionalChain([s, 'access', _453 => _453.mobileStartingNodeId, 'optionalAccess', _454 => _454.replace, 'call', _455 => _455(":", "-")]) === _optionalChain([figmaEvent, 'access', _456 => _456.data, 'optionalAccess', _457 => _457.presentedNodeId]);
|
|
20050
20156
|
return desktopMatch || mobileMatch;
|
|
20051
20157
|
});
|
|
20052
20158
|
if (matchingSection && matchingSection.id !== activeSection) {
|
|
20053
20159
|
if (!externalActiveSection) {
|
|
20054
20160
|
setInternalActiveSection(matchingSection.id);
|
|
20055
20161
|
}
|
|
20056
|
-
_optionalChain([onSectionChange, 'optionalCall',
|
|
20162
|
+
_optionalChain([onSectionChange, 'optionalCall', _458 => _458(matchingSection.id)]);
|
|
20057
20163
|
}
|
|
20058
20164
|
}
|
|
20059
20165
|
}
|
|
@@ -20067,7 +20173,7 @@ var FigmaPrototypeViewer = ({
|
|
|
20067
20173
|
const navigateToSection = _react.useCallback.call(void 0,
|
|
20068
20174
|
(sectionId) => {
|
|
20069
20175
|
const section = config.sections.find((s) => s.id === sectionId);
|
|
20070
|
-
if (!section || !_optionalChain([iframeRef, 'access',
|
|
20176
|
+
if (!section || !_optionalChain([iframeRef, 'access', _459 => _459.current, 'optionalAccess', _460 => _460.contentWindow]) || !isInitialized) {
|
|
20071
20177
|
return;
|
|
20072
20178
|
}
|
|
20073
20179
|
setIsNavigating(true);
|
|
@@ -20075,7 +20181,7 @@ var FigmaPrototypeViewer = ({
|
|
|
20075
20181
|
if (!externalActiveSection) {
|
|
20076
20182
|
setInternalActiveSection(sectionId);
|
|
20077
20183
|
}
|
|
20078
|
-
_optionalChain([config, 'access',
|
|
20184
|
+
_optionalChain([config, 'access', _461 => _461.onSectionChange, 'optionalCall', _462 => _462(sectionId)]);
|
|
20079
20185
|
const command = {
|
|
20080
20186
|
type: "NAVIGATE_TO_FRAME_AND_CLOSE_OVERLAYS",
|
|
20081
20187
|
data: { nodeId }
|
|
@@ -20412,7 +20518,7 @@ var FiltersDropdown = ({
|
|
|
20412
20518
|
defaults[section.id] = section.defaultSelected || [];
|
|
20413
20519
|
});
|
|
20414
20520
|
setSelectedFilters(defaults);
|
|
20415
|
-
_optionalChain([onReset, 'optionalCall',
|
|
20521
|
+
_optionalChain([onReset, 'optionalCall', _463 => _463()]);
|
|
20416
20522
|
setIsOpen(false);
|
|
20417
20523
|
};
|
|
20418
20524
|
const handleApply = () => {
|
|
@@ -20661,7 +20767,7 @@ function MediaGalleryManager({
|
|
|
20661
20767
|
const [draggedIndex, setDraggedIndex] = _react.useState.call(void 0, null);
|
|
20662
20768
|
const handleFileSelect = _react.useCallback.call(void 0,
|
|
20663
20769
|
async (event) => {
|
|
20664
|
-
const file = _optionalChain([event, 'access',
|
|
20770
|
+
const file = _optionalChain([event, 'access', _464 => _464.target, 'access', _465 => _465.files, 'optionalAccess', _466 => _466[0]]);
|
|
20665
20771
|
if (!file) return;
|
|
20666
20772
|
let mediaType;
|
|
20667
20773
|
if (file.type.startsWith("image/")) {
|
|
@@ -20724,7 +20830,7 @@ function MediaGalleryManager({
|
|
|
20724
20830
|
(mediaItem, index) => {
|
|
20725
20831
|
const isDeleting = deletingIndex === index;
|
|
20726
20832
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
20727
|
-
|
|
20833
|
+
_chunkE2EGTHYAcjs.Card,
|
|
20728
20834
|
{
|
|
20729
20835
|
className: "group relative border-ods-border transition-colors hover:border-ods-accent/30",
|
|
20730
20836
|
draggable: true,
|
|
@@ -20745,10 +20851,10 @@ function MediaGalleryManager({
|
|
|
20745
20851
|
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" })
|
|
20746
20852
|
}
|
|
20747
20853
|
) }),
|
|
20748
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children:
|
|
20854
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children: _chunkE2EGTHYAcjs.isVideoMedia.call(void 0, mediaItem) || mediaItem.media_type === "demo" ? (
|
|
20749
20855
|
// <Video> SSOT (MuxPlayer) — plays Mux HLS + MP4 alike;
|
|
20750
20856
|
// fit="cover" crops to the aspect-video cell.
|
|
20751
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20857
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.Video, { kind: "file", url: mediaItem.media_url, fit: "cover", className: "h-full w-full" })
|
|
20752
20858
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20753
20859
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
20754
20860
|
{
|
|
@@ -20761,7 +20867,7 @@ function MediaGalleryManager({
|
|
|
20761
20867
|
) }),
|
|
20762
20868
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "p-3", children: [
|
|
20763
20869
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-1 flex items-center gap-2", children: [
|
|
20764
|
-
|
|
20870
|
+
_chunkE2EGTHYAcjs.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" }),
|
|
20765
20871
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "capitalize text-ods-text-primary text-h6", children: mediaItem.media_type })
|
|
20766
20872
|
] }),
|
|
20767
20873
|
mediaItem.title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: mediaItem.title })
|
|
@@ -20786,7 +20892,7 @@ function MediaGalleryManager({
|
|
|
20786
20892
|
{
|
|
20787
20893
|
type: "button",
|
|
20788
20894
|
variant: "outline",
|
|
20789
|
-
onClick: () => _optionalChain([fileInputRef, 'access',
|
|
20895
|
+
onClick: () => _optionalChain([fileInputRef, 'access', _467 => _467.current, 'optionalAccess', _468 => _468.click, 'call', _469 => _469()]),
|
|
20790
20896
|
disabled: isUploading,
|
|
20791
20897
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
|
|
20792
20898
|
className: "font-bold text-h6",
|
|
@@ -22911,9 +23017,9 @@ function PushButtonSelector({
|
|
|
22911
23017
|
}) {
|
|
22912
23018
|
const scrollRef = _react.useRef.call(void 0, null);
|
|
22913
23019
|
const sentinelRef = _react.useRef.call(void 0, null);
|
|
22914
|
-
const lazyHasMore = _nullishCoalesce(_optionalChain([lazyLoad, 'optionalAccess',
|
|
22915
|
-
const lazyFetching = _nullishCoalesce(_optionalChain([lazyLoad, 'optionalAccess',
|
|
22916
|
-
const onLoadMore = _optionalChain([lazyLoad, 'optionalAccess',
|
|
23020
|
+
const lazyHasMore = _nullishCoalesce(_optionalChain([lazyLoad, 'optionalAccess', _470 => _470.hasMore]), () => ( false));
|
|
23021
|
+
const lazyFetching = _nullishCoalesce(_optionalChain([lazyLoad, 'optionalAccess', _471 => _471.isFetchingMore]), () => ( false));
|
|
23022
|
+
const onLoadMore = _optionalChain([lazyLoad, 'optionalAccess', _472 => _472.onLoadMore]);
|
|
22917
23023
|
const optionCount = options.length;
|
|
22918
23024
|
_react.useEffect.call(void 0, () => {
|
|
22919
23025
|
const sentinel = sentinelRef.current;
|
|
@@ -22999,9 +23105,9 @@ function PushButtonSelector({
|
|
|
22999
23105
|
option.id
|
|
23000
23106
|
);
|
|
23001
23107
|
if (option.disabled && option.disabledReason) {
|
|
23002
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23003
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23004
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23108
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkROQTWRV7cjs.Tooltip, { children: [
|
|
23109
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.TooltipTrigger, { asChild: true, children: optionEl }),
|
|
23110
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.TooltipContent, { className: "max-w-xs", children: option.disabledReason })
|
|
23005
23111
|
] }, option.id);
|
|
23006
23112
|
}
|
|
23007
23113
|
return optionEl;
|
|
@@ -23046,7 +23152,7 @@ function PushButtonSelector({
|
|
|
23046
23152
|
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
|
|
23047
23153
|
] }) : null
|
|
23048
23154
|
] });
|
|
23049
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23155
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.TooltipProvider, { delayDuration: 150, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `space-y-4 ${className}`, children: [
|
|
23050
23156
|
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-ods-text-primary text-h5", children: title }),
|
|
23051
23157
|
searchInput,
|
|
23052
23158
|
lazyLoad ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -23084,7 +23190,7 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
|
|
|
23084
23190
|
const fileInputRef = _react.useRef.call(void 0, null);
|
|
23085
23191
|
const [uploadingIndex, setUploadingIndex] = _react.useState.call(void 0, null);
|
|
23086
23192
|
const handleFileSelect = async (event) => {
|
|
23087
|
-
const file = _optionalChain([event, 'access',
|
|
23193
|
+
const file = _optionalChain([event, 'access', _473 => _473.target, 'access', _474 => _474.files, 'optionalAccess', _475 => _475[0]]);
|
|
23088
23194
|
if (!file) return;
|
|
23089
23195
|
let mediaType;
|
|
23090
23196
|
if (file.type.startsWith("image/")) {
|
|
@@ -23166,7 +23272,7 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
|
|
|
23166
23272
|
{
|
|
23167
23273
|
type: "button",
|
|
23168
23274
|
variant: "outline",
|
|
23169
|
-
onClick: () => _optionalChain([fileInputRef, 'access',
|
|
23275
|
+
onClick: () => _optionalChain([fileInputRef, 'access', _476 => _476.current, 'optionalAccess', _477 => _477.click, 'call', _478 => _478()]),
|
|
23170
23276
|
disabled: uploadingIndex !== null,
|
|
23171
23277
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
|
|
23172
23278
|
className: "font-bold text-h6",
|
|
@@ -23216,10 +23322,10 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
|
|
|
23216
23322
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-on-dark" })
|
|
23217
23323
|
}
|
|
23218
23324
|
) }),
|
|
23219
|
-
item.media_url && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video bg-ods-bg", children:
|
|
23325
|
+
item.media_url && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video bg-ods-bg", children: _chunkE2EGTHYAcjs.isVideoMedia.call(void 0, item) || item.media_type === "demo" ? (
|
|
23220
23326
|
// <Video> SSOT (MuxPlayer) — plays Mux HLS + MP4 alike;
|
|
23221
23327
|
// fit="cover" crops to the aspect-video cell.
|
|
23222
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23328
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.Video, { kind: "file", url: item.media_url, fit: "cover", className: "h-full w-full" })
|
|
23223
23329
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23224
23330
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
23225
23331
|
{
|
|
@@ -23352,7 +23458,7 @@ var SelectButton = _react2.default.forwardRef(
|
|
|
23352
23458
|
}
|
|
23353
23459
|
)
|
|
23354
23460
|
] }),
|
|
23355
|
-
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23461
|
+
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.Tag, { variant: tagVariant, className: "shrink-0", label: tag }),
|
|
23356
23462
|
selected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.CheckCircleIcon, { className: "size-4 shrink-0 text-ods-accent md:size-6" })
|
|
23357
23463
|
]
|
|
23358
23464
|
}
|
|
@@ -23447,7 +23553,7 @@ function SEOEditorPreview({
|
|
|
23447
23553
|
const displayImage = hasOgImage || hasFeaturedImage;
|
|
23448
23554
|
const handleImageUpload = async (event) => {
|
|
23449
23555
|
if (!onOgImageUpload) return;
|
|
23450
|
-
const file = _optionalChain([event, 'access',
|
|
23556
|
+
const file = _optionalChain([event, 'access', _479 => _479.target, 'access', _480 => _480.files, 'optionalAccess', _481 => _481[0]]);
|
|
23451
23557
|
if (!file) return;
|
|
23452
23558
|
setIsUploading(true);
|
|
23453
23559
|
try {
|
|
@@ -23604,7 +23710,7 @@ function SEOEditorPreview({
|
|
|
23604
23710
|
type: "button",
|
|
23605
23711
|
variant: "outline",
|
|
23606
23712
|
size: "icon",
|
|
23607
|
-
onClick: () => _optionalChain([fileInputRef, 'optionalAccess',
|
|
23713
|
+
onClick: () => _optionalChain([fileInputRef, 'optionalAccess', _482 => _482.click, 'call', _483 => _483()]),
|
|
23608
23714
|
disabled: disabled || isUploading,
|
|
23609
23715
|
className: "rounded-full bg-white text-black opacity-0 hover:bg-gray-100 group-hover:opacity-100",
|
|
23610
23716
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-4 w-4" })
|
|
@@ -23630,7 +23736,7 @@ function SEOEditorPreview({
|
|
|
23630
23736
|
SEO_MEDIA_BOX_HEIGHT,
|
|
23631
23737
|
"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"
|
|
23632
23738
|
),
|
|
23633
|
-
onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess',
|
|
23739
|
+
onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess', _484 => _484.click, 'call', _485 => _485()]),
|
|
23634
23740
|
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: [
|
|
23635
23741
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "mb-2 h-8 w-8 text-ods-text-secondary" }),
|
|
23636
23742
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h6", children: onOgImageUpload ? "Click to upload OG image" : "No image" })
|
|
@@ -23791,7 +23897,7 @@ function SocialLinksManager({
|
|
|
23791
23897
|
className = ""
|
|
23792
23898
|
}) {
|
|
23793
23899
|
const addLink = () => {
|
|
23794
|
-
const firstPlatform = _optionalChain([platforms, 'access',
|
|
23900
|
+
const firstPlatform = _optionalChain([platforms, 'access', _486 => _486[0], 'optionalAccess', _487 => _487.name]) || "website";
|
|
23795
23901
|
onChange([...links, { platform: firstPlatform, url: "" }]);
|
|
23796
23902
|
};
|
|
23797
23903
|
const removeLink = (index) => {
|
|
@@ -23803,7 +23909,7 @@ function SocialLinksManager({
|
|
|
23803
23909
|
onChange(updated);
|
|
23804
23910
|
};
|
|
23805
23911
|
const getIcon = (link, platform) => {
|
|
23806
|
-
const iconKey = _optionalChain([platform, 'optionalAccess',
|
|
23912
|
+
const iconKey = _optionalChain([platform, 'optionalAccess', _488 => _488.icon_name]) || link.platform;
|
|
23807
23913
|
const key = normalizeSocialPlatform(iconKey);
|
|
23808
23914
|
if (!key) return null;
|
|
23809
23915
|
const IconComponent = SOCIAL_ICON_COMPONENTS[key];
|
|
@@ -23827,7 +23933,7 @@ function SocialLinksManager({
|
|
|
23827
23933
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23828
23934
|
_chunkN6HNK25Acjs.Input,
|
|
23829
23935
|
{
|
|
23830
|
-
placeholder: _optionalChain([platform, 'optionalAccess',
|
|
23936
|
+
placeholder: _optionalChain([platform, 'optionalAccess', _489 => _489.placeholder]) || "Profile URL",
|
|
23831
23937
|
value: link.url,
|
|
23832
23938
|
onChange: (e) => updateLink(index, "url", e.target.value),
|
|
23833
23939
|
onKeyDown: (e) => {
|
|
@@ -23940,7 +24046,7 @@ var StartWithOpenFrameButton = _react.forwardRef.call(void 0,
|
|
|
23940
24046
|
className: _chunk23V5BSHDcjs.cn.call(void 0, modeClassName, className),
|
|
23941
24047
|
style: customStyle,
|
|
23942
24048
|
leftIcon: !loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63QUMV72cjs.OpenFrameLogo, { className: "h-5 w-5", lowerPathColor: iconLowerPath, upperPathColor: iconUpperPath }) : void 0,
|
|
23943
|
-
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24049
|
+
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE2EGTHYAcjs.StatusBadge, { text: "Beta", variant: "button", colorScheme: "yellow" }),
|
|
23944
24050
|
children
|
|
23945
24051
|
}
|
|
23946
24052
|
);
|
|
@@ -24210,11 +24316,11 @@ function WarningBlock({ title, icon = DEFAULT_ICON, children, className }) {
|
|
|
24210
24316
|
|
|
24211
24317
|
function VideoBitesDisplay({
|
|
24212
24318
|
bites,
|
|
24213
|
-
title =
|
|
24319
|
+
title = _chunkE2EGTHYAcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
24214
24320
|
filterPublished = true,
|
|
24215
24321
|
showTitle = true
|
|
24216
24322
|
}) {
|
|
24217
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24323
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
24218
24324
|
}
|
|
24219
24325
|
|
|
24220
24326
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -24223,8 +24329,8 @@ function VideoBitesDisplay({
|
|
|
24223
24329
|
|
|
24224
24330
|
var isAtEnd = (duration, time) => duration > 0 && duration - time < 1;
|
|
24225
24331
|
function theaterSeedFromLive(live, fallbackTime, fallbackMuted) {
|
|
24226
|
-
const time = _nullishCoalesce(_optionalChain([live, 'optionalAccess',
|
|
24227
|
-
const atEnd = isAtEnd(_nullishCoalesce(_optionalChain([live, 'optionalAccess',
|
|
24332
|
+
const time = _nullishCoalesce(_optionalChain([live, 'optionalAccess', _490 => _490.getCurrentTime, 'call', _491 => _491()]), () => ( 0));
|
|
24333
|
+
const atEnd = isAtEnd(_nullishCoalesce(_optionalChain([live, 'optionalAccess', _492 => _492.getDuration, 'call', _493 => _493()]), () => ( 0)), time);
|
|
24228
24334
|
return {
|
|
24229
24335
|
// At end -> start over, never rewind to an unrelated older anchor.
|
|
24230
24336
|
time: atEnd ? 0 : time > 0.5 ? time : fallbackTime,
|
|
@@ -24256,11 +24362,11 @@ function WalkthroughVideo({
|
|
|
24256
24362
|
const inline = placement === "inline";
|
|
24257
24363
|
const dismissEnabled = dismissal !== false;
|
|
24258
24364
|
const storageKey = dismissEnabled && dismissal.storageKey || WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
24259
|
-
const dismissalId = _optionalChain([video, 'optionalAccess',
|
|
24365
|
+
const dismissalId = _optionalChain([video, 'optionalAccess', _494 => _494.id]) != null ? String(video.id) : "dismissed";
|
|
24260
24366
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
24261
24367
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
24262
24368
|
const hasVideo = video != null;
|
|
24263
|
-
const videoId = _optionalChain([video, 'optionalAccess',
|
|
24369
|
+
const videoId = _optionalChain([video, 'optionalAccess', _495 => _495.id]);
|
|
24264
24370
|
_react.useEffect.call(void 0, () => {
|
|
24265
24371
|
let idleHandle = null;
|
|
24266
24372
|
if (!hasVideo) return void 0;
|
|
@@ -24283,13 +24389,13 @@ function WalkthroughVideo({
|
|
|
24283
24389
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
24284
24390
|
};
|
|
24285
24391
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId]);
|
|
24286
|
-
const hydrated =
|
|
24392
|
+
const hydrated = _chunkROQTWRV7cjs.useIsHydrated.call(void 0, );
|
|
24287
24393
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
24288
24394
|
if (!hydrated) return false;
|
|
24289
24395
|
try {
|
|
24290
|
-
const reducedMotion = _nullishCoalesce(_optionalChain([window, 'access',
|
|
24396
|
+
const reducedMotion = _nullishCoalesce(_optionalChain([window, 'access', _496 => _496.matchMedia, 'optionalCall', _497 => _497("(prefers-reduced-motion: reduce)"), 'access', _498 => _498.matches]), () => ( false));
|
|
24291
24397
|
const conn = navigator.connection;
|
|
24292
|
-
const saveData = _optionalChain([conn, 'optionalAccess',
|
|
24398
|
+
const saveData = _optionalChain([conn, 'optionalAccess', _499 => _499.saveData]) === true || _optionalChain([conn, 'optionalAccess', _500 => _500.effectiveType]) === "2g" || _optionalChain([conn, 'optionalAccess', _501 => _501.effectiveType]) === "slow-2g";
|
|
24293
24399
|
return Boolean(reducedMotion || saveData);
|
|
24294
24400
|
} catch (e28) {
|
|
24295
24401
|
return false;
|
|
@@ -24322,18 +24428,18 @@ function WalkthroughVideo({
|
|
|
24322
24428
|
const [cardMuted, setCardMuted] = _react.useState.call(void 0, false);
|
|
24323
24429
|
const [cardPaused, setCardPaused] = _react.useState.call(void 0, false);
|
|
24324
24430
|
const [userMuted, setUserMuted] = _react.useState.call(void 0, false);
|
|
24325
|
-
const isYouTube = Boolean(_optionalChain([video, 'optionalAccess',
|
|
24431
|
+
const isYouTube = Boolean(_optionalChain([video, 'optionalAccess', _502 => _502.youtubeUrl]));
|
|
24326
24432
|
const resumeMode = !open && handoff !== null && !isYouTube;
|
|
24327
24433
|
const previewAllowed = !previewSuppressed && !isYouTube;
|
|
24328
24434
|
const footerFadeKey = `${mounted ? 1 : 0}|${inline ? 1 : 0}|${hideNearSelector}|${pathname}`;
|
|
24329
|
-
const footerHidden = _optionalChain([footerObservation, 'optionalAccess',
|
|
24435
|
+
const footerHidden = _optionalChain([footerObservation, 'optionalAccess', _503 => _503.key]) === footerFadeKey && footerObservation.hidden;
|
|
24330
24436
|
_react.useEffect.call(void 0, () => {
|
|
24331
24437
|
if (!mounted) return void 0;
|
|
24332
24438
|
if (inline) return void 0;
|
|
24333
24439
|
const el = typeof document !== "undefined" ? document.querySelector(hideNearSelector) : null;
|
|
24334
24440
|
if (!el || typeof IntersectionObserver === "undefined") return void 0;
|
|
24335
24441
|
const io = new IntersectionObserver(
|
|
24336
|
-
(entries) => setFooterObservation({ key: footerFadeKey, hidden: _nullishCoalesce(_optionalChain([entries, 'access',
|
|
24442
|
+
(entries) => setFooterObservation({ key: footerFadeKey, hidden: _nullishCoalesce(_optionalChain([entries, 'access', _504 => _504[0], 'optionalAccess', _505 => _505.isIntersecting]), () => ( false)) }),
|
|
24337
24443
|
{ rootMargin: "0px 0px -40px 0px" }
|
|
24338
24444
|
);
|
|
24339
24445
|
io.observe(el);
|
|
@@ -24359,7 +24465,7 @@ function WalkthroughVideo({
|
|
|
24359
24465
|
if (!footerHidden) return;
|
|
24360
24466
|
const h = _nullishCoalesce(resumeHandleRef.current, () => ( previewHandleRef.current));
|
|
24361
24467
|
try {
|
|
24362
|
-
_optionalChain([h, 'optionalAccess',
|
|
24468
|
+
_optionalChain([h, 'optionalAccess', _506 => _506.pause, 'call', _507 => _507()]);
|
|
24363
24469
|
} catch (e30) {
|
|
24364
24470
|
}
|
|
24365
24471
|
}, [footerHidden, resumeMode, hovered]);
|
|
@@ -24378,30 +24484,30 @@ function WalkthroughVideo({
|
|
|
24378
24484
|
}, 400);
|
|
24379
24485
|
}
|
|
24380
24486
|
if (openProp === void 0) setOpenState(next);
|
|
24381
|
-
_optionalChain([onOpenChange, 'optionalCall',
|
|
24487
|
+
_optionalChain([onOpenChange, 'optionalCall', _508 => _508(next)]);
|
|
24382
24488
|
},
|
|
24383
24489
|
[openProp, onOpenChange]
|
|
24384
24490
|
);
|
|
24385
24491
|
const pausePreviewNow = _react.useCallback.call(void 0, () => {
|
|
24386
24492
|
const h = _nullishCoalesce(resumeHandleRef.current, () => ( previewHandleRef.current));
|
|
24387
24493
|
try {
|
|
24388
|
-
_optionalChain([h, 'optionalAccess',
|
|
24494
|
+
_optionalChain([h, 'optionalAccess', _509 => _509.pause, 'call', _510 => _510()]);
|
|
24389
24495
|
} catch (e31) {
|
|
24390
24496
|
}
|
|
24391
24497
|
setCardPaused(true);
|
|
24392
24498
|
}, [setCardPaused]);
|
|
24393
24499
|
const openTheater = _react.useCallback.call(void 0, () => {
|
|
24394
24500
|
const handleBeforePause = _nullishCoalesce(resumeHandleRef.current, () => ( previewHandleRef.current));
|
|
24395
|
-
const liveWasPlaying = _optionalChain([handleBeforePause, 'optionalAccess',
|
|
24501
|
+
const liveWasPlaying = _optionalChain([handleBeforePause, 'optionalAccess', _511 => _511.getPaused, 'call', _512 => _512()]) === false;
|
|
24396
24502
|
pausePreviewNow();
|
|
24397
24503
|
const liveHandle = _nullishCoalesce(resumeHandleRef.current, () => ( (cardModeRef.current === "preview" ? previewHandleRef.current : null)));
|
|
24398
|
-
const liveTime = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess',
|
|
24399
|
-
const liveDuration = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess',
|
|
24504
|
+
const liveTime = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess', _513 => _513.getCurrentTime, 'call', _514 => _514()]), () => ( 0));
|
|
24505
|
+
const liveDuration = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess', _515 => _515.getDuration, 'call', _516 => _516()]), () => ( 0));
|
|
24400
24506
|
const liveAtEnd = isAtEnd(liveDuration, liveTime);
|
|
24401
24507
|
const start = {
|
|
24402
24508
|
// At end -> start over. Falling back to `handoff.time` here would rewind
|
|
24403
24509
|
// to an unrelated older anchor (e.g. 3:20) instead of restarting.
|
|
24404
|
-
time: liveAtEnd ? 0 : liveTime > 0.5 ? liveTime : _nullishCoalesce(_optionalChain([handoff, 'optionalAccess',
|
|
24510
|
+
time: liveAtEnd ? 0 : liveTime > 0.5 ? liveTime : _nullishCoalesce(_optionalChain([handoff, 'optionalAccess', _517 => _517.time]), () => ( 0)),
|
|
24405
24511
|
// Live element wins over remembered intent (the theater's own chrome may
|
|
24406
24512
|
// have changed it) — EXCEPT when the element is muted only because
|
|
24407
24513
|
// autoplay policy forced it, which is not intent.
|
|
@@ -24429,7 +24535,7 @@ function WalkthroughVideo({
|
|
|
24429
24535
|
const selfDriven = selfDrivenFor === open;
|
|
24430
24536
|
if (openProp !== void 0 && !selfDriven) {
|
|
24431
24537
|
if (open) {
|
|
24432
|
-
setTheaterStart(theaterSeedFromLive(resumeHandleRef.current, _nullishCoalesce(_optionalChain([handoff, 'optionalAccess',
|
|
24538
|
+
setTheaterStart(theaterSeedFromLive(resumeHandleRef.current, _nullishCoalesce(_optionalChain([handoff, 'optionalAccess', _518 => _518.time]), () => ( 0)), userMuted));
|
|
24433
24539
|
setHovered(false);
|
|
24434
24540
|
setSuspended(false);
|
|
24435
24541
|
setHandoff(null);
|
|
@@ -24515,8 +24621,8 @@ function WalkthroughVideo({
|
|
|
24515
24621
|
});
|
|
24516
24622
|
_react.useEffect.call(void 0, () => {
|
|
24517
24623
|
if (resumeMode) {
|
|
24518
|
-
setCardMuted(_nullishCoalesce(_optionalChain([handoffRef, 'access',
|
|
24519
|
-
setCardPaused(_optionalChain([handoffRef, 'access',
|
|
24624
|
+
setCardMuted(_nullishCoalesce(_optionalChain([handoffRef, 'access', _519 => _519.current, 'optionalAccess', _520 => _520.muted]), () => ( false)));
|
|
24625
|
+
setCardPaused(_optionalChain([handoffRef, 'access', _521 => _521.current, 'optionalAccess', _522 => _522.playing]) === false);
|
|
24520
24626
|
}
|
|
24521
24627
|
}, [resumeMode]);
|
|
24522
24628
|
const [hoverSeeded, setHoverSeeded] = _react.useState.call(void 0, hovered);
|
|
@@ -24598,11 +24704,11 @@ function WalkthroughVideo({
|
|
|
24598
24704
|
},
|
|
24599
24705
|
[cardFallback.blocked, cardPaused, activeHandle, setCardPaused]
|
|
24600
24706
|
);
|
|
24601
|
-
const summaryTitle = _optionalChain([video, 'optionalAccess',
|
|
24602
|
-
const presenterAvatarSrc = _nullishCoalesce(_optionalChain([video, 'optionalAccess',
|
|
24707
|
+
const summaryTitle = _optionalChain([video, 'optionalAccess', _523 => _523.title]) || void 0;
|
|
24708
|
+
const presenterAvatarSrc = _nullishCoalesce(_optionalChain([video, 'optionalAccess', _524 => _524.presenterAvatarUrl]), () => ( null));
|
|
24603
24709
|
const embedUrlKey = _react.useMemo.call(void 0,
|
|
24604
|
-
() => `${_nullishCoalesce(_optionalChain([video, 'optionalAccess',
|
|
24605
|
-
[_optionalChain([video, 'optionalAccess',
|
|
24710
|
+
() => `${_nullishCoalesce(_optionalChain([video, 'optionalAccess', _525 => _525.mainVideoUrl]), () => ( ""))}|${_nullishCoalesce(_optionalChain([video, 'optionalAccess', _526 => _526.youtubeUrl]), () => ( ""))}`,
|
|
24711
|
+
[_optionalChain([video, 'optionalAccess', _527 => _527.mainVideoUrl]), _optionalChain([video, 'optionalAccess', _528 => _528.youtubeUrl])]
|
|
24606
24712
|
);
|
|
24607
24713
|
const cardActive = !open && previewAllowed && hovered && !resumeMode;
|
|
24608
24714
|
const cardMode = resumeMode ? "resume" : cardActive ? "preview" : "poster";
|
|
@@ -24661,7 +24767,7 @@ function WalkthroughVideo({
|
|
|
24661
24767
|
const el = e.target;
|
|
24662
24768
|
let keyboard = false;
|
|
24663
24769
|
try {
|
|
24664
|
-
keyboard = _nullishCoalesce(_optionalChain([el, 'access',
|
|
24770
|
+
keyboard = _nullishCoalesce(_optionalChain([el, 'access', _529 => _529.matches, 'optionalCall', _530 => _530(":focus-visible")]), () => ( false));
|
|
24665
24771
|
} catch (e36) {
|
|
24666
24772
|
keyboard = false;
|
|
24667
24773
|
}
|
|
@@ -24680,7 +24786,7 @@ function WalkthroughVideo({
|
|
|
24680
24786
|
},
|
|
24681
24787
|
children: [
|
|
24682
24788
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none absolute inset-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24683
|
-
|
|
24789
|
+
_chunkROQTWRV7cjs.VideoHoverPreviewSurface,
|
|
24684
24790
|
{
|
|
24685
24791
|
url: video.mainVideoUrl || "",
|
|
24686
24792
|
posterUrl: video.posterUrl,
|
|
@@ -24695,15 +24801,15 @@ function WalkthroughVideo({
|
|
|
24695
24801
|
previewHandleRef: cardMode === "resume" ? resumeHandleRef : previewHandleRef,
|
|
24696
24802
|
mutedIntent: userMuted,
|
|
24697
24803
|
continuation: cardMode === "resume",
|
|
24698
|
-
autoPlay: cardMode === "resume" && _optionalChain([handoff, 'optionalAccess',
|
|
24699
|
-
startTime: _optionalChain([resumeHandoff, 'optionalAccess',
|
|
24700
|
-
startMuted: _nullishCoalesce(_optionalChain([resumeHandoff, 'optionalAccess',
|
|
24804
|
+
autoPlay: cardMode === "resume" && _optionalChain([handoff, 'optionalAccess', _531 => _531.playing]) !== false && !footerHidden,
|
|
24805
|
+
startTime: _optionalChain([resumeHandoff, 'optionalAccess', _532 => _532.time]),
|
|
24806
|
+
startMuted: _nullishCoalesce(_optionalChain([resumeHandoff, 'optionalAccess', _533 => _533.muted]), () => ( false)),
|
|
24701
24807
|
onEnded: cardMode === "resume" ? () => setHandoff(null) : () => setCardPaused(true)
|
|
24702
24808
|
},
|
|
24703
24809
|
`card-${embedUrlKey}`
|
|
24704
24810
|
) }),
|
|
24705
24811
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24706
|
-
|
|
24812
|
+
_chunkROQTWRV7cjs.CardHitLayer,
|
|
24707
24813
|
{
|
|
24708
24814
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
24709
24815
|
onPointerDown: pausePreviewNow,
|
|
@@ -24712,7 +24818,7 @@ function WalkthroughVideo({
|
|
|
24712
24818
|
}
|
|
24713
24819
|
),
|
|
24714
24820
|
/* @__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: [
|
|
24715
|
-
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24821
|
+
presenterAvatarSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE2EGTHYAcjs.SquareAvatar, { src: presenterAvatarSrc, alt: "", sizePx: 20, variant: "round", className: "shrink-0 border-0" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.VideoPlayBadge, { size: "sm", className: "h-5 w-5 shrink-0" }),
|
|
24716
24822
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: summaryTitle || label })
|
|
24717
24823
|
] }),
|
|
24718
24824
|
showBigUnmute && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -24725,7 +24831,7 @@ function WalkthroughVideo({
|
|
|
24725
24831
|
onPointerDown: (e) => e.stopPropagation(),
|
|
24726
24832
|
onClick: onUnmuteOrPlay,
|
|
24727
24833
|
className: "absolute inset-0 z-30 m-auto hidden sm:inline-flex",
|
|
24728
|
-
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24834
|
+
children: controlIsPlay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.VideoPlayBadge, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.VideoUnmuteGlyph, {})
|
|
24729
24835
|
}
|
|
24730
24836
|
),
|
|
24731
24837
|
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: [
|
|
@@ -24794,7 +24900,7 @@ function WalkthroughVideo({
|
|
|
24794
24900
|
{
|
|
24795
24901
|
onOpenAutoFocus: (e) => {
|
|
24796
24902
|
e.preventDefault();
|
|
24797
|
-
_optionalChain([closeButtonRef, 'access',
|
|
24903
|
+
_optionalChain([closeButtonRef, 'access', _534 => _534.current, 'optionalAccess', _535 => _535.focus, 'call', _536 => _536()]);
|
|
24798
24904
|
},
|
|
24799
24905
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
24800
24906
|
// PURE theater: just the video, centered on a dimmed backdrop.
|
|
@@ -24818,7 +24924,7 @@ function WalkthroughVideo({
|
|
|
24818
24924
|
children: [
|
|
24819
24925
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive2.Title, { className: "sr-only", children: summaryTitle || "Walkthrough video" }),
|
|
24820
24926
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24821
|
-
|
|
24927
|
+
_chunkROQTWRV7cjs.Video,
|
|
24822
24928
|
{
|
|
24823
24929
|
kind: video.youtubeUrl ? "youtube" : "file",
|
|
24824
24930
|
url: video.youtubeUrl || video.mainVideoUrl,
|
|
@@ -24869,7 +24975,7 @@ function InlineWalkthroughVideo(props) {
|
|
|
24869
24975
|
var _reactquery = require('@tanstack/react-query');
|
|
24870
24976
|
function useWalkthroughVideo(opts) {
|
|
24871
24977
|
const { endpoint, initialData, enabled = true, transformCaptionsUrl } = opts;
|
|
24872
|
-
const captions =
|
|
24978
|
+
const captions = _chunkROQTWRV7cjs.useCaptions.call(void 0, );
|
|
24873
24979
|
const query = _reactquery.useQuery.call(void 0, {
|
|
24874
24980
|
queryKey: ["walkthrough-video", endpoint],
|
|
24875
24981
|
enabled,
|
|
@@ -24888,14 +24994,14 @@ function useWalkthroughVideo(opts) {
|
|
|
24888
24994
|
if (res.status === 404) return null;
|
|
24889
24995
|
if (!res.ok) throw new Error(`Walkthrough video request failed (${res.status})`);
|
|
24890
24996
|
const body = await res.json();
|
|
24891
|
-
return _nullishCoalesce(_optionalChain([body, 'optionalAccess',
|
|
24997
|
+
return _nullishCoalesce(_optionalChain([body, 'optionalAccess', _537 => _537.walkthroughVideo]), () => ( null));
|
|
24892
24998
|
},
|
|
24893
24999
|
// Per-observer transform — NEVER mutate the cached data. `select` also runs
|
|
24894
25000
|
// over `initialData`, so the SSR seed is rewritten too. Keeping the proxy
|
|
24895
25001
|
// rewrite here (not in queryFn) means a second consumer of the same
|
|
24896
25002
|
// endpoint can't inherit this observer's proxied captionsUrl from the cache.
|
|
24897
25003
|
select: (video) => {
|
|
24898
|
-
if (!_optionalChain([video, 'optionalAccess',
|
|
25004
|
+
if (!_optionalChain([video, 'optionalAccess', _538 => _538.captionsUrl])) return video;
|
|
24899
25005
|
if (transformCaptionsUrl && video.captionsUrl.startsWith("/")) {
|
|
24900
25006
|
return { ...video, captionsUrl: transformCaptionsUrl(video.captionsUrl) };
|
|
24901
25007
|
}
|
|
@@ -24942,7 +25048,7 @@ function VideoSourceSelector({
|
|
|
24942
25048
|
input.accept = "video/*";
|
|
24943
25049
|
input.onchange = async (e) => {
|
|
24944
25050
|
const target = e.target;
|
|
24945
|
-
const file = _optionalChain([target, 'access',
|
|
25051
|
+
const file = _optionalChain([target, 'access', _539 => _539.files, 'optionalAccess', _540 => _540[0]]);
|
|
24946
25052
|
if (!file) return;
|
|
24947
25053
|
setIsUploading(true);
|
|
24948
25054
|
setUploadProgress(0);
|
|
@@ -25067,7 +25173,7 @@ function VideoSourceSelector({
|
|
|
25067
25173
|
}
|
|
25068
25174
|
function DefaultVideoPreview({ videoUrl, onDelete, disabled }) {
|
|
25069
25175
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border", children: [
|
|
25070
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25176
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.Video, { kind: "file", url: videoUrl }) }),
|
|
25071
25177
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25072
25178
|
"button",
|
|
25073
25179
|
{
|
|
@@ -25118,7 +25224,7 @@ function SubtitlesEditor({
|
|
|
25118
25224
|
{
|
|
25119
25225
|
id,
|
|
25120
25226
|
value: subtitles || "",
|
|
25121
|
-
onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall',
|
|
25227
|
+
onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall', _541 => _541(e.target.value)]),
|
|
25122
25228
|
placeholder,
|
|
25123
25229
|
disabled: disabled || !onSubtitlesChange,
|
|
25124
25230
|
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",
|
|
@@ -25347,7 +25453,7 @@ var AIEnrichSection = ({
|
|
|
25347
25453
|
}) => {
|
|
25348
25454
|
const hasResults = status === "success" || status === "error";
|
|
25349
25455
|
const shouldDisable = disabled || !canEnrich;
|
|
25350
|
-
const unfilledFields = _optionalChain([requiredFields, 'optionalAccess',
|
|
25456
|
+
const unfilledFields = _optionalChain([requiredFields, 'optionalAccess', _542 => _542.filter, 'call', _543 => _543((f) => !f.isFilled)]) || [];
|
|
25351
25457
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25352
25458
|
"div",
|
|
25353
25459
|
{
|
|
@@ -25379,7 +25485,7 @@ var AIEnrichSection = ({
|
|
|
25379
25485
|
{
|
|
25380
25486
|
id: "ai-enrich-custom-instructions",
|
|
25381
25487
|
value: _nullishCoalesce(customInstructions, () => ( "")),
|
|
25382
|
-
onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall',
|
|
25488
|
+
onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall', _544 => _544(e.target.value)]),
|
|
25383
25489
|
placeholder: customInstructionsPlaceholder,
|
|
25384
25490
|
disabled: loading,
|
|
25385
25491
|
maxLength: customInstructionsMaxLength,
|
|
@@ -25501,7 +25607,7 @@ function HighlightVideoSection({
|
|
|
25501
25607
|
input.accept = "video/*";
|
|
25502
25608
|
input.onchange = async (e) => {
|
|
25503
25609
|
const target = e.target;
|
|
25504
|
-
const file = _optionalChain([target, 'access',
|
|
25610
|
+
const file = _optionalChain([target, 'access', _545 => _545.files, 'optionalAccess', _546 => _546[0]]);
|
|
25505
25611
|
if (!file) return;
|
|
25506
25612
|
setUploadError(null);
|
|
25507
25613
|
try {
|
|
@@ -25591,7 +25697,7 @@ function HighlightVideoSection({
|
|
|
25591
25697
|
// Default simple preview — the <Video> SSOT (MuxPlayer) plays
|
|
25592
25698
|
// MP4 and Mux HLS alike; aspect-video box reserves the height.
|
|
25593
25699
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border bg-black", children: [
|
|
25594
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25700
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.Video, { kind: "file", url: highlightVideoUrl, poster: highlightVideoThumbnail || void 0 }) }),
|
|
25595
25701
|
onDeleteHighlight && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25596
25702
|
"button",
|
|
25597
25703
|
{
|
|
@@ -25928,7 +26034,7 @@ function HighlightVideoPreview({
|
|
|
25928
26034
|
input.accept = "video/*";
|
|
25929
26035
|
input.onchange = async (e) => {
|
|
25930
26036
|
const target = e.target;
|
|
25931
|
-
const file = _optionalChain([target, 'access',
|
|
26037
|
+
const file = _optionalChain([target, 'access', _547 => _547.files, 'optionalAccess', _548 => _548[0]]);
|
|
25932
26038
|
if (!file) return;
|
|
25933
26039
|
await onUpload(file);
|
|
25934
26040
|
};
|
|
@@ -26112,7 +26218,7 @@ function HighlightVideoCombinedSection({
|
|
|
26112
26218
|
input.accept = "video/*";
|
|
26113
26219
|
input.onchange = async (e) => {
|
|
26114
26220
|
const target = e.target;
|
|
26115
|
-
const file = _optionalChain([target, 'access',
|
|
26221
|
+
const file = _optionalChain([target, 'access', _549 => _549.files, 'optionalAccess', _550 => _550[0]]);
|
|
26116
26222
|
if (!file) return;
|
|
26117
26223
|
await onUpload(file);
|
|
26118
26224
|
};
|
|
@@ -26327,7 +26433,7 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
26327
26433
|
] });
|
|
26328
26434
|
};
|
|
26329
26435
|
var CategorySection = ({ category, editMode, isExpanded, bulkLevel, onToggle, onBulkLevelChange, onPolicyPermissionChange }) => {
|
|
26330
|
-
const { innerRef, containerStyle } =
|
|
26436
|
+
const { innerRef, containerStyle } = _chunkROQTWRV7cjs.useCollapsible.call(void 0, { expanded: isExpanded, durationMs: 300 });
|
|
26331
26437
|
const handleBulkChange = (level) => onBulkLevelChange(category.id, level);
|
|
26332
26438
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
26333
26439
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -26495,7 +26601,7 @@ function WaitlistForm({
|
|
|
26495
26601
|
const { toast } = _chunkJJUV7Z4Lcjs.useToast.call(void 0, );
|
|
26496
26602
|
const { honeypotInputProps, getSignals, resetSignals } = _chunkJJUV7Z4Lcjs.useHumanitySignals.call(void 0, );
|
|
26497
26603
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26498
|
-
const isClient =
|
|
26604
|
+
const isClient = _chunkROQTWRV7cjs.useIsHydrated.call(void 0, );
|
|
26499
26605
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26500
26606
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26501
26607
|
const isMailDomainGeneric = hasGenericEmailDomain(email);
|
|
@@ -26791,19 +26897,19 @@ function NotificationsProvider({
|
|
|
26791
26897
|
}, []);
|
|
26792
26898
|
const markRead = _react.useCallback.call(void 0, (id) => {
|
|
26793
26899
|
dispatch({ type: "markRead", id });
|
|
26794
|
-
void _optionalChain([actionsRef, 'access',
|
|
26900
|
+
void _optionalChain([actionsRef, 'access', _551 => _551.current, 'optionalAccess', _552 => _552.onMarkRead, 'optionalCall', _553 => _553(id)]);
|
|
26795
26901
|
}, []);
|
|
26796
26902
|
const markAllRead = _react.useCallback.call(void 0, () => {
|
|
26797
26903
|
dispatch({ type: "markAllRead" });
|
|
26798
|
-
void _optionalChain([actionsRef, 'access',
|
|
26904
|
+
void _optionalChain([actionsRef, 'access', _554 => _554.current, 'optionalAccess', _555 => _555.onMarkAllRead, 'optionalCall', _556 => _556()]);
|
|
26799
26905
|
}, []);
|
|
26800
26906
|
const markSettled = _react.useCallback.call(void 0, (id) => {
|
|
26801
26907
|
dispatch({ type: "markSettled", id });
|
|
26802
|
-
void _optionalChain([actionsRef, 'access',
|
|
26908
|
+
void _optionalChain([actionsRef, 'access', _557 => _557.current, 'optionalAccess', _558 => _558.onMarkSettled, 'optionalCall', _559 => _559(id)]);
|
|
26803
26909
|
}, []);
|
|
26804
26910
|
const remove = _react.useCallback.call(void 0, (id) => {
|
|
26805
26911
|
dispatch({ type: "remove", id });
|
|
26806
|
-
void _optionalChain([actionsRef, 'access',
|
|
26912
|
+
void _optionalChain([actionsRef, 'access', _560 => _560.current, 'optionalAccess', _561 => _561.onRemove, 'optionalCall', _562 => _562(id)]);
|
|
26807
26913
|
}, []);
|
|
26808
26914
|
const clear = _react.useCallback.call(void 0, () => dispatch({ type: "clear" }), []);
|
|
26809
26915
|
const open = _react.useCallback.call(void 0, () => setIsOpen(true), []);
|
|
@@ -26812,14 +26918,14 @@ function NotificationsProvider({
|
|
|
26812
26918
|
const setShowPopups = _react.useCallback.call(void 0,
|
|
26813
26919
|
(value2) => {
|
|
26814
26920
|
setShowPopupsState(value2);
|
|
26815
|
-
_optionalChain([onShowPopupsChange, 'optionalCall',
|
|
26921
|
+
_optionalChain([onShowPopupsChange, 'optionalCall', _563 => _563(value2)]);
|
|
26816
26922
|
},
|
|
26817
26923
|
[onShowPopupsChange]
|
|
26818
26924
|
);
|
|
26819
26925
|
const setShowDesktopPopups = _react.useCallback.call(void 0,
|
|
26820
26926
|
(value2) => {
|
|
26821
26927
|
setShowDesktopPopupsState(value2);
|
|
26822
|
-
_optionalChain([onShowDesktopPopupsChange, 'optionalCall',
|
|
26928
|
+
_optionalChain([onShowDesktopPopupsChange, 'optionalCall', _564 => _564(value2)]);
|
|
26823
26929
|
},
|
|
26824
26930
|
[onShowDesktopPopupsChange]
|
|
26825
26931
|
);
|
|
@@ -26935,7 +27041,7 @@ var AppLayoutDrawerRoot = ({
|
|
|
26935
27041
|
const handleOpenChange = _react.useCallback.call(void 0,
|
|
26936
27042
|
(next) => {
|
|
26937
27043
|
if (!isControlled) setInternalOpen(next);
|
|
26938
|
-
_optionalChain([onOpenChange, 'optionalCall',
|
|
27044
|
+
_optionalChain([onOpenChange, 'optionalCall', _565 => _565(next)]);
|
|
26939
27045
|
},
|
|
26940
27046
|
[isControlled, onOpenChange]
|
|
26941
27047
|
);
|
|
@@ -26952,9 +27058,9 @@ var AppLayoutDrawerRoot = ({
|
|
|
26952
27058
|
}
|
|
26953
27059
|
}));
|
|
26954
27060
|
_react.useEffect.call(void 0, () => {
|
|
26955
|
-
if (open) _optionalChain([coordination, 'optionalAccess',
|
|
27061
|
+
if (open) _optionalChain([coordination, 'optionalAccess', _566 => _566.notifyDrawerDidOpen, 'call', _567 => _567(selfHandle)]);
|
|
26956
27062
|
}, [open, coordination, selfHandle]);
|
|
26957
|
-
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess',
|
|
27063
|
+
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess', _568 => _568.registerDrawer, 'call', _569 => _569(selfHandle)]), [coordination, selfHandle]);
|
|
26958
27064
|
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 }) });
|
|
26959
27065
|
};
|
|
26960
27066
|
AppLayoutDrawerRoot.displayName = "AppLayoutDrawer";
|
|
@@ -27275,7 +27381,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27275
27381
|
"data-state": open ? "open" : "closed",
|
|
27276
27382
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
27277
27383
|
"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",
|
|
27278
|
-
|
|
27384
|
+
_chunkROQTWRV7cjs.OVERLAY_BACKDROP_CLASS,
|
|
27279
27385
|
// Persist mode only: hold the fade-out's final (transparent) frame
|
|
27280
27386
|
// so the backdrop doesn't snap back to opacity 1 and dim the whole
|
|
27281
27387
|
// content area while the drawer is "closed" (see PERSIST_CLOSED_HOLD).
|
|
@@ -27303,10 +27409,10 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27303
27409
|
),
|
|
27304
27410
|
style,
|
|
27305
27411
|
onInteractOutside: (event) => {
|
|
27306
|
-
_optionalChain([onInteractOutside, 'optionalCall',
|
|
27412
|
+
_optionalChain([onInteractOutside, 'optionalCall', _570 => _570(event)]);
|
|
27307
27413
|
if (event.defaultPrevented) return;
|
|
27308
27414
|
const target = event.target;
|
|
27309
|
-
const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess',
|
|
27415
|
+
const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess', _571 => _571.contains, 'call', _572 => _572(target)]);
|
|
27310
27416
|
if (!isInsideContainer) {
|
|
27311
27417
|
event.preventDefault();
|
|
27312
27418
|
return;
|
|
@@ -27351,11 +27457,11 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27351
27457
|
}
|
|
27352
27458
|
);
|
|
27353
27459
|
AppLayoutDrawerContent.displayName = "AppLayoutDrawerContent";
|
|
27354
|
-
var AppLayoutDrawerHeader =
|
|
27355
|
-
var AppLayoutDrawerTitle =
|
|
27356
|
-
var AppLayoutDrawerDescription =
|
|
27357
|
-
var AppLayoutDrawerBody =
|
|
27358
|
-
var AppLayoutDrawerFooter =
|
|
27460
|
+
var AppLayoutDrawerHeader = _chunkROQTWRV7cjs.DrawerHeader;
|
|
27461
|
+
var AppLayoutDrawerTitle = _chunkROQTWRV7cjs.DrawerTitle;
|
|
27462
|
+
var AppLayoutDrawerDescription = _chunkROQTWRV7cjs.DrawerDescription;
|
|
27463
|
+
var AppLayoutDrawerBody = _chunkROQTWRV7cjs.DrawerBody;
|
|
27464
|
+
var AppLayoutDrawerFooter = _chunkROQTWRV7cjs.DrawerFooter;
|
|
27359
27465
|
|
|
27360
27466
|
// src/components/features/notifications/notification-tile.tsx
|
|
27361
27467
|
|
|
@@ -27409,7 +27515,7 @@ function NotificationTile({
|
|
|
27409
27515
|
if (!counting) return void 0;
|
|
27410
27516
|
const remaining = Math.max(0, liveDurationMs - initialElapsed);
|
|
27411
27517
|
const timer = window.setTimeout(() => {
|
|
27412
|
-
_optionalChain([onSettle, 'optionalCall',
|
|
27518
|
+
_optionalChain([onSettle, 'optionalCall', _573 => _573(id)]);
|
|
27413
27519
|
}, remaining);
|
|
27414
27520
|
return () => window.clearTimeout(timer);
|
|
27415
27521
|
}, [id, counting, initialElapsed, liveDurationMs, onSettle]);
|
|
@@ -27443,13 +27549,13 @@ function NotificationTile({
|
|
|
27443
27549
|
}
|
|
27444
27550
|
) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, "size-1.5 rounded-full", _chunkJJUV7Z4Lcjs.dotColorByVariant[accentVariant]) }))) }),
|
|
27445
27551
|
type ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk23V5BSHDcjs.cn.call(void 0, "min-w-0 flex-1 truncate text-h5", typeColorByVariant[accentVariant]), title: type, children: type }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1" }),
|
|
27446
|
-
!isLive && createdAtIso ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "time", { dateTime: createdAtIso, className: "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", children:
|
|
27552
|
+
!isLive && createdAtIso ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "time", { dateTime: createdAtIso, className: "shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", children: _chunkROQTWRV7cjs.formatTicketRelativeTime.call(void 0, createdAtIso) }) : null,
|
|
27447
27553
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "relative size-4 shrink-0", children: [
|
|
27448
27554
|
{
|
|
27449
27555
|
active: isLive,
|
|
27450
27556
|
label: "Dismiss notification",
|
|
27451
27557
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.XmarkIcon, { size: 16 }),
|
|
27452
|
-
onClick: () => _optionalChain([onSettle, 'optionalCall',
|
|
27558
|
+
onClick: () => _optionalChain([onSettle, 'optionalCall', _574 => _574(id)])
|
|
27453
27559
|
},
|
|
27454
27560
|
{
|
|
27455
27561
|
active: !isLive,
|
|
@@ -27540,7 +27646,7 @@ function NotificationDrawer({
|
|
|
27540
27646
|
const unreadNotifications = notifications.filter((n) => !n.read);
|
|
27541
27647
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
27542
27648
|
/* @__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,
|
|
27543
|
-
|
|
27649
|
+
_chunkROQTWRV7cjs.DrawerTitle,
|
|
27544
27650
|
{
|
|
27545
27651
|
hideClose: true,
|
|
27546
27652
|
className: "truncate",
|
|
@@ -27599,8 +27705,8 @@ function NotificationDrawer({
|
|
|
27599
27705
|
}
|
|
27600
27706
|
) });
|
|
27601
27707
|
}
|
|
27602
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27603
|
-
|
|
27708
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.Drawer, { open: isOpen, onOpenChange: (v) => v ? open() : close(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27709
|
+
_chunkROQTWRV7cjs.DrawerContent,
|
|
27604
27710
|
{
|
|
27605
27711
|
side: "right",
|
|
27606
27712
|
"aria-describedby": void 0,
|
|
@@ -27637,7 +27743,7 @@ function DrawerScrollList({
|
|
|
27637
27743
|
if (!sentinel || !root) return void 0;
|
|
27638
27744
|
const observer = new IntersectionObserver(
|
|
27639
27745
|
(entries) => {
|
|
27640
|
-
if (_optionalChain([entries, 'access',
|
|
27746
|
+
if (_optionalChain([entries, 'access', _575 => _575[0], 'optionalAccess', _576 => _576.isIntersecting])) _optionalChain([loadMoreRef, 'access', _577 => _577.current, 'optionalCall', _578 => _578()]);
|
|
27641
27747
|
},
|
|
27642
27748
|
{ root, rootMargin: loadMoreRootMargin }
|
|
27643
27749
|
);
|
|
@@ -27652,7 +27758,7 @@ function DrawerScrollList({
|
|
|
27652
27758
|
className: "flex flex-1 flex-col gap-[var(--spacing-system-xs)] overflow-y-auto px-[var(--spacing-system-m)]",
|
|
27653
27759
|
children: isEmpty && !isLoadingMore ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmptyState, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
27654
27760
|
unreadNotifications.map((n) => {
|
|
27655
|
-
const custom = _optionalChain([renderTile, 'optionalCall',
|
|
27761
|
+
const custom = _optionalChain([renderTile, 'optionalCall', _579 => _579(n, { onComplete, onSettle, liveDurationMs })]);
|
|
27656
27762
|
if (custom) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: custom }, n.id);
|
|
27657
27763
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27658
27764
|
NotificationTile,
|
|
@@ -27772,7 +27878,7 @@ function NotificationPopups({
|
|
|
27772
27878
|
}) {
|
|
27773
27879
|
const ctx = useOptionalNotifications();
|
|
27774
27880
|
const [now, setNow] = _react.useState.call(void 0, () => Date.now());
|
|
27775
|
-
const hasAgeingNotifications = Boolean(_optionalChain([ctx, 'optionalAccess',
|
|
27881
|
+
const hasAgeingNotifications = Boolean(_optionalChain([ctx, 'optionalAccess', _580 => _580.notifications, 'access', _581 => _581.some, 'call', _582 => _582((n) => !n.read && !n.settled)]));
|
|
27776
27882
|
_react.useEffect.call(void 0, () => {
|
|
27777
27883
|
if (!hasAgeingNotifications) return void 0;
|
|
27778
27884
|
const id = setInterval(() => setNow(Date.now()), 500);
|
|
@@ -27815,7 +27921,7 @@ function NotificationPopups({
|
|
|
27815
27921
|
className
|
|
27816
27922
|
),
|
|
27817
27923
|
children: live.map((n) => {
|
|
27818
|
-
const custom = _optionalChain([renderTile, 'optionalCall',
|
|
27924
|
+
const custom = _optionalChain([renderTile, 'optionalCall', _583 => _583(n, { onComplete: markRead, onSettle: markSettled, liveDurationMs })]);
|
|
27819
27925
|
if (custom) {
|
|
27820
27926
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-auto", children: custom }, n.id);
|
|
27821
27927
|
}
|
|
@@ -27854,34 +27960,34 @@ function NotificationPopups({
|
|
|
27854
27960
|
// src/components/features/notifications/types.ts
|
|
27855
27961
|
var ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = "ADMIN_APPROVAL_REQUEST";
|
|
27856
27962
|
function isApprovalNotification(notification) {
|
|
27857
|
-
return _optionalChain([notification, 'access',
|
|
27963
|
+
return _optionalChain([notification, 'access', _584 => _584.meta, 'optionalAccess', _585 => _585.contextType]) === ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE;
|
|
27858
27964
|
}
|
|
27859
27965
|
function getApprovalMeta(notification) {
|
|
27860
27966
|
if (!isApprovalNotification(notification)) return null;
|
|
27861
27967
|
const meta = notification.meta;
|
|
27862
|
-
const approvalRequestId = _optionalChain([meta, 'optionalAccess',
|
|
27863
|
-
const toolCalls = _optionalChain([meta, 'optionalAccess',
|
|
27968
|
+
const approvalRequestId = _optionalChain([meta, 'optionalAccess', _586 => _586.approvalRequestId]);
|
|
27969
|
+
const toolCalls = _optionalChain([meta, 'optionalAccess', _587 => _587.toolCalls]);
|
|
27864
27970
|
if (typeof approvalRequestId !== "string" || !Array.isArray(toolCalls)) return null;
|
|
27865
27971
|
return {
|
|
27866
27972
|
approvalRequestId,
|
|
27867
|
-
dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
27868
|
-
ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
27869
|
-
approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
27870
|
-
resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
27871
|
-
resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
27973
|
+
dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _588 => _588.dialogId]), () => ( null)),
|
|
27974
|
+
ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _589 => _589.ticketId]), () => ( null)),
|
|
27975
|
+
approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _590 => _590.approvalType]), () => ( null)),
|
|
27976
|
+
resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _591 => _591.resolution]), () => ( null)),
|
|
27977
|
+
resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _592 => _592.resolvedByName]), () => ( null)),
|
|
27872
27978
|
toolCalls
|
|
27873
27979
|
};
|
|
27874
27980
|
}
|
|
27875
27981
|
function resolutionToStatus(resolution) {
|
|
27876
27982
|
switch (typeof resolution === "string" ? resolution.toUpperCase() : void 0) {
|
|
27877
27983
|
case "APPROVED":
|
|
27878
|
-
return
|
|
27984
|
+
return _chunkROQTWRV7cjs.APPROVAL_STATUS.APPROVED;
|
|
27879
27985
|
case "REJECTED":
|
|
27880
|
-
return
|
|
27986
|
+
return _chunkROQTWRV7cjs.APPROVAL_STATUS.REJECTED;
|
|
27881
27987
|
case "CANCELLED":
|
|
27882
|
-
return
|
|
27988
|
+
return _chunkROQTWRV7cjs.APPROVAL_STATUS.CANCELLED;
|
|
27883
27989
|
default:
|
|
27884
|
-
return
|
|
27990
|
+
return _chunkROQTWRV7cjs.APPROVAL_STATUS.PENDING;
|
|
27885
27991
|
}
|
|
27886
27992
|
}
|
|
27887
27993
|
function approvalMetaToBatchData(approval) {
|
|
@@ -27918,10 +28024,10 @@ function ApprovalRequestNotificationTile({
|
|
|
27918
28024
|
const [processing, setProcessing] = _react.useState.call(void 0, false);
|
|
27919
28025
|
const [localStatus, setLocalStatus] = _react.useState.call(void 0, null);
|
|
27920
28026
|
const approval = getApprovalMeta(notification);
|
|
27921
|
-
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess',
|
|
28027
|
+
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _593 => _593.resolution]));
|
|
27922
28028
|
const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
|
|
27923
28029
|
const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
|
|
27924
|
-
const { innerRef, containerStyle } =
|
|
28030
|
+
const { innerRef, containerStyle } = _chunkROQTWRV7cjs.useCollapsible.call(void 0, { expanded });
|
|
27925
28031
|
if (!approval || !batchData) return null;
|
|
27926
28032
|
const tileNotification = {
|
|
27927
28033
|
...notification,
|
|
@@ -27974,7 +28080,7 @@ function ApprovalRequestNotificationTile({
|
|
|
27974
28080
|
}
|
|
27975
28081
|
)
|
|
27976
28082
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
27977
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28083
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.ApprovalStatusTag, { status }),
|
|
27978
28084
|
approval.resolvedByName ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: [
|
|
27979
28085
|
"by ",
|
|
27980
28086
|
approval.resolvedByName
|
|
@@ -27992,12 +28098,12 @@ function ApprovalRequestNotificationTile({
|
|
|
27992
28098
|
"aria-expanded": expanded,
|
|
27993
28099
|
"aria-label": toggleLabel,
|
|
27994
28100
|
className: "ml-auto w-6 shrink-0 px-0 md:w-8",
|
|
27995
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28101
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.ExpandChevron, { expanded })
|
|
27996
28102
|
}
|
|
27997
28103
|
)
|
|
27998
28104
|
] }),
|
|
27999
28105
|
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,
|
|
28000
|
-
|
|
28106
|
+
_chunkROQTWRV7cjs.ApprovalBatchMessage,
|
|
28001
28107
|
{
|
|
28002
28108
|
data: batchData,
|
|
28003
28109
|
showExecutionStatus: false,
|
|
@@ -28070,7 +28176,7 @@ function renderCustomerOption(option, isSelected) {
|
|
|
28070
28176
|
const { label, imageUrl } = option;
|
|
28071
28177
|
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: [
|
|
28072
28178
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-[var(--spacing-system-xs)]", children: [
|
|
28073
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28179
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE2EGTHYAcjs.SquareAvatar, { src: imageUrl, alt: label, fallback: label, size: "sm", variant: "square" }),
|
|
28074
28180
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", title: label, children: label })
|
|
28075
28181
|
] }),
|
|
28076
28182
|
isSelected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.CheckIcon, { className: "text-ods-accent", size: 20 })
|
|
@@ -28154,7 +28260,7 @@ function TimeTrackerPanel({
|
|
|
28154
28260
|
}));
|
|
28155
28261
|
const selectedCustomer = customerAutocompleteOptions.find((o) => o.value === selectedCustomerId);
|
|
28156
28262
|
const customerStartAdornment = selectedCustomer ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28157
|
-
|
|
28263
|
+
_chunkE2EGTHYAcjs.SquareAvatar,
|
|
28158
28264
|
{
|
|
28159
28265
|
src: selectedCustomer.imageUrl,
|
|
28160
28266
|
alt: selectedCustomer.label,
|
|
@@ -28245,7 +28351,7 @@ function TimeTrackerPanel({
|
|
|
28245
28351
|
error: showFieldError ? "Required if no notes added" : void 0,
|
|
28246
28352
|
disableClientFilter: !!onTicketSearch,
|
|
28247
28353
|
onInputChange: (value, reason) => {
|
|
28248
|
-
if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall',
|
|
28354
|
+
if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall', _594 => _594(value)]);
|
|
28249
28355
|
}
|
|
28250
28356
|
}
|
|
28251
28357
|
),
|
|
@@ -28260,7 +28366,7 @@ function TimeTrackerPanel({
|
|
|
28260
28366
|
disabled: customerLocked,
|
|
28261
28367
|
disableClientFilter: !!onCustomerSearch,
|
|
28262
28368
|
onInputChange: (value, reason) => {
|
|
28263
|
-
if (reason === "input") _optionalChain([onCustomerSearch, 'optionalCall',
|
|
28369
|
+
if (reason === "input") _optionalChain([onCustomerSearch, 'optionalCall', _595 => _595(value)]);
|
|
28264
28370
|
},
|
|
28265
28371
|
startAdornment: customerStartAdornment,
|
|
28266
28372
|
renderOption: renderCustomerOption
|
|
@@ -28333,7 +28439,7 @@ var STATUS_TAG_SKIN = "gap-[var(--spacing-system-xs)] font-mono font-medium uppe
|
|
|
28333
28439
|
function StatusTag({ status }) {
|
|
28334
28440
|
if (status === "tracking") {
|
|
28335
28441
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28336
|
-
|
|
28442
|
+
_chunkROQTWRV7cjs.Tag,
|
|
28337
28443
|
{
|
|
28338
28444
|
variant: "success",
|
|
28339
28445
|
className: STATUS_TAG_SKIN,
|
|
@@ -28343,9 +28449,9 @@ function StatusTag({ status }) {
|
|
|
28343
28449
|
);
|
|
28344
28450
|
}
|
|
28345
28451
|
if (status === "paused") {
|
|
28346
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28452
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.Tag, { variant: "warning", className: STATUS_TAG_SKIN, icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.PauseIcon, { className: "h-4 w-4" }), label: "Paused" });
|
|
28347
28453
|
}
|
|
28348
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28454
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.Tag, { variant: "grey", className: STATUS_TAG_SKIN, label: "Ready to Track" });
|
|
28349
28455
|
}
|
|
28350
28456
|
function LastEntryRow({ entry, onClick }) {
|
|
28351
28457
|
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: [
|
|
@@ -28362,7 +28468,7 @@ function LastEntryRow({ entry, onClick }) {
|
|
|
28362
28468
|
{
|
|
28363
28469
|
variant: "outline",
|
|
28364
28470
|
size: "icon",
|
|
28365
|
-
onClick: () => _optionalChain([onClick, 'optionalCall',
|
|
28471
|
+
onClick: () => _optionalChain([onClick, 'optionalCall', _596 => _596(entry)]),
|
|
28366
28472
|
disabled: !onClick,
|
|
28367
28473
|
"aria-label": `Open entry: ${entry.title}`,
|
|
28368
28474
|
className: "h-12 w-12 shrink-0 [&_svg]:!size-6",
|
|
@@ -28446,28 +28552,28 @@ function HeaderButton({
|
|
|
28446
28552
|
function TimeTrackerHeaderButton({ className, disabled }) {
|
|
28447
28553
|
const ctx = useOptionalTimeTracker();
|
|
28448
28554
|
const elapsedLabel = useTrackerClock({
|
|
28449
|
-
status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess',
|
|
28450
|
-
runningSince: _optionalChain([ctx, 'optionalAccess',
|
|
28451
|
-
accumulatedMs: _optionalChain([ctx, 'optionalAccess',
|
|
28555
|
+
status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _597 => _597.status]), () => ( "ready")),
|
|
28556
|
+
runningSince: _optionalChain([ctx, 'optionalAccess', _598 => _598.runningSince]),
|
|
28557
|
+
accumulatedMs: _optionalChain([ctx, 'optionalAccess', _599 => _599.accumulatedMs])
|
|
28452
28558
|
});
|
|
28453
28559
|
const layoutContainer = useAppLayoutDrawerContainer();
|
|
28454
28560
|
const coordination = useAppLayoutDrawerCoordination();
|
|
28455
|
-
const isOpen = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess',
|
|
28561
|
+
const isOpen = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _600 => _600.isOpen]), () => ( false));
|
|
28456
28562
|
const isOpenRef = _react.useRef.call(void 0, isOpen);
|
|
28457
|
-
const closeRef = _react.useRef.call(void 0, _optionalChain([ctx, 'optionalAccess',
|
|
28563
|
+
const closeRef = _react.useRef.call(void 0, _optionalChain([ctx, 'optionalAccess', _601 => _601.close]));
|
|
28458
28564
|
_react.useEffect.call(void 0, () => {
|
|
28459
28565
|
isOpenRef.current = isOpen;
|
|
28460
|
-
closeRef.current = _optionalChain([ctx, 'optionalAccess',
|
|
28566
|
+
closeRef.current = _optionalChain([ctx, 'optionalAccess', _602 => _602.close]);
|
|
28461
28567
|
});
|
|
28462
28568
|
const [selfHandle] = _react.useState.call(void 0, () => ({
|
|
28463
28569
|
close: () => {
|
|
28464
|
-
if (isOpenRef.current) _optionalChain([closeRef, 'access',
|
|
28570
|
+
if (isOpenRef.current) _optionalChain([closeRef, 'access', _603 => _603.current, 'optionalCall', _604 => _604()]);
|
|
28465
28571
|
}
|
|
28466
28572
|
}));
|
|
28467
28573
|
_react.useEffect.call(void 0, () => {
|
|
28468
|
-
if (isOpen) _optionalChain([coordination, 'optionalAccess',
|
|
28574
|
+
if (isOpen) _optionalChain([coordination, 'optionalAccess', _605 => _605.notifyDrawerDidOpen, 'call', _606 => _606(selfHandle)]);
|
|
28469
28575
|
}, [isOpen, coordination, selfHandle]);
|
|
28470
|
-
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess',
|
|
28576
|
+
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess', _607 => _607.registerDrawer, 'call', _608 => _608(selfHandle)]), [coordination, selfHandle]);
|
|
28471
28577
|
if (!ctx) return null;
|
|
28472
28578
|
const { open, close, status } = ctx;
|
|
28473
28579
|
const isPaused = status === "paused";
|
|
@@ -28514,7 +28620,7 @@ function TimeTrackerHeaderButton({ className, disabled }) {
|
|
|
28514
28620
|
"data-state": isOpen ? "open" : "closed",
|
|
28515
28621
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
28516
28622
|
layoutContainer ? "absolute inset-0 z-[102]" : "fixed inset-0 z-[1299]",
|
|
28517
|
-
|
|
28623
|
+
_chunkROQTWRV7cjs.OVERLAY_BACKDROP_CLASS,
|
|
28518
28624
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
28519
28625
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
|
|
28520
28626
|
)
|
|
@@ -28599,7 +28705,7 @@ function autoScrollAncestors(element) {
|
|
|
28599
28705
|
|
|
28600
28706
|
// src/components/features/board/aim.ts
|
|
28601
28707
|
var _closestedge = require('@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge');
|
|
28602
|
-
var othersIn = (columns, columnId, ticketId) => (_nullishCoalesce(_optionalChain([columns, 'access',
|
|
28708
|
+
var othersIn = (columns, columnId, ticketId) => (_nullishCoalesce(_optionalChain([columns, 'access', _609 => _609.find, 'call', _610 => _610((c) => c.id === columnId), 'optionalAccess', _611 => _611.tickets]), () => ( []))).filter((t) => t.id !== ticketId);
|
|
28603
28709
|
function laneOf(columns, ticketId) {
|
|
28604
28710
|
return _nullishCoalesce(columns.find((c) => c.tickets.some((t) => t.id === ticketId)), () => ( null));
|
|
28605
28711
|
}
|
|
@@ -28643,11 +28749,11 @@ function aimToChange(columns, ticketId, aim) {
|
|
|
28643
28749
|
const lane = laneOf(columns, ticketId);
|
|
28644
28750
|
if (!lane) return null;
|
|
28645
28751
|
const others = othersIn(columns, aim.columnId, ticketId);
|
|
28646
|
-
const afterTicketId = _nullishCoalesce(_optionalChain([others, 'access',
|
|
28647
|
-
const beforeTicketId = _nullishCoalesce(_optionalChain([others, 'access',
|
|
28752
|
+
const afterTicketId = _nullishCoalesce(_optionalChain([others, 'access', _612 => _612[aim.index - 1], 'optionalAccess', _613 => _613.id]), () => ( null));
|
|
28753
|
+
const beforeTicketId = _nullishCoalesce(_optionalChain([others, 'access', _614 => _614[aim.index], 'optionalAccess', _615 => _615.id]), () => ( null));
|
|
28648
28754
|
if (lane.id === aim.columnId) {
|
|
28649
28755
|
const currentIndex = lane.tickets.findIndex((t) => t.id === ticketId);
|
|
28650
|
-
if ((_nullishCoalesce(_optionalChain([lane, 'access',
|
|
28756
|
+
if ((_nullishCoalesce(_optionalChain([lane, 'access', _616 => _616.tickets, 'access', _617 => _617[currentIndex - 1], 'optionalAccess', _618 => _618.id]), () => ( null))) === afterTicketId) return null;
|
|
28651
28757
|
}
|
|
28652
28758
|
return { ticketId, fromColumnId: lane.id, toColumnId: aim.columnId, afterTicketId, beforeTicketId };
|
|
28653
28759
|
}
|
|
@@ -28668,7 +28774,7 @@ function BoardColumnHeader({
|
|
|
28668
28774
|
}) {
|
|
28669
28775
|
const count = _nullishCoalesce(column.total, () => ( column.tickets.length));
|
|
28670
28776
|
const tagStatus = _nullishCoalesce(column.statusKey, () => ( column.id));
|
|
28671
|
-
const useStatusVariant =
|
|
28777
|
+
const useStatusVariant = _chunkROQTWRV7cjs.resolveTicketStatus.call(void 0, tagStatus) !== null;
|
|
28672
28778
|
const actionClass = "h-8 w-8 p-0 md:h-8 md:w-8";
|
|
28673
28779
|
if (collapsed) {
|
|
28674
28780
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
@@ -28684,7 +28790,7 @@ function BoardColumnHeader({
|
|
|
28684
28790
|
}
|
|
28685
28791
|
),
|
|
28686
28792
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28687
|
-
|
|
28793
|
+
_chunkROQTWRV7cjs.TicketStatusTag,
|
|
28688
28794
|
{
|
|
28689
28795
|
status: tagStatus,
|
|
28690
28796
|
label: column.label,
|
|
@@ -28697,7 +28803,7 @@ function BoardColumnHeader({
|
|
|
28697
28803
|
}
|
|
28698
28804
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28699
28805
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
28700
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28806
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.TicketStatusTag, { status: tagStatus, label: column.label, color: useStatusVariant ? void 0 : column.color }),
|
|
28701
28807
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h5", style: useStatusVariant ? void 0 : { color: column.color }, children: count })
|
|
28702
28808
|
] }),
|
|
28703
28809
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
@@ -28848,7 +28954,7 @@ function holdMoveDragEffect(element) {
|
|
|
28848
28954
|
|
|
28849
28955
|
function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
28850
28956
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
28851
|
-
const { innerRef, containerStyle } =
|
|
28957
|
+
const { innerRef, containerStyle } = _chunkROQTWRV7cjs.useCollapsible.call(void 0, { expanded });
|
|
28852
28958
|
const isAdmin = pendingApproval.approvalType === "ADMIN";
|
|
28853
28959
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex flex-col", children: [
|
|
28854
28960
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -28877,7 +28983,7 @@ function BoardTicketApproval({ pendingApproval, onApprove, onReject }) {
|
|
|
28877
28983
|
}
|
|
28878
28984
|
),
|
|
28879
28985
|
/* @__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,
|
|
28880
|
-
|
|
28986
|
+
_chunkROQTWRV7cjs.ApprovalBatchMessage,
|
|
28881
28987
|
{
|
|
28882
28988
|
className: "mb-0",
|
|
28883
28989
|
data: {
|
|
@@ -28918,14 +29024,14 @@ function useIsLanding(ticketId) {
|
|
|
28918
29024
|
return _react.useContext.call(void 0, LandingCardContext) === ticketId;
|
|
28919
29025
|
}
|
|
28920
29026
|
function hasMoveSettled(columns, move) {
|
|
28921
|
-
const tickets = _optionalChain([columns, 'access',
|
|
29027
|
+
const tickets = _optionalChain([columns, 'access', _619 => _619.find, 'call', _620 => _620((c) => c.id === move.toColumnId), 'optionalAccess', _621 => _621.tickets]);
|
|
28922
29028
|
if (!tickets) return false;
|
|
28923
29029
|
const index = tickets.findIndex((t) => t.id === move.ticketId);
|
|
28924
29030
|
if (index < 0) return false;
|
|
28925
29031
|
if (move.fromColumnId === move.toColumnId) {
|
|
28926
|
-
return (_nullishCoalesce(_optionalChain([tickets, 'access',
|
|
29032
|
+
return (_nullishCoalesce(_optionalChain([tickets, 'access', _622 => _622[index - 1], 'optionalAccess', _623 => _623.id]), () => ( null))) === move.afterTicketId;
|
|
28927
29033
|
}
|
|
28928
|
-
return !_optionalChain([columns, 'access',
|
|
29034
|
+
return !_optionalChain([columns, 'access', _624 => _624.find, 'call', _625 => _625((c) => c.id === move.fromColumnId), 'optionalAccess', _626 => _626.tickets, 'access', _627 => _627.some, 'call', _628 => _628((t) => t.id === move.ticketId)]);
|
|
28929
29035
|
}
|
|
28930
29036
|
|
|
28931
29037
|
// src/components/features/board/ticket-card.tsx
|
|
@@ -28949,10 +29055,10 @@ var ACTIVITY_DEFAULT_LABEL = {
|
|
|
28949
29055
|
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";
|
|
28950
29056
|
function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onReject }) {
|
|
28951
29057
|
const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
|
|
28952
|
-
const newMessageTextColor = columnColor ?
|
|
28953
|
-
const showDeviceRow = !!(_optionalChain([ticket, 'access',
|
|
28954
|
-
const deviceText = [_optionalChain([ticket, 'access',
|
|
28955
|
-
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access',
|
|
29058
|
+
const newMessageTextColor = columnColor ? _chunkROQTWRV7cjs.getReadableTextColor.call(void 0, columnColor) : void 0;
|
|
29059
|
+
const showDeviceRow = !!(_optionalChain([ticket, 'access', _629 => _629.deviceHostnames, 'optionalAccess', _630 => _630.length]) || ticket.organizationName);
|
|
29060
|
+
const deviceText = [_optionalChain([ticket, 'access', _631 => _631.deviceHostnames, 'optionalAccess', _632 => _632.join, 'call', _633 => _633(", ")]), ticket.organizationName].filter(Boolean).join(", ");
|
|
29061
|
+
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _634 => _634.assignees, 'optionalAccess', _635 => _635.length]) || renderAssignSlot);
|
|
28956
29062
|
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: [
|
|
28957
29063
|
ticket.priority && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28958
29064
|
_chunkGSQM4PDRcjs.Flag02Icon,
|
|
@@ -28961,7 +29067,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
28961
29067
|
"aria-label": `Priority: ${ticket.priority}`
|
|
28962
29068
|
}
|
|
28963
29069
|
),
|
|
28964
|
-
renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access',
|
|
29070
|
+
renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _636 => _636.assignees, 'optionalAccess', _637 => _637.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
|
|
28965
29071
|
ticket.assignees.slice(0, MAX_VISIBLE_ASSIGNEES).map(
|
|
28966
29072
|
(a) => a.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28967
29073
|
DeletedUserAvatar,
|
|
@@ -28971,7 +29077,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
28971
29077
|
},
|
|
28972
29078
|
a.id
|
|
28973
29079
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28974
|
-
|
|
29080
|
+
_chunkE2EGTHYAcjs.SquareAvatar,
|
|
28975
29081
|
{
|
|
28976
29082
|
src: a.avatarUrl,
|
|
28977
29083
|
alt: _nullishCoalesce(_nullishCoalesce(a.name, () => ( a.initials)), () => ( a.id)),
|
|
@@ -28988,8 +29094,8 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
28988
29094
|
] })
|
|
28989
29095
|
] }) : null
|
|
28990
29096
|
] }) : null;
|
|
28991
|
-
const timestampLabel = ticket.createdAt ?
|
|
28992
|
-
const tooltipLabel = ticket.createdAt ?
|
|
29097
|
+
const timestampLabel = ticket.createdAt ? _chunkROQTWRV7cjs.formatTicketRelativeTime.call(void 0, ticket.createdAt) : null;
|
|
29098
|
+
const tooltipLabel = ticket.createdAt ? _chunkROQTWRV7cjs.formatTicketFullTimestamp.call(void 0, ticket.createdAt) : null;
|
|
28993
29099
|
const metaLabel = [ticket.ticketNumber || null, timestampLabel].filter(Boolean).join(" \u2022 ");
|
|
28994
29100
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
28995
29101
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-sf)]", children: [
|
|
@@ -29002,10 +29108,10 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29002
29108
|
] }),
|
|
29003
29109
|
rightSection
|
|
29004
29110
|
] }),
|
|
29005
|
-
_optionalChain([ticket, 'access',
|
|
29006
|
-
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29007
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29008
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29111
|
+
_optionalChain([ticket, 'access', _638 => _638.tags, 'optionalAccess', _639 => _639.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
|
|
29112
|
+
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkROQTWRV7cjs.Tooltip, { children: [
|
|
29113
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "pointer-events-auto truncate text-ods-text-secondary text-h6", children: metaLabel }) }),
|
|
29114
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.TooltipContent, { children: tooltipLabel })
|
|
29009
29115
|
] }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: metaLabel })),
|
|
29010
29116
|
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: [
|
|
29011
29117
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.UserCheckIcon, { className: "size-4 shrink-0" }),
|
|
@@ -29025,7 +29131,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29025
29131
|
}
|
|
29026
29132
|
),
|
|
29027
29133
|
showNewMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29028
|
-
|
|
29134
|
+
_chunkROQTWRV7cjs.Tag,
|
|
29029
29135
|
{
|
|
29030
29136
|
label: "New Message",
|
|
29031
29137
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.MessagesIcon, { size: 16, color: newMessageTextColor }),
|
|
@@ -29069,7 +29175,7 @@ var TicketCard = _react.memo.call(void 0, function TicketCardImpl({
|
|
|
29069
29175
|
const isLanding = useIsLanding(ticket.id);
|
|
29070
29176
|
const aim = useDropAim();
|
|
29071
29177
|
const closestEdge = aim && aim.columnId === columnId && aim.ticketId === ticket.id ? aim.edge : null;
|
|
29072
|
-
const isSource = isDragging || _optionalChain([aim, 'optionalAccess',
|
|
29178
|
+
const isSource = isDragging || _optionalChain([aim, 'optionalAccess', _640 => _640.ticket, 'access', _641 => _641.id]) === ticket.id;
|
|
29073
29179
|
const lift = useBoardLift();
|
|
29074
29180
|
const handleKeyDown = (e) => {
|
|
29075
29181
|
if (e.key !== " " || dragDisabled || !lift) return;
|
|
@@ -29240,8 +29346,8 @@ function TicketTagRow({ tags }) {
|
|
|
29240
29346
|
const visible = tags.slice(0, MAX_VISIBLE_TAGS);
|
|
29241
29347
|
const hidden = tags.length - visible.length;
|
|
29242
29348
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-8 flex-wrap items-start gap-[var(--spacing-system-xxs)] overflow-clip", children: [
|
|
29243
|
-
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29244
|
-
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29349
|
+
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.Tag, { variant: "outline", label: tag }, tag)),
|
|
29350
|
+
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkROQTWRV7cjs.Tag, { variant: "outline", label: `+${hidden}` })
|
|
29245
29351
|
] });
|
|
29246
29352
|
}
|
|
29247
29353
|
|
|
@@ -29322,7 +29428,7 @@ var BoardColumn = _react.memo.call(void 0, function BoardColumnImpl({
|
|
|
29322
29428
|
// large ones like the only thing that did.
|
|
29323
29429
|
getData: ({ input, element: lane, source }) => {
|
|
29324
29430
|
const nearest = nearestCardIn(lane, input.clientY, String(source.data.ticketId));
|
|
29325
|
-
const ticketId = _optionalChain([nearest, 'optionalAccess',
|
|
29431
|
+
const ticketId = _optionalChain([nearest, 'optionalAccess', _642 => _642.dataset, 'access', _643 => _643.ticketId]);
|
|
29326
29432
|
if (!nearest || !ticketId) return { type: "column", columnId: column.id };
|
|
29327
29433
|
return _closestedge.attachClosestEdge.call(void 0,
|
|
29328
29434
|
{ type: "ticket", ticketId, columnId: column.id },
|
|
@@ -29334,7 +29440,7 @@ var BoardColumn = _react.memo.call(void 0, function BoardColumnImpl({
|
|
|
29334
29440
|
onDrop: () => setIsOver(false)
|
|
29335
29441
|
});
|
|
29336
29442
|
}, [column.id, column.dropDisabled, column.allowedFromColumns, collapsed, touchMode]);
|
|
29337
|
-
const handleToggleCollapse = _react.useCallback.call(void 0, () => _optionalChain([onToggleCollapse, 'optionalCall',
|
|
29443
|
+
const handleToggleCollapse = _react.useCallback.call(void 0, () => _optionalChain([onToggleCollapse, 'optionalCall', _644 => _644(column.id)]), [onToggleCollapse, column.id]);
|
|
29338
29444
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
29339
29445
|
"div",
|
|
29340
29446
|
{
|
|
@@ -29413,7 +29519,7 @@ function ColumnBody({
|
|
|
29413
29519
|
const observer = new IntersectionObserver(
|
|
29414
29520
|
(entries) => {
|
|
29415
29521
|
if (entries.some((e) => e.isIntersecting)) {
|
|
29416
|
-
_optionalChain([loadMoreRef, 'access',
|
|
29522
|
+
_optionalChain([loadMoreRef, 'access', _645 => _645.current, 'optionalCall', _646 => _646(columnIdRef.current)]);
|
|
29417
29523
|
}
|
|
29418
29524
|
},
|
|
29419
29525
|
{ root, rootMargin: loadMoreRootMargin }
|
|
@@ -29438,7 +29544,7 @@ function ColumnBody({
|
|
|
29438
29544
|
ticket: t,
|
|
29439
29545
|
columnId: column.id,
|
|
29440
29546
|
columnColor: column.color,
|
|
29441
|
-
href: _optionalChain([getTicketHref, 'optionalCall',
|
|
29547
|
+
href: _optionalChain([getTicketHref, 'optionalCall', _647 => _647(t.id)]),
|
|
29442
29548
|
renderAssignSlot,
|
|
29443
29549
|
onApprove,
|
|
29444
29550
|
onReject,
|
|
@@ -29614,7 +29720,7 @@ function DragBoard({
|
|
|
29614
29720
|
const [landing, setLanding] = _react.useState.call(void 0, null);
|
|
29615
29721
|
const landingTimer = _react.useRef.call(void 0, null);
|
|
29616
29722
|
const pointRef = _react.useRef.call(void 0, { x: 0, y: 0 });
|
|
29617
|
-
const laneLabel = _react.useCallback.call(void 0, (columnId) => _nullishCoalesce(_optionalChain([view, 'access',
|
|
29723
|
+
const laneLabel = _react.useCallback.call(void 0, (columnId) => _nullishCoalesce(_optionalChain([view, 'access', _648 => _648.find, 'call', _649 => _649((c) => c.id === columnId), 'optionalAccess', _650 => _650.label]), () => ( columnId)), [view]);
|
|
29618
29724
|
const acceptsLifted = _react.useCallback.call(void 0,
|
|
29619
29725
|
(fromColumnId) => (column) => {
|
|
29620
29726
|
if (column.dropDisabled || collapsed[column.id]) return false;
|
|
@@ -29628,7 +29734,7 @@ function DragBoard({
|
|
|
29628
29734
|
const start = initialAim(view, ticketId);
|
|
29629
29735
|
if (!start) return;
|
|
29630
29736
|
setLifted({ ticketId, aim: start });
|
|
29631
|
-
const title = _nullishCoalesce(_optionalChain([laneOf, 'call',
|
|
29737
|
+
const title = _nullishCoalesce(_optionalChain([laneOf, 'call', _651 => _651(view, ticketId), 'optionalAccess', _652 => _652.tickets, 'access', _653 => _653.find, 'call', _654 => _654((t) => t.id === ticketId), 'optionalAccess', _655 => _655.title]), () => ( "Ticket"));
|
|
29632
29738
|
setAnnouncement(`${title} lifted. Use the arrow keys to move it, space to drop it, escape to put it back.`);
|
|
29633
29739
|
},
|
|
29634
29740
|
[view]
|
|
@@ -29653,11 +29759,11 @@ function DragBoard({
|
|
|
29653
29759
|
const walk = _react.useCallback.call(void 0,
|
|
29654
29760
|
(key) => {
|
|
29655
29761
|
if (!lifted) return;
|
|
29656
|
-
const from = _nullishCoalesce(_optionalChain([laneOf, 'call',
|
|
29762
|
+
const from = _nullishCoalesce(_optionalChain([laneOf, 'call', _656 => _656(view, lifted.ticketId), 'optionalAccess', _657 => _657.id]), () => ( lifted.aim.columnId));
|
|
29657
29763
|
const next = moveAim(view, lifted.ticketId, lifted.aim, key, acceptsLifted(from));
|
|
29658
29764
|
if (next === lifted.aim) return;
|
|
29659
29765
|
setLifted({ ...lifted, aim: next });
|
|
29660
|
-
const total = (_nullishCoalesce(_optionalChain([view, 'access',
|
|
29766
|
+
const total = (_nullishCoalesce(_optionalChain([view, 'access', _658 => _658.find, 'call', _659 => _659((c) => c.id === next.columnId), 'optionalAccess', _660 => _660.tickets]), () => ( []))).filter(
|
|
29661
29767
|
(t) => t.id !== lifted.ticketId
|
|
29662
29768
|
).length;
|
|
29663
29769
|
setAnnouncement(`${laneLabel(next.columnId)}, position ${next.index + 1} of ${total + 1}.`);
|
|
@@ -29684,11 +29790,11 @@ function DragBoard({
|
|
|
29684
29790
|
}, [lifted, drop, walk]);
|
|
29685
29791
|
_react.useEffect.call(void 0, () => {
|
|
29686
29792
|
if (!lifted) return;
|
|
29687
|
-
_optionalChain([boardRef, 'access',
|
|
29793
|
+
_optionalChain([boardRef, 'access', _661 => _661.current, 'optionalAccess', _662 => _662.querySelector, 'call', _663 => _663(`[${DROP_LINE_ATTRIBUTE}]`), 'optionalAccess', _664 => _664.scrollIntoView, 'call', _665 => _665({ block: "nearest", inline: "nearest" })]);
|
|
29688
29794
|
}, [lifted]);
|
|
29689
29795
|
const keyboardAim = _react.useMemo.call(void 0, () => {
|
|
29690
29796
|
if (!lifted) return null;
|
|
29691
|
-
const ticket = _optionalChain([laneOf, 'call',
|
|
29797
|
+
const ticket = _optionalChain([laneOf, 'call', _666 => _666(view, lifted.ticketId), 'optionalAccess', _667 => _667.tickets, 'access', _668 => _668.find, 'call', _669 => _669((t) => t.id === lifted.ticketId)]);
|
|
29692
29798
|
if (!ticket) return null;
|
|
29693
29799
|
const anchor = aimToChange(view, lifted.ticketId, lifted.aim) ? aimAnchor(view, lifted.ticketId, lifted.aim) : { ticketId: null, edge: null };
|
|
29694
29800
|
return { columnId: lifted.aim.columnId, ...anchor, ticket };
|
|
@@ -29710,7 +29816,7 @@ function DragBoard({
|
|
|
29710
29816
|
return { columnId: slot.columnId, ...anchor, ticket };
|
|
29711
29817
|
};
|
|
29712
29818
|
const aimAt = (source, targets) => {
|
|
29713
|
-
const next = readAim(source, _optionalChain([targets, 'access',
|
|
29819
|
+
const next = readAim(source, _optionalChain([targets, 'access', _670 => _670[0], 'optionalAccess', _671 => _671.data]));
|
|
29714
29820
|
setAim((prev) => isSameAim(prev, next) ? prev : next);
|
|
29715
29821
|
};
|
|
29716
29822
|
return _combine.combine.call(void 0,
|
|
@@ -29739,7 +29845,7 @@ function DragBoard({
|
|
|
29739
29845
|
setLanding(null);
|
|
29740
29846
|
dragGeometry.current = {
|
|
29741
29847
|
ticket,
|
|
29742
|
-
columnColor: _optionalChain([columnsRef, 'access',
|
|
29848
|
+
columnColor: _optionalChain([columnsRef, 'access', _672 => _672.current, 'access', _673 => _673.find, 'call', _674 => _674((c) => c.id === source.data.columnId), 'optionalAccess', _675 => _675.color]),
|
|
29743
29849
|
width: rect.width,
|
|
29744
29850
|
grabX: clientX - rect.left,
|
|
29745
29851
|
grabY: clientY - rect.top
|
|
@@ -29756,7 +29862,7 @@ function DragBoard({
|
|
|
29756
29862
|
setAim(null);
|
|
29757
29863
|
const change = resolveBoardDrop(columnsRef.current, {
|
|
29758
29864
|
source: source.data,
|
|
29759
|
-
target: _optionalChain([location, 'access',
|
|
29865
|
+
target: _optionalChain([location, 'access', _676 => _676.current, 'access', _677 => _677.dropTargets, 'access', _678 => _678[0], 'optionalAccess', _679 => _679.data])
|
|
29760
29866
|
});
|
|
29761
29867
|
if (!change) return;
|
|
29762
29868
|
setPendingMove({
|
|
@@ -29789,7 +29895,7 @@ function DragBoard({
|
|
|
29789
29895
|
return void 0;
|
|
29790
29896
|
}
|
|
29791
29897
|
const to = card.getBoundingClientRect();
|
|
29792
|
-
const lane = _optionalChain([nearestScrollableAncestor, 'call',
|
|
29898
|
+
const lane = _optionalChain([nearestScrollableAncestor, 'call', _680 => _680(card), 'optionalAccess', _681 => _681.getBoundingClientRect, 'call', _682 => _682()]);
|
|
29793
29899
|
if (lane && (to.top < lane.top || to.bottom > lane.bottom)) {
|
|
29794
29900
|
finish();
|
|
29795
29901
|
return void 0;
|
|
@@ -29848,8 +29954,8 @@ function DragBoard({
|
|
|
29848
29954
|
children: view.map((column, i) => {
|
|
29849
29955
|
const prev = view[i - 1];
|
|
29850
29956
|
const next = view[i + 1];
|
|
29851
|
-
const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess',
|
|
29852
|
-
const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess',
|
|
29957
|
+
const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess', _683 => _683.system]));
|
|
29958
|
+
const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess', _684 => _684.system]));
|
|
29853
29959
|
const showGap = i > 0 && !joinLeft;
|
|
29854
29960
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
29855
29961
|
showGap && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "w-[var(--spacing-system-mf)] shrink-0" }),
|
|
@@ -30029,13 +30135,13 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
|
|
|
30029
30135
|
const [flipTick, setFlipTick] = _react.useState.call(void 0, 0);
|
|
30030
30136
|
const flipTimer = _react.useRef.call(void 0, null);
|
|
30031
30137
|
const readItems = _react.useCallback.call(void 0,
|
|
30032
|
-
() => [..._nullishCoalesce(_optionalChain([listRef, 'access',
|
|
30138
|
+
() => [..._nullishCoalesce(_optionalChain([listRef, 'access', _685 => _685.current, 'optionalAccess', _686 => _686.querySelectorAll, 'call', _687 => _687(`[${SORTABLE_ITEM_ATTRIBUTE}]`)]), () => ( []))],
|
|
30033
30139
|
[]
|
|
30034
30140
|
);
|
|
30035
30141
|
const reorder = _react.useCallback.call(void 0,
|
|
30036
30142
|
(from, to) => {
|
|
30037
30143
|
if (from === to) return;
|
|
30038
|
-
const label = _nullishCoalesce(_optionalChain([getItemLabelRef, 'access',
|
|
30144
|
+
const label = _nullishCoalesce(_optionalChain([getItemLabelRef, 'access', _688 => _688.current, 'optionalCall', _689 => _689(from)]), () => ( "Item"));
|
|
30039
30145
|
setAnnouncement(`${label} moved to position ${to + 1} of ${readItems().length}.`);
|
|
30040
30146
|
onReorderRef.current(from, to);
|
|
30041
30147
|
},
|
|
@@ -30123,7 +30229,7 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
|
|
|
30123
30229
|
moving.push(item);
|
|
30124
30230
|
}
|
|
30125
30231
|
if (moving.length === 0) return;
|
|
30126
|
-
void _optionalChain([listRef, 'access',
|
|
30232
|
+
void _optionalChain([listRef, 'access', _690 => _690.current, 'optionalAccess', _691 => _691.offsetHeight]);
|
|
30127
30233
|
for (const item of moving) {
|
|
30128
30234
|
item.style.transition = `transform ${DROP_MS2}ms ${EASING}`;
|
|
30129
30235
|
item.style.transform = "";
|
|
@@ -30160,8 +30266,8 @@ function SortableMoveButtons({ index, count, label, className }) {
|
|
|
30160
30266
|
if (to < 0 || to >= count) return;
|
|
30161
30267
|
reorder(index, to);
|
|
30162
30268
|
requestAnimationFrame(() => {
|
|
30163
|
-
if (step === -1 && to === 0) _optionalChain([downRef, 'access',
|
|
30164
|
-
if (step === 1 && to === count - 1) _optionalChain([upRef, 'access',
|
|
30269
|
+
if (step === -1 && to === 0) _optionalChain([downRef, 'access', _692 => _692.current, 'optionalAccess', _693 => _693.focus, 'call', _694 => _694()]);
|
|
30270
|
+
if (step === 1 && to === count - 1) _optionalChain([upRef, 'access', _695 => _695.current, 'optionalAccess', _696 => _696.focus, 'call', _697 => _697()]);
|
|
30165
30271
|
});
|
|
30166
30272
|
};
|
|
30167
30273
|
const subject = _nullishCoalesce(label, () => ( "item"));
|
|
@@ -30209,7 +30315,7 @@ function useSortableItem() {
|
|
|
30209
30315
|
const [handle, setHandle] = _react.useState.call(void 0, null);
|
|
30210
30316
|
const [isDragging, setIsDragging] = _react.useState.call(void 0, false);
|
|
30211
30317
|
const itemRef = _react.useCallback.call(void 0, (node) => {
|
|
30212
|
-
_optionalChain([node, 'optionalAccess',
|
|
30318
|
+
_optionalChain([node, 'optionalAccess', _698 => _698.setAttribute, 'call', _699 => _699(SORTABLE_ITEM_ATTRIBUTE, "")]);
|
|
30213
30319
|
setItem(node);
|
|
30214
30320
|
}, []);
|
|
30215
30321
|
_react.useEffect.call(void 0, () => {
|
|
@@ -30239,7 +30345,7 @@ function useSortableItem() {
|
|
|
30239
30345
|
if (from < 0 || to < 0 || to >= items.length) return;
|
|
30240
30346
|
event.preventDefault();
|
|
30241
30347
|
reorder(from, to);
|
|
30242
|
-
requestAnimationFrame(() => _optionalChain([handle, 'optionalAccess',
|
|
30348
|
+
requestAnimationFrame(() => _optionalChain([handle, 'optionalAccess', _700 => _700.focus, 'call', _701 => _701()]));
|
|
30243
30349
|
},
|
|
30244
30350
|
[inert, readItems, reorder, handle]
|
|
30245
30351
|
);
|
|
@@ -30261,7 +30367,7 @@ function TicketStatusConfigList({
|
|
|
30261
30367
|
onReorder,
|
|
30262
30368
|
getItemLabel,
|
|
30263
30369
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "flex w-full flex-col gap-[var(--spacing-system-xs)]", className),
|
|
30264
|
-
children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortableRow, { index, count: items.length, label: _optionalChain([getItemLabel, 'optionalCall',
|
|
30370
|
+
children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortableRow, { index, count: items.length, label: _optionalChain([getItemLabel, 'optionalCall', _702 => _702(index)]), children: (args) => renderRow(item, args) }, item.id))
|
|
30265
30371
|
}
|
|
30266
30372
|
);
|
|
30267
30373
|
}
|
|
@@ -30922,5 +31028,7 @@ function SortableRow({
|
|
|
30922
31028
|
|
|
30923
31029
|
|
|
30924
31030
|
|
|
30925
|
-
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.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.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.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.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.ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE; exports.isApprovalNotification = isApprovalNotification; exports.getApprovalMeta = getApprovalMeta; exports.resolutionToStatus = resolutionToStatus; exports.approvalMetaToBatchData = approvalMetaToBatchData; exports.ApprovalRequestNotificationTile = ApprovalRequestNotificationTile; exports.TimeTrackerProvider = TimeTrackerProvider; exports.useTimeTracker = useTimeTracker; exports.useOptionalTimeTracker = useOptionalTimeTracker; exports.useTrackerClock = useTrackerClock; exports.TimeTrackerPanel = TimeTrackerPanel; exports.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;
|
|
30926
|
-
|
|
31031
|
+
|
|
31032
|
+
|
|
31033
|
+
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.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.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.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.ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE; exports.isApprovalNotification = isApprovalNotification; exports.getApprovalMeta = getApprovalMeta; exports.resolutionToStatus = resolutionToStatus; exports.approvalMetaToBatchData = approvalMetaToBatchData; exports.ApprovalRequestNotificationTile = ApprovalRequestNotificationTile; exports.TimeTrackerProvider = TimeTrackerProvider; exports.useTimeTracker = useTimeTracker; exports.useOptionalTimeTracker = useOptionalTimeTracker; exports.useTrackerClock = useTrackerClock; exports.TimeTrackerPanel = TimeTrackerPanel; exports.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;
|
|
31034
|
+
//# sourceMappingURL=chunk-CM6DNLK7.cjs.map
|