@flamingo-stack/openframe-frontend-core 0.0.702-snapshot.20261005191338 → 0.0.702
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-NMGX2ZTU.js → chunk-2V4Z44G6.js} +5 -5
- package/dist/{chunk-RLDAYA2A.cjs → chunk-3G76LRGL.cjs} +9 -9
- package/dist/{chunk-GX3OUTFO.cjs → chunk-3WSFIV5G.cjs} +32 -32
- package/dist/{chunk-BOUPNYUV.js → chunk-446KS5BG.js} +2 -2
- package/dist/{chunk-QGTDWFT6.js → chunk-6JPQDYYY.js} +345 -419
- package/dist/{chunk-67CXGPTW.cjs → chunk-AEQANLBW.cjs} +24 -24
- package/dist/{chunk-NYSYSKSH.cjs → chunk-ASN65P3F.cjs} +9 -9
- package/dist/{chunk-S6V7A5FS.cjs → chunk-B3LZJ6J3.cjs} +12 -12
- package/dist/{chunk-SL2FOFT2.js → chunk-BO5ZHDA4.js} +4 -4
- package/dist/{chunk-RTXTGLGB.cjs → chunk-CXDJUKC6.cjs} +2 -2
- package/dist/{chunk-BMJUKS6S.cjs → chunk-CYYTD5ZK.cjs} +20 -20
- package/dist/{chunk-ENGBNKUJ.js → chunk-CZ34HXDW.js} +157 -12
- package/dist/{chunk-KFDP3DUL.cjs → chunk-E3DH543A.cjs} +44 -44
- package/dist/{chunk-7632TNE7.js → chunk-ETFFEA3J.js} +1 -1
- package/dist/{chunk-MXHJROXJ.cjs → chunk-FD4DBTFO.cjs} +475 -330
- package/dist/{chunk-BSEIEWM5.cjs → chunk-FHM7GD5B.cjs} +2 -2
- package/dist/{chunk-NU724ZVN.cjs → chunk-HIXGAY2L.cjs} +70 -70
- package/dist/{chunk-53AC23ZN.js → chunk-HPJ4XS2L.js} +4 -4
- package/dist/{chunk-2NE3DNXY.js → chunk-HYFLTFFB.js} +1 -1
- package/dist/{chunk-NCTYD7HL.js → chunk-IZKOQVXO.js} +2 -2
- package/dist/{chunk-J4K5JOLI.js → chunk-JOY6HVPV.js} +1 -1
- package/dist/{chunk-YBGEPKC2.cjs → chunk-L7KZA7ZD.cjs} +4 -4
- package/dist/{chunk-5VPIC5MD.cjs → chunk-LZNJH23A.cjs} +3 -3
- package/dist/{chunk-UTW4SQDI.js → chunk-MWUBBBWZ.js} +2 -2
- package/dist/{chunk-G55W76S6.js → chunk-PLK6GHN7.js} +1 -1
- package/dist/{chunk-HYLIQMZH.cjs → chunk-QFW3RUZS.cjs} +21 -21
- package/dist/{chunk-GZYLZ4MB.js → chunk-RS7HWAYX.js} +2 -2
- package/dist/{chunk-HY5YL3U5.cjs → chunk-RTGPIHVO.cjs} +173 -247
- package/dist/{chunk-PJP5SMOU.js → chunk-SAA7B3DA.js} +3 -3
- package/dist/{chunk-DAW6TDZB.js → chunk-UJJWTJ6S.js} +4 -4
- package/dist/{chunk-SFGXIFYO.cjs → chunk-YGRHITPY.cjs} +7 -7
- package/dist/{chunk-HHFPQNP3.js → chunk-Z5HDCZAS.js} +1 -1
- package/dist/components/case-studies/index.cjs +14 -14
- package/dist/components/case-studies/index.js +3 -3
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/chat/index.js +1 -1
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/contact/index.js +3 -3
- package/dist/components/docs/index.cjs +7 -7
- package/dist/components/docs/index.js +6 -6
- package/dist/components/embeds/index.cjs +4 -4
- package/dist/components/embeds/index.js +3 -3
- package/dist/components/faq/index.cjs +4 -4
- package/dist/components/faq/index.js +3 -3
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/features/index.js +2 -2
- package/dist/components/help-center-pages/index.cjs +71 -71
- package/dist/components/help-center-pages/index.js +14 -14
- package/dist/components/index.cjs +41 -41
- package/dist/components/index.js +13 -13
- package/dist/components/meeting-scheduler/index.cjs +25 -25
- package/dist/components/meeting-scheduler/index.js +2 -2
- package/dist/components/navigation/app-layout-drawer.d.ts.map +1 -1
- package/dist/components/navigation/index.cjs +6 -6
- package/dist/components/navigation/index.js +5 -5
- package/dist/components/onboarding-guides/index.cjs +6 -6
- package/dist/components/onboarding-guides/index.js +5 -5
- package/dist/components/tickets/index.cjs +7 -7
- package/dist/components/tickets/index.js +6 -6
- package/dist/components/ui/drawer.d.ts +3 -7
- package/dist/components/ui/drawer.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +3 -3
- package/dist/components/ui/index.js +2 -2
- package/dist/index.cjs +7 -7
- package/dist/index.js +6 -6
- package/package.json +1 -1
- package/src/components/chat/embeddable-chat.tsx +9 -11
- package/src/components/navigation/app-layout-drawer.tsx +237 -14
- package/src/components/ui/drawer.tsx +188 -41
- package/dist/components/ui/panel-resize-handle.d.ts +0 -25
- package/dist/components/ui/panel-resize-handle.d.ts.map +0 -1
- package/dist/hooks/ui/use-resizable-panel-size.d.ts +0 -46
- package/dist/hooks/ui/use-resizable-panel-size.d.ts.map +0 -1
- package/src/components/ui/panel-resize-handle.tsx +0 -184
- package/src/hooks/ui/use-resizable-panel-size.ts +0 -114
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkL7KZA7ZDcjs = require('./chunk-L7KZA7ZD.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -13,7 +13,7 @@ var _chunkYBGEPKC2cjs = require('./chunk-YBGEPKC2.cjs');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkFD4DBTFOcjs = require('./chunk-FD4DBTFO.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
@@ -21,7 +21,7 @@ var _chunk3L7KCOGOcjs = require('./chunk-3L7KCOGO.cjs');
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkRTGPIHVOcjs = require('./chunk-RTGPIHVO.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
@@ -187,7 +187,7 @@ function MobileNavPanel({ isOpen, config }) {
|
|
|
187
187
|
);
|
|
188
188
|
};
|
|
189
189
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
190
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "fixed inset-0 z-[9998]",
|
|
190
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "fixed inset-0 z-[9998]", _chunkRTGPIHVOcjs.OVERLAY_BACKDROP_CLASS), onClick: config.onClose }),
|
|
191
191
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
192
192
|
"div",
|
|
193
193
|
{
|
|
@@ -242,16 +242,16 @@ function MobileNavPanel({ isOpen, config }) {
|
|
|
242
242
|
// src/components/navigation/ticket-alerts-button.tsx
|
|
243
243
|
|
|
244
244
|
function TicketAlertsButton({ href, onNavigate, disabled, className }) {
|
|
245
|
-
const live =
|
|
245
|
+
const live = _chunkL7KZA7ZDcjs.useOptionalTicketLive.call(void 0, );
|
|
246
246
|
if (!live || !live.authed || live.unreadTotal === 0) return null;
|
|
247
247
|
const targetId = live.nextUnreadTicketId;
|
|
248
|
-
const target = targetId ?
|
|
248
|
+
const target = targetId ? _chunkFD4DBTFOcjs.buildTicketOpenHref.call(void 0, href, targetId) : href;
|
|
249
249
|
const handleClick = () => {
|
|
250
250
|
if (onNavigate) onNavigate(target);
|
|
251
251
|
else window.location.assign(target);
|
|
252
252
|
};
|
|
253
253
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
254
|
-
|
|
254
|
+
_chunkFD4DBTFOcjs.HeaderButton,
|
|
255
255
|
{
|
|
256
256
|
icon: (
|
|
257
257
|
// Glyph inherits HeaderButton's standard cell coloring (secondary at
|
|
@@ -261,7 +261,7 @@ function TicketAlertsButton({ href, onNavigate, disabled, className }) {
|
|
|
261
261
|
// existing while updates are unread — never by tinting the glyph.
|
|
262
262
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative inline-flex", children: [
|
|
263
263
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN3COXDBHcjs.LifeBuoyIcon, { className: "h-6 w-6" }),
|
|
264
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
264
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.UnreadCountBadge, { count: live.unreadTotal })
|
|
265
265
|
] })
|
|
266
266
|
),
|
|
267
267
|
"aria-label": `Support tickets \u2014 ${live.unreadTotal} unread ${live.unreadTotal === 1 ? "update" : "updates"}`,
|
|
@@ -579,7 +579,7 @@ function Header({ config }) {
|
|
|
579
579
|
leading: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
580
580
|
!!_optionalChain([config, 'access', _12 => _12.actions, 'optionalAccess', _13 => _13.left, 'optionalAccess', _14 => _14.length]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-full items-center border-r border-ods-border", children: config.actions.left }),
|
|
581
581
|
_optionalChain([config, 'access', _15 => _15.mobile, 'optionalAccess', _16 => _16.enabled]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
582
|
-
|
|
582
|
+
_chunkFD4DBTFOcjs.HeaderButton,
|
|
583
583
|
{
|
|
584
584
|
className: "border-r border-ods-border lg:hidden",
|
|
585
585
|
onClick: () => {
|
|
@@ -680,7 +680,7 @@ function HeaderSkeleton({ config }) {
|
|
|
680
680
|
// src/components/navigation/client-only-header.tsx
|
|
681
681
|
|
|
682
682
|
function ClientOnlyHeader({ config, skeleton }) {
|
|
683
|
-
const isClient =
|
|
683
|
+
const isClient = _chunkRTGPIHVOcjs.useIsHydrated.call(void 0, );
|
|
684
684
|
if (!isClient) {
|
|
685
685
|
return skeleton || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderSkeleton, { config });
|
|
686
686
|
}
|
|
@@ -694,7 +694,7 @@ var _framermotion = require('framer-motion');
|
|
|
694
694
|
|
|
695
695
|
function SlidingSidebar({ config }) {
|
|
696
696
|
const [expandedItems, setExpandedItems] = _react.useState.call(void 0, /* @__PURE__ */ new Set());
|
|
697
|
-
const mounted =
|
|
697
|
+
const mounted = _chunkRTGPIHVOcjs.useIsHydrated.call(void 0, );
|
|
698
698
|
const headerHeight = _chunkIIMICN7Lcjs.useHeaderHeight.call(void 0, );
|
|
699
699
|
const asideRef = _react.useRef.call(void 0, null);
|
|
700
700
|
const prefersReducedMotion = _framermotion.useReducedMotion.call(void 0, );
|
|
@@ -826,7 +826,7 @@ function SlidingSidebar({ config }) {
|
|
|
826
826
|
duration: 0.3,
|
|
827
827
|
ease: [0.4, 0, 0.2, 1]
|
|
828
828
|
},
|
|
829
|
-
className: _chunk3ATAYP36cjs.cn.call(void 0, "fixed inset-0 z-[45]",
|
|
829
|
+
className: _chunk3ATAYP36cjs.cn.call(void 0, "fixed inset-0 z-[45]", _chunkRTGPIHVOcjs.OVERLAY_BACKDROP_CLASS),
|
|
830
830
|
onClick: () => config.onClose()
|
|
831
831
|
}
|
|
832
832
|
) }),
|
|
@@ -966,7 +966,7 @@ var NavigationSidebarItemButton = _react.memo.call(void 0, function NavigationSi
|
|
|
966
966
|
_react.cloneElement.call(void 0, item.icon, {
|
|
967
967
|
color: isActive && !disabled ? "text-ods-accent" : "text-ods-text-secondary"
|
|
968
968
|
}),
|
|
969
|
-
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
969
|
+
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.UnreadDot, { size: "fixed" })
|
|
970
970
|
] }),
|
|
971
971
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
972
972
|
"span",
|
|
@@ -1067,7 +1067,7 @@ function NavigationSidebar({ config, disabled = false }) {
|
|
|
1067
1067
|
setTabletFor(isTablet);
|
|
1068
1068
|
if (isTablet) setTabletMinimized(true);
|
|
1069
1069
|
}
|
|
1070
|
-
const hydrated =
|
|
1070
|
+
const hydrated = _chunkRTGPIHVOcjs.useIsHydrated.call(void 0, );
|
|
1071
1071
|
const minimized = hydrated ? isTablet ? tabletMinimized : desktopMinimized : _nullishCoalesce(config.minimized, () => ( false));
|
|
1072
1072
|
const [transitionsEnabled, setTransitionsEnabled] = _react.useState.call(void 0, false);
|
|
1073
1073
|
const isOverlayOpen = isTablet && !minimized;
|
|
@@ -1249,7 +1249,7 @@ function HeaderGlobalSearch({
|
|
|
1249
1249
|
"form",
|
|
1250
1250
|
{
|
|
1251
1251
|
onSubmit: handleSubmit,
|
|
1252
|
-
...
|
|
1252
|
+
..._chunkFD4DBTFOcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
1253
1253
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
1254
1254
|
"flex h-full flex-1 items-center gap-2 px-3",
|
|
1255
1255
|
// Transparent so the cell inherits the bar's background
|
|
@@ -1436,7 +1436,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1436
1436
|
leading: (
|
|
1437
1437
|
// Mobile: Burger Menu Button
|
|
1438
1438
|
!isMdUp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1439
|
-
|
|
1439
|
+
_chunkFD4DBTFOcjs.HeaderButton,
|
|
1440
1440
|
{
|
|
1441
1441
|
onClick: onToggleMobileMenu,
|
|
1442
1442
|
isActive: isMobileMenuOpen,
|
|
@@ -1462,7 +1462,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1462
1462
|
center: showSearch ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderGlobalSearch, { onSubmit: onSearch, className: _chunk3ATAYP36cjs.cn.call(void 0, "w-full", dimmedClass) }) : void 0,
|
|
1463
1463
|
sideActions: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1464
1464
|
showSearch && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1465
|
-
|
|
1465
|
+
_chunkFD4DBTFOcjs.HeaderButton,
|
|
1466
1466
|
{
|
|
1467
1467
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4GFNWALLcjs.SearchIcon, { className: "h-6 w-6" }),
|
|
1468
1468
|
"aria-label": "Search",
|
|
@@ -1479,7 +1479,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1479
1479
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "hidden lg:flex", dimmedClass)
|
|
1480
1480
|
}
|
|
1481
1481
|
),
|
|
1482
|
-
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1482
|
+
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.TimeTrackerHeaderButton, { disabled, className: _chunk3ATAYP36cjs.cn.call(void 0, cellDivider, dimmedClass) }),
|
|
1483
1483
|
showNotifications && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1484
1484
|
NotificationsHeaderButton,
|
|
1485
1485
|
{
|
|
@@ -1499,7 +1499,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1499
1499
|
),
|
|
1500
1500
|
isMdUp && showUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2A4XES7Rcjs.DropdownMenu, { children: [
|
|
1501
1501
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2A4XES7Rcjs.DropdownMenuTrigger, { asChild: true, disabled, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1502
|
-
|
|
1502
|
+
_chunkFD4DBTFOcjs.HeaderButton,
|
|
1503
1503
|
{
|
|
1504
1504
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1505
1505
|
_chunkEMCQGFXDcjs.SquareAvatar,
|
|
@@ -1583,12 +1583,12 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1583
1583
|
);
|
|
1584
1584
|
});
|
|
1585
1585
|
function NotificationsHeaderButton({ fallbackUnreadCount, disabled, dimmedClass }) {
|
|
1586
|
-
const ctx =
|
|
1586
|
+
const ctx = _chunkFD4DBTFOcjs.useOptionalNotifications.call(void 0, );
|
|
1587
1587
|
const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _94 => _94.unreadCount]), () => ( fallbackUnreadCount))) > 0;
|
|
1588
1588
|
const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _95 => _95.isOpen]), () => ( false));
|
|
1589
1589
|
const onClick = _optionalChain([ctx, 'optionalAccess', _96 => _96.toggle]);
|
|
1590
1590
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1591
|
-
|
|
1591
|
+
_chunkFD4DBTFOcjs.HeaderButton,
|
|
1592
1592
|
{
|
|
1593
1593
|
icon: isActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN3COXDBHcjs.XmarkIcon, { className: "h-6 w-6" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN3COXDBHcjs.BellIcon, { className: "h-6 w-6" }),
|
|
1594
1594
|
showUnreadDot: !isActive && hasUnread,
|
|
@@ -1731,7 +1731,7 @@ var MobileBurgerMenu = _react2.default.memo(function MobileBurgerMenuImpl({
|
|
|
1731
1731
|
{
|
|
1732
1732
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
1733
1733
|
"absolute inset-0 z-[100] md:hidden",
|
|
1734
|
-
|
|
1734
|
+
_chunkRTGPIHVOcjs.OVERLAY_BACKDROP_CLASS,
|
|
1735
1735
|
"transition-all duration-300 motion-reduce:transition-none",
|
|
1736
1736
|
isOpen ? "opacity-100" : "pointer-events-none opacity-0"
|
|
1737
1737
|
),
|
|
@@ -1866,7 +1866,7 @@ function AppLayout({
|
|
|
1866
1866
|
}),
|
|
1867
1867
|
[]
|
|
1868
1868
|
);
|
|
1869
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1869
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.AppLayoutDrawerContainerContext.Provider, { value: drawerContainer, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.AppLayoutDrawerCoordinationContext.Provider, { value: drawerCoordination, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex h-screen flex-col bg-ods-bg", className), children: [
|
|
1870
1870
|
topBar,
|
|
1871
1871
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex min-h-0 flex-1", children: [
|
|
1872
1872
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, NavigationSidebar, { config: sidebarConfig, disabled }),
|
|
@@ -1890,7 +1890,7 @@ function AppLayout({
|
|
|
1890
1890
|
disabled
|
|
1891
1891
|
}
|
|
1892
1892
|
),
|
|
1893
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1893
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.NotificationDrawer, {}),
|
|
1894
1894
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: setDrawerContainer, className: "relative flex flex-1 flex-col overflow-hidden", children: [
|
|
1895
1895
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "main", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex-1 overflow-y-auto", mainClassName), children }),
|
|
1896
1896
|
drawer
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkFD4DBTFOcjs = require('./chunk-FD4DBTFO.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunk4OGAXAEGcjs = require('./chunk-4OGAXAEG.cjs');
|
|
@@ -12,7 +12,7 @@ var _chunk4OGAXAEGcjs = require('./chunk-4OGAXAEG.cjs');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkRTGPIHVOcjs = require('./chunk-RTGPIHVO.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
var _chunkIIMICN7Lcjs = require('./chunk-IIMICN7L.cjs');
|
|
@@ -39,7 +39,7 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
39
39
|
function DocSearchResultRow({ result, isHighlighted }) {
|
|
40
40
|
const docType = _optionalChain([result, 'access', _ => _.metadata, 'optionalAccess', _2 => _2.documentType]) || void 0;
|
|
41
41
|
const sourceRepo = _optionalChain([result, 'access', _3 => _3.metadata, 'optionalAccess', _4 => _4.sourceRepo]) || void 0;
|
|
42
|
-
const { Icon: SourceIcon, label: iconLabel } =
|
|
42
|
+
const { Icon: SourceIcon, label: iconLabel } = _chunkRTGPIHVOcjs.resolveSourceIcon.call(void 0, {
|
|
43
43
|
sourceRepo,
|
|
44
44
|
documentType: docType
|
|
45
45
|
});
|
|
@@ -69,7 +69,7 @@ function DocSearchBar({
|
|
|
69
69
|
renderResult
|
|
70
70
|
}) {
|
|
71
71
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
72
|
-
|
|
72
|
+
_chunkFD4DBTFOcjs.SearchInput,
|
|
73
73
|
{
|
|
74
74
|
placeholder,
|
|
75
75
|
value: query,
|
|
@@ -119,7 +119,7 @@ function mapDocSearchResults(docs) {
|
|
|
119
119
|
results.push({
|
|
120
120
|
id: `group-${entry.repo}`,
|
|
121
121
|
// Same table label and count as the chat's grouped chip: one owner each.
|
|
122
|
-
title: `${
|
|
122
|
+
title: `${_chunkRTGPIHVOcjs.getSourceLabel.call(void 0, entry.repo)} ${_chunkRTGPIHVOcjs.recordCountLabel.call(void 0, rows.length)}`,
|
|
123
123
|
path: rows[0].path,
|
|
124
124
|
type: "file",
|
|
125
125
|
metadata: {
|
|
@@ -311,27 +311,27 @@ function useDocSearch(config) {
|
|
|
311
311
|
case "navigate-same-tab": {
|
|
312
312
|
if (wantsNewTab) {
|
|
313
313
|
setKeepOpen(true);
|
|
314
|
-
window.open(action.href, "_blank",
|
|
314
|
+
window.open(action.href, "_blank", _chunkRTGPIHVOcjs.NEW_TAB_FEATURES);
|
|
315
315
|
return;
|
|
316
316
|
}
|
|
317
317
|
setKeepOpen(false);
|
|
318
318
|
const path = baseRoute && action.href.startsWith(`${baseRoute}/`) ? action.href.slice(baseRoute.length + 1) : null;
|
|
319
319
|
if (path && _optionalChain([onInPageSwap, 'optionalCall', _16 => _16(path)])) return;
|
|
320
|
-
router.push(
|
|
320
|
+
router.push(_chunkRTGPIHVOcjs.stripSameOriginToPath.call(void 0, action.href));
|
|
321
321
|
return;
|
|
322
322
|
}
|
|
323
323
|
case "navigate-new-tab":
|
|
324
324
|
setKeepOpen(true);
|
|
325
325
|
if (_optionalChain([runtime, 'optionalAccess', _17 => _17.navigation, 'access', _18 => _18.mode]) === "embed") {
|
|
326
326
|
const targetPlatform = _nullishCoalesce(_optionalChain([result, 'access', _19 => _19.metadata, 'optionalAccess', _20 => _20.targetPlatform]), () => ( null));
|
|
327
|
-
|
|
327
|
+
_chunkRTGPIHVOcjs.resolveExternalNavigation.call(void 0, {
|
|
328
328
|
href: action.href,
|
|
329
329
|
targetPlatform,
|
|
330
330
|
runtime
|
|
331
331
|
}).open();
|
|
332
332
|
return;
|
|
333
333
|
}
|
|
334
|
-
window.open(action.href, "_blank",
|
|
334
|
+
window.open(action.href, "_blank", _chunkRTGPIHVOcjs.NEW_TAB_FEATURES);
|
|
335
335
|
return;
|
|
336
336
|
case "ask-ai":
|
|
337
337
|
setKeepOpen(false);
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkFD4DBTFOcjs = require('./chunk-FD4DBTFO.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunk3L7KCOGOcjs = require('./chunk-3L7KCOGO.cjs');
|
|
@@ -129,7 +129,7 @@ var ToolBadge = ({
|
|
|
129
129
|
className,
|
|
130
130
|
iconClassName
|
|
131
131
|
}) => {
|
|
132
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
132
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkFD4DBTFOcjs.getToolLabel.call(void 0, toolType) : "")));
|
|
133
133
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIIMICN7Lcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
134
134
|
const linked = (node, linkClassName) => href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", title: text || void 0, className: linkClassName, children: node }) : node;
|
|
135
135
|
if (variant === "chip") {
|
|
@@ -163,31 +163,31 @@ var ToolBadge = ({
|
|
|
163
163
|
// src/components/platform/ShellTypeBadge.tsx
|
|
164
164
|
|
|
165
165
|
var shellIconMap = {
|
|
166
|
-
[
|
|
166
|
+
[_chunkFD4DBTFOcjs.ShellTypeValues.POWERSHELL]: {
|
|
167
167
|
icon: _chunkN3COXDBHcjs.PowershellLogoGreyIcon,
|
|
168
168
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
169
169
|
},
|
|
170
|
-
[
|
|
170
|
+
[_chunkFD4DBTFOcjs.ShellTypeValues.CMD]: {
|
|
171
171
|
icon: _chunkX72J4ACLcjs.CmdIcon,
|
|
172
172
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
173
173
|
},
|
|
174
|
-
[
|
|
174
|
+
[_chunkFD4DBTFOcjs.ShellTypeValues.BASH]: {
|
|
175
175
|
icon: _chunkX72J4ACLcjs.BashIcon,
|
|
176
176
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
177
177
|
},
|
|
178
|
-
[
|
|
178
|
+
[_chunkFD4DBTFOcjs.ShellTypeValues.PYTHON]: {
|
|
179
179
|
icon: _chunkN3COXDBHcjs.PythonLogoIcon,
|
|
180
180
|
props: { size: 16, className: "text-ods-text-secondary" }
|
|
181
181
|
},
|
|
182
|
-
[
|
|
182
|
+
[_chunkFD4DBTFOcjs.ShellTypeValues.NUSHELL]: {
|
|
183
183
|
icon: _chunkX72J4ACLcjs.NushellIcon,
|
|
184
184
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
185
185
|
},
|
|
186
|
-
[
|
|
186
|
+
[_chunkFD4DBTFOcjs.ShellTypeValues.DENO]: {
|
|
187
187
|
icon: _chunkX72J4ACLcjs.DenoIcon,
|
|
188
188
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
189
189
|
},
|
|
190
|
-
[
|
|
190
|
+
[_chunkFD4DBTFOcjs.ShellTypeValues.SHELL]: {
|
|
191
191
|
icon: _chunkX72J4ACLcjs.ShellIcon,
|
|
192
192
|
props: { size: 16, color: "var(--color-text-secondary)" }
|
|
193
193
|
}
|
|
@@ -198,7 +198,7 @@ var defaultIconConfig = {
|
|
|
198
198
|
};
|
|
199
199
|
var ShellTypeBadge = ({ shellType, className, iconClassName }) => {
|
|
200
200
|
const normalizedType = _optionalChain([shellType, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]);
|
|
201
|
-
const label =
|
|
201
|
+
const label = _chunkFD4DBTFOcjs.getShellLabel.call(void 0, normalizedType);
|
|
202
202
|
const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
|
|
203
203
|
const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
|
|
204
204
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex items-center gap-1", className), children: [
|
|
@@ -214,7 +214,7 @@ function formatSupportedPlatforms(platforms) {
|
|
|
214
214
|
if (!platforms || platforms.length === 0) {
|
|
215
215
|
return "All Platforms";
|
|
216
216
|
}
|
|
217
|
-
return platforms.map((platform) =>
|
|
217
|
+
return platforms.map((platform) => _chunkFD4DBTFOcjs.getOSLabel.call(void 0, platform)).join(", ");
|
|
218
218
|
}
|
|
219
219
|
function InfoCell({ label, value, avatar, className }) {
|
|
220
220
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
|
|
@@ -234,7 +234,7 @@ var ScriptInfoSection = ({
|
|
|
234
234
|
author,
|
|
235
235
|
className
|
|
236
236
|
}) => {
|
|
237
|
-
const shellLabel =
|
|
237
|
+
const shellLabel = _chunkFD4DBTFOcjs.getShellLabel.call(void 0, shellType);
|
|
238
238
|
const platformsLabel = formatSupportedPlatforms(supportedPlatforms);
|
|
239
239
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", className), children: [
|
|
240
240
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-b border-ods-border p-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-1", children: [
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ArticleAuthorByline,
|
|
4
4
|
DetailPageSkeleton
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JOY6HVPV.js";
|
|
6
6
|
import {
|
|
7
7
|
DocSearchBar,
|
|
8
8
|
useDocSearch
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-446KS5BG.js";
|
|
10
10
|
import {
|
|
11
11
|
useSelfFetch
|
|
12
12
|
} from "./chunk-5FFNNJM7.js";
|
|
@@ -18,13 +18,13 @@ import {
|
|
|
18
18
|
PageShell,
|
|
19
19
|
RichMarkdownRenderer,
|
|
20
20
|
resolveContentHref
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-CZ34HXDW.js";
|
|
22
22
|
import {
|
|
23
23
|
EntityVideoSection,
|
|
24
24
|
VideoBitesStrip,
|
|
25
25
|
useCaptions,
|
|
26
26
|
useVideoWarmup
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-6JPQDYYY.js";
|
|
28
28
|
import {
|
|
29
29
|
useRouter,
|
|
30
30
|
useSearchParams
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkFD4DBTFOcjs = require('./chunk-FD4DBTFO.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkIIMICN7Lcjs = require('./chunk-IIMICN7L.cjs');
|
|
@@ -130,7 +130,7 @@ function useSectionNavigation(sections, options) {
|
|
|
130
130
|
// src/components/navigation/multi-level-navigation.tsx
|
|
131
131
|
var _lucidereact = require('lucide-react');
|
|
132
132
|
|
|
133
|
-
var DEFAULT_FOLDER_INDEX_FILE2 =
|
|
133
|
+
var DEFAULT_FOLDER_INDEX_FILE2 = _chunkFD4DBTFOcjs.DEFAULT_FOLDER_INDEX_FILE;
|
|
134
134
|
function isNodeVisuallySelected(node, selectedPath, folderIndexFile = DEFAULT_FOLDER_INDEX_FILE2) {
|
|
135
135
|
const FOLDER_INDEX_FILE = folderIndexFile.toLowerCase();
|
|
136
136
|
if (selectedPath === node.path) {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkFD4DBTFOcjs = require('./chunk-FD4DBTFO.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -18,7 +18,7 @@ var _chunk3L7KCOGOcjs = require('./chunk-3L7KCOGO.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkRTGPIHVOcjs = require('./chunk-RTGPIHVO.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -113,7 +113,7 @@ function ContactForm({
|
|
|
113
113
|
successToastMessage = "Redirecting you to join our community...",
|
|
114
114
|
rescue: rescueForm = null
|
|
115
115
|
} = {}) {
|
|
116
|
-
const attachments =
|
|
116
|
+
const attachments = _chunkRTGPIHVOcjs.useChatAttachments.call(void 0, );
|
|
117
117
|
const builtInSubmission = _chunk3L7KCOGOcjs.useContactSubmission.call(void 0, {
|
|
118
118
|
userId,
|
|
119
119
|
successRedirectUrl,
|
|
@@ -197,13 +197,13 @@ function ContactForm({
|
|
|
197
197
|
);
|
|
198
198
|
}),
|
|
199
199
|
className: "flex flex-grow flex-col space-y-4 md:space-y-6",
|
|
200
|
-
...
|
|
200
|
+
..._chunkFD4DBTFOcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
201
201
|
children: [
|
|
202
202
|
!showName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("name") }),
|
|
203
203
|
!showEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("email") }),
|
|
204
204
|
!showHelpCategory && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("helpCategory") }),
|
|
205
205
|
!showMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("message") }),
|
|
206
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
206
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.HoneypotField, { ...honeypotInputProps }),
|
|
207
207
|
extraTopField,
|
|
208
208
|
showNameEmailRow && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 md:grid-cols-2 md:gap-6", children: [
|
|
209
209
|
showName && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
@@ -255,17 +255,17 @@ function ContactForm({
|
|
|
255
255
|
{
|
|
256
256
|
control,
|
|
257
257
|
name: "companySize",
|
|
258
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
258
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFD4DBTFOcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
259
259
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
260
|
-
|
|
260
|
+
_chunkFD4DBTFOcjs.SelectTrigger,
|
|
261
261
|
{
|
|
262
262
|
id: "companySize",
|
|
263
263
|
"aria-label": "Company Size",
|
|
264
264
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
265
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
265
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.SelectValue, { placeholder: "Select company size" })
|
|
266
266
|
}
|
|
267
267
|
),
|
|
268
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
268
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.SelectContent, { children: companySizeOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
269
269
|
] })
|
|
270
270
|
}
|
|
271
271
|
),
|
|
@@ -278,17 +278,17 @@ function ContactForm({
|
|
|
278
278
|
{
|
|
279
279
|
control,
|
|
280
280
|
name: "referralSource",
|
|
281
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
281
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFD4DBTFOcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
282
282
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
283
|
-
|
|
283
|
+
_chunkFD4DBTFOcjs.SelectTrigger,
|
|
284
284
|
{
|
|
285
285
|
id: "referralSource",
|
|
286
286
|
"aria-label": "Referral Source",
|
|
287
287
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
288
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
288
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.SelectValue, { placeholder: "Select an option" })
|
|
289
289
|
}
|
|
290
290
|
),
|
|
291
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
291
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.SelectContent, { children: referralSourceOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
292
292
|
] })
|
|
293
293
|
}
|
|
294
294
|
),
|
|
@@ -305,18 +305,18 @@ function ContactForm({
|
|
|
305
305
|
{
|
|
306
306
|
control,
|
|
307
307
|
name: "helpCategory",
|
|
308
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
308
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFD4DBTFOcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
309
309
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
310
|
-
|
|
310
|
+
_chunkFD4DBTFOcjs.SelectTrigger,
|
|
311
311
|
{
|
|
312
312
|
id: "helpCategory",
|
|
313
313
|
"aria-label": "Help Category",
|
|
314
314
|
"aria-required": true,
|
|
315
315
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
316
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
316
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.SelectValue, { placeholder: "Choose your main interest" })
|
|
317
317
|
}
|
|
318
318
|
),
|
|
319
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
319
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.SelectContent, { children: helpCategoryOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
320
320
|
] })
|
|
321
321
|
}
|
|
322
322
|
),
|
|
@@ -328,7 +328,7 @@ function ContactForm({
|
|
|
328
328
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2A4XES7Rcjs.RequiredMark, {})
|
|
329
329
|
] }),
|
|
330
330
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
331
|
-
|
|
331
|
+
_chunkFD4DBTFOcjs.Textarea,
|
|
332
332
|
{
|
|
333
333
|
id: "message",
|
|
334
334
|
...register("message"),
|
|
@@ -343,7 +343,7 @@ function ContactForm({
|
|
|
343
343
|
] }),
|
|
344
344
|
attachmentsEnabled && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2", children: [
|
|
345
345
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
346
|
-
|
|
346
|
+
_chunkRTGPIHVOcjs.ChatAttachmentChipStrip,
|
|
347
347
|
{
|
|
348
348
|
attachments: attachments.attachments,
|
|
349
349
|
onRemove: attachments.removeAttachment,
|
|
@@ -352,7 +352,7 @@ function ContactForm({
|
|
|
352
352
|
),
|
|
353
353
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
354
354
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
355
|
-
|
|
355
|
+
_chunkRTGPIHVOcjs.ChatAttachmentAddButton,
|
|
356
356
|
{
|
|
357
357
|
attachmentsEnabled: true,
|
|
358
358
|
attachmentsCount: attachments.attachments.length,
|