@flamingo-stack/openframe-frontend-core 0.0.184 → 0.0.185
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-G7HSS5WZ.js → chunk-GXI6VMHQ.js} +8 -2
- package/dist/chunk-GXI6VMHQ.js.map +1 -0
- package/dist/{chunk-3OVOM5WT.cjs → chunk-RH2FP2MT.cjs} +209 -203
- package/dist/chunk-RH2FP2MT.cjs.map +1 -0
- package/dist/components/features/index.cjs +2 -2
- package/dist/components/features/index.js +1 -1
- package/dist/components/features/video.d.ts.map +1 -1
- package/dist/components/index.cjs +2 -2
- package/dist/components/index.js +1 -1
- package/dist/components/navigation/header.d.ts.map +1 -1
- package/dist/components/navigation/index.cjs +2 -2
- package/dist/components/navigation/index.js +1 -1
- package/dist/components/ui/index.cjs +2 -2
- package/dist/components/ui/index.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/components/features/video.tsx +30 -0
- package/src/components/navigation/header.tsx +13 -3
- package/dist/chunk-3OVOM5WT.cjs.map +0 -1
- package/dist/chunk-G7HSS5WZ.js.map +0 -1
|
@@ -8304,7 +8304,7 @@ function Header({ config, platform }) {
|
|
|
8304
8304
|
ref: (el) => {
|
|
8305
8305
|
dropdownRefs.current[item.id] = el;
|
|
8306
8306
|
},
|
|
8307
|
-
|
|
8307
|
+
inert: !isOpen,
|
|
8308
8308
|
className: _chunkOFAYLG6Dcjs.cn.call(void 0,
|
|
8309
8309
|
"absolute top-full left-0 mt-1",
|
|
8310
8310
|
item.dropdownClassName ? "" : "bg-ods-card border border-ods-border",
|
|
@@ -13143,6 +13143,12 @@ _chunkOFAYLG6Dcjs.init_cn.call(void 0, );
|
|
|
13143
13143
|
|
|
13144
13144
|
var _muxplayerreact = require('@mux/mux-player-react'); var _muxplayerreact2 = _interopRequireDefault(_muxplayerreact);
|
|
13145
13145
|
|
|
13146
|
+
if (typeof window !== "undefined") {
|
|
13147
|
+
const w = window;
|
|
13148
|
+
if (!_optionalChain([w, 'access', _384 => _384.chrome, 'optionalAccess', _385 => _385.cast])) {
|
|
13149
|
+
w.chrome = { ..._nullishCoalesce(w.chrome, () => ( {})), cast: { isAvailable: false } };
|
|
13150
|
+
}
|
|
13151
|
+
}
|
|
13146
13152
|
var YT_HOSTS = /* @__PURE__ */ new Set([
|
|
13147
13153
|
"youtube.com",
|
|
13148
13154
|
"www.youtube.com",
|
|
@@ -13312,7 +13318,7 @@ function YouTubeFacadeInner({
|
|
|
13312
13318
|
const iframe = iframeRef.current;
|
|
13313
13319
|
if (!iframe) return;
|
|
13314
13320
|
function subscribe() {
|
|
13315
|
-
_optionalChain([iframe, 'optionalAccess',
|
|
13321
|
+
_optionalChain([iframe, 'optionalAccess', _386 => _386.contentWindow, 'optionalAccess', _387 => _387.postMessage, 'call', _388 => _388(
|
|
13316
13322
|
'{"event":"listening"}',
|
|
13317
13323
|
YT_NOCOOKIE_ORIGIN
|
|
13318
13324
|
)]);
|
|
@@ -13330,13 +13336,13 @@ function YouTubeFacadeInner({
|
|
|
13330
13336
|
return;
|
|
13331
13337
|
}
|
|
13332
13338
|
if (!payload || payload.event !== "infoDelivery") return;
|
|
13333
|
-
const state = _optionalChain([payload, 'access',
|
|
13339
|
+
const state = _optionalChain([payload, 'access', _389 => _389.info, 'optionalAccess', _390 => _390.playerState]);
|
|
13334
13340
|
if (typeof state !== "number") return;
|
|
13335
13341
|
if (state === YT_STATE_PLAYING) {
|
|
13336
13342
|
if (blurTimer !== null) return;
|
|
13337
13343
|
blurTimer = setTimeout(() => {
|
|
13338
13344
|
blurTimer = null;
|
|
13339
|
-
_optionalChain([iframeRef, 'access',
|
|
13345
|
+
_optionalChain([iframeRef, 'access', _391 => _391.current, 'optionalAccess', _392 => _392.blur, 'call', _393 => _393()]);
|
|
13340
13346
|
}, YT_PLAYING_BLUR_DELAY_MS);
|
|
13341
13347
|
return;
|
|
13342
13348
|
}
|
|
@@ -13989,8 +13995,8 @@ function PricingDisplay({
|
|
|
13989
13995
|
}
|
|
13990
13996
|
if (pricingArray.length === 1) {
|
|
13991
13997
|
const item = pricingArray[0];
|
|
13992
|
-
const price = _optionalChain([item, 'access',
|
|
13993
|
-
const unit = _optionalChain([item, 'access',
|
|
13998
|
+
const price = _optionalChain([item, 'access', _394 => _394.ranges, 'optionalAccess', _395 => _395[0], 'optionalAccess', _396 => _396.min]) || 0;
|
|
13999
|
+
const unit = _optionalChain([item, 'access', _397 => _397.ranges, 'optionalAccess', _398 => _398[0], 'optionalAccess', _399 => _399.unit]);
|
|
13994
14000
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${styleConfig.fontFamily} ${className}`, children: [
|
|
13995
14001
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${styleConfig.priceTextColor} ${styleConfig.priceTextSize}`, children: formatPriceValue(price, styleConfig.showTildePrefix) }),
|
|
13996
14002
|
unit && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${styleConfig.secondaryTextColor} ${styleConfig.secondaryTextSize}`, children: [
|
|
@@ -13999,11 +14005,11 @@ function PricingDisplay({
|
|
|
13999
14005
|
] })
|
|
14000
14006
|
] });
|
|
14001
14007
|
}
|
|
14002
|
-
const priceValues = pricingArray.map((item) => formatPriceValue(_optionalChain([item, 'access',
|
|
14003
|
-
const itemWithUnit = pricingArray.find((item) => _optionalChain([item, 'access',
|
|
14008
|
+
const priceValues = pricingArray.map((item) => formatPriceValue(_optionalChain([item, 'access', _400 => _400.ranges, 'optionalAccess', _401 => _401[0], 'optionalAccess', _402 => _402.min]) || 0, styleConfig.showTildePrefix));
|
|
14009
|
+
const itemWithUnit = pricingArray.find((item) => _optionalChain([item, 'access', _403 => _403.ranges, 'optionalAccess', _404 => _404[0], 'optionalAccess', _405 => _405.unit]));
|
|
14004
14010
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${styleConfig.fontFamily} ${className}`, children: [
|
|
14005
14011
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${styleConfig.priceTextColor} ${styleConfig.priceTextSize}`, children: priceValues.join(" | ") }),
|
|
14006
|
-
itemWithUnit && _optionalChain([itemWithUnit, 'access',
|
|
14012
|
+
itemWithUnit && _optionalChain([itemWithUnit, 'access', _406 => _406.ranges, 'optionalAccess', _407 => _407[0], 'optionalAccess', _408 => _408.unit]) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${styleConfig.secondaryTextColor} ${styleConfig.secondaryTextSize}`, children: [
|
|
14007
14013
|
"/",
|
|
14008
14014
|
itemWithUnit.ranges[0].unit
|
|
14009
14015
|
] })
|
|
@@ -14201,7 +14207,7 @@ function VendorTag({
|
|
|
14201
14207
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-4 h-4 bg-ods-accent rounded-sm flex items-center justify-center flex-shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-[#1A1A1A] text-[8px] font-bold", children: "\u2605" }) })
|
|
14202
14208
|
};
|
|
14203
14209
|
case "classification":
|
|
14204
|
-
const classificationType = _optionalChain([text, 'optionalAccess',
|
|
14210
|
+
const classificationType = _optionalChain([text, 'optionalAccess', _409 => _409.toLowerCase, 'call', _410 => _410()]);
|
|
14205
14211
|
if (classificationType === "open_source") {
|
|
14206
14212
|
return {
|
|
14207
14213
|
text: "Open Source",
|
|
@@ -14255,7 +14261,7 @@ function SelectionSourceBadge({ source, hidden = false }) {
|
|
|
14255
14261
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14256
14262
|
VendorTag,
|
|
14257
14263
|
{
|
|
14258
|
-
type: _optionalChain([source, 'optionalAccess',
|
|
14264
|
+
type: _optionalChain([source, 'optionalAccess', _411 => _411.toLowerCase, 'call', _412 => _412()]),
|
|
14259
14265
|
size: "sm",
|
|
14260
14266
|
hidden
|
|
14261
14267
|
},
|
|
@@ -16375,12 +16381,12 @@ function OnboardingWalkthrough({
|
|
|
16375
16381
|
}
|
|
16376
16382
|
}, [state.completedSteps, markComplete]);
|
|
16377
16383
|
const handleStepSkip = (step) => {
|
|
16378
|
-
_optionalChain([step, 'access',
|
|
16384
|
+
_optionalChain([step, 'access', _413 => _413.onSkip, 'optionalCall', _414 => _414()]);
|
|
16379
16385
|
markSkipped(step.id);
|
|
16380
16386
|
};
|
|
16381
16387
|
const handleDismiss = () => {
|
|
16382
16388
|
dismissOnboarding();
|
|
16383
|
-
_optionalChain([onDismiss, 'optionalCall',
|
|
16389
|
+
_optionalChain([onDismiss, 'optionalCall', _415 => _415()]);
|
|
16384
16390
|
};
|
|
16385
16391
|
if (state.dismissed) {
|
|
16386
16392
|
return null;
|
|
@@ -16825,7 +16831,7 @@ var SecondaryAction = ({ action }) => {
|
|
|
16825
16831
|
e.preventDefault();
|
|
16826
16832
|
return;
|
|
16827
16833
|
}
|
|
16828
|
-
_optionalChain([action, 'access',
|
|
16834
|
+
_optionalChain([action, 'access', _416 => _416.onClick, 'optionalCall', _417 => _417()]);
|
|
16829
16835
|
},
|
|
16830
16836
|
[action]
|
|
16831
16837
|
);
|
|
@@ -16866,13 +16872,13 @@ var MenuItem = ({ item, onItemClick }) => {
|
|
|
16866
16872
|
const activate = _react.useCallback.call(void 0, () => {
|
|
16867
16873
|
if (item.disabled) return;
|
|
16868
16874
|
if (item.type === "checkbox") {
|
|
16869
|
-
_optionalChain([item, 'access',
|
|
16870
|
-
_optionalChain([onItemClick, 'optionalCall',
|
|
16875
|
+
_optionalChain([item, 'access', _418 => _418.onClick, 'optionalCall', _419 => _419()]);
|
|
16876
|
+
_optionalChain([onItemClick, 'optionalCall', _420 => _420(item)]);
|
|
16871
16877
|
return;
|
|
16872
16878
|
}
|
|
16873
16879
|
if (item.type === "submenu") return;
|
|
16874
|
-
_optionalChain([item, 'access',
|
|
16875
|
-
_optionalChain([onItemClick, 'optionalCall',
|
|
16880
|
+
_optionalChain([item, 'access', _421 => _421.onClick, 'optionalCall', _422 => _422()]);
|
|
16881
|
+
_optionalChain([onItemClick, 'optionalCall', _423 => _423(item)]);
|
|
16876
16882
|
}, [item, onItemClick]);
|
|
16877
16883
|
const handleClick = _react.useCallback.call(void 0,
|
|
16878
16884
|
(e) => {
|
|
@@ -16898,8 +16904,8 @@ var MenuItem = ({ item, onItemClick }) => {
|
|
|
16898
16904
|
e.stopPropagation();
|
|
16899
16905
|
return;
|
|
16900
16906
|
}
|
|
16901
|
-
_optionalChain([item, 'access',
|
|
16902
|
-
_optionalChain([onItemClick, 'optionalCall',
|
|
16907
|
+
_optionalChain([item, 'access', _424 => _424.onClick, 'optionalCall', _425 => _425()]);
|
|
16908
|
+
_optionalChain([onItemClick, 'optionalCall', _426 => _426(item)]);
|
|
16903
16909
|
},
|
|
16904
16910
|
[item, onItemClick]
|
|
16905
16911
|
);
|
|
@@ -17054,7 +17060,7 @@ var ActionsMenuDropdown = ({
|
|
|
17054
17060
|
const [open, setOpen] = _react.useState.call(void 0, false);
|
|
17055
17061
|
const handleItemClick = _react.useCallback.call(void 0,
|
|
17056
17062
|
(item) => {
|
|
17057
|
-
_optionalChain([onItemClick, 'optionalCall',
|
|
17063
|
+
_optionalChain([onItemClick, 'optionalCall', _427 => _427(item)]);
|
|
17058
17064
|
if (item.type !== "checkbox" && item.type !== "submenu") {
|
|
17059
17065
|
setOpen(false);
|
|
17060
17066
|
}
|
|
@@ -17225,7 +17231,7 @@ function IconButtonsVariant({
|
|
|
17225
17231
|
}) {
|
|
17226
17232
|
const desktopActions = actions.filter((a) => !a.showOnlyMobile);
|
|
17227
17233
|
const hasMenuActions = !!menuActions && menuActions.some((g) => g.items.length > 0);
|
|
17228
|
-
const isSingleAction = actions.length === 1 && !_optionalChain([actions, 'access',
|
|
17234
|
+
const isSingleAction = actions.length === 1 && !_optionalChain([actions, 'access', _428 => _428[0], 'access', _429 => _429.submenu, 'optionalAccess', _430 => _430.length]);
|
|
17229
17235
|
const singleAction = isSingleAction ? actions[0] : null;
|
|
17230
17236
|
const useSingleActionMobile = isSingleAction && !hasMenuActions;
|
|
17231
17237
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -17655,14 +17661,14 @@ function ReleaseDetailPage({
|
|
|
17655
17661
|
releaseVersion
|
|
17656
17662
|
] })
|
|
17657
17663
|
] }) }),
|
|
17658
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2 w-full", children: _optionalChain([blogTags, 'optionalAccess',
|
|
17664
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2 w-full", children: _optionalChain([blogTags, 'optionalAccess', _431 => _431.map, 'call', _432 => _432((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17659
17665
|
StatusBadge,
|
|
17660
17666
|
{
|
|
17661
|
-
text: (tag.name || _optionalChain([tag, 'access',
|
|
17667
|
+
text: (tag.name || _optionalChain([tag, 'access', _433 => _433.blog_tags, 'optionalAccess', _434 => _434.name]) || "").toUpperCase(),
|
|
17662
17668
|
variant: "card",
|
|
17663
17669
|
className: "bg-ods-card border border-ods-border"
|
|
17664
17670
|
},
|
|
17665
|
-
tag.id || _optionalChain([tag, 'access',
|
|
17671
|
+
tag.id || _optionalChain([tag, 'access', _435 => _435.blog_tags, 'optionalAccess', _436 => _436.id])
|
|
17666
17672
|
))]) }),
|
|
17667
17673
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 md:grid-cols-4 border border-ods-border rounded-md overflow-hidden w-full", children: [
|
|
17668
17674
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-ods-card border-b md:border-b-0 md:border-r border-ods-border p-4 flex flex-col gap-3", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-0", children: [
|
|
@@ -17681,15 +17687,15 @@ function ReleaseDetailPage({
|
|
|
17681
17687
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17682
17688
|
SquareAvatar,
|
|
17683
17689
|
{
|
|
17684
|
-
src: _optionalChain([author, 'optionalAccess',
|
|
17685
|
-
alt: _optionalChain([author, 'optionalAccess',
|
|
17686
|
-
fallback: getInitials4(_optionalChain([author, 'optionalAccess',
|
|
17690
|
+
src: _optionalChain([author, 'optionalAccess', _437 => _437.avatar_url]) || "",
|
|
17691
|
+
alt: _optionalChain([author, 'optionalAccess', _438 => _438.full_name]) || "Author",
|
|
17692
|
+
fallback: getInitials4(_optionalChain([author, 'optionalAccess', _439 => _439.full_name]) || "Unknown"),
|
|
17687
17693
|
size: "md",
|
|
17688
17694
|
variant: "round"
|
|
17689
17695
|
}
|
|
17690
17696
|
),
|
|
17691
17697
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-0 flex-1 min-w-0", children: [
|
|
17692
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h3 tracking-[-0.36px] text-ods-text-primary truncate", children: _optionalChain([author, 'optionalAccess',
|
|
17698
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h3 tracking-[-0.36px] text-ods-text-primary truncate", children: _optionalChain([author, 'optionalAccess', _440 => _440.full_name]) || "Unknown Author" }),
|
|
17693
17699
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-['DM_Sans'] font-medium text-[14px] leading-[20px] text-ods-text-secondary", children: "Author" })
|
|
17694
17700
|
] })
|
|
17695
17701
|
] })
|
|
@@ -17720,8 +17726,8 @@ function ReleaseDetailPage({
|
|
|
17720
17726
|
videoBites,
|
|
17721
17727
|
bitesTitle: "Video Clips",
|
|
17722
17728
|
filterPublishedBites: true,
|
|
17723
|
-
srtContent: _optionalChain([release, 'optionalAccess',
|
|
17724
|
-
captionsUrl: _optionalChain([release, 'optionalAccess',
|
|
17729
|
+
srtContent: _optionalChain([release, 'optionalAccess', _441 => _441.srt_content]),
|
|
17730
|
+
captionsUrl: _optionalChain([release, 'optionalAccess', _442 => _442.captionsUrl])
|
|
17725
17731
|
}
|
|
17726
17732
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
17727
17733
|
youtubeUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17737,8 +17743,8 @@ function ReleaseDetailPage({
|
|
|
17737
17743
|
Video2,
|
|
17738
17744
|
{
|
|
17739
17745
|
url: mainVideoUrl,
|
|
17740
|
-
srtContent: _optionalChain([release, 'optionalAccess',
|
|
17741
|
-
captionsUrl: _optionalChain([release, 'optionalAccess',
|
|
17746
|
+
srtContent: _optionalChain([release, 'optionalAccess', _443 => _443.srt_content]),
|
|
17747
|
+
captionsUrl: _optionalChain([release, 'optionalAccess', _444 => _444.captionsUrl]),
|
|
17742
17748
|
layout: "centered"
|
|
17743
17749
|
}
|
|
17744
17750
|
),
|
|
@@ -17828,7 +17834,7 @@ function ReleaseDetailPage({
|
|
|
17828
17834
|
}
|
|
17829
17835
|
)
|
|
17830
17836
|
] }),
|
|
17831
|
-
(_optionalChain([githubReleases, 'optionalAccess',
|
|
17837
|
+
(_optionalChain([githubReleases, 'optionalAccess', _445 => _445.length]) || _optionalChain([knowledgeBaseLinks, 'optionalAccess', _446 => _446.length]) || migrationGuideUrl || documentationUrl) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1 w-full", children: [
|
|
17832
17838
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h5 tracking-[-0.28px] text-ods-text-secondary", children: "Related Links" }),
|
|
17833
17839
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Card, { className: "bg-ods-card border-ods-border p-6", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
17834
17840
|
githubReleases && githubReleases.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: githubReleases.map((ghRelease) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-1", children: [
|
|
@@ -17857,7 +17863,7 @@ function ReleaseDetailPage({
|
|
|
17857
17863
|
{
|
|
17858
17864
|
href: path.startsWith("http") ? path : `/knowledge-base${path.startsWith("/") ? "" : "/"}${path}`,
|
|
17859
17865
|
className: "text-h4 text-[#ffc008] hover:underline",
|
|
17860
|
-
children: _optionalChain([path, 'access',
|
|
17866
|
+
children: _optionalChain([path, 'access', _447 => _447.replace, 'call', _448 => _448(/^\//, ""), 'access', _449 => _449.split, 'call', _450 => _450("/"), 'access', _451 => _451.pop, 'call', _452 => _452(), 'optionalAccess', _453 => _453.replace, 'call', _454 => _454(/-/g, " ")]) || "View Article"
|
|
17861
17867
|
}
|
|
17862
17868
|
),
|
|
17863
17869
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-6 w-6 text-[#ffc008] shrink-0" })
|
|
@@ -18503,7 +18509,7 @@ function TagsManager({
|
|
|
18503
18509
|
const name = search.trim();
|
|
18504
18510
|
if (!name) return;
|
|
18505
18511
|
const result = await onCreateTag(name);
|
|
18506
|
-
if (_optionalChain([result, 'optionalAccess',
|
|
18512
|
+
if (_optionalChain([result, 'optionalAccess', _455 => _455.id])) {
|
|
18507
18513
|
onChange([...selectedIds, result.id]);
|
|
18508
18514
|
setSearch("");
|
|
18509
18515
|
}
|
|
@@ -18511,7 +18517,7 @@ function TagsManager({
|
|
|
18511
18517
|
const startEdit = React52.useCallback((id, name) => {
|
|
18512
18518
|
setEditingId(id);
|
|
18513
18519
|
setEditingName(name);
|
|
18514
|
-
setTimeout(() => _optionalChain([editInputRef, 'access',
|
|
18520
|
+
setTimeout(() => _optionalChain([editInputRef, 'access', _456 => _456.current, 'optionalAccess', _457 => _457.focus, 'call', _458 => _458()]), 0);
|
|
18515
18521
|
}, []);
|
|
18516
18522
|
const confirmEdit = React52.useCallback(async () => {
|
|
18517
18523
|
if (!onUpdateTag || !editingId || !editingName.trim()) return;
|
|
@@ -18538,7 +18544,7 @@ function TagsManager({
|
|
|
18538
18544
|
e.stopPropagation();
|
|
18539
18545
|
onChange([]);
|
|
18540
18546
|
setSearch("");
|
|
18541
|
-
_optionalChain([inputRef, 'access',
|
|
18547
|
+
_optionalChain([inputRef, 'access', _459 => _459.current, 'optionalAccess', _460 => _460.focus, 'call', _461 => _461()]);
|
|
18542
18548
|
},
|
|
18543
18549
|
[onChange]
|
|
18544
18550
|
);
|
|
@@ -18637,10 +18643,10 @@ function TagsManager({
|
|
|
18637
18643
|
align: "start",
|
|
18638
18644
|
onOpenAutoFocus: (e) => {
|
|
18639
18645
|
e.preventDefault();
|
|
18640
|
-
_optionalChain([inputRef, 'access',
|
|
18646
|
+
_optionalChain([inputRef, 'access', _462 => _462.current, 'optionalAccess', _463 => _463.focus, 'call', _464 => _464()]);
|
|
18641
18647
|
},
|
|
18642
18648
|
onInteractOutside: (e) => {
|
|
18643
|
-
if (_optionalChain([containerRef, 'access',
|
|
18649
|
+
if (_optionalChain([containerRef, 'access', _465 => _465.current, 'optionalAccess', _466 => _466.contains, 'call', _467 => _467(e.target)])) {
|
|
18644
18650
|
e.preventDefault();
|
|
18645
18651
|
}
|
|
18646
18652
|
},
|
|
@@ -19787,19 +19793,19 @@ function TabNavigation({
|
|
|
19787
19793
|
const validTabIds = _react.useMemo.call(void 0, () => new Set(tabs.map((t) => t.id)), [tabs]);
|
|
19788
19794
|
const getInitialTab = () => {
|
|
19789
19795
|
if (isUrlSyncEnabled) {
|
|
19790
|
-
const fromUrl = _optionalChain([searchParams, 'optionalAccess',
|
|
19796
|
+
const fromUrl = _optionalChain([searchParams, 'optionalAccess', _468 => _468.get, 'call', _469 => _469(paramName)]) || "";
|
|
19791
19797
|
if (validTabIds.has(fromUrl)) {
|
|
19792
19798
|
return fromUrl;
|
|
19793
19799
|
}
|
|
19794
19800
|
}
|
|
19795
|
-
return defaultTab || _optionalChain([tabs, 'access',
|
|
19801
|
+
return defaultTab || _optionalChain([tabs, 'access', _470 => _470[0], 'optionalAccess', _471 => _471.id]) || "";
|
|
19796
19802
|
};
|
|
19797
19803
|
const [internalActiveTab, setInternalActiveTab] = _react.useState.call(void 0, getInitialTab);
|
|
19798
19804
|
const activeTab = isUrlSyncEnabled ? internalActiveTab : controlledActiveTab || "";
|
|
19799
19805
|
_react.useEffect.call(void 0, () => {
|
|
19800
19806
|
if (!isUrlSyncEnabled) return;
|
|
19801
|
-
const fromUrl = _optionalChain([searchParams, 'optionalAccess',
|
|
19802
|
-
const nextTab = validTabIds.has(fromUrl) ? fromUrl : defaultTab || _optionalChain([tabs, 'access',
|
|
19807
|
+
const fromUrl = _optionalChain([searchParams, 'optionalAccess', _472 => _472.get, 'call', _473 => _473(paramName)]) || "";
|
|
19808
|
+
const nextTab = validTabIds.has(fromUrl) ? fromUrl : defaultTab || _optionalChain([tabs, 'access', _474 => _474[0], 'optionalAccess', _475 => _475.id]) || "";
|
|
19803
19809
|
if (nextTab !== internalActiveTab) {
|
|
19804
19810
|
setInternalActiveTab(nextTab);
|
|
19805
19811
|
}
|
|
@@ -19807,13 +19813,13 @@ function TabNavigation({
|
|
|
19807
19813
|
const handleTabChange = (tabId) => {
|
|
19808
19814
|
if (isUrlSyncEnabled) {
|
|
19809
19815
|
setInternalActiveTab(tabId);
|
|
19810
|
-
const params = new URLSearchParams(_optionalChain([searchParams, 'optionalAccess',
|
|
19816
|
+
const params = new URLSearchParams(_optionalChain([searchParams, 'optionalAccess', _476 => _476.toString, 'call', _477 => _477()]));
|
|
19811
19817
|
params.set(paramName, tabId);
|
|
19812
19818
|
const method = replaceState ? "replace" : "push";
|
|
19813
19819
|
router[method](`${pathname}?${params.toString()}`);
|
|
19814
|
-
_optionalChain([controlledOnTabChange, 'optionalCall',
|
|
19820
|
+
_optionalChain([controlledOnTabChange, 'optionalCall', _478 => _478(tabId)]);
|
|
19815
19821
|
} else {
|
|
19816
|
-
_optionalChain([controlledOnTabChange, 'optionalCall',
|
|
19822
|
+
_optionalChain([controlledOnTabChange, 'optionalCall', _479 => _479(tabId)]);
|
|
19817
19823
|
}
|
|
19818
19824
|
};
|
|
19819
19825
|
const scrollRef = _react.useRef.call(void 0, null);
|
|
@@ -19901,7 +19907,7 @@ function TabNavigation({
|
|
|
19901
19907
|
var getTabById = (tabs, tabId) => tabs.find((tab) => tab.id === tabId);
|
|
19902
19908
|
var getTabComponent = (tabs, tabId) => {
|
|
19903
19909
|
const tab = getTabById(tabs, tabId);
|
|
19904
|
-
return _optionalChain([tab, 'optionalAccess',
|
|
19910
|
+
return _optionalChain([tab, 'optionalAccess', _480 => _480.component]) || null;
|
|
19905
19911
|
};
|
|
19906
19912
|
|
|
19907
19913
|
// src/components/ui/alert.tsx
|
|
@@ -20238,16 +20244,16 @@ function FilterModal({
|
|
|
20238
20244
|
};
|
|
20239
20245
|
const handleReset = () => {
|
|
20240
20246
|
onFilterChange({});
|
|
20241
|
-
_optionalChain([onTagsChange, 'optionalCall',
|
|
20247
|
+
_optionalChain([onTagsChange, 'optionalCall', _481 => _481([])]);
|
|
20242
20248
|
onClose();
|
|
20243
20249
|
};
|
|
20244
20250
|
const handleApply = () => {
|
|
20245
20251
|
onFilterChange(selectedFilters);
|
|
20246
|
-
_optionalChain([onTagsChange, 'optionalCall',
|
|
20252
|
+
_optionalChain([onTagsChange, 'optionalCall', _482 => _482(pendingTags)]);
|
|
20247
20253
|
onClose();
|
|
20248
20254
|
};
|
|
20249
20255
|
const getColumnDirection = (columnKey) => {
|
|
20250
|
-
return _optionalChain([sortConfig, 'optionalAccess',
|
|
20256
|
+
return _optionalChain([sortConfig, 'optionalAccess', _483 => _483.sortBy]) === columnKey ? sortConfig.sortDirection : void 0;
|
|
20251
20257
|
};
|
|
20252
20258
|
const hasSort = !!sortConfig && sortConfig.columns.length > 0;
|
|
20253
20259
|
const hasFilterGroups = filterGroups.length > 0;
|
|
@@ -20296,7 +20302,7 @@ function FilterModal({
|
|
|
20296
20302
|
{
|
|
20297
20303
|
column,
|
|
20298
20304
|
currentDirection: getColumnDirection(column.key),
|
|
20299
|
-
onSort: (direction) => _optionalChain([onSort, 'optionalCall',
|
|
20305
|
+
onSort: (direction) => _optionalChain([onSort, 'optionalCall', _484 => _484(column.key, direction)]),
|
|
20300
20306
|
onClear: onSortClear ? () => onSortClear(column.key) : void 0
|
|
20301
20307
|
},
|
|
20302
20308
|
column.key
|
|
@@ -20462,9 +20468,9 @@ function TitleBlock({
|
|
|
20462
20468
|
const [imageFailed, setImageFailed] = React33.default.useState(false);
|
|
20463
20469
|
React33.default.useEffect(() => {
|
|
20464
20470
|
setImageFailed(false);
|
|
20465
|
-
}, [_optionalChain([image, 'optionalAccess',
|
|
20471
|
+
}, [_optionalChain([image, 'optionalAccess', _485 => _485.src])]);
|
|
20466
20472
|
const showImageFallback = !!image && (imageFailed || !image.src);
|
|
20467
|
-
const initials = getInitials3(_optionalChain([image, 'optionalAccess',
|
|
20473
|
+
const initials = getInitials3(_optionalChain([image, 'optionalAccess', _486 => _486.alt]) || title);
|
|
20468
20474
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
20469
20475
|
"div",
|
|
20470
20476
|
{
|
|
@@ -21260,26 +21266,26 @@ function DeviceCard({
|
|
|
21260
21266
|
] }),
|
|
21261
21267
|
device.organization && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-['DM_Sans'] font-medium text-[14px] leading-[20px] text-ods-text-secondary truncate", children: device.organization })
|
|
21262
21268
|
] }),
|
|
21263
|
-
_optionalChain([actions, 'access',
|
|
21269
|
+
_optionalChain([actions, 'access', _487 => _487.moreButton, 'optionalAccess', _488 => _488.visible]) !== false && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21264
21270
|
"div",
|
|
21265
21271
|
{
|
|
21266
21272
|
className: "flex items-center justify-center p-3 rounded-[6px] shrink-0 border border-ods-border cursor-pointer hover:bg-ods-bg-hover transition-colors",
|
|
21267
21273
|
onClick: (e) => {
|
|
21268
21274
|
e.stopPropagation();
|
|
21269
|
-
_optionalChain([actions, 'access',
|
|
21275
|
+
_optionalChain([actions, 'access', _489 => _489.moreButton, 'optionalAccess', _490 => _490.onClick, 'optionalCall', _491 => _491()]);
|
|
21270
21276
|
},
|
|
21271
21277
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTMD5LDX4cjs.Ellipsis01Icon, { className: "text-ods-text-primary" })
|
|
21272
21278
|
}
|
|
21273
21279
|
),
|
|
21274
|
-
_optionalChain([actions, 'access',
|
|
21275
|
-
_optionalChain([actions, 'access',
|
|
21280
|
+
_optionalChain([actions, 'access', _492 => _492.detailsButton, 'optionalAccess', _493 => _493.visible]) !== false && _optionalChain([actions, 'access', _494 => _494.detailsButton, 'optionalAccess', _495 => _495.component]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0", onClick: (e) => e.stopPropagation(), children: actions.detailsButton.component }),
|
|
21281
|
+
_optionalChain([actions, 'access', _496 => _496.customActions, 'optionalAccess', _497 => _497.map, 'call', _498 => _498(
|
|
21276
21282
|
(action, index) => action.visible !== false && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21277
21283
|
"div",
|
|
21278
21284
|
{
|
|
21279
21285
|
className: "flex items-center justify-center px-4 py-3 rounded-[6px] shrink-0 border border-ods-border cursor-pointer hover:bg-ods-bg-hover transition-colors",
|
|
21280
21286
|
onClick: (e) => {
|
|
21281
21287
|
e.stopPropagation();
|
|
21282
|
-
_optionalChain([action, 'access',
|
|
21288
|
+
_optionalChain([action, 'access', _499 => _499.onClick, 'optionalCall', _500 => _500()]);
|
|
21283
21289
|
},
|
|
21284
21290
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h3 text-ods-text-primary text-nowrap tracking-[-0.36px]", children: action.label })
|
|
21285
21291
|
},
|
|
@@ -21638,7 +21644,7 @@ function MoreActionsMenu({
|
|
|
21638
21644
|
] });
|
|
21639
21645
|
const handleActivate = (e) => {
|
|
21640
21646
|
e.stopPropagation();
|
|
21641
|
-
if (!item.disabled) _optionalChain([item, 'access',
|
|
21647
|
+
if (!item.disabled) _optionalChain([item, 'access', _501 => _501.onClick, 'optionalCall', _502 => _502()]);
|
|
21642
21648
|
};
|
|
21643
21649
|
if (item.href) {
|
|
21644
21650
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -21788,7 +21794,7 @@ function OrganizationIcon({
|
|
|
21788
21794
|
backgroundStyle = "dark"
|
|
21789
21795
|
}) {
|
|
21790
21796
|
const { width, height } = imageSizeMap2[size];
|
|
21791
|
-
const initials = _optionalChain([organizationName, 'optionalAccess',
|
|
21797
|
+
const initials = _optionalChain([organizationName, 'optionalAccess', _503 => _503.substring, 'call', _504 => _504(0, 2)]) || "??";
|
|
21792
21798
|
const containerClasses = _chunkOFAYLG6Dcjs.cn.call(void 0,
|
|
21793
21799
|
sizeClasses3[size],
|
|
21794
21800
|
"rounded-lg flex items-center justify-center flex-shrink-0 relative",
|
|
@@ -21839,7 +21845,7 @@ function OrganizationCard({
|
|
|
21839
21845
|
const handleActionClick = (e) => {
|
|
21840
21846
|
e.preventDefault();
|
|
21841
21847
|
e.stopPropagation();
|
|
21842
|
-
_optionalChain([actionButton, 'optionalAccess',
|
|
21848
|
+
_optionalChain([actionButton, 'optionalAccess', _505 => _505.onClick, 'call', _506 => _506(organization, e)]);
|
|
21843
21849
|
};
|
|
21844
21850
|
const card = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21845
21851
|
"div",
|
|
@@ -21996,7 +22002,7 @@ var LogCard = ({ log, isLast, showConnector, onClick }) => {
|
|
|
21996
22002
|
onKeyDown: (e) => {
|
|
21997
22003
|
if (e.key === "Enter" || e.key === " ") {
|
|
21998
22004
|
e.preventDefault();
|
|
21999
|
-
_optionalChain([onClick, 'optionalCall',
|
|
22005
|
+
_optionalChain([onClick, 'optionalCall', _507 => _507()]);
|
|
22000
22006
|
}
|
|
22001
22007
|
},
|
|
22002
22008
|
children: [
|
|
@@ -22097,7 +22103,7 @@ var LogsList = React77.forwardRef(({
|
|
|
22097
22103
|
log,
|
|
22098
22104
|
isLast: index === logs.length - 1,
|
|
22099
22105
|
showConnector,
|
|
22100
|
-
onClick: () => _optionalChain([onLogClick, 'optionalCall',
|
|
22106
|
+
onClick: () => _optionalChain([onLogClick, 'optionalCall', _508 => _508(log)])
|
|
22101
22107
|
},
|
|
22102
22108
|
log.id
|
|
22103
22109
|
))
|
|
@@ -22686,7 +22692,7 @@ function CursorPaginationSimple({
|
|
|
22686
22692
|
{
|
|
22687
22693
|
variant: "transparent",
|
|
22688
22694
|
size: "icon",
|
|
22689
|
-
onClick: () => _optionalChain([onPrevious, 'optionalCall',
|
|
22695
|
+
onClick: () => _optionalChain([onPrevious, 'optionalCall', _509 => _509("")]),
|
|
22690
22696
|
disabled: !hasPreviousPage || loading,
|
|
22691
22697
|
className: "h-8 w-8",
|
|
22692
22698
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" }),
|
|
@@ -22698,7 +22704,7 @@ function CursorPaginationSimple({
|
|
|
22698
22704
|
{
|
|
22699
22705
|
variant: "transparent",
|
|
22700
22706
|
size: "icon",
|
|
22701
|
-
onClick: () => _optionalChain([onNext, 'optionalCall',
|
|
22707
|
+
onClick: () => _optionalChain([onNext, 'optionalCall', _510 => _510("")]),
|
|
22702
22708
|
disabled: !hasNextPage || loading,
|
|
22703
22709
|
className: "h-8 w-8",
|
|
22704
22710
|
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" }),
|
|
@@ -22758,7 +22764,7 @@ function TableColumnFilterDropdown({
|
|
|
22758
22764
|
placement = "bottom-start",
|
|
22759
22765
|
dropdownClassName = "min-w-[240px]"
|
|
22760
22766
|
}) {
|
|
22761
|
-
const activeCount = _optionalChain([filters, 'optionalAccess',
|
|
22767
|
+
const activeCount = _optionalChain([filters, 'optionalAccess', _511 => _511[columnKey], 'optionalAccess', _512 => _512.length]) || 0;
|
|
22762
22768
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22763
22769
|
FiltersDropdown,
|
|
22764
22770
|
{
|
|
@@ -22801,7 +22807,7 @@ function TableColumnFilterDropdown({
|
|
|
22801
22807
|
delete newFilters[columnKey];
|
|
22802
22808
|
onFilterChange(newFilters);
|
|
22803
22809
|
},
|
|
22804
|
-
currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess',
|
|
22810
|
+
currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess', _513 => _513[columnKey]]) || [] },
|
|
22805
22811
|
placement,
|
|
22806
22812
|
dropdownClassName
|
|
22807
22813
|
}
|
|
@@ -23098,7 +23104,7 @@ function TableRow({
|
|
|
23098
23104
|
const keys = column.key.split(".");
|
|
23099
23105
|
let value = item;
|
|
23100
23106
|
for (const key of keys) {
|
|
23101
|
-
value = _optionalChain([value, 'optionalAccess',
|
|
23107
|
+
value = _optionalChain([value, 'optionalAccess', _514 => _514[key]]);
|
|
23102
23108
|
}
|
|
23103
23109
|
if (value === null || value === void 0) {
|
|
23104
23110
|
return "-";
|
|
@@ -23168,7 +23174,7 @@ function TableRow({
|
|
|
23168
23174
|
// src/components/ui/table/table.tsx
|
|
23169
23175
|
|
|
23170
23176
|
function injectSyntheticColumns(columns, rowActions, renderRowActions, rowHref) {
|
|
23171
|
-
const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess',
|
|
23177
|
+
const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess', _515 => _515.length])) || Boolean(renderRowActions);
|
|
23172
23178
|
const result = [...columns];
|
|
23173
23179
|
if (hasActions) {
|
|
23174
23180
|
const actionsColumn = {
|
|
@@ -23262,7 +23268,7 @@ function Table({
|
|
|
23262
23268
|
return rowKey(item);
|
|
23263
23269
|
}
|
|
23264
23270
|
const key = item[rowKey];
|
|
23265
|
-
return _optionalChain([key, 'optionalAccess',
|
|
23271
|
+
return _optionalChain([key, 'optionalAccess', _516 => _516.toString, 'call', _517 => _517()]) || index.toString();
|
|
23266
23272
|
};
|
|
23267
23273
|
const getRowClassName = (item, index) => {
|
|
23268
23274
|
if (typeof rowClassName === "function") {
|
|
@@ -23296,23 +23302,23 @@ function Table({
|
|
|
23296
23302
|
const allSelected = selectedRows.length > 0 && selectedRows.length === data.length;
|
|
23297
23303
|
const someSelected = selectedRows.length > 0 && selectedRows.length < data.length;
|
|
23298
23304
|
const sentinelRef = _react.useRef.call(void 0, null);
|
|
23299
|
-
const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess',
|
|
23300
|
-
onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess',
|
|
23305
|
+
const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess', _518 => _518.onLoadMore]));
|
|
23306
|
+
onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess', _519 => _519.onLoadMore]);
|
|
23301
23307
|
_react.useEffect.call(void 0, () => {
|
|
23302
|
-
if (!_optionalChain([infiniteScroll, 'optionalAccess',
|
|
23308
|
+
if (!_optionalChain([infiniteScroll, 'optionalAccess', _520 => _520.hasNextPage]) || infiniteScroll.isFetchingNextPage) return;
|
|
23303
23309
|
const sentinel = sentinelRef.current;
|
|
23304
23310
|
if (!sentinel) return;
|
|
23305
23311
|
const observer = new IntersectionObserver(
|
|
23306
23312
|
(entries) => {
|
|
23307
|
-
if (_optionalChain([entries, 'access',
|
|
23308
|
-
_optionalChain([onLoadMoreRef, 'access',
|
|
23313
|
+
if (_optionalChain([entries, 'access', _521 => _521[0], 'optionalAccess', _522 => _522.isIntersecting])) {
|
|
23314
|
+
_optionalChain([onLoadMoreRef, 'access', _523 => _523.current, 'optionalCall', _524 => _524()]);
|
|
23309
23315
|
}
|
|
23310
23316
|
},
|
|
23311
23317
|
{ rootMargin: "200px" }
|
|
23312
23318
|
);
|
|
23313
23319
|
observer.observe(sentinel);
|
|
23314
23320
|
return () => observer.disconnect();
|
|
23315
|
-
}, [_optionalChain([infiniteScroll, 'optionalAccess',
|
|
23321
|
+
}, [_optionalChain([infiniteScroll, 'optionalAccess', _525 => _525.hasNextPage]), _optionalChain([infiniteScroll, 'optionalAccess', _526 => _526.isFetchingNextPage])]);
|
|
23316
23322
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkOFAYLG6Dcjs.cn.call(void 0, "flex flex-col gap-1 w-full", containerClassName), children: [
|
|
23317
23323
|
showToolbar && bulkActions && selectedRows.length > 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between bg-ods-card border border-ods-border rounded-[6px] p-3 mb-2", children: [
|
|
23318
23324
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary text-sm", children: [
|
|
@@ -23383,7 +23389,7 @@ function Table({
|
|
|
23383
23389
|
},
|
|
23384
23390
|
getRowKey(item, index)
|
|
23385
23391
|
)),
|
|
23386
|
-
_optionalChain([infiniteScroll, 'optionalAccess',
|
|
23392
|
+
_optionalChain([infiniteScroll, 'optionalAccess', _527 => _527.isFetchingNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23387
23393
|
TableCardSkeleton,
|
|
23388
23394
|
{
|
|
23389
23395
|
columns,
|
|
@@ -23392,7 +23398,7 @@ function Table({
|
|
|
23392
23398
|
hasChevron: Boolean(rowHref)
|
|
23393
23399
|
}
|
|
23394
23400
|
),
|
|
23395
|
-
_optionalChain([infiniteScroll, 'optionalAccess',
|
|
23401
|
+
_optionalChain([infiniteScroll, 'optionalAccess', _528 => _528.hasNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: sentinelRef, className: "h-1", "aria-hidden": "true" }),
|
|
23396
23402
|
!infiniteScroll && Array.from({ length: Math.max(0, skeletonRows - data.length) }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23397
23403
|
"div",
|
|
23398
23404
|
{
|
|
@@ -23750,7 +23756,7 @@ function QueryReportTable({
|
|
|
23750
23756
|
);
|
|
23751
23757
|
const handleExport = () => {
|
|
23752
23758
|
exportToCSV(data, columns, exportFilename);
|
|
23753
|
-
_optionalChain([onExport, 'optionalCall',
|
|
23759
|
+
_optionalChain([onExport, 'optionalCall', _529 => _529()]);
|
|
23754
23760
|
};
|
|
23755
23761
|
const tableMinWidth = columns.length * (columnWidth + 16);
|
|
23756
23762
|
const {
|
|
@@ -23923,7 +23929,7 @@ function DataTableColumnFilter({
|
|
|
23923
23929
|
align = "left"
|
|
23924
23930
|
}) {
|
|
23925
23931
|
const currentValue = column.getFilterValue();
|
|
23926
|
-
const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess',
|
|
23932
|
+
const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess', _530 => _530.length]), () => ( 0));
|
|
23927
23933
|
const sections = _react.useMemo.call(void 0,
|
|
23928
23934
|
() => [
|
|
23929
23935
|
{
|
|
@@ -24003,7 +24009,7 @@ function DataTableHeader({
|
|
|
24003
24009
|
const hasVisibleHeaderCell = headerGroup.headers.some((header) => {
|
|
24004
24010
|
if (header.isPlaceholder) return false;
|
|
24005
24011
|
if (isLgUp) return true;
|
|
24006
|
-
return Boolean(_optionalChain([header, 'access',
|
|
24012
|
+
return Boolean(_optionalChain([header, 'access', _531 => _531.column, 'access', _532 => _532.columnDef, 'access', _533 => _533.meta, 'optionalAccess', _534 => _534.filter]));
|
|
24007
24013
|
});
|
|
24008
24014
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24009
24015
|
"div",
|
|
@@ -24033,20 +24039,20 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
|
|
|
24033
24039
|
if (header.isPlaceholder) return null;
|
|
24034
24040
|
const column = header.column;
|
|
24035
24041
|
const meta = column.columnDef.meta;
|
|
24036
|
-
const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess',
|
|
24037
|
-
const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
24038
|
-
const canSort = _optionalChain([meta, 'optionalAccess',
|
|
24039
|
-
const sortDir = _optionalChain([sort, 'optionalAccess',
|
|
24042
|
+
const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess', _535 => _535.filter]));
|
|
24043
|
+
const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _536 => _536.align]), () => ( "left"));
|
|
24044
|
+
const canSort = _optionalChain([meta, 'optionalAccess', _537 => _537.sortable]) === true;
|
|
24045
|
+
const sortDir = _optionalChain([sort, 'optionalAccess', _538 => _538.id]) === column.id ? sort.desc ? "desc" : "asc" : false;
|
|
24040
24046
|
if (!isLgUp && !hasFilter) return null;
|
|
24041
24047
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24042
24048
|
"div",
|
|
24043
24049
|
{
|
|
24044
24050
|
className: _chunkOFAYLG6Dcjs.cn.call(void 0,
|
|
24045
24051
|
"flex items-stretch",
|
|
24046
|
-
isLgUp && (_optionalChain([meta, 'optionalAccess',
|
|
24047
|
-
_optionalChain([meta, 'optionalAccess',
|
|
24052
|
+
isLgUp && (_optionalChain([meta, 'optionalAccess', _539 => _539.width]) || "flex-1 min-w-0"),
|
|
24053
|
+
_optionalChain([meta, 'optionalAccess', _540 => _540.headerClassName]),
|
|
24048
24054
|
// Don't apply hide classes if column is filterable on tablet (keep filter accessible)
|
|
24049
|
-
!(hasFilter && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess',
|
|
24055
|
+
!(hasFilter && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess', _541 => _541.hideAt]))
|
|
24050
24056
|
),
|
|
24051
24057
|
children: hasFilter ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24052
24058
|
DataTableColumnFilter,
|
|
@@ -24065,7 +24071,7 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
|
|
|
24065
24071
|
isLgUp && alignJustify(align),
|
|
24066
24072
|
canSort && "group cursor-pointer"
|
|
24067
24073
|
),
|
|
24068
|
-
onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall',
|
|
24074
|
+
onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall', _542 => _542(column.id)]) : void 0,
|
|
24069
24075
|
children: [
|
|
24070
24076
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
24071
24077
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -24149,7 +24155,7 @@ function DataTableSkeleton({
|
|
|
24149
24155
|
}) {
|
|
24150
24156
|
const table = useDataTableContext();
|
|
24151
24157
|
const columns = table.getVisibleFlatColumns();
|
|
24152
|
-
const firstColumnId = _optionalChain([columns, 'access',
|
|
24158
|
+
const firstColumnId = _optionalChain([columns, 'access', _543 => _543[0], 'optionalAccess', _544 => _544.id]);
|
|
24153
24159
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24154
24160
|
"div",
|
|
24155
24161
|
{
|
|
@@ -24173,7 +24179,7 @@ function DataTableSkeleton({
|
|
|
24173
24179
|
{
|
|
24174
24180
|
className: _chunkOFAYLG6Dcjs.cn.call(void 0,
|
|
24175
24181
|
"flex flex-col justify-center shrink-0",
|
|
24176
|
-
_optionalChain([meta, 'optionalAccess',
|
|
24182
|
+
_optionalChain([meta, 'optionalAccess', _545 => _545.width]) || "flex-1"
|
|
24177
24183
|
),
|
|
24178
24184
|
children: [
|
|
24179
24185
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-5 bg-ods-bg-surface rounded-sm w-3/4 mb-[var(--spacing-system-xxs)]" }),
|
|
@@ -24219,7 +24225,7 @@ function DataTableRowImpl({
|
|
|
24219
24225
|
(e) => {
|
|
24220
24226
|
const target = e.target;
|
|
24221
24227
|
if (target.closest("[data-no-row-click]")) return;
|
|
24222
|
-
_optionalChain([onClick, 'optionalCall',
|
|
24228
|
+
_optionalChain([onClick, 'optionalCall', _546 => _546(row.original)]);
|
|
24223
24229
|
},
|
|
24224
24230
|
[onClick, row.original]
|
|
24225
24231
|
);
|
|
@@ -24257,10 +24263,10 @@ function DataTableRowImpl({
|
|
|
24257
24263
|
{
|
|
24258
24264
|
className: _chunkOFAYLG6Dcjs.cn.call(void 0,
|
|
24259
24265
|
"flex flex-col overflow-hidden",
|
|
24260
|
-
alignJustify(_optionalChain([meta, 'optionalAccess',
|
|
24261
|
-
_optionalChain([meta, 'optionalAccess',
|
|
24262
|
-
_optionalChain([meta, 'optionalAccess',
|
|
24263
|
-
getHideClasses2(_optionalChain([meta, 'optionalAccess',
|
|
24266
|
+
alignJustify(_optionalChain([meta, 'optionalAccess', _547 => _547.align])),
|
|
24267
|
+
_optionalChain([meta, 'optionalAccess', _548 => _548.width]) || "flex-1 min-w-0",
|
|
24268
|
+
_optionalChain([meta, 'optionalAccess', _549 => _549.cellClassName]),
|
|
24269
|
+
getHideClasses2(_optionalChain([meta, 'optionalAccess', _550 => _550.hideAt]))
|
|
24264
24270
|
),
|
|
24265
24271
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CellContent, { children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) })
|
|
24266
24272
|
},
|
|
@@ -24306,7 +24312,7 @@ function DataTableBody({
|
|
|
24306
24312
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkOFAYLG6Dcjs.cn.call(void 0, "flex flex-col gap-[var(--spacing-system-xsf)] w-full", className), children: [
|
|
24307
24313
|
rows.map((row, index) => {
|
|
24308
24314
|
const item = row.original;
|
|
24309
|
-
const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall',
|
|
24315
|
+
const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall', _551 => _551(item)]), () => ( void 0));
|
|
24310
24316
|
const cls = typeof rowClassName === "function" ? rowClassName(item, index) : rowClassName;
|
|
24311
24317
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24312
24318
|
DataTableRow,
|
|
@@ -24370,7 +24376,7 @@ function DataTableInfiniteFooter({
|
|
|
24370
24376
|
if (!sentinel) return;
|
|
24371
24377
|
const observer = new IntersectionObserver(
|
|
24372
24378
|
(entries) => {
|
|
24373
|
-
if (_optionalChain([entries, 'access',
|
|
24379
|
+
if (_optionalChain([entries, 'access', _552 => _552[0], 'optionalAccess', _553 => _553.isIntersecting])) onLoadMoreRef.current();
|
|
24374
24380
|
},
|
|
24375
24381
|
{ rootMargin }
|
|
24376
24382
|
);
|
|
@@ -24418,7 +24424,7 @@ function DataTableRowCount({
|
|
|
24418
24424
|
const table = useDataTableContext();
|
|
24419
24425
|
const count = _nullishCoalesce(totalCount, () => ( table.getRowModel().rows.length));
|
|
24420
24426
|
if (hideWhenEmpty && count === 0) return null;
|
|
24421
|
-
const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall',
|
|
24427
|
+
const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _554 => _554(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
|
|
24422
24428
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24423
24429
|
"span",
|
|
24424
24430
|
{
|
|
@@ -24512,12 +24518,12 @@ function PhoneInput({
|
|
|
24512
24518
|
const runValidation = _react.useCallback.call(void 0, (phone) => {
|
|
24513
24519
|
if (!phone || digitCount(phone) === 0) {
|
|
24514
24520
|
setIsInvalid(false);
|
|
24515
|
-
_optionalChain([onValidationChange, 'optionalCall',
|
|
24521
|
+
_optionalChain([onValidationChange, 'optionalCall', _555 => _555(false)]);
|
|
24516
24522
|
return;
|
|
24517
24523
|
}
|
|
24518
24524
|
const invalid = !validatePhoneNumber(phone, countryCode);
|
|
24519
24525
|
setIsInvalid(invalid);
|
|
24520
|
-
_optionalChain([onValidationChange, 'optionalCall',
|
|
24526
|
+
_optionalChain([onValidationChange, 'optionalCall', _556 => _556(invalid)]);
|
|
24521
24527
|
}, [countryCode, digitCount, onValidationChange]);
|
|
24522
24528
|
const debouncedValidation = _react.useCallback.call(void 0, (phone) => {
|
|
24523
24529
|
if (debounceRef.current) clearTimeout(debounceRef.current);
|
|
@@ -24566,7 +24572,7 @@ function PhoneInput({
|
|
|
24566
24572
|
debouncedValidation(val);
|
|
24567
24573
|
} else if (digitCount(val) === 0) {
|
|
24568
24574
|
setIsInvalid(false);
|
|
24569
|
-
_optionalChain([onValidationChange, 'optionalCall',
|
|
24575
|
+
_optionalChain([onValidationChange, 'optionalCall', _557 => _557(false)]);
|
|
24570
24576
|
}
|
|
24571
24577
|
}
|
|
24572
24578
|
},
|
|
@@ -24673,7 +24679,7 @@ function SearchInput({
|
|
|
24673
24679
|
if (!showHiddenTags) return;
|
|
24674
24680
|
const handleClick = (e) => {
|
|
24675
24681
|
const target = e.target;
|
|
24676
|
-
if (!_optionalChain([hiddenTagsRef, 'access',
|
|
24682
|
+
if (!_optionalChain([hiddenTagsRef, 'access', _558 => _558.current, 'optionalAccess', _559 => _559.contains, 'call', _560 => _560(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _561 => _561.current, 'optionalAccess', _562 => _562.contains, 'call', _563 => _563(target)])) {
|
|
24677
24683
|
setShowHiddenTags(false);
|
|
24678
24684
|
}
|
|
24679
24685
|
};
|
|
@@ -24721,10 +24727,10 @@ function SearchInput({
|
|
|
24721
24727
|
} else {
|
|
24722
24728
|
setInternalValue("");
|
|
24723
24729
|
}
|
|
24724
|
-
_optionalChain([inputRef, 'access',
|
|
24730
|
+
_optionalChain([inputRef, 'access', _564 => _564.current, 'optionalAccess', _565 => _565.focus, 'call', _566 => _566()]);
|
|
24725
24731
|
};
|
|
24726
24732
|
const handleResultClick = (result) => {
|
|
24727
|
-
_optionalChain([onResultSelect, 'optionalCall',
|
|
24733
|
+
_optionalChain([onResultSelect, 'optionalCall', _567 => _567(result)]);
|
|
24728
24734
|
setIsOpen(false);
|
|
24729
24735
|
};
|
|
24730
24736
|
const handleKeyDown = (e) => {
|
|
@@ -24747,7 +24753,7 @@ function SearchInput({
|
|
|
24747
24753
|
if (highlightedIndex >= 0 && flatResults[highlightedIndex]) {
|
|
24748
24754
|
handleResultClick(flatResults[highlightedIndex]);
|
|
24749
24755
|
} else {
|
|
24750
|
-
_optionalChain([onSubmit, 'optionalCall',
|
|
24756
|
+
_optionalChain([onSubmit, 'optionalCall', _568 => _568(currentValue)]);
|
|
24751
24757
|
}
|
|
24752
24758
|
break;
|
|
24753
24759
|
case "Escape":
|
|
@@ -24825,7 +24831,7 @@ function SearchInput({
|
|
|
24825
24831
|
dropdownVisible && "!border-ods-accent"
|
|
24826
24832
|
),
|
|
24827
24833
|
onClick: () => {
|
|
24828
|
-
_optionalChain([inputRef, 'access',
|
|
24834
|
+
_optionalChain([inputRef, 'access', _569 => _569.current, 'optionalAccess', _570 => _570.focus, 'call', _571 => _571()]);
|
|
24829
24835
|
setIsOpen(true);
|
|
24830
24836
|
},
|
|
24831
24837
|
children: [
|
|
@@ -24909,10 +24915,10 @@ function SearchInput({
|
|
|
24909
24915
|
align: "start",
|
|
24910
24916
|
onOpenAutoFocus: (e) => {
|
|
24911
24917
|
e.preventDefault();
|
|
24912
|
-
_optionalChain([inputRef, 'access',
|
|
24918
|
+
_optionalChain([inputRef, 'access', _572 => _572.current, 'optionalAccess', _573 => _573.focus, 'call', _574 => _574()]);
|
|
24913
24919
|
},
|
|
24914
24920
|
onInteractOutside: (e) => {
|
|
24915
|
-
if (_optionalChain([containerRef, 'access',
|
|
24921
|
+
if (_optionalChain([containerRef, 'access', _575 => _575.current, 'optionalAccess', _576 => _576.contains, 'call', _577 => _577(e.target)])) {
|
|
24916
24922
|
e.preventDefault();
|
|
24917
24923
|
}
|
|
24918
24924
|
},
|
|
@@ -24929,10 +24935,10 @@ function SearchInput({
|
|
|
24929
24935
|
ref: hiddenTagsPopupRef,
|
|
24930
24936
|
items: hiddenChips.map((chip) => ({ label: chip.label, value: chip.id })),
|
|
24931
24937
|
style: {
|
|
24932
|
-
left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access',
|
|
24938
|
+
left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access', _578 => _578.current, 'optionalAccess', _579 => _579.getBoundingClientRect, 'call', _580 => _580(), 'access', _581 => _581.left]), () => ( 0))) : 0
|
|
24933
24939
|
},
|
|
24934
24940
|
onRemove: (value2) => {
|
|
24935
|
-
_optionalChain([onFilterRemove, 'optionalCall',
|
|
24941
|
+
_optionalChain([onFilterRemove, 'optionalCall', _582 => _582(value2)]);
|
|
24936
24942
|
if (hiddenCount <= 1) setShowHiddenTags(false);
|
|
24937
24943
|
}
|
|
24938
24944
|
}
|
|
@@ -24983,7 +24989,7 @@ function FilterListItem({
|
|
|
24983
24989
|
}) {
|
|
24984
24990
|
const handleToggle = () => {
|
|
24985
24991
|
if (disabled) return;
|
|
24986
|
-
_optionalChain([onToggle, 'optionalCall',
|
|
24992
|
+
_optionalChain([onToggle, 'optionalCall', _583 => _583(!selected)]);
|
|
24987
24993
|
};
|
|
24988
24994
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24989
24995
|
"div",
|
|
@@ -25030,7 +25036,7 @@ function FilterListItem({
|
|
|
25030
25036
|
CheckboxPrimitive4.Root,
|
|
25031
25037
|
{
|
|
25032
25038
|
checked: selected,
|
|
25033
|
-
onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall',
|
|
25039
|
+
onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _584 => _584(c === true)]),
|
|
25034
25040
|
onClick: (e) => e.stopPropagation(),
|
|
25035
25041
|
disabled,
|
|
25036
25042
|
"aria-label": title,
|
|
@@ -25129,7 +25135,7 @@ function TagSearchInput({
|
|
|
25129
25135
|
if (!showHiddenTags) return;
|
|
25130
25136
|
const handleClick = (e) => {
|
|
25131
25137
|
const target = e.target;
|
|
25132
|
-
if (!_optionalChain([hiddenTagsRef, 'access',
|
|
25138
|
+
if (!_optionalChain([hiddenTagsRef, 'access', _585 => _585.current, 'optionalAccess', _586 => _586.contains, 'call', _587 => _587(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _588 => _588.current, 'optionalAccess', _589 => _589.contains, 'call', _590 => _590(target)])) {
|
|
25133
25139
|
setShowHiddenTags(false);
|
|
25134
25140
|
}
|
|
25135
25141
|
};
|
|
@@ -25145,13 +25151,13 @@ function TagSearchInput({
|
|
|
25145
25151
|
e.preventDefault();
|
|
25146
25152
|
onSubmit(searchValue);
|
|
25147
25153
|
}
|
|
25148
|
-
_optionalChain([onKeyDown, 'optionalCall',
|
|
25154
|
+
_optionalChain([onKeyDown, 'optionalCall', _591 => _591(e)]);
|
|
25149
25155
|
};
|
|
25150
25156
|
const handleClearAll = (e) => {
|
|
25151
25157
|
e.stopPropagation();
|
|
25152
25158
|
e.preventDefault();
|
|
25153
|
-
_optionalChain([onClearAll, 'optionalCall',
|
|
25154
|
-
_optionalChain([inputRef, 'access',
|
|
25159
|
+
_optionalChain([onClearAll, 'optionalCall', _592 => _592()]);
|
|
25160
|
+
_optionalChain([inputRef, 'access', _593 => _593.current, 'optionalAccess', _594 => _594.focus, 'call', _595 => _595()]);
|
|
25155
25161
|
};
|
|
25156
25162
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: wrapperRef, className: "relative", children: [
|
|
25157
25163
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -25168,7 +25174,7 @@ function TagSearchInput({
|
|
|
25168
25174
|
className
|
|
25169
25175
|
),
|
|
25170
25176
|
onClick: () => {
|
|
25171
|
-
if (!disabled) _optionalChain([inputRef, 'access',
|
|
25177
|
+
if (!disabled) _optionalChain([inputRef, 'access', _596 => _596.current, 'optionalAccess', _597 => _597.focus, 'call', _598 => _598()]);
|
|
25172
25178
|
},
|
|
25173
25179
|
children: [
|
|
25174
25180
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 flex items-center pl-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, { className: "text-ods-text-secondary size-4 md:size-6" }) }),
|
|
@@ -25240,7 +25246,7 @@ function TagSearchInput({
|
|
|
25240
25246
|
items: hiddenTags,
|
|
25241
25247
|
disabled,
|
|
25242
25248
|
style: {
|
|
25243
|
-
left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access',
|
|
25249
|
+
left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access', _599 => _599.current, 'optionalAccess', _600 => _600.getBoundingClientRect, 'call', _601 => _601(), 'access', _602 => _602.left]), () => ( 0))) : 0
|
|
25244
25250
|
},
|
|
25245
25251
|
onRemove: (value) => {
|
|
25246
25252
|
onTagRemove(value);
|
|
@@ -25342,7 +25348,7 @@ function MarkdownEditor({
|
|
|
25342
25348
|
const [defaultExtraCommands, setDefaultExtraCommands] = _react.useState.call(void 0, []);
|
|
25343
25349
|
_react.useEffect.call(void 0, () => {
|
|
25344
25350
|
Promise.resolve().then(() => _interopRequireWildcard(require("@uiw/react-md-editor"))).then((mod) => {
|
|
25345
|
-
if (_optionalChain([mod, 'access',
|
|
25351
|
+
if (_optionalChain([mod, 'access', _603 => _603.commands, 'optionalAccess', _604 => _604.getExtraCommands])) {
|
|
25346
25352
|
setDefaultExtraCommands(mod.commands.getExtraCommands());
|
|
25347
25353
|
}
|
|
25348
25354
|
});
|
|
@@ -25376,7 +25382,7 @@ function MarkdownEditor({
|
|
|
25376
25382
|
const isImage = file.type.startsWith("image/");
|
|
25377
25383
|
const markdown = isImage ? `` : `[${file.name}](${url})`;
|
|
25378
25384
|
insertTextAtCursor(markdown);
|
|
25379
|
-
_optionalChain([onFileUploaded, 'optionalCall',
|
|
25385
|
+
_optionalChain([onFileUploaded, 'optionalCall', _605 => _605(url, file.name)]);
|
|
25380
25386
|
} catch (error) {
|
|
25381
25387
|
console.error("File upload failed:", error);
|
|
25382
25388
|
setUploadProgress("Upload failed. Please try again.");
|
|
@@ -25389,7 +25395,7 @@ function MarkdownEditor({
|
|
|
25389
25395
|
);
|
|
25390
25396
|
const handleFileInputChange = _react.useCallback.call(void 0,
|
|
25391
25397
|
(e) => {
|
|
25392
|
-
const file = _optionalChain([e, 'access',
|
|
25398
|
+
const file = _optionalChain([e, 'access', _606 => _606.target, 'access', _607 => _607.files, 'optionalAccess', _608 => _608[0]]);
|
|
25393
25399
|
if (file) {
|
|
25394
25400
|
handleFileUpload(file);
|
|
25395
25401
|
e.target.value = "";
|
|
@@ -25400,7 +25406,7 @@ function MarkdownEditor({
|
|
|
25400
25406
|
const handlePaste = _react.useCallback.call(void 0,
|
|
25401
25407
|
(e) => {
|
|
25402
25408
|
if (!onUploadFile) return;
|
|
25403
|
-
const items = _optionalChain([e, 'access',
|
|
25409
|
+
const items = _optionalChain([e, 'access', _609 => _609.clipboardData, 'optionalAccess', _610 => _610.items]);
|
|
25404
25410
|
if (!items) return;
|
|
25405
25411
|
for (const item of items) {
|
|
25406
25412
|
if (item.type.startsWith("image/")) {
|
|
@@ -25425,7 +25431,7 @@ function MarkdownEditor({
|
|
|
25425
25431
|
buttonProps: { "aria-label": "Upload file", title: "Upload file" },
|
|
25426
25432
|
icon: isUploading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "w-3 h-3 animate-spin" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "w-3 h-3" }),
|
|
25427
25433
|
execute: () => {
|
|
25428
|
-
_optionalChain([fileInputRef, 'access',
|
|
25434
|
+
_optionalChain([fileInputRef, 'access', _611 => _611.current, 'optionalAccess', _612 => _612.click, 'call', _613 => _613()]);
|
|
25429
25435
|
}
|
|
25430
25436
|
} : null;
|
|
25431
25437
|
const extraCommands = uploadCommand ? [...defaultExtraCommands, uploadCommand] : defaultExtraCommands;
|
|
@@ -25437,7 +25443,7 @@ function MarkdownEditor({
|
|
|
25437
25443
|
const EDGE_ZONE = 60;
|
|
25438
25444
|
const MAX_SCROLL_SPEED = 15;
|
|
25439
25445
|
const findScrollParent = _react.useCallback.call(void 0, (el) => {
|
|
25440
|
-
let node = _optionalChain([el, 'optionalAccess',
|
|
25446
|
+
let node = _optionalChain([el, 'optionalAccess', _614 => _614.parentElement]);
|
|
25441
25447
|
while (node && node !== document.documentElement) {
|
|
25442
25448
|
const { overflowY } = window.getComputedStyle(node);
|
|
25443
25449
|
if ((overflowY === "auto" || overflowY === "scroll") && node.scrollHeight > node.clientHeight) {
|
|
@@ -25580,7 +25586,7 @@ function matchesAccept(file, accept) {
|
|
|
25580
25586
|
});
|
|
25581
25587
|
}
|
|
25582
25588
|
function dragHasFiles(e) {
|
|
25583
|
-
const types = _optionalChain([e, 'access',
|
|
25589
|
+
const types = _optionalChain([e, 'access', _615 => _615.dataTransfer, 'optionalAccess', _616 => _616.types]);
|
|
25584
25590
|
if (!types) return false;
|
|
25585
25591
|
for (let i = 0; i < types.length; i++) {
|
|
25586
25592
|
if (types[i] === "Files") return true;
|
|
@@ -25675,7 +25681,7 @@ function FileUpload({
|
|
|
25675
25681
|
e.stopPropagation();
|
|
25676
25682
|
setDragActive(false);
|
|
25677
25683
|
if (disabled) return;
|
|
25678
|
-
if (_optionalChain([e, 'access',
|
|
25684
|
+
if (_optionalChain([e, 'access', _617 => _617.dataTransfer, 'access', _618 => _618.files, 'optionalAccess', _619 => _619.length])) {
|
|
25679
25685
|
handleFiles(e.dataTransfer.files);
|
|
25680
25686
|
}
|
|
25681
25687
|
};
|
|
@@ -25703,7 +25709,7 @@ function FileUpload({
|
|
|
25703
25709
|
e.preventDefault();
|
|
25704
25710
|
dragCounter = 0;
|
|
25705
25711
|
setDragActive(false);
|
|
25706
|
-
if (_optionalChain([e, 'access',
|
|
25712
|
+
if (_optionalChain([e, 'access', _620 => _620.dataTransfer, 'optionalAccess', _621 => _621.files, 'optionalAccess', _622 => _622.length])) {
|
|
25707
25713
|
handleFilesRef.current(e.dataTransfer.files);
|
|
25708
25714
|
}
|
|
25709
25715
|
};
|
|
@@ -25725,7 +25731,7 @@ function FileUpload({
|
|
|
25725
25731
|
};
|
|
25726
25732
|
}, [acceptWindowDrops, disabled]);
|
|
25727
25733
|
const handleFileSelect = (e) => {
|
|
25728
|
-
if (_optionalChain([e, 'access',
|
|
25734
|
+
if (_optionalChain([e, 'access', _623 => _623.target, 'access', _624 => _624.files, 'optionalAccess', _625 => _625.length])) {
|
|
25729
25735
|
handleFiles(e.target.files);
|
|
25730
25736
|
}
|
|
25731
25737
|
};
|
|
@@ -25742,7 +25748,7 @@ function FileUpload({
|
|
|
25742
25748
|
};
|
|
25743
25749
|
const openDialog = async () => {
|
|
25744
25750
|
if (disabled) return;
|
|
25745
|
-
_optionalChain([fileInputRef, 'access',
|
|
25751
|
+
_optionalChain([fileInputRef, 'access', _626 => _626.current, 'optionalAccess', _627 => _627.click, 'call', _628 => _628()]);
|
|
25746
25752
|
};
|
|
25747
25753
|
const displayError = error || validationError || void 0;
|
|
25748
25754
|
const hasFiles = isManaged ? managedFiles.length > 0 : files.length > 0;
|
|
@@ -25820,7 +25826,7 @@ function FileUpload({
|
|
|
25820
25826
|
"button",
|
|
25821
25827
|
{
|
|
25822
25828
|
type: "button",
|
|
25823
|
-
onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall',
|
|
25829
|
+
onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _629 => _629(entry.id)]),
|
|
25824
25830
|
className: "shrink-0 p-1 rounded hover:bg-ods-bg transition-colors",
|
|
25825
25831
|
"aria-label": `Remove ${entry.fileName}`,
|
|
25826
25832
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.X, { className: "size-4 text-ods-text-secondary" })
|
|
@@ -25943,7 +25949,7 @@ function ImageUploader({
|
|
|
25943
25949
|
onChange(file);
|
|
25944
25950
|
};
|
|
25945
25951
|
const handleFileSelect = (e) => {
|
|
25946
|
-
validateAndEmit(_optionalChain([e, 'access',
|
|
25952
|
+
validateAndEmit(_optionalChain([e, 'access', _630 => _630.target, 'access', _631 => _631.files, 'optionalAccess', _632 => _632[0]]));
|
|
25947
25953
|
if (inputRef.current) inputRef.current.value = "";
|
|
25948
25954
|
};
|
|
25949
25955
|
const handleDrag = (e) => {
|
|
@@ -25958,11 +25964,11 @@ function ImageUploader({
|
|
|
25958
25964
|
e.stopPropagation();
|
|
25959
25965
|
setDragActive(false);
|
|
25960
25966
|
if (!interactive) return;
|
|
25961
|
-
validateAndEmit(_optionalChain([e, 'access',
|
|
25967
|
+
validateAndEmit(_optionalChain([e, 'access', _633 => _633.dataTransfer, 'access', _634 => _634.files, 'optionalAccess', _635 => _635[0]]));
|
|
25962
25968
|
};
|
|
25963
25969
|
const openDialog = () => {
|
|
25964
25970
|
if (!interactive) return;
|
|
25965
|
-
_optionalChain([inputRef, 'access',
|
|
25971
|
+
_optionalChain([inputRef, 'access', _636 => _636.current, 'optionalAccess', _637 => _637.click, 'call', _638 => _638()]);
|
|
25966
25972
|
};
|
|
25967
25973
|
const handleRootKeyDown = (e) => {
|
|
25968
25974
|
if (hasImage || !interactive) return;
|
|
@@ -26119,7 +26125,7 @@ function CompactAssigneeDropdown({
|
|
|
26119
26125
|
return [current, ...filtered.filter((o) => o.value !== currentAssignee.id)];
|
|
26120
26126
|
}, [filtered, currentAssignee]);
|
|
26121
26127
|
const handleSelect = (userId) => {
|
|
26122
|
-
const next = _optionalChain([currentAssignee, 'optionalAccess',
|
|
26128
|
+
const next = _optionalChain([currentAssignee, 'optionalAccess', _639 => _639.id]) === userId ? null : userId;
|
|
26123
26129
|
onAssign(next);
|
|
26124
26130
|
setIsOpen(false);
|
|
26125
26131
|
};
|
|
@@ -26184,7 +26190,7 @@ function CompactAssigneeDropdown({
|
|
|
26184
26190
|
}
|
|
26185
26191
|
) }),
|
|
26186
26192
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "max-h-80 overflow-y-auto py-[var(--spacing-system-xs)]", role: "listbox", children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "px-[var(--spacing-system-sf)] py-[var(--spacing-system-s)] text-h5 text-ods-text-secondary", children: "Loading\u2026" }) : orderedOptions.length === 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "px-[var(--spacing-system-sf)] py-[var(--spacing-system-s)] text-h5 text-ods-text-secondary", children: "No users found" }) : orderedOptions.map((opt) => {
|
|
26187
|
-
const isCurrent = _optionalChain([currentAssignee, 'optionalAccess',
|
|
26193
|
+
const isCurrent = _optionalChain([currentAssignee, 'optionalAccess', _640 => _640.id]) === opt.value;
|
|
26188
26194
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
26189
26195
|
"button",
|
|
26190
26196
|
{
|
|
@@ -26253,7 +26259,7 @@ function DefaultAssigneeDropdown({
|
|
|
26253
26259
|
Autocomplete,
|
|
26254
26260
|
{
|
|
26255
26261
|
options,
|
|
26256
|
-
value: _nullishCoalesce(_optionalChain([currentAssignee, 'optionalAccess',
|
|
26262
|
+
value: _nullishCoalesce(_optionalChain([currentAssignee, 'optionalAccess', _641 => _641.id]), () => ( null)),
|
|
26257
26263
|
onChange: (val) => {
|
|
26258
26264
|
onAssign(val);
|
|
26259
26265
|
setIsEditing(false);
|
|
@@ -26611,14 +26617,14 @@ function TicketInfoSection({
|
|
|
26611
26617
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26612
26618
|
SquareAvatar,
|
|
26613
26619
|
{
|
|
26614
|
-
src: _optionalChain([organization, 'optionalAccess',
|
|
26615
|
-
alt: _optionalChain([organization, 'optionalAccess',
|
|
26616
|
-
fallback: _optionalChain([organization, 'optionalAccess',
|
|
26620
|
+
src: _optionalChain([organization, 'optionalAccess', _642 => _642.imageSrc]),
|
|
26621
|
+
alt: _optionalChain([organization, 'optionalAccess', _643 => _643.name]),
|
|
26622
|
+
fallback: _optionalChain([organization, 'optionalAccess', _644 => _644.name]) || "Org",
|
|
26617
26623
|
size: "md",
|
|
26618
26624
|
className: "shrink-0"
|
|
26619
26625
|
}
|
|
26620
26626
|
),
|
|
26621
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess',
|
|
26627
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess', _645 => _645.name]) || "Unassigned", label: "Organization" })
|
|
26622
26628
|
] }),
|
|
26623
26629
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: assigned ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26624
26630
|
AssigneeDropdown,
|
|
@@ -26639,10 +26645,10 @@ function TicketInfoSection({
|
|
|
26639
26645
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26640
26646
|
InfoCell2,
|
|
26641
26647
|
{
|
|
26642
|
-
value: _optionalChain([device, 'optionalAccess',
|
|
26648
|
+
value: _optionalChain([device, 'optionalAccess', _646 => _646.name]) || "Unassigned",
|
|
26643
26649
|
label: "Device",
|
|
26644
|
-
icon: _optionalChain([device, 'optionalAccess',
|
|
26645
|
-
onClick: _optionalChain([device, 'optionalAccess',
|
|
26650
|
+
icon: _optionalChain([device, 'optionalAccess', _647 => _647.icon]),
|
|
26651
|
+
onClick: _optionalChain([device, 'optionalAccess', _648 => _648.onClick])
|
|
26646
26652
|
}
|
|
26647
26653
|
),
|
|
26648
26654
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4 min-w-0", children: [
|
|
@@ -27401,10 +27407,10 @@ var getContentDimensions = (config) => {
|
|
|
27401
27407
|
const envMobileHeight = process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT) : null;
|
|
27402
27408
|
const envDesktopWidth = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH) : null;
|
|
27403
27409
|
const envDesktopHeight = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT) : null;
|
|
27404
|
-
const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess',
|
|
27405
|
-
const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess',
|
|
27406
|
-
const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess',
|
|
27407
|
-
const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess',
|
|
27410
|
+
const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess', _649 => _649.mobileContentDimensions, 'optionalAccess', _650 => _650.width]))), () => ( defaultMobile.width));
|
|
27411
|
+
const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess', _651 => _651.mobileContentDimensions, 'optionalAccess', _652 => _652.height]))), () => ( defaultMobile.height));
|
|
27412
|
+
const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess', _653 => _653.desktopContentDimensions, 'optionalAccess', _654 => _654.width]))), () => ( defaultDesktop.width));
|
|
27413
|
+
const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess', _655 => _655.desktopContentDimensions, 'optionalAccess', _656 => _656.height]))), () => ( defaultDesktop.height));
|
|
27408
27414
|
return {
|
|
27409
27415
|
mobile: { width: mobileWidth, height: mobileHeight },
|
|
27410
27416
|
desktop: { width: desktopWidth, height: desktopHeight }
|
|
@@ -27538,7 +27544,7 @@ function renderUnifiedUI(state, handlers, config, iframeRef) {
|
|
|
27538
27544
|
const contentDimensions = getContentDimensions(config);
|
|
27539
27545
|
const mobileHeight = contentDimensions.mobile.height;
|
|
27540
27546
|
const calculatedHeight = Math.max(mobileHeight + 100, 400);
|
|
27541
|
-
return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess',
|
|
27547
|
+
return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess', _657 => _657.innerHeight]) * 0.85 || 650)}px`;
|
|
27542
27548
|
})(),
|
|
27543
27549
|
minHeight: viewMode === "DESKTOP" ? "auto" : (() => {
|
|
27544
27550
|
const contentDimensions = getContentDimensions(config);
|
|
@@ -27643,7 +27649,7 @@ var FigmaPrototypeViewer = ({
|
|
|
27643
27649
|
const [isInitialized, setIsInitialized] = _react.useState.call(void 0, false);
|
|
27644
27650
|
const [currentNodeId, setCurrentNodeId] = _react.useState.call(void 0, null);
|
|
27645
27651
|
const [internalActiveSection, setInternalActiveSection] = _react.useState.call(void 0,
|
|
27646
|
-
config.defaultSectionId || _optionalChain([config, 'access',
|
|
27652
|
+
config.defaultSectionId || _optionalChain([config, 'access', _658 => _658.sections, 'access', _659 => _659[0], 'optionalAccess', _660 => _660.id]) || ""
|
|
27647
27653
|
);
|
|
27648
27654
|
const activeSection = externalActiveSection || internalActiveSection;
|
|
27649
27655
|
const [isNavigating, setIsNavigating] = _react.useState.call(void 0, false);
|
|
@@ -27733,7 +27739,7 @@ var FigmaPrototypeViewer = ({
|
|
|
27733
27739
|
const handleMessage = (event) => {
|
|
27734
27740
|
if (event.origin !== "https://www.figma.com") return;
|
|
27735
27741
|
const validEvents = ["INITIAL_LOAD", "NEW_STATE", "PRESENTED_NODE_CHANGED"];
|
|
27736
|
-
if (_optionalChain([event, 'access',
|
|
27742
|
+
if (_optionalChain([event, 'access', _661 => _661.data, 'optionalAccess', _662 => _662.type]) && validEvents.includes(event.data.type)) {
|
|
27737
27743
|
const figmaEvent = event.data;
|
|
27738
27744
|
console.log("[Figma Event]", figmaEvent.type, viewMode);
|
|
27739
27745
|
switch (figmaEvent.type) {
|
|
@@ -27743,19 +27749,19 @@ var FigmaPrototypeViewer = ({
|
|
|
27743
27749
|
setIframeState("READY");
|
|
27744
27750
|
break;
|
|
27745
27751
|
case "PRESENTED_NODE_CHANGED":
|
|
27746
|
-
if (_optionalChain([figmaEvent, 'access',
|
|
27752
|
+
if (_optionalChain([figmaEvent, 'access', _663 => _663.data, 'optionalAccess', _664 => _664.presentedNodeId])) {
|
|
27747
27753
|
setCurrentNodeId(figmaEvent.data.presentedNodeId);
|
|
27748
27754
|
if (!isNavigating) {
|
|
27749
27755
|
const matchingSection = config.sections.find((s) => {
|
|
27750
|
-
const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access',
|
|
27751
|
-
const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access',
|
|
27756
|
+
const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access', _665 => _665.data, 'optionalAccess', _666 => _666.presentedNodeId]) || s.startingNodeId.replace(":", "-") === _optionalChain([figmaEvent, 'access', _667 => _667.data, 'optionalAccess', _668 => _668.presentedNodeId]);
|
|
27757
|
+
const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access', _669 => _669.data, 'optionalAccess', _670 => _670.presentedNodeId]) || _optionalChain([s, 'access', _671 => _671.mobileStartingNodeId, 'optionalAccess', _672 => _672.replace, 'call', _673 => _673(":", "-")]) === _optionalChain([figmaEvent, 'access', _674 => _674.data, 'optionalAccess', _675 => _675.presentedNodeId]);
|
|
27752
27758
|
return desktopMatch || mobileMatch;
|
|
27753
27759
|
});
|
|
27754
27760
|
if (matchingSection && matchingSection.id !== activeSection) {
|
|
27755
27761
|
if (!externalActiveSection) {
|
|
27756
27762
|
setInternalActiveSection(matchingSection.id);
|
|
27757
27763
|
}
|
|
27758
|
-
_optionalChain([config, 'access',
|
|
27764
|
+
_optionalChain([config, 'access', _676 => _676.onSectionChange, 'optionalCall', _677 => _677(matchingSection.id)]);
|
|
27759
27765
|
}
|
|
27760
27766
|
}
|
|
27761
27767
|
}
|
|
@@ -27768,7 +27774,7 @@ var FigmaPrototypeViewer = ({
|
|
|
27768
27774
|
}, [config.sections, activeSection, isNavigating, externalActiveSection, config.onSectionChange, viewMode]);
|
|
27769
27775
|
const navigateToSection = _react.useCallback.call(void 0, (sectionId) => {
|
|
27770
27776
|
const section = config.sections.find((s) => s.id === sectionId);
|
|
27771
|
-
if (!section || !_optionalChain([iframeRef, 'access',
|
|
27777
|
+
if (!section || !_optionalChain([iframeRef, 'access', _678 => _678.current, 'optionalAccess', _679 => _679.contentWindow]) || !isInitialized) {
|
|
27772
27778
|
return;
|
|
27773
27779
|
}
|
|
27774
27780
|
setIsNavigating(true);
|
|
@@ -27776,7 +27782,7 @@ var FigmaPrototypeViewer = ({
|
|
|
27776
27782
|
if (!externalActiveSection) {
|
|
27777
27783
|
setInternalActiveSection(sectionId);
|
|
27778
27784
|
}
|
|
27779
|
-
_optionalChain([config, 'access',
|
|
27785
|
+
_optionalChain([config, 'access', _680 => _680.onSectionChange, 'optionalCall', _681 => _681(sectionId)]);
|
|
27780
27786
|
const command = {
|
|
27781
27787
|
type: "NAVIGATE_TO_FRAME_AND_CLOSE_OVERLAYS",
|
|
27782
27788
|
data: { nodeId }
|
|
@@ -28096,7 +28102,7 @@ var FiltersDropdown = ({
|
|
|
28096
28102
|
defaults[section.id] = section.defaultSelected || [];
|
|
28097
28103
|
});
|
|
28098
28104
|
setSelectedFilters(defaults);
|
|
28099
|
-
_optionalChain([onReset, 'optionalCall',
|
|
28105
|
+
_optionalChain([onReset, 'optionalCall', _682 => _682()]);
|
|
28100
28106
|
setIsOpen(false);
|
|
28101
28107
|
};
|
|
28102
28108
|
const handleApply = () => {
|
|
@@ -28390,7 +28396,7 @@ function MediaGalleryManager({
|
|
|
28390
28396
|
const [deletingIndex, setDeletingIndex] = _react.useState.call(void 0, null);
|
|
28391
28397
|
const [draggedIndex, setDraggedIndex] = _react.useState.call(void 0, null);
|
|
28392
28398
|
const handleFileSelect = _react.useCallback.call(void 0, async (event) => {
|
|
28393
|
-
const file = _optionalChain([event, 'access',
|
|
28399
|
+
const file = _optionalChain([event, 'access', _683 => _683.target, 'access', _684 => _684.files, 'optionalAccess', _685 => _685[0]]);
|
|
28394
28400
|
if (!file) return;
|
|
28395
28401
|
let mediaType;
|
|
28396
28402
|
if (file.type.startsWith("image/")) {
|
|
@@ -28505,7 +28511,7 @@ function MediaGalleryManager({
|
|
|
28505
28511
|
{
|
|
28506
28512
|
type: "button",
|
|
28507
28513
|
variant: "outline",
|
|
28508
|
-
onClick: () => _optionalChain([fileInputRef, 'access',
|
|
28514
|
+
onClick: () => _optionalChain([fileInputRef, 'access', _686 => _686.current, 'optionalAccess', _687 => _687.click, 'call', _688 => _688()]),
|
|
28509
28515
|
disabled: isUploading,
|
|
28510
28516
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
|
|
28511
28517
|
className: "font-['DM_Sans'] text-[16px] font-bold",
|
|
@@ -29290,7 +29296,7 @@ function ReleaseMediaManager({
|
|
|
29290
29296
|
const fileInputRef = _react.useRef.call(void 0, null);
|
|
29291
29297
|
const [uploadingIndex, setUploadingIndex] = _react.useState.call(void 0, null);
|
|
29292
29298
|
const handleFileSelect = async (event) => {
|
|
29293
|
-
const file = _optionalChain([event, 'access',
|
|
29299
|
+
const file = _optionalChain([event, 'access', _689 => _689.target, 'access', _690 => _690.files, 'optionalAccess', _691 => _691[0]]);
|
|
29294
29300
|
if (!file) return;
|
|
29295
29301
|
let mediaType;
|
|
29296
29302
|
if (file.type.startsWith("image/")) {
|
|
@@ -29370,7 +29376,7 @@ function ReleaseMediaManager({
|
|
|
29370
29376
|
{
|
|
29371
29377
|
type: "button",
|
|
29372
29378
|
variant: "outline",
|
|
29373
|
-
onClick: () => _optionalChain([fileInputRef, 'access',
|
|
29379
|
+
onClick: () => _optionalChain([fileInputRef, 'access', _692 => _692.current, 'optionalAccess', _693 => _693.click, 'call', _694 => _694()]),
|
|
29374
29380
|
disabled: uploadingIndex !== null,
|
|
29375
29381
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
|
|
29376
29382
|
className: "font-['DM_Sans'] text-[16px] font-bold",
|
|
@@ -29583,7 +29589,7 @@ function SEOEditorPreview({
|
|
|
29583
29589
|
const displayImage = hasOgImage || hasFeaturedImage;
|
|
29584
29590
|
const handleImageUpload = async (event) => {
|
|
29585
29591
|
if (!onOgImageUpload) return;
|
|
29586
|
-
const file = _optionalChain([event, 'access',
|
|
29592
|
+
const file = _optionalChain([event, 'access', _695 => _695.target, 'access', _696 => _696.files, 'optionalAccess', _697 => _697[0]]);
|
|
29587
29593
|
if (!file) return;
|
|
29588
29594
|
setIsUploading(true);
|
|
29589
29595
|
try {
|
|
@@ -29714,7 +29720,7 @@ function SEOEditorPreview({
|
|
|
29714
29720
|
type: "button",
|
|
29715
29721
|
variant: "outline",
|
|
29716
29722
|
size: "icon",
|
|
29717
|
-
onClick: () => _optionalChain([fileInputRef, 'optionalAccess',
|
|
29723
|
+
onClick: () => _optionalChain([fileInputRef, 'optionalAccess', _698 => _698.click, 'call', _699 => _699()]),
|
|
29718
29724
|
disabled: disabled || isUploading,
|
|
29719
29725
|
className: "bg-white text-black hover:bg-gray-100 rounded-full opacity-0 group-hover:opacity-100",
|
|
29720
29726
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-4 w-4" })
|
|
@@ -29737,7 +29743,7 @@ function SEOEditorPreview({
|
|
|
29737
29743
|
"div",
|
|
29738
29744
|
{
|
|
29739
29745
|
className: "h-full min-h-[280px] border-2 border-dashed border-ods-border rounded-lg flex flex-col items-center justify-center cursor-pointer hover:border-ods-accent transition-colors bg-ods-bg-hover",
|
|
29740
|
-
onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess',
|
|
29746
|
+
onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess', _700 => _700.click, 'call', _701 => _701()]),
|
|
29741
29747
|
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: [
|
|
29742
29748
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-8 w-8 text-ods-text-secondary mb-2" }),
|
|
29743
29749
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-sm text-ods-text-secondary font-['DM_Sans']", children: onOgImageUpload ? "Click to upload OG image" : "No image" })
|
|
@@ -29822,7 +29828,7 @@ function SocialLinksManager({
|
|
|
29822
29828
|
className = ""
|
|
29823
29829
|
}) {
|
|
29824
29830
|
const addLink = () => {
|
|
29825
|
-
const firstPlatform = _optionalChain([platforms, 'access',
|
|
29831
|
+
const firstPlatform = _optionalChain([platforms, 'access', _702 => _702[0], 'optionalAccess', _703 => _703.name]) || "website";
|
|
29826
29832
|
onChange([...links, { platform: firstPlatform, url: "" }]);
|
|
29827
29833
|
};
|
|
29828
29834
|
const removeLink = (index) => {
|
|
@@ -29834,7 +29840,7 @@ function SocialLinksManager({
|
|
|
29834
29840
|
onChange(updated);
|
|
29835
29841
|
};
|
|
29836
29842
|
const getIcon = (link, platform) => {
|
|
29837
|
-
const iconKey = _optionalChain([platform, 'optionalAccess',
|
|
29843
|
+
const iconKey = _optionalChain([platform, 'optionalAccess', _704 => _704.icon_name]) || link.platform;
|
|
29838
29844
|
const IconComponent = iconMap[iconKey];
|
|
29839
29845
|
return IconComponent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: "w-5 h-5 text-ods-text-secondary" }) : null;
|
|
29840
29846
|
};
|
|
@@ -29859,7 +29865,7 @@ function SocialLinksManager({
|
|
|
29859
29865
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29860
29866
|
_chunkBJTOSUT4cjs.Input,
|
|
29861
29867
|
{
|
|
29862
|
-
placeholder: _optionalChain([platform, 'optionalAccess',
|
|
29868
|
+
placeholder: _optionalChain([platform, 'optionalAccess', _705 => _705.placeholder]) || "Profile URL",
|
|
29863
29869
|
value: link.url,
|
|
29864
29870
|
onChange: (e) => updateLink(index, "url", e.target.value),
|
|
29865
29871
|
onKeyDown: (e) => {
|
|
@@ -30488,7 +30494,7 @@ function VideoSourceSelector({
|
|
|
30488
30494
|
input.accept = "video/*";
|
|
30489
30495
|
input.onchange = async (e) => {
|
|
30490
30496
|
const target = e.target;
|
|
30491
|
-
const file = _optionalChain([target, 'access',
|
|
30497
|
+
const file = _optionalChain([target, 'access', _706 => _706.files, 'optionalAccess', _707 => _707[0]]);
|
|
30492
30498
|
if (!file) return;
|
|
30493
30499
|
setIsUploading(true);
|
|
30494
30500
|
setUploadProgress(0);
|
|
@@ -30818,7 +30824,7 @@ function TranscriptSummaryEditor({
|
|
|
30818
30824
|
{
|
|
30819
30825
|
id: "subtitles",
|
|
30820
30826
|
value: subtitles || "",
|
|
30821
|
-
onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall',
|
|
30827
|
+
onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall', _708 => _708(e.target.value)]),
|
|
30822
30828
|
placeholder: subtitlesPlaceholder,
|
|
30823
30829
|
disabled: disabled || !onSubtitlesChange,
|
|
30824
30830
|
className: "h-full w-full resize-none border-0 bg-transparent text-ods-text-primary placeholder:text-ods-text-secondary/50 focus:ring-0 focus:outline-none p-4 font-mono text-sm",
|
|
@@ -30971,7 +30977,7 @@ var AIEnrichSection = ({
|
|
|
30971
30977
|
}) => {
|
|
30972
30978
|
const hasResults = status === "success" || status === "error";
|
|
30973
30979
|
const shouldDisable = disabled || !canEnrich;
|
|
30974
|
-
const unfilledFields = _optionalChain([requiredFields, 'optionalAccess',
|
|
30980
|
+
const unfilledFields = _optionalChain([requiredFields, 'optionalAccess', _709 => _709.filter, 'call', _710 => _710((f) => !f.isFilled)]) || [];
|
|
30975
30981
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30976
30982
|
"div",
|
|
30977
30983
|
{
|
|
@@ -31009,7 +31015,7 @@ var AIEnrichSection = ({
|
|
|
31009
31015
|
{
|
|
31010
31016
|
id: "ai-enrich-custom-instructions",
|
|
31011
31017
|
value: _nullishCoalesce(customInstructions, () => ( "")),
|
|
31012
|
-
onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall',
|
|
31018
|
+
onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall', _711 => _711(e.target.value)]),
|
|
31013
31019
|
placeholder: customInstructionsPlaceholder,
|
|
31014
31020
|
disabled: loading,
|
|
31015
31021
|
maxLength: customInstructionsMaxLength,
|
|
@@ -31138,7 +31144,7 @@ function HighlightVideoSection({
|
|
|
31138
31144
|
input.accept = "video/*";
|
|
31139
31145
|
input.onchange = async (e) => {
|
|
31140
31146
|
const target = e.target;
|
|
31141
|
-
const file = _optionalChain([target, 'access',
|
|
31147
|
+
const file = _optionalChain([target, 'access', _712 => _712.files, 'optionalAccess', _713 => _713[0]]);
|
|
31142
31148
|
if (!file) return;
|
|
31143
31149
|
setUploadError(null);
|
|
31144
31150
|
try {
|
|
@@ -31640,7 +31646,7 @@ function HighlightVideoPreview({
|
|
|
31640
31646
|
input.accept = "video/*";
|
|
31641
31647
|
input.onchange = async (e) => {
|
|
31642
31648
|
const target = e.target;
|
|
31643
|
-
const file = _optionalChain([target, 'access',
|
|
31649
|
+
const file = _optionalChain([target, 'access', _714 => _714.files, 'optionalAccess', _715 => _715[0]]);
|
|
31644
31650
|
if (!file) return;
|
|
31645
31651
|
await onUpload(file);
|
|
31646
31652
|
};
|
|
@@ -31827,7 +31833,7 @@ function HighlightVideoCombinedSection({
|
|
|
31827
31833
|
input.accept = "video/*";
|
|
31828
31834
|
input.onchange = async (e) => {
|
|
31829
31835
|
const target = e.target;
|
|
31830
|
-
const file = _optionalChain([target, 'access',
|
|
31836
|
+
const file = _optionalChain([target, 'access', _716 => _716.files, 'optionalAccess', _717 => _717[0]]);
|
|
31831
31837
|
if (!file) return;
|
|
31832
31838
|
await onUpload(file);
|
|
31833
31839
|
};
|
|
@@ -32124,7 +32130,7 @@ var getApprovalLevelLabel = (level, editMode = false) => {
|
|
|
32124
32130
|
return editMode ? "Set Global Permission" : "";
|
|
32125
32131
|
}
|
|
32126
32132
|
const option = approvalLevelOptions.find((opt) => opt.value === level);
|
|
32127
|
-
return _optionalChain([option, 'optionalAccess',
|
|
32133
|
+
return _optionalChain([option, 'optionalAccess', _718 => _718.label]) || level;
|
|
32128
32134
|
};
|
|
32129
32135
|
var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
32130
32136
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "bg-ods-bg border-b border-ods-border flex gap-4 items-center px-4 py-3", children: [
|
|
@@ -32656,15 +32662,15 @@ function TicketCard({
|
|
|
32656
32662
|
transform: _utilities.CSS.Transform.toString(sortable.transform),
|
|
32657
32663
|
transition: sortable.transition
|
|
32658
32664
|
};
|
|
32659
|
-
const showDeviceRow = !!(_optionalChain([ticket, 'access',
|
|
32665
|
+
const showDeviceRow = !!(_optionalChain([ticket, 'access', _719 => _719.deviceHostnames, 'optionalAccess', _720 => _720.length]) || ticket.organizationName);
|
|
32660
32666
|
const deviceText = [
|
|
32661
|
-
_optionalChain([ticket, 'access',
|
|
32667
|
+
_optionalChain([ticket, 'access', _721 => _721.deviceHostnames, 'optionalAccess', _722 => _722.join, 'call', _723 => _723(", ")]),
|
|
32662
32668
|
ticket.organizationName
|
|
32663
32669
|
].filter(Boolean).join(", ");
|
|
32664
32670
|
const handleClick = (e) => {
|
|
32665
32671
|
if (sortable.isDragging) e.preventDefault();
|
|
32666
32672
|
};
|
|
32667
|
-
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access',
|
|
32673
|
+
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _724 => _724.assignees, 'optionalAccess', _725 => _725.length]) || renderAssignSlot);
|
|
32668
32674
|
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: [
|
|
32669
32675
|
ticket.priority && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32670
32676
|
_chunkTMD5LDX4cjs.Flag02Icon,
|
|
@@ -32673,7 +32679,7 @@ function TicketCard({
|
|
|
32673
32679
|
"aria-label": `Priority: ${ticket.priority}`
|
|
32674
32680
|
}
|
|
32675
32681
|
),
|
|
32676
|
-
renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access',
|
|
32682
|
+
renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _726 => _726.assignees, 'optionalAccess', _727 => _727.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
|
|
32677
32683
|
ticket.assignees.slice(0, MAX_VISIBLE_ASSIGNEES).map((a) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32678
32684
|
SquareAvatar,
|
|
32679
32685
|
{
|
|
@@ -32702,7 +32708,7 @@ function TicketCard({
|
|
|
32702
32708
|
] }),
|
|
32703
32709
|
rightSection
|
|
32704
32710
|
] }),
|
|
32705
|
-
_optionalChain([ticket, 'access',
|
|
32711
|
+
_optionalChain([ticket, 'access', _728 => _728.tags, 'optionalAccess', _729 => _729.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null
|
|
32706
32712
|
] });
|
|
32707
32713
|
const cardClasses = _chunkOFAYLG6Dcjs.cn.call(void 0,
|
|
32708
32714
|
"relative flex flex-col gap-[var(--spacing-system-sf)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-sf)] select-none text-left",
|
|
@@ -32862,7 +32868,7 @@ function ColumnBody({ column, getTicketHref, renderAssignSlot, onLoadMore, loadM
|
|
|
32862
32868
|
const observer = new IntersectionObserver(
|
|
32863
32869
|
(entries) => {
|
|
32864
32870
|
if (entries.some((e) => e.isIntersecting)) {
|
|
32865
|
-
_optionalChain([loadMoreRef, 'access',
|
|
32871
|
+
_optionalChain([loadMoreRef, 'access', _730 => _730.current, 'optionalCall', _731 => _731(columnIdRef.current)]);
|
|
32866
32872
|
}
|
|
32867
32873
|
},
|
|
32868
32874
|
{ root, rootMargin: loadMoreRootMargin }
|
|
@@ -32891,7 +32897,7 @@ function ColumnBody({ column, getTicketHref, renderAssignSlot, onLoadMore, loadM
|
|
|
32891
32897
|
{
|
|
32892
32898
|
ticket: t,
|
|
32893
32899
|
columnId: column.id,
|
|
32894
|
-
href: _optionalChain([getTicketHref, 'optionalCall',
|
|
32900
|
+
href: _optionalChain([getTicketHref, 'optionalCall', _732 => _732(t.id)]),
|
|
32895
32901
|
renderAssignSlot,
|
|
32896
32902
|
dragDisabled: column.dragDisabled
|
|
32897
32903
|
},
|
|
@@ -32974,17 +32980,17 @@ function Board({
|
|
|
32974
32980
|
const pointer = _core.pointerWithin.call(void 0, args);
|
|
32975
32981
|
const intersections = pointer.length > 0 ? pointer : _core.rectIntersection.call(void 0, args);
|
|
32976
32982
|
const ticketHit = intersections.find(
|
|
32977
|
-
(c) => _optionalChain([c, 'access',
|
|
32983
|
+
(c) => _optionalChain([c, 'access', _733 => _733.data, 'optionalAccess', _734 => _734.droppableContainer, 'optionalAccess', _735 => _735.data, 'optionalAccess', _736 => _736.current, 'optionalAccess', _737 => _737.type]) === "ticket"
|
|
32978
32984
|
);
|
|
32979
32985
|
if (ticketHit) return [ticketHit];
|
|
32980
32986
|
const columnHit = intersections.find(
|
|
32981
|
-
(c) => _optionalChain([c, 'access',
|
|
32987
|
+
(c) => _optionalChain([c, 'access', _738 => _738.data, 'optionalAccess', _739 => _739.droppableContainer, 'optionalAccess', _740 => _740.data, 'optionalAccess', _741 => _741.current, 'optionalAccess', _742 => _742.type]) === "column"
|
|
32982
32988
|
);
|
|
32983
32989
|
if (columnHit) {
|
|
32984
|
-
const columnId = _optionalChain([columnHit, 'access',
|
|
32990
|
+
const columnId = _optionalChain([columnHit, 'access', _743 => _743.data, 'optionalAccess', _744 => _744.droppableContainer, 'optionalAccess', _745 => _745.data, 'optionalAccess', _746 => _746.current, 'optionalAccess', _747 => _747.columnId]);
|
|
32985
32991
|
const ticketsInColumn = args.droppableContainers.filter((c) => {
|
|
32986
32992
|
const d = c.data.current;
|
|
32987
|
-
return _optionalChain([d, 'optionalAccess',
|
|
32993
|
+
return _optionalChain([d, 'optionalAccess', _748 => _748.type]) === "ticket" && d.columnId === columnId;
|
|
32988
32994
|
});
|
|
32989
32995
|
if (ticketsInColumn.length > 0) {
|
|
32990
32996
|
const closest = _core.closestCorners.call(void 0, { ...args, droppableContainers: ticketsInColumn });
|
|
@@ -33009,20 +33015,20 @@ function Board({
|
|
|
33009
33015
|
const overId = String(over.id);
|
|
33010
33016
|
if (activeId === overId) return;
|
|
33011
33017
|
const overData = over.data.current;
|
|
33012
|
-
const fromColumnId = _optionalChain([locate, 'call',
|
|
33013
|
-
const toColumnId = _optionalChain([overData, 'optionalAccess',
|
|
33018
|
+
const fromColumnId = _optionalChain([locate, 'call', _749 => _749(items, activeId), 'optionalAccess', _750 => _750.columnId]);
|
|
33019
|
+
const toColumnId = _optionalChain([overData, 'optionalAccess', _751 => _751.columnId]);
|
|
33014
33020
|
if (!fromColumnId || !toColumnId || fromColumnId === toColumnId) return;
|
|
33015
33021
|
const origin = dragOriginRef.current;
|
|
33016
|
-
const isReturnToOrigin = _optionalChain([origin, 'optionalAccess',
|
|
33022
|
+
const isReturnToOrigin = _optionalChain([origin, 'optionalAccess', _752 => _752.fromColumnId]) === toColumnId;
|
|
33017
33023
|
const targetCol = items.find((c) => c.id === toColumnId);
|
|
33018
|
-
const blockedBySource = !isReturnToOrigin && !!_optionalChain([targetCol, 'optionalAccess',
|
|
33019
|
-
if (_optionalChain([targetCol, 'optionalAccess',
|
|
33024
|
+
const blockedBySource = !isReturnToOrigin && !!_optionalChain([targetCol, 'optionalAccess', _753 => _753.allowedFromColumns]) && !!origin && !targetCol.allowedFromColumns.includes(origin.fromColumnId);
|
|
33025
|
+
if (_optionalChain([targetCol, 'optionalAccess', _754 => _754.dropDisabled]) && !isReturnToOrigin || blockedBySource) return;
|
|
33020
33026
|
setItems((prev) => {
|
|
33021
33027
|
const fromIndex = findIndexInColumn(prev, fromColumnId, activeId);
|
|
33022
33028
|
const toCol = prev.find((c) => c.id === toColumnId);
|
|
33023
33029
|
if (fromIndex < 0 || !toCol) return prev;
|
|
33024
33030
|
let toIndex;
|
|
33025
|
-
if (_optionalChain([overData, 'optionalAccess',
|
|
33031
|
+
if (_optionalChain([overData, 'optionalAccess', _755 => _755.type]) === "column") {
|
|
33026
33032
|
toIndex = toCol.tickets.length;
|
|
33027
33033
|
} else {
|
|
33028
33034
|
const overIndex = toCol.tickets.findIndex((t) => t.id === overId);
|
|
@@ -33064,14 +33070,14 @@ function Board({
|
|
|
33064
33070
|
const toColumnId = located.columnId;
|
|
33065
33071
|
const isCrossColumn = origin.fromColumnId !== toColumnId;
|
|
33066
33072
|
const targetCol = items.find((c) => c.id === toColumnId);
|
|
33067
|
-
if (isCrossColumn && (_optionalChain([targetCol, 'optionalAccess',
|
|
33073
|
+
if (isCrossColumn && (_optionalChain([targetCol, 'optionalAccess', _756 => _756.dropDisabled]) || _optionalChain([targetCol, 'optionalAccess', _757 => _757.allowedFromColumns]) && !targetCol.allowedFromColumns.includes(origin.fromColumnId))) {
|
|
33068
33074
|
setItems(columns);
|
|
33069
33075
|
return;
|
|
33070
33076
|
}
|
|
33071
33077
|
let finalIndex = located.index;
|
|
33072
|
-
let finalColumnTickets = _nullishCoalesce(_optionalChain([items, 'access',
|
|
33078
|
+
let finalColumnTickets = _nullishCoalesce(_optionalChain([items, 'access', _758 => _758.find, 'call', _759 => _759((c) => c.id === toColumnId), 'optionalAccess', _760 => _760.tickets]), () => ( []));
|
|
33073
33079
|
const overData = over.data.current;
|
|
33074
|
-
if (_optionalChain([overData, 'optionalAccess',
|
|
33080
|
+
if (_optionalChain([overData, 'optionalAccess', _761 => _761.type]) === "ticket") {
|
|
33075
33081
|
const overIndex = findIndexInColumn(items, toColumnId, String(over.id));
|
|
33076
33082
|
if (overIndex >= 0 && overIndex !== located.index) {
|
|
33077
33083
|
finalColumnTickets = _sortable.arrayMove.call(void 0, finalColumnTickets, located.index, overIndex);
|
|
@@ -33091,8 +33097,8 @@ function Board({
|
|
|
33091
33097
|
ticketId: origin.ticketId,
|
|
33092
33098
|
fromColumnId: origin.fromColumnId,
|
|
33093
33099
|
toColumnId,
|
|
33094
|
-
afterTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access',
|
|
33095
|
-
beforeTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access',
|
|
33100
|
+
afterTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access', _762 => _762[finalIndex - 1], 'optionalAccess', _763 => _763.id]), () => ( null)),
|
|
33101
|
+
beforeTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access', _764 => _764[finalIndex + 1], 'optionalAccess', _765 => _765.id]), () => ( null))
|
|
33096
33102
|
});
|
|
33097
33103
|
};
|
|
33098
33104
|
const handleDragCancel = () => {
|
|
@@ -33114,8 +33120,8 @@ function Board({
|
|
|
33114
33120
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkOFAYLG6Dcjs.cn.call(void 0, "flex h-full overflow-x-auto", className), children: items.map((column, i) => {
|
|
33115
33121
|
const prev = items[i - 1];
|
|
33116
33122
|
const next = items[i + 1];
|
|
33117
|
-
const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess',
|
|
33118
|
-
const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess',
|
|
33123
|
+
const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess', _766 => _766.system]));
|
|
33124
|
+
const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess', _767 => _767.system]));
|
|
33119
33125
|
const showGap = i > 0 && !joinLeft;
|
|
33120
33126
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React101.Fragment, { children: [
|
|
33121
33127
|
showGap && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "w-[var(--spacing-system-mf)] shrink-0" }),
|
|
@@ -33149,7 +33155,7 @@ function locate(cols, ticketId) {
|
|
|
33149
33155
|
return null;
|
|
33150
33156
|
}
|
|
33151
33157
|
function findIndexInColumn(cols, columnId, ticketId) {
|
|
33152
|
-
return _nullishCoalesce(_optionalChain([cols, 'access',
|
|
33158
|
+
return _nullishCoalesce(_optionalChain([cols, 'access', _768 => _768.find, 'call', _769 => _769((c) => c.id === columnId), 'optionalAccess', _770 => _770.tickets, 'access', _771 => _771.findIndex, 'call', _772 => _772((t) => t.id === ticketId)]), () => ( -1));
|
|
33153
33159
|
}
|
|
33154
33160
|
|
|
33155
33161
|
// src/components/features/board/types.ts
|
|
@@ -33813,4 +33819,4 @@ function canonicalize(status) {
|
|
|
33813
33819
|
|
|
33814
33820
|
|
|
33815
33821
|
exports.Label = Label; exports.AllowedDomainsInput = AllowedDomainsInput; exports.HiddenTagsPopup = HiddenTagsPopup; exports.tagVariants = tagVariants; exports.Tag = Tag; exports.Autocomplete = Autocomplete; exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.CardHorizontal = CardHorizontal; 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.DatePicker = DatePicker; exports.DatePickerInput = DatePickerInput; exports.DatePickerInputSimple = DatePickerInputSimple; exports.getPlatformAccentColor = getPlatformAccentColor; exports.getCurrentPlatform = getCurrentPlatform; exports.delay = delay; exports.generateRandomString = generateRandomString; exports.truncateString = truncateString; exports.deepClone = deepClone; exports.getSlackCommunityJoinUrl = getSlackCommunityJoinUrl; exports.OS_PLATFORMS = OS_PLATFORMS; exports.DEFAULT_OS_PLATFORM = DEFAULT_OS_PLATFORM; exports.validateAccessCode = validateAccessCode; exports.consumeAccessCode = consumeAccessCode; exports.validateAndConsumeAccessCode = validateAndConsumeAccessCode; exports.useAccessCodeIntegration = useAccessCodeIntegration; 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.formatReleaseDate = formatReleaseDate; exports.formatRelativeTime = formatRelativeTime; exports.getDynamicIcon = getDynamicIcon; 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.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.ApprovalRequestMessage = ApprovalRequestMessage; exports.PulseDots = PulseDots; exports.ExpandChevron = ExpandChevron; exports.useCollapsible = useCollapsible; exports.getCommandText = getCommandText; exports.ArgRow = ArgRow; exports.ResultBlock = ResultBlock; exports.ApprovalBatchMessage = ApprovalBatchMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.ThinkingDisplay = ThinkingDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; exports.SquareAvatar = SquareAvatar; exports.resolveTicketStatus = resolveTicketStatus; exports.getTicketStatusConfig = getTicketStatusConfig; exports.getTicketStatusTag = getTicketStatusTag; exports.TicketStatusTag = TicketStatusTag; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.Textarea = Textarea; exports.ChatTypingIndicator = ChatTypingIndicator; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; exports.ToolExecutionDisplay = ToolExecutionDisplay; exports.remarkCardLinks = remarkCardLinks; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.ChatMessageList = ChatMessageList; exports.ChatQuickAction = ChatQuickAction; exports.ChatTicketItem = ChatTicketItem; exports.ChatTicketList = ChatTicketList; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.ModelDisplay = ModelDisplay; exports.DialogListItem = DialogListItem; exports.ChatSidebar = ChatSidebar; exports.CHAT_TYPE = CHAT_TYPE; exports.OWNER_TYPE = OWNER_TYPE; exports.MESSAGE_ROLE = MESSAGE_ROLE; exports.ASSISTANT_TYPE = ASSISTANT_TYPE; exports.AUTHOR_TYPE = AUTHOR_TYPE; exports.APPROVAL_STATUS = APPROVAL_STATUS; exports.CONNECTION_STATUS = CONNECTION_STATUS; exports.MESSAGE_TYPE = MESSAGE_TYPE; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.useChunkCatchup = useChunkCatchup; exports.useNatsDialogSubscription = useNatsDialogSubscription; exports.buildNatsWsUrl = buildNatsWsUrl; exports.parseChunkToAction = parseChunkToAction; exports.isControlChunk = isControlChunk; exports.isErrorChunk = isErrorChunk; exports.isMetadataChunk = isMetadataChunk; exports.extractTextFromChunk = extractTextFromChunk; exports.MessageSegmentAccumulator = MessageSegmentAccumulator; exports.createMessageSegmentAccumulator = createMessageSegmentAccumulator; exports.useRealtimeChunkProcessor = useRealtimeChunkProcessor; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.DynamicThemeProvider = DynamicThemeProvider; exports.useDynamicTheme = useDynamicTheme; exports.ArrayEntryManager = ArrayEntryManager; exports.ProviderButton = ProviderButton; exports.AuthProvidersList = AuthProvidersList; exports.ChangelogManager = ChangelogManager; exports.ChangelogSectionsManager = ChangelogSectionsManager; exports.ClickUpTasksManager = ClickUpTasksManager; exports.CommandBox = CommandBox; exports.ErrorBoundary = ErrorBoundary; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.statusBadgeVariants = statusBadgeVariants; exports.StatusBadge = StatusBadge; exports.SectionSelector = SectionSelector; exports.FigmaPrototypeViewer = FigmaPrototypeViewer; exports.FiltersDropdown = FiltersDropdown; exports.useFiltersDropdown = useFiltersDropdown; exports.GitHubReleasesManager = GitHubReleasesManager; exports.KnowledgeBaseLinksManager = KnowledgeBaseLinksManager; exports.Progress = Progress; exports.LoadingProvider = LoadingProvider; exports.useLoading = useLoading; exports.MediaGalleryManager = MediaGalleryManager; exports.MoreAboutButton = MoreAboutButton; exports.OrganizationIcon = OrganizationIcon; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.OSTypeBadgeGroup = OSTypeBadgeGroup; exports.ParallaxImageShowcase = ParallaxImageShowcase; exports.PathsDisplay = PathsDisplay; exports.OPENFRAME_PATHS = OPENFRAME_PATHS; exports.getOpenFramePaths = getOpenFramePaths; exports.PlatformBadge = PlatformBadge; exports.PlatformFilterComponent = PlatformFilterComponent; exports.PushButtonSelector = PushButtonSelector; exports.ReleaseMediaManager = ReleaseMediaManager; exports.SelectButton = SelectButton; exports.SEOEditorPreview = SEOEditorPreview; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.StatusFilterComponent = StatusFilterComponent; exports.TagsSelector = TagsSelector; exports.extractYouTubeId = extractYouTubeId; exports.Video = Video2; exports.Tabs = Tabs; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.RATIO_GRID_CLASS = RATIO_GRID_CLASS; exports.RATIO_DISPLAY_GRID_CLASS = RATIO_DISPLAY_GRID_CLASS; exports.RatioTabs = RatioTabs; exports.detectAspectRatio = detectAspectRatio; exports.ratioToCategory = ratioToCategory; exports.groupByAspectRatio = groupByAspectRatio; exports.VideoBitesDisplay = VideoBitesDisplay; exports.VideoBiteCard = VideoBiteCard; exports.EntityVideoSection = EntityVideoSection; exports.VideoSourceSelector = VideoSourceSelector; exports.ConfidenceBadge = ConfidenceBadge; 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.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerClose = DrawerClose; exports.DrawerPortal = DrawerPortal; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DrawerBody = DrawerBody; exports.DrawerFooter = DrawerFooter; exports.Switch = Switch; exports.NotificationTile = NotificationTile; exports.NotificationDrawer = NotificationDrawer; exports.BoardColumnHeader = BoardColumnHeader; exports.tintOnDark = tintOnDark; exports.TicketCard = TicketCard; exports.TicketCardSkeleton = TicketCardSkeleton; exports.BoardColumn = BoardColumn; exports.useBoardCollapse = useBoardCollapse; exports.Board = Board; exports.columnFromTicketStatus = columnFromTicketStatus; exports.groupTicketsByStatus = groupTicketsByStatus; exports.Header = Header; exports.HeaderSkeleton = HeaderSkeleton; exports.ClientOnlyHeader = ClientOnlyHeader; exports.MobileNavPanel = MobileNavPanel; exports.SlidingSidebar = SlidingSidebar; exports.StickySectionNav = StickySectionNav; exports.useSectionNavigation = useSectionNavigation; exports.NavigationSidebar = NavigationSidebar; exports.HeaderButton = HeaderButton; exports.HeaderGlobalSearch = HeaderGlobalSearch; exports.HeaderOrganizationFilter = HeaderOrganizationFilter; exports.AppHeader = AppHeader; exports.MobileBurgerMenu = MobileBurgerMenu; exports.AppLayout = AppLayout; exports.SoftwareInfo = SoftwareInfo; exports.SoftwareSourceBadge = SoftwareSourceBadge; exports.CveLink = CveLink; exports.ToolBadge = ToolBadge; exports.ShellTypeBadge = ShellTypeBadge; exports.ScriptInfoSection = ScriptInfoSection; exports.ScriptArguments = ScriptArguments; exports.AnnouncementBar = AnnouncementBar; exports.VendorIcon = VendorIcon; exports.CategoriesCart = CategoriesCart; exports.CategoryCard = CategoryCard; exports.VendorDisplayButton = VendorDisplayButton; exports.setRealAuthHook = setRealAuthHook; exports.useAuth = useAuth; exports.AuthProvider = AuthProvider; exports.CommentCard = CommentCard; exports.ContentLoadingContainer = ContentLoadingContainer; exports.useContentLoading = useContentLoading; exports.DynamicSkeleton = DynamicSkeleton; exports.SkeletonPresets = SkeletonPresets; exports.PlatformSkeletonContainer = PlatformSkeletonContainer; exports.ProgressiveSkeleton = ProgressiveSkeleton; exports.EmptyState = EmptyState2; exports.ChevronButton = ChevronButton; exports.FaqAccordion = FaqAccordion; exports.FilterChip = FilterChip; exports.SocialIconRow = SocialIconRow; exports.Footer = Footer; exports.useUnifiedFiltering = useUnifiedFiltering; exports.vendorFilterConfig = vendorFilterConfig; exports.blogFilterConfig = blogFilterConfig; exports.Pagination = Pagination; exports.PaginationContent = PaginationContent; exports.PaginationItem = PaginationItem; exports.PaginationLink = PaginationLink; exports.PaginationEllipsis = PaginationEllipsis; exports.PaginationPrevious = PaginationPrevious; exports.PaginationNext = PaginationNext; exports.UnifiedPagination = UnifiedPagination; exports.FooterWaitlistButton = FooterWaitlistButton; exports.HeroImageUploader = HeroImageUploader; exports.ResponsiveIconsBlock = ResponsiveIconsBlock; exports.Slider = Slider; exports.ImageCropper = ImageCropper; exports.MediaCarousel = MediaCarousel; exports.MetricValue = MetricValue; exports.MSPDisplay = MSPDisplay; exports.PersistentFilterControls = PersistentFilterControls; exports.PersistentSearchContainer = PersistentSearchContainer; exports.PersistentSidebar = PersistentSidebar; exports.PersistentMobileDropdown = PersistentMobileDropdown; exports.PersistentPagination = PersistentPagination; exports.usePaginationLoading = usePaginationLoading; exports.PersistentPaginationWrapper = PersistentPaginationWrapper; exports.PRICING_STYLES = PRICING_STYLES; exports.PricingDisplay = PricingDisplay; exports.formatPricingForDisplay = formatPricingForDisplay; exports.ResultsCount = ResultsCount; exports.VendorTag = VendorTag; exports.SelectionSourceBadge = SelectionSourceBadge; exports.UserDisplay = UserDisplay; exports.UnifiedSkeleton = UnifiedSkeleton; exports.TextSkeleton = TextSkeleton; exports.InteractiveSkeleton = InteractiveSkeleton; exports.MediaSkeleton = MediaSkeleton; exports.CardSkeleton = CardSkeleton; exports.CardSkeletonGrid = CardSkeletonGrid; exports.AnnouncementBarSkeleton = AnnouncementBarSkeleton; exports.HeroSkeleton = HeroSkeleton; exports.SearchContainerSkeleton = SearchContainerSkeleton; exports.CategorySidebarSkeleton = CategorySidebarSkeleton; exports.BreadcrumbSkeleton = BreadcrumbSkeleton; exports.ResultsHeaderSkeleton = ResultsHeaderSkeleton; exports.TwoColumnLayoutSkeleton = TwoColumnLayoutSkeleton; exports.ArticleLayoutSkeleton = ArticleLayoutSkeleton; exports.VendorDetailLayoutSkeleton = VendorDetailLayoutSkeleton; exports.StatsSectionSkeleton = StatsSectionSkeleton; exports.BlogCardGridSkeleton = BlogCardGridSkeleton; exports.VendorGridSkeleton = VendorGridSkeleton; exports.SlackCommunitySkeleton = SlackCommunitySkeleton; exports.ParagraphSkeleton = ParagraphSkeleton; exports.ListSkeleton = ListSkeleton; exports.TableSkeleton = TableSkeleton; exports.FormSkeleton = FormSkeleton; exports.NavigationSkeleton = NavigationSkeleton; exports.ProfileSkeleton = ProfileSkeleton; exports.CommentSkeleton = CommentSkeleton; exports.FeatureListSkeleton = FeatureListSkeleton; exports.TimelineSkeleton = TimelineSkeleton; exports.PricingSkeleton = PricingSkeleton; exports.ProfileLoadingSkeleton = ProfileLoadingSkeleton; exports.MspProfileFormSkeleton = MspProfileFormSkeleton; exports.CategoryCardSkeleton = CategoryCardSkeleton; exports.CategoryVendorSelectorSkeleton = CategoryVendorSelectorSkeleton; exports.WizardLayoutSkeleton = WizardLayoutSkeleton; exports.MarginReportSkeleton = MarginReportSkeleton; exports.UsersGridSkeleton = UsersGridSkeleton; exports.OrganizationIconSkeleton = OrganizationIconSkeleton; exports.OrganizationCardSkeleton = OrganizationCardSkeleton; exports.OrganizationCardSkeletonGrid = OrganizationCardSkeletonGrid; exports.DeviceCardSkeleton = DeviceCardSkeleton; exports.DeviceCardSkeletonGrid = DeviceCardSkeletonGrid; exports.VendorPageSkeleton = VendorPageSkeleton; exports.CheckIcon = CheckIcon2; exports.XIcon = XIcon; exports.MinusIcon = MinusIcon; exports.CheckCircleIcon = CheckCircleIcon3; exports.XCircleIcon = XCircleIcon; exports.YesNoDisplay = YesNoDisplay; exports.evaluateFeatureValue = evaluateFeatureValue; exports.MadeWithLove = MadeWithLove; exports.DateTimePicker = DateTimePicker; exports.InteractiveCard = InteractiveCard; exports.OnboardingStepCard = OnboardingStepCard; exports.OnboardingWalkthrough = OnboardingWalkthrough; exports.ProductReleaseCard = ProductReleaseCard; exports.ProductReleaseCardSkeleton = ProductReleaseCardSkeleton; exports.PageShell = PageShell; exports.ArticleDetailLayout = ArticleDetailLayout; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.ImageGalleryModal = ImageGalleryModal; exports.ActionsMenu = ActionsMenu; exports.ActionsMenuDropdown = ActionsMenuDropdown; exports.PageActions = PageActions; exports.usePageActionsBottomPadding = usePageActionsBottomPadding; exports.PageContainer = PageContainer; exports.ListPageContainer = ListPageContainer; exports.DetailPageContainer = DetailPageContainer; exports.FormPageContainer = FormPageContainer; exports.ContentPageContainer = ContentPageContainer; exports.DetailPageSkeleton = DetailPageSkeleton; exports.ReleaseDetailPage = ReleaseDetailPage; exports.ReleaseDetailSkeleton = ReleaseDetailSkeleton; exports.InfoCard = InfoCard; exports.InfoRow = InfoRow; exports.InputTrigger = InputTrigger; exports.MediaTypeSelector = MediaTypeSelector; exports.PageLoader = PageLoader; exports.CompactPageLoader = CompactPageLoader; exports.ProgressBar = ProgressBar; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.RadioGroupBlock = RadioGroupBlock; exports.TagsInput = TagsInput; exports.TagsManager = TagsManager; 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.Modal = Modal; exports.ModalContent = ModalContent; exports.ModalHeader = ModalHeader; exports.ModalTitle = ModalTitle; exports.ModalFooter = ModalFooter; exports.Modal2 = Modal2; exports.ModalContent2 = ModalContent2; exports.ModalHeader2 = ModalHeader2; exports.ModalTitle2 = ModalTitle2; exports.ModalFooter2 = ModalFooter2; 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.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuViewport = NavigationMenuViewport; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.TabContent = TabContent; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.StatusIndicator = StatusIndicator; exports.FilterCheckboxItem = FilterCheckboxItem; exports.TagKeyValueFilter = TagKeyValueFilter; exports.FilterModal = FilterModal; exports.ListPageLayout = ListPageLayout; exports.TitleBlock = TitleBlock; exports.PageLayout = PageLayout; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.ToggleGroup = ToggleGroup; exports.ToggleGroupItem = ToggleGroupItem; exports.BenefitCard = BenefitCard; exports.BenefitCardGrid = BenefitCardGrid; exports.BrandAssociationCard = BrandAssociationCard; exports.BrandAssociationGrid = BrandAssociationGrid; exports.BulletList = BulletList; exports.CircularProgress = CircularProgress; exports.FloatingTooltip = FloatingTooltip; exports.DashboardInfoCard = DashboardInfoCard; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.FeatureCardGrid = FeatureCardGrid; exports.FeatureList = FeatureList; exports.HighlightCard = HighlightCard; exports.HighlightCardGrid = HighlightCardGrid; exports.IconsBlock = IconsBlock; exports.MoreActionsMenu = MoreActionsMenu; exports.DropdownButton = DropdownButton; exports.OrganizationCard = OrganizationCard; exports.ServiceCard = ServiceCard; exports.TabSelector = TabSelector; exports.TitleContentBlock = TitleContentBlock; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.ErrorState = ErrorState; exports.PageError = PageError; exports.LoadError = LoadError; exports.NotFoundError = NotFoundError; 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.TableHeader = TableHeader; exports.TableCell = TableCell; exports.TableCardSkeleton = TableCardSkeleton; exports.TableRow = TableRow; exports.Table = Table; exports.TableDescriptionCell = TableDescriptionCell; exports.TableTimestampCell = TableTimestampCell; exports.QueryReportTableHeader = QueryReportTableHeader; exports.QueryReportTableRow = QueryReportTableRow; exports.QueryReportTableSkeleton = QueryReportTableSkeleton; exports.deriveColumns = deriveColumns; exports.exportToCSV = exportToCSV; exports.QueryReportTable = QueryReportTable; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses2; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.DataTableHeader = DataTableHeader; exports.DataTableEmpty = DataTableEmpty; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP2; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE2; exports.DataTableSkeleton = DataTableSkeleton; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; exports.DataTableCursorFooter = DataTableCursorFooter; 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.AssigneeDropdown = AssigneeDropdown; exports.TicketDetailSection = TicketDetailSection; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.LOG_SEVERITY_COLORS = LOG_SEVERITY_COLORS; exports.LOG_SEVERITY_LABELS = LOG_SEVERITY_LABELS; exports.LogSeverityDot = LogSeverityDot; exports.LogsList = LogsList; exports.AVAILABLE_SVG_ICONS = AVAILABLE_SVG_ICONS; exports.releaseTypeOptions = releaseTypeOptions; exports.releaseStatusOptions = releaseStatusOptions; exports.changelogLabels = changelogLabels; exports.SEMVER_REGEX = SEMVER_REGEX; exports.TMCG_ROLES = TMCG_ROLES; exports.TMCG_ROLE_DISPLAY_NAMES = TMCG_ROLE_DISPLAY_NAMES; exports.TMCG_SOCIAL_PLATFORMS = TMCG_SOCIAL_PLATFORMS; exports.assets = assets;
|
|
33816
|
-
//# sourceMappingURL=chunk-
|
|
33822
|
+
//# sourceMappingURL=chunk-RH2FP2MT.cjs.map
|