@flamingo-stack/openframe-frontend-core 0.0.816 → 0.0.817
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/build/export-map.json +1 -1
- package/dist/{case-study-card-NLT2JVI7.cjs → case-study-card-IZBMHA6R.cjs} +3 -3
- package/dist/{chunk-7ERD34HQ.cjs → chunk-24M2JYM5.cjs} +566 -774
- package/dist/{chunk-3E4FIJAM.cjs → chunk-4ROR52OW.cjs} +15 -15
- package/dist/{chunk-SWBLTIN4.cjs → chunk-5TSYOIIZ.cjs} +54 -52
- package/dist/{chunk-JH65CEO4.cjs → chunk-6F4YGHGM.cjs} +36 -36
- package/dist/{chunk-VDXI26G7.cjs → chunk-7KBHLP4E.cjs} +81 -78
- package/dist/{chunk-CNTBGJA7.cjs → chunk-A34UNP5V.cjs} +65 -1
- package/dist/{chunk-633NTKO2.cjs → chunk-BL2J5RJK.cjs} +31 -53
- package/dist/{chunk-7NYWHEQM.cjs → chunk-C2OUXL3Q.cjs} +15 -15
- package/dist/{chunk-53JJLHJM.cjs → chunk-DSBRWP5M.cjs} +20 -20
- package/dist/chunk-DVHSYPDB.cjs +471 -0
- package/dist/{chunk-5TUR7O7H.cjs → chunk-EX7M3VQC.cjs} +90 -90
- package/dist/{chunk-EJCUAADF.cjs → chunk-F2LVBRHC.cjs} +4 -4
- package/dist/{chunk-GAR2IIU6.cjs → chunk-IM366HS6.cjs} +105 -157
- package/dist/{chunk-FUEK43FL.cjs → chunk-IOFIHVVW.cjs} +206 -200
- package/dist/{chunk-JOOZTRXQ.cjs → chunk-JMOCM2SW.cjs} +4 -4
- package/dist/{chunk-PAI4A3UM.cjs → chunk-K5IICQNF.cjs} +61 -54
- package/dist/{chunk-JOKOQOLJ.cjs → chunk-LUID2IB3.cjs} +2 -2
- package/dist/{chunk-L7W4455K.cjs → chunk-MAHJY2PO.cjs} +3 -3
- package/dist/{chunk-4PMD3JUC.cjs → chunk-NPNZAAOB.cjs} +2 -2
- package/dist/{chunk-EB7YAUER.cjs → chunk-P7JQGOX4.cjs} +19 -19
- package/dist/{chunk-O6VWD2SB.cjs → chunk-RDHF3F5R.cjs} +3 -3
- package/dist/{chunk-HM7VCQSX.cjs → chunk-SBFBNOKU.cjs} +4 -4
- package/dist/{chunk-7O7EX7HQ.cjs → chunk-T266OITJ.cjs} +28 -20
- package/dist/{chunk-ZAWHRYJZ.cjs → chunk-TKEYWSDZ.cjs} +45 -45
- package/dist/{chunk-F4ZJRMMM.cjs → chunk-UDLDXVY4.cjs} +8 -8
- package/dist/{chunk-Y6MJMPHV.cjs → chunk-UEULXVW2.cjs} +32 -84
- package/dist/{chunk-RYJJHSHV.cjs → chunk-UFBVOBYR.cjs} +23 -23
- package/dist/{chunk-IKB6AZPV.cjs → chunk-ZECG6GU5.cjs} +2 -2
- package/dist/{chunk-3ELDGEM2.cjs → chunk-ZP4JMX7G.cjs} +87 -84
- package/dist/{cloud-tenants-SRTX2FZC.cjs → cloud-tenants-NMAXIJLL.cjs} +11 -11
- package/dist/components/announcement-bar.d.ts.map +1 -1
- package/dist/components/announcement-bar.js +5 -5
- package/dist/components/case-studies/index.cjs +26 -26
- package/dist/components/chat/chat-markdown-link.d.ts +15 -0
- package/dist/components/chat/chat-markdown-link.d.ts.map +1 -0
- package/dist/components/chat/chat-markdown-link.js +22 -0
- package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
- package/dist/components/chat/chat-message-enhanced.js +3 -9
- package/dist/components/chat/embeddable-chat.d.ts +4 -0
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.js +30 -67
- package/dist/components/chat/entity-cards/chat-card-disclosure.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/chat-card-disclosure.js +8 -11
- package/dist/components/chat/entity-cards/dispatch.d.ts +5 -5
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/dispatch.js +18 -17
- package/dist/components/chat/entity-cards/github-activity-card.d.ts +1 -1
- package/dist/components/chat/entity-cards/use-entity-card-link.d.ts +3 -2
- package/dist/components/chat/entity-cards/use-entity-card-link.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/use-entity-card-link.js +6 -4
- package/dist/components/chat/index.cjs +28 -21
- package/dist/components/chat/index.d.ts +2 -2
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +4 -3
- package/dist/components/chat/{inline-app-link-chip.d.ts → inline-chip.d.ts} +1 -14
- package/dist/components/chat/inline-chip.d.ts.map +1 -0
- package/dist/components/chat/inline-chip.js +27 -0
- package/dist/components/chat/nav-link-anchor-via-runtime.d.ts +45 -11
- package/dist/components/chat/nav-link-anchor-via-runtime.d.ts.map +1 -1
- package/dist/components/chat/nav-link-anchor-via-runtime.js +32 -24
- package/dist/components/chat/source-action-button.d.ts +12 -3
- package/dist/components/chat/source-action-button.d.ts.map +1 -1
- package/dist/components/chat/source-action-button.js +41 -26
- package/dist/components/chat/types/component.types.d.ts +1 -1
- package/dist/components/chat/types/message.types.d.ts +1 -1
- package/dist/components/chat/types/message.types.d.ts.map +1 -1
- package/dist/components/chat/utils/chat-nav-resolution.d.ts +1 -6
- package/dist/components/chat/utils/chat-nav-resolution.d.ts.map +1 -1
- package/dist/components/chat/utils/chat-nav-resolution.js +2 -3
- package/dist/components/chat/utils/decide-new-tab.d.ts +0 -3
- package/dist/components/chat/utils/decide-new-tab.d.ts.map +1 -1
- package/dist/components/chat/utils/decide-new-tab.js +0 -1
- package/dist/components/chat/utils/execute-navigation.d.ts +36 -34
- package/dist/components/chat/utils/execute-navigation.d.ts.map +1 -1
- package/dist/components/chat/utils/execute-navigation.js +23 -19
- package/dist/components/chat/utils/index.d.ts +5 -5
- package/dist/components/chat/utils/index.d.ts.map +1 -1
- package/dist/components/chat/utils/index.js +14 -6
- package/dist/components/chat/utils/nav-anchor-props.d.ts +35 -8
- package/dist/components/chat/utils/nav-anchor-props.d.ts.map +1 -1
- package/dist/components/chat/utils/nav-anchor-props.js +14 -5
- package/dist/components/chat/utils/new-tab-rel.d.ts +15 -0
- package/dist/components/chat/utils/new-tab-rel.d.ts.map +1 -0
- package/dist/components/chat/utils/new-tab-rel.js +25 -0
- package/dist/components/contact/index.cjs +12 -12
- package/dist/components/docs/index.cjs +15 -15
- package/dist/components/embeds/index.cjs +12 -12
- package/dist/components/faq/index.cjs +13 -13
- package/dist/components/features/devices/devices-table-columns.d.ts.map +1 -1
- package/dist/components/features/devices/devices-table-columns.js +4 -1
- package/dist/components/features/index.cjs +11 -11
- package/dist/components/help-center-pages/index.cjs +105 -105
- package/dist/components/index.cjs +91 -83
- package/dist/components/meeting-scheduler/index.cjs +50 -50
- package/dist/components/navigation/app-header.d.ts +1 -4
- package/dist/components/navigation/app-header.d.ts.map +1 -1
- package/dist/components/navigation/app-header.js +0 -2
- package/dist/components/navigation/index.cjs +14 -14
- package/dist/components/navigation/ticket-alerts-button.d.ts +1 -4
- package/dist/components/navigation/ticket-alerts-button.d.ts.map +1 -1
- package/dist/components/navigation/ticket-alerts-button.js +5 -5
- package/dist/components/onboarding-guides/index.cjs +14 -14
- package/dist/components/product-demo/index.cjs +20 -20
- package/dist/components/related-content/card-registry.d.ts +1 -1
- package/dist/components/related-content/index.cjs +7 -7
- package/dist/components/related-content/related-content-section.d.ts +3 -3
- package/dist/components/related-content/related-content-section.d.ts.map +1 -1
- package/dist/components/related-content/related-content-section.js +5 -3
- package/dist/components/shared/doc-search/resolve-search-result-action.d.ts +10 -3
- package/dist/components/shared/doc-search/resolve-search-result-action.d.ts.map +1 -1
- package/dist/components/shared/doc-search/resolve-search-result-action.js +8 -17
- package/dist/components/shared/doc-search/use-doc-search.d.ts.map +1 -1
- package/dist/components/shared/doc-search/use-doc-search.js +15 -27
- package/dist/components/shared/product-release/product-release-card.d.ts +2 -2
- package/dist/components/shared/product-release/product-releases-view.d.ts.map +1 -1
- package/dist/components/shared/product-release/product-releases-view.js +1 -3
- package/dist/components/tickets/index.cjs +18 -18
- package/dist/components/tickets/ticket-detail-drawer.d.ts.map +1 -1
- package/dist/components/tickets/ticket-detail-drawer.js +6 -3
- package/dist/components/tickets/types.d.ts +1 -1
- package/dist/components/ui/button/button.d.ts +1 -1
- package/dist/components/ui/hover-dropdown.d.ts +2 -2
- package/dist/components/ui/index.cjs +31 -23
- package/dist/components/ui/service-card.d.ts.map +1 -1
- package/dist/components/ui/service-card.js +4 -1
- package/dist/components/vendor-display-button.d.ts.map +1 -1
- package/dist/components/vendor-display-button.js +4 -1
- package/dist/contexts/chat-runtime-context.d.ts +11 -11
- package/dist/contexts/chat-runtime-context.d.ts.map +1 -1
- package/dist/{devices-DL4YU64N.cjs → devices-QBKWVHE6.cjs} +12 -12
- package/dist/{embeddable-chat-YRKMPFDY.cjs → embeddable-chat-WNPCPMDL.cjs} +96 -137
- package/dist/hooks/index.cjs +5 -5
- package/dist/hooks/use-contact-submission.d.ts.map +1 -1
- package/dist/hooks/use-contact-submission.js +11 -8
- package/dist/index.cjs +40 -34
- package/dist/{knowledge-VQW5JL2Z.cjs → knowledge-FSAYWM25.cjs} +12 -12
- package/dist/{logs-IY3WBLMW.cjs → logs-OZX4SYHG.cjs} +19 -19
- package/dist/{policies-IXWTWMJO.cjs → policies-LPCUCTLX.cjs} +15 -15
- package/dist/{scripts-D5CLO5EG.cjs → scripts-ZNFZSONW.cjs} +16 -16
- package/dist/{software-update-ULNP6CKJ.cjs → software-update-BRYOVQVY.cjs} +14 -14
- package/dist/utils/index.cjs +116 -89
- package/dist/utils/open-in-new-tab.d.ts +2 -1
- package/dist/utils/open-in-new-tab.d.ts.map +1 -1
- package/dist/utils/open-in-new-tab.js +2 -1
- package/dist/utils/scroll-into-view.d.ts +1 -1
- package/eslint-config/base.js +11 -0
- package/eslint-config/navigation.js +142 -0
- package/package.json +1 -1
- package/src/components/announcement-bar.tsx +8 -6
- package/src/components/chat/chat-markdown-link.tsx +42 -0
- package/src/components/chat/chat-message-enhanced.tsx +10 -36
- package/src/components/chat/embeddable-chat.tsx +63 -106
- package/src/components/chat/entity-cards/chat-card-disclosure.tsx +9 -13
- package/src/components/chat/entity-cards/dispatch.tsx +45 -35
- package/src/components/chat/entity-cards/github-activity-card.tsx +1 -1
- package/src/components/chat/entity-cards/use-entity-card-link.ts +11 -16
- package/src/components/chat/index.ts +3 -1
- package/src/components/chat/{inline-app-link-chip.tsx → inline-chip.tsx} +1 -27
- package/src/components/chat/nav-link-anchor-via-runtime.tsx +73 -33
- package/src/components/chat/source-action-button.tsx +57 -33
- package/src/components/chat/types/component.types.ts +1 -1
- package/src/components/chat/types/message.types.ts +1 -1
- package/src/components/chat/utils/chat-nav-resolution.ts +3 -8
- package/src/components/chat/utils/decide-new-tab.ts +0 -3
- package/src/components/chat/utils/execute-navigation.ts +58 -58
- package/src/components/chat/utils/index.ts +13 -6
- package/src/components/chat/utils/nav-anchor-props.ts +56 -9
- package/src/components/chat/utils/new-tab-rel.ts +39 -0
- package/src/components/features/devices/devices-table-columns.tsx +4 -1
- package/src/components/navigation/app-header.tsx +0 -5
- package/src/components/navigation/ticket-alerts-button.tsx +7 -8
- package/src/components/related-content/card-registry.tsx +1 -1
- package/src/components/related-content/related-content-section.tsx +10 -10
- package/src/components/shared/doc-search/resolve-search-result-action.ts +19 -33
- package/src/components/shared/doc-search/use-doc-search.ts +21 -44
- package/src/components/shared/product-release/product-release-card.tsx +4 -4
- package/src/components/shared/product-release/product-releases-view.tsx +2 -5
- package/src/components/tickets/ticket-detail-drawer.tsx +7 -4
- package/src/components/tickets/types.ts +1 -1
- package/src/components/ui/button/button.tsx +2 -2
- package/src/components/ui/hover-dropdown.tsx +2 -2
- package/src/components/ui/service-card.tsx +4 -1
- package/src/components/vendor-display-button.tsx +5 -2
- package/src/contexts/chat-runtime-context.tsx +15 -12
- package/src/hooks/use-contact-submission.ts +13 -8
- package/src/utils/index.ts +1 -1
- package/src/utils/open-in-new-tab.ts +4 -2
- package/src/utils/scroll-into-view.ts +1 -1
- package/dist/chunk-RD66AGUI.cjs +0 -156
- package/dist/components/chat/inline-app-link-chip.d.ts.map +0 -1
- package/dist/components/chat/inline-app-link-chip.js +0 -37
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkIOFIHVVWcjs = require('./chunk-IOFIHVVW.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
@@ -14,19 +14,19 @@ var _chunkIJCSQFLDcjs = require('./chunk-IJCSQFLD.cjs');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkT266OITJcjs = require('./chunk-T266OITJ.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunk7KBHLP4Ecjs = require('./chunk-7KBHLP4E.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunk24M2JYM5cjs = require('./chunk-24M2JYM5.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunkIM366HS6cjs = require('./chunk-IM366HS6.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 = _chunk24M2JYM5cjs.useChatAttachments.call(void 0, );
|
|
123
|
+
const builtInSubmission = _chunkT266OITJcjs.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 } = _chunkT266OITJcjs.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 = _chunkT266OITJcjs.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: `${_chunkIM366HS6cjs.SECTION_HEADING_CLASS} mb-3 content-md:mb-4`, children: _chunkIM366HS6cjs.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
|
+
..._chunk7KBHLP4Ecjs.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, _chunkIOFIHVVWcjs.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: [
|
|
@@ -334,7 +334,7 @@ function ContactForm({
|
|
|
334
334
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSWF6TNZ3cjs.RequiredMark, {})
|
|
335
335
|
] }),
|
|
336
336
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
337
|
-
|
|
337
|
+
_chunkIOFIHVVWcjs.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
|
+
_chunk24M2JYM5cjs.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
|
+
_chunk24M2JYM5cjs.ChatAttachmentAddButton,
|
|
362
362
|
{
|
|
363
363
|
attachmentsEnabled: true,
|
|
364
364
|
attachmentsCount: attachments.attachments.length,
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkC2OUXL3Qcjs = require('./chunk-C2OUXL3Q.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkF2LVBRHCcjs = require('./chunk-F2LVBRHC.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ var _chunkEJCUAADFcjs = require('./chunk-EJCUAADF.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkIOFIHVVWcjs = require('./chunk-IOFIHVVW.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
var _chunkEHANO6UEcjs = require('./chunk-EHANO6UE.cjs');
|
|
@@ -27,7 +27,7 @@ var _chunkEHANO6UEcjs = require('./chunk-EHANO6UE.cjs');
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
var
|
|
30
|
+
var _chunkT266OITJcjs = require('./chunk-T266OITJ.cjs');
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
var _chunkAPOMNC7Hcjs = require('./chunk-APOMNC7H.cjs');
|
|
@@ -39,11 +39,11 @@ var _chunk24I6RFVUcjs = require('./chunk-24I6RFVU.cjs');
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
var
|
|
42
|
+
var _chunk7KBHLP4Ecjs = require('./chunk-7KBHLP4E.cjs');
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
|
|
46
|
-
var
|
|
46
|
+
var _chunk24M2JYM5cjs = require('./chunk-24M2JYM5.cjs');
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
var _chunkOBQ5WUNGcjs = require('./chunk-OBQ5WUNG.cjs');
|
|
@@ -88,13 +88,16 @@ var _chunk4TUSPDNScjs = require('./chunk-4TUSPDNS.cjs');
|
|
|
88
88
|
var _chunkCON36SEJcjs = require('./chunk-CON36SEJ.cjs');
|
|
89
89
|
|
|
90
90
|
|
|
91
|
+
var _chunkA34UNP5Vcjs = require('./chunk-A34UNP5V.cjs');
|
|
92
|
+
|
|
93
|
+
|
|
91
94
|
var _chunkWWUSFOJ7cjs = require('./chunk-WWUSFOJ7.cjs');
|
|
92
95
|
|
|
93
96
|
|
|
94
97
|
var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
95
98
|
|
|
96
99
|
|
|
97
|
-
var
|
|
100
|
+
var _chunkUEULXVW2cjs = require('./chunk-UEULXVW2.cjs');
|
|
98
101
|
|
|
99
102
|
|
|
100
103
|
|
|
@@ -113,6 +116,9 @@ var _chunkLC65AC6Mcjs = require('./chunk-LC65AC6M.cjs');
|
|
|
113
116
|
var _chunkYSDB6HGQcjs = require('./chunk-YSDB6HGQ.cjs');
|
|
114
117
|
|
|
115
118
|
|
|
119
|
+
var _chunkUJ7AXHRZcjs = require('./chunk-UJ7AXHRZ.cjs');
|
|
120
|
+
|
|
121
|
+
|
|
116
122
|
|
|
117
123
|
|
|
118
124
|
|
|
@@ -167,7 +173,7 @@ function RowGlyph({ link, box, glyph }) {
|
|
|
167
173
|
{
|
|
168
174
|
"aria-hidden": "true",
|
|
169
175
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "flex shrink-0 items-center justify-center overflow-hidden rounded-full", box),
|
|
170
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
176
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUEULXVW2cjs.EntityIcon, { icon: link.icon, className: "h-full w-full" })
|
|
171
177
|
}
|
|
172
178
|
);
|
|
173
179
|
}
|
|
@@ -180,7 +186,7 @@ function RowGlyph({ link, box, glyph }) {
|
|
|
180
186
|
"flex shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg text-ods-text-primary",
|
|
181
187
|
box
|
|
182
188
|
),
|
|
183
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
189
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUEULXVW2cjs.EntityIcon, { icon: { name: link.iconName }, size: glyph })
|
|
184
190
|
}
|
|
185
191
|
);
|
|
186
192
|
}
|
|
@@ -193,7 +199,7 @@ function NavItemRow({
|
|
|
193
199
|
className
|
|
194
200
|
}) {
|
|
195
201
|
const label = navLinkLabel(link);
|
|
196
|
-
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
202
|
+
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIOFIHVVWcjs.UnreadCountBadge, { count: badge, className: "static shrink-0" }) : null;
|
|
197
203
|
const singleLine = !link.description && !link.builtOn;
|
|
198
204
|
const rowClassName = _chunk63A4GZMBcjs.cn.call(void 0,
|
|
199
205
|
ROW_CLASSES[variant],
|
|
@@ -210,7 +216,7 @@ function NavItemRow({
|
|
|
210
216
|
] });
|
|
211
217
|
} else if (variant === "side") {
|
|
212
218
|
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,
|
|
219
|
+
link.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: "flex shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUEULXVW2cjs.EntityIcon, { icon: { name: link.iconName }, size: 18 }) }),
|
|
214
220
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1", children: label }),
|
|
215
221
|
counter
|
|
216
222
|
] });
|
|
@@ -241,7 +247,7 @@ var featureCardLoad = null;
|
|
|
241
247
|
var featureCardListeners = /* @__PURE__ */ new Set();
|
|
242
248
|
function loadFeatureCard() {
|
|
243
249
|
if (featureCard || featureCardLoad) return;
|
|
244
|
-
featureCardLoad = Promise.resolve().then(() => _interopRequireWildcard(require("./case-study-card-
|
|
250
|
+
featureCardLoad = Promise.resolve().then(() => _interopRequireWildcard(require("./case-study-card-IZBMHA6R.cjs"))).then((module) => {
|
|
245
251
|
featureCard = module.CaseStudyCard;
|
|
246
252
|
for (const listener of featureCardListeners) listener();
|
|
247
253
|
}).catch(() => void 0).finally(() => {
|
|
@@ -250,7 +256,7 @@ function loadFeatureCard() {
|
|
|
250
256
|
}
|
|
251
257
|
function subscribeToFeatureCard(listener) {
|
|
252
258
|
featureCardListeners.add(listener);
|
|
253
|
-
const cancel =
|
|
259
|
+
const cancel = _chunk7KBHLP4Ecjs.afterPageLoad.call(void 0, loadFeatureCard);
|
|
254
260
|
return () => {
|
|
255
261
|
featureCardListeners.delete(listener);
|
|
256
262
|
cancel();
|
|
@@ -465,7 +471,7 @@ function TopNavigation({
|
|
|
465
471
|
|
|
466
472
|
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
473
|
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,
|
|
474
|
+
var menuIcon = (menu) => menu.iconName ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUEULXVW2cjs.EntityIcon, { icon: { name: menu.iconName }, size: 20, className: "size-5 shrink-0" }) : null;
|
|
469
475
|
function SiteHeader({
|
|
470
476
|
nav,
|
|
471
477
|
pathname,
|
|
@@ -488,8 +494,8 @@ function SiteHeader({
|
|
|
488
494
|
}) {
|
|
489
495
|
const [show, setShow] = _react.useState.call(void 0, true);
|
|
490
496
|
const lastScrollY = _react.useRef.call(void 0, 0);
|
|
491
|
-
const activeId =
|
|
492
|
-
const { openId, close, getTriggerProps, getPanelProps } =
|
|
497
|
+
const activeId = _chunkT266OITJcjs.useActiveSection.call(void 0, nav.menus, pathname);
|
|
498
|
+
const { openId, close, getTriggerProps, getPanelProps } = _chunkT266OITJcjs.useNavMenus.call(void 0, { pathname });
|
|
493
499
|
const [trail, setTrail] = _react.useState.call(void 0, { id: null, from: null });
|
|
494
500
|
if (trail.id !== openId) setTrail({ id: openId, from: trail.id });
|
|
495
501
|
const previousId = trail.id === openId ? trail.from : trail.id;
|
|
@@ -615,7 +621,7 @@ function SiteHeader({
|
|
|
615
621
|
leading: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
616
622
|
leading,
|
|
617
623
|
mobile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
618
|
-
|
|
624
|
+
_chunkIOFIHVVWcjs.HeaderButton,
|
|
619
625
|
{
|
|
620
626
|
className: "border-r border-ods-border lg:hidden",
|
|
621
627
|
onClick: mobile.onToggle,
|
|
@@ -641,7 +647,7 @@ function SiteHeader({
|
|
|
641
647
|
centerClassName: "justify-start pl-[var(--spacing-system-xlf)]",
|
|
642
648
|
cta: hasRight ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
643
649
|
mingo && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
644
|
-
|
|
650
|
+
_chunk7KBHLP4Ecjs.MingoAiButton,
|
|
645
651
|
{
|
|
646
652
|
source: mingo.source,
|
|
647
653
|
icon: mingo.icon,
|
|
@@ -707,9 +713,9 @@ function MobileNavSheetBody({
|
|
|
707
713
|
const sheetRef = _react.useRef.call(void 0, null);
|
|
708
714
|
const menus = [..._nullishCoalesce(nav.mobileMenus, () => ( nav.menus)), ..._nullishCoalesce(extraMenus, () => ( []))];
|
|
709
715
|
_overlays.usePreventScroll.call(void 0, );
|
|
710
|
-
|
|
716
|
+
_chunkT266OITJcjs.useFocusTrap.call(void 0, sheetRef, true, { onEscape: onClose });
|
|
711
717
|
const [openGroups, setOpenGroups] = _react.useState.call(void 0, () => {
|
|
712
|
-
const active =
|
|
718
|
+
const active = _chunkT266OITJcjs.resolveActiveSection.call(void 0, menus, pathname);
|
|
713
719
|
return active ? { [active]: true } : {};
|
|
714
720
|
});
|
|
715
721
|
const primaryCta = typeof nav.primaryCta === "object" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.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 +751,7 @@ function MobileNavSheetBody({
|
|
|
745
751
|
] }),
|
|
746
752
|
/* @__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
753
|
askAI && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
748
|
-
|
|
754
|
+
_chunk7KBHLP4Ecjs.MingoAiButton,
|
|
749
755
|
{
|
|
750
756
|
variant: "field",
|
|
751
757
|
source: askAI.source,
|
|
@@ -923,7 +929,7 @@ function SiteFooter({
|
|
|
923
929
|
const columns = nav.footerColumns;
|
|
924
930
|
const accordion = columns.length > ACCORDION_OVER;
|
|
925
931
|
const socialRow = _nullishCoalesce(social, () => ( (nav.brand.social.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
926
|
-
|
|
932
|
+
_chunkIOFIHVVWcjs.SocialIconRow,
|
|
927
933
|
{
|
|
928
934
|
compact: true,
|
|
929
935
|
links: nav.brand.social.map((link) => ({
|
|
@@ -1026,12 +1032,12 @@ var _framermotion = require('framer-motion');
|
|
|
1026
1032
|
|
|
1027
1033
|
function SlidingSidebar({ config }) {
|
|
1028
1034
|
const [expandedItems, setExpandedItems] = _react.useState.call(void 0, /* @__PURE__ */ new Set());
|
|
1029
|
-
const mounted =
|
|
1035
|
+
const mounted = _chunk24M2JYM5cjs.useIsHydrated.call(void 0, );
|
|
1030
1036
|
const headerHeight = _chunk24I6RFVUcjs.useHeaderHeight.call(void 0, );
|
|
1031
1037
|
const asideRef = _react.useRef.call(void 0, null);
|
|
1032
1038
|
const prefersReducedMotion = _framermotion.useReducedMotion.call(void 0, );
|
|
1033
1039
|
_overlays.usePreventScroll.call(void 0, { isDisabled: !config.isOpen });
|
|
1034
|
-
|
|
1040
|
+
_chunkT266OITJcjs.useFocusTrap.call(void 0, asideRef, config.isOpen, { onEscape: config.onClose, contain: false });
|
|
1035
1041
|
const toggleExpanded = (itemId) => {
|
|
1036
1042
|
const newExpanded = new Set(expandedItems);
|
|
1037
1043
|
if (newExpanded.has(itemId)) {
|
|
@@ -1201,7 +1207,7 @@ function SlidingSidebar({ config }) {
|
|
|
1201
1207
|
// src/components/navigation/page-section-bar.tsx
|
|
1202
1208
|
|
|
1203
1209
|
|
|
1204
|
-
var SECTION_BAR_HEIGHT_PX =
|
|
1210
|
+
var SECTION_BAR_HEIGHT_PX = _chunkC2OUXL3Qcjs.STICKY_SECTION_NAV_HEIGHT_PX;
|
|
1205
1211
|
var PAGE_ANCHOR_SCROLL_MARGIN_CLASS = "scroll-mt-36";
|
|
1206
1212
|
var PAGE_ANCHOR_SCOPE_CLASS = "[&_[id]]:scroll-mt-36";
|
|
1207
1213
|
var PAGE_ANCHOR_GAP_PX = 16;
|
|
@@ -1229,21 +1235,21 @@ function PageSectionBar({ sections: listed, label, brand, action }) {
|
|
|
1229
1235
|
const sections = useRenderedSections(listed);
|
|
1230
1236
|
const inScope = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
1231
1237
|
const headerBottom = _chunk24I6RFVUcjs.useHeaderHeight.call(void 0, void 0, { stuckOnly: true });
|
|
1232
|
-
const { activeSection, handleSectionClick } =
|
|
1238
|
+
const { activeSection, handleSectionClick } = _chunkC2OUXL3Qcjs.useScrollSpy.call(void 0, sections, {
|
|
1233
1239
|
syncHash: true,
|
|
1234
1240
|
aboveFirst: "none",
|
|
1235
1241
|
headerOffset: headerBottom + SECTION_BAR_HEIGHT_PX + PAGE_ANCHOR_GAP_PX
|
|
1236
1242
|
});
|
|
1237
1243
|
if (sections.length === 0 && !inScope) return null;
|
|
1238
1244
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1239
|
-
|
|
1245
|
+
_chunkIOFIHVVWcjs.PageContainer,
|
|
1240
1246
|
{
|
|
1241
1247
|
as: "div",
|
|
1242
1248
|
backgroundClassName: "sticky z-30 border-b border-ods-border bg-ods-bg transition-[top] duration-300 ease-in-out motion-reduce:transition-none",
|
|
1243
1249
|
backgroundStyle: { top: headerBottom },
|
|
1244
1250
|
contentPadding: SECTION_BAR_INSET_CLASS,
|
|
1245
1251
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1246
|
-
|
|
1252
|
+
_chunkC2OUXL3Qcjs.StickySectionNav,
|
|
1247
1253
|
{
|
|
1248
1254
|
orientation: "horizontal",
|
|
1249
1255
|
label,
|
|
@@ -1252,7 +1258,7 @@ function PageSectionBar({ sections: listed, label, brand, action }) {
|
|
|
1252
1258
|
onSectionClick: handleSectionClick,
|
|
1253
1259
|
brand,
|
|
1254
1260
|
action: action && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1255
|
-
|
|
1261
|
+
_chunk24M2JYM5cjs.NavLinkAnchorViaRuntime,
|
|
1256
1262
|
{
|
|
1257
1263
|
href: action.href,
|
|
1258
1264
|
onClick: (event) => {
|
|
@@ -1339,7 +1345,7 @@ function LoadedNavigationSidebarItemButton({
|
|
|
1339
1345
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1340
1346
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex flex-shrink-0 items-center justify-center", children: [
|
|
1341
1347
|
_react.cloneElement.call(void 0, item.icon, { color: "inherit" }),
|
|
1342
|
-
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1348
|
+
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIOFIHVVWcjs.UnreadDot, { size: "fixed" })
|
|
1343
1349
|
] }),
|
|
1344
1350
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1345
1351
|
"span",
|
|
@@ -1449,7 +1455,7 @@ function NavigationSidebar({ config, disabled = false, pushOnTablet = false }) {
|
|
|
1449
1455
|
setTabletFor(isTablet);
|
|
1450
1456
|
if (isTablet) setTabletMinimized(true);
|
|
1451
1457
|
}
|
|
1452
|
-
const hydrated =
|
|
1458
|
+
const hydrated = _chunk24M2JYM5cjs.useIsHydrated.call(void 0, );
|
|
1453
1459
|
const minimized = hydrated ? isTablet ? tabletMinimized : desktopMinimized : _nullishCoalesce(config.minimized, () => ( false));
|
|
1454
1460
|
const [transitionsEnabled, setTransitionsEnabled] = _react.useState.call(void 0, false);
|
|
1455
1461
|
const isOverlayOpen = isTablet && !minimized;
|
|
@@ -1641,7 +1647,7 @@ function HeaderGlobalSearch({
|
|
|
1641
1647
|
"form",
|
|
1642
1648
|
{
|
|
1643
1649
|
onSubmit: handleSubmit,
|
|
1644
|
-
...
|
|
1650
|
+
..._chunk7KBHLP4Ecjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
1645
1651
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
1646
1652
|
"flex h-full flex-1 items-center gap-2 px-3",
|
|
1647
1653
|
// Transparent so the cell inherits the bar's background
|
|
@@ -1747,17 +1753,15 @@ function HeaderOrganizationFilter({
|
|
|
1747
1753
|
|
|
1748
1754
|
// src/components/navigation/ticket-alerts-button.tsx
|
|
1749
1755
|
|
|
1750
|
-
function TicketAlertsButton({ href,
|
|
1751
|
-
const live =
|
|
1756
|
+
function TicketAlertsButton({ href, disabled, className }) {
|
|
1757
|
+
const live = _chunkF2LVBRHCcjs.useOptionalTicketLive.call(void 0, );
|
|
1758
|
+
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
1752
1759
|
if (!live || !live.authed || live.unreadTotal === 0) return null;
|
|
1753
1760
|
const targetId = live.nextUnreadTicketId;
|
|
1754
|
-
const target = targetId ?
|
|
1755
|
-
const handleClick = () => {
|
|
1756
|
-
if (onNavigate) onNavigate(target);
|
|
1757
|
-
else window.location.assign(target);
|
|
1758
|
-
};
|
|
1761
|
+
const target = targetId ? _chunk7KBHLP4Ecjs.buildTicketOpenHref.call(void 0, href, targetId) : href;
|
|
1762
|
+
const handleClick = () => _chunkA34UNP5Vcjs.executeNavigationImperative.call(void 0, { runtime, href: target });
|
|
1759
1763
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1760
|
-
|
|
1764
|
+
_chunkIOFIHVVWcjs.HeaderButton,
|
|
1761
1765
|
{
|
|
1762
1766
|
icon: (
|
|
1763
1767
|
// Glyph inherits HeaderButton's standard cell coloring (secondary at
|
|
@@ -1767,7 +1771,7 @@ function TicketAlertsButton({ href, onNavigate, disabled, className }) {
|
|
|
1767
1771
|
// existing while updates are unread — never by tinting the glyph.
|
|
1768
1772
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative inline-flex", children: [
|
|
1769
1773
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk365ZKGGOcjs.LifeBuoyIcon, { className: "h-6 w-6" }),
|
|
1770
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1774
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIOFIHVVWcjs.UnreadCountBadge, { count: live.unreadTotal })
|
|
1771
1775
|
] })
|
|
1772
1776
|
),
|
|
1773
1777
|
"aria-label": `Support tickets \u2014 ${live.unreadTotal} unread ${live.unreadTotal === 1 ? "update" : "updates"}`,
|
|
@@ -1791,7 +1795,6 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1791
1795
|
unreadCount = 0,
|
|
1792
1796
|
showTicketAlerts = false,
|
|
1793
1797
|
ticketAlertsHref,
|
|
1794
|
-
onTicketAlerts,
|
|
1795
1798
|
showTimeTracker = false,
|
|
1796
1799
|
showMingoAI = false,
|
|
1797
1800
|
onMingoAI,
|
|
@@ -1844,7 +1847,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1844
1847
|
leading: (
|
|
1845
1848
|
// Mobile: Burger Menu Button
|
|
1846
1849
|
!isMdUp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1847
|
-
|
|
1850
|
+
_chunkIOFIHVVWcjs.HeaderButton,
|
|
1848
1851
|
{
|
|
1849
1852
|
onClick: onToggleMobileMenu,
|
|
1850
1853
|
isActive: isMobileMenuOpen,
|
|
@@ -1870,7 +1873,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1870
1873
|
center: showSearch ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderGlobalSearch, { onSubmit: onSearch, className: _chunk63A4GZMBcjs.cn.call(void 0, "w-full", dimmedClass) }) : void 0,
|
|
1871
1874
|
sideActions: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1872
1875
|
showSearch && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1873
|
-
|
|
1876
|
+
_chunkIOFIHVVWcjs.HeaderButton,
|
|
1874
1877
|
{
|
|
1875
1878
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ74QE57Tcjs.SearchIcon, { className: "h-6 w-6" }),
|
|
1876
1879
|
"aria-label": "Search",
|
|
@@ -1887,7 +1890,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1887
1890
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "hidden lg:flex", dimmedClass)
|
|
1888
1891
|
}
|
|
1889
1892
|
),
|
|
1890
|
-
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1893
|
+
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIOFIHVVWcjs.TimeTrackerHeaderButton, { disabled, className: _chunk63A4GZMBcjs.cn.call(void 0, cellDivider, dimmedClass) }),
|
|
1891
1894
|
showNotifications && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1892
1895
|
NotificationsHeaderButton,
|
|
1893
1896
|
{
|
|
@@ -1900,14 +1903,13 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1900
1903
|
TicketAlertsButton,
|
|
1901
1904
|
{
|
|
1902
1905
|
href: _nullishCoalesce(ticketAlertsHref, () => ( "/tickets")),
|
|
1903
|
-
onNavigate: onTicketAlerts,
|
|
1904
1906
|
disabled,
|
|
1905
1907
|
className: _chunk63A4GZMBcjs.cn.call(void 0, cellDivider, dimmedClass)
|
|
1906
1908
|
}
|
|
1907
1909
|
),
|
|
1908
1910
|
isMdUp && showUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkS3QXLD4Xcjs.DropdownMenu, { children: [
|
|
1909
1911
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkS3QXLD4Xcjs.DropdownMenuTrigger, { asChild: true, disabled, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1910
|
-
|
|
1912
|
+
_chunkIOFIHVVWcjs.HeaderButton,
|
|
1911
1913
|
{
|
|
1912
1914
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1913
1915
|
_chunkBOS7OIC4cjs.SquareAvatar,
|
|
@@ -1992,12 +1994,12 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1992
1994
|
);
|
|
1993
1995
|
});
|
|
1994
1996
|
function NotificationsHeaderButton({ fallbackUnreadCount, disabled, dimmedClass }) {
|
|
1995
|
-
const ctx =
|
|
1997
|
+
const ctx = _chunkIOFIHVVWcjs.useOptionalNotifications.call(void 0, );
|
|
1996
1998
|
const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _56 => _56.unreadCount]), () => ( fallbackUnreadCount))) > 0;
|
|
1997
1999
|
const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _57 => _57.isOpen]), () => ( false));
|
|
1998
2000
|
const onClick = _optionalChain([ctx, 'optionalAccess', _58 => _58.toggle]);
|
|
1999
2001
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2000
|
-
|
|
2002
|
+
_chunkIOFIHVVWcjs.HeaderButton,
|
|
2001
2003
|
{
|
|
2002
2004
|
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
2005
|
showUnreadDot: !isActive && hasUnread,
|
|
@@ -2449,7 +2451,7 @@ var MobileBurgerMenu = _react2.default.memo(function MobileBurgerMenuImpl({
|
|
|
2449
2451
|
}) {
|
|
2450
2452
|
const panelRef = _react.useRef.call(void 0, null);
|
|
2451
2453
|
_overlays.usePreventScroll.call(void 0, { isDisabled: !isOpen });
|
|
2452
|
-
|
|
2454
|
+
_chunkT266OITJcjs.useFocusTrap.call(void 0, panelRef, isOpen, { onEscape: onClose });
|
|
2453
2455
|
const handleItemClick = _react.useCallback.call(void 0,
|
|
2454
2456
|
(item) => {
|
|
2455
2457
|
if (item.onClick) {
|
|
@@ -2650,7 +2652,7 @@ function AppLayout({
|
|
|
2650
2652
|
}),
|
|
2651
2653
|
[]
|
|
2652
2654
|
);
|
|
2653
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2655
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIOFIHVVWcjs.AppLayoutDrawerContainerContext.Provider, { value: drawerContainer, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIOFIHVVWcjs.AppLayoutDrawerCoordinationContext.Provider, { value: drawerCoordination, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "flex h-screen flex-col bg-ods-bg", className), children: [
|
|
2654
2656
|
topBar,
|
|
2655
2657
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex min-h-0 flex-1", children: [
|
|
2656
2658
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, NavigationSidebar, { config: sidebarConfig, disabled, pushOnTablet: hasSidePanel }),
|
|
@@ -2674,7 +2676,7 @@ function AppLayout({
|
|
|
2674
2676
|
disabled
|
|
2675
2677
|
}
|
|
2676
2678
|
),
|
|
2677
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2679
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIOFIHVVWcjs.NotificationDrawer, {}),
|
|
2678
2680
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2679
2681
|
"div",
|
|
2680
2682
|
{
|