@flamingo-stack/openframe-frontend-core 0.0.200 → 0.0.201
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-V2FNIPZJ.cjs → chunk-3B43AHYE.cjs} +2 -2
- package/dist/{chunk-TMD44IKJ.js.map → chunk-3B43AHYE.cjs.map} +1 -1
- package/dist/{chunk-TMD44IKJ.js → chunk-55HF462A.js} +2 -2
- package/dist/chunk-55HF462A.js.map +1 -0
- package/dist/{chunk-ZOM75JOY.js → chunk-CSW5GYBU.js} +715 -765
- package/dist/chunk-CSW5GYBU.js.map +1 -0
- package/dist/{chunk-C3M6R6JH.cjs → chunk-UCY537V4.cjs} +477 -527
- package/dist/chunk-UCY537V4.cjs.map +1 -0
- package/dist/components/features/index.cjs +3 -5
- package/dist/components/features/index.cjs.map +1 -1
- package/dist/components/features/index.d.ts +0 -1
- package/dist/components/features/index.d.ts.map +1 -1
- package/dist/components/features/index.js +2 -4
- package/dist/components/index.cjs +3 -3
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +4 -4
- package/dist/components/layout/title-block.d.ts.map +1 -1
- package/dist/components/navigation/index.cjs +3 -3
- package/dist/components/navigation/index.js +2 -2
- package/dist/components/ui/entity-image.d.ts +9 -0
- package/dist/components/ui/entity-image.d.ts.map +1 -0
- package/dist/components/ui/file-manager/index.cjs +50 -50
- package/dist/components/ui/file-manager/index.js +1 -1
- package/dist/components/ui/index.cjs +5 -3
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +4 -2
- package/dist/components/ui/organization-card.d.ts.map +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -4
- package/package.json +1 -1
- package/src/components/features/index.ts +0 -1
- package/src/components/layout/title-block.tsx +6 -30
- package/src/components/ui/button/button.tsx +1 -1
- package/src/components/ui/checkbox-block.tsx +13 -13
- package/src/components/ui/entity-image.tsx +56 -0
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/organization-card.tsx +4 -8
- package/src/stories/CheckboxBlock.stories.tsx +1 -3
- package/src/stories/OrganizationCard.stories.tsx +14 -0
- package/dist/chunk-C3M6R6JH.cjs.map +0 -1
- package/dist/chunk-V2FNIPZJ.cjs.map +0 -1
- package/dist/chunk-ZOM75JOY.js.map +0 -1
- package/dist/components/features/organization-icon.d.ts +0 -80
- package/dist/components/features/organization-icon.d.ts.map +0 -1
- package/src/components/features/organization-icon.tsx +0 -175
|
@@ -31,7 +31,7 @@ var _chunkOII2IEREcjs = require('./chunk-OII2IERE.cjs');
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
var
|
|
34
|
+
var _chunk3B43AHYEcjs = require('./chunk-3B43AHYE.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
@@ -153,7 +153,7 @@ var init_pagination = _chunkVRHGVLSLcjs.__esm.call(void 0, {
|
|
|
153
153
|
"use strict";
|
|
154
154
|
"use client";
|
|
155
155
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
156
|
-
|
|
156
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
157
157
|
Pagination = exports.Pagination = ({ currentPage, totalPages, onPageChange, className }) => {
|
|
158
158
|
const getPageNumbers = () => {
|
|
159
159
|
const pages = [];
|
|
@@ -189,7 +189,7 @@ var init_pagination = _chunkVRHGVLSLcjs.__esm.call(void 0, {
|
|
|
189
189
|
const pageNumbers = getPageNumbers();
|
|
190
190
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "nav", { role: "navigation", "aria-label": "pagination", className: _chunkUC43NICZcjs.cn.call(void 0, "mx-auto flex w-full justify-center", className), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "ul", { className: "flex flex-row items-center gap-1", children: [
|
|
191
191
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
192
|
-
|
|
192
|
+
_chunk3B43AHYEcjs.Button,
|
|
193
193
|
{
|
|
194
194
|
variant: "outline",
|
|
195
195
|
size: "icon",
|
|
@@ -208,7 +208,7 @@ var init_pagination = _chunkVRHGVLSLcjs.__esm.call(void 0, {
|
|
|
208
208
|
] }) }, `ellipsis-${index}`);
|
|
209
209
|
}
|
|
210
210
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
211
|
-
|
|
211
|
+
_chunk3B43AHYEcjs.Button,
|
|
212
212
|
{
|
|
213
213
|
variant: currentPage === page ? "accent" : "outline",
|
|
214
214
|
size: "icon",
|
|
@@ -221,7 +221,7 @@ var init_pagination = _chunkVRHGVLSLcjs.__esm.call(void 0, {
|
|
|
221
221
|
) }, page);
|
|
222
222
|
}),
|
|
223
223
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
224
|
-
|
|
224
|
+
_chunk3B43AHYEcjs.Button,
|
|
225
225
|
{
|
|
226
226
|
variant: "outline",
|
|
227
227
|
size: "icon",
|
|
@@ -284,7 +284,7 @@ var init_pagination = _chunkVRHGVLSLcjs.__esm.call(void 0, {
|
|
|
284
284
|
PaginationEllipsis.displayName = "PaginationEllipsis";
|
|
285
285
|
PaginationPrevious = exports.PaginationPrevious = React37.forwardRef(
|
|
286
286
|
({ className, ...props }, ref) => {
|
|
287
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
287
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3B43AHYEcjs.Button, { ref, variant: "outline", size: "icon", className: _chunkUC43NICZcjs.cn.call(void 0, "h-10 w-10", className), ...props, children: [
|
|
288
288
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" }),
|
|
289
289
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", children: "Previous page" })
|
|
290
290
|
] });
|
|
@@ -293,7 +293,7 @@ var init_pagination = _chunkVRHGVLSLcjs.__esm.call(void 0, {
|
|
|
293
293
|
PaginationPrevious.displayName = "PaginationPrevious";
|
|
294
294
|
PaginationNext = exports.PaginationNext = React37.forwardRef(
|
|
295
295
|
({ className, ...props }, ref) => {
|
|
296
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
296
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3B43AHYEcjs.Button, { ref, variant: "outline", size: "icon", className: _chunkUC43NICZcjs.cn.call(void 0, "h-10 w-10", className), ...props, children: [
|
|
297
297
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" }),
|
|
298
298
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", children: "Next page" })
|
|
299
299
|
] });
|
|
@@ -414,7 +414,7 @@ function useDynamicTheme() {
|
|
|
414
414
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
415
415
|
|
|
416
416
|
|
|
417
|
-
|
|
417
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
418
418
|
|
|
419
419
|
// src/components/ui/label.tsx
|
|
420
420
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
@@ -508,7 +508,7 @@ var AllowedDomainsInput = React2.forwardRef(
|
|
|
508
508
|
label && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: label }),
|
|
509
509
|
value.map((domain, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
510
510
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
511
|
-
|
|
511
|
+
_chunk3B43AHYEcjs.Input,
|
|
512
512
|
{
|
|
513
513
|
value: domain,
|
|
514
514
|
disabled: true,
|
|
@@ -516,7 +516,7 @@ var AllowedDomainsInput = React2.forwardRef(
|
|
|
516
516
|
}
|
|
517
517
|
),
|
|
518
518
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
519
|
-
|
|
519
|
+
_chunk3B43AHYEcjs.Button,
|
|
520
520
|
{
|
|
521
521
|
type: "button",
|
|
522
522
|
variant: "transparent",
|
|
@@ -529,7 +529,7 @@ var AllowedDomainsInput = React2.forwardRef(
|
|
|
529
529
|
)
|
|
530
530
|
] }, index)),
|
|
531
531
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
532
|
-
|
|
532
|
+
_chunk3B43AHYEcjs.Input,
|
|
533
533
|
{
|
|
534
534
|
ref: inputRef,
|
|
535
535
|
value: inputValue,
|
|
@@ -1146,7 +1146,7 @@ function AutocompleteInner(props, ref) {
|
|
|
1146
1146
|
}
|
|
1147
1147
|
)
|
|
1148
1148
|
] });
|
|
1149
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1149
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.FieldWrapper, { label, error, className, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative", ref: containerRef, children: [
|
|
1150
1150
|
popover,
|
|
1151
1151
|
multiple && showHiddenTags && hiddenTagsCount > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1152
1152
|
HiddenTagsPopup,
|
|
@@ -1199,7 +1199,7 @@ function AutocompleteInner(props, ref) {
|
|
|
1199
1199
|
var Autocomplete = _react.forwardRef.call(void 0, AutocompleteInner);
|
|
1200
1200
|
|
|
1201
1201
|
// src/components/ui/index.ts
|
|
1202
|
-
|
|
1202
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
1203
1203
|
|
|
1204
1204
|
// src/components/ui/card.tsx
|
|
1205
1205
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
@@ -1289,14 +1289,15 @@ var CheckboxBlock = React4.forwardRef(({ id, checked, defaultChecked, onCheckedC
|
|
|
1289
1289
|
{
|
|
1290
1290
|
htmlFor: id,
|
|
1291
1291
|
className: _chunkUC43NICZcjs.cn.call(void 0,
|
|
1292
|
-
"flex items-center gap-[var(--spacing-system-s)] rounded-
|
|
1292
|
+
"flex items-center gap-[var(--spacing-system-s)] rounded-md ring-1 ring-inset w-full",
|
|
1293
1293
|
"p-[var(--spacing-system-sf)]",
|
|
1294
|
-
!description && "h-
|
|
1295
|
-
"
|
|
1294
|
+
!description && "min-h-[44px] md:min-h-[48px]",
|
|
1295
|
+
description && "min-h-[60px] md:min-h-[64px]",
|
|
1296
|
+
"bg-ods-card ring-ods-border",
|
|
1296
1297
|
"cursor-pointer transition-colors duration-200",
|
|
1297
|
-
"hover:
|
|
1298
|
-
disabled && "opacity-50 cursor-not-allowed hover:
|
|
1299
|
-
error && "
|
|
1298
|
+
"hover:ring-ods-accent/30",
|
|
1299
|
+
disabled && "opacity-50 cursor-not-allowed hover:ring-ods-border",
|
|
1300
|
+
error && "ring-ods-error"
|
|
1300
1301
|
),
|
|
1301
1302
|
children: [
|
|
1302
1303
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -1309,7 +1310,7 @@ var CheckboxBlock = React4.forwardRef(({ id, checked, defaultChecked, onCheckedC
|
|
|
1309
1310
|
onCheckedChange,
|
|
1310
1311
|
disabled,
|
|
1311
1312
|
className: _chunkUC43NICZcjs.cn.call(void 0,
|
|
1312
|
-
"h-6 w-6 shrink-0",
|
|
1313
|
+
"h-4 w-4 md:h-6 md:w-6 shrink-0",
|
|
1313
1314
|
"rounded-[6px] border-2",
|
|
1314
1315
|
error ? "border-ods-error" : "border-[var(--color-border-strong)]",
|
|
1315
1316
|
"bg-ods-card",
|
|
@@ -1321,20 +1322,19 @@ var CheckboxBlock = React4.forwardRef(({ id, checked, defaultChecked, onCheckedC
|
|
|
1321
1322
|
CheckboxPrimitive.Indicator,
|
|
1322
1323
|
{
|
|
1323
1324
|
className: "flex items-center justify-center text-ods-text-on-accent",
|
|
1324
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.CheckboxCheckmarkIcon, {
|
|
1325
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.CheckboxCheckmarkIcon, { className: "w-2 h-2 md:w-2.5 md:h-2.5" })
|
|
1325
1326
|
}
|
|
1326
1327
|
)
|
|
1327
1328
|
}
|
|
1328
1329
|
),
|
|
1329
1330
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col justify-center min-w-0", children: [
|
|
1330
1331
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkUC43NICZcjs.cn.call(void 0,
|
|
1331
|
-
"text-h4",
|
|
1332
|
-
"text-ods-text-primary select-none"
|
|
1333
|
-
!description && "truncate"
|
|
1332
|
+
"text-h4 !leading-5 md:!leading-6",
|
|
1333
|
+
"text-ods-text-primary select-none break-words"
|
|
1334
1334
|
), children: label }),
|
|
1335
1335
|
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkUC43NICZcjs.cn.call(void 0,
|
|
1336
|
-
"text-h6",
|
|
1337
|
-
"text-ods-text-secondary select-none"
|
|
1336
|
+
"text-h6 !leading-4",
|
|
1337
|
+
"text-ods-text-secondary select-none break-words"
|
|
1338
1338
|
), children: description })
|
|
1339
1339
|
] })
|
|
1340
1340
|
]
|
|
@@ -1401,7 +1401,7 @@ CheckboxWithDescription.displayName = "CheckboxWithDescription";
|
|
|
1401
1401
|
|
|
1402
1402
|
// src/components/ui/date-picker.tsx
|
|
1403
1403
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
1404
|
-
|
|
1404
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
1405
1405
|
|
|
1406
1406
|
|
|
1407
1407
|
|
|
@@ -1451,7 +1451,7 @@ var SelectTrigger = React6.forwardRef(({ className, children, invalid, label, er
|
|
|
1451
1451
|
]
|
|
1452
1452
|
}
|
|
1453
1453
|
);
|
|
1454
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1454
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.FieldWrapper, { label, error, children: trigger });
|
|
1455
1455
|
});
|
|
1456
1456
|
SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
|
|
1457
1457
|
var SelectScrollUpButton = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -1561,7 +1561,7 @@ var formatDateRange = (range, formatFn) => {
|
|
|
1561
1561
|
};
|
|
1562
1562
|
function CalendarNavButton({ direction, onClick, "aria-label": ariaLabel }) {
|
|
1563
1563
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1564
|
-
|
|
1564
|
+
_chunk3B43AHYEcjs.Button,
|
|
1565
1565
|
{
|
|
1566
1566
|
type: "button",
|
|
1567
1567
|
variant: "outline",
|
|
@@ -1914,7 +1914,7 @@ function DatePicker(props) {
|
|
|
1914
1914
|
}
|
|
1915
1915
|
) })
|
|
1916
1916
|
] });
|
|
1917
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1917
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.FieldWrapper, { label, error, children: picker });
|
|
1918
1918
|
}
|
|
1919
1919
|
var generateHourOptions = (use24Hour) => {
|
|
1920
1920
|
if (use24Hour) {
|
|
@@ -2097,7 +2097,7 @@ function DatePickerInput({
|
|
|
2097
2097
|
)
|
|
2098
2098
|
] })
|
|
2099
2099
|
] });
|
|
2100
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2100
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.FieldWrapper, { label, error, className, children: content });
|
|
2101
2101
|
}
|
|
2102
2102
|
var generateTimeOptions = (intervalMinutes, use24Hour) => {
|
|
2103
2103
|
const options = [];
|
|
@@ -2239,7 +2239,7 @@ function DatePickerInputSimple({
|
|
|
2239
2239
|
}
|
|
2240
2240
|
)
|
|
2241
2241
|
] });
|
|
2242
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2242
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.FieldWrapper, { label, error, className, children: content });
|
|
2243
2243
|
}
|
|
2244
2244
|
|
|
2245
2245
|
// src/components/ui/info-card.tsx
|
|
@@ -2980,7 +2980,7 @@ function isGenericWebsiteDomain(website) {
|
|
|
2980
2980
|
|
|
2981
2981
|
// src/components/chat/approval-request-message.tsx
|
|
2982
2982
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
2983
|
-
|
|
2983
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
2984
2984
|
|
|
2985
2985
|
|
|
2986
2986
|
|
|
@@ -3052,7 +3052,7 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
|
|
|
3052
3052
|
] }),
|
|
3053
3053
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-4 items-center", children: [
|
|
3054
3054
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3055
|
-
|
|
3055
|
+
_chunk3B43AHYEcjs.Button,
|
|
3056
3056
|
{
|
|
3057
3057
|
size: "small-legacy",
|
|
3058
3058
|
variant: "accent",
|
|
@@ -3067,7 +3067,7 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
|
|
|
3067
3067
|
}
|
|
3068
3068
|
),
|
|
3069
3069
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3070
|
-
|
|
3070
|
+
_chunk3B43AHYEcjs.Button,
|
|
3071
3071
|
{
|
|
3072
3072
|
size: "small-legacy",
|
|
3073
3073
|
variant: "outline",
|
|
@@ -3091,7 +3091,7 @@ ApprovalRequestMessage.displayName = "ApprovalRequestMessage";
|
|
|
3091
3091
|
|
|
3092
3092
|
// src/components/chat/approval-batch-message.tsx
|
|
3093
3093
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
3094
|
-
|
|
3094
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
3095
3095
|
|
|
3096
3096
|
|
|
3097
3097
|
|
|
@@ -3388,7 +3388,7 @@ var ApprovalBatchMessage = _react.forwardRef.call(void 0,
|
|
|
3388
3388
|
explanations.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "list-disc pl-5 text-sm font-medium text-ods-text-primary leading-5 w-full", children: explanations.map((expl, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: expl }, i)) }),
|
|
3389
3389
|
status === "pending" ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2 items-center", children: [
|
|
3390
3390
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3391
|
-
|
|
3391
|
+
_chunk3B43AHYEcjs.Button,
|
|
3392
3392
|
{
|
|
3393
3393
|
size: "small-legacy",
|
|
3394
3394
|
variant: "accent",
|
|
@@ -3403,7 +3403,7 @@ var ApprovalBatchMessage = _react.forwardRef.call(void 0,
|
|
|
3403
3403
|
}
|
|
3404
3404
|
),
|
|
3405
3405
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3406
|
-
|
|
3406
|
+
_chunk3B43AHYEcjs.Button,
|
|
3407
3407
|
{
|
|
3408
3408
|
size: "small-legacy",
|
|
3409
3409
|
variant: "outline",
|
|
@@ -4044,7 +4044,7 @@ var getInitials = (name) => {
|
|
|
4044
4044
|
};
|
|
4045
4045
|
var SquareAvatar = React10.memo(React10.forwardRef(
|
|
4046
4046
|
({ className, src, alt, size = "md", fallback, variant = "square", ...props }, ref) => {
|
|
4047
|
-
const
|
|
4047
|
+
const sizeClasses4 = {
|
|
4048
4048
|
sm: "h-8 w-8",
|
|
4049
4049
|
md: "h-10 w-10",
|
|
4050
4050
|
lg: "h-12 w-12",
|
|
@@ -4065,7 +4065,7 @@ var SquareAvatar = React10.memo(React10.forwardRef(
|
|
|
4065
4065
|
{
|
|
4066
4066
|
className: _chunkUC43NICZcjs.cn.call(void 0,
|
|
4067
4067
|
"relative flex items-center justify-center shrink-0 overflow-hidden border border-ods-border bg-ods-bg",
|
|
4068
|
-
|
|
4068
|
+
sizeClasses4[size],
|
|
4069
4069
|
variantClasses[variant],
|
|
4070
4070
|
className
|
|
4071
4071
|
),
|
|
@@ -4099,7 +4099,7 @@ var SquareAvatar = React10.memo(React10.forwardRef(
|
|
|
4099
4099
|
SquareAvatar.displayName = "SquareAvatar";
|
|
4100
4100
|
|
|
4101
4101
|
// src/components/chat/chat-container.tsx
|
|
4102
|
-
|
|
4102
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
4103
4103
|
|
|
4104
4104
|
// src/components/plus-circle-icon.tsx
|
|
4105
4105
|
|
|
@@ -4272,7 +4272,7 @@ var ChatHeader = React11.forwardRef(
|
|
|
4272
4272
|
...props,
|
|
4273
4273
|
children: [
|
|
4274
4274
|
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4275
|
-
|
|
4275
|
+
_chunk3B43AHYEcjs.Button,
|
|
4276
4276
|
{
|
|
4277
4277
|
onClick: onBack,
|
|
4278
4278
|
variant: "transparent",
|
|
@@ -4309,7 +4309,7 @@ var ChatHeader = React11.forwardRef(
|
|
|
4309
4309
|
] }),
|
|
4310
4310
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1", children: [
|
|
4311
4311
|
showNewChat && onNewChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4312
|
-
|
|
4312
|
+
_chunk3B43AHYEcjs.Button,
|
|
4313
4313
|
{
|
|
4314
4314
|
onClick: onNewChat,
|
|
4315
4315
|
variant: "transparent",
|
|
@@ -4320,7 +4320,7 @@ var ChatHeader = React11.forwardRef(
|
|
|
4320
4320
|
}
|
|
4321
4321
|
),
|
|
4322
4322
|
onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4323
|
-
|
|
4323
|
+
_chunk3B43AHYEcjs.Button,
|
|
4324
4324
|
{
|
|
4325
4325
|
onClick: onClose,
|
|
4326
4326
|
variant: "transparent",
|
|
@@ -4398,7 +4398,7 @@ var Textarea = React12.forwardRef(
|
|
|
4398
4398
|
const isInvalid = invalid || !!error;
|
|
4399
4399
|
const hasEndIcon = !!endIcon;
|
|
4400
4400
|
if (!hasEndIcon) {
|
|
4401
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4401
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.FieldWrapper, { label, error, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4402
4402
|
"textarea",
|
|
4403
4403
|
{
|
|
4404
4404
|
className: _chunkUC43NICZcjs.cn.call(void 0,
|
|
@@ -4491,7 +4491,7 @@ var Textarea = React12.forwardRef(
|
|
|
4491
4491
|
]
|
|
4492
4492
|
}
|
|
4493
4493
|
);
|
|
4494
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4494
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.FieldWrapper, { label, error, children: content });
|
|
4495
4495
|
}
|
|
4496
4496
|
);
|
|
4497
4497
|
Textarea.displayName = "Textarea";
|
|
@@ -6749,12 +6749,12 @@ ModelDisplay.displayName = "ModelDisplay";
|
|
|
6749
6749
|
|
|
6750
6750
|
// src/components/chat/chat-sidebar.tsx
|
|
6751
6751
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
6752
|
-
|
|
6752
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
6753
6753
|
|
|
6754
6754
|
|
|
6755
6755
|
// src/components/chat/chat-sidebar-skeleton.tsx
|
|
6756
6756
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
6757
|
-
|
|
6757
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
6758
6758
|
|
|
6759
6759
|
|
|
6760
6760
|
var DialogListItemSkeleton = React23.forwardRef(
|
|
@@ -6798,7 +6798,7 @@ var ChatSidebarSkeleton = React23.forwardRef(
|
|
|
6798
6798
|
...props,
|
|
6799
6799
|
children: [
|
|
6800
6800
|
showNewChatButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-ods-card border-b border-ods-border flex items-center justify-center px-4 py-1 shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6801
|
-
|
|
6801
|
+
_chunk3B43AHYEcjs.Button,
|
|
6802
6802
|
{
|
|
6803
6803
|
variant: "transparent",
|
|
6804
6804
|
disabled: true,
|
|
@@ -6911,7 +6911,7 @@ var ChatSidebar = _react.forwardRef.call(void 0,
|
|
|
6911
6911
|
...props,
|
|
6912
6912
|
children: [
|
|
6913
6913
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-ods-card border-b border-ods-border flex items-center justify-center px-4 py-1 shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6914
|
-
|
|
6914
|
+
_chunk3B43AHYEcjs.Button,
|
|
6915
6915
|
{
|
|
6916
6916
|
onClick: onNewChat,
|
|
6917
6917
|
variant: "transparent",
|
|
@@ -9296,7 +9296,7 @@ function extractIncompleteMessageState(lastMessage) {
|
|
|
9296
9296
|
// src/components/navigation/header.tsx
|
|
9297
9297
|
var _link = require('next/link'); var _link2 = _interopRequireDefault(_link);
|
|
9298
9298
|
|
|
9299
|
-
|
|
9299
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
9300
9300
|
|
|
9301
9301
|
function Header({ config, platform }) {
|
|
9302
9302
|
const [show, setShow] = _react.useState.call(void 0, true);
|
|
@@ -9371,7 +9371,7 @@ function Header({ config, platform }) {
|
|
|
9371
9371
|
const isOpen = openDropdowns[item.id] || false;
|
|
9372
9372
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative", children: [
|
|
9373
9373
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9374
|
-
|
|
9374
|
+
_chunk3B43AHYEcjs.Button,
|
|
9375
9375
|
{
|
|
9376
9376
|
ref: (el) => {
|
|
9377
9377
|
triggerRefs.current[item.id] = el;
|
|
@@ -9415,7 +9415,7 @@ function Header({ config, platform }) {
|
|
|
9415
9415
|
),
|
|
9416
9416
|
children: [
|
|
9417
9417
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "p-2", children: item.children.map((child, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9418
|
-
|
|
9418
|
+
_chunk3B43AHYEcjs.Button,
|
|
9419
9419
|
{
|
|
9420
9420
|
variant: "transparent",
|
|
9421
9421
|
size: "small-legacy",
|
|
@@ -9453,7 +9453,7 @@ function Header({ config, platform }) {
|
|
|
9453
9453
|
}
|
|
9454
9454
|
if (item.href || item.onClick) {
|
|
9455
9455
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9456
|
-
|
|
9456
|
+
_chunk3B43AHYEcjs.Button,
|
|
9457
9457
|
{
|
|
9458
9458
|
variant: "transparent",
|
|
9459
9459
|
href: item.href,
|
|
@@ -9478,7 +9478,7 @@ function Header({ config, platform }) {
|
|
|
9478
9478
|
);
|
|
9479
9479
|
}
|
|
9480
9480
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9481
|
-
|
|
9481
|
+
_chunk3B43AHYEcjs.Button,
|
|
9482
9482
|
{
|
|
9483
9483
|
variant: "transparent",
|
|
9484
9484
|
onClick: item.onClick,
|
|
@@ -9542,7 +9542,7 @@ function Header({ config, platform }) {
|
|
|
9542
9542
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-end gap-4 flex-shrink-0", children: [
|
|
9543
9543
|
_optionalChain([config, 'access', _299 => _299.actions, 'optionalAccess', _300 => _300.right]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden md:flex items-center gap-4", children: config.actions.right }),
|
|
9544
9544
|
config.mobile && config.mobile.enabled && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9545
|
-
|
|
9545
|
+
_chunk3B43AHYEcjs.Button,
|
|
9546
9546
|
{
|
|
9547
9547
|
variant: "transparent",
|
|
9548
9548
|
size: "icon",
|
|
@@ -9623,7 +9623,7 @@ function ClientOnlyHeader({ config, skeleton }) {
|
|
|
9623
9623
|
|
|
9624
9624
|
// src/components/navigation/mobile-nav-panel.tsx
|
|
9625
9625
|
|
|
9626
|
-
|
|
9626
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
9627
9627
|
|
|
9628
9628
|
|
|
9629
9629
|
function MobileNavPanel({ isOpen, config }) {
|
|
@@ -9662,7 +9662,7 @@ function MobileNavPanel({ isOpen, config }) {
|
|
|
9662
9662
|
};
|
|
9663
9663
|
if (item.href) {
|
|
9664
9664
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9665
|
-
|
|
9665
|
+
_chunk3B43AHYEcjs.Button,
|
|
9666
9666
|
{
|
|
9667
9667
|
variant: "outline",
|
|
9668
9668
|
size: "small-legacy",
|
|
@@ -9680,7 +9680,7 @@ function MobileNavPanel({ isOpen, config }) {
|
|
|
9680
9680
|
);
|
|
9681
9681
|
}
|
|
9682
9682
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
9683
|
-
|
|
9683
|
+
_chunk3B43AHYEcjs.Button,
|
|
9684
9684
|
{
|
|
9685
9685
|
variant: "outline",
|
|
9686
9686
|
size: "small-legacy",
|
|
@@ -9724,7 +9724,7 @@ function MobileNavPanel({ isOpen, config }) {
|
|
|
9724
9724
|
onClick: (e) => e.stopPropagation(),
|
|
9725
9725
|
children: [
|
|
9726
9726
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex justify-end p-2 border-b border-ods-border flex-shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9727
|
-
|
|
9727
|
+
_chunk3B43AHYEcjs.Button,
|
|
9728
9728
|
{
|
|
9729
9729
|
"aria-label": "Close menu",
|
|
9730
9730
|
size: "icon",
|
|
@@ -9748,7 +9748,7 @@ function MobileNavPanel({ isOpen, config }) {
|
|
|
9748
9748
|
// src/components/navigation/sliding-sidebar.tsx
|
|
9749
9749
|
|
|
9750
9750
|
var _framermotion = require('framer-motion');
|
|
9751
|
-
|
|
9751
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
9752
9752
|
|
|
9753
9753
|
function SlidingSidebar({ config }) {
|
|
9754
9754
|
const [expandedItems, setExpandedItems] = _react.useState.call(void 0, /* @__PURE__ */ new Set());
|
|
@@ -9833,7 +9833,7 @@ function SlidingSidebar({ config }) {
|
|
|
9833
9833
|
);
|
|
9834
9834
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
9835
9835
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
9836
|
-
|
|
9836
|
+
_chunk3B43AHYEcjs.Button,
|
|
9837
9837
|
{
|
|
9838
9838
|
variant: "transparent",
|
|
9839
9839
|
size: "default",
|
|
@@ -9871,7 +9871,7 @@ function SlidingSidebar({ config }) {
|
|
|
9871
9871
|
}
|
|
9872
9872
|
if (item.href) {
|
|
9873
9873
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
9874
|
-
|
|
9874
|
+
_chunk3B43AHYEcjs.Button,
|
|
9875
9875
|
{
|
|
9876
9876
|
variant: "transparent",
|
|
9877
9877
|
size: "default",
|
|
@@ -9894,7 +9894,7 @@ function SlidingSidebar({ config }) {
|
|
|
9894
9894
|
);
|
|
9895
9895
|
}
|
|
9896
9896
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
9897
|
-
|
|
9897
|
+
_chunk3B43AHYEcjs.Button,
|
|
9898
9898
|
{
|
|
9899
9899
|
variant: "transparent",
|
|
9900
9900
|
size: "default",
|
|
@@ -10539,8 +10539,8 @@ function HeaderOrganizationFilter({
|
|
|
10539
10539
|
const selectedOrg = organizations.find((o) => o.id === selectedOrgId);
|
|
10540
10540
|
const displayName = _optionalChain([selectedOrg, 'optionalAccess', _344 => _344.name]) || "All Organizations";
|
|
10541
10541
|
const deviceCount = _nullishCoalesce(_optionalChain([selectedOrg, 'optionalAccess', _345 => _345.deviceCount]), () => ( totalDeviceCount));
|
|
10542
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
10543
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10542
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3B43AHYEcjs.DropdownMenu, { children: [
|
|
10543
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
10544
10544
|
"button",
|
|
10545
10545
|
{
|
|
10546
10546
|
className: _chunkUC43NICZcjs.cn.call(void 0,
|
|
@@ -10562,10 +10562,10 @@ function HeaderOrganizationFilter({
|
|
|
10562
10562
|
]
|
|
10563
10563
|
}
|
|
10564
10564
|
) }),
|
|
10565
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
10566
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10565
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3B43AHYEcjs.DropdownMenuContent, { align: "end", className: "min-w-[240px]", children: [
|
|
10566
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.DropdownMenuItem, { onClick: () => _optionalChain([onOrgChange, 'optionalCall', _346 => _346("")]), children: "All Organizations" }),
|
|
10567
10567
|
organizations.map((org) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10568
|
-
|
|
10568
|
+
_chunk3B43AHYEcjs.DropdownMenuItem,
|
|
10569
10569
|
{
|
|
10570
10570
|
onClick: () => _optionalChain([onOrgChange, 'optionalCall', _347 => _347(org.id)]),
|
|
10571
10571
|
children: org.name
|
|
@@ -10662,8 +10662,8 @@ var AppHeader = React37.default.memo(function AppHeader2({
|
|
|
10662
10662
|
dimmedClass
|
|
10663
10663
|
}
|
|
10664
10664
|
),
|
|
10665
|
-
isMdUp && showUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
10666
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10665
|
+
isMdUp && showUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3B43AHYEcjs.DropdownMenu, { children: [
|
|
10666
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.DropdownMenuTrigger, { asChild: true, disabled, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10667
10667
|
HeaderButton,
|
|
10668
10668
|
{
|
|
10669
10669
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10682,7 +10682,7 @@ var AppHeader = React37.default.memo(function AppHeader2({
|
|
|
10682
10682
|
}
|
|
10683
10683
|
) }),
|
|
10684
10684
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
10685
|
-
|
|
10685
|
+
_chunk3B43AHYEcjs.DropdownMenuContent,
|
|
10686
10686
|
{
|
|
10687
10687
|
align: "end",
|
|
10688
10688
|
className: "w-[280px] p-0 bg-ods-bg border-ods-border rounded-[6px] overflow-hidden",
|
|
@@ -10704,7 +10704,7 @@ var AppHeader = React37.default.memo(function AppHeader2({
|
|
|
10704
10704
|
] })
|
|
10705
10705
|
] }),
|
|
10706
10706
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10707
|
-
|
|
10707
|
+
_chunk3B43AHYEcjs.DropdownMenuItem,
|
|
10708
10708
|
{
|
|
10709
10709
|
onClick: onProfile,
|
|
10710
10710
|
className: "bg-ods-card border-b border-ods-border rounded-none px-3 py-3 hover:bg-ods-bg-card/80 focus:bg-ods-bg-card/80 cursor-pointer",
|
|
@@ -10715,7 +10715,7 @@ var AppHeader = React37.default.memo(function AppHeader2({
|
|
|
10715
10715
|
}
|
|
10716
10716
|
),
|
|
10717
10717
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10718
|
-
|
|
10718
|
+
_chunk3B43AHYEcjs.DropdownMenuItem,
|
|
10719
10719
|
{
|
|
10720
10720
|
onClick: onLogout,
|
|
10721
10721
|
className: "bg-ods-card rounded-none px-3 py-3 hover:bg-ods-bg-card/80 focus:bg-ods-bg-card/80 cursor-pointer",
|
|
@@ -10764,7 +10764,7 @@ function NotificationsHeaderButton({
|
|
|
10764
10764
|
|
|
10765
10765
|
// src/components/features/notifications/notification-drawer.tsx
|
|
10766
10766
|
var _reactdialog = require('@radix-ui/react-dialog'); var DialogPrimitive2 = _interopRequireWildcard(_reactdialog); var DialogPrimitive = _interopRequireWildcard(_reactdialog); var DialogPrimitive3 = _interopRequireWildcard(_reactdialog); var SheetPrimitive = _interopRequireWildcard(_reactdialog);
|
|
10767
|
-
|
|
10767
|
+
_chunk3B43AHYEcjs.init_button.call(void 0, );
|
|
10768
10768
|
|
|
10769
10769
|
// src/components/ui/drawer.tsx
|
|
10770
10770
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
@@ -10951,7 +10951,7 @@ _chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
|
10951
10951
|
|
|
10952
10952
|
// src/components/features/notifications/notification-tile.tsx
|
|
10953
10953
|
|
|
10954
|
-
|
|
10954
|
+
_chunk3B43AHYEcjs.init_button.call(void 0, );
|
|
10955
10955
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
10956
10956
|
|
|
10957
10957
|
function NotificationTile({
|
|
@@ -10987,7 +10987,7 @@ function NotificationTile({
|
|
|
10987
10987
|
description ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6 line-clamp-2 text-ods-text-secondary", children: description }) : null
|
|
10988
10988
|
] }),
|
|
10989
10989
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10990
|
-
|
|
10990
|
+
_chunk3B43AHYEcjs.Button,
|
|
10991
10991
|
{
|
|
10992
10992
|
variant: "outline",
|
|
10993
10993
|
size: "small",
|
|
@@ -11127,7 +11127,7 @@ function ShowNotificationsToggleRow({ checked, onChange }) {
|
|
|
11127
11127
|
}
|
|
11128
11128
|
function NotificationsHistoryButton({ onClick }) {
|
|
11129
11129
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11130
|
-
|
|
11130
|
+
_chunk3B43AHYEcjs.Button,
|
|
11131
11131
|
{
|
|
11132
11132
|
variant: "outline",
|
|
11133
11133
|
fullWidth: true,
|
|
@@ -11290,7 +11290,7 @@ var MobileBurgerMenu = React37.default.memo(function MobileBurgerMenu2({
|
|
|
11290
11290
|
] }),
|
|
11291
11291
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2 shrink-0", children: [
|
|
11292
11292
|
onSearchUser && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11293
|
-
|
|
11293
|
+
_chunk3B43AHYEcjs.Button,
|
|
11294
11294
|
{
|
|
11295
11295
|
size: "icon",
|
|
11296
11296
|
onClick: onSearchUser,
|
|
@@ -11300,7 +11300,7 @@ var MobileBurgerMenu = React37.default.memo(function MobileBurgerMenu2({
|
|
|
11300
11300
|
}
|
|
11301
11301
|
),
|
|
11302
11302
|
onEditProfile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11303
|
-
|
|
11303
|
+
_chunk3B43AHYEcjs.Button,
|
|
11304
11304
|
{
|
|
11305
11305
|
size: "icon",
|
|
11306
11306
|
onClick: onEditProfile,
|
|
@@ -11614,7 +11614,7 @@ ScriptInfoSection.displayName = "ScriptInfoSection";
|
|
|
11614
11614
|
|
|
11615
11615
|
// src/components/platform/ScriptArguments.tsx
|
|
11616
11616
|
|
|
11617
|
-
|
|
11617
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
11618
11618
|
|
|
11619
11619
|
var ScriptArguments = ({
|
|
11620
11620
|
arguments: args,
|
|
@@ -11664,7 +11664,7 @@ var ScriptArguments = ({
|
|
|
11664
11664
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col gap-1 min-w-0", children: [
|
|
11665
11665
|
isFirstRow(index) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { spacing: "tight", children: titleLabel }),
|
|
11666
11666
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11667
|
-
|
|
11667
|
+
_chunk3B43AHYEcjs.Input,
|
|
11668
11668
|
{
|
|
11669
11669
|
value: arg.key,
|
|
11670
11670
|
onChange: (e) => handleKeyChange(arg.id, e.target.value),
|
|
@@ -11675,7 +11675,7 @@ var ScriptArguments = ({
|
|
|
11675
11675
|
] }),
|
|
11676
11676
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 gap-2 items-center min-w-0", children: [
|
|
11677
11677
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-1 flex-col gap-1 min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11678
|
-
|
|
11678
|
+
_chunk3B43AHYEcjs.Input,
|
|
11679
11679
|
{
|
|
11680
11680
|
value: arg.value,
|
|
11681
11681
|
onChange: (e) => handleValueChange(arg.id, e.target.value),
|
|
@@ -11687,7 +11687,7 @@ var ScriptArguments = ({
|
|
|
11687
11687
|
}
|
|
11688
11688
|
) }),
|
|
11689
11689
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11690
|
-
|
|
11690
|
+
_chunk3B43AHYEcjs.Button,
|
|
11691
11691
|
{
|
|
11692
11692
|
type: "button",
|
|
11693
11693
|
variant: "outline",
|
|
@@ -11704,7 +11704,7 @@ var ScriptArguments = ({
|
|
|
11704
11704
|
arg.id
|
|
11705
11705
|
)),
|
|
11706
11706
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex justify-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11707
|
-
|
|
11707
|
+
_chunk3B43AHYEcjs.Button,
|
|
11708
11708
|
{
|
|
11709
11709
|
type: "button",
|
|
11710
11710
|
variant: "outline",
|
|
@@ -11721,7 +11721,7 @@ var ScriptArguments = ({
|
|
|
11721
11721
|
ScriptArguments.displayName = "ScriptArguments";
|
|
11722
11722
|
|
|
11723
11723
|
// src/components/announcement-bar.tsx
|
|
11724
|
-
|
|
11724
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
11725
11725
|
|
|
11726
11726
|
|
|
11727
11727
|
|
|
@@ -12027,7 +12027,7 @@ function AnnouncementBar() {
|
|
|
12027
12027
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-body text-[12px] md:text-[18px] leading-tight hidden md:block text-[#1A1A1A] truncate", children: announcement.description })
|
|
12028
12028
|
] }),
|
|
12029
12029
|
announcement.cta_enabled && announcement.cta_text && announcement.cta_url && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden md:flex flex-shrink-0 ml-1 md:ml-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12030
|
-
|
|
12030
|
+
_chunk3B43AHYEcjs.Button,
|
|
12031
12031
|
{
|
|
12032
12032
|
onClick: handleCtaClick,
|
|
12033
12033
|
variant: "outline",
|
|
@@ -12288,7 +12288,7 @@ function CategoryCard({ name, description, categoryCount, productCount, icons =
|
|
|
12288
12288
|
}
|
|
12289
12289
|
|
|
12290
12290
|
// src/components/comment-card.tsx
|
|
12291
|
-
|
|
12291
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
12292
12292
|
|
|
12293
12293
|
// src/components/vendor-display-button.tsx
|
|
12294
12294
|
|
|
@@ -12576,7 +12576,7 @@ function CommentCard({
|
|
|
12576
12576
|
}
|
|
12577
12577
|
) : null }),
|
|
12578
12578
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-2 justify-start min-[420px]:justify-end", children: showDeleteButton && onDeleteComment && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12579
|
-
|
|
12579
|
+
_chunk3B43AHYEcjs.Button,
|
|
12580
12580
|
{
|
|
12581
12581
|
onClick: () => onDeleteComment(comment.id),
|
|
12582
12582
|
variant: "outline",
|
|
@@ -12922,7 +12922,7 @@ function ProgressiveSkeleton({
|
|
|
12922
12922
|
}
|
|
12923
12923
|
|
|
12924
12924
|
// src/components/empty-state.tsx
|
|
12925
|
-
|
|
12925
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
12926
12926
|
|
|
12927
12927
|
|
|
12928
12928
|
|
|
@@ -13048,7 +13048,7 @@ function EmptyState2({
|
|
|
13048
13048
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "mb-2 md:mb-3 text-lg md:text-xl font-semibold font-['DM_Sans'] text-ods-text-primary tracking-[-0.02em]", children: displayTitle }),
|
|
13049
13049
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "mb-4 md:mb-8 max-w-md text-sm font-medium font-['DM_Sans'] text-ods-text-secondary leading-[1.43em]", children: displayDescription }),
|
|
13050
13050
|
showCTA && smartCTA && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full max-w-xs mb-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13051
|
-
|
|
13051
|
+
_chunk3B43AHYEcjs.Button,
|
|
13052
13052
|
{
|
|
13053
13053
|
onClick: smartCTA.action,
|
|
13054
13054
|
className: ctaVariant === "primary" ? "w-full bg-[#FFC008] text-black hover:bg-[#FFC008]/90 transition-all duration-150 font-['DM_Sans'] font-medium" : "w-full bg-transparent border border-ods-border text-ods-text-primary hover:border-[#FFC008] hover:text-ods-accent transition-all duration-150 font-['DM_Sans'] font-medium",
|
|
@@ -13056,7 +13056,7 @@ function EmptyState2({
|
|
|
13056
13056
|
}
|
|
13057
13057
|
) }),
|
|
13058
13058
|
showBackButton && onGoBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full max-w-xs", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13059
|
-
|
|
13059
|
+
_chunk3B43AHYEcjs.Button,
|
|
13060
13060
|
{
|
|
13061
13061
|
onClick: onGoBack,
|
|
13062
13062
|
variant: "outline",
|
|
@@ -13078,7 +13078,7 @@ _chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
|
13078
13078
|
var ChevronButton = React35.forwardRef(
|
|
13079
13079
|
({ className, direction = "down", size = "md", isExpanded, backgroundColor, borderColor, ...props }, ref) => {
|
|
13080
13080
|
const Icon2 = (isExpanded ? _lucidereact.ChevronUp : _lucidereact.ChevronDown) || (direction === "up" ? _lucidereact.ChevronUp : _lucidereact.ChevronDown);
|
|
13081
|
-
const
|
|
13081
|
+
const sizeClasses4 = {
|
|
13082
13082
|
sm: "h-4 w-4",
|
|
13083
13083
|
md: "h-5 w-5",
|
|
13084
13084
|
lg: "h-6 w-6"
|
|
@@ -13097,7 +13097,7 @@ var ChevronButton = React35.forwardRef(
|
|
|
13097
13097
|
},
|
|
13098
13098
|
ref,
|
|
13099
13099
|
...props,
|
|
13100
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon2, { className:
|
|
13100
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon2, { className: sizeClasses4[size] })
|
|
13101
13101
|
}
|
|
13102
13102
|
);
|
|
13103
13103
|
}
|
|
@@ -13271,7 +13271,7 @@ function FilterChip({
|
|
|
13271
13271
|
|
|
13272
13272
|
|
|
13273
13273
|
// src/components/social-icon-row.tsx
|
|
13274
|
-
|
|
13274
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
13275
13275
|
|
|
13276
13276
|
var defaultLinks = [
|
|
13277
13277
|
{ platform: "github", href: "https://github.com/flamingo-stack", label: "GitHub" },
|
|
@@ -13319,7 +13319,7 @@ function renderSocialIcon(platform) {
|
|
|
13319
13319
|
}
|
|
13320
13320
|
function SocialIconRow({ className = "", links = defaultLinks, variant = "outline" }) {
|
|
13321
13321
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `flex flex-row gap-3 w-full ${className}`, children: links.map((link, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13322
|
-
|
|
13322
|
+
_chunk3B43AHYEcjs.Button,
|
|
13323
13323
|
{
|
|
13324
13324
|
asChild: true,
|
|
13325
13325
|
variant,
|
|
@@ -13343,7 +13343,7 @@ function SocialIconRow({ className = "", links = defaultLinks, variant = "outlin
|
|
|
13343
13343
|
// src/components/footer.tsx
|
|
13344
13344
|
|
|
13345
13345
|
function NavLinkSkeleton() {
|
|
13346
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13346
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.Skeleton, { className: "h-5 md:h-6 w-20 md:w-24" });
|
|
13347
13347
|
}
|
|
13348
13348
|
function Footer({ config, renderLink }) {
|
|
13349
13349
|
if (!config) {
|
|
@@ -13359,12 +13359,12 @@ function UniversalFooter({ config, renderLink }) {
|
|
|
13359
13359
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full grid grid-cols-2 lg:grid-cols-4 gap-6 md:gap-8 items-start", children: [
|
|
13360
13360
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 md:gap-6 items-start text-left col-span-2 md:col-span-1 lg:col-span-1", children: [
|
|
13361
13361
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
13362
|
-
config.logo && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Suspense, { fallback: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13362
|
+
config.logo && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Suspense, { fallback: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.Skeleton, { className: "w-8 h-8" }), children: config.logo }),
|
|
13363
13363
|
config.nameElement || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-heading text-heading-5 font-bold text-ods-text-primary whitespace-nowrap", children: config.name })
|
|
13364
13364
|
] }),
|
|
13365
13365
|
!config.moveDescriptionToRight && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
13366
13366
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-body font-medium text-sm md:text-sm leading-[1.43] text-ods-text-primary", children: config.description }),
|
|
13367
|
-
config.belowDescriptionContent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Suspense, { fallback: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13367
|
+
config.belowDescriptionContent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Suspense, { fallback: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.Skeleton, { className: "h-8 w-full" }), children: config.belowDescriptionContent }),
|
|
13368
13368
|
!config.hideSocialRow && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13369
13369
|
SocialIconRow,
|
|
13370
13370
|
{
|
|
@@ -13373,19 +13373,19 @@ function UniversalFooter({ config, renderLink }) {
|
|
|
13373
13373
|
}
|
|
13374
13374
|
)
|
|
13375
13375
|
] }),
|
|
13376
|
-
config.moveDescriptionToRight && config.keepBelowDescriptionLeft && config.belowDescriptionContent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Suspense, { fallback: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13376
|
+
config.moveDescriptionToRight && config.keepBelowDescriptionLeft && config.belowDescriptionContent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Suspense, { fallback: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.Skeleton, { className: "h-8 w-full" }), children: config.belowDescriptionContent })
|
|
13377
13377
|
] }),
|
|
13378
13378
|
config.sections.map((section, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-3 items-start text-left col-span-1", children: [
|
|
13379
13379
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-h5 tracking-[-0.02em] text-ods-text-muted", children: section.title }),
|
|
13380
13380
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-col gap-3", children: section.links.map((link, linkIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Suspense, { fallback: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, NavLinkSkeleton, {}), children: linkRenderer(link) }, linkIndex)) })
|
|
13381
13381
|
] }, index)),
|
|
13382
|
-
config.customComponent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-col col-span-2 md:col-span-1 lg:col-span-1 justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Suspense, { fallback: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13382
|
+
config.customComponent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-col col-span-2 md:col-span-1 lg:col-span-1 justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Suspense, { fallback: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.Skeleton, { className: "h-32 w-full" }), children: config.customComponent }) }),
|
|
13383
13383
|
(config.rightColumnContent || config.moveDescriptionToRight) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col col-span-2 md:col-span-1 lg:col-span-1 justify-start gap-4 md:gap-6", children: [
|
|
13384
13384
|
config.moveDescriptionToRight && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
13385
13385
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-body font-medium text-sm md:text-sm leading-[1.43] text-ods-text-primary", children: config.description }),
|
|
13386
|
-
config.belowDescriptionContent && !config.keepBelowDescriptionLeft && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Suspense, { fallback: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13386
|
+
config.belowDescriptionContent && !config.keepBelowDescriptionLeft && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Suspense, { fallback: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.Skeleton, { className: "h-8 w-full" }), children: config.belowDescriptionContent })
|
|
13387
13387
|
] }),
|
|
13388
|
-
config.rightColumnContent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Suspense, { fallback: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13388
|
+
config.rightColumnContent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Suspense, { fallback: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.Skeleton, { className: "h-32 w-full" }), children: config.rightColumnContent })
|
|
13389
13389
|
] })
|
|
13390
13390
|
] }),
|
|
13391
13391
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "font-body font-medium text-md md:text-md leading-[1.33] text-center w-full text-ods-text-muted pt-4 md:pt-0", children: [
|
|
@@ -13697,7 +13697,7 @@ init_unified_pagination();
|
|
|
13697
13697
|
// src/components/footer-waitlist-button.tsx
|
|
13698
13698
|
|
|
13699
13699
|
|
|
13700
|
-
|
|
13700
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
13701
13701
|
|
|
13702
13702
|
function FooterWaitlistButton({ className }) {
|
|
13703
13703
|
const router = _navigation.useRouter.call(void 0, );
|
|
@@ -13717,7 +13717,7 @@ function FooterWaitlistButton({ className }) {
|
|
|
13717
13717
|
router.push("/waitlist#waitlist-form");
|
|
13718
13718
|
}, [pathname, router]);
|
|
13719
13719
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13720
|
-
|
|
13720
|
+
_chunk3B43AHYEcjs.Button,
|
|
13721
13721
|
{
|
|
13722
13722
|
onClick: handleClick,
|
|
13723
13723
|
className,
|
|
@@ -13728,7 +13728,7 @@ function FooterWaitlistButton({ className }) {
|
|
|
13728
13728
|
}
|
|
13729
13729
|
|
|
13730
13730
|
// src/components/hero-image-uploader.tsx
|
|
13731
|
-
|
|
13731
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
13732
13732
|
|
|
13733
13733
|
|
|
13734
13734
|
|
|
@@ -13812,7 +13812,7 @@ function HeroImageUploader({ imageUrl, onChange, uploadEndpoint, height = 300, o
|
|
|
13812
13812
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "img", { src: imageUrl, className: `absolute inset-0 w-full h-full object-${objectFit}`, alt: "Cover" }),
|
|
13813
13813
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "absolute inset-0 bg-black/40 opacity-0 group-hover:opacity-100 flex items-center justify-center gap-4 transition-opacity rounded-lg", children: [
|
|
13814
13814
|
showReplaceButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13815
|
-
|
|
13815
|
+
_chunk3B43AHYEcjs.Button,
|
|
13816
13816
|
{
|
|
13817
13817
|
variant: "outline",
|
|
13818
13818
|
size: "icon",
|
|
@@ -13822,7 +13822,7 @@ function HeroImageUploader({ imageUrl, onChange, uploadEndpoint, height = 300, o
|
|
|
13822
13822
|
}
|
|
13823
13823
|
),
|
|
13824
13824
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13825
|
-
|
|
13825
|
+
_chunk3B43AHYEcjs.Button,
|
|
13826
13826
|
{
|
|
13827
13827
|
variant: "outline",
|
|
13828
13828
|
size: "icon",
|
|
@@ -14005,7 +14005,7 @@ function ResponsiveIconsBlock({ loading = false }) {
|
|
|
14005
14005
|
}
|
|
14006
14006
|
|
|
14007
14007
|
// src/components/image-cropper.tsx
|
|
14008
|
-
|
|
14008
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
14009
14009
|
|
|
14010
14010
|
var _reacteasycrop = require('react-easy-crop'); var _reacteasycrop2 = _interopRequireDefault(_reacteasycrop);
|
|
14011
14011
|
|
|
@@ -14201,7 +14201,7 @@ var ImageCropper = ({
|
|
|
14201
14201
|
}
|
|
14202
14202
|
),
|
|
14203
14203
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14204
|
-
|
|
14204
|
+
_chunk3B43AHYEcjs.Button,
|
|
14205
14205
|
{
|
|
14206
14206
|
variant: "outline",
|
|
14207
14207
|
size: "icon",
|
|
@@ -14213,9 +14213,9 @@ var ImageCropper = ({
|
|
|
14213
14213
|
] })
|
|
14214
14214
|
] }),
|
|
14215
14215
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex justify-end gap-2 mt-2", children: [
|
|
14216
|
-
onCancel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14216
|
+
onCancel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.Button, { variant: "outline", onClick: onCancel, "aria-label": "Cancel crop", children: "Cancel" }),
|
|
14217
14217
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14218
|
-
|
|
14218
|
+
_chunk3B43AHYEcjs.Button,
|
|
14219
14219
|
{
|
|
14220
14220
|
variant: "accent",
|
|
14221
14221
|
onClick: async () => {
|
|
@@ -15261,7 +15261,7 @@ var MediaSkeleton = {
|
|
|
15261
15261
|
* Avatar/profile image skeleton
|
|
15262
15262
|
*/
|
|
15263
15263
|
Avatar: ({ size = "md", className, ...props }) => {
|
|
15264
|
-
const
|
|
15264
|
+
const sizeClasses4 = {
|
|
15265
15265
|
sm: "h-8 w-8",
|
|
15266
15266
|
md: "h-12 w-12",
|
|
15267
15267
|
lg: "h-16 w-16"
|
|
@@ -15270,7 +15270,7 @@ var MediaSkeleton = {
|
|
|
15270
15270
|
UnifiedSkeleton,
|
|
15271
15271
|
{
|
|
15272
15272
|
variant: "circular",
|
|
15273
|
-
className: _chunkUC43NICZcjs.cn.call(void 0,
|
|
15273
|
+
className: _chunkUC43NICZcjs.cn.call(void 0, sizeClasses4[size], className),
|
|
15274
15274
|
"aria-label": "Loading profile image",
|
|
15275
15275
|
...props
|
|
15276
15276
|
}
|
|
@@ -15292,7 +15292,7 @@ var MediaSkeleton = {
|
|
|
15292
15292
|
* Icon skeleton
|
|
15293
15293
|
*/
|
|
15294
15294
|
Icon: ({ size = "md", className, ...props }) => {
|
|
15295
|
-
const
|
|
15295
|
+
const sizeClasses4 = {
|
|
15296
15296
|
sm: "h-4 w-4",
|
|
15297
15297
|
md: "h-6 w-6",
|
|
15298
15298
|
lg: "h-8 w-8"
|
|
@@ -15301,7 +15301,7 @@ var MediaSkeleton = {
|
|
|
15301
15301
|
UnifiedSkeleton,
|
|
15302
15302
|
{
|
|
15303
15303
|
variant: "default",
|
|
15304
|
-
className: _chunkUC43NICZcjs.cn.call(void 0,
|
|
15304
|
+
className: _chunkUC43NICZcjs.cn.call(void 0, sizeClasses4[size], className),
|
|
15305
15305
|
"aria-label": "Loading icon",
|
|
15306
15306
|
...props
|
|
15307
15307
|
}
|
|
@@ -16887,7 +16887,7 @@ function DateTimePicker({
|
|
|
16887
16887
|
}
|
|
16888
16888
|
|
|
16889
16889
|
// src/components/shared/onboarding/onboarding-walkthrough.tsx
|
|
16890
|
-
|
|
16890
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
16891
16891
|
|
|
16892
16892
|
|
|
16893
16893
|
// src/components/shared/onboarding/onboarding-step-card.tsx
|
|
@@ -16972,7 +16972,7 @@ var InteractiveCard = React37.default.forwardRef(
|
|
|
16972
16972
|
InteractiveCard.displayName = "InteractiveCard";
|
|
16973
16973
|
|
|
16974
16974
|
// src/components/shared/onboarding/onboarding-step-card.tsx
|
|
16975
|
-
|
|
16975
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
16976
16976
|
|
|
16977
16977
|
// src/components/ui/status-badge.tsx
|
|
16978
16978
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
@@ -17091,7 +17091,7 @@ function OnboardingStepCard({
|
|
|
17091
17091
|
}
|
|
17092
17092
|
),
|
|
17093
17093
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17094
|
-
|
|
17094
|
+
_chunk3B43AHYEcjs.Button,
|
|
17095
17095
|
{
|
|
17096
17096
|
variant: "outline",
|
|
17097
17097
|
onClick: handleAction,
|
|
@@ -17109,7 +17109,7 @@ function OnboardingStepCard({
|
|
|
17109
17109
|
}
|
|
17110
17110
|
) }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
17111
17111
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17112
|
-
|
|
17112
|
+
_chunk3B43AHYEcjs.Button,
|
|
17113
17113
|
{
|
|
17114
17114
|
variant: "outline",
|
|
17115
17115
|
onClick: handleSkip,
|
|
@@ -17117,7 +17117,7 @@ function OnboardingStepCard({
|
|
|
17117
17117
|
}
|
|
17118
17118
|
),
|
|
17119
17119
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17120
|
-
|
|
17120
|
+
_chunk3B43AHYEcjs.Button,
|
|
17121
17121
|
{
|
|
17122
17122
|
variant: "accent",
|
|
17123
17123
|
onClick: handleAction,
|
|
@@ -17231,7 +17231,7 @@ function OnboardingWalkthrough({
|
|
|
17231
17231
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col md:flex-row items-start md:items-center justify-between gap-3 md:gap-0", children: [
|
|
17232
17232
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-h2 tracking-[-0.48px] text-ods-text-primary", children: "Get Started" }),
|
|
17233
17233
|
isLoadingCompletion ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[48px] w-full md:w-[160px] bg-ods-border rounded-[6px] animate-pulse" }) : isAllComplete ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17234
|
-
|
|
17234
|
+
_chunk3B43AHYEcjs.Button,
|
|
17235
17235
|
{
|
|
17236
17236
|
variant: "accent",
|
|
17237
17237
|
onClick: handleDismiss,
|
|
@@ -17239,7 +17239,7 @@ function OnboardingWalkthrough({
|
|
|
17239
17239
|
children: "Close Onboarding"
|
|
17240
17240
|
}
|
|
17241
17241
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17242
|
-
|
|
17242
|
+
_chunk3B43AHYEcjs.Button,
|
|
17243
17243
|
{
|
|
17244
17244
|
variant: "outline",
|
|
17245
17245
|
onClick: handleDismiss,
|
|
@@ -17873,7 +17873,7 @@ function ImageGalleryModal({
|
|
|
17873
17873
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex items-center justify-center bg-black rounded-lg", children: [
|
|
17874
17874
|
images.length > 1 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
17875
17875
|
selectedImageIndex > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute left-4 top-1/2 -translate-y-1/2 z-[10000]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17876
|
-
|
|
17876
|
+
_chunk3B43AHYEcjs.Button,
|
|
17877
17877
|
{
|
|
17878
17878
|
variant: "transparent",
|
|
17879
17879
|
size: "small-legacy",
|
|
@@ -17883,7 +17883,7 @@ function ImageGalleryModal({
|
|
|
17883
17883
|
}
|
|
17884
17884
|
) }),
|
|
17885
17885
|
selectedImageIndex < images.length - 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute right-4 top-1/2 -translate-y-1/2 z-[10000]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17886
|
-
|
|
17886
|
+
_chunk3B43AHYEcjs.Button,
|
|
17887
17887
|
{
|
|
17888
17888
|
variant: "transparent",
|
|
17889
17889
|
size: "small-legacy",
|
|
@@ -17949,7 +17949,7 @@ var _reactdropdownmenu = require('@radix-ui/react-dropdown-menu'); var DropdownM
|
|
|
17949
17949
|
|
|
17950
17950
|
|
|
17951
17951
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
17952
|
-
|
|
17952
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
17953
17953
|
|
|
17954
17954
|
var ROW_CLASSES = "flex flex-1 min-w-0 items-center gap-2 px-3 py-3 cursor-pointer transition-colors bg-ods-bg outline-none";
|
|
17955
17955
|
var WRAPPER_CLASSES = "relative flex items-stretch border-b border-ods-border last:border-b-0";
|
|
@@ -18198,9 +18198,9 @@ var ActionsMenuDropdown = ({
|
|
|
18198
18198
|
},
|
|
18199
18199
|
[onItemClick]
|
|
18200
18200
|
);
|
|
18201
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
18202
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18203
|
-
|
|
18201
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3B43AHYEcjs.DropdownMenu, { open, onOpenChange: setOpen, modal: false, children: [
|
|
18202
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.DropdownMenuTrigger, { asChild: true, children: _nullishCoalesce(customTrigger, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18203
|
+
_chunk3B43AHYEcjs.Button,
|
|
18204
18204
|
{
|
|
18205
18205
|
variant: "outline",
|
|
18206
18206
|
size: "icon",
|
|
@@ -18210,7 +18210,7 @@ var ActionsMenuDropdown = ({
|
|
|
18210
18210
|
}
|
|
18211
18211
|
))) }),
|
|
18212
18212
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18213
|
-
|
|
18213
|
+
_chunk3B43AHYEcjs.DropdownMenuContent,
|
|
18214
18214
|
{
|
|
18215
18215
|
align,
|
|
18216
18216
|
side,
|
|
@@ -18233,7 +18233,7 @@ var ActionsMenuDropdown = ({
|
|
|
18233
18233
|
};
|
|
18234
18234
|
|
|
18235
18235
|
// src/components/ui/page-actions.tsx
|
|
18236
|
-
|
|
18236
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
18237
18237
|
|
|
18238
18238
|
function actionKey(action, idx) {
|
|
18239
18239
|
return `${_nullishCoalesce(_nullishCoalesce(action.label, () => ( action.ariaLabel)), () => ( "action"))}-${idx}`;
|
|
@@ -18267,7 +18267,7 @@ function actionToMenuItems(action, idx) {
|
|
|
18267
18267
|
function renderActionButton(action, opts = {}) {
|
|
18268
18268
|
if (action.iconAction) {
|
|
18269
18269
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18270
|
-
|
|
18270
|
+
_chunk3B43AHYEcjs.SplitButton,
|
|
18271
18271
|
{
|
|
18272
18272
|
variant: _nullishCoalesce(action.variant, () => ( void 0)),
|
|
18273
18273
|
href: action.href,
|
|
@@ -18289,7 +18289,7 @@ function renderActionButton(action, opts = {}) {
|
|
|
18289
18289
|
{
|
|
18290
18290
|
groups: [{ items: action.submenu }],
|
|
18291
18291
|
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18292
|
-
|
|
18292
|
+
_chunk3B43AHYEcjs.Button,
|
|
18293
18293
|
{
|
|
18294
18294
|
variant: "outline",
|
|
18295
18295
|
disabled: action.disabled,
|
|
@@ -18307,7 +18307,7 @@ function renderActionButton(action, opts = {}) {
|
|
|
18307
18307
|
if (isIconOnly) {
|
|
18308
18308
|
const iconNode = action.iconOnlyOnDesktop ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex [&_svg]:!text-ods-text-primary", children: action.icon }) : action.icon;
|
|
18309
18309
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18310
|
-
|
|
18310
|
+
_chunk3B43AHYEcjs.Button,
|
|
18311
18311
|
{
|
|
18312
18312
|
variant: action.variant,
|
|
18313
18313
|
size: "icon",
|
|
@@ -18323,7 +18323,7 @@ function renderActionButton(action, opts = {}) {
|
|
|
18323
18323
|
);
|
|
18324
18324
|
}
|
|
18325
18325
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18326
|
-
|
|
18326
|
+
_chunk3B43AHYEcjs.Button,
|
|
18327
18327
|
{
|
|
18328
18328
|
variant: action.variant,
|
|
18329
18329
|
href: action.href,
|
|
@@ -18529,7 +18529,7 @@ function renderAdvancedPageContainer({
|
|
|
18529
18529
|
md: "p-6",
|
|
18530
18530
|
lg: "p-8"
|
|
18531
18531
|
};
|
|
18532
|
-
const
|
|
18532
|
+
const backgroundClasses3 = {
|
|
18533
18533
|
default: "bg-ods-bg",
|
|
18534
18534
|
card: "bg-ods-card",
|
|
18535
18535
|
transparent: ""
|
|
@@ -18614,7 +18614,7 @@ function renderAdvancedPageContainer({
|
|
|
18614
18614
|
const getContainerClasses = () => {
|
|
18615
18615
|
const baseClasses = [
|
|
18616
18616
|
"flex flex-col w-full",
|
|
18617
|
-
|
|
18617
|
+
backgroundClasses3[background],
|
|
18618
18618
|
paddingClasses[padding]
|
|
18619
18619
|
];
|
|
18620
18620
|
switch (variant) {
|
|
@@ -19497,7 +19497,7 @@ RadioGroupBlock.displayName = "RadioGroupBlock";
|
|
|
19497
19497
|
// src/components/ui/tags-input.tsx
|
|
19498
19498
|
|
|
19499
19499
|
|
|
19500
|
-
|
|
19500
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
19501
19501
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
19502
19502
|
|
|
19503
19503
|
function TagsInput({
|
|
@@ -19538,7 +19538,7 @@ function TagsInput({
|
|
|
19538
19538
|
label && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { className: "font-['DM_Sans'] text-[16px] font-medium text-ods-text-primary", children: label }),
|
|
19539
19539
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
19540
19540
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19541
|
-
|
|
19541
|
+
_chunk3B43AHYEcjs.Input,
|
|
19542
19542
|
{
|
|
19543
19543
|
value: inputValue,
|
|
19544
19544
|
onChange: (e) => setInputValue(e.target.value),
|
|
@@ -19552,7 +19552,7 @@ function TagsInput({
|
|
|
19552
19552
|
}
|
|
19553
19553
|
),
|
|
19554
19554
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19555
|
-
|
|
19555
|
+
_chunk3B43AHYEcjs.Button,
|
|
19556
19556
|
{
|
|
19557
19557
|
type: "button",
|
|
19558
19558
|
variant: "outline",
|
|
@@ -19600,7 +19600,7 @@ _chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
|
19600
19600
|
|
|
19601
19601
|
|
|
19602
19602
|
|
|
19603
|
-
|
|
19603
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
19604
19604
|
|
|
19605
19605
|
function TagsManager({
|
|
19606
19606
|
tags,
|
|
@@ -19683,7 +19683,7 @@ function TagsManager({
|
|
|
19683
19683
|
},
|
|
19684
19684
|
[onChange]
|
|
19685
19685
|
);
|
|
19686
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19686
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.FieldWrapper, { label, className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative", ref: containerRef, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, PopoverPrimitive2.Root, { open, onOpenChange: setOpen, children: [
|
|
19687
19687
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverPrimitive2.Anchor, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
19688
19688
|
"label",
|
|
19689
19689
|
{
|
|
@@ -19797,7 +19797,7 @@ function TagsManager({
|
|
|
19797
19797
|
className: "flex items-center gap-1 px-2 py-1 border-b border-ods-border last:border-b-0",
|
|
19798
19798
|
children: [
|
|
19799
19799
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19800
|
-
|
|
19800
|
+
_chunk3B43AHYEcjs.Input,
|
|
19801
19801
|
{
|
|
19802
19802
|
ref: editInputRef,
|
|
19803
19803
|
value: editingName,
|
|
@@ -19810,7 +19810,7 @@ function TagsManager({
|
|
|
19810
19810
|
}
|
|
19811
19811
|
),
|
|
19812
19812
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19813
|
-
|
|
19813
|
+
_chunk3B43AHYEcjs.Button,
|
|
19814
19814
|
{
|
|
19815
19815
|
type: "button",
|
|
19816
19816
|
variant: "transparent",
|
|
@@ -19821,7 +19821,7 @@ function TagsManager({
|
|
|
19821
19821
|
}
|
|
19822
19822
|
),
|
|
19823
19823
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19824
|
-
|
|
19824
|
+
_chunk3B43AHYEcjs.Button,
|
|
19825
19825
|
{
|
|
19826
19826
|
type: "button",
|
|
19827
19827
|
variant: "transparent",
|
|
@@ -19872,7 +19872,7 @@ function TagsManager({
|
|
|
19872
19872
|
),
|
|
19873
19873
|
(onUpdateTag || onDeleteTag) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-0.5 opacity-0 group-hover/item:opacity-100 transition-opacity", children: [
|
|
19874
19874
|
onUpdateTag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19875
|
-
|
|
19875
|
+
_chunk3B43AHYEcjs.Button,
|
|
19876
19876
|
{
|
|
19877
19877
|
type: "button",
|
|
19878
19878
|
variant: "transparent",
|
|
@@ -19891,7 +19891,7 @@ function TagsManager({
|
|
|
19891
19891
|
}
|
|
19892
19892
|
),
|
|
19893
19893
|
onDeleteTag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19894
|
-
|
|
19894
|
+
_chunk3B43AHYEcjs.Button,
|
|
19895
19895
|
{
|
|
19896
19896
|
type: "button",
|
|
19897
19897
|
variant: "transparent",
|
|
@@ -19968,7 +19968,7 @@ function TagsManager({
|
|
|
19968
19968
|
|
|
19969
19969
|
// src/components/ui/alert-dialog.tsx
|
|
19970
19970
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
19971
|
-
|
|
19971
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
19972
19972
|
|
|
19973
19973
|
var _reactalertdialog = require('@radix-ui/react-alert-dialog'); var AlertDialogPrimitive = _interopRequireWildcard(_reactalertdialog);
|
|
19974
19974
|
|
|
@@ -20052,7 +20052,7 @@ var AlertDialogAction = React56.forwardRef(({ className, ...props }, ref) => /*
|
|
|
20052
20052
|
AlertDialogPrimitive.Action,
|
|
20053
20053
|
{
|
|
20054
20054
|
ref,
|
|
20055
|
-
className: _chunkUC43NICZcjs.cn.call(void 0,
|
|
20055
|
+
className: _chunkUC43NICZcjs.cn.call(void 0, _chunk3B43AHYEcjs.buttonVariants.call(void 0, ), className),
|
|
20056
20056
|
...props
|
|
20057
20057
|
}
|
|
20058
20058
|
));
|
|
@@ -20062,7 +20062,7 @@ var AlertDialogCancel = React56.forwardRef(({ className, ...props }, ref) => /*
|
|
|
20062
20062
|
{
|
|
20063
20063
|
ref,
|
|
20064
20064
|
className: _chunkUC43NICZcjs.cn.call(void 0,
|
|
20065
|
-
|
|
20065
|
+
_chunk3B43AHYEcjs.buttonVariants.call(void 0, { variant: "outline" }),
|
|
20066
20066
|
"mt-2 md:mt-0",
|
|
20067
20067
|
className
|
|
20068
20068
|
),
|
|
@@ -21117,7 +21117,7 @@ _chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
|
21117
21117
|
// src/components/ui/filter-modal.tsx
|
|
21118
21118
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
21119
21119
|
|
|
21120
|
-
|
|
21120
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
21121
21121
|
|
|
21122
21122
|
// src/components/ui/filter-checkbox-item.tsx
|
|
21123
21123
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
@@ -21367,15 +21367,15 @@ function FilterModal({
|
|
|
21367
21367
|
!isEmpty && "md:bg-ods-bg md:border md:border-ods-border md:rounded-md md:px-3"
|
|
21368
21368
|
),
|
|
21369
21369
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1 min-h-0 overflow-y-auto flex flex-col gap-4 md:py-3", children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: [0, 1].map((group) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-1", children: [
|
|
21370
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21370
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.Skeleton, { className: "h-5 w-24" }),
|
|
21371
21371
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-md border border-ods-border overflow-hidden", children: [0, 1, 2].map((row) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21372
21372
|
"div",
|
|
21373
21373
|
{
|
|
21374
21374
|
className: "flex items-center gap-3 px-4 py-3 bg-ods-card border-b border-ods-border last:border-b-0",
|
|
21375
21375
|
children: [
|
|
21376
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21377
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21378
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21376
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.Skeleton, { className: "h-6 w-6 rounded-[6px] shrink-0" }),
|
|
21377
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.Skeleton, { className: "h-4 flex-1 max-w-[60%]" }),
|
|
21378
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.Skeleton, { className: "h-4 w-10 shrink-0" })
|
|
21379
21379
|
]
|
|
21380
21380
|
},
|
|
21381
21381
|
row
|
|
@@ -21429,8 +21429,8 @@ function FilterModal({
|
|
|
21429
21429
|
}
|
|
21430
21430
|
),
|
|
21431
21431
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, ModalFooter2, { children: [
|
|
21432
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21433
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21432
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.Button, { variant: "outline", className: "flex-1 h-11", onClick: handleReset, children: resetButtonText }),
|
|
21433
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.Button, { variant: "accent", className: "flex-1 h-11", onClick: handleApply, children: applyButtonText })
|
|
21434
21434
|
] })
|
|
21435
21435
|
]
|
|
21436
21436
|
}
|
|
@@ -21490,7 +21490,7 @@ function ListPageLayout({
|
|
|
21490
21490
|
stickyHeader && "sticky top-0 z-20 flex gap-[var(--spacing-system-m)] items-center bg-ods-bg -mx-[var(--spacing-system-l)] p-[var(--spacing-system-l)] -mt-[var(--spacing-system-l)]"
|
|
21491
21491
|
), children: [
|
|
21492
21492
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21493
|
-
|
|
21493
|
+
_chunk3B43AHYEcjs.Input,
|
|
21494
21494
|
{
|
|
21495
21495
|
placeholder: searchPlaceholder,
|
|
21496
21496
|
onChange: (e) => setLocalSearchValue(e.target.value),
|
|
@@ -21500,7 +21500,7 @@ function ListPageLayout({
|
|
|
21500
21500
|
}
|
|
21501
21501
|
),
|
|
21502
21502
|
hasMobileFilter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21503
|
-
|
|
21503
|
+
_chunk3B43AHYEcjs.Button,
|
|
21504
21504
|
{
|
|
21505
21505
|
variant: "outline",
|
|
21506
21506
|
size: "icon",
|
|
@@ -21537,6 +21537,9 @@ _chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
|
21537
21537
|
// src/components/layout/title-block.tsx
|
|
21538
21538
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
21539
21539
|
|
|
21540
|
+
// src/components/ui/entity-image.tsx
|
|
21541
|
+
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
21542
|
+
|
|
21540
21543
|
|
|
21541
21544
|
function getInitials3(name) {
|
|
21542
21545
|
if (!name) return "";
|
|
@@ -21544,6 +21547,42 @@ function getInitials3(name) {
|
|
|
21544
21547
|
if (words.length === 1) return words[0].charAt(0).toUpperCase();
|
|
21545
21548
|
return (words[0].charAt(0) + words[words.length - 1].charAt(0)).toUpperCase();
|
|
21546
21549
|
}
|
|
21550
|
+
function EntityImage({ src, alt, fallbackText, className }) {
|
|
21551
|
+
const [imageFailed, setImageFailed] = React37.default.useState(false);
|
|
21552
|
+
React37.default.useEffect(() => {
|
|
21553
|
+
setImageFailed(false);
|
|
21554
|
+
}, [src]);
|
|
21555
|
+
const showFallback = imageFailed || !src;
|
|
21556
|
+
const initials = getInitials3(_nullishCoalesce(fallbackText, () => ( alt)));
|
|
21557
|
+
if (showFallback) {
|
|
21558
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21559
|
+
"div",
|
|
21560
|
+
{
|
|
21561
|
+
"aria-label": alt,
|
|
21562
|
+
className: _chunkUC43NICZcjs.cn.call(void 0,
|
|
21563
|
+
"size-[52px] md:size-[60px] shrink-0 rounded-md border border-ods-border bg-ods-bg flex items-center justify-center text-ods-text-secondary text-h4 select-none",
|
|
21564
|
+
className
|
|
21565
|
+
),
|
|
21566
|
+
children: initials || "?"
|
|
21567
|
+
}
|
|
21568
|
+
);
|
|
21569
|
+
}
|
|
21570
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21571
|
+
"img",
|
|
21572
|
+
{
|
|
21573
|
+
src: _nullishCoalesce(src, () => ( void 0)),
|
|
21574
|
+
alt: _nullishCoalesce(alt, () => ( "")),
|
|
21575
|
+
onError: () => setImageFailed(true),
|
|
21576
|
+
className: _chunkUC43NICZcjs.cn.call(void 0,
|
|
21577
|
+
"size-[52px] md:size-[60px] shrink-0 rounded-md border border-ods-border object-cover",
|
|
21578
|
+
className
|
|
21579
|
+
)
|
|
21580
|
+
}
|
|
21581
|
+
);
|
|
21582
|
+
}
|
|
21583
|
+
|
|
21584
|
+
// src/components/layout/title-block.tsx
|
|
21585
|
+
|
|
21547
21586
|
function TitleBlock({
|
|
21548
21587
|
title,
|
|
21549
21588
|
subtitle,
|
|
@@ -21557,12 +21596,6 @@ function TitleBlock({
|
|
|
21557
21596
|
className
|
|
21558
21597
|
}) {
|
|
21559
21598
|
const hasActions = actions && actions.length > 0;
|
|
21560
|
-
const [imageFailed, setImageFailed] = React37.default.useState(false);
|
|
21561
|
-
React37.default.useEffect(() => {
|
|
21562
|
-
setImageFailed(false);
|
|
21563
|
-
}, [_optionalChain([image, 'optionalAccess', _511 => _511.src])]);
|
|
21564
|
-
const showImageFallback = !!image && (imageFailed || !image.src);
|
|
21565
|
-
const initials = getInitials3(_optionalChain([image, 'optionalAccess', _512 => _512.alt]) || title);
|
|
21566
21599
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21567
21600
|
"div",
|
|
21568
21601
|
{
|
|
@@ -21590,22 +21623,14 @@ function TitleBlock({
|
|
|
21590
21623
|
}
|
|
21591
21624
|
),
|
|
21592
21625
|
image || subtitle ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-m)] min-w-0 w-full", children: [
|
|
21593
|
-
image &&
|
|
21594
|
-
|
|
21595
|
-
{
|
|
21596
|
-
"aria-label": image.alt,
|
|
21597
|
-
className: "size-[52px] md:size-[60px] shrink-0 rounded-md border border-ods-border bg-ods-bg flex items-center justify-center text-ods-text-secondary text-h4 select-none",
|
|
21598
|
-
children: initials || "?"
|
|
21599
|
-
}
|
|
21600
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21601
|
-
"img",
|
|
21626
|
+
image && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21627
|
+
EntityImage,
|
|
21602
21628
|
{
|
|
21603
21629
|
src: image.src,
|
|
21604
|
-
alt:
|
|
21605
|
-
|
|
21606
|
-
className: "size-[52px] md:size-[60px] shrink-0 rounded-md border border-ods-border object-cover"
|
|
21630
|
+
alt: image.alt,
|
|
21631
|
+
fallbackText: image.alt || title
|
|
21607
21632
|
}
|
|
21608
|
-
)
|
|
21633
|
+
),
|
|
21609
21634
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col justify-center min-w-0 flex-1", children: [
|
|
21610
21635
|
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "text-h2 text-ods-text-primary truncate", children: title }),
|
|
21611
21636
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6 text-ods-text-secondary truncate", children: subtitle })
|
|
@@ -21825,7 +21850,7 @@ var BenefitCardGrid = ({
|
|
|
21825
21850
|
};
|
|
21826
21851
|
|
|
21827
21852
|
// src/components/ui/brand-association-card.tsx
|
|
21828
|
-
|
|
21853
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
21829
21854
|
|
|
21830
21855
|
|
|
21831
21856
|
|
|
@@ -21845,7 +21870,7 @@ function BrandAssociationCard({
|
|
|
21845
21870
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-h2 tracking-[-0.64px] text-ods-text-primary", children: item.title }),
|
|
21846
21871
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-['DM_Sans'] font-normal text-[16px] leading-[1.5] text-ods-text-secondary", children: item.description }),
|
|
21847
21872
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21848
|
-
|
|
21873
|
+
_chunk3B43AHYEcjs.Button,
|
|
21849
21874
|
{
|
|
21850
21875
|
variant: "outline",
|
|
21851
21876
|
href: item.link,
|
|
@@ -22358,26 +22383,26 @@ function DeviceCard({
|
|
|
22358
22383
|
] }),
|
|
22359
22384
|
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 })
|
|
22360
22385
|
] }),
|
|
22361
|
-
_optionalChain([actions, 'access',
|
|
22386
|
+
_optionalChain([actions, 'access', _511 => _511.moreButton, 'optionalAccess', _512 => _512.visible]) !== false && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22362
22387
|
"div",
|
|
22363
22388
|
{
|
|
22364
22389
|
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",
|
|
22365
22390
|
onClick: (e) => {
|
|
22366
22391
|
e.stopPropagation();
|
|
22367
|
-
_optionalChain([actions, 'access',
|
|
22392
|
+
_optionalChain([actions, 'access', _513 => _513.moreButton, 'optionalAccess', _514 => _514.onClick, 'optionalCall', _515 => _515()]);
|
|
22368
22393
|
},
|
|
22369
22394
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVJTFBYVGcjs.Ellipsis01Icon, { className: "text-ods-text-primary" })
|
|
22370
22395
|
}
|
|
22371
22396
|
),
|
|
22372
|
-
_optionalChain([actions, 'access',
|
|
22373
|
-
_optionalChain([actions, 'access',
|
|
22397
|
+
_optionalChain([actions, 'access', _516 => _516.detailsButton, 'optionalAccess', _517 => _517.visible]) !== false && _optionalChain([actions, 'access', _518 => _518.detailsButton, 'optionalAccess', _519 => _519.component]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0", onClick: (e) => e.stopPropagation(), children: actions.detailsButton.component }),
|
|
22398
|
+
_optionalChain([actions, 'access', _520 => _520.customActions, 'optionalAccess', _521 => _521.map, 'call', _522 => _522(
|
|
22374
22399
|
(action, index) => action.visible !== false && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22375
22400
|
"div",
|
|
22376
22401
|
{
|
|
22377
22402
|
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",
|
|
22378
22403
|
onClick: (e) => {
|
|
22379
22404
|
e.stopPropagation();
|
|
22380
|
-
_optionalChain([action, 'access',
|
|
22405
|
+
_optionalChain([action, 'access', _523 => _523.onClick, 'optionalCall', _524 => _524()]);
|
|
22381
22406
|
},
|
|
22382
22407
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h3 text-ods-text-primary text-nowrap tracking-[-0.36px]", children: action.label })
|
|
22383
22408
|
},
|
|
@@ -22659,7 +22684,7 @@ _chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
|
22659
22684
|
|
|
22660
22685
|
var IconsBlock = React76.forwardRef(
|
|
22661
22686
|
({ className, icons = [], size = "md", ...props }, ref) => {
|
|
22662
|
-
const
|
|
22687
|
+
const sizeClasses4 = {
|
|
22663
22688
|
sm: "h-4 w-4",
|
|
22664
22689
|
md: "h-6 w-6",
|
|
22665
22690
|
lg: "h-8 w-8"
|
|
@@ -22678,7 +22703,7 @@ var IconsBlock = React76.forwardRef(
|
|
|
22678
22703
|
{
|
|
22679
22704
|
className: _chunkUC43NICZcjs.cn.call(void 0,
|
|
22680
22705
|
"rounded-md bg-secondary p-1",
|
|
22681
|
-
|
|
22706
|
+
sizeClasses4[size]
|
|
22682
22707
|
),
|
|
22683
22708
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full w-full bg-primary/20 rounded-sm" })
|
|
22684
22709
|
},
|
|
@@ -22697,7 +22722,7 @@ _chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
|
22697
22722
|
// src/components/ui/more-actions-menu.tsx
|
|
22698
22723
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
22699
22724
|
|
|
22700
|
-
|
|
22725
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
22701
22726
|
|
|
22702
22727
|
function MoreActionsMenu({
|
|
22703
22728
|
items,
|
|
@@ -22710,9 +22735,9 @@ function MoreActionsMenu({
|
|
|
22710
22735
|
open,
|
|
22711
22736
|
onOpenChange
|
|
22712
22737
|
}) {
|
|
22713
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22714
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22715
|
-
|
|
22738
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3B43AHYEcjs.DropdownMenu, { open, onOpenChange, children: [
|
|
22739
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.DropdownMenuTrigger, { asChild: true, children: trigger || /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22740
|
+
_chunk3B43AHYEcjs.Button,
|
|
22716
22741
|
{
|
|
22717
22742
|
variant: "outline",
|
|
22718
22743
|
size: "icon",
|
|
@@ -22722,7 +22747,7 @@ function MoreActionsMenu({
|
|
|
22722
22747
|
}
|
|
22723
22748
|
) }),
|
|
22724
22749
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22725
|
-
|
|
22750
|
+
_chunk3B43AHYEcjs.DropdownMenuContent,
|
|
22726
22751
|
{
|
|
22727
22752
|
align,
|
|
22728
22753
|
side,
|
|
@@ -22736,11 +22761,11 @@ function MoreActionsMenu({
|
|
|
22736
22761
|
] });
|
|
22737
22762
|
const handleActivate = (e) => {
|
|
22738
22763
|
e.stopPropagation();
|
|
22739
|
-
if (!item.disabled) _optionalChain([item, 'access',
|
|
22764
|
+
if (!item.disabled) _optionalChain([item, 'access', _525 => _525.onClick, 'optionalCall', _526 => _526()]);
|
|
22740
22765
|
};
|
|
22741
22766
|
if (item.href) {
|
|
22742
22767
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22743
|
-
|
|
22768
|
+
_chunk3B43AHYEcjs.DropdownMenuItem,
|
|
22744
22769
|
{
|
|
22745
22770
|
asChild: true,
|
|
22746
22771
|
disabled: item.disabled,
|
|
@@ -22769,7 +22794,7 @@ function MoreActionsMenu({
|
|
|
22769
22794
|
);
|
|
22770
22795
|
}
|
|
22771
22796
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22772
|
-
|
|
22797
|
+
_chunk3B43AHYEcjs.DropdownMenuItem,
|
|
22773
22798
|
{
|
|
22774
22799
|
onClick: handleActivate,
|
|
22775
22800
|
disabled: item.disabled,
|
|
@@ -22852,77 +22877,6 @@ _chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
|
22852
22877
|
|
|
22853
22878
|
|
|
22854
22879
|
|
|
22855
|
-
// src/components/features/organization-icon.tsx
|
|
22856
|
-
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
22857
|
-
|
|
22858
|
-
|
|
22859
|
-
var sizeClasses3 = {
|
|
22860
|
-
xs: "w-6 h-6",
|
|
22861
|
-
sm: "w-8 h-8",
|
|
22862
|
-
md: "w-10 h-10",
|
|
22863
|
-
lg: "w-12 h-12",
|
|
22864
|
-
l: "w-14 h-14",
|
|
22865
|
-
xl: "w-16 h-16"
|
|
22866
|
-
};
|
|
22867
|
-
var imageSizeMap2 = {
|
|
22868
|
-
xs: { width: 16, height: 16 },
|
|
22869
|
-
sm: { width: 20, height: 20 },
|
|
22870
|
-
md: { width: 32, height: 32 },
|
|
22871
|
-
lg: { width: 40, height: 40 },
|
|
22872
|
-
l: { width: 38, height: 38 },
|
|
22873
|
-
xl: { width: 40, height: 40 }
|
|
22874
|
-
};
|
|
22875
|
-
var backgroundClasses3 = {
|
|
22876
|
-
dark: "bg-[#161616] border border-ods-border",
|
|
22877
|
-
light: "bg-ods-card border border-ods-border",
|
|
22878
|
-
white: "bg-white border border-[#E5E5E5]"
|
|
22879
|
-
};
|
|
22880
|
-
function OrganizationIcon({
|
|
22881
|
-
imageUrl,
|
|
22882
|
-
organizationName,
|
|
22883
|
-
size = "md",
|
|
22884
|
-
className = "",
|
|
22885
|
-
showBackground = true,
|
|
22886
|
-
backgroundStyle = "dark"
|
|
22887
|
-
}) {
|
|
22888
|
-
const { width, height } = imageSizeMap2[size];
|
|
22889
|
-
const initials = _optionalChain([organizationName, 'optionalAccess', _529 => _529.substring, 'call', _530 => _530(0, 2)]) || "??";
|
|
22890
|
-
const containerClasses = _chunkUC43NICZcjs.cn.call(void 0,
|
|
22891
|
-
sizeClasses3[size],
|
|
22892
|
-
"rounded-lg flex items-center justify-center flex-shrink-0 relative",
|
|
22893
|
-
showBackground && backgroundClasses3[backgroundStyle],
|
|
22894
|
-
!showBackground && "overflow-hidden",
|
|
22895
|
-
className
|
|
22896
|
-
);
|
|
22897
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: containerClasses, children: [
|
|
22898
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkUC43NICZcjs.cn.call(void 0,
|
|
22899
|
-
"flex items-center justify-center text-xs font-medium uppercase",
|
|
22900
|
-
imageUrl && "hidden",
|
|
22901
|
-
backgroundStyle === "white" ? "text-ods-text-primary" : "text-ods-text-secondary"
|
|
22902
|
-
), children: initials }),
|
|
22903
|
-
imageUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22904
|
-
_image2.default,
|
|
22905
|
-
{
|
|
22906
|
-
src: imageUrl,
|
|
22907
|
-
alt: `${initials}`,
|
|
22908
|
-
width,
|
|
22909
|
-
height,
|
|
22910
|
-
className: _chunkUC43NICZcjs.cn.call(void 0,
|
|
22911
|
-
"absolute object-contain",
|
|
22912
|
-
showBackground ? "p-1" : "w-full h-full"
|
|
22913
|
-
),
|
|
22914
|
-
onError: (e) => {
|
|
22915
|
-
e.currentTarget.style.display = "none";
|
|
22916
|
-
const el = e.currentTarget.previousElementSibling;
|
|
22917
|
-
if (el) el.classList.remove("hidden");
|
|
22918
|
-
}
|
|
22919
|
-
}
|
|
22920
|
-
)
|
|
22921
|
-
] });
|
|
22922
|
-
}
|
|
22923
|
-
|
|
22924
|
-
// src/components/ui/organization-card.tsx
|
|
22925
|
-
|
|
22926
22880
|
function OrganizationCard({
|
|
22927
22881
|
organization,
|
|
22928
22882
|
fetchedImageUrl,
|
|
@@ -22937,7 +22891,7 @@ function OrganizationCard({
|
|
|
22937
22891
|
const handleActionClick = (e) => {
|
|
22938
22892
|
e.preventDefault();
|
|
22939
22893
|
e.stopPropagation();
|
|
22940
|
-
_optionalChain([actionButton, 'optionalAccess',
|
|
22894
|
+
_optionalChain([actionButton, 'optionalAccess', _527 => _527.onClick, 'call', _528 => _528(organization, e)]);
|
|
22941
22895
|
};
|
|
22942
22896
|
const card = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22943
22897
|
"div",
|
|
@@ -22971,14 +22925,10 @@ function OrganizationCard({
|
|
|
22971
22925
|
),
|
|
22972
22926
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-3 w-full", children: [
|
|
22973
22927
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22974
|
-
|
|
22928
|
+
EntityImage,
|
|
22975
22929
|
{
|
|
22976
|
-
|
|
22977
|
-
|
|
22978
|
-
size: "xl",
|
|
22979
|
-
backgroundStyle: "dark",
|
|
22980
|
-
showBackground: true,
|
|
22981
|
-
className: "w-[60px] h-[60px]"
|
|
22930
|
+
src: fetchedImageUrl || organization.imageUrl,
|
|
22931
|
+
alt: organization.name
|
|
22982
22932
|
}
|
|
22983
22933
|
),
|
|
22984
22934
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 flex flex-col justify-center py-2 min-w-0", children: [
|
|
@@ -23033,7 +22983,7 @@ var LOG_SEVERITY_LABELS = {
|
|
|
23033
22983
|
// src/components/log-severity-dot.tsx
|
|
23034
22984
|
|
|
23035
22985
|
var LogSeverityDot = React78.forwardRef(({ severity, size = "md", className }, ref) => {
|
|
23036
|
-
const
|
|
22986
|
+
const sizeClasses4 = {
|
|
23037
22987
|
sm: "w-4 h-4",
|
|
23038
22988
|
md: "w-6 h-6",
|
|
23039
22989
|
lg: "w-8 h-8"
|
|
@@ -23049,7 +22999,7 @@ var LogSeverityDot = React78.forwardRef(({ severity, size = "md", className }, r
|
|
|
23049
22999
|
ref,
|
|
23050
23000
|
className: _chunkUC43NICZcjs.cn.call(void 0,
|
|
23051
23001
|
"relative flex items-center justify-center shrink-0",
|
|
23052
|
-
|
|
23002
|
+
sizeClasses4[size],
|
|
23053
23003
|
className
|
|
23054
23004
|
),
|
|
23055
23005
|
"aria-label": `${LOG_SEVERITY_LABELS[severity]} severity`,
|
|
@@ -23094,7 +23044,7 @@ var LogCard = ({ log, isLast, showConnector, onClick }) => {
|
|
|
23094
23044
|
onKeyDown: (e) => {
|
|
23095
23045
|
if (e.key === "Enter" || e.key === " ") {
|
|
23096
23046
|
e.preventDefault();
|
|
23097
|
-
_optionalChain([onClick, 'optionalCall',
|
|
23047
|
+
_optionalChain([onClick, 'optionalCall', _529 => _529()]);
|
|
23098
23048
|
}
|
|
23099
23049
|
},
|
|
23100
23050
|
children: [
|
|
@@ -23195,7 +23145,7 @@ var LogsList = React79.forwardRef(({
|
|
|
23195
23145
|
log,
|
|
23196
23146
|
isLast: index === logs.length - 1,
|
|
23197
23147
|
showConnector,
|
|
23198
|
-
onClick: () => _optionalChain([onLogClick, 'optionalCall',
|
|
23148
|
+
onClick: () => _optionalChain([onLogClick, 'optionalCall', _530 => _530(log)])
|
|
23199
23149
|
},
|
|
23200
23150
|
log.id
|
|
23201
23151
|
))
|
|
@@ -23451,7 +23401,7 @@ var TooltipContent = React81.forwardRef(({ className, sideOffset = 4, ...props }
|
|
|
23451
23401
|
TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
|
23452
23402
|
|
|
23453
23403
|
// src/components/ui/error-state.tsx
|
|
23454
|
-
|
|
23404
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
23455
23405
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
23456
23406
|
|
|
23457
23407
|
|
|
@@ -23505,7 +23455,7 @@ function ErrorState({
|
|
|
23505
23455
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunkUC43NICZcjs.cn.call(void 0, "text-sm", styles.text), children: message }),
|
|
23506
23456
|
(showRetry || showHome) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2 mt-3", children: [
|
|
23507
23457
|
showRetry && onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23508
|
-
|
|
23458
|
+
_chunk3B43AHYEcjs.Button,
|
|
23509
23459
|
{
|
|
23510
23460
|
onClick: onRetry,
|
|
23511
23461
|
variant: "outline",
|
|
@@ -23516,7 +23466,7 @@ function ErrorState({
|
|
|
23516
23466
|
}
|
|
23517
23467
|
),
|
|
23518
23468
|
showHome && onHome && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23519
|
-
|
|
23469
|
+
_chunk3B43AHYEcjs.Button,
|
|
23520
23470
|
{
|
|
23521
23471
|
onClick: onHome,
|
|
23522
23472
|
variant: "outline",
|
|
@@ -23644,11 +23594,11 @@ var ListLoader = (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Content
|
|
|
23644
23594
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
23645
23595
|
|
|
23646
23596
|
init_pagination();
|
|
23647
|
-
|
|
23597
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
23648
23598
|
|
|
23649
23599
|
// src/components/ui/cursor-pagination.tsx
|
|
23650
23600
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
23651
|
-
|
|
23601
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
23652
23602
|
|
|
23653
23603
|
|
|
23654
23604
|
function CursorPagination({
|
|
@@ -23709,7 +23659,7 @@ function CursorPagination({
|
|
|
23709
23659
|
showInfo && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-sm text-[#888888]", children: displayText || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "\xA0" }) }),
|
|
23710
23660
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
23711
23661
|
onReset ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23712
|
-
|
|
23662
|
+
_chunk3B43AHYEcjs.Button,
|
|
23713
23663
|
{
|
|
23714
23664
|
variant: "outline",
|
|
23715
23665
|
size: compact ? "small-legacy" : "default",
|
|
@@ -23723,7 +23673,7 @@ function CursorPagination({
|
|
|
23723
23673
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: compact ? "hidden md:inline" : "", children: resetButtonLabel })
|
|
23724
23674
|
}
|
|
23725
23675
|
) : hasPreviousPage !== void 0 && onPrevious && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23726
|
-
|
|
23676
|
+
_chunk3B43AHYEcjs.Button,
|
|
23727
23677
|
{
|
|
23728
23678
|
variant: "outline",
|
|
23729
23679
|
size: compact ? "small-legacy" : "default",
|
|
@@ -23738,7 +23688,7 @@ function CursorPagination({
|
|
|
23738
23688
|
}
|
|
23739
23689
|
),
|
|
23740
23690
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23741
|
-
|
|
23691
|
+
_chunk3B43AHYEcjs.Button,
|
|
23742
23692
|
{
|
|
23743
23693
|
variant: "outline",
|
|
23744
23694
|
size: compact ? "small-legacy" : "default",
|
|
@@ -23769,7 +23719,7 @@ function CursorPaginationSimple({
|
|
|
23769
23719
|
}) {
|
|
23770
23720
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkUC43NICZcjs.cn.call(void 0, "flex items-center gap-1", className), children: [
|
|
23771
23721
|
onReset ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23772
|
-
|
|
23722
|
+
_chunk3B43AHYEcjs.Button,
|
|
23773
23723
|
{
|
|
23774
23724
|
variant: "transparent",
|
|
23775
23725
|
size: "icon",
|
|
@@ -23780,11 +23730,11 @@ function CursorPaginationSimple({
|
|
|
23780
23730
|
"aria-label": "First"
|
|
23781
23731
|
}
|
|
23782
23732
|
) : hasPreviousPage !== void 0 && onPrevious && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23783
|
-
|
|
23733
|
+
_chunk3B43AHYEcjs.Button,
|
|
23784
23734
|
{
|
|
23785
23735
|
variant: "transparent",
|
|
23786
23736
|
size: "icon",
|
|
23787
|
-
onClick: () => _optionalChain([onPrevious, 'optionalCall',
|
|
23737
|
+
onClick: () => _optionalChain([onPrevious, 'optionalCall', _531 => _531("")]),
|
|
23788
23738
|
disabled: !hasPreviousPage || loading,
|
|
23789
23739
|
className: "h-8 w-8",
|
|
23790
23740
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" }),
|
|
@@ -23792,11 +23742,11 @@ function CursorPaginationSimple({
|
|
|
23792
23742
|
}
|
|
23793
23743
|
),
|
|
23794
23744
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23795
|
-
|
|
23745
|
+
_chunk3B43AHYEcjs.Button,
|
|
23796
23746
|
{
|
|
23797
23747
|
variant: "transparent",
|
|
23798
23748
|
size: "icon",
|
|
23799
|
-
onClick: () => _optionalChain([onNext, 'optionalCall',
|
|
23749
|
+
onClick: () => _optionalChain([onNext, 'optionalCall', _532 => _532("")]),
|
|
23800
23750
|
disabled: !hasNextPage || loading,
|
|
23801
23751
|
className: "h-8 w-8",
|
|
23802
23752
|
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" }),
|
|
@@ -23808,7 +23758,7 @@ function CursorPaginationSimple({
|
|
|
23808
23758
|
|
|
23809
23759
|
// src/components/ui/table/table-empty-state.tsx
|
|
23810
23760
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
23811
|
-
|
|
23761
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
23812
23762
|
|
|
23813
23763
|
|
|
23814
23764
|
function TableEmptyState({
|
|
@@ -23828,7 +23778,7 @@ function TableEmptyState({
|
|
|
23828
23778
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-4 text-ods-text-secondary", children: icon || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.FileX2, { className: "w-12 h-12" }) }),
|
|
23829
23779
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-secondary text-center mb-6", children: message }),
|
|
23830
23780
|
action && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23831
|
-
|
|
23781
|
+
_chunk3B43AHYEcjs.Button,
|
|
23832
23782
|
{
|
|
23833
23783
|
variant: "outline",
|
|
23834
23784
|
onClick: action.onClick,
|
|
@@ -23856,7 +23806,7 @@ function TableColumnFilterDropdown({
|
|
|
23856
23806
|
placement = "bottom-start",
|
|
23857
23807
|
dropdownClassName = "min-w-[240px]"
|
|
23858
23808
|
}) {
|
|
23859
|
-
const activeCount = _optionalChain([filters, 'optionalAccess',
|
|
23809
|
+
const activeCount = _optionalChain([filters, 'optionalAccess', _533 => _533[columnKey], 'optionalAccess', _534 => _534.length]) || 0;
|
|
23860
23810
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23861
23811
|
FiltersDropdown,
|
|
23862
23812
|
{
|
|
@@ -23899,7 +23849,7 @@ function TableColumnFilterDropdown({
|
|
|
23899
23849
|
delete newFilters[columnKey];
|
|
23900
23850
|
onFilterChange(newFilters);
|
|
23901
23851
|
},
|
|
23902
|
-
currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess',
|
|
23852
|
+
currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess', _535 => _535[columnKey]]) || [] },
|
|
23903
23853
|
placement,
|
|
23904
23854
|
dropdownClassName
|
|
23905
23855
|
}
|
|
@@ -23985,7 +23935,7 @@ function TableHeader({
|
|
|
23985
23935
|
),
|
|
23986
23936
|
children: [
|
|
23987
23937
|
selectable && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center justify-center w-10 shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23988
|
-
|
|
23938
|
+
_chunk3B43AHYEcjs.Checkbox,
|
|
23989
23939
|
{
|
|
23990
23940
|
checked: allSelected || someSelected && !allSelected ? true : false,
|
|
23991
23941
|
onCheckedChange: onSelectAll,
|
|
@@ -24196,7 +24146,7 @@ function TableRow({
|
|
|
24196
24146
|
const keys = column.key.split(".");
|
|
24197
24147
|
let value = item;
|
|
24198
24148
|
for (const key of keys) {
|
|
24199
|
-
value = _optionalChain([value, 'optionalAccess',
|
|
24149
|
+
value = _optionalChain([value, 'optionalAccess', _536 => _536[key]]);
|
|
24200
24150
|
}
|
|
24201
24151
|
if (value === null || value === void 0) {
|
|
24202
24152
|
return "-";
|
|
@@ -24238,7 +24188,7 @@ function TableRow({
|
|
|
24238
24188
|
),
|
|
24239
24189
|
children: [
|
|
24240
24190
|
selectable && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center justify-center w-10 shrink-0 pointer-events-auto", "data-no-row-click": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24241
|
-
|
|
24191
|
+
_chunk3B43AHYEcjs.Checkbox,
|
|
24242
24192
|
{
|
|
24243
24193
|
checked: selected,
|
|
24244
24194
|
onCheckedChange: handleSelect,
|
|
@@ -24266,7 +24216,7 @@ function TableRow({
|
|
|
24266
24216
|
// src/components/ui/table/table.tsx
|
|
24267
24217
|
|
|
24268
24218
|
function injectSyntheticColumns(columns, rowActions, renderRowActions, rowHref) {
|
|
24269
|
-
const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess',
|
|
24219
|
+
const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess', _537 => _537.length])) || Boolean(renderRowActions);
|
|
24270
24220
|
const result = [...columns];
|
|
24271
24221
|
if (hasActions) {
|
|
24272
24222
|
const actionsColumn = {
|
|
@@ -24275,7 +24225,7 @@ function injectSyntheticColumns(columns, rowActions, renderRowActions, rowHref)
|
|
|
24275
24225
|
width: "min-w-[100px] w-auto shrink-0 flex-none",
|
|
24276
24226
|
align: "right",
|
|
24277
24227
|
renderCell: (item) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-2 items-center justify-end pointer-events-auto", "data-no-row-click": true, children: renderRowActions ? renderRowActions(item) : rowActions.map((action, actionIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24278
|
-
|
|
24228
|
+
_chunk3B43AHYEcjs.Button,
|
|
24279
24229
|
{
|
|
24280
24230
|
variant: "outline",
|
|
24281
24231
|
onClick: (e) => {
|
|
@@ -24301,7 +24251,7 @@ function injectSyntheticColumns(columns, rowActions, renderRowActions, rowHref)
|
|
|
24301
24251
|
const href = rowHref(item);
|
|
24302
24252
|
if (!href) return null;
|
|
24303
24253
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center justify-end pointer-events-auto", "data-no-row-click": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24304
|
-
|
|
24254
|
+
_chunk3B43AHYEcjs.Button,
|
|
24305
24255
|
{
|
|
24306
24256
|
href,
|
|
24307
24257
|
prefetch: false,
|
|
@@ -24360,7 +24310,7 @@ function Table({
|
|
|
24360
24310
|
return rowKey(item);
|
|
24361
24311
|
}
|
|
24362
24312
|
const key = item[rowKey];
|
|
24363
|
-
return _optionalChain([key, 'optionalAccess',
|
|
24313
|
+
return _optionalChain([key, 'optionalAccess', _538 => _538.toString, 'call', _539 => _539()]) || index.toString();
|
|
24364
24314
|
};
|
|
24365
24315
|
const getRowClassName = (item, index) => {
|
|
24366
24316
|
if (typeof rowClassName === "function") {
|
|
@@ -24394,23 +24344,23 @@ function Table({
|
|
|
24394
24344
|
const allSelected = selectedRows.length > 0 && selectedRows.length === data.length;
|
|
24395
24345
|
const someSelected = selectedRows.length > 0 && selectedRows.length < data.length;
|
|
24396
24346
|
const sentinelRef = _react.useRef.call(void 0, null);
|
|
24397
|
-
const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess',
|
|
24398
|
-
onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess',
|
|
24347
|
+
const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess', _540 => _540.onLoadMore]));
|
|
24348
|
+
onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess', _541 => _541.onLoadMore]);
|
|
24399
24349
|
_react.useEffect.call(void 0, () => {
|
|
24400
|
-
if (!_optionalChain([infiniteScroll, 'optionalAccess',
|
|
24350
|
+
if (!_optionalChain([infiniteScroll, 'optionalAccess', _542 => _542.hasNextPage]) || infiniteScroll.isFetchingNextPage) return;
|
|
24401
24351
|
const sentinel = sentinelRef.current;
|
|
24402
24352
|
if (!sentinel) return;
|
|
24403
24353
|
const observer = new IntersectionObserver(
|
|
24404
24354
|
(entries) => {
|
|
24405
|
-
if (_optionalChain([entries, 'access',
|
|
24406
|
-
_optionalChain([onLoadMoreRef, 'access',
|
|
24355
|
+
if (_optionalChain([entries, 'access', _543 => _543[0], 'optionalAccess', _544 => _544.isIntersecting])) {
|
|
24356
|
+
_optionalChain([onLoadMoreRef, 'access', _545 => _545.current, 'optionalCall', _546 => _546()]);
|
|
24407
24357
|
}
|
|
24408
24358
|
},
|
|
24409
24359
|
{ rootMargin: "200px" }
|
|
24410
24360
|
);
|
|
24411
24361
|
observer.observe(sentinel);
|
|
24412
24362
|
return () => observer.disconnect();
|
|
24413
|
-
}, [_optionalChain([infiniteScroll, 'optionalAccess',
|
|
24363
|
+
}, [_optionalChain([infiniteScroll, 'optionalAccess', _547 => _547.hasNextPage]), _optionalChain([infiniteScroll, 'optionalAccess', _548 => _548.isFetchingNextPage])]);
|
|
24414
24364
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkUC43NICZcjs.cn.call(void 0, "flex flex-col gap-1 w-full", containerClassName), children: [
|
|
24415
24365
|
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: [
|
|
24416
24366
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary text-sm", children: [
|
|
@@ -24481,7 +24431,7 @@ function Table({
|
|
|
24481
24431
|
},
|
|
24482
24432
|
getRowKey(item, index)
|
|
24483
24433
|
)),
|
|
24484
|
-
_optionalChain([infiniteScroll, 'optionalAccess',
|
|
24434
|
+
_optionalChain([infiniteScroll, 'optionalAccess', _549 => _549.isFetchingNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24485
24435
|
TableCardSkeleton,
|
|
24486
24436
|
{
|
|
24487
24437
|
columns,
|
|
@@ -24490,7 +24440,7 @@ function Table({
|
|
|
24490
24440
|
hasChevron: Boolean(rowHref)
|
|
24491
24441
|
}
|
|
24492
24442
|
),
|
|
24493
|
-
_optionalChain([infiniteScroll, 'optionalAccess',
|
|
24443
|
+
_optionalChain([infiniteScroll, 'optionalAccess', _550 => _550.hasNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: sentinelRef, className: "h-1", "aria-hidden": "true" }),
|
|
24494
24444
|
!infiniteScroll && Array.from({ length: Math.max(0, skeletonRows - data.length) }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24495
24445
|
"div",
|
|
24496
24446
|
{
|
|
@@ -24603,7 +24553,7 @@ function TableTimestampCell({
|
|
|
24603
24553
|
|
|
24604
24554
|
// src/components/ui/query-report-table/query-report-table.tsx
|
|
24605
24555
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
24606
|
-
|
|
24556
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
24607
24557
|
|
|
24608
24558
|
|
|
24609
24559
|
// src/components/ui/query-report-table/query-report-table-header.tsx
|
|
@@ -24848,7 +24798,7 @@ function QueryReportTable({
|
|
|
24848
24798
|
);
|
|
24849
24799
|
const handleExport = () => {
|
|
24850
24800
|
exportToCSV(data, columns, exportFilename);
|
|
24851
|
-
_optionalChain([onExport, 'optionalCall',
|
|
24801
|
+
_optionalChain([onExport, 'optionalCall', _551 => _551()]);
|
|
24852
24802
|
};
|
|
24853
24803
|
const tableMinWidth = columns.length * (columnWidth + 16);
|
|
24854
24804
|
const {
|
|
@@ -24871,7 +24821,7 @@ function QueryReportTable({
|
|
|
24871
24821
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
24872
24822
|
headerActions,
|
|
24873
24823
|
showExport && data.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24874
|
-
|
|
24824
|
+
_chunk3B43AHYEcjs.Button,
|
|
24875
24825
|
{
|
|
24876
24826
|
className: "bg-ods-card",
|
|
24877
24827
|
variant: "outline",
|
|
@@ -25021,7 +24971,7 @@ function DataTableColumnFilter({
|
|
|
25021
24971
|
align = "left"
|
|
25022
24972
|
}) {
|
|
25023
24973
|
const currentValue = column.getFilterValue();
|
|
25024
|
-
const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess',
|
|
24974
|
+
const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess', _552 => _552.length]), () => ( 0));
|
|
25025
24975
|
const sections = _react.useMemo.call(void 0,
|
|
25026
24976
|
() => [
|
|
25027
24977
|
{
|
|
@@ -25101,7 +25051,7 @@ function DataTableHeader({
|
|
|
25101
25051
|
const hasVisibleHeaderCell = headerGroup.headers.some((header) => {
|
|
25102
25052
|
if (header.isPlaceholder) return false;
|
|
25103
25053
|
if (isLgUp) return true;
|
|
25104
|
-
return Boolean(_optionalChain([header, 'access',
|
|
25054
|
+
return Boolean(_optionalChain([header, 'access', _553 => _553.column, 'access', _554 => _554.columnDef, 'access', _555 => _555.meta, 'optionalAccess', _556 => _556.filter]));
|
|
25105
25055
|
});
|
|
25106
25056
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25107
25057
|
"div",
|
|
@@ -25131,20 +25081,20 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
|
|
|
25131
25081
|
if (header.isPlaceholder) return null;
|
|
25132
25082
|
const column = header.column;
|
|
25133
25083
|
const meta = column.columnDef.meta;
|
|
25134
|
-
const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess',
|
|
25135
|
-
const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
25136
|
-
const canSort = _optionalChain([meta, 'optionalAccess',
|
|
25137
|
-
const sortDir = _optionalChain([sort, 'optionalAccess',
|
|
25084
|
+
const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess', _557 => _557.filter]));
|
|
25085
|
+
const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _558 => _558.align]), () => ( "left"));
|
|
25086
|
+
const canSort = _optionalChain([meta, 'optionalAccess', _559 => _559.sortable]) === true;
|
|
25087
|
+
const sortDir = _optionalChain([sort, 'optionalAccess', _560 => _560.id]) === column.id ? sort.desc ? "desc" : "asc" : false;
|
|
25138
25088
|
if (!isLgUp && !hasFilter) return null;
|
|
25139
25089
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25140
25090
|
"div",
|
|
25141
25091
|
{
|
|
25142
25092
|
className: _chunkUC43NICZcjs.cn.call(void 0,
|
|
25143
25093
|
"flex items-stretch",
|
|
25144
|
-
isLgUp && (_optionalChain([meta, 'optionalAccess',
|
|
25145
|
-
_optionalChain([meta, 'optionalAccess',
|
|
25094
|
+
isLgUp && (_optionalChain([meta, 'optionalAccess', _561 => _561.width]) || "flex-1 min-w-0"),
|
|
25095
|
+
_optionalChain([meta, 'optionalAccess', _562 => _562.headerClassName]),
|
|
25146
25096
|
// Don't apply hide classes if column is filterable on tablet (keep filter accessible)
|
|
25147
|
-
!(hasFilter && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess',
|
|
25097
|
+
!(hasFilter && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess', _563 => _563.hideAt]))
|
|
25148
25098
|
),
|
|
25149
25099
|
children: hasFilter ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25150
25100
|
DataTableColumnFilter,
|
|
@@ -25163,7 +25113,7 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
|
|
|
25163
25113
|
isLgUp && alignJustify(align),
|
|
25164
25114
|
canSort && "group cursor-pointer"
|
|
25165
25115
|
),
|
|
25166
|
-
onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall',
|
|
25116
|
+
onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall', _564 => _564(column.id)]) : void 0,
|
|
25167
25117
|
children: [
|
|
25168
25118
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
25169
25119
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -25196,7 +25146,7 @@ _chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
|
25196
25146
|
|
|
25197
25147
|
// src/components/ui/data-table/data-table-empty.tsx
|
|
25198
25148
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
25199
|
-
|
|
25149
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
25200
25150
|
|
|
25201
25151
|
|
|
25202
25152
|
function DataTableEmpty({
|
|
@@ -25216,7 +25166,7 @@ function DataTableEmpty({
|
|
|
25216
25166
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-[var(--spacing-system-mf)] text-ods-text-secondary", children: _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.FileX2, { className: "w-12 h-12" }))) }),
|
|
25217
25167
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-secondary text-center mb-[var(--spacing-system-lf)]", children: message }),
|
|
25218
25168
|
action && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25219
|
-
|
|
25169
|
+
_chunk3B43AHYEcjs.Button,
|
|
25220
25170
|
{
|
|
25221
25171
|
variant: "outline",
|
|
25222
25172
|
onClick: action.onClick,
|
|
@@ -25247,7 +25197,7 @@ function DataTableSkeleton({
|
|
|
25247
25197
|
}) {
|
|
25248
25198
|
const table = useDataTableContext();
|
|
25249
25199
|
const columns = table.getVisibleFlatColumns();
|
|
25250
|
-
const firstColumnId = _optionalChain([columns, 'access',
|
|
25200
|
+
const firstColumnId = _optionalChain([columns, 'access', _565 => _565[0], 'optionalAccess', _566 => _566.id]);
|
|
25251
25201
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25252
25202
|
"div",
|
|
25253
25203
|
{
|
|
@@ -25271,7 +25221,7 @@ function DataTableSkeleton({
|
|
|
25271
25221
|
{
|
|
25272
25222
|
className: _chunkUC43NICZcjs.cn.call(void 0,
|
|
25273
25223
|
"flex flex-col justify-center shrink-0",
|
|
25274
|
-
_optionalChain([meta, 'optionalAccess',
|
|
25224
|
+
_optionalChain([meta, 'optionalAccess', _567 => _567.width]) || "flex-1"
|
|
25275
25225
|
),
|
|
25276
25226
|
children: [
|
|
25277
25227
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-5 bg-ods-bg-surface rounded-sm w-3/4 mb-[var(--spacing-system-xxs)]" }),
|
|
@@ -25317,7 +25267,7 @@ function DataTableRowImpl({
|
|
|
25317
25267
|
(e) => {
|
|
25318
25268
|
const target = e.target;
|
|
25319
25269
|
if (target.closest("[data-no-row-click]")) return;
|
|
25320
|
-
_optionalChain([onClick, 'optionalCall',
|
|
25270
|
+
_optionalChain([onClick, 'optionalCall', _568 => _568(row.original)]);
|
|
25321
25271
|
},
|
|
25322
25272
|
[onClick, row.original]
|
|
25323
25273
|
);
|
|
@@ -25355,10 +25305,10 @@ function DataTableRowImpl({
|
|
|
25355
25305
|
{
|
|
25356
25306
|
className: _chunkUC43NICZcjs.cn.call(void 0,
|
|
25357
25307
|
"flex flex-col overflow-hidden",
|
|
25358
|
-
alignJustify(_optionalChain([meta, 'optionalAccess',
|
|
25359
|
-
_optionalChain([meta, 'optionalAccess',
|
|
25360
|
-
_optionalChain([meta, 'optionalAccess',
|
|
25361
|
-
getHideClasses2(_optionalChain([meta, 'optionalAccess',
|
|
25308
|
+
alignJustify(_optionalChain([meta, 'optionalAccess', _569 => _569.align])),
|
|
25309
|
+
_optionalChain([meta, 'optionalAccess', _570 => _570.width]) || "flex-1 min-w-0",
|
|
25310
|
+
_optionalChain([meta, 'optionalAccess', _571 => _571.cellClassName]),
|
|
25311
|
+
getHideClasses2(_optionalChain([meta, 'optionalAccess', _572 => _572.hideAt]))
|
|
25362
25312
|
),
|
|
25363
25313
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CellContent, { children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) })
|
|
25364
25314
|
},
|
|
@@ -25404,7 +25354,7 @@ function DataTableBody({
|
|
|
25404
25354
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkUC43NICZcjs.cn.call(void 0, "flex flex-col gap-[var(--spacing-system-xsf)] w-full", className), children: [
|
|
25405
25355
|
rows.map((row, index) => {
|
|
25406
25356
|
const item = row.original;
|
|
25407
|
-
const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall',
|
|
25357
|
+
const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall', _573 => _573(item)]), () => ( void 0));
|
|
25408
25358
|
const cls = typeof rowClassName === "function" ? rowClassName(item, index) : rowClassName;
|
|
25409
25359
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25410
25360
|
DataTableRow,
|
|
@@ -25468,7 +25418,7 @@ function DataTableInfiniteFooter({
|
|
|
25468
25418
|
if (!sentinel) return;
|
|
25469
25419
|
const observer = new IntersectionObserver(
|
|
25470
25420
|
(entries) => {
|
|
25471
|
-
if (_optionalChain([entries, 'access',
|
|
25421
|
+
if (_optionalChain([entries, 'access', _574 => _574[0], 'optionalAccess', _575 => _575.isIntersecting])) onLoadMoreRef.current();
|
|
25472
25422
|
},
|
|
25473
25423
|
{ rootMargin }
|
|
25474
25424
|
);
|
|
@@ -25516,7 +25466,7 @@ function DataTableRowCount({
|
|
|
25516
25466
|
const table = useDataTableContext();
|
|
25517
25467
|
const count = _nullishCoalesce(totalCount, () => ( table.getRowModel().rows.length));
|
|
25518
25468
|
if (hideWhenEmpty && count === 0) return null;
|
|
25519
|
-
const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall',
|
|
25469
|
+
const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _576 => _576(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
|
|
25520
25470
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25521
25471
|
"span",
|
|
25522
25472
|
{
|
|
@@ -25610,12 +25560,12 @@ function PhoneInput({
|
|
|
25610
25560
|
const runValidation = _react.useCallback.call(void 0, (phone) => {
|
|
25611
25561
|
if (!phone || digitCount(phone) === 0) {
|
|
25612
25562
|
setIsInvalid(false);
|
|
25613
|
-
_optionalChain([onValidationChange, 'optionalCall',
|
|
25563
|
+
_optionalChain([onValidationChange, 'optionalCall', _577 => _577(false)]);
|
|
25614
25564
|
return;
|
|
25615
25565
|
}
|
|
25616
25566
|
const invalid = !validatePhoneNumber(phone, countryCode);
|
|
25617
25567
|
setIsInvalid(invalid);
|
|
25618
|
-
_optionalChain([onValidationChange, 'optionalCall',
|
|
25568
|
+
_optionalChain([onValidationChange, 'optionalCall', _578 => _578(invalid)]);
|
|
25619
25569
|
}, [countryCode, digitCount, onValidationChange]);
|
|
25620
25570
|
const debouncedValidation = _react.useCallback.call(void 0, (phone) => {
|
|
25621
25571
|
if (debounceRef.current) clearTimeout(debounceRef.current);
|
|
@@ -25652,7 +25602,7 @@ function PhoneInput({
|
|
|
25652
25602
|
}
|
|
25653
25603
|
),
|
|
25654
25604
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25655
|
-
|
|
25605
|
+
_chunk3B43AHYEcjs.Input,
|
|
25656
25606
|
{
|
|
25657
25607
|
type: "tel",
|
|
25658
25608
|
value,
|
|
@@ -25664,7 +25614,7 @@ function PhoneInput({
|
|
|
25664
25614
|
debouncedValidation(val);
|
|
25665
25615
|
} else if (digitCount(val) === 0) {
|
|
25666
25616
|
setIsInvalid(false);
|
|
25667
|
-
_optionalChain([onValidationChange, 'optionalCall',
|
|
25617
|
+
_optionalChain([onValidationChange, 'optionalCall', _579 => _579(false)]);
|
|
25668
25618
|
}
|
|
25669
25619
|
}
|
|
25670
25620
|
},
|
|
@@ -25771,7 +25721,7 @@ function SearchInput({
|
|
|
25771
25721
|
if (!showHiddenTags) return;
|
|
25772
25722
|
const handleClick = (e) => {
|
|
25773
25723
|
const target = e.target;
|
|
25774
|
-
if (!_optionalChain([hiddenTagsRef, 'access',
|
|
25724
|
+
if (!_optionalChain([hiddenTagsRef, 'access', _580 => _580.current, 'optionalAccess', _581 => _581.contains, 'call', _582 => _582(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _583 => _583.current, 'optionalAccess', _584 => _584.contains, 'call', _585 => _585(target)])) {
|
|
25775
25725
|
setShowHiddenTags(false);
|
|
25776
25726
|
}
|
|
25777
25727
|
};
|
|
@@ -25819,10 +25769,10 @@ function SearchInput({
|
|
|
25819
25769
|
} else {
|
|
25820
25770
|
setInternalValue("");
|
|
25821
25771
|
}
|
|
25822
|
-
_optionalChain([inputRef, 'access',
|
|
25772
|
+
_optionalChain([inputRef, 'access', _586 => _586.current, 'optionalAccess', _587 => _587.focus, 'call', _588 => _588()]);
|
|
25823
25773
|
};
|
|
25824
25774
|
const handleResultClick = (result, e) => {
|
|
25825
|
-
_optionalChain([onResultSelect, 'optionalCall',
|
|
25775
|
+
_optionalChain([onResultSelect, 'optionalCall', _589 => _589(
|
|
25826
25776
|
result,
|
|
25827
25777
|
e ? {
|
|
25828
25778
|
metaKey: e.metaKey,
|
|
@@ -25854,7 +25804,7 @@ function SearchInput({
|
|
|
25854
25804
|
if (highlightedIndex >= 0 && flatResults[highlightedIndex]) {
|
|
25855
25805
|
handleResultClick(flatResults[highlightedIndex]);
|
|
25856
25806
|
} else {
|
|
25857
|
-
_optionalChain([onSubmit, 'optionalCall',
|
|
25807
|
+
_optionalChain([onSubmit, 'optionalCall', _590 => _590(currentValue)]);
|
|
25858
25808
|
}
|
|
25859
25809
|
break;
|
|
25860
25810
|
case "Escape":
|
|
@@ -25932,7 +25882,7 @@ function SearchInput({
|
|
|
25932
25882
|
dropdownVisible && "!border-ods-accent"
|
|
25933
25883
|
),
|
|
25934
25884
|
onClick: () => {
|
|
25935
|
-
_optionalChain([inputRef, 'access',
|
|
25885
|
+
_optionalChain([inputRef, 'access', _591 => _591.current, 'optionalAccess', _592 => _592.focus, 'call', _593 => _593()]);
|
|
25936
25886
|
setIsOpen(true);
|
|
25937
25887
|
},
|
|
25938
25888
|
children: [
|
|
@@ -26016,10 +25966,10 @@ function SearchInput({
|
|
|
26016
25966
|
align: "start",
|
|
26017
25967
|
onOpenAutoFocus: (e) => {
|
|
26018
25968
|
e.preventDefault();
|
|
26019
|
-
_optionalChain([inputRef, 'access',
|
|
25969
|
+
_optionalChain([inputRef, 'access', _594 => _594.current, 'optionalAccess', _595 => _595.focus, 'call', _596 => _596()]);
|
|
26020
25970
|
},
|
|
26021
25971
|
onInteractOutside: (e) => {
|
|
26022
|
-
if (_optionalChain([containerRef, 'access',
|
|
25972
|
+
if (_optionalChain([containerRef, 'access', _597 => _597.current, 'optionalAccess', _598 => _598.contains, 'call', _599 => _599(e.target)])) {
|
|
26023
25973
|
e.preventDefault();
|
|
26024
25974
|
}
|
|
26025
25975
|
},
|
|
@@ -26036,10 +25986,10 @@ function SearchInput({
|
|
|
26036
25986
|
ref: hiddenTagsPopupRef,
|
|
26037
25987
|
items: hiddenChips.map((chip) => ({ label: chip.label, value: chip.id })),
|
|
26038
25988
|
style: {
|
|
26039
|
-
left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access',
|
|
25989
|
+
left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access', _600 => _600.current, 'optionalAccess', _601 => _601.getBoundingClientRect, 'call', _602 => _602(), 'access', _603 => _603.left]), () => ( 0))) : 0
|
|
26040
25990
|
},
|
|
26041
25991
|
onRemove: (value2) => {
|
|
26042
|
-
_optionalChain([onFilterRemove, 'optionalCall',
|
|
25992
|
+
_optionalChain([onFilterRemove, 'optionalCall', _604 => _604(value2)]);
|
|
26043
25993
|
if (hiddenCount <= 1) setShowHiddenTags(false);
|
|
26044
25994
|
}
|
|
26045
25995
|
}
|
|
@@ -26090,7 +26040,7 @@ function FilterListItem({
|
|
|
26090
26040
|
}) {
|
|
26091
26041
|
const handleToggle = () => {
|
|
26092
26042
|
if (disabled) return;
|
|
26093
|
-
_optionalChain([onToggle, 'optionalCall',
|
|
26043
|
+
_optionalChain([onToggle, 'optionalCall', _605 => _605(!selected)]);
|
|
26094
26044
|
};
|
|
26095
26045
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
26096
26046
|
"div",
|
|
@@ -26137,7 +26087,7 @@ function FilterListItem({
|
|
|
26137
26087
|
CheckboxPrimitive4.Root,
|
|
26138
26088
|
{
|
|
26139
26089
|
checked: selected,
|
|
26140
|
-
onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall',
|
|
26090
|
+
onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _606 => _606(c === true)]),
|
|
26141
26091
|
onClick: (e) => e.stopPropagation(),
|
|
26142
26092
|
disabled,
|
|
26143
26093
|
"aria-label": title,
|
|
@@ -26236,7 +26186,7 @@ function TagSearchInput({
|
|
|
26236
26186
|
if (!showHiddenTags) return;
|
|
26237
26187
|
const handleClick = (e) => {
|
|
26238
26188
|
const target = e.target;
|
|
26239
|
-
if (!_optionalChain([hiddenTagsRef, 'access',
|
|
26189
|
+
if (!_optionalChain([hiddenTagsRef, 'access', _607 => _607.current, 'optionalAccess', _608 => _608.contains, 'call', _609 => _609(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _610 => _610.current, 'optionalAccess', _611 => _611.contains, 'call', _612 => _612(target)])) {
|
|
26240
26190
|
setShowHiddenTags(false);
|
|
26241
26191
|
}
|
|
26242
26192
|
};
|
|
@@ -26252,13 +26202,13 @@ function TagSearchInput({
|
|
|
26252
26202
|
e.preventDefault();
|
|
26253
26203
|
onSubmit(searchValue);
|
|
26254
26204
|
}
|
|
26255
|
-
_optionalChain([onKeyDown, 'optionalCall',
|
|
26205
|
+
_optionalChain([onKeyDown, 'optionalCall', _613 => _613(e)]);
|
|
26256
26206
|
};
|
|
26257
26207
|
const handleClearAll = (e) => {
|
|
26258
26208
|
e.stopPropagation();
|
|
26259
26209
|
e.preventDefault();
|
|
26260
|
-
_optionalChain([onClearAll, 'optionalCall',
|
|
26261
|
-
_optionalChain([inputRef, 'access',
|
|
26210
|
+
_optionalChain([onClearAll, 'optionalCall', _614 => _614()]);
|
|
26211
|
+
_optionalChain([inputRef, 'access', _615 => _615.current, 'optionalAccess', _616 => _616.focus, 'call', _617 => _617()]);
|
|
26262
26212
|
};
|
|
26263
26213
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: wrapperRef, className: "relative", children: [
|
|
26264
26214
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -26275,7 +26225,7 @@ function TagSearchInput({
|
|
|
26275
26225
|
className
|
|
26276
26226
|
),
|
|
26277
26227
|
onClick: () => {
|
|
26278
|
-
if (!disabled) _optionalChain([inputRef, 'access',
|
|
26228
|
+
if (!disabled) _optionalChain([inputRef, 'access', _618 => _618.current, 'optionalAccess', _619 => _619.focus, 'call', _620 => _620()]);
|
|
26279
26229
|
},
|
|
26280
26230
|
children: [
|
|
26281
26231
|
/* @__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" }) }),
|
|
@@ -26347,7 +26297,7 @@ function TagSearchInput({
|
|
|
26347
26297
|
items: hiddenTags,
|
|
26348
26298
|
disabled,
|
|
26349
26299
|
style: {
|
|
26350
|
-
left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access',
|
|
26300
|
+
left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access', _621 => _621.current, 'optionalAccess', _622 => _622.getBoundingClientRect, 'call', _623 => _623(), 'access', _624 => _624.left]), () => ( 0))) : 0
|
|
26351
26301
|
},
|
|
26352
26302
|
onRemove: (value) => {
|
|
26353
26303
|
onTagRemove(value);
|
|
@@ -26449,7 +26399,7 @@ function MarkdownEditor({
|
|
|
26449
26399
|
const [defaultExtraCommands, setDefaultExtraCommands] = _react.useState.call(void 0, []);
|
|
26450
26400
|
_react.useEffect.call(void 0, () => {
|
|
26451
26401
|
Promise.resolve().then(() => _interopRequireWildcard(require("@uiw/react-md-editor"))).then((mod) => {
|
|
26452
|
-
if (_optionalChain([mod, 'access',
|
|
26402
|
+
if (_optionalChain([mod, 'access', _625 => _625.commands, 'optionalAccess', _626 => _626.getExtraCommands])) {
|
|
26453
26403
|
setDefaultExtraCommands(mod.commands.getExtraCommands());
|
|
26454
26404
|
}
|
|
26455
26405
|
});
|
|
@@ -26483,7 +26433,7 @@ function MarkdownEditor({
|
|
|
26483
26433
|
const isImage = file.type.startsWith("image/");
|
|
26484
26434
|
const markdown = isImage ? `` : `[${file.name}](${url})`;
|
|
26485
26435
|
insertTextAtCursor(markdown);
|
|
26486
|
-
_optionalChain([onFileUploaded, 'optionalCall',
|
|
26436
|
+
_optionalChain([onFileUploaded, 'optionalCall', _627 => _627(url, file.name)]);
|
|
26487
26437
|
} catch (error) {
|
|
26488
26438
|
console.error("File upload failed:", error);
|
|
26489
26439
|
setUploadProgress("Upload failed. Please try again.");
|
|
@@ -26496,7 +26446,7 @@ function MarkdownEditor({
|
|
|
26496
26446
|
);
|
|
26497
26447
|
const handleFileInputChange = _react.useCallback.call(void 0,
|
|
26498
26448
|
(e) => {
|
|
26499
|
-
const file = _optionalChain([e, 'access',
|
|
26449
|
+
const file = _optionalChain([e, 'access', _628 => _628.target, 'access', _629 => _629.files, 'optionalAccess', _630 => _630[0]]);
|
|
26500
26450
|
if (file) {
|
|
26501
26451
|
handleFileUpload(file);
|
|
26502
26452
|
e.target.value = "";
|
|
@@ -26507,7 +26457,7 @@ function MarkdownEditor({
|
|
|
26507
26457
|
const handlePaste = _react.useCallback.call(void 0,
|
|
26508
26458
|
(e) => {
|
|
26509
26459
|
if (!onUploadFile) return;
|
|
26510
|
-
const items = _optionalChain([e, 'access',
|
|
26460
|
+
const items = _optionalChain([e, 'access', _631 => _631.clipboardData, 'optionalAccess', _632 => _632.items]);
|
|
26511
26461
|
if (!items) return;
|
|
26512
26462
|
for (const item of items) {
|
|
26513
26463
|
if (item.type.startsWith("image/")) {
|
|
@@ -26532,7 +26482,7 @@ function MarkdownEditor({
|
|
|
26532
26482
|
buttonProps: { "aria-label": "Upload file", title: "Upload file" },
|
|
26533
26483
|
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" }),
|
|
26534
26484
|
execute: () => {
|
|
26535
|
-
_optionalChain([fileInputRef, 'access',
|
|
26485
|
+
_optionalChain([fileInputRef, 'access', _633 => _633.current, 'optionalAccess', _634 => _634.click, 'call', _635 => _635()]);
|
|
26536
26486
|
}
|
|
26537
26487
|
} : null;
|
|
26538
26488
|
const extraCommands = uploadCommand ? [...defaultExtraCommands, uploadCommand] : defaultExtraCommands;
|
|
@@ -26544,7 +26494,7 @@ function MarkdownEditor({
|
|
|
26544
26494
|
const EDGE_ZONE = 60;
|
|
26545
26495
|
const MAX_SCROLL_SPEED = 15;
|
|
26546
26496
|
const findScrollParent = _react.useCallback.call(void 0, (el) => {
|
|
26547
|
-
let node = _optionalChain([el, 'optionalAccess',
|
|
26497
|
+
let node = _optionalChain([el, 'optionalAccess', _636 => _636.parentElement]);
|
|
26548
26498
|
while (node && node !== document.documentElement) {
|
|
26549
26499
|
const { overflowY } = window.getComputedStyle(node);
|
|
26550
26500
|
if ((overflowY === "auto" || overflowY === "scroll") && node.scrollHeight > node.clientHeight) {
|
|
@@ -26687,7 +26637,7 @@ function matchesAccept(file, accept) {
|
|
|
26687
26637
|
});
|
|
26688
26638
|
}
|
|
26689
26639
|
function dragHasFiles(e) {
|
|
26690
|
-
const types = _optionalChain([e, 'access',
|
|
26640
|
+
const types = _optionalChain([e, 'access', _637 => _637.dataTransfer, 'optionalAccess', _638 => _638.types]);
|
|
26691
26641
|
if (!types) return false;
|
|
26692
26642
|
for (let i = 0; i < types.length; i++) {
|
|
26693
26643
|
if (types[i] === "Files") return true;
|
|
@@ -26782,7 +26732,7 @@ function FileUpload({
|
|
|
26782
26732
|
e.stopPropagation();
|
|
26783
26733
|
setDragActive(false);
|
|
26784
26734
|
if (disabled) return;
|
|
26785
|
-
if (_optionalChain([e, 'access',
|
|
26735
|
+
if (_optionalChain([e, 'access', _639 => _639.dataTransfer, 'access', _640 => _640.files, 'optionalAccess', _641 => _641.length])) {
|
|
26786
26736
|
handleFiles(e.dataTransfer.files);
|
|
26787
26737
|
}
|
|
26788
26738
|
};
|
|
@@ -26810,7 +26760,7 @@ function FileUpload({
|
|
|
26810
26760
|
e.preventDefault();
|
|
26811
26761
|
dragCounter = 0;
|
|
26812
26762
|
setDragActive(false);
|
|
26813
|
-
if (_optionalChain([e, 'access',
|
|
26763
|
+
if (_optionalChain([e, 'access', _642 => _642.dataTransfer, 'optionalAccess', _643 => _643.files, 'optionalAccess', _644 => _644.length])) {
|
|
26814
26764
|
handleFilesRef.current(e.dataTransfer.files);
|
|
26815
26765
|
}
|
|
26816
26766
|
};
|
|
@@ -26832,7 +26782,7 @@ function FileUpload({
|
|
|
26832
26782
|
};
|
|
26833
26783
|
}, [acceptWindowDrops, disabled]);
|
|
26834
26784
|
const handleFileSelect = (e) => {
|
|
26835
|
-
if (_optionalChain([e, 'access',
|
|
26785
|
+
if (_optionalChain([e, 'access', _645 => _645.target, 'access', _646 => _646.files, 'optionalAccess', _647 => _647.length])) {
|
|
26836
26786
|
handleFiles(e.target.files);
|
|
26837
26787
|
}
|
|
26838
26788
|
};
|
|
@@ -26849,13 +26799,13 @@ function FileUpload({
|
|
|
26849
26799
|
};
|
|
26850
26800
|
const openDialog = async () => {
|
|
26851
26801
|
if (disabled) return;
|
|
26852
|
-
_optionalChain([fileInputRef, 'access',
|
|
26802
|
+
_optionalChain([fileInputRef, 'access', _648 => _648.current, 'optionalAccess', _649 => _649.click, 'call', _650 => _650()]);
|
|
26853
26803
|
};
|
|
26854
26804
|
const displayError = error || validationError || void 0;
|
|
26855
26805
|
const hasFiles = isManaged ? managedFiles.length > 0 : files.length > 0;
|
|
26856
26806
|
const fileCount = currentCount;
|
|
26857
26807
|
const canAddMore = multiple && fileCount < maxFiles;
|
|
26858
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
26808
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3B43AHYEcjs.FieldWrapper, { label: fieldLabel, error: displayError, className, children: [
|
|
26859
26809
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26860
26810
|
"input",
|
|
26861
26811
|
{
|
|
@@ -26927,7 +26877,7 @@ function FileUpload({
|
|
|
26927
26877
|
"button",
|
|
26928
26878
|
{
|
|
26929
26879
|
type: "button",
|
|
26930
|
-
onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall',
|
|
26880
|
+
onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _651 => _651(entry.id)]),
|
|
26931
26881
|
className: "shrink-0 p-1 rounded hover:bg-ods-bg transition-colors",
|
|
26932
26882
|
"aria-label": `Remove ${entry.fileName}`,
|
|
26933
26883
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.X, { className: "size-4 text-ods-text-secondary" })
|
|
@@ -27050,7 +27000,7 @@ function ImageUploader({
|
|
|
27050
27000
|
onChange(file);
|
|
27051
27001
|
};
|
|
27052
27002
|
const handleFileSelect = (e) => {
|
|
27053
|
-
validateAndEmit(_optionalChain([e, 'access',
|
|
27003
|
+
validateAndEmit(_optionalChain([e, 'access', _652 => _652.target, 'access', _653 => _653.files, 'optionalAccess', _654 => _654[0]]));
|
|
27054
27004
|
if (inputRef.current) inputRef.current.value = "";
|
|
27055
27005
|
};
|
|
27056
27006
|
const handleDrag = (e) => {
|
|
@@ -27065,11 +27015,11 @@ function ImageUploader({
|
|
|
27065
27015
|
e.stopPropagation();
|
|
27066
27016
|
setDragActive(false);
|
|
27067
27017
|
if (!interactive) return;
|
|
27068
|
-
validateAndEmit(_optionalChain([e, 'access',
|
|
27018
|
+
validateAndEmit(_optionalChain([e, 'access', _655 => _655.dataTransfer, 'access', _656 => _656.files, 'optionalAccess', _657 => _657[0]]));
|
|
27069
27019
|
};
|
|
27070
27020
|
const openDialog = () => {
|
|
27071
27021
|
if (!interactive) return;
|
|
27072
|
-
_optionalChain([inputRef, 'access',
|
|
27022
|
+
_optionalChain([inputRef, 'access', _658 => _658.current, 'optionalAccess', _659 => _659.click, 'call', _660 => _660()]);
|
|
27073
27023
|
};
|
|
27074
27024
|
const handleRootKeyDown = (e) => {
|
|
27075
27025
|
if (hasImage || !interactive) return;
|
|
@@ -27079,7 +27029,7 @@ function ImageUploader({
|
|
|
27079
27029
|
}
|
|
27080
27030
|
};
|
|
27081
27031
|
const isActionState = dragActive || pressed && !hasImage;
|
|
27082
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
27032
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3B43AHYEcjs.FieldWrapper, { label: fieldLabel, error: displayError, className, children: [
|
|
27083
27033
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27084
27034
|
"input",
|
|
27085
27035
|
{
|
|
@@ -27226,7 +27176,7 @@ function CompactAssigneeDropdown({
|
|
|
27226
27176
|
return [current, ...filtered.filter((o) => o.value !== currentAssignee.id)];
|
|
27227
27177
|
}, [filtered, currentAssignee]);
|
|
27228
27178
|
const handleSelect = (userId) => {
|
|
27229
|
-
const next = _optionalChain([currentAssignee, 'optionalAccess',
|
|
27179
|
+
const next = _optionalChain([currentAssignee, 'optionalAccess', _661 => _661.id]) === userId ? null : userId;
|
|
27230
27180
|
onAssign(next);
|
|
27231
27181
|
setIsOpen(false);
|
|
27232
27182
|
};
|
|
@@ -27280,7 +27230,7 @@ function CompactAssigneeDropdown({
|
|
|
27280
27230
|
),
|
|
27281
27231
|
children: [
|
|
27282
27232
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-b border-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27283
|
-
|
|
27233
|
+
_chunk3B43AHYEcjs.Input,
|
|
27284
27234
|
{
|
|
27285
27235
|
autoFocus: true,
|
|
27286
27236
|
value: search,
|
|
@@ -27291,7 +27241,7 @@ function CompactAssigneeDropdown({
|
|
|
27291
27241
|
}
|
|
27292
27242
|
) }),
|
|
27293
27243
|
/* @__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) => {
|
|
27294
|
-
const isCurrent = _optionalChain([currentAssignee, 'optionalAccess',
|
|
27244
|
+
const isCurrent = _optionalChain([currentAssignee, 'optionalAccess', _662 => _662.id]) === opt.value;
|
|
27295
27245
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
27296
27246
|
"button",
|
|
27297
27247
|
{
|
|
@@ -27360,7 +27310,7 @@ function DefaultAssigneeDropdown({
|
|
|
27360
27310
|
Autocomplete,
|
|
27361
27311
|
{
|
|
27362
27312
|
options,
|
|
27363
|
-
value: _nullishCoalesce(_optionalChain([currentAssignee, 'optionalAccess',
|
|
27313
|
+
value: _nullishCoalesce(_optionalChain([currentAssignee, 'optionalAccess', _663 => _663.id]), () => ( null)),
|
|
27364
27314
|
onChange: (val) => {
|
|
27365
27315
|
onAssign(val);
|
|
27366
27316
|
setIsEditing(false);
|
|
@@ -27540,7 +27490,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
27540
27490
|
),
|
|
27541
27491
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1 min-w-0 overflow-hidden", children: isEditing ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
27542
27492
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27543
|
-
|
|
27493
|
+
_chunk3B43AHYEcjs.Input,
|
|
27544
27494
|
{
|
|
27545
27495
|
value: editText,
|
|
27546
27496
|
onChange: (e) => setEditText(e.target.value),
|
|
@@ -27639,7 +27589,7 @@ function TicketNotesSection({
|
|
|
27639
27589
|
)),
|
|
27640
27590
|
onAddNote && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
27641
27591
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27642
|
-
|
|
27592
|
+
_chunk3B43AHYEcjs.Input,
|
|
27643
27593
|
{
|
|
27644
27594
|
value: noteText,
|
|
27645
27595
|
onChange: (e) => setNoteText(e.target.value),
|
|
@@ -27718,14 +27668,14 @@ function TicketInfoSection({
|
|
|
27718
27668
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27719
27669
|
SquareAvatar,
|
|
27720
27670
|
{
|
|
27721
|
-
src: _optionalChain([organization, 'optionalAccess',
|
|
27722
|
-
alt: _optionalChain([organization, 'optionalAccess',
|
|
27723
|
-
fallback: _optionalChain([organization, 'optionalAccess',
|
|
27671
|
+
src: _optionalChain([organization, 'optionalAccess', _664 => _664.imageSrc]),
|
|
27672
|
+
alt: _optionalChain([organization, 'optionalAccess', _665 => _665.name]),
|
|
27673
|
+
fallback: _optionalChain([organization, 'optionalAccess', _666 => _666.name]) || "Org",
|
|
27724
27674
|
size: "md",
|
|
27725
27675
|
className: "shrink-0"
|
|
27726
27676
|
}
|
|
27727
27677
|
),
|
|
27728
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess',
|
|
27678
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess', _667 => _667.name]) || "Unassigned", label: "Organization" })
|
|
27729
27679
|
] }),
|
|
27730
27680
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: assigned ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27731
27681
|
AssigneeDropdown,
|
|
@@ -27746,10 +27696,10 @@ function TicketInfoSection({
|
|
|
27746
27696
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27747
27697
|
InfoCell2,
|
|
27748
27698
|
{
|
|
27749
|
-
value: _optionalChain([device, 'optionalAccess',
|
|
27699
|
+
value: _optionalChain([device, 'optionalAccess', _668 => _668.name]) || "Unassigned",
|
|
27750
27700
|
label: "Device",
|
|
27751
|
-
icon: _optionalChain([device, 'optionalAccess',
|
|
27752
|
-
onClick: _optionalChain([device, 'optionalAccess',
|
|
27701
|
+
icon: _optionalChain([device, 'optionalAccess', _669 => _669.icon]),
|
|
27702
|
+
onClick: _optionalChain([device, 'optionalAccess', _670 => _670.onClick])
|
|
27753
27703
|
}
|
|
27754
27704
|
),
|
|
27755
27705
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4 min-w-0", children: [
|
|
@@ -27878,7 +27828,7 @@ function ArrayEntryManager({
|
|
|
27878
27828
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { className: "text-[14px] text-ods-text-primary", children: title }),
|
|
27879
27829
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
27880
27830
|
requireSave && isDirty && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27881
|
-
|
|
27831
|
+
_chunk3B43AHYEcjs.Button,
|
|
27882
27832
|
{
|
|
27883
27833
|
type: "button",
|
|
27884
27834
|
size: "small-legacy",
|
|
@@ -27890,7 +27840,7 @@ function ArrayEntryManager({
|
|
|
27890
27840
|
}
|
|
27891
27841
|
),
|
|
27892
27842
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27893
|
-
|
|
27843
|
+
_chunk3B43AHYEcjs.Button,
|
|
27894
27844
|
{
|
|
27895
27845
|
type: "button",
|
|
27896
27846
|
variant: "outline",
|
|
@@ -27908,7 +27858,7 @@ function ArrayEntryManager({
|
|
|
27908
27858
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
27909
27859
|
renderLabel && renderLabel(item, index),
|
|
27910
27860
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27911
|
-
|
|
27861
|
+
_chunk3B43AHYEcjs.Input,
|
|
27912
27862
|
{
|
|
27913
27863
|
placeholder,
|
|
27914
27864
|
value: item[fieldKey],
|
|
@@ -27920,7 +27870,7 @@ function ArrayEntryManager({
|
|
|
27920
27870
|
)
|
|
27921
27871
|
] }),
|
|
27922
27872
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27923
|
-
|
|
27873
|
+
_chunk3B43AHYEcjs.Button,
|
|
27924
27874
|
{
|
|
27925
27875
|
type: "button",
|
|
27926
27876
|
variant: "transparent",
|
|
@@ -27936,7 +27886,7 @@ function ArrayEntryManager({
|
|
|
27936
27886
|
}
|
|
27937
27887
|
|
|
27938
27888
|
// src/components/features/provider-button.tsx
|
|
27939
|
-
|
|
27889
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
27940
27890
|
|
|
27941
27891
|
|
|
27942
27892
|
var PROVIDER_CONFIG = {
|
|
@@ -27982,7 +27932,7 @@ function ProviderButton({ provider, onClick, disabled = false, loading = false }
|
|
|
27982
27932
|
}
|
|
27983
27933
|
};
|
|
27984
27934
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27985
|
-
|
|
27935
|
+
_chunk3B43AHYEcjs.Button,
|
|
27986
27936
|
{
|
|
27987
27937
|
type: "button",
|
|
27988
27938
|
onClick: handleClick,
|
|
@@ -28104,7 +28054,7 @@ function ChangelogManager({
|
|
|
28104
28054
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between", children: [
|
|
28105
28055
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { className: "text-[14px] text-ods-text-primary", children: title }),
|
|
28106
28056
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28107
|
-
|
|
28057
|
+
_chunk3B43AHYEcjs.Button,
|
|
28108
28058
|
{
|
|
28109
28059
|
type: "button",
|
|
28110
28060
|
variant: "outline",
|
|
@@ -28122,7 +28072,7 @@ function ChangelogManager({
|
|
|
28122
28072
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "bg-ods-bg-secondary rounded-lg border border-ods-border overflow-hidden", children: [
|
|
28123
28073
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3 p-3", children: [
|
|
28124
28074
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28125
|
-
|
|
28075
|
+
_chunk3B43AHYEcjs.Button,
|
|
28126
28076
|
{
|
|
28127
28077
|
type: "button",
|
|
28128
28078
|
variant: "transparent",
|
|
@@ -28134,7 +28084,7 @@ function ChangelogManager({
|
|
|
28134
28084
|
),
|
|
28135
28085
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1 min-w-0", children: hasContent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-['DM_Sans'] font-medium text-[14px] text-ods-text-primary truncate", children: entry.title }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-['DM_Sans'] font-medium text-[14px] text-ods-text-secondary italic", children: "New entry (click to edit)" }) }),
|
|
28136
28086
|
showVisibilityToggle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28137
|
-
|
|
28087
|
+
_chunk3B43AHYEcjs.Button,
|
|
28138
28088
|
{
|
|
28139
28089
|
type: "button",
|
|
28140
28090
|
variant: "transparent",
|
|
@@ -28146,7 +28096,7 @@ function ChangelogManager({
|
|
|
28146
28096
|
}
|
|
28147
28097
|
),
|
|
28148
28098
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28149
|
-
|
|
28099
|
+
_chunk3B43AHYEcjs.Button,
|
|
28150
28100
|
{
|
|
28151
28101
|
type: "button",
|
|
28152
28102
|
variant: "transparent",
|
|
@@ -28161,7 +28111,7 @@ function ChangelogManager({
|
|
|
28161
28111
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
28162
28112
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { className: "text-[12px] text-ods-text-secondary", children: "Title *" }),
|
|
28163
28113
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28164
|
-
|
|
28114
|
+
_chunk3B43AHYEcjs.Input,
|
|
28165
28115
|
{
|
|
28166
28116
|
placeholder: "e.g., New dark mode theme support",
|
|
28167
28117
|
value: entry.title,
|
|
@@ -28277,7 +28227,7 @@ function ClickUpTasksManager({
|
|
|
28277
28227
|
}
|
|
28278
28228
|
|
|
28279
28229
|
// src/components/features/command-box.tsx
|
|
28280
|
-
|
|
28230
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
28281
28231
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
28282
28232
|
|
|
28283
28233
|
var lineClampClasses = {
|
|
@@ -28314,7 +28264,7 @@ function CommandBox({
|
|
|
28314
28264
|
),
|
|
28315
28265
|
(primaryAction || secondaryAction) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col md:flex-row gap-3 md:justify-end mt-4", children: [
|
|
28316
28266
|
secondaryAction && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28317
|
-
|
|
28267
|
+
_chunk3B43AHYEcjs.Button,
|
|
28318
28268
|
{
|
|
28319
28269
|
variant: secondaryAction.variant || "outline",
|
|
28320
28270
|
leftIcon: secondaryAction.icon,
|
|
@@ -28326,7 +28276,7 @@ function CommandBox({
|
|
|
28326
28276
|
}
|
|
28327
28277
|
),
|
|
28328
28278
|
primaryAction && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28329
|
-
|
|
28279
|
+
_chunk3B43AHYEcjs.Button,
|
|
28330
28280
|
{
|
|
28331
28281
|
variant: primaryAction.variant || "accent",
|
|
28332
28282
|
leftIcon: primaryAction.icon,
|
|
@@ -28369,7 +28319,7 @@ _chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
|
28369
28319
|
|
|
28370
28320
|
// src/components/features/section-selector.tsx
|
|
28371
28321
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
28372
|
-
|
|
28322
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
28373
28323
|
|
|
28374
28324
|
var SectionButton = ({
|
|
28375
28325
|
section,
|
|
@@ -28388,7 +28338,7 @@ var SectionButton = ({
|
|
|
28388
28338
|
const numberClasses = "font-['DM_Sans'] font-bold text-ods-accent";
|
|
28389
28339
|
const isDisabled = section.disabled || disabled;
|
|
28390
28340
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28391
|
-
|
|
28341
|
+
_chunk3B43AHYEcjs.Button,
|
|
28392
28342
|
{
|
|
28393
28343
|
onClick,
|
|
28394
28344
|
disabled: isDisabled,
|
|
@@ -28508,10 +28458,10 @@ var getContentDimensions = (config) => {
|
|
|
28508
28458
|
const envMobileHeight = process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT) : null;
|
|
28509
28459
|
const envDesktopWidth = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH) : null;
|
|
28510
28460
|
const envDesktopHeight = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT) : null;
|
|
28511
|
-
const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess',
|
|
28512
|
-
const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess',
|
|
28513
|
-
const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess',
|
|
28514
|
-
const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess',
|
|
28461
|
+
const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess', _671 => _671.mobileContentDimensions, 'optionalAccess', _672 => _672.width]))), () => ( defaultMobile.width));
|
|
28462
|
+
const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess', _673 => _673.mobileContentDimensions, 'optionalAccess', _674 => _674.height]))), () => ( defaultMobile.height));
|
|
28463
|
+
const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess', _675 => _675.desktopContentDimensions, 'optionalAccess', _676 => _676.width]))), () => ( defaultDesktop.width));
|
|
28464
|
+
const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess', _677 => _677.desktopContentDimensions, 'optionalAccess', _678 => _678.height]))), () => ( defaultDesktop.height));
|
|
28515
28465
|
return {
|
|
28516
28466
|
mobile: { width: mobileWidth, height: mobileHeight },
|
|
28517
28467
|
desktop: { width: desktopWidth, height: desktopHeight }
|
|
@@ -28645,7 +28595,7 @@ function renderUnifiedUI(state, handlers, config, iframeRef) {
|
|
|
28645
28595
|
const contentDimensions = getContentDimensions(config);
|
|
28646
28596
|
const mobileHeight = contentDimensions.mobile.height;
|
|
28647
28597
|
const calculatedHeight = Math.max(mobileHeight + 100, 400);
|
|
28648
|
-
return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess',
|
|
28598
|
+
return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess', _679 => _679.innerHeight]) * 0.85 || 650)}px`;
|
|
28649
28599
|
})(),
|
|
28650
28600
|
minHeight: viewMode === "DESKTOP" ? "auto" : (() => {
|
|
28651
28601
|
const contentDimensions = getContentDimensions(config);
|
|
@@ -28750,7 +28700,7 @@ var FigmaPrototypeViewer = ({
|
|
|
28750
28700
|
const [isInitialized, setIsInitialized] = _react.useState.call(void 0, false);
|
|
28751
28701
|
const [currentNodeId, setCurrentNodeId] = _react.useState.call(void 0, null);
|
|
28752
28702
|
const [internalActiveSection, setInternalActiveSection] = _react.useState.call(void 0,
|
|
28753
|
-
config.defaultSectionId || _optionalChain([config, 'access',
|
|
28703
|
+
config.defaultSectionId || _optionalChain([config, 'access', _680 => _680.sections, 'access', _681 => _681[0], 'optionalAccess', _682 => _682.id]) || ""
|
|
28754
28704
|
);
|
|
28755
28705
|
const activeSection = externalActiveSection || internalActiveSection;
|
|
28756
28706
|
const [isNavigating, setIsNavigating] = _react.useState.call(void 0, false);
|
|
@@ -28840,7 +28790,7 @@ var FigmaPrototypeViewer = ({
|
|
|
28840
28790
|
const handleMessage = (event) => {
|
|
28841
28791
|
if (event.origin !== "https://www.figma.com") return;
|
|
28842
28792
|
const validEvents = ["INITIAL_LOAD", "NEW_STATE", "PRESENTED_NODE_CHANGED"];
|
|
28843
|
-
if (_optionalChain([event, 'access',
|
|
28793
|
+
if (_optionalChain([event, 'access', _683 => _683.data, 'optionalAccess', _684 => _684.type]) && validEvents.includes(event.data.type)) {
|
|
28844
28794
|
const figmaEvent = event.data;
|
|
28845
28795
|
console.log("[Figma Event]", figmaEvent.type, viewMode);
|
|
28846
28796
|
switch (figmaEvent.type) {
|
|
@@ -28850,19 +28800,19 @@ var FigmaPrototypeViewer = ({
|
|
|
28850
28800
|
setIframeState("READY");
|
|
28851
28801
|
break;
|
|
28852
28802
|
case "PRESENTED_NODE_CHANGED":
|
|
28853
|
-
if (_optionalChain([figmaEvent, 'access',
|
|
28803
|
+
if (_optionalChain([figmaEvent, 'access', _685 => _685.data, 'optionalAccess', _686 => _686.presentedNodeId])) {
|
|
28854
28804
|
setCurrentNodeId(figmaEvent.data.presentedNodeId);
|
|
28855
28805
|
if (!isNavigating) {
|
|
28856
28806
|
const matchingSection = config.sections.find((s) => {
|
|
28857
|
-
const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access',
|
|
28858
|
-
const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access',
|
|
28807
|
+
const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access', _687 => _687.data, 'optionalAccess', _688 => _688.presentedNodeId]) || s.startingNodeId.replace(":", "-") === _optionalChain([figmaEvent, 'access', _689 => _689.data, 'optionalAccess', _690 => _690.presentedNodeId]);
|
|
28808
|
+
const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access', _691 => _691.data, 'optionalAccess', _692 => _692.presentedNodeId]) || _optionalChain([s, 'access', _693 => _693.mobileStartingNodeId, 'optionalAccess', _694 => _694.replace, 'call', _695 => _695(":", "-")]) === _optionalChain([figmaEvent, 'access', _696 => _696.data, 'optionalAccess', _697 => _697.presentedNodeId]);
|
|
28859
28809
|
return desktopMatch || mobileMatch;
|
|
28860
28810
|
});
|
|
28861
28811
|
if (matchingSection && matchingSection.id !== activeSection) {
|
|
28862
28812
|
if (!externalActiveSection) {
|
|
28863
28813
|
setInternalActiveSection(matchingSection.id);
|
|
28864
28814
|
}
|
|
28865
|
-
_optionalChain([config, 'access',
|
|
28815
|
+
_optionalChain([config, 'access', _698 => _698.onSectionChange, 'optionalCall', _699 => _699(matchingSection.id)]);
|
|
28866
28816
|
}
|
|
28867
28817
|
}
|
|
28868
28818
|
}
|
|
@@ -28875,7 +28825,7 @@ var FigmaPrototypeViewer = ({
|
|
|
28875
28825
|
}, [config.sections, activeSection, isNavigating, externalActiveSection, config.onSectionChange, viewMode]);
|
|
28876
28826
|
const navigateToSection = _react.useCallback.call(void 0, (sectionId) => {
|
|
28877
28827
|
const section = config.sections.find((s) => s.id === sectionId);
|
|
28878
|
-
if (!section || !_optionalChain([iframeRef, 'access',
|
|
28828
|
+
if (!section || !_optionalChain([iframeRef, 'access', _700 => _700.current, 'optionalAccess', _701 => _701.contentWindow]) || !isInitialized) {
|
|
28879
28829
|
return;
|
|
28880
28830
|
}
|
|
28881
28831
|
setIsNavigating(true);
|
|
@@ -28883,7 +28833,7 @@ var FigmaPrototypeViewer = ({
|
|
|
28883
28833
|
if (!externalActiveSection) {
|
|
28884
28834
|
setInternalActiveSection(sectionId);
|
|
28885
28835
|
}
|
|
28886
|
-
_optionalChain([config, 'access',
|
|
28836
|
+
_optionalChain([config, 'access', _702 => _702.onSectionChange, 'optionalCall', _703 => _703(sectionId)]);
|
|
28887
28837
|
const command = {
|
|
28888
28838
|
type: "NAVIGATE_TO_FRAME_AND_CLOSE_OVERLAYS",
|
|
28889
28839
|
data: { nodeId }
|
|
@@ -29203,7 +29153,7 @@ var FiltersDropdown = ({
|
|
|
29203
29153
|
defaults[section.id] = section.defaultSelected || [];
|
|
29204
29154
|
});
|
|
29205
29155
|
setSelectedFilters(defaults);
|
|
29206
|
-
_optionalChain([onReset, 'optionalCall',
|
|
29156
|
+
_optionalChain([onReset, 'optionalCall', _704 => _704()]);
|
|
29207
29157
|
setIsOpen(false);
|
|
29208
29158
|
};
|
|
29209
29159
|
const handleApply = () => {
|
|
@@ -29316,7 +29266,7 @@ var FiltersDropdown = ({
|
|
|
29316
29266
|
}) }),
|
|
29317
29267
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-3 mt-4 shrink-0", children: [
|
|
29318
29268
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29319
|
-
|
|
29269
|
+
_chunk3B43AHYEcjs.Button,
|
|
29320
29270
|
{
|
|
29321
29271
|
variant: "outline",
|
|
29322
29272
|
onClick: handleReset,
|
|
@@ -29326,7 +29276,7 @@ var FiltersDropdown = ({
|
|
|
29326
29276
|
}
|
|
29327
29277
|
),
|
|
29328
29278
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29329
|
-
|
|
29279
|
+
_chunk3B43AHYEcjs.Button,
|
|
29330
29280
|
{
|
|
29331
29281
|
variant: "accent",
|
|
29332
29282
|
onClick: handleApply,
|
|
@@ -29497,7 +29447,7 @@ function MediaGalleryManager({
|
|
|
29497
29447
|
const [deletingIndex, setDeletingIndex] = _react.useState.call(void 0, null);
|
|
29498
29448
|
const [draggedIndex, setDraggedIndex] = _react.useState.call(void 0, null);
|
|
29499
29449
|
const handleFileSelect = _react.useCallback.call(void 0, async (event) => {
|
|
29500
|
-
const file = _optionalChain([event, 'access',
|
|
29450
|
+
const file = _optionalChain([event, 'access', _705 => _705.target, 'access', _706 => _706.files, 'optionalAccess', _707 => _707[0]]);
|
|
29501
29451
|
if (!file) return;
|
|
29502
29452
|
let mediaType;
|
|
29503
29453
|
if (file.type.startsWith("image/")) {
|
|
@@ -29558,7 +29508,7 @@ function MediaGalleryManager({
|
|
|
29558
29508
|
children: [
|
|
29559
29509
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute top-2 left-2 opacity-0 group-hover:opacity-100 transition-opacity cursor-move z-10", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.GripVertical, { className: "h-4 w-4 text-white drop-shadow" }) }),
|
|
29560
29510
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute top-2 right-2 opacity-0 group-hover:opacity-100 transition-opacity z-10", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29561
|
-
|
|
29511
|
+
_chunk3B43AHYEcjs.Button,
|
|
29562
29512
|
{
|
|
29563
29513
|
type: "button",
|
|
29564
29514
|
variant: "outline",
|
|
@@ -29608,11 +29558,11 @@ function MediaGalleryManager({
|
|
|
29608
29558
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-xs text-ods-text-secondary mt-1", children: "Maximum file size: 50MB" })
|
|
29609
29559
|
] }),
|
|
29610
29560
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29611
|
-
|
|
29561
|
+
_chunk3B43AHYEcjs.Button,
|
|
29612
29562
|
{
|
|
29613
29563
|
type: "button",
|
|
29614
29564
|
variant: "outline",
|
|
29615
|
-
onClick: () => _optionalChain([fileInputRef, 'access',
|
|
29565
|
+
onClick: () => _optionalChain([fileInputRef, 'access', _708 => _708.current, 'optionalAccess', _709 => _709.click, 'call', _710 => _710()]),
|
|
29616
29566
|
disabled: isUploading,
|
|
29617
29567
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
|
|
29618
29568
|
className: "font-['DM_Sans'] text-[16px] font-bold",
|
|
@@ -29651,7 +29601,7 @@ function MediaGalleryManager({
|
|
|
29651
29601
|
}
|
|
29652
29602
|
|
|
29653
29603
|
// src/components/features/more-about-button.tsx
|
|
29654
|
-
|
|
29604
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
29655
29605
|
|
|
29656
29606
|
|
|
29657
29607
|
var MoreAboutButton = ({
|
|
@@ -29659,7 +29609,7 @@ var MoreAboutButton = ({
|
|
|
29659
29609
|
className = ""
|
|
29660
29610
|
}) => {
|
|
29661
29611
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29662
|
-
|
|
29612
|
+
_chunk3B43AHYEcjs.Button,
|
|
29663
29613
|
{
|
|
29664
29614
|
size: "default",
|
|
29665
29615
|
variant: "transparent",
|
|
@@ -29996,7 +29946,7 @@ var ParallaxImageShowcase = ({
|
|
|
29996
29946
|
};
|
|
29997
29947
|
|
|
29998
29948
|
// src/components/features/paths-display.tsx
|
|
29999
|
-
|
|
29949
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
30000
29950
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
30001
29951
|
|
|
30002
29952
|
|
|
@@ -30022,7 +29972,7 @@ function PathsDisplay({
|
|
|
30022
29972
|
children: [
|
|
30023
29973
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-primary font-medium text-[14px] md:text-[16px] font-mono break-all", children: path }),
|
|
30024
29974
|
showCopyButtons && onCopyPath && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30025
|
-
|
|
29975
|
+
_chunk3B43AHYEcjs.Button,
|
|
30026
29976
|
{
|
|
30027
29977
|
variant: "transparent",
|
|
30028
29978
|
size: "small-legacy",
|
|
@@ -30064,7 +30014,7 @@ function getOpenFramePaths(platform) {
|
|
|
30064
30014
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
30065
30015
|
|
|
30066
30016
|
|
|
30067
|
-
var
|
|
30017
|
+
var sizeClasses3 = {
|
|
30068
30018
|
xs: {
|
|
30069
30019
|
container: "gap-1 px-1.5 py-0.5",
|
|
30070
30020
|
icon: "h-3 w-3",
|
|
@@ -30170,7 +30120,7 @@ function PlatformBadge({
|
|
|
30170
30120
|
if (!platform) {
|
|
30171
30121
|
return null;
|
|
30172
30122
|
}
|
|
30173
|
-
const sizes =
|
|
30123
|
+
const sizes = sizeClasses3[size];
|
|
30174
30124
|
const colors = platformColors[platform.name] || platformColors.universal;
|
|
30175
30125
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30176
30126
|
"div",
|
|
@@ -30193,7 +30143,7 @@ function PlatformBadge({
|
|
|
30193
30143
|
}
|
|
30194
30144
|
|
|
30195
30145
|
// src/components/features/platform-filter.tsx
|
|
30196
|
-
|
|
30146
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
30197
30147
|
|
|
30198
30148
|
function PlatformFilterComponent({
|
|
30199
30149
|
selectedPlatform,
|
|
@@ -30205,7 +30155,7 @@ function PlatformFilterComponent({
|
|
|
30205
30155
|
}) {
|
|
30206
30156
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex items-center gap-2 flex-wrap ${className}`, children: [
|
|
30207
30157
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30208
|
-
|
|
30158
|
+
_chunk3B43AHYEcjs.Button,
|
|
30209
30159
|
{
|
|
30210
30160
|
type: "button",
|
|
30211
30161
|
variant: selectedPlatform === "all" ? "accent" : "outline",
|
|
@@ -30216,7 +30166,7 @@ function PlatformFilterComponent({
|
|
|
30216
30166
|
}
|
|
30217
30167
|
),
|
|
30218
30168
|
platforms.map((platform) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30219
|
-
|
|
30169
|
+
_chunk3B43AHYEcjs.Button,
|
|
30220
30170
|
{
|
|
30221
30171
|
type: "button",
|
|
30222
30172
|
variant: selectedPlatform === platform.value ? "accent" : "outline",
|
|
@@ -30397,7 +30347,7 @@ function ReleaseMediaManager({
|
|
|
30397
30347
|
const fileInputRef = _react.useRef.call(void 0, null);
|
|
30398
30348
|
const [uploadingIndex, setUploadingIndex] = _react.useState.call(void 0, null);
|
|
30399
30349
|
const handleFileSelect = async (event) => {
|
|
30400
|
-
const file = _optionalChain([event, 'access',
|
|
30350
|
+
const file = _optionalChain([event, 'access', _711 => _711.target, 'access', _712 => _712.files, 'optionalAccess', _713 => _713[0]]);
|
|
30401
30351
|
if (!file) return;
|
|
30402
30352
|
let mediaType;
|
|
30403
30353
|
if (file.type.startsWith("image/")) {
|
|
@@ -30473,11 +30423,11 @@ function ReleaseMediaManager({
|
|
|
30473
30423
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-xs text-ods-text-secondary mt-1", children: "Maximum file size: 50MB" })
|
|
30474
30424
|
] }),
|
|
30475
30425
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30476
|
-
|
|
30426
|
+
_chunk3B43AHYEcjs.Button,
|
|
30477
30427
|
{
|
|
30478
30428
|
type: "button",
|
|
30479
30429
|
variant: "outline",
|
|
30480
|
-
onClick: () => _optionalChain([fileInputRef, 'access',
|
|
30430
|
+
onClick: () => _optionalChain([fileInputRef, 'access', _714 => _714.current, 'optionalAccess', _715 => _715.click, 'call', _716 => _716()]),
|
|
30481
30431
|
disabled: uploadingIndex !== null,
|
|
30482
30432
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
|
|
30483
30433
|
className: "font-['DM_Sans'] text-[16px] font-bold",
|
|
@@ -30516,7 +30466,7 @@ function ReleaseMediaManager({
|
|
|
30516
30466
|
children: [
|
|
30517
30467
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute top-2 left-2 opacity-0 group-hover:opacity-100 transition-opacity cursor-move z-10", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.GripVertical, { className: "h-4 w-4 text-white drop-shadow" }) }),
|
|
30518
30468
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute top-2 right-2 opacity-0 group-hover:opacity-100 transition-opacity z-10", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30519
|
-
|
|
30469
|
+
_chunk3B43AHYEcjs.Button,
|
|
30520
30470
|
{
|
|
30521
30471
|
type: "button",
|
|
30522
30472
|
variant: "outline",
|
|
@@ -30571,7 +30521,7 @@ function ReleaseMediaManager({
|
|
|
30571
30521
|
)
|
|
30572
30522
|
] }),
|
|
30573
30523
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30574
|
-
|
|
30524
|
+
_chunk3B43AHYEcjs.Input,
|
|
30575
30525
|
{
|
|
30576
30526
|
placeholder: "Title (optional)",
|
|
30577
30527
|
value: item.title,
|
|
@@ -30690,7 +30640,7 @@ function SEOEditorPreview({
|
|
|
30690
30640
|
const displayImage = hasOgImage || hasFeaturedImage;
|
|
30691
30641
|
const handleImageUpload = async (event) => {
|
|
30692
30642
|
if (!onOgImageUpload) return;
|
|
30693
|
-
const file = _optionalChain([event, 'access',
|
|
30643
|
+
const file = _optionalChain([event, 'access', _717 => _717.target, 'access', _718 => _718.files, 'optionalAccess', _719 => _719[0]]);
|
|
30694
30644
|
if (!file) return;
|
|
30695
30645
|
setIsUploading(true);
|
|
30696
30646
|
try {
|
|
@@ -30725,7 +30675,7 @@ function SEOEditorPreview({
|
|
|
30725
30675
|
] })
|
|
30726
30676
|
] }),
|
|
30727
30677
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30728
|
-
|
|
30678
|
+
_chunk3B43AHYEcjs.Input,
|
|
30729
30679
|
{
|
|
30730
30680
|
value: seoTitle || "",
|
|
30731
30681
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
@@ -30756,7 +30706,7 @@ function SEOEditorPreview({
|
|
|
30756
30706
|
] })
|
|
30757
30707
|
] }),
|
|
30758
30708
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30759
|
-
|
|
30709
|
+
_chunk3B43AHYEcjs.Input,
|
|
30760
30710
|
{
|
|
30761
30711
|
value: seoKeywords || "",
|
|
30762
30712
|
onChange: (e) => onSeoKeywordsChange(e.target.value),
|
|
@@ -30816,19 +30766,19 @@ function SEOEditorPreview({
|
|
|
30816
30766
|
),
|
|
30817
30767
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "absolute inset-0 bg-black bg-opacity-0 group-hover:bg-opacity-40 transition-all rounded-lg flex items-center justify-center gap-2", children: [
|
|
30818
30768
|
onOgImageUpload && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30819
|
-
|
|
30769
|
+
_chunk3B43AHYEcjs.Button,
|
|
30820
30770
|
{
|
|
30821
30771
|
type: "button",
|
|
30822
30772
|
variant: "outline",
|
|
30823
30773
|
size: "icon",
|
|
30824
|
-
onClick: () => _optionalChain([fileInputRef, 'optionalAccess',
|
|
30774
|
+
onClick: () => _optionalChain([fileInputRef, 'optionalAccess', _720 => _720.click, 'call', _721 => _721()]),
|
|
30825
30775
|
disabled: disabled || isUploading,
|
|
30826
30776
|
className: "bg-white text-black hover:bg-gray-100 rounded-full opacity-0 group-hover:opacity-100",
|
|
30827
30777
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-4 w-4" })
|
|
30828
30778
|
}
|
|
30829
30779
|
),
|
|
30830
30780
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30831
|
-
|
|
30781
|
+
_chunk3B43AHYEcjs.Button,
|
|
30832
30782
|
{
|
|
30833
30783
|
type: "button",
|
|
30834
30784
|
variant: "outline",
|
|
@@ -30844,7 +30794,7 @@ function SEOEditorPreview({
|
|
|
30844
30794
|
"div",
|
|
30845
30795
|
{
|
|
30846
30796
|
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",
|
|
30847
|
-
onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess',
|
|
30797
|
+
onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess', _722 => _722.click, 'call', _723 => _723()]),
|
|
30848
30798
|
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: [
|
|
30849
30799
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-8 w-8 text-ods-text-secondary mb-2" }),
|
|
30850
30800
|
/* @__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" })
|
|
@@ -30929,7 +30879,7 @@ function SocialLinksManager({
|
|
|
30929
30879
|
className = ""
|
|
30930
30880
|
}) {
|
|
30931
30881
|
const addLink = () => {
|
|
30932
|
-
const firstPlatform = _optionalChain([platforms, 'access',
|
|
30882
|
+
const firstPlatform = _optionalChain([platforms, 'access', _724 => _724[0], 'optionalAccess', _725 => _725.name]) || "website";
|
|
30933
30883
|
onChange([...links, { platform: firstPlatform, url: "" }]);
|
|
30934
30884
|
};
|
|
30935
30885
|
const removeLink = (index) => {
|
|
@@ -30941,7 +30891,7 @@ function SocialLinksManager({
|
|
|
30941
30891
|
onChange(updated);
|
|
30942
30892
|
};
|
|
30943
30893
|
const getIcon = (link, platform) => {
|
|
30944
|
-
const iconKey = _optionalChain([platform, 'optionalAccess',
|
|
30894
|
+
const iconKey = _optionalChain([platform, 'optionalAccess', _726 => _726.icon_name]) || link.platform;
|
|
30945
30895
|
const IconComponent = iconMap[iconKey];
|
|
30946
30896
|
return IconComponent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: "w-5 h-5 text-ods-text-secondary" }) : null;
|
|
30947
30897
|
};
|
|
@@ -30964,9 +30914,9 @@ function SocialLinksManager({
|
|
|
30964
30914
|
}
|
|
30965
30915
|
) }),
|
|
30966
30916
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30967
|
-
|
|
30917
|
+
_chunk3B43AHYEcjs.Input,
|
|
30968
30918
|
{
|
|
30969
|
-
placeholder: _optionalChain([platform, 'optionalAccess',
|
|
30919
|
+
placeholder: _optionalChain([platform, 'optionalAccess', _727 => _727.placeholder]) || "Profile URL",
|
|
30970
30920
|
value: link.url,
|
|
30971
30921
|
onChange: (e) => updateLink(index, "url", e.target.value),
|
|
30972
30922
|
onKeyDown: (e) => {
|
|
@@ -30979,7 +30929,7 @@ function SocialLinksManager({
|
|
|
30979
30929
|
)
|
|
30980
30930
|
] }),
|
|
30981
30931
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30982
|
-
|
|
30932
|
+
_chunk3B43AHYEcjs.Button,
|
|
30983
30933
|
{
|
|
30984
30934
|
type: "button",
|
|
30985
30935
|
variant: "transparent",
|
|
@@ -30993,7 +30943,7 @@ function SocialLinksManager({
|
|
|
30993
30943
|
}),
|
|
30994
30944
|
links.length === 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-center py-8 text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm", children: "No social links added yet." }) }),
|
|
30995
30945
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30996
|
-
|
|
30946
|
+
_chunk3B43AHYEcjs.Button,
|
|
30997
30947
|
{
|
|
30998
30948
|
variant: "outline",
|
|
30999
30949
|
onClick: addLink,
|
|
@@ -31007,7 +30957,7 @@ function SocialLinksManager({
|
|
|
31007
30957
|
}
|
|
31008
30958
|
|
|
31009
30959
|
// src/components/features/start-with-openframe-button.tsx
|
|
31010
|
-
|
|
30960
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
31011
30961
|
|
|
31012
30962
|
|
|
31013
30963
|
var StartWithOpenFrameButton = React95.forwardRef(({ children = "Start Free Trial", mode = "outline", className, buttonSize, loading = false, buttonBackgroundColor, buttonTextColor, ...props }, ref) => {
|
|
@@ -31043,7 +30993,7 @@ var StartWithOpenFrameButton = React95.forwardRef(({ children = "Start Free Tria
|
|
|
31043
30993
|
iconUpperPath = "#1A1A1A";
|
|
31044
30994
|
}
|
|
31045
30995
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31046
|
-
|
|
30996
|
+
_chunk3B43AHYEcjs.Button,
|
|
31047
30997
|
{
|
|
31048
30998
|
ref,
|
|
31049
30999
|
...props,
|
|
@@ -31078,7 +31028,7 @@ var StartWithOpenFrameButton = React95.forwardRef(({ children = "Start Free Tria
|
|
|
31078
31028
|
StartWithOpenFrameButton.displayName = "StartWithOpenFrameButton";
|
|
31079
31029
|
|
|
31080
31030
|
// src/components/features/status-filter-component.tsx
|
|
31081
|
-
|
|
31031
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
31082
31032
|
|
|
31083
31033
|
|
|
31084
31034
|
function StatusFilterComponent({
|
|
@@ -31096,7 +31046,7 @@ function StatusFilterComponent({
|
|
|
31096
31046
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h5 text-ods-text-secondary", children: "Status" })
|
|
31097
31047
|
] }),
|
|
31098
31048
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31099
|
-
|
|
31049
|
+
_chunk3B43AHYEcjs.Button,
|
|
31100
31050
|
{
|
|
31101
31051
|
type: "button",
|
|
31102
31052
|
variant: selectedStatus === "all" ? "accent" : "outline",
|
|
@@ -31107,7 +31057,7 @@ function StatusFilterComponent({
|
|
|
31107
31057
|
}
|
|
31108
31058
|
),
|
|
31109
31059
|
filteredOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31110
|
-
|
|
31060
|
+
_chunk3B43AHYEcjs.Button,
|
|
31111
31061
|
{
|
|
31112
31062
|
type: "button",
|
|
31113
31063
|
variant: selectedStatus === option.value ? "accent" : "outline",
|
|
@@ -31197,7 +31147,7 @@ function TagsSelector({
|
|
|
31197
31147
|
children: [
|
|
31198
31148
|
tag.name,
|
|
31199
31149
|
!disabled && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31200
|
-
|
|
31150
|
+
_chunk3B43AHYEcjs.Button,
|
|
31201
31151
|
{
|
|
31202
31152
|
variant: "transparent",
|
|
31203
31153
|
type: "button",
|
|
@@ -31247,7 +31197,7 @@ function TagsSelector({
|
|
|
31247
31197
|
}
|
|
31248
31198
|
),
|
|
31249
31199
|
searchQuery && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31250
|
-
|
|
31200
|
+
_chunk3B43AHYEcjs.Button,
|
|
31251
31201
|
{
|
|
31252
31202
|
variant: "transparent",
|
|
31253
31203
|
type: "button",
|
|
@@ -31263,7 +31213,7 @@ function TagsSelector({
|
|
|
31263
31213
|
] }),
|
|
31264
31214
|
showDropdown && !disabled && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute z-50 w-full mt-1 bg-ods-card border border-ods-border rounded-lg shadow-lg max-h-60 overflow-y-auto", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "p-3", children: [
|
|
31265
31215
|
canCreateNewTag && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
31266
|
-
|
|
31216
|
+
_chunk3B43AHYEcjs.Button,
|
|
31267
31217
|
{
|
|
31268
31218
|
variant: "outline",
|
|
31269
31219
|
type: "button",
|
|
@@ -31282,7 +31232,7 @@ function TagsSelector({
|
|
|
31282
31232
|
}
|
|
31283
31233
|
),
|
|
31284
31234
|
filteredTags.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-1.5", children: filteredTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31285
|
-
|
|
31235
|
+
_chunk3B43AHYEcjs.Button,
|
|
31286
31236
|
{
|
|
31287
31237
|
variant: "outline",
|
|
31288
31238
|
type: "button",
|
|
@@ -31307,7 +31257,7 @@ function TagsSelector({
|
|
|
31307
31257
|
}
|
|
31308
31258
|
|
|
31309
31259
|
// src/components/features/video-source-selector.tsx
|
|
31310
|
-
|
|
31260
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
31311
31261
|
|
|
31312
31262
|
|
|
31313
31263
|
|
|
@@ -31343,7 +31293,7 @@ function VideoSourceSelector({
|
|
|
31343
31293
|
input.accept = "video/*";
|
|
31344
31294
|
input.onchange = async (e) => {
|
|
31345
31295
|
const target = e.target;
|
|
31346
|
-
const file = _optionalChain([target, 'access',
|
|
31296
|
+
const file = _optionalChain([target, 'access', _728 => _728.files, 'optionalAccess', _729 => _729[0]]);
|
|
31347
31297
|
if (!file) return;
|
|
31348
31298
|
setIsUploading(true);
|
|
31349
31299
|
setUploadProgress(0);
|
|
@@ -31378,7 +31328,7 @@ function VideoSourceSelector({
|
|
|
31378
31328
|
] }),
|
|
31379
31329
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2", children: [
|
|
31380
31330
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31381
|
-
|
|
31331
|
+
_chunk3B43AHYEcjs.Button,
|
|
31382
31332
|
{
|
|
31383
31333
|
type: "button",
|
|
31384
31334
|
variant: videoSourceType === "youtube" ? "accent" : "outline",
|
|
@@ -31389,7 +31339,7 @@ function VideoSourceSelector({
|
|
|
31389
31339
|
}
|
|
31390
31340
|
),
|
|
31391
31341
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31392
|
-
|
|
31342
|
+
_chunk3B43AHYEcjs.Button,
|
|
31393
31343
|
{
|
|
31394
31344
|
type: "button",
|
|
31395
31345
|
variant: videoSourceType === "uploaded" ? "accent" : "outline",
|
|
@@ -31403,7 +31353,7 @@ function VideoSourceSelector({
|
|
|
31403
31353
|
videoSourceType === "youtube" && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
31404
31354
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: youtubeLabel }),
|
|
31405
31355
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31406
|
-
|
|
31356
|
+
_chunk3B43AHYEcjs.Input,
|
|
31407
31357
|
{
|
|
31408
31358
|
value: youtubeUrl,
|
|
31409
31359
|
onChange: (e) => onYoutubeUrlChange(e.target.value),
|
|
@@ -31424,7 +31374,7 @@ function VideoSourceSelector({
|
|
|
31424
31374
|
] })
|
|
31425
31375
|
] }),
|
|
31426
31376
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31427
|
-
|
|
31377
|
+
_chunk3B43AHYEcjs.Button,
|
|
31428
31378
|
{
|
|
31429
31379
|
type: "button",
|
|
31430
31380
|
variant: "outline",
|
|
@@ -31673,7 +31623,7 @@ function TranscriptSummaryEditor({
|
|
|
31673
31623
|
{
|
|
31674
31624
|
id: "subtitles",
|
|
31675
31625
|
value: subtitles || "",
|
|
31676
|
-
onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall',
|
|
31626
|
+
onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall', _730 => _730(e.target.value)]),
|
|
31677
31627
|
placeholder: subtitlesPlaceholder,
|
|
31678
31628
|
disabled: disabled || !onSubtitlesChange,
|
|
31679
31629
|
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",
|
|
@@ -31689,13 +31639,13 @@ function TranscriptSummaryEditor({
|
|
|
31689
31639
|
// src/components/features/highlight-video-section.tsx
|
|
31690
31640
|
|
|
31691
31641
|
|
|
31692
|
-
|
|
31642
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
31693
31643
|
|
|
31694
31644
|
// src/components/features/ai-enrich/AIEnrichSection.tsx
|
|
31695
31645
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
31696
31646
|
|
|
31697
31647
|
// src/components/features/ai-enrich/AIEnrichButton.tsx
|
|
31698
|
-
|
|
31648
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
31699
31649
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
31700
31650
|
|
|
31701
31651
|
var sizeMap = {
|
|
@@ -31719,7 +31669,7 @@ var AIEnrichButton = ({
|
|
|
31719
31669
|
className
|
|
31720
31670
|
}) => {
|
|
31721
31671
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31722
|
-
|
|
31672
|
+
_chunk3B43AHYEcjs.Button,
|
|
31723
31673
|
{
|
|
31724
31674
|
type: "button",
|
|
31725
31675
|
onClick,
|
|
@@ -31788,7 +31738,7 @@ var AIWarningsSection = ({
|
|
|
31788
31738
|
};
|
|
31789
31739
|
|
|
31790
31740
|
// src/components/features/ai-enrich/AIEnrichSection.tsx
|
|
31791
|
-
|
|
31741
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
31792
31742
|
|
|
31793
31743
|
|
|
31794
31744
|
var AIEnrichSection = ({
|
|
@@ -31826,7 +31776,7 @@ var AIEnrichSection = ({
|
|
|
31826
31776
|
}) => {
|
|
31827
31777
|
const hasResults = status === "success" || status === "error";
|
|
31828
31778
|
const shouldDisable = disabled || !canEnrich;
|
|
31829
|
-
const unfilledFields = _optionalChain([requiredFields, 'optionalAccess',
|
|
31779
|
+
const unfilledFields = _optionalChain([requiredFields, 'optionalAccess', _731 => _731.filter, 'call', _732 => _732((f) => !f.isFilled)]) || [];
|
|
31830
31780
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
31831
31781
|
"div",
|
|
31832
31782
|
{
|
|
@@ -31864,7 +31814,7 @@ var AIEnrichSection = ({
|
|
|
31864
31814
|
{
|
|
31865
31815
|
id: "ai-enrich-custom-instructions",
|
|
31866
31816
|
value: _nullishCoalesce(customInstructions, () => ( "")),
|
|
31867
|
-
onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall',
|
|
31817
|
+
onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall', _733 => _733(e.target.value)]),
|
|
31868
31818
|
placeholder: customInstructionsPlaceholder,
|
|
31869
31819
|
disabled: loading,
|
|
31870
31820
|
maxLength: customInstructionsMaxLength,
|
|
@@ -31894,7 +31844,7 @@ var AIEnrichSection = ({
|
|
|
31894
31844
|
}
|
|
31895
31845
|
),
|
|
31896
31846
|
showCancel && onCancel && loading && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31897
|
-
|
|
31847
|
+
_chunk3B43AHYEcjs.Button,
|
|
31898
31848
|
{
|
|
31899
31849
|
type: "button",
|
|
31900
31850
|
variant: "outline",
|
|
@@ -31943,7 +31893,7 @@ var AIEnrichSection = ({
|
|
|
31943
31893
|
warnings && warnings.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIWarningsSection, { warnings }),
|
|
31944
31894
|
children,
|
|
31945
31895
|
showClearButton && onClear && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31946
|
-
|
|
31896
|
+
_chunk3B43AHYEcjs.Button,
|
|
31947
31897
|
{
|
|
31948
31898
|
variant: "outline",
|
|
31949
31899
|
size: "small-legacy",
|
|
@@ -31993,7 +31943,7 @@ function HighlightVideoSection({
|
|
|
31993
31943
|
input.accept = "video/*";
|
|
31994
31944
|
input.onchange = async (e) => {
|
|
31995
31945
|
const target = e.target;
|
|
31996
|
-
const file = _optionalChain([target, 'access',
|
|
31946
|
+
const file = _optionalChain([target, 'access', _734 => _734.files, 'optionalAccess', _735 => _735[0]]);
|
|
31997
31947
|
if (!file) return;
|
|
31998
31948
|
setUploadError(null);
|
|
31999
31949
|
try {
|
|
@@ -32078,7 +32028,7 @@ function HighlightVideoSection({
|
|
|
32078
32028
|
highlightVideoDurationMs && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "outline", className: "text-xs", children: formatDuration(highlightVideoDurationMs) })
|
|
32079
32029
|
] }),
|
|
32080
32030
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32081
|
-
|
|
32031
|
+
_chunk3B43AHYEcjs.Button,
|
|
32082
32032
|
{
|
|
32083
32033
|
type: "button",
|
|
32084
32034
|
variant: "outline",
|
|
@@ -32474,7 +32424,7 @@ function HighlightGenerationSection({
|
|
|
32474
32424
|
|
|
32475
32425
|
// src/components/features/highlight-video-preview.tsx
|
|
32476
32426
|
|
|
32477
|
-
|
|
32427
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
32478
32428
|
|
|
32479
32429
|
function HighlightVideoPreview({
|
|
32480
32430
|
highlightVideoUrl,
|
|
@@ -32495,7 +32445,7 @@ function HighlightVideoPreview({
|
|
|
32495
32445
|
input.accept = "video/*";
|
|
32496
32446
|
input.onchange = async (e) => {
|
|
32497
32447
|
const target = e.target;
|
|
32498
|
-
const file = _optionalChain([target, 'access',
|
|
32448
|
+
const file = _optionalChain([target, 'access', _736 => _736.files, 'optionalAccess', _737 => _737[0]]);
|
|
32499
32449
|
if (!file) return;
|
|
32500
32450
|
await onUpload(file);
|
|
32501
32451
|
};
|
|
@@ -32517,7 +32467,7 @@ function HighlightVideoPreview({
|
|
|
32517
32467
|
highlightVideoDurationMs && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "outline", className: "text-xs", children: formatDuration(highlightVideoDurationMs) })
|
|
32518
32468
|
] }),
|
|
32519
32469
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32520
|
-
|
|
32470
|
+
_chunk3B43AHYEcjs.Button,
|
|
32521
32471
|
{
|
|
32522
32472
|
type: "button",
|
|
32523
32473
|
variant: "outline",
|
|
@@ -32629,7 +32579,7 @@ function TranscribeAndSummarizeCombinedSection({
|
|
|
32629
32579
|
|
|
32630
32580
|
// src/components/features/highlight-video-combined-section.tsx
|
|
32631
32581
|
|
|
32632
|
-
|
|
32582
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
32633
32583
|
|
|
32634
32584
|
function HighlightVideoCombinedSection({
|
|
32635
32585
|
// Config props
|
|
@@ -32682,7 +32632,7 @@ function HighlightVideoCombinedSection({
|
|
|
32682
32632
|
input.accept = "video/*";
|
|
32683
32633
|
input.onchange = async (e) => {
|
|
32684
32634
|
const target = e.target;
|
|
32685
|
-
const file = _optionalChain([target, 'access',
|
|
32635
|
+
const file = _optionalChain([target, 'access', _738 => _738.files, 'optionalAccess', _739 => _739[0]]);
|
|
32686
32636
|
if (!file) return;
|
|
32687
32637
|
await onUpload(file);
|
|
32688
32638
|
};
|
|
@@ -32730,7 +32680,7 @@ function HighlightVideoCombinedSection({
|
|
|
32730
32680
|
highlightVideoDurationMs && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "outline", className: "text-xs", children: formatDuration(highlightVideoDurationMs) })
|
|
32731
32681
|
] }),
|
|
32732
32682
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32733
|
-
|
|
32683
|
+
_chunk3B43AHYEcjs.Button,
|
|
32734
32684
|
{
|
|
32735
32685
|
type: "button",
|
|
32736
32686
|
variant: "outline",
|
|
@@ -32832,7 +32782,7 @@ function ViewToggle({
|
|
|
32832
32782
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
32833
32783
|
|
|
32834
32784
|
|
|
32835
|
-
|
|
32785
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
32836
32786
|
|
|
32837
32787
|
// src/components/dropdown-menu.tsx
|
|
32838
32788
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
@@ -32979,7 +32929,7 @@ var getApprovalLevelLabel = (level, editMode = false) => {
|
|
|
32979
32929
|
return editMode ? "Set Global Permission" : "";
|
|
32980
32930
|
}
|
|
32981
32931
|
const option = approvalLevelOptions.find((opt) => opt.value === level);
|
|
32982
|
-
return _optionalChain([option, 'optionalAccess',
|
|
32932
|
+
return _optionalChain([option, 'optionalAccess', _740 => _740.label]) || level;
|
|
32983
32933
|
};
|
|
32984
32934
|
var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
32985
32935
|
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: [
|
|
@@ -32990,7 +32940,7 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
32990
32940
|
] }),
|
|
32991
32941
|
editMode ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DropdownMenu2, { children: [
|
|
32992
32942
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DropdownMenuTrigger2, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32993
|
-
|
|
32943
|
+
_chunk3B43AHYEcjs.Button,
|
|
32994
32944
|
{
|
|
32995
32945
|
variant: "outline",
|
|
32996
32946
|
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronDown, { className: "h-6 w-6 text-ods-text-secondary" }),
|
|
@@ -33046,7 +32996,7 @@ var CategorySection = ({
|
|
|
33046
32996
|
] }),
|
|
33047
32997
|
editMode ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { onClick: (e) => e.stopPropagation(), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DropdownMenu2, { children: [
|
|
33048
32998
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DropdownMenuTrigger2, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33049
|
-
|
|
32999
|
+
_chunk3B43AHYEcjs.Button,
|
|
33050
33000
|
{
|
|
33051
33001
|
variant: "outline",
|
|
33052
33002
|
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronDown, { className: "h-6 w-6 text-ods-text-secondary" }),
|
|
@@ -33091,7 +33041,7 @@ var CategorySection = ({
|
|
|
33091
33041
|
}
|
|
33092
33042
|
),
|
|
33093
33043
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33094
|
-
|
|
33044
|
+
_chunk3B43AHYEcjs.Button,
|
|
33095
33045
|
{
|
|
33096
33046
|
variant: "transparent",
|
|
33097
33047
|
onClick: (e) => {
|
|
@@ -33166,7 +33116,7 @@ var PolicyConfigurationPanel = ({
|
|
|
33166
33116
|
PolicyConfigurationPanel.displayName = "PolicyConfigurationPanel";
|
|
33167
33117
|
|
|
33168
33118
|
// src/components/features/waitlist-form.tsx
|
|
33169
|
-
|
|
33119
|
+
_chunk3B43AHYEcjs.init_button2.call(void 0, );
|
|
33170
33120
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
33171
33121
|
|
|
33172
33122
|
|
|
@@ -33268,7 +33218,7 @@ function WaitlistForm({
|
|
|
33268
33218
|
),
|
|
33269
33219
|
children: [
|
|
33270
33220
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33271
|
-
|
|
33221
|
+
_chunk3B43AHYEcjs.Input,
|
|
33272
33222
|
{
|
|
33273
33223
|
type: "email",
|
|
33274
33224
|
value: email,
|
|
@@ -33343,7 +33293,7 @@ function WaitlistForm({
|
|
|
33343
33293
|
}
|
|
33344
33294
|
),
|
|
33345
33295
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33346
|
-
|
|
33296
|
+
_chunk3B43AHYEcjs.Button,
|
|
33347
33297
|
{
|
|
33348
33298
|
type: "button",
|
|
33349
33299
|
loading: isSubmitting,
|
|
@@ -33383,7 +33333,7 @@ _chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
|
33383
33333
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
33384
33334
|
|
|
33385
33335
|
// src/components/features/board/board-column-header.tsx
|
|
33386
|
-
|
|
33336
|
+
_chunk3B43AHYEcjs.init_button.call(void 0, );
|
|
33387
33337
|
|
|
33388
33338
|
function BoardColumnHeader({
|
|
33389
33339
|
column,
|
|
@@ -33396,7 +33346,7 @@ function BoardColumnHeader({
|
|
|
33396
33346
|
if (collapsed) {
|
|
33397
33347
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
33398
33348
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33399
|
-
|
|
33349
|
+
_chunk3B43AHYEcjs.Button,
|
|
33400
33350
|
{
|
|
33401
33351
|
variant: "transparent",
|
|
33402
33352
|
size: "icon",
|
|
@@ -33439,7 +33389,7 @@ function BoardColumnHeader({
|
|
|
33439
33389
|
] }),
|
|
33440
33390
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
33441
33391
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33442
|
-
|
|
33392
|
+
_chunk3B43AHYEcjs.Button,
|
|
33443
33393
|
{
|
|
33444
33394
|
variant: "transparent",
|
|
33445
33395
|
size: "icon",
|
|
@@ -33450,7 +33400,7 @@ function BoardColumnHeader({
|
|
|
33450
33400
|
}
|
|
33451
33401
|
),
|
|
33452
33402
|
onAddTicket && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33453
|
-
|
|
33403
|
+
_chunk3B43AHYEcjs.Button,
|
|
33454
33404
|
{
|
|
33455
33405
|
variant: "transparent",
|
|
33456
33406
|
size: "icon",
|
|
@@ -33511,15 +33461,15 @@ function TicketCard({
|
|
|
33511
33461
|
transform: _utilities.CSS.Transform.toString(sortable.transform),
|
|
33512
33462
|
transition: sortable.transition
|
|
33513
33463
|
};
|
|
33514
|
-
const showDeviceRow = !!(_optionalChain([ticket, 'access',
|
|
33464
|
+
const showDeviceRow = !!(_optionalChain([ticket, 'access', _741 => _741.deviceHostnames, 'optionalAccess', _742 => _742.length]) || ticket.organizationName);
|
|
33515
33465
|
const deviceText = [
|
|
33516
|
-
_optionalChain([ticket, 'access',
|
|
33466
|
+
_optionalChain([ticket, 'access', _743 => _743.deviceHostnames, 'optionalAccess', _744 => _744.join, 'call', _745 => _745(", ")]),
|
|
33517
33467
|
ticket.organizationName
|
|
33518
33468
|
].filter(Boolean).join(", ");
|
|
33519
33469
|
const handleClick = (e) => {
|
|
33520
33470
|
if (sortable.isDragging) e.preventDefault();
|
|
33521
33471
|
};
|
|
33522
|
-
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access',
|
|
33472
|
+
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _746 => _746.assignees, 'optionalAccess', _747 => _747.length]) || renderAssignSlot);
|
|
33523
33473
|
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: [
|
|
33524
33474
|
ticket.priority && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33525
33475
|
_chunkVJTFBYVGcjs.Flag02Icon,
|
|
@@ -33528,7 +33478,7 @@ function TicketCard({
|
|
|
33528
33478
|
"aria-label": `Priority: ${ticket.priority}`
|
|
33529
33479
|
}
|
|
33530
33480
|
),
|
|
33531
|
-
renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access',
|
|
33481
|
+
renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _748 => _748.assignees, 'optionalAccess', _749 => _749.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
|
|
33532
33482
|
ticket.assignees.slice(0, MAX_VISIBLE_ASSIGNEES).map((a) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33533
33483
|
SquareAvatar,
|
|
33534
33484
|
{
|
|
@@ -33557,7 +33507,7 @@ function TicketCard({
|
|
|
33557
33507
|
] }),
|
|
33558
33508
|
rightSection
|
|
33559
33509
|
] }),
|
|
33560
|
-
_optionalChain([ticket, 'access',
|
|
33510
|
+
_optionalChain([ticket, 'access', _750 => _750.tags, 'optionalAccess', _751 => _751.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null
|
|
33561
33511
|
] });
|
|
33562
33512
|
const cardClasses = _chunkUC43NICZcjs.cn.call(void 0,
|
|
33563
33513
|
"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",
|
|
@@ -33631,20 +33581,20 @@ var TicketCardSkeleton = React100.forwardRef(
|
|
|
33631
33581
|
children: [
|
|
33632
33582
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-sf)]", children: [
|
|
33633
33583
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
33634
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h3 flex items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33584
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h3 flex items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.Skeleton, { className: "h-4 w-3/4" }) }),
|
|
33635
33585
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-h6 flex items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
33636
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33637
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33586
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.Skeleton, { className: "size-4 shrink-0 rounded-sm" }),
|
|
33587
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.Skeleton, { className: "h-3 w-1/2" })
|
|
33638
33588
|
] })
|
|
33639
33589
|
] }),
|
|
33640
33590
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
33641
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33642
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33591
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.Skeleton, { className: "size-4 rounded-sm" }),
|
|
33592
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.Skeleton, { className: "size-8 rounded-full" })
|
|
33643
33593
|
] })
|
|
33644
33594
|
] }),
|
|
33645
33595
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-8 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
33646
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33647
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33596
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.Skeleton, { className: "h-8 w-16 rounded-md" }),
|
|
33597
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3B43AHYEcjs.Skeleton, { className: "h-8 w-12 rounded-md" })
|
|
33648
33598
|
] })
|
|
33649
33599
|
]
|
|
33650
33600
|
}
|
|
@@ -33730,7 +33680,7 @@ function ColumnBody({ column, getTicketHref, renderAssignSlot, onLoadMore, loadM
|
|
|
33730
33680
|
const observer = new IntersectionObserver(
|
|
33731
33681
|
(entries) => {
|
|
33732
33682
|
if (entries.some((e) => e.isIntersecting)) {
|
|
33733
|
-
_optionalChain([loadMoreRef, 'access',
|
|
33683
|
+
_optionalChain([loadMoreRef, 'access', _752 => _752.current, 'optionalCall', _753 => _753(columnIdRef.current)]);
|
|
33734
33684
|
}
|
|
33735
33685
|
},
|
|
33736
33686
|
{ root, rootMargin: loadMoreRootMargin }
|
|
@@ -33759,7 +33709,7 @@ function ColumnBody({ column, getTicketHref, renderAssignSlot, onLoadMore, loadM
|
|
|
33759
33709
|
{
|
|
33760
33710
|
ticket: t,
|
|
33761
33711
|
columnId: column.id,
|
|
33762
|
-
href: _optionalChain([getTicketHref, 'optionalCall',
|
|
33712
|
+
href: _optionalChain([getTicketHref, 'optionalCall', _754 => _754(t.id)]),
|
|
33763
33713
|
renderAssignSlot,
|
|
33764
33714
|
dragDisabled: column.dragDisabled
|
|
33765
33715
|
},
|
|
@@ -33854,17 +33804,17 @@ function Board({
|
|
|
33854
33804
|
const pointer = _core.pointerWithin.call(void 0, args);
|
|
33855
33805
|
const intersections = pointer.length > 0 ? pointer : _core.rectIntersection.call(void 0, args);
|
|
33856
33806
|
const ticketHit = intersections.find(
|
|
33857
|
-
(c) => _optionalChain([c, 'access',
|
|
33807
|
+
(c) => _optionalChain([c, 'access', _755 => _755.data, 'optionalAccess', _756 => _756.droppableContainer, 'optionalAccess', _757 => _757.data, 'optionalAccess', _758 => _758.current, 'optionalAccess', _759 => _759.type]) === "ticket"
|
|
33858
33808
|
);
|
|
33859
33809
|
if (ticketHit) return [ticketHit];
|
|
33860
33810
|
const columnHit = intersections.find(
|
|
33861
|
-
(c) => _optionalChain([c, 'access',
|
|
33811
|
+
(c) => _optionalChain([c, 'access', _760 => _760.data, 'optionalAccess', _761 => _761.droppableContainer, 'optionalAccess', _762 => _762.data, 'optionalAccess', _763 => _763.current, 'optionalAccess', _764 => _764.type]) === "column"
|
|
33862
33812
|
);
|
|
33863
33813
|
if (columnHit) {
|
|
33864
|
-
const columnId = _optionalChain([columnHit, 'access',
|
|
33814
|
+
const columnId = _optionalChain([columnHit, 'access', _765 => _765.data, 'optionalAccess', _766 => _766.droppableContainer, 'optionalAccess', _767 => _767.data, 'optionalAccess', _768 => _768.current, 'optionalAccess', _769 => _769.columnId]);
|
|
33865
33815
|
const ticketsInColumn = args.droppableContainers.filter((c) => {
|
|
33866
33816
|
const d = c.data.current;
|
|
33867
|
-
return _optionalChain([d, 'optionalAccess',
|
|
33817
|
+
return _optionalChain([d, 'optionalAccess', _770 => _770.type]) === "ticket" && d.columnId === columnId;
|
|
33868
33818
|
});
|
|
33869
33819
|
if (ticketsInColumn.length > 0) {
|
|
33870
33820
|
const closest = _core.closestCorners.call(void 0, { ...args, droppableContainers: ticketsInColumn });
|
|
@@ -33889,20 +33839,20 @@ function Board({
|
|
|
33889
33839
|
const overId = String(over.id);
|
|
33890
33840
|
if (activeId === overId) return;
|
|
33891
33841
|
const overData = over.data.current;
|
|
33892
|
-
const fromColumnId = _optionalChain([locate, 'call',
|
|
33893
|
-
const toColumnId = _optionalChain([overData, 'optionalAccess',
|
|
33842
|
+
const fromColumnId = _optionalChain([locate, 'call', _771 => _771(items, activeId), 'optionalAccess', _772 => _772.columnId]);
|
|
33843
|
+
const toColumnId = _optionalChain([overData, 'optionalAccess', _773 => _773.columnId]);
|
|
33894
33844
|
if (!fromColumnId || !toColumnId || fromColumnId === toColumnId) return;
|
|
33895
33845
|
const origin = dragOriginRef.current;
|
|
33896
|
-
const isReturnToOrigin = _optionalChain([origin, 'optionalAccess',
|
|
33846
|
+
const isReturnToOrigin = _optionalChain([origin, 'optionalAccess', _774 => _774.fromColumnId]) === toColumnId;
|
|
33897
33847
|
const targetCol = items.find((c) => c.id === toColumnId);
|
|
33898
|
-
const blockedBySource = !isReturnToOrigin && !!_optionalChain([targetCol, 'optionalAccess',
|
|
33899
|
-
if (_optionalChain([targetCol, 'optionalAccess',
|
|
33848
|
+
const blockedBySource = !isReturnToOrigin && !!_optionalChain([targetCol, 'optionalAccess', _775 => _775.allowedFromColumns]) && !!origin && !targetCol.allowedFromColumns.includes(origin.fromColumnId);
|
|
33849
|
+
if (_optionalChain([targetCol, 'optionalAccess', _776 => _776.dropDisabled]) && !isReturnToOrigin || blockedBySource) return;
|
|
33900
33850
|
setItems((prev) => {
|
|
33901
33851
|
const fromIndex = findIndexInColumn(prev, fromColumnId, activeId);
|
|
33902
33852
|
const toCol = prev.find((c) => c.id === toColumnId);
|
|
33903
33853
|
if (fromIndex < 0 || !toCol) return prev;
|
|
33904
33854
|
let toIndex;
|
|
33905
|
-
if (_optionalChain([overData, 'optionalAccess',
|
|
33855
|
+
if (_optionalChain([overData, 'optionalAccess', _777 => _777.type]) === "column") {
|
|
33906
33856
|
toIndex = toCol.tickets.length;
|
|
33907
33857
|
} else {
|
|
33908
33858
|
const overIndex = toCol.tickets.findIndex((t) => t.id === overId);
|
|
@@ -33944,14 +33894,14 @@ function Board({
|
|
|
33944
33894
|
const toColumnId = located.columnId;
|
|
33945
33895
|
const isCrossColumn = origin.fromColumnId !== toColumnId;
|
|
33946
33896
|
const targetCol = items.find((c) => c.id === toColumnId);
|
|
33947
|
-
if (isCrossColumn && (_optionalChain([targetCol, 'optionalAccess',
|
|
33897
|
+
if (isCrossColumn && (_optionalChain([targetCol, 'optionalAccess', _778 => _778.dropDisabled]) || _optionalChain([targetCol, 'optionalAccess', _779 => _779.allowedFromColumns]) && !targetCol.allowedFromColumns.includes(origin.fromColumnId))) {
|
|
33948
33898
|
setItems(columns);
|
|
33949
33899
|
return;
|
|
33950
33900
|
}
|
|
33951
33901
|
let finalIndex = located.index;
|
|
33952
|
-
let finalColumnTickets = _nullishCoalesce(_optionalChain([items, 'access',
|
|
33902
|
+
let finalColumnTickets = _nullishCoalesce(_optionalChain([items, 'access', _780 => _780.find, 'call', _781 => _781((c) => c.id === toColumnId), 'optionalAccess', _782 => _782.tickets]), () => ( []));
|
|
33953
33903
|
const overData = over.data.current;
|
|
33954
|
-
if (_optionalChain([overData, 'optionalAccess',
|
|
33904
|
+
if (_optionalChain([overData, 'optionalAccess', _783 => _783.type]) === "ticket") {
|
|
33955
33905
|
const overIndex = findIndexInColumn(items, toColumnId, String(over.id));
|
|
33956
33906
|
if (overIndex >= 0 && overIndex !== located.index) {
|
|
33957
33907
|
finalColumnTickets = _sortable.arrayMove.call(void 0, finalColumnTickets, located.index, overIndex);
|
|
@@ -33971,8 +33921,8 @@ function Board({
|
|
|
33971
33921
|
ticketId: origin.ticketId,
|
|
33972
33922
|
fromColumnId: origin.fromColumnId,
|
|
33973
33923
|
toColumnId,
|
|
33974
|
-
afterTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access',
|
|
33975
|
-
beforeTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access',
|
|
33924
|
+
afterTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access', _784 => _784[finalIndex - 1], 'optionalAccess', _785 => _785.id]), () => ( null)),
|
|
33925
|
+
beforeTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access', _786 => _786[finalIndex + 1], 'optionalAccess', _787 => _787.id]), () => ( null))
|
|
33976
33926
|
});
|
|
33977
33927
|
};
|
|
33978
33928
|
const handleDragCancel = () => {
|
|
@@ -34001,8 +33951,8 @@ function Board({
|
|
|
34001
33951
|
children: items.map((column, i) => {
|
|
34002
33952
|
const prev = items[i - 1];
|
|
34003
33953
|
const next = items[i + 1];
|
|
34004
|
-
const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess',
|
|
34005
|
-
const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess',
|
|
33954
|
+
const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess', _788 => _788.system]));
|
|
33955
|
+
const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess', _789 => _789.system]));
|
|
34006
33956
|
const showGap = i > 0 && !joinLeft;
|
|
34007
33957
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React102.Fragment, { children: [
|
|
34008
33958
|
showGap && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "w-[var(--spacing-system-mf)] shrink-0" }),
|
|
@@ -34060,7 +34010,7 @@ function locate(cols, ticketId) {
|
|
|
34060
34010
|
return null;
|
|
34061
34011
|
}
|
|
34062
34012
|
function findIndexInColumn(cols, columnId, ticketId) {
|
|
34063
|
-
return _nullishCoalesce(_optionalChain([cols, 'access',
|
|
34013
|
+
return _nullishCoalesce(_optionalChain([cols, 'access', _790 => _790.find, 'call', _791 => _791((c) => c.id === columnId), 'optionalAccess', _792 => _792.tickets, 'access', _793 => _793.findIndex, 'call', _794 => _794((t) => t.id === ticketId)]), () => ( -1));
|
|
34064
34014
|
}
|
|
34065
34015
|
|
|
34066
34016
|
// src/components/features/board/types.ts
|
|
@@ -34726,5 +34676,5 @@ function canonicalize(status) {
|
|
|
34726
34676
|
|
|
34727
34677
|
|
|
34728
34678
|
|
|
34729
|
-
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.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.BlockCard = BlockCard; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.MESSAGE_TYPE = MESSAGE_TYPE; exports.SCROLL_ANCHOR = SCROLL_ANCHOR; exports.ChatMessageList = ChatMessageList; exports.Tabs = Tabs; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.extractYouTubeId = extractYouTubeId; exports.Video = Video2; 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.ChatVideoEntityCard = ChatVideoEntityCard; 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.NETWORK_CONFIG = NETWORK_CONFIG; exports.useChunkCatchup = useChunkCatchup; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; 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.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;
|
|
34730
|
-
//# sourceMappingURL=chunk-
|
|
34679
|
+
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.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.BlockCard = BlockCard; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.MESSAGE_TYPE = MESSAGE_TYPE; exports.SCROLL_ANCHOR = SCROLL_ANCHOR; exports.ChatMessageList = ChatMessageList; exports.Tabs = Tabs; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.extractYouTubeId = extractYouTubeId; exports.Video = Video2; 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.ChatVideoEntityCard = ChatVideoEntityCard; 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.NETWORK_CONFIG = NETWORK_CONFIG; exports.useChunkCatchup = useChunkCatchup; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; 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.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.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.EntityImage = EntityImage; 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;
|
|
34680
|
+
//# sourceMappingURL=chunk-UCY537V4.cjs.map
|