@flamingo-stack/openframe-frontend-core 0.0.580 → 0.0.581-1962.5372.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-PPWFQVWK.js → chunk-3GXNCJZI.js} +2 -2
- package/dist/{chunk-ULMO6SIY.cjs → chunk-6U45VX5J.cjs} +34 -34
- package/dist/{chunk-ULMO6SIY.cjs.map → chunk-6U45VX5J.cjs.map} +1 -1
- package/dist/{chunk-LCR3J5Z4.js → chunk-7CP5KY5W.js} +2 -2
- package/dist/{chunk-2H5THD2V.cjs → chunk-AIALG25H.cjs} +49 -49
- package/dist/{chunk-2H5THD2V.cjs.map → chunk-AIALG25H.cjs.map} +1 -1
- package/dist/{chunk-7QBSMF3A.cjs → chunk-BTKMTVN5.cjs} +4 -4
- package/dist/{chunk-7QBSMF3A.cjs.map → chunk-BTKMTVN5.cjs.map} +1 -1
- package/dist/{chunk-MPHTQLXW.cjs → chunk-DSPQVZFE.cjs} +17 -17
- package/dist/{chunk-MPHTQLXW.cjs.map → chunk-DSPQVZFE.cjs.map} +1 -1
- package/dist/{chunk-YLLX27VK.js → chunk-ESWXXWCL.js} +2 -2
- package/dist/{chunk-MHA4KNWD.js → chunk-EZVABFEO.js} +2 -2
- package/dist/{chunk-OABA7YGU.js → chunk-GAHKWML7.js} +5 -5
- package/dist/{chunk-DLLMAPL5.cjs → chunk-GMQEHDN2.cjs} +3 -3
- package/dist/{chunk-DLLMAPL5.cjs.map → chunk-GMQEHDN2.cjs.map} +1 -1
- package/dist/{chunk-IB7PMKJX.cjs → chunk-GUC4JK6O.cjs} +3 -3
- package/dist/{chunk-IB7PMKJX.cjs.map → chunk-GUC4JK6O.cjs.map} +1 -1
- package/dist/{chunk-FEPUMLJL.js → chunk-GVM37TRU.js} +3 -3
- package/dist/{chunk-P2XZEUDA.js → chunk-HVSZYUGP.js} +4 -4
- package/dist/{chunk-SE2AQAOH.js → chunk-IHFQ5VVR.js} +5 -5
- package/dist/{chunk-4VXJLVEF.js → chunk-JW53WPB5.js} +2 -2
- package/dist/{chunk-AHPTMNF2.js → chunk-KAEVE7W2.js} +2 -2
- package/dist/{chunk-FLUR7CUB.cjs → chunk-KNBXZ22O.cjs} +3 -3
- package/dist/{chunk-FLUR7CUB.cjs.map → chunk-KNBXZ22O.cjs.map} +1 -1
- package/dist/{chunk-CCQDL6HM.js → chunk-LWDIDSCF.js} +2 -2
- package/dist/{chunk-V3XCLT5V.cjs → chunk-M4KQWGEL.cjs} +32 -32
- package/dist/{chunk-V3XCLT5V.cjs.map → chunk-M4KQWGEL.cjs.map} +1 -1
- package/dist/{chunk-FF27HBZ7.js → chunk-OKA3DJJ3.js} +2 -2
- package/dist/{chunk-VQTE5WAE.cjs → chunk-PBRXT7TD.cjs} +10 -10
- package/dist/{chunk-VQTE5WAE.cjs.map → chunk-PBRXT7TD.cjs.map} +1 -1
- package/dist/{chunk-KMC44UBW.js → chunk-R5JVRFSW.js} +2 -2
- package/dist/{chunk-FWY4U5CB.cjs → chunk-SEZ25E22.cjs} +4 -4
- package/dist/{chunk-FWY4U5CB.cjs.map → chunk-SEZ25E22.cjs.map} +1 -1
- package/dist/{chunk-BVQYK3TO.cjs → chunk-U3W2ZVN4.cjs} +218 -218
- package/dist/{chunk-BVQYK3TO.cjs.map → chunk-U3W2ZVN4.cjs.map} +1 -1
- package/dist/{chunk-TDTACWIE.cjs → chunk-UKHM2S6I.cjs} +13 -13
- package/dist/{chunk-TDTACWIE.cjs.map → chunk-UKHM2S6I.cjs.map} +1 -1
- package/dist/{chunk-ULZHN4XS.cjs → chunk-VDRCKHML.cjs} +3 -3
- package/dist/{chunk-ULZHN4XS.cjs.map → chunk-VDRCKHML.cjs.map} +1 -1
- package/dist/{chunk-UWVKWRM3.js → chunk-VXUUSLD5.js} +2 -2
- package/dist/{chunk-UWVKWRM3.js.map → chunk-VXUUSLD5.js.map} +1 -1
- package/dist/{chunk-Q3MR6FFT.cjs → chunk-W2TXSZTM.cjs} +16 -16
- package/dist/{chunk-Q3MR6FFT.cjs.map → chunk-W2TXSZTM.cjs.map} +1 -1
- package/dist/{chunk-FHICKOW7.cjs → chunk-WHFEG6UU.cjs} +17 -17
- package/dist/{chunk-FHICKOW7.cjs.map → chunk-WHFEG6UU.cjs.map} +1 -1
- package/dist/{chunk-ROUP3WGG.js → chunk-ZEZMGXYV.js} +4 -4
- 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/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 +114 -114
- package/dist/components/index.js +12 -12
- package/dist/components/meeting-scheduler/index.cjs +18 -18
- 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/package.json +1 -1
- package/src/components/ui/data-table/data-table-header.tsx +17 -3
- /package/dist/{chunk-PPWFQVWK.js.map → chunk-3GXNCJZI.js.map} +0 -0
- /package/dist/{chunk-LCR3J5Z4.js.map → chunk-7CP5KY5W.js.map} +0 -0
- /package/dist/{chunk-YLLX27VK.js.map → chunk-ESWXXWCL.js.map} +0 -0
- /package/dist/{chunk-MHA4KNWD.js.map → chunk-EZVABFEO.js.map} +0 -0
- /package/dist/{chunk-OABA7YGU.js.map → chunk-GAHKWML7.js.map} +0 -0
- /package/dist/{chunk-FEPUMLJL.js.map → chunk-GVM37TRU.js.map} +0 -0
- /package/dist/{chunk-P2XZEUDA.js.map → chunk-HVSZYUGP.js.map} +0 -0
- /package/dist/{chunk-SE2AQAOH.js.map → chunk-IHFQ5VVR.js.map} +0 -0
- /package/dist/{chunk-4VXJLVEF.js.map → chunk-JW53WPB5.js.map} +0 -0
- /package/dist/{chunk-AHPTMNF2.js.map → chunk-KAEVE7W2.js.map} +0 -0
- /package/dist/{chunk-CCQDL6HM.js.map → chunk-LWDIDSCF.js.map} +0 -0
- /package/dist/{chunk-FF27HBZ7.js.map → chunk-OKA3DJJ3.js.map} +0 -0
- /package/dist/{chunk-KMC44UBW.js.map → chunk-R5JVRFSW.js.map} +0 -0
- /package/dist/{chunk-ROUP3WGG.js.map → chunk-ZEZMGXYV.js.map} +0 -0
|
@@ -14154,7 +14154,7 @@ function DataTableHeader({
|
|
|
14154
14154
|
);
|
|
14155
14155
|
}
|
|
14156
14156
|
function keepsCellOnTablet(meta) {
|
|
14157
|
-
return Boolean(_optionalChain([meta, 'optionalAccess', _287 => _287.filter])) || _optionalChain([meta, 'optionalAccess', _288 => _288.alwaysShowHeader]) === true;
|
|
14157
|
+
return Boolean(_optionalChain([meta, 'optionalAccess', _287 => _287.filter])) || _optionalChain([meta, 'optionalAccess', _288 => _288.sortable]) === true || _optionalChain([meta, 'optionalAccess', _289 => _289.alwaysShowHeader]) === true;
|
|
14158
14158
|
}
|
|
14159
14159
|
var SHOW_FROM = {
|
|
14160
14160
|
md: "md:flex",
|
|
@@ -14192,11 +14192,11 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
14192
14192
|
if (header.isPlaceholder) return null;
|
|
14193
14193
|
const column = header.column;
|
|
14194
14194
|
const meta = column.columnDef.meta;
|
|
14195
|
-
const filter = _optionalChain([meta, 'optionalAccess',
|
|
14195
|
+
const filter = _optionalChain([meta, 'optionalAccess', _290 => _290.filter]);
|
|
14196
14196
|
const keepOnTablet = keepsCellOnTablet(meta);
|
|
14197
|
-
const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
14198
|
-
const canSort = _optionalChain([meta, 'optionalAccess',
|
|
14199
|
-
const sortDir = _optionalChain([sort, 'optionalAccess',
|
|
14197
|
+
const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _291 => _291.align]), () => ( "left"));
|
|
14198
|
+
const canSort = _optionalChain([meta, 'optionalAccess', _292 => _292.sortable]) === true;
|
|
14199
|
+
const sortDir = _optionalChain([sort, 'optionalAccess', _293 => _293.id]) === column.id ? sort.desc ? "desc" : "asc" : false;
|
|
14200
14200
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14201
14201
|
"div",
|
|
14202
14202
|
{
|
|
@@ -14204,7 +14204,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
14204
14204
|
"items-stretch",
|
|
14205
14205
|
// Cells are hidden rather than dropped from the tree, so which columns
|
|
14206
14206
|
// exist never depends on when an effect ran.
|
|
14207
|
-
getCellVisibilityClasses(keepOnTablet, _optionalChain([meta, 'optionalAccess',
|
|
14207
|
+
getCellVisibilityClasses(keepOnTablet, _optionalChain([meta, 'optionalAccess', _294 => _294.hideAt])),
|
|
14208
14208
|
// Width applies from lg only. Stated as "always, neutralized below lg"
|
|
14209
14209
|
// because `meta.width` is an opaque consumer string that cannot be
|
|
14210
14210
|
// prefixed. Only `keepOnTablet` cells need the override — the rest are
|
|
@@ -14222,9 +14222,9 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
14222
14222
|
// Specificity rather than `!important`: it stays a normal declaration, so a
|
|
14223
14223
|
// consumer that genuinely needs a tablet width can still take it back with a
|
|
14224
14224
|
// more specific rule — `!important` could only be answered with another one.
|
|
14225
|
-
_optionalChain([meta, 'optionalAccess',
|
|
14225
|
+
_optionalChain([meta, 'optionalAccess', _295 => _295.width]) || "min-w-0 flex-1",
|
|
14226
14226
|
keepOnTablet && "max-lg:[&&]:w-auto max-lg:[&&]:flex-none max-lg:[&&]:basis-auto",
|
|
14227
|
-
_optionalChain([meta, 'optionalAccess',
|
|
14227
|
+
_optionalChain([meta, 'optionalAccess', _296 => _296.headerClassName])
|
|
14228
14228
|
),
|
|
14229
14229
|
children: filter ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14230
14230
|
DataTableColumnFilter,
|
|
@@ -14248,7 +14248,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
14248
14248
|
keepOnTablet && "max-lg:justify-start",
|
|
14249
14249
|
canSort && "group cursor-pointer"
|
|
14250
14250
|
),
|
|
14251
|
-
onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall',
|
|
14251
|
+
onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall', _297 => _297(column.id)]) : void 0,
|
|
14252
14252
|
children: [
|
|
14253
14253
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
14254
14254
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -14297,7 +14297,7 @@ function DataTableInfiniteFooter({
|
|
|
14297
14297
|
if (!sentinel) return void 0;
|
|
14298
14298
|
const observer = new IntersectionObserver(
|
|
14299
14299
|
(entries) => {
|
|
14300
|
-
if (_optionalChain([entries, 'access',
|
|
14300
|
+
if (_optionalChain([entries, 'access', _298 => _298[0], 'optionalAccess', _299 => _299.isIntersecting])) onLoadMoreRef.current();
|
|
14301
14301
|
},
|
|
14302
14302
|
{ rootMargin }
|
|
14303
14303
|
);
|
|
@@ -14322,7 +14322,7 @@ function DataTableRowCount({
|
|
|
14322
14322
|
const table = useDataTableContext();
|
|
14323
14323
|
const count = _nullishCoalesce(totalCount, () => ( table.getRowModel().rows.length));
|
|
14324
14324
|
if (hideWhenEmpty && count === 0) return null;
|
|
14325
|
-
const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall',
|
|
14325
|
+
const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _300 => _300(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
|
|
14326
14326
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkPRPZBXWZcjs.cn.call(void 0, "whitespace-nowrap text-ods-text-secondary text-h6", className), children: [
|
|
14327
14327
|
count,
|
|
14328
14328
|
" ",
|
|
@@ -14439,12 +14439,12 @@ function PhoneInput({
|
|
|
14439
14439
|
(phone) => {
|
|
14440
14440
|
if (!phone || digitCount(phone) === 0) {
|
|
14441
14441
|
setIsInvalid(false);
|
|
14442
|
-
_optionalChain([onValidationChange, 'optionalCall',
|
|
14442
|
+
_optionalChain([onValidationChange, 'optionalCall', _301 => _301(false)]);
|
|
14443
14443
|
return;
|
|
14444
14444
|
}
|
|
14445
14445
|
const invalid = !validatePhoneNumber(phone, countryCode);
|
|
14446
14446
|
setIsInvalid(invalid);
|
|
14447
|
-
_optionalChain([onValidationChange, 'optionalCall',
|
|
14447
|
+
_optionalChain([onValidationChange, 'optionalCall', _302 => _302(invalid)]);
|
|
14448
14448
|
},
|
|
14449
14449
|
[countryCode, digitCount, onValidationChange]
|
|
14450
14450
|
);
|
|
@@ -14498,7 +14498,7 @@ function PhoneInput({
|
|
|
14498
14498
|
debouncedValidation(val);
|
|
14499
14499
|
} else if (digitCount(val) === 0) {
|
|
14500
14500
|
setIsInvalid(false);
|
|
14501
|
-
_optionalChain([onValidationChange, 'optionalCall',
|
|
14501
|
+
_optionalChain([onValidationChange, 'optionalCall', _303 => _303(false)]);
|
|
14502
14502
|
}
|
|
14503
14503
|
}
|
|
14504
14504
|
},
|
|
@@ -14614,7 +14614,7 @@ function SearchInput({
|
|
|
14614
14614
|
if (!showHiddenTags) return void 0;
|
|
14615
14615
|
const handleClick = (e) => {
|
|
14616
14616
|
const target = e.target;
|
|
14617
|
-
if (!_optionalChain([hiddenTagsRef, 'access',
|
|
14617
|
+
if (!_optionalChain([hiddenTagsRef, 'access', _304 => _304.current, 'optionalAccess', _305 => _305.contains, 'call', _306 => _306(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _307 => _307.current, 'optionalAccess', _308 => _308.contains, 'call', _309 => _309(target)])) {
|
|
14618
14618
|
setShowHiddenTags(false);
|
|
14619
14619
|
}
|
|
14620
14620
|
};
|
|
@@ -14625,7 +14625,7 @@ function SearchInput({
|
|
|
14625
14625
|
const popup = hiddenTagsPopupRef.current;
|
|
14626
14626
|
const badge = badgeRef.current;
|
|
14627
14627
|
if (!popup || !badge) return;
|
|
14628
|
-
const originLeft = _nullishCoalesce(_optionalChain([containerRef, 'access',
|
|
14628
|
+
const originLeft = _nullishCoalesce(_optionalChain([containerRef, 'access', _310 => _310.current, 'optionalAccess', _311 => _311.getBoundingClientRect, 'call', _312 => _312(), 'access', _313 => _313.left]), () => ( 0));
|
|
14629
14629
|
popup.style.left = `${badge.getBoundingClientRect().left - originLeft}px`;
|
|
14630
14630
|
});
|
|
14631
14631
|
const hiddenCount = filterChips.length - visibleCount;
|
|
@@ -14671,10 +14671,10 @@ function SearchInput({
|
|
|
14671
14671
|
} else {
|
|
14672
14672
|
setInternalValue("");
|
|
14673
14673
|
}
|
|
14674
|
-
_optionalChain([inputRef, 'access',
|
|
14674
|
+
_optionalChain([inputRef, 'access', _314 => _314.current, 'optionalAccess', _315 => _315.focus, 'call', _316 => _316()]);
|
|
14675
14675
|
};
|
|
14676
14676
|
const handleResultClick = (result, e) => {
|
|
14677
|
-
_optionalChain([onResultSelect, 'optionalCall',
|
|
14677
|
+
_optionalChain([onResultSelect, 'optionalCall', _317 => _317(
|
|
14678
14678
|
result,
|
|
14679
14679
|
e ? {
|
|
14680
14680
|
metaKey: e.metaKey,
|
|
@@ -14702,7 +14702,7 @@ function SearchInput({
|
|
|
14702
14702
|
if (highlightedIndex >= 0 && flatResults[highlightedIndex]) {
|
|
14703
14703
|
handleResultClick(flatResults[highlightedIndex]);
|
|
14704
14704
|
} else {
|
|
14705
|
-
_optionalChain([onSubmit, 'optionalCall',
|
|
14705
|
+
_optionalChain([onSubmit, 'optionalCall', _318 => _318(currentValue)]);
|
|
14706
14706
|
}
|
|
14707
14707
|
break;
|
|
14708
14708
|
case "Escape":
|
|
@@ -14784,7 +14784,7 @@ function SearchInput({
|
|
|
14784
14784
|
dropdownVisible && "!border-ods-accent"
|
|
14785
14785
|
),
|
|
14786
14786
|
onClick: () => {
|
|
14787
|
-
_optionalChain([inputRef, 'access',
|
|
14787
|
+
_optionalChain([inputRef, 'access', _319 => _319.current, 'optionalAccess', _320 => _320.focus, 'call', _321 => _321()]);
|
|
14788
14788
|
setIsOpen(true);
|
|
14789
14789
|
},
|
|
14790
14790
|
children: [
|
|
@@ -14870,10 +14870,10 @@ function SearchInput({
|
|
|
14870
14870
|
collisionPadding: { bottom: keyboardPadding },
|
|
14871
14871
|
onOpenAutoFocus: (e) => {
|
|
14872
14872
|
e.preventDefault();
|
|
14873
|
-
_optionalChain([inputRef, 'access',
|
|
14873
|
+
_optionalChain([inputRef, 'access', _322 => _322.current, 'optionalAccess', _323 => _323.focus, 'call', _324 => _324()]);
|
|
14874
14874
|
},
|
|
14875
14875
|
onInteractOutside: (e) => {
|
|
14876
|
-
if (_optionalChain([containerRef, 'access',
|
|
14876
|
+
if (_optionalChain([containerRef, 'access', _325 => _325.current, 'optionalAccess', _326 => _326.contains, 'call', _327 => _327(e.target)])) {
|
|
14877
14877
|
e.preventDefault();
|
|
14878
14878
|
}
|
|
14879
14879
|
},
|
|
@@ -14890,7 +14890,7 @@ function SearchInput({
|
|
|
14890
14890
|
ref: hiddenTagsPopupRef,
|
|
14891
14891
|
items: hiddenChips.map((chip) => ({ label: chip.label, value: chip.id })),
|
|
14892
14892
|
onRemove: (removedTag) => {
|
|
14893
|
-
_optionalChain([onFilterRemove, 'optionalCall',
|
|
14893
|
+
_optionalChain([onFilterRemove, 'optionalCall', _328 => _328(removedTag)]);
|
|
14894
14894
|
if (hiddenCount <= 1) setShowHiddenTags(false);
|
|
14895
14895
|
}
|
|
14896
14896
|
}
|
|
@@ -14932,7 +14932,7 @@ function FilterListItem({
|
|
|
14932
14932
|
}) {
|
|
14933
14933
|
const handleToggle = () => {
|
|
14934
14934
|
if (disabled) return;
|
|
14935
|
-
_optionalChain([onToggle, 'optionalCall',
|
|
14935
|
+
_optionalChain([onToggle, 'optionalCall', _329 => _329(!selected)]);
|
|
14936
14936
|
};
|
|
14937
14937
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14938
14938
|
"div",
|
|
@@ -14979,7 +14979,7 @@ function FilterListItem({
|
|
|
14979
14979
|
CheckboxPrimitive4.Root,
|
|
14980
14980
|
{
|
|
14981
14981
|
checked: selected,
|
|
14982
|
-
onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall',
|
|
14982
|
+
onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _330 => _330(c === true)]),
|
|
14983
14983
|
onClick: (e) => e.stopPropagation(),
|
|
14984
14984
|
disabled,
|
|
14985
14985
|
"aria-label": title,
|
|
@@ -15060,7 +15060,7 @@ function TagSearchInput({
|
|
|
15060
15060
|
if (!showHiddenTags) return void 0;
|
|
15061
15061
|
const handleClick = (e) => {
|
|
15062
15062
|
const target = e.target;
|
|
15063
|
-
if (!_optionalChain([hiddenTagsRef, 'access',
|
|
15063
|
+
if (!_optionalChain([hiddenTagsRef, 'access', _331 => _331.current, 'optionalAccess', _332 => _332.contains, 'call', _333 => _333(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _334 => _334.current, 'optionalAccess', _335 => _335.contains, 'call', _336 => _336(target)])) {
|
|
15064
15064
|
setShowHiddenTags(false);
|
|
15065
15065
|
}
|
|
15066
15066
|
};
|
|
@@ -15071,7 +15071,7 @@ function TagSearchInput({
|
|
|
15071
15071
|
const popup = hiddenTagsPopupRef.current;
|
|
15072
15072
|
const badge = badgeRef.current;
|
|
15073
15073
|
if (!popup || !badge) return;
|
|
15074
|
-
const originLeft = _nullishCoalesce(_optionalChain([wrapperRef, 'access',
|
|
15074
|
+
const originLeft = _nullishCoalesce(_optionalChain([wrapperRef, 'access', _337 => _337.current, 'optionalAccess', _338 => _338.getBoundingClientRect, 'call', _339 => _339(), 'access', _340 => _340.left]), () => ( 0));
|
|
15075
15075
|
popup.style.left = `${badge.getBoundingClientRect().left - originLeft}px`;
|
|
15076
15076
|
});
|
|
15077
15077
|
const hiddenCount = tags.length - visibleCount;
|
|
@@ -15083,13 +15083,13 @@ function TagSearchInput({
|
|
|
15083
15083
|
e.preventDefault();
|
|
15084
15084
|
onSubmit(searchValue);
|
|
15085
15085
|
}
|
|
15086
|
-
_optionalChain([onKeyDown, 'optionalCall',
|
|
15086
|
+
_optionalChain([onKeyDown, 'optionalCall', _341 => _341(e)]);
|
|
15087
15087
|
};
|
|
15088
15088
|
const handleClearAll = (e) => {
|
|
15089
15089
|
e.stopPropagation();
|
|
15090
15090
|
e.preventDefault();
|
|
15091
|
-
_optionalChain([onClearAll, 'optionalCall',
|
|
15092
|
-
_optionalChain([inputRef, 'access',
|
|
15091
|
+
_optionalChain([onClearAll, 'optionalCall', _342 => _342()]);
|
|
15092
|
+
_optionalChain([inputRef, 'access', _343 => _343.current, 'optionalAccess', _344 => _344.focus, 'call', _345 => _345()]);
|
|
15093
15093
|
};
|
|
15094
15094
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: wrapperRef, className: "relative", children: [
|
|
15095
15095
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -15112,7 +15112,7 @@ function TagSearchInput({
|
|
|
15112
15112
|
className
|
|
15113
15113
|
),
|
|
15114
15114
|
onClick: () => {
|
|
15115
|
-
if (!disabled) _optionalChain([inputRef, 'access',
|
|
15115
|
+
if (!disabled) _optionalChain([inputRef, 'access', _346 => _346.current, 'optionalAccess', _347 => _347.focus, 'call', _348 => _348()]);
|
|
15116
15116
|
},
|
|
15117
15117
|
children: [
|
|
15118
15118
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center pl-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, { className: "size-4 text-ods-text-secondary md:size-6" }) }),
|
|
@@ -15286,7 +15286,7 @@ function MarkdownEditor({
|
|
|
15286
15286
|
try {
|
|
15287
15287
|
const mod = await Promise.resolve().then(() => _interopRequireWildcard(require("@uiw/react-md-editor")));
|
|
15288
15288
|
if (cancelled) return;
|
|
15289
|
-
if (_optionalChain([mod, 'access',
|
|
15289
|
+
if (_optionalChain([mod, 'access', _349 => _349.commands, 'optionalAccess', _350 => _350.getExtraCommands])) {
|
|
15290
15290
|
setDefaultExtraCommands(mod.commands.getExtraCommands());
|
|
15291
15291
|
}
|
|
15292
15292
|
} catch (error) {
|
|
@@ -15324,7 +15324,7 @@ function MarkdownEditor({
|
|
|
15324
15324
|
const isImage = file.type.startsWith("image/");
|
|
15325
15325
|
const markdown = isImage ? `` : `[${file.name}](${url})`;
|
|
15326
15326
|
insertTextAtCursor(markdown);
|
|
15327
|
-
_optionalChain([onFileUploaded, 'optionalCall',
|
|
15327
|
+
_optionalChain([onFileUploaded, 'optionalCall', _351 => _351(url, file.name)]);
|
|
15328
15328
|
} catch (error) {
|
|
15329
15329
|
console.error("File upload failed:", error);
|
|
15330
15330
|
setUploadProgress("Upload failed. Please try again.");
|
|
@@ -15338,7 +15338,7 @@ function MarkdownEditor({
|
|
|
15338
15338
|
const handleFileInputChange = _react.useCallback.call(void 0,
|
|
15339
15339
|
(e) => {
|
|
15340
15340
|
const input = e.target;
|
|
15341
|
-
const file = _optionalChain([input, 'access',
|
|
15341
|
+
const file = _optionalChain([input, 'access', _352 => _352.files, 'optionalAccess', _353 => _353[0]]);
|
|
15342
15342
|
if (file) {
|
|
15343
15343
|
void handleFileUpload(file);
|
|
15344
15344
|
input.value = "";
|
|
@@ -15349,7 +15349,7 @@ function MarkdownEditor({
|
|
|
15349
15349
|
const handlePaste = _react.useCallback.call(void 0,
|
|
15350
15350
|
(e) => {
|
|
15351
15351
|
if (!onUploadFile) return;
|
|
15352
|
-
const items = _optionalChain([e, 'access',
|
|
15352
|
+
const items = _optionalChain([e, 'access', _354 => _354.clipboardData, 'optionalAccess', _355 => _355.items]);
|
|
15353
15353
|
if (!items) return;
|
|
15354
15354
|
for (const item of items) {
|
|
15355
15355
|
if (item.type.startsWith("image/")) {
|
|
@@ -15374,7 +15374,7 @@ function MarkdownEditor({
|
|
|
15374
15374
|
buttonProps: { "aria-label": "Upload file", title: "Upload file" },
|
|
15375
15375
|
icon: isUploading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-3 w-3 animate-spin" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-3 w-3" }),
|
|
15376
15376
|
execute: () => {
|
|
15377
|
-
_optionalChain([fileInputRef, 'access',
|
|
15377
|
+
_optionalChain([fileInputRef, 'access', _356 => _356.current, 'optionalAccess', _357 => _357.click, 'call', _358 => _358()]);
|
|
15378
15378
|
}
|
|
15379
15379
|
} : null;
|
|
15380
15380
|
const extraCommands = uploadCommand ? [...defaultExtraCommands, uploadCommand] : defaultExtraCommands;
|
|
@@ -15386,7 +15386,7 @@ function MarkdownEditor({
|
|
|
15386
15386
|
const EDGE_ZONE = 60;
|
|
15387
15387
|
const MAX_SCROLL_SPEED = 15;
|
|
15388
15388
|
const findScrollParent = _react.useCallback.call(void 0, (el) => {
|
|
15389
|
-
let node = _optionalChain([el, 'optionalAccess',
|
|
15389
|
+
let node = _optionalChain([el, 'optionalAccess', _359 => _359.parentElement]);
|
|
15390
15390
|
while (node && node !== document.documentElement) {
|
|
15391
15391
|
const { overflowY } = window.getComputedStyle(node);
|
|
15392
15392
|
if ((overflowY === "auto" || overflowY === "scroll") && node.scrollHeight > node.clientHeight) {
|
|
@@ -15525,7 +15525,7 @@ function matchesAccept(file, accept) {
|
|
|
15525
15525
|
});
|
|
15526
15526
|
}
|
|
15527
15527
|
function dragHasFiles(e) {
|
|
15528
|
-
const types = _optionalChain([e, 'access',
|
|
15528
|
+
const types = _optionalChain([e, 'access', _360 => _360.dataTransfer, 'optionalAccess', _361 => _361.types]);
|
|
15529
15529
|
if (!types) return false;
|
|
15530
15530
|
for (let i = 0; i < types.length; i++) {
|
|
15531
15531
|
if (types[i] === "Files") return true;
|
|
@@ -15624,7 +15624,7 @@ function FileUpload({
|
|
|
15624
15624
|
e.stopPropagation();
|
|
15625
15625
|
setDragActive(false);
|
|
15626
15626
|
if (disabled) return;
|
|
15627
|
-
if (_optionalChain([e, 'access',
|
|
15627
|
+
if (_optionalChain([e, 'access', _362 => _362.dataTransfer, 'access', _363 => _363.files, 'optionalAccess', _364 => _364.length])) {
|
|
15628
15628
|
handleFiles(e.dataTransfer.files);
|
|
15629
15629
|
}
|
|
15630
15630
|
};
|
|
@@ -15652,7 +15652,7 @@ function FileUpload({
|
|
|
15652
15652
|
e.preventDefault();
|
|
15653
15653
|
dragCounter = 0;
|
|
15654
15654
|
setDragActive(false);
|
|
15655
|
-
if (_optionalChain([e, 'access',
|
|
15655
|
+
if (_optionalChain([e, 'access', _365 => _365.dataTransfer, 'optionalAccess', _366 => _366.files, 'optionalAccess', _367 => _367.length])) {
|
|
15656
15656
|
handleFilesRef.current(e.dataTransfer.files);
|
|
15657
15657
|
}
|
|
15658
15658
|
};
|
|
@@ -15674,7 +15674,7 @@ function FileUpload({
|
|
|
15674
15674
|
};
|
|
15675
15675
|
}, [acceptWindowDrops, disabled]);
|
|
15676
15676
|
const handleFileSelect = (e) => {
|
|
15677
|
-
if (_optionalChain([e, 'access',
|
|
15677
|
+
if (_optionalChain([e, 'access', _368 => _368.target, 'access', _369 => _369.files, 'optionalAccess', _370 => _370.length])) {
|
|
15678
15678
|
handleFiles(e.target.files);
|
|
15679
15679
|
}
|
|
15680
15680
|
};
|
|
@@ -15692,7 +15692,7 @@ function FileUpload({
|
|
|
15692
15692
|
const openDialog = async () => {
|
|
15693
15693
|
if (disabled) return;
|
|
15694
15694
|
if (!pickFiles) {
|
|
15695
|
-
_optionalChain([fileInputRef, 'access',
|
|
15695
|
+
_optionalChain([fileInputRef, 'access', _371 => _371.current, 'optionalAccess', _372 => _372.click, 'call', _373 => _373()]);
|
|
15696
15696
|
return;
|
|
15697
15697
|
}
|
|
15698
15698
|
try {
|
|
@@ -15765,7 +15765,7 @@ function FileUpload({
|
|
|
15765
15765
|
"button",
|
|
15766
15766
|
{
|
|
15767
15767
|
type: "button",
|
|
15768
|
-
onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall',
|
|
15768
|
+
onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _374 => _374(entry.id)]),
|
|
15769
15769
|
className: "shrink-0 text-ods-error transition-opacity hover:opacity-80",
|
|
15770
15770
|
"aria-label": `Remove ${entry.fileName}`,
|
|
15771
15771
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.TrashIcon, { className: "size-6" })
|
|
@@ -15896,7 +15896,7 @@ function ImageUploader({
|
|
|
15896
15896
|
onChange(file);
|
|
15897
15897
|
};
|
|
15898
15898
|
const handleFileSelect = (e) => {
|
|
15899
|
-
validateAndEmit(_optionalChain([e, 'access',
|
|
15899
|
+
validateAndEmit(_optionalChain([e, 'access', _375 => _375.target, 'access', _376 => _376.files, 'optionalAccess', _377 => _377[0]]));
|
|
15900
15900
|
if (inputRef.current) inputRef.current.value = "";
|
|
15901
15901
|
};
|
|
15902
15902
|
const handleDrag = (e) => {
|
|
@@ -15911,11 +15911,11 @@ function ImageUploader({
|
|
|
15911
15911
|
e.stopPropagation();
|
|
15912
15912
|
setDragActive(false);
|
|
15913
15913
|
if (!interactive) return;
|
|
15914
|
-
validateAndEmit(_optionalChain([e, 'access',
|
|
15914
|
+
validateAndEmit(_optionalChain([e, 'access', _378 => _378.dataTransfer, 'access', _379 => _379.files, 'optionalAccess', _380 => _380[0]]));
|
|
15915
15915
|
};
|
|
15916
15916
|
const openDialog = () => {
|
|
15917
15917
|
if (!interactive) return;
|
|
15918
|
-
_optionalChain([inputRef, 'access',
|
|
15918
|
+
_optionalChain([inputRef, 'access', _381 => _381.current, 'optionalAccess', _382 => _382.click, 'call', _383 => _383()]);
|
|
15919
15919
|
};
|
|
15920
15920
|
const handleRootKeyDown = (e) => {
|
|
15921
15921
|
if (hasImage || !interactive) return;
|
|
@@ -16087,8 +16087,8 @@ function ColorPresetSelect({
|
|
|
16087
16087
|
}) {
|
|
16088
16088
|
const selectedPreset = presets.find((p) => p.key === presetKey);
|
|
16089
16089
|
const isCustom = !selectedPreset;
|
|
16090
|
-
const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess',
|
|
16091
|
-
const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess',
|
|
16090
|
+
const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _384 => _384.label]), () => ( "Custom"));
|
|
16091
|
+
const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _385 => _385.color]), () => ( value));
|
|
16092
16092
|
const groups = [
|
|
16093
16093
|
{
|
|
16094
16094
|
items: [
|
|
@@ -16384,7 +16384,7 @@ function TicketStatusConfigRow({
|
|
|
16384
16384
|
{
|
|
16385
16385
|
id: nameInputId,
|
|
16386
16386
|
value: name,
|
|
16387
|
-
onChange: (e) => _optionalChain([onNameChange, 'optionalCall',
|
|
16387
|
+
onChange: (e) => _optionalChain([onNameChange, 'optionalCall', _386 => _386(e.target.value)]),
|
|
16388
16388
|
disabled: isSystem,
|
|
16389
16389
|
readOnly: isSystem,
|
|
16390
16390
|
maxLength: 50
|
|
@@ -16923,14 +16923,14 @@ function TicketInfoSection({
|
|
|
16923
16923
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16924
16924
|
_chunkNNFQLTJ3cjs.SquareAvatar,
|
|
16925
16925
|
{
|
|
16926
|
-
src: _optionalChain([organization, 'optionalAccess',
|
|
16927
|
-
alt: _optionalChain([organization, 'optionalAccess',
|
|
16928
|
-
fallback: _optionalChain([organization, 'optionalAccess',
|
|
16926
|
+
src: _optionalChain([organization, 'optionalAccess', _387 => _387.imageSrc]),
|
|
16927
|
+
alt: _optionalChain([organization, 'optionalAccess', _388 => _388.name]),
|
|
16928
|
+
fallback: _optionalChain([organization, 'optionalAccess', _389 => _389.name]) || "Org",
|
|
16929
16929
|
size: "md",
|
|
16930
16930
|
className: "shrink-0"
|
|
16931
16931
|
}
|
|
16932
16932
|
),
|
|
16933
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: _optionalChain([organization, 'optionalAccess',
|
|
16933
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: _optionalChain([organization, 'optionalAccess', _390 => _390.name]) || "Unassigned", label: "Organization" })
|
|
16934
16934
|
] }),
|
|
16935
16935
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: assigned ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16936
16936
|
AssigneeDropdown,
|
|
@@ -16948,7 +16948,7 @@ function TicketInfoSection({
|
|
|
16948
16948
|
] }),
|
|
16949
16949
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "block truncate text-ods-text-secondary text-h6", children: "Assigned" })
|
|
16950
16950
|
] }) }),
|
|
16951
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: _optionalChain([device, 'optionalAccess',
|
|
16951
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: _optionalChain([device, 'optionalAccess', _391 => _391.name]) || "Unassigned", label: "Device", icon: _optionalChain([device, 'optionalAccess', _392 => _392.icon]), onClick: _optionalChain([device, 'optionalAccess', _393 => _393.onClick]) }),
|
|
16952
16952
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
|
|
16953
16953
|
(status || statusLabel) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16954
16954
|
_chunkYU2UJPATcjs.TicketStatusTag,
|
|
@@ -17053,7 +17053,7 @@ function TakeOverTicketModal({
|
|
|
17053
17053
|
setAssigneeId(_nullishCoalesce(initialAssigneeId, () => ( null)));
|
|
17054
17054
|
}
|
|
17055
17055
|
}
|
|
17056
|
-
const selectedStatusId = _nullishCoalesce(_nullishCoalesce(statusId, () => ( _optionalChain([statusOptions, 'access',
|
|
17056
|
+
const selectedStatusId = _nullishCoalesce(_nullishCoalesce(statusId, () => ( _optionalChain([statusOptions, 'access', _394 => _394[0], 'optionalAccess', _395 => _395.value]))), () => ( null));
|
|
17057
17057
|
const selectedStatus = statusOptions.find((o) => o.value === selectedStatusId);
|
|
17058
17058
|
const selectedAssignee = assigneeOptions.find((o) => o.value === assigneeId);
|
|
17059
17059
|
const handleConfirm = () => {
|
|
@@ -17151,7 +17151,7 @@ function ReopenTicketModal({
|
|
|
17151
17151
|
setReason("");
|
|
17152
17152
|
}
|
|
17153
17153
|
}
|
|
17154
|
-
const selectedStatusId = _nullishCoalesce(_nullishCoalesce(statusId, () => ( _optionalChain([statusOptions, 'access',
|
|
17154
|
+
const selectedStatusId = _nullishCoalesce(_nullishCoalesce(statusId, () => ( _optionalChain([statusOptions, 'access', _396 => _396[0], 'optionalAccess', _397 => _397.value]))), () => ( null));
|
|
17155
17155
|
const selectedStatus = statusOptions.find((o) => o.value === selectedStatusId);
|
|
17156
17156
|
const selectedAssignee = assigneeOptions.find((o) => o.value === assigneeId);
|
|
17157
17157
|
const handleConfirm = () => {
|
|
@@ -17640,7 +17640,7 @@ function SsoProviderButtons({
|
|
|
17640
17640
|
disabled: disabled || (enabledProviders ? !enabledProviders.includes(provider) : false),
|
|
17641
17641
|
className: "disabled:bg-ods-bg",
|
|
17642
17642
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon2, { className: "h-5 w-5" }),
|
|
17643
|
-
onClick: () => _optionalChain([onSsoClick, 'optionalCall',
|
|
17643
|
+
onClick: () => _optionalChain([onSsoClick, 'optionalCall', _398 => _398(provider)]),
|
|
17644
17644
|
children: provider === "openframe" ? meta.name : `${actionLabel} ${meta.name}`
|
|
17645
17645
|
},
|
|
17646
17646
|
provider
|
|
@@ -17677,10 +17677,10 @@ function CompleteAccountForm({
|
|
|
17677
17677
|
children
|
|
17678
17678
|
}) {
|
|
17679
17679
|
const fieldsDisabled = disabled || loading;
|
|
17680
|
-
const firstNameErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess',
|
|
17681
|
-
const lastNameErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess',
|
|
17682
|
-
const passwordErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess',
|
|
17683
|
-
const confirmErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess',
|
|
17680
|
+
const firstNameErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _399 => _399.firstName]), firstName);
|
|
17681
|
+
const lastNameErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _400 => _400.lastName]), lastName);
|
|
17682
|
+
const passwordErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _401 => _401.password]), password);
|
|
17683
|
+
const confirmErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _402 => _402.confirmPassword]), confirmPassword);
|
|
17684
17684
|
const handleKeyDown = (event) => {
|
|
17685
17685
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
17686
17686
|
onSubmit();
|
|
@@ -17867,9 +17867,9 @@ function CreateOrganizationForm({
|
|
|
17867
17867
|
}) {
|
|
17868
17868
|
const hasSso = !!ssoProviders && ssoProviders.length > 0;
|
|
17869
17869
|
const fieldsDisabled = disabled || loading;
|
|
17870
|
-
const emailErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess',
|
|
17871
|
-
const orgNameErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess',
|
|
17872
|
-
const domainErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess',
|
|
17870
|
+
const emailErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _403 => _403.email]), email);
|
|
17871
|
+
const orgNameErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _404 => _404.organizationName]), organizationName);
|
|
17872
|
+
const domainErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _405 => _405.domain]), domain);
|
|
17873
17873
|
const handleKeyDown = (event) => {
|
|
17874
17874
|
if (event.key === "Enter" && !fieldsDisabled) {
|
|
17875
17875
|
onSubmit();
|
|
@@ -17894,8 +17894,8 @@ function CreateOrganizationForm({
|
|
|
17894
17894
|
label: "Email",
|
|
17895
17895
|
placeholder: "username@mail.com",
|
|
17896
17896
|
value: email,
|
|
17897
|
-
error: _nullishCoalesce(emailErr.error, () => ( _optionalChain([emailStatus, 'optionalAccess',
|
|
17898
|
-
errorVariant: emailErr.error ? "error" : _optionalChain([emailStatus, 'optionalAccess',
|
|
17897
|
+
error: _nullishCoalesce(emailErr.error, () => ( _optionalChain([emailStatus, 'optionalAccess', _406 => _406.message]))),
|
|
17898
|
+
errorVariant: emailErr.error ? "error" : _optionalChain([emailStatus, 'optionalAccess', _407 => _407.variant]),
|
|
17899
17899
|
disabled: fieldsDisabled,
|
|
17900
17900
|
onBlur: emailErr.onBlur,
|
|
17901
17901
|
onChange: (event) => onEmailChange(event.target.value),
|
|
@@ -17922,8 +17922,8 @@ function CreateOrganizationForm({
|
|
|
17922
17922
|
label: "Domain",
|
|
17923
17923
|
placeholder: domainPlaceholder,
|
|
17924
17924
|
value: domain,
|
|
17925
|
-
error: _nullishCoalesce(domainErr.error, () => ( _optionalChain([domainStatus, 'optionalAccess',
|
|
17926
|
-
errorVariant: domainErr.error ? "error" : _optionalChain([domainStatus, 'optionalAccess',
|
|
17925
|
+
error: _nullishCoalesce(domainErr.error, () => ( _optionalChain([domainStatus, 'optionalAccess', _408 => _408.message]))),
|
|
17926
|
+
errorVariant: domainErr.error ? "error" : _optionalChain([domainStatus, 'optionalAccess', _409 => _409.variant]),
|
|
17927
17927
|
disabled: fieldsDisabled,
|
|
17928
17928
|
onBlur: domainErr.onBlur,
|
|
17929
17929
|
endAdornment: domainSuffix ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: domainSuffix }) : void 0,
|
|
@@ -17940,7 +17940,7 @@ function CreateOrganizationForm({
|
|
|
17940
17940
|
label: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TermsAgreementLabel, { termsUrl, privacyPolicyUrl }),
|
|
17941
17941
|
checked: agreedToTerms,
|
|
17942
17942
|
disabled: fieldsDisabled,
|
|
17943
|
-
error: _optionalChain([errors, 'optionalAccess',
|
|
17943
|
+
error: _optionalChain([errors, 'optionalAccess', _410 => _410.terms]),
|
|
17944
17944
|
onCheckedChange: onAgreedToTermsChange
|
|
17945
17945
|
}
|
|
17946
17946
|
),
|
|
@@ -18037,10 +18037,10 @@ function LoginForm({
|
|
|
18037
18037
|
className
|
|
18038
18038
|
}) {
|
|
18039
18039
|
const fieldDisabled = disabled || loading;
|
|
18040
|
-
const emailErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess',
|
|
18040
|
+
const emailErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _411 => _411.email]), email);
|
|
18041
18041
|
const handleKeyDown = (event) => {
|
|
18042
18042
|
if (event.key === "Enter" && !fieldDisabled) {
|
|
18043
|
-
_optionalChain([onSubmit, 'optionalCall',
|
|
18043
|
+
_optionalChain([onSubmit, 'optionalCall', _412 => _412()]);
|
|
18044
18044
|
}
|
|
18045
18045
|
};
|
|
18046
18046
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -18062,8 +18062,8 @@ function LoginForm({
|
|
|
18062
18062
|
label: "Email",
|
|
18063
18063
|
placeholder: emailPlaceholder,
|
|
18064
18064
|
value: email,
|
|
18065
|
-
error: _nullishCoalesce(emailErr.error, () => ( _optionalChain([emailStatus, 'optionalAccess',
|
|
18066
|
-
errorVariant: emailErr.error ? "error" : _optionalChain([emailStatus, 'optionalAccess',
|
|
18065
|
+
error: _nullishCoalesce(emailErr.error, () => ( _optionalChain([emailStatus, 'optionalAccess', _413 => _413.message]))),
|
|
18066
|
+
errorVariant: emailErr.error ? "error" : _optionalChain([emailStatus, 'optionalAccess', _414 => _414.variant]),
|
|
18067
18067
|
disabled: fieldDisabled,
|
|
18068
18068
|
onBlur: emailErr.onBlur,
|
|
18069
18069
|
onChange: (event) => onEmailChange(event.target.value),
|
|
@@ -18109,8 +18109,8 @@ function OpenFrameSsoLoginForm({
|
|
|
18109
18109
|
className
|
|
18110
18110
|
}) {
|
|
18111
18111
|
const fieldsDisabled = disabled || loading;
|
|
18112
|
-
const emailErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess',
|
|
18113
|
-
const passwordErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess',
|
|
18112
|
+
const emailErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _415 => _415.email]), email);
|
|
18113
|
+
const passwordErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _416 => _416.password]), password);
|
|
18114
18114
|
const handleKeyDown = (event) => {
|
|
18115
18115
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18116
18116
|
onSubmit();
|
|
@@ -18215,11 +18215,11 @@ function OpenFrameSsoSignUpForm({
|
|
|
18215
18215
|
className
|
|
18216
18216
|
}) {
|
|
18217
18217
|
const fieldsDisabled = disabled || loading;
|
|
18218
|
-
const emailErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess',
|
|
18219
|
-
const firstNameErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess',
|
|
18220
|
-
const lastNameErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess',
|
|
18221
|
-
const passwordErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess',
|
|
18222
|
-
const confirmErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess',
|
|
18218
|
+
const emailErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _417 => _417.email]), email);
|
|
18219
|
+
const firstNameErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _418 => _418.firstName]), firstName);
|
|
18220
|
+
const lastNameErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _419 => _419.lastName]), lastName);
|
|
18221
|
+
const passwordErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _420 => _420.password]), password);
|
|
18222
|
+
const confirmErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _421 => _421.confirmPassword]), confirmPassword);
|
|
18223
18223
|
const handleKeyDown = (event) => {
|
|
18224
18224
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18225
18225
|
onSubmit();
|
|
@@ -18360,8 +18360,8 @@ function PasswordResetForm({
|
|
|
18360
18360
|
className
|
|
18361
18361
|
}) {
|
|
18362
18362
|
const fieldsDisabled = disabled || loading;
|
|
18363
|
-
const passwordErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess',
|
|
18364
|
-
const confirmErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess',
|
|
18363
|
+
const passwordErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _422 => _422.password]), password);
|
|
18364
|
+
const confirmErr = _chunkLEISUAHFcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _423 => _423.confirmPassword]), confirmPassword);
|
|
18365
18365
|
const handleKeyDown = (event) => {
|
|
18366
18366
|
if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
|
|
18367
18367
|
onSubmit();
|
|
@@ -19072,10 +19072,10 @@ var getContentDimensions = (config) => {
|
|
|
19072
19072
|
const envMobileHeight = process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT) : null;
|
|
19073
19073
|
const envDesktopWidth = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH) : null;
|
|
19074
19074
|
const envDesktopHeight = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT) : null;
|
|
19075
|
-
const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess',
|
|
19076
|
-
const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess',
|
|
19077
|
-
const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess',
|
|
19078
|
-
const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess',
|
|
19075
|
+
const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess', _424 => _424.mobileContentDimensions, 'optionalAccess', _425 => _425.width]))), () => ( defaultMobile.width));
|
|
19076
|
+
const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess', _426 => _426.mobileContentDimensions, 'optionalAccess', _427 => _427.height]))), () => ( defaultMobile.height));
|
|
19077
|
+
const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess', _428 => _428.desktopContentDimensions, 'optionalAccess', _429 => _429.width]))), () => ( defaultDesktop.width));
|
|
19078
|
+
const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess', _430 => _430.desktopContentDimensions, 'optionalAccess', _431 => _431.height]))), () => ( defaultDesktop.height));
|
|
19079
19079
|
return {
|
|
19080
19080
|
mobile: { width: mobileWidth, height: mobileHeight },
|
|
19081
19081
|
desktop: { width: desktopWidth, height: desktopHeight }
|
|
@@ -19231,7 +19231,7 @@ function UnifiedUI({ state, handlers, config, iframeRef }) {
|
|
|
19231
19231
|
const contentDimensions = getContentDimensions(config);
|
|
19232
19232
|
const mobileHeight = contentDimensions.mobile.height;
|
|
19233
19233
|
const calculatedHeight = Math.max(mobileHeight + 100, 400);
|
|
19234
|
-
return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess',
|
|
19234
|
+
return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess', _432 => _432.innerHeight]) * 0.85 || 650)}px`;
|
|
19235
19235
|
})(),
|
|
19236
19236
|
minHeight: viewMode === "DESKTOP" ? "auto" : (() => {
|
|
19237
19237
|
const contentDimensions = getContentDimensions(config);
|
|
@@ -19334,7 +19334,7 @@ var FigmaPrototypeViewer = ({
|
|
|
19334
19334
|
const [isInitialized, setIsInitialized] = _react.useState.call(void 0, false);
|
|
19335
19335
|
const [currentNodeId, setCurrentNodeId] = _react.useState.call(void 0, null);
|
|
19336
19336
|
const [internalActiveSection, setInternalActiveSection] = _react.useState.call(void 0,
|
|
19337
|
-
config.defaultSectionId || _optionalChain([config, 'access',
|
|
19337
|
+
config.defaultSectionId || _optionalChain([config, 'access', _433 => _433.sections, 'access', _434 => _434[0], 'optionalAccess', _435 => _435.id]) || ""
|
|
19338
19338
|
);
|
|
19339
19339
|
const activeSection = externalActiveSection || internalActiveSection;
|
|
19340
19340
|
const [isNavigating, setIsNavigating] = _react.useState.call(void 0, false);
|
|
@@ -19432,19 +19432,19 @@ var FigmaPrototypeViewer = ({
|
|
|
19432
19432
|
setIframeState("READY");
|
|
19433
19433
|
break;
|
|
19434
19434
|
case "PRESENTED_NODE_CHANGED":
|
|
19435
|
-
if (_optionalChain([figmaEvent, 'access',
|
|
19435
|
+
if (_optionalChain([figmaEvent, 'access', _436 => _436.data, 'optionalAccess', _437 => _437.presentedNodeId])) {
|
|
19436
19436
|
setCurrentNodeId(figmaEvent.data.presentedNodeId);
|
|
19437
19437
|
if (!isNavigating) {
|
|
19438
19438
|
const matchingSection = configSections.find((s) => {
|
|
19439
|
-
const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access',
|
|
19440
|
-
const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access',
|
|
19439
|
+
const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access', _438 => _438.data, 'optionalAccess', _439 => _439.presentedNodeId]) || s.startingNodeId.replace(":", "-") === _optionalChain([figmaEvent, 'access', _440 => _440.data, 'optionalAccess', _441 => _441.presentedNodeId]);
|
|
19440
|
+
const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access', _442 => _442.data, 'optionalAccess', _443 => _443.presentedNodeId]) || _optionalChain([s, 'access', _444 => _444.mobileStartingNodeId, 'optionalAccess', _445 => _445.replace, 'call', _446 => _446(":", "-")]) === _optionalChain([figmaEvent, 'access', _447 => _447.data, 'optionalAccess', _448 => _448.presentedNodeId]);
|
|
19441
19441
|
return desktopMatch || mobileMatch;
|
|
19442
19442
|
});
|
|
19443
19443
|
if (matchingSection && matchingSection.id !== activeSection) {
|
|
19444
19444
|
if (!externalActiveSection) {
|
|
19445
19445
|
setInternalActiveSection(matchingSection.id);
|
|
19446
19446
|
}
|
|
19447
|
-
_optionalChain([onSectionChange, 'optionalCall',
|
|
19447
|
+
_optionalChain([onSectionChange, 'optionalCall', _449 => _449(matchingSection.id)]);
|
|
19448
19448
|
}
|
|
19449
19449
|
}
|
|
19450
19450
|
}
|
|
@@ -19458,7 +19458,7 @@ var FigmaPrototypeViewer = ({
|
|
|
19458
19458
|
const navigateToSection = _react.useCallback.call(void 0,
|
|
19459
19459
|
(sectionId) => {
|
|
19460
19460
|
const section = config.sections.find((s) => s.id === sectionId);
|
|
19461
|
-
if (!section || !_optionalChain([iframeRef, 'access',
|
|
19461
|
+
if (!section || !_optionalChain([iframeRef, 'access', _450 => _450.current, 'optionalAccess', _451 => _451.contentWindow]) || !isInitialized) {
|
|
19462
19462
|
return;
|
|
19463
19463
|
}
|
|
19464
19464
|
setIsNavigating(true);
|
|
@@ -19466,7 +19466,7 @@ var FigmaPrototypeViewer = ({
|
|
|
19466
19466
|
if (!externalActiveSection) {
|
|
19467
19467
|
setInternalActiveSection(sectionId);
|
|
19468
19468
|
}
|
|
19469
|
-
_optionalChain([config, 'access',
|
|
19469
|
+
_optionalChain([config, 'access', _452 => _452.onSectionChange, 'optionalCall', _453 => _453(sectionId)]);
|
|
19470
19470
|
const command = {
|
|
19471
19471
|
type: "NAVIGATE_TO_FRAME_AND_CLOSE_OVERLAYS",
|
|
19472
19472
|
data: { nodeId }
|
|
@@ -19803,7 +19803,7 @@ var FiltersDropdown = ({
|
|
|
19803
19803
|
defaults[section.id] = section.defaultSelected || [];
|
|
19804
19804
|
});
|
|
19805
19805
|
setSelectedFilters(defaults);
|
|
19806
|
-
_optionalChain([onReset, 'optionalCall',
|
|
19806
|
+
_optionalChain([onReset, 'optionalCall', _454 => _454()]);
|
|
19807
19807
|
setIsOpen(false);
|
|
19808
19808
|
};
|
|
19809
19809
|
const handleApply = () => {
|
|
@@ -20052,7 +20052,7 @@ function MediaGalleryManager({
|
|
|
20052
20052
|
const [draggedIndex, setDraggedIndex] = _react.useState.call(void 0, null);
|
|
20053
20053
|
const handleFileSelect = _react.useCallback.call(void 0,
|
|
20054
20054
|
async (event) => {
|
|
20055
|
-
const file = _optionalChain([event, 'access',
|
|
20055
|
+
const file = _optionalChain([event, 'access', _455 => _455.target, 'access', _456 => _456.files, 'optionalAccess', _457 => _457[0]]);
|
|
20056
20056
|
if (!file) return;
|
|
20057
20057
|
let mediaType;
|
|
20058
20058
|
if (file.type.startsWith("image/")) {
|
|
@@ -20177,7 +20177,7 @@ function MediaGalleryManager({
|
|
|
20177
20177
|
{
|
|
20178
20178
|
type: "button",
|
|
20179
20179
|
variant: "outline",
|
|
20180
|
-
onClick: () => _optionalChain([fileInputRef, 'access',
|
|
20180
|
+
onClick: () => _optionalChain([fileInputRef, 'access', _458 => _458.current, 'optionalAccess', _459 => _459.click, 'call', _460 => _460()]),
|
|
20181
20181
|
disabled: isUploading,
|
|
20182
20182
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
|
|
20183
20183
|
className: "font-bold text-h6",
|
|
@@ -20763,7 +20763,7 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
|
|
|
20763
20763
|
const fileInputRef = _react.useRef.call(void 0, null);
|
|
20764
20764
|
const [uploadingIndex, setUploadingIndex] = _react.useState.call(void 0, null);
|
|
20765
20765
|
const handleFileSelect = async (event) => {
|
|
20766
|
-
const file = _optionalChain([event, 'access',
|
|
20766
|
+
const file = _optionalChain([event, 'access', _461 => _461.target, 'access', _462 => _462.files, 'optionalAccess', _463 => _463[0]]);
|
|
20767
20767
|
if (!file) return;
|
|
20768
20768
|
let mediaType;
|
|
20769
20769
|
if (file.type.startsWith("image/")) {
|
|
@@ -20845,7 +20845,7 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
|
|
|
20845
20845
|
{
|
|
20846
20846
|
type: "button",
|
|
20847
20847
|
variant: "outline",
|
|
20848
|
-
onClick: () => _optionalChain([fileInputRef, 'access',
|
|
20848
|
+
onClick: () => _optionalChain([fileInputRef, 'access', _464 => _464.current, 'optionalAccess', _465 => _465.click, 'call', _466 => _466()]),
|
|
20849
20849
|
disabled: uploadingIndex !== null,
|
|
20850
20850
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
|
|
20851
20851
|
className: "font-bold text-h6",
|
|
@@ -21126,7 +21126,7 @@ function SEOEditorPreview({
|
|
|
21126
21126
|
const displayImage = hasOgImage || hasFeaturedImage;
|
|
21127
21127
|
const handleImageUpload = async (event) => {
|
|
21128
21128
|
if (!onOgImageUpload) return;
|
|
21129
|
-
const file = _optionalChain([event, 'access',
|
|
21129
|
+
const file = _optionalChain([event, 'access', _467 => _467.target, 'access', _468 => _468.files, 'optionalAccess', _469 => _469[0]]);
|
|
21130
21130
|
if (!file) return;
|
|
21131
21131
|
setIsUploading(true);
|
|
21132
21132
|
try {
|
|
@@ -21283,7 +21283,7 @@ function SEOEditorPreview({
|
|
|
21283
21283
|
type: "button",
|
|
21284
21284
|
variant: "outline",
|
|
21285
21285
|
size: "icon",
|
|
21286
|
-
onClick: () => _optionalChain([fileInputRef, 'optionalAccess',
|
|
21286
|
+
onClick: () => _optionalChain([fileInputRef, 'optionalAccess', _470 => _470.click, 'call', _471 => _471()]),
|
|
21287
21287
|
disabled: disabled || isUploading,
|
|
21288
21288
|
className: "rounded-full bg-white text-black opacity-0 hover:bg-gray-100 group-hover:opacity-100",
|
|
21289
21289
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-4 w-4" })
|
|
@@ -21309,7 +21309,7 @@ function SEOEditorPreview({
|
|
|
21309
21309
|
SEO_MEDIA_BOX_HEIGHT,
|
|
21310
21310
|
"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"
|
|
21311
21311
|
),
|
|
21312
|
-
onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess',
|
|
21312
|
+
onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess', _472 => _472.click, 'call', _473 => _473()]),
|
|
21313
21313
|
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: [
|
|
21314
21314
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "mb-2 h-8 w-8 text-ods-text-secondary" }),
|
|
21315
21315
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h6", children: onOgImageUpload ? "Click to upload OG image" : "No image" })
|
|
@@ -21396,7 +21396,7 @@ function SocialLinksManager({
|
|
|
21396
21396
|
className = ""
|
|
21397
21397
|
}) {
|
|
21398
21398
|
const addLink = () => {
|
|
21399
|
-
const firstPlatform = _optionalChain([platforms, 'access',
|
|
21399
|
+
const firstPlatform = _optionalChain([platforms, 'access', _474 => _474[0], 'optionalAccess', _475 => _475.name]) || "website";
|
|
21400
21400
|
onChange([...links, { platform: firstPlatform, url: "" }]);
|
|
21401
21401
|
};
|
|
21402
21402
|
const removeLink = (index) => {
|
|
@@ -21408,7 +21408,7 @@ function SocialLinksManager({
|
|
|
21408
21408
|
onChange(updated);
|
|
21409
21409
|
};
|
|
21410
21410
|
const getIcon = (link, platform) => {
|
|
21411
|
-
const iconKey = _optionalChain([platform, 'optionalAccess',
|
|
21411
|
+
const iconKey = _optionalChain([platform, 'optionalAccess', _476 => _476.icon_name]) || link.platform;
|
|
21412
21412
|
const IconComponent = iconMap[iconKey];
|
|
21413
21413
|
return IconComponent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: "h-5 w-5 text-ods-text-secondary" }) : null;
|
|
21414
21414
|
};
|
|
@@ -21430,7 +21430,7 @@ function SocialLinksManager({
|
|
|
21430
21430
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21431
21431
|
_chunkIKDC3R7Vcjs.Input,
|
|
21432
21432
|
{
|
|
21433
|
-
placeholder: _optionalChain([platform, 'optionalAccess',
|
|
21433
|
+
placeholder: _optionalChain([platform, 'optionalAccess', _477 => _477.placeholder]) || "Profile URL",
|
|
21434
21434
|
value: link.url,
|
|
21435
21435
|
onChange: (e) => updateLink(index, "url", e.target.value),
|
|
21436
21436
|
onKeyDown: (e) => {
|
|
@@ -21826,8 +21826,8 @@ function VideoBitesDisplay({
|
|
|
21826
21826
|
|
|
21827
21827
|
var isAtEnd = (duration, time) => duration > 0 && duration - time < 1;
|
|
21828
21828
|
function theaterSeedFromLive(live, fallbackTime, fallbackMuted) {
|
|
21829
|
-
const time = _nullishCoalesce(_optionalChain([live, 'optionalAccess',
|
|
21830
|
-
const atEnd = isAtEnd(_nullishCoalesce(_optionalChain([live, 'optionalAccess',
|
|
21829
|
+
const time = _nullishCoalesce(_optionalChain([live, 'optionalAccess', _478 => _478.getCurrentTime, 'call', _479 => _479()]), () => ( 0));
|
|
21830
|
+
const atEnd = isAtEnd(_nullishCoalesce(_optionalChain([live, 'optionalAccess', _480 => _480.getDuration, 'call', _481 => _481()]), () => ( 0)), time);
|
|
21831
21831
|
return {
|
|
21832
21832
|
// At end -> start over, never rewind to an unrelated older anchor.
|
|
21833
21833
|
time: atEnd ? 0 : time > 0.5 ? time : fallbackTime,
|
|
@@ -21859,11 +21859,11 @@ function WalkthroughVideo({
|
|
|
21859
21859
|
const inline = placement === "inline";
|
|
21860
21860
|
const dismissEnabled = dismissal !== false;
|
|
21861
21861
|
const storageKey = dismissEnabled && dismissal.storageKey || WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
21862
|
-
const dismissalId = _optionalChain([video, 'optionalAccess',
|
|
21862
|
+
const dismissalId = _optionalChain([video, 'optionalAccess', _482 => _482.id]) != null ? String(video.id) : "dismissed";
|
|
21863
21863
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
21864
21864
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
21865
21865
|
const hasVideo = video != null;
|
|
21866
|
-
const videoId = _optionalChain([video, 'optionalAccess',
|
|
21866
|
+
const videoId = _optionalChain([video, 'optionalAccess', _483 => _483.id]);
|
|
21867
21867
|
_react.useEffect.call(void 0, () => {
|
|
21868
21868
|
let idleHandle = null;
|
|
21869
21869
|
if (!hasVideo) return void 0;
|
|
@@ -21890,9 +21890,9 @@ function WalkthroughVideo({
|
|
|
21890
21890
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
21891
21891
|
if (!hydrated) return false;
|
|
21892
21892
|
try {
|
|
21893
|
-
const reducedMotion = _nullishCoalesce(_optionalChain([window, 'access',
|
|
21893
|
+
const reducedMotion = _nullishCoalesce(_optionalChain([window, 'access', _484 => _484.matchMedia, 'optionalCall', _485 => _485("(prefers-reduced-motion: reduce)"), 'access', _486 => _486.matches]), () => ( false));
|
|
21894
21894
|
const conn = navigator.connection;
|
|
21895
|
-
const saveData = _optionalChain([conn, 'optionalAccess',
|
|
21895
|
+
const saveData = _optionalChain([conn, 'optionalAccess', _487 => _487.saveData]) === true || _optionalChain([conn, 'optionalAccess', _488 => _488.effectiveType]) === "2g" || _optionalChain([conn, 'optionalAccess', _489 => _489.effectiveType]) === "slow-2g";
|
|
21896
21896
|
return Boolean(reducedMotion || saveData);
|
|
21897
21897
|
} catch (e27) {
|
|
21898
21898
|
return false;
|
|
@@ -21925,18 +21925,18 @@ function WalkthroughVideo({
|
|
|
21925
21925
|
const [cardMuted, setCardMuted] = _react.useState.call(void 0, false);
|
|
21926
21926
|
const [cardPaused, setCardPaused] = _react.useState.call(void 0, false);
|
|
21927
21927
|
const [userMuted, setUserMuted] = _react.useState.call(void 0, false);
|
|
21928
|
-
const isYouTube = Boolean(_optionalChain([video, 'optionalAccess',
|
|
21928
|
+
const isYouTube = Boolean(_optionalChain([video, 'optionalAccess', _490 => _490.youtubeUrl]));
|
|
21929
21929
|
const resumeMode = !open && handoff !== null && !isYouTube;
|
|
21930
21930
|
const previewAllowed = !previewSuppressed && !isYouTube;
|
|
21931
21931
|
const footerFadeKey = `${mounted ? 1 : 0}|${inline ? 1 : 0}|${hideNearSelector}|${pathname}`;
|
|
21932
|
-
const footerHidden = _optionalChain([footerObservation, 'optionalAccess',
|
|
21932
|
+
const footerHidden = _optionalChain([footerObservation, 'optionalAccess', _491 => _491.key]) === footerFadeKey && footerObservation.hidden;
|
|
21933
21933
|
_react.useEffect.call(void 0, () => {
|
|
21934
21934
|
if (!mounted) return void 0;
|
|
21935
21935
|
if (inline) return void 0;
|
|
21936
21936
|
const el = typeof document !== "undefined" ? document.querySelector(hideNearSelector) : null;
|
|
21937
21937
|
if (!el || typeof IntersectionObserver === "undefined") return void 0;
|
|
21938
21938
|
const io = new IntersectionObserver(
|
|
21939
|
-
(entries) => setFooterObservation({ key: footerFadeKey, hidden: _nullishCoalesce(_optionalChain([entries, 'access',
|
|
21939
|
+
(entries) => setFooterObservation({ key: footerFadeKey, hidden: _nullishCoalesce(_optionalChain([entries, 'access', _492 => _492[0], 'optionalAccess', _493 => _493.isIntersecting]), () => ( false)) }),
|
|
21940
21940
|
{ rootMargin: "0px 0px -40px 0px" }
|
|
21941
21941
|
);
|
|
21942
21942
|
io.observe(el);
|
|
@@ -21962,7 +21962,7 @@ function WalkthroughVideo({
|
|
|
21962
21962
|
if (!footerHidden) return;
|
|
21963
21963
|
const h = _nullishCoalesce(resumeHandleRef.current, () => ( previewHandleRef.current));
|
|
21964
21964
|
try {
|
|
21965
|
-
_optionalChain([h, 'optionalAccess',
|
|
21965
|
+
_optionalChain([h, 'optionalAccess', _494 => _494.pause, 'call', _495 => _495()]);
|
|
21966
21966
|
} catch (e29) {
|
|
21967
21967
|
}
|
|
21968
21968
|
}, [footerHidden, resumeMode, hovered]);
|
|
@@ -21981,30 +21981,30 @@ function WalkthroughVideo({
|
|
|
21981
21981
|
}, 400);
|
|
21982
21982
|
}
|
|
21983
21983
|
if (openProp === void 0) setOpenState(next);
|
|
21984
|
-
_optionalChain([onOpenChange, 'optionalCall',
|
|
21984
|
+
_optionalChain([onOpenChange, 'optionalCall', _496 => _496(next)]);
|
|
21985
21985
|
},
|
|
21986
21986
|
[openProp, onOpenChange]
|
|
21987
21987
|
);
|
|
21988
21988
|
const pausePreviewNow = _react.useCallback.call(void 0, () => {
|
|
21989
21989
|
const h = _nullishCoalesce(resumeHandleRef.current, () => ( previewHandleRef.current));
|
|
21990
21990
|
try {
|
|
21991
|
-
_optionalChain([h, 'optionalAccess',
|
|
21991
|
+
_optionalChain([h, 'optionalAccess', _497 => _497.pause, 'call', _498 => _498()]);
|
|
21992
21992
|
} catch (e30) {
|
|
21993
21993
|
}
|
|
21994
21994
|
setCardPaused(true);
|
|
21995
21995
|
}, [setCardPaused]);
|
|
21996
21996
|
const openTheater = _react.useCallback.call(void 0, () => {
|
|
21997
21997
|
const handleBeforePause = _nullishCoalesce(resumeHandleRef.current, () => ( previewHandleRef.current));
|
|
21998
|
-
const liveWasPlaying = _optionalChain([handleBeforePause, 'optionalAccess',
|
|
21998
|
+
const liveWasPlaying = _optionalChain([handleBeforePause, 'optionalAccess', _499 => _499.getPaused, 'call', _500 => _500()]) === false;
|
|
21999
21999
|
pausePreviewNow();
|
|
22000
22000
|
const liveHandle = _nullishCoalesce(resumeHandleRef.current, () => ( (cardModeRef.current === "preview" ? previewHandleRef.current : null)));
|
|
22001
|
-
const liveTime = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess',
|
|
22002
|
-
const liveDuration = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess',
|
|
22001
|
+
const liveTime = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess', _501 => _501.getCurrentTime, 'call', _502 => _502()]), () => ( 0));
|
|
22002
|
+
const liveDuration = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess', _503 => _503.getDuration, 'call', _504 => _504()]), () => ( 0));
|
|
22003
22003
|
const liveAtEnd = isAtEnd(liveDuration, liveTime);
|
|
22004
22004
|
const start = {
|
|
22005
22005
|
// At end -> start over. Falling back to `handoff.time` here would rewind
|
|
22006
22006
|
// to an unrelated older anchor (e.g. 3:20) instead of restarting.
|
|
22007
|
-
time: liveAtEnd ? 0 : liveTime > 0.5 ? liveTime : _nullishCoalesce(_optionalChain([handoff, 'optionalAccess',
|
|
22007
|
+
time: liveAtEnd ? 0 : liveTime > 0.5 ? liveTime : _nullishCoalesce(_optionalChain([handoff, 'optionalAccess', _505 => _505.time]), () => ( 0)),
|
|
22008
22008
|
// Live element wins over remembered intent (the theater's own chrome may
|
|
22009
22009
|
// have changed it) — EXCEPT when the element is muted only because
|
|
22010
22010
|
// autoplay policy forced it, which is not intent.
|
|
@@ -22032,7 +22032,7 @@ function WalkthroughVideo({
|
|
|
22032
22032
|
const selfDriven = selfDrivenFor === open;
|
|
22033
22033
|
if (openProp !== void 0 && !selfDriven) {
|
|
22034
22034
|
if (open) {
|
|
22035
|
-
setTheaterStart(theaterSeedFromLive(resumeHandleRef.current, _nullishCoalesce(_optionalChain([handoff, 'optionalAccess',
|
|
22035
|
+
setTheaterStart(theaterSeedFromLive(resumeHandleRef.current, _nullishCoalesce(_optionalChain([handoff, 'optionalAccess', _506 => _506.time]), () => ( 0)), userMuted));
|
|
22036
22036
|
setHovered(false);
|
|
22037
22037
|
setSuspended(false);
|
|
22038
22038
|
setHandoff(null);
|
|
@@ -22118,8 +22118,8 @@ function WalkthroughVideo({
|
|
|
22118
22118
|
});
|
|
22119
22119
|
_react.useEffect.call(void 0, () => {
|
|
22120
22120
|
if (resumeMode) {
|
|
22121
|
-
setCardMuted(_nullishCoalesce(_optionalChain([handoffRef, 'access',
|
|
22122
|
-
setCardPaused(_optionalChain([handoffRef, 'access',
|
|
22121
|
+
setCardMuted(_nullishCoalesce(_optionalChain([handoffRef, 'access', _507 => _507.current, 'optionalAccess', _508 => _508.muted]), () => ( false)));
|
|
22122
|
+
setCardPaused(_optionalChain([handoffRef, 'access', _509 => _509.current, 'optionalAccess', _510 => _510.playing]) === false);
|
|
22123
22123
|
}
|
|
22124
22124
|
}, [resumeMode]);
|
|
22125
22125
|
const [hoverSeeded, setHoverSeeded] = _react.useState.call(void 0, hovered);
|
|
@@ -22201,11 +22201,11 @@ function WalkthroughVideo({
|
|
|
22201
22201
|
},
|
|
22202
22202
|
[cardFallback.blocked, cardPaused, activeHandle, setCardPaused]
|
|
22203
22203
|
);
|
|
22204
|
-
const summaryTitle = _optionalChain([video, 'optionalAccess',
|
|
22205
|
-
const presenterAvatarSrc = _nullishCoalesce(_optionalChain([video, 'optionalAccess',
|
|
22204
|
+
const summaryTitle = _optionalChain([video, 'optionalAccess', _511 => _511.title]) || void 0;
|
|
22205
|
+
const presenterAvatarSrc = _nullishCoalesce(_optionalChain([video, 'optionalAccess', _512 => _512.presenterAvatarUrl]), () => ( null));
|
|
22206
22206
|
const embedUrlKey = _react.useMemo.call(void 0,
|
|
22207
|
-
() => `${_nullishCoalesce(_optionalChain([video, 'optionalAccess',
|
|
22208
|
-
[_optionalChain([video, 'optionalAccess',
|
|
22207
|
+
() => `${_nullishCoalesce(_optionalChain([video, 'optionalAccess', _513 => _513.mainVideoUrl]), () => ( ""))}|${_nullishCoalesce(_optionalChain([video, 'optionalAccess', _514 => _514.youtubeUrl]), () => ( ""))}`,
|
|
22208
|
+
[_optionalChain([video, 'optionalAccess', _515 => _515.mainVideoUrl]), _optionalChain([video, 'optionalAccess', _516 => _516.youtubeUrl])]
|
|
22209
22209
|
);
|
|
22210
22210
|
const cardActive = !open && previewAllowed && hovered && !resumeMode;
|
|
22211
22211
|
const cardMode = resumeMode ? "resume" : cardActive ? "preview" : "poster";
|
|
@@ -22264,7 +22264,7 @@ function WalkthroughVideo({
|
|
|
22264
22264
|
const el = e.target;
|
|
22265
22265
|
let keyboard = false;
|
|
22266
22266
|
try {
|
|
22267
|
-
keyboard = _nullishCoalesce(_optionalChain([el, 'access',
|
|
22267
|
+
keyboard = _nullishCoalesce(_optionalChain([el, 'access', _517 => _517.matches, 'optionalCall', _518 => _518(":focus-visible")]), () => ( false));
|
|
22268
22268
|
} catch (e35) {
|
|
22269
22269
|
keyboard = false;
|
|
22270
22270
|
}
|
|
@@ -22298,9 +22298,9 @@ function WalkthroughVideo({
|
|
|
22298
22298
|
previewHandleRef: cardMode === "resume" ? resumeHandleRef : previewHandleRef,
|
|
22299
22299
|
mutedIntent: userMuted,
|
|
22300
22300
|
continuation: cardMode === "resume",
|
|
22301
|
-
autoPlay: cardMode === "resume" && _optionalChain([handoff, 'optionalAccess',
|
|
22302
|
-
startTime: _optionalChain([resumeHandoff, 'optionalAccess',
|
|
22303
|
-
startMuted: _nullishCoalesce(_optionalChain([resumeHandoff, 'optionalAccess',
|
|
22301
|
+
autoPlay: cardMode === "resume" && _optionalChain([handoff, 'optionalAccess', _519 => _519.playing]) !== false && !footerHidden,
|
|
22302
|
+
startTime: _optionalChain([resumeHandoff, 'optionalAccess', _520 => _520.time]),
|
|
22303
|
+
startMuted: _nullishCoalesce(_optionalChain([resumeHandoff, 'optionalAccess', _521 => _521.muted]), () => ( false)),
|
|
22304
22304
|
onEnded: cardMode === "resume" ? () => setHandoff(null) : () => setCardPaused(true)
|
|
22305
22305
|
},
|
|
22306
22306
|
`card-${embedUrlKey}`
|
|
@@ -22397,7 +22397,7 @@ function WalkthroughVideo({
|
|
|
22397
22397
|
{
|
|
22398
22398
|
onOpenAutoFocus: (e) => {
|
|
22399
22399
|
e.preventDefault();
|
|
22400
|
-
_optionalChain([closeButtonRef, 'access',
|
|
22400
|
+
_optionalChain([closeButtonRef, 'access', _522 => _522.current, 'optionalAccess', _523 => _523.focus, 'call', _524 => _524()]);
|
|
22401
22401
|
},
|
|
22402
22402
|
className: _chunkPRPZBXWZcjs.cn.call(void 0,
|
|
22403
22403
|
// PURE theater: just the video, centered on a dimmed backdrop.
|
|
@@ -22491,14 +22491,14 @@ function useWalkthroughVideo(opts) {
|
|
|
22491
22491
|
if (res.status === 404) return null;
|
|
22492
22492
|
if (!res.ok) throw new Error(`Walkthrough video request failed (${res.status})`);
|
|
22493
22493
|
const body = await res.json();
|
|
22494
|
-
return _nullishCoalesce(_optionalChain([body, 'optionalAccess',
|
|
22494
|
+
return _nullishCoalesce(_optionalChain([body, 'optionalAccess', _525 => _525.walkthroughVideo]), () => ( null));
|
|
22495
22495
|
},
|
|
22496
22496
|
// Per-observer transform — NEVER mutate the cached data. `select` also runs
|
|
22497
22497
|
// over `initialData`, so the SSR seed is rewritten too. Keeping the proxy
|
|
22498
22498
|
// rewrite here (not in queryFn) means a second consumer of the same
|
|
22499
22499
|
// endpoint can't inherit this observer's proxied captionsUrl from the cache.
|
|
22500
22500
|
select: (video) => {
|
|
22501
|
-
if (!_optionalChain([video, 'optionalAccess',
|
|
22501
|
+
if (!_optionalChain([video, 'optionalAccess', _526 => _526.captionsUrl])) return video;
|
|
22502
22502
|
if (transformCaptionsUrl && video.captionsUrl.startsWith("/")) {
|
|
22503
22503
|
return { ...video, captionsUrl: transformCaptionsUrl(video.captionsUrl) };
|
|
22504
22504
|
}
|
|
@@ -22545,7 +22545,7 @@ function VideoSourceSelector({
|
|
|
22545
22545
|
input.accept = "video/*";
|
|
22546
22546
|
input.onchange = async (e) => {
|
|
22547
22547
|
const target = e.target;
|
|
22548
|
-
const file = _optionalChain([target, 'access',
|
|
22548
|
+
const file = _optionalChain([target, 'access', _527 => _527.files, 'optionalAccess', _528 => _528[0]]);
|
|
22549
22549
|
if (!file) return;
|
|
22550
22550
|
setIsUploading(true);
|
|
22551
22551
|
setUploadProgress(0);
|
|
@@ -22721,7 +22721,7 @@ function SubtitlesEditor({
|
|
|
22721
22721
|
{
|
|
22722
22722
|
id,
|
|
22723
22723
|
value: subtitles || "",
|
|
22724
|
-
onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall',
|
|
22724
|
+
onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall', _529 => _529(e.target.value)]),
|
|
22725
22725
|
placeholder,
|
|
22726
22726
|
disabled: disabled || !onSubtitlesChange,
|
|
22727
22727
|
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",
|
|
@@ -22950,7 +22950,7 @@ var AIEnrichSection = ({
|
|
|
22950
22950
|
}) => {
|
|
22951
22951
|
const hasResults = status === "success" || status === "error";
|
|
22952
22952
|
const shouldDisable = disabled || !canEnrich;
|
|
22953
|
-
const unfilledFields = _optionalChain([requiredFields, 'optionalAccess',
|
|
22953
|
+
const unfilledFields = _optionalChain([requiredFields, 'optionalAccess', _530 => _530.filter, 'call', _531 => _531((f) => !f.isFilled)]) || [];
|
|
22954
22954
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22955
22955
|
"div",
|
|
22956
22956
|
{
|
|
@@ -22982,7 +22982,7 @@ var AIEnrichSection = ({
|
|
|
22982
22982
|
{
|
|
22983
22983
|
id: "ai-enrich-custom-instructions",
|
|
22984
22984
|
value: _nullishCoalesce(customInstructions, () => ( "")),
|
|
22985
|
-
onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall',
|
|
22985
|
+
onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall', _532 => _532(e.target.value)]),
|
|
22986
22986
|
placeholder: customInstructionsPlaceholder,
|
|
22987
22987
|
disabled: loading,
|
|
22988
22988
|
maxLength: customInstructionsMaxLength,
|
|
@@ -23104,7 +23104,7 @@ function HighlightVideoSection({
|
|
|
23104
23104
|
input.accept = "video/*";
|
|
23105
23105
|
input.onchange = async (e) => {
|
|
23106
23106
|
const target = e.target;
|
|
23107
|
-
const file = _optionalChain([target, 'access',
|
|
23107
|
+
const file = _optionalChain([target, 'access', _533 => _533.files, 'optionalAccess', _534 => _534[0]]);
|
|
23108
23108
|
if (!file) return;
|
|
23109
23109
|
setUploadError(null);
|
|
23110
23110
|
try {
|
|
@@ -23531,7 +23531,7 @@ function HighlightVideoPreview({
|
|
|
23531
23531
|
input.accept = "video/*";
|
|
23532
23532
|
input.onchange = async (e) => {
|
|
23533
23533
|
const target = e.target;
|
|
23534
|
-
const file = _optionalChain([target, 'access',
|
|
23534
|
+
const file = _optionalChain([target, 'access', _535 => _535.files, 'optionalAccess', _536 => _536[0]]);
|
|
23535
23535
|
if (!file) return;
|
|
23536
23536
|
await onUpload(file);
|
|
23537
23537
|
};
|
|
@@ -23715,7 +23715,7 @@ function HighlightVideoCombinedSection({
|
|
|
23715
23715
|
input.accept = "video/*";
|
|
23716
23716
|
input.onchange = async (e) => {
|
|
23717
23717
|
const target = e.target;
|
|
23718
|
-
const file = _optionalChain([target, 'access',
|
|
23718
|
+
const file = _optionalChain([target, 'access', _537 => _537.files, 'optionalAccess', _538 => _538[0]]);
|
|
23719
23719
|
if (!file) return;
|
|
23720
23720
|
await onUpload(file);
|
|
23721
23721
|
};
|
|
@@ -24414,19 +24414,19 @@ function NotificationsProvider({
|
|
|
24414
24414
|
}, []);
|
|
24415
24415
|
const markRead = _react.useCallback.call(void 0, (id) => {
|
|
24416
24416
|
dispatch({ type: "markRead", id });
|
|
24417
|
-
void _optionalChain([actionsRef, 'access',
|
|
24417
|
+
void _optionalChain([actionsRef, 'access', _539 => _539.current, 'optionalAccess', _540 => _540.onMarkRead, 'optionalCall', _541 => _541(id)]);
|
|
24418
24418
|
}, []);
|
|
24419
24419
|
const markAllRead = _react.useCallback.call(void 0, () => {
|
|
24420
24420
|
dispatch({ type: "markAllRead" });
|
|
24421
|
-
void _optionalChain([actionsRef, 'access',
|
|
24421
|
+
void _optionalChain([actionsRef, 'access', _542 => _542.current, 'optionalAccess', _543 => _543.onMarkAllRead, 'optionalCall', _544 => _544()]);
|
|
24422
24422
|
}, []);
|
|
24423
24423
|
const markSettled = _react.useCallback.call(void 0, (id) => {
|
|
24424
24424
|
dispatch({ type: "markSettled", id });
|
|
24425
|
-
void _optionalChain([actionsRef, 'access',
|
|
24425
|
+
void _optionalChain([actionsRef, 'access', _545 => _545.current, 'optionalAccess', _546 => _546.onMarkSettled, 'optionalCall', _547 => _547(id)]);
|
|
24426
24426
|
}, []);
|
|
24427
24427
|
const remove = _react.useCallback.call(void 0, (id) => {
|
|
24428
24428
|
dispatch({ type: "remove", id });
|
|
24429
|
-
void _optionalChain([actionsRef, 'access',
|
|
24429
|
+
void _optionalChain([actionsRef, 'access', _548 => _548.current, 'optionalAccess', _549 => _549.onRemove, 'optionalCall', _550 => _550(id)]);
|
|
24430
24430
|
}, []);
|
|
24431
24431
|
const clear = _react.useCallback.call(void 0, () => dispatch({ type: "clear" }), []);
|
|
24432
24432
|
const open = _react.useCallback.call(void 0, () => setIsOpen(true), []);
|
|
@@ -24435,14 +24435,14 @@ function NotificationsProvider({
|
|
|
24435
24435
|
const setShowPopups = _react.useCallback.call(void 0,
|
|
24436
24436
|
(value2) => {
|
|
24437
24437
|
setShowPopupsState(value2);
|
|
24438
|
-
_optionalChain([onShowPopupsChange, 'optionalCall',
|
|
24438
|
+
_optionalChain([onShowPopupsChange, 'optionalCall', _551 => _551(value2)]);
|
|
24439
24439
|
},
|
|
24440
24440
|
[onShowPopupsChange]
|
|
24441
24441
|
);
|
|
24442
24442
|
const setShowDesktopPopups = _react.useCallback.call(void 0,
|
|
24443
24443
|
(value2) => {
|
|
24444
24444
|
setShowDesktopPopupsState(value2);
|
|
24445
|
-
_optionalChain([onShowDesktopPopupsChange, 'optionalCall',
|
|
24445
|
+
_optionalChain([onShowDesktopPopupsChange, 'optionalCall', _552 => _552(value2)]);
|
|
24446
24446
|
},
|
|
24447
24447
|
[onShowDesktopPopupsChange]
|
|
24448
24448
|
);
|
|
@@ -24558,7 +24558,7 @@ var AppLayoutDrawerRoot = ({
|
|
|
24558
24558
|
const handleOpenChange = _react.useCallback.call(void 0,
|
|
24559
24559
|
(next) => {
|
|
24560
24560
|
if (!isControlled) setInternalOpen(next);
|
|
24561
|
-
_optionalChain([onOpenChange, 'optionalCall',
|
|
24561
|
+
_optionalChain([onOpenChange, 'optionalCall', _553 => _553(next)]);
|
|
24562
24562
|
},
|
|
24563
24563
|
[isControlled, onOpenChange]
|
|
24564
24564
|
);
|
|
@@ -24575,9 +24575,9 @@ var AppLayoutDrawerRoot = ({
|
|
|
24575
24575
|
}
|
|
24576
24576
|
}));
|
|
24577
24577
|
_react.useEffect.call(void 0, () => {
|
|
24578
|
-
if (open) _optionalChain([coordination, 'optionalAccess',
|
|
24578
|
+
if (open) _optionalChain([coordination, 'optionalAccess', _554 => _554.notifyDrawerDidOpen, 'call', _555 => _555(selfHandle)]);
|
|
24579
24579
|
}, [open, coordination, selfHandle]);
|
|
24580
|
-
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess',
|
|
24580
|
+
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess', _556 => _556.registerDrawer, 'call', _557 => _557(selfHandle)]), [coordination, selfHandle]);
|
|
24581
24581
|
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 }) });
|
|
24582
24582
|
};
|
|
24583
24583
|
AppLayoutDrawerRoot.displayName = "AppLayoutDrawer";
|
|
@@ -24930,10 +24930,10 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
24930
24930
|
),
|
|
24931
24931
|
style,
|
|
24932
24932
|
onInteractOutside: (event) => {
|
|
24933
|
-
_optionalChain([onInteractOutside, 'optionalCall',
|
|
24933
|
+
_optionalChain([onInteractOutside, 'optionalCall', _558 => _558(event)]);
|
|
24934
24934
|
if (event.defaultPrevented) return;
|
|
24935
24935
|
const target = event.target;
|
|
24936
|
-
const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess',
|
|
24936
|
+
const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess', _559 => _559.contains, 'call', _560 => _560(target)]);
|
|
24937
24937
|
if (!isInsideContainer) {
|
|
24938
24938
|
event.preventDefault();
|
|
24939
24939
|
return;
|
|
@@ -25036,7 +25036,7 @@ function NotificationTile({
|
|
|
25036
25036
|
if (!counting) return void 0;
|
|
25037
25037
|
const remaining = Math.max(0, liveDurationMs - initialElapsed);
|
|
25038
25038
|
const timer = window.setTimeout(() => {
|
|
25039
|
-
_optionalChain([onSettle, 'optionalCall',
|
|
25039
|
+
_optionalChain([onSettle, 'optionalCall', _561 => _561(id)]);
|
|
25040
25040
|
}, remaining);
|
|
25041
25041
|
return () => window.clearTimeout(timer);
|
|
25042
25042
|
}, [id, counting, initialElapsed, liveDurationMs, onSettle]);
|
|
@@ -25076,7 +25076,7 @@ function NotificationTile({
|
|
|
25076
25076
|
active: isLive,
|
|
25077
25077
|
label: "Dismiss notification",
|
|
25078
25078
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.XmarkIcon, { size: 16 }),
|
|
25079
|
-
onClick: () => _optionalChain([onSettle, 'optionalCall',
|
|
25079
|
+
onClick: () => _optionalChain([onSettle, 'optionalCall', _562 => _562(id)])
|
|
25080
25080
|
},
|
|
25081
25081
|
{
|
|
25082
25082
|
active: !isLive,
|
|
@@ -25264,7 +25264,7 @@ function DrawerScrollList({
|
|
|
25264
25264
|
if (!sentinel || !root) return void 0;
|
|
25265
25265
|
const observer = new IntersectionObserver(
|
|
25266
25266
|
(entries) => {
|
|
25267
|
-
if (_optionalChain([entries, 'access',
|
|
25267
|
+
if (_optionalChain([entries, 'access', _563 => _563[0], 'optionalAccess', _564 => _564.isIntersecting])) _optionalChain([loadMoreRef, 'access', _565 => _565.current, 'optionalCall', _566 => _566()]);
|
|
25268
25268
|
},
|
|
25269
25269
|
{ root, rootMargin: loadMoreRootMargin }
|
|
25270
25270
|
);
|
|
@@ -25279,7 +25279,7 @@ function DrawerScrollList({
|
|
|
25279
25279
|
className: "flex flex-1 flex-col gap-[var(--spacing-system-xs)] overflow-y-auto px-[var(--spacing-system-m)]",
|
|
25280
25280
|
children: isEmpty && !isLoadingMore ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmptyState, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
25281
25281
|
unreadNotifications.map((n) => {
|
|
25282
|
-
const custom = _optionalChain([renderTile, 'optionalCall',
|
|
25282
|
+
const custom = _optionalChain([renderTile, 'optionalCall', _567 => _567(n, { onComplete, onSettle, liveDurationMs })]);
|
|
25283
25283
|
if (custom) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: custom }, n.id);
|
|
25284
25284
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25285
25285
|
NotificationTile,
|
|
@@ -25399,7 +25399,7 @@ function NotificationPopups({
|
|
|
25399
25399
|
}) {
|
|
25400
25400
|
const ctx = useOptionalNotifications();
|
|
25401
25401
|
const [now, setNow] = _react.useState.call(void 0, () => Date.now());
|
|
25402
|
-
const hasAgeingNotifications = Boolean(_optionalChain([ctx, 'optionalAccess',
|
|
25402
|
+
const hasAgeingNotifications = Boolean(_optionalChain([ctx, 'optionalAccess', _568 => _568.notifications, 'access', _569 => _569.some, 'call', _570 => _570((n) => !n.read && !n.settled)]));
|
|
25403
25403
|
_react.useEffect.call(void 0, () => {
|
|
25404
25404
|
if (!hasAgeingNotifications) return void 0;
|
|
25405
25405
|
const id = setInterval(() => setNow(Date.now()), 500);
|
|
@@ -25442,7 +25442,7 @@ function NotificationPopups({
|
|
|
25442
25442
|
className
|
|
25443
25443
|
),
|
|
25444
25444
|
children: live.map((n) => {
|
|
25445
|
-
const custom = _optionalChain([renderTile, 'optionalCall',
|
|
25445
|
+
const custom = _optionalChain([renderTile, 'optionalCall', _571 => _571(n, { onComplete: markRead, onSettle: markSettled, liveDurationMs })]);
|
|
25446
25446
|
if (custom) {
|
|
25447
25447
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-auto", children: custom }, n.id);
|
|
25448
25448
|
}
|
|
@@ -25481,21 +25481,21 @@ function NotificationPopups({
|
|
|
25481
25481
|
// src/components/features/notifications/types.ts
|
|
25482
25482
|
var ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = "ADMIN_APPROVAL_REQUEST";
|
|
25483
25483
|
function isApprovalNotification(notification) {
|
|
25484
|
-
return _optionalChain([notification, 'access',
|
|
25484
|
+
return _optionalChain([notification, 'access', _572 => _572.meta, 'optionalAccess', _573 => _573.contextType]) === ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE;
|
|
25485
25485
|
}
|
|
25486
25486
|
function getApprovalMeta(notification) {
|
|
25487
25487
|
if (!isApprovalNotification(notification)) return null;
|
|
25488
25488
|
const meta = notification.meta;
|
|
25489
|
-
const approvalRequestId = _optionalChain([meta, 'optionalAccess',
|
|
25490
|
-
const toolCalls = _optionalChain([meta, 'optionalAccess',
|
|
25489
|
+
const approvalRequestId = _optionalChain([meta, 'optionalAccess', _574 => _574.approvalRequestId]);
|
|
25490
|
+
const toolCalls = _optionalChain([meta, 'optionalAccess', _575 => _575.toolCalls]);
|
|
25491
25491
|
if (typeof approvalRequestId !== "string" || !Array.isArray(toolCalls)) return null;
|
|
25492
25492
|
return {
|
|
25493
25493
|
approvalRequestId,
|
|
25494
|
-
dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
25495
|
-
ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
25496
|
-
approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
25497
|
-
resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
25498
|
-
resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
25494
|
+
dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _576 => _576.dialogId]), () => ( null)),
|
|
25495
|
+
ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _577 => _577.ticketId]), () => ( null)),
|
|
25496
|
+
approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _578 => _578.approvalType]), () => ( null)),
|
|
25497
|
+
resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _579 => _579.resolution]), () => ( null)),
|
|
25498
|
+
resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _580 => _580.resolvedByName]), () => ( null)),
|
|
25499
25499
|
toolCalls
|
|
25500
25500
|
};
|
|
25501
25501
|
}
|
|
@@ -25545,7 +25545,7 @@ function ApprovalRequestNotificationTile({
|
|
|
25545
25545
|
const [processing, setProcessing] = _react.useState.call(void 0, false);
|
|
25546
25546
|
const [localStatus, setLocalStatus] = _react.useState.call(void 0, null);
|
|
25547
25547
|
const approval = getApprovalMeta(notification);
|
|
25548
|
-
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess',
|
|
25548
|
+
const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _581 => _581.resolution]));
|
|
25549
25549
|
const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
|
|
25550
25550
|
const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
|
|
25551
25551
|
const { innerRef, containerStyle } = _chunkYU2UJPATcjs.useCollapsible.call(void 0, { expanded });
|
|
@@ -25867,7 +25867,7 @@ function TimeTrackerPanel({
|
|
|
25867
25867
|
error: showFieldError ? "Required if no notes added" : void 0,
|
|
25868
25868
|
disableClientFilter: !!onTicketSearch,
|
|
25869
25869
|
onInputChange: (value, reason) => {
|
|
25870
|
-
if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall',
|
|
25870
|
+
if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall', _582 => _582(value)]);
|
|
25871
25871
|
}
|
|
25872
25872
|
}
|
|
25873
25873
|
),
|
|
@@ -25882,7 +25882,7 @@ function TimeTrackerPanel({
|
|
|
25882
25882
|
disabled: customerLocked,
|
|
25883
25883
|
disableClientFilter: !!onCustomerSearch,
|
|
25884
25884
|
onInputChange: (value, reason) => {
|
|
25885
|
-
if (reason === "input") _optionalChain([onCustomerSearch, 'optionalCall',
|
|
25885
|
+
if (reason === "input") _optionalChain([onCustomerSearch, 'optionalCall', _583 => _583(value)]);
|
|
25886
25886
|
},
|
|
25887
25887
|
startAdornment: customerStartAdornment,
|
|
25888
25888
|
renderOption: renderCustomerOption
|
|
@@ -25984,7 +25984,7 @@ function LastEntryRow({ entry, onClick }) {
|
|
|
25984
25984
|
{
|
|
25985
25985
|
variant: "outline",
|
|
25986
25986
|
size: "icon",
|
|
25987
|
-
onClick: () => _optionalChain([onClick, 'optionalCall',
|
|
25987
|
+
onClick: () => _optionalChain([onClick, 'optionalCall', _584 => _584(entry)]),
|
|
25988
25988
|
disabled: !onClick,
|
|
25989
25989
|
"aria-label": `Open entry: ${entry.title}`,
|
|
25990
25990
|
className: "h-12 w-12 shrink-0 [&_svg]:!size-6",
|
|
@@ -26068,28 +26068,28 @@ function HeaderButton({
|
|
|
26068
26068
|
function TimeTrackerHeaderButton({ className, disabled }) {
|
|
26069
26069
|
const ctx = useOptionalTimeTracker();
|
|
26070
26070
|
const elapsedLabel = useTrackerClock({
|
|
26071
|
-
status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess',
|
|
26072
|
-
runningSince: _optionalChain([ctx, 'optionalAccess',
|
|
26073
|
-
accumulatedMs: _optionalChain([ctx, 'optionalAccess',
|
|
26071
|
+
status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _585 => _585.status]), () => ( "ready")),
|
|
26072
|
+
runningSince: _optionalChain([ctx, 'optionalAccess', _586 => _586.runningSince]),
|
|
26073
|
+
accumulatedMs: _optionalChain([ctx, 'optionalAccess', _587 => _587.accumulatedMs])
|
|
26074
26074
|
});
|
|
26075
26075
|
const layoutContainer = useAppLayoutDrawerContainer();
|
|
26076
26076
|
const coordination = useAppLayoutDrawerCoordination();
|
|
26077
|
-
const isOpen = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess',
|
|
26077
|
+
const isOpen = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _588 => _588.isOpen]), () => ( false));
|
|
26078
26078
|
const isOpenRef = _react.useRef.call(void 0, isOpen);
|
|
26079
|
-
const closeRef = _react.useRef.call(void 0, _optionalChain([ctx, 'optionalAccess',
|
|
26079
|
+
const closeRef = _react.useRef.call(void 0, _optionalChain([ctx, 'optionalAccess', _589 => _589.close]));
|
|
26080
26080
|
_react.useEffect.call(void 0, () => {
|
|
26081
26081
|
isOpenRef.current = isOpen;
|
|
26082
|
-
closeRef.current = _optionalChain([ctx, 'optionalAccess',
|
|
26082
|
+
closeRef.current = _optionalChain([ctx, 'optionalAccess', _590 => _590.close]);
|
|
26083
26083
|
});
|
|
26084
26084
|
const [selfHandle] = _react.useState.call(void 0, () => ({
|
|
26085
26085
|
close: () => {
|
|
26086
|
-
if (isOpenRef.current) _optionalChain([closeRef, 'access',
|
|
26086
|
+
if (isOpenRef.current) _optionalChain([closeRef, 'access', _591 => _591.current, 'optionalCall', _592 => _592()]);
|
|
26087
26087
|
}
|
|
26088
26088
|
}));
|
|
26089
26089
|
_react.useEffect.call(void 0, () => {
|
|
26090
|
-
if (isOpen) _optionalChain([coordination, 'optionalAccess',
|
|
26090
|
+
if (isOpen) _optionalChain([coordination, 'optionalAccess', _593 => _593.notifyDrawerDidOpen, 'call', _594 => _594(selfHandle)]);
|
|
26091
26091
|
}, [isOpen, coordination, selfHandle]);
|
|
26092
|
-
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess',
|
|
26092
|
+
_react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess', _595 => _595.registerDrawer, 'call', _596 => _596(selfHandle)]), [coordination, selfHandle]);
|
|
26093
26093
|
if (!ctx) return null;
|
|
26094
26094
|
const { open, close, status } = ctx;
|
|
26095
26095
|
const isPaused = status === "paused";
|
|
@@ -26221,7 +26221,7 @@ function autoScrollAncestors(element) {
|
|
|
26221
26221
|
|
|
26222
26222
|
// src/components/features/board/aim.ts
|
|
26223
26223
|
var _closestedge = require('@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge');
|
|
26224
|
-
var othersIn = (columns, columnId, ticketId) => (_nullishCoalesce(_optionalChain([columns, 'access',
|
|
26224
|
+
var othersIn = (columns, columnId, ticketId) => (_nullishCoalesce(_optionalChain([columns, 'access', _597 => _597.find, 'call', _598 => _598((c) => c.id === columnId), 'optionalAccess', _599 => _599.tickets]), () => ( []))).filter((t) => t.id !== ticketId);
|
|
26225
26225
|
function laneOf(columns, ticketId) {
|
|
26226
26226
|
return _nullishCoalesce(columns.find((c) => c.tickets.some((t) => t.id === ticketId)), () => ( null));
|
|
26227
26227
|
}
|
|
@@ -26265,11 +26265,11 @@ function aimToChange(columns, ticketId, aim) {
|
|
|
26265
26265
|
const lane = laneOf(columns, ticketId);
|
|
26266
26266
|
if (!lane) return null;
|
|
26267
26267
|
const others = othersIn(columns, aim.columnId, ticketId);
|
|
26268
|
-
const afterTicketId = _nullishCoalesce(_optionalChain([others, 'access',
|
|
26269
|
-
const beforeTicketId = _nullishCoalesce(_optionalChain([others, 'access',
|
|
26268
|
+
const afterTicketId = _nullishCoalesce(_optionalChain([others, 'access', _600 => _600[aim.index - 1], 'optionalAccess', _601 => _601.id]), () => ( null));
|
|
26269
|
+
const beforeTicketId = _nullishCoalesce(_optionalChain([others, 'access', _602 => _602[aim.index], 'optionalAccess', _603 => _603.id]), () => ( null));
|
|
26270
26270
|
if (lane.id === aim.columnId) {
|
|
26271
26271
|
const currentIndex = lane.tickets.findIndex((t) => t.id === ticketId);
|
|
26272
|
-
if ((_nullishCoalesce(_optionalChain([lane, 'access',
|
|
26272
|
+
if ((_nullishCoalesce(_optionalChain([lane, 'access', _604 => _604.tickets, 'access', _605 => _605[currentIndex - 1], 'optionalAccess', _606 => _606.id]), () => ( null))) === afterTicketId) return null;
|
|
26273
26273
|
}
|
|
26274
26274
|
return { ticketId, fromColumnId: lane.id, toColumnId: aim.columnId, afterTicketId, beforeTicketId };
|
|
26275
26275
|
}
|
|
@@ -26540,14 +26540,14 @@ function useIsLanding(ticketId) {
|
|
|
26540
26540
|
return _react.useContext.call(void 0, LandingCardContext) === ticketId;
|
|
26541
26541
|
}
|
|
26542
26542
|
function hasMoveSettled(columns, move) {
|
|
26543
|
-
const tickets = _optionalChain([columns, 'access',
|
|
26543
|
+
const tickets = _optionalChain([columns, 'access', _607 => _607.find, 'call', _608 => _608((c) => c.id === move.toColumnId), 'optionalAccess', _609 => _609.tickets]);
|
|
26544
26544
|
if (!tickets) return false;
|
|
26545
26545
|
const index = tickets.findIndex((t) => t.id === move.ticketId);
|
|
26546
26546
|
if (index < 0) return false;
|
|
26547
26547
|
if (move.fromColumnId === move.toColumnId) {
|
|
26548
|
-
return (_nullishCoalesce(_optionalChain([tickets, 'access',
|
|
26548
|
+
return (_nullishCoalesce(_optionalChain([tickets, 'access', _610 => _610[index - 1], 'optionalAccess', _611 => _611.id]), () => ( null))) === move.afterTicketId;
|
|
26549
26549
|
}
|
|
26550
|
-
return !_optionalChain([columns, 'access',
|
|
26550
|
+
return !_optionalChain([columns, 'access', _612 => _612.find, 'call', _613 => _613((c) => c.id === move.fromColumnId), 'optionalAccess', _614 => _614.tickets, 'access', _615 => _615.some, 'call', _616 => _616((t) => t.id === move.ticketId)]);
|
|
26551
26551
|
}
|
|
26552
26552
|
|
|
26553
26553
|
// src/components/features/board/ticket-card.tsx
|
|
@@ -26572,9 +26572,9 @@ var TICKET_CARD_SHELL = "relative flex flex-col gap-[var(--spacing-system-sf)] r
|
|
|
26572
26572
|
function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onReject }) {
|
|
26573
26573
|
const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
|
|
26574
26574
|
const newMessageTextColor = columnColor ? _chunkYU2UJPATcjs.getReadableTextColor.call(void 0, columnColor) : void 0;
|
|
26575
|
-
const showDeviceRow = !!(_optionalChain([ticket, 'access',
|
|
26576
|
-
const deviceText = [_optionalChain([ticket, 'access',
|
|
26577
|
-
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access',
|
|
26575
|
+
const showDeviceRow = !!(_optionalChain([ticket, 'access', _617 => _617.deviceHostnames, 'optionalAccess', _618 => _618.length]) || ticket.organizationName);
|
|
26576
|
+
const deviceText = [_optionalChain([ticket, 'access', _619 => _619.deviceHostnames, 'optionalAccess', _620 => _620.join, 'call', _621 => _621(", ")]), ticket.organizationName].filter(Boolean).join(", ");
|
|
26577
|
+
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _622 => _622.assignees, 'optionalAccess', _623 => _623.length]) || renderAssignSlot);
|
|
26578
26578
|
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: [
|
|
26579
26579
|
ticket.priority && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26580
26580
|
_chunkGSQM4PDRcjs.Flag02Icon,
|
|
@@ -26583,7 +26583,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
26583
26583
|
"aria-label": `Priority: ${ticket.priority}`
|
|
26584
26584
|
}
|
|
26585
26585
|
),
|
|
26586
|
-
renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access',
|
|
26586
|
+
renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _624 => _624.assignees, 'optionalAccess', _625 => _625.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
|
|
26587
26587
|
ticket.assignees.slice(0, MAX_VISIBLE_ASSIGNEES).map(
|
|
26588
26588
|
(a) => a.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26589
26589
|
DeletedUserAvatar,
|
|
@@ -26623,7 +26623,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
26623
26623
|
] }),
|
|
26624
26624
|
rightSection
|
|
26625
26625
|
] }),
|
|
26626
|
-
_optionalChain([ticket, 'access',
|
|
26626
|
+
_optionalChain([ticket, 'access', _626 => _626.tags, 'optionalAccess', _627 => _627.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
|
|
26627
26627
|
timestampLabel && tooltipLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYU2UJPATcjs.TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYU2UJPATcjs.Tooltip, { children: [
|
|
26628
26628
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYU2UJPATcjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "pointer-events-auto truncate text-ods-text-secondary text-h6", children: timestampLabel }) }),
|
|
26629
26629
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYU2UJPATcjs.TooltipContent, { children: tooltipLabel })
|
|
@@ -26690,7 +26690,7 @@ var TicketCard = _react.memo.call(void 0, function TicketCardImpl({
|
|
|
26690
26690
|
const isLanding = useIsLanding(ticket.id);
|
|
26691
26691
|
const aim = useDropAim();
|
|
26692
26692
|
const closestEdge = aim && aim.columnId === columnId && aim.ticketId === ticket.id ? aim.edge : null;
|
|
26693
|
-
const isSource = isDragging || _optionalChain([aim, 'optionalAccess',
|
|
26693
|
+
const isSource = isDragging || _optionalChain([aim, 'optionalAccess', _628 => _628.ticket, 'access', _629 => _629.id]) === ticket.id;
|
|
26694
26694
|
const lift = useBoardLift();
|
|
26695
26695
|
const handleKeyDown = (e) => {
|
|
26696
26696
|
if (e.key !== " " || dragDisabled || !lift) return;
|
|
@@ -26943,7 +26943,7 @@ var BoardColumn = _react.memo.call(void 0, function BoardColumnImpl({
|
|
|
26943
26943
|
// large ones like the only thing that did.
|
|
26944
26944
|
getData: ({ input, element: lane, source }) => {
|
|
26945
26945
|
const nearest = nearestCardIn(lane, input.clientY, String(source.data.ticketId));
|
|
26946
|
-
const ticketId = _optionalChain([nearest, 'optionalAccess',
|
|
26946
|
+
const ticketId = _optionalChain([nearest, 'optionalAccess', _630 => _630.dataset, 'access', _631 => _631.ticketId]);
|
|
26947
26947
|
if (!nearest || !ticketId) return { type: "column", columnId: column.id };
|
|
26948
26948
|
return _closestedge.attachClosestEdge.call(void 0,
|
|
26949
26949
|
{ type: "ticket", ticketId, columnId: column.id },
|
|
@@ -26955,7 +26955,7 @@ var BoardColumn = _react.memo.call(void 0, function BoardColumnImpl({
|
|
|
26955
26955
|
onDrop: () => setIsOver(false)
|
|
26956
26956
|
});
|
|
26957
26957
|
}, [column.id, column.dropDisabled, column.allowedFromColumns, collapsed, touchMode]);
|
|
26958
|
-
const handleToggleCollapse = _react.useCallback.call(void 0, () => _optionalChain([onToggleCollapse, 'optionalCall',
|
|
26958
|
+
const handleToggleCollapse = _react.useCallback.call(void 0, () => _optionalChain([onToggleCollapse, 'optionalCall', _632 => _632(column.id)]), [onToggleCollapse, column.id]);
|
|
26959
26959
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
26960
26960
|
"div",
|
|
26961
26961
|
{
|
|
@@ -27034,7 +27034,7 @@ function ColumnBody({
|
|
|
27034
27034
|
const observer = new IntersectionObserver(
|
|
27035
27035
|
(entries) => {
|
|
27036
27036
|
if (entries.some((e) => e.isIntersecting)) {
|
|
27037
|
-
_optionalChain([loadMoreRef, 'access',
|
|
27037
|
+
_optionalChain([loadMoreRef, 'access', _633 => _633.current, 'optionalCall', _634 => _634(columnIdRef.current)]);
|
|
27038
27038
|
}
|
|
27039
27039
|
},
|
|
27040
27040
|
{ root, rootMargin: loadMoreRootMargin }
|
|
@@ -27059,7 +27059,7 @@ function ColumnBody({
|
|
|
27059
27059
|
ticket: t,
|
|
27060
27060
|
columnId: column.id,
|
|
27061
27061
|
columnColor: column.color,
|
|
27062
|
-
href: _optionalChain([getTicketHref, 'optionalCall',
|
|
27062
|
+
href: _optionalChain([getTicketHref, 'optionalCall', _635 => _635(t.id)]),
|
|
27063
27063
|
renderAssignSlot,
|
|
27064
27064
|
onApprove,
|
|
27065
27065
|
onReject,
|
|
@@ -27235,7 +27235,7 @@ function DragBoard({
|
|
|
27235
27235
|
const [landing, setLanding] = _react.useState.call(void 0, null);
|
|
27236
27236
|
const landingTimer = _react.useRef.call(void 0, null);
|
|
27237
27237
|
const pointRef = _react.useRef.call(void 0, { x: 0, y: 0 });
|
|
27238
|
-
const laneLabel = _react.useCallback.call(void 0, (columnId) => _nullishCoalesce(_optionalChain([view, 'access',
|
|
27238
|
+
const laneLabel = _react.useCallback.call(void 0, (columnId) => _nullishCoalesce(_optionalChain([view, 'access', _636 => _636.find, 'call', _637 => _637((c) => c.id === columnId), 'optionalAccess', _638 => _638.label]), () => ( columnId)), [view]);
|
|
27239
27239
|
const acceptsLifted = _react.useCallback.call(void 0,
|
|
27240
27240
|
(fromColumnId) => (column) => {
|
|
27241
27241
|
if (column.dropDisabled || collapsed[column.id]) return false;
|
|
@@ -27249,7 +27249,7 @@ function DragBoard({
|
|
|
27249
27249
|
const start = initialAim(view, ticketId);
|
|
27250
27250
|
if (!start) return;
|
|
27251
27251
|
setLifted({ ticketId, aim: start });
|
|
27252
|
-
const title = _nullishCoalesce(_optionalChain([laneOf, 'call',
|
|
27252
|
+
const title = _nullishCoalesce(_optionalChain([laneOf, 'call', _639 => _639(view, ticketId), 'optionalAccess', _640 => _640.tickets, 'access', _641 => _641.find, 'call', _642 => _642((t) => t.id === ticketId), 'optionalAccess', _643 => _643.title]), () => ( "Ticket"));
|
|
27253
27253
|
setAnnouncement(`${title} lifted. Use the arrow keys to move it, space to drop it, escape to put it back.`);
|
|
27254
27254
|
},
|
|
27255
27255
|
[view]
|
|
@@ -27274,11 +27274,11 @@ function DragBoard({
|
|
|
27274
27274
|
const walk = _react.useCallback.call(void 0,
|
|
27275
27275
|
(key) => {
|
|
27276
27276
|
if (!lifted) return;
|
|
27277
|
-
const from = _nullishCoalesce(_optionalChain([laneOf, 'call',
|
|
27277
|
+
const from = _nullishCoalesce(_optionalChain([laneOf, 'call', _644 => _644(view, lifted.ticketId), 'optionalAccess', _645 => _645.id]), () => ( lifted.aim.columnId));
|
|
27278
27278
|
const next = moveAim(view, lifted.ticketId, lifted.aim, key, acceptsLifted(from));
|
|
27279
27279
|
if (next === lifted.aim) return;
|
|
27280
27280
|
setLifted({ ...lifted, aim: next });
|
|
27281
|
-
const total = (_nullishCoalesce(_optionalChain([view, 'access',
|
|
27281
|
+
const total = (_nullishCoalesce(_optionalChain([view, 'access', _646 => _646.find, 'call', _647 => _647((c) => c.id === next.columnId), 'optionalAccess', _648 => _648.tickets]), () => ( []))).filter(
|
|
27282
27282
|
(t) => t.id !== lifted.ticketId
|
|
27283
27283
|
).length;
|
|
27284
27284
|
setAnnouncement(`${laneLabel(next.columnId)}, position ${next.index + 1} of ${total + 1}.`);
|
|
@@ -27305,11 +27305,11 @@ function DragBoard({
|
|
|
27305
27305
|
}, [lifted, drop, walk]);
|
|
27306
27306
|
_react.useEffect.call(void 0, () => {
|
|
27307
27307
|
if (!lifted) return;
|
|
27308
|
-
_optionalChain([boardRef, 'access',
|
|
27308
|
+
_optionalChain([boardRef, 'access', _649 => _649.current, 'optionalAccess', _650 => _650.querySelector, 'call', _651 => _651(`[${DROP_LINE_ATTRIBUTE}]`), 'optionalAccess', _652 => _652.scrollIntoView, 'call', _653 => _653({ block: "nearest", inline: "nearest" })]);
|
|
27309
27309
|
}, [lifted]);
|
|
27310
27310
|
const keyboardAim = _react.useMemo.call(void 0, () => {
|
|
27311
27311
|
if (!lifted) return null;
|
|
27312
|
-
const ticket = _optionalChain([laneOf, 'call',
|
|
27312
|
+
const ticket = _optionalChain([laneOf, 'call', _654 => _654(view, lifted.ticketId), 'optionalAccess', _655 => _655.tickets, 'access', _656 => _656.find, 'call', _657 => _657((t) => t.id === lifted.ticketId)]);
|
|
27313
27313
|
if (!ticket) return null;
|
|
27314
27314
|
const anchor = aimToChange(view, lifted.ticketId, lifted.aim) ? aimAnchor(view, lifted.ticketId, lifted.aim) : { ticketId: null, edge: null };
|
|
27315
27315
|
return { columnId: lifted.aim.columnId, ...anchor, ticket };
|
|
@@ -27331,7 +27331,7 @@ function DragBoard({
|
|
|
27331
27331
|
return { columnId: slot.columnId, ...anchor, ticket };
|
|
27332
27332
|
};
|
|
27333
27333
|
const aimAt = (source, targets) => {
|
|
27334
|
-
const next = readAim(source, _optionalChain([targets, 'access',
|
|
27334
|
+
const next = readAim(source, _optionalChain([targets, 'access', _658 => _658[0], 'optionalAccess', _659 => _659.data]));
|
|
27335
27335
|
setAim((prev) => isSameAim(prev, next) ? prev : next);
|
|
27336
27336
|
};
|
|
27337
27337
|
return _combine.combine.call(void 0,
|
|
@@ -27360,7 +27360,7 @@ function DragBoard({
|
|
|
27360
27360
|
setLanding(null);
|
|
27361
27361
|
dragGeometry.current = {
|
|
27362
27362
|
ticket,
|
|
27363
|
-
columnColor: _optionalChain([columnsRef, 'access',
|
|
27363
|
+
columnColor: _optionalChain([columnsRef, 'access', _660 => _660.current, 'access', _661 => _661.find, 'call', _662 => _662((c) => c.id === source.data.columnId), 'optionalAccess', _663 => _663.color]),
|
|
27364
27364
|
width: rect.width,
|
|
27365
27365
|
grabX: clientX - rect.left,
|
|
27366
27366
|
grabY: clientY - rect.top
|
|
@@ -27377,7 +27377,7 @@ function DragBoard({
|
|
|
27377
27377
|
setAim(null);
|
|
27378
27378
|
const change = resolveBoardDrop(columnsRef.current, {
|
|
27379
27379
|
source: source.data,
|
|
27380
|
-
target: _optionalChain([location, 'access',
|
|
27380
|
+
target: _optionalChain([location, 'access', _664 => _664.current, 'access', _665 => _665.dropTargets, 'access', _666 => _666[0], 'optionalAccess', _667 => _667.data])
|
|
27381
27381
|
});
|
|
27382
27382
|
if (!change) return;
|
|
27383
27383
|
setPendingMove({
|
|
@@ -27410,7 +27410,7 @@ function DragBoard({
|
|
|
27410
27410
|
return void 0;
|
|
27411
27411
|
}
|
|
27412
27412
|
const to = card.getBoundingClientRect();
|
|
27413
|
-
const lane = _optionalChain([nearestScrollableAncestor, 'call',
|
|
27413
|
+
const lane = _optionalChain([nearestScrollableAncestor, 'call', _668 => _668(card), 'optionalAccess', _669 => _669.getBoundingClientRect, 'call', _670 => _670()]);
|
|
27414
27414
|
if (lane && (to.top < lane.top || to.bottom > lane.bottom)) {
|
|
27415
27415
|
finish();
|
|
27416
27416
|
return void 0;
|
|
@@ -27469,8 +27469,8 @@ function DragBoard({
|
|
|
27469
27469
|
children: view.map((column, i) => {
|
|
27470
27470
|
const prev = view[i - 1];
|
|
27471
27471
|
const next = view[i + 1];
|
|
27472
|
-
const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess',
|
|
27473
|
-
const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess',
|
|
27472
|
+
const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess', _671 => _671.system]));
|
|
27473
|
+
const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess', _672 => _672.system]));
|
|
27474
27474
|
const showGap = i > 0 && !joinLeft;
|
|
27475
27475
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
|
|
27476
27476
|
showGap && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "w-[var(--spacing-system-mf)] shrink-0" }),
|
|
@@ -27650,13 +27650,13 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
|
|
|
27650
27650
|
const [flipTick, setFlipTick] = _react.useState.call(void 0, 0);
|
|
27651
27651
|
const flipTimer = _react.useRef.call(void 0, null);
|
|
27652
27652
|
const readItems = _react.useCallback.call(void 0,
|
|
27653
|
-
() => [..._nullishCoalesce(_optionalChain([listRef, 'access',
|
|
27653
|
+
() => [..._nullishCoalesce(_optionalChain([listRef, 'access', _673 => _673.current, 'optionalAccess', _674 => _674.querySelectorAll, 'call', _675 => _675(`[${SORTABLE_ITEM_ATTRIBUTE}]`)]), () => ( []))],
|
|
27654
27654
|
[]
|
|
27655
27655
|
);
|
|
27656
27656
|
const reorder = _react.useCallback.call(void 0,
|
|
27657
27657
|
(from, to) => {
|
|
27658
27658
|
if (from === to) return;
|
|
27659
|
-
const label = _nullishCoalesce(_optionalChain([getItemLabelRef, 'access',
|
|
27659
|
+
const label = _nullishCoalesce(_optionalChain([getItemLabelRef, 'access', _676 => _676.current, 'optionalCall', _677 => _677(from)]), () => ( "Item"));
|
|
27660
27660
|
setAnnouncement(`${label} moved to position ${to + 1} of ${readItems().length}.`);
|
|
27661
27661
|
onReorderRef.current(from, to);
|
|
27662
27662
|
},
|
|
@@ -27744,7 +27744,7 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
|
|
|
27744
27744
|
moving.push(item);
|
|
27745
27745
|
}
|
|
27746
27746
|
if (moving.length === 0) return;
|
|
27747
|
-
void _optionalChain([listRef, 'access',
|
|
27747
|
+
void _optionalChain([listRef, 'access', _678 => _678.current, 'optionalAccess', _679 => _679.offsetHeight]);
|
|
27748
27748
|
for (const item of moving) {
|
|
27749
27749
|
item.style.transition = `transform ${DROP_MS2}ms ${EASING}`;
|
|
27750
27750
|
item.style.transform = "";
|
|
@@ -27781,8 +27781,8 @@ function SortableMoveButtons({ index, count, label, className }) {
|
|
|
27781
27781
|
if (to < 0 || to >= count) return;
|
|
27782
27782
|
reorder(index, to);
|
|
27783
27783
|
requestAnimationFrame(() => {
|
|
27784
|
-
if (step === -1 && to === 0) _optionalChain([downRef, 'access',
|
|
27785
|
-
if (step === 1 && to === count - 1) _optionalChain([upRef, 'access',
|
|
27784
|
+
if (step === -1 && to === 0) _optionalChain([downRef, 'access', _680 => _680.current, 'optionalAccess', _681 => _681.focus, 'call', _682 => _682()]);
|
|
27785
|
+
if (step === 1 && to === count - 1) _optionalChain([upRef, 'access', _683 => _683.current, 'optionalAccess', _684 => _684.focus, 'call', _685 => _685()]);
|
|
27786
27786
|
});
|
|
27787
27787
|
};
|
|
27788
27788
|
const subject = _nullishCoalesce(label, () => ( "item"));
|
|
@@ -27830,7 +27830,7 @@ function useSortableItem() {
|
|
|
27830
27830
|
const [handle, setHandle] = _react.useState.call(void 0, null);
|
|
27831
27831
|
const [isDragging, setIsDragging] = _react.useState.call(void 0, false);
|
|
27832
27832
|
const itemRef = _react.useCallback.call(void 0, (node) => {
|
|
27833
|
-
_optionalChain([node, 'optionalAccess',
|
|
27833
|
+
_optionalChain([node, 'optionalAccess', _686 => _686.setAttribute, 'call', _687 => _687(SORTABLE_ITEM_ATTRIBUTE, "")]);
|
|
27834
27834
|
setItem(node);
|
|
27835
27835
|
}, []);
|
|
27836
27836
|
_react.useEffect.call(void 0, () => {
|
|
@@ -27860,7 +27860,7 @@ function useSortableItem() {
|
|
|
27860
27860
|
if (from < 0 || to < 0 || to >= items.length) return;
|
|
27861
27861
|
event.preventDefault();
|
|
27862
27862
|
reorder(from, to);
|
|
27863
|
-
requestAnimationFrame(() => _optionalChain([handle, 'optionalAccess',
|
|
27863
|
+
requestAnimationFrame(() => _optionalChain([handle, 'optionalAccess', _688 => _688.focus, 'call', _689 => _689()]));
|
|
27864
27864
|
},
|
|
27865
27865
|
[inert, readItems, reorder, handle]
|
|
27866
27866
|
);
|
|
@@ -27882,7 +27882,7 @@ function TicketStatusConfigList({
|
|
|
27882
27882
|
onReorder,
|
|
27883
27883
|
getItemLabel,
|
|
27884
27884
|
className: _chunkPRPZBXWZcjs.cn.call(void 0, "flex w-full flex-col gap-[var(--spacing-system-xs)]", className),
|
|
27885
|
-
children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortableRow, { index, count: items.length, label: _optionalChain([getItemLabel, 'optionalCall',
|
|
27885
|
+
children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortableRow, { index, count: items.length, label: _optionalChain([getItemLabel, 'optionalCall', _690 => _690(index)]), children: (args) => renderRow(item, args) }, item.id))
|
|
27886
27886
|
}
|
|
27887
27887
|
);
|
|
27888
27888
|
}
|
|
@@ -28472,4 +28472,4 @@ function SortableRow({
|
|
|
28472
28472
|
|
|
28473
28473
|
|
|
28474
28474
|
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.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.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.TMCG_SOCIAL_PLATFORMS = TMCG_SOCIAL_PLATFORMS; 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.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.BenefitCard = BenefitCard; exports.BenefitCardGrid = BenefitCardGrid; exports.BrandAssociationCard = BrandAssociationCard; exports.BrandAssociationGrid = BrandAssociationGrid; exports.BulletList = BulletList; exports.ChevronButton = ChevronButton; exports.CircularProgress = CircularProgress; exports.CheckIcon = CheckIcon2; exports.XIcon = XIcon2; exports.MinusIcon = MinusIcon; exports.CheckCircleIcon = CheckCircleIcon2; exports.XCircleIcon = XCircleIcon; exports.DashboardInfoCard = DashboardInfoCard; exports.InfoCardRow = InfoCardRow; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.FeatureCardGrid = FeatureCardGrid; exports.FeatureList = FeatureList; exports.SourceTooltip = SourceTooltip; exports.HighlightCard = HighlightCard; exports.HighlightCardGrid = HighlightCardGrid; exports.IconsBlock = IconsBlock; exports.DropdownButton = DropdownButton; exports.MoreActionsMenu = MoreActionsMenu; exports.OrganizationCard = OrganizationCard; exports.ServiceCard = ServiceCard; exports.Slider = Slider; exports.TitleContentBlock = TitleContentBlock; exports.TouchFriendlyTooltip = TouchFriendlyTooltip; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.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.AuthBenefitsPanel = AuthBenefitsPanel; exports.OpenFrameWordmark = OpenFrameWordmark; exports.PoweredByFlamingo = PoweredByFlamingo; exports.AuthShell = AuthShell; exports.BackToLoginLink = BackToLoginLink; exports.PasswordInput = PasswordInput; exports.PROVIDER_META = PROVIDER_META; exports.SsoProviderButtons = SsoProviderButtons; exports.CompleteAccountForm = CompleteAccountForm; exports.TermsAgreementLabel = TermsAgreementLabel; exports.CreateOrganizationForm = CreateOrganizationForm; exports.InviteLinkInvalidModal = InviteLinkInvalidModal; exports.LoginForm = LoginForm; exports.OpenFrameSsoLoginForm = OpenFrameSsoLoginForm; exports.OpenFrameSsoSignUpForm = OpenFrameSsoSignUpForm; exports.PasswordResetForm = PasswordResetForm; exports.SsoAuthShell = SsoAuthShell; 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.PushButtonSelector = PushButtonSelector; exports.ReleaseMediaManager = ReleaseMediaManager; exports.SelectButton = SelectButton; exports.ConfidenceBadge = ConfidenceBadge; exports.SEOEditorPreview = SEOEditorPreview; 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.COMPACT_ROW_MIN_HEIGHT_PX = COMPACT_ROW_MIN_HEIGHT_PX; 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.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.DataTableEmpty = DataTableEmpty; exports.getHideClasses = getHideClasses2; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP2; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE2; exports.ROW_SHELL_CLASSES = ROW_SHELL_CLASSES; exports.DataTableSkeleton = DataTableSkeleton; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DataTableHeader = DataTableHeader; 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;
|
|
28475
|
-
//# sourceMappingURL=chunk-
|
|
28475
|
+
//# sourceMappingURL=chunk-U3W2ZVN4.cjs.map
|