@flamingo-stack/openframe-frontend-core 0.0.628-snapshot.20260914045040 → 0.0.628
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-T46STYS2.js → chunk-2E543KJD.js} +2 -2
- package/dist/{chunk-LQLL4S4V.js → chunk-6AFJQOT2.js} +2 -2
- package/dist/{chunk-LHYRLL64.cjs → chunk-6QLOSGE7.cjs} +33 -33
- package/dist/{chunk-LHYRLL64.cjs.map → chunk-6QLOSGE7.cjs.map} +1 -1
- package/dist/{chunk-CKMJQ46H.cjs → chunk-BND25SXU.cjs} +18 -18
- package/dist/{chunk-CKMJQ46H.cjs.map → chunk-BND25SXU.cjs.map} +1 -1
- package/dist/{chunk-3ZY4CE7N.cjs → chunk-C3DDNRJG.cjs} +3 -3
- package/dist/{chunk-3ZY4CE7N.cjs.map → chunk-C3DDNRJG.cjs.map} +1 -1
- package/dist/{chunk-HVWNOPDV.cjs → chunk-E523WX5V.cjs} +3 -3
- package/dist/{chunk-HVWNOPDV.cjs.map → chunk-E523WX5V.cjs.map} +1 -1
- package/dist/{chunk-K7EJ7HYJ.cjs → chunk-GH4WLDPS.cjs} +10 -10
- package/dist/{chunk-K7EJ7HYJ.cjs.map → chunk-GH4WLDPS.cjs.map} +1 -1
- package/dist/{chunk-OXTV63QO.js → chunk-HLZKMYST.js} +2 -2
- package/dist/{chunk-4NMVDTHA.js → chunk-HNNR5CGX.js} +2 -2
- package/dist/{chunk-PFBMVQ5R.js → chunk-JVLLA3Z7.js} +2 -2
- package/dist/{chunk-4VPCIREO.js → chunk-JWXEEZKD.js} +2 -2
- package/dist/{chunk-2MXKO5BN.js → chunk-K43T7N7O.js} +4 -4
- package/dist/{chunk-W523NIJ6.cjs → chunk-KT47FRJC.cjs} +3 -3
- package/dist/{chunk-W523NIJ6.cjs.map → chunk-KT47FRJC.cjs.map} +1 -1
- package/dist/{chunk-KO52PXL4.cjs → chunk-KTBZJP5J.cjs} +4 -4
- package/dist/{chunk-KO52PXL4.cjs.map → chunk-KTBZJP5J.cjs.map} +1 -1
- package/dist/{chunk-DLHGJYYA.cjs → chunk-L6GJV7E7.cjs} +36 -36
- package/dist/{chunk-DLHGJYYA.cjs.map → chunk-L6GJV7E7.cjs.map} +1 -1
- package/dist/{chunk-MTLDYBXK.js → chunk-LCMXGM2P.js} +4 -4
- package/dist/{chunk-MOB5AA3X.js → chunk-LLSX5T7X.js} +3 -3
- package/dist/{chunk-SCPJ53CM.js → chunk-MB4IEWLH.js} +2 -2
- package/dist/{chunk-7P6M5G3W.cjs → chunk-Q544C4Z7.cjs} +17 -17
- package/dist/{chunk-7P6M5G3W.cjs.map → chunk-Q544C4Z7.cjs.map} +1 -1
- package/dist/{chunk-XNC37UQP.cjs → chunk-SWJ6QLD7.cjs} +51 -51
- package/dist/{chunk-XNC37UQP.cjs.map → chunk-SWJ6QLD7.cjs.map} +1 -1
- package/dist/{chunk-5OMBSMRI.cjs → chunk-TDKOW2C5.cjs} +13 -13
- package/dist/{chunk-5OMBSMRI.cjs.map → chunk-TDKOW2C5.cjs.map} +1 -1
- package/dist/{chunk-DGY4NVIB.js → chunk-TUUSLED7.js} +5 -5
- package/dist/{chunk-GR3WOOM7.js → chunk-U4UNC3RP.js} +5 -5
- package/dist/{chunk-WR67VM2J.cjs → chunk-UBX3ATG5.cjs} +145 -172
- package/dist/chunk-UBX3ATG5.cjs.map +1 -0
- package/dist/{chunk-5JAB5LVO.cjs → chunk-VCY2KHOE.cjs} +17 -17
- package/dist/{chunk-5JAB5LVO.cjs.map → chunk-VCY2KHOE.cjs.map} +1 -1
- package/dist/{chunk-2ZSGDKZI.cjs → chunk-WIP5JO2O.cjs} +4 -4
- package/dist/{chunk-2ZSGDKZI.cjs.map → chunk-WIP5JO2O.cjs.map} +1 -1
- package/dist/{chunk-PJZYJDR7.js → chunk-XQ4II4BK.js} +2 -2
- package/dist/{chunk-CV2SESZT.cjs → chunk-Y5QXDVPP.cjs} +3 -3
- package/dist/{chunk-CV2SESZT.cjs.map → chunk-Y5QXDVPP.cjs.map} +1 -1
- package/dist/{chunk-QGWBMPQY.js → chunk-YZJL6WGP.js} +7 -34
- package/dist/chunk-YZJL6WGP.js.map +1 -0
- package/dist/{chunk-D5CKXMMC.js → chunk-ZRCWXJDW.js} +2 -2
- package/dist/components/case-studies/index.cjs +8 -8
- package/dist/components/case-studies/index.js +2 -2
- package/dist/components/contact/index.cjs +3 -3
- package/dist/components/contact/index.js +2 -2
- package/dist/components/docs/index.cjs +6 -6
- package/dist/components/docs/index.js +5 -5
- package/dist/components/embeds/index.cjs +3 -3
- package/dist/components/embeds/index.js +2 -2
- package/dist/components/faq/index.cjs +3 -3
- package/dist/components/faq/index.js +2 -2
- package/dist/components/features/changelog-manager.d.ts +1 -17
- package/dist/components/features/changelog-manager.d.ts.map +1 -1
- package/dist/components/features/index.cjs +2 -2
- package/dist/components/features/index.js +1 -1
- package/dist/components/help-center-pages/index.cjs +22 -22
- package/dist/components/help-center-pages/index.js +13 -13
- package/dist/components/index.cjs +31 -31
- package/dist/components/index.js +12 -12
- package/dist/components/meeting-scheduler/index.cjs +21 -21
- package/dist/components/meeting-scheduler/index.js +1 -1
- package/dist/components/navigation/index.cjs +5 -5
- package/dist/components/navigation/index.js +4 -4
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/onboarding-guides/index.js +4 -4
- package/dist/components/tickets/index.cjs +6 -6
- package/dist/components/tickets/index.js +5 -5
- package/dist/components/ui/index.cjs +2 -2
- package/dist/components/ui/index.js +1 -1
- package/dist/index.cjs +6 -6
- package/dist/index.js +5 -5
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/product-release.d.ts +0 -5
- package/dist/types/product-release.d.ts.map +1 -1
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/features/changelog-manager.tsx +5 -69
- package/src/types/product-release.ts +0 -5
- package/dist/chunk-QGWBMPQY.js.map +0 -1
- package/dist/chunk-WR67VM2J.cjs.map +0 -1
- package/src/components/features/__tests__/changelog-manager-tags.test.tsx +0 -57
- /package/dist/{chunk-T46STYS2.js.map → chunk-2E543KJD.js.map} +0 -0
- /package/dist/{chunk-LQLL4S4V.js.map → chunk-6AFJQOT2.js.map} +0 -0
- /package/dist/{chunk-OXTV63QO.js.map → chunk-HLZKMYST.js.map} +0 -0
- /package/dist/{chunk-4NMVDTHA.js.map → chunk-HNNR5CGX.js.map} +0 -0
- /package/dist/{chunk-PFBMVQ5R.js.map → chunk-JVLLA3Z7.js.map} +0 -0
- /package/dist/{chunk-4VPCIREO.js.map → chunk-JWXEEZKD.js.map} +0 -0
- /package/dist/{chunk-2MXKO5BN.js.map → chunk-K43T7N7O.js.map} +0 -0
- /package/dist/{chunk-MTLDYBXK.js.map → chunk-LCMXGM2P.js.map} +0 -0
- /package/dist/{chunk-MOB5AA3X.js.map → chunk-LLSX5T7X.js.map} +0 -0
- /package/dist/{chunk-SCPJ53CM.js.map → chunk-MB4IEWLH.js.map} +0 -0
- /package/dist/{chunk-DGY4NVIB.js.map → chunk-TUUSLED7.js.map} +0 -0
- /package/dist/{chunk-GR3WOOM7.js.map → chunk-U4UNC3RP.js.map} +0 -0
- /package/dist/{chunk-PJZYJDR7.js.map → chunk-XQ4II4BK.js.map} +0 -0
- /package/dist/{chunk-D5CKXMMC.js.map → chunk-ZRCWXJDW.js.map} +0 -0
|
@@ -19330,15 +19330,8 @@ function ChangelogManager({
|
|
|
19330
19330
|
onChange,
|
|
19331
19331
|
className = "",
|
|
19332
19332
|
expandAll = false,
|
|
19333
|
-
showVisibilityToggle = false
|
|
19334
|
-
tagOptions,
|
|
19335
|
-
tagLabel = "Tag",
|
|
19336
|
-
titleLabel = "Title",
|
|
19337
|
-
titlePlaceholder = "e.g., New dark mode theme support",
|
|
19338
|
-
descriptionLabel = "Description",
|
|
19339
|
-
descriptionPlaceholder = "Detailed explanation of the change..."
|
|
19333
|
+
showVisibilityToggle = false
|
|
19340
19334
|
}) {
|
|
19341
|
-
const tagLabelOf = (value) => _optionalChain([tagOptions, 'optionalAccess', _435 => _435.find, 'call', _436 => _436((o) => o.value === value), 'optionalAccess', _437 => _437.label]);
|
|
19342
19335
|
const entryCount = entries.length;
|
|
19343
19336
|
const allExpanded = () => new Set(Array.from({ length: entryCount }, (_, i) => i));
|
|
19344
19337
|
const [expandedIndices, setExpandedIndices] = _react.useState.call(void 0,
|
|
@@ -19355,8 +19348,7 @@ function ChangelogManager({
|
|
|
19355
19348
|
const newEntry = {
|
|
19356
19349
|
title: "",
|
|
19357
19350
|
description: "",
|
|
19358
|
-
...showVisibilityToggle && { visibility: "public" }
|
|
19359
|
-
..._optionalChain([tagOptions, 'optionalAccess', _438 => _438.length]) && { tag: tagOptions[0].value }
|
|
19351
|
+
...showVisibilityToggle && { visibility: "public" }
|
|
19360
19352
|
};
|
|
19361
19353
|
onChange([...entries, newEntry]);
|
|
19362
19354
|
setExpandedIndices((prev) => /* @__PURE__ */ new Set([...prev, entries.length]));
|
|
@@ -19427,15 +19419,6 @@ function ChangelogManager({
|
|
|
19427
19419
|
}
|
|
19428
19420
|
),
|
|
19429
19421
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: hasContent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h6", children: entry.title }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "italic text-ods-text-secondary text-h6", children: "New entry (click to edit)" }) }),
|
|
19430
|
-
tagOptions && tagLabelOf(entry.tag) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19431
|
-
_chunkOQHFHKUGcjs.StatusBadge,
|
|
19432
|
-
{
|
|
19433
|
-
variant: "button",
|
|
19434
|
-
singleLine: true,
|
|
19435
|
-
text: tagLabelOf(entry.tag),
|
|
19436
|
-
className: "shrink-0 whitespace-nowrap"
|
|
19437
|
-
}
|
|
19438
|
-
),
|
|
19439
19422
|
showVisibilityToggle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19440
19423
|
_chunkWRJVEB2Jcjs.Button,
|
|
19441
19424
|
{
|
|
@@ -19462,14 +19445,11 @@ function ChangelogManager({
|
|
|
19462
19445
|
] }),
|
|
19463
19446
|
isExpanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3 border-t border-ods-border px-3 pb-3 pt-3", children: [
|
|
19464
19447
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
19465
|
-
/* @__PURE__ */ _jsxruntime.
|
|
19466
|
-
titleLabel,
|
|
19467
|
-
" *"
|
|
19468
|
-
] }),
|
|
19448
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.Label, { className: "text-ods-text-secondary", children: "Title *" }),
|
|
19469
19449
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19470
19450
|
_chunkN6HNK25Acjs.Input,
|
|
19471
19451
|
{
|
|
19472
|
-
placeholder:
|
|
19452
|
+
placeholder: "e.g., New dark mode theme support",
|
|
19473
19453
|
value: entry.title,
|
|
19474
19454
|
onChange: (e) => updateEntry(index, "title", e.target.value),
|
|
19475
19455
|
onKeyDown: (e) => e.key === "Enter" && e.preventDefault(),
|
|
@@ -19478,24 +19458,17 @@ function ChangelogManager({
|
|
|
19478
19458
|
)
|
|
19479
19459
|
] }),
|
|
19480
19460
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
19481
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.Label, { className: "text-ods-text-secondary", children:
|
|
19461
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.Label, { className: "text-ods-text-secondary", children: "Description" }),
|
|
19482
19462
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19483
19463
|
Textarea,
|
|
19484
19464
|
{
|
|
19485
|
-
placeholder:
|
|
19465
|
+
placeholder: "Detailed explanation of the change...",
|
|
19486
19466
|
value: entry.description || "",
|
|
19487
19467
|
onChange: (e) => updateEntry(index, "description", e.target.value),
|
|
19488
19468
|
rows: 2,
|
|
19489
19469
|
className: "bg-ods-bg"
|
|
19490
19470
|
}
|
|
19491
19471
|
)
|
|
19492
|
-
] }),
|
|
19493
|
-
tagOptions && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
19494
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.Label, { className: "text-ods-text-secondary", children: tagLabel }),
|
|
19495
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Select, { value: _nullishCoalesce(entry.tag, () => ( "")), onValueChange: (value) => updateEntry(index, "tag", value), children: [
|
|
19496
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectTrigger, { className: "bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectValue, { placeholder: tagLabel }) }),
|
|
19497
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectContent, { children: tagOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectItem, { value: option.value, children: option.label }, option.value)) })
|
|
19498
|
-
] })
|
|
19499
19472
|
] })
|
|
19500
19473
|
] })
|
|
19501
19474
|
] }, index);
|
|
@@ -19868,10 +19841,10 @@ var getContentDimensions = (config) => {
|
|
|
19868
19841
|
const envMobileHeight = process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT) : null;
|
|
19869
19842
|
const envDesktopWidth = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH) : null;
|
|
19870
19843
|
const envDesktopHeight = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT) : null;
|
|
19871
|
-
const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess',
|
|
19872
|
-
const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess',
|
|
19873
|
-
const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess',
|
|
19874
|
-
const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess',
|
|
19844
|
+
const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess', _435 => _435.mobileContentDimensions, 'optionalAccess', _436 => _436.width]))), () => ( defaultMobile.width));
|
|
19845
|
+
const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess', _437 => _437.mobileContentDimensions, 'optionalAccess', _438 => _438.height]))), () => ( defaultMobile.height));
|
|
19846
|
+
const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess', _439 => _439.desktopContentDimensions, 'optionalAccess', _440 => _440.width]))), () => ( defaultDesktop.width));
|
|
19847
|
+
const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess', _441 => _441.desktopContentDimensions, 'optionalAccess', _442 => _442.height]))), () => ( defaultDesktop.height));
|
|
19875
19848
|
return {
|
|
19876
19849
|
mobile: { width: mobileWidth, height: mobileHeight },
|
|
19877
19850
|
desktop: { width: desktopWidth, height: desktopHeight }
|
|
@@ -20027,7 +20000,7 @@ function UnifiedUI({ state, handlers, config, iframeRef }) {
|
|
|
20027
20000
|
const contentDimensions = getContentDimensions(config);
|
|
20028
20001
|
const mobileHeight = contentDimensions.mobile.height;
|
|
20029
20002
|
const calculatedHeight = Math.max(mobileHeight + 100, 400);
|
|
20030
|
-
return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess',
|
|
20003
|
+
return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess', _443 => _443.innerHeight]) * 0.85 || 650)}px`;
|
|
20031
20004
|
})(),
|
|
20032
20005
|
minHeight: viewMode === "DESKTOP" ? "auto" : (() => {
|
|
20033
20006
|
const contentDimensions = getContentDimensions(config);
|
|
@@ -20130,7 +20103,7 @@ var FigmaPrototypeViewer = ({
|
|
|
20130
20103
|
const [isInitialized, setIsInitialized] = _react.useState.call(void 0, false);
|
|
20131
20104
|
const [currentNodeId, setCurrentNodeId] = _react.useState.call(void 0, null);
|
|
20132
20105
|
const [internalActiveSection, setInternalActiveSection] = _react.useState.call(void 0,
|
|
20133
|
-
config.defaultSectionId || _optionalChain([config, 'access',
|
|
20106
|
+
config.defaultSectionId || _optionalChain([config, 'access', _444 => _444.sections, 'access', _445 => _445[0], 'optionalAccess', _446 => _446.id]) || ""
|
|
20134
20107
|
);
|
|
20135
20108
|
const activeSection = externalActiveSection || internalActiveSection;
|
|
20136
20109
|
const [isNavigating, setIsNavigating] = _react.useState.call(void 0, false);
|
|
@@ -20228,19 +20201,19 @@ var FigmaPrototypeViewer = ({
|
|
|
20228
20201
|
setIframeState("READY");
|
|
20229
20202
|
break;
|
|
20230
20203
|
case "PRESENTED_NODE_CHANGED":
|
|
20231
|
-
if (_optionalChain([figmaEvent, 'access',
|
|
20204
|
+
if (_optionalChain([figmaEvent, 'access', _447 => _447.data, 'optionalAccess', _448 => _448.presentedNodeId])) {
|
|
20232
20205
|
setCurrentNodeId(figmaEvent.data.presentedNodeId);
|
|
20233
20206
|
if (!isNavigating) {
|
|
20234
20207
|
const matchingSection = configSections.find((s) => {
|
|
20235
|
-
const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access',
|
|
20236
|
-
const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access',
|
|
20208
|
+
const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access', _449 => _449.data, 'optionalAccess', _450 => _450.presentedNodeId]) || s.startingNodeId.replace(":", "-") === _optionalChain([figmaEvent, 'access', _451 => _451.data, 'optionalAccess', _452 => _452.presentedNodeId]);
|
|
20209
|
+
const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access', _453 => _453.data, 'optionalAccess', _454 => _454.presentedNodeId]) || _optionalChain([s, 'access', _455 => _455.mobileStartingNodeId, 'optionalAccess', _456 => _456.replace, 'call', _457 => _457(":", "-")]) === _optionalChain([figmaEvent, 'access', _458 => _458.data, 'optionalAccess', _459 => _459.presentedNodeId]);
|
|
20237
20210
|
return desktopMatch || mobileMatch;
|
|
20238
20211
|
});
|
|
20239
20212
|
if (matchingSection && matchingSection.id !== activeSection) {
|
|
20240
20213
|
if (!externalActiveSection) {
|
|
20241
20214
|
setInternalActiveSection(matchingSection.id);
|
|
20242
20215
|
}
|
|
20243
|
-
_optionalChain([onSectionChange, 'optionalCall',
|
|
20216
|
+
_optionalChain([onSectionChange, 'optionalCall', _460 => _460(matchingSection.id)]);
|
|
20244
20217
|
}
|
|
20245
20218
|
}
|
|
20246
20219
|
}
|
|
@@ -20254,7 +20227,7 @@ var FigmaPrototypeViewer = ({
|
|
|
20254
20227
|
const navigateToSection = _react.useCallback.call(void 0,
|
|
20255
20228
|
(sectionId) => {
|
|
20256
20229
|
const section = config.sections.find((s) => s.id === sectionId);
|
|
20257
|
-
if (!section || !_optionalChain([iframeRef, 'access',
|
|
20230
|
+
if (!section || !_optionalChain([iframeRef, 'access', _461 => _461.current, 'optionalAccess', _462 => _462.contentWindow]) || !isInitialized) {
|
|
20258
20231
|
return;
|
|
20259
20232
|
}
|
|
20260
20233
|
setIsNavigating(true);
|
|
@@ -20262,7 +20235,7 @@ var FigmaPrototypeViewer = ({
|
|
|
20262
20235
|
if (!externalActiveSection) {
|
|
20263
20236
|
setInternalActiveSection(sectionId);
|
|
20264
20237
|
}
|
|
20265
|
-
_optionalChain([config, 'access',
|
|
20238
|
+
_optionalChain([config, 'access', _463 => _463.onSectionChange, 'optionalCall', _464 => _464(sectionId)]);
|
|
20266
20239
|
const command = {
|
|
20267
20240
|
type: "NAVIGATE_TO_FRAME_AND_CLOSE_OVERLAYS",
|
|
20268
20241
|
data: { nodeId }
|
|
@@ -20599,7 +20572,7 @@ var FiltersDropdown = ({
|
|
|
20599
20572
|
defaults[section.id] = section.defaultSelected || [];
|
|
20600
20573
|
});
|
|
20601
20574
|
setSelectedFilters(defaults);
|
|
20602
|
-
_optionalChain([onReset, 'optionalCall',
|
|
20575
|
+
_optionalChain([onReset, 'optionalCall', _465 => _465()]);
|
|
20603
20576
|
setIsOpen(false);
|
|
20604
20577
|
};
|
|
20605
20578
|
const handleApply = () => {
|
|
@@ -20848,7 +20821,7 @@ function MediaGalleryManager({
|
|
|
20848
20821
|
const [draggedIndex, setDraggedIndex] = _react.useState.call(void 0, null);
|
|
20849
20822
|
const handleFileSelect = _react.useCallback.call(void 0,
|
|
20850
20823
|
async (event) => {
|
|
20851
|
-
const file = _optionalChain([event, 'access',
|
|
20824
|
+
const file = _optionalChain([event, 'access', _466 => _466.target, 'access', _467 => _467.files, 'optionalAccess', _468 => _468[0]]);
|
|
20852
20825
|
if (!file) return;
|
|
20853
20826
|
let mediaType;
|
|
20854
20827
|
if (file.type.startsWith("image/")) {
|
|
@@ -20973,7 +20946,7 @@ function MediaGalleryManager({
|
|
|
20973
20946
|
{
|
|
20974
20947
|
type: "button",
|
|
20975
20948
|
variant: "outline",
|
|
20976
|
-
onClick: () => _optionalChain([fileInputRef, 'access',
|
|
20949
|
+
onClick: () => _optionalChain([fileInputRef, 'access', _469 => _469.current, 'optionalAccess', _470 => _470.click, 'call', _471 => _471()]),
|
|
20977
20950
|
disabled: isUploading,
|
|
20978
20951
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
|
|
20979
20952
|
className: "font-bold text-h6",
|
|
@@ -23098,9 +23071,9 @@ function PushButtonSelector({
|
|
|
23098
23071
|
}) {
|
|
23099
23072
|
const scrollRef = _react.useRef.call(void 0, null);
|
|
23100
23073
|
const sentinelRef = _react.useRef.call(void 0, null);
|
|
23101
|
-
const lazyHasMore = _nullishCoalesce(_optionalChain([lazyLoad, 'optionalAccess',
|
|
23102
|
-
const lazyFetching = _nullishCoalesce(_optionalChain([lazyLoad, 'optionalAccess',
|
|
23103
|
-
const onLoadMore = _optionalChain([lazyLoad, 'optionalAccess',
|
|
23074
|
+
const lazyHasMore = _nullishCoalesce(_optionalChain([lazyLoad, 'optionalAccess', _472 => _472.hasMore]), () => ( false));
|
|
23075
|
+
const lazyFetching = _nullishCoalesce(_optionalChain([lazyLoad, 'optionalAccess', _473 => _473.isFetchingMore]), () => ( false));
|
|
23076
|
+
const onLoadMore = _optionalChain([lazyLoad, 'optionalAccess', _474 => _474.onLoadMore]);
|
|
23104
23077
|
const optionCount = options.length;
|
|
23105
23078
|
_react.useEffect.call(void 0, () => {
|
|
23106
23079
|
const sentinel = sentinelRef.current;
|
|
@@ -23271,7 +23244,7 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
|
|
|
23271
23244
|
const fileInputRef = _react.useRef.call(void 0, null);
|
|
23272
23245
|
const [uploadingIndex, setUploadingIndex] = _react.useState.call(void 0, null);
|
|
23273
23246
|
const handleFileSelect = async (event) => {
|
|
23274
|
-
const file = _optionalChain([event, 'access',
|
|
23247
|
+
const file = _optionalChain([event, 'access', _475 => _475.target, 'access', _476 => _476.files, 'optionalAccess', _477 => _477[0]]);
|
|
23275
23248
|
if (!file) return;
|
|
23276
23249
|
let mediaType;
|
|
23277
23250
|
if (file.type.startsWith("image/")) {
|
|
@@ -23353,7 +23326,7 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
|
|
|
23353
23326
|
{
|
|
23354
23327
|
type: "button",
|
|
23355
23328
|
variant: "outline",
|
|
23356
|
-
onClick: () => _optionalChain([fileInputRef, 'access',
|
|
23329
|
+
onClick: () => _optionalChain([fileInputRef, 'access', _478 => _478.current, 'optionalAccess', _479 => _479.click, 'call', _480 => _480()]),
|
|
23357
23330
|
disabled: uploadingIndex !== null,
|
|
23358
23331
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
|
|
23359
23332
|
className: "font-bold text-h6",
|
|
@@ -23634,7 +23607,7 @@ function SEOEditorPreview({
|
|
|
23634
23607
|
const displayImage = hasOgImage || hasFeaturedImage;
|
|
23635
23608
|
const handleImageUpload = async (event) => {
|
|
23636
23609
|
if (!onOgImageUpload) return;
|
|
23637
|
-
const file = _optionalChain([event, 'access',
|
|
23610
|
+
const file = _optionalChain([event, 'access', _481 => _481.target, 'access', _482 => _482.files, 'optionalAccess', _483 => _483[0]]);
|
|
23638
23611
|
if (!file) return;
|
|
23639
23612
|
setIsUploading(true);
|
|
23640
23613
|
try {
|
|
@@ -23791,7 +23764,7 @@ function SEOEditorPreview({
|
|
|
23791
23764
|
type: "button",
|
|
23792
23765
|
variant: "outline",
|
|
23793
23766
|
size: "icon",
|
|
23794
|
-
onClick: () => _optionalChain([fileInputRef, 'optionalAccess',
|
|
23767
|
+
onClick: () => _optionalChain([fileInputRef, 'optionalAccess', _484 => _484.click, 'call', _485 => _485()]),
|
|
23795
23768
|
disabled: disabled || isUploading,
|
|
23796
23769
|
className: "rounded-full bg-white text-black opacity-0 hover:bg-gray-100 group-hover:opacity-100",
|
|
23797
23770
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-4 w-4" })
|
|
@@ -23817,7 +23790,7 @@ function SEOEditorPreview({
|
|
|
23817
23790
|
SEO_MEDIA_BOX_HEIGHT,
|
|
23818
23791
|
"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"
|
|
23819
23792
|
),
|
|
23820
|
-
onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess',
|
|
23793
|
+
onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess', _486 => _486.click, 'call', _487 => _487()]),
|
|
23821
23794
|
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: [
|
|
23822
23795
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "mb-2 h-8 w-8 text-ods-text-secondary" }),
|
|
23823
23796
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h6", children: onOgImageUpload ? "Click to upload OG image" : "No image" })
|
|
@@ -23978,7 +23951,7 @@ function SocialLinksManager({
|
|
|
23978
23951
|
className = ""
|
|
23979
23952
|
}) {
|
|
23980
23953
|
const addLink = () => {
|
|
23981
|
-
const firstPlatform = _optionalChain([platforms, 'access',
|
|
23954
|
+
const firstPlatform = _optionalChain([platforms, 'access', _488 => _488[0], 'optionalAccess', _489 => _489.name]) || "website";
|
|
23982
23955
|
onChange([...links, { platform: firstPlatform, url: "" }]);
|
|
23983
23956
|
};
|
|
23984
23957
|
const removeLink = (index) => {
|
|
@@ -23990,7 +23963,7 @@ function SocialLinksManager({
|
|
|
23990
23963
|
onChange(updated);
|
|
23991
23964
|
};
|
|
23992
23965
|
const getIcon = (link, platform) => {
|
|
23993
|
-
const iconKey = _optionalChain([platform, 'optionalAccess',
|
|
23966
|
+
const iconKey = _optionalChain([platform, 'optionalAccess', _490 => _490.icon_name]) || link.platform;
|
|
23994
23967
|
const key = normalizeSocialPlatform(iconKey);
|
|
23995
23968
|
if (!key) return null;
|
|
23996
23969
|
const IconComponent = SOCIAL_ICON_COMPONENTS[key];
|
|
@@ -24014,7 +23987,7 @@ function SocialLinksManager({
|
|
|
24014
23987
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24015
23988
|
_chunkN6HNK25Acjs.Input,
|
|
24016
23989
|
{
|
|
24017
|
-
placeholder: _optionalChain([platform, 'optionalAccess',
|
|
23990
|
+
placeholder: _optionalChain([platform, 'optionalAccess', _491 => _491.placeholder]) || "Profile URL",
|
|
24018
23991
|
value: link.url,
|
|
24019
23992
|
onChange: (e) => updateLink(index, "url", e.target.value),
|
|
24020
23993
|
onKeyDown: (e) => {
|
|
@@ -24410,8 +24383,8 @@ function VideoBitesDisplay({
|
|
|
24410
24383
|
|
|
24411
24384
|
var isAtEnd = (duration, time) => duration > 0 && duration - time < 1;
|
|
24412
24385
|
function theaterSeedFromLive(live, fallbackTime, fallbackMuted) {
|
|
24413
|
-
const time = _nullishCoalesce(_optionalChain([live, 'optionalAccess',
|
|
24414
|
-
const atEnd = isAtEnd(_nullishCoalesce(_optionalChain([live, 'optionalAccess',
|
|
24386
|
+
const time = _nullishCoalesce(_optionalChain([live, 'optionalAccess', _492 => _492.getCurrentTime, 'call', _493 => _493()]), () => ( 0));
|
|
24387
|
+
const atEnd = isAtEnd(_nullishCoalesce(_optionalChain([live, 'optionalAccess', _494 => _494.getDuration, 'call', _495 => _495()]), () => ( 0)), time);
|
|
24415
24388
|
return {
|
|
24416
24389
|
// At end -> start over, never rewind to an unrelated older anchor.
|
|
24417
24390
|
time: atEnd ? 0 : time > 0.5 ? time : fallbackTime,
|
|
@@ -24443,11 +24416,11 @@ function WalkthroughVideo({
|
|
|
24443
24416
|
const inline = placement === "inline";
|
|
24444
24417
|
const dismissEnabled = dismissal !== false;
|
|
24445
24418
|
const storageKey = dismissEnabled && dismissal.storageKey || WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
24446
|
-
const dismissalId = _optionalChain([video, 'optionalAccess',
|
|
24419
|
+
const dismissalId = _optionalChain([video, 'optionalAccess', _496 => _496.id]) != null ? String(video.id) : "dismissed";
|
|
24447
24420
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
24448
24421
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
24449
24422
|
const hasVideo = video != null;
|
|
24450
|
-
const videoId = _optionalChain([video, 'optionalAccess',
|
|
24423
|
+
const videoId = _optionalChain([video, 'optionalAccess', _497 => _497.id]);
|
|
24451
24424
|
_react.useEffect.call(void 0, () => {
|
|
24452
24425
|
let idleHandle = null;
|
|
24453
24426
|
if (!hasVideo) return void 0;
|
|
@@ -24474,9 +24447,9 @@ function WalkthroughVideo({
|
|
|
24474
24447
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
24475
24448
|
if (!hydrated) return false;
|
|
24476
24449
|
try {
|
|
24477
|
-
const reducedMotion = _nullishCoalesce(_optionalChain([window, 'access',
|
|
24450
|
+
const reducedMotion = _nullishCoalesce(_optionalChain([window, 'access', _498 => _498.matchMedia, 'optionalCall', _499 => _499("(prefers-reduced-motion: reduce)"), 'access', _500 => _500.matches]), () => ( false));
|
|
24478
24451
|
const conn = navigator.connection;
|
|
24479
|
-
const saveData = _optionalChain([conn, 'optionalAccess',
|
|
24452
|
+
const saveData = _optionalChain([conn, 'optionalAccess', _501 => _501.saveData]) === true || _optionalChain([conn, 'optionalAccess', _502 => _502.effectiveType]) === "2g" || _optionalChain([conn, 'optionalAccess', _503 => _503.effectiveType]) === "slow-2g";
|
|
24480
24453
|
return Boolean(reducedMotion || saveData);
|
|
24481
24454
|
} catch (e28) {
|
|
24482
24455
|
return false;
|
|
@@ -24509,18 +24482,18 @@ function WalkthroughVideo({
|
|
|
24509
24482
|
const [cardMuted, setCardMuted] = _react.useState.call(void 0, false);
|
|
24510
24483
|
const [cardPaused, setCardPaused] = _react.useState.call(void 0, false);
|
|
24511
24484
|
const [userMuted, setUserMuted] = _react.useState.call(void 0, false);
|
|
24512
|
-
const isYouTube = Boolean(_optionalChain([video, 'optionalAccess',
|
|
24485
|
+
const isYouTube = Boolean(_optionalChain([video, 'optionalAccess', _504 => _504.youtubeUrl]));
|
|
24513
24486
|
const resumeMode = !open && handoff !== null && !isYouTube;
|
|
24514
24487
|
const previewAllowed = !previewSuppressed && !isYouTube;
|
|
24515
24488
|
const footerFadeKey = `${mounted ? 1 : 0}|${inline ? 1 : 0}|${hideNearSelector}|${pathname}`;
|
|
24516
|
-
const footerHidden = _optionalChain([footerObservation, 'optionalAccess',
|
|
24489
|
+
const footerHidden = _optionalChain([footerObservation, 'optionalAccess', _505 => _505.key]) === footerFadeKey && footerObservation.hidden;
|
|
24517
24490
|
_react.useEffect.call(void 0, () => {
|
|
24518
24491
|
if (!mounted) return void 0;
|
|
24519
24492
|
if (inline) return void 0;
|
|
24520
24493
|
const el = typeof document !== "undefined" ? document.querySelector(hideNearSelector) : null;
|
|
24521
24494
|
if (!el || typeof IntersectionObserver === "undefined") return void 0;
|
|
24522
24495
|
const io = new IntersectionObserver(
|
|
24523
|
-
(entries) => setFooterObservation({ key: footerFadeKey, hidden: _nullishCoalesce(_optionalChain([entries, 'access',
|
|
24496
|
+
(entries) => setFooterObservation({ key: footerFadeKey, hidden: _nullishCoalesce(_optionalChain([entries, 'access', _506 => _506[0], 'optionalAccess', _507 => _507.isIntersecting]), () => ( false)) }),
|
|
24524
24497
|
{ rootMargin: "0px 0px -40px 0px" }
|
|
24525
24498
|
);
|
|
24526
24499
|
io.observe(el);
|
|
@@ -24546,7 +24519,7 @@ function WalkthroughVideo({
|
|
|
24546
24519
|
if (!footerHidden) return;
|
|
24547
24520
|
const h = _nullishCoalesce(resumeHandleRef.current, () => ( previewHandleRef.current));
|
|
24548
24521
|
try {
|
|
24549
|
-
_optionalChain([h, 'optionalAccess',
|
|
24522
|
+
_optionalChain([h, 'optionalAccess', _508 => _508.pause, 'call', _509 => _509()]);
|
|
24550
24523
|
} catch (e30) {
|
|
24551
24524
|
}
|
|
24552
24525
|
}, [footerHidden, resumeMode, hovered]);
|
|
@@ -24565,30 +24538,30 @@ function WalkthroughVideo({
|
|
|
24565
24538
|
}, 400);
|
|
24566
24539
|
}
|
|
24567
24540
|
if (openProp === void 0) setOpenState(next);
|
|
24568
|
-
_optionalChain([onOpenChange, 'optionalCall',
|
|
24541
|
+
_optionalChain([onOpenChange, 'optionalCall', _510 => _510(next)]);
|
|
24569
24542
|
},
|
|
24570
24543
|
[openProp, onOpenChange]
|
|
24571
24544
|
);
|
|
24572
24545
|
const pausePreviewNow = _react.useCallback.call(void 0, () => {
|
|
24573
24546
|
const h = _nullishCoalesce(resumeHandleRef.current, () => ( previewHandleRef.current));
|
|
24574
24547
|
try {
|
|
24575
|
-
_optionalChain([h, 'optionalAccess',
|
|
24548
|
+
_optionalChain([h, 'optionalAccess', _511 => _511.pause, 'call', _512 => _512()]);
|
|
24576
24549
|
} catch (e31) {
|
|
24577
24550
|
}
|
|
24578
24551
|
setCardPaused(true);
|
|
24579
24552
|
}, [setCardPaused]);
|
|
24580
24553
|
const openTheater = _react.useCallback.call(void 0, () => {
|
|
24581
24554
|
const handleBeforePause = _nullishCoalesce(resumeHandleRef.current, () => ( previewHandleRef.current));
|
|
24582
|
-
const liveWasPlaying = _optionalChain([handleBeforePause, 'optionalAccess',
|
|
24555
|
+
const liveWasPlaying = _optionalChain([handleBeforePause, 'optionalAccess', _513 => _513.getPaused, 'call', _514 => _514()]) === false;
|
|
24583
24556
|
pausePreviewNow();
|
|
24584
24557
|
const liveHandle = _nullishCoalesce(resumeHandleRef.current, () => ( (cardModeRef.current === "preview" ? previewHandleRef.current : null)));
|
|
24585
|
-
const liveTime = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess',
|
|
24586
|
-
const liveDuration = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess',
|
|
24558
|
+
const liveTime = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess', _515 => _515.getCurrentTime, 'call', _516 => _516()]), () => ( 0));
|
|
24559
|
+
const liveDuration = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess', _517 => _517.getDuration, 'call', _518 => _518()]), () => ( 0));
|
|
24587
24560
|
const liveAtEnd = isAtEnd(liveDuration, liveTime);
|
|
24588
24561
|
const start = {
|
|
24589
24562
|
// At end -> start over. Falling back to `handoff.time` here would rewind
|
|
24590
24563
|
// to an unrelated older anchor (e.g. 3:20) instead of restarting.
|
|
24591
|
-
time: liveAtEnd ? 0 : liveTime > 0.5 ? liveTime : _nullishCoalesce(_optionalChain([handoff, 'optionalAccess',
|
|
24564
|
+
time: liveAtEnd ? 0 : liveTime > 0.5 ? liveTime : _nullishCoalesce(_optionalChain([handoff, 'optionalAccess', _519 => _519.time]), () => ( 0)),
|
|
24592
24565
|
// Live element wins over remembered intent (the theater's own chrome may
|
|
24593
24566
|
// have changed it) — EXCEPT when the element is muted only because
|
|
24594
24567
|
// autoplay policy forced it, which is not intent.
|
|
@@ -24616,7 +24589,7 @@ function WalkthroughVideo({
|
|
|
24616
24589
|
const selfDriven = selfDrivenFor === open;
|
|
24617
24590
|
if (openProp !== void 0 && !selfDriven) {
|
|
24618
24591
|
if (open) {
|
|
24619
|
-
setTheaterStart(theaterSeedFromLive(resumeHandleRef.current, _nullishCoalesce(_optionalChain([handoff, 'optionalAccess',
|
|
24592
|
+
setTheaterStart(theaterSeedFromLive(resumeHandleRef.current, _nullishCoalesce(_optionalChain([handoff, 'optionalAccess', _520 => _520.time]), () => ( 0)), userMuted));
|
|
24620
24593
|
setHovered(false);
|
|
24621
24594
|
setSuspended(false);
|
|
24622
24595
|
setHandoff(null);
|
|
@@ -24702,8 +24675,8 @@ function WalkthroughVideo({
|
|
|
24702
24675
|
});
|
|
24703
24676
|
_react.useEffect.call(void 0, () => {
|
|
24704
24677
|
if (resumeMode) {
|
|
24705
|
-
setCardMuted(_nullishCoalesce(_optionalChain([handoffRef, 'access',
|
|
24706
|
-
setCardPaused(_optionalChain([handoffRef, 'access',
|
|
24678
|
+
setCardMuted(_nullishCoalesce(_optionalChain([handoffRef, 'access', _521 => _521.current, 'optionalAccess', _522 => _522.muted]), () => ( false)));
|
|
24679
|
+
setCardPaused(_optionalChain([handoffRef, 'access', _523 => _523.current, 'optionalAccess', _524 => _524.playing]) === false);
|
|
24707
24680
|
}
|
|
24708
24681
|
}, [resumeMode]);
|
|
24709
24682
|
const [hoverSeeded, setHoverSeeded] = _react.useState.call(void 0, hovered);
|
|
@@ -24785,11 +24758,11 @@ function WalkthroughVideo({
|
|
|
24785
24758
|
},
|
|
24786
24759
|
[cardFallback.blocked, cardPaused, activeHandle, setCardPaused]
|
|
24787
24760
|
);
|
|
24788
|
-
const summaryTitle = _optionalChain([video, 'optionalAccess',
|
|
24789
|
-
const presenterAvatarSrc = _nullishCoalesce(_optionalChain([video, 'optionalAccess',
|
|
24761
|
+
const summaryTitle = _optionalChain([video, 'optionalAccess', _525 => _525.title]) || void 0;
|
|
24762
|
+
const presenterAvatarSrc = _nullishCoalesce(_optionalChain([video, 'optionalAccess', _526 => _526.presenterAvatarUrl]), () => ( null));
|
|
24790
24763
|
const embedUrlKey = _react.useMemo.call(void 0,
|
|
24791
|
-
() => `${_nullishCoalesce(_optionalChain([video, 'optionalAccess',
|
|
24792
|
-
[_optionalChain([video, 'optionalAccess',
|
|
24764
|
+
() => `${_nullishCoalesce(_optionalChain([video, 'optionalAccess', _527 => _527.mainVideoUrl]), () => ( ""))}|${_nullishCoalesce(_optionalChain([video, 'optionalAccess', _528 => _528.youtubeUrl]), () => ( ""))}`,
|
|
24765
|
+
[_optionalChain([video, 'optionalAccess', _529 => _529.mainVideoUrl]), _optionalChain([video, 'optionalAccess', _530 => _530.youtubeUrl])]
|
|
24793
24766
|
);
|
|
24794
24767
|
const cardActive = !open && previewAllowed && hovered && !resumeMode;
|
|
24795
24768
|
const cardMode = resumeMode ? "resume" : cardActive ? "preview" : "poster";
|
|
@@ -24848,7 +24821,7 @@ function WalkthroughVideo({
|
|
|
24848
24821
|
const el = e.target;
|
|
24849
24822
|
let keyboard = false;
|
|
24850
24823
|
try {
|
|
24851
|
-
keyboard = _nullishCoalesce(_optionalChain([el, 'access',
|
|
24824
|
+
keyboard = _nullishCoalesce(_optionalChain([el, 'access', _531 => _531.matches, 'optionalCall', _532 => _532(":focus-visible")]), () => ( false));
|
|
24852
24825
|
} catch (e36) {
|
|
24853
24826
|
keyboard = false;
|
|
24854
24827
|
}
|
|
@@ -24882,9 +24855,9 @@ function WalkthroughVideo({
|
|
|
24882
24855
|
previewHandleRef: cardMode === "resume" ? resumeHandleRef : previewHandleRef,
|
|
24883
24856
|
mutedIntent: userMuted,
|
|
24884
24857
|
continuation: cardMode === "resume",
|
|
24885
|
-
autoPlay: cardMode === "resume" && _optionalChain([handoff, 'optionalAccess',
|
|
24886
|
-
startTime: _optionalChain([resumeHandoff, 'optionalAccess',
|
|
24887
|
-
startMuted: _nullishCoalesce(_optionalChain([resumeHandoff, 'optionalAccess',
|
|
24858
|
+
autoPlay: cardMode === "resume" && _optionalChain([handoff, 'optionalAccess', _533 => _533.playing]) !== false && !footerHidden,
|
|
24859
|
+
startTime: _optionalChain([resumeHandoff, 'optionalAccess', _534 => _534.time]),
|
|
24860
|
+
startMuted: _nullishCoalesce(_optionalChain([resumeHandoff, 'optionalAccess', _535 => _535.muted]), () => ( false)),
|
|
24888
24861
|
onEnded: cardMode === "resume" ? () => setHandoff(null) : () => setCardPaused(true)
|
|
24889
24862
|
},
|
|
24890
24863
|
`card-${embedUrlKey}`
|
|
@@ -24981,7 +24954,7 @@ function WalkthroughVideo({
|
|
|
24981
24954
|
{
|
|
24982
24955
|
onOpenAutoFocus: (e) => {
|
|
24983
24956
|
e.preventDefault();
|
|
24984
|
-
_optionalChain([closeButtonRef, 'access',
|
|
24957
|
+
_optionalChain([closeButtonRef, 'access', _536 => _536.current, 'optionalAccess', _537 => _537.focus, 'call', _538 => _538()]);
|
|
24985
24958
|
},
|
|
24986
24959
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
24987
24960
|
// PURE theater: just the video, centered on a dimmed backdrop.
|
|
@@ -25075,14 +25048,14 @@ function useWalkthroughVideo(opts) {
|
|
|
25075
25048
|
if (res.status === 404) return null;
|
|
25076
25049
|
if (!res.ok) throw new Error(`Walkthrough video request failed (${res.status})`);
|
|
25077
25050
|
const body = await res.json();
|
|
25078
|
-
return _nullishCoalesce(_optionalChain([body, 'optionalAccess',
|
|
25051
|
+
return _nullishCoalesce(_optionalChain([body, 'optionalAccess', _539 => _539.walkthroughVideo]), () => ( null));
|
|
25079
25052
|
},
|
|
25080
25053
|
// Per-observer transform — NEVER mutate the cached data. `select` also runs
|
|
25081
25054
|
// over `initialData`, so the SSR seed is rewritten too. Keeping the proxy
|
|
25082
25055
|
// rewrite here (not in queryFn) means a second consumer of the same
|
|
25083
25056
|
// endpoint can't inherit this observer's proxied captionsUrl from the cache.
|
|
25084
25057
|
select: (video) => {
|
|
25085
|
-
if (!_optionalChain([video, 'optionalAccess',
|
|
25058
|
+
if (!_optionalChain([video, 'optionalAccess', _540 => _540.captionsUrl])) return video;
|
|
25086
25059
|
if (transformCaptionsUrl && video.captionsUrl.startsWith("/")) {
|
|
25087
25060
|
return { ...video, captionsUrl: transformCaptionsUrl(video.captionsUrl) };
|
|
25088
25061
|
}
|
|
@@ -25129,7 +25102,7 @@ function VideoSourceSelector({
|
|
|
25129
25102
|
input.accept = "video/*";
|
|
25130
25103
|
input.onchange = async (e) => {
|
|
25131
25104
|
const target = e.target;
|
|
25132
|
-
const file = _optionalChain([target, 'access',
|
|
25105
|
+
const file = _optionalChain([target, 'access', _541 => _541.files, 'optionalAccess', _542 => _542[0]]);
|
|
25133
25106
|
if (!file) return;
|
|
25134
25107
|
setIsUploading(true);
|
|
25135
25108
|
setUploadProgress(0);
|
|
@@ -25305,7 +25278,7 @@ function SubtitlesEditor({
|
|
|
25305
25278
|
{
|
|
25306
25279
|
id,
|
|
25307
25280
|
value: subtitles || "",
|
|
25308
|
-
onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall',
|
|
25281
|
+
onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall', _543 => _543(e.target.value)]),
|
|
25309
25282
|
placeholder,
|
|
25310
25283
|
disabled: disabled || !onSubtitlesChange,
|
|
25311
25284
|
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",
|
|
@@ -25534,7 +25507,7 @@ var AIEnrichSection = ({
|
|
|
25534
25507
|
}) => {
|
|
25535
25508
|
const hasResults = status === "success" || status === "error";
|
|
25536
25509
|
const shouldDisable = disabled || !canEnrich;
|
|
25537
|
-
const unfilledFields = _optionalChain([requiredFields, 'optionalAccess',
|
|
25510
|
+
const unfilledFields = _optionalChain([requiredFields, 'optionalAccess', _544 => _544.filter, 'call', _545 => _545((f) => !f.isFilled)]) || [];
|
|
25538
25511
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25539
25512
|
"div",
|
|
25540
25513
|
{
|
|
@@ -25566,7 +25539,7 @@ var AIEnrichSection = ({
|
|
|
25566
25539
|
{
|
|
25567
25540
|
id: "ai-enrich-custom-instructions",
|
|
25568
25541
|
value: _nullishCoalesce(customInstructions, () => ( "")),
|
|
25569
|
-
onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall',
|
|
25542
|
+
onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall', _546 => _546(e.target.value)]),
|
|
25570
25543
|
placeholder: customInstructionsPlaceholder,
|
|
25571
25544
|
disabled: loading,
|
|
25572
25545
|
maxLength: customInstructionsMaxLength,
|
|
@@ -25688,7 +25661,7 @@ function HighlightVideoSection({
|
|
|
25688
25661
|
input.accept = "video/*";
|
|
25689
25662
|
input.onchange = async (e) => {
|
|
25690
25663
|
const target = e.target;
|
|
25691
|
-
const file = _optionalChain([target, 'access',
|
|
25664
|
+
const file = _optionalChain([target, 'access', _547 => _547.files, 'optionalAccess', _548 => _548[0]]);
|
|
25692
25665
|
if (!file) return;
|
|
25693
25666
|
setUploadError(null);
|
|
25694
25667
|
try {
|
|
@@ -26115,7 +26088,7 @@ function HighlightVideoPreview({
|
|
|
26115
26088
|
input.accept = "video/*";
|
|
26116
26089
|
input.onchange = async (e) => {
|
|
26117
26090
|
const target = e.target;
|
|
26118
|
-
const file = _optionalChain([target, 'access',
|
|
26091
|
+
const file = _optionalChain([target, 'access', _549 => _549.files, 'optionalAccess', _550 => _550[0]]);
|
|
26119
26092
|
if (!file) return;
|
|
26120
26093
|
await onUpload(file);
|
|
26121
26094
|
};
|
|
@@ -26299,7 +26272,7 @@ function HighlightVideoCombinedSection({
|
|
|
26299
26272
|
input.accept = "video/*";
|
|
26300
26273
|
input.onchange = async (e) => {
|
|
26301
26274
|
const target = e.target;
|
|
26302
|
-
const file = _optionalChain([target, 'access',
|
|
26275
|
+
const file = _optionalChain([target, 'access', _551 => _551.files, 'optionalAccess', _552 => _552[0]]);
|
|
26303
26276
|
if (!file) return;
|
|
26304
26277
|
await onUpload(file);
|
|
26305
26278
|
};
|
|
@@ -26978,19 +26951,19 @@ function NotificationsProvider({
|
|
|
26978
26951
|
}, []);
|
|
26979
26952
|
const markRead = _react.useCallback.call(void 0, (id) => {
|
|
26980
26953
|
dispatch({ type: "markRead", id });
|
|
26981
|
-
void _optionalChain([actionsRef, 'access',
|
|
26954
|
+
void _optionalChain([actionsRef, 'access', _553 => _553.current, 'optionalAccess', _554 => _554.onMarkRead, 'optionalCall', _555 => _555(id)]);
|
|
26982
26955
|
}, []);
|
|
26983
26956
|
const markAllRead = _react.useCallback.call(void 0, () => {
|
|
26984
26957
|
dispatch({ type: "markAllRead" });
|
|
26985
|
-
void _optionalChain([actionsRef, 'access',
|
|
26958
|
+
void _optionalChain([actionsRef, 'access', _556 => _556.current, 'optionalAccess', _557 => _557.onMarkAllRead, 'optionalCall', _558 => _558()]);
|
|
26986
26959
|
}, []);
|
|
26987
26960
|
const markSettled = _react.useCallback.call(void 0, (id) => {
|
|
26988
26961
|
dispatch({ type: "markSettled", id });
|
|
26989
|
-
void _optionalChain([actionsRef, 'access',
|
|
26962
|
+
void _optionalChain([actionsRef, 'access', _559 => _559.current, 'optionalAccess', _560 => _560.onMarkSettled, 'optionalCall', _561 => _561(id)]);
|
|
26990
26963
|
}, []);
|
|
26991
26964
|
const remove = _react.useCallback.call(void 0, (id) => {
|
|
26992
26965
|
dispatch({ type: "remove", id });
|
|
26993
|
-
void _optionalChain([actionsRef, 'access',
|
|
26966
|
+
void _optionalChain([actionsRef, 'access', _562 => _562.current, 'optionalAccess', _563 => _563.onRemove, 'optionalCall', _564 => _564(id)]);
|
|
26994
26967
|
}, []);
|
|
26995
26968
|
const clear = _react.useCallback.call(void 0, () => dispatch({ type: "clear" }), []);
|
|
26996
26969
|
const open = _react.useCallback.call(void 0, () => setIsOpen(true), []);
|
|
@@ -26999,14 +26972,14 @@ function NotificationsProvider({
|
|
|
26999
26972
|
const setShowPopups = _react.useCallback.call(void 0,
|
|
27000
26973
|
(value2) => {
|
|
27001
26974
|
setShowPopupsState(value2);
|
|
27002
|
-
_optionalChain([onShowPopupsChange, 'optionalCall',
|
|
26975
|
+
_optionalChain([onShowPopupsChange, 'optionalCall', _565 => _565(value2)]);
|
|
27003
26976
|
},
|
|
27004
26977
|
[onShowPopupsChange]
|
|
27005
26978
|
);
|
|
27006
26979
|
const setShowDesktopPopups = _react.useCallback.call(void 0,
|
|
27007
26980
|
(value2) => {
|
|
27008
26981
|
setShowDesktopPopupsState(value2);
|
|
27009
|
-
_optionalChain([onShowDesktopPopupsChange, 'optionalCall',
|
|
26982
|
+
_optionalChain([onShowDesktopPopupsChange, 'optionalCall', _566 => _566(value2)]);
|
|
27010
26983
|
},
|
|
27011
26984
|
[onShowDesktopPopupsChange]
|
|
27012
26985
|
);
|
|
@@ -27122,7 +27095,7 @@ var AppLayoutDrawerRoot = ({
|
|
|
27122
27095
|
const handleOpenChange = _react.useCallback.call(void 0,
|
|
27123
27096
|
(next) => {
|
|
27124
27097
|
if (!isControlled) setInternalOpen(next);
|
|
27125
|
-
_optionalChain([onOpenChange, 'optionalCall',
|
|
27098
|
+
_optionalChain([onOpenChange, 'optionalCall', _567 => _567(next)]);
|
|
27126
27099
|
},
|
|
27127
27100
|
[isControlled, onOpenChange]
|
|
27128
27101
|
);
|
|
@@ -27139,9 +27112,9 @@ var AppLayoutDrawerRoot = ({
|
|
|
27139
27112
|
}
|
|
27140
27113
|
}));
|
|
27141
27114
|
_react.useEffect.call(void 0, () => {
|
|
27142
|
-
if (open) _optionalChain([coordination, 'optionalAccess',
|
|
27115
|
+
if (open) _optionalChain([coordination, 'optionalAccess', _568 => _568.notifyDrawerDidOpen, 'call', _569 => _569(selfHandle)]);
|
|
27143
27116
|
}, [open, coordination, selfHandle]);
|
|
27144
|
-
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess',
|
|
27117
|
+
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess', _570 => _570.registerDrawer, 'call', _571 => _571(selfHandle)]), [coordination, selfHandle]);
|
|
27145
27118
|
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 }) });
|
|
27146
27119
|
};
|
|
27147
27120
|
AppLayoutDrawerRoot.displayName = "AppLayoutDrawer";
|
|
@@ -27490,10 +27463,10 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
27490
27463
|
),
|
|
27491
27464
|
style,
|
|
27492
27465
|
onInteractOutside: (event) => {
|
|
27493
|
-
_optionalChain([onInteractOutside, 'optionalCall',
|
|
27466
|
+
_optionalChain([onInteractOutside, 'optionalCall', _572 => _572(event)]);
|
|
27494
27467
|
if (event.defaultPrevented) return;
|
|
27495
27468
|
const target = event.target;
|
|
27496
|
-
const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess',
|
|
27469
|
+
const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess', _573 => _573.contains, 'call', _574 => _574(target)]);
|
|
27497
27470
|
if (!isInsideContainer) {
|
|
27498
27471
|
event.preventDefault();
|
|
27499
27472
|
return;
|
|
@@ -27596,7 +27569,7 @@ function NotificationTile({
|
|
|
27596
27569
|
if (!counting) return void 0;
|
|
27597
27570
|
const remaining = Math.max(0, liveDurationMs - initialElapsed);
|
|
27598
27571
|
const timer = window.setTimeout(() => {
|
|
27599
|
-
_optionalChain([onSettle, 'optionalCall',
|
|
27572
|
+
_optionalChain([onSettle, 'optionalCall', _575 => _575(id)]);
|
|
27600
27573
|
}, remaining);
|
|
27601
27574
|
return () => window.clearTimeout(timer);
|
|
27602
27575
|
}, [id, counting, initialElapsed, liveDurationMs, onSettle]);
|
|
@@ -27636,7 +27609,7 @@ function NotificationTile({
|
|
|
27636
27609
|
active: isLive,
|
|
27637
27610
|
label: "Dismiss notification",
|
|
27638
27611
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.XmarkIcon, { size: 16 }),
|
|
27639
|
-
onClick: () => _optionalChain([onSettle, 'optionalCall',
|
|
27612
|
+
onClick: () => _optionalChain([onSettle, 'optionalCall', _576 => _576(id)])
|
|
27640
27613
|
},
|
|
27641
27614
|
{
|
|
27642
27615
|
active: !isLive,
|
|
@@ -27824,7 +27797,7 @@ function DrawerScrollList({
|
|
|
27824
27797
|
if (!sentinel || !root) return void 0;
|
|
27825
27798
|
const observer = new IntersectionObserver(
|
|
27826
27799
|
(entries) => {
|
|
27827
|
-
if (_optionalChain([entries, 'access',
|
|
27800
|
+
if (_optionalChain([entries, 'access', _577 => _577[0], 'optionalAccess', _578 => _578.isIntersecting])) _optionalChain([loadMoreRef, 'access', _579 => _579.current, 'optionalCall', _580 => _580()]);
|
|
27828
27801
|
},
|
|
27829
27802
|
{ root, rootMargin: loadMoreRootMargin }
|
|
27830
27803
|
);
|
|
@@ -27839,7 +27812,7 @@ function DrawerScrollList({
|
|
|
27839
27812
|
className: "flex flex-1 flex-col gap-[var(--spacing-system-xs)] overflow-y-auto px-[var(--spacing-system-m)]",
|
|
27840
27813
|
children: isEmpty && !isLoadingMore ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmptyState, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
27841
27814
|
unreadNotifications.map((n) => {
|
|
27842
|
-
const custom = _optionalChain([renderTile, 'optionalCall',
|
|
27815
|
+
const custom = _optionalChain([renderTile, 'optionalCall', _581 => _581(n, { onComplete, onSettle, liveDurationMs })]);
|
|
27843
27816
|
if (custom) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: custom }, n.id);
|
|
27844
27817
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27845
27818
|
NotificationTile,
|
|
@@ -27959,7 +27932,7 @@ function NotificationPopups({
|
|
|
27959
27932
|
}) {
|
|
27960
27933
|
const ctx = useOptionalNotifications();
|
|
27961
27934
|
const [now, setNow] = _react.useState.call(void 0, () => Date.now());
|
|
27962
|
-
const hasAgeingNotifications = Boolean(_optionalChain([ctx, 'optionalAccess',
|
|
27935
|
+
const hasAgeingNotifications = Boolean(_optionalChain([ctx, 'optionalAccess', _582 => _582.notifications, 'access', _583 => _583.some, 'call', _584 => _584((n) => !n.read && !n.settled)]));
|
|
27963
27936
|
_react.useEffect.call(void 0, () => {
|
|
27964
27937
|
if (!hasAgeingNotifications) return void 0;
|
|
27965
27938
|
const id = setInterval(() => setNow(Date.now()), 500);
|
|
@@ -28002,7 +27975,7 @@ function NotificationPopups({
|
|
|
28002
27975
|
className
|
|
28003
27976
|
),
|
|
28004
27977
|
children: live.map((n) => {
|
|
28005
|
-
const custom = _optionalChain([renderTile, 'optionalCall',
|
|
27978
|
+
const custom = _optionalChain([renderTile, 'optionalCall', _585 => _585(n, { onComplete: markRead, onSettle: markSettled, liveDurationMs })]);
|
|
28006
27979
|
if (custom) {
|
|
28007
27980
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-auto", children: custom }, n.id);
|
|
28008
27981
|
}
|
|
@@ -28041,21 +28014,21 @@ function NotificationPopups({
|
|
|
28041
28014
|
// src/components/features/notifications/types.ts
|
|
28042
28015
|
var ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = "ADMIN_APPROVAL_REQUEST";
|
|
28043
28016
|
function isApprovalNotification(notification) {
|
|
28044
|
-
return _optionalChain([notification, 'access',
|
|
28017
|
+
return _optionalChain([notification, 'access', _586 => _586.meta, 'optionalAccess', _587 => _587.contextType]) === ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE;
|
|
28045
28018
|
}
|
|
28046
28019
|
function getApprovalMeta(notification) {
|
|
28047
28020
|
if (!isApprovalNotification(notification)) return null;
|
|
28048
28021
|
const meta = notification.meta;
|
|
28049
|
-
const approvalRequestId = _optionalChain([meta, 'optionalAccess',
|
|
28050
|
-
const toolCalls = _optionalChain([meta, 'optionalAccess',
|
|
28022
|
+
const approvalRequestId = _optionalChain([meta, 'optionalAccess', _588 => _588.approvalRequestId]);
|
|
28023
|
+
const toolCalls = _optionalChain([meta, 'optionalAccess', _589 => _589.toolCalls]);
|
|
28051
28024
|
if (typeof approvalRequestId !== "string" || !Array.isArray(toolCalls)) return null;
|
|
28052
28025
|
return {
|
|
28053
28026
|
approvalRequestId,
|
|
28054
|
-
dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
28055
|
-
ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
28056
|
-
approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
28057
|
-
resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
28058
|
-
resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
28027
|
+
dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _590 => _590.dialogId]), () => ( null)),
|
|
28028
|
+
ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _591 => _591.ticketId]), () => ( null)),
|
|
28029
|
+
approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _592 => _592.approvalType]), () => ( null)),
|
|
28030
|
+
resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _593 => _593.resolution]), () => ( null)),
|
|
28031
|
+
resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _594 => _594.resolvedByName]), () => ( null)),
|
|
28059
28032
|
toolCalls
|
|
28060
28033
|
};
|
|
28061
28034
|
}
|
|
@@ -28105,7 +28078,7 @@ function ApprovalRequestNotificationTile({
|
|
|
28105
28078
|
const [processing, setProcessing] = _react.useState.call(void 0, false);
|
|
28106
28079
|
const [localStatus, setLocalStatus] = _react.useState.call(void 0, null);
|
|
28107
28080
|
const approval = getApprovalMeta(notification);
|
|
28108
|
-
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess',
|
|
28081
|
+
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _595 => _595.resolution]));
|
|
28109
28082
|
const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
|
|
28110
28083
|
const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
|
|
28111
28084
|
const { innerRef, containerStyle } = _chunkUNI3POHUcjs.useCollapsible.call(void 0, { expanded });
|
|
@@ -28432,7 +28405,7 @@ function TimeTrackerPanel({
|
|
|
28432
28405
|
error: showFieldError ? "Required if no notes added" : void 0,
|
|
28433
28406
|
disableClientFilter: !!onTicketSearch,
|
|
28434
28407
|
onInputChange: (value, reason) => {
|
|
28435
|
-
if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall',
|
|
28408
|
+
if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall', _596 => _596(value)]);
|
|
28436
28409
|
}
|
|
28437
28410
|
}
|
|
28438
28411
|
),
|
|
@@ -28447,7 +28420,7 @@ function TimeTrackerPanel({
|
|
|
28447
28420
|
disabled: customerLocked,
|
|
28448
28421
|
disableClientFilter: !!onCustomerSearch,
|
|
28449
28422
|
onInputChange: (value, reason) => {
|
|
28450
|
-
if (reason === "input") _optionalChain([onCustomerSearch, 'optionalCall',
|
|
28423
|
+
if (reason === "input") _optionalChain([onCustomerSearch, 'optionalCall', _597 => _597(value)]);
|
|
28451
28424
|
},
|
|
28452
28425
|
startAdornment: customerStartAdornment,
|
|
28453
28426
|
renderOption: renderCustomerOption
|
|
@@ -28549,7 +28522,7 @@ function LastEntryRow({ entry, onClick }) {
|
|
|
28549
28522
|
{
|
|
28550
28523
|
variant: "outline",
|
|
28551
28524
|
size: "icon",
|
|
28552
|
-
onClick: () => _optionalChain([onClick, 'optionalCall',
|
|
28525
|
+
onClick: () => _optionalChain([onClick, 'optionalCall', _598 => _598(entry)]),
|
|
28553
28526
|
disabled: !onClick,
|
|
28554
28527
|
"aria-label": `Open entry: ${entry.title}`,
|
|
28555
28528
|
className: "h-12 w-12 shrink-0 [&_svg]:!size-6",
|
|
@@ -28633,28 +28606,28 @@ function HeaderButton({
|
|
|
28633
28606
|
function TimeTrackerHeaderButton({ className, disabled }) {
|
|
28634
28607
|
const ctx = useOptionalTimeTracker();
|
|
28635
28608
|
const elapsedLabel = useTrackerClock({
|
|
28636
|
-
status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess',
|
|
28637
|
-
runningSince: _optionalChain([ctx, 'optionalAccess',
|
|
28638
|
-
accumulatedMs: _optionalChain([ctx, 'optionalAccess',
|
|
28609
|
+
status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _599 => _599.status]), () => ( "ready")),
|
|
28610
|
+
runningSince: _optionalChain([ctx, 'optionalAccess', _600 => _600.runningSince]),
|
|
28611
|
+
accumulatedMs: _optionalChain([ctx, 'optionalAccess', _601 => _601.accumulatedMs])
|
|
28639
28612
|
});
|
|
28640
28613
|
const layoutContainer = useAppLayoutDrawerContainer();
|
|
28641
28614
|
const coordination = useAppLayoutDrawerCoordination();
|
|
28642
|
-
const isOpen = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess',
|
|
28615
|
+
const isOpen = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _602 => _602.isOpen]), () => ( false));
|
|
28643
28616
|
const isOpenRef = _react.useRef.call(void 0, isOpen);
|
|
28644
|
-
const closeRef = _react.useRef.call(void 0, _optionalChain([ctx, 'optionalAccess',
|
|
28617
|
+
const closeRef = _react.useRef.call(void 0, _optionalChain([ctx, 'optionalAccess', _603 => _603.close]));
|
|
28645
28618
|
_react.useEffect.call(void 0, () => {
|
|
28646
28619
|
isOpenRef.current = isOpen;
|
|
28647
|
-
closeRef.current = _optionalChain([ctx, 'optionalAccess',
|
|
28620
|
+
closeRef.current = _optionalChain([ctx, 'optionalAccess', _604 => _604.close]);
|
|
28648
28621
|
});
|
|
28649
28622
|
const [selfHandle] = _react.useState.call(void 0, () => ({
|
|
28650
28623
|
close: () => {
|
|
28651
|
-
if (isOpenRef.current) _optionalChain([closeRef, 'access',
|
|
28624
|
+
if (isOpenRef.current) _optionalChain([closeRef, 'access', _605 => _605.current, 'optionalCall', _606 => _606()]);
|
|
28652
28625
|
}
|
|
28653
28626
|
}));
|
|
28654
28627
|
_react.useEffect.call(void 0, () => {
|
|
28655
|
-
if (isOpen) _optionalChain([coordination, 'optionalAccess',
|
|
28628
|
+
if (isOpen) _optionalChain([coordination, 'optionalAccess', _607 => _607.notifyDrawerDidOpen, 'call', _608 => _608(selfHandle)]);
|
|
28656
28629
|
}, [isOpen, coordination, selfHandle]);
|
|
28657
|
-
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess',
|
|
28630
|
+
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess', _609 => _609.registerDrawer, 'call', _610 => _610(selfHandle)]), [coordination, selfHandle]);
|
|
28658
28631
|
if (!ctx) return null;
|
|
28659
28632
|
const { open, close, status } = ctx;
|
|
28660
28633
|
const isPaused = status === "paused";
|
|
@@ -28786,7 +28759,7 @@ function autoScrollAncestors(element) {
|
|
|
28786
28759
|
|
|
28787
28760
|
// src/components/features/board/aim.ts
|
|
28788
28761
|
var _closestedge = require('@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge');
|
|
28789
|
-
var othersIn = (columns, columnId, ticketId) => (_nullishCoalesce(_optionalChain([columns, 'access',
|
|
28762
|
+
var othersIn = (columns, columnId, ticketId) => (_nullishCoalesce(_optionalChain([columns, 'access', _611 => _611.find, 'call', _612 => _612((c) => c.id === columnId), 'optionalAccess', _613 => _613.tickets]), () => ( []))).filter((t) => t.id !== ticketId);
|
|
28790
28763
|
function laneOf(columns, ticketId) {
|
|
28791
28764
|
return _nullishCoalesce(columns.find((c) => c.tickets.some((t) => t.id === ticketId)), () => ( null));
|
|
28792
28765
|
}
|
|
@@ -28830,11 +28803,11 @@ function aimToChange(columns, ticketId, aim) {
|
|
|
28830
28803
|
const lane = laneOf(columns, ticketId);
|
|
28831
28804
|
if (!lane) return null;
|
|
28832
28805
|
const others = othersIn(columns, aim.columnId, ticketId);
|
|
28833
|
-
const afterTicketId = _nullishCoalesce(_optionalChain([others, 'access',
|
|
28834
|
-
const beforeTicketId = _nullishCoalesce(_optionalChain([others, 'access',
|
|
28806
|
+
const afterTicketId = _nullishCoalesce(_optionalChain([others, 'access', _614 => _614[aim.index - 1], 'optionalAccess', _615 => _615.id]), () => ( null));
|
|
28807
|
+
const beforeTicketId = _nullishCoalesce(_optionalChain([others, 'access', _616 => _616[aim.index], 'optionalAccess', _617 => _617.id]), () => ( null));
|
|
28835
28808
|
if (lane.id === aim.columnId) {
|
|
28836
28809
|
const currentIndex = lane.tickets.findIndex((t) => t.id === ticketId);
|
|
28837
|
-
if ((_nullishCoalesce(_optionalChain([lane, 'access',
|
|
28810
|
+
if ((_nullishCoalesce(_optionalChain([lane, 'access', _618 => _618.tickets, 'access', _619 => _619[currentIndex - 1], 'optionalAccess', _620 => _620.id]), () => ( null))) === afterTicketId) return null;
|
|
28838
28811
|
}
|
|
28839
28812
|
return { ticketId, fromColumnId: lane.id, toColumnId: aim.columnId, afterTicketId, beforeTicketId };
|
|
28840
28813
|
}
|
|
@@ -29105,14 +29078,14 @@ function useIsLanding(ticketId) {
|
|
|
29105
29078
|
return _react.useContext.call(void 0, LandingCardContext) === ticketId;
|
|
29106
29079
|
}
|
|
29107
29080
|
function hasMoveSettled(columns, move) {
|
|
29108
|
-
const tickets = _optionalChain([columns, 'access',
|
|
29081
|
+
const tickets = _optionalChain([columns, 'access', _621 => _621.find, 'call', _622 => _622((c) => c.id === move.toColumnId), 'optionalAccess', _623 => _623.tickets]);
|
|
29109
29082
|
if (!tickets) return false;
|
|
29110
29083
|
const index = tickets.findIndex((t) => t.id === move.ticketId);
|
|
29111
29084
|
if (index < 0) return false;
|
|
29112
29085
|
if (move.fromColumnId === move.toColumnId) {
|
|
29113
|
-
return (_nullishCoalesce(_optionalChain([tickets, 'access',
|
|
29086
|
+
return (_nullishCoalesce(_optionalChain([tickets, 'access', _624 => _624[index - 1], 'optionalAccess', _625 => _625.id]), () => ( null))) === move.afterTicketId;
|
|
29114
29087
|
}
|
|
29115
|
-
return !_optionalChain([columns, 'access',
|
|
29088
|
+
return !_optionalChain([columns, 'access', _626 => _626.find, 'call', _627 => _627((c) => c.id === move.fromColumnId), 'optionalAccess', _628 => _628.tickets, 'access', _629 => _629.some, 'call', _630 => _630((t) => t.id === move.ticketId)]);
|
|
29116
29089
|
}
|
|
29117
29090
|
|
|
29118
29091
|
// src/components/features/board/ticket-card.tsx
|
|
@@ -29137,9 +29110,9 @@ var TICKET_CARD_SHELL = "relative flex flex-col gap-[var(--spacing-system-sf)] r
|
|
|
29137
29110
|
function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onReject }) {
|
|
29138
29111
|
const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
|
|
29139
29112
|
const newMessageTextColor = columnColor ? _chunkUNI3POHUcjs.getReadableTextColor.call(void 0, columnColor) : void 0;
|
|
29140
|
-
const showDeviceRow = !!(_optionalChain([ticket, 'access',
|
|
29141
|
-
const deviceText = [_optionalChain([ticket, 'access',
|
|
29142
|
-
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access',
|
|
29113
|
+
const showDeviceRow = !!(_optionalChain([ticket, 'access', _631 => _631.deviceHostnames, 'optionalAccess', _632 => _632.length]) || ticket.organizationName);
|
|
29114
|
+
const deviceText = [_optionalChain([ticket, 'access', _633 => _633.deviceHostnames, 'optionalAccess', _634 => _634.join, 'call', _635 => _635(", ")]), ticket.organizationName].filter(Boolean).join(", ");
|
|
29115
|
+
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _636 => _636.assignees, 'optionalAccess', _637 => _637.length]) || renderAssignSlot);
|
|
29143
29116
|
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: [
|
|
29144
29117
|
ticket.priority && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29145
29118
|
_chunkGSQM4PDRcjs.Flag02Icon,
|
|
@@ -29148,7 +29121,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29148
29121
|
"aria-label": `Priority: ${ticket.priority}`
|
|
29149
29122
|
}
|
|
29150
29123
|
),
|
|
29151
|
-
renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access',
|
|
29124
|
+
renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _638 => _638.assignees, 'optionalAccess', _639 => _639.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
|
|
29152
29125
|
ticket.assignees.slice(0, MAX_VISIBLE_ASSIGNEES).map(
|
|
29153
29126
|
(a) => a.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29154
29127
|
DeletedUserAvatar,
|
|
@@ -29189,7 +29162,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
29189
29162
|
] }),
|
|
29190
29163
|
rightSection
|
|
29191
29164
|
] }),
|
|
29192
|
-
_optionalChain([ticket, 'access',
|
|
29165
|
+
_optionalChain([ticket, 'access', _640 => _640.tags, 'optionalAccess', _641 => _641.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
|
|
29193
29166
|
metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUNI3POHUcjs.Tooltip, { children: [
|
|
29194
29167
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "pointer-events-auto truncate text-ods-text-secondary text-h6", children: metaLabel }) }),
|
|
29195
29168
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUNI3POHUcjs.TooltipContent, { children: tooltipLabel })
|
|
@@ -29256,7 +29229,7 @@ var TicketCard = _react.memo.call(void 0, function TicketCardImpl({
|
|
|
29256
29229
|
const isLanding = useIsLanding(ticket.id);
|
|
29257
29230
|
const aim = useDropAim();
|
|
29258
29231
|
const closestEdge = aim && aim.columnId === columnId && aim.ticketId === ticket.id ? aim.edge : null;
|
|
29259
|
-
const isSource = isDragging || _optionalChain([aim, 'optionalAccess',
|
|
29232
|
+
const isSource = isDragging || _optionalChain([aim, 'optionalAccess', _642 => _642.ticket, 'access', _643 => _643.id]) === ticket.id;
|
|
29260
29233
|
const lift = useBoardLift();
|
|
29261
29234
|
const handleKeyDown = (e) => {
|
|
29262
29235
|
if (e.key !== " " || dragDisabled || !lift) return;
|
|
@@ -29509,7 +29482,7 @@ var BoardColumn = _react.memo.call(void 0, function BoardColumnImpl({
|
|
|
29509
29482
|
// large ones like the only thing that did.
|
|
29510
29483
|
getData: ({ input, element: lane, source }) => {
|
|
29511
29484
|
const nearest = nearestCardIn(lane, input.clientY, String(source.data.ticketId));
|
|
29512
|
-
const ticketId = _optionalChain([nearest, 'optionalAccess',
|
|
29485
|
+
const ticketId = _optionalChain([nearest, 'optionalAccess', _644 => _644.dataset, 'access', _645 => _645.ticketId]);
|
|
29513
29486
|
if (!nearest || !ticketId) return { type: "column", columnId: column.id };
|
|
29514
29487
|
return _closestedge.attachClosestEdge.call(void 0,
|
|
29515
29488
|
{ type: "ticket", ticketId, columnId: column.id },
|
|
@@ -29521,7 +29494,7 @@ var BoardColumn = _react.memo.call(void 0, function BoardColumnImpl({
|
|
|
29521
29494
|
onDrop: () => setIsOver(false)
|
|
29522
29495
|
});
|
|
29523
29496
|
}, [column.id, column.dropDisabled, column.allowedFromColumns, collapsed, touchMode]);
|
|
29524
|
-
const handleToggleCollapse = _react.useCallback.call(void 0, () => _optionalChain([onToggleCollapse, 'optionalCall',
|
|
29497
|
+
const handleToggleCollapse = _react.useCallback.call(void 0, () => _optionalChain([onToggleCollapse, 'optionalCall', _646 => _646(column.id)]), [onToggleCollapse, column.id]);
|
|
29525
29498
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
29526
29499
|
"div",
|
|
29527
29500
|
{
|
|
@@ -29600,7 +29573,7 @@ function ColumnBody({
|
|
|
29600
29573
|
const observer = new IntersectionObserver(
|
|
29601
29574
|
(entries) => {
|
|
29602
29575
|
if (entries.some((e) => e.isIntersecting)) {
|
|
29603
|
-
_optionalChain([loadMoreRef, 'access',
|
|
29576
|
+
_optionalChain([loadMoreRef, 'access', _647 => _647.current, 'optionalCall', _648 => _648(columnIdRef.current)]);
|
|
29604
29577
|
}
|
|
29605
29578
|
},
|
|
29606
29579
|
{ root, rootMargin: loadMoreRootMargin }
|
|
@@ -29625,7 +29598,7 @@ function ColumnBody({
|
|
|
29625
29598
|
ticket: t,
|
|
29626
29599
|
columnId: column.id,
|
|
29627
29600
|
columnColor: column.color,
|
|
29628
|
-
href: _optionalChain([getTicketHref, 'optionalCall',
|
|
29601
|
+
href: _optionalChain([getTicketHref, 'optionalCall', _649 => _649(t.id)]),
|
|
29629
29602
|
renderAssignSlot,
|
|
29630
29603
|
onApprove,
|
|
29631
29604
|
onReject,
|
|
@@ -29801,7 +29774,7 @@ function DragBoard({
|
|
|
29801
29774
|
const [landing, setLanding] = _react.useState.call(void 0, null);
|
|
29802
29775
|
const landingTimer = _react.useRef.call(void 0, null);
|
|
29803
29776
|
const pointRef = _react.useRef.call(void 0, { x: 0, y: 0 });
|
|
29804
|
-
const laneLabel = _react.useCallback.call(void 0, (columnId) => _nullishCoalesce(_optionalChain([view, 'access',
|
|
29777
|
+
const laneLabel = _react.useCallback.call(void 0, (columnId) => _nullishCoalesce(_optionalChain([view, 'access', _650 => _650.find, 'call', _651 => _651((c) => c.id === columnId), 'optionalAccess', _652 => _652.label]), () => ( columnId)), [view]);
|
|
29805
29778
|
const acceptsLifted = _react.useCallback.call(void 0,
|
|
29806
29779
|
(fromColumnId) => (column) => {
|
|
29807
29780
|
if (column.dropDisabled || collapsed[column.id]) return false;
|
|
@@ -29815,7 +29788,7 @@ function DragBoard({
|
|
|
29815
29788
|
const start = initialAim(view, ticketId);
|
|
29816
29789
|
if (!start) return;
|
|
29817
29790
|
setLifted({ ticketId, aim: start });
|
|
29818
|
-
const title = _nullishCoalesce(_optionalChain([laneOf, 'call',
|
|
29791
|
+
const title = _nullishCoalesce(_optionalChain([laneOf, 'call', _653 => _653(view, ticketId), 'optionalAccess', _654 => _654.tickets, 'access', _655 => _655.find, 'call', _656 => _656((t) => t.id === ticketId), 'optionalAccess', _657 => _657.title]), () => ( "Ticket"));
|
|
29819
29792
|
setAnnouncement(`${title} lifted. Use the arrow keys to move it, space to drop it, escape to put it back.`);
|
|
29820
29793
|
},
|
|
29821
29794
|
[view]
|
|
@@ -29840,11 +29813,11 @@ function DragBoard({
|
|
|
29840
29813
|
const walk = _react.useCallback.call(void 0,
|
|
29841
29814
|
(key) => {
|
|
29842
29815
|
if (!lifted) return;
|
|
29843
|
-
const from = _nullishCoalesce(_optionalChain([laneOf, 'call',
|
|
29816
|
+
const from = _nullishCoalesce(_optionalChain([laneOf, 'call', _658 => _658(view, lifted.ticketId), 'optionalAccess', _659 => _659.id]), () => ( lifted.aim.columnId));
|
|
29844
29817
|
const next = moveAim(view, lifted.ticketId, lifted.aim, key, acceptsLifted(from));
|
|
29845
29818
|
if (next === lifted.aim) return;
|
|
29846
29819
|
setLifted({ ...lifted, aim: next });
|
|
29847
|
-
const total = (_nullishCoalesce(_optionalChain([view, 'access',
|
|
29820
|
+
const total = (_nullishCoalesce(_optionalChain([view, 'access', _660 => _660.find, 'call', _661 => _661((c) => c.id === next.columnId), 'optionalAccess', _662 => _662.tickets]), () => ( []))).filter(
|
|
29848
29821
|
(t) => t.id !== lifted.ticketId
|
|
29849
29822
|
).length;
|
|
29850
29823
|
setAnnouncement(`${laneLabel(next.columnId)}, position ${next.index + 1} of ${total + 1}.`);
|
|
@@ -29871,11 +29844,11 @@ function DragBoard({
|
|
|
29871
29844
|
}, [lifted, drop, walk]);
|
|
29872
29845
|
_react.useEffect.call(void 0, () => {
|
|
29873
29846
|
if (!lifted) return;
|
|
29874
|
-
_optionalChain([boardRef, 'access',
|
|
29847
|
+
_optionalChain([boardRef, 'access', _663 => _663.current, 'optionalAccess', _664 => _664.querySelector, 'call', _665 => _665(`[${DROP_LINE_ATTRIBUTE}]`), 'optionalAccess', _666 => _666.scrollIntoView, 'call', _667 => _667({ block: "nearest", inline: "nearest" })]);
|
|
29875
29848
|
}, [lifted]);
|
|
29876
29849
|
const keyboardAim = _react.useMemo.call(void 0, () => {
|
|
29877
29850
|
if (!lifted) return null;
|
|
29878
|
-
const ticket = _optionalChain([laneOf, 'call',
|
|
29851
|
+
const ticket = _optionalChain([laneOf, 'call', _668 => _668(view, lifted.ticketId), 'optionalAccess', _669 => _669.tickets, 'access', _670 => _670.find, 'call', _671 => _671((t) => t.id === lifted.ticketId)]);
|
|
29879
29852
|
if (!ticket) return null;
|
|
29880
29853
|
const anchor = aimToChange(view, lifted.ticketId, lifted.aim) ? aimAnchor(view, lifted.ticketId, lifted.aim) : { ticketId: null, edge: null };
|
|
29881
29854
|
return { columnId: lifted.aim.columnId, ...anchor, ticket };
|
|
@@ -29897,7 +29870,7 @@ function DragBoard({
|
|
|
29897
29870
|
return { columnId: slot.columnId, ...anchor, ticket };
|
|
29898
29871
|
};
|
|
29899
29872
|
const aimAt = (source, targets) => {
|
|
29900
|
-
const next = readAim(source, _optionalChain([targets, 'access',
|
|
29873
|
+
const next = readAim(source, _optionalChain([targets, 'access', _672 => _672[0], 'optionalAccess', _673 => _673.data]));
|
|
29901
29874
|
setAim((prev) => isSameAim(prev, next) ? prev : next);
|
|
29902
29875
|
};
|
|
29903
29876
|
return _combine.combine.call(void 0,
|
|
@@ -29926,7 +29899,7 @@ function DragBoard({
|
|
|
29926
29899
|
setLanding(null);
|
|
29927
29900
|
dragGeometry.current = {
|
|
29928
29901
|
ticket,
|
|
29929
|
-
columnColor: _optionalChain([columnsRef, 'access',
|
|
29902
|
+
columnColor: _optionalChain([columnsRef, 'access', _674 => _674.current, 'access', _675 => _675.find, 'call', _676 => _676((c) => c.id === source.data.columnId), 'optionalAccess', _677 => _677.color]),
|
|
29930
29903
|
width: rect.width,
|
|
29931
29904
|
grabX: clientX - rect.left,
|
|
29932
29905
|
grabY: clientY - rect.top
|
|
@@ -29943,7 +29916,7 @@ function DragBoard({
|
|
|
29943
29916
|
setAim(null);
|
|
29944
29917
|
const change = resolveBoardDrop(columnsRef.current, {
|
|
29945
29918
|
source: source.data,
|
|
29946
|
-
target: _optionalChain([location, 'access',
|
|
29919
|
+
target: _optionalChain([location, 'access', _678 => _678.current, 'access', _679 => _679.dropTargets, 'access', _680 => _680[0], 'optionalAccess', _681 => _681.data])
|
|
29947
29920
|
});
|
|
29948
29921
|
if (!change) return;
|
|
29949
29922
|
setPendingMove({
|
|
@@ -29976,7 +29949,7 @@ function DragBoard({
|
|
|
29976
29949
|
return void 0;
|
|
29977
29950
|
}
|
|
29978
29951
|
const to = card.getBoundingClientRect();
|
|
29979
|
-
const lane = _optionalChain([nearestScrollableAncestor, 'call',
|
|
29952
|
+
const lane = _optionalChain([nearestScrollableAncestor, 'call', _682 => _682(card), 'optionalAccess', _683 => _683.getBoundingClientRect, 'call', _684 => _684()]);
|
|
29980
29953
|
if (lane && (to.top < lane.top || to.bottom > lane.bottom)) {
|
|
29981
29954
|
finish();
|
|
29982
29955
|
return void 0;
|
|
@@ -30035,8 +30008,8 @@ function DragBoard({
|
|
|
30035
30008
|
children: view.map((column, i) => {
|
|
30036
30009
|
const prev = view[i - 1];
|
|
30037
30010
|
const next = view[i + 1];
|
|
30038
|
-
const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess',
|
|
30039
|
-
const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess',
|
|
30011
|
+
const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess', _685 => _685.system]));
|
|
30012
|
+
const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess', _686 => _686.system]));
|
|
30040
30013
|
const showGap = i > 0 && !joinLeft;
|
|
30041
30014
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
30042
30015
|
showGap && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "w-[var(--spacing-system-mf)] shrink-0" }),
|
|
@@ -30216,13 +30189,13 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
|
|
|
30216
30189
|
const [flipTick, setFlipTick] = _react.useState.call(void 0, 0);
|
|
30217
30190
|
const flipTimer = _react.useRef.call(void 0, null);
|
|
30218
30191
|
const readItems = _react.useCallback.call(void 0,
|
|
30219
|
-
() => [..._nullishCoalesce(_optionalChain([listRef, 'access',
|
|
30192
|
+
() => [..._nullishCoalesce(_optionalChain([listRef, 'access', _687 => _687.current, 'optionalAccess', _688 => _688.querySelectorAll, 'call', _689 => _689(`[${SORTABLE_ITEM_ATTRIBUTE}]`)]), () => ( []))],
|
|
30220
30193
|
[]
|
|
30221
30194
|
);
|
|
30222
30195
|
const reorder = _react.useCallback.call(void 0,
|
|
30223
30196
|
(from, to) => {
|
|
30224
30197
|
if (from === to) return;
|
|
30225
|
-
const label = _nullishCoalesce(_optionalChain([getItemLabelRef, 'access',
|
|
30198
|
+
const label = _nullishCoalesce(_optionalChain([getItemLabelRef, 'access', _690 => _690.current, 'optionalCall', _691 => _691(from)]), () => ( "Item"));
|
|
30226
30199
|
setAnnouncement(`${label} moved to position ${to + 1} of ${readItems().length}.`);
|
|
30227
30200
|
onReorderRef.current(from, to);
|
|
30228
30201
|
},
|
|
@@ -30310,7 +30283,7 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
|
|
|
30310
30283
|
moving.push(item);
|
|
30311
30284
|
}
|
|
30312
30285
|
if (moving.length === 0) return;
|
|
30313
|
-
void _optionalChain([listRef, 'access',
|
|
30286
|
+
void _optionalChain([listRef, 'access', _692 => _692.current, 'optionalAccess', _693 => _693.offsetHeight]);
|
|
30314
30287
|
for (const item of moving) {
|
|
30315
30288
|
item.style.transition = `transform ${DROP_MS2}ms ${EASING}`;
|
|
30316
30289
|
item.style.transform = "";
|
|
@@ -30347,8 +30320,8 @@ function SortableMoveButtons({ index, count, label, className }) {
|
|
|
30347
30320
|
if (to < 0 || to >= count) return;
|
|
30348
30321
|
reorder(index, to);
|
|
30349
30322
|
requestAnimationFrame(() => {
|
|
30350
|
-
if (step === -1 && to === 0) _optionalChain([downRef, 'access',
|
|
30351
|
-
if (step === 1 && to === count - 1) _optionalChain([upRef, 'access',
|
|
30323
|
+
if (step === -1 && to === 0) _optionalChain([downRef, 'access', _694 => _694.current, 'optionalAccess', _695 => _695.focus, 'call', _696 => _696()]);
|
|
30324
|
+
if (step === 1 && to === count - 1) _optionalChain([upRef, 'access', _697 => _697.current, 'optionalAccess', _698 => _698.focus, 'call', _699 => _699()]);
|
|
30352
30325
|
});
|
|
30353
30326
|
};
|
|
30354
30327
|
const subject = _nullishCoalesce(label, () => ( "item"));
|
|
@@ -30396,7 +30369,7 @@ function useSortableItem() {
|
|
|
30396
30369
|
const [handle, setHandle] = _react.useState.call(void 0, null);
|
|
30397
30370
|
const [isDragging, setIsDragging] = _react.useState.call(void 0, false);
|
|
30398
30371
|
const itemRef = _react.useCallback.call(void 0, (node) => {
|
|
30399
|
-
_optionalChain([node, 'optionalAccess',
|
|
30372
|
+
_optionalChain([node, 'optionalAccess', _700 => _700.setAttribute, 'call', _701 => _701(SORTABLE_ITEM_ATTRIBUTE, "")]);
|
|
30400
30373
|
setItem(node);
|
|
30401
30374
|
}, []);
|
|
30402
30375
|
_react.useEffect.call(void 0, () => {
|
|
@@ -30426,7 +30399,7 @@ function useSortableItem() {
|
|
|
30426
30399
|
if (from < 0 || to < 0 || to >= items.length) return;
|
|
30427
30400
|
event.preventDefault();
|
|
30428
30401
|
reorder(from, to);
|
|
30429
|
-
requestAnimationFrame(() => _optionalChain([handle, 'optionalAccess',
|
|
30402
|
+
requestAnimationFrame(() => _optionalChain([handle, 'optionalAccess', _702 => _702.focus, 'call', _703 => _703()]));
|
|
30430
30403
|
},
|
|
30431
30404
|
[inert, readItems, reorder, handle]
|
|
30432
30405
|
);
|
|
@@ -30448,7 +30421,7 @@ function TicketStatusConfigList({
|
|
|
30448
30421
|
onReorder,
|
|
30449
30422
|
getItemLabel,
|
|
30450
30423
|
className: _chunk23V5BSHDcjs.cn.call(void 0, "flex w-full flex-col gap-[var(--spacing-system-xs)]", className),
|
|
30451
|
-
children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortableRow, { index, count: items.length, label: _optionalChain([getItemLabel, 'optionalCall',
|
|
30424
|
+
children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortableRow, { index, count: items.length, label: _optionalChain([getItemLabel, 'optionalCall', _704 => _704(index)]), children: (args) => renderRow(item, args) }, item.id))
|
|
30452
30425
|
}
|
|
30453
30426
|
);
|
|
30454
30427
|
}
|
|
@@ -31112,4 +31085,4 @@ function SortableRow({
|
|
|
31112
31085
|
|
|
31113
31086
|
|
|
31114
31087
|
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;
|
|
31115
|
-
//# sourceMappingURL=chunk-
|
|
31088
|
+
//# sourceMappingURL=chunk-UBX3ATG5.cjs.map
|