@flamingo-stack/openframe-frontend-core 0.0.184 → 0.0.185-snapshot.20260515020546
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-LI2C4ZCU.js} +11 -2
- package/dist/chunk-LI2C4ZCU.js.map +1 -0
- package/dist/{chunk-3OVOM5WT.cjs → chunk-SAWVZ5LA.cjs} +212 -203
- package/dist/{chunk-3OVOM5WT.cjs.map → chunk-SAWVZ5LA.cjs.map} +1 -1
- 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 +48 -0
- package/src/components/navigation/header.tsx +13 -3
- 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",
|
|
@@ -13294,6 +13300,9 @@ function YouTubeFacadeInner({
|
|
|
13294
13300
|
playsinline: "1",
|
|
13295
13301
|
enablejsapi: "1"
|
|
13296
13302
|
});
|
|
13303
|
+
if (typeof window !== "undefined") {
|
|
13304
|
+
params.set("origin", window.location.origin);
|
|
13305
|
+
}
|
|
13297
13306
|
if (minimalControls) {
|
|
13298
13307
|
params.set("controls", "0");
|
|
13299
13308
|
params.set("fs", "0");
|
|
@@ -13312,7 +13321,7 @@ function YouTubeFacadeInner({
|
|
|
13312
13321
|
const iframe = iframeRef.current;
|
|
13313
13322
|
if (!iframe) return;
|
|
13314
13323
|
function subscribe() {
|
|
13315
|
-
_optionalChain([iframe, 'optionalAccess',
|
|
13324
|
+
_optionalChain([iframe, 'optionalAccess', _386 => _386.contentWindow, 'optionalAccess', _387 => _387.postMessage, 'call', _388 => _388(
|
|
13316
13325
|
'{"event":"listening"}',
|
|
13317
13326
|
YT_NOCOOKIE_ORIGIN
|
|
13318
13327
|
)]);
|
|
@@ -13330,13 +13339,13 @@ function YouTubeFacadeInner({
|
|
|
13330
13339
|
return;
|
|
13331
13340
|
}
|
|
13332
13341
|
if (!payload || payload.event !== "infoDelivery") return;
|
|
13333
|
-
const state = _optionalChain([payload, 'access',
|
|
13342
|
+
const state = _optionalChain([payload, 'access', _389 => _389.info, 'optionalAccess', _390 => _390.playerState]);
|
|
13334
13343
|
if (typeof state !== "number") return;
|
|
13335
13344
|
if (state === YT_STATE_PLAYING) {
|
|
13336
13345
|
if (blurTimer !== null) return;
|
|
13337
13346
|
blurTimer = setTimeout(() => {
|
|
13338
13347
|
blurTimer = null;
|
|
13339
|
-
_optionalChain([iframeRef, 'access',
|
|
13348
|
+
_optionalChain([iframeRef, 'access', _391 => _391.current, 'optionalAccess', _392 => _392.blur, 'call', _393 => _393()]);
|
|
13340
13349
|
}, YT_PLAYING_BLUR_DELAY_MS);
|
|
13341
13350
|
return;
|
|
13342
13351
|
}
|
|
@@ -13989,8 +13998,8 @@ function PricingDisplay({
|
|
|
13989
13998
|
}
|
|
13990
13999
|
if (pricingArray.length === 1) {
|
|
13991
14000
|
const item = pricingArray[0];
|
|
13992
|
-
const price = _optionalChain([item, 'access',
|
|
13993
|
-
const unit = _optionalChain([item, 'access',
|
|
14001
|
+
const price = _optionalChain([item, 'access', _394 => _394.ranges, 'optionalAccess', _395 => _395[0], 'optionalAccess', _396 => _396.min]) || 0;
|
|
14002
|
+
const unit = _optionalChain([item, 'access', _397 => _397.ranges, 'optionalAccess', _398 => _398[0], 'optionalAccess', _399 => _399.unit]);
|
|
13994
14003
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${styleConfig.fontFamily} ${className}`, children: [
|
|
13995
14004
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${styleConfig.priceTextColor} ${styleConfig.priceTextSize}`, children: formatPriceValue(price, styleConfig.showTildePrefix) }),
|
|
13996
14005
|
unit && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${styleConfig.secondaryTextColor} ${styleConfig.secondaryTextSize}`, children: [
|
|
@@ -13999,11 +14008,11 @@ function PricingDisplay({
|
|
|
13999
14008
|
] })
|
|
14000
14009
|
] });
|
|
14001
14010
|
}
|
|
14002
|
-
const priceValues = pricingArray.map((item) => formatPriceValue(_optionalChain([item, 'access',
|
|
14003
|
-
const itemWithUnit = pricingArray.find((item) => _optionalChain([item, 'access',
|
|
14011
|
+
const priceValues = pricingArray.map((item) => formatPriceValue(_optionalChain([item, 'access', _400 => _400.ranges, 'optionalAccess', _401 => _401[0], 'optionalAccess', _402 => _402.min]) || 0, styleConfig.showTildePrefix));
|
|
14012
|
+
const itemWithUnit = pricingArray.find((item) => _optionalChain([item, 'access', _403 => _403.ranges, 'optionalAccess', _404 => _404[0], 'optionalAccess', _405 => _405.unit]));
|
|
14004
14013
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${styleConfig.fontFamily} ${className}`, children: [
|
|
14005
14014
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${styleConfig.priceTextColor} ${styleConfig.priceTextSize}`, children: priceValues.join(" | ") }),
|
|
14006
|
-
itemWithUnit && _optionalChain([itemWithUnit, 'access',
|
|
14015
|
+
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
14016
|
"/",
|
|
14008
14017
|
itemWithUnit.ranges[0].unit
|
|
14009
14018
|
] })
|
|
@@ -14201,7 +14210,7 @@ function VendorTag({
|
|
|
14201
14210
|
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
14211
|
};
|
|
14203
14212
|
case "classification":
|
|
14204
|
-
const classificationType = _optionalChain([text, 'optionalAccess',
|
|
14213
|
+
const classificationType = _optionalChain([text, 'optionalAccess', _409 => _409.toLowerCase, 'call', _410 => _410()]);
|
|
14205
14214
|
if (classificationType === "open_source") {
|
|
14206
14215
|
return {
|
|
14207
14216
|
text: "Open Source",
|
|
@@ -14255,7 +14264,7 @@ function SelectionSourceBadge({ source, hidden = false }) {
|
|
|
14255
14264
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14256
14265
|
VendorTag,
|
|
14257
14266
|
{
|
|
14258
|
-
type: _optionalChain([source, 'optionalAccess',
|
|
14267
|
+
type: _optionalChain([source, 'optionalAccess', _411 => _411.toLowerCase, 'call', _412 => _412()]),
|
|
14259
14268
|
size: "sm",
|
|
14260
14269
|
hidden
|
|
14261
14270
|
},
|
|
@@ -16375,12 +16384,12 @@ function OnboardingWalkthrough({
|
|
|
16375
16384
|
}
|
|
16376
16385
|
}, [state.completedSteps, markComplete]);
|
|
16377
16386
|
const handleStepSkip = (step) => {
|
|
16378
|
-
_optionalChain([step, 'access',
|
|
16387
|
+
_optionalChain([step, 'access', _413 => _413.onSkip, 'optionalCall', _414 => _414()]);
|
|
16379
16388
|
markSkipped(step.id);
|
|
16380
16389
|
};
|
|
16381
16390
|
const handleDismiss = () => {
|
|
16382
16391
|
dismissOnboarding();
|
|
16383
|
-
_optionalChain([onDismiss, 'optionalCall',
|
|
16392
|
+
_optionalChain([onDismiss, 'optionalCall', _415 => _415()]);
|
|
16384
16393
|
};
|
|
16385
16394
|
if (state.dismissed) {
|
|
16386
16395
|
return null;
|
|
@@ -16825,7 +16834,7 @@ var SecondaryAction = ({ action }) => {
|
|
|
16825
16834
|
e.preventDefault();
|
|
16826
16835
|
return;
|
|
16827
16836
|
}
|
|
16828
|
-
_optionalChain([action, 'access',
|
|
16837
|
+
_optionalChain([action, 'access', _416 => _416.onClick, 'optionalCall', _417 => _417()]);
|
|
16829
16838
|
},
|
|
16830
16839
|
[action]
|
|
16831
16840
|
);
|
|
@@ -16866,13 +16875,13 @@ var MenuItem = ({ item, onItemClick }) => {
|
|
|
16866
16875
|
const activate = _react.useCallback.call(void 0, () => {
|
|
16867
16876
|
if (item.disabled) return;
|
|
16868
16877
|
if (item.type === "checkbox") {
|
|
16869
|
-
_optionalChain([item, 'access',
|
|
16870
|
-
_optionalChain([onItemClick, 'optionalCall',
|
|
16878
|
+
_optionalChain([item, 'access', _418 => _418.onClick, 'optionalCall', _419 => _419()]);
|
|
16879
|
+
_optionalChain([onItemClick, 'optionalCall', _420 => _420(item)]);
|
|
16871
16880
|
return;
|
|
16872
16881
|
}
|
|
16873
16882
|
if (item.type === "submenu") return;
|
|
16874
|
-
_optionalChain([item, 'access',
|
|
16875
|
-
_optionalChain([onItemClick, 'optionalCall',
|
|
16883
|
+
_optionalChain([item, 'access', _421 => _421.onClick, 'optionalCall', _422 => _422()]);
|
|
16884
|
+
_optionalChain([onItemClick, 'optionalCall', _423 => _423(item)]);
|
|
16876
16885
|
}, [item, onItemClick]);
|
|
16877
16886
|
const handleClick = _react.useCallback.call(void 0,
|
|
16878
16887
|
(e) => {
|
|
@@ -16898,8 +16907,8 @@ var MenuItem = ({ item, onItemClick }) => {
|
|
|
16898
16907
|
e.stopPropagation();
|
|
16899
16908
|
return;
|
|
16900
16909
|
}
|
|
16901
|
-
_optionalChain([item, 'access',
|
|
16902
|
-
_optionalChain([onItemClick, 'optionalCall',
|
|
16910
|
+
_optionalChain([item, 'access', _424 => _424.onClick, 'optionalCall', _425 => _425()]);
|
|
16911
|
+
_optionalChain([onItemClick, 'optionalCall', _426 => _426(item)]);
|
|
16903
16912
|
},
|
|
16904
16913
|
[item, onItemClick]
|
|
16905
16914
|
);
|
|
@@ -17054,7 +17063,7 @@ var ActionsMenuDropdown = ({
|
|
|
17054
17063
|
const [open, setOpen] = _react.useState.call(void 0, false);
|
|
17055
17064
|
const handleItemClick = _react.useCallback.call(void 0,
|
|
17056
17065
|
(item) => {
|
|
17057
|
-
_optionalChain([onItemClick, 'optionalCall',
|
|
17066
|
+
_optionalChain([onItemClick, 'optionalCall', _427 => _427(item)]);
|
|
17058
17067
|
if (item.type !== "checkbox" && item.type !== "submenu") {
|
|
17059
17068
|
setOpen(false);
|
|
17060
17069
|
}
|
|
@@ -17225,7 +17234,7 @@ function IconButtonsVariant({
|
|
|
17225
17234
|
}) {
|
|
17226
17235
|
const desktopActions = actions.filter((a) => !a.showOnlyMobile);
|
|
17227
17236
|
const hasMenuActions = !!menuActions && menuActions.some((g) => g.items.length > 0);
|
|
17228
|
-
const isSingleAction = actions.length === 1 && !_optionalChain([actions, 'access',
|
|
17237
|
+
const isSingleAction = actions.length === 1 && !_optionalChain([actions, 'access', _428 => _428[0], 'access', _429 => _429.submenu, 'optionalAccess', _430 => _430.length]);
|
|
17229
17238
|
const singleAction = isSingleAction ? actions[0] : null;
|
|
17230
17239
|
const useSingleActionMobile = isSingleAction && !hasMenuActions;
|
|
17231
17240
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -17655,14 +17664,14 @@ function ReleaseDetailPage({
|
|
|
17655
17664
|
releaseVersion
|
|
17656
17665
|
] })
|
|
17657
17666
|
] }) }),
|
|
17658
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2 w-full", children: _optionalChain([blogTags, 'optionalAccess',
|
|
17667
|
+
/* @__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
17668
|
StatusBadge,
|
|
17660
17669
|
{
|
|
17661
|
-
text: (tag.name || _optionalChain([tag, 'access',
|
|
17670
|
+
text: (tag.name || _optionalChain([tag, 'access', _433 => _433.blog_tags, 'optionalAccess', _434 => _434.name]) || "").toUpperCase(),
|
|
17662
17671
|
variant: "card",
|
|
17663
17672
|
className: "bg-ods-card border border-ods-border"
|
|
17664
17673
|
},
|
|
17665
|
-
tag.id || _optionalChain([tag, 'access',
|
|
17674
|
+
tag.id || _optionalChain([tag, 'access', _435 => _435.blog_tags, 'optionalAccess', _436 => _436.id])
|
|
17666
17675
|
))]) }),
|
|
17667
17676
|
/* @__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
17677
|
/* @__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 +17690,15 @@ function ReleaseDetailPage({
|
|
|
17681
17690
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17682
17691
|
SquareAvatar,
|
|
17683
17692
|
{
|
|
17684
|
-
src: _optionalChain([author, 'optionalAccess',
|
|
17685
|
-
alt: _optionalChain([author, 'optionalAccess',
|
|
17686
|
-
fallback: getInitials4(_optionalChain([author, 'optionalAccess',
|
|
17693
|
+
src: _optionalChain([author, 'optionalAccess', _437 => _437.avatar_url]) || "",
|
|
17694
|
+
alt: _optionalChain([author, 'optionalAccess', _438 => _438.full_name]) || "Author",
|
|
17695
|
+
fallback: getInitials4(_optionalChain([author, 'optionalAccess', _439 => _439.full_name]) || "Unknown"),
|
|
17687
17696
|
size: "md",
|
|
17688
17697
|
variant: "round"
|
|
17689
17698
|
}
|
|
17690
17699
|
),
|
|
17691
17700
|
/* @__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',
|
|
17701
|
+
/* @__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
17702
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-['DM_Sans'] font-medium text-[14px] leading-[20px] text-ods-text-secondary", children: "Author" })
|
|
17694
17703
|
] })
|
|
17695
17704
|
] })
|
|
@@ -17720,8 +17729,8 @@ function ReleaseDetailPage({
|
|
|
17720
17729
|
videoBites,
|
|
17721
17730
|
bitesTitle: "Video Clips",
|
|
17722
17731
|
filterPublishedBites: true,
|
|
17723
|
-
srtContent: _optionalChain([release, 'optionalAccess',
|
|
17724
|
-
captionsUrl: _optionalChain([release, 'optionalAccess',
|
|
17732
|
+
srtContent: _optionalChain([release, 'optionalAccess', _441 => _441.srt_content]),
|
|
17733
|
+
captionsUrl: _optionalChain([release, 'optionalAccess', _442 => _442.captionsUrl])
|
|
17725
17734
|
}
|
|
17726
17735
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
17727
17736
|
youtubeUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -17737,8 +17746,8 @@ function ReleaseDetailPage({
|
|
|
17737
17746
|
Video2,
|
|
17738
17747
|
{
|
|
17739
17748
|
url: mainVideoUrl,
|
|
17740
|
-
srtContent: _optionalChain([release, 'optionalAccess',
|
|
17741
|
-
captionsUrl: _optionalChain([release, 'optionalAccess',
|
|
17749
|
+
srtContent: _optionalChain([release, 'optionalAccess', _443 => _443.srt_content]),
|
|
17750
|
+
captionsUrl: _optionalChain([release, 'optionalAccess', _444 => _444.captionsUrl]),
|
|
17742
17751
|
layout: "centered"
|
|
17743
17752
|
}
|
|
17744
17753
|
),
|
|
@@ -17828,7 +17837,7 @@ function ReleaseDetailPage({
|
|
|
17828
17837
|
}
|
|
17829
17838
|
)
|
|
17830
17839
|
] }),
|
|
17831
|
-
(_optionalChain([githubReleases, 'optionalAccess',
|
|
17840
|
+
(_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
17841
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h5 tracking-[-0.28px] text-ods-text-secondary", children: "Related Links" }),
|
|
17833
17842
|
/* @__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
17843
|
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 +17866,7 @@ function ReleaseDetailPage({
|
|
|
17857
17866
|
{
|
|
17858
17867
|
href: path.startsWith("http") ? path : `/knowledge-base${path.startsWith("/") ? "" : "/"}${path}`,
|
|
17859
17868
|
className: "text-h4 text-[#ffc008] hover:underline",
|
|
17860
|
-
children: _optionalChain([path, 'access',
|
|
17869
|
+
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
17870
|
}
|
|
17862
17871
|
),
|
|
17863
17872
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-6 w-6 text-[#ffc008] shrink-0" })
|
|
@@ -18503,7 +18512,7 @@ function TagsManager({
|
|
|
18503
18512
|
const name = search.trim();
|
|
18504
18513
|
if (!name) return;
|
|
18505
18514
|
const result = await onCreateTag(name);
|
|
18506
|
-
if (_optionalChain([result, 'optionalAccess',
|
|
18515
|
+
if (_optionalChain([result, 'optionalAccess', _455 => _455.id])) {
|
|
18507
18516
|
onChange([...selectedIds, result.id]);
|
|
18508
18517
|
setSearch("");
|
|
18509
18518
|
}
|
|
@@ -18511,7 +18520,7 @@ function TagsManager({
|
|
|
18511
18520
|
const startEdit = React52.useCallback((id, name) => {
|
|
18512
18521
|
setEditingId(id);
|
|
18513
18522
|
setEditingName(name);
|
|
18514
|
-
setTimeout(() => _optionalChain([editInputRef, 'access',
|
|
18523
|
+
setTimeout(() => _optionalChain([editInputRef, 'access', _456 => _456.current, 'optionalAccess', _457 => _457.focus, 'call', _458 => _458()]), 0);
|
|
18515
18524
|
}, []);
|
|
18516
18525
|
const confirmEdit = React52.useCallback(async () => {
|
|
18517
18526
|
if (!onUpdateTag || !editingId || !editingName.trim()) return;
|
|
@@ -18538,7 +18547,7 @@ function TagsManager({
|
|
|
18538
18547
|
e.stopPropagation();
|
|
18539
18548
|
onChange([]);
|
|
18540
18549
|
setSearch("");
|
|
18541
|
-
_optionalChain([inputRef, 'access',
|
|
18550
|
+
_optionalChain([inputRef, 'access', _459 => _459.current, 'optionalAccess', _460 => _460.focus, 'call', _461 => _461()]);
|
|
18542
18551
|
},
|
|
18543
18552
|
[onChange]
|
|
18544
18553
|
);
|
|
@@ -18637,10 +18646,10 @@ function TagsManager({
|
|
|
18637
18646
|
align: "start",
|
|
18638
18647
|
onOpenAutoFocus: (e) => {
|
|
18639
18648
|
e.preventDefault();
|
|
18640
|
-
_optionalChain([inputRef, 'access',
|
|
18649
|
+
_optionalChain([inputRef, 'access', _462 => _462.current, 'optionalAccess', _463 => _463.focus, 'call', _464 => _464()]);
|
|
18641
18650
|
},
|
|
18642
18651
|
onInteractOutside: (e) => {
|
|
18643
|
-
if (_optionalChain([containerRef, 'access',
|
|
18652
|
+
if (_optionalChain([containerRef, 'access', _465 => _465.current, 'optionalAccess', _466 => _466.contains, 'call', _467 => _467(e.target)])) {
|
|
18644
18653
|
e.preventDefault();
|
|
18645
18654
|
}
|
|
18646
18655
|
},
|
|
@@ -19787,19 +19796,19 @@ function TabNavigation({
|
|
|
19787
19796
|
const validTabIds = _react.useMemo.call(void 0, () => new Set(tabs.map((t) => t.id)), [tabs]);
|
|
19788
19797
|
const getInitialTab = () => {
|
|
19789
19798
|
if (isUrlSyncEnabled) {
|
|
19790
|
-
const fromUrl = _optionalChain([searchParams, 'optionalAccess',
|
|
19799
|
+
const fromUrl = _optionalChain([searchParams, 'optionalAccess', _468 => _468.get, 'call', _469 => _469(paramName)]) || "";
|
|
19791
19800
|
if (validTabIds.has(fromUrl)) {
|
|
19792
19801
|
return fromUrl;
|
|
19793
19802
|
}
|
|
19794
19803
|
}
|
|
19795
|
-
return defaultTab || _optionalChain([tabs, 'access',
|
|
19804
|
+
return defaultTab || _optionalChain([tabs, 'access', _470 => _470[0], 'optionalAccess', _471 => _471.id]) || "";
|
|
19796
19805
|
};
|
|
19797
19806
|
const [internalActiveTab, setInternalActiveTab] = _react.useState.call(void 0, getInitialTab);
|
|
19798
19807
|
const activeTab = isUrlSyncEnabled ? internalActiveTab : controlledActiveTab || "";
|
|
19799
19808
|
_react.useEffect.call(void 0, () => {
|
|
19800
19809
|
if (!isUrlSyncEnabled) return;
|
|
19801
|
-
const fromUrl = _optionalChain([searchParams, 'optionalAccess',
|
|
19802
|
-
const nextTab = validTabIds.has(fromUrl) ? fromUrl : defaultTab || _optionalChain([tabs, 'access',
|
|
19810
|
+
const fromUrl = _optionalChain([searchParams, 'optionalAccess', _472 => _472.get, 'call', _473 => _473(paramName)]) || "";
|
|
19811
|
+
const nextTab = validTabIds.has(fromUrl) ? fromUrl : defaultTab || _optionalChain([tabs, 'access', _474 => _474[0], 'optionalAccess', _475 => _475.id]) || "";
|
|
19803
19812
|
if (nextTab !== internalActiveTab) {
|
|
19804
19813
|
setInternalActiveTab(nextTab);
|
|
19805
19814
|
}
|
|
@@ -19807,13 +19816,13 @@ function TabNavigation({
|
|
|
19807
19816
|
const handleTabChange = (tabId) => {
|
|
19808
19817
|
if (isUrlSyncEnabled) {
|
|
19809
19818
|
setInternalActiveTab(tabId);
|
|
19810
|
-
const params = new URLSearchParams(_optionalChain([searchParams, 'optionalAccess',
|
|
19819
|
+
const params = new URLSearchParams(_optionalChain([searchParams, 'optionalAccess', _476 => _476.toString, 'call', _477 => _477()]));
|
|
19811
19820
|
params.set(paramName, tabId);
|
|
19812
19821
|
const method = replaceState ? "replace" : "push";
|
|
19813
19822
|
router[method](`${pathname}?${params.toString()}`);
|
|
19814
|
-
_optionalChain([controlledOnTabChange, 'optionalCall',
|
|
19823
|
+
_optionalChain([controlledOnTabChange, 'optionalCall', _478 => _478(tabId)]);
|
|
19815
19824
|
} else {
|
|
19816
|
-
_optionalChain([controlledOnTabChange, 'optionalCall',
|
|
19825
|
+
_optionalChain([controlledOnTabChange, 'optionalCall', _479 => _479(tabId)]);
|
|
19817
19826
|
}
|
|
19818
19827
|
};
|
|
19819
19828
|
const scrollRef = _react.useRef.call(void 0, null);
|
|
@@ -19901,7 +19910,7 @@ function TabNavigation({
|
|
|
19901
19910
|
var getTabById = (tabs, tabId) => tabs.find((tab) => tab.id === tabId);
|
|
19902
19911
|
var getTabComponent = (tabs, tabId) => {
|
|
19903
19912
|
const tab = getTabById(tabs, tabId);
|
|
19904
|
-
return _optionalChain([tab, 'optionalAccess',
|
|
19913
|
+
return _optionalChain([tab, 'optionalAccess', _480 => _480.component]) || null;
|
|
19905
19914
|
};
|
|
19906
19915
|
|
|
19907
19916
|
// src/components/ui/alert.tsx
|
|
@@ -20238,16 +20247,16 @@ function FilterModal({
|
|
|
20238
20247
|
};
|
|
20239
20248
|
const handleReset = () => {
|
|
20240
20249
|
onFilterChange({});
|
|
20241
|
-
_optionalChain([onTagsChange, 'optionalCall',
|
|
20250
|
+
_optionalChain([onTagsChange, 'optionalCall', _481 => _481([])]);
|
|
20242
20251
|
onClose();
|
|
20243
20252
|
};
|
|
20244
20253
|
const handleApply = () => {
|
|
20245
20254
|
onFilterChange(selectedFilters);
|
|
20246
|
-
_optionalChain([onTagsChange, 'optionalCall',
|
|
20255
|
+
_optionalChain([onTagsChange, 'optionalCall', _482 => _482(pendingTags)]);
|
|
20247
20256
|
onClose();
|
|
20248
20257
|
};
|
|
20249
20258
|
const getColumnDirection = (columnKey) => {
|
|
20250
|
-
return _optionalChain([sortConfig, 'optionalAccess',
|
|
20259
|
+
return _optionalChain([sortConfig, 'optionalAccess', _483 => _483.sortBy]) === columnKey ? sortConfig.sortDirection : void 0;
|
|
20251
20260
|
};
|
|
20252
20261
|
const hasSort = !!sortConfig && sortConfig.columns.length > 0;
|
|
20253
20262
|
const hasFilterGroups = filterGroups.length > 0;
|
|
@@ -20296,7 +20305,7 @@ function FilterModal({
|
|
|
20296
20305
|
{
|
|
20297
20306
|
column,
|
|
20298
20307
|
currentDirection: getColumnDirection(column.key),
|
|
20299
|
-
onSort: (direction) => _optionalChain([onSort, 'optionalCall',
|
|
20308
|
+
onSort: (direction) => _optionalChain([onSort, 'optionalCall', _484 => _484(column.key, direction)]),
|
|
20300
20309
|
onClear: onSortClear ? () => onSortClear(column.key) : void 0
|
|
20301
20310
|
},
|
|
20302
20311
|
column.key
|
|
@@ -20462,9 +20471,9 @@ function TitleBlock({
|
|
|
20462
20471
|
const [imageFailed, setImageFailed] = React33.default.useState(false);
|
|
20463
20472
|
React33.default.useEffect(() => {
|
|
20464
20473
|
setImageFailed(false);
|
|
20465
|
-
}, [_optionalChain([image, 'optionalAccess',
|
|
20474
|
+
}, [_optionalChain([image, 'optionalAccess', _485 => _485.src])]);
|
|
20466
20475
|
const showImageFallback = !!image && (imageFailed || !image.src);
|
|
20467
|
-
const initials = getInitials3(_optionalChain([image, 'optionalAccess',
|
|
20476
|
+
const initials = getInitials3(_optionalChain([image, 'optionalAccess', _486 => _486.alt]) || title);
|
|
20468
20477
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
20469
20478
|
"div",
|
|
20470
20479
|
{
|
|
@@ -21260,26 +21269,26 @@ function DeviceCard({
|
|
|
21260
21269
|
] }),
|
|
21261
21270
|
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
21271
|
] }),
|
|
21263
|
-
_optionalChain([actions, 'access',
|
|
21272
|
+
_optionalChain([actions, 'access', _487 => _487.moreButton, 'optionalAccess', _488 => _488.visible]) !== false && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21264
21273
|
"div",
|
|
21265
21274
|
{
|
|
21266
21275
|
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
21276
|
onClick: (e) => {
|
|
21268
21277
|
e.stopPropagation();
|
|
21269
|
-
_optionalChain([actions, 'access',
|
|
21278
|
+
_optionalChain([actions, 'access', _489 => _489.moreButton, 'optionalAccess', _490 => _490.onClick, 'optionalCall', _491 => _491()]);
|
|
21270
21279
|
},
|
|
21271
21280
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTMD5LDX4cjs.Ellipsis01Icon, { className: "text-ods-text-primary" })
|
|
21272
21281
|
}
|
|
21273
21282
|
),
|
|
21274
|
-
_optionalChain([actions, 'access',
|
|
21275
|
-
_optionalChain([actions, 'access',
|
|
21283
|
+
_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 }),
|
|
21284
|
+
_optionalChain([actions, 'access', _496 => _496.customActions, 'optionalAccess', _497 => _497.map, 'call', _498 => _498(
|
|
21276
21285
|
(action, index) => action.visible !== false && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21277
21286
|
"div",
|
|
21278
21287
|
{
|
|
21279
21288
|
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
21289
|
onClick: (e) => {
|
|
21281
21290
|
e.stopPropagation();
|
|
21282
|
-
_optionalChain([action, 'access',
|
|
21291
|
+
_optionalChain([action, 'access', _499 => _499.onClick, 'optionalCall', _500 => _500()]);
|
|
21283
21292
|
},
|
|
21284
21293
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h3 text-ods-text-primary text-nowrap tracking-[-0.36px]", children: action.label })
|
|
21285
21294
|
},
|
|
@@ -21638,7 +21647,7 @@ function MoreActionsMenu({
|
|
|
21638
21647
|
] });
|
|
21639
21648
|
const handleActivate = (e) => {
|
|
21640
21649
|
e.stopPropagation();
|
|
21641
|
-
if (!item.disabled) _optionalChain([item, 'access',
|
|
21650
|
+
if (!item.disabled) _optionalChain([item, 'access', _501 => _501.onClick, 'optionalCall', _502 => _502()]);
|
|
21642
21651
|
};
|
|
21643
21652
|
if (item.href) {
|
|
21644
21653
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -21788,7 +21797,7 @@ function OrganizationIcon({
|
|
|
21788
21797
|
backgroundStyle = "dark"
|
|
21789
21798
|
}) {
|
|
21790
21799
|
const { width, height } = imageSizeMap2[size];
|
|
21791
|
-
const initials = _optionalChain([organizationName, 'optionalAccess',
|
|
21800
|
+
const initials = _optionalChain([organizationName, 'optionalAccess', _503 => _503.substring, 'call', _504 => _504(0, 2)]) || "??";
|
|
21792
21801
|
const containerClasses = _chunkOFAYLG6Dcjs.cn.call(void 0,
|
|
21793
21802
|
sizeClasses3[size],
|
|
21794
21803
|
"rounded-lg flex items-center justify-center flex-shrink-0 relative",
|
|
@@ -21839,7 +21848,7 @@ function OrganizationCard({
|
|
|
21839
21848
|
const handleActionClick = (e) => {
|
|
21840
21849
|
e.preventDefault();
|
|
21841
21850
|
e.stopPropagation();
|
|
21842
|
-
_optionalChain([actionButton, 'optionalAccess',
|
|
21851
|
+
_optionalChain([actionButton, 'optionalAccess', _505 => _505.onClick, 'call', _506 => _506(organization, e)]);
|
|
21843
21852
|
};
|
|
21844
21853
|
const card = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21845
21854
|
"div",
|
|
@@ -21996,7 +22005,7 @@ var LogCard = ({ log, isLast, showConnector, onClick }) => {
|
|
|
21996
22005
|
onKeyDown: (e) => {
|
|
21997
22006
|
if (e.key === "Enter" || e.key === " ") {
|
|
21998
22007
|
e.preventDefault();
|
|
21999
|
-
_optionalChain([onClick, 'optionalCall',
|
|
22008
|
+
_optionalChain([onClick, 'optionalCall', _507 => _507()]);
|
|
22000
22009
|
}
|
|
22001
22010
|
},
|
|
22002
22011
|
children: [
|
|
@@ -22097,7 +22106,7 @@ var LogsList = React77.forwardRef(({
|
|
|
22097
22106
|
log,
|
|
22098
22107
|
isLast: index === logs.length - 1,
|
|
22099
22108
|
showConnector,
|
|
22100
|
-
onClick: () => _optionalChain([onLogClick, 'optionalCall',
|
|
22109
|
+
onClick: () => _optionalChain([onLogClick, 'optionalCall', _508 => _508(log)])
|
|
22101
22110
|
},
|
|
22102
22111
|
log.id
|
|
22103
22112
|
))
|
|
@@ -22686,7 +22695,7 @@ function CursorPaginationSimple({
|
|
|
22686
22695
|
{
|
|
22687
22696
|
variant: "transparent",
|
|
22688
22697
|
size: "icon",
|
|
22689
|
-
onClick: () => _optionalChain([onPrevious, 'optionalCall',
|
|
22698
|
+
onClick: () => _optionalChain([onPrevious, 'optionalCall', _509 => _509("")]),
|
|
22690
22699
|
disabled: !hasPreviousPage || loading,
|
|
22691
22700
|
className: "h-8 w-8",
|
|
22692
22701
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" }),
|
|
@@ -22698,7 +22707,7 @@ function CursorPaginationSimple({
|
|
|
22698
22707
|
{
|
|
22699
22708
|
variant: "transparent",
|
|
22700
22709
|
size: "icon",
|
|
22701
|
-
onClick: () => _optionalChain([onNext, 'optionalCall',
|
|
22710
|
+
onClick: () => _optionalChain([onNext, 'optionalCall', _510 => _510("")]),
|
|
22702
22711
|
disabled: !hasNextPage || loading,
|
|
22703
22712
|
className: "h-8 w-8",
|
|
22704
22713
|
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" }),
|
|
@@ -22758,7 +22767,7 @@ function TableColumnFilterDropdown({
|
|
|
22758
22767
|
placement = "bottom-start",
|
|
22759
22768
|
dropdownClassName = "min-w-[240px]"
|
|
22760
22769
|
}) {
|
|
22761
|
-
const activeCount = _optionalChain([filters, 'optionalAccess',
|
|
22770
|
+
const activeCount = _optionalChain([filters, 'optionalAccess', _511 => _511[columnKey], 'optionalAccess', _512 => _512.length]) || 0;
|
|
22762
22771
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22763
22772
|
FiltersDropdown,
|
|
22764
22773
|
{
|
|
@@ -22801,7 +22810,7 @@ function TableColumnFilterDropdown({
|
|
|
22801
22810
|
delete newFilters[columnKey];
|
|
22802
22811
|
onFilterChange(newFilters);
|
|
22803
22812
|
},
|
|
22804
|
-
currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess',
|
|
22813
|
+
currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess', _513 => _513[columnKey]]) || [] },
|
|
22805
22814
|
placement,
|
|
22806
22815
|
dropdownClassName
|
|
22807
22816
|
}
|
|
@@ -23098,7 +23107,7 @@ function TableRow({
|
|
|
23098
23107
|
const keys = column.key.split(".");
|
|
23099
23108
|
let value = item;
|
|
23100
23109
|
for (const key of keys) {
|
|
23101
|
-
value = _optionalChain([value, 'optionalAccess',
|
|
23110
|
+
value = _optionalChain([value, 'optionalAccess', _514 => _514[key]]);
|
|
23102
23111
|
}
|
|
23103
23112
|
if (value === null || value === void 0) {
|
|
23104
23113
|
return "-";
|
|
@@ -23168,7 +23177,7 @@ function TableRow({
|
|
|
23168
23177
|
// src/components/ui/table/table.tsx
|
|
23169
23178
|
|
|
23170
23179
|
function injectSyntheticColumns(columns, rowActions, renderRowActions, rowHref) {
|
|
23171
|
-
const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess',
|
|
23180
|
+
const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess', _515 => _515.length])) || Boolean(renderRowActions);
|
|
23172
23181
|
const result = [...columns];
|
|
23173
23182
|
if (hasActions) {
|
|
23174
23183
|
const actionsColumn = {
|
|
@@ -23262,7 +23271,7 @@ function Table({
|
|
|
23262
23271
|
return rowKey(item);
|
|
23263
23272
|
}
|
|
23264
23273
|
const key = item[rowKey];
|
|
23265
|
-
return _optionalChain([key, 'optionalAccess',
|
|
23274
|
+
return _optionalChain([key, 'optionalAccess', _516 => _516.toString, 'call', _517 => _517()]) || index.toString();
|
|
23266
23275
|
};
|
|
23267
23276
|
const getRowClassName = (item, index) => {
|
|
23268
23277
|
if (typeof rowClassName === "function") {
|
|
@@ -23296,23 +23305,23 @@ function Table({
|
|
|
23296
23305
|
const allSelected = selectedRows.length > 0 && selectedRows.length === data.length;
|
|
23297
23306
|
const someSelected = selectedRows.length > 0 && selectedRows.length < data.length;
|
|
23298
23307
|
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',
|
|
23308
|
+
const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess', _518 => _518.onLoadMore]));
|
|
23309
|
+
onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess', _519 => _519.onLoadMore]);
|
|
23301
23310
|
_react.useEffect.call(void 0, () => {
|
|
23302
|
-
if (!_optionalChain([infiniteScroll, 'optionalAccess',
|
|
23311
|
+
if (!_optionalChain([infiniteScroll, 'optionalAccess', _520 => _520.hasNextPage]) || infiniteScroll.isFetchingNextPage) return;
|
|
23303
23312
|
const sentinel = sentinelRef.current;
|
|
23304
23313
|
if (!sentinel) return;
|
|
23305
23314
|
const observer = new IntersectionObserver(
|
|
23306
23315
|
(entries) => {
|
|
23307
|
-
if (_optionalChain([entries, 'access',
|
|
23308
|
-
_optionalChain([onLoadMoreRef, 'access',
|
|
23316
|
+
if (_optionalChain([entries, 'access', _521 => _521[0], 'optionalAccess', _522 => _522.isIntersecting])) {
|
|
23317
|
+
_optionalChain([onLoadMoreRef, 'access', _523 => _523.current, 'optionalCall', _524 => _524()]);
|
|
23309
23318
|
}
|
|
23310
23319
|
},
|
|
23311
23320
|
{ rootMargin: "200px" }
|
|
23312
23321
|
);
|
|
23313
23322
|
observer.observe(sentinel);
|
|
23314
23323
|
return () => observer.disconnect();
|
|
23315
|
-
}, [_optionalChain([infiniteScroll, 'optionalAccess',
|
|
23324
|
+
}, [_optionalChain([infiniteScroll, 'optionalAccess', _525 => _525.hasNextPage]), _optionalChain([infiniteScroll, 'optionalAccess', _526 => _526.isFetchingNextPage])]);
|
|
23316
23325
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkOFAYLG6Dcjs.cn.call(void 0, "flex flex-col gap-1 w-full", containerClassName), children: [
|
|
23317
23326
|
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
23327
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary text-sm", children: [
|
|
@@ -23383,7 +23392,7 @@ function Table({
|
|
|
23383
23392
|
},
|
|
23384
23393
|
getRowKey(item, index)
|
|
23385
23394
|
)),
|
|
23386
|
-
_optionalChain([infiniteScroll, 'optionalAccess',
|
|
23395
|
+
_optionalChain([infiniteScroll, 'optionalAccess', _527 => _527.isFetchingNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23387
23396
|
TableCardSkeleton,
|
|
23388
23397
|
{
|
|
23389
23398
|
columns,
|
|
@@ -23392,7 +23401,7 @@ function Table({
|
|
|
23392
23401
|
hasChevron: Boolean(rowHref)
|
|
23393
23402
|
}
|
|
23394
23403
|
),
|
|
23395
|
-
_optionalChain([infiniteScroll, 'optionalAccess',
|
|
23404
|
+
_optionalChain([infiniteScroll, 'optionalAccess', _528 => _528.hasNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: sentinelRef, className: "h-1", "aria-hidden": "true" }),
|
|
23396
23405
|
!infiniteScroll && Array.from({ length: Math.max(0, skeletonRows - data.length) }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23397
23406
|
"div",
|
|
23398
23407
|
{
|
|
@@ -23750,7 +23759,7 @@ function QueryReportTable({
|
|
|
23750
23759
|
);
|
|
23751
23760
|
const handleExport = () => {
|
|
23752
23761
|
exportToCSV(data, columns, exportFilename);
|
|
23753
|
-
_optionalChain([onExport, 'optionalCall',
|
|
23762
|
+
_optionalChain([onExport, 'optionalCall', _529 => _529()]);
|
|
23754
23763
|
};
|
|
23755
23764
|
const tableMinWidth = columns.length * (columnWidth + 16);
|
|
23756
23765
|
const {
|
|
@@ -23923,7 +23932,7 @@ function DataTableColumnFilter({
|
|
|
23923
23932
|
align = "left"
|
|
23924
23933
|
}) {
|
|
23925
23934
|
const currentValue = column.getFilterValue();
|
|
23926
|
-
const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess',
|
|
23935
|
+
const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess', _530 => _530.length]), () => ( 0));
|
|
23927
23936
|
const sections = _react.useMemo.call(void 0,
|
|
23928
23937
|
() => [
|
|
23929
23938
|
{
|
|
@@ -24003,7 +24012,7 @@ function DataTableHeader({
|
|
|
24003
24012
|
const hasVisibleHeaderCell = headerGroup.headers.some((header) => {
|
|
24004
24013
|
if (header.isPlaceholder) return false;
|
|
24005
24014
|
if (isLgUp) return true;
|
|
24006
|
-
return Boolean(_optionalChain([header, 'access',
|
|
24015
|
+
return Boolean(_optionalChain([header, 'access', _531 => _531.column, 'access', _532 => _532.columnDef, 'access', _533 => _533.meta, 'optionalAccess', _534 => _534.filter]));
|
|
24007
24016
|
});
|
|
24008
24017
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24009
24018
|
"div",
|
|
@@ -24033,20 +24042,20 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
|
|
|
24033
24042
|
if (header.isPlaceholder) return null;
|
|
24034
24043
|
const column = header.column;
|
|
24035
24044
|
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',
|
|
24045
|
+
const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess', _535 => _535.filter]));
|
|
24046
|
+
const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _536 => _536.align]), () => ( "left"));
|
|
24047
|
+
const canSort = _optionalChain([meta, 'optionalAccess', _537 => _537.sortable]) === true;
|
|
24048
|
+
const sortDir = _optionalChain([sort, 'optionalAccess', _538 => _538.id]) === column.id ? sort.desc ? "desc" : "asc" : false;
|
|
24040
24049
|
if (!isLgUp && !hasFilter) return null;
|
|
24041
24050
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24042
24051
|
"div",
|
|
24043
24052
|
{
|
|
24044
24053
|
className: _chunkOFAYLG6Dcjs.cn.call(void 0,
|
|
24045
24054
|
"flex items-stretch",
|
|
24046
|
-
isLgUp && (_optionalChain([meta, 'optionalAccess',
|
|
24047
|
-
_optionalChain([meta, 'optionalAccess',
|
|
24055
|
+
isLgUp && (_optionalChain([meta, 'optionalAccess', _539 => _539.width]) || "flex-1 min-w-0"),
|
|
24056
|
+
_optionalChain([meta, 'optionalAccess', _540 => _540.headerClassName]),
|
|
24048
24057
|
// Don't apply hide classes if column is filterable on tablet (keep filter accessible)
|
|
24049
|
-
!(hasFilter && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess',
|
|
24058
|
+
!(hasFilter && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess', _541 => _541.hideAt]))
|
|
24050
24059
|
),
|
|
24051
24060
|
children: hasFilter ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24052
24061
|
DataTableColumnFilter,
|
|
@@ -24065,7 +24074,7 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
|
|
|
24065
24074
|
isLgUp && alignJustify(align),
|
|
24066
24075
|
canSort && "group cursor-pointer"
|
|
24067
24076
|
),
|
|
24068
|
-
onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall',
|
|
24077
|
+
onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall', _542 => _542(column.id)]) : void 0,
|
|
24069
24078
|
children: [
|
|
24070
24079
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
24071
24080
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -24149,7 +24158,7 @@ function DataTableSkeleton({
|
|
|
24149
24158
|
}) {
|
|
24150
24159
|
const table = useDataTableContext();
|
|
24151
24160
|
const columns = table.getVisibleFlatColumns();
|
|
24152
|
-
const firstColumnId = _optionalChain([columns, 'access',
|
|
24161
|
+
const firstColumnId = _optionalChain([columns, 'access', _543 => _543[0], 'optionalAccess', _544 => _544.id]);
|
|
24153
24162
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24154
24163
|
"div",
|
|
24155
24164
|
{
|
|
@@ -24173,7 +24182,7 @@ function DataTableSkeleton({
|
|
|
24173
24182
|
{
|
|
24174
24183
|
className: _chunkOFAYLG6Dcjs.cn.call(void 0,
|
|
24175
24184
|
"flex flex-col justify-center shrink-0",
|
|
24176
|
-
_optionalChain([meta, 'optionalAccess',
|
|
24185
|
+
_optionalChain([meta, 'optionalAccess', _545 => _545.width]) || "flex-1"
|
|
24177
24186
|
),
|
|
24178
24187
|
children: [
|
|
24179
24188
|
/* @__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 +24228,7 @@ function DataTableRowImpl({
|
|
|
24219
24228
|
(e) => {
|
|
24220
24229
|
const target = e.target;
|
|
24221
24230
|
if (target.closest("[data-no-row-click]")) return;
|
|
24222
|
-
_optionalChain([onClick, 'optionalCall',
|
|
24231
|
+
_optionalChain([onClick, 'optionalCall', _546 => _546(row.original)]);
|
|
24223
24232
|
},
|
|
24224
24233
|
[onClick, row.original]
|
|
24225
24234
|
);
|
|
@@ -24257,10 +24266,10 @@ function DataTableRowImpl({
|
|
|
24257
24266
|
{
|
|
24258
24267
|
className: _chunkOFAYLG6Dcjs.cn.call(void 0,
|
|
24259
24268
|
"flex flex-col overflow-hidden",
|
|
24260
|
-
alignJustify(_optionalChain([meta, 'optionalAccess',
|
|
24261
|
-
_optionalChain([meta, 'optionalAccess',
|
|
24262
|
-
_optionalChain([meta, 'optionalAccess',
|
|
24263
|
-
getHideClasses2(_optionalChain([meta, 'optionalAccess',
|
|
24269
|
+
alignJustify(_optionalChain([meta, 'optionalAccess', _547 => _547.align])),
|
|
24270
|
+
_optionalChain([meta, 'optionalAccess', _548 => _548.width]) || "flex-1 min-w-0",
|
|
24271
|
+
_optionalChain([meta, 'optionalAccess', _549 => _549.cellClassName]),
|
|
24272
|
+
getHideClasses2(_optionalChain([meta, 'optionalAccess', _550 => _550.hideAt]))
|
|
24264
24273
|
),
|
|
24265
24274
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CellContent, { children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) })
|
|
24266
24275
|
},
|
|
@@ -24306,7 +24315,7 @@ function DataTableBody({
|
|
|
24306
24315
|
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
24316
|
rows.map((row, index) => {
|
|
24308
24317
|
const item = row.original;
|
|
24309
|
-
const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall',
|
|
24318
|
+
const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall', _551 => _551(item)]), () => ( void 0));
|
|
24310
24319
|
const cls = typeof rowClassName === "function" ? rowClassName(item, index) : rowClassName;
|
|
24311
24320
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24312
24321
|
DataTableRow,
|
|
@@ -24370,7 +24379,7 @@ function DataTableInfiniteFooter({
|
|
|
24370
24379
|
if (!sentinel) return;
|
|
24371
24380
|
const observer = new IntersectionObserver(
|
|
24372
24381
|
(entries) => {
|
|
24373
|
-
if (_optionalChain([entries, 'access',
|
|
24382
|
+
if (_optionalChain([entries, 'access', _552 => _552[0], 'optionalAccess', _553 => _553.isIntersecting])) onLoadMoreRef.current();
|
|
24374
24383
|
},
|
|
24375
24384
|
{ rootMargin }
|
|
24376
24385
|
);
|
|
@@ -24418,7 +24427,7 @@ function DataTableRowCount({
|
|
|
24418
24427
|
const table = useDataTableContext();
|
|
24419
24428
|
const count = _nullishCoalesce(totalCount, () => ( table.getRowModel().rows.length));
|
|
24420
24429
|
if (hideWhenEmpty && count === 0) return null;
|
|
24421
|
-
const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall',
|
|
24430
|
+
const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _554 => _554(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
|
|
24422
24431
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24423
24432
|
"span",
|
|
24424
24433
|
{
|
|
@@ -24512,12 +24521,12 @@ function PhoneInput({
|
|
|
24512
24521
|
const runValidation = _react.useCallback.call(void 0, (phone) => {
|
|
24513
24522
|
if (!phone || digitCount(phone) === 0) {
|
|
24514
24523
|
setIsInvalid(false);
|
|
24515
|
-
_optionalChain([onValidationChange, 'optionalCall',
|
|
24524
|
+
_optionalChain([onValidationChange, 'optionalCall', _555 => _555(false)]);
|
|
24516
24525
|
return;
|
|
24517
24526
|
}
|
|
24518
24527
|
const invalid = !validatePhoneNumber(phone, countryCode);
|
|
24519
24528
|
setIsInvalid(invalid);
|
|
24520
|
-
_optionalChain([onValidationChange, 'optionalCall',
|
|
24529
|
+
_optionalChain([onValidationChange, 'optionalCall', _556 => _556(invalid)]);
|
|
24521
24530
|
}, [countryCode, digitCount, onValidationChange]);
|
|
24522
24531
|
const debouncedValidation = _react.useCallback.call(void 0, (phone) => {
|
|
24523
24532
|
if (debounceRef.current) clearTimeout(debounceRef.current);
|
|
@@ -24566,7 +24575,7 @@ function PhoneInput({
|
|
|
24566
24575
|
debouncedValidation(val);
|
|
24567
24576
|
} else if (digitCount(val) === 0) {
|
|
24568
24577
|
setIsInvalid(false);
|
|
24569
|
-
_optionalChain([onValidationChange, 'optionalCall',
|
|
24578
|
+
_optionalChain([onValidationChange, 'optionalCall', _557 => _557(false)]);
|
|
24570
24579
|
}
|
|
24571
24580
|
}
|
|
24572
24581
|
},
|
|
@@ -24673,7 +24682,7 @@ function SearchInput({
|
|
|
24673
24682
|
if (!showHiddenTags) return;
|
|
24674
24683
|
const handleClick = (e) => {
|
|
24675
24684
|
const target = e.target;
|
|
24676
|
-
if (!_optionalChain([hiddenTagsRef, 'access',
|
|
24685
|
+
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
24686
|
setShowHiddenTags(false);
|
|
24678
24687
|
}
|
|
24679
24688
|
};
|
|
@@ -24721,10 +24730,10 @@ function SearchInput({
|
|
|
24721
24730
|
} else {
|
|
24722
24731
|
setInternalValue("");
|
|
24723
24732
|
}
|
|
24724
|
-
_optionalChain([inputRef, 'access',
|
|
24733
|
+
_optionalChain([inputRef, 'access', _564 => _564.current, 'optionalAccess', _565 => _565.focus, 'call', _566 => _566()]);
|
|
24725
24734
|
};
|
|
24726
24735
|
const handleResultClick = (result) => {
|
|
24727
|
-
_optionalChain([onResultSelect, 'optionalCall',
|
|
24736
|
+
_optionalChain([onResultSelect, 'optionalCall', _567 => _567(result)]);
|
|
24728
24737
|
setIsOpen(false);
|
|
24729
24738
|
};
|
|
24730
24739
|
const handleKeyDown = (e) => {
|
|
@@ -24747,7 +24756,7 @@ function SearchInput({
|
|
|
24747
24756
|
if (highlightedIndex >= 0 && flatResults[highlightedIndex]) {
|
|
24748
24757
|
handleResultClick(flatResults[highlightedIndex]);
|
|
24749
24758
|
} else {
|
|
24750
|
-
_optionalChain([onSubmit, 'optionalCall',
|
|
24759
|
+
_optionalChain([onSubmit, 'optionalCall', _568 => _568(currentValue)]);
|
|
24751
24760
|
}
|
|
24752
24761
|
break;
|
|
24753
24762
|
case "Escape":
|
|
@@ -24825,7 +24834,7 @@ function SearchInput({
|
|
|
24825
24834
|
dropdownVisible && "!border-ods-accent"
|
|
24826
24835
|
),
|
|
24827
24836
|
onClick: () => {
|
|
24828
|
-
_optionalChain([inputRef, 'access',
|
|
24837
|
+
_optionalChain([inputRef, 'access', _569 => _569.current, 'optionalAccess', _570 => _570.focus, 'call', _571 => _571()]);
|
|
24829
24838
|
setIsOpen(true);
|
|
24830
24839
|
},
|
|
24831
24840
|
children: [
|
|
@@ -24909,10 +24918,10 @@ function SearchInput({
|
|
|
24909
24918
|
align: "start",
|
|
24910
24919
|
onOpenAutoFocus: (e) => {
|
|
24911
24920
|
e.preventDefault();
|
|
24912
|
-
_optionalChain([inputRef, 'access',
|
|
24921
|
+
_optionalChain([inputRef, 'access', _572 => _572.current, 'optionalAccess', _573 => _573.focus, 'call', _574 => _574()]);
|
|
24913
24922
|
},
|
|
24914
24923
|
onInteractOutside: (e) => {
|
|
24915
|
-
if (_optionalChain([containerRef, 'access',
|
|
24924
|
+
if (_optionalChain([containerRef, 'access', _575 => _575.current, 'optionalAccess', _576 => _576.contains, 'call', _577 => _577(e.target)])) {
|
|
24916
24925
|
e.preventDefault();
|
|
24917
24926
|
}
|
|
24918
24927
|
},
|
|
@@ -24929,10 +24938,10 @@ function SearchInput({
|
|
|
24929
24938
|
ref: hiddenTagsPopupRef,
|
|
24930
24939
|
items: hiddenChips.map((chip) => ({ label: chip.label, value: chip.id })),
|
|
24931
24940
|
style: {
|
|
24932
|
-
left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access',
|
|
24941
|
+
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
24942
|
},
|
|
24934
24943
|
onRemove: (value2) => {
|
|
24935
|
-
_optionalChain([onFilterRemove, 'optionalCall',
|
|
24944
|
+
_optionalChain([onFilterRemove, 'optionalCall', _582 => _582(value2)]);
|
|
24936
24945
|
if (hiddenCount <= 1) setShowHiddenTags(false);
|
|
24937
24946
|
}
|
|
24938
24947
|
}
|
|
@@ -24983,7 +24992,7 @@ function FilterListItem({
|
|
|
24983
24992
|
}) {
|
|
24984
24993
|
const handleToggle = () => {
|
|
24985
24994
|
if (disabled) return;
|
|
24986
|
-
_optionalChain([onToggle, 'optionalCall',
|
|
24995
|
+
_optionalChain([onToggle, 'optionalCall', _583 => _583(!selected)]);
|
|
24987
24996
|
};
|
|
24988
24997
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24989
24998
|
"div",
|
|
@@ -25030,7 +25039,7 @@ function FilterListItem({
|
|
|
25030
25039
|
CheckboxPrimitive4.Root,
|
|
25031
25040
|
{
|
|
25032
25041
|
checked: selected,
|
|
25033
|
-
onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall',
|
|
25042
|
+
onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _584 => _584(c === true)]),
|
|
25034
25043
|
onClick: (e) => e.stopPropagation(),
|
|
25035
25044
|
disabled,
|
|
25036
25045
|
"aria-label": title,
|
|
@@ -25129,7 +25138,7 @@ function TagSearchInput({
|
|
|
25129
25138
|
if (!showHiddenTags) return;
|
|
25130
25139
|
const handleClick = (e) => {
|
|
25131
25140
|
const target = e.target;
|
|
25132
|
-
if (!_optionalChain([hiddenTagsRef, 'access',
|
|
25141
|
+
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
25142
|
setShowHiddenTags(false);
|
|
25134
25143
|
}
|
|
25135
25144
|
};
|
|
@@ -25145,13 +25154,13 @@ function TagSearchInput({
|
|
|
25145
25154
|
e.preventDefault();
|
|
25146
25155
|
onSubmit(searchValue);
|
|
25147
25156
|
}
|
|
25148
|
-
_optionalChain([onKeyDown, 'optionalCall',
|
|
25157
|
+
_optionalChain([onKeyDown, 'optionalCall', _591 => _591(e)]);
|
|
25149
25158
|
};
|
|
25150
25159
|
const handleClearAll = (e) => {
|
|
25151
25160
|
e.stopPropagation();
|
|
25152
25161
|
e.preventDefault();
|
|
25153
|
-
_optionalChain([onClearAll, 'optionalCall',
|
|
25154
|
-
_optionalChain([inputRef, 'access',
|
|
25162
|
+
_optionalChain([onClearAll, 'optionalCall', _592 => _592()]);
|
|
25163
|
+
_optionalChain([inputRef, 'access', _593 => _593.current, 'optionalAccess', _594 => _594.focus, 'call', _595 => _595()]);
|
|
25155
25164
|
};
|
|
25156
25165
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: wrapperRef, className: "relative", children: [
|
|
25157
25166
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -25168,7 +25177,7 @@ function TagSearchInput({
|
|
|
25168
25177
|
className
|
|
25169
25178
|
),
|
|
25170
25179
|
onClick: () => {
|
|
25171
|
-
if (!disabled) _optionalChain([inputRef, 'access',
|
|
25180
|
+
if (!disabled) _optionalChain([inputRef, 'access', _596 => _596.current, 'optionalAccess', _597 => _597.focus, 'call', _598 => _598()]);
|
|
25172
25181
|
},
|
|
25173
25182
|
children: [
|
|
25174
25183
|
/* @__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 +25249,7 @@ function TagSearchInput({
|
|
|
25240
25249
|
items: hiddenTags,
|
|
25241
25250
|
disabled,
|
|
25242
25251
|
style: {
|
|
25243
|
-
left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access',
|
|
25252
|
+
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
25253
|
},
|
|
25245
25254
|
onRemove: (value) => {
|
|
25246
25255
|
onTagRemove(value);
|
|
@@ -25342,7 +25351,7 @@ function MarkdownEditor({
|
|
|
25342
25351
|
const [defaultExtraCommands, setDefaultExtraCommands] = _react.useState.call(void 0, []);
|
|
25343
25352
|
_react.useEffect.call(void 0, () => {
|
|
25344
25353
|
Promise.resolve().then(() => _interopRequireWildcard(require("@uiw/react-md-editor"))).then((mod) => {
|
|
25345
|
-
if (_optionalChain([mod, 'access',
|
|
25354
|
+
if (_optionalChain([mod, 'access', _603 => _603.commands, 'optionalAccess', _604 => _604.getExtraCommands])) {
|
|
25346
25355
|
setDefaultExtraCommands(mod.commands.getExtraCommands());
|
|
25347
25356
|
}
|
|
25348
25357
|
});
|
|
@@ -25376,7 +25385,7 @@ function MarkdownEditor({
|
|
|
25376
25385
|
const isImage = file.type.startsWith("image/");
|
|
25377
25386
|
const markdown = isImage ? `` : `[${file.name}](${url})`;
|
|
25378
25387
|
insertTextAtCursor(markdown);
|
|
25379
|
-
_optionalChain([onFileUploaded, 'optionalCall',
|
|
25388
|
+
_optionalChain([onFileUploaded, 'optionalCall', _605 => _605(url, file.name)]);
|
|
25380
25389
|
} catch (error) {
|
|
25381
25390
|
console.error("File upload failed:", error);
|
|
25382
25391
|
setUploadProgress("Upload failed. Please try again.");
|
|
@@ -25389,7 +25398,7 @@ function MarkdownEditor({
|
|
|
25389
25398
|
);
|
|
25390
25399
|
const handleFileInputChange = _react.useCallback.call(void 0,
|
|
25391
25400
|
(e) => {
|
|
25392
|
-
const file = _optionalChain([e, 'access',
|
|
25401
|
+
const file = _optionalChain([e, 'access', _606 => _606.target, 'access', _607 => _607.files, 'optionalAccess', _608 => _608[0]]);
|
|
25393
25402
|
if (file) {
|
|
25394
25403
|
handleFileUpload(file);
|
|
25395
25404
|
e.target.value = "";
|
|
@@ -25400,7 +25409,7 @@ function MarkdownEditor({
|
|
|
25400
25409
|
const handlePaste = _react.useCallback.call(void 0,
|
|
25401
25410
|
(e) => {
|
|
25402
25411
|
if (!onUploadFile) return;
|
|
25403
|
-
const items = _optionalChain([e, 'access',
|
|
25412
|
+
const items = _optionalChain([e, 'access', _609 => _609.clipboardData, 'optionalAccess', _610 => _610.items]);
|
|
25404
25413
|
if (!items) return;
|
|
25405
25414
|
for (const item of items) {
|
|
25406
25415
|
if (item.type.startsWith("image/")) {
|
|
@@ -25425,7 +25434,7 @@ function MarkdownEditor({
|
|
|
25425
25434
|
buttonProps: { "aria-label": "Upload file", title: "Upload file" },
|
|
25426
25435
|
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
25436
|
execute: () => {
|
|
25428
|
-
_optionalChain([fileInputRef, 'access',
|
|
25437
|
+
_optionalChain([fileInputRef, 'access', _611 => _611.current, 'optionalAccess', _612 => _612.click, 'call', _613 => _613()]);
|
|
25429
25438
|
}
|
|
25430
25439
|
} : null;
|
|
25431
25440
|
const extraCommands = uploadCommand ? [...defaultExtraCommands, uploadCommand] : defaultExtraCommands;
|
|
@@ -25437,7 +25446,7 @@ function MarkdownEditor({
|
|
|
25437
25446
|
const EDGE_ZONE = 60;
|
|
25438
25447
|
const MAX_SCROLL_SPEED = 15;
|
|
25439
25448
|
const findScrollParent = _react.useCallback.call(void 0, (el) => {
|
|
25440
|
-
let node = _optionalChain([el, 'optionalAccess',
|
|
25449
|
+
let node = _optionalChain([el, 'optionalAccess', _614 => _614.parentElement]);
|
|
25441
25450
|
while (node && node !== document.documentElement) {
|
|
25442
25451
|
const { overflowY } = window.getComputedStyle(node);
|
|
25443
25452
|
if ((overflowY === "auto" || overflowY === "scroll") && node.scrollHeight > node.clientHeight) {
|
|
@@ -25580,7 +25589,7 @@ function matchesAccept(file, accept) {
|
|
|
25580
25589
|
});
|
|
25581
25590
|
}
|
|
25582
25591
|
function dragHasFiles(e) {
|
|
25583
|
-
const types = _optionalChain([e, 'access',
|
|
25592
|
+
const types = _optionalChain([e, 'access', _615 => _615.dataTransfer, 'optionalAccess', _616 => _616.types]);
|
|
25584
25593
|
if (!types) return false;
|
|
25585
25594
|
for (let i = 0; i < types.length; i++) {
|
|
25586
25595
|
if (types[i] === "Files") return true;
|
|
@@ -25675,7 +25684,7 @@ function FileUpload({
|
|
|
25675
25684
|
e.stopPropagation();
|
|
25676
25685
|
setDragActive(false);
|
|
25677
25686
|
if (disabled) return;
|
|
25678
|
-
if (_optionalChain([e, 'access',
|
|
25687
|
+
if (_optionalChain([e, 'access', _617 => _617.dataTransfer, 'access', _618 => _618.files, 'optionalAccess', _619 => _619.length])) {
|
|
25679
25688
|
handleFiles(e.dataTransfer.files);
|
|
25680
25689
|
}
|
|
25681
25690
|
};
|
|
@@ -25703,7 +25712,7 @@ function FileUpload({
|
|
|
25703
25712
|
e.preventDefault();
|
|
25704
25713
|
dragCounter = 0;
|
|
25705
25714
|
setDragActive(false);
|
|
25706
|
-
if (_optionalChain([e, 'access',
|
|
25715
|
+
if (_optionalChain([e, 'access', _620 => _620.dataTransfer, 'optionalAccess', _621 => _621.files, 'optionalAccess', _622 => _622.length])) {
|
|
25707
25716
|
handleFilesRef.current(e.dataTransfer.files);
|
|
25708
25717
|
}
|
|
25709
25718
|
};
|
|
@@ -25725,7 +25734,7 @@ function FileUpload({
|
|
|
25725
25734
|
};
|
|
25726
25735
|
}, [acceptWindowDrops, disabled]);
|
|
25727
25736
|
const handleFileSelect = (e) => {
|
|
25728
|
-
if (_optionalChain([e, 'access',
|
|
25737
|
+
if (_optionalChain([e, 'access', _623 => _623.target, 'access', _624 => _624.files, 'optionalAccess', _625 => _625.length])) {
|
|
25729
25738
|
handleFiles(e.target.files);
|
|
25730
25739
|
}
|
|
25731
25740
|
};
|
|
@@ -25742,7 +25751,7 @@ function FileUpload({
|
|
|
25742
25751
|
};
|
|
25743
25752
|
const openDialog = async () => {
|
|
25744
25753
|
if (disabled) return;
|
|
25745
|
-
_optionalChain([fileInputRef, 'access',
|
|
25754
|
+
_optionalChain([fileInputRef, 'access', _626 => _626.current, 'optionalAccess', _627 => _627.click, 'call', _628 => _628()]);
|
|
25746
25755
|
};
|
|
25747
25756
|
const displayError = error || validationError || void 0;
|
|
25748
25757
|
const hasFiles = isManaged ? managedFiles.length > 0 : files.length > 0;
|
|
@@ -25820,7 +25829,7 @@ function FileUpload({
|
|
|
25820
25829
|
"button",
|
|
25821
25830
|
{
|
|
25822
25831
|
type: "button",
|
|
25823
|
-
onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall',
|
|
25832
|
+
onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _629 => _629(entry.id)]),
|
|
25824
25833
|
className: "shrink-0 p-1 rounded hover:bg-ods-bg transition-colors",
|
|
25825
25834
|
"aria-label": `Remove ${entry.fileName}`,
|
|
25826
25835
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.X, { className: "size-4 text-ods-text-secondary" })
|
|
@@ -25943,7 +25952,7 @@ function ImageUploader({
|
|
|
25943
25952
|
onChange(file);
|
|
25944
25953
|
};
|
|
25945
25954
|
const handleFileSelect = (e) => {
|
|
25946
|
-
validateAndEmit(_optionalChain([e, 'access',
|
|
25955
|
+
validateAndEmit(_optionalChain([e, 'access', _630 => _630.target, 'access', _631 => _631.files, 'optionalAccess', _632 => _632[0]]));
|
|
25947
25956
|
if (inputRef.current) inputRef.current.value = "";
|
|
25948
25957
|
};
|
|
25949
25958
|
const handleDrag = (e) => {
|
|
@@ -25958,11 +25967,11 @@ function ImageUploader({
|
|
|
25958
25967
|
e.stopPropagation();
|
|
25959
25968
|
setDragActive(false);
|
|
25960
25969
|
if (!interactive) return;
|
|
25961
|
-
validateAndEmit(_optionalChain([e, 'access',
|
|
25970
|
+
validateAndEmit(_optionalChain([e, 'access', _633 => _633.dataTransfer, 'access', _634 => _634.files, 'optionalAccess', _635 => _635[0]]));
|
|
25962
25971
|
};
|
|
25963
25972
|
const openDialog = () => {
|
|
25964
25973
|
if (!interactive) return;
|
|
25965
|
-
_optionalChain([inputRef, 'access',
|
|
25974
|
+
_optionalChain([inputRef, 'access', _636 => _636.current, 'optionalAccess', _637 => _637.click, 'call', _638 => _638()]);
|
|
25966
25975
|
};
|
|
25967
25976
|
const handleRootKeyDown = (e) => {
|
|
25968
25977
|
if (hasImage || !interactive) return;
|
|
@@ -26119,7 +26128,7 @@ function CompactAssigneeDropdown({
|
|
|
26119
26128
|
return [current, ...filtered.filter((o) => o.value !== currentAssignee.id)];
|
|
26120
26129
|
}, [filtered, currentAssignee]);
|
|
26121
26130
|
const handleSelect = (userId) => {
|
|
26122
|
-
const next = _optionalChain([currentAssignee, 'optionalAccess',
|
|
26131
|
+
const next = _optionalChain([currentAssignee, 'optionalAccess', _639 => _639.id]) === userId ? null : userId;
|
|
26123
26132
|
onAssign(next);
|
|
26124
26133
|
setIsOpen(false);
|
|
26125
26134
|
};
|
|
@@ -26184,7 +26193,7 @@ function CompactAssigneeDropdown({
|
|
|
26184
26193
|
}
|
|
26185
26194
|
) }),
|
|
26186
26195
|
/* @__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',
|
|
26196
|
+
const isCurrent = _optionalChain([currentAssignee, 'optionalAccess', _640 => _640.id]) === opt.value;
|
|
26188
26197
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
26189
26198
|
"button",
|
|
26190
26199
|
{
|
|
@@ -26253,7 +26262,7 @@ function DefaultAssigneeDropdown({
|
|
|
26253
26262
|
Autocomplete,
|
|
26254
26263
|
{
|
|
26255
26264
|
options,
|
|
26256
|
-
value: _nullishCoalesce(_optionalChain([currentAssignee, 'optionalAccess',
|
|
26265
|
+
value: _nullishCoalesce(_optionalChain([currentAssignee, 'optionalAccess', _641 => _641.id]), () => ( null)),
|
|
26257
26266
|
onChange: (val) => {
|
|
26258
26267
|
onAssign(val);
|
|
26259
26268
|
setIsEditing(false);
|
|
@@ -26611,14 +26620,14 @@ function TicketInfoSection({
|
|
|
26611
26620
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26612
26621
|
SquareAvatar,
|
|
26613
26622
|
{
|
|
26614
|
-
src: _optionalChain([organization, 'optionalAccess',
|
|
26615
|
-
alt: _optionalChain([organization, 'optionalAccess',
|
|
26616
|
-
fallback: _optionalChain([organization, 'optionalAccess',
|
|
26623
|
+
src: _optionalChain([organization, 'optionalAccess', _642 => _642.imageSrc]),
|
|
26624
|
+
alt: _optionalChain([organization, 'optionalAccess', _643 => _643.name]),
|
|
26625
|
+
fallback: _optionalChain([organization, 'optionalAccess', _644 => _644.name]) || "Org",
|
|
26617
26626
|
size: "md",
|
|
26618
26627
|
className: "shrink-0"
|
|
26619
26628
|
}
|
|
26620
26629
|
),
|
|
26621
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess',
|
|
26630
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess', _645 => _645.name]) || "Unassigned", label: "Organization" })
|
|
26622
26631
|
] }),
|
|
26623
26632
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: assigned ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26624
26633
|
AssigneeDropdown,
|
|
@@ -26639,10 +26648,10 @@ function TicketInfoSection({
|
|
|
26639
26648
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26640
26649
|
InfoCell2,
|
|
26641
26650
|
{
|
|
26642
|
-
value: _optionalChain([device, 'optionalAccess',
|
|
26651
|
+
value: _optionalChain([device, 'optionalAccess', _646 => _646.name]) || "Unassigned",
|
|
26643
26652
|
label: "Device",
|
|
26644
|
-
icon: _optionalChain([device, 'optionalAccess',
|
|
26645
|
-
onClick: _optionalChain([device, 'optionalAccess',
|
|
26653
|
+
icon: _optionalChain([device, 'optionalAccess', _647 => _647.icon]),
|
|
26654
|
+
onClick: _optionalChain([device, 'optionalAccess', _648 => _648.onClick])
|
|
26646
26655
|
}
|
|
26647
26656
|
),
|
|
26648
26657
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4 min-w-0", children: [
|
|
@@ -27401,10 +27410,10 @@ var getContentDimensions = (config) => {
|
|
|
27401
27410
|
const envMobileHeight = process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT) : null;
|
|
27402
27411
|
const envDesktopWidth = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH) : null;
|
|
27403
27412
|
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',
|
|
27413
|
+
const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess', _649 => _649.mobileContentDimensions, 'optionalAccess', _650 => _650.width]))), () => ( defaultMobile.width));
|
|
27414
|
+
const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess', _651 => _651.mobileContentDimensions, 'optionalAccess', _652 => _652.height]))), () => ( defaultMobile.height));
|
|
27415
|
+
const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess', _653 => _653.desktopContentDimensions, 'optionalAccess', _654 => _654.width]))), () => ( defaultDesktop.width));
|
|
27416
|
+
const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess', _655 => _655.desktopContentDimensions, 'optionalAccess', _656 => _656.height]))), () => ( defaultDesktop.height));
|
|
27408
27417
|
return {
|
|
27409
27418
|
mobile: { width: mobileWidth, height: mobileHeight },
|
|
27410
27419
|
desktop: { width: desktopWidth, height: desktopHeight }
|
|
@@ -27538,7 +27547,7 @@ function renderUnifiedUI(state, handlers, config, iframeRef) {
|
|
|
27538
27547
|
const contentDimensions = getContentDimensions(config);
|
|
27539
27548
|
const mobileHeight = contentDimensions.mobile.height;
|
|
27540
27549
|
const calculatedHeight = Math.max(mobileHeight + 100, 400);
|
|
27541
|
-
return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess',
|
|
27550
|
+
return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess', _657 => _657.innerHeight]) * 0.85 || 650)}px`;
|
|
27542
27551
|
})(),
|
|
27543
27552
|
minHeight: viewMode === "DESKTOP" ? "auto" : (() => {
|
|
27544
27553
|
const contentDimensions = getContentDimensions(config);
|
|
@@ -27643,7 +27652,7 @@ var FigmaPrototypeViewer = ({
|
|
|
27643
27652
|
const [isInitialized, setIsInitialized] = _react.useState.call(void 0, false);
|
|
27644
27653
|
const [currentNodeId, setCurrentNodeId] = _react.useState.call(void 0, null);
|
|
27645
27654
|
const [internalActiveSection, setInternalActiveSection] = _react.useState.call(void 0,
|
|
27646
|
-
config.defaultSectionId || _optionalChain([config, 'access',
|
|
27655
|
+
config.defaultSectionId || _optionalChain([config, 'access', _658 => _658.sections, 'access', _659 => _659[0], 'optionalAccess', _660 => _660.id]) || ""
|
|
27647
27656
|
);
|
|
27648
27657
|
const activeSection = externalActiveSection || internalActiveSection;
|
|
27649
27658
|
const [isNavigating, setIsNavigating] = _react.useState.call(void 0, false);
|
|
@@ -27733,7 +27742,7 @@ var FigmaPrototypeViewer = ({
|
|
|
27733
27742
|
const handleMessage = (event) => {
|
|
27734
27743
|
if (event.origin !== "https://www.figma.com") return;
|
|
27735
27744
|
const validEvents = ["INITIAL_LOAD", "NEW_STATE", "PRESENTED_NODE_CHANGED"];
|
|
27736
|
-
if (_optionalChain([event, 'access',
|
|
27745
|
+
if (_optionalChain([event, 'access', _661 => _661.data, 'optionalAccess', _662 => _662.type]) && validEvents.includes(event.data.type)) {
|
|
27737
27746
|
const figmaEvent = event.data;
|
|
27738
27747
|
console.log("[Figma Event]", figmaEvent.type, viewMode);
|
|
27739
27748
|
switch (figmaEvent.type) {
|
|
@@ -27743,19 +27752,19 @@ var FigmaPrototypeViewer = ({
|
|
|
27743
27752
|
setIframeState("READY");
|
|
27744
27753
|
break;
|
|
27745
27754
|
case "PRESENTED_NODE_CHANGED":
|
|
27746
|
-
if (_optionalChain([figmaEvent, 'access',
|
|
27755
|
+
if (_optionalChain([figmaEvent, 'access', _663 => _663.data, 'optionalAccess', _664 => _664.presentedNodeId])) {
|
|
27747
27756
|
setCurrentNodeId(figmaEvent.data.presentedNodeId);
|
|
27748
27757
|
if (!isNavigating) {
|
|
27749
27758
|
const matchingSection = config.sections.find((s) => {
|
|
27750
|
-
const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access',
|
|
27751
|
-
const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access',
|
|
27759
|
+
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]);
|
|
27760
|
+
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
27761
|
return desktopMatch || mobileMatch;
|
|
27753
27762
|
});
|
|
27754
27763
|
if (matchingSection && matchingSection.id !== activeSection) {
|
|
27755
27764
|
if (!externalActiveSection) {
|
|
27756
27765
|
setInternalActiveSection(matchingSection.id);
|
|
27757
27766
|
}
|
|
27758
|
-
_optionalChain([config, 'access',
|
|
27767
|
+
_optionalChain([config, 'access', _676 => _676.onSectionChange, 'optionalCall', _677 => _677(matchingSection.id)]);
|
|
27759
27768
|
}
|
|
27760
27769
|
}
|
|
27761
27770
|
}
|
|
@@ -27768,7 +27777,7 @@ var FigmaPrototypeViewer = ({
|
|
|
27768
27777
|
}, [config.sections, activeSection, isNavigating, externalActiveSection, config.onSectionChange, viewMode]);
|
|
27769
27778
|
const navigateToSection = _react.useCallback.call(void 0, (sectionId) => {
|
|
27770
27779
|
const section = config.sections.find((s) => s.id === sectionId);
|
|
27771
|
-
if (!section || !_optionalChain([iframeRef, 'access',
|
|
27780
|
+
if (!section || !_optionalChain([iframeRef, 'access', _678 => _678.current, 'optionalAccess', _679 => _679.contentWindow]) || !isInitialized) {
|
|
27772
27781
|
return;
|
|
27773
27782
|
}
|
|
27774
27783
|
setIsNavigating(true);
|
|
@@ -27776,7 +27785,7 @@ var FigmaPrototypeViewer = ({
|
|
|
27776
27785
|
if (!externalActiveSection) {
|
|
27777
27786
|
setInternalActiveSection(sectionId);
|
|
27778
27787
|
}
|
|
27779
|
-
_optionalChain([config, 'access',
|
|
27788
|
+
_optionalChain([config, 'access', _680 => _680.onSectionChange, 'optionalCall', _681 => _681(sectionId)]);
|
|
27780
27789
|
const command = {
|
|
27781
27790
|
type: "NAVIGATE_TO_FRAME_AND_CLOSE_OVERLAYS",
|
|
27782
27791
|
data: { nodeId }
|
|
@@ -28096,7 +28105,7 @@ var FiltersDropdown = ({
|
|
|
28096
28105
|
defaults[section.id] = section.defaultSelected || [];
|
|
28097
28106
|
});
|
|
28098
28107
|
setSelectedFilters(defaults);
|
|
28099
|
-
_optionalChain([onReset, 'optionalCall',
|
|
28108
|
+
_optionalChain([onReset, 'optionalCall', _682 => _682()]);
|
|
28100
28109
|
setIsOpen(false);
|
|
28101
28110
|
};
|
|
28102
28111
|
const handleApply = () => {
|
|
@@ -28390,7 +28399,7 @@ function MediaGalleryManager({
|
|
|
28390
28399
|
const [deletingIndex, setDeletingIndex] = _react.useState.call(void 0, null);
|
|
28391
28400
|
const [draggedIndex, setDraggedIndex] = _react.useState.call(void 0, null);
|
|
28392
28401
|
const handleFileSelect = _react.useCallback.call(void 0, async (event) => {
|
|
28393
|
-
const file = _optionalChain([event, 'access',
|
|
28402
|
+
const file = _optionalChain([event, 'access', _683 => _683.target, 'access', _684 => _684.files, 'optionalAccess', _685 => _685[0]]);
|
|
28394
28403
|
if (!file) return;
|
|
28395
28404
|
let mediaType;
|
|
28396
28405
|
if (file.type.startsWith("image/")) {
|
|
@@ -28505,7 +28514,7 @@ function MediaGalleryManager({
|
|
|
28505
28514
|
{
|
|
28506
28515
|
type: "button",
|
|
28507
28516
|
variant: "outline",
|
|
28508
|
-
onClick: () => _optionalChain([fileInputRef, 'access',
|
|
28517
|
+
onClick: () => _optionalChain([fileInputRef, 'access', _686 => _686.current, 'optionalAccess', _687 => _687.click, 'call', _688 => _688()]),
|
|
28509
28518
|
disabled: isUploading,
|
|
28510
28519
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
|
|
28511
28520
|
className: "font-['DM_Sans'] text-[16px] font-bold",
|
|
@@ -29290,7 +29299,7 @@ function ReleaseMediaManager({
|
|
|
29290
29299
|
const fileInputRef = _react.useRef.call(void 0, null);
|
|
29291
29300
|
const [uploadingIndex, setUploadingIndex] = _react.useState.call(void 0, null);
|
|
29292
29301
|
const handleFileSelect = async (event) => {
|
|
29293
|
-
const file = _optionalChain([event, 'access',
|
|
29302
|
+
const file = _optionalChain([event, 'access', _689 => _689.target, 'access', _690 => _690.files, 'optionalAccess', _691 => _691[0]]);
|
|
29294
29303
|
if (!file) return;
|
|
29295
29304
|
let mediaType;
|
|
29296
29305
|
if (file.type.startsWith("image/")) {
|
|
@@ -29370,7 +29379,7 @@ function ReleaseMediaManager({
|
|
|
29370
29379
|
{
|
|
29371
29380
|
type: "button",
|
|
29372
29381
|
variant: "outline",
|
|
29373
|
-
onClick: () => _optionalChain([fileInputRef, 'access',
|
|
29382
|
+
onClick: () => _optionalChain([fileInputRef, 'access', _692 => _692.current, 'optionalAccess', _693 => _693.click, 'call', _694 => _694()]),
|
|
29374
29383
|
disabled: uploadingIndex !== null,
|
|
29375
29384
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
|
|
29376
29385
|
className: "font-['DM_Sans'] text-[16px] font-bold",
|
|
@@ -29583,7 +29592,7 @@ function SEOEditorPreview({
|
|
|
29583
29592
|
const displayImage = hasOgImage || hasFeaturedImage;
|
|
29584
29593
|
const handleImageUpload = async (event) => {
|
|
29585
29594
|
if (!onOgImageUpload) return;
|
|
29586
|
-
const file = _optionalChain([event, 'access',
|
|
29595
|
+
const file = _optionalChain([event, 'access', _695 => _695.target, 'access', _696 => _696.files, 'optionalAccess', _697 => _697[0]]);
|
|
29587
29596
|
if (!file) return;
|
|
29588
29597
|
setIsUploading(true);
|
|
29589
29598
|
try {
|
|
@@ -29714,7 +29723,7 @@ function SEOEditorPreview({
|
|
|
29714
29723
|
type: "button",
|
|
29715
29724
|
variant: "outline",
|
|
29716
29725
|
size: "icon",
|
|
29717
|
-
onClick: () => _optionalChain([fileInputRef, 'optionalAccess',
|
|
29726
|
+
onClick: () => _optionalChain([fileInputRef, 'optionalAccess', _698 => _698.click, 'call', _699 => _699()]),
|
|
29718
29727
|
disabled: disabled || isUploading,
|
|
29719
29728
|
className: "bg-white text-black hover:bg-gray-100 rounded-full opacity-0 group-hover:opacity-100",
|
|
29720
29729
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-4 w-4" })
|
|
@@ -29737,7 +29746,7 @@ function SEOEditorPreview({
|
|
|
29737
29746
|
"div",
|
|
29738
29747
|
{
|
|
29739
29748
|
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',
|
|
29749
|
+
onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess', _700 => _700.click, 'call', _701 => _701()]),
|
|
29741
29750
|
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
29751
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-8 w-8 text-ods-text-secondary mb-2" }),
|
|
29743
29752
|
/* @__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 +29831,7 @@ function SocialLinksManager({
|
|
|
29822
29831
|
className = ""
|
|
29823
29832
|
}) {
|
|
29824
29833
|
const addLink = () => {
|
|
29825
|
-
const firstPlatform = _optionalChain([platforms, 'access',
|
|
29834
|
+
const firstPlatform = _optionalChain([platforms, 'access', _702 => _702[0], 'optionalAccess', _703 => _703.name]) || "website";
|
|
29826
29835
|
onChange([...links, { platform: firstPlatform, url: "" }]);
|
|
29827
29836
|
};
|
|
29828
29837
|
const removeLink = (index) => {
|
|
@@ -29834,7 +29843,7 @@ function SocialLinksManager({
|
|
|
29834
29843
|
onChange(updated);
|
|
29835
29844
|
};
|
|
29836
29845
|
const getIcon = (link, platform) => {
|
|
29837
|
-
const iconKey = _optionalChain([platform, 'optionalAccess',
|
|
29846
|
+
const iconKey = _optionalChain([platform, 'optionalAccess', _704 => _704.icon_name]) || link.platform;
|
|
29838
29847
|
const IconComponent = iconMap[iconKey];
|
|
29839
29848
|
return IconComponent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: "w-5 h-5 text-ods-text-secondary" }) : null;
|
|
29840
29849
|
};
|
|
@@ -29859,7 +29868,7 @@ function SocialLinksManager({
|
|
|
29859
29868
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29860
29869
|
_chunkBJTOSUT4cjs.Input,
|
|
29861
29870
|
{
|
|
29862
|
-
placeholder: _optionalChain([platform, 'optionalAccess',
|
|
29871
|
+
placeholder: _optionalChain([platform, 'optionalAccess', _705 => _705.placeholder]) || "Profile URL",
|
|
29863
29872
|
value: link.url,
|
|
29864
29873
|
onChange: (e) => updateLink(index, "url", e.target.value),
|
|
29865
29874
|
onKeyDown: (e) => {
|
|
@@ -30488,7 +30497,7 @@ function VideoSourceSelector({
|
|
|
30488
30497
|
input.accept = "video/*";
|
|
30489
30498
|
input.onchange = async (e) => {
|
|
30490
30499
|
const target = e.target;
|
|
30491
|
-
const file = _optionalChain([target, 'access',
|
|
30500
|
+
const file = _optionalChain([target, 'access', _706 => _706.files, 'optionalAccess', _707 => _707[0]]);
|
|
30492
30501
|
if (!file) return;
|
|
30493
30502
|
setIsUploading(true);
|
|
30494
30503
|
setUploadProgress(0);
|
|
@@ -30818,7 +30827,7 @@ function TranscriptSummaryEditor({
|
|
|
30818
30827
|
{
|
|
30819
30828
|
id: "subtitles",
|
|
30820
30829
|
value: subtitles || "",
|
|
30821
|
-
onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall',
|
|
30830
|
+
onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall', _708 => _708(e.target.value)]),
|
|
30822
30831
|
placeholder: subtitlesPlaceholder,
|
|
30823
30832
|
disabled: disabled || !onSubtitlesChange,
|
|
30824
30833
|
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 +30980,7 @@ var AIEnrichSection = ({
|
|
|
30971
30980
|
}) => {
|
|
30972
30981
|
const hasResults = status === "success" || status === "error";
|
|
30973
30982
|
const shouldDisable = disabled || !canEnrich;
|
|
30974
|
-
const unfilledFields = _optionalChain([requiredFields, 'optionalAccess',
|
|
30983
|
+
const unfilledFields = _optionalChain([requiredFields, 'optionalAccess', _709 => _709.filter, 'call', _710 => _710((f) => !f.isFilled)]) || [];
|
|
30975
30984
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30976
30985
|
"div",
|
|
30977
30986
|
{
|
|
@@ -31009,7 +31018,7 @@ var AIEnrichSection = ({
|
|
|
31009
31018
|
{
|
|
31010
31019
|
id: "ai-enrich-custom-instructions",
|
|
31011
31020
|
value: _nullishCoalesce(customInstructions, () => ( "")),
|
|
31012
|
-
onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall',
|
|
31021
|
+
onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall', _711 => _711(e.target.value)]),
|
|
31013
31022
|
placeholder: customInstructionsPlaceholder,
|
|
31014
31023
|
disabled: loading,
|
|
31015
31024
|
maxLength: customInstructionsMaxLength,
|
|
@@ -31138,7 +31147,7 @@ function HighlightVideoSection({
|
|
|
31138
31147
|
input.accept = "video/*";
|
|
31139
31148
|
input.onchange = async (e) => {
|
|
31140
31149
|
const target = e.target;
|
|
31141
|
-
const file = _optionalChain([target, 'access',
|
|
31150
|
+
const file = _optionalChain([target, 'access', _712 => _712.files, 'optionalAccess', _713 => _713[0]]);
|
|
31142
31151
|
if (!file) return;
|
|
31143
31152
|
setUploadError(null);
|
|
31144
31153
|
try {
|
|
@@ -31640,7 +31649,7 @@ function HighlightVideoPreview({
|
|
|
31640
31649
|
input.accept = "video/*";
|
|
31641
31650
|
input.onchange = async (e) => {
|
|
31642
31651
|
const target = e.target;
|
|
31643
|
-
const file = _optionalChain([target, 'access',
|
|
31652
|
+
const file = _optionalChain([target, 'access', _714 => _714.files, 'optionalAccess', _715 => _715[0]]);
|
|
31644
31653
|
if (!file) return;
|
|
31645
31654
|
await onUpload(file);
|
|
31646
31655
|
};
|
|
@@ -31827,7 +31836,7 @@ function HighlightVideoCombinedSection({
|
|
|
31827
31836
|
input.accept = "video/*";
|
|
31828
31837
|
input.onchange = async (e) => {
|
|
31829
31838
|
const target = e.target;
|
|
31830
|
-
const file = _optionalChain([target, 'access',
|
|
31839
|
+
const file = _optionalChain([target, 'access', _716 => _716.files, 'optionalAccess', _717 => _717[0]]);
|
|
31831
31840
|
if (!file) return;
|
|
31832
31841
|
await onUpload(file);
|
|
31833
31842
|
};
|
|
@@ -32124,7 +32133,7 @@ var getApprovalLevelLabel = (level, editMode = false) => {
|
|
|
32124
32133
|
return editMode ? "Set Global Permission" : "";
|
|
32125
32134
|
}
|
|
32126
32135
|
const option = approvalLevelOptions.find((opt) => opt.value === level);
|
|
32127
|
-
return _optionalChain([option, 'optionalAccess',
|
|
32136
|
+
return _optionalChain([option, 'optionalAccess', _718 => _718.label]) || level;
|
|
32128
32137
|
};
|
|
32129
32138
|
var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
32130
32139
|
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 +32665,15 @@ function TicketCard({
|
|
|
32656
32665
|
transform: _utilities.CSS.Transform.toString(sortable.transform),
|
|
32657
32666
|
transition: sortable.transition
|
|
32658
32667
|
};
|
|
32659
|
-
const showDeviceRow = !!(_optionalChain([ticket, 'access',
|
|
32668
|
+
const showDeviceRow = !!(_optionalChain([ticket, 'access', _719 => _719.deviceHostnames, 'optionalAccess', _720 => _720.length]) || ticket.organizationName);
|
|
32660
32669
|
const deviceText = [
|
|
32661
|
-
_optionalChain([ticket, 'access',
|
|
32670
|
+
_optionalChain([ticket, 'access', _721 => _721.deviceHostnames, 'optionalAccess', _722 => _722.join, 'call', _723 => _723(", ")]),
|
|
32662
32671
|
ticket.organizationName
|
|
32663
32672
|
].filter(Boolean).join(", ");
|
|
32664
32673
|
const handleClick = (e) => {
|
|
32665
32674
|
if (sortable.isDragging) e.preventDefault();
|
|
32666
32675
|
};
|
|
32667
|
-
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access',
|
|
32676
|
+
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _724 => _724.assignees, 'optionalAccess', _725 => _725.length]) || renderAssignSlot);
|
|
32668
32677
|
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
32678
|
ticket.priority && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32670
32679
|
_chunkTMD5LDX4cjs.Flag02Icon,
|
|
@@ -32673,7 +32682,7 @@ function TicketCard({
|
|
|
32673
32682
|
"aria-label": `Priority: ${ticket.priority}`
|
|
32674
32683
|
}
|
|
32675
32684
|
),
|
|
32676
|
-
renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access',
|
|
32685
|
+
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
32686
|
ticket.assignees.slice(0, MAX_VISIBLE_ASSIGNEES).map((a) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32678
32687
|
SquareAvatar,
|
|
32679
32688
|
{
|
|
@@ -32702,7 +32711,7 @@ function TicketCard({
|
|
|
32702
32711
|
] }),
|
|
32703
32712
|
rightSection
|
|
32704
32713
|
] }),
|
|
32705
|
-
_optionalChain([ticket, 'access',
|
|
32714
|
+
_optionalChain([ticket, 'access', _728 => _728.tags, 'optionalAccess', _729 => _729.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null
|
|
32706
32715
|
] });
|
|
32707
32716
|
const cardClasses = _chunkOFAYLG6Dcjs.cn.call(void 0,
|
|
32708
32717
|
"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 +32871,7 @@ function ColumnBody({ column, getTicketHref, renderAssignSlot, onLoadMore, loadM
|
|
|
32862
32871
|
const observer = new IntersectionObserver(
|
|
32863
32872
|
(entries) => {
|
|
32864
32873
|
if (entries.some((e) => e.isIntersecting)) {
|
|
32865
|
-
_optionalChain([loadMoreRef, 'access',
|
|
32874
|
+
_optionalChain([loadMoreRef, 'access', _730 => _730.current, 'optionalCall', _731 => _731(columnIdRef.current)]);
|
|
32866
32875
|
}
|
|
32867
32876
|
},
|
|
32868
32877
|
{ root, rootMargin: loadMoreRootMargin }
|
|
@@ -32891,7 +32900,7 @@ function ColumnBody({ column, getTicketHref, renderAssignSlot, onLoadMore, loadM
|
|
|
32891
32900
|
{
|
|
32892
32901
|
ticket: t,
|
|
32893
32902
|
columnId: column.id,
|
|
32894
|
-
href: _optionalChain([getTicketHref, 'optionalCall',
|
|
32903
|
+
href: _optionalChain([getTicketHref, 'optionalCall', _732 => _732(t.id)]),
|
|
32895
32904
|
renderAssignSlot,
|
|
32896
32905
|
dragDisabled: column.dragDisabled
|
|
32897
32906
|
},
|
|
@@ -32974,17 +32983,17 @@ function Board({
|
|
|
32974
32983
|
const pointer = _core.pointerWithin.call(void 0, args);
|
|
32975
32984
|
const intersections = pointer.length > 0 ? pointer : _core.rectIntersection.call(void 0, args);
|
|
32976
32985
|
const ticketHit = intersections.find(
|
|
32977
|
-
(c) => _optionalChain([c, 'access',
|
|
32986
|
+
(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
32987
|
);
|
|
32979
32988
|
if (ticketHit) return [ticketHit];
|
|
32980
32989
|
const columnHit = intersections.find(
|
|
32981
|
-
(c) => _optionalChain([c, 'access',
|
|
32990
|
+
(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
32991
|
);
|
|
32983
32992
|
if (columnHit) {
|
|
32984
|
-
const columnId = _optionalChain([columnHit, 'access',
|
|
32993
|
+
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
32994
|
const ticketsInColumn = args.droppableContainers.filter((c) => {
|
|
32986
32995
|
const d = c.data.current;
|
|
32987
|
-
return _optionalChain([d, 'optionalAccess',
|
|
32996
|
+
return _optionalChain([d, 'optionalAccess', _748 => _748.type]) === "ticket" && d.columnId === columnId;
|
|
32988
32997
|
});
|
|
32989
32998
|
if (ticketsInColumn.length > 0) {
|
|
32990
32999
|
const closest = _core.closestCorners.call(void 0, { ...args, droppableContainers: ticketsInColumn });
|
|
@@ -33009,20 +33018,20 @@ function Board({
|
|
|
33009
33018
|
const overId = String(over.id);
|
|
33010
33019
|
if (activeId === overId) return;
|
|
33011
33020
|
const overData = over.data.current;
|
|
33012
|
-
const fromColumnId = _optionalChain([locate, 'call',
|
|
33013
|
-
const toColumnId = _optionalChain([overData, 'optionalAccess',
|
|
33021
|
+
const fromColumnId = _optionalChain([locate, 'call', _749 => _749(items, activeId), 'optionalAccess', _750 => _750.columnId]);
|
|
33022
|
+
const toColumnId = _optionalChain([overData, 'optionalAccess', _751 => _751.columnId]);
|
|
33014
33023
|
if (!fromColumnId || !toColumnId || fromColumnId === toColumnId) return;
|
|
33015
33024
|
const origin = dragOriginRef.current;
|
|
33016
|
-
const isReturnToOrigin = _optionalChain([origin, 'optionalAccess',
|
|
33025
|
+
const isReturnToOrigin = _optionalChain([origin, 'optionalAccess', _752 => _752.fromColumnId]) === toColumnId;
|
|
33017
33026
|
const targetCol = items.find((c) => c.id === toColumnId);
|
|
33018
|
-
const blockedBySource = !isReturnToOrigin && !!_optionalChain([targetCol, 'optionalAccess',
|
|
33019
|
-
if (_optionalChain([targetCol, 'optionalAccess',
|
|
33027
|
+
const blockedBySource = !isReturnToOrigin && !!_optionalChain([targetCol, 'optionalAccess', _753 => _753.allowedFromColumns]) && !!origin && !targetCol.allowedFromColumns.includes(origin.fromColumnId);
|
|
33028
|
+
if (_optionalChain([targetCol, 'optionalAccess', _754 => _754.dropDisabled]) && !isReturnToOrigin || blockedBySource) return;
|
|
33020
33029
|
setItems((prev) => {
|
|
33021
33030
|
const fromIndex = findIndexInColumn(prev, fromColumnId, activeId);
|
|
33022
33031
|
const toCol = prev.find((c) => c.id === toColumnId);
|
|
33023
33032
|
if (fromIndex < 0 || !toCol) return prev;
|
|
33024
33033
|
let toIndex;
|
|
33025
|
-
if (_optionalChain([overData, 'optionalAccess',
|
|
33034
|
+
if (_optionalChain([overData, 'optionalAccess', _755 => _755.type]) === "column") {
|
|
33026
33035
|
toIndex = toCol.tickets.length;
|
|
33027
33036
|
} else {
|
|
33028
33037
|
const overIndex = toCol.tickets.findIndex((t) => t.id === overId);
|
|
@@ -33064,14 +33073,14 @@ function Board({
|
|
|
33064
33073
|
const toColumnId = located.columnId;
|
|
33065
33074
|
const isCrossColumn = origin.fromColumnId !== toColumnId;
|
|
33066
33075
|
const targetCol = items.find((c) => c.id === toColumnId);
|
|
33067
|
-
if (isCrossColumn && (_optionalChain([targetCol, 'optionalAccess',
|
|
33076
|
+
if (isCrossColumn && (_optionalChain([targetCol, 'optionalAccess', _756 => _756.dropDisabled]) || _optionalChain([targetCol, 'optionalAccess', _757 => _757.allowedFromColumns]) && !targetCol.allowedFromColumns.includes(origin.fromColumnId))) {
|
|
33068
33077
|
setItems(columns);
|
|
33069
33078
|
return;
|
|
33070
33079
|
}
|
|
33071
33080
|
let finalIndex = located.index;
|
|
33072
|
-
let finalColumnTickets = _nullishCoalesce(_optionalChain([items, 'access',
|
|
33081
|
+
let finalColumnTickets = _nullishCoalesce(_optionalChain([items, 'access', _758 => _758.find, 'call', _759 => _759((c) => c.id === toColumnId), 'optionalAccess', _760 => _760.tickets]), () => ( []));
|
|
33073
33082
|
const overData = over.data.current;
|
|
33074
|
-
if (_optionalChain([overData, 'optionalAccess',
|
|
33083
|
+
if (_optionalChain([overData, 'optionalAccess', _761 => _761.type]) === "ticket") {
|
|
33075
33084
|
const overIndex = findIndexInColumn(items, toColumnId, String(over.id));
|
|
33076
33085
|
if (overIndex >= 0 && overIndex !== located.index) {
|
|
33077
33086
|
finalColumnTickets = _sortable.arrayMove.call(void 0, finalColumnTickets, located.index, overIndex);
|
|
@@ -33091,8 +33100,8 @@ function Board({
|
|
|
33091
33100
|
ticketId: origin.ticketId,
|
|
33092
33101
|
fromColumnId: origin.fromColumnId,
|
|
33093
33102
|
toColumnId,
|
|
33094
|
-
afterTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access',
|
|
33095
|
-
beforeTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access',
|
|
33103
|
+
afterTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access', _762 => _762[finalIndex - 1], 'optionalAccess', _763 => _763.id]), () => ( null)),
|
|
33104
|
+
beforeTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access', _764 => _764[finalIndex + 1], 'optionalAccess', _765 => _765.id]), () => ( null))
|
|
33096
33105
|
});
|
|
33097
33106
|
};
|
|
33098
33107
|
const handleDragCancel = () => {
|
|
@@ -33114,8 +33123,8 @@ function Board({
|
|
|
33114
33123
|
/* @__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
33124
|
const prev = items[i - 1];
|
|
33116
33125
|
const next = items[i + 1];
|
|
33117
|
-
const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess',
|
|
33118
|
-
const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess',
|
|
33126
|
+
const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess', _766 => _766.system]));
|
|
33127
|
+
const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess', _767 => _767.system]));
|
|
33119
33128
|
const showGap = i > 0 && !joinLeft;
|
|
33120
33129
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React101.Fragment, { children: [
|
|
33121
33130
|
showGap && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "w-[var(--spacing-system-mf)] shrink-0" }),
|
|
@@ -33149,7 +33158,7 @@ function locate(cols, ticketId) {
|
|
|
33149
33158
|
return null;
|
|
33150
33159
|
}
|
|
33151
33160
|
function findIndexInColumn(cols, columnId, ticketId) {
|
|
33152
|
-
return _nullishCoalesce(_optionalChain([cols, 'access',
|
|
33161
|
+
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
33162
|
}
|
|
33154
33163
|
|
|
33155
33164
|
// src/components/features/board/types.ts
|
|
@@ -33813,4 +33822,4 @@ function canonicalize(status) {
|
|
|
33813
33822
|
|
|
33814
33823
|
|
|
33815
33824
|
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-
|
|
33825
|
+
//# sourceMappingURL=chunk-SAWVZ5LA.cjs.map
|