@flamingo-stack/openframe-frontend-core 0.0.200-snapshot.20260520171313 → 0.0.200
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-UCY537V4.cjs → chunk-C3M6R6JH.cjs} +527 -477
- package/dist/chunk-C3M6R6JH.cjs.map +1 -0
- package/dist/{chunk-55HF462A.js → chunk-TMD44IKJ.js} +2 -2
- package/dist/{chunk-3B43AHYE.cjs.map → chunk-TMD44IKJ.js.map} +1 -1
- package/dist/{chunk-3B43AHYE.cjs → chunk-V2FNIPZJ.cjs} +2 -2
- package/dist/chunk-V2FNIPZJ.cjs.map +1 -0
- package/dist/{chunk-CSW5GYBU.js → chunk-ZOM75JOY.js} +765 -715
- package/dist/chunk-ZOM75JOY.js.map +1 -0
- package/dist/components/features/index.cjs +5 -3
- package/dist/components/features/index.cjs.map +1 -1
- package/dist/components/features/index.d.ts +1 -0
- package/dist/components/features/index.d.ts.map +1 -1
- package/dist/components/features/index.js +4 -2
- package/dist/components/features/organization-icon.d.ts +80 -0
- package/dist/components/features/organization-icon.d.ts.map +1 -0
- 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/file-manager/index.cjs +50 -50
- package/dist/components/ui/file-manager/index.js +1 -1
- package/dist/components/ui/index.cjs +3 -5
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.d.ts +0 -1
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +2 -4
- 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 +1 -0
- package/src/components/features/organization-icon.tsx +175 -0
- package/src/components/layout/title-block.tsx +30 -6
- package/src/components/ui/button/button.tsx +1 -1
- package/src/components/ui/checkbox-block.tsx +13 -13
- package/src/components/ui/index.ts +0 -1
- package/src/components/ui/organization-card.tsx +8 -4
- package/src/stories/CheckboxBlock.stories.tsx +3 -1
- package/src/stories/OrganizationCard.stories.tsx +0 -14
- package/dist/chunk-55HF462A.js.map +0 -1
- package/dist/chunk-CSW5GYBU.js.map +0 -1
- package/dist/chunk-UCY537V4.cjs.map +0 -1
- package/dist/components/ui/entity-image.d.ts +0 -9
- package/dist/components/ui/entity-image.d.ts.map +0 -1
- package/src/components/ui/entity-image.tsx +0 -56
|
@@ -31,7 +31,7 @@ var _chunkOII2IEREcjs = require('./chunk-OII2IERE.cjs');
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
var
|
|
34
|
+
var _chunkV2FNIPZJcjs = require('./chunk-V2FNIPZJ.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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, _chunkV2FNIPZJcjs.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, _chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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, _chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.init_button2.call(void 0, );
|
|
1203
1203
|
|
|
1204
1204
|
// src/components/ui/card.tsx
|
|
1205
1205
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
@@ -1289,15 +1289,14 @@ 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-[6px] border w-full",
|
|
1293
1293
|
"p-[var(--spacing-system-sf)]",
|
|
1294
|
-
!description && "
|
|
1295
|
-
|
|
1296
|
-
"bg-ods-card ring-ods-border",
|
|
1294
|
+
!description && "h-11 md:h-12",
|
|
1295
|
+
"bg-ods-card border-ods-border",
|
|
1297
1296
|
"cursor-pointer transition-colors duration-200",
|
|
1298
|
-
"hover:
|
|
1299
|
-
disabled && "opacity-50 cursor-not-allowed hover:
|
|
1300
|
-
error && "
|
|
1297
|
+
"hover:border-ods-accent/30",
|
|
1298
|
+
disabled && "opacity-50 cursor-not-allowed hover:border-ods-border",
|
|
1299
|
+
error && "border-ods-error"
|
|
1301
1300
|
),
|
|
1302
1301
|
children: [
|
|
1303
1302
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -1310,7 +1309,7 @@ var CheckboxBlock = React4.forwardRef(({ id, checked, defaultChecked, onCheckedC
|
|
|
1310
1309
|
onCheckedChange,
|
|
1311
1310
|
disabled,
|
|
1312
1311
|
className: _chunkUC43NICZcjs.cn.call(void 0,
|
|
1313
|
-
"h-
|
|
1312
|
+
"h-6 w-6 shrink-0",
|
|
1314
1313
|
"rounded-[6px] border-2",
|
|
1315
1314
|
error ? "border-ods-error" : "border-[var(--color-border-strong)]",
|
|
1316
1315
|
"bg-ods-card",
|
|
@@ -1322,19 +1321,20 @@ var CheckboxBlock = React4.forwardRef(({ id, checked, defaultChecked, onCheckedC
|
|
|
1322
1321
|
CheckboxPrimitive.Indicator,
|
|
1323
1322
|
{
|
|
1324
1323
|
className: "flex items-center justify-center text-ods-text-on-accent",
|
|
1325
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.CheckboxCheckmarkIcon, {
|
|
1324
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.CheckboxCheckmarkIcon, { size: 10 })
|
|
1326
1325
|
}
|
|
1327
1326
|
)
|
|
1328
1327
|
}
|
|
1329
1328
|
),
|
|
1330
1329
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col justify-center min-w-0", children: [
|
|
1331
1330
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkUC43NICZcjs.cn.call(void 0,
|
|
1332
|
-
"text-h4
|
|
1333
|
-
"text-ods-text-primary select-none
|
|
1331
|
+
"text-h4",
|
|
1332
|
+
"text-ods-text-primary select-none",
|
|
1333
|
+
!description && "truncate"
|
|
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",
|
|
1337
|
+
"text-ods-text-secondary select-none"
|
|
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
|
+
_chunkV2FNIPZJcjs.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, _chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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, _chunkV2FNIPZJcjs.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, _chunkV2FNIPZJcjs.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, _chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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 sizeClasses5 = {
|
|
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
|
+
sizeClasses5[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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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, _chunkV2FNIPZJcjs.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, _chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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, _chunkV2FNIPZJcjs.DropdownMenu, { children: [
|
|
10543
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2FNIPZJcjs.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, _chunkV2FNIPZJcjs.DropdownMenuContent, { align: "end", className: "min-w-[240px]", children: [
|
|
10566
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2FNIPZJcjs.DropdownMenuItem, { onClick: () => _optionalChain([onOrgChange, 'optionalCall', _346 => _346("")]), children: "All Organizations" }),
|
|
10567
10567
|
organizations.map((org) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10568
|
-
|
|
10568
|
+
_chunkV2FNIPZJcjs.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, _chunkV2FNIPZJcjs.DropdownMenu, { children: [
|
|
10666
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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 sizeClasses5 = {
|
|
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: sizeClasses5[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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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, _chunkV2FNIPZJcjs.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, _chunkV2FNIPZJcjs.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, _chunkV2FNIPZJcjs.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, _chunkV2FNIPZJcjs.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, _chunkV2FNIPZJcjs.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, _chunkV2FNIPZJcjs.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, _chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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, _chunkV2FNIPZJcjs.Button, { variant: "outline", onClick: onCancel, "aria-label": "Cancel crop", children: "Cancel" }),
|
|
14217
14217
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14218
|
-
|
|
14218
|
+
_chunkV2FNIPZJcjs.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 sizeClasses5 = {
|
|
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, sizeClasses5[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 sizeClasses5 = {
|
|
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, sizeClasses5[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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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, _chunkV2FNIPZJcjs.DropdownMenu, { open, onOpenChange: setOpen, modal: false, children: [
|
|
18202
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2FNIPZJcjs.DropdownMenuTrigger, { asChild: true, children: _nullishCoalesce(customTrigger, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18203
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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 backgroundClasses4 = {
|
|
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
|
+
backgroundClasses4[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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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, _chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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, _chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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, _chunkV2FNIPZJcjs.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, _chunkV2FNIPZJcjs.Skeleton, { className: "h-6 w-6 rounded-[6px] shrink-0" }),
|
|
21377
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2FNIPZJcjs.Skeleton, { className: "h-4 flex-1 max-w-[60%]" }),
|
|
21378
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2FNIPZJcjs.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, _chunkV2FNIPZJcjs.Button, { variant: "outline", className: "flex-1 h-11", onClick: handleReset, children: resetButtonText }),
|
|
21433
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.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
|
+
_chunkV2FNIPZJcjs.Button,
|
|
21504
21504
|
{
|
|
21505
21505
|
variant: "outline",
|
|
21506
21506
|
size: "icon",
|
|
@@ -21537,9 +21537,6 @@ _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
|
-
|
|
21543
21540
|
|
|
21544
21541
|
function getInitials3(name) {
|
|
21545
21542
|
if (!name) return "";
|
|
@@ -21547,42 +21544,6 @@ function getInitials3(name) {
|
|
|
21547
21544
|
if (words.length === 1) return words[0].charAt(0).toUpperCase();
|
|
21548
21545
|
return (words[0].charAt(0) + words[words.length - 1].charAt(0)).toUpperCase();
|
|
21549
21546
|
}
|
|
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
|
-
|
|
21586
21547
|
function TitleBlock({
|
|
21587
21548
|
title,
|
|
21588
21549
|
subtitle,
|
|
@@ -21596,6 +21557,12 @@ function TitleBlock({
|
|
|
21596
21557
|
className
|
|
21597
21558
|
}) {
|
|
21598
21559
|
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);
|
|
21599
21566
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21600
21567
|
"div",
|
|
21601
21568
|
{
|
|
@@ -21623,14 +21590,22 @@ function TitleBlock({
|
|
|
21623
21590
|
}
|
|
21624
21591
|
),
|
|
21625
21592
|
image || subtitle ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-m)] min-w-0 w-full", children: [
|
|
21626
|
-
image && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21627
|
-
|
|
21593
|
+
image && (showImageFallback ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21594
|
+
"div",
|
|
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",
|
|
21628
21602
|
{
|
|
21629
21603
|
src: image.src,
|
|
21630
|
-
alt: image.alt,
|
|
21631
|
-
|
|
21604
|
+
alt: _nullishCoalesce(image.alt, () => ( "")),
|
|
21605
|
+
onError: () => setImageFailed(true),
|
|
21606
|
+
className: "size-[52px] md:size-[60px] shrink-0 rounded-md border border-ods-border object-cover"
|
|
21632
21607
|
}
|
|
21633
|
-
),
|
|
21608
|
+
)),
|
|
21634
21609
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col justify-center min-w-0 flex-1", children: [
|
|
21635
21610
|
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "text-h2 text-ods-text-primary truncate", children: title }),
|
|
21636
21611
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6 text-ods-text-secondary truncate", children: subtitle })
|
|
@@ -21850,7 +21825,7 @@ var BenefitCardGrid = ({
|
|
|
21850
21825
|
};
|
|
21851
21826
|
|
|
21852
21827
|
// src/components/ui/brand-association-card.tsx
|
|
21853
|
-
|
|
21828
|
+
_chunkV2FNIPZJcjs.init_button2.call(void 0, );
|
|
21854
21829
|
|
|
21855
21830
|
|
|
21856
21831
|
|
|
@@ -21870,7 +21845,7 @@ function BrandAssociationCard({
|
|
|
21870
21845
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-h2 tracking-[-0.64px] text-ods-text-primary", children: item.title }),
|
|
21871
21846
|
/* @__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 }),
|
|
21872
21847
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21873
|
-
|
|
21848
|
+
_chunkV2FNIPZJcjs.Button,
|
|
21874
21849
|
{
|
|
21875
21850
|
variant: "outline",
|
|
21876
21851
|
href: item.link,
|
|
@@ -22383,26 +22358,26 @@ function DeviceCard({
|
|
|
22383
22358
|
] }),
|
|
22384
22359
|
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 })
|
|
22385
22360
|
] }),
|
|
22386
|
-
_optionalChain([actions, 'access',
|
|
22361
|
+
_optionalChain([actions, 'access', _513 => _513.moreButton, 'optionalAccess', _514 => _514.visible]) !== false && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22387
22362
|
"div",
|
|
22388
22363
|
{
|
|
22389
22364
|
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",
|
|
22390
22365
|
onClick: (e) => {
|
|
22391
22366
|
e.stopPropagation();
|
|
22392
|
-
_optionalChain([actions, 'access',
|
|
22367
|
+
_optionalChain([actions, 'access', _515 => _515.moreButton, 'optionalAccess', _516 => _516.onClick, 'optionalCall', _517 => _517()]);
|
|
22393
22368
|
},
|
|
22394
22369
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVJTFBYVGcjs.Ellipsis01Icon, { className: "text-ods-text-primary" })
|
|
22395
22370
|
}
|
|
22396
22371
|
),
|
|
22397
|
-
_optionalChain([actions, 'access',
|
|
22398
|
-
_optionalChain([actions, 'access',
|
|
22372
|
+
_optionalChain([actions, 'access', _518 => _518.detailsButton, 'optionalAccess', _519 => _519.visible]) !== false && _optionalChain([actions, 'access', _520 => _520.detailsButton, 'optionalAccess', _521 => _521.component]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0", onClick: (e) => e.stopPropagation(), children: actions.detailsButton.component }),
|
|
22373
|
+
_optionalChain([actions, 'access', _522 => _522.customActions, 'optionalAccess', _523 => _523.map, 'call', _524 => _524(
|
|
22399
22374
|
(action, index) => action.visible !== false && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22400
22375
|
"div",
|
|
22401
22376
|
{
|
|
22402
22377
|
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",
|
|
22403
22378
|
onClick: (e) => {
|
|
22404
22379
|
e.stopPropagation();
|
|
22405
|
-
_optionalChain([action, 'access',
|
|
22380
|
+
_optionalChain([action, 'access', _525 => _525.onClick, 'optionalCall', _526 => _526()]);
|
|
22406
22381
|
},
|
|
22407
22382
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h3 text-ods-text-primary text-nowrap tracking-[-0.36px]", children: action.label })
|
|
22408
22383
|
},
|
|
@@ -22684,7 +22659,7 @@ _chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
|
22684
22659
|
|
|
22685
22660
|
var IconsBlock = React76.forwardRef(
|
|
22686
22661
|
({ className, icons = [], size = "md", ...props }, ref) => {
|
|
22687
|
-
const
|
|
22662
|
+
const sizeClasses5 = {
|
|
22688
22663
|
sm: "h-4 w-4",
|
|
22689
22664
|
md: "h-6 w-6",
|
|
22690
22665
|
lg: "h-8 w-8"
|
|
@@ -22703,7 +22678,7 @@ var IconsBlock = React76.forwardRef(
|
|
|
22703
22678
|
{
|
|
22704
22679
|
className: _chunkUC43NICZcjs.cn.call(void 0,
|
|
22705
22680
|
"rounded-md bg-secondary p-1",
|
|
22706
|
-
|
|
22681
|
+
sizeClasses5[size]
|
|
22707
22682
|
),
|
|
22708
22683
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full w-full bg-primary/20 rounded-sm" })
|
|
22709
22684
|
},
|
|
@@ -22722,7 +22697,7 @@ _chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
|
22722
22697
|
// src/components/ui/more-actions-menu.tsx
|
|
22723
22698
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
22724
22699
|
|
|
22725
|
-
|
|
22700
|
+
_chunkV2FNIPZJcjs.init_button2.call(void 0, );
|
|
22726
22701
|
|
|
22727
22702
|
function MoreActionsMenu({
|
|
22728
22703
|
items,
|
|
@@ -22735,9 +22710,9 @@ function MoreActionsMenu({
|
|
|
22735
22710
|
open,
|
|
22736
22711
|
onOpenChange
|
|
22737
22712
|
}) {
|
|
22738
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22739
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22740
|
-
|
|
22713
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV2FNIPZJcjs.DropdownMenu, { open, onOpenChange, children: [
|
|
22714
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2FNIPZJcjs.DropdownMenuTrigger, { asChild: true, children: trigger || /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22715
|
+
_chunkV2FNIPZJcjs.Button,
|
|
22741
22716
|
{
|
|
22742
22717
|
variant: "outline",
|
|
22743
22718
|
size: "icon",
|
|
@@ -22747,7 +22722,7 @@ function MoreActionsMenu({
|
|
|
22747
22722
|
}
|
|
22748
22723
|
) }),
|
|
22749
22724
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22750
|
-
|
|
22725
|
+
_chunkV2FNIPZJcjs.DropdownMenuContent,
|
|
22751
22726
|
{
|
|
22752
22727
|
align,
|
|
22753
22728
|
side,
|
|
@@ -22761,11 +22736,11 @@ function MoreActionsMenu({
|
|
|
22761
22736
|
] });
|
|
22762
22737
|
const handleActivate = (e) => {
|
|
22763
22738
|
e.stopPropagation();
|
|
22764
|
-
if (!item.disabled) _optionalChain([item, 'access',
|
|
22739
|
+
if (!item.disabled) _optionalChain([item, 'access', _527 => _527.onClick, 'optionalCall', _528 => _528()]);
|
|
22765
22740
|
};
|
|
22766
22741
|
if (item.href) {
|
|
22767
22742
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22768
|
-
|
|
22743
|
+
_chunkV2FNIPZJcjs.DropdownMenuItem,
|
|
22769
22744
|
{
|
|
22770
22745
|
asChild: true,
|
|
22771
22746
|
disabled: item.disabled,
|
|
@@ -22794,7 +22769,7 @@ function MoreActionsMenu({
|
|
|
22794
22769
|
);
|
|
22795
22770
|
}
|
|
22796
22771
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22797
|
-
|
|
22772
|
+
_chunkV2FNIPZJcjs.DropdownMenuItem,
|
|
22798
22773
|
{
|
|
22799
22774
|
onClick: handleActivate,
|
|
22800
22775
|
disabled: item.disabled,
|
|
@@ -22877,6 +22852,77 @@ _chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
|
22877
22852
|
|
|
22878
22853
|
|
|
22879
22854
|
|
|
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
|
+
|
|
22880
22926
|
function OrganizationCard({
|
|
22881
22927
|
organization,
|
|
22882
22928
|
fetchedImageUrl,
|
|
@@ -22891,7 +22937,7 @@ function OrganizationCard({
|
|
|
22891
22937
|
const handleActionClick = (e) => {
|
|
22892
22938
|
e.preventDefault();
|
|
22893
22939
|
e.stopPropagation();
|
|
22894
|
-
_optionalChain([actionButton, 'optionalAccess',
|
|
22940
|
+
_optionalChain([actionButton, 'optionalAccess', _531 => _531.onClick, 'call', _532 => _532(organization, e)]);
|
|
22895
22941
|
};
|
|
22896
22942
|
const card = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22897
22943
|
"div",
|
|
@@ -22925,10 +22971,14 @@ function OrganizationCard({
|
|
|
22925
22971
|
),
|
|
22926
22972
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-3 w-full", children: [
|
|
22927
22973
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22928
|
-
|
|
22974
|
+
OrganizationIcon,
|
|
22929
22975
|
{
|
|
22930
|
-
|
|
22931
|
-
|
|
22976
|
+
imageUrl: fetchedImageUrl || organization.imageUrl,
|
|
22977
|
+
organizationName: organization.name,
|
|
22978
|
+
size: "xl",
|
|
22979
|
+
backgroundStyle: "dark",
|
|
22980
|
+
showBackground: true,
|
|
22981
|
+
className: "w-[60px] h-[60px]"
|
|
22932
22982
|
}
|
|
22933
22983
|
),
|
|
22934
22984
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 flex flex-col justify-center py-2 min-w-0", children: [
|
|
@@ -22983,7 +23033,7 @@ var LOG_SEVERITY_LABELS = {
|
|
|
22983
23033
|
// src/components/log-severity-dot.tsx
|
|
22984
23034
|
|
|
22985
23035
|
var LogSeverityDot = React78.forwardRef(({ severity, size = "md", className }, ref) => {
|
|
22986
|
-
const
|
|
23036
|
+
const sizeClasses5 = {
|
|
22987
23037
|
sm: "w-4 h-4",
|
|
22988
23038
|
md: "w-6 h-6",
|
|
22989
23039
|
lg: "w-8 h-8"
|
|
@@ -22999,7 +23049,7 @@ var LogSeverityDot = React78.forwardRef(({ severity, size = "md", className }, r
|
|
|
22999
23049
|
ref,
|
|
23000
23050
|
className: _chunkUC43NICZcjs.cn.call(void 0,
|
|
23001
23051
|
"relative flex items-center justify-center shrink-0",
|
|
23002
|
-
|
|
23052
|
+
sizeClasses5[size],
|
|
23003
23053
|
className
|
|
23004
23054
|
),
|
|
23005
23055
|
"aria-label": `${LOG_SEVERITY_LABELS[severity]} severity`,
|
|
@@ -23044,7 +23094,7 @@ var LogCard = ({ log, isLast, showConnector, onClick }) => {
|
|
|
23044
23094
|
onKeyDown: (e) => {
|
|
23045
23095
|
if (e.key === "Enter" || e.key === " ") {
|
|
23046
23096
|
e.preventDefault();
|
|
23047
|
-
_optionalChain([onClick, 'optionalCall',
|
|
23097
|
+
_optionalChain([onClick, 'optionalCall', _533 => _533()]);
|
|
23048
23098
|
}
|
|
23049
23099
|
},
|
|
23050
23100
|
children: [
|
|
@@ -23145,7 +23195,7 @@ var LogsList = React79.forwardRef(({
|
|
|
23145
23195
|
log,
|
|
23146
23196
|
isLast: index === logs.length - 1,
|
|
23147
23197
|
showConnector,
|
|
23148
|
-
onClick: () => _optionalChain([onLogClick, 'optionalCall',
|
|
23198
|
+
onClick: () => _optionalChain([onLogClick, 'optionalCall', _534 => _534(log)])
|
|
23149
23199
|
},
|
|
23150
23200
|
log.id
|
|
23151
23201
|
))
|
|
@@ -23401,7 +23451,7 @@ var TooltipContent = React81.forwardRef(({ className, sideOffset = 4, ...props }
|
|
|
23401
23451
|
TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
|
23402
23452
|
|
|
23403
23453
|
// src/components/ui/error-state.tsx
|
|
23404
|
-
|
|
23454
|
+
_chunkV2FNIPZJcjs.init_button2.call(void 0, );
|
|
23405
23455
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
23406
23456
|
|
|
23407
23457
|
|
|
@@ -23455,7 +23505,7 @@ function ErrorState({
|
|
|
23455
23505
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunkUC43NICZcjs.cn.call(void 0, "text-sm", styles.text), children: message }),
|
|
23456
23506
|
(showRetry || showHome) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2 mt-3", children: [
|
|
23457
23507
|
showRetry && onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23458
|
-
|
|
23508
|
+
_chunkV2FNIPZJcjs.Button,
|
|
23459
23509
|
{
|
|
23460
23510
|
onClick: onRetry,
|
|
23461
23511
|
variant: "outline",
|
|
@@ -23466,7 +23516,7 @@ function ErrorState({
|
|
|
23466
23516
|
}
|
|
23467
23517
|
),
|
|
23468
23518
|
showHome && onHome && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23469
|
-
|
|
23519
|
+
_chunkV2FNIPZJcjs.Button,
|
|
23470
23520
|
{
|
|
23471
23521
|
onClick: onHome,
|
|
23472
23522
|
variant: "outline",
|
|
@@ -23594,11 +23644,11 @@ var ListLoader = (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Content
|
|
|
23594
23644
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
23595
23645
|
|
|
23596
23646
|
init_pagination();
|
|
23597
|
-
|
|
23647
|
+
_chunkV2FNIPZJcjs.init_button2.call(void 0, );
|
|
23598
23648
|
|
|
23599
23649
|
// src/components/ui/cursor-pagination.tsx
|
|
23600
23650
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
23601
|
-
|
|
23651
|
+
_chunkV2FNIPZJcjs.init_button2.call(void 0, );
|
|
23602
23652
|
|
|
23603
23653
|
|
|
23604
23654
|
function CursorPagination({
|
|
@@ -23659,7 +23709,7 @@ function CursorPagination({
|
|
|
23659
23709
|
showInfo && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-sm text-[#888888]", children: displayText || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "\xA0" }) }),
|
|
23660
23710
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
23661
23711
|
onReset ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23662
|
-
|
|
23712
|
+
_chunkV2FNIPZJcjs.Button,
|
|
23663
23713
|
{
|
|
23664
23714
|
variant: "outline",
|
|
23665
23715
|
size: compact ? "small-legacy" : "default",
|
|
@@ -23673,7 +23723,7 @@ function CursorPagination({
|
|
|
23673
23723
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: compact ? "hidden md:inline" : "", children: resetButtonLabel })
|
|
23674
23724
|
}
|
|
23675
23725
|
) : hasPreviousPage !== void 0 && onPrevious && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23676
|
-
|
|
23726
|
+
_chunkV2FNIPZJcjs.Button,
|
|
23677
23727
|
{
|
|
23678
23728
|
variant: "outline",
|
|
23679
23729
|
size: compact ? "small-legacy" : "default",
|
|
@@ -23688,7 +23738,7 @@ function CursorPagination({
|
|
|
23688
23738
|
}
|
|
23689
23739
|
),
|
|
23690
23740
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23691
|
-
|
|
23741
|
+
_chunkV2FNIPZJcjs.Button,
|
|
23692
23742
|
{
|
|
23693
23743
|
variant: "outline",
|
|
23694
23744
|
size: compact ? "small-legacy" : "default",
|
|
@@ -23719,7 +23769,7 @@ function CursorPaginationSimple({
|
|
|
23719
23769
|
}) {
|
|
23720
23770
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkUC43NICZcjs.cn.call(void 0, "flex items-center gap-1", className), children: [
|
|
23721
23771
|
onReset ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23722
|
-
|
|
23772
|
+
_chunkV2FNIPZJcjs.Button,
|
|
23723
23773
|
{
|
|
23724
23774
|
variant: "transparent",
|
|
23725
23775
|
size: "icon",
|
|
@@ -23730,11 +23780,11 @@ function CursorPaginationSimple({
|
|
|
23730
23780
|
"aria-label": "First"
|
|
23731
23781
|
}
|
|
23732
23782
|
) : hasPreviousPage !== void 0 && onPrevious && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23733
|
-
|
|
23783
|
+
_chunkV2FNIPZJcjs.Button,
|
|
23734
23784
|
{
|
|
23735
23785
|
variant: "transparent",
|
|
23736
23786
|
size: "icon",
|
|
23737
|
-
onClick: () => _optionalChain([onPrevious, 'optionalCall',
|
|
23787
|
+
onClick: () => _optionalChain([onPrevious, 'optionalCall', _535 => _535("")]),
|
|
23738
23788
|
disabled: !hasPreviousPage || loading,
|
|
23739
23789
|
className: "h-8 w-8",
|
|
23740
23790
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" }),
|
|
@@ -23742,11 +23792,11 @@ function CursorPaginationSimple({
|
|
|
23742
23792
|
}
|
|
23743
23793
|
),
|
|
23744
23794
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23745
|
-
|
|
23795
|
+
_chunkV2FNIPZJcjs.Button,
|
|
23746
23796
|
{
|
|
23747
23797
|
variant: "transparent",
|
|
23748
23798
|
size: "icon",
|
|
23749
|
-
onClick: () => _optionalChain([onNext, 'optionalCall',
|
|
23799
|
+
onClick: () => _optionalChain([onNext, 'optionalCall', _536 => _536("")]),
|
|
23750
23800
|
disabled: !hasNextPage || loading,
|
|
23751
23801
|
className: "h-8 w-8",
|
|
23752
23802
|
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" }),
|
|
@@ -23758,7 +23808,7 @@ function CursorPaginationSimple({
|
|
|
23758
23808
|
|
|
23759
23809
|
// src/components/ui/table/table-empty-state.tsx
|
|
23760
23810
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
23761
|
-
|
|
23811
|
+
_chunkV2FNIPZJcjs.init_button2.call(void 0, );
|
|
23762
23812
|
|
|
23763
23813
|
|
|
23764
23814
|
function TableEmptyState({
|
|
@@ -23778,7 +23828,7 @@ function TableEmptyState({
|
|
|
23778
23828
|
/* @__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" }) }),
|
|
23779
23829
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-secondary text-center mb-6", children: message }),
|
|
23780
23830
|
action && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23781
|
-
|
|
23831
|
+
_chunkV2FNIPZJcjs.Button,
|
|
23782
23832
|
{
|
|
23783
23833
|
variant: "outline",
|
|
23784
23834
|
onClick: action.onClick,
|
|
@@ -23806,7 +23856,7 @@ function TableColumnFilterDropdown({
|
|
|
23806
23856
|
placement = "bottom-start",
|
|
23807
23857
|
dropdownClassName = "min-w-[240px]"
|
|
23808
23858
|
}) {
|
|
23809
|
-
const activeCount = _optionalChain([filters, 'optionalAccess',
|
|
23859
|
+
const activeCount = _optionalChain([filters, 'optionalAccess', _537 => _537[columnKey], 'optionalAccess', _538 => _538.length]) || 0;
|
|
23810
23860
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23811
23861
|
FiltersDropdown,
|
|
23812
23862
|
{
|
|
@@ -23849,7 +23899,7 @@ function TableColumnFilterDropdown({
|
|
|
23849
23899
|
delete newFilters[columnKey];
|
|
23850
23900
|
onFilterChange(newFilters);
|
|
23851
23901
|
},
|
|
23852
|
-
currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess',
|
|
23902
|
+
currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess', _539 => _539[columnKey]]) || [] },
|
|
23853
23903
|
placement,
|
|
23854
23904
|
dropdownClassName
|
|
23855
23905
|
}
|
|
@@ -23935,7 +23985,7 @@ function TableHeader({
|
|
|
23935
23985
|
),
|
|
23936
23986
|
children: [
|
|
23937
23987
|
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,
|
|
23938
|
-
|
|
23988
|
+
_chunkV2FNIPZJcjs.Checkbox,
|
|
23939
23989
|
{
|
|
23940
23990
|
checked: allSelected || someSelected && !allSelected ? true : false,
|
|
23941
23991
|
onCheckedChange: onSelectAll,
|
|
@@ -24146,7 +24196,7 @@ function TableRow({
|
|
|
24146
24196
|
const keys = column.key.split(".");
|
|
24147
24197
|
let value = item;
|
|
24148
24198
|
for (const key of keys) {
|
|
24149
|
-
value = _optionalChain([value, 'optionalAccess',
|
|
24199
|
+
value = _optionalChain([value, 'optionalAccess', _540 => _540[key]]);
|
|
24150
24200
|
}
|
|
24151
24201
|
if (value === null || value === void 0) {
|
|
24152
24202
|
return "-";
|
|
@@ -24188,7 +24238,7 @@ function TableRow({
|
|
|
24188
24238
|
),
|
|
24189
24239
|
children: [
|
|
24190
24240
|
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,
|
|
24191
|
-
|
|
24241
|
+
_chunkV2FNIPZJcjs.Checkbox,
|
|
24192
24242
|
{
|
|
24193
24243
|
checked: selected,
|
|
24194
24244
|
onCheckedChange: handleSelect,
|
|
@@ -24216,7 +24266,7 @@ function TableRow({
|
|
|
24216
24266
|
// src/components/ui/table/table.tsx
|
|
24217
24267
|
|
|
24218
24268
|
function injectSyntheticColumns(columns, rowActions, renderRowActions, rowHref) {
|
|
24219
|
-
const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess',
|
|
24269
|
+
const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess', _541 => _541.length])) || Boolean(renderRowActions);
|
|
24220
24270
|
const result = [...columns];
|
|
24221
24271
|
if (hasActions) {
|
|
24222
24272
|
const actionsColumn = {
|
|
@@ -24225,7 +24275,7 @@ function injectSyntheticColumns(columns, rowActions, renderRowActions, rowHref)
|
|
|
24225
24275
|
width: "min-w-[100px] w-auto shrink-0 flex-none",
|
|
24226
24276
|
align: "right",
|
|
24227
24277
|
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,
|
|
24228
|
-
|
|
24278
|
+
_chunkV2FNIPZJcjs.Button,
|
|
24229
24279
|
{
|
|
24230
24280
|
variant: "outline",
|
|
24231
24281
|
onClick: (e) => {
|
|
@@ -24251,7 +24301,7 @@ function injectSyntheticColumns(columns, rowActions, renderRowActions, rowHref)
|
|
|
24251
24301
|
const href = rowHref(item);
|
|
24252
24302
|
if (!href) return null;
|
|
24253
24303
|
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,
|
|
24254
|
-
|
|
24304
|
+
_chunkV2FNIPZJcjs.Button,
|
|
24255
24305
|
{
|
|
24256
24306
|
href,
|
|
24257
24307
|
prefetch: false,
|
|
@@ -24310,7 +24360,7 @@ function Table({
|
|
|
24310
24360
|
return rowKey(item);
|
|
24311
24361
|
}
|
|
24312
24362
|
const key = item[rowKey];
|
|
24313
|
-
return _optionalChain([key, 'optionalAccess',
|
|
24363
|
+
return _optionalChain([key, 'optionalAccess', _542 => _542.toString, 'call', _543 => _543()]) || index.toString();
|
|
24314
24364
|
};
|
|
24315
24365
|
const getRowClassName = (item, index) => {
|
|
24316
24366
|
if (typeof rowClassName === "function") {
|
|
@@ -24344,23 +24394,23 @@ function Table({
|
|
|
24344
24394
|
const allSelected = selectedRows.length > 0 && selectedRows.length === data.length;
|
|
24345
24395
|
const someSelected = selectedRows.length > 0 && selectedRows.length < data.length;
|
|
24346
24396
|
const sentinelRef = _react.useRef.call(void 0, null);
|
|
24347
|
-
const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess',
|
|
24348
|
-
onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess',
|
|
24397
|
+
const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess', _544 => _544.onLoadMore]));
|
|
24398
|
+
onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess', _545 => _545.onLoadMore]);
|
|
24349
24399
|
_react.useEffect.call(void 0, () => {
|
|
24350
|
-
if (!_optionalChain([infiniteScroll, 'optionalAccess',
|
|
24400
|
+
if (!_optionalChain([infiniteScroll, 'optionalAccess', _546 => _546.hasNextPage]) || infiniteScroll.isFetchingNextPage) return;
|
|
24351
24401
|
const sentinel = sentinelRef.current;
|
|
24352
24402
|
if (!sentinel) return;
|
|
24353
24403
|
const observer = new IntersectionObserver(
|
|
24354
24404
|
(entries) => {
|
|
24355
|
-
if (_optionalChain([entries, 'access',
|
|
24356
|
-
_optionalChain([onLoadMoreRef, 'access',
|
|
24405
|
+
if (_optionalChain([entries, 'access', _547 => _547[0], 'optionalAccess', _548 => _548.isIntersecting])) {
|
|
24406
|
+
_optionalChain([onLoadMoreRef, 'access', _549 => _549.current, 'optionalCall', _550 => _550()]);
|
|
24357
24407
|
}
|
|
24358
24408
|
},
|
|
24359
24409
|
{ rootMargin: "200px" }
|
|
24360
24410
|
);
|
|
24361
24411
|
observer.observe(sentinel);
|
|
24362
24412
|
return () => observer.disconnect();
|
|
24363
|
-
}, [_optionalChain([infiniteScroll, 'optionalAccess',
|
|
24413
|
+
}, [_optionalChain([infiniteScroll, 'optionalAccess', _551 => _551.hasNextPage]), _optionalChain([infiniteScroll, 'optionalAccess', _552 => _552.isFetchingNextPage])]);
|
|
24364
24414
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkUC43NICZcjs.cn.call(void 0, "flex flex-col gap-1 w-full", containerClassName), children: [
|
|
24365
24415
|
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: [
|
|
24366
24416
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary text-sm", children: [
|
|
@@ -24431,7 +24481,7 @@ function Table({
|
|
|
24431
24481
|
},
|
|
24432
24482
|
getRowKey(item, index)
|
|
24433
24483
|
)),
|
|
24434
|
-
_optionalChain([infiniteScroll, 'optionalAccess',
|
|
24484
|
+
_optionalChain([infiniteScroll, 'optionalAccess', _553 => _553.isFetchingNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24435
24485
|
TableCardSkeleton,
|
|
24436
24486
|
{
|
|
24437
24487
|
columns,
|
|
@@ -24440,7 +24490,7 @@ function Table({
|
|
|
24440
24490
|
hasChevron: Boolean(rowHref)
|
|
24441
24491
|
}
|
|
24442
24492
|
),
|
|
24443
|
-
_optionalChain([infiniteScroll, 'optionalAccess',
|
|
24493
|
+
_optionalChain([infiniteScroll, 'optionalAccess', _554 => _554.hasNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: sentinelRef, className: "h-1", "aria-hidden": "true" }),
|
|
24444
24494
|
!infiniteScroll && Array.from({ length: Math.max(0, skeletonRows - data.length) }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24445
24495
|
"div",
|
|
24446
24496
|
{
|
|
@@ -24553,7 +24603,7 @@ function TableTimestampCell({
|
|
|
24553
24603
|
|
|
24554
24604
|
// src/components/ui/query-report-table/query-report-table.tsx
|
|
24555
24605
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
24556
|
-
|
|
24606
|
+
_chunkV2FNIPZJcjs.init_button2.call(void 0, );
|
|
24557
24607
|
|
|
24558
24608
|
|
|
24559
24609
|
// src/components/ui/query-report-table/query-report-table-header.tsx
|
|
@@ -24798,7 +24848,7 @@ function QueryReportTable({
|
|
|
24798
24848
|
);
|
|
24799
24849
|
const handleExport = () => {
|
|
24800
24850
|
exportToCSV(data, columns, exportFilename);
|
|
24801
|
-
_optionalChain([onExport, 'optionalCall',
|
|
24851
|
+
_optionalChain([onExport, 'optionalCall', _555 => _555()]);
|
|
24802
24852
|
};
|
|
24803
24853
|
const tableMinWidth = columns.length * (columnWidth + 16);
|
|
24804
24854
|
const {
|
|
@@ -24821,7 +24871,7 @@ function QueryReportTable({
|
|
|
24821
24871
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
24822
24872
|
headerActions,
|
|
24823
24873
|
showExport && data.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24824
|
-
|
|
24874
|
+
_chunkV2FNIPZJcjs.Button,
|
|
24825
24875
|
{
|
|
24826
24876
|
className: "bg-ods-card",
|
|
24827
24877
|
variant: "outline",
|
|
@@ -24971,7 +25021,7 @@ function DataTableColumnFilter({
|
|
|
24971
25021
|
align = "left"
|
|
24972
25022
|
}) {
|
|
24973
25023
|
const currentValue = column.getFilterValue();
|
|
24974
|
-
const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess',
|
|
25024
|
+
const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess', _556 => _556.length]), () => ( 0));
|
|
24975
25025
|
const sections = _react.useMemo.call(void 0,
|
|
24976
25026
|
() => [
|
|
24977
25027
|
{
|
|
@@ -25051,7 +25101,7 @@ function DataTableHeader({
|
|
|
25051
25101
|
const hasVisibleHeaderCell = headerGroup.headers.some((header) => {
|
|
25052
25102
|
if (header.isPlaceholder) return false;
|
|
25053
25103
|
if (isLgUp) return true;
|
|
25054
|
-
return Boolean(_optionalChain([header, 'access',
|
|
25104
|
+
return Boolean(_optionalChain([header, 'access', _557 => _557.column, 'access', _558 => _558.columnDef, 'access', _559 => _559.meta, 'optionalAccess', _560 => _560.filter]));
|
|
25055
25105
|
});
|
|
25056
25106
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25057
25107
|
"div",
|
|
@@ -25081,20 +25131,20 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
|
|
|
25081
25131
|
if (header.isPlaceholder) return null;
|
|
25082
25132
|
const column = header.column;
|
|
25083
25133
|
const meta = column.columnDef.meta;
|
|
25084
|
-
const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess',
|
|
25085
|
-
const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
25086
|
-
const canSort = _optionalChain([meta, 'optionalAccess',
|
|
25087
|
-
const sortDir = _optionalChain([sort, 'optionalAccess',
|
|
25134
|
+
const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess', _561 => _561.filter]));
|
|
25135
|
+
const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _562 => _562.align]), () => ( "left"));
|
|
25136
|
+
const canSort = _optionalChain([meta, 'optionalAccess', _563 => _563.sortable]) === true;
|
|
25137
|
+
const sortDir = _optionalChain([sort, 'optionalAccess', _564 => _564.id]) === column.id ? sort.desc ? "desc" : "asc" : false;
|
|
25088
25138
|
if (!isLgUp && !hasFilter) return null;
|
|
25089
25139
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25090
25140
|
"div",
|
|
25091
25141
|
{
|
|
25092
25142
|
className: _chunkUC43NICZcjs.cn.call(void 0,
|
|
25093
25143
|
"flex items-stretch",
|
|
25094
|
-
isLgUp && (_optionalChain([meta, 'optionalAccess',
|
|
25095
|
-
_optionalChain([meta, 'optionalAccess',
|
|
25144
|
+
isLgUp && (_optionalChain([meta, 'optionalAccess', _565 => _565.width]) || "flex-1 min-w-0"),
|
|
25145
|
+
_optionalChain([meta, 'optionalAccess', _566 => _566.headerClassName]),
|
|
25096
25146
|
// Don't apply hide classes if column is filterable on tablet (keep filter accessible)
|
|
25097
|
-
!(hasFilter && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess',
|
|
25147
|
+
!(hasFilter && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess', _567 => _567.hideAt]))
|
|
25098
25148
|
),
|
|
25099
25149
|
children: hasFilter ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25100
25150
|
DataTableColumnFilter,
|
|
@@ -25113,7 +25163,7 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
|
|
|
25113
25163
|
isLgUp && alignJustify(align),
|
|
25114
25164
|
canSort && "group cursor-pointer"
|
|
25115
25165
|
),
|
|
25116
|
-
onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall',
|
|
25166
|
+
onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall', _568 => _568(column.id)]) : void 0,
|
|
25117
25167
|
children: [
|
|
25118
25168
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
25119
25169
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -25146,7 +25196,7 @@ _chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
|
25146
25196
|
|
|
25147
25197
|
// src/components/ui/data-table/data-table-empty.tsx
|
|
25148
25198
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
25149
|
-
|
|
25199
|
+
_chunkV2FNIPZJcjs.init_button2.call(void 0, );
|
|
25150
25200
|
|
|
25151
25201
|
|
|
25152
25202
|
function DataTableEmpty({
|
|
@@ -25166,7 +25216,7 @@ function DataTableEmpty({
|
|
|
25166
25216
|
/* @__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" }))) }),
|
|
25167
25217
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-secondary text-center mb-[var(--spacing-system-lf)]", children: message }),
|
|
25168
25218
|
action && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25169
|
-
|
|
25219
|
+
_chunkV2FNIPZJcjs.Button,
|
|
25170
25220
|
{
|
|
25171
25221
|
variant: "outline",
|
|
25172
25222
|
onClick: action.onClick,
|
|
@@ -25197,7 +25247,7 @@ function DataTableSkeleton({
|
|
|
25197
25247
|
}) {
|
|
25198
25248
|
const table = useDataTableContext();
|
|
25199
25249
|
const columns = table.getVisibleFlatColumns();
|
|
25200
|
-
const firstColumnId = _optionalChain([columns, 'access',
|
|
25250
|
+
const firstColumnId = _optionalChain([columns, 'access', _569 => _569[0], 'optionalAccess', _570 => _570.id]);
|
|
25201
25251
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25202
25252
|
"div",
|
|
25203
25253
|
{
|
|
@@ -25221,7 +25271,7 @@ function DataTableSkeleton({
|
|
|
25221
25271
|
{
|
|
25222
25272
|
className: _chunkUC43NICZcjs.cn.call(void 0,
|
|
25223
25273
|
"flex flex-col justify-center shrink-0",
|
|
25224
|
-
_optionalChain([meta, 'optionalAccess',
|
|
25274
|
+
_optionalChain([meta, 'optionalAccess', _571 => _571.width]) || "flex-1"
|
|
25225
25275
|
),
|
|
25226
25276
|
children: [
|
|
25227
25277
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-5 bg-ods-bg-surface rounded-sm w-3/4 mb-[var(--spacing-system-xxs)]" }),
|
|
@@ -25267,7 +25317,7 @@ function DataTableRowImpl({
|
|
|
25267
25317
|
(e) => {
|
|
25268
25318
|
const target = e.target;
|
|
25269
25319
|
if (target.closest("[data-no-row-click]")) return;
|
|
25270
|
-
_optionalChain([onClick, 'optionalCall',
|
|
25320
|
+
_optionalChain([onClick, 'optionalCall', _572 => _572(row.original)]);
|
|
25271
25321
|
},
|
|
25272
25322
|
[onClick, row.original]
|
|
25273
25323
|
);
|
|
@@ -25305,10 +25355,10 @@ function DataTableRowImpl({
|
|
|
25305
25355
|
{
|
|
25306
25356
|
className: _chunkUC43NICZcjs.cn.call(void 0,
|
|
25307
25357
|
"flex flex-col overflow-hidden",
|
|
25308
|
-
alignJustify(_optionalChain([meta, 'optionalAccess',
|
|
25309
|
-
_optionalChain([meta, 'optionalAccess',
|
|
25310
|
-
_optionalChain([meta, 'optionalAccess',
|
|
25311
|
-
getHideClasses2(_optionalChain([meta, 'optionalAccess',
|
|
25358
|
+
alignJustify(_optionalChain([meta, 'optionalAccess', _573 => _573.align])),
|
|
25359
|
+
_optionalChain([meta, 'optionalAccess', _574 => _574.width]) || "flex-1 min-w-0",
|
|
25360
|
+
_optionalChain([meta, 'optionalAccess', _575 => _575.cellClassName]),
|
|
25361
|
+
getHideClasses2(_optionalChain([meta, 'optionalAccess', _576 => _576.hideAt]))
|
|
25312
25362
|
),
|
|
25313
25363
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CellContent, { children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) })
|
|
25314
25364
|
},
|
|
@@ -25354,7 +25404,7 @@ function DataTableBody({
|
|
|
25354
25404
|
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: [
|
|
25355
25405
|
rows.map((row, index) => {
|
|
25356
25406
|
const item = row.original;
|
|
25357
|
-
const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall',
|
|
25407
|
+
const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall', _577 => _577(item)]), () => ( void 0));
|
|
25358
25408
|
const cls = typeof rowClassName === "function" ? rowClassName(item, index) : rowClassName;
|
|
25359
25409
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25360
25410
|
DataTableRow,
|
|
@@ -25418,7 +25468,7 @@ function DataTableInfiniteFooter({
|
|
|
25418
25468
|
if (!sentinel) return;
|
|
25419
25469
|
const observer = new IntersectionObserver(
|
|
25420
25470
|
(entries) => {
|
|
25421
|
-
if (_optionalChain([entries, 'access',
|
|
25471
|
+
if (_optionalChain([entries, 'access', _578 => _578[0], 'optionalAccess', _579 => _579.isIntersecting])) onLoadMoreRef.current();
|
|
25422
25472
|
},
|
|
25423
25473
|
{ rootMargin }
|
|
25424
25474
|
);
|
|
@@ -25466,7 +25516,7 @@ function DataTableRowCount({
|
|
|
25466
25516
|
const table = useDataTableContext();
|
|
25467
25517
|
const count = _nullishCoalesce(totalCount, () => ( table.getRowModel().rows.length));
|
|
25468
25518
|
if (hideWhenEmpty && count === 0) return null;
|
|
25469
|
-
const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall',
|
|
25519
|
+
const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _580 => _580(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
|
|
25470
25520
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25471
25521
|
"span",
|
|
25472
25522
|
{
|
|
@@ -25560,12 +25610,12 @@ function PhoneInput({
|
|
|
25560
25610
|
const runValidation = _react.useCallback.call(void 0, (phone) => {
|
|
25561
25611
|
if (!phone || digitCount(phone) === 0) {
|
|
25562
25612
|
setIsInvalid(false);
|
|
25563
|
-
_optionalChain([onValidationChange, 'optionalCall',
|
|
25613
|
+
_optionalChain([onValidationChange, 'optionalCall', _581 => _581(false)]);
|
|
25564
25614
|
return;
|
|
25565
25615
|
}
|
|
25566
25616
|
const invalid = !validatePhoneNumber(phone, countryCode);
|
|
25567
25617
|
setIsInvalid(invalid);
|
|
25568
|
-
_optionalChain([onValidationChange, 'optionalCall',
|
|
25618
|
+
_optionalChain([onValidationChange, 'optionalCall', _582 => _582(invalid)]);
|
|
25569
25619
|
}, [countryCode, digitCount, onValidationChange]);
|
|
25570
25620
|
const debouncedValidation = _react.useCallback.call(void 0, (phone) => {
|
|
25571
25621
|
if (debounceRef.current) clearTimeout(debounceRef.current);
|
|
@@ -25602,7 +25652,7 @@ function PhoneInput({
|
|
|
25602
25652
|
}
|
|
25603
25653
|
),
|
|
25604
25654
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25605
|
-
|
|
25655
|
+
_chunkV2FNIPZJcjs.Input,
|
|
25606
25656
|
{
|
|
25607
25657
|
type: "tel",
|
|
25608
25658
|
value,
|
|
@@ -25614,7 +25664,7 @@ function PhoneInput({
|
|
|
25614
25664
|
debouncedValidation(val);
|
|
25615
25665
|
} else if (digitCount(val) === 0) {
|
|
25616
25666
|
setIsInvalid(false);
|
|
25617
|
-
_optionalChain([onValidationChange, 'optionalCall',
|
|
25667
|
+
_optionalChain([onValidationChange, 'optionalCall', _583 => _583(false)]);
|
|
25618
25668
|
}
|
|
25619
25669
|
}
|
|
25620
25670
|
},
|
|
@@ -25721,7 +25771,7 @@ function SearchInput({
|
|
|
25721
25771
|
if (!showHiddenTags) return;
|
|
25722
25772
|
const handleClick = (e) => {
|
|
25723
25773
|
const target = e.target;
|
|
25724
|
-
if (!_optionalChain([hiddenTagsRef, 'access',
|
|
25774
|
+
if (!_optionalChain([hiddenTagsRef, 'access', _584 => _584.current, 'optionalAccess', _585 => _585.contains, 'call', _586 => _586(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _587 => _587.current, 'optionalAccess', _588 => _588.contains, 'call', _589 => _589(target)])) {
|
|
25725
25775
|
setShowHiddenTags(false);
|
|
25726
25776
|
}
|
|
25727
25777
|
};
|
|
@@ -25769,10 +25819,10 @@ function SearchInput({
|
|
|
25769
25819
|
} else {
|
|
25770
25820
|
setInternalValue("");
|
|
25771
25821
|
}
|
|
25772
|
-
_optionalChain([inputRef, 'access',
|
|
25822
|
+
_optionalChain([inputRef, 'access', _590 => _590.current, 'optionalAccess', _591 => _591.focus, 'call', _592 => _592()]);
|
|
25773
25823
|
};
|
|
25774
25824
|
const handleResultClick = (result, e) => {
|
|
25775
|
-
_optionalChain([onResultSelect, 'optionalCall',
|
|
25825
|
+
_optionalChain([onResultSelect, 'optionalCall', _593 => _593(
|
|
25776
25826
|
result,
|
|
25777
25827
|
e ? {
|
|
25778
25828
|
metaKey: e.metaKey,
|
|
@@ -25804,7 +25854,7 @@ function SearchInput({
|
|
|
25804
25854
|
if (highlightedIndex >= 0 && flatResults[highlightedIndex]) {
|
|
25805
25855
|
handleResultClick(flatResults[highlightedIndex]);
|
|
25806
25856
|
} else {
|
|
25807
|
-
_optionalChain([onSubmit, 'optionalCall',
|
|
25857
|
+
_optionalChain([onSubmit, 'optionalCall', _594 => _594(currentValue)]);
|
|
25808
25858
|
}
|
|
25809
25859
|
break;
|
|
25810
25860
|
case "Escape":
|
|
@@ -25882,7 +25932,7 @@ function SearchInput({
|
|
|
25882
25932
|
dropdownVisible && "!border-ods-accent"
|
|
25883
25933
|
),
|
|
25884
25934
|
onClick: () => {
|
|
25885
|
-
_optionalChain([inputRef, 'access',
|
|
25935
|
+
_optionalChain([inputRef, 'access', _595 => _595.current, 'optionalAccess', _596 => _596.focus, 'call', _597 => _597()]);
|
|
25886
25936
|
setIsOpen(true);
|
|
25887
25937
|
},
|
|
25888
25938
|
children: [
|
|
@@ -25966,10 +26016,10 @@ function SearchInput({
|
|
|
25966
26016
|
align: "start",
|
|
25967
26017
|
onOpenAutoFocus: (e) => {
|
|
25968
26018
|
e.preventDefault();
|
|
25969
|
-
_optionalChain([inputRef, 'access',
|
|
26019
|
+
_optionalChain([inputRef, 'access', _598 => _598.current, 'optionalAccess', _599 => _599.focus, 'call', _600 => _600()]);
|
|
25970
26020
|
},
|
|
25971
26021
|
onInteractOutside: (e) => {
|
|
25972
|
-
if (_optionalChain([containerRef, 'access',
|
|
26022
|
+
if (_optionalChain([containerRef, 'access', _601 => _601.current, 'optionalAccess', _602 => _602.contains, 'call', _603 => _603(e.target)])) {
|
|
25973
26023
|
e.preventDefault();
|
|
25974
26024
|
}
|
|
25975
26025
|
},
|
|
@@ -25986,10 +26036,10 @@ function SearchInput({
|
|
|
25986
26036
|
ref: hiddenTagsPopupRef,
|
|
25987
26037
|
items: hiddenChips.map((chip) => ({ label: chip.label, value: chip.id })),
|
|
25988
26038
|
style: {
|
|
25989
|
-
left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access',
|
|
26039
|
+
left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access', _604 => _604.current, 'optionalAccess', _605 => _605.getBoundingClientRect, 'call', _606 => _606(), 'access', _607 => _607.left]), () => ( 0))) : 0
|
|
25990
26040
|
},
|
|
25991
26041
|
onRemove: (value2) => {
|
|
25992
|
-
_optionalChain([onFilterRemove, 'optionalCall',
|
|
26042
|
+
_optionalChain([onFilterRemove, 'optionalCall', _608 => _608(value2)]);
|
|
25993
26043
|
if (hiddenCount <= 1) setShowHiddenTags(false);
|
|
25994
26044
|
}
|
|
25995
26045
|
}
|
|
@@ -26040,7 +26090,7 @@ function FilterListItem({
|
|
|
26040
26090
|
}) {
|
|
26041
26091
|
const handleToggle = () => {
|
|
26042
26092
|
if (disabled) return;
|
|
26043
|
-
_optionalChain([onToggle, 'optionalCall',
|
|
26093
|
+
_optionalChain([onToggle, 'optionalCall', _609 => _609(!selected)]);
|
|
26044
26094
|
};
|
|
26045
26095
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
26046
26096
|
"div",
|
|
@@ -26087,7 +26137,7 @@ function FilterListItem({
|
|
|
26087
26137
|
CheckboxPrimitive4.Root,
|
|
26088
26138
|
{
|
|
26089
26139
|
checked: selected,
|
|
26090
|
-
onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall',
|
|
26140
|
+
onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _610 => _610(c === true)]),
|
|
26091
26141
|
onClick: (e) => e.stopPropagation(),
|
|
26092
26142
|
disabled,
|
|
26093
26143
|
"aria-label": title,
|
|
@@ -26186,7 +26236,7 @@ function TagSearchInput({
|
|
|
26186
26236
|
if (!showHiddenTags) return;
|
|
26187
26237
|
const handleClick = (e) => {
|
|
26188
26238
|
const target = e.target;
|
|
26189
|
-
if (!_optionalChain([hiddenTagsRef, 'access',
|
|
26239
|
+
if (!_optionalChain([hiddenTagsRef, 'access', _611 => _611.current, 'optionalAccess', _612 => _612.contains, 'call', _613 => _613(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _614 => _614.current, 'optionalAccess', _615 => _615.contains, 'call', _616 => _616(target)])) {
|
|
26190
26240
|
setShowHiddenTags(false);
|
|
26191
26241
|
}
|
|
26192
26242
|
};
|
|
@@ -26202,13 +26252,13 @@ function TagSearchInput({
|
|
|
26202
26252
|
e.preventDefault();
|
|
26203
26253
|
onSubmit(searchValue);
|
|
26204
26254
|
}
|
|
26205
|
-
_optionalChain([onKeyDown, 'optionalCall',
|
|
26255
|
+
_optionalChain([onKeyDown, 'optionalCall', _617 => _617(e)]);
|
|
26206
26256
|
};
|
|
26207
26257
|
const handleClearAll = (e) => {
|
|
26208
26258
|
e.stopPropagation();
|
|
26209
26259
|
e.preventDefault();
|
|
26210
|
-
_optionalChain([onClearAll, 'optionalCall',
|
|
26211
|
-
_optionalChain([inputRef, 'access',
|
|
26260
|
+
_optionalChain([onClearAll, 'optionalCall', _618 => _618()]);
|
|
26261
|
+
_optionalChain([inputRef, 'access', _619 => _619.current, 'optionalAccess', _620 => _620.focus, 'call', _621 => _621()]);
|
|
26212
26262
|
};
|
|
26213
26263
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: wrapperRef, className: "relative", children: [
|
|
26214
26264
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -26225,7 +26275,7 @@ function TagSearchInput({
|
|
|
26225
26275
|
className
|
|
26226
26276
|
),
|
|
26227
26277
|
onClick: () => {
|
|
26228
|
-
if (!disabled) _optionalChain([inputRef, 'access',
|
|
26278
|
+
if (!disabled) _optionalChain([inputRef, 'access', _622 => _622.current, 'optionalAccess', _623 => _623.focus, 'call', _624 => _624()]);
|
|
26229
26279
|
},
|
|
26230
26280
|
children: [
|
|
26231
26281
|
/* @__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" }) }),
|
|
@@ -26297,7 +26347,7 @@ function TagSearchInput({
|
|
|
26297
26347
|
items: hiddenTags,
|
|
26298
26348
|
disabled,
|
|
26299
26349
|
style: {
|
|
26300
|
-
left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access',
|
|
26350
|
+
left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access', _625 => _625.current, 'optionalAccess', _626 => _626.getBoundingClientRect, 'call', _627 => _627(), 'access', _628 => _628.left]), () => ( 0))) : 0
|
|
26301
26351
|
},
|
|
26302
26352
|
onRemove: (value) => {
|
|
26303
26353
|
onTagRemove(value);
|
|
@@ -26399,7 +26449,7 @@ function MarkdownEditor({
|
|
|
26399
26449
|
const [defaultExtraCommands, setDefaultExtraCommands] = _react.useState.call(void 0, []);
|
|
26400
26450
|
_react.useEffect.call(void 0, () => {
|
|
26401
26451
|
Promise.resolve().then(() => _interopRequireWildcard(require("@uiw/react-md-editor"))).then((mod) => {
|
|
26402
|
-
if (_optionalChain([mod, 'access',
|
|
26452
|
+
if (_optionalChain([mod, 'access', _629 => _629.commands, 'optionalAccess', _630 => _630.getExtraCommands])) {
|
|
26403
26453
|
setDefaultExtraCommands(mod.commands.getExtraCommands());
|
|
26404
26454
|
}
|
|
26405
26455
|
});
|
|
@@ -26433,7 +26483,7 @@ function MarkdownEditor({
|
|
|
26433
26483
|
const isImage = file.type.startsWith("image/");
|
|
26434
26484
|
const markdown = isImage ? `` : `[${file.name}](${url})`;
|
|
26435
26485
|
insertTextAtCursor(markdown);
|
|
26436
|
-
_optionalChain([onFileUploaded, 'optionalCall',
|
|
26486
|
+
_optionalChain([onFileUploaded, 'optionalCall', _631 => _631(url, file.name)]);
|
|
26437
26487
|
} catch (error) {
|
|
26438
26488
|
console.error("File upload failed:", error);
|
|
26439
26489
|
setUploadProgress("Upload failed. Please try again.");
|
|
@@ -26446,7 +26496,7 @@ function MarkdownEditor({
|
|
|
26446
26496
|
);
|
|
26447
26497
|
const handleFileInputChange = _react.useCallback.call(void 0,
|
|
26448
26498
|
(e) => {
|
|
26449
|
-
const file = _optionalChain([e, 'access',
|
|
26499
|
+
const file = _optionalChain([e, 'access', _632 => _632.target, 'access', _633 => _633.files, 'optionalAccess', _634 => _634[0]]);
|
|
26450
26500
|
if (file) {
|
|
26451
26501
|
handleFileUpload(file);
|
|
26452
26502
|
e.target.value = "";
|
|
@@ -26457,7 +26507,7 @@ function MarkdownEditor({
|
|
|
26457
26507
|
const handlePaste = _react.useCallback.call(void 0,
|
|
26458
26508
|
(e) => {
|
|
26459
26509
|
if (!onUploadFile) return;
|
|
26460
|
-
const items = _optionalChain([e, 'access',
|
|
26510
|
+
const items = _optionalChain([e, 'access', _635 => _635.clipboardData, 'optionalAccess', _636 => _636.items]);
|
|
26461
26511
|
if (!items) return;
|
|
26462
26512
|
for (const item of items) {
|
|
26463
26513
|
if (item.type.startsWith("image/")) {
|
|
@@ -26482,7 +26532,7 @@ function MarkdownEditor({
|
|
|
26482
26532
|
buttonProps: { "aria-label": "Upload file", title: "Upload file" },
|
|
26483
26533
|
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" }),
|
|
26484
26534
|
execute: () => {
|
|
26485
|
-
_optionalChain([fileInputRef, 'access',
|
|
26535
|
+
_optionalChain([fileInputRef, 'access', _637 => _637.current, 'optionalAccess', _638 => _638.click, 'call', _639 => _639()]);
|
|
26486
26536
|
}
|
|
26487
26537
|
} : null;
|
|
26488
26538
|
const extraCommands = uploadCommand ? [...defaultExtraCommands, uploadCommand] : defaultExtraCommands;
|
|
@@ -26494,7 +26544,7 @@ function MarkdownEditor({
|
|
|
26494
26544
|
const EDGE_ZONE = 60;
|
|
26495
26545
|
const MAX_SCROLL_SPEED = 15;
|
|
26496
26546
|
const findScrollParent = _react.useCallback.call(void 0, (el) => {
|
|
26497
|
-
let node = _optionalChain([el, 'optionalAccess',
|
|
26547
|
+
let node = _optionalChain([el, 'optionalAccess', _640 => _640.parentElement]);
|
|
26498
26548
|
while (node && node !== document.documentElement) {
|
|
26499
26549
|
const { overflowY } = window.getComputedStyle(node);
|
|
26500
26550
|
if ((overflowY === "auto" || overflowY === "scroll") && node.scrollHeight > node.clientHeight) {
|
|
@@ -26637,7 +26687,7 @@ function matchesAccept(file, accept) {
|
|
|
26637
26687
|
});
|
|
26638
26688
|
}
|
|
26639
26689
|
function dragHasFiles(e) {
|
|
26640
|
-
const types = _optionalChain([e, 'access',
|
|
26690
|
+
const types = _optionalChain([e, 'access', _641 => _641.dataTransfer, 'optionalAccess', _642 => _642.types]);
|
|
26641
26691
|
if (!types) return false;
|
|
26642
26692
|
for (let i = 0; i < types.length; i++) {
|
|
26643
26693
|
if (types[i] === "Files") return true;
|
|
@@ -26732,7 +26782,7 @@ function FileUpload({
|
|
|
26732
26782
|
e.stopPropagation();
|
|
26733
26783
|
setDragActive(false);
|
|
26734
26784
|
if (disabled) return;
|
|
26735
|
-
if (_optionalChain([e, 'access',
|
|
26785
|
+
if (_optionalChain([e, 'access', _643 => _643.dataTransfer, 'access', _644 => _644.files, 'optionalAccess', _645 => _645.length])) {
|
|
26736
26786
|
handleFiles(e.dataTransfer.files);
|
|
26737
26787
|
}
|
|
26738
26788
|
};
|
|
@@ -26760,7 +26810,7 @@ function FileUpload({
|
|
|
26760
26810
|
e.preventDefault();
|
|
26761
26811
|
dragCounter = 0;
|
|
26762
26812
|
setDragActive(false);
|
|
26763
|
-
if (_optionalChain([e, 'access',
|
|
26813
|
+
if (_optionalChain([e, 'access', _646 => _646.dataTransfer, 'optionalAccess', _647 => _647.files, 'optionalAccess', _648 => _648.length])) {
|
|
26764
26814
|
handleFilesRef.current(e.dataTransfer.files);
|
|
26765
26815
|
}
|
|
26766
26816
|
};
|
|
@@ -26782,7 +26832,7 @@ function FileUpload({
|
|
|
26782
26832
|
};
|
|
26783
26833
|
}, [acceptWindowDrops, disabled]);
|
|
26784
26834
|
const handleFileSelect = (e) => {
|
|
26785
|
-
if (_optionalChain([e, 'access',
|
|
26835
|
+
if (_optionalChain([e, 'access', _649 => _649.target, 'access', _650 => _650.files, 'optionalAccess', _651 => _651.length])) {
|
|
26786
26836
|
handleFiles(e.target.files);
|
|
26787
26837
|
}
|
|
26788
26838
|
};
|
|
@@ -26799,13 +26849,13 @@ function FileUpload({
|
|
|
26799
26849
|
};
|
|
26800
26850
|
const openDialog = async () => {
|
|
26801
26851
|
if (disabled) return;
|
|
26802
|
-
_optionalChain([fileInputRef, 'access',
|
|
26852
|
+
_optionalChain([fileInputRef, 'access', _652 => _652.current, 'optionalAccess', _653 => _653.click, 'call', _654 => _654()]);
|
|
26803
26853
|
};
|
|
26804
26854
|
const displayError = error || validationError || void 0;
|
|
26805
26855
|
const hasFiles = isManaged ? managedFiles.length > 0 : files.length > 0;
|
|
26806
26856
|
const fileCount = currentCount;
|
|
26807
26857
|
const canAddMore = multiple && fileCount < maxFiles;
|
|
26808
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
26858
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV2FNIPZJcjs.FieldWrapper, { label: fieldLabel, error: displayError, className, children: [
|
|
26809
26859
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26810
26860
|
"input",
|
|
26811
26861
|
{
|
|
@@ -26877,7 +26927,7 @@ function FileUpload({
|
|
|
26877
26927
|
"button",
|
|
26878
26928
|
{
|
|
26879
26929
|
type: "button",
|
|
26880
|
-
onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall',
|
|
26930
|
+
onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _655 => _655(entry.id)]),
|
|
26881
26931
|
className: "shrink-0 p-1 rounded hover:bg-ods-bg transition-colors",
|
|
26882
26932
|
"aria-label": `Remove ${entry.fileName}`,
|
|
26883
26933
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.X, { className: "size-4 text-ods-text-secondary" })
|
|
@@ -27000,7 +27050,7 @@ function ImageUploader({
|
|
|
27000
27050
|
onChange(file);
|
|
27001
27051
|
};
|
|
27002
27052
|
const handleFileSelect = (e) => {
|
|
27003
|
-
validateAndEmit(_optionalChain([e, 'access',
|
|
27053
|
+
validateAndEmit(_optionalChain([e, 'access', _656 => _656.target, 'access', _657 => _657.files, 'optionalAccess', _658 => _658[0]]));
|
|
27004
27054
|
if (inputRef.current) inputRef.current.value = "";
|
|
27005
27055
|
};
|
|
27006
27056
|
const handleDrag = (e) => {
|
|
@@ -27015,11 +27065,11 @@ function ImageUploader({
|
|
|
27015
27065
|
e.stopPropagation();
|
|
27016
27066
|
setDragActive(false);
|
|
27017
27067
|
if (!interactive) return;
|
|
27018
|
-
validateAndEmit(_optionalChain([e, 'access',
|
|
27068
|
+
validateAndEmit(_optionalChain([e, 'access', _659 => _659.dataTransfer, 'access', _660 => _660.files, 'optionalAccess', _661 => _661[0]]));
|
|
27019
27069
|
};
|
|
27020
27070
|
const openDialog = () => {
|
|
27021
27071
|
if (!interactive) return;
|
|
27022
|
-
_optionalChain([inputRef, 'access',
|
|
27072
|
+
_optionalChain([inputRef, 'access', _662 => _662.current, 'optionalAccess', _663 => _663.click, 'call', _664 => _664()]);
|
|
27023
27073
|
};
|
|
27024
27074
|
const handleRootKeyDown = (e) => {
|
|
27025
27075
|
if (hasImage || !interactive) return;
|
|
@@ -27029,7 +27079,7 @@ function ImageUploader({
|
|
|
27029
27079
|
}
|
|
27030
27080
|
};
|
|
27031
27081
|
const isActionState = dragActive || pressed && !hasImage;
|
|
27032
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
27082
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV2FNIPZJcjs.FieldWrapper, { label: fieldLabel, error: displayError, className, children: [
|
|
27033
27083
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27034
27084
|
"input",
|
|
27035
27085
|
{
|
|
@@ -27176,7 +27226,7 @@ function CompactAssigneeDropdown({
|
|
|
27176
27226
|
return [current, ...filtered.filter((o) => o.value !== currentAssignee.id)];
|
|
27177
27227
|
}, [filtered, currentAssignee]);
|
|
27178
27228
|
const handleSelect = (userId) => {
|
|
27179
|
-
const next = _optionalChain([currentAssignee, 'optionalAccess',
|
|
27229
|
+
const next = _optionalChain([currentAssignee, 'optionalAccess', _665 => _665.id]) === userId ? null : userId;
|
|
27180
27230
|
onAssign(next);
|
|
27181
27231
|
setIsOpen(false);
|
|
27182
27232
|
};
|
|
@@ -27230,7 +27280,7 @@ function CompactAssigneeDropdown({
|
|
|
27230
27280
|
),
|
|
27231
27281
|
children: [
|
|
27232
27282
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-b border-ods-border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27233
|
-
|
|
27283
|
+
_chunkV2FNIPZJcjs.Input,
|
|
27234
27284
|
{
|
|
27235
27285
|
autoFocus: true,
|
|
27236
27286
|
value: search,
|
|
@@ -27241,7 +27291,7 @@ function CompactAssigneeDropdown({
|
|
|
27241
27291
|
}
|
|
27242
27292
|
) }),
|
|
27243
27293
|
/* @__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) => {
|
|
27244
|
-
const isCurrent = _optionalChain([currentAssignee, 'optionalAccess',
|
|
27294
|
+
const isCurrent = _optionalChain([currentAssignee, 'optionalAccess', _666 => _666.id]) === opt.value;
|
|
27245
27295
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
27246
27296
|
"button",
|
|
27247
27297
|
{
|
|
@@ -27310,7 +27360,7 @@ function DefaultAssigneeDropdown({
|
|
|
27310
27360
|
Autocomplete,
|
|
27311
27361
|
{
|
|
27312
27362
|
options,
|
|
27313
|
-
value: _nullishCoalesce(_optionalChain([currentAssignee, 'optionalAccess',
|
|
27363
|
+
value: _nullishCoalesce(_optionalChain([currentAssignee, 'optionalAccess', _667 => _667.id]), () => ( null)),
|
|
27314
27364
|
onChange: (val) => {
|
|
27315
27365
|
onAssign(val);
|
|
27316
27366
|
setIsEditing(false);
|
|
@@ -27490,7 +27540,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
27490
27540
|
),
|
|
27491
27541
|
/* @__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: [
|
|
27492
27542
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27493
|
-
|
|
27543
|
+
_chunkV2FNIPZJcjs.Input,
|
|
27494
27544
|
{
|
|
27495
27545
|
value: editText,
|
|
27496
27546
|
onChange: (e) => setEditText(e.target.value),
|
|
@@ -27589,7 +27639,7 @@ function TicketNotesSection({
|
|
|
27589
27639
|
)),
|
|
27590
27640
|
onAddNote && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
27591
27641
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27592
|
-
|
|
27642
|
+
_chunkV2FNIPZJcjs.Input,
|
|
27593
27643
|
{
|
|
27594
27644
|
value: noteText,
|
|
27595
27645
|
onChange: (e) => setNoteText(e.target.value),
|
|
@@ -27668,14 +27718,14 @@ function TicketInfoSection({
|
|
|
27668
27718
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27669
27719
|
SquareAvatar,
|
|
27670
27720
|
{
|
|
27671
|
-
src: _optionalChain([organization, 'optionalAccess',
|
|
27672
|
-
alt: _optionalChain([organization, 'optionalAccess',
|
|
27673
|
-
fallback: _optionalChain([organization, 'optionalAccess',
|
|
27721
|
+
src: _optionalChain([organization, 'optionalAccess', _668 => _668.imageSrc]),
|
|
27722
|
+
alt: _optionalChain([organization, 'optionalAccess', _669 => _669.name]),
|
|
27723
|
+
fallback: _optionalChain([organization, 'optionalAccess', _670 => _670.name]) || "Org",
|
|
27674
27724
|
size: "md",
|
|
27675
27725
|
className: "shrink-0"
|
|
27676
27726
|
}
|
|
27677
27727
|
),
|
|
27678
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess',
|
|
27728
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess', _671 => _671.name]) || "Unassigned", label: "Organization" })
|
|
27679
27729
|
] }),
|
|
27680
27730
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: assigned ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27681
27731
|
AssigneeDropdown,
|
|
@@ -27696,10 +27746,10 @@ function TicketInfoSection({
|
|
|
27696
27746
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27697
27747
|
InfoCell2,
|
|
27698
27748
|
{
|
|
27699
|
-
value: _optionalChain([device, 'optionalAccess',
|
|
27749
|
+
value: _optionalChain([device, 'optionalAccess', _672 => _672.name]) || "Unassigned",
|
|
27700
27750
|
label: "Device",
|
|
27701
|
-
icon: _optionalChain([device, 'optionalAccess',
|
|
27702
|
-
onClick: _optionalChain([device, 'optionalAccess',
|
|
27751
|
+
icon: _optionalChain([device, 'optionalAccess', _673 => _673.icon]),
|
|
27752
|
+
onClick: _optionalChain([device, 'optionalAccess', _674 => _674.onClick])
|
|
27703
27753
|
}
|
|
27704
27754
|
),
|
|
27705
27755
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4 min-w-0", children: [
|
|
@@ -27828,7 +27878,7 @@ function ArrayEntryManager({
|
|
|
27828
27878
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { className: "text-[14px] text-ods-text-primary", children: title }),
|
|
27829
27879
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
27830
27880
|
requireSave && isDirty && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27831
|
-
|
|
27881
|
+
_chunkV2FNIPZJcjs.Button,
|
|
27832
27882
|
{
|
|
27833
27883
|
type: "button",
|
|
27834
27884
|
size: "small-legacy",
|
|
@@ -27840,7 +27890,7 @@ function ArrayEntryManager({
|
|
|
27840
27890
|
}
|
|
27841
27891
|
),
|
|
27842
27892
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27843
|
-
|
|
27893
|
+
_chunkV2FNIPZJcjs.Button,
|
|
27844
27894
|
{
|
|
27845
27895
|
type: "button",
|
|
27846
27896
|
variant: "outline",
|
|
@@ -27858,7 +27908,7 @@ function ArrayEntryManager({
|
|
|
27858
27908
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 space-y-2", children: [
|
|
27859
27909
|
renderLabel && renderLabel(item, index),
|
|
27860
27910
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27861
|
-
|
|
27911
|
+
_chunkV2FNIPZJcjs.Input,
|
|
27862
27912
|
{
|
|
27863
27913
|
placeholder,
|
|
27864
27914
|
value: item[fieldKey],
|
|
@@ -27870,7 +27920,7 @@ function ArrayEntryManager({
|
|
|
27870
27920
|
)
|
|
27871
27921
|
] }),
|
|
27872
27922
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27873
|
-
|
|
27923
|
+
_chunkV2FNIPZJcjs.Button,
|
|
27874
27924
|
{
|
|
27875
27925
|
type: "button",
|
|
27876
27926
|
variant: "transparent",
|
|
@@ -27886,7 +27936,7 @@ function ArrayEntryManager({
|
|
|
27886
27936
|
}
|
|
27887
27937
|
|
|
27888
27938
|
// src/components/features/provider-button.tsx
|
|
27889
|
-
|
|
27939
|
+
_chunkV2FNIPZJcjs.init_button2.call(void 0, );
|
|
27890
27940
|
|
|
27891
27941
|
|
|
27892
27942
|
var PROVIDER_CONFIG = {
|
|
@@ -27932,7 +27982,7 @@ function ProviderButton({ provider, onClick, disabled = false, loading = false }
|
|
|
27932
27982
|
}
|
|
27933
27983
|
};
|
|
27934
27984
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27935
|
-
|
|
27985
|
+
_chunkV2FNIPZJcjs.Button,
|
|
27936
27986
|
{
|
|
27937
27987
|
type: "button",
|
|
27938
27988
|
onClick: handleClick,
|
|
@@ -28054,7 +28104,7 @@ function ChangelogManager({
|
|
|
28054
28104
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between", children: [
|
|
28055
28105
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { className: "text-[14px] text-ods-text-primary", children: title }),
|
|
28056
28106
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28057
|
-
|
|
28107
|
+
_chunkV2FNIPZJcjs.Button,
|
|
28058
28108
|
{
|
|
28059
28109
|
type: "button",
|
|
28060
28110
|
variant: "outline",
|
|
@@ -28072,7 +28122,7 @@ function ChangelogManager({
|
|
|
28072
28122
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "bg-ods-bg-secondary rounded-lg border border-ods-border overflow-hidden", children: [
|
|
28073
28123
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3 p-3", children: [
|
|
28074
28124
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28075
|
-
|
|
28125
|
+
_chunkV2FNIPZJcjs.Button,
|
|
28076
28126
|
{
|
|
28077
28127
|
type: "button",
|
|
28078
28128
|
variant: "transparent",
|
|
@@ -28084,7 +28134,7 @@ function ChangelogManager({
|
|
|
28084
28134
|
),
|
|
28085
28135
|
/* @__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)" }) }),
|
|
28086
28136
|
showVisibilityToggle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28087
|
-
|
|
28137
|
+
_chunkV2FNIPZJcjs.Button,
|
|
28088
28138
|
{
|
|
28089
28139
|
type: "button",
|
|
28090
28140
|
variant: "transparent",
|
|
@@ -28096,7 +28146,7 @@ function ChangelogManager({
|
|
|
28096
28146
|
}
|
|
28097
28147
|
),
|
|
28098
28148
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28099
|
-
|
|
28149
|
+
_chunkV2FNIPZJcjs.Button,
|
|
28100
28150
|
{
|
|
28101
28151
|
type: "button",
|
|
28102
28152
|
variant: "transparent",
|
|
@@ -28111,7 +28161,7 @@ function ChangelogManager({
|
|
|
28111
28161
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
28112
28162
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { className: "text-[12px] text-ods-text-secondary", children: "Title *" }),
|
|
28113
28163
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28114
|
-
|
|
28164
|
+
_chunkV2FNIPZJcjs.Input,
|
|
28115
28165
|
{
|
|
28116
28166
|
placeholder: "e.g., New dark mode theme support",
|
|
28117
28167
|
value: entry.title,
|
|
@@ -28227,7 +28277,7 @@ function ClickUpTasksManager({
|
|
|
28227
28277
|
}
|
|
28228
28278
|
|
|
28229
28279
|
// src/components/features/command-box.tsx
|
|
28230
|
-
|
|
28280
|
+
_chunkV2FNIPZJcjs.init_button2.call(void 0, );
|
|
28231
28281
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
28232
28282
|
|
|
28233
28283
|
var lineClampClasses = {
|
|
@@ -28264,7 +28314,7 @@ function CommandBox({
|
|
|
28264
28314
|
),
|
|
28265
28315
|
(primaryAction || secondaryAction) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col md:flex-row gap-3 md:justify-end mt-4", children: [
|
|
28266
28316
|
secondaryAction && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28267
|
-
|
|
28317
|
+
_chunkV2FNIPZJcjs.Button,
|
|
28268
28318
|
{
|
|
28269
28319
|
variant: secondaryAction.variant || "outline",
|
|
28270
28320
|
leftIcon: secondaryAction.icon,
|
|
@@ -28276,7 +28326,7 @@ function CommandBox({
|
|
|
28276
28326
|
}
|
|
28277
28327
|
),
|
|
28278
28328
|
primaryAction && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28279
|
-
|
|
28329
|
+
_chunkV2FNIPZJcjs.Button,
|
|
28280
28330
|
{
|
|
28281
28331
|
variant: primaryAction.variant || "accent",
|
|
28282
28332
|
leftIcon: primaryAction.icon,
|
|
@@ -28319,7 +28369,7 @@ _chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
|
28319
28369
|
|
|
28320
28370
|
// src/components/features/section-selector.tsx
|
|
28321
28371
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
28322
|
-
|
|
28372
|
+
_chunkV2FNIPZJcjs.init_button2.call(void 0, );
|
|
28323
28373
|
|
|
28324
28374
|
var SectionButton = ({
|
|
28325
28375
|
section,
|
|
@@ -28338,7 +28388,7 @@ var SectionButton = ({
|
|
|
28338
28388
|
const numberClasses = "font-['DM_Sans'] font-bold text-ods-accent";
|
|
28339
28389
|
const isDisabled = section.disabled || disabled;
|
|
28340
28390
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28341
|
-
|
|
28391
|
+
_chunkV2FNIPZJcjs.Button,
|
|
28342
28392
|
{
|
|
28343
28393
|
onClick,
|
|
28344
28394
|
disabled: isDisabled,
|
|
@@ -28458,10 +28508,10 @@ var getContentDimensions = (config) => {
|
|
|
28458
28508
|
const envMobileHeight = process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT) : null;
|
|
28459
28509
|
const envDesktopWidth = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH) : null;
|
|
28460
28510
|
const envDesktopHeight = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT) : null;
|
|
28461
|
-
const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess',
|
|
28462
|
-
const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess',
|
|
28463
|
-
const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess',
|
|
28464
|
-
const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess',
|
|
28511
|
+
const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess', _675 => _675.mobileContentDimensions, 'optionalAccess', _676 => _676.width]))), () => ( defaultMobile.width));
|
|
28512
|
+
const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess', _677 => _677.mobileContentDimensions, 'optionalAccess', _678 => _678.height]))), () => ( defaultMobile.height));
|
|
28513
|
+
const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess', _679 => _679.desktopContentDimensions, 'optionalAccess', _680 => _680.width]))), () => ( defaultDesktop.width));
|
|
28514
|
+
const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess', _681 => _681.desktopContentDimensions, 'optionalAccess', _682 => _682.height]))), () => ( defaultDesktop.height));
|
|
28465
28515
|
return {
|
|
28466
28516
|
mobile: { width: mobileWidth, height: mobileHeight },
|
|
28467
28517
|
desktop: { width: desktopWidth, height: desktopHeight }
|
|
@@ -28595,7 +28645,7 @@ function renderUnifiedUI(state, handlers, config, iframeRef) {
|
|
|
28595
28645
|
const contentDimensions = getContentDimensions(config);
|
|
28596
28646
|
const mobileHeight = contentDimensions.mobile.height;
|
|
28597
28647
|
const calculatedHeight = Math.max(mobileHeight + 100, 400);
|
|
28598
|
-
return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess',
|
|
28648
|
+
return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess', _683 => _683.innerHeight]) * 0.85 || 650)}px`;
|
|
28599
28649
|
})(),
|
|
28600
28650
|
minHeight: viewMode === "DESKTOP" ? "auto" : (() => {
|
|
28601
28651
|
const contentDimensions = getContentDimensions(config);
|
|
@@ -28700,7 +28750,7 @@ var FigmaPrototypeViewer = ({
|
|
|
28700
28750
|
const [isInitialized, setIsInitialized] = _react.useState.call(void 0, false);
|
|
28701
28751
|
const [currentNodeId, setCurrentNodeId] = _react.useState.call(void 0, null);
|
|
28702
28752
|
const [internalActiveSection, setInternalActiveSection] = _react.useState.call(void 0,
|
|
28703
|
-
config.defaultSectionId || _optionalChain([config, 'access',
|
|
28753
|
+
config.defaultSectionId || _optionalChain([config, 'access', _684 => _684.sections, 'access', _685 => _685[0], 'optionalAccess', _686 => _686.id]) || ""
|
|
28704
28754
|
);
|
|
28705
28755
|
const activeSection = externalActiveSection || internalActiveSection;
|
|
28706
28756
|
const [isNavigating, setIsNavigating] = _react.useState.call(void 0, false);
|
|
@@ -28790,7 +28840,7 @@ var FigmaPrototypeViewer = ({
|
|
|
28790
28840
|
const handleMessage = (event) => {
|
|
28791
28841
|
if (event.origin !== "https://www.figma.com") return;
|
|
28792
28842
|
const validEvents = ["INITIAL_LOAD", "NEW_STATE", "PRESENTED_NODE_CHANGED"];
|
|
28793
|
-
if (_optionalChain([event, 'access',
|
|
28843
|
+
if (_optionalChain([event, 'access', _687 => _687.data, 'optionalAccess', _688 => _688.type]) && validEvents.includes(event.data.type)) {
|
|
28794
28844
|
const figmaEvent = event.data;
|
|
28795
28845
|
console.log("[Figma Event]", figmaEvent.type, viewMode);
|
|
28796
28846
|
switch (figmaEvent.type) {
|
|
@@ -28800,19 +28850,19 @@ var FigmaPrototypeViewer = ({
|
|
|
28800
28850
|
setIframeState("READY");
|
|
28801
28851
|
break;
|
|
28802
28852
|
case "PRESENTED_NODE_CHANGED":
|
|
28803
|
-
if (_optionalChain([figmaEvent, 'access',
|
|
28853
|
+
if (_optionalChain([figmaEvent, 'access', _689 => _689.data, 'optionalAccess', _690 => _690.presentedNodeId])) {
|
|
28804
28854
|
setCurrentNodeId(figmaEvent.data.presentedNodeId);
|
|
28805
28855
|
if (!isNavigating) {
|
|
28806
28856
|
const matchingSection = config.sections.find((s) => {
|
|
28807
|
-
const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access',
|
|
28808
|
-
const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access',
|
|
28857
|
+
const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access', _691 => _691.data, 'optionalAccess', _692 => _692.presentedNodeId]) || s.startingNodeId.replace(":", "-") === _optionalChain([figmaEvent, 'access', _693 => _693.data, 'optionalAccess', _694 => _694.presentedNodeId]);
|
|
28858
|
+
const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access', _695 => _695.data, 'optionalAccess', _696 => _696.presentedNodeId]) || _optionalChain([s, 'access', _697 => _697.mobileStartingNodeId, 'optionalAccess', _698 => _698.replace, 'call', _699 => _699(":", "-")]) === _optionalChain([figmaEvent, 'access', _700 => _700.data, 'optionalAccess', _701 => _701.presentedNodeId]);
|
|
28809
28859
|
return desktopMatch || mobileMatch;
|
|
28810
28860
|
});
|
|
28811
28861
|
if (matchingSection && matchingSection.id !== activeSection) {
|
|
28812
28862
|
if (!externalActiveSection) {
|
|
28813
28863
|
setInternalActiveSection(matchingSection.id);
|
|
28814
28864
|
}
|
|
28815
|
-
_optionalChain([config, 'access',
|
|
28865
|
+
_optionalChain([config, 'access', _702 => _702.onSectionChange, 'optionalCall', _703 => _703(matchingSection.id)]);
|
|
28816
28866
|
}
|
|
28817
28867
|
}
|
|
28818
28868
|
}
|
|
@@ -28825,7 +28875,7 @@ var FigmaPrototypeViewer = ({
|
|
|
28825
28875
|
}, [config.sections, activeSection, isNavigating, externalActiveSection, config.onSectionChange, viewMode]);
|
|
28826
28876
|
const navigateToSection = _react.useCallback.call(void 0, (sectionId) => {
|
|
28827
28877
|
const section = config.sections.find((s) => s.id === sectionId);
|
|
28828
|
-
if (!section || !_optionalChain([iframeRef, 'access',
|
|
28878
|
+
if (!section || !_optionalChain([iframeRef, 'access', _704 => _704.current, 'optionalAccess', _705 => _705.contentWindow]) || !isInitialized) {
|
|
28829
28879
|
return;
|
|
28830
28880
|
}
|
|
28831
28881
|
setIsNavigating(true);
|
|
@@ -28833,7 +28883,7 @@ var FigmaPrototypeViewer = ({
|
|
|
28833
28883
|
if (!externalActiveSection) {
|
|
28834
28884
|
setInternalActiveSection(sectionId);
|
|
28835
28885
|
}
|
|
28836
|
-
_optionalChain([config, 'access',
|
|
28886
|
+
_optionalChain([config, 'access', _706 => _706.onSectionChange, 'optionalCall', _707 => _707(sectionId)]);
|
|
28837
28887
|
const command = {
|
|
28838
28888
|
type: "NAVIGATE_TO_FRAME_AND_CLOSE_OVERLAYS",
|
|
28839
28889
|
data: { nodeId }
|
|
@@ -29153,7 +29203,7 @@ var FiltersDropdown = ({
|
|
|
29153
29203
|
defaults[section.id] = section.defaultSelected || [];
|
|
29154
29204
|
});
|
|
29155
29205
|
setSelectedFilters(defaults);
|
|
29156
|
-
_optionalChain([onReset, 'optionalCall',
|
|
29206
|
+
_optionalChain([onReset, 'optionalCall', _708 => _708()]);
|
|
29157
29207
|
setIsOpen(false);
|
|
29158
29208
|
};
|
|
29159
29209
|
const handleApply = () => {
|
|
@@ -29266,7 +29316,7 @@ var FiltersDropdown = ({
|
|
|
29266
29316
|
}) }),
|
|
29267
29317
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-3 mt-4 shrink-0", children: [
|
|
29268
29318
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29269
|
-
|
|
29319
|
+
_chunkV2FNIPZJcjs.Button,
|
|
29270
29320
|
{
|
|
29271
29321
|
variant: "outline",
|
|
29272
29322
|
onClick: handleReset,
|
|
@@ -29276,7 +29326,7 @@ var FiltersDropdown = ({
|
|
|
29276
29326
|
}
|
|
29277
29327
|
),
|
|
29278
29328
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29279
|
-
|
|
29329
|
+
_chunkV2FNIPZJcjs.Button,
|
|
29280
29330
|
{
|
|
29281
29331
|
variant: "accent",
|
|
29282
29332
|
onClick: handleApply,
|
|
@@ -29447,7 +29497,7 @@ function MediaGalleryManager({
|
|
|
29447
29497
|
const [deletingIndex, setDeletingIndex] = _react.useState.call(void 0, null);
|
|
29448
29498
|
const [draggedIndex, setDraggedIndex] = _react.useState.call(void 0, null);
|
|
29449
29499
|
const handleFileSelect = _react.useCallback.call(void 0, async (event) => {
|
|
29450
|
-
const file = _optionalChain([event, 'access',
|
|
29500
|
+
const file = _optionalChain([event, 'access', _709 => _709.target, 'access', _710 => _710.files, 'optionalAccess', _711 => _711[0]]);
|
|
29451
29501
|
if (!file) return;
|
|
29452
29502
|
let mediaType;
|
|
29453
29503
|
if (file.type.startsWith("image/")) {
|
|
@@ -29508,7 +29558,7 @@ function MediaGalleryManager({
|
|
|
29508
29558
|
children: [
|
|
29509
29559
|
/* @__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" }) }),
|
|
29510
29560
|
/* @__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,
|
|
29511
|
-
|
|
29561
|
+
_chunkV2FNIPZJcjs.Button,
|
|
29512
29562
|
{
|
|
29513
29563
|
type: "button",
|
|
29514
29564
|
variant: "outline",
|
|
@@ -29558,11 +29608,11 @@ function MediaGalleryManager({
|
|
|
29558
29608
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-xs text-ods-text-secondary mt-1", children: "Maximum file size: 50MB" })
|
|
29559
29609
|
] }),
|
|
29560
29610
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29561
|
-
|
|
29611
|
+
_chunkV2FNIPZJcjs.Button,
|
|
29562
29612
|
{
|
|
29563
29613
|
type: "button",
|
|
29564
29614
|
variant: "outline",
|
|
29565
|
-
onClick: () => _optionalChain([fileInputRef, 'access',
|
|
29615
|
+
onClick: () => _optionalChain([fileInputRef, 'access', _712 => _712.current, 'optionalAccess', _713 => _713.click, 'call', _714 => _714()]),
|
|
29566
29616
|
disabled: isUploading,
|
|
29567
29617
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
|
|
29568
29618
|
className: "font-['DM_Sans'] text-[16px] font-bold",
|
|
@@ -29601,7 +29651,7 @@ function MediaGalleryManager({
|
|
|
29601
29651
|
}
|
|
29602
29652
|
|
|
29603
29653
|
// src/components/features/more-about-button.tsx
|
|
29604
|
-
|
|
29654
|
+
_chunkV2FNIPZJcjs.init_button2.call(void 0, );
|
|
29605
29655
|
|
|
29606
29656
|
|
|
29607
29657
|
var MoreAboutButton = ({
|
|
@@ -29609,7 +29659,7 @@ var MoreAboutButton = ({
|
|
|
29609
29659
|
className = ""
|
|
29610
29660
|
}) => {
|
|
29611
29661
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29612
|
-
|
|
29662
|
+
_chunkV2FNIPZJcjs.Button,
|
|
29613
29663
|
{
|
|
29614
29664
|
size: "default",
|
|
29615
29665
|
variant: "transparent",
|
|
@@ -29946,7 +29996,7 @@ var ParallaxImageShowcase = ({
|
|
|
29946
29996
|
};
|
|
29947
29997
|
|
|
29948
29998
|
// src/components/features/paths-display.tsx
|
|
29949
|
-
|
|
29999
|
+
_chunkV2FNIPZJcjs.init_button2.call(void 0, );
|
|
29950
30000
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
29951
30001
|
|
|
29952
30002
|
|
|
@@ -29972,7 +30022,7 @@ function PathsDisplay({
|
|
|
29972
30022
|
children: [
|
|
29973
30023
|
/* @__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 }),
|
|
29974
30024
|
showCopyButtons && onCopyPath && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29975
|
-
|
|
30025
|
+
_chunkV2FNIPZJcjs.Button,
|
|
29976
30026
|
{
|
|
29977
30027
|
variant: "transparent",
|
|
29978
30028
|
size: "small-legacy",
|
|
@@ -30014,7 +30064,7 @@ function getOpenFramePaths(platform) {
|
|
|
30014
30064
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
30015
30065
|
|
|
30016
30066
|
|
|
30017
|
-
var
|
|
30067
|
+
var sizeClasses4 = {
|
|
30018
30068
|
xs: {
|
|
30019
30069
|
container: "gap-1 px-1.5 py-0.5",
|
|
30020
30070
|
icon: "h-3 w-3",
|
|
@@ -30120,7 +30170,7 @@ function PlatformBadge({
|
|
|
30120
30170
|
if (!platform) {
|
|
30121
30171
|
return null;
|
|
30122
30172
|
}
|
|
30123
|
-
const sizes =
|
|
30173
|
+
const sizes = sizeClasses4[size];
|
|
30124
30174
|
const colors = platformColors[platform.name] || platformColors.universal;
|
|
30125
30175
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
30126
30176
|
"div",
|
|
@@ -30143,7 +30193,7 @@ function PlatformBadge({
|
|
|
30143
30193
|
}
|
|
30144
30194
|
|
|
30145
30195
|
// src/components/features/platform-filter.tsx
|
|
30146
|
-
|
|
30196
|
+
_chunkV2FNIPZJcjs.init_button2.call(void 0, );
|
|
30147
30197
|
|
|
30148
30198
|
function PlatformFilterComponent({
|
|
30149
30199
|
selectedPlatform,
|
|
@@ -30155,7 +30205,7 @@ function PlatformFilterComponent({
|
|
|
30155
30205
|
}) {
|
|
30156
30206
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex items-center gap-2 flex-wrap ${className}`, children: [
|
|
30157
30207
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30158
|
-
|
|
30208
|
+
_chunkV2FNIPZJcjs.Button,
|
|
30159
30209
|
{
|
|
30160
30210
|
type: "button",
|
|
30161
30211
|
variant: selectedPlatform === "all" ? "accent" : "outline",
|
|
@@ -30166,7 +30216,7 @@ function PlatformFilterComponent({
|
|
|
30166
30216
|
}
|
|
30167
30217
|
),
|
|
30168
30218
|
platforms.map((platform) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30169
|
-
|
|
30219
|
+
_chunkV2FNIPZJcjs.Button,
|
|
30170
30220
|
{
|
|
30171
30221
|
type: "button",
|
|
30172
30222
|
variant: selectedPlatform === platform.value ? "accent" : "outline",
|
|
@@ -30347,7 +30397,7 @@ function ReleaseMediaManager({
|
|
|
30347
30397
|
const fileInputRef = _react.useRef.call(void 0, null);
|
|
30348
30398
|
const [uploadingIndex, setUploadingIndex] = _react.useState.call(void 0, null);
|
|
30349
30399
|
const handleFileSelect = async (event) => {
|
|
30350
|
-
const file = _optionalChain([event, 'access',
|
|
30400
|
+
const file = _optionalChain([event, 'access', _715 => _715.target, 'access', _716 => _716.files, 'optionalAccess', _717 => _717[0]]);
|
|
30351
30401
|
if (!file) return;
|
|
30352
30402
|
let mediaType;
|
|
30353
30403
|
if (file.type.startsWith("image/")) {
|
|
@@ -30423,11 +30473,11 @@ function ReleaseMediaManager({
|
|
|
30423
30473
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-xs text-ods-text-secondary mt-1", children: "Maximum file size: 50MB" })
|
|
30424
30474
|
] }),
|
|
30425
30475
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30426
|
-
|
|
30476
|
+
_chunkV2FNIPZJcjs.Button,
|
|
30427
30477
|
{
|
|
30428
30478
|
type: "button",
|
|
30429
30479
|
variant: "outline",
|
|
30430
|
-
onClick: () => _optionalChain([fileInputRef, 'access',
|
|
30480
|
+
onClick: () => _optionalChain([fileInputRef, 'access', _718 => _718.current, 'optionalAccess', _719 => _719.click, 'call', _720 => _720()]),
|
|
30431
30481
|
disabled: uploadingIndex !== null,
|
|
30432
30482
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
|
|
30433
30483
|
className: "font-['DM_Sans'] text-[16px] font-bold",
|
|
@@ -30466,7 +30516,7 @@ function ReleaseMediaManager({
|
|
|
30466
30516
|
children: [
|
|
30467
30517
|
/* @__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" }) }),
|
|
30468
30518
|
/* @__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,
|
|
30469
|
-
|
|
30519
|
+
_chunkV2FNIPZJcjs.Button,
|
|
30470
30520
|
{
|
|
30471
30521
|
type: "button",
|
|
30472
30522
|
variant: "outline",
|
|
@@ -30521,7 +30571,7 @@ function ReleaseMediaManager({
|
|
|
30521
30571
|
)
|
|
30522
30572
|
] }),
|
|
30523
30573
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30524
|
-
|
|
30574
|
+
_chunkV2FNIPZJcjs.Input,
|
|
30525
30575
|
{
|
|
30526
30576
|
placeholder: "Title (optional)",
|
|
30527
30577
|
value: item.title,
|
|
@@ -30640,7 +30690,7 @@ function SEOEditorPreview({
|
|
|
30640
30690
|
const displayImage = hasOgImage || hasFeaturedImage;
|
|
30641
30691
|
const handleImageUpload = async (event) => {
|
|
30642
30692
|
if (!onOgImageUpload) return;
|
|
30643
|
-
const file = _optionalChain([event, 'access',
|
|
30693
|
+
const file = _optionalChain([event, 'access', _721 => _721.target, 'access', _722 => _722.files, 'optionalAccess', _723 => _723[0]]);
|
|
30644
30694
|
if (!file) return;
|
|
30645
30695
|
setIsUploading(true);
|
|
30646
30696
|
try {
|
|
@@ -30675,7 +30725,7 @@ function SEOEditorPreview({
|
|
|
30675
30725
|
] })
|
|
30676
30726
|
] }),
|
|
30677
30727
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30678
|
-
|
|
30728
|
+
_chunkV2FNIPZJcjs.Input,
|
|
30679
30729
|
{
|
|
30680
30730
|
value: seoTitle || "",
|
|
30681
30731
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
@@ -30706,7 +30756,7 @@ function SEOEditorPreview({
|
|
|
30706
30756
|
] })
|
|
30707
30757
|
] }),
|
|
30708
30758
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30709
|
-
|
|
30759
|
+
_chunkV2FNIPZJcjs.Input,
|
|
30710
30760
|
{
|
|
30711
30761
|
value: seoKeywords || "",
|
|
30712
30762
|
onChange: (e) => onSeoKeywordsChange(e.target.value),
|
|
@@ -30766,19 +30816,19 @@ function SEOEditorPreview({
|
|
|
30766
30816
|
),
|
|
30767
30817
|
/* @__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: [
|
|
30768
30818
|
onOgImageUpload && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30769
|
-
|
|
30819
|
+
_chunkV2FNIPZJcjs.Button,
|
|
30770
30820
|
{
|
|
30771
30821
|
type: "button",
|
|
30772
30822
|
variant: "outline",
|
|
30773
30823
|
size: "icon",
|
|
30774
|
-
onClick: () => _optionalChain([fileInputRef, 'optionalAccess',
|
|
30824
|
+
onClick: () => _optionalChain([fileInputRef, 'optionalAccess', _724 => _724.click, 'call', _725 => _725()]),
|
|
30775
30825
|
disabled: disabled || isUploading,
|
|
30776
30826
|
className: "bg-white text-black hover:bg-gray-100 rounded-full opacity-0 group-hover:opacity-100",
|
|
30777
30827
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-4 w-4" })
|
|
30778
30828
|
}
|
|
30779
30829
|
),
|
|
30780
30830
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30781
|
-
|
|
30831
|
+
_chunkV2FNIPZJcjs.Button,
|
|
30782
30832
|
{
|
|
30783
30833
|
type: "button",
|
|
30784
30834
|
variant: "outline",
|
|
@@ -30794,7 +30844,7 @@ function SEOEditorPreview({
|
|
|
30794
30844
|
"div",
|
|
30795
30845
|
{
|
|
30796
30846
|
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",
|
|
30797
|
-
onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess',
|
|
30847
|
+
onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess', _726 => _726.click, 'call', _727 => _727()]),
|
|
30798
30848
|
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: [
|
|
30799
30849
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-8 w-8 text-ods-text-secondary mb-2" }),
|
|
30800
30850
|
/* @__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" })
|
|
@@ -30879,7 +30929,7 @@ function SocialLinksManager({
|
|
|
30879
30929
|
className = ""
|
|
30880
30930
|
}) {
|
|
30881
30931
|
const addLink = () => {
|
|
30882
|
-
const firstPlatform = _optionalChain([platforms, 'access',
|
|
30932
|
+
const firstPlatform = _optionalChain([platforms, 'access', _728 => _728[0], 'optionalAccess', _729 => _729.name]) || "website";
|
|
30883
30933
|
onChange([...links, { platform: firstPlatform, url: "" }]);
|
|
30884
30934
|
};
|
|
30885
30935
|
const removeLink = (index) => {
|
|
@@ -30891,7 +30941,7 @@ function SocialLinksManager({
|
|
|
30891
30941
|
onChange(updated);
|
|
30892
30942
|
};
|
|
30893
30943
|
const getIcon = (link, platform) => {
|
|
30894
|
-
const iconKey = _optionalChain([platform, 'optionalAccess',
|
|
30944
|
+
const iconKey = _optionalChain([platform, 'optionalAccess', _730 => _730.icon_name]) || link.platform;
|
|
30895
30945
|
const IconComponent = iconMap[iconKey];
|
|
30896
30946
|
return IconComponent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: "w-5 h-5 text-ods-text-secondary" }) : null;
|
|
30897
30947
|
};
|
|
@@ -30914,9 +30964,9 @@ function SocialLinksManager({
|
|
|
30914
30964
|
}
|
|
30915
30965
|
) }),
|
|
30916
30966
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30917
|
-
|
|
30967
|
+
_chunkV2FNIPZJcjs.Input,
|
|
30918
30968
|
{
|
|
30919
|
-
placeholder: _optionalChain([platform, 'optionalAccess',
|
|
30969
|
+
placeholder: _optionalChain([platform, 'optionalAccess', _731 => _731.placeholder]) || "Profile URL",
|
|
30920
30970
|
value: link.url,
|
|
30921
30971
|
onChange: (e) => updateLink(index, "url", e.target.value),
|
|
30922
30972
|
onKeyDown: (e) => {
|
|
@@ -30929,7 +30979,7 @@ function SocialLinksManager({
|
|
|
30929
30979
|
)
|
|
30930
30980
|
] }),
|
|
30931
30981
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30932
|
-
|
|
30982
|
+
_chunkV2FNIPZJcjs.Button,
|
|
30933
30983
|
{
|
|
30934
30984
|
type: "button",
|
|
30935
30985
|
variant: "transparent",
|
|
@@ -30943,7 +30993,7 @@ function SocialLinksManager({
|
|
|
30943
30993
|
}),
|
|
30944
30994
|
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." }) }),
|
|
30945
30995
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30946
|
-
|
|
30996
|
+
_chunkV2FNIPZJcjs.Button,
|
|
30947
30997
|
{
|
|
30948
30998
|
variant: "outline",
|
|
30949
30999
|
onClick: addLink,
|
|
@@ -30957,7 +31007,7 @@ function SocialLinksManager({
|
|
|
30957
31007
|
}
|
|
30958
31008
|
|
|
30959
31009
|
// src/components/features/start-with-openframe-button.tsx
|
|
30960
|
-
|
|
31010
|
+
_chunkV2FNIPZJcjs.init_button2.call(void 0, );
|
|
30961
31011
|
|
|
30962
31012
|
|
|
30963
31013
|
var StartWithOpenFrameButton = React95.forwardRef(({ children = "Start Free Trial", mode = "outline", className, buttonSize, loading = false, buttonBackgroundColor, buttonTextColor, ...props }, ref) => {
|
|
@@ -30993,7 +31043,7 @@ var StartWithOpenFrameButton = React95.forwardRef(({ children = "Start Free Tria
|
|
|
30993
31043
|
iconUpperPath = "#1A1A1A";
|
|
30994
31044
|
}
|
|
30995
31045
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30996
|
-
|
|
31046
|
+
_chunkV2FNIPZJcjs.Button,
|
|
30997
31047
|
{
|
|
30998
31048
|
ref,
|
|
30999
31049
|
...props,
|
|
@@ -31028,7 +31078,7 @@ var StartWithOpenFrameButton = React95.forwardRef(({ children = "Start Free Tria
|
|
|
31028
31078
|
StartWithOpenFrameButton.displayName = "StartWithOpenFrameButton";
|
|
31029
31079
|
|
|
31030
31080
|
// src/components/features/status-filter-component.tsx
|
|
31031
|
-
|
|
31081
|
+
_chunkV2FNIPZJcjs.init_button2.call(void 0, );
|
|
31032
31082
|
|
|
31033
31083
|
|
|
31034
31084
|
function StatusFilterComponent({
|
|
@@ -31046,7 +31096,7 @@ function StatusFilterComponent({
|
|
|
31046
31096
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h5 text-ods-text-secondary", children: "Status" })
|
|
31047
31097
|
] }),
|
|
31048
31098
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31049
|
-
|
|
31099
|
+
_chunkV2FNIPZJcjs.Button,
|
|
31050
31100
|
{
|
|
31051
31101
|
type: "button",
|
|
31052
31102
|
variant: selectedStatus === "all" ? "accent" : "outline",
|
|
@@ -31057,7 +31107,7 @@ function StatusFilterComponent({
|
|
|
31057
31107
|
}
|
|
31058
31108
|
),
|
|
31059
31109
|
filteredOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31060
|
-
|
|
31110
|
+
_chunkV2FNIPZJcjs.Button,
|
|
31061
31111
|
{
|
|
31062
31112
|
type: "button",
|
|
31063
31113
|
variant: selectedStatus === option.value ? "accent" : "outline",
|
|
@@ -31147,7 +31197,7 @@ function TagsSelector({
|
|
|
31147
31197
|
children: [
|
|
31148
31198
|
tag.name,
|
|
31149
31199
|
!disabled && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31150
|
-
|
|
31200
|
+
_chunkV2FNIPZJcjs.Button,
|
|
31151
31201
|
{
|
|
31152
31202
|
variant: "transparent",
|
|
31153
31203
|
type: "button",
|
|
@@ -31197,7 +31247,7 @@ function TagsSelector({
|
|
|
31197
31247
|
}
|
|
31198
31248
|
),
|
|
31199
31249
|
searchQuery && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31200
|
-
|
|
31250
|
+
_chunkV2FNIPZJcjs.Button,
|
|
31201
31251
|
{
|
|
31202
31252
|
variant: "transparent",
|
|
31203
31253
|
type: "button",
|
|
@@ -31213,7 +31263,7 @@ function TagsSelector({
|
|
|
31213
31263
|
] }),
|
|
31214
31264
|
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: [
|
|
31215
31265
|
canCreateNewTag && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
31216
|
-
|
|
31266
|
+
_chunkV2FNIPZJcjs.Button,
|
|
31217
31267
|
{
|
|
31218
31268
|
variant: "outline",
|
|
31219
31269
|
type: "button",
|
|
@@ -31232,7 +31282,7 @@ function TagsSelector({
|
|
|
31232
31282
|
}
|
|
31233
31283
|
),
|
|
31234
31284
|
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,
|
|
31235
|
-
|
|
31285
|
+
_chunkV2FNIPZJcjs.Button,
|
|
31236
31286
|
{
|
|
31237
31287
|
variant: "outline",
|
|
31238
31288
|
type: "button",
|
|
@@ -31257,7 +31307,7 @@ function TagsSelector({
|
|
|
31257
31307
|
}
|
|
31258
31308
|
|
|
31259
31309
|
// src/components/features/video-source-selector.tsx
|
|
31260
|
-
|
|
31310
|
+
_chunkV2FNIPZJcjs.init_button2.call(void 0, );
|
|
31261
31311
|
|
|
31262
31312
|
|
|
31263
31313
|
|
|
@@ -31293,7 +31343,7 @@ function VideoSourceSelector({
|
|
|
31293
31343
|
input.accept = "video/*";
|
|
31294
31344
|
input.onchange = async (e) => {
|
|
31295
31345
|
const target = e.target;
|
|
31296
|
-
const file = _optionalChain([target, 'access',
|
|
31346
|
+
const file = _optionalChain([target, 'access', _732 => _732.files, 'optionalAccess', _733 => _733[0]]);
|
|
31297
31347
|
if (!file) return;
|
|
31298
31348
|
setIsUploading(true);
|
|
31299
31349
|
setUploadProgress(0);
|
|
@@ -31328,7 +31378,7 @@ function VideoSourceSelector({
|
|
|
31328
31378
|
] }),
|
|
31329
31379
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2", children: [
|
|
31330
31380
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31331
|
-
|
|
31381
|
+
_chunkV2FNIPZJcjs.Button,
|
|
31332
31382
|
{
|
|
31333
31383
|
type: "button",
|
|
31334
31384
|
variant: videoSourceType === "youtube" ? "accent" : "outline",
|
|
@@ -31339,7 +31389,7 @@ function VideoSourceSelector({
|
|
|
31339
31389
|
}
|
|
31340
31390
|
),
|
|
31341
31391
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31342
|
-
|
|
31392
|
+
_chunkV2FNIPZJcjs.Button,
|
|
31343
31393
|
{
|
|
31344
31394
|
type: "button",
|
|
31345
31395
|
variant: videoSourceType === "uploaded" ? "accent" : "outline",
|
|
@@ -31353,7 +31403,7 @@ function VideoSourceSelector({
|
|
|
31353
31403
|
videoSourceType === "youtube" && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
31354
31404
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: youtubeLabel }),
|
|
31355
31405
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31356
|
-
|
|
31406
|
+
_chunkV2FNIPZJcjs.Input,
|
|
31357
31407
|
{
|
|
31358
31408
|
value: youtubeUrl,
|
|
31359
31409
|
onChange: (e) => onYoutubeUrlChange(e.target.value),
|
|
@@ -31374,7 +31424,7 @@ function VideoSourceSelector({
|
|
|
31374
31424
|
] })
|
|
31375
31425
|
] }),
|
|
31376
31426
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31377
|
-
|
|
31427
|
+
_chunkV2FNIPZJcjs.Button,
|
|
31378
31428
|
{
|
|
31379
31429
|
type: "button",
|
|
31380
31430
|
variant: "outline",
|
|
@@ -31623,7 +31673,7 @@ function TranscriptSummaryEditor({
|
|
|
31623
31673
|
{
|
|
31624
31674
|
id: "subtitles",
|
|
31625
31675
|
value: subtitles || "",
|
|
31626
|
-
onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall',
|
|
31676
|
+
onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall', _734 => _734(e.target.value)]),
|
|
31627
31677
|
placeholder: subtitlesPlaceholder,
|
|
31628
31678
|
disabled: disabled || !onSubtitlesChange,
|
|
31629
31679
|
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",
|
|
@@ -31639,13 +31689,13 @@ function TranscriptSummaryEditor({
|
|
|
31639
31689
|
// src/components/features/highlight-video-section.tsx
|
|
31640
31690
|
|
|
31641
31691
|
|
|
31642
|
-
|
|
31692
|
+
_chunkV2FNIPZJcjs.init_button2.call(void 0, );
|
|
31643
31693
|
|
|
31644
31694
|
// src/components/features/ai-enrich/AIEnrichSection.tsx
|
|
31645
31695
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
31646
31696
|
|
|
31647
31697
|
// src/components/features/ai-enrich/AIEnrichButton.tsx
|
|
31648
|
-
|
|
31698
|
+
_chunkV2FNIPZJcjs.init_button2.call(void 0, );
|
|
31649
31699
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
31650
31700
|
|
|
31651
31701
|
var sizeMap = {
|
|
@@ -31669,7 +31719,7 @@ var AIEnrichButton = ({
|
|
|
31669
31719
|
className
|
|
31670
31720
|
}) => {
|
|
31671
31721
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31672
|
-
|
|
31722
|
+
_chunkV2FNIPZJcjs.Button,
|
|
31673
31723
|
{
|
|
31674
31724
|
type: "button",
|
|
31675
31725
|
onClick,
|
|
@@ -31738,7 +31788,7 @@ var AIWarningsSection = ({
|
|
|
31738
31788
|
};
|
|
31739
31789
|
|
|
31740
31790
|
// src/components/features/ai-enrich/AIEnrichSection.tsx
|
|
31741
|
-
|
|
31791
|
+
_chunkV2FNIPZJcjs.init_button2.call(void 0, );
|
|
31742
31792
|
|
|
31743
31793
|
|
|
31744
31794
|
var AIEnrichSection = ({
|
|
@@ -31776,7 +31826,7 @@ var AIEnrichSection = ({
|
|
|
31776
31826
|
}) => {
|
|
31777
31827
|
const hasResults = status === "success" || status === "error";
|
|
31778
31828
|
const shouldDisable = disabled || !canEnrich;
|
|
31779
|
-
const unfilledFields = _optionalChain([requiredFields, 'optionalAccess',
|
|
31829
|
+
const unfilledFields = _optionalChain([requiredFields, 'optionalAccess', _735 => _735.filter, 'call', _736 => _736((f) => !f.isFilled)]) || [];
|
|
31780
31830
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
31781
31831
|
"div",
|
|
31782
31832
|
{
|
|
@@ -31814,7 +31864,7 @@ var AIEnrichSection = ({
|
|
|
31814
31864
|
{
|
|
31815
31865
|
id: "ai-enrich-custom-instructions",
|
|
31816
31866
|
value: _nullishCoalesce(customInstructions, () => ( "")),
|
|
31817
|
-
onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall',
|
|
31867
|
+
onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall', _737 => _737(e.target.value)]),
|
|
31818
31868
|
placeholder: customInstructionsPlaceholder,
|
|
31819
31869
|
disabled: loading,
|
|
31820
31870
|
maxLength: customInstructionsMaxLength,
|
|
@@ -31844,7 +31894,7 @@ var AIEnrichSection = ({
|
|
|
31844
31894
|
}
|
|
31845
31895
|
),
|
|
31846
31896
|
showCancel && onCancel && loading && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31847
|
-
|
|
31897
|
+
_chunkV2FNIPZJcjs.Button,
|
|
31848
31898
|
{
|
|
31849
31899
|
type: "button",
|
|
31850
31900
|
variant: "outline",
|
|
@@ -31893,7 +31943,7 @@ var AIEnrichSection = ({
|
|
|
31893
31943
|
warnings && warnings.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIWarningsSection, { warnings }),
|
|
31894
31944
|
children,
|
|
31895
31945
|
showClearButton && onClear && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31896
|
-
|
|
31946
|
+
_chunkV2FNIPZJcjs.Button,
|
|
31897
31947
|
{
|
|
31898
31948
|
variant: "outline",
|
|
31899
31949
|
size: "small-legacy",
|
|
@@ -31943,7 +31993,7 @@ function HighlightVideoSection({
|
|
|
31943
31993
|
input.accept = "video/*";
|
|
31944
31994
|
input.onchange = async (e) => {
|
|
31945
31995
|
const target = e.target;
|
|
31946
|
-
const file = _optionalChain([target, 'access',
|
|
31996
|
+
const file = _optionalChain([target, 'access', _738 => _738.files, 'optionalAccess', _739 => _739[0]]);
|
|
31947
31997
|
if (!file) return;
|
|
31948
31998
|
setUploadError(null);
|
|
31949
31999
|
try {
|
|
@@ -32028,7 +32078,7 @@ function HighlightVideoSection({
|
|
|
32028
32078
|
highlightVideoDurationMs && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "outline", className: "text-xs", children: formatDuration(highlightVideoDurationMs) })
|
|
32029
32079
|
] }),
|
|
32030
32080
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32031
|
-
|
|
32081
|
+
_chunkV2FNIPZJcjs.Button,
|
|
32032
32082
|
{
|
|
32033
32083
|
type: "button",
|
|
32034
32084
|
variant: "outline",
|
|
@@ -32424,7 +32474,7 @@ function HighlightGenerationSection({
|
|
|
32424
32474
|
|
|
32425
32475
|
// src/components/features/highlight-video-preview.tsx
|
|
32426
32476
|
|
|
32427
|
-
|
|
32477
|
+
_chunkV2FNIPZJcjs.init_button2.call(void 0, );
|
|
32428
32478
|
|
|
32429
32479
|
function HighlightVideoPreview({
|
|
32430
32480
|
highlightVideoUrl,
|
|
@@ -32445,7 +32495,7 @@ function HighlightVideoPreview({
|
|
|
32445
32495
|
input.accept = "video/*";
|
|
32446
32496
|
input.onchange = async (e) => {
|
|
32447
32497
|
const target = e.target;
|
|
32448
|
-
const file = _optionalChain([target, 'access',
|
|
32498
|
+
const file = _optionalChain([target, 'access', _740 => _740.files, 'optionalAccess', _741 => _741[0]]);
|
|
32449
32499
|
if (!file) return;
|
|
32450
32500
|
await onUpload(file);
|
|
32451
32501
|
};
|
|
@@ -32467,7 +32517,7 @@ function HighlightVideoPreview({
|
|
|
32467
32517
|
highlightVideoDurationMs && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "outline", className: "text-xs", children: formatDuration(highlightVideoDurationMs) })
|
|
32468
32518
|
] }),
|
|
32469
32519
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32470
|
-
|
|
32520
|
+
_chunkV2FNIPZJcjs.Button,
|
|
32471
32521
|
{
|
|
32472
32522
|
type: "button",
|
|
32473
32523
|
variant: "outline",
|
|
@@ -32579,7 +32629,7 @@ function TranscribeAndSummarizeCombinedSection({
|
|
|
32579
32629
|
|
|
32580
32630
|
// src/components/features/highlight-video-combined-section.tsx
|
|
32581
32631
|
|
|
32582
|
-
|
|
32632
|
+
_chunkV2FNIPZJcjs.init_button2.call(void 0, );
|
|
32583
32633
|
|
|
32584
32634
|
function HighlightVideoCombinedSection({
|
|
32585
32635
|
// Config props
|
|
@@ -32632,7 +32682,7 @@ function HighlightVideoCombinedSection({
|
|
|
32632
32682
|
input.accept = "video/*";
|
|
32633
32683
|
input.onchange = async (e) => {
|
|
32634
32684
|
const target = e.target;
|
|
32635
|
-
const file = _optionalChain([target, 'access',
|
|
32685
|
+
const file = _optionalChain([target, 'access', _742 => _742.files, 'optionalAccess', _743 => _743[0]]);
|
|
32636
32686
|
if (!file) return;
|
|
32637
32687
|
await onUpload(file);
|
|
32638
32688
|
};
|
|
@@ -32680,7 +32730,7 @@ function HighlightVideoCombinedSection({
|
|
|
32680
32730
|
highlightVideoDurationMs && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "outline", className: "text-xs", children: formatDuration(highlightVideoDurationMs) })
|
|
32681
32731
|
] }),
|
|
32682
32732
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32683
|
-
|
|
32733
|
+
_chunkV2FNIPZJcjs.Button,
|
|
32684
32734
|
{
|
|
32685
32735
|
type: "button",
|
|
32686
32736
|
variant: "outline",
|
|
@@ -32782,7 +32832,7 @@ function ViewToggle({
|
|
|
32782
32832
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
32783
32833
|
|
|
32784
32834
|
|
|
32785
|
-
|
|
32835
|
+
_chunkV2FNIPZJcjs.init_button2.call(void 0, );
|
|
32786
32836
|
|
|
32787
32837
|
// src/components/dropdown-menu.tsx
|
|
32788
32838
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
@@ -32929,7 +32979,7 @@ var getApprovalLevelLabel = (level, editMode = false) => {
|
|
|
32929
32979
|
return editMode ? "Set Global Permission" : "";
|
|
32930
32980
|
}
|
|
32931
32981
|
const option = approvalLevelOptions.find((opt) => opt.value === level);
|
|
32932
|
-
return _optionalChain([option, 'optionalAccess',
|
|
32982
|
+
return _optionalChain([option, 'optionalAccess', _744 => _744.label]) || level;
|
|
32933
32983
|
};
|
|
32934
32984
|
var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
32935
32985
|
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: [
|
|
@@ -32940,7 +32990,7 @@ var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
|
|
|
32940
32990
|
] }),
|
|
32941
32991
|
editMode ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DropdownMenu2, { children: [
|
|
32942
32992
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DropdownMenuTrigger2, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32943
|
-
|
|
32993
|
+
_chunkV2FNIPZJcjs.Button,
|
|
32944
32994
|
{
|
|
32945
32995
|
variant: "outline",
|
|
32946
32996
|
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronDown, { className: "h-6 w-6 text-ods-text-secondary" }),
|
|
@@ -32996,7 +33046,7 @@ var CategorySection = ({
|
|
|
32996
33046
|
] }),
|
|
32997
33047
|
editMode ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { onClick: (e) => e.stopPropagation(), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DropdownMenu2, { children: [
|
|
32998
33048
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DropdownMenuTrigger2, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32999
|
-
|
|
33049
|
+
_chunkV2FNIPZJcjs.Button,
|
|
33000
33050
|
{
|
|
33001
33051
|
variant: "outline",
|
|
33002
33052
|
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronDown, { className: "h-6 w-6 text-ods-text-secondary" }),
|
|
@@ -33041,7 +33091,7 @@ var CategorySection = ({
|
|
|
33041
33091
|
}
|
|
33042
33092
|
),
|
|
33043
33093
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33044
|
-
|
|
33094
|
+
_chunkV2FNIPZJcjs.Button,
|
|
33045
33095
|
{
|
|
33046
33096
|
variant: "transparent",
|
|
33047
33097
|
onClick: (e) => {
|
|
@@ -33116,7 +33166,7 @@ var PolicyConfigurationPanel = ({
|
|
|
33116
33166
|
PolicyConfigurationPanel.displayName = "PolicyConfigurationPanel";
|
|
33117
33167
|
|
|
33118
33168
|
// src/components/features/waitlist-form.tsx
|
|
33119
|
-
|
|
33169
|
+
_chunkV2FNIPZJcjs.init_button2.call(void 0, );
|
|
33120
33170
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
33121
33171
|
|
|
33122
33172
|
|
|
@@ -33218,7 +33268,7 @@ function WaitlistForm({
|
|
|
33218
33268
|
),
|
|
33219
33269
|
children: [
|
|
33220
33270
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33221
|
-
|
|
33271
|
+
_chunkV2FNIPZJcjs.Input,
|
|
33222
33272
|
{
|
|
33223
33273
|
type: "email",
|
|
33224
33274
|
value: email,
|
|
@@ -33293,7 +33343,7 @@ function WaitlistForm({
|
|
|
33293
33343
|
}
|
|
33294
33344
|
),
|
|
33295
33345
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33296
|
-
|
|
33346
|
+
_chunkV2FNIPZJcjs.Button,
|
|
33297
33347
|
{
|
|
33298
33348
|
type: "button",
|
|
33299
33349
|
loading: isSubmitting,
|
|
@@ -33333,7 +33383,7 @@ _chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
|
33333
33383
|
_chunkUC43NICZcjs.init_cn.call(void 0, );
|
|
33334
33384
|
|
|
33335
33385
|
// src/components/features/board/board-column-header.tsx
|
|
33336
|
-
|
|
33386
|
+
_chunkV2FNIPZJcjs.init_button.call(void 0, );
|
|
33337
33387
|
|
|
33338
33388
|
function BoardColumnHeader({
|
|
33339
33389
|
column,
|
|
@@ -33346,7 +33396,7 @@ function BoardColumnHeader({
|
|
|
33346
33396
|
if (collapsed) {
|
|
33347
33397
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-full flex-col items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
33348
33398
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33349
|
-
|
|
33399
|
+
_chunkV2FNIPZJcjs.Button,
|
|
33350
33400
|
{
|
|
33351
33401
|
variant: "transparent",
|
|
33352
33402
|
size: "icon",
|
|
@@ -33389,7 +33439,7 @@ function BoardColumnHeader({
|
|
|
33389
33439
|
] }),
|
|
33390
33440
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
33391
33441
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33392
|
-
|
|
33442
|
+
_chunkV2FNIPZJcjs.Button,
|
|
33393
33443
|
{
|
|
33394
33444
|
variant: "transparent",
|
|
33395
33445
|
size: "icon",
|
|
@@ -33400,7 +33450,7 @@ function BoardColumnHeader({
|
|
|
33400
33450
|
}
|
|
33401
33451
|
),
|
|
33402
33452
|
onAddTicket && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33403
|
-
|
|
33453
|
+
_chunkV2FNIPZJcjs.Button,
|
|
33404
33454
|
{
|
|
33405
33455
|
variant: "transparent",
|
|
33406
33456
|
size: "icon",
|
|
@@ -33461,15 +33511,15 @@ function TicketCard({
|
|
|
33461
33511
|
transform: _utilities.CSS.Transform.toString(sortable.transform),
|
|
33462
33512
|
transition: sortable.transition
|
|
33463
33513
|
};
|
|
33464
|
-
const showDeviceRow = !!(_optionalChain([ticket, 'access',
|
|
33514
|
+
const showDeviceRow = !!(_optionalChain([ticket, 'access', _745 => _745.deviceHostnames, 'optionalAccess', _746 => _746.length]) || ticket.organizationName);
|
|
33465
33515
|
const deviceText = [
|
|
33466
|
-
_optionalChain([ticket, 'access',
|
|
33516
|
+
_optionalChain([ticket, 'access', _747 => _747.deviceHostnames, 'optionalAccess', _748 => _748.join, 'call', _749 => _749(", ")]),
|
|
33467
33517
|
ticket.organizationName
|
|
33468
33518
|
].filter(Boolean).join(", ");
|
|
33469
33519
|
const handleClick = (e) => {
|
|
33470
33520
|
if (sortable.isDragging) e.preventDefault();
|
|
33471
33521
|
};
|
|
33472
|
-
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access',
|
|
33522
|
+
const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _750 => _750.assignees, 'optionalAccess', _751 => _751.length]) || renderAssignSlot);
|
|
33473
33523
|
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: [
|
|
33474
33524
|
ticket.priority && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33475
33525
|
_chunkVJTFBYVGcjs.Flag02Icon,
|
|
@@ -33478,7 +33528,7 @@ function TicketCard({
|
|
|
33478
33528
|
"aria-label": `Priority: ${ticket.priority}`
|
|
33479
33529
|
}
|
|
33480
33530
|
),
|
|
33481
|
-
renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access',
|
|
33531
|
+
renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _752 => _752.assignees, 'optionalAccess', _753 => _753.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
|
|
33482
33532
|
ticket.assignees.slice(0, MAX_VISIBLE_ASSIGNEES).map((a) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33483
33533
|
SquareAvatar,
|
|
33484
33534
|
{
|
|
@@ -33507,7 +33557,7 @@ function TicketCard({
|
|
|
33507
33557
|
] }),
|
|
33508
33558
|
rightSection
|
|
33509
33559
|
] }),
|
|
33510
|
-
_optionalChain([ticket, 'access',
|
|
33560
|
+
_optionalChain([ticket, 'access', _754 => _754.tags, 'optionalAccess', _755 => _755.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null
|
|
33511
33561
|
] });
|
|
33512
33562
|
const cardClasses = _chunkUC43NICZcjs.cn.call(void 0,
|
|
33513
33563
|
"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",
|
|
@@ -33581,20 +33631,20 @@ var TicketCardSkeleton = React100.forwardRef(
|
|
|
33581
33631
|
children: [
|
|
33582
33632
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-sf)]", children: [
|
|
33583
33633
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
33584
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h3 flex items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33634
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h3 flex items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2FNIPZJcjs.Skeleton, { className: "h-4 w-3/4" }) }),
|
|
33585
33635
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-h6 flex items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
33586
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33587
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33636
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2FNIPZJcjs.Skeleton, { className: "size-4 shrink-0 rounded-sm" }),
|
|
33637
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2FNIPZJcjs.Skeleton, { className: "h-3 w-1/2" })
|
|
33588
33638
|
] })
|
|
33589
33639
|
] }),
|
|
33590
33640
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
33591
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33592
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33641
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2FNIPZJcjs.Skeleton, { className: "size-4 rounded-sm" }),
|
|
33642
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2FNIPZJcjs.Skeleton, { className: "size-8 rounded-full" })
|
|
33593
33643
|
] })
|
|
33594
33644
|
] }),
|
|
33595
33645
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-8 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
33596
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33597
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33646
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2FNIPZJcjs.Skeleton, { className: "h-8 w-16 rounded-md" }),
|
|
33647
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV2FNIPZJcjs.Skeleton, { className: "h-8 w-12 rounded-md" })
|
|
33598
33648
|
] })
|
|
33599
33649
|
]
|
|
33600
33650
|
}
|
|
@@ -33680,7 +33730,7 @@ function ColumnBody({ column, getTicketHref, renderAssignSlot, onLoadMore, loadM
|
|
|
33680
33730
|
const observer = new IntersectionObserver(
|
|
33681
33731
|
(entries) => {
|
|
33682
33732
|
if (entries.some((e) => e.isIntersecting)) {
|
|
33683
|
-
_optionalChain([loadMoreRef, 'access',
|
|
33733
|
+
_optionalChain([loadMoreRef, 'access', _756 => _756.current, 'optionalCall', _757 => _757(columnIdRef.current)]);
|
|
33684
33734
|
}
|
|
33685
33735
|
},
|
|
33686
33736
|
{ root, rootMargin: loadMoreRootMargin }
|
|
@@ -33709,7 +33759,7 @@ function ColumnBody({ column, getTicketHref, renderAssignSlot, onLoadMore, loadM
|
|
|
33709
33759
|
{
|
|
33710
33760
|
ticket: t,
|
|
33711
33761
|
columnId: column.id,
|
|
33712
|
-
href: _optionalChain([getTicketHref, 'optionalCall',
|
|
33762
|
+
href: _optionalChain([getTicketHref, 'optionalCall', _758 => _758(t.id)]),
|
|
33713
33763
|
renderAssignSlot,
|
|
33714
33764
|
dragDisabled: column.dragDisabled
|
|
33715
33765
|
},
|
|
@@ -33804,17 +33854,17 @@ function Board({
|
|
|
33804
33854
|
const pointer = _core.pointerWithin.call(void 0, args);
|
|
33805
33855
|
const intersections = pointer.length > 0 ? pointer : _core.rectIntersection.call(void 0, args);
|
|
33806
33856
|
const ticketHit = intersections.find(
|
|
33807
|
-
(c) => _optionalChain([c, 'access',
|
|
33857
|
+
(c) => _optionalChain([c, 'access', _759 => _759.data, 'optionalAccess', _760 => _760.droppableContainer, 'optionalAccess', _761 => _761.data, 'optionalAccess', _762 => _762.current, 'optionalAccess', _763 => _763.type]) === "ticket"
|
|
33808
33858
|
);
|
|
33809
33859
|
if (ticketHit) return [ticketHit];
|
|
33810
33860
|
const columnHit = intersections.find(
|
|
33811
|
-
(c) => _optionalChain([c, 'access',
|
|
33861
|
+
(c) => _optionalChain([c, 'access', _764 => _764.data, 'optionalAccess', _765 => _765.droppableContainer, 'optionalAccess', _766 => _766.data, 'optionalAccess', _767 => _767.current, 'optionalAccess', _768 => _768.type]) === "column"
|
|
33812
33862
|
);
|
|
33813
33863
|
if (columnHit) {
|
|
33814
|
-
const columnId = _optionalChain([columnHit, 'access',
|
|
33864
|
+
const columnId = _optionalChain([columnHit, 'access', _769 => _769.data, 'optionalAccess', _770 => _770.droppableContainer, 'optionalAccess', _771 => _771.data, 'optionalAccess', _772 => _772.current, 'optionalAccess', _773 => _773.columnId]);
|
|
33815
33865
|
const ticketsInColumn = args.droppableContainers.filter((c) => {
|
|
33816
33866
|
const d = c.data.current;
|
|
33817
|
-
return _optionalChain([d, 'optionalAccess',
|
|
33867
|
+
return _optionalChain([d, 'optionalAccess', _774 => _774.type]) === "ticket" && d.columnId === columnId;
|
|
33818
33868
|
});
|
|
33819
33869
|
if (ticketsInColumn.length > 0) {
|
|
33820
33870
|
const closest = _core.closestCorners.call(void 0, { ...args, droppableContainers: ticketsInColumn });
|
|
@@ -33839,20 +33889,20 @@ function Board({
|
|
|
33839
33889
|
const overId = String(over.id);
|
|
33840
33890
|
if (activeId === overId) return;
|
|
33841
33891
|
const overData = over.data.current;
|
|
33842
|
-
const fromColumnId = _optionalChain([locate, 'call',
|
|
33843
|
-
const toColumnId = _optionalChain([overData, 'optionalAccess',
|
|
33892
|
+
const fromColumnId = _optionalChain([locate, 'call', _775 => _775(items, activeId), 'optionalAccess', _776 => _776.columnId]);
|
|
33893
|
+
const toColumnId = _optionalChain([overData, 'optionalAccess', _777 => _777.columnId]);
|
|
33844
33894
|
if (!fromColumnId || !toColumnId || fromColumnId === toColumnId) return;
|
|
33845
33895
|
const origin = dragOriginRef.current;
|
|
33846
|
-
const isReturnToOrigin = _optionalChain([origin, 'optionalAccess',
|
|
33896
|
+
const isReturnToOrigin = _optionalChain([origin, 'optionalAccess', _778 => _778.fromColumnId]) === toColumnId;
|
|
33847
33897
|
const targetCol = items.find((c) => c.id === toColumnId);
|
|
33848
|
-
const blockedBySource = !isReturnToOrigin && !!_optionalChain([targetCol, 'optionalAccess',
|
|
33849
|
-
if (_optionalChain([targetCol, 'optionalAccess',
|
|
33898
|
+
const blockedBySource = !isReturnToOrigin && !!_optionalChain([targetCol, 'optionalAccess', _779 => _779.allowedFromColumns]) && !!origin && !targetCol.allowedFromColumns.includes(origin.fromColumnId);
|
|
33899
|
+
if (_optionalChain([targetCol, 'optionalAccess', _780 => _780.dropDisabled]) && !isReturnToOrigin || blockedBySource) return;
|
|
33850
33900
|
setItems((prev) => {
|
|
33851
33901
|
const fromIndex = findIndexInColumn(prev, fromColumnId, activeId);
|
|
33852
33902
|
const toCol = prev.find((c) => c.id === toColumnId);
|
|
33853
33903
|
if (fromIndex < 0 || !toCol) return prev;
|
|
33854
33904
|
let toIndex;
|
|
33855
|
-
if (_optionalChain([overData, 'optionalAccess',
|
|
33905
|
+
if (_optionalChain([overData, 'optionalAccess', _781 => _781.type]) === "column") {
|
|
33856
33906
|
toIndex = toCol.tickets.length;
|
|
33857
33907
|
} else {
|
|
33858
33908
|
const overIndex = toCol.tickets.findIndex((t) => t.id === overId);
|
|
@@ -33894,14 +33944,14 @@ function Board({
|
|
|
33894
33944
|
const toColumnId = located.columnId;
|
|
33895
33945
|
const isCrossColumn = origin.fromColumnId !== toColumnId;
|
|
33896
33946
|
const targetCol = items.find((c) => c.id === toColumnId);
|
|
33897
|
-
if (isCrossColumn && (_optionalChain([targetCol, 'optionalAccess',
|
|
33947
|
+
if (isCrossColumn && (_optionalChain([targetCol, 'optionalAccess', _782 => _782.dropDisabled]) || _optionalChain([targetCol, 'optionalAccess', _783 => _783.allowedFromColumns]) && !targetCol.allowedFromColumns.includes(origin.fromColumnId))) {
|
|
33898
33948
|
setItems(columns);
|
|
33899
33949
|
return;
|
|
33900
33950
|
}
|
|
33901
33951
|
let finalIndex = located.index;
|
|
33902
|
-
let finalColumnTickets = _nullishCoalesce(_optionalChain([items, 'access',
|
|
33952
|
+
let finalColumnTickets = _nullishCoalesce(_optionalChain([items, 'access', _784 => _784.find, 'call', _785 => _785((c) => c.id === toColumnId), 'optionalAccess', _786 => _786.tickets]), () => ( []));
|
|
33903
33953
|
const overData = over.data.current;
|
|
33904
|
-
if (_optionalChain([overData, 'optionalAccess',
|
|
33954
|
+
if (_optionalChain([overData, 'optionalAccess', _787 => _787.type]) === "ticket") {
|
|
33905
33955
|
const overIndex = findIndexInColumn(items, toColumnId, String(over.id));
|
|
33906
33956
|
if (overIndex >= 0 && overIndex !== located.index) {
|
|
33907
33957
|
finalColumnTickets = _sortable.arrayMove.call(void 0, finalColumnTickets, located.index, overIndex);
|
|
@@ -33921,8 +33971,8 @@ function Board({
|
|
|
33921
33971
|
ticketId: origin.ticketId,
|
|
33922
33972
|
fromColumnId: origin.fromColumnId,
|
|
33923
33973
|
toColumnId,
|
|
33924
|
-
afterTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access',
|
|
33925
|
-
beforeTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access',
|
|
33974
|
+
afterTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access', _788 => _788[finalIndex - 1], 'optionalAccess', _789 => _789.id]), () => ( null)),
|
|
33975
|
+
beforeTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access', _790 => _790[finalIndex + 1], 'optionalAccess', _791 => _791.id]), () => ( null))
|
|
33926
33976
|
});
|
|
33927
33977
|
};
|
|
33928
33978
|
const handleDragCancel = () => {
|
|
@@ -33951,8 +34001,8 @@ function Board({
|
|
|
33951
34001
|
children: items.map((column, i) => {
|
|
33952
34002
|
const prev = items[i - 1];
|
|
33953
34003
|
const next = items[i + 1];
|
|
33954
|
-
const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess',
|
|
33955
|
-
const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess',
|
|
34004
|
+
const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess', _792 => _792.system]));
|
|
34005
|
+
const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess', _793 => _793.system]));
|
|
33956
34006
|
const showGap = i > 0 && !joinLeft;
|
|
33957
34007
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React102.Fragment, { children: [
|
|
33958
34008
|
showGap && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "w-[var(--spacing-system-mf)] shrink-0" }),
|
|
@@ -34010,7 +34060,7 @@ function locate(cols, ticketId) {
|
|
|
34010
34060
|
return null;
|
|
34011
34061
|
}
|
|
34012
34062
|
function findIndexInColumn(cols, columnId, ticketId) {
|
|
34013
|
-
return _nullishCoalesce(_optionalChain([cols, 'access',
|
|
34063
|
+
return _nullishCoalesce(_optionalChain([cols, 'access', _794 => _794.find, 'call', _795 => _795((c) => c.id === columnId), 'optionalAccess', _796 => _796.tickets, 'access', _797 => _797.findIndex, 'call', _798 => _798((t) => t.id === ticketId)]), () => ( -1));
|
|
34014
34064
|
}
|
|
34015
34065
|
|
|
34016
34066
|
// src/components/features/board/types.ts
|
|
@@ -34676,5 +34726,5 @@ function canonicalize(status) {
|
|
|
34676
34726
|
|
|
34677
34727
|
|
|
34678
34728
|
|
|
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-
|
|
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-C3M6R6JH.cjs.map
|