@flamingo-stack/openframe-frontend-core 0.0.811 → 0.0.812
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/{case-study-card-AMINZROX.cjs → case-study-card-3XLKCGLV.cjs} +5 -5
- package/dist/{chunk-VXMPVDOS.cjs → chunk-2IZHRVKD.cjs} +24 -24
- package/dist/{chunk-XYZBN6D7.cjs → chunk-4IU462LR.cjs} +2 -2
- package/dist/{chunk-STLJCAIZ.cjs → chunk-4SZKJPQJ.cjs} +2 -2
- package/dist/{chunk-ACCZCRXT.cjs → chunk-4ZTGCCNI.cjs} +11 -11
- package/dist/{chunk-VXXOUM2K.cjs → chunk-5DBW6ERF.cjs} +4 -0
- package/dist/{chunk-JNWJB4Z5.cjs → chunk-6LZ4BI7Z.cjs} +52 -52
- package/dist/{chunk-KVDUWXVZ.cjs → chunk-743MM5B6.cjs} +4 -4
- package/dist/{chunk-PCVY63WQ.cjs → chunk-7HNZHENA.cjs} +13 -13
- package/dist/{chunk-OQDPZOGC.cjs → chunk-7Q2PFKU3.cjs} +4 -4
- package/dist/{chunk-NZSWROGM.cjs → chunk-7TBXHZLB.cjs} +2 -2
- package/dist/{chunk-Q7QYAINS.cjs → chunk-COTJLBOS.cjs} +2 -2
- package/dist/{chunk-ZZO3FGPM.cjs → chunk-CUDJP7R7.cjs} +11 -11
- package/dist/{chunk-O32RLIN4.cjs → chunk-D2EPUQ35.cjs} +4 -4
- package/dist/{chunk-WX5WDSKV.cjs → chunk-D322VUSH.cjs} +498 -498
- package/dist/{chunk-CJ7W2SY4.cjs → chunk-DA2TWDGJ.cjs} +6 -6
- package/dist/{chunk-ZW25QUJK.cjs → chunk-E64HJMY6.cjs} +11 -11
- package/dist/{chunk-IQLXO6EI.cjs → chunk-EPMAMFQE.cjs} +89 -89
- package/dist/{chunk-66J7ZSI5.cjs → chunk-FCFLZPID.cjs} +36 -36
- package/dist/{chunk-TKK66KHU.cjs → chunk-JMAKYJ3Q.cjs} +6 -6
- package/dist/{chunk-O4MEG2ZS.cjs → chunk-JMRO7CK2.cjs} +21 -21
- package/dist/{chunk-CPP2APON.cjs → chunk-K7IX2NAG.cjs} +78 -78
- package/dist/{chunk-R55KNVPR.cjs → chunk-NEDFRRLM.cjs} +47 -47
- package/dist/{chunk-6GT3ZL27.cjs → chunk-OKI5KSUV.cjs} +28 -28
- package/dist/{chunk-CB77J5L7.cjs → chunk-PQ76VC2P.cjs} +187 -187
- package/dist/{chunk-XLEWM5X5.cjs → chunk-RSLLS6C4.cjs} +41 -41
- package/dist/{chunk-7Y6M4FW4.cjs → chunk-SC3I3YWM.cjs} +17 -17
- package/dist/{chunk-J6C7F63P.cjs → chunk-TCMUVY3M.cjs} +87 -87
- package/dist/{chunk-PMOMZSCX.cjs → chunk-TS4PKCG3.cjs} +2 -2
- package/dist/{chunk-GU3GJ5DH.cjs → chunk-VEN6MGNX.cjs} +33 -33
- package/dist/{chunk-MDBOYMCW.cjs → chunk-VPYGK4AV.cjs} +15 -15
- package/dist/{chunk-UP3TLY2V.cjs → chunk-VT2ACO3Z.cjs} +129 -129
- package/dist/{chunk-243TS7YL.cjs → chunk-VYLBW6ZV.cjs} +18 -18
- package/dist/{chunk-FK2WFU7R.cjs → chunk-WFJDKP2Q.cjs} +4 -4
- package/dist/{chunk-CLU2KJFB.cjs → chunk-XB7VPJNY.cjs} +3 -3
- package/dist/{chunk-CC3Q3MQG.cjs → chunk-XZKYU57A.cjs} +2 -2
- package/dist/{chunk-ERLMCSGF.cjs → chunk-ZFUNSXSH.cjs} +4 -4
- package/dist/{cloud-tenants-XGGQG7SO.cjs → cloud-tenants-CW3I7AIM.cjs} +17 -17
- package/dist/components/case-studies/index.cjs +33 -33
- package/dist/components/chat/index.cjs +13 -13
- package/dist/components/chat/utils/icon-registry.d.ts.map +1 -1
- package/dist/components/chat/utils/icon-registry.js +4 -0
- package/dist/components/contact/index.cjs +18 -18
- package/dist/components/docs/index.cjs +21 -21
- package/dist/components/embeds/index.cjs +18 -18
- package/dist/components/faq/index.cjs +19 -19
- package/dist/components/features/devices/devices-table-columns.d.ts.map +1 -1
- package/dist/components/features/devices/devices-table-columns.js +1 -1
- package/dist/components/features/index.cjs +17 -17
- package/dist/components/help-center-pages/index.cjs +118 -118
- package/dist/components/index.cjs +75 -75
- package/dist/components/meeting-scheduler/index.cjs +109 -63
- package/dist/components/meeting-scheduler/index.d.ts +30 -1
- package/dist/components/meeting-scheduler/index.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.js +43 -3
- package/dist/components/navigation/index.cjs +20 -20
- package/dist/components/onboarding-guides/index.cjs +20 -20
- package/dist/components/product-demo/index.cjs +28 -28
- package/dist/components/related-content/index.cjs +9 -9
- package/dist/components/tickets/index.cjs +24 -24
- package/dist/components/ui/index.cjs +17 -17
- package/dist/{devices-H5Y4DBVC.cjs → devices-KKRAB4Q2.cjs} +18 -18
- package/dist/{embeddable-chat-77ZOLCCK.cjs → embeddable-chat-5UO66U4F.cjs} +81 -81
- package/dist/hooks/index.cjs +6 -6
- package/dist/index.cjs +22 -22
- package/dist/{knowledge-MGH65HXM.cjs → knowledge-Z2PTGBA3.cjs} +18 -18
- package/dist/{logs-OL7ETVK6.cjs → logs-6T5VK2TY.cjs} +25 -25
- package/dist/{policies-BCECWQ3F.cjs → policies-JPIC5YDE.cjs} +21 -21
- package/dist/{remote-session-HML4UF7W.cjs → remote-session-VBVUMIUP.cjs} +6 -6
- package/dist/{scripts-XCD6V2JB.cjs → scripts-BSYJJFBQ.cjs} +24 -24
- package/dist/{software-update-U5ESXRG5.cjs → software-update-KVEYYORC.cjs} +21 -21
- package/dist/{tickets-board-EICQ5VLE.cjs → tickets-board-YRZ54JJS.cjs} +10 -10
- package/dist/utils/index.cjs +4 -0
- package/package.json +1 -1
- package/src/components/chat/utils/icon-registry.ts +4 -0
- package/src/components/features/devices/devices-table-columns.tsx +5 -2
- package/src/components/meeting-scheduler/index.tsx +85 -3
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkWFJDKP2Qcjs = require('./chunk-WFJDKP2Q.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkD2EPUQ35cjs = require('./chunk-D2EPUQ35.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ var _chunkO32RLIN4cjs = require('./chunk-O32RLIN4.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkD322VUSHcjs = require('./chunk-D322VUSH.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
var _chunkSFUNXMY3cjs = require('./chunk-SFUNXMY3.cjs');
|
|
@@ -27,7 +27,7 @@ var _chunkSFUNXMY3cjs = require('./chunk-SFUNXMY3.cjs');
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
var
|
|
30
|
+
var _chunkVEN6MGNXcjs = require('./chunk-VEN6MGNX.cjs');
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
var _chunkAPOMNC7Hcjs = require('./chunk-APOMNC7H.cjs');
|
|
@@ -39,14 +39,14 @@ var _chunk24I6RFVUcjs = require('./chunk-24I6RFVU.cjs');
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
var
|
|
42
|
+
var _chunkTCMUVY3Mcjs = require('./chunk-TCMUVY3M.cjs');
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
|
|
46
|
-
var
|
|
46
|
+
var _chunkPQ76VC2Pcjs = require('./chunk-PQ76VC2P.cjs');
|
|
47
47
|
|
|
48
48
|
|
|
49
|
-
var
|
|
49
|
+
var _chunkE64HJMY6cjs = require('./chunk-E64HJMY6.cjs');
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
var _chunk756VZNPPcjs = require('./chunk-756VZNPP.cjs');
|
|
@@ -94,7 +94,7 @@ var _chunkWWUSFOJ7cjs = require('./chunk-WWUSFOJ7.cjs');
|
|
|
94
94
|
var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
95
95
|
|
|
96
96
|
|
|
97
|
-
var
|
|
97
|
+
var _chunkSC3I3YWMcjs = require('./chunk-SC3I3YWM.cjs');
|
|
98
98
|
|
|
99
99
|
|
|
100
100
|
|
|
@@ -167,7 +167,7 @@ function RowGlyph({ link, box, glyph }) {
|
|
|
167
167
|
{
|
|
168
168
|
"aria-hidden": "true",
|
|
169
169
|
className: _chunk7JWFMAQBcjs.cn.call(void 0, "flex shrink-0 items-center justify-center overflow-hidden rounded-full", box),
|
|
170
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
170
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSC3I3YWMcjs.EntityIcon, { icon: link.icon, className: "h-full w-full" })
|
|
171
171
|
}
|
|
172
172
|
);
|
|
173
173
|
}
|
|
@@ -180,7 +180,7 @@ function RowGlyph({ link, box, glyph }) {
|
|
|
180
180
|
"flex shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg text-ods-text-primary",
|
|
181
181
|
box
|
|
182
182
|
),
|
|
183
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
183
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSC3I3YWMcjs.EntityIcon, { icon: { name: link.iconName }, size: glyph })
|
|
184
184
|
}
|
|
185
185
|
);
|
|
186
186
|
}
|
|
@@ -193,7 +193,7 @@ function NavItemRow({
|
|
|
193
193
|
className
|
|
194
194
|
}) {
|
|
195
195
|
const label = navLinkLabel(link);
|
|
196
|
-
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
196
|
+
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkD322VUSHcjs.UnreadCountBadge, { count: badge, className: "static shrink-0" }) : null;
|
|
197
197
|
const singleLine = !link.description && !link.builtOn;
|
|
198
198
|
const rowClassName = _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
199
199
|
ROW_CLASSES[variant],
|
|
@@ -210,7 +210,7 @@ function NavItemRow({
|
|
|
210
210
|
] });
|
|
211
211
|
} else if (variant === "side") {
|
|
212
212
|
children = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
213
|
-
link.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: "flex shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
213
|
+
link.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: "flex shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSC3I3YWMcjs.EntityIcon, { icon: { name: link.iconName }, size: 18 }) }),
|
|
214
214
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1", children: label }),
|
|
215
215
|
counter
|
|
216
216
|
] });
|
|
@@ -241,7 +241,7 @@ var featureCardLoad = null;
|
|
|
241
241
|
var featureCardListeners = /* @__PURE__ */ new Set();
|
|
242
242
|
function loadFeatureCard() {
|
|
243
243
|
if (featureCard || featureCardLoad) return;
|
|
244
|
-
featureCardLoad = Promise.resolve().then(() => _interopRequireWildcard(require("./case-study-card-
|
|
244
|
+
featureCardLoad = Promise.resolve().then(() => _interopRequireWildcard(require("./case-study-card-3XLKCGLV.cjs"))).then((module) => {
|
|
245
245
|
featureCard = module.CaseStudyCard;
|
|
246
246
|
for (const listener of featureCardListeners) listener();
|
|
247
247
|
}).catch(() => void 0).finally(() => {
|
|
@@ -250,7 +250,7 @@ function loadFeatureCard() {
|
|
|
250
250
|
}
|
|
251
251
|
function subscribeToFeatureCard(listener) {
|
|
252
252
|
featureCardListeners.add(listener);
|
|
253
|
-
const cancel =
|
|
253
|
+
const cancel = _chunkTCMUVY3Mcjs.afterPageLoad.call(void 0, loadFeatureCard);
|
|
254
254
|
return () => {
|
|
255
255
|
featureCardListeners.delete(listener);
|
|
256
256
|
cancel();
|
|
@@ -465,7 +465,7 @@ function TopNavigation({
|
|
|
465
465
|
|
|
466
466
|
var TOP_ITEM_CLASS = "relative inline-flex h-10 items-center gap-1.5 whitespace-nowrap rounded-md px-3.5 text-ods-text-secondary transition-colors text-h6 hover:bg-ods-bg-hover hover:text-ods-text-primary";
|
|
467
467
|
var TOP_ITEM_CURRENT_CLASS = "rounded-b-none bg-gradient-to-b from-transparent to-ods-accent/10 text-ods-text-primary after:absolute after:inset-x-0 after:bottom-0 after:h-0.5 after:bg-ods-accent";
|
|
468
|
-
var menuIcon = (menu) => menu.iconName ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
468
|
+
var menuIcon = (menu) => menu.iconName ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSC3I3YWMcjs.EntityIcon, { icon: { name: menu.iconName }, size: 20, className: "size-5 shrink-0" }) : null;
|
|
469
469
|
function SiteHeader({
|
|
470
470
|
nav,
|
|
471
471
|
pathname,
|
|
@@ -488,8 +488,8 @@ function SiteHeader({
|
|
|
488
488
|
}) {
|
|
489
489
|
const [show, setShow] = _react.useState.call(void 0, true);
|
|
490
490
|
const lastScrollY = _react.useRef.call(void 0, 0);
|
|
491
|
-
const activeId =
|
|
492
|
-
const { openId, close, getTriggerProps, getPanelProps } =
|
|
491
|
+
const activeId = _chunkVEN6MGNXcjs.useActiveSection.call(void 0, nav.menus, pathname);
|
|
492
|
+
const { openId, close, getTriggerProps, getPanelProps } = _chunkVEN6MGNXcjs.useNavMenus.call(void 0, { pathname });
|
|
493
493
|
const [trail, setTrail] = _react.useState.call(void 0, { id: null, from: null });
|
|
494
494
|
if (trail.id !== openId) setTrail({ id: openId, from: trail.id });
|
|
495
495
|
const previousId = trail.id === openId ? trail.from : trail.id;
|
|
@@ -615,7 +615,7 @@ function SiteHeader({
|
|
|
615
615
|
leading: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
616
616
|
leading,
|
|
617
617
|
mobile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
618
|
-
|
|
618
|
+
_chunkD322VUSHcjs.HeaderButton,
|
|
619
619
|
{
|
|
620
620
|
className: "border-r border-ods-border lg:hidden",
|
|
621
621
|
onClick: mobile.onToggle,
|
|
@@ -641,7 +641,7 @@ function SiteHeader({
|
|
|
641
641
|
centerClassName: "justify-start pl-[var(--spacing-system-xlf)]",
|
|
642
642
|
cta: hasRight ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
643
643
|
mingo && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
644
|
-
|
|
644
|
+
_chunkTCMUVY3Mcjs.MingoAiButton,
|
|
645
645
|
{
|
|
646
646
|
source: mingo.source,
|
|
647
647
|
icon: mingo.icon,
|
|
@@ -707,9 +707,9 @@ function MobileNavSheetBody({
|
|
|
707
707
|
const sheetRef = _react.useRef.call(void 0, null);
|
|
708
708
|
const menus = [..._nullishCoalesce(nav.mobileMenus, () => ( nav.menus)), ..._nullishCoalesce(extraMenus, () => ( []))];
|
|
709
709
|
_overlays.usePreventScroll.call(void 0, );
|
|
710
|
-
|
|
710
|
+
_chunkVEN6MGNXcjs.useFocusTrap.call(void 0, sheetRef, true, { onEscape: onClose });
|
|
711
711
|
const [openGroups, setOpenGroups] = _react.useState.call(void 0, () => {
|
|
712
|
-
const active =
|
|
712
|
+
const active = _chunkVEN6MGNXcjs.resolveActiveSection.call(void 0, menus, pathname);
|
|
713
713
|
return active ? { [active]: true } : {};
|
|
714
714
|
});
|
|
715
715
|
const primaryCta = typeof nav.primaryCta === "object" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "accent", href: nav.primaryCta.href, onClick: onClose, className: "w-full", children: nav.primaryCta.label }) : nav.primaryCta === "none" ? null : _nullishCoalesce(cta, () => ( null));
|
|
@@ -745,7 +745,7 @@ function MobileNavSheetBody({
|
|
|
745
745
|
] }),
|
|
746
746
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-h-0 flex-1 overflow-y-auto overflow-x-hidden overscroll-contain px-5", children: [
|
|
747
747
|
askAI && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
748
|
-
|
|
748
|
+
_chunkTCMUVY3Mcjs.MingoAiButton,
|
|
749
749
|
{
|
|
750
750
|
variant: "field",
|
|
751
751
|
source: askAI.source,
|
|
@@ -923,7 +923,7 @@ function SiteFooter({
|
|
|
923
923
|
const columns = nav.footerColumns;
|
|
924
924
|
const accordion = columns.length > ACCORDION_OVER;
|
|
925
925
|
const socialRow = _nullishCoalesce(social, () => ( (nav.brand.social.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
926
|
-
|
|
926
|
+
_chunkD322VUSHcjs.SocialIconRow,
|
|
927
927
|
{
|
|
928
928
|
compact: true,
|
|
929
929
|
links: nav.brand.social.map((link) => ({
|
|
@@ -1026,12 +1026,12 @@ var _framermotion = require('framer-motion');
|
|
|
1026
1026
|
|
|
1027
1027
|
function SlidingSidebar({ config }) {
|
|
1028
1028
|
const [expandedItems, setExpandedItems] = _react.useState.call(void 0, /* @__PURE__ */ new Set());
|
|
1029
|
-
const mounted =
|
|
1029
|
+
const mounted = _chunkPQ76VC2Pcjs.useIsHydrated.call(void 0, );
|
|
1030
1030
|
const headerHeight = _chunk24I6RFVUcjs.useHeaderHeight.call(void 0, );
|
|
1031
1031
|
const asideRef = _react.useRef.call(void 0, null);
|
|
1032
1032
|
const prefersReducedMotion = _framermotion.useReducedMotion.call(void 0, );
|
|
1033
1033
|
_overlays.usePreventScroll.call(void 0, { isDisabled: !config.isOpen });
|
|
1034
|
-
|
|
1034
|
+
_chunkVEN6MGNXcjs.useFocusTrap.call(void 0, asideRef, config.isOpen, { onEscape: config.onClose, contain: false });
|
|
1035
1035
|
const toggleExpanded = (itemId) => {
|
|
1036
1036
|
const newExpanded = new Set(expandedItems);
|
|
1037
1037
|
if (newExpanded.has(itemId)) {
|
|
@@ -1201,7 +1201,7 @@ function SlidingSidebar({ config }) {
|
|
|
1201
1201
|
// src/components/navigation/page-section-bar.tsx
|
|
1202
1202
|
|
|
1203
1203
|
|
|
1204
|
-
var SECTION_BAR_HEIGHT_PX =
|
|
1204
|
+
var SECTION_BAR_HEIGHT_PX = _chunkWFJDKP2Qcjs.STICKY_SECTION_NAV_HEIGHT_PX;
|
|
1205
1205
|
var PAGE_ANCHOR_SCROLL_MARGIN_CLASS = "scroll-mt-36";
|
|
1206
1206
|
var PAGE_ANCHOR_SCOPE_CLASS = "[&_[id]]:scroll-mt-36";
|
|
1207
1207
|
var PAGE_ANCHOR_GAP_PX = 16;
|
|
@@ -1229,21 +1229,21 @@ function PageSectionBar({ sections: listed, label, brand, action }) {
|
|
|
1229
1229
|
const sections = useRenderedSections(listed);
|
|
1230
1230
|
const inScope = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
|
|
1231
1231
|
const headerBottom = _chunk24I6RFVUcjs.useHeaderHeight.call(void 0, void 0, { stuckOnly: true });
|
|
1232
|
-
const { activeSection, handleSectionClick } =
|
|
1232
|
+
const { activeSection, handleSectionClick } = _chunkWFJDKP2Qcjs.useScrollSpy.call(void 0, sections, {
|
|
1233
1233
|
syncHash: true,
|
|
1234
1234
|
aboveFirst: "none",
|
|
1235
1235
|
headerOffset: headerBottom + SECTION_BAR_HEIGHT_PX + PAGE_ANCHOR_GAP_PX
|
|
1236
1236
|
});
|
|
1237
1237
|
if (sections.length === 0 && !inScope) return null;
|
|
1238
1238
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1239
|
-
|
|
1239
|
+
_chunkD322VUSHcjs.PageContainer,
|
|
1240
1240
|
{
|
|
1241
1241
|
as: "div",
|
|
1242
1242
|
backgroundClassName: "sticky z-30 border-b border-ods-border bg-ods-bg transition-[top] duration-300 ease-in-out motion-reduce:transition-none",
|
|
1243
1243
|
backgroundStyle: { top: headerBottom },
|
|
1244
1244
|
contentPadding: SECTION_BAR_INSET_CLASS,
|
|
1245
1245
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1246
|
-
|
|
1246
|
+
_chunkWFJDKP2Qcjs.StickySectionNav,
|
|
1247
1247
|
{
|
|
1248
1248
|
orientation: "horizontal",
|
|
1249
1249
|
label,
|
|
@@ -1252,7 +1252,7 @@ function PageSectionBar({ sections: listed, label, brand, action }) {
|
|
|
1252
1252
|
onSectionClick: handleSectionClick,
|
|
1253
1253
|
brand,
|
|
1254
1254
|
action: action && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1255
|
-
|
|
1255
|
+
_chunkPQ76VC2Pcjs.NavLinkAnchorViaRuntime,
|
|
1256
1256
|
{
|
|
1257
1257
|
href: action.href,
|
|
1258
1258
|
onClick: (event) => {
|
|
@@ -1339,7 +1339,7 @@ function LoadedNavigationSidebarItemButton({
|
|
|
1339
1339
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1340
1340
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex flex-shrink-0 items-center justify-center", children: [
|
|
1341
1341
|
_react.cloneElement.call(void 0, item.icon, { color: "inherit" }),
|
|
1342
|
-
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1342
|
+
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkD322VUSHcjs.UnreadDot, { size: "fixed" })
|
|
1343
1343
|
] }),
|
|
1344
1344
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1345
1345
|
"span",
|
|
@@ -1449,7 +1449,7 @@ function NavigationSidebar({ config, disabled = false, pushOnTablet = false }) {
|
|
|
1449
1449
|
setTabletFor(isTablet);
|
|
1450
1450
|
if (isTablet) setTabletMinimized(true);
|
|
1451
1451
|
}
|
|
1452
|
-
const hydrated =
|
|
1452
|
+
const hydrated = _chunkPQ76VC2Pcjs.useIsHydrated.call(void 0, );
|
|
1453
1453
|
const minimized = hydrated ? isTablet ? tabletMinimized : desktopMinimized : _nullishCoalesce(config.minimized, () => ( false));
|
|
1454
1454
|
const [transitionsEnabled, setTransitionsEnabled] = _react.useState.call(void 0, false);
|
|
1455
1455
|
const isOverlayOpen = isTablet && !minimized;
|
|
@@ -1641,7 +1641,7 @@ function HeaderGlobalSearch({
|
|
|
1641
1641
|
"form",
|
|
1642
1642
|
{
|
|
1643
1643
|
onSubmit: handleSubmit,
|
|
1644
|
-
...
|
|
1644
|
+
..._chunkTCMUVY3Mcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
1645
1645
|
className: _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
1646
1646
|
"flex h-full flex-1 items-center gap-2 px-3",
|
|
1647
1647
|
// Transparent so the cell inherits the bar's background
|
|
@@ -1707,7 +1707,7 @@ function HeaderMingoButton({
|
|
|
1707
1707
|
) : (
|
|
1708
1708
|
// Outer frame follows the button's text color (currentColor); the eyes
|
|
1709
1709
|
// and corner block are ODS cyan.
|
|
1710
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1710
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE64HJMY6cjs.AgentMark, { agent: "mingo", className: "h-6 w-6 shrink-0" })
|
|
1711
1711
|
),
|
|
1712
1712
|
!iconOnly && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap font-bold tracking-[-0.36px] text-h3", children: "Mingo AI" })
|
|
1713
1713
|
]
|
|
@@ -1748,16 +1748,16 @@ function HeaderOrganizationFilter({
|
|
|
1748
1748
|
// src/components/navigation/ticket-alerts-button.tsx
|
|
1749
1749
|
|
|
1750
1750
|
function TicketAlertsButton({ href, onNavigate, disabled, className }) {
|
|
1751
|
-
const live =
|
|
1751
|
+
const live = _chunkD2EPUQ35cjs.useOptionalTicketLive.call(void 0, );
|
|
1752
1752
|
if (!live || !live.authed || live.unreadTotal === 0) return null;
|
|
1753
1753
|
const targetId = live.nextUnreadTicketId;
|
|
1754
|
-
const target = targetId ?
|
|
1754
|
+
const target = targetId ? _chunkTCMUVY3Mcjs.buildTicketOpenHref.call(void 0, href, targetId) : href;
|
|
1755
1755
|
const handleClick = () => {
|
|
1756
1756
|
if (onNavigate) onNavigate(target);
|
|
1757
1757
|
else window.location.assign(target);
|
|
1758
1758
|
};
|
|
1759
1759
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1760
|
-
|
|
1760
|
+
_chunkD322VUSHcjs.HeaderButton,
|
|
1761
1761
|
{
|
|
1762
1762
|
icon: (
|
|
1763
1763
|
// Glyph inherits HeaderButton's standard cell coloring (secondary at
|
|
@@ -1767,7 +1767,7 @@ function TicketAlertsButton({ href, onNavigate, disabled, className }) {
|
|
|
1767
1767
|
// existing while updates are unread — never by tinting the glyph.
|
|
1768
1768
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative inline-flex", children: [
|
|
1769
1769
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk365ZKGGOcjs.LifeBuoyIcon, { className: "h-6 w-6" }),
|
|
1770
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1770
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkD322VUSHcjs.UnreadCountBadge, { count: live.unreadTotal })
|
|
1771
1771
|
] })
|
|
1772
1772
|
),
|
|
1773
1773
|
"aria-label": `Support tickets \u2014 ${live.unreadTotal} unread ${live.unreadTotal === 1 ? "update" : "updates"}`,
|
|
@@ -1844,7 +1844,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1844
1844
|
leading: (
|
|
1845
1845
|
// Mobile: Burger Menu Button
|
|
1846
1846
|
!isMdUp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1847
|
-
|
|
1847
|
+
_chunkD322VUSHcjs.HeaderButton,
|
|
1848
1848
|
{
|
|
1849
1849
|
onClick: onToggleMobileMenu,
|
|
1850
1850
|
isActive: isMobileMenuOpen,
|
|
@@ -1870,7 +1870,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1870
1870
|
center: showSearch ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderGlobalSearch, { onSubmit: onSearch, className: _chunk7JWFMAQBcjs.cn.call(void 0, "w-full", dimmedClass) }) : void 0,
|
|
1871
1871
|
sideActions: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1872
1872
|
showSearch && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1873
|
-
|
|
1873
|
+
_chunkD322VUSHcjs.HeaderButton,
|
|
1874
1874
|
{
|
|
1875
1875
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ74QE57Tcjs.SearchIcon, { className: "h-6 w-6" }),
|
|
1876
1876
|
"aria-label": "Search",
|
|
@@ -1887,7 +1887,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1887
1887
|
className: _chunk7JWFMAQBcjs.cn.call(void 0, "hidden lg:flex", dimmedClass)
|
|
1888
1888
|
}
|
|
1889
1889
|
),
|
|
1890
|
-
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1890
|
+
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkD322VUSHcjs.TimeTrackerHeaderButton, { disabled, className: _chunk7JWFMAQBcjs.cn.call(void 0, cellDivider, dimmedClass) }),
|
|
1891
1891
|
showNotifications && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1892
1892
|
NotificationsHeaderButton,
|
|
1893
1893
|
{
|
|
@@ -1907,7 +1907,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1907
1907
|
),
|
|
1908
1908
|
isMdUp && showUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNL3G642Ucjs.DropdownMenu, { children: [
|
|
1909
1909
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNL3G642Ucjs.DropdownMenuTrigger, { asChild: true, disabled, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1910
|
-
|
|
1910
|
+
_chunkD322VUSHcjs.HeaderButton,
|
|
1911
1911
|
{
|
|
1912
1912
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1913
1913
|
_chunkU2MHQBL4cjs.SquareAvatar,
|
|
@@ -1992,12 +1992,12 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1992
1992
|
);
|
|
1993
1993
|
});
|
|
1994
1994
|
function NotificationsHeaderButton({ fallbackUnreadCount, disabled, dimmedClass }) {
|
|
1995
|
-
const ctx =
|
|
1995
|
+
const ctx = _chunkD322VUSHcjs.useOptionalNotifications.call(void 0, );
|
|
1996
1996
|
const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _56 => _56.unreadCount]), () => ( fallbackUnreadCount))) > 0;
|
|
1997
1997
|
const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _57 => _57.isOpen]), () => ( false));
|
|
1998
1998
|
const onClick = _optionalChain([ctx, 'optionalAccess', _58 => _58.toggle]);
|
|
1999
1999
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2000
|
-
|
|
2000
|
+
_chunkD322VUSHcjs.HeaderButton,
|
|
2001
2001
|
{
|
|
2002
2002
|
icon: isActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWWUSFOJ7cjs.XmarkIcon, { className: "h-6 w-6" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCON36SEJcjs.BellIcon, { className: "h-6 w-6" }),
|
|
2003
2003
|
showUnreadDot: !isActive && hasUnread,
|
|
@@ -2449,7 +2449,7 @@ var MobileBurgerMenu = _react2.default.memo(function MobileBurgerMenuImpl({
|
|
|
2449
2449
|
}) {
|
|
2450
2450
|
const panelRef = _react.useRef.call(void 0, null);
|
|
2451
2451
|
_overlays.usePreventScroll.call(void 0, { isDisabled: !isOpen });
|
|
2452
|
-
|
|
2452
|
+
_chunkVEN6MGNXcjs.useFocusTrap.call(void 0, panelRef, isOpen, { onEscape: onClose });
|
|
2453
2453
|
const handleItemClick = _react.useCallback.call(void 0,
|
|
2454
2454
|
(item) => {
|
|
2455
2455
|
if (item.onClick) {
|
|
@@ -2650,7 +2650,7 @@ function AppLayout({
|
|
|
2650
2650
|
}),
|
|
2651
2651
|
[]
|
|
2652
2652
|
);
|
|
2653
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2653
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkD322VUSHcjs.AppLayoutDrawerContainerContext.Provider, { value: drawerContainer, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkD322VUSHcjs.AppLayoutDrawerCoordinationContext.Provider, { value: drawerCoordination, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "flex h-screen flex-col bg-ods-bg", className), children: [
|
|
2654
2654
|
topBar,
|
|
2655
2655
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex min-h-0 flex-1", children: [
|
|
2656
2656
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, NavigationSidebar, { config: sidebarConfig, disabled, pushOnTablet: hasSidePanel }),
|
|
@@ -2674,7 +2674,7 @@ function AppLayout({
|
|
|
2674
2674
|
disabled
|
|
2675
2675
|
}
|
|
2676
2676
|
),
|
|
2677
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2677
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkD322VUSHcjs.NotificationDrawer, {}),
|
|
2678
2678
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2679
2679
|
"div",
|
|
2680
2680
|
{
|
|
@@ -2,31 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkD322VUSHcjs = require('./chunk-D322VUSH.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkVYLBW6ZVcjs = require('./chunk-VYLBW6ZV.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkVEN6MGNXcjs = require('./chunk-VEN6MGNX.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkTCMUVY3Mcjs = require('./chunk-TCMUVY3M.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkPQ76VC2Pcjs = require('./chunk-PQ76VC2P.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunkVT2ACO3Zcjs = require('./chunk-VT2ACO3Z.cjs');
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
@@ -119,14 +119,14 @@ function ContactForm({
|
|
|
119
119
|
successToastMessage = "Redirecting you to join our community...",
|
|
120
120
|
rescue: rescueForm = null
|
|
121
121
|
} = {}) {
|
|
122
|
-
const attachments =
|
|
123
|
-
const builtInSubmission =
|
|
122
|
+
const attachments = _chunkPQ76VC2Pcjs.useChatAttachments.call(void 0, );
|
|
123
|
+
const builtInSubmission = _chunkVEN6MGNXcjs.useContactSubmission.call(void 0, {
|
|
124
124
|
userId,
|
|
125
125
|
successRedirectUrl,
|
|
126
126
|
successToastMessage
|
|
127
127
|
});
|
|
128
128
|
const [customSubmitting, setCustomSubmitting] = _react.useState.call(void 0, false);
|
|
129
|
-
const { honeypotInputProps, getSignals, resetSignals } =
|
|
129
|
+
const { honeypotInputProps, getSignals, resetSignals } = _chunkVEN6MGNXcjs.useHumanitySignals.call(void 0, );
|
|
130
130
|
const isSubmitting = onCustomSubmit ? customSubmitting : builtInSubmission.isSubmitting;
|
|
131
131
|
const isSuccess = onCustomSubmit ? false : builtInSubmission.isSuccess;
|
|
132
132
|
const form = _reacthookform.useForm.call(void 0, {
|
|
@@ -152,7 +152,7 @@ function ContactForm({
|
|
|
152
152
|
),
|
|
153
153
|
[hideFields]
|
|
154
154
|
);
|
|
155
|
-
const rescue =
|
|
155
|
+
const rescue = _chunkVEN6MGNXcjs.useRescuedForm.call(void 0, form, { rescue: rescueForm, fields: rescueFieldNames, getSignals });
|
|
156
156
|
const handleFormSubmit = async (data) => {
|
|
157
157
|
if (isSubmitting) return;
|
|
158
158
|
if (attachmentsEnabled && attachments.hasInflightUploads) return;
|
|
@@ -190,7 +190,7 @@ function ContactForm({
|
|
|
190
190
|
className: `flex h-full flex-col ${!noBorder ? "rounded-2xl border border-ods-border content-md:rounded-3xl" : ""} ${!noPadding ? "p-6 content-md:p-8 content-lg:p-10" : ""}`,
|
|
191
191
|
children: [
|
|
192
192
|
(title || subtitle) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-6 content-md:mb-8", children: [
|
|
193
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
193
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkVT2ACO3Zcjs.SECTION_HEADING_CLASS} mb-3 content-md:mb-4`, children: _chunkVT2ACO3Zcjs.accentSentenceMarks.call(void 0, title) }),
|
|
194
194
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: subtitle })
|
|
195
195
|
] }),
|
|
196
196
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -203,13 +203,13 @@ function ContactForm({
|
|
|
203
203
|
);
|
|
204
204
|
}),
|
|
205
205
|
className: "flex flex-grow flex-col space-y-4 content-md:space-y-6",
|
|
206
|
-
...
|
|
206
|
+
..._chunkTCMUVY3Mcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
207
207
|
children: [
|
|
208
208
|
!showName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("name") }),
|
|
209
209
|
!showEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("email") }),
|
|
210
210
|
!showHelpCategory && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("helpCategory") }),
|
|
211
211
|
!showMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("message") }),
|
|
212
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
212
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkD322VUSHcjs.HoneypotField, { ...honeypotInputProps }),
|
|
213
213
|
extraTopField,
|
|
214
214
|
showNameEmailRow && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2 content-md:gap-6", children: [
|
|
215
215
|
showName && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
@@ -261,17 +261,17 @@ function ContactForm({
|
|
|
261
261
|
{
|
|
262
262
|
control,
|
|
263
263
|
name: "companySize",
|
|
264
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
264
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVYLBW6ZVcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
265
265
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
266
|
-
|
|
266
|
+
_chunkVYLBW6ZVcjs.SelectTrigger,
|
|
267
267
|
{
|
|
268
268
|
id: "companySize",
|
|
269
269
|
"aria-label": "Company Size",
|
|
270
270
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
271
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
271
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVYLBW6ZVcjs.SelectValue, { placeholder: "Select company size" })
|
|
272
272
|
}
|
|
273
273
|
),
|
|
274
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
274
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVYLBW6ZVcjs.SelectContent, { children: companySizeOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVYLBW6ZVcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
275
275
|
] })
|
|
276
276
|
}
|
|
277
277
|
),
|
|
@@ -284,17 +284,17 @@ function ContactForm({
|
|
|
284
284
|
{
|
|
285
285
|
control,
|
|
286
286
|
name: "referralSource",
|
|
287
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
287
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVYLBW6ZVcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
288
288
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
289
|
-
|
|
289
|
+
_chunkVYLBW6ZVcjs.SelectTrigger,
|
|
290
290
|
{
|
|
291
291
|
id: "referralSource",
|
|
292
292
|
"aria-label": "Referral Source",
|
|
293
293
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
294
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
294
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVYLBW6ZVcjs.SelectValue, { placeholder: "Select an option" })
|
|
295
295
|
}
|
|
296
296
|
),
|
|
297
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
297
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVYLBW6ZVcjs.SelectContent, { children: referralSourceOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVYLBW6ZVcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
298
298
|
] })
|
|
299
299
|
}
|
|
300
300
|
),
|
|
@@ -311,18 +311,18 @@ function ContactForm({
|
|
|
311
311
|
{
|
|
312
312
|
control,
|
|
313
313
|
name: "helpCategory",
|
|
314
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
314
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVYLBW6ZVcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
315
315
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
316
|
-
|
|
316
|
+
_chunkVYLBW6ZVcjs.SelectTrigger,
|
|
317
317
|
{
|
|
318
318
|
id: "helpCategory",
|
|
319
319
|
"aria-label": "Help Category",
|
|
320
320
|
"aria-required": true,
|
|
321
321
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
322
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
322
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVYLBW6ZVcjs.SelectValue, { placeholder: "Choose your main interest" })
|
|
323
323
|
}
|
|
324
324
|
),
|
|
325
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
325
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVYLBW6ZVcjs.SelectContent, { children: helpCategoryOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVYLBW6ZVcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
326
326
|
] })
|
|
327
327
|
}
|
|
328
328
|
),
|
|
@@ -334,7 +334,7 @@ function ContactForm({
|
|
|
334
334
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7RM4NM2Ccjs.RequiredMark, {})
|
|
335
335
|
] }),
|
|
336
336
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
337
|
-
|
|
337
|
+
_chunkD322VUSHcjs.Textarea,
|
|
338
338
|
{
|
|
339
339
|
id: "message",
|
|
340
340
|
...register("message"),
|
|
@@ -349,7 +349,7 @@ function ContactForm({
|
|
|
349
349
|
] }),
|
|
350
350
|
attachmentsEnabled && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2", children: [
|
|
351
351
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
352
|
-
|
|
352
|
+
_chunkPQ76VC2Pcjs.ChatAttachmentChipStrip,
|
|
353
353
|
{
|
|
354
354
|
attachments: attachments.attachments,
|
|
355
355
|
onRemove: attachments.removeAttachment,
|
|
@@ -358,7 +358,7 @@ function ContactForm({
|
|
|
358
358
|
),
|
|
359
359
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
360
360
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
361
|
-
|
|
361
|
+
_chunkPQ76VC2Pcjs.ChatAttachmentAddButton,
|
|
362
362
|
{
|
|
363
363
|
attachmentsEnabled: true,
|
|
364
364
|
attachmentsCount: attachments.attachments.length,
|